aboutsummaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorAlon Zakai <azakai@mozilla.com>2011-03-05 18:41:15 -0800
committerAlon Zakai <azakai@mozilla.com>2011-03-05 18:41:15 -0800
commit749e2d5031af8567a5a0a7db3d12cf6b65035ca6 (patch)
tree69fdca2b5e004679d83e7bf6bbf42c3467658514 /demos
parent6db5de718d90cbbc6653cde526c53bd1b7b895a1 (diff)
openjpeg demo
Diffstat (limited to 'demos')
-rw-r--r--demos/openjpeg.cc.js863
-rw-r--r--demos/openjpeg.html107
-rw-r--r--demos/syntensity_lobby.j2k.js2094
3 files changed, 3064 insertions, 0 deletions
diff --git a/demos/openjpeg.cc.js b/demos/openjpeg.cc.js
new file mode 100644
index 00000000..b7f7b872
--- /dev/null
+++ b/demos/openjpeg.cc.js
@@ -0,0 +1,863 @@
+"use strict";
+
+/*
+ * This file contains OpenJPEG, compiled from C to JavaScript using Emscripten.
+ * This file is released under OpenJPEG's license:
+ *
+ * Copyright (c) 2002-2007, Communications and Remote Sensing Laboratory, Universite catholique de Louvain (UCL), Belgium
+ * Copyright (c) 2002-2007, Professor Benoit Macq
+ * Copyright (c) 2001-2003, David Janssens
+ * Copyright (c) 2002-2003, Yannick Verschueren
+ * Copyright (c) 2003-2007, Francois-Olivier Devaux and Antonin Descampe
+ * Copyright (c) 2005, Herve Drolon, FreeImage Team
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+this.Module={};
+var args=arguments,Runtime={stackAlloc:function(b){var f=STACKTOP;_memset(STACKTOP,0,b);STACKTOP+=b;STACKTOP=Math.ceil(STACKTOP/4)*4;return f},staticAlloc:function(b){var f=STATICTOP;STATICTOP+=b;STATICTOP=Math.ceil(STATICTOP/4)*4;return f},alignMemory:function(b,f){return Math.ceil(b/(f?f:4))*(f?f:4)},getFunctionIndex:function(b,f){var e=FUNCTION_TABLE.length;FUNCTION_TABLE[e]=b;FUNCTION_TABLE[e+1]=null;Module[f]=b;return e},isNumberType:function(b){return b in Runtime.INT_TYPES||b in Runtime.FLOAT_TYPES},
+isPointerType:function(b){return pointingLevels(b)>0},isStructType:function(b){if(isPointerType(b))return false;if(RegExp(/^\[\d+\ x\ (.*)\]/g).test(b))return true;return!Runtime.isNumberType(b)&&b[0]=="%"},INT_TYPES:{i1:0,i8:0,i16:0,i32:0,i64:0},FLOAT_TYPES:{"float":0,"double":0},getNativeFieldSize:function(b,f){var e={_i1:1,_i8:1,_i16:2,_i32:4,_i64:8,_float:4,_double:8}["_"+b];e||(e=4);f||(e=Math.max(e,4));return e},dedup:function(b,f){var e={};return f?b.filter(function(c){if(e[c[f]])return false;
+return e[c[f]]=true}):b.filter(function(c){if(e[c])return false;return e[c]=true})},set:function(){for(var b=typeof arguments[0]==="object"?arguments[0]:arguments,f={},e=0;e<b.length;e++)f[b[e]]=0;return f},calculateStructAlignment:function(b){b.flatSize=0;b.alignSize=0;var f=[],e=-1;b.flatIndexes=b.fields.map(function(c){var a,d;if(Runtime.isNumberType(c)||Runtime.isPointerType(c))d=a=Runtime.getNativeFieldSize(c,true);else if(Runtime.isStructType(c)){a=Types.types[c].flatSize;d=Types.types[c].alignSize}else{dprint("Unclear type in struct: "+
+c+", in "+b.name_);assert(0)}d=Math.min(d,4);b.alignSize=Math.max(b.alignSize,d);c=Runtime.alignMemory(b.flatSize,d);b.flatSize=c+a;e>=0&&f.push(c-e);return e=c});b.flatSize=Runtime.alignMemory(b.flatSize,b.alignSize);if(f.length==0)b.flatFactor=b.flatSize;else if(Runtime.dedup(f).length==1)b.flatFactor=f[0];b.needsFlattening=b.flatFactor!=1;return b.flatIndexes},__dummy__:0},CorrectionsMonitor={MAX_ALLOWED:0,corrections:0,sigs:{},note:function(b){b=b+"|"+Error().stack;if(!this.sigs[b]){print("Correction: "+
+b);this.sigs[b]=0}this.sigs[b]++;this.corrections++;this.corrections>=this.MAX_ALLOWED&&abort("\n\nToo many corrections!")}};function __globalConstructor__(){}var FUNCTION_TABLE=[],__THREW__=false,__ATEXIT__=[],ABORT=false,undef=0;function abort(b){print(b+":\n"+Error().stack);ABORT=true;throw"Assertion: "+b;}function assert(b,f){b||abort("Assertion failed: "+f)}var ALLOC_NORMAL=0,ALLOC_STACK=1,ALLOC_STATIC=2;
+function Pointer_make(b,f,e){f=f?f:0;assert(f===0);if(b===HEAP)return f;f=b.length;var c;for(c=0;c<f;c++)if(b[c]===undefined)throw"Invalid element in slab at "+Error().stack;e=[_malloc,Runtime.stackAlloc,Runtime.staticAlloc][e?e:ALLOC_STATIC](Math.max(f,1));for(c=0;c<f;c++){var a=b[c];if(typeof a==="function")a=Runtime.getFunctionIndex(a);IHEAP[e+c]=a;FHEAP[e+c]=a}return e}Module.Pointer_make=Pointer_make;
+function Pointer_stringify(b){for(var f="",e=0,c;;){c=String.fromCharCode(IHEAP[b+e]);if(c=="\u0000")break;f+=c;e+=1}return f}var PAGE_SIZE=4096;function alignMemoryPage(b){return Math.ceil(b/PAGE_SIZE)*PAGE_SIZE}var HEAP,IHEAP,FHEAP,STACK_ROOT,STACKTOP,STACK_MAX,STATICTOP,HAS_TYPED_ARRAYS=false,TOTAL_MEMORY=52428800;
+function __initializeRuntime__(){HAS_TYPED_ARRAYS=false;try{HAS_TYPED_ARRAYS=false}catch(b){}if(HAS_TYPED_ARRAYS){HEAP=IHEAP=new Int32Array(TOTAL_MEMORY);FHEAP=new Float64Array(TOTAL_MEMORY)}else{var f=TOTAL_MEMORY/32;IHEAP=FHEAP=HEAP=Array(f);for(var e=0;e<f;e++)IHEAP[e]=FHEAP[e]=0}f=intArrayFromString("(null)").concat(0);for(e=0;e<f.length;e++)IHEAP[e]=f[e];Module.HEAP=HEAP;Module.IHEAP=IHEAP;Module.FHEAP=FHEAP;STACK_ROOT=STACKTOP=alignMemoryPage(10);e=1048576;try{e=TOTAL_STACK}catch(c){}STACK_MAX=
+STACK_ROOT+e;STATICTOP=alignMemoryPage(STACK_MAX)}function __shutdownRuntime__(){for(;__ATEXIT__.length>0;){var b=__ATEXIT__.pop();if(typeof b==="number")b=FUNCTION_TABLE[b];b()}}function Array_copy(b,f){return HAS_TYPED_ARRAYS?Array.prototype.slice.call(IHEAP.subarray(b,b+f)):IHEAP.slice(b,b+f)}function String_len(b){for(var f=0;IHEAP[b+f];)f++;return f}function String_copy(b,f){var e=String_len(b);f&&e++;var c=Array_copy(b,e);if(f)c[e-1]=0;return c}var PRINTBUFFER="";
+function __print__(b){if(b===null){print(PRINTBUFFER);PRINTBUFFER=""}else for(PRINTBUFFER+=b;(b=PRINTBUFFER.indexOf("\n"))!=-1;){print(PRINTBUFFER.substr(0,b));PRINTBUFFER=PRINTBUFFER.substr(b+1)}}function jrint(b,f){if(f)b+=" : ";else{f=b;b=""}print(b+JSON.stringify(f))}function intArrayFromString(b){for(var f=[],e=0;e<b.length;){f.push(b.charCodeAt(e));e+=1}f.push(0);return f}Module.intArrayFromString=intArrayFromString;
+function intArrayToString(b){for(var f="",e=0;e<b.length;e++)f+=String.fromCharCode(b[e]);return f}function unSign(b,f){if(b>=0)return b;return f<=32?2*Math.abs(1<<f-1)+b:Math.pow(2,f)+b}function reSign(b,f){if(b<=0)return b;var e=f<=32?Math.abs(1<<f-1):Math.pow(2,f-1);if(b>=e)b=-2*e+b;return b}
+var $0___SIZE=128,$1___SIZE=16,$2___SIZE=40,$2___FLATTENER=[0,4,8,12,14,16,20,24,28,32,36],$struct__IO_FILE___SIZE=148,$struct__IO_FILE___FLATTENER=[0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,70,71,72,76,84,88,92,96,100,104,108],$struct__IO_marker___SIZE=12,$struct___dirstream___SIZE=0,$struct___dirstream___FLATTENER=[],$struct___jmp_buf_tag___SIZE=156,$struct___jmp_buf_tag___FLATTENER=[0,24,28],$struct_anon___SIZE=16,$struct_anon___FLATTENER=[0,4,8,10,12],$struct_dircnt___SIZE=8,$struct_dirent___SIZE=
+268,$struct_dirent___FLATTENER=[0,4,8,10,11],$struct_dwt_local___SIZE=16,$struct_img_folder___SIZE=12,$struct_img_folder___FLATTENER=[0,4,8,9],$struct_internal_state___SIZE=4,$struct_j2k_prog_order___SIZE=8,$struct_opj_bio___SIZE=20,$struct_opj_cinfo___SIZE=28,$struct_opj_cio___SIZE=28,$struct_opj_codestream_info___SIZE=92,$struct_opj_codestream_info___FLATTENER=[0,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88],$struct_opj_cp___SIZE=116,$struct_opj_cp___FLATTENER=[0,4,8,12,16,17,20,
+24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112],$struct_opj_cparameters___SIZE=18692,$struct_opj_cparameters___FLATTENER=[0,4,8,12,16,20,24,28,32,36,40,44,48,4784,4788,4792,5192,5592,5596,5600,5604,5608,5612,5616,5620,5624,5756,5888,9984,14080,14084,18180,18184,18188,18192,18196,18200,18204,18208,18212,18276,18340,18404,18468,18532,18536,18540,18544,18548,18612,18676,18680,18684,18688,18689,18690],$struct_opj_dec_mstabent___SIZE=12,$struct_opj_dparameters___SIZE=8224,$struct_opj_dparameters___FLATTENER=
+[0,4,8,4104,8200,8204,8208,8212,8216,8220],$struct_opj_event_mgr___SIZE=12,$struct_opj_image___SIZE=36,$struct_opj_image_comp___SIZE=48,$struct_opj_image_comptparm___SIZE=36,$struct_opj_j2k___SIZE=76,$struct_opj_jp2___SIZE=80,$struct_opj_jp2_box___SIZE=12,$struct_opj_jp2_cdef___SIZE=8,$struct_opj_jp2_cdef_info___SIZE=6,$struct_opj_jp2_cmap_comp___SIZE=4,$struct_opj_jp2_cmap_comp___FLATTENER=[0,2,3],$struct_opj_jp2_color___SIZE=20,$struct_opj_jp2_pclr___SIZE=20,$struct_opj_jp2_pclr___FLATTENER=[0,
+4,8,12,16,18],$struct_opj_jpt_msg_header___SIZE=28,$struct_opj_marker_info_t___SIZE=12,$struct_opj_mqc___SIZE=104,$struct_opj_mqc___FLATTENER=[0,4,8,12,16,20,24,100],$struct_opj_mqc_state___SIZE=16,$struct_opj_packet_info___SIZE=20,$struct_opj_pi_comp___SIZE=16,$struct_opj_pi_iterator___SIZE=232,$struct_opj_pi_iterator___FLATTENER=[0,4,8,12,16,20,24,28,32,36,40,44,192,196,200,204,208,212,216,220,224,228],$struct_opj_pi_resolution___SIZE=16,$struct_opj_poc___SIZE=148,$struct_opj_poc___FLATTENER=[0,
+4,8,12,16,20,24,28,32,36,40,48,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144],$struct_opj_raw___SIZE=28,$struct_opj_stepsize___SIZE=8,$struct_opj_t1___SIZE=40,$struct_opj_t2___SIZE=12,$struct_opj_tccp___SIZE=1076,$struct_opj_tccp___FLATTENER=[0,4,8,12,16,20,24,28,804,808,812,944],$struct_opj_tcd___SIZE=56,$struct_opj_tcd_band___SIZE=32,$struct_opj_tcd_cblk_dec___SIZE=44,$struct_opj_tcd_cblk_enc___SIZE=48,$struct_opj_tcd_image___SIZE=12,$struct_opj_tcd_layer___SIZE=
+20,$struct_opj_tcd_layer___FLATTENER=[0,4,8,16],$struct_opj_tcd_pass___SIZE=20,$struct_opj_tcd_pass___FLATTENER=[0,4,12,16],$struct_opj_tcd_precinct___SIZE=36,$struct_opj_tcd_resolution___SIZE=124,$struct_opj_tcd_seg___SIZE=28,$struct_opj_tcd_tile___SIZE=840,$struct_opj_tcd_tile___FLATTENER=[0,4,8,12,16,20,24,28,36,836],$struct_opj_tcd_tilecomp___SIZE=32,$struct_opj_tcp___SIZE=5588,$struct_opj_tcp___FLATTENER=[0,4,8,12,16,20,420,424,428,5164,5168,5172,5176,5180,5184,5584],$struct_opj_tgt_node___SIZE=
+16,$struct_opj_tgt_tree___SIZE=16,$struct_opj_tile_info___SIZE=572,$struct_opj_tile_info___FLATTENER=[0,4,8,12,16,20,152,284,416,548,552,556,564,568],$struct_opj_tp_info___SIZE=20,$struct_option___SIZE=16,$struct_png_color_16_struct___SIZE=10,$struct_png_color_8_struct___SIZE=5,$struct_png_color_struct___SIZE=3,$struct_png_info_struct___SIZE=288,$struct_png_info_struct___FLATTENER=[0,4,8,12,16,20,22,24,25,26,27,28,29,30,31,32,40,44,48,52,56,60,68,76,80,90,100,104,108,112,116,120,124,128,132,136,140,
+144,148,152,156,160,164,168,172,176,180,181,184,188,192,196,200,204,208,212,216,220,224,232,240,244,248,252,256,260,264,268,272,276,280,284],$struct_png_row_info_struct___SIZE=12,$struct_png_row_info_struct___FLATTENER=[0,4,8,9,10,11],$struct_png_sPLT_entry_struct___SIZE=10,$struct_png_sPLT_struct___SIZE=16,$struct_png_struct_def___SIZE=744,$struct_png_struct_def___FLATTENER=[0,156,160,164,168,172,176,180,184,188,192,193,196,200,204,208,264,268,272,276,280,284,288,292,296,300,304,308,312,316,320,
+324,328,332,336,340,344,348,360,364,368,372,374,376,381,382,383,384,385,386,387,388,389,390,391,392,394,396,400,404,414,424,428,432,436,440,444,448,452,456,460,464,468,472,477,484,488,500,504,508,512,516,520,524,528,532,536,540,544,548,552,556,560,564,568,572,576,580,584,588,592,596,597,600,604,608,612,616,620,624,628,632,636,640,644,646,648,650,652,656,660,661,664,668,672,676,680,684,688,692,696,700,704,708,712,732,736,740],$struct_png_text_struct___SIZE=16,$struct_png_time_struct___SIZE=8,$struct_png_time_struct___FLATTENER=
+[0,2,3,4,5,6],$struct_png_unknown_chunk_t___SIZE=20,$struct_png_unknown_chunk_t___FLATTENER=[0,8,12,16],$struct_tga_header___SIZE=20,$struct_tga_header___FLATTENER=[0,1,2,4,6,8,10,12,14,16,18,19],$struct_tiff___SIZE=0,$struct_tiff___FLATTENER=[],$struct_tiff_infoheader___SIZE=20,$struct_tiff_infoheader___FLATTENER=[0,4,8,12,14,16,18],$struct_v4dwt_local___SIZE=16,$struct_z_stream_s___SIZE=56,$union_anon___SIZE=4,_stdout,__str,__str1,__str2,__str4,__str5,__str6,__str7,__str8,__str9,__str10,__str11,
+__str12,__str13,__str14,__str15,__str16,__str17,__str18,__str19,__str20,__str21,__str22,__str23,__str24,__str25,__str26,__str27,__str28,__str29,__str30,__str31,__str32,__str33,_stderr,__str34,__str35,__str36,__str37,_get_file_format_extension,__str38,__str39,__str40,__str41,__str42,__str43,__str44,__str45,__str46,__str47,__str48,__str49,__str50,__str51,_get_file_format_format,__str52,__str53,__str54,__str55,__str56,__str57,_parse_cmdline_decoder_long_option,_parse_cmdline_decoder_optlist,__str58,
+__str59,__str60,__str61,__str62,__str63,__str64,__str65,__str66,__str67,__str68,__str69,__str70,__str71,__str72,__str73,__str74,__str75,__str76,__str77,__str78,__str79,__str80,__str81,__str82,__str83,__str84,__str185,__str286,_dwt_norms,_dwt_norms_real,__str387,_j2k_prog_order_list,_j2k_dec_mstab,__str488,__str1589,__str2690,__str3791,__str4892,__str593,__str694,__str795,__str896,__str997,_opj_clock_last,__str1198,__str112,__str213,__str314,__str415,__str516,__str617,__str718,__str819,__str920,__str1099,
+__str1121,__str12100,__str13101,__str14102,__str1522,__str16103,__str23104,_mct_norms,_mct_norms_real,_mqc_states,__str27105,__str128,__str29106,__str130,__str231,__str332,__str433,_t1_updateflags_mod,_lut_spb,_lut_ctxno_sc,_lut_ctxno_zc,_lut_nmsedec_sig,_lut_nmsedec_sig0,_lut_nmsedec_ref,_lut_nmsedec_ref0,__str41107,__str142,__str344,__str49108,__str150,__str251,__str352,__str453,__str554,__str655,__str756,__str857,__str958,__str1059,__str1160,__str1261,__str1362,__str1463,__str1564,__str1665,__str17109,
+__str18110,__str19111,__str20112,__str21113,__str22114,__str2366,__str24115,__str25116,__str126,__str227,__str328,__str429,__str631,__str732,__str833,__str934,__str1035,__str1136,__str1237,__str1338,__str1439,__str1540,__str1641,__str1742,__str1843,__str1944,__str2045,__str2146,__str2247,__str2348,__str2449,__str2550,__str2651,__str2752,__str28117,__str2953,__str30118,__str31119,__str32120,__str33121,__str54122,__str155,__str357,__str458,__str559,__str660,__str761,__str862,__str963,__str1064,__str1165,
+__str1266,__str1367,__str1468,__str1569,__str1670,__str1771,__str1973,__str2074,__str2175,__str2276,__str2377,__str2478,__str2579,__str2680,__str2781,__str2882,__str2983,__str3084,__str3185,__str3286,__str3387,__str34123,__str36125,__str3788,__str38126,__str39127,__str40128,__str4189,__str42129,__str43130,__str44131,__str45132,__str46133,__str47134,__str4890,__str4991,__str50135,__str51136,__str52137,__str53138,__str5492,__str55139,__str56140,__str57141,__str58142,__str59143,__str60144,__str61145,
+__str62146,__str63147,__str96,__str197,_opterr,_optind,_getopt_place,__str98,_optreset,_optopt,__str199,_optarg,__str2100,_getopt_long_lastidx,_getopt_long_lastofs,__str3101,__str4102,__str5103,__str6104,__str7105,_str,_fprintf=function(){var b=arguments[0],f=Array.prototype.slice.call(arguments,1);f=__formatString.apply(null,f);_STDIO.write(b,f,String_len(f))},__formatString=function(){function b(m){return String.fromCharCode(m)in Runtime.set("f","e","g")}function f(m){var l;if(e){l=b(m)?FHEAP[a]:
+IHEAP[a];a+=m==="l".charCodeAt(0)?8:4}else{l=d[a];a++}return l}var e=false,c=arguments[0],a=1;if(c<0){e=true;c=-c;a=arguments[1]}else var d=arguments;for(var g=[],h,i,j;;){h=IHEAP[c];if(h===0)break;i=IHEAP[c+1];if(h=="%".charCodeAt(0)){h=-1;if(i==".".charCodeAt(0)){c++;for(h=0;;){i=IHEAP[c+1];if(!(i>="0".charCodeAt(0)&&i<="9".charCodeAt(0)))break;h*=10;h+=i-"0".charCodeAt(0);c++}i=IHEAP[c+1]}if(i=="l".charCodeAt(0)){c++;i=IHEAP[c+1]}if(b(i))i="f".charCodeAt(0);if(["d","i","u","p","f"].indexOf(String.fromCharCode(i))!=
+-1){var k;j=f(i);k=String(+j);k=i=="u".charCodeAt(0)?String(unSign(j,32)):i=="p".charCodeAt(0)?"0x"+j.toString(16):String(+j);if(h>=0)if(b(i)){j=k.indexOf(".");if(j==-1&&i=="f".charCodeAt(0)){j=k.length;k+="."}k+="00000000000";k=k.substr(0,j+1+h)}else for(;k.length<h;)k="0"+k;k.split("").forEach(function(m){g.push(m.charCodeAt(0))})}else if(i=="s".charCodeAt(0))g=g.concat(String_copy(f(i)));else if(i=="c".charCodeAt(0))g=g.concat(f(i));else g.push(i);c+=2}else{g.push(h);c+=1}}return Pointer_make(g.concat(0),
+0,ALLOC_STACK)},_STDIO={streams:{},filenames:{},counter:1,SEEK_SET:0,SEEK_CUR:1,SEEK_END:2,init:function(){try{_stdin=Pointer_make([0],null,ALLOC_STATIC);IHEAP[_stdin]=this.prepare("<<stdin>>")}catch(b){}try{_stdout=Pointer_make([0],null,ALLOC_STATIC);IHEAP[_stdout]=this.prepare("<<stdout>>",null,true)}catch(f){}try{_stderr=Pointer_make([0],null,ALLOC_STATIC);IHEAP[_stderr]=this.prepare("<<stderr>>",null,true)}catch(e){}},prepare:function(b,f,e){var c=this.counter++;this.streams[c]={filename:b,data:f?
+f:[],position:0,eof:0,error:0,print:e};return this.filenames[b]=c},open:function(b){b=_STDIO.filenames[b];if(!b)return-1;var f=_STDIO.streams[b];f.position=f.error=f.eof=0;return b},read:function(b,f,e){b=_STDIO.streams[b];if(!b)return-1;for(var c=0;c<e;c++){if(b.position>=b.data.length){b.eof=1;return 0}IHEAP[f]=b.data[b.position];b.position++;f++}return e},write:function(b,f,e){b=_STDIO.streams[b];if(!b)return-1;if(b.print)__print__(intArrayToString(Array_copy(f,e)));else for(var c=0;c<e;c++){b.data[b.position]=
+IHEAP[f];b.position++;f++}return e}},_opendir=function(){return 0},_strcmp=function(b,f){return _strncmp(b,f,TOTAL_MEMORY)},_strncmp=function(b,f,e){for(var c=0;c<e;){var a=IHEAP[b+c],d=IHEAP[f+c];if(a==d&&a==0)break;if(a==0)return-1;if(d==0)return 1;if(a==d)c++;else return a>d?1:-1}return 0},_strcpy=function(b,f){var e=0;do{IHEAP[b+e]=IHEAP[f+e];e++}while(IHEAP[f+e-1]!=0)},_strrchr=function(b,f){var e=b+Pointer_stringify(b).length;do{if(IHEAP[e]==f)return e;e--}while(e>=b);return 0},_strncasecmp=
+function(b,f,e){for(var c=0;c<e;){var a=_tolower(IHEAP[b+c]),d=_tolower(IHEAP[f+c]);if(a==d&&a==0)break;if(a==0)return-1;if(d==0)return 1;if(a==d)c++;else return a>d?1:-1}return 0},_tolower=function(b){if(b>="A".charCodeAt(0)&&b<="Z".charCodeAt(0))return b-"A".charCodeAt(0)+"a".charCodeAt(0);return b},_llvm_memset_p0i8_i32=function(b,f,e){for(var c=0;c<e;c++){IHEAP[b+c]=f;FHEAP[b+c]=f}},_sprintf=function(){var b=arguments[0],f=Array.prototype.slice.call(arguments,1);_strcpy(b,__formatString.apply(null,
+f))},_strncpy=function(b,f,e){for(var c=false,a,d=0;d<e;d++){a=c?0:IHEAP[f+d];IHEAP[b+d]=a;c=c||IHEAP[f+d]==0}},_strcat=function(b,f){var e=Pointer_stringify(b).length,c=0;do{IHEAP[b+e+c]=IHEAP[f+c];c++}while(IHEAP[f+c-1]!=0);return b},_llvm_memcpy_p0i8_p0i8_i32=function(b,f,e){for(var c=0;c<e;c++){IHEAP[b+c]=IHEAP[f+c];FHEAP[b+c]=FHEAP[f+c]}},_malloc=function(b){var f=STATICTOP;STATICTOP+=b;STATICTOP=Math.ceil(STATICTOP/4)*4;return f},_strlen=function(b){return String_len(b)},_fopen=function(b,f){b=
+Pointer_stringify(b);f=Pointer_stringify(f);return f.indexOf("r")>=0?_STDIO.open(b):f.indexOf("w")>=0?_STDIO.prepare(b):assert(false,"fopen with odd params: "+f)},_fseek=function(b,f,e){b=_STDIO.streams[b];if(e===_STDIO.SEEK_CUR)f+=b.position;else if(e===_STDIO.SEEK_END)f+=b.data.length;b.position=f;return b.eof=0},_ftell=function(b){return _STDIO.streams[b].position},_fread=function(b,f,e,c){for(var a=_STDIO.streams[c],d=0;d<e;d++){if(a.position+f>a.data.length){a.eof=1;return d}_STDIO.read(c,b,
+f);b+=f}return e},_fclose=function(){return 0},_free=function(){},_floor=Math.floor,_memalign=function(b,f){var e=Runtime.staticAlloc(f+b);return e+b-e%b},_vsprintf=function(b,f,e){_strcpy(b,__formatString(-f,e))},_calloc=function(b,f){var e=_malloc(b*f);_memset(e,0,b*f);return e},_realloc=function(b,f){if(!f){b&&_free(b);return 0}var e=_malloc(f);if(b){_memcpy(e,b,f);_free(b)}return e},_memcpy=function(b,f,e){for(var c=0;c<e;c++){IHEAP[b+c]=IHEAP[f+c];FHEAP[b+c]=FHEAP[f+c]}},_gettimeofday=function(b){var f=
+Runtime.calculateStructAlignment({fields:["i32","i32"]}),e=Date.now();IHEAP[b+f[0]]=Math.floor(e/1E3);IHEAP[b+f[1]]=Math.floor((e-1E3*Math.floor(e/1E3))*1E3);return 0},_printf=function(){__print__(Pointer_stringify(__formatString.apply(null,arguments)))},_llvm_pow_f64=Math.pow,_fwrite=function(b,f,e,c){_STDIO.write(c,b,f*e);return e},__IO_getc=function(){return-1},_memcmp=function(b,f,e){for(var c=0;c<e;c++){var a=IHEAP[b+c],d=IHEAP[f+c];if(a!=d)return a>d?1:-1}return 0},__setjmp=function(){print("WARNING: setjmp() not really implemented, will fail if longjmp() is actually called");
+return 0},_strchr=function(b,f){b--;do{b++;var e=IHEAP[b];if(e==f)return b}while(e);return 0},_fputc=function b(f,e){if(!b.ptr)b.ptr=_malloc(1);IHEAP[b.ptr]=f;_STDIO.write(e,b.ptr,1)},_ldexp=function(b,f){return b*Math.pow(2,f)},_puts=function(b){__print__(Pointer_stringify(b)+"\n")},_memset=function(b,f,e){for(var c=0;c<e;c++){IHEAP[b+c]=f;FHEAP[b+c]=f}};
+function _decode_help_display(){_fwrite(__str,28,1,IHEAP[_stdout]);_fwrite(__str1,58,1,IHEAP[_stdout]);_fwrite(__str2,46,1,IHEAP[_stdout]);_fputc(10,IHEAP[_stdout]);_fputc(10,IHEAP[_stdout]);_fwrite(__str4,11,1,IHEAP[_stdout]);_fwrite(__str5,28,1,IHEAP[_stdout]);_fwrite(__str6,11,1,IHEAP[_stdout]);_fwrite(__str7,37,1,IHEAP[_stdout]);_fwrite(__str8,56,1,IHEAP[_stdout]);_fwrite(__str9,77,1,IHEAP[_stdout]);_fwrite(__str10,23,1,IHEAP[_stdout]);_fwrite(__str11,60,1,IHEAP[_stdout]);_fwrite(__str12,72,1,
+IHEAP[_stdout]);_fwrite(__str13,39,1,IHEAP[_stdout]);_fwrite(__str14,25,1,IHEAP[_stdout]);_fwrite(__str15,13,1,IHEAP[_stdout]);_fwrite(__str16,75,1,IHEAP[_stdout]);_fwrite(__str17,61,1,IHEAP[_stdout]);_fwrite(__str18,71,1,IHEAP[_stdout]);_fwrite(__str19,71,1,IHEAP[_stdout]);_fwrite(__str20,72,1,IHEAP[_stdout]);_fwrite(__str21,77,1,IHEAP[_stdout]);_fwrite(__str22,33,1,IHEAP[_stdout]);_fwrite(__str23,21,1,IHEAP[_stdout]);_fwrite(__str24,69,1,IHEAP[_stdout]);_fwrite(__str25,69,1,IHEAP[_stdout]);_fwrite(__str26,
+68,1,IHEAP[_stdout]);_fwrite(__str27,63,1,IHEAP[_stdout]);_fwrite(__str28,42,1,IHEAP[_stdout]);_fwrite(__str29,69,1,IHEAP[_stdout]);_fwrite(__str30,74,1,IHEAP[_stdout]);_fwrite(__str31,17,1,IHEAP[_stdout]);_fwrite(__str32,7,1,IHEAP[_stdout]);_fwrite(__str33,52,1,IHEAP[_stdout]);_fputc(10,IHEAP[_stdout]);_fputc(10,IHEAP[_stdout])}_decode_help_display.__index__=Runtime.getFunctionIndex(_decode_help_display,"_decode_help_display");
+function _get_num_images(b){var f=null,e,c;c=0;e=_opendir(b);if(e!=0){b=_readdir(e);if(b!=0){c=c;for(f=1;;){d=f==1?c:d;g=f==1?b:g;if(_strcmp(__str35,g+11)==0)f=2;else{var a=_strcmp(__str36,g+11);g=d+1;a=a==0?d:g;f=3}var d=f==2?d:a,g=_readdir(e);if(g!=0)f=5;else break}c=d}e=c}else{_fprintf(IHEAP[_stderr],__str34,b);e=0}return e}_get_num_images.__index__=Runtime.getFunctionIndex(_get_num_images,"_get_num_images");
+function _load_images(b,f){var e=null,c;c=_opendir(f);e=IHEAP[_stderr];if(c!=0){_fwrite(__str37,27,1,e);var a=_readdir(c);if(a!=0){var d=b+4;e=1;a:for(;;){i=e==1?0:i;j=e==1?a:j;var g=_strcmp(__str35,j+11)==0;b:do if(g)e=2;else{if(_strcmp(__str36,j+11)==0){e=3;break b}_strcpy(IHEAP[IHEAP[d]+4*i],j+11);var h=i+1;e=5}while(0);var i=e==5?h:e==3?i:i,j=_readdir(c);if(j!=0)e=4;else break a}}c=0}else{_fprintf(e,__str34,f);c=1}return c}_load_images.__index__=Runtime.getFunctionIndex(_load_images,"_load_images");
+function _get_file_format(b){var f,e=null;b=_strrchr(b,46);var c=b==0;a:do{if(!c){b+=1;if(b!=0){var a=b;for(e=1;;){f=e==6?i:0;var d=0+f,g=_get_file_format_extension+d*4,h=1+f;if(!((e==6?h:0)<14)){f=4;break}if(_strncasecmp(a,IHEAP[g],3)==0){f=5;break}var i=f+1;e=6;f=2}if(f!=4)if(f==5){e=IHEAP[_get_file_format_format+d*4];break a}}}e=-1}while(0);return e}_get_file_format.__index__=Runtime.getFunctionIndex(_get_file_format,"_get_file_format");
+function _get_next_file(b,f,e,c){var a=STACKTOP;STACKTOP+=20480;_memset(a,0,20480);var d=null;d=a+4096;var g=a+8192,h=a+12288,i=a+16384;_llvm_memset_p0i8_i32(i,0,4096,1,0);_strcpy(a,IHEAP[IHEAP[f+4]+4*b]);_fprintf(IHEAP[_stderr],__str52,b,a);b=_get_file_format(a);IHEAP[c+8200]=b;if(IHEAP[c+8200]==-1)e=1;else{_sprintf(d,__str53,IHEAP[e],a);_strncpy(c+8,d,4096);b=_strtok(a,__str35);_strcpy(h,b);b=_strtok(0,__str35);if(b!=0)for(d=1;;){j=d==1?b:j;_strcat(h,i);_sprintf(i,__str54,j);var j=_strtok(0,__str35);
+if(j!=0)d=2;else break}if(IHEAP[e+9]==1){_sprintf(g,__str55,IHEAP[e],h,IHEAP[e+4]);_strncpy(c+4104,g,4096)}e=0}e=e;STACKTOP=a;return e}_get_next_file.__index__=Runtime.getFunctionIndex(_get_next_file,"_get_next_file");
+function _parse_cmdline_decoder(b,f,e,c,a){var d=STACKTOP;STACKTOP+=82;_memset(d,0,82);var g,h,i=d+32;_llvm_memcpy_p0i8_p0i8_i32(d,_parse_cmdline_decoder_long_option,32,4,0);IHEAP[c+9]=0;var j=e+8200,k=e+8200,m=e+8,l=e+8204,n=e+8204,o=e+4104,p=c+9,r=e+8204,q=e+8204,u=c+4,s=c+4,t=c+4,v=c+4,y=c+4,x=c+4,w=c+4,C=e+4,z=c+8;a:for(;;){var A=_getopt_long(b,f,_parse_cmdline_decoder_optlist,d,32);if(A==-1){g=21;break a}else if(A==105)g=22;else if(A==111)g=23;else if(A==79)g=24;else if(A==114)g=12;else if(A==
+108)g=13;else if(A==104){g=25;break a}else g=A==121?14:A==120?15:16;if(g==16){_fprintf(IHEAP[_stderr],__str61,A,IHEAP[_optarg]);g=1}else if(g==22){var B=IHEAP[_optarg];g=_get_file_format(B);IHEAP[j]=g;g=IHEAP[k];if(g!=0)if(g!=1)if(g!=2){g=26;break a}_strncpy(m,B,4095);g=1}else if(g==23){var D=IHEAP[_optarg];g=_get_file_format(D);IHEAP[l]=g;g=IHEAP[n];if(g!=11)if(g!=10)if(g!=12)if(g!=14)if(g!=15)if(g!=16)if(g!=17){g=27;break a}_strncpy(o,D,4095);g=1}else if(g==24){_sprintf(i,__str54,IHEAP[_optarg]);
+IHEAP[p]=1;g=_get_file_format(i);IHEAP[r]=g;g=IHEAP[q];if(g==11)g=5;else if(g==10)g=6;else if(g==12)g=7;else if(g==14)g=8;else if(g==15)g=9;else if(g==16)g=10;else if(g==17)g=11;else{g=28;break a}if(g==5){IHEAP[u]=__str38;g=1}else if(g==6){IHEAP[s]=__str41;g=1}else if(g==7){IHEAP[t]=__str42;g=1}else if(g==8){IHEAP[v]=__str43;g=1}else if(g==9){IHEAP[y]=__str44;g=1}else if(g==10){IHEAP[x]=__str44;g=1}else if(g==11){IHEAP[w]=__str46;g=1}}else if(g==12){___01__isoc99_sscanf_(IHEAP[_optarg],__str60,e);
+g=1}else if(g==13){___01__isoc99_sscanf_(IHEAP[_optarg],__str60,C);g=1}else if(g==14){g=_strlen(IHEAP[_optarg])+1;g=_malloc(g);IHEAP[c]=g;_strcpy(IHEAP[c],IHEAP[_optarg]);g=IHEAP[z]=1}else if(g==15){_strncpy(a,IHEAP[_optarg],4096);g=1}}a:do if(g==21){b=IHEAP[c+8]==1;a=IHEAP[e+8]==0;b:do{if(b)if(a)if(IHEAP[c+9]==0){_fwrite(__str63,62,1,IHEAP[_stderr]);_fwrite(__str64,82,1,IHEAP[_stderr])}else{if(IHEAP[e+4104]==0){g=18;break b}_fwrite(__str65,57,1,IHEAP[_stderr])}else _fwrite(__str62,57,1,IHEAP[_stderr]);
+else{if(!a)if(IHEAP[e+4104]!=0){g=18;break b}_fprintf(IHEAP[_stderr],__str66,IHEAP[f]);_fprintf(IHEAP[_stderr],__str67,IHEAP[f])}h=1;break a}while(0);h=0}else if(g==25){_decode_help_display();h=1}else if(g==26){b=B;_fprintf(IHEAP[_stderr],__str58,b);h=1}else if(g==27){b=D;_fprintf(IHEAP[_stderr],__str59,b);h=1}else if(g==28){_fprintf(IHEAP[_stderr],__str59,i);h=1}while(0);f=h;STACKTOP=d;return f}_parse_cmdline_decoder.__index__=Runtime.getFunctionIndex(_parse_cmdline_decoder,"_parse_cmdline_decoder");
+function _error_callback(b,f){_fprintf(f,__str68,b)}_error_callback.__index__=Runtime.getFunctionIndex(_error_callback,"_error_callback");function _warning_callback(b,f){_fprintf(f,__str69,b)}_warning_callback.__index__=Runtime.getFunctionIndex(_warning_callback,"_warning_callback");function _info_callback(b){_fprintf(IHEAP[_stdout],__str70,b)}_info_callback.__index__=Runtime.getFunctionIndex(_info_callback,"_info_callback");
+function _main(b,f){var e=STACKTOP;STACKTOP+=12436;_memset(e,0,12436);var c,a=null,d,g=e+8224,h=e+8236,i,j,k,m,l,n=e+8248,o=e+8340;l=m=d=0;_llvm_memset_p0i8_i32(h,0,12,1,0);IHEAP[h]=_error_callback.__index__;IHEAP[h+4]=_warning_callback.__index__;IHEAP[h+8]=_info_callback.__index__;if(e!=0){_llvm_memset_p0i8_i32(e,0,8224,1,0);IHEAP[e+4]=0;IHEAP[e]=0;IHEAP[e+8220]=0;IHEAP[e+8200]=-1;IHEAP[e+8204]=-1}IHEAP[o]=0;_llvm_memset_p0i8_i32(g,0,12,1,0);var p=_parse_cmdline_decoder(b,f,e,g,o)==1;a:do if(p)d=
+1;else{var r=IHEAP[g+8]==1;b:do if(r){j=_get_num_images(IHEAP[g]);k=_malloc(8);c=k!=0;c:do if(c){r=_malloc(j*4096);IHEAP[k]=r;r=_malloc(j*4);IHEAP[k+4]=r;if(IHEAP[k]!=0){if(!(0<j))break c;r=k;var q=k+4,u=j;u=(u>1?u:1)-0;for(a=3;;){s=a==3?0:s;IHEAP[IHEAP[q]+4*(0+s)]=IHEAP[r]+(0+s*4096);var s=s+1;if(s!=u)a=5;else break}}else{d=1;break a}}while(0);if(_load_images(k,IHEAP[g])!=1){if(j!=0){c=9;break b}_fwrite(__str71,16,1,IHEAP[_stdout])}d=1;break a}else j=1;while(0);j=j;r=g+8;q=k;u=e+8;var t=e+8200,v=
+o,y=o,x=o,w=e+8204,C=e+4104,z=o,A=e+4104,B=e+4104,D=e+4104,J=e+4104,E=e+4104,N=e+4104,Q=e+4104,S=e+4104,P=e+4104,G=e+4104,F=e+4104,L=e+4104,K=e+4104,H=e+4104,M=o,I=o,O=o,R=o,T=o,V=o,ba=l;a=9;b:for(;;){var fa=a==16?oa:ba,ca=a==16?pa:0;if(!(ca<j)){c=13;break b}i=0;_fputc(10,IHEAP[_stderr]);var U=IHEAP[r]==1;c:do if(U){if(_get_next_file(ca,q,g,e)==0){c=15;break c}_fwrite(__str72,17,1,IHEAP[_stderr]);a=14;c=16;break c}else c=15;while(0);c:do if(c==15){c=_fopen(u,__str73);if(c==0){c=18;break b}_fseek(c,
+0,2);U=_ftell(c);_fseek(c,0,0);var $=_malloc(U);_fread($,1,U,c);_fclose(c);c=IHEAP[t];c=c==0?85:c==1?86:c==2?87:72;d:do if(c==72){_fwrite(__str77,16,1,IHEAP[_stderr]);a=72;break c}else if(c==85){var Y=m=_opj_create_decompress(0);i=IHEAP[_stderr];if(Y!=0){IHEAP[Y]=h;IHEAP[Y+4]=i}_opj_setup_decoder(m,e);Y=_opj_cio_open(m,$,U);i=m;if(IHEAP[v]!=0){var Z=_opj_decode_with_info(i,Y,n);i=Z;a=22}else{var W=_opj_decode_with_info(i,Y,0);i=W;a=24}if((a==24?W:Z)==0){c=26;break b}if(Y!=0){IHEAP[Y+4]==2&&_free(IHEAP[Y+
+8]);_free(Y)}if(IHEAP[y]==0){a=33;break d}if((_write_index_file(n,x)&255)==0){a=34;break d}_fwrite(__str76,28,1,IHEAP[_stderr]);a=36}else if(c==86){var X=m=_opj_create_decompress(2);i=IHEAP[_stderr];if(X!=0){IHEAP[X]=h;IHEAP[X+4]=i}_opj_setup_decoder(m,e);X=_opj_cio_open(m,$,U);i=m;if(IHEAP[M]!=0){var aa=_opj_decode_with_info(i,X,n);i=aa;a=41}else{var ka=_opj_decode_with_info(i,X,0);i=ka;a=43}if((a==43?ka:aa)==0){c=45;break b}if(X!=0){IHEAP[X+4]==2&&_free(IHEAP[X+8]);_free(X)}if(IHEAP[I]==0){a=52;
+break d}if((_write_index_file(n,O)&255)==0){a=53;break d}_fwrite(__str76,28,1,IHEAP[_stderr]);a=54}else if(c==87){var ga=m=_opj_create_decompress(1);i=IHEAP[_stderr];if(ga!=0){IHEAP[ga]=h;IHEAP[ga+4]=i}_opj_setup_decoder(m,e);ga=_opj_cio_open(m,$,U);i=m;if(IHEAP[R]!=0){var ja=_opj_decode_with_info(i,ga,n);i=ja;a=58}else{var ia=_opj_decode_with_info(i,ga,0);i=ia;a=60}if((a==60?ia:ja)==0){c=62;break b}if(ga!=0){IHEAP[ga+4]==2&&_free(IHEAP[ga+8]);_free(ga)}if(IHEAP[T]==0){a=69;break d}if((_write_index_file(n,
+V)&255)==0){a=70;break d}_fwrite(__str76,28,1,IHEAP[_stderr]);a=71}while(0);var ea=a==69?ga:a==71?ga:a==70?ga:a==52?X:a==54?X:a==53?X:a==33?Y:a==36?Y:Y;_free($);IHEAP[i+20]==3&&_color_sycc_to_rgb(i);if(IHEAP[i+28]!=0){_free(IHEAP[i+28]);IHEAP[i+28]=0;IHEAP[i+32]=0}c=IHEAP[w];c=c==10?97:c==11?98:c==12?99:c==14?100:c==15?101:c==16?102:c==17?103:104;if(c==104)_fprintf(IHEAP[_stderr],__str78,C);else if(c==97){U=_imagetopnm(i,A)!=0;$=IHEAP[_stdout];U?_fprintf($,__str78,B):_fprintf($,__str79,B)}else if(c==
+98){U=_imagetopgx(i,D)!=0;$=IHEAP[_stdout];U?_fprintf($,__str78,J):_fprintf($,__str79,J)}else if(c==99){U=_imagetobmp(i,E)!=0;$=IHEAP[_stdout];U?_fprintf($,__str78,N):_fprintf($,__str79,N)}else if(c==100){U=_imagetotif(i,Q)!=0;$=IHEAP[_stdout];U?_fprintf($,__str78,S):_fprintf($,__str79,S)}else if(c==101){U=_imagetoraw(i,P)!=0;$=IHEAP[_stdout];U?_fprintf($,__str80,G):_fprintf($,__str81,G)}else if(c==102){U=_imagetotga(i,F)!=0;$=IHEAP[_stdout];U?_fprintf($,__str82,L):_fprintf($,__str81,L)}else if(c==
+103){U=_imagetopng(i,K)!=0;$=IHEAP[_stdout];U?_fprintf($,__str83,H):_fprintf($,__str81,H)}U=m!=0;d:do if(U){$=m;if($==0){c=78;break d}c=IHEAP[$+12];c=c==0?105:c==1?105:c==2?106:80;if(c==105)_j2k_destroy_decompress(IHEAP[$+16]);else c==106&&_jp2_destroy_decompress(IHEAP[$+20]);_free($)}while(0);IHEAP[z]!=0&&_opj_destroy_cstr_info(n);_opj_image_destroy(i);a=83}while(0);var oa=a==83?ea:a==72?fa:fa,pa=ca+1;a=16;c=11}if(c==13){l=fa;d=0}else if(c==18){l=fa;_fprintf(IHEAP[_stderr],__str74,e+8);d=1}else if(c==
+26){l=Y;_fwrite(__str75,47,1,IHEAP[_stderr]);d=m;if(d!=0){c=IHEAP[d+12];c=c==0?88:c==1?88:c==2?89:90;if(c==88)_j2k_destroy_decompress(IHEAP[d+16]);else c==89&&_jp2_destroy_decompress(IHEAP[d+20]);_free(d)}d=j=l;if(j!=0){IHEAP[d+4]==2&&_free(IHEAP[d+8]);_free(d)}d=1}else if(c==45){l=X;_fwrite(__str75,47,1,IHEAP[_stderr]);d=m;if(d!=0){c=IHEAP[d+12];c=c==0?91:c==1?91:c==2?92:93;if(c==91)_j2k_destroy_decompress(IHEAP[d+16]);else c==92&&_jp2_destroy_decompress(IHEAP[d+20]);_free(d)}d=j=l;if(j!=0){IHEAP[d+
+4]==2&&_free(IHEAP[d+8]);_free(d)}d=1}else if(c==62){l=ga;_fwrite(__str75,47,1,IHEAP[_stderr]);d=m;if(d!=0){c=IHEAP[d+12];c=c==0?94:c==1?94:c==2?95:96;if(c==94)_j2k_destroy_decompress(IHEAP[d+16]);else c==95&&_jp2_destroy_decompress(IHEAP[d+20]);_free(d)}d=j=l;if(j!=0){IHEAP[d+4]==2&&_free(IHEAP[d+8]);_free(d)}d=1}}while(0);g=d;STACKTOP=e;return g}_main.__index__=Runtime.getFunctionIndex(_main,"_main");function _bio_create(){return _malloc(20)}
+_bio_create.__index__=Runtime.getFunctionIndex(_bio_create,"_bio_create");function _bio_destroy(b){b!=0&&_free(b)}_bio_destroy.__index__=Runtime.getFunctionIndex(_bio_destroy,"_bio_destroy");function _bio_numbytes(b){return IHEAP[b+8]-IHEAP[b]}_bio_numbytes.__index__=Runtime.getFunctionIndex(_bio_numbytes,"_bio_numbytes");function _bio_init_enc(b,f,e){IHEAP[b]=f;IHEAP[b+4]=f+e;IHEAP[b+8]=f;IHEAP[b+12]=0;IHEAP[b+16]=8}_bio_init_enc.__index__=Runtime.getFunctionIndex(_bio_init_enc,"_bio_init_enc");
+function _bio_init_dec(b,f,e){IHEAP[b]=f;IHEAP[b+4]=f+e;IHEAP[b+8]=f;IHEAP[b+12]=0;IHEAP[b+16]=0}_bio_init_dec.__index__=Runtime.getFunctionIndex(_bio_init_dec,"_bio_init_dec");
+function _bio_write(b,f,e){var c=null;e=e-1;if(e>=0){var a=0-e;a=e+(a>0?a:0)+1;for(c=0;;){i=c==0?0:i;c=f>>e+i*-1&1;if(IHEAP[b+16]==0){IHEAP[b+12]=IHEAP[b+12]<<8&65535;IHEAP[b+16]=IHEAP[b+12]==65280?7:8;if(!(IHEAP[b+8]>=IHEAP[b+4])){var d=IHEAP[b+12]>>>8&255,g=b+8,h=IHEAP[g];IHEAP[g]=h+1;IHEAP[h]=d}}IHEAP[b+16]+=-1;IHEAP[b+12]|=c<<IHEAP[b+16];var i=i+1;if(i!=a)c=5;else break}}}_bio_write.__index__=Runtime.getFunctionIndex(_bio_write,"_bio_write");
+function _bio_read(b,f){var e=null,c;c=0;var a=f-1;if(a>=0){c=c;var d=0-a;d=a+(d>0?d:0)+1;for(e=0;;){j=e==0?0:j;i=e==0?c:i;e=a+j*-1;if(IHEAP[b+16]==0){IHEAP[b+12]=IHEAP[b+12]<<8&65535;IHEAP[b+16]=IHEAP[b+12]==65280?7:8;if(!(IHEAP[b+8]>=IHEAP[b+4])){var g=b+8,h=IHEAP[g];IHEAP[g]=h+1;IHEAP[b+12]|=IHEAP[h]}}IHEAP[b+16]+=-1;var i=((IHEAP[b+12]>>>IHEAP[b+16]&1)<<e)+i,j=j+1;if(j!=d)e=5;else break}c=i}return c}_bio_read.__index__=Runtime.getFunctionIndex(_bio_read,"_bio_read");
+function _bio_flush(b){var f,e;IHEAP[b+16]=0;IHEAP[b+12]=IHEAP[b+12]<<8&65535;IHEAP[b+16]=IHEAP[b+12]==65280?7:8;var c=IHEAP[b+8]>=IHEAP[b+4];a:do if(c)e=1;else{e=IHEAP[b+12]>>>8&255;f=b+8;var a=IHEAP[f];IHEAP[f]=a+1;IHEAP[a]=e;if(IHEAP[b+16]==7){IHEAP[b+16]=0;f=b;IHEAP[f+12]=IHEAP[f+12]<<8&65535;IHEAP[f+16]=IHEAP[f+12]==65280?7:8;if(IHEAP[f+8]>=IHEAP[f+4]){e=1;break a}else{e=IHEAP[f+12]>>>8&255;f=f+8;a=IHEAP[f];IHEAP[f]=a+1;IHEAP[a]=e}}e=0}while(0);return e}
+_bio_flush.__index__=Runtime.getFunctionIndex(_bio_flush,"_bio_flush");function _bio_inalign(b){var f,e;IHEAP[b+16]=0;var c=(IHEAP[b+12]&255)==255;a:do if(c){f=b;IHEAP[f+12]=IHEAP[f+12]<<8&65535;IHEAP[f+16]=IHEAP[f+12]==65280?7:8;if(IHEAP[f+8]>=IHEAP[f+4]){e=1;f=0}else{c=f+8;var a=IHEAP[c];IHEAP[c]=a+1;IHEAP[f+12]|=IHEAP[a];IHEAP[b+16]=0;f=1}break a}else f=1;while(0);if(f==1)e=0;return e}_bio_inalign.__index__=Runtime.getFunctionIndex(_bio_inalign,"_bio_inalign");
+function _opj_cio_open(b,f,e){var c,a,d,g;d=0;g=_malloc(28);var h=g!=0;a:do if(h){IHEAP[g]=b;var i=f!=0;b:do if(i){if(e!=0){IHEAP[g+4]=1;IHEAP[g+8]=f;IHEAP[g+12]=e;c=1}else c=f!=0?2:3;break b}else c=3;while(0);b:do if(c==3){if(e!=0){c=2;break b}if(b==0){c=2;break b}IHEAP[g+4]=2;c=IHEAP[b+12];c=c==0?9:c==2?10:11;if(c==11){_free(g);a=0;break a}else if(c==9)d=IHEAP[IHEAP[b+16]+64];else if(c==10)d=IHEAP[IHEAP[IHEAP[b+20]+4]+64];IHEAP[g+12]=Math.floor(0.1625*IHEAP[d+8]+2E3);c=_malloc(IHEAP[g+12]);IHEAP[g+
+8]=c;if(IHEAP[g+8]!=0){c=1;break b}_opj_event_msg(IHEAP[g],1,__str84);_free(g);a=0;break a}while(0);if(c==1){IHEAP[g+16]=IHEAP[g+8];IHEAP[g+20]=IHEAP[g+8]+IHEAP[g+12];IHEAP[g+24]=IHEAP[g+8];a=g}else if(c==2){_free(g);a=0}}else a=0;while(0);return a}_opj_cio_open.__index__=Runtime.getFunctionIndex(_opj_cio_open,"_opj_cio_open");function _opj_cio_close(b){if(b!=0){IHEAP[b+4]==2&&_free(IHEAP[b+8]);_free(b)}}_opj_cio_close.__index__=Runtime.getFunctionIndex(_opj_cio_close,"_opj_cio_close");
+function _cio_tell(b){return IHEAP[b+24]-IHEAP[b+16]}_cio_tell.__index__=Runtime.getFunctionIndex(_cio_tell,"_cio_tell");function _cio_seek(b,f){IHEAP[b+24]=IHEAP[b+16]+f}_cio_seek.__index__=Runtime.getFunctionIndex(_cio_seek,"_cio_seek");function _cio_numbytesleft(b){return IHEAP[b+20]-IHEAP[b+24]}_cio_numbytesleft.__index__=Runtime.getFunctionIndex(_cio_numbytesleft,"_cio_numbytesleft");function _cio_getbp(b){return IHEAP[b+24]}_cio_getbp.__index__=Runtime.getFunctionIndex(_cio_getbp,"_cio_getbp");
+function _cio_byteout(b,f){var e;if(IHEAP[b+24]>=IHEAP[b+20]){_opj_event_msg(IHEAP[b],1,__str185);e=0}else{e=b+24;var c=IHEAP[e];IHEAP[e]=c+1;IHEAP[c]=f;e=1}return e}_cio_byteout.__index__=Runtime.getFunctionIndex(_cio_byteout,"_cio_byteout");function _cio_bytein(b){if(IHEAP[b+24]>=IHEAP[b+20]){_opj_event_msg(IHEAP[b],1,__str286,Pointer_make([IHEAP[b+16],0,0,0,IHEAP[b+24],0,0,0,IHEAP[b+20],0,0,0],0,ALLOC_STACK));b=0}else{b=b+24;var f=IHEAP[b];IHEAP[b]=f+1;b=IHEAP[f]}return b}
+_cio_bytein.__index__=Runtime.getFunctionIndex(_cio_bytein,"_cio_bytein");function _cio_write(b,f,e){var c,a=null,d,g=e-1,h=g*8,i=g+-1;for(a=0;;){c=a==5?k:0;k=h+c*-8;var j=i+c*-1;if(!((a==5?j:g)>=0)){c=3;break}a=f>>>k&255&255;if(IHEAP[b+24]>=IHEAP[b+20]){c=4;break}k=b+24;j=IHEAP[k];IHEAP[k]=j+1;IHEAP[j]=a;var k=c+1;a=5;c=1}if(c==3)d=e;else if(c==4){_opj_event_msg(IHEAP[b],1,__str185);d=0}return d}_cio_write.__index__=Runtime.getFunctionIndex(_cio_write,"_cio_write");
+function _cio_read(b,f){var e=null,c;c=0;var a=f-1;if(a>=0){c=c;var d=0-a;d=a+(d>0?d:0)+1;a=a*8;for(e=0;;){j=e==0?0:j;i=e==0?c:i;var g=a+j*-8;if(IHEAP[b+24]>=IHEAP[b+20]){_opj_event_msg(IHEAP[b],1,__str286,Pointer_make([IHEAP[b+16],0,0,0,IHEAP[b+24],0,0,0,IHEAP[b+20],0,0,0],0,ALLOC_STACK));e=2}else{var h=b+24;e=IHEAP[h];IHEAP[h]=e+1;h=IHEAP[e];e=4}var i=((e==2?0:h)<<g)+i,j=j+1;if(j!=d)e=5;else break}c=i}return c}_cio_read.__index__=Runtime.getFunctionIndex(_cio_read,"_cio_read");
+function _cio_skip(b,f){IHEAP[b+24]+=f}_cio_skip.__index__=Runtime.getFunctionIndex(_cio_skip,"_cio_skip");
+function _dwt_encode(b){var f=null,e,c,a;c=IHEAP[b+8]-IHEAP[b];a=IHEAP[b+16]-1;e=IHEAP[b+24];if(0<a){var d=b+20,g=b+20,h=b+20,i=b+20,j=b+20,k=b+20,m=b+20,l=b+20,n=b+20;b=b+20;var o=(a>1?a:1)-0,p=a-0,r=a-0,q=a-0,u=a-0,s=a-0,t=a+-1-0,v=a-0,y=a-0,x=a-0;a=a-0;f=0;a:for(;;){V=f==0?0:V;f=V*-1;var w=IHEAP[IHEAP[d]+124*(p+f)+8],C=IHEAP[IHEAP[g]+124*(r+f)],z=w-C,A=IHEAP[IHEAP[h]+124*(q+f)+12],B=IHEAP[IHEAP[i]+124*(u+f)+4],D=A-B,J=IHEAP[IHEAP[j]+124*(s+f)+-116]-IHEAP[IHEAP[k]+124*(t+f)],E=IHEAP[IHEAP[m]+124*
+(v+f)+-112]-IHEAP[IHEAP[l]+124*(y+f)+-120],N=IHEAP[IHEAP[n]+124*(x+f)]%2,Q=IHEAP[IHEAP[b]+124*(a+f)+4]%2,S=D-E,P=_malloc(D*4),G=P;if(0<z)if(0<D){var F=A-B,L=w-C;f=2;b:for(;;){M=f==2?0:M;var K=e+4*M;for(f=3;;){H=f==3?0:H;IHEAP[P+H*4]=IHEAP[e+4*(M+c*H)];var H=H+1;if(H!=F)f=4;else break}_dwt_encode_1(G,S,E,Q);_dwt_deinterleave_v(G,K,S,E,c,Q);var M=M+1;if(M!=L)f=5;else break b}}else{P=w-C;for(f=8;;){I=f==8?0:I;f=e+4*I;_dwt_encode_1(G,S,E,Q);_dwt_deinterleave_v(G,f,S,E,c,Q);var I=I+1;if(I!=P)f=9;else break}}_free(G);
+E=z-J;Q=S=_malloc(z*4);if(0<D)if(0<z){w=w-C;A=A-B;f=12;b:for(;;){R=f==12?0:R;B=c*R;C=e+4*B;for(f=13;;){O=f==13?0:O;IHEAP[S+O*4]=IHEAP[e+4*(B+O)];var O=O+1;if(O!=w)f=14;else break}_dwt_encode_1(Q,E,J,N);_dwt_deinterleave_h(Q,C,E,J,N);var R=R+1;if(R!=A)f=15;else break b}}else{A=A-B;for(f=18;;){T=f==18?0:T;f=e+4*c*T;_dwt_encode_1(Q,E,J,N);_dwt_deinterleave_h(Q,f,E,J,N);var T=T+1;if(T!=A)f=19;else break}}_free(Q);var V=V+1;if(V!=o)f=23;else break a}}}
+_dwt_encode.__index__=Runtime.getFunctionIndex(_dwt_encode,"_dwt_encode");
+function _dwt_encode_1(b,f,e,c){var a=null,d;c=c!=0;a:do if(c){a=e!=0;b:do if(!a){if(f!=1)break b;IHEAP[b]*=2;return}while(0);d=0;var g=d<f;b:do if(g){var h=f,i=e,j=(e-1)*2+1,k=e,m=(e-1)*2+1,l=d;for(a=26;;){if((a==26?l:s)<0){var n=IHEAP[b+4];a=28}else if(d>=k){var o=IHEAP[b+4*m];a=30}else{var p=IHEAP[b+4*(d*2+1)];a=31}s=a==28?n:a==30?o:p;if(d-1<0){var r=IHEAP[b+4];a=32}else if(d-1>=i){var q=IHEAP[b+4*j];a=34}else{var u=IHEAP[b+4*((d-1)*2+1)];a=35}IHEAP[b+4*d*2]-=(a==32?r:a==34?q:u)+s>>1;d+=1;var s=
+d;if(s<h)a=36;else break b}}while(0);d=0;if(!(d<e))break a;g=e;h=f;i=(f-1)*2;j=f;k=(f-1)*2;m=d;for(a=38;;){if((a==38?m:z)<0){var t=IHEAP[b];a=40}else if(d>=j){var v=IHEAP[b+4*k];a=42}else{var y=IHEAP[b+4*d*2];a=43}z=a==40?t:a==42?v:y;if(d+1<0){var x=IHEAP[b];a=44}else if(d+1>=h){var w=IHEAP[b+4*i];a=46}else{var C=IHEAP[b+4*(d+1)*2];a=47}IHEAP[b+4*(d*2+1)]+=z+2+(a==44?x:a==46?w:C)>>2;d+=1;var z=d;if(z<g)a=48;else break a}}else{if(!(f>0))if(!(e>1))break a;d=0;g=d<f;b:do if(g){h=f;i=e;j=(e-1)*2;k=e;
+m=(e-1)*2;l=d;for(a=2;;){if((a==2?l:Q)<0){var A=IHEAP[b];a=4}else if(d>=k){var B=IHEAP[b+4*m];a=6}else{var D=IHEAP[b+4*d*2];a=7}Q=a==4?A:a==6?B:D;if(d+1<0){var J=IHEAP[b];a=8}else if(d+1>=i){var E=IHEAP[b+4*j];a=10}else{var N=IHEAP[b+4*(d+1)*2];a=11}IHEAP[b+4*(d*2+1)]-=(a==8?J:a==10?E:N)+Q>>1;d+=1;var Q=d;if(Q<h)a=12;else break b}}while(0);d=0;if(!(d<e))break a;g=e;h=f;i=(f-1)*2+1;j=f;for(k=(f-1)*2+1;;){if(d-1<0){var S=IHEAP[b+4];a=16}else if(d-1>=j){var P=IHEAP[b+4*k];a=18}else{var G=IHEAP[b+4*((d-
+1)*2+1)];a=19}m=a==16?S:a==18?P:G;if(d<0){var F=IHEAP[b+4];a=20}else if(d>=h){var L=IHEAP[b+4*i];a=22}else{var K=IHEAP[b+4*(d*2+1)];a=23}IHEAP[b+4*d*2]+=m+2+(a==20?F:a==22?L:K)>>2;d+=1;if(!(d<g))break a}}while(0)}_dwt_encode_1.__index__=Runtime.getFunctionIndex(_dwt_encode_1,"_dwt_encode_1");
+function _dwt_deinterleave_v(b,f,e,c,a,d){var g=null;g=0;if(g<c){g=g;var h=g+1;h=(c>h?c:h)-g;var i=g*a,j=d+g*2;for(g=0;;){g=g==0?0:k;IHEAP[f+4*(i+a*g)]=IHEAP[b+4*(j+g*2)];var k=g+1;if(k!=h)g=1;else break}}g=0;if(g<e){g=g;k=g+1;e=(e>k?e:k)-g;c=a*(g+c);d=g*2+1-d;for(g=4;;){m=g==4?0:m;IHEAP[f+4*(c+a*m)]=IHEAP[b+4*(d+m*2)];var m=m+1;if(m!=e)g=5;else break}}}_dwt_deinterleave_v.__index__=Runtime.getFunctionIndex(_dwt_deinterleave_v,"_dwt_deinterleave_v");
+function _dwt_deinterleave_h(b,f,e,c,a){var d=null;d=0;if(d<c){var g=d;d=g+1;var h=(c>d?c:d)-g,i=a+g*2;for(d=0;;){d=d==0?0:j;IHEAP[f+4*(g+d)]=IHEAP[b+4*(i+d*2)];var j=d+1;if(j!=h)d=1;else break}}d=0;if(d<e){d=d;g=d+1;e=(e>g?e:g)-d;c=d+c;a=d*2+1-a;for(d=4;;){k=d==4?0:k;IHEAP[f+4*(c+k)]=IHEAP[b+4*(a+k*2)];var k=k+1;if(k!=e)d=5;else break}}}_dwt_deinterleave_h.__index__=Runtime.getFunctionIndex(_dwt_deinterleave_h,"_dwt_deinterleave_h");
+function _dwt_decode(b,f){var e=STACKTOP;STACKTOP+=32;_memset(e,0,32);var c,a=null,d,g,h,i=e+16,j,k,m,l;g=f;h=_dwt_decode_1.__index__;j=IHEAP[b+20];k=IHEAP[j+8]-IHEAP[j];m=IHEAP[j+12]-IHEAP[j+4];l=IHEAP[b+8]-IHEAP[b];a=g;d=1;var n=a+-1;a=n;if(n!=0){d=d;n=a;for(a=0;;){r=a==0?0:r;p=a==0?d:p;a=r+1;var o=IHEAP[j+124*a+8]-IHEAP[j+124*a];p=p<o?o:p;a=IHEAP[j+124*a+12]-IHEAP[j+124*a+4];var p=p<a?a:p,r=r+1;if(r!=n)a=1;else break}d=p}a=_memalign(16,d*4);IHEAP[e]=a;IHEAP[i]=IHEAP[e];g=a=g+-1;if(a!=0){d=b+24;
+n=e+8;r=i+8;p=e+8;o=e+4;var q=e+12,u=i+8,s=i+4,t=i+12;g=g;var v=e+12,y=e+8,x=e+8,w=e+12,C=e+4,z=i+12,A=i+8,B=i+8,D=i+12,J=i+4;a=8;a:for(;;){ea=a==8?0:ea;var E=a==8?m:L,N=ea+1,Q=j+124*N+8;L=j+124*N+12;c=j+124*N;var S=j+124*N+4;N=IHEAP[d];IHEAP[n]=a==8?k:P;IHEAP[r]=E;E=IHEAP[Q];Q=IHEAP[c];var P=E-Q,G=IHEAP[L],F=IHEAP[S],L=G-F;IHEAP[o]=P-IHEAP[p];IHEAP[q]=IHEAP[c]%2;if(0<L){var K=P*4,H=G-F;a=9;b:for(;;){Y=a==9?0:Y;var M=l*Y,I=N+4*l*Y,O=IHEAP[e],R=IHEAP[v],T=IHEAP[y];if(T!=0){a=10;c=11}else{a=10;c=12}c:for(;;)if(c==
+11){V=a==11?V:0;IHEAP[O+4*(R+V*2)]=IHEAP[N+4*(M+V)];var V=V+1;if(V!=T)c=a=11;else{a=11;c=12}}else if(c==12){var ba=IHEAP[x],fa=IHEAP[e],ca=IHEAP[w],U=IHEAP[C];c=U!=0?13:14;break c}if(c==13){c=1-ca;M=ba+M;for(a=13;;){$=a==13?0:$;IHEAP[fa+4*(c+$*2)]=IHEAP[N+4*(M+$)];var $=$+1;if($!=U)a=15;else break}}FUNCTION_TABLE[h](e);_llvm_memcpy_p0i8_p0i8_i32(I,IHEAP[e],K,1,0);var Y=Y+1;if(Y!=H)a=14;else break b}}IHEAP[s]=L-IHEAP[u];IHEAP[t]=IHEAP[S]%2;if(0<P){S=0<L;G=G-F;E=E-Q;a=20;b:for(;;){Q=a==20?0:ia;F=IHEAP[i];
+K=IHEAP[z];H=IHEAP[A];if(H!=0){a=21;c=22}else{a=21;c=23}c:for(;;)if(c==22){Z=a==22?Z:0;IHEAP[F+4*(K+Z*2)]=IHEAP[N+4*(Q+l*Z)];var Z=Z+1;if(Z!=H)c=a=22;else{a=22;c=23}}else if(c==23){var W=IHEAP[B],X=IHEAP[i],aa=IHEAP[D],ka=IHEAP[J];c=ka!=0?24:25;break c}if(c==24){c=1-aa;F=Q+l*W;for(a=24;;){ga=a==24?0:ga;IHEAP[X+4*(c+ga*2)]=IHEAP[N+4*(F+l*ga)];var ga=ga+1;if(ga!=ka)a=26;else break}}FUNCTION_TABLE[h](i);if(S){a=25;c=29}else{a=25;c=30}for(;;)if(c==29){ja=a==29?ja:0;IHEAP[N+4*(Q+l*ja)]=IHEAP[IHEAP[i]+
+4*ja];var ja=ja+1;if(ja!=G)c=a=29;else{a=29;c=30}}else if(c==30){var ia=Q+1;if(ia!=E){a=30;continue b}else break b}}}var ea=ea+1;if(ea!=g)a=4;else break a}}_free(IHEAP[e]);STACKTOP=e}_dwt_decode.__index__=Runtime.getFunctionIndex(_dwt_decode,"_dwt_decode");
+function _dwt_decode_1(b){var f=null,e,c=IHEAP[b+4],a=IHEAP[b+8];f=IHEAP[b+12];b=IHEAP[b];var d=f!=0;a:do if(d){f=a!=0;b:do if(!f){if(c!=1)break b;c=b;IHEAP[c]=IHEAP[c]/2|0;return}while(0);e=0;var g=e<a;b:do if(g){var h=a,i=c,j=(c-1)*2,k=c,m=(c-1)*2,l=e;for(f=25;;){if((f==25?l:s)<0){var n=IHEAP[b];f=27}else if(e>=k){var o=IHEAP[b+4*m];f=29}else{var p=IHEAP[b+4*e*2];f=30}s=f==27?n:f==29?o:p;if(e+1<0){var r=IHEAP[b];f=31}else if(e+1>=i){var q=IHEAP[b+4*j];f=33}else{var u=IHEAP[b+4*(e+1)*2];f=34}IHEAP[b+
+4*(e*2+1)]-=s+2+(f==31?r:f==33?q:u)>>2;e+=1;var s=e;if(s<h)f=35;else break b}}while(0);e=0;if(!(e<c))break a;g=c;h=a;i=(a-1)*2+1;j=a;k=(a-1)*2+1;m=e;for(f=37;;){if((f==37?m:z)<0){var t=IHEAP[b+4];f=39}else if(e>=j){var v=IHEAP[b+4*k];f=41}else{var y=IHEAP[b+4*(e*2+1)];f=42}z=f==39?t:f==41?v:y;if(e-1<0){var x=IHEAP[b+4];f=43}else if(e-1>=h){var w=IHEAP[b+4*i];f=45}else{var C=IHEAP[b+4*((e-1)*2+1)];f=46}IHEAP[b+4*e*2]+=(f==43?x:f==45?w:C)+z>>1;e+=1;var z=e;if(z<g)f=47;else break a}}else{if(!(c>0))if(!(a>
+1))break a;e=0;g=e<a;b:do if(g){h=a;i=c;j=(c-1)*2+1;k=c;for(m=(c-1)*2+1;;){if(e-1<0){var A=IHEAP[b+4];f=3}else if(e-1>=k){var B=IHEAP[b+4*m];f=5}else{var D=IHEAP[b+4*((e-1)*2+1)];f=6}l=f==3?A:f==5?B:D;if(e<0){var J=IHEAP[b+4];f=7}else if(e>=i){var E=IHEAP[b+4*j];f=9}else{var N=IHEAP[b+4*(e*2+1)];f=10}IHEAP[b+4*e*2]-=l+2+(f==7?J:f==9?E:N)>>2;e+=1;if(!(e<h))break b}}while(0);e=0;if(!(e<c))break a;g=c;h=a;i=(a-1)*2;j=a;k=(a-1)*2;m=e;for(f=12;;){if((f==12?m:K)<0){var Q=IHEAP[b];f=14}else if(e>=j){var S=
+IHEAP[b+4*k];f=16}else{var P=IHEAP[b+4*e*2];f=17}K=f==14?Q:f==16?S:P;if(e+1<0){var G=IHEAP[b];f=18}else if(e+1>=h){var F=IHEAP[b+4*i];f=20}else{var L=IHEAP[b+4*(e+1)*2];f=21}IHEAP[b+4*(e*2+1)]+=(f==18?G:f==20?F:L)+K>>1;e+=1;var K=e;if(K<g)f=22;else break a}}while(0)}_dwt_decode_1.__index__=Runtime.getFunctionIndex(_dwt_decode_1,"_dwt_decode_1");function _dwt_getgain(b){return b==0?0:b==1|b==2?1:2}_dwt_getgain.__index__=Runtime.getFunctionIndex(_dwt_getgain,"_dwt_getgain");
+function _dwt_getnorm(b,f){return FHEAP[_dwt_norms+f*80+b*8]}_dwt_getnorm.__index__=Runtime.getFunctionIndex(_dwt_getnorm,"_dwt_getnorm");
+function _dwt_encode_real(b){var f=null,e,c,a;c=IHEAP[b+8]-IHEAP[b];a=IHEAP[b+16]-1;e=IHEAP[b+24];if(0<a){var d=b+20,g=b+20,h=b+20,i=b+20,j=b+20,k=b+20,m=b+20,l=b+20,n=b+20;b=b+20;var o=(a>1?a:1)-0,p=a-0,r=a-0,q=a-0,u=a-0,s=a-0,t=a+-1-0,v=a-0,y=a-0,x=a-0;a=a-0;f=0;a:for(;;){V=f==0?0:V;f=V*-1;var w=IHEAP[IHEAP[d]+124*(p+f)+8],C=IHEAP[IHEAP[g]+124*(r+f)],z=w-C,A=IHEAP[IHEAP[h]+124*(q+f)+12],B=IHEAP[IHEAP[i]+124*(u+f)+4],D=A-B,J=IHEAP[IHEAP[j]+124*(s+f)+-116]-IHEAP[IHEAP[k]+124*(t+f)],E=IHEAP[IHEAP[m]+
+124*(v+f)+-112]-IHEAP[IHEAP[l]+124*(y+f)+-120],N=IHEAP[IHEAP[n]+124*(x+f)]%2,Q=IHEAP[IHEAP[b]+124*(a+f)+4]%2,S=D-E,P=_malloc(D*4),G=P;if(0<z)if(0<D){var F=A-B,L=w-C;f=2;b:for(;;){M=f==2?0:M;var K=e+4*M;for(f=3;;){H=f==3?0:H;IHEAP[P+H*4]=IHEAP[e+4*(M+c*H)];var H=H+1;if(H!=F)f=4;else break}_dwt_encode_1_real(G,S,E,Q);_dwt_deinterleave_v(G,K,S,E,c,Q);var M=M+1;if(M!=L)f=5;else break b}}else{P=w-C;for(f=8;;){I=f==8?0:I;f=e+4*I;_dwt_encode_1_real(G,S,E,Q);_dwt_deinterleave_v(G,f,S,E,c,Q);var I=I+1;if(I!=
+P)f=9;else break}}_free(G);E=z-J;Q=S=_malloc(z*4);if(0<D)if(0<z){w=w-C;A=A-B;f=12;b:for(;;){R=f==12?0:R;B=c*R;C=e+4*B;for(f=13;;){O=f==13?0:O;IHEAP[S+O*4]=IHEAP[e+4*(B+O)];var O=O+1;if(O!=w)f=14;else break}_dwt_encode_1_real(Q,E,J,N);_dwt_deinterleave_h(Q,C,E,J,N);var R=R+1;if(R!=A)f=15;else break b}}else{A=A-B;for(f=18;;){T=f==18?0:T;f=e+4*c*T;_dwt_encode_1_real(Q,E,J,N);_dwt_deinterleave_h(Q,f,E,J,N);var T=T+1;if(T!=A)f=19;else break}}_free(Q);var V=V+1;if(V!=o)f=23;else break a}}}
+_dwt_encode_real.__index__=Runtime.getFunctionIndex(_dwt_encode_real,"_dwt_encode_real");
+function _dwt_encode_1_real(b,f,e,c){var a;a=null;var d=c!=0;a:do if(d){if(!(e>0))if(!(f>1))break a;c=0;if(c<f){var g=c;for(a=57;;){if((a==57?g:n)<0){var h=IHEAP[b+4];a=59}else if(c>=e){var i=IHEAP[b+4*((e-1)*2+1)];a=61}else{var j=IHEAP[b+4*(c*2+1)];a=62}n=a==59?h:a==61?i:j;if(c-1<0){var k=IHEAP[b+4];a=63}else if(c-1>=e){var m=IHEAP[b+4*((e-1)*2+1)];a=65}else{var l=IHEAP[b+4*((c-1)*2+1)];a=66}n=12993*((a==63?k:a==65?m:l)+n);IHEAP[b+4*c*2]-=n+(n&4096)>>13&4294967295;c+=1;var n=c;if(n<f)a=67;else break}}c=
+0;if(c<e){g=c;for(a=70;;){if((a==70?g:t)<0){var o=IHEAP[b];a=72}else if(c>=f){var p=IHEAP[b+4*(f-1)*2];a=74}else{var r=IHEAP[b+4*c*2];a=75}t=a==72?o:a==74?p:r;if(c+1<0){var q=IHEAP[b];a=76}else if(c+1>=f){var u=IHEAP[b+4*(f-1)*2];a=78}else{var s=IHEAP[b+4*(c+1)*2];a=79}t=434*((a==76?q:a==78?u:s)+t);IHEAP[b+4*(c*2+1)]-=t+(t&4096)>>13&4294967295;c+=1;var t=c;if(t<e)a=80;else break}}c=0;if(c<f){g=c;for(a=83;;){if((a==83?g:A)<0){var v=IHEAP[b+4];a=85}else if(c>=e){var y=IHEAP[b+4*((e-1)*2+1)];a=87}else{var x=
+IHEAP[b+4*(c*2+1)];a=88}A=a==85?v:a==87?y:x;if(c-1<0){var w=IHEAP[b+4];a=89}else if(c-1>=e){var C=IHEAP[b+4*((e-1)*2+1)];a=91}else{var z=IHEAP[b+4*((c-1)*2+1)];a=92}A=7233*((a==89?w:a==91?C:z)+A);IHEAP[b+4*c*2]+=A+(A&4096)>>13&4294967295;c+=1;var A=c;if(A<f)a=93;else break}}c=0;if(c<e){g=c;for(a=96;;){if((a==96?g:S)<0){var B=IHEAP[b];a=98}else if(c>=f){var D=IHEAP[b+4*(f-1)*2];a=100}else{var J=IHEAP[b+4*c*2];a=101}S=a==98?B:a==100?D:J;if(c+1<0){var E=IHEAP[b];a=102}else if(c+1>=f){var N=IHEAP[b+4*
+(f-1)*2];a=104}else{var Q=IHEAP[b+4*(c+1)*2];a=105}S=3633*((a==102?E:a==104?N:Q)+S);IHEAP[b+4*(c*2+1)]+=S+(S&4096)>>13&4294967295;c+=1;var S=c;if(S<e)a=106;else break}}c=0;a=c<f?109:110;b:for(;;)if(a==109){a=5038*IHEAP[b+4*c*2];IHEAP[b+4*c*2]=a+(a&4096)>>13&4294967295;c+=1;if(c<f){a=109;continue b}a=110}else if(a==110){c=0;if(c<e)break b;else break a}for(;;){a=6659*IHEAP[b+4*(c*2+1)];IHEAP[b+4*(c*2+1)]=a+(a&4096)>>13&4294967295;c+=1;if(!(c<e))break}}else{if(!(f>0))if(!(e>1))break a;c=0;if(c<f){g=
+c;for(a=2;;){if((a==2?g:M)<0){var P=IHEAP[b];a=4}else if(c>=e){var G=IHEAP[b+4*(e-1)*2];a=6}else{var F=IHEAP[b+4*c*2];a=7}M=a==4?P:a==6?G:F;if(c+1<0){var L=IHEAP[b];a=8}else if(c+1>=e){var K=IHEAP[b+4*(e-1)*2];a=10}else{var H=IHEAP[b+4*(c+1)*2];a=11}M=12993*((a==8?L:a==10?K:H)+M);IHEAP[b+4*(c*2+1)]-=M+(M&4096)>>13&4294967295;c+=1;var M=c;if(M<f)a=12;else break}}c=0;a=c<e?15:16;b:for(;;)if(a==15){if(c-1<0){var I=IHEAP[b+4];a=17}else if(c-1>=f){var O=IHEAP[b+4*((f-1)*2+1)];a=19}else{var R=IHEAP[b+4*
+((c-1)*2+1)];a=20}g=a==17?I:a==19?O:R;if(c<0){var T=IHEAP[b+4];a=21}else if(c>=f){var V=IHEAP[b+4*((f-1)*2+1)];a=23}else{var ba=IHEAP[b+4*(c*2+1)];a=24}a=434*((a==21?T:a==23?V:ba)+g);IHEAP[b+4*c*2]-=a+(a&4096)>>13&4294967295;c+=1;if(c<e){a=15;continue b}a=16}else if(a==16){c=0;a=c<f?26:27;break b}if(a==26){g=c;for(a=26;;){if((a==26?g:W)<0){var fa=IHEAP[b];a=29}else if(c>=e){var ca=IHEAP[b+4*(e-1)*2];a=31}else{var U=IHEAP[b+4*c*2];a=32}W=a==29?fa:a==31?ca:U;if(c+1<0){var $=IHEAP[b];a=33}else if(c+
+1>=e){var Y=IHEAP[b+4*(e-1)*2];a=35}else{var Z=IHEAP[b+4*(c+1)*2];a=36}W=7233*((a==33?$:a==35?Y:Z)+W);IHEAP[b+4*(c*2+1)]+=W+(W&4096)>>13&4294967295;c+=1;var W=c;if(W<f)a=37;else break}}c=0;a=c<e?40:41;b:for(;;)if(a==40){if(c-1<0){var X=IHEAP[b+4];a=42}else if(c-1>=f){var aa=IHEAP[b+4*((f-1)*2+1)];a=44}else{var ka=IHEAP[b+4*((c-1)*2+1)];a=45}g=a==42?X:a==44?aa:ka;if(c<0){var ga=IHEAP[b+4];a=46}else if(c>=f){var ja=IHEAP[b+4*((f-1)*2+1)];a=48}else{var ia=IHEAP[b+4*(c*2+1)];a=49}a=3633*((a==46?ga:a==
+48?ja:ia)+g);IHEAP[b+4*c*2]+=a+(a&4096)>>13&4294967295;c+=1;if(c<e){a=40;continue b}a=41}else if(a==41){c=0;a=c<f?51:52;break b}b:for(;;)if(a==51){a=5038*IHEAP[b+4*(c*2+1)];IHEAP[b+4*(c*2+1)]=a+(a&4096)>>13&4294967295;c+=1;if(c<f){a=51;continue b}a=52}else if(a==52){c=0;if(c<e)break b;else break a}for(;;){a=6659*IHEAP[b+4*c*2];IHEAP[b+4*c*2]=a+(a&4096)>>13&4294967295;c+=1;if(!(c<e))break}}while(0)}_dwt_encode_1_real.__index__=Runtime.getFunctionIndex(_dwt_encode_1_real,"_dwt_encode_1_real");
+function _dwt_getgain_real(){return 0}_dwt_getgain_real.__index__=Runtime.getFunctionIndex(_dwt_getgain_real,"_dwt_getgain_real");function _dwt_getnorm_real(b,f){return FHEAP[_dwt_norms_real+f*80+b*8]}_dwt_getnorm_real.__index__=Runtime.getFunctionIndex(_dwt_getnorm_real,"_dwt_getnorm_real");
+function _dwt_calc_explicit_stepsizes(b,f){var e,c=null,a;a=IHEAP[b+4]*3-2;if(0<a){var d=b+4,g=b+20,h=b+24;a=(a>1?a:1)-0;c=0;a:for(;;){A=c==0?0:A;c=0+A;var i=-1+A,j=b+28+c*8+4,k=b+28+c*8;if(c==0)c=1;else{var m=(i/3|0)+1,l=i%3+1;c=2}i=c==2?l:0;var n=IHEAP[d]+-1+(0-(c==2?m:0));if(IHEAP[g]==0|i==0)c=18;else{var o=i==2;o=(i==1?1:o)?1:2;c=4}e=c==18?0:o;if(IHEAP[h]==0)c=19;else{var p=(1<<e)/FHEAP[_dwt_norms_real+i*80+n*8];c=6}i=_floor((c==6?p:1)*8192)|0;n=e+f;if(i>1){c=8;e=9}else{c=8;e=10}b:for(;;)if(e==
+9){u=c==9?u:0;var r=u+1,q=(c==9?q:i)>>1,u=u+1;if(q>1){e=c=9;continue b}var s=r-13;if(i>1)c=11;else{c=11;e=10;continue b}for(;;){y=c==12?y:0;var t=y+1,v=(c==12?v:i)>>1,y=y+1;if(v>1)e=c=12;else{c=12;e=10;continue b}}}else if(e==10){var x=c==11?s:c==8?-13:s,w=11-(c==11?0:c==8?0:t);e=w<0?13:14;break b}if(e==13){var C=i>>0-w;c=13}else if(e==14){var z=i<<w;c=14}IHEAP[j]=(c==13?C:z)&2047;IHEAP[k]=n-x;var A=A+1;if(A!=a)c=16;else break a}}}
+_dwt_calc_explicit_stepsizes.__index__=Runtime.getFunctionIndex(_dwt_calc_explicit_stepsizes,"_dwt_calc_explicit_stepsizes");
+function _dwt_decode_real(b,f){var e=STACKTOP;STACKTOP+=32;_memset(e,0,32);var c,a=null,d,g,h,i,j=e+16,k,m,l,n,o,p,r;i=f;k=IHEAP[b+20];m=IHEAP[k+8]-IHEAP[k];l=IHEAP[k+12]-IHEAP[k+4];n=IHEAP[b+8]-IHEAP[b];h=i;d=k;g=h;h=1;var q=g+-1;g=q;if(q!=0){h=h;g=g;for(a=0;;){t=a==0?0:t;q=a==0?h:s;s=t+1;var u=IHEAP[d+124*s+8]-IHEAP[d+124*s];q=q<u?u:q;s=IHEAP[d+124*s+12]-IHEAP[d+124*s+4];var s=q<s?s:q,t=t+1;if(t!=g)a=1;else break}h=s}d=_memalign(16,(h+5)*16);IHEAP[e]=d;IHEAP[j]=IHEAP[e];d=e+8;h=j+8;g=e+8;t=e+4;
+s=e+12;q=j+8;u=j+4;var v=j+12;a:for(;;){i=a=i+-1;if(a==0)break a;o=IHEAP[b+24];p=(IHEAP[b+12]-IHEAP[b+4])*(IHEAP[b+8]-IHEAP[b]);IHEAP[d]=m;IHEAP[h]=l;k+=124;m=IHEAP[k+8]-IHEAP[k];l=IHEAP[k+12]-IHEAP[k+4];IHEAP[t]=m-IHEAP[g];IHEAP[s]=IHEAP[k]%2;var y=l;a=y;if(y>3){y=n;var x=m,w=n,C=n,z=n,A=n,B=n;o=o;p=p;r=a;var D=x+-1>=0;b:do if(D){var J=x+-1,E=A*4,N=x+-1;c=N+w;var Q=N+C*2,S=N+z*3,P=r+-4,G=B*-4,F=p-B*4,L=A*4;a=7;for(;;){Y=a==10?Y:0;a=E*Y;var K=N+a,H=c+a,M=Q+a,I=S+a,O=P+Y*-4,R=G*Y,T=F+R,V=o+4*(L+a);
+_v4dwt_interleave_h(e,o+4*a,y,p+R);_v4dwt_decode(e);for(a=8;;){$=a==8?0:$;a=$*-1;R=o+4*(H+a);var ba=o+4*(M+a),fa=o+4*(I+a),ca=$*-1,U=x+ca;FHEAP[o+4*(K+a)]=FHEAP[IHEAP[e]+16*(J+ca)];FHEAP[R]=FHEAP[IHEAP[e]+16*U+-12];FHEAP[ba]=FHEAP[IHEAP[e]+16*U+-8];FHEAP[fa]=FHEAP[IHEAP[e]+16*U+-4];var $=$+1;if($!=x)a=9;else break}var Y=Y+1;if(O>3)a=10;else{a=10;break b}}}else{J=A*4;E=r+-4;N=B*-4;c=p-B*4;Q=A*4;for(a=12;;){X=a==12?0:X;S=J*X;a=E+X*-4;P=N*X;var Z=c+P,W=o+4*(Q+S);_v4dwt_interleave_h(e,o+4*S,y,p+P);_v4dwt_decode(e);
+var X=X+1;if(a>3)a=13;else{a=13;break b}}}while(0);y=a==10?V:W;p=a==10?T:Z;o=y}y=(l&3)!=0;b:do if(y){a=l&3;_v4dwt_interleave_h(e,o,n,p);_v4dwt_decode(e);r=m;r=x=r+-1;if(!(x>=0))break b;x=a;w=n;C=o;z=n;B=A=o;r=r;D=x==3;c:do if(D){a=r*-1;J=r+1+(a>0?a:0);E=r+w*2;N=r+z;for(a=17;;){aa=a==18?aa:0;a=aa*-1;c=r+a;Q=A+4*(N+a);S=B+4*c;FHEAP[C+4*(E+a)]=FHEAP[IHEAP[e]+16*c+8];FHEAP[Q]=FHEAP[IHEAP[e]+16*c+4];FHEAP[S]=FHEAP[IHEAP[e]+16*c];var aa=aa+1;if(aa!=J)a=18;else break}}else{J=r+-1;E=r+z;a=21;for(;;){ka=a==
+21?0:ka;c=ka*-1;a=J+c;N=r+c;Q=A+4*(E+c);S=B+4*N;c=x==2?40:x==1?23:25;e:do if(c==40){FHEAP[Q]=FHEAP[IHEAP[e]+16*N+4];c=23;break e}while(0);if(c==23)FHEAP[S]=FHEAP[IHEAP[e]+16*N];var ka=ka+1;if(a>=0)a=25;else break c}}while(0)}while(0);IHEAP[u]=l-IHEAP[q];IHEAP[v]=IHEAP[k+4]%2;o=IHEAP[b+24];a=y=m;if(y>3){x=y=n;w=l;C=o;z=a;A=0<l;b:do if(A){B=w>1?w:1;o=z+-4;a=28;for(;;){ia=a==31?ia:0;r=ia*4;p=o+ia*-4;var ga=C+4*(r+4);_v4dwt_interleave_v(j,C+4*r,y);_v4dwt_decode(j);for(a=29;;){ja=a==29?0:ja;_llvm_memcpy_p0i8_p0i8_i32(C+
+4*(r+x*ja),IHEAP[j]+16*ja,16,1,0);var ja=ja+1;if(ja!=B)a=30;else break}var ia=ia+1;if(p>3)a=31;else{a=31;break b}}}else{B=z+-4;for(a=33;;){oa=a==33?0:oa;o=oa*4;a=B+oa*-4;var ea=C+4*(o+4);_v4dwt_interleave_v(j,C+4*o,y);_v4dwt_decode(j);var oa=oa+1;if(a>3)a=34;else{a=34;break b}}}while(0);o=a==31?ga:ea}if((m&3)==0)continue a;a=m&3;_v4dwt_interleave_v(j,o,n);_v4dwt_decode(j);if(!(0<l))continue a;y=n;x=o;w=a*4;a=l;C=(a>1?a:1)-0;z=0*y;for(a=37;;){pa=a==37?0:pa;_llvm_memcpy_p0i8_p0i8_i32(x+4*(z+y*pa),IHEAP[j]+
+16*(0+pa),w,1,0);var pa=pa+1;if(pa!=C)a=38;else break}}_free(IHEAP[e]);STACKTOP=e}_dwt_decode_real.__index__=Runtime.getFunctionIndex(_dwt_decode_real,"_dwt_decode_real");
+function _v4dwt_interleave_h(b,f,e,c){var a,d=null,g,h;g=IHEAP[b]+16*IHEAP[b+12];h=IHEAP[b+8];var i=e*3,j=(e&15)==0,k=b+12,m=b+8,l=b+8,n=b+4,o=e+e,p=o+e,r=e+e,q=r+e;d=0;a:for(;;){N=d==0?0:N;J=d==0?c:J;E=d==0?h:E;B=d==0?g:B;D=d==0?f:D;d=i+E<J;b:do if(d){if((D&15)!=0){a=3;break b}if((B&15)==0^1|j^1){a=3;break b}if(0<E)d=4;else{a=6;break b}for(;;){x=d==5?x:0;d=D+4*(q+x);a=D+4*(r+x);var u=D+4*(e+x),s=x*8,t=B+4*(s+3),v=B+4*(s+2),y=B+4*(s+1);FHEAP[B+4*s]=FHEAP[D+4*x];FHEAP[y]=FHEAP[u];FHEAP[v]=FHEAP[a];
+FHEAP[t]=FHEAP[d];var x=x+1;if(x!=E)d=5;else break}a=6;break b}else a=3;while(0);b:do if(a==3){if(0<E)d=3;else break b;c:for(;;){A=d==10?A:0;d=p+A;a=D+4*d;u=o+A;s=D+4*u;var w=e+A;t=D+4*w;var C=A*8;v=B+4*(C+1);y=B+4*(C+2);var z=B+4*(C+3);FHEAP[B+4*C]=FHEAP[D+4*A];w=w>J;d:do if(!w){FHEAP[v]=FHEAP[t];if(u>J)break d;FHEAP[y]=FHEAP[s];if(d>J)break d;FHEAP[z]=FHEAP[a]}while(0);var A=A+1;if(A!=E){d=10;a=8}else{a=14;break c}}}while(0);var B=IHEAP[b]+16+16*(0-IHEAP[k]),D=D+4*IHEAP[m],J=J-IHEAP[l],E=IHEAP[n],
+N=N+1;if(N!=2)d=6;else break a}}_v4dwt_interleave_h.__index__=Runtime.getFunctionIndex(_v4dwt_interleave_h,"_v4dwt_interleave_h");
+function _v4dwt_decode(b){var f,e,c,a=IHEAP[b+12]==0;a:do{if(a){if(!(IHEAP[b+4]>0))if(!(IHEAP[b+8]>1)){f=1;break a}e=0;c=1}else{if(!(IHEAP[b+8]>0))if(!(IHEAP[b+4]>1)){f=1;break a}e=1;c=0}f=2;break a}while(0);if(f==2){_v4dwt_decode_step1(IHEAP[b]+16*e,IHEAP[b+8],1.2301740646362305);_v4dwt_decode_step1(IHEAP[b]+16*c,IHEAP[b+4],1.625732421875);a=IHEAP[b]+16*c;var d=IHEAP[b]+16*e+16,g=IHEAP[b+8],h=IHEAP[b+4]-e;f=IHEAP[b+8];_v4dwt_decode_step2(a,d,g,f<h?f:h,-0.4435068666934967);a=IHEAP[b]+16*e;d=IHEAP[b]+
+16*c+16;g=IHEAP[b+4];h=IHEAP[b+8]-c;f=IHEAP[b+4];_v4dwt_decode_step2(a,d,g,f<h?f:h,-0.8829110860824585);a=IHEAP[b]+16*c;d=IHEAP[b]+16*e+16;g=IHEAP[b+8];h=IHEAP[b+4]-e;f=IHEAP[b+8];_v4dwt_decode_step2(a,d,g,f<h?f:h,0.05298011749982834);e=IHEAP[b]+16*e;f=IHEAP[b]+16*c+16;a=IHEAP[b+4];c=IHEAP[b+8]-c;b=IHEAP[b+4];_v4dwt_decode_step2(e,f,a,b<c?b:c,1.5861343145370483)}}_v4dwt_decode.__index__=Runtime.getFunctionIndex(_v4dwt_decode,"_v4dwt_decode");
+function _v4dwt_interleave_v(b,f,e){var c=null,a;f=f;a=IHEAP[b]+16*IHEAP[b+12];c=0;if(c<IHEAP[b+8]){a=a;var d=f,g=b+8;c=c;var h=c+1,i=c*e,j=c*2;for(c=0;;){k=c==0?0:k;c=h+k;_llvm_memcpy_p0i8_p0i8_i32(a+16*(j+k*2),d+4*(i+e*k),16,1,0);var k=k+1;if(c<IHEAP[g])c=1;else break}}f+=4*e*IHEAP[b+8];a=IHEAP[b]+16+16*(0-IHEAP[b+12]);c=0;if(c<IHEAP[b+4]){k=a;f=f;b=b+4;c=c;a=c+1;d=c*e;g=c*2;for(c=4;;){m=c==4?0:m;c=a+m;_llvm_memcpy_p0i8_p0i8_i32(k+16*(g+m*2),f+4*(d+e*m),16,1,0);var m=m+1;if(c<IHEAP[b])c=5;else break}}}
+_v4dwt_interleave_v.__index__=Runtime.getFunctionIndex(_v4dwt_interleave_v,"_v4dwt_interleave_v");function _v4dwt_decode_step1(b,f,e){var c=null;if(0<f){f=(f>1?f:1)-0;for(c=0;;){c=c==0?0:k;k=c*8;var a=3+k,d=b+4*a,g=2+k,h=b+4*g,i=1+k,j=b+4*i;i=FHEAP[b+4*i];g=FHEAP[b+4*g];a=FHEAP[b+4*a];FHEAP[b+4*(0+k)]*=e;FHEAP[j]=i*e;FHEAP[h]=g*e;FHEAP[d]=a*e;var k=c+1;if(k!=f)c=1;else break}}}_v4dwt_decode_step1.__index__=Runtime.getFunctionIndex(_v4dwt_decode_step1,"_v4dwt_decode_step1");
+function _v4dwt_decode_step2(b,f,e,c,a){var d=null,g,h,i;a=a;b=b;f=f;if(0<c){var j=a;i=h=g=a;b=b;var k=(c>1?c:1)-0;for(d=0;;){t=d==0?0:t;d=d==0?b:s;s=FHEAP[d+4];var m=FHEAP[d+8],l=FHEAP[d+12],n=FHEAP[f+-12],o=FHEAP[f+-8],p=FHEAP[f+-4],r=FHEAP[f+4],q=FHEAP[f+8],u=FHEAP[f+12];FHEAP[f+-16]+=(FHEAP[d]+FHEAP[f])*j;FHEAP[f+-12]=n+(s+r)*g;FHEAP[f+-8]=o+(m+q)*h;FHEAP[f+-4]=p+(l+u)*i;var s=f;f+=32;var t=t+1;if(t!=k)d=1;else break}b=s}j=c<e;a:do if(j){a+=a;g=FHEAP[b]*a;h=FHEAP[b+4]*a;i=FHEAP[b+8]*a;d=FHEAP[b+
+12]*a;if(!(c<e))break a;g=g;h=h;i=i;k=d;d=e;t=c;s=t+1;t=(d>s?d:s)-t;for(d=4;;){v=d==4?0:v;d=FHEAP[f+-12];s=FHEAP[f+-8];m=FHEAP[f+-4];FHEAP[f+-16]+=g;FHEAP[f+-12]=d+h;FHEAP[f+-8]=s+i;FHEAP[f+-4]=m+k;f+=32;var v=v+1;if(v!=t)d=6;else break}}while(0)}_v4dwt_decode_step2.__index__=Runtime.getFunctionIndex(_v4dwt_decode_step2,"_v4dwt_decode_step2");function _opj_set_event_mgr(b,f,e){var c;if(b!=0){c=IHEAP[b];IHEAP[b]=f;IHEAP[b+4]=e;b=c}else b=0;return b}
+_opj_set_event_mgr.__index__=Runtime.getFunctionIndex(_opj_set_event_mgr,"_opj_set_event_mgr");
+function _opj_event_msg(b,f,e){var c=STACKTOP;STACKTOP+=516;_memset(c,0,516);var a,d=null,g,h,i=c+4;g=0;h=IHEAP[b];if(h!=0){a=f==1?0:f==2?2:f==4?3:4;if(a==4){var j=g;d=4}else if(a==0){var k=IHEAP[h];g=k;d=0}else if(a==2){var m=IHEAP[h+4];g=m;d=2}else if(a==3){var l=IHEAP[h+8];g=l;d=3}if((d==4?j:d==3?l:d==2?m:k)==0)g=0;else{a=e!=0;a:do if(a){if(h==0)break a;_llvm_memset_p0i8_i32(i,0,512,1,0);IHEAP[c]=arguments[_opj_event_msg.length];_strlen(e)>512||_strlen(e);_vsprintf(i,e,IHEAP[c]);FUNCTION_TABLE[g](i,
+IHEAP[b+4])}while(0);g=1}}else g=0;g=g;STACKTOP=c;return g}_opj_event_msg.__index__=Runtime.getFunctionIndex(_opj_event_msg,"_opj_event_msg");function _opj_image_create0(){return _calloc(1,36)}_opj_image_create0.__index__=Runtime.getFunctionIndex(_opj_image_create0,"_opj_image_create0");
+function _opj_image_create(b,f,e){var c,a=null,d,g;g=_calloc(1,36);var h=g!=0;a:do if(h){IHEAP[g+20]=e;IHEAP[g+16]=b;var i=_malloc(IHEAP[g+16]*48);IHEAP[g+24]=i;if(IHEAP[g+24]!=0){i=b;var j=g+24,k=f,m=f,l=f,n=f,o=f,p=f,r=f,q=f,u=f;for(a=1;;){c=a==5?D:0;a=0+c;var s=k+36*a,t=m+36*a+4,v=l+36*a+8,y=n+36*a+12,x=o+36*a+16,w=p+36*a+20,C=r+36*a+24,z=q+36*a+28,A=u+36*a+32;if(!(a<i)){c=4;break}var B=IHEAP[j];IHEAP[B+48*a]=IHEAP[s];IHEAP[B+48*a+4]=IHEAP[t];IHEAP[B+48*a+8]=IHEAP[v];IHEAP[B+48*a+12]=IHEAP[y];
+IHEAP[B+48*a+16]=IHEAP[x];IHEAP[B+48*a+20]=IHEAP[w];IHEAP[B+48*a+24]=IHEAP[C];IHEAP[B+48*a+28]=IHEAP[z];IHEAP[B+48*a+32]=IHEAP[A];s=_calloc(IHEAP[B+48*a+12]*IHEAP[B+48*a+8],4);IHEAP[B+48*a+44]=s;if(IHEAP[B+48*a+44]==0){c=6;break}var D=c+1;a=5;c=2}if(c==4){c=7;break a}else if(c==6){_fwrite(__str387,37,1,IHEAP[_stderr]);_opj_image_destroy(g);c=d=0;break a}}else{_fwrite(__str387,37,1,IHEAP[_stderr]);_opj_image_destroy(g);c=d=0;break a}}else c=7;while(0);if(c==7)d=g;return d}
+_opj_image_create.__index__=Runtime.getFunctionIndex(_opj_image_create,"_opj_image_create");function _opj_image_destroy(b){var f=null;if(b!=0){if(IHEAP[b+24]!=0){if(0<IHEAP[b+16]){var e=b+24,c=b+16;for(f=0;;){g=f==0?0:g;var a=0+g;f=1+g;var d=IHEAP[e];IHEAP[d+48*a+44]!=0&&_free(IHEAP[d+48*a+44]);var g=g+1;if(f<IHEAP[c])f=3;else break}}_free(IHEAP[b+24])}_free(b)}}_opj_image_destroy.__index__=Runtime.getFunctionIndex(_opj_image_destroy,"_opj_image_destroy");
+function _j2k_convert_progression_order(b){var f=null,e;e=e=_j2k_prog_order_list;for(f=0;;){a=f==4?a:0;var c=e+8*a;f=c;if(IHEAP[f]==-1)break;if(IHEAP[f]==b)break;var a=a+1;f=4}e=c;return e+4}_j2k_convert_progression_order.__index__=Runtime.getFunctionIndex(_j2k_convert_progression_order,"_j2k_convert_progression_order");
+function _j2k_calculate_tp(b,f,e,c){var a,d=null,g,h;h=0;f=_malloc(IHEAP[b+68]*4*IHEAP[b+72]);IHEAP[c+20]=f;f=b+68;var i=b+72,j=b+108,k=c+20,m=c+68,l=c+68;c=c+68;h=h;d=0;a:for(;;){a=d==11?t:0;var n=d==11?r:h;t=0+a;if(!(t<IHEAP[i]*IHEAP[f])){a=3;break a}var o=IHEAP[j]+5588*t+420;for(d=2;;){var p=d==7?u:0,r=d==7?q:n;d=d==7?s:0;if(!(d<=IHEAP[o]))break;s=_pi_initialise_encode(e,b,t,1);if(s==0){a=8;break a}u=_j2k_get_num_tp(b,d,t);var q=u+r,u=u+p;_pi_destroy(s,b,t);var s=d+1;d=7}IHEAP[IHEAP[k]+4*t]=p;
+if(IHEAP[m]!=0){IHEAP[IHEAP[IHEAP[l]+88]+572*t+564]=p;d=_malloc(p*20);IHEAP[IHEAP[IHEAP[c]+88]+572*t+568]=d}var t=a+1;d=11;a=1}if(a==3)g=h=n;else if(a==8)g=-1;return g}_j2k_calculate_tp.__index__=Runtime.getFunctionIndex(_j2k_calculate_tp,"_j2k_calculate_tp");
+function _j2k_get_num_tp(b,f,e){var c,a=null,d,g,h;g=1;h=IHEAP[b+108]+5588*e;e=IHEAP[h+8];var i=a=_j2k_prog_order_list;a=0;a:for(;;){a=a==4?j:0;j=d=i+8*a;if(IHEAP[j]==-1)break a;if(IHEAP[j]==e)break a;var j=a+1;a=4}a=d;d=a+4;if(IHEAP[b+16]==1){e=b+17;b=b+20;i=h+428+f*148+92;j=h+428+f*148+88;var k=h+428+f*148+96;f=h+428+f*148+84;g=g;a=5;a:for(;;){v=a==5?0:v;t=a==5?g:t;s=a==5?0:s;h=0+v;var m=d+h,l=d+h,n=s!=1;b:do if(n){if(IHEAP[e]==IHEAP[m]){IHEAP[b]=h;a=7}else a=18;var o=a==7?1:s;a=IHEAP[l];if(a==
+67){a=17;c=9}else if(a==82){a=17;c=11}else if(a==80){a=17;c=12}else if(a==76){a=17;c=13}else{a=17;break b}if(c==9){var p=IHEAP[i]*t;a=9}else if(c==11){var r=IHEAP[j]*t;a=11}else if(c==12){var q=IHEAP[k]*t;a=12}else if(c==13){var u=IHEAP[f]*t;a=13}}else a=6;while(0);var s=a==6?1:a==13?o:a==12?o:a==11?o:a==9?o:o,t=a==6?t:a==13?u:a==12?q:a==11?r:a==9?p:t,v=v+1;if(v!=4)a=14;else break a}g=t}else g=1;return g}_j2k_get_num_tp.__index__=Runtime.getFunctionIndex(_j2k_get_num_tp,"_j2k_get_num_tp");
+function _j2k_read_soc(b){var f;IHEAP[b+4]=2;if(IHEAP[b+68]!=0){f=IHEAP[b+72];IHEAP[IHEAP[b+68]+76]=IHEAP[f+24]+-2+(0-IHEAP[f+16]);f=IHEAP[b+72];IHEAP[IHEAP[b+68]+84]=IHEAP[f+20]+2+(0-IHEAP[f+24])+(0-IHEAP[IHEAP[b+68]+76])}}_j2k_read_soc.__index__=Runtime.getFunctionIndex(_j2k_read_soc,"_j2k_read_soc");
+function _j2k_read_sot(b){var f=null,e,c,a,d,g,h,i;g=0;h=IHEAP[b+64];i=IHEAP[b+72];_cio_read(i,2);e=_cio_read(i,2);d=IHEAP[h+80]==0;a:do{if(!d){f=0;c=IHEAP[h+80];a=h+76;var j=e,k=f;g=g;for(f=1;;){var m=f==5?o:0,l=f==5?n:g;f=k+m;if(!(f<c))break;if(l!=0)break;var n=(IHEAP[IHEAP[a]+4*f]==j?1:0)&255,o=m+1;f=5}g=l;if(g!=0)break a}IHEAP[IHEAP[h+76]+4*IHEAP[h+80]]=e;IHEAP[h+80]+=1}while(0);f=d=_cio_read(i,4);if(d==0)f=IHEAP[i+20]+8+(0-IHEAP[i+24]);c=_cio_read(i,1);a=_cio_read(i,1);IHEAP[b+8]=e;IHEAP[b+16]=
+c;IHEAP[b+32]=IHEAP[i+24]+-12+f;IHEAP[b+4]=16;d=IHEAP[h+108]+5588*IHEAP[b+8];if(IHEAP[b+68]!=0){if(IHEAP[d]!=0){if(e==0)IHEAP[IHEAP[b+68]+80]=IHEAP[i+24]+-13+(0-IHEAP[i+16]);IHEAP[IHEAP[IHEAP[b+68]+88]+572*e+4]=e;IHEAP[IHEAP[IHEAP[b+68]+88]+572*e+8]=IHEAP[i+24]+-12+(0-IHEAP[i+16]);IHEAP[IHEAP[IHEAP[b+68]+88]+572*e+16]=IHEAP[IHEAP[IHEAP[b+68]+88]+572*e+8]+-1+f;IHEAP[IHEAP[IHEAP[b+68]+88]+572*e+564]=a;if(a!=0){a=_malloc(a*20);IHEAP[IHEAP[IHEAP[b+68]+88]+572*e+568]=a}else{a=_malloc(200);IHEAP[IHEAP[IHEAP[b+
+68]+88]+572*e+568]=a}}else IHEAP[IHEAP[IHEAP[b+68]+88]+572*e+16]+=f;IHEAP[IHEAP[IHEAP[IHEAP[b+68]+88]+572*e+568]+20*c]=IHEAP[i+24]+-12+(0-IHEAP[i+16]);IHEAP[IHEAP[IHEAP[IHEAP[b+68]+88]+572*e+568]+20*c+8]=IHEAP[IHEAP[IHEAP[IHEAP[b+68]+88]+572*e+568]+20*c]+-1+f}if(IHEAP[d]==1){e=IHEAP[d+5584];_llvm_memcpy_p0i8_p0i8_i32(d,IHEAP[b+56],5588,1,0);IHEAP[d+5172]=0;IHEAP[d+5164]=0;IHEAP[d+5168]=0;IHEAP[d+5584]=e;f=0;if(f<IHEAP[IHEAP[b+60]+16]){e=d+5584;i=f;d=i+1;for(f=12;;){p=f==12?0:p;f=d+p;c=i+p;_llvm_memcpy_p0i8_p0i8_i32(IHEAP[e]+
+1076*c,IHEAP[IHEAP[b+56]+5584]+1076*c,1076,4,0);var p=p+1;if(f<IHEAP[IHEAP[b+60]+16])f=13;else break}}IHEAP[IHEAP[h+108]+5588*IHEAP[b+8]]=0}}_j2k_read_sot.__index__=Runtime.getFunctionIndex(_j2k_read_sot,"_j2k_read_sot");
+function _j2k_read_sod(b){var f=null,e,c,a,d,g,h;c=0;g=IHEAP[b+72];h=IHEAP[b+8];if(IHEAP[b+68]!=0){IHEAP[IHEAP[IHEAP[IHEAP[b+68]+88]+572*IHEAP[b+8]+568]+20*IHEAP[b+16]+4]=IHEAP[g+24]+-1+(0-IHEAP[g+16])+IHEAP[b+44];if(IHEAP[b+16]==0)IHEAP[IHEAP[IHEAP[b+68]+88]+572*IHEAP[b+8]+12]=IHEAP[g+24]+-1+(0-IHEAP[g+16])+IHEAP[b+44];IHEAP[IHEAP[b+68]+8]=0}a=IHEAP[g+20]+1+(0-IHEAP[g+24]);e=IHEAP[b+32]-IHEAP[g+24];e=e<a?e:a;if(e==IHEAP[g+20]+1+(0-IHEAP[g+24]))c=1;a=IHEAP[IHEAP[b+48]+4*h];a=_realloc(a,e+IHEAP[IHEAP[b+
+52]+4*h]);d=a+IHEAP[IHEAP[b+52]+4*h];if(0<e){var i=(e>1?e:1)-0;for(f=3;;){k=f==3?0:k;f=d+(0+k);var j=_cio_read(g,1)&255;IHEAP[f]=j;var k=k+1;if(k!=i)f=4;else break}}IHEAP[IHEAP[b+52]+4*h]+=e;IHEAP[IHEAP[b+48]+4*h]=a;IHEAP[b+4]=c!=0?64:8;IHEAP[b+16]+=1}_j2k_read_sod.__index__=Runtime.getFunctionIndex(_j2k_read_sod,"_j2k_read_sod");
+function _j2k_read_eoc(b){var f,e=null,c,a,d,g=IHEAP[IHEAP[b+64]+44]!=2;a:do if(g){c=_tcd_create(IHEAP[b]);_tcd_malloc_decode(c,IHEAP[b+60],IHEAP[b+64]);d=0;var h=a=c,i=c;d=d;for(e=0;;){f=e==5?m:0;e=d+f;if(!(e<IHEAP[IHEAP[b+64]+80])){f=3;break}_tcd_malloc_decode_tile(a,IHEAP[b+60],IHEAP[b+64],e,IHEAP[b+68]);var j=IHEAP[IHEAP[IHEAP[b+64]+76]+4*e],k=_tcd_decode_tile(h,IHEAP[IHEAP[b+48]+4*j],IHEAP[IHEAP[b+52]+4*j],j,IHEAP[b+68]);_free(IHEAP[IHEAP[b+48]+4*j]);IHEAP[IHEAP[b+48]+4*j]=0;_tcd_free_decode_tile(i,
+e);if(k==0){f=4;break}var m=f+1;e=5;f=1}if(f!=3)if(f==4)IHEAP[b+4]|=128;a=c;a=IHEAP[a+24];_free(IHEAP[a+8]);c=a=c;if(a==0)break a;_free(IHEAP[c+24]);_free(c)}else{d=0;if(!(d<IHEAP[IHEAP[b+64]+80]))break a;c=d;a=c+1;for(e=10;;){l=e==10?0:l;f=a+l;h=IHEAP[IHEAP[IHEAP[b+64]+76]+4*(c+l)];_free(IHEAP[IHEAP[b+48]+4*h]);IHEAP[IHEAP[b+48]+4*h]=0;var l=l+1;if(f<IHEAP[IHEAP[b+64]+80])f=e=11;else{f=12;break}}}while(0);IHEAP[b+4]=(IHEAP[b+4]&128)!=0?160:32}
+_j2k_read_eoc.__index__=Runtime.getFunctionIndex(_j2k_read_eoc,"_j2k_read_eoc");
+function _j2k_read_siz(b){var f,e,c,a,d;c=IHEAP[b+72];a=IHEAP[b+60];d=IHEAP[b+64];_cio_read(c,2);_cio_read(c,2);var g=_cio_read(c,4);IHEAP[a+8]=g;g=_cio_read(c,4);IHEAP[a+12]=g;g=_cio_read(c,4);IHEAP[a]=g;g=_cio_read(c,4);IHEAP[a+4]=g;g=_cio_read(c,4);IHEAP[d+56]=g;g=_cio_read(c,4);IHEAP[d+60]=g;g=_cio_read(c,4);IHEAP[d+48]=g;g=_cio_read(c,4);IHEAP[d+52]=g;g=IHEAP[a]<0;a:do if(!g){if(IHEAP[a+8]<0)break a;if(IHEAP[a+4]<0)break a;if(IHEAP[a+12]<0)break a;e=_cio_read(c,2);IHEAP[a+16]=e;e=_calloc(IHEAP[a+
+16],48);IHEAP[a+24]=e;e=0;if(e<IHEAP[a+16])for(var h=f=c,i=c;;){var j=_cio_read(f,1);IHEAP[IHEAP[a+24]+48*e+24]=(j&127)+1;IHEAP[IHEAP[a+24]+48*e+32]=j>>7;j=_cio_read(h,1);IHEAP[IHEAP[a+24]+48*e]=j;j=_cio_read(i,1);IHEAP[IHEAP[a+24]+48*e+4]=j;IHEAP[IHEAP[a+24]+48*e+36]=0;IHEAP[IHEAP[a+24]+48*e+40]=IHEAP[d+36];e+=1;if(!(e<IHEAP[a+16]))break}f=IHEAP[d+56];e=IHEAP[a+8]-IHEAP[d+48];f=f;IHEAP[d+68]=(e+-1+f)/f|0;f=IHEAP[d+60];e=IHEAP[a+12]-IHEAP[d+52];f=f;IHEAP[d+72]=(e+-1+f)/f|0;e=_calloc(IHEAP[d+72]*IHEAP[d+
+68],5588);IHEAP[d+108]=e;e=_malloc(IHEAP[d+68]*4*IHEAP[d+72]);IHEAP[d+76]=e;e=IHEAP[d+80]=0;f=e<IHEAP[d+72]*IHEAP[d+68]?7:8;b:for(;;)if(f==7){IHEAP[IHEAP[d+108]+5588*e+424]=0;IHEAP[IHEAP[d+108]+5588*e+420]=0;IHEAP[IHEAP[d+108]+5588*e]=1;e+=1;f=e<IHEAP[d+72]*IHEAP[d+68]?7:8}else if(f==8){IHEAP[d+92]=0;IHEAP[d+84]=0;IHEAP[d+88]=0;IHEAP[d+100]=0;IHEAP[d+96]=0;e=_calloc(IHEAP[a+16],1076);IHEAP[IHEAP[b+56]+5584]=e;e=0;f=e<IHEAP[d+72]*IHEAP[d+68]?9:10;break b}for(;;)if(f==9){f=_malloc(IHEAP[a+16]*1076);
+IHEAP[IHEAP[d+108]+5588*e+5584]=f;e+=1;f=e<IHEAP[d+72]*IHEAP[d+68]?9:10}else if(f==10){e=_calloc(IHEAP[d+72]*IHEAP[d+68],4);IHEAP[b+48]=e;e=_calloc(IHEAP[d+72]*IHEAP[d+68],4);IHEAP[b+52]=e;IHEAP[b+4]=4;f=IHEAP[b+68]!=0?11:12;break}if(f==11){b=IHEAP[b+68];IHEAP[b+16]=IHEAP[a+8]-IHEAP[a];IHEAP[b+20]=IHEAP[a+12]-IHEAP[a+4];IHEAP[b+52]=IHEAP[a+16];IHEAP[b+44]=IHEAP[d+68];IHEAP[b+48]=IHEAP[d+72];IHEAP[b+28]=IHEAP[d+56];IHEAP[b+32]=IHEAP[d+60];IHEAP[b+36]=IHEAP[d+48];IHEAP[b+40]=IHEAP[d+52];a=_calloc(IHEAP[d+
+72]*IHEAP[d+68],572);IHEAP[b+88]=a;return}else if(f==12)return}while(0);_opj_event_msg(IHEAP[b],1,__str997,Pointer_make([IHEAP[a],0,0,0,IHEAP[a+8],0,0,0,IHEAP[a+4],0,0,0,IHEAP[a+12],0,0,0],0,ALLOC_STACK))}_j2k_read_siz.__index__=Runtime.getFunctionIndex(_j2k_read_siz,"_j2k_read_siz");
+function _j2k_read_cod(b){var f=null,e,c,a,d;c=IHEAP[b+72];f=IHEAP[b+64];if(IHEAP[b+4]==16){a=IHEAP[f+108]+5588*IHEAP[b+8];f=0}else{d=IHEAP[b+56];f=2}a=f==0?a:d;d=IHEAP[b+60];_cio_read(c,2);f=_cio_read(c,1);IHEAP[a+4]=f;f=_cio_read(c,1);IHEAP[a+8]=f;f=_cio_read(c,2);IHEAP[a+12]=f;f=_cio_read(c,1);IHEAP[a+16]=f;e=IHEAP[c+24]-IHEAP[c+16];f=0;if(f<IHEAP[d+16]){var g=a+4,h=a+5584,i=d+16,j=f,k=j+1;for(f=3;;){l=f==3?0:l;f=k+l;var m=j+l;IHEAP[IHEAP[h]+1076*m]=IHEAP[g]&1;IHEAP[c+24]=IHEAP[c+16]+e;_j2k_read_cox(b,
+m);var l=l+1;if(f<IHEAP[i])f=4;else break}}c=IHEAP[b+68]!=0;a:do if(c){e=IHEAP[b+68];IHEAP[e+24]=IHEAP[a+8];IHEAP[e+56]=IHEAP[a+12];l=_malloc(IHEAP[d+16]*4);IHEAP[e+60]=l;f=0;if(!(f<IHEAP[d+16]))break a;l=a+5584;e=e+60;g=d+16;h=f;i=h+1;for(f=7;;){n=f==7?0:n;f=i+n;j=h+n;IHEAP[IHEAP[e]+4*j]=IHEAP[IHEAP[l]+1076*j+4]-1;var n=n+1;if(f<IHEAP[g])f=9;else break}}while(0)}_j2k_read_cod.__index__=Runtime.getFunctionIndex(_j2k_read_cod,"_j2k_read_cod");
+function _j2k_read_coc(b){var f=null,e,c;f=IHEAP[b+64];if(IHEAP[b+4]==16){c=IHEAP[f+108]+5588*IHEAP[b+8];f=0}else{e=IHEAP[b+56];f=2}c=f==0?c:e;e=IHEAP[b+60];f=IHEAP[b+72];_cio_read(f,2);e=_cio_read(f,IHEAP[e+16]<=256?1:2);f=_cio_read(f,1);IHEAP[IHEAP[c+5584]+1076*e]=f;_j2k_read_cox(b,e)}_j2k_read_coc.__index__=Runtime.getFunctionIndex(_j2k_read_coc,"_j2k_read_coc");
+function _j2k_read_rgn(b){var f=null,e,c;f=IHEAP[b+64];if(IHEAP[b+4]==16){e=IHEAP[f+108]+5588*IHEAP[b+8];f=0}else{c=IHEAP[b+56];f=2}e=f==0?e:c;c=IHEAP[b+72];b=IHEAP[IHEAP[b+60]+16];_cio_read(c,2);b=_cio_read(c,b<=256?1:2);_cio_read(c,1);c=_cio_read(c,1);IHEAP[IHEAP[e+5584]+1076*b+808]=c}_j2k_read_rgn.__index__=Runtime.getFunctionIndex(_j2k_read_rgn,"_j2k_read_rgn");
+function _j2k_read_qcd(b){var f=null,e,c,a,d;a=IHEAP[b+72];d=IHEAP[b+60];e=_cio_read(a,2);c=IHEAP[a+24]-IHEAP[a+16];if(0<IHEAP[d+16]){e=e-2;d=d+16;for(f=0;;){h=f==0?0:h;f=1+h;var g=0+h;IHEAP[a+24]=IHEAP[a+16]+c;_j2k_read_qcx(b,g,e);var h=h+1;if(f<IHEAP[d])f=1;else break}}}_j2k_read_qcd.__index__=Runtime.getFunctionIndex(_j2k_read_qcd,"_j2k_read_qcd");
+function _j2k_read_qcc(b){var f,e,c;e=IHEAP[IHEAP[b+60]+16];c=IHEAP[b+72];f=_cio_read(c,2);c=_cio_read(c,e<=256?1:2);_j2k_read_qcx(b,c,f+-2+(0-(e<=256?1:2)))}_j2k_read_qcc.__index__=Runtime.getFunctionIndex(_j2k_read_qcc,"_j2k_read_qcc");
+function _j2k_read_poc(b){var f=null,e,c,a,d,g;a=IHEAP[IHEAP[b+60]+16];d=IHEAP[b+64];if(IHEAP[b+4]==16){g=IHEAP[d+108]+5588*IHEAP[b+8];f=0}else{c=IHEAP[b+56];f=2}g=f==0?g:c;b=IHEAP[b+72];if(IHEAP[g+424]!=0){e=IHEAP[g+420]+1;f=3}else f=9;c=f==3?e:0;IHEAP[g+424]=1;e=(_cio_read(b,2)-2)/((a<=256?1:2)*2+5)|0;if(c<c+e){d=a<=256?1:2;var h=a<=256?1:2,i=c+e;f=c+1;i=(i>f?i:f)-c;for(f=5;;){p=f==5?0:p;var j=c+p;f=g+428+j*148+36;var k=g+428+j*148+16,m=g+428+j*148+12,l=g+428+j*148+8,n=g+428+j*148+4;j=g+428+j*148;
+var o=_cio_read(b,1);IHEAP[j]=o;j=_cio_read(b,d);IHEAP[n]=j;n=_cio_read(b,2);IHEAP[l]=n;l=_cio_read(b,1);IHEAP[m]=l;m=_cio_read(b,h);IHEAP[k]=m<a?m:a;k=_cio_read(b,1);IHEAP[f]=k;var p=p+1;if(p!=i)f=6;else break}}IHEAP[g+420]=e+-1+c}_j2k_read_poc.__index__=Runtime.getFunctionIndex(_j2k_read_poc,"_j2k_read_poc");
+function _j2k_read_tlm(b){var f=null,e,c,a;a=IHEAP[b+72];e=_cio_read(a,2);_cio_read(a,1);f=_cio_read(a,1);b=(f>>4&2)+(f>>4&1);f=f>>6&1;c=(e-4)/((f+1)*2+b)|0;if(0<c){e=f!=0?4:2;c=(c>1?c:1)-0;for(f=0;;){d=f==0?0:d;_cio_read(a,b);_cio_read(a,e);var d=d+1;if(d!=c)f=1;else break}}}_j2k_read_tlm.__index__=Runtime.getFunctionIndex(_j2k_read_tlm,"_j2k_read_tlm");
+function _j2k_read_plm(b){var f=null,e;b=IHEAP[b+72];e=_cio_read(b,2);_cio_read(b,1);var c=e-3;e=c;if(c>0){e=e;f=3;a:for(;;){var a=f==3?e:h;c=_cio_read(b,4);var d=a+-4;a=a+-5;for(f=1;;){f=f==6?j:0;var g=f*-1,h=d+g,i=a+g;if(!(c+g>0))break;_cio_read(b,1);if(i<=0)break a;var j=f+1;f=6}if(h>0)f=0;else break a}}}_j2k_read_plm.__index__=Runtime.getFunctionIndex(_j2k_read_plm,"_j2k_read_plm");
+function _j2k_read_plt(b){var f=null;b=IHEAP[b+72];f=_cio_read(b,2);_cio_read(b,1);f=f-3;if(f>0){var e=0-f;e=f+(e>-1?e:-1)+1;for(f=0;;){c=f==0?0:c;_cio_read(b,1);var c=c+1;if(c!=e)f=1;else break}}}_j2k_read_plt.__index__=Runtime.getFunctionIndex(_j2k_read_plt,"_j2k_read_plt");
+function _j2k_read_ppm(b){var f=null,e,c,a;a=IHEAP[b+64];b=IHEAP[b+72];e=_cio_read(b,2);IHEAP[a+92]=1;c=_cio_read(b,1);var d=e-3;e=d;if(d>0){d=a+100;var g=a+96;c=c==0;var h=a+84,i=a+84,j=a+88,k=a+104,m=a+84,l=a+100,n=a+96,o=a+84,p=a+96,r=a+84,q=a+84,u=a+88,s=a+96,t=a+104;a=a+100;e=e;f=0;a:for(;;){var v=f==0?e:P;if(IHEAP[d]==0){var y=_cio_read(b,4),x=v-4;f=2}else{var w=IHEAP[a];f=4}P=f==4?w:y;var C=f==4?v:x;v=IHEAP[g];if(c){var z=_malloc(P);IHEAP[h]=z;IHEAP[j]=IHEAP[i];IHEAP[k]=P}else{z=_realloc(IHEAP[o],
+IHEAP[p]+P);IHEAP[r]=z;IHEAP[u]=IHEAP[q];IHEAP[t]=IHEAP[s]+P}z=C*-1;var A=-1-P;A=-2-P-(A>-1?A:-1);var B=z>A?z:A;z=P+1+B;var D=C+B,J=C+1+B;A=v-B;B=v+-1-B;C=C+-1;for(f=6;;){f=f==10?S:0;var E=f*-1,N=C+E,Q=v+f;if(!(P+E>0)){f=7;break}E=_cio_read(b,1)&255;IHEAP[IHEAP[m]+Q]=E;if(N==0){f=8;break}var S=f+1;f=10}var P=f==8?D:J;v=f==8?A:B;IHEAP[l]=z-1;IHEAP[n]=v;if(P>0)f=9;else break a}}}_j2k_read_ppm.__index__=Runtime.getFunctionIndex(_j2k_read_ppm,"_j2k_read_ppm");
+function _j2k_read_ppt(b){var f=null,e,c,a;a=IHEAP[IHEAP[b+64]+108]+5588*IHEAP[b+8];b=IHEAP[b+72];e=_cio_read(b,2);c=_cio_read(b,1);IHEAP[a+5172]=1;if(c==0){c=_malloc(e-3);IHEAP[a+5164]=c;IHEAP[a+5168]=IHEAP[a+5164];IHEAP[a+5176]=0;IHEAP[a+5180]=e-3}else{c=_realloc(IHEAP[a+5164],e+-3+IHEAP[a+5176]);IHEAP[a+5164]=c;IHEAP[a+5168]=IHEAP[a+5164];IHEAP[a+5180]=e+-3+IHEAP[a+5176]}c=IHEAP[a+5176];var d=e-3;if(d>0){e=a+5164;c=c;var g=0-d;f=g>-1?g:-1;g=d+c+f;d=d+f+1;for(f=1;;){i=f==1?0:i;f=c+i;var h=_cio_read(b,
+1)&255;IHEAP[IHEAP[e]+f]=h;var i=i+1;if(i!=d)f=2;else break}c=g+1}IHEAP[a+5176]=c}_j2k_read_ppt.__index__=Runtime.getFunctionIndex(_j2k_read_ppt,"_j2k_read_ppt");function _j2k_read_crg(b){var f=null,e;e=IHEAP[b+72];f=IHEAP[IHEAP[b+60]+16];_cio_read(e,2);if(0<f){b=(f>1?f:1)-0;for(f=0;;){c=f==0?0:c;_cio_read(e,2);_cio_read(e,2);var c=c+1;if(c!=b)f=1;else break}}}_j2k_read_crg.__index__=Runtime.getFunctionIndex(_j2k_read_crg,"_j2k_read_crg");
+function _j2k_read_com(b){b=IHEAP[b+72];var f=_cio_read(b,2)-2;IHEAP[b+24]+=f}_j2k_read_com.__index__=Runtime.getFunctionIndex(_j2k_read_com,"_j2k_read_com");function _j2k_read_unk(b){_opj_event_msg(IHEAP[b],2,__str795)}_j2k_read_unk.__index__=Runtime.getFunctionIndex(_j2k_read_unk,"_j2k_read_unk");function _j2k_create_decompress(b){var f;f=_calloc(1,76);if(f!=0){var e=_calloc(1,5588);IHEAP[f+56]=e;if(IHEAP[f+56]!=0){IHEAP[f]=b;IHEAP[f+48]=0;b=f}else{_free(f);b=0}}else b=0;return b}
+_j2k_create_decompress.__index__=Runtime.getFunctionIndex(_j2k_create_decompress,"_j2k_create_decompress");
+function _j2k_destroy_decompress(b){var f=null,e;IHEAP[b+52]!=0&&_free(IHEAP[b+52]);IHEAP[b+48]!=0&&_free(IHEAP[b+48]);if(IHEAP[b+56]!=0){e=IHEAP[b+56];IHEAP[e+5168]!=0&&_free(IHEAP[e+5168]);IHEAP[IHEAP[b+56]+5584]!=0&&_free(IHEAP[IHEAP[b+56]+5584]);_free(IHEAP[b+56])}if(IHEAP[b+64]!=0){e=IHEAP[b+64];if(IHEAP[e+108]!=0){if(0<IHEAP[e+72]*IHEAP[e+68]){var c=e+108,a=e+108,d=e+108,g=e+108,h=e+68,i=e+72;for(f=5;;){k=f==5?0:k;var j=0+k;f=1+k;IHEAP[IHEAP[c]+5588*j+5168]!=0&&_free(IHEAP[IHEAP[a]+5588*j+5168]);
+IHEAP[IHEAP[d]+5588*j+5584]!=0&&_free(IHEAP[IHEAP[g]+5588*j+5584]);var k=k+1;if(f<IHEAP[i]*IHEAP[h])f=9;else break}}_free(IHEAP[e+108])}IHEAP[e+88]!=0&&_free(IHEAP[e+88]);IHEAP[e+76]!=0&&_free(IHEAP[e+76]);IHEAP[e+64]!=0&&_free(IHEAP[e+64]);_free(e)}_free(b)}_j2k_destroy_decompress.__index__=Runtime.getFunctionIndex(_j2k_destroy_decompress,"_j2k_destroy_decompress");
+function _j2k_setup_decoder(b,f){var e,c=b!=0;a:do if(c){if(f==0)break a;e=_calloc(1,116);IHEAP[e+36]=IHEAP[f];IHEAP[e+40]=IHEAP[f+4];IHEAP[e+44]=IHEAP[f+8220];IHEAP[b+64]=e}while(0)}_j2k_setup_decoder.__index__=Runtime.getFunctionIndex(_j2k_setup_decoder,"_j2k_setup_decoder");
+function _j2k_decode(b,f,e){var c,a=null,d,g;g=IHEAP[b];IHEAP[b+72]=f;IHEAP[b+68]=e;e!=0&&_llvm_memset_p0i8_i32(e,0,92,1,0);e=_calloc(1,36);IHEAP[b+60]=e;IHEAP[b+4]=1;var h=b+4,i=b+64,j=b+4,k=b+4,m=b+4;a:for(;;){var l=_cio_read(f,2);if(l>>8!=255){c=3;break a}else a=2;for(;;){c=a==8?o:0;var n=_j2k_dec_mstab+c*12;a=n;if(IHEAP[a]==0)break;if(IHEAP[a]==l)break;var o=c+1;a=8}if((IHEAP[n+4]&IHEAP[h])==0){c=10;break a}if(IHEAP[n]==65424)if(IHEAP[IHEAP[i]+44]==1){c=11;break a}IHEAP[n+8]!=0&&FUNCTION_TABLE[IHEAP[n+
+8]](b);if((IHEAP[j]&128)!=0){c=14;break a}if(IHEAP[k]==32){c=16;break a}if(IHEAP[m]==64){c=16;break a}else c=2}if(c==3){b=l;_opj_image_destroy(e);_opj_event_msg(g,1,__str488,Pointer_make([IHEAP[f+24]+-2+(0-IHEAP[f+16]),0,0,0,b,0,0,0],0,ALLOC_STACK));d=0}else if(c==10){b=l;_opj_image_destroy(e);_opj_event_msg(g,1,__str1589,Pointer_make([IHEAP[f+24]+-2+(0-IHEAP[f+16]),0,0,0,b,0,0,0],0,ALLOC_STACK));d=0}else if(c==11){_opj_event_msg(g,4,__str2690);d=e}else if(c==14)d=0;else if(c==16){IHEAP[b+4]==64&&
+_j2k_read_eoc(b);IHEAP[b+4]!=32&&_opj_event_msg(g,2,__str3791);d=e}return d}_j2k_decode.__index__=Runtime.getFunctionIndex(_j2k_decode,"_j2k_decode");
+function _j2k_decode_jpt_stream(b,f){var e=STACKTOP;STACKTOP+=28;_memset(e,0,28);var c,a=null,d,g,h,i;i=IHEAP[b];IHEAP[b+72]=f;g=_calloc(1,36);IHEAP[b+60]=g;IHEAP[b+4]=1;IHEAP[e]=0;IHEAP[e+4]=0;IHEAP[e+8]=0;IHEAP[e+12]=0;IHEAP[e+16]=0;IHEAP[e+20]=0;IHEAP[e+24]=0;_jpt_read_msg_header(i,f,e);h=IHEAP[f+24]-IHEAP[f+16];if(IHEAP[e+8]!=6){_opj_image_destroy(g);_opj_event_msg(i,1,__str4892,Pointer_make([IHEAP[e+8],0,0,0],0,ALLOC_STACK));d=0}else{var j=e+20,k=e+8,m=b+4,l=b+4,n=b+4;a=0;a:for(;;){p=a==0?h:
+p;if(IHEAP[f+20]-IHEAP[f+24]==0){c=4;break a}if(0-p+IHEAP[f+24]+(0-IHEAP[f+16])==IHEAP[j]){_jpt_read_msg_header(i,f,e);var o=IHEAP[f+24]-IHEAP[f+16];if(IHEAP[k]!=4){c=6;break a}else a=5}else a=3;var p=a==5?o:p,r=_cio_read(f,2);if(r>>8!=255){c=9;break a}else a=8;for(;;){a=a==13?u:0;var q=_j2k_dec_mstab+a*12;c=q;if(IHEAP[c]==0)break;if(IHEAP[c]==r)break;var u=a+1;a=13}if((IHEAP[q+4]&IHEAP[m])==0){c=15;break a}IHEAP[q+8]!=0&&FUNCTION_TABLE[IHEAP[q+8]](b);if(IHEAP[l]==32){c=17;break a}if(IHEAP[n]==64){c=
+17;break a}else{a=18;c=1}}if(c==4){_j2k_read_eoc(b);d=g}else if(c==6){_opj_image_destroy(g);_opj_event_msg(i,1,__str593);d=0}else if(c==9){d=r;_opj_image_destroy(g);_opj_event_msg(i,1,__str488,Pointer_make([IHEAP[f+24]+-2+(0-IHEAP[f+16]),0,0,0,d,0,0,0],0,ALLOC_STACK));d=0}else if(c==15){d=r;_opj_image_destroy(g);_opj_event_msg(i,1,__str1589,Pointer_make([IHEAP[f+24]+-2+(0-IHEAP[f+16]),0,0,0,d,0,0,0],0,ALLOC_STACK));d=0}else if(c==17){IHEAP[b+4]==64&&_j2k_read_eoc(b);IHEAP[b+4]!=32&&_opj_event_msg(i,
+2,__str3791);d=g}}g=d;STACKTOP=e;return g}_j2k_decode_jpt_stream.__index__=Runtime.getFunctionIndex(_j2k_decode_jpt_stream,"_j2k_decode_jpt_stream");function _j2k_create_compress(b){var f;f=_calloc(1,76);if(f!=0)IHEAP[f]=b;return f}_j2k_create_compress.__index__=Runtime.getFunctionIndex(_j2k_create_compress,"_j2k_create_compress");
+function _j2k_destroy_compress(b){var f=null,e;if(b!=0){if(IHEAP[b+64]!=0){e=IHEAP[b+64];IHEAP[e+64]!=0&&_free(IHEAP[e+64]);IHEAP[e+112]!=0&&_free(IHEAP[e+112]);if(0<IHEAP[e+72]*IHEAP[e+68]){var c=e+108,a=e+68,d=e+72;for(f=2;;){g=f==2?0:g;f=1+g;_free(IHEAP[IHEAP[c]+5588*(0+g)+5584]);var g=g+1;if(f<IHEAP[d]*IHEAP[a])f=3;else break}}_free(IHEAP[e+108]);_free(e)}_free(b)}}_j2k_destroy_compress.__index__=Runtime.getFunctionIndex(_j2k_destroy_compress,"_j2k_destroy_compress");
+function _j2k_setup_encoder(b,f,e){var c,a=null,d,g,h,i,j,k,m=b!=0;a:do if(m){if(f==0)break a;if(e==0)break a;j=_calloc(1,116);IHEAP[b+64]=j;IHEAP[j+68]=1;IHEAP[j+72]=1;IHEAP[j]=IHEAP[f+18676];IHEAP[j+4]=IHEAP[f+18680];IHEAP[j+12]=IHEAP[f+18684];IHEAP[j+24]=IHEAP[f+20];IHEAP[j+28]=IHEAP[f+24];IHEAP[j+32]=IHEAP[f+28];if(IHEAP[f+32]!=0){d=IHEAP[f+4788]*12*IHEAP[f+5592];g=_malloc(d);IHEAP[j+112]=g;_llvm_memcpy_p0i8_p0i8_i32(IHEAP[j+112],IHEAP[f+32],d,1,0)}IHEAP[j+56]=IHEAP[f+12];IHEAP[j+60]=IHEAP[f+
+16];IHEAP[j+48]=IHEAP[f+4];IHEAP[j+52]=IHEAP[f+8];d=IHEAP[f+36]!=0;b:do if(d){g=_strlen(IHEAP[f+36])+1;g=_malloc(g);IHEAP[j+64]=g;if(IHEAP[j+64]==0)break b;_strcpy(IHEAP[j+64],IHEAP[f+36])}while(0);d=IHEAP[e+8]-IHEAP[j+48];g=j+56;if(IHEAP[f]!=0){g=IHEAP[g];d=d;g=g;IHEAP[j+68]=(d+-1+g)/g|0;g=IHEAP[j+60];d=IHEAP[e+12]-IHEAP[j+52];g=g;IHEAP[j+72]=(d+-1+g)/g|0}else{IHEAP[g]=d;IHEAP[j+60]=IHEAP[e+12]-IHEAP[j+52]}if(IHEAP[f+18688]!=0){IHEAP[j+17]=IHEAP[f+18689];IHEAP[j+16]=1}h=IHEAP[j+8]=0;d=h<IHEAP[e+
+16];b:do if(d){g=e+24;for(var l=e+24,n=e+24,o=e+16;;){IHEAP[j+8]+=IHEAP[IHEAP[l]+48*h+12]*IHEAP[IHEAP[g]+48*h+8]*IHEAP[IHEAP[n]+48*h+24];h+=1;if(!(h<IHEAP[o]))break b}}while(0);d=_calloc(IHEAP[j+72]*IHEAP[j+68],5588);IHEAP[j+108]=d;if(!(0<IHEAP[j+72]*IHEAP[j+68]))break a;d=e+16;g=e+16;l=e+24;n=e+16;a=11;b:for(;;){V=a==11?0:V;k=0+V;o=1+V;var p=IHEAP[j+108];IHEAP[p+5588*k+12]=IHEAP[f+4788];i=0;h=i<IHEAP[p+5588*k+12];c:do if(h){a=p+5588*k+12;c=p+5588*k+5184;for(var r=p+5588*k+20,q=p+5588*k+5184,u=p+
+5588*k+20;;){var s=IHEAP[j+32]!=0;if(IHEAP[j]!=0){if(s)FHEAP[c+4*i]=FHEAP[f+5192+i*4];FHEAP[r+4*i]=FHEAP[f+4792+i*4]}else{var t=i,v=f;if(s)FHEAP[q+4*i]=FHEAP[v+5192+t*4];else FHEAP[u+4*i]=FHEAP[v+4792+t*4]}i+=1;if(!(i<IHEAP[a]))break c}}while(0);IHEAP[p+5588*k+4]=IHEAP[f+40];IHEAP[p+5588*k+8]=IHEAP[f+44];IHEAP[p+5588*k+16]=IHEAP[f+18690];IHEAP[p+5588*k+424]=0;if(IHEAP[f+4784]!=0){IHEAP[p+5588*k+424]=1;h=0;i=h<IHEAP[f+4784];c:do if(i){r=p+5588*k+428+48;q=p+5588*k+428+32;u=p+5588*k+428+16;s=p+5588*
+k+428+12;t=p+5588*k+428+8;v=p+5588*k+428+4;var y=p+5588*k+428;a=17;for(;;){C=a==17?0:C;var x=k==IHEAP[f+48+h*148+48]-1;e:do if(x)c=20;else{if(IHEAP[f+48+h*148+48]==-1){a=19;c=20}else{a=19;c=21}break e}while(0);if(c==20){IHEAP[y+148*C]=IHEAP[f+48+C*148];IHEAP[v+4*C*37]=IHEAP[f+48+C*148+4];IHEAP[t+4*C*37]=IHEAP[f+48+C*148+8];IHEAP[s+4*C*37]=IHEAP[f+48+C*148+12];IHEAP[u+4*C*37]=IHEAP[f+48+C*148+16];IHEAP[q+4*C*37]=IHEAP[f+48+C*148+32];IHEAP[r+4*C*37]=IHEAP[f+48+C*148+48];var w=C+1;a=20}var C=a==19?C:
+w;h+=1;if(h<IHEAP[f+4784])a=21;else{a=21;break c}}}else a=68;while(0);IHEAP[p+5588*k+420]=(a==68?0:C)-1}else IHEAP[p+5588*k+420]=0;h=_calloc(IHEAP[d],1076);IHEAP[p+5588*k+5584]=h;h=0;if(h<IHEAP[g]){p=p+5588*k+5584;c:for(;;){k=IHEAP[p]+1076*h;IHEAP[k]=IHEAP[f+40]&1;IHEAP[k+4]=IHEAP[f+5592];i=IHEAP[f+5596];if(i>1){a=27;c=28}else{a=27;c=29}d:for(;;)if(c==28){B=a==28?B:0;var z=B+1,A=(a==28?A:i)>>1,B=B+1;if(A>1)c=a=28;else{a=28;c=29}}else if(c==29){IHEAP[k+8]=a==27?0:z;var D=IHEAP[f+5600];if(D>1){a=29;
+c=30}else{a=29;c=31}break d}d:for(;;)if(c==30){N=a==30?N:0;var J=N+1,E=(a==30?E:D)>>1,N=N+1;if(E>1)c=a=30;else{a=30;c=31}}else if(c==31){IHEAP[k+12]=a==29?0:J;IHEAP[k+16]=IHEAP[f+5604];IHEAP[k+20]=IHEAP[f+5608]!=0?0:1;IHEAP[k+24]=IHEAP[f+5608]!=0?2:0;IHEAP[k+804]=2;c=h==IHEAP[f+5612]?32:33;break d}if(c==32)IHEAP[k+808]=IHEAP[f+5616];else if(c==33)IHEAP[k+808]=0;r=IHEAP[f+18676]!=0;d:do if(r){IHEAP[k+812]=7;IHEAP[k+944]=7;i=1;if(!(i<IHEAP[k+4]))break d;for(;;){IHEAP[k+812+i*4]=8;IHEAP[k+944+i*4]=8;
+i+=1;if(!(i<IHEAP[k+4]))break d}}else if((IHEAP[f+40]&1)!=0){i=a=IHEAP[k+4]-1;if(a>=0)a=38;else break d;for(;;){T=a==51?T:0;q=T+1;u=T<IHEAP[f+5620];s=f;f:do if(u){t=IHEAP[s+5624+T*4]<1;g:do if(t)IHEAP[k+812+i*4]=1;else{v=IHEAP[f+5624+T*4];if(v>1){a=42;c=43}else{a=42;c=44}for(;;)if(c==43){P=a==43?P:0;var Q=P+1,S=(a==43?S:v)>>1,P=P+1;if(S>1)c=a=43;else{a=43;c=44}}else if(c==44){IHEAP[k+812+i*4]=a==42?0:Q;break g}}while(0);if(IHEAP[f+5756+T*4]<1)IHEAP[k+944+i*4]=1;else{t=IHEAP[f+5756+T*4];if(t>1){a=
+48;c=49}else{a=48;c=50}for(;;)if(c==49){L=a==49?L:0;var G=L+1,F=(a==49?F:t)>>1,L=L+1;if(F>1)c=a=49;else{a=49;c=50}}else if(c==50){IHEAP[k+944+i*4]=a==48?0:G;break f}}}else{a=IHEAP[s+5620];t=IHEAP[f+5624+(a-1)*4]>>q-a;v=IHEAP[f+5756+(a-1)*4]>>q-a;y=t<1;g:do if(y)IHEAP[k+812+i*4]=1;else{if(t>1){a=54;c=55}else{a=54;c=56}for(;;)if(c==55){M=a==55?M:0;var K=M+1,H=(a==55?H:t)>>1,M=M+1;if(H>1)c=a=55;else{a=55;c=56}}else if(c==56){IHEAP[k+812+i*4]=a==54?0:K;break g}}while(0);if(v<1)IHEAP[k+944+i*4]=1;else{if(v>
+1){a=59;c=60}else{a=59;c=61}for(;;)if(c==60){R=a==60?R:0;var I=R+1,O=(a==60?O:v)>>1,R=R+1;if(O>1)c=a=60;else{a=60;c=61}}else if(c==61){IHEAP[k+944+i*4]=a==59?0:I;break f}}}while(0);var T=T+1;i=a=i+-1;if(a>=0)a=51;else break d}}else{i=0;if(!(i<IHEAP[k+4]))break d;for(;;){IHEAP[k+812+i*4]=15;IHEAP[k+944+i*4]=15;i+=1;if(!(i<IHEAP[k+4]))break d}}while(0);_dwt_calc_explicit_stepsizes(k,IHEAP[IHEAP[l]+48*h+24]);h+=1;if(!(h<IHEAP[n]))break c}}var V=V+1;if(o<IHEAP[j+72]*IHEAP[j+68])a=66;else break b}}while(0)}
+_j2k_setup_encoder.__index__=Runtime.getFunctionIndex(_j2k_setup_encoder,"_j2k_setup_encoder");
+function _j2k_encode(b,f,e,c){var a,d=null,g,h,i,j,k,m,l,n,o,p,r,q;IHEAP[b+72]=f;IHEAP[b+60]=e;r=IHEAP[b+64];IHEAP[b+68]=c;if(c!=0){d=_malloc(IHEAP[r+68]*572*IHEAP[r+72]);IHEAP[c+88]=d;IHEAP[c+16]=IHEAP[e+8]-IHEAP[e];IHEAP[c+20]=IHEAP[e+12]-IHEAP[e+4];IHEAP[c+24]=IHEAP[IHEAP[r+108]+8];IHEAP[c+44]=IHEAP[r+68];IHEAP[c+48]=IHEAP[r+72];IHEAP[c+28]=IHEAP[r+56];IHEAP[c+32]=IHEAP[r+60];IHEAP[c+36]=IHEAP[r+48];IHEAP[c+40]=IHEAP[r+52];IHEAP[c+52]=IHEAP[e+16];IHEAP[c+56]=IHEAP[IHEAP[r+108]+12];d=_malloc(IHEAP[e+
+16]*4);IHEAP[c+60]=d;if(0<IHEAP[e+16]){o=e+16;for(d=0;;){n=d==0?0:n;d=1+n;IHEAP[IHEAP[c+60]+4*(0+n)]=IHEAP[IHEAP[IHEAP[r+108]+5584]+4]-1;n=n+1;if(d<IHEAP[o])d=1;else break}}FHEAP[c]=0;IHEAP[c+76]=IHEAP[f+24]-IHEAP[f+16];IHEAP[c+72]=100;d=_malloc(IHEAP[c+72]*12);IHEAP[c+68]=d;IHEAP[c+64]=0}_cio_write(IHEAP[b+72],65359,2);o=IHEAP[b+72];d=IHEAP[b+60];p=IHEAP[b+64];_cio_write(o,65361,2);n=IHEAP[o+24]-IHEAP[o+16];IHEAP[o+24]+=2;_cio_write(o,IHEAP[p+12],2);_cio_write(o,IHEAP[d+8],4);_cio_write(o,IHEAP[d+
+12],4);_cio_write(o,IHEAP[d],4);_cio_write(o,IHEAP[d+4],4);_cio_write(o,IHEAP[p+56],4);_cio_write(o,IHEAP[p+60],4);_cio_write(o,IHEAP[p+48],4);_cio_write(o,IHEAP[p+52],4);_cio_write(o,IHEAP[d+16],2);if(0<IHEAP[d+16]){p=d+24;var u=d+24,s=d+24;g=d+24;a=d+16;for(d=5;;){j=d==5?0:j;var t=0+j,v=1+j;_cio_write(d==5?o:k,IHEAP[IHEAP[p]+48*t+24]+-1+IHEAP[IHEAP[u]+48*t+32]*128,1);_cio_write(o,IHEAP[IHEAP[s]+48*t],1);_cio_write(o,IHEAP[IHEAP[g]+48*t+4],1);k=o;j=j+1;if(v<IHEAP[a])d=6;else break}d=7}else d=85;
+d=d==7?k:o;d=0-IHEAP[d+16]+IHEAP[d+24]+(0-n);IHEAP[o+24]=IHEAP[o+16]+n;_cio_write(o,d,2);IHEAP[o+24]=IHEAP[o+16]+(d+n);k=IHEAP[b+72];_cio_write(k,65362,2);d=IHEAP[k+24]-IHEAP[k+16];IHEAP[k+24]+=2;j=IHEAP[IHEAP[b+64]+108]+5588*IHEAP[b+8];_cio_write(k,IHEAP[j+4],1);_cio_write(k,IHEAP[j+8],1);_cio_write(k,IHEAP[j+12],2);_cio_write(k,IHEAP[j+16],1);_j2k_write_cox(b,0);j=0-IHEAP[k+16]+IHEAP[k+24]+(0-d);IHEAP[k+24]=IHEAP[k+16]+d;_cio_write(k,j,2);IHEAP[k+24]=IHEAP[k+16]+(j+d);j=IHEAP[b+72];_cio_write(j,
+65372,2);d=IHEAP[j+24]-IHEAP[j+16];IHEAP[j+24]+=2;_j2k_write_qcx(b,0);k=0-IHEAP[j+16]+IHEAP[j+24]+(0-d);IHEAP[j+24]=IHEAP[j+16]+d;_cio_write(j,k,2);IHEAP[j+24]=IHEAP[j+16]+(k+d);k=IHEAP[r]!=0;a:do if(k){d=1;if(!(d<IHEAP[e+16]))break a;j=e+16;n=d;o=n+1;for(d=9;;){l=d==9?0:l;d=o+l;p=n+l;_j2k_write_coc(b,p);_j2k_write_qcc(b,p);l=l+1;if(d<IHEAP[j])d=11;else break}}while(0);d=0;if(d<IHEAP[e+16]){l=e+16;k=d;j=k+1;for(d=14;;){m=d==14?0:m;o=k+m;n=j+m;if(IHEAP[IHEAP[IHEAP[(d==14?r:i)+108]+5584]+1076*o+808]!=
+0){p=b;d=IHEAP[IHEAP[p+64]+108];i=IHEAP[p+72];p=IHEAP[IHEAP[p+60]+16];_cio_write(i,65374,2);_cio_write(i,p<=256?5:6,2);_cio_write(i,o,p<=256?1:2);_cio_write(i,0,1);_cio_write(i,IHEAP[IHEAP[d+5584]+1076*o+808],1)}i=r;m=m+1;if(n<IHEAP[l])d=18;else break}d=19}else d=10;i=IHEAP[(d==19?i:r)+64]!=0;a:do if(i){d=b;if(IHEAP[IHEAP[d+64]+64]==0)break a;m=IHEAP[d+72];d=IHEAP[IHEAP[d+64]+64];_cio_write(m,65380,2);l=m;l=IHEAP[l+24]-IHEAP[l+16];k=m;IHEAP[k+24]+=2;_cio_write(m,1,2);j=0<_strlen(d);k=m;if(j){n=j=
+d;q=m;for(d=23;;){h=d==23?0:h;o=1+h;_cio_write(d==23?k:q,IHEAP[j+(0+h)],1);d=_strlen(n);h=h+1;if(o<d)d=24;else break}d=25}else d=21;d=d==25?q:k;k=0-IHEAP[d+16]+IHEAP[d+24]+(0-l);j=l;d=m;j=j;IHEAP[d+24]=IHEAP[d+16]+j;_cio_write(m,k,2);l=k+l;d=m;m=l;IHEAP[d+24]=IHEAP[d+16]+m}while(0);q=_j2k_calculate_tp(r,IHEAP[e+16],e,b);IHEAP[b+28]=q;q=IHEAP[r]!=0;a:do if(q){d=b;i=h=IHEAP[d+72];IHEAP[d+24]=IHEAP[i+24]-IHEAP[i+16];_cio_write(h,65365,2);i=IHEAP[d+28]*5+4;_cio_write(h,i,2);_cio_write(h,0,1);_cio_write(h,
+80,1);d=IHEAP[d+28]*5;h=h;d=d;IHEAP[h+24]+=d;if(IHEAP[r]!=3)break a;_j2k_write_poc(b)}while(0);if(c!=0)IHEAP[c+80]=IHEAP[f+24]+-1+(0-IHEAP[f+16]);q=_tcd_create(IHEAP[b]);if(0<IHEAP[r+72]*IHEAP[r+68]){h=q+12;i=q+16;m=e+16;l=e+16;d=32;a:for(;;){M=d==32?0:M;j=0+M;k=1+M;d=IHEAP[r+108];_opj_event_msg(IHEAP[b],4,__str694,Pointer_make([k,0,0,0,IHEAP[r+72]*IHEAP[r+68],0,0,0],0,ALLOC_STACK));IHEAP[b+8]=j;IHEAP[b+16]=0;IHEAP[h]=IHEAP[IHEAP[b+20]+4*IHEAP[b+8]];n=r;o=IHEAP[b+8];j==0?_tcd_malloc_encode(q,e,n,
+o):_tcd_init_encode(q,e,n,o);if(c!=0)IHEAP[IHEAP[c+88]+572*IHEAP[b+8]+8]=0-IHEAP[f+16]+IHEAP[f+24]+IHEAP[b+44];if(0<=IHEAP[d+5588*j+420]){n=d+5588*j+420;d=37;b:for(;;){o=d==37?0:H;p=d==37?0:K;u=o+1;IHEAP[i]=o;s=_j2k_get_num_tp(r,o,j);IHEAP[q]=IHEAP[r+20];if(0<s){d=38;a=39}else{d=38;a=40}c:for(;;)if(a==39){F=d==72?F:p;L=d==72?L:0;IHEAP[b+12]=L;if(c!=0)IHEAP[IHEAP[IHEAP[c+88]+572*IHEAP[b+8]+568]+20*IHEAP[b+16]]=0-IHEAP[f+16]+IHEAP[f+24]+IHEAP[b+44];a=b;d=IHEAP[a+72];IHEAP[a+36]=IHEAP[d+24]-IHEAP[d+
+16];_cio_write(d,65424,2);g=IHEAP[d+24]-IHEAP[d+16];IHEAP[d+24]+=2;_cio_write(d,IHEAP[a+8],2);IHEAP[d+24]+=4;_cio_write(d,IHEAP[a+16],1);_cio_write(d,IHEAP[IHEAP[a+20]+4*IHEAP[a+8]],1);a=0-IHEAP[d+16]+IHEAP[d+24]+(0-g);IHEAP[d+24]=IHEAP[d+16]+g;_cio_write(d,a,2);IHEAP[d+24]=IHEAP[d+16]+(a+g);g=IHEAP[b+16]==0;d:do if(g){if(IHEAP[r]!=0)break d;if(1<IHEAP[m]){d=44;a=46}else{d=44;a=47}for(;;)if(a==46){y=d==46?y:0;d=y+2;a=y+1;_j2k_write_coc(b,a);_j2k_write_qcc(b,a);var y=y+1;if(d<IHEAP[l])a=d=46;else{d=
+46;a=47}}else if(a==47)if(IHEAP[IHEAP[r+108]+5588*j+420]!=0)break;else break d;_j2k_write_poc(b)}while(0);if(c!=0)IHEAP[IHEAP[IHEAP[c+88]+572*IHEAP[b+8]+568]+20*IHEAP[b+16]+4]=IHEAP[f+24]+1+(0-IHEAP[f+16])+IHEAP[b+44];g=b;t=q;a=IHEAP[g+64];v=IHEAP[g+72];IHEAP[t+4]=IHEAP[g+12];IHEAP[t+8]=IHEAP[g+16];_cio_write(v,65427,2);if(IHEAP[g+8]==0)IHEAP[g+40]=0-IHEAP[v+16]+IHEAP[v+24]+IHEAP[g+44];var x=IHEAP[g+68];d=x!=0;d:do if(d)if(IHEAP[g+16]!=0){if(!(IHEAP[IHEAP[IHEAP[x+88]+572*IHEAP[g+8]+548]+20*(IHEAP[x+
+8]-1)+8]<IHEAP[v+24]-IHEAP[v+16]))break d;IHEAP[IHEAP[IHEAP[x+88]+572*IHEAP[g+8]+548]+20*IHEAP[x+8]]=IHEAP[v+24]-IHEAP[v+16]}else{IHEAP[IHEAP[x+88]+572*IHEAP[g+8]+12]=IHEAP[v+24]+-1+(0-IHEAP[v+16])+IHEAP[g+44];IHEAP[IHEAP[IHEAP[g+68]+88]+572*IHEAP[g+8]+4]=IHEAP[g+8]}while(0);var w=IHEAP[g+8],C=IHEAP[a+108],z=C+5588*w,A=0<IHEAP[z+12];d:do if(A){var B=a+72,D=a+68,J=a+72,E=a+68,N=z+12;d=59;for(;;){P=d==59?0:P;d=P+1;var Q=C+5588*w+20+P*4,S=FHEAP[Q]>(IHEAP[g+40]/(IHEAP[D]*IHEAP[B])|0);f:do if(S)FHEAP[Q]-=
+IHEAP[g+40]/(IHEAP[E]*IHEAP[J])|0;else{if(FHEAP[Q]==0)break f;FHEAP[Q]=1}while(0);var P=P+1;if(d<IHEAP[N])d=63;else break d}}while(0);d=IHEAP[g+16]==0;d:do if(d){IHEAP[IHEAP[IHEAP[t+24]+8]+836]=0;if(x==0)break d;IHEAP[x+8]=0}while(0);d=_tcd_encode_tile(t,IHEAP[g+8],IHEAP[v+24],IHEAP[v+20]+-2+(0-IHEAP[v+24]),x);d=0-IHEAP[v+16]+IHEAP[v+24]+d+(0-IHEAP[g+36]);IHEAP[v+24]=IHEAP[v+16]+(IHEAP[g+36]+6);_cio_write(v,d,4);IHEAP[v+24]=IHEAP[v+16]+(d+IHEAP[g+36]);if(IHEAP[a]!=0){IHEAP[v+24]=IHEAP[v+16]+(IHEAP[g+
+24]+6+IHEAP[g+16]*5);_cio_write(v,IHEAP[g+8],1);_cio_write(v,d,4)}IHEAP[v+24]=IHEAP[v+16]+(d+IHEAP[g+36]);if(c!=0){IHEAP[IHEAP[IHEAP[c+88]+572*IHEAP[b+8]+568]+20*IHEAP[b+16]+8]=IHEAP[f+24]+-1+(0-IHEAP[f+16])+IHEAP[b+44];IHEAP[IHEAP[IHEAP[c+88]+572*IHEAP[b+8]+568]+20*IHEAP[b+16]+12]=F;IHEAP[IHEAP[IHEAP[c+88]+572*IHEAP[b+8]+568]+20*IHEAP[b+16]+16]=IHEAP[c+8]-F;var G=IHEAP[c+8];d=70}else d=105;var F=d==70?G:F;IHEAP[b+16]+=1;var L=L+1;if(L!=s){d=72;a=39;continue c}d=73;a=40}else if(a==40){var K=d==73?
+F:p,H=o+1;if(u<=IHEAP[n]){d=40;continue b}else break b}}}if(c!=0)IHEAP[IHEAP[c+88]+572*IHEAP[b+8]+16]=IHEAP[f+24]+-1+(0-IHEAP[f+16])+IHEAP[b+44];var M=M+1;if(k<IHEAP[r+72]*IHEAP[r+68])d=78;else break a}}_tcd_free_encode(q);if(q!=0){_free(IHEAP[q+24]);_free(q)}_free(IHEAP[b+20]);_cio_write(IHEAP[b+72],65497,2);if(c!=0){IHEAP[c+84]=0-IHEAP[f+16]+IHEAP[f+24]+IHEAP[b+44];IHEAP[c+84]-=IHEAP[c+76]}return 1}_j2k_encode.__index__=Runtime.getFunctionIndex(_j2k_encode,"_j2k_encode");
+function _j2k_write_coc(b,f){var e,c,a,d;c=IHEAP[IHEAP[b+64]+108]+5588*IHEAP[b+8];a=IHEAP[b+60];d=IHEAP[b+72];_cio_write(d,65363,2);e=IHEAP[d+24]-IHEAP[d+16];IHEAP[d+24]+=2;_cio_write(d,f,IHEAP[a+16]<=256?1:2);_cio_write(d,IHEAP[IHEAP[c+5584]+1076*f],1);_j2k_write_cox(b,f);c=0-e+IHEAP[d+24]+(0-IHEAP[d+16]);IHEAP[d+24]=IHEAP[d+16]+e;_cio_write(d,c,2);IHEAP[d+24]=IHEAP[d+16]+(c+e)}_j2k_write_coc.__index__=Runtime.getFunctionIndex(_j2k_write_coc,"_j2k_write_coc");
+function _j2k_write_qcc(b,f){var e,c,a;a=IHEAP[b+72];_cio_write(a,65373,2);e=IHEAP[a+24]-IHEAP[a+16];IHEAP[a+24]+=2;_cio_write(a,f,IHEAP[IHEAP[b+60]+16]<=256?1:2);_j2k_write_qcx(b,f);c=0-e+IHEAP[a+24]+(0-IHEAP[a+16]);IHEAP[a+24]=IHEAP[a+16]+e;_cio_write(a,c,2);IHEAP[a+24]=IHEAP[a+16]+(c+e)}_j2k_write_qcc.__index__=Runtime.getFunctionIndex(_j2k_write_qcc,"_j2k_write_qcc");
+function _j2k_write_poc(b){var f=null,e,c,a,d;c=IHEAP[IHEAP[b+60]+16];a=IHEAP[IHEAP[b+64]+108]+5588*IHEAP[b+8];d=IHEAP[a+5584];b=IHEAP[b+72];e=IHEAP[a+420]+1;_cio_write(b,65375,2);_cio_write(b,((c<=256?1:2)*2+5)*e+2,2);if(0<e){var g=c<=256?1:2,h=a+12;d=d+4;var i=c<=256?1:2;e=(e>1?e:1)-0;for(f=0;;){o=f==0?0:o;var j=0+o;f=a+428+j*148+36;var k=a+428+j*148+16,m=a+428+j*148+12,l=a+428+j*148+8,n=a+428+j*148+4;_cio_write(b,IHEAP[a+428+j*148],1);_cio_write(b,IHEAP[n],g);_cio_write(b,IHEAP[l],2);j=IHEAP[l];
+n=IHEAP[h];IHEAP[l]=j<n?j:n;_cio_write(b,IHEAP[m],1);l=IHEAP[m];j=IHEAP[d];IHEAP[m]=l<j?l:j;_cio_write(b,IHEAP[k],i);m=IHEAP[k];IHEAP[k]=m<c?m:c;_cio_write(b,IHEAP[f],1);var o=o+1;if(o!=e)f=1;else break}}}_j2k_write_poc.__index__=Runtime.getFunctionIndex(_j2k_write_poc,"_j2k_write_poc");
+function _j2k_write_qcx(b,f){var e=null,c,a,d;a=IHEAP[IHEAP[IHEAP[b+64]+108]+5588*IHEAP[b+8]+5584]+1076*f;d=IHEAP[b+72];_cio_write(d,IHEAP[a+804]*32+IHEAP[a+24],1);if(IHEAP[a+24]==1)e=7;else{var g=IHEAP[a+4]*3-2;e=0}c=e==0?g:1;if(0<c){g=a+24;c=(c>1?c:1)-0;for(e=2;;){i=e==2?0:i;var h=0+i;e=IHEAP[a+28+h*8];h=IHEAP[a+28+h*8+4];IHEAP[g]==0?_cio_write(d,e<<3,1):_cio_write(d,h+e*2048,2);var i=i+1;if(i!=c)e=5;else break}}}_j2k_write_qcx.__index__=Runtime.getFunctionIndex(_j2k_write_qcx,"_j2k_write_qcx");
+function _j2k_write_cox(b,f){var e=null,c,a;c=IHEAP[IHEAP[IHEAP[b+64]+108]+5588*IHEAP[b+8]+5584]+1076*f;a=IHEAP[b+72];_cio_write(a,IHEAP[c+4]-1,1);_cio_write(a,IHEAP[c+8]-2,1);_cio_write(a,IHEAP[c+12]-2,1);_cio_write(a,IHEAP[c+16],1);_cio_write(a,IHEAP[c+20],1);var d=(IHEAP[c]&1)!=0;a:do if(d){if(!(0<IHEAP[c+4]))break a;var g=a,h=c,i=c,j=c+4;for(e=0;;){m=e==0?0:m;e=1+m;var k=0+m;_cio_write(g,IHEAP[i+944+k*4]*16+IHEAP[h+812+k*4],1);var m=m+1;if(e<IHEAP[j])e=2;else break}}while(0)}
+_j2k_write_cox.__index__=Runtime.getFunctionIndex(_j2k_write_cox,"_j2k_write_cox");
+function _j2k_read_qcx(b,f,e){var c=null,a;c=IHEAP[b+64];if(IHEAP[b+4]==16){a=IHEAP[c+108]+5588*IHEAP[b+8];c=0}else{var d=IHEAP[b+56];c=2}f=IHEAP[(c==0?a:d)+5584]+1076*f;b=IHEAP[b+72];c=_cio_read(b,1);IHEAP[f+24]=c&31;IHEAP[f+804]=c>>5;a=IHEAP[f+24]==1;a:do if(a)c=21;else{var g=e-1;if(IHEAP[f+24]==0){c=3;break a}var h=g/2|0;c=5}while(0);a=c==21?1:c==5?h:g;c=0;e=IHEAP[f+24];if(c<a){g=f+24;h=c;c=h+1;a=(a>c?a:c)-h;for(c=7;;){n=c==7?0:n;var i=h+n;d=f+28+i*8+4;i=f+28+i*8;if((c==7?e:l)==0){var j=_cio_read(b,
+1)>>>3;c=9}else{c=_cio_read(b,2);var k=c>>11,m=c&2047;c=11}l=c==11?m:0;IHEAP[i]=c==11?k:j;IHEAP[d]=l;var l=IHEAP[g],n=n+1;if(n!=a)c=12;else break}c=13}else c=4;if((c==13?l:e)==1){c=1;j=f+28;k=f+28;m=f+28+4;l=c;b=97-l;n=l+-1;for(c=15;;){p=c==15?0:p;c=n+p;g=l+p;e=f+28+g*8+4;g=f+28+g*8;if(IHEAP[j]-(c/3|0)>0){var o=IHEAP[k]-(c/3|0);c=17}else c=16;IHEAP[g]=c==17?o:0;IHEAP[e]=IHEAP[m];var p=p+1;if(p!=b)c=19;else break}}}_j2k_read_qcx.__index__=Runtime.getFunctionIndex(_j2k_read_qcx,"_j2k_read_qcx");
+function _j2k_read_cox(b,f){var e=null,c,a,d;c=IHEAP[b+64];if(IHEAP[b+4]==16){a=IHEAP[c+108]+5588*IHEAP[b+8];e=0}else{d=IHEAP[b+56];e=2}a=IHEAP[(e==0?a:d)+5584]+1076*f;d=IHEAP[b+72];e=_cio_read(d,1)+1;IHEAP[a+4]=e;if(IHEAP[c+36]>=IHEAP[a+4]){_opj_event_msg(IHEAP[b],1,__str896,Pointer_make([f,0,0,0],0,ALLOC_STACK));IHEAP[b+4]|=128}e=_cio_read(d,1)+2;IHEAP[a+8]=e;e=_cio_read(d,1)+2;IHEAP[a+12]=e;e=_cio_read(d,1);IHEAP[a+16]=e;e=_cio_read(d,1);IHEAP[a+20]=e;c=(IHEAP[a]&1)!=0;a:do if(c){e=0;if(!(e<IHEAP[a+
+4]))break a;var g=d,h=a,i=a,j=a+4,k=e,m=k+1;for(e=4;;){p=e==4?0:p;e=m+p;var l=k+p,n=i+944+l*4;l=h+812+l*4;var o=_cio_read(g,1);IHEAP[l]=o&15;IHEAP[n]=o>>4;var p=p+1;if(e<IHEAP[j])e=6;else break}}while(0);d=IHEAP[b+68]!=0;a:do if(d){if(f!=0)break a;e=0;if(!(e<IHEAP[a+4]))break a;c=p=a;g=b+8;h=b+68;i=a;j=b+8;k=b+68;m=a+4;n=b+8;l=b+68;o=b+8;var r=b+68,q=e,u=q+1;for(e=11;;){y=e==11?0:y;var s=q+y,t=c+812+s*4,v=i+944+s*4;e=u+y;if((IHEAP[p]&1)!=0){IHEAP[IHEAP[IHEAP[h]+88]+572*IHEAP[g]+284+s*4]=IHEAP[t];
+IHEAP[IHEAP[IHEAP[k]+88]+572*IHEAP[j]+416+s*4]=IHEAP[v]}else{IHEAP[IHEAP[IHEAP[l]+88]+572*IHEAP[n]+284+s*4]=15;IHEAP[IHEAP[IHEAP[r]+88]+572*IHEAP[o]+284+s*4]=15}var y=y+1;if(e<IHEAP[m])e=14;else break}}while(0)}_j2k_read_cox.__index__=Runtime.getFunctionIndex(_j2k_read_cox,"_j2k_read_cox");
+function _opj_clock(){var b=STACKTOP;STACKTOP+=8;_memset(b,0,8);var f,e;_gettimeofday(b,0);f=IHEAP[b]+IHEAP[b+4]/1E6;if(FHEAP[_opj_clock_last]<0)FHEAP[_opj_clock_last]=f;e=f-FHEAP[_opj_clock_last];FHEAP[_opj_clock_last]=f;STACKTOP=b;return e}_opj_clock.__index__=Runtime.getFunctionIndex(_opj_clock,"_opj_clock");
+function _jp2_read_jp2h(b,f,e){var c=STACKTOP;STACKTOP+=36;_memset(c,0,36);var a,d=null,g,h,i,j,k,m,l,n,o,p,r,q,u,s=c+12,t,v=c+24,y;y=IHEAP[b];_jp2_read_boxhdr(y,f,v);t=v+4;u=v+4;p=v+4;a:for(;;){if(1785737832!=IHEAP[t]){if(IHEAP[u]==1785737827){a=2;break a}IHEAP[f+24]+=IHEAP[v]-8;if(IHEAP[f+24]>=IHEAP[f+20]){a=5;break a}_jp2_read_boxhdr(y,f,v)}if(1785737832!=IHEAP[p])a=1;else{a=9;break a}}a:do if(a==2){_opj_event_msg(y,1,__str1198);q=0}else if(a==5)q=0;else if(a==9){t=f;q=b;u=t;t=IHEAP[q];_jp2_read_boxhdr(t,
+u,s);if(1768449138!=IHEAP[s+4])_opj_event_msg(t,1,__str14102);else{p=_cio_read(u,4);IHEAP[q+12]=p;p=_cio_read(u,4);IHEAP[q+8]=p;p=_cio_read(u,2);IHEAP[q+16]=p;p=_malloc(IHEAP[q+16]*12);IHEAP[q+68]=p;p=_cio_read(u,1);IHEAP[q+20]=p;p=_cio_read(u,1);IHEAP[q+24]=p;p=_cio_read(u,1);IHEAP[q+28]=p;p=_cio_read(u,1);IHEAP[q+32]=p;q=u;if(0-IHEAP[q+16]+IHEAP[q+24]+(0-IHEAP[s+8])!=IHEAP[s])_opj_event_msg(t,1,__str1522);else{s=IHEAP[v]+IHEAP[v+8];q=IHEAP[b+20]==255;b:do if(q){q=f;p=b;r=q;q=IHEAP[p];_jp2_read_boxhdr(q,
+r,c);if(1651532643!=IHEAP[c+4])_opj_event_msg(q,1,__str12100);else{t=r;if(0<IHEAP[p+16]){u=p+68;p=p+16;o=r;for(d=12;;){C=d==12?0:C;var x=0+C;r=1+C;var w=_cio_read(d==12?t:o,1);IHEAP[IHEAP[u]+12*x+8]=w;var C=C+1;if(r<IHEAP[p])d=13;else break}d=14}else d=70;o=d==14?o:t;if(0-IHEAP[o+16]+IHEAP[o+24]+(0-IHEAP[c+8])!=IHEAP[c])_opj_event_msg(q,1,__str13101);else break b}q=0;break a}while(0);_jp2_read_boxhdr(y,f,v);d=f;if(IHEAP[d+24]-IHEAP[d+16]<s){o=v+4;C=v+8;q=v;t=v+4;u=v+8;p=v;r=v+4;x=v+8;w=v;var z=v+
+4,A=v+8,B=v,D=v+8,J=v;b:for(;;){if(IHEAP[o]==1668246642){g=f;a=e;d=b;h=g;g=v;n=a;k=IHEAP[n+16]!=0;c:do{if(k)a=20;else{a=IHEAP[d];k=_cio_read(h,1);IHEAP[d+36]=k;k=_cio_read(h,1);IHEAP[d+48]=k;k=_cio_read(h,1);IHEAP[d+40]=k;k=IHEAP[d+36]==1;d:do if(k){i=_cio_read(h,4);IHEAP[d+44]=i}else{j=IHEAP[g+8];l=IHEAP[g];i=h;i=l+j+(0-IHEAP[i+24])+(0-(0-IHEAP[i+16]));if(i<0){_opj_event_msg(a,1,__str1099);a=20;break c}else{if(!(i>0))break d;j=h;j=IHEAP[j+24];l=_malloc(i);IHEAP[n]=l;IHEAP[n+4]=i;l=h;var E=IHEAP[g+
+8],N=IHEAP[g];m=h;m=N+E+(0-IHEAP[m+24])+(0-(0-IHEAP[m+16]));l=l;m=m;IHEAP[l+24]+=m;_llvm_memcpy_p0i8_p0i8_i32(IHEAP[n],j,i,1,0)}}while(0);d=h;if(0-IHEAP[d+16]+IHEAP[d+24]+(0-IHEAP[g+8])!=IHEAP[g]){_opj_event_msg(a,1,__str1121);a=20}else{IHEAP[n+16]=1;a=24}}break c}while(0);if(a==20){a=IHEAP[C]+8;d=f;a=a;IHEAP[d+24]=IHEAP[d+16]+a;a=IHEAP[q]-8;d=f;a=a;IHEAP[d+24]+=a}}else if(IHEAP[t]==1667523942){d=e;g=f;d=d;h=IHEAP[d+8]!=0;c:do{if(h)a=31;else{h=_cio_read(g,2)&65535;if(h==0)a=31;else{a=_malloc(h*6);
+n=_malloc(8);IHEAP[d+8]=n;IHEAP[IHEAP[d+8]]=a;IHEAP[IHEAP[d+8]+4]=h;n=0<h;d:do if(n){k=g;i=a;j=g;l=a;m=g;E=a;N=h;for(d=33;;){S=d==33?0:S;d=S+1;var Q=_cio_read(k,2)&65535;IHEAP[i+6*S]=Q;Q=_cio_read(j,2)&65535;IHEAP[l+6*S+2]=Q;Q=_cio_read(m,2)&65535;IHEAP[E+6*S+4]=Q;var S=S+1;if(d<N)d=34;else break d}}while(0);a=36}}break c}while(0);if(a==31){a=IHEAP[u]+8;d=f;a=a;IHEAP[d+24]=IHEAP[d+16]+a;a=IHEAP[p]-8;d=f;a=a;IHEAP[d+24]+=a}}else if(IHEAP[r]==1885564018){d=e;a=f;i=d;if(IHEAP[i+12]!=0){a=IHEAP[x]+8;
+d=f;a=a;IHEAP[d+24]=IHEAP[d+16]+a;a=IHEAP[w]-8;d=f;a=a;IHEAP[d+24]+=a}else{h=_cio_read(a,2)&65535;n=_cio_read(a,1)&65535;k=_malloc(n*4*h);g=_malloc(n);d=_malloc(n);j=_malloc(20);IHEAP[j+4]=d;IHEAP[j+8]=g;IHEAP[j]=k;IHEAP[j+16]=h;IHEAP[j+18]=n;IHEAP[j+12]=0;IHEAP[i+12]=j;if(0<n){i=a;j=g;l=d;m=n;for(d=38;;){P=d==38?0:P;d=P+1;E=_cio_read(i,1)&255;IHEAP[j+P]=(E&127)+1&255;IHEAP[l+P]=((E&128)!=0?1:0)&255;var P=P+1;if(d<m)d=39;else break}}i=0<h;c:do if(i){l=n;j=h;if(0<n){m=a;E=g;k=k;d=42;d:for(;;){N=d==
+45?G:k;H=d==45?H:0;Q=H+1;for(d=43;;){K=d==43?0:K;G=K+1;d=G&65535;var G=N+4*G,F=N+4*K,L=_cio_read(m,IHEAP[E+(K&65535)]>>3);IHEAP[F]=L;var K=K+1;if(d<l)d=44;else break}var H=H+1;if(Q<j)d=45;else break d}k=G}else for(d=89;;){d=d==47?M:0;var M=d+1;if(d+1<j)d=47;else break c}}while(0)}}else if(IHEAP[z]==1668112752){d=e;g=f;h=d;d=IHEAP[h+12]==0;c:do{if(d)a=53;else if(IHEAP[IHEAP[h+12]+12]!=0)a=53;else{n=IHEAP[IHEAP[h+12]+18];a=_malloc(n*4);k=0<n;d:do if(k){i=g;j=a;l=g;m=a;E=g;N=a;Q=n;for(d=54;;){I=d==54?
+0:I;d=I+1;F=_cio_read(i,2)&65535;IHEAP[j+4*I]=F;F=_cio_read(l,1)&255;IHEAP[m+4*I+2]=F;F=_cio_read(E,1)&255;IHEAP[N+4*I+3]=F;var I=I+1;if(d<Q)d=55;else break d}}while(0);IHEAP[IHEAP[h+12]+12]=a;a=57}break c}while(0);if(a==53){a=IHEAP[A]+8;d=f;a=a;IHEAP[d+24]=IHEAP[d+16]+a;a=IHEAP[B]-8;d=f;a=a;IHEAP[d+24]+=a}}else{a=IHEAP[D]+8;d=f;a=a;IHEAP[d+24]=IHEAP[d+16]+a;a=IHEAP[J]-8;d=f;a=a;IHEAP[d+24]+=a}_jp2_read_boxhdr(y,f,v);d=f;if(!(IHEAP[d+24]-IHEAP[d+16]<s))break b}}b=s;f=f;b=b;IHEAP[f+24]=IHEAP[f+16]+
+b;q=IHEAP[e+16]==1;break a}}q=0}while(0);e=q;STACKTOP=c;return e}_jp2_read_jp2h.__index__=Runtime.getFunctionIndex(_jp2_read_jp2h,"_jp2_read_jp2h");
+function _jp2_read_boxhdr(b,f,e){var c;IHEAP[e+8]=IHEAP[f+24]-IHEAP[f+16];var a=_cio_read(f,4);IHEAP[e]=a;a=_cio_read(f,4);IHEAP[e+4]=a;a=IHEAP[e]==1;a:do if(a)if(_cio_read(f,4)!=0)_opj_event_msg(b,1,__str16103);else{c=_cio_read(f,4);IHEAP[e]=c;if(IHEAP[e]!=0)break a;c=f;IHEAP[e]=IHEAP[c+20]+12+(0-IHEAP[c+24])}else{if(IHEAP[e]!=0)break a;c=f;IHEAP[e]=IHEAP[c+20]+8+(0-IHEAP[c+24])}while(0)}_jp2_read_boxhdr.__index__=Runtime.getFunctionIndex(_jp2_read_boxhdr,"_jp2_read_boxhdr");
+function _jp2_decode(b,f,e){var c=STACKTOP;STACKTOP+=104;_memset(c,0,104);var a,d=null,g,h,i,j,k,m,l,n,o,p;h=c+48;var r;n=c+60;var q,u;d=c+72;var s,t=c+84;s=b!=0;a:do if(s){if(f==0){a=1;break a}_llvm_memset_p0i8_i32(t,0,20,1,0);l=IHEAP[b];s=f;a=b;s=s;k=t;q=s;u=a;q=q;u=IHEAP[u];_jp2_read_boxhdr(u,q,d);var v=1783636E3!=IHEAP[d+4];b:do{if(v)_opj_event_msg(u,1,__str718);else if(218793738!=_cio_read(q,4))_opj_event_msg(u,1,__str819);else{q=q;if(0-IHEAP[d+8]+IHEAP[q+24]+(0-IHEAP[q+16])!=IHEAP[d])_opj_event_msg(u,
+1,__str920);else{q=s;d=a;r=q;q=IHEAP[d];_jp2_read_boxhdr(q,r,n);if(1718909296!=IHEAP[n+4])_opj_event_msg(q,1,__str516);else{u=_cio_read(r,4);IHEAP[d+52]=u;u=_cio_read(r,4);IHEAP[d+56]=u;IHEAP[d+60]=(IHEAP[n]-16)/4|0;u=_malloc(IHEAP[d+60]*4);IHEAP[d+64]=u;u=r;if(0<IHEAP[d+60]){v=d+64;var y=d+60;p=r;for(d=6;;){x=d==6?0:x;r=1+x;i=0+x;d=_cio_read(d==6?u:p,4);IHEAP[IHEAP[v]+4*i]=d;var x=x+1;if(r<IHEAP[y])d=7;else break}d=8}else d=57;d=d==8?p:u;if(0-IHEAP[n+8]+IHEAP[d+24]+(0-IHEAP[d+16])!=IHEAP[n])_opj_event_msg(q,
+1,__str617);else if(_jp2_read_jp2h(a,s,k)!=0){d=s;n=a+76;s=a+72;p=a;d=d;n=n;a=s;k=IHEAP[p];_jp2_read_boxhdr(k,d,h);p=h+4;s=h;k=k;x=d;q=h+4;u=d+24;c:for(;;){if(1785737827!=IHEAP[p]){IHEAP[u]+=IHEAP[s]-8;_jp2_read_boxhdr(k,x,h)}if(1785737827==IHEAP[q])break c}d=d;IHEAP[a]=IHEAP[d+24]-IHEAP[d+16];IHEAP[n]=IHEAP[h]-8;f=_j2k_decode(IHEAP[b+4],f,e);if(f!=0){IHEAP[f+20]=IHEAP[b+44]==16?1:IHEAP[b+44]==17?2:IHEAP[b+44]==18?3:-1;if(IHEAP[t+8]!=0){k=f;b=t;d=IHEAP[IHEAP[b+8]];h=IHEAP[IHEAP[b+8]+4];if(0<h){e=
+d;h=h;l=d;n=c;a=k+24;p=k+24;s=k+24;k=k+24;x=c;v=u=q=d;d=16;c:for(;;){g=d==16?0:g;d=1+g;y=0+g;r=IHEAP[e+6*y+4];i=r==0;d:do if(!i){o=IHEAP[l+6*y];j=r-1&65535;if(o==j)break d;_llvm_memcpy_p0i8_p0i8_i32(n,IHEAP[a]+48*o,48,1,0);_llvm_memcpy_p0i8_p0i8_i32(IHEAP[p]+48*o,IHEAP[s]+48*j,48,1,0);_llvm_memcpy_p0i8_p0i8_i32(IHEAP[k]+48*j,x,48,1,0);IHEAP[q+6*y+4]=o+1&65535;IHEAP[v+6*j+4]=IHEAP[u+6*j]+1&65535}while(0);g=g+1;if(d<h)d=20;else break c}}IHEAP[IHEAP[b+8]]!=0&&_free(IHEAP[IHEAP[b+8]]);_free(IHEAP[b+8]);
+IHEAP[b+8]=0}if(IHEAP[t+12]!=0)if(IHEAP[IHEAP[t+12]+12]!=0){d=f;g=t;b=d;i=IHEAP[IHEAP[g+12]+8];j=IHEAP[IHEAP[g+12]+4];d=IHEAP[IHEAP[g+12]];k=IHEAP[IHEAP[g+12]+12];n=IHEAP[IHEAP[g+12]+18];e=IHEAP[b+24];h=_malloc(n*48);l=0;if(l<n){p=a=k;s=h;x=e;q=k;u=e;v=n;y=e;r=h;i=i;o=h;j=j;for(var w=h;;){var C=IHEAP[a+4*l+3],z=IHEAP[p+4*l];_llvm_memcpy_p0i8_p0i8_i32(s+48*C,x+48*z,48,4,0);var A=u+48*z;if(IHEAP[q+4*l+2]==0)IHEAP[A+44]=0;else{z=_malloc(IHEAP[A+8]*4*IHEAP[y+48*z+12]);IHEAP[r+48*C+44]=z;IHEAP[o+48*C+
+24]=IHEAP[i+l];IHEAP[w+48*C+32]=IHEAP[j+l]}l+=1;if(!(l<v))break}}o=IHEAP[IHEAP[g+12]+16]-1;l=0;if(l<n){a=k;p=n;k=s=k;x=e;v=u=q=h;y=n;r=d;o=i=o;c:for(;;){j=IHEAP[a+4*l+2]==0;d:do if(!j){z=IHEAP[k+4*l+3];w=IHEAP[x+48*IHEAP[s+4*l]+44];C=IHEAP[q+48*z+44];d=IHEAP[u+48*z+8];A=IHEAP[v+48*z+12];if(!(0<A*d))break d;z=z;A=A*d;d=34;e:for(;;){m=d==34?0:m;var B=C+4*m,D=IHEAP[w+4*m],J=D<0;f:do if(J)d=36;else{if(!(D>i)){d=37;break f}d=38}while(0);IHEAP[B]=IHEAP[r+4*((d==37?D:d==38?o:0)*y+z)];m=m+1;if(m!=A)d=39;
+else break e}}while(0);l+=1;if(!(l<p))break c}}m=IHEAP[b+16];l=0;d=l<m;c:do if(d){p=a=e;for(s=m;;){IHEAP[a+48*l+44]!=0&&_free(IHEAP[p+48*l+44]);l+=1;if(!(l<s))break c}}while(0);_free(e);IHEAP[b+24]=h;IHEAP[b+16]=n;_jp2_free_pclr(g)}else _jp2_free_pclr(t);if(IHEAP[t]!=0){IHEAP[f+28]=IHEAP[t];IHEAP[t]=0;IHEAP[f+32]=IHEAP[t+4]}l=f}else{_free_color_data(t);_opj_event_msg(l,1,__str213);l=0}a=14;break a}else break b}}}break b}while(0);_free_color_data(t);_opj_event_msg(l,1,__str112);l=0;a=14;break a}else a=
+1;while(0);if(a==1)l=0;t=l;STACKTOP=c;return t}_jp2_decode.__index__=Runtime.getFunctionIndex(_jp2_decode,"_jp2_decode");function _free_color_data(b){IHEAP[b+12]!=0&&_jp2_free_pclr(b);if(IHEAP[b+8]!=0){IHEAP[IHEAP[b+8]]!=0&&_free(IHEAP[IHEAP[b+8]]);_free(IHEAP[b+8])}IHEAP[b]!=0&&_free(IHEAP[b])}_free_color_data.__index__=Runtime.getFunctionIndex(_free_color_data,"_free_color_data");
+function _jp2_free_pclr(b){_free(IHEAP[IHEAP[b+12]+4]);_free(IHEAP[IHEAP[b+12]+8]);_free(IHEAP[IHEAP[b+12]]);IHEAP[IHEAP[b+12]+12]!=0&&_free(IHEAP[IHEAP[b+12]+12]);_free(IHEAP[b+12]);IHEAP[b+12]=0}_jp2_free_pclr.__index__=Runtime.getFunctionIndex(_jp2_free_pclr,"_jp2_free_pclr");
+function _jp2_write_jp2h(b,f){var e=STACKTOP;STACKTOP+=48;_memset(e,0,48);var c=null,a;c=e+12;var d=e+24,g=e+36;IHEAP[g+8]=IHEAP[f+24]-IHEAP[f+16];IHEAP[f+24]+=4;_cio_write(f,1785737832,4);IHEAP[c+8]=IHEAP[f+24]-IHEAP[f+16];IHEAP[f+24]+=4;_cio_write(f,1768449138,4);_cio_write(f,IHEAP[b+12],4);_cio_write(f,IHEAP[b+8],4);_cio_write(f,IHEAP[b+16],2);_cio_write(f,IHEAP[b+20],1);_cio_write(f,IHEAP[b+24],1);_cio_write(f,IHEAP[b+28],1);_cio_write(f,IHEAP[b+32],1);IHEAP[c]=0-IHEAP[f+16]+IHEAP[f+24]+(0-IHEAP[c+
+8]);IHEAP[f+24]=IHEAP[f+16]+IHEAP[c+8];_cio_write(f,IHEAP[c],4);IHEAP[f+24]=IHEAP[f+16]+(IHEAP[c]+IHEAP[c+8]);if(IHEAP[b+20]==255){IHEAP[e+8]=IHEAP[f+24]-IHEAP[f+16];IHEAP[f+24]+=4;_cio_write(f,1651532643,4);if(0<IHEAP[b+16]){var h=b+68,i=b+16;a=f;for(c=0;;){k=c==0?0:k;var j=1+k;_cio_write(c==0?f:a,IHEAP[IHEAP[h]+12*(0+k)+8],1);var k=k+1;if(j<IHEAP[i])c=1;else break}c=2}else c=6;a=c==2?a:f;IHEAP[e]=0-IHEAP[a+16]+IHEAP[a+24]+(0-IHEAP[e+8]);a=IHEAP[e+8];IHEAP[f+24]=IHEAP[f+16]+a;_cio_write(f,IHEAP[e],
+4);a=IHEAP[e]+IHEAP[e+8];IHEAP[f+24]=IHEAP[f+16]+a}IHEAP[d+8]=IHEAP[f+24]-IHEAP[f+16];IHEAP[f+24]+=4;_cio_write(f,1668246642,4);_cio_write(f,IHEAP[b+36],1);_cio_write(f,IHEAP[b+48],1);_cio_write(f,IHEAP[b+40],1);IHEAP[b+36]==1?_cio_write(f,IHEAP[b+44],4):_cio_write(f,0,1);IHEAP[d]=0-IHEAP[f+16]+IHEAP[f+24]+(0-IHEAP[d+8]);IHEAP[f+24]=IHEAP[f+16]+IHEAP[d+8];_cio_write(f,IHEAP[d],4);IHEAP[f+24]=IHEAP[f+16]+(IHEAP[d]+IHEAP[d+8]);IHEAP[g]=0-IHEAP[g+8]+IHEAP[f+24]+(0-IHEAP[f+16]);IHEAP[f+24]=IHEAP[f+16]+
+IHEAP[g+8];_cio_write(f,IHEAP[g],4);IHEAP[f+24]=IHEAP[f+16]+(IHEAP[g]+IHEAP[g+8]);STACKTOP=e}_jp2_write_jp2h.__index__=Runtime.getFunctionIndex(_jp2_write_jp2h,"_jp2_write_jp2h");function _jp2_create_decompress(b){var f,e,c;c=_calloc(1,80);var a=c!=0;a:do if(a){IHEAP[c]=b;b=_j2k_create_decompress(b);IHEAP[c+4]=b;if(IHEAP[c+4]!=0){f=1;break a}_jp2_destroy_decompress(c);e=0;f=2;break a}else f=1;while(0);if(f==1)e=c;return e}
+_jp2_create_decompress.__index__=Runtime.getFunctionIndex(_jp2_create_decompress,"_jp2_create_decompress");function _jp2_destroy_decompress(b){if(b!=0){_j2k_destroy_decompress(IHEAP[b+4]);IHEAP[b+68]!=0&&_free(IHEAP[b+68]);IHEAP[b+64]!=0&&_free(IHEAP[b+64]);_free(b)}}_jp2_destroy_decompress.__index__=Runtime.getFunctionIndex(_jp2_destroy_decompress,"_jp2_destroy_decompress");
+function _jp2_setup_decoder(b,f){var e,c;e=IHEAP[b+4];var a=e!=0;a:do if(a){if(f==0)break a;c=_calloc(1,116);IHEAP[c+36]=IHEAP[f];IHEAP[c+40]=IHEAP[f+4];IHEAP[c+44]=IHEAP[f+8220];IHEAP[e+64]=c}while(0)}_jp2_setup_decoder.__index__=Runtime.getFunctionIndex(_jp2_setup_decoder,"_jp2_setup_decoder");
+function _jp2_create_compress(b){var f,e,c;c=_malloc(80);var a=c!=0;a:do if(a){b=IHEAP[c]=b;f=_calloc(1,76);if(f!=0)IHEAP[f]=b;IHEAP[c+4]=f;if(IHEAP[c+4]!=0){f=2;break a}_jp2_destroy_compress(c);e=0;f=3;break a}else f=2;while(0);if(f==2)e=c;return e}_jp2_create_compress.__index__=Runtime.getFunctionIndex(_jp2_create_compress,"_jp2_create_compress");
+function _jp2_destroy_compress(b){if(b!=0){_j2k_destroy_compress(IHEAP[b+4]);IHEAP[b+68]!=0&&_free(IHEAP[b+68]);IHEAP[b+64]!=0&&_free(IHEAP[b+64]);_free(b)}}_jp2_destroy_compress.__index__=Runtime.getFunctionIndex(_jp2_destroy_compress,"_jp2_destroy_compress");
+function _jp2_setup_encoder(b,f,e){var c,a=null;a=b!=0;a:do if(a){if(f==0)break a;if(e==0)break a;var d=IHEAP[e+16]<1;b:do if(!d){if(IHEAP[e+16]>16384)break b;_j2k_setup_encoder(IHEAP[b+4],f,e);IHEAP[b+52]=1785737760;IHEAP[b+56]=0;IHEAP[b+60]=1;a=_malloc(IHEAP[b+60]*4);IHEAP[b+64]=a;IHEAP[IHEAP[b+64]]=1785737760;IHEAP[b+16]=IHEAP[e+16];a=_malloc(IHEAP[b+16]*12);IHEAP[b+68]=a;IHEAP[b+12]=IHEAP[e+12]-IHEAP[e+4];IHEAP[b+8]=IHEAP[e+8]-IHEAP[e];f=IHEAP[IHEAP[e+24]+24]-1;a=IHEAP[IHEAP[e+24]+32];IHEAP[b+
+20]=a*128+f;a=1;if(a<IHEAP[e+16]){f=f;d=a;var g=d+1;for(a=5;;){h=a==5?0:h;a=g+h;if(f!=IHEAP[IHEAP[e+24]+48*(d+h)+24]-1)IHEAP[b+20]=255;var h=h+1;if(a<IHEAP[e+16])a=8;else break}}IHEAP[b+24]=7;IHEAP[b+28]=0;a=IHEAP[b+32]=0;if(a<IHEAP[e+16]){h=a;f=h+1;for(a=11;;){c=a==11?0:c;a=f+c;d=h+c;IHEAP[IHEAP[b+68]+12*d+8]=IHEAP[IHEAP[e+24]+48*d+24]+-1+IHEAP[IHEAP[e+24]+48*d+32]*128;c=c+1;if(a<IHEAP[e+16])a=12;else break}}h=IHEAP[e+16]==1;c:do if(h)c=15;else{c=IHEAP[e+16]==3?15:16;break c}while(0);c:do if(c==
+15){if(IHEAP[b+20]==255){c=16;break c}IHEAP[b+36]=1;c=18;break c}while(0);if(c==16)IHEAP[b+36]=2;c=IHEAP[b+36]==1;c:do if(c)if(IHEAP[e+20]==1)IHEAP[b+44]=16;else if(IHEAP[e+20]==2)IHEAP[b+44]=17;else{if(IHEAP[e+20]!=3)break c;IHEAP[b+44]=18}else IHEAP[b+44]=0;while(0);IHEAP[b+48]=0;IHEAP[b+40]=0;return}while(0);_opj_event_msg(IHEAP[b],1,__str314)}while(0)}_jp2_setup_encoder.__index__=Runtime.getFunctionIndex(_jp2_setup_encoder,"_jp2_setup_encoder");
+function _jp2_encode(b,f,e,c){var a=STACKTOP;STACKTOP+=36;_memset(a,0,36);var d=null,g,h;g=a+12;d=a+24;IHEAP[d+8]=IHEAP[f+24]-IHEAP[f+16];IHEAP[f+24]+=4;_cio_write(f,1783636E3,4);_cio_write(f,218793738,4);IHEAP[d]=0-IHEAP[f+16]+IHEAP[f+24]+(0-IHEAP[d+8]);IHEAP[f+24]=IHEAP[f+16]+IHEAP[d+8];_cio_write(f,IHEAP[d],4);IHEAP[f+24]=IHEAP[f+16]+(IHEAP[d]+IHEAP[d+8]);IHEAP[g+8]=IHEAP[f+24]-IHEAP[f+16];IHEAP[f+24]+=4;_cio_write(f,1718909296,4);_cio_write(f,IHEAP[b+52],4);_cio_write(f,IHEAP[b+56],4);if(0<IHEAP[b+
+60]){var i=b+64,j=b+60;h=f;for(d=0;;){m=d==0?0:m;var k=1+m;_cio_write(d==0?f:h,IHEAP[IHEAP[i]+4*(0+m)],4);var m=m+1;if(k<IHEAP[j])d=1;else break}d=2}else d=5;h=d==2?h:f;IHEAP[g]=0-IHEAP[h+16]+IHEAP[h+24]+(0-IHEAP[g+8]);IHEAP[f+24]=IHEAP[f+16]+IHEAP[g+8];_cio_write(f,IHEAP[g],4);IHEAP[f+24]=IHEAP[f+16]+(IHEAP[g]+IHEAP[g+8]);_jp2_write_jp2h(b,f);h=IHEAP[b+4];IHEAP[a+8]=IHEAP[f+24]-IHEAP[f+16];IHEAP[f+24]+=4;_cio_write(f,1785737827,4);g=IHEAP[f+24]-IHEAP[f+16];_j2k_encode(h,f,e,c);e=0-IHEAP[f+16]+IHEAP[f+
+24]+(0-g);IHEAP[b+72]=g;IHEAP[b+76]=e;IHEAP[a]=IHEAP[b+76]+8;IHEAP[f+24]=IHEAP[f+16]+IHEAP[a+8];_cio_write(f,IHEAP[a],4);IHEAP[f+24]=IHEAP[f+16]+(IHEAP[a]+IHEAP[a+8]);if(IHEAP[a]!=0)b=1;else{_opj_event_msg(IHEAP[b],1,__str415);b=0}b=b;STACKTOP=a;return b}_jp2_encode.__index__=Runtime.getFunctionIndex(_jp2_encode,"_jp2_encode");
+function _jpt_read_VBAS_info(b,f){var e=null,c;c=f;e=_cio_read(b,1)&255;var a=e>>7==1;c<<=7;c=e&127|c;if(a){c=c;for(e=0;;){d=e==0?c:d;e=_cio_read(b,1)&255;var d=e&127|d<<7;if(e>>7==1)e=1;else break}c=d}return c}_jpt_read_VBAS_info.__index__=Runtime.getFunctionIndex(_jpt_read_VBAS_info,"_jpt_read_VBAS_info");function _jpt_init_msg_header(b){IHEAP[b]=0;IHEAP[b+4]=0;IHEAP[b+8]=0;IHEAP[b+12]=0;IHEAP[b+16]=0;IHEAP[b+20]=0;IHEAP[b+24]=0}
+_jpt_init_msg_header.__index__=Runtime.getFunctionIndex(_jpt_init_msg_header,"_jpt_init_msg_header");function _jpt_reinit_msg_header(b){IHEAP[b]=0;IHEAP[b+4]=0;IHEAP[b+16]=0;IHEAP[b+20]=0}_jpt_reinit_msg_header.__index__=Runtime.getFunctionIndex(_jpt_reinit_msg_header,"_jpt_reinit_msg_header");
+function _jpt_read_msg_header(b,f,e){var c,a,d,g;g=d=0;IHEAP[e]=0;IHEAP[e+4]=0;IHEAP[e+16]=0;IHEAP[e+20]=0;a=_cio_read(f,1)&255;c=a>>5&3;c=c==0?5:c==1?6:c==2?7:c==3?8:9;if(c==5)_opj_event_msg(b,1,__str23104);else if(c==6)g=d=0;else if(c==7){d=1;g=0}else if(c==8)g=d=1;if((a>>4&1)==1)IHEAP[e+4]=1;IHEAP[e]|=a&15;if(a>>7==1){b=_jpt_read_VBAS_info(f,IHEAP[e]);IHEAP[e]=b}if(d==1){IHEAP[e+8]=0;d=_jpt_read_VBAS_info(f,IHEAP[e+8]);IHEAP[e+8]=d}if(g==1){IHEAP[e+12]=0;g=_jpt_read_VBAS_info(f,IHEAP[e+12]);IHEAP[e+
+12]=g}g=_jpt_read_VBAS_info(f,IHEAP[e+16]);IHEAP[e+16]=g;g=_jpt_read_VBAS_info(f,IHEAP[e+20]);IHEAP[e+20]=g;if((IHEAP[e+8]&1)==1){IHEAP[e+24]=0;f=_jpt_read_VBAS_info(f,IHEAP[e+24]);IHEAP[e+24]=f}}_jpt_read_msg_header.__index__=Runtime.getFunctionIndex(_jpt_read_msg_header,"_jpt_read_msg_header");
+function _mct_encode(b,f,e,c){var a=null;if(0<c){c=(c>1?c:1)-0;for(a=0;;){a=a==0?0:l;l=0+a;var d=e+4*l,g=f+4*l,h=IHEAP[b+4*l],i=IHEAP[f+4*l],j=IHEAP[e+4*l],k=j-i,m=h-i;IHEAP[b+4*l]=j+h+i*2>>2;IHEAP[g]=k;IHEAP[d]=m;var l=a+1;if(l!=c)a=1;else break}}}_mct_encode.__index__=Runtime.getFunctionIndex(_mct_encode,"_mct_encode");
+function _mct_decode(b,f,e,c){var a=null;if(0<c){c=(c>1?c:1)-0;for(a=0;;){a=a==0?0:k;k=0+a;var d=e+4*k,g=f+4*k,h=IHEAP[f+4*k],i=IHEAP[e+4*k],j=IHEAP[b+4*k]-(i+h>>2);h=j+h;IHEAP[b+4*k]=j+i;IHEAP[g]=j;IHEAP[d]=h;var k=a+1;if(k!=c)a=1;else break}}}_mct_decode.__index__=Runtime.getFunctionIndex(_mct_decode,"_mct_decode");function _mct_getnorm(b){return FHEAP[_mct_norms+b*8]}_mct_getnorm.__index__=Runtime.getFunctionIndex(_mct_getnorm,"_mct_getnorm");
+function _mct_encode_real(b,f,e,c){var a=null;if(0<c){c=(c>1?c:1)-0;for(a=0;;){a=a==0?0:r;r=0+a;var d=e+4*r,g=f+4*r,h=IHEAP[b+4*r],i=IHEAP[f+4*r],j=IHEAP[e+4*r],k=2449*h,m=4809*i,l=934*j,n=1382*h,o=2714*i,p=4096*j;n=0-(o+(o&4096)>>13&4294967295)+(0-(n+(n&4096)>>13&4294967295))+(p+(p&4096)>>13&4294967295);h=4096*h;i=3430*i;j=666*j;j=0-(i+(i&4096)>>13&4294967295)+(h+(h&4096)>>13&4294967295)+(0-(j+(j&4096)>>13&4294967295));IHEAP[b+4*r]=(m+(m&4096)>>13&4294967295)+(k+(k&4096)>>13&4294967295)+(l+(l&4096)>>
+13&4294967295);IHEAP[g]=n;IHEAP[d]=j;var r=a+1;if(r!=c)a=1;else break}}}_mct_encode_real.__index__=Runtime.getFunctionIndex(_mct_encode_real,"_mct_encode_real");function _mct_decode_real(b,f,e,c){var a=null;if(0<c){c=(c>1?c:1)-0;for(a=0;;){a=a==0?0:m;m=0+a;var d=e+4*m,g=f+4*m,h=FHEAP[b+4*m],i=FHEAP[f+4*m],j=FHEAP[e+4*m],k=h-i*0.3441300094127655-j*0.714139997959137;i=h+i*1.7719999551773071;FHEAP[b+4*m]=h+j*1.4019999504089355;FHEAP[g]=k;FHEAP[d]=i;var m=a+1;if(m!=c)a=1;else break}}}
+_mct_decode_real.__index__=Runtime.getFunctionIndex(_mct_decode_real,"_mct_decode_real");function _mct_getnorm_real(b){return FHEAP[_mct_norms_real+b*8]}_mct_getnorm_real.__index__=Runtime.getFunctionIndex(_mct_getnorm_real,"_mct_getnorm_real");function _mqc_create(){return _malloc(104)}_mqc_create.__index__=Runtime.getFunctionIndex(_mqc_create,"_mqc_create");function _mqc_destroy(b){b!=0&&_free(b)}_mqc_destroy.__index__=Runtime.getFunctionIndex(_mqc_destroy,"_mqc_destroy");
+function _mqc_numbytes(b){return IHEAP[b+12]-IHEAP[b+16]}_mqc_numbytes.__index__=Runtime.getFunctionIndex(_mqc_numbytes,"_mqc_numbytes");function _mqc_init_enc(b,f){IHEAP[b+100]=b+24;IHEAP[b+4]=32768;IHEAP[b]=0;IHEAP[b+12]=f+-1;IHEAP[b+8]=12;if(IHEAP[IHEAP[b+12]]==255)IHEAP[b+8]=13;IHEAP[b+16]=f}_mqc_init_enc.__index__=Runtime.getFunctionIndex(_mqc_init_enc,"_mqc_init_enc");
+function _mqc_encode(b,f){var e,c,a=IHEAP[IHEAP[IHEAP[b+100]]+4]==f;a:do if(a){c=b;IHEAP[c+4]-=IHEAP[IHEAP[IHEAP[c+100]]];var d=c;if((IHEAP[c+4]&32768)==0){var g=IHEAP[IHEAP[IHEAP[c+100]]],h=c;if(IHEAP[d+4]<IHEAP[IHEAP[IHEAP[c+100]]])IHEAP[h+4]=g;else IHEAP[h]+=g;IHEAP[IHEAP[c+100]]=IHEAP[IHEAP[IHEAP[c+100]]+8];e=c;c=e+4;d=e;g=e+8;h=e+8;var i=e;for(e=e+4;;){IHEAP[c]<<=1;IHEAP[d]<<=1;IHEAP[g]+=-1;IHEAP[h]==0&&_mqc_byteout(i);if((IHEAP[e]&32768)!=0)break a}}else IHEAP[c]+=IHEAP[IHEAP[IHEAP[d+100]]]}else{c=
+b;IHEAP[c+4]-=IHEAP[IHEAP[IHEAP[c+100]]];d=IHEAP[IHEAP[IHEAP[c+100]]];g=c;if(IHEAP[c+4]<IHEAP[IHEAP[IHEAP[c+100]]])IHEAP[g]+=d;else IHEAP[g+4]=d;IHEAP[IHEAP[c+100]]=IHEAP[IHEAP[IHEAP[c+100]]+12];e=c;c=e+4;d=e;g=e+8;h=e+8;i=e;for(e=e+4;;){IHEAP[c]<<=1;IHEAP[d]<<=1;IHEAP[g]+=-1;IHEAP[h]==0&&_mqc_byteout(i);if((IHEAP[e]&32768)!=0)break a}}while(0)}_mqc_encode.__index__=Runtime.getFunctionIndex(_mqc_encode,"_mqc_encode");
+function _mqc_flush(b){var f;f=IHEAP[b+4]+IHEAP[b];IHEAP[b]|=65535;if(IHEAP[b]>=f)IHEAP[b]-=32768;IHEAP[b]<<=IHEAP[b+8];_mqc_byteout(b);IHEAP[b]<<=IHEAP[b+8];_mqc_byteout(b);if(IHEAP[IHEAP[b+12]]!=255)IHEAP[b+12]+=1}_mqc_flush.__index__=Runtime.getFunctionIndex(_mqc_flush,"_mqc_flush");
+function _mqc_byteout(b){if(IHEAP[IHEAP[b+12]]==255){IHEAP[b+12]+=1;IHEAP[IHEAP[b+12]]=IHEAP[b]>>>20&255;IHEAP[b]&=1048575;IHEAP[b+8]=7}else{var f=b+12,e=IHEAP[f];if((IHEAP[b]&134217728)==0){IHEAP[f]=e+1;IHEAP[IHEAP[b+12]]=IHEAP[b]>>>19&255;IHEAP[b]&=524287;IHEAP[b+8]=8}else{IHEAP[e]+=1;if(IHEAP[IHEAP[b+12]]==255){IHEAP[b]&=134217727;IHEAP[b+12]+=1;IHEAP[IHEAP[b+12]]=IHEAP[b]>>>20&255;IHEAP[b]&=1048575;IHEAP[b+8]=7}else{IHEAP[b+12]+=1;IHEAP[IHEAP[b+12]]=IHEAP[b]>>>19&255;IHEAP[b]&=524287;IHEAP[b+
+8]=8}}}}_mqc_byteout.__index__=Runtime.getFunctionIndex(_mqc_byteout,"_mqc_byteout");function _mqc_bypass_init_enc(b){IHEAP[b]=0;IHEAP[b+8]=8}_mqc_bypass_init_enc.__index__=Runtime.getFunctionIndex(_mqc_bypass_init_enc,"_mqc_bypass_init_enc");function _mqc_bypass_enc(b,f){IHEAP[b+8]+=-1;IHEAP[b]=(f<<IHEAP[b+8])+IHEAP[b];if(IHEAP[b+8]==0){IHEAP[b+12]+=1;IHEAP[IHEAP[b+12]]=IHEAP[b]&255;IHEAP[b+8]=8;if(IHEAP[IHEAP[b+12]]==255)IHEAP[b+8]=7;IHEAP[b]=0}}
+_mqc_bypass_enc.__index__=Runtime.getFunctionIndex(_mqc_bypass_enc,"_mqc_bypass_enc");function _mqc_bypass_flush_enc(b){var f=null;if(IHEAP[b+8]!=0){if(IHEAP[b+8]>0){var e=b+8,c=b+8,a=b;for(f=0;;){d=f==0?0:d;IHEAP[(f==0?b:a)+8]+=-1;IHEAP[b]+=d<<IHEAP[e];var d=d+1&1&255;if(IHEAP[c]>0)f=1;else break}f=2}else f=4;IHEAP[(f==2?a:b)+12]+=1;IHEAP[IHEAP[b+12]]=IHEAP[b]&255;IHEAP[b+8]=8;IHEAP[b]=0}return 1}_mqc_bypass_flush_enc.__index__=Runtime.getFunctionIndex(_mqc_bypass_flush_enc,"_mqc_bypass_flush_enc");
+function _mqc_reset_enc(b){var f=null;for(f=0;;){f=f==0?0:e;IHEAP[b+24+(0+f)*4]=_mqc_states;var e=f+1;if(e!=19)f=1;else break}IHEAP[b+24+72]=_mqc_states+1472;IHEAP[b+24+68]=_mqc_states+96;IHEAP[b+24+0]=_mqc_states+128}_mqc_reset_enc.__index__=Runtime.getFunctionIndex(_mqc_reset_enc,"_mqc_reset_enc");function _mqc_resetstates(b){var f=null;for(f=0;;){f=f==0?0:e;IHEAP[b+24+(0+f)*4]=_mqc_states;var e=f+1;if(e!=19)f=1;else break}}_mqc_resetstates.__index__=Runtime.getFunctionIndex(_mqc_resetstates,"_mqc_resetstates");
+function _mqc_setstate(b,f,e,c){IHEAP[b+24+f*4]=_mqc_states+(c*2+e)*16}_mqc_setstate.__index__=Runtime.getFunctionIndex(_mqc_setstate,"_mqc_setstate");function _mqc_restart_enc(b){var f=null,e;e=12-IHEAP[b+8];IHEAP[b]<<=IHEAP[b+8];var c=e>0;_mqc_byteout(b);if(c){c=b+8;var a=b+8;for(f=0;;){var d=(f==0?e:d)-IHEAP[c];IHEAP[b]<<=IHEAP[a];f=d>0;_mqc_byteout(b);if(f)f=1;else break}}return 1}_mqc_restart_enc.__index__=Runtime.getFunctionIndex(_mqc_restart_enc,"_mqc_restart_enc");
+function _mqc_restart_init_enc(b){IHEAP[b+100]=b+24;IHEAP[b+4]=32768;IHEAP[b]=0;IHEAP[b+8]=12;IHEAP[b+12]+=-1;if(IHEAP[IHEAP[b+12]]==255)IHEAP[b+8]=13}_mqc_restart_init_enc.__index__=Runtime.getFunctionIndex(_mqc_restart_init_enc,"_mqc_restart_init_enc");
+function _mqc_erterm_enc(b){var f=null,e=11-IHEAP[b+8]+1;if(e>0){var c=b+8,a=b+8,d=b;for(f=0;;){g=f==0?e:g;IHEAP[b]<<=IHEAP[(f==0?b:d)+8];IHEAP[c]=0;_mqc_byteout(b);var g=g-IHEAP[a];if(g>0)f=1;else break}f=2}else f=4;if(IHEAP[IHEAP[(f==2?d:b)+12]]!=255)_mqc_byteout(b)}_mqc_erterm_enc.__index__=Runtime.getFunctionIndex(_mqc_erterm_enc,"_mqc_erterm_enc");function _mqc_segmark_enc(b){var f=null;IHEAP[b+100]=b+24+72;for(f=0;;){f=f==0?0:e;_mqc_encode(b,(1+f)%2);var e=f+1;if(e!=4)f=1;else break}}
+_mqc_segmark_enc.__index__=Runtime.getFunctionIndex(_mqc_segmark_enc,"_mqc_segmark_enc");function _mqc_init_dec(b,f,e){IHEAP[b+100]=b+24;IHEAP[b+16]=f;IHEAP[b+20]=f+e;IHEAP[b+12]=f;IHEAP[b]=e==0?16711680:IHEAP[IHEAP[b+12]]<<16;_mqc_bytein(b);IHEAP[b]<<=7;IHEAP[b+8]-=7;IHEAP[b+4]=32768}_mqc_init_dec.__index__=Runtime.getFunctionIndex(_mqc_init_dec,"_mqc_init_dec");
+function _mqc_bytein(b){var f;if(IHEAP[b+12]!=IHEAP[b+20]){f=IHEAP[b+12]+1!=IHEAP[b+20]?IHEAP[IHEAP[b+12]+1]:255;if(IHEAP[IHEAP[b+12]]==255)if(f>143){IHEAP[b]+=65280;IHEAP[b+8]=8}else{IHEAP[b+12]+=1;IHEAP[b]+=f*512;IHEAP[b+8]=7}else{IHEAP[b+12]+=1;IHEAP[b]+=f*256;IHEAP[b+8]=8}}else{IHEAP[b]+=65280;IHEAP[b+8]=8}}_mqc_bytein.__index__=Runtime.getFunctionIndex(_mqc_bytein,"_mqc_bytein");
+function _mqc_decode(b){var f,e,c;IHEAP[b+4]-=IHEAP[IHEAP[IHEAP[b+100]]];var a=unSign(IHEAP[b],32,true)>>>unSign(16,32,true);f=IHEAP[IHEAP[IHEAP[b+100]]];a=unSign(a,32,true)<unSign(f,32,true);a:do if(a){f=b;e=IHEAP[f+4]<IHEAP[IHEAP[IHEAP[f+100]]];IHEAP[f+4]=IHEAP[IHEAP[IHEAP[f+100]]];var d=IHEAP[IHEAP[IHEAP[f+100]]+4];if(e){e=d;IHEAP[IHEAP[f+100]]=IHEAP[IHEAP[IHEAP[f+100]]+8]}else{e=1-d;IHEAP[IHEAP[f+100]]=IHEAP[IHEAP[IHEAP[f+100]]+12]}f=e;c=b;e=c+8;d=c;var g=c+4,h=c,i=c+8;for(c=c+4;;){IHEAP[e]==
+0&&_mqc_bytein(d);IHEAP[g]<<=1;IHEAP[h]<<=1;IHEAP[i]+=-1;if(!(IHEAP[c]<32768))break a}}else{IHEAP[b]-=IHEAP[IHEAP[IHEAP[b+100]]]<<16;f=b;if((IHEAP[b+4]&32768)==0){f=f;e=IHEAP[IHEAP[IHEAP[f+100]]+4];if(IHEAP[f+4]<IHEAP[IHEAP[IHEAP[f+100]]]){e=1-e;IHEAP[IHEAP[f+100]]=IHEAP[IHEAP[IHEAP[f+100]]+12]}else{e=e;IHEAP[IHEAP[f+100]]=IHEAP[IHEAP[IHEAP[f+100]]+8]}f=e;c=b;e=c+8;d=c;g=c+4;h=c;i=c+8;for(c=c+4;;){IHEAP[e]==0&&_mqc_bytein(d);IHEAP[g]<<=1;IHEAP[h]<<=1;IHEAP[i]+=-1;if(!(IHEAP[c]<32768))break a}}else f=
+IHEAP[IHEAP[IHEAP[f+100]]+4]}while(0);return f}_mqc_decode.__index__=Runtime.getFunctionIndex(_mqc_decode,"_mqc_decode");function _opj_version(){return __str27105}_opj_version.__index__=Runtime.getFunctionIndex(_opj_version,"_opj_version");
+function _opj_create_decompress(b){var f,e;e=_calloc(1,28);var c=e!=0;a:do if(c){IHEAP[e+8]=1;f=b;f=f==0?5:f==1?5:f==2?6:7;b:do if(f==7){_free(e);f=0;break a}else if(f==5){f=_j2k_create_decompress(e);IHEAP[e+16]=f;if(IHEAP[e+16]!=0)break b;_free(e);f=0;break a}else if(f==6){f=_jp2_create_decompress(e);IHEAP[e+20]=f;if(IHEAP[e+20]!=0)break b;_free(e);f=0;break a}while(0);IHEAP[e+12]=b;f=e}else f=0;while(0);return f}_opj_create_decompress.__index__=Runtime.getFunctionIndex(_opj_create_decompress,"_opj_create_decompress");
+function _opj_destroy_decompress(b){var f;if(b!=0){f=IHEAP[b+12];f=f==0?1:f==1?1:f==2?2:3;if(f==1)_j2k_destroy_decompress(IHEAP[b+16]);else f==2&&_jp2_destroy_decompress(IHEAP[b+20]);_free(b)}}_opj_destroy_decompress.__index__=Runtime.getFunctionIndex(_opj_destroy_decompress,"_opj_destroy_decompress");function _opj_set_default_decoder_parameters(b){if(b!=0){_llvm_memset_p0i8_i32(b,0,8224,1,0);IHEAP[b+4]=0;IHEAP[b]=0;IHEAP[b+8220]=0;IHEAP[b+8200]=-1;IHEAP[b+8204]=-1}}
+_opj_set_default_decoder_parameters.__index__=Runtime.getFunctionIndex(_opj_set_default_decoder_parameters,"_opj_set_default_decoder_parameters");
+function _opj_setup_decoder(b,f){var e,c,a,d=b!=0;a:do if(d){if(f==0)break a;e=IHEAP[b+12];if(e==0)e=6;else if(e==1)e=6;else if(e==2)e=7;else break a;if(e==6){a=IHEAP[b+16];c=f;e=a;c=c;if(a==0)break a;if(c==0)break a;a=_calloc(1,116);IHEAP[a+36]=IHEAP[c];IHEAP[a+40]=IHEAP[c+4];IHEAP[a+44]=IHEAP[c+8220];IHEAP[e+64]=a}else if(e==7){c=f;e=IHEAP[b+20];c=c=c;e=IHEAP[e+4];c=c;if(e==0)break a;if(c==0)break a;a=_calloc(1,116);IHEAP[a+36]=IHEAP[c];IHEAP[a+40]=IHEAP[c+4];IHEAP[a+44]=IHEAP[c+8220];IHEAP[e+64]=
+a}}while(0)}_opj_setup_decoder.__index__=Runtime.getFunctionIndex(_opj_setup_decoder,"_opj_setup_decoder");function _opj_decode(b,f){return _opj_decode_with_info(b,f,0)}_opj_decode.__index__=Runtime.getFunctionIndex(_opj_decode,"_opj_decode");
+function _opj_decode_with_info(b,f,e){var c,a,d=b!=0;a:do if(d){if(f==0){c=1;break a}c=IHEAP[b+12];if(c==0)c=4;else if(c==1)c=5;else if(c==2)c=6;else{c=1;break a}if(c==4){a=_j2k_decode(IHEAP[b+16],f,e);c=2;break a}else if(c==5){a=_j2k_decode_jpt_stream(IHEAP[b+16],f,e);c=2;break a}else if(c==6){a=_jp2_decode(IHEAP[b+20],f,e);c=2;break a}}else c=1;while(0);if(c==1)a=0;return a}_opj_decode_with_info.__index__=Runtime.getFunctionIndex(_opj_decode_with_info,"_opj_decode_with_info");
+function _opj_create_compress(b){var f,e,c;c=_calloc(1,28);var a=c!=0;a:do if(a){IHEAP[c+8]=0;f=b;f=f==0?6:f==2?7:8;b:do if(f==8){_free(c);f=0;break a}else if(f==6){f=c;e=_calloc(1,76);if(e!=0)IHEAP[e]=f;IHEAP[c+16]=e;if(IHEAP[c+16]!=0)break b;_free(c);f=0;break a}else if(f==7){f=_jp2_create_compress(c);IHEAP[c+20]=f;if(IHEAP[c+20]!=0)break b;_free(c);f=0;break a}while(0);IHEAP[c+12]=b;f=c}else f=0;while(0);return f}_opj_create_compress.__index__=Runtime.getFunctionIndex(_opj_create_compress,"_opj_create_compress");
+function _opj_destroy_compress(b){var f;if(b!=0){f=IHEAP[b+12];f=f==0?1:f==2?2:3;if(f==1)_j2k_destroy_compress(IHEAP[b+16]);else f==2&&_jp2_destroy_compress(IHEAP[b+20]);_free(b)}}_opj_destroy_compress.__index__=Runtime.getFunctionIndex(_opj_destroy_compress,"_opj_destroy_compress");
+function _opj_set_default_encoder_parameters(b){if(b!=0){_llvm_memset_p0i8_i32(b,0,18692,1,0);IHEAP[b+18676]=0;IHEAP[b+18680]=0;IHEAP[b+5592]=6;IHEAP[b+18684]=0;IHEAP[b+5596]=64;IHEAP[b+5600]=64;IHEAP[b+44]=0;IHEAP[b+5612]=-1;IHEAP[b+18188]=1;IHEAP[b+18192]=1;IHEAP[b+18688]=0;IHEAP[b+18196]=-1;IHEAP[b+18200]=-1;FHEAP[b+4792]=0;IHEAP[b+4788]=0;IHEAP[b+20]=0;IHEAP[b+24]=0;IHEAP[b+28]=0}}_opj_set_default_encoder_parameters.__index__=Runtime.getFunctionIndex(_opj_set_default_encoder_parameters,"_opj_set_default_encoder_parameters");
+function _opj_setup_encoder(b,f,e){var c,a=b!=0;a:do if(a){if(f==0)break a;if(e==0)break a;c=IHEAP[b+12];if(c==0)c=3;else if(c==2)c=4;else break a;if(c==3)_j2k_setup_encoder(IHEAP[b+16],f,e);else c==4&&_jp2_setup_encoder(IHEAP[b+20],f,e)}while(0)}_opj_setup_encoder.__index__=Runtime.getFunctionIndex(_opj_setup_encoder,"_opj_setup_encoder");function _opj_encode(b,f,e,c){c!=0&&_opj_event_msg(b,2,__str128);return _opj_encode_with_info(b,f,e,0)}
+_opj_encode.__index__=Runtime.getFunctionIndex(_opj_encode,"_opj_encode");function _opj_encode_with_info(b,f,e,c){var a,d,g=b!=0;a:do if(g){if(f==0){a=1;break a}if(e==0){a=1;break a}a=IHEAP[b+12];if(a==0)a=5;else if(a==2)a=6;else{a=1;break a}if(a==5){_j2k_encode(IHEAP[b+16],f,e,c);d=1;a=3;break a}else if(a==6){d=_jp2_encode(IHEAP[b+20],f,e,c);a=3;break a}}else a=1;while(0);if(a==1)d=0;return d}_opj_encode_with_info.__index__=Runtime.getFunctionIndex(_opj_encode_with_info,"_opj_encode_with_info");
+function _opj_destroy_cstr_info(b){var f=null;if(b!=0){if(0<IHEAP[b+48]*IHEAP[b+44]){var e=b+88,c=b+44,a=b+48;for(f=0;;){h=f==0?0:h;f=1+h;var d=0+h,g=IHEAP[e];_free(IHEAP[g+572*d]);_free(IHEAP[g+572*d+548]);_free(IHEAP[g+572*d+568]);var h=h+1;if(f<IHEAP[a]*IHEAP[c])f=1;else break}}_free(IHEAP[b+88]);_free(IHEAP[b+68]);_free(IHEAP[b+60])}}_opj_destroy_cstr_info.__index__=Runtime.getFunctionIndex(_opj_destroy_cstr_info,"_opj_destroy_cstr_info");
+function _pi_create_decode(b,f,e){var c,a=null,d,g,h,i,j;i=IHEAP[f+108]+5588*e;h=_calloc(IHEAP[i+420]+1,232);if(h!=0){g=0;var k=i+420,m=f+68,l=f+68,n=f+48,o=f+56,p=f+52,r=f+60,q=b+4,u=f+48,s=f+56,t=b+8,v=f+52,y=f+60,x=b+12,w=b+16,C=b+16,z=i+5584,A=b+24,B=b+24,D=b+16,J=b+16,E=i+12,N=i+424,Q=i+12,S=b+16,P=i+8,G=i+428,F=i+428,L=i+428,K=i+428,H=i+428;i=i+428;a:for(;;){if(!(g<IHEAP[k]+1)){c=4;break a}var M=e%IHEAP[m];c=e/IHEAP[l]|0;var I=IHEAP[o]*M+IHEAP[n],O=IHEAP[b];IHEAP[h+232*g+200]=I>O?I:O;I=IHEAP[r]*
+c+IHEAP[p];O=IHEAP[q];IHEAP[h+232*g+204]=I>O?I:O;M=IHEAP[s]*(M+1)+IHEAP[u];I=IHEAP[t];IHEAP[h+232*g+208]=M<I?M:I;c=IHEAP[y]*(c+1)+IHEAP[v];M=IHEAP[x];IHEAP[h+232*g+212]=c<M?c:M;IHEAP[h+232*g+192]=IHEAP[w];c=_calloc(IHEAP[C],16);IHEAP[h+232*g+196]=c;if(IHEAP[h+232*g+196]!=0)a=3;else{c=6;break a}b:for(;;){var R=a==25?ca:0;c=a==25?qa:0;var T=a==25?ha:0;if(!(c<IHEAP[h+192]))break b;var V=IHEAP[h+232*g+196];ha=IHEAP[z];IHEAP[V+16*c]=IHEAP[IHEAP[A]+48*c];IHEAP[V+16*c+4]=IHEAP[IHEAP[B]+48*c+4];IHEAP[V+16*
+c+8]=IHEAP[ha+1076*c+4];var ba=_calloc(IHEAP[V+16*c+8],16);IHEAP[V+16*c+12]=ba;ba=h;if(IHEAP[V+16*c+12]==0){c=10;break a}ca=IHEAP[V+16*c];I=(IHEAP[ba+200]+-1+ca)/ca|0;ca=IHEAP[V+16*c+4];M=(IHEAP[h+204]+-1+ca)/ca|0;ca=IHEAP[V+16*c];qa=(IHEAP[h+208]+-1+ca)/ca|0;ca=IHEAP[V+16*c+4];O=(IHEAP[h+212]+-1+ca)/ca|0;if(IHEAP[V+16*c+8]>R){var fa=IHEAP[V+16*c+8];a=11}else a=9;var ca=a==11?fa:R;if(0<IHEAP[V+16*c+8]){M=M+-1;I=I+-1;O=O+-1;var U=V+16*c+8;V=V+16*c+12;var $=ha+1076*c;for(a=13;;){pa=a==13?T:pa;da=a==
+13?0:da;a=ha+1076*c+944+da*4;var Y=ha+1076*c+812+da*4,Z=da*-1+-1,W=da+1;j=IHEAP[V]+16*da;if((IHEAP[$]&1)!=0){IHEAP[j]=IHEAP[Y];IHEAP[j+4]=IHEAP[a]}else{IHEAP[j]=15;IHEAP[j+4]=15}var X=IHEAP[U];a=I+(1<<X+Z)>>X+Z;Y=M+(1<<X+Z)>>X+Z;var aa=qa+-1+(1<<X+Z)>>X+Z;Z=O+(1<<X+Z)>>X+Z;var ka=a>>IHEAP[j]<<IHEAP[j];X=Y>>IHEAP[j+4]<<IHEAP[j+4];var ga=IHEAP[j];ga=aa+-1+(1<<ga)>>ga<<IHEAP[j];var ja=IHEAP[j+4];ja=Z+-1+(1<<ja)>>ja<<IHEAP[j+4];if(a==aa)a=34;else{var ia=ga-ka>>IHEAP[j];a=16}IHEAP[j+8]=a==16?ia:0;if(Y==
+Z)a=35;else{var ea=ja-X>>IHEAP[j+4];a=18}IHEAP[j+12]=a==18?ea:0;if(IHEAP[j+12]*IHEAP[j+8]>pa){var oa=IHEAP[j+12]*IHEAP[j+8];a=20}else a=30;var pa=a==30?pa:oa,da=da+1;if(W<IHEAP[U])a=22;else break}a=23}else a=31;var ha=a==23?pa:T,qa=c+1;a=25}IHEAP[h+232*g+20]=1;IHEAP[h+232*g+16]=IHEAP[h+232*g+20]*T;IHEAP[h+232*g+12]=IHEAP[h+232*g+16]*IHEAP[D];IHEAP[h+232*g+8]=IHEAP[h+232*g+12]*R;if(g==0){c=_calloc(R*IHEAP[J]*IHEAP[E]*T,2);IHEAP[h+232*g+4]=c;if(IHEAP[h+232*g+4]==0){c=27;break a}}else IHEAP[h+232*g+
+4]=IHEAP[h+232*(g-1)+4];c=IHEAP[N]==0;IHEAP[h+232*g+40]=1;M=g;if(c){IHEAP[h+232*M+44]=0;IHEAP[h+232*g+44+4]=0;IHEAP[h+232*g+44+8]=IHEAP[Q];IHEAP[h+232*g+44+12]=R;IHEAP[h+232*g+44+16]=IHEAP[S];IHEAP[h+232*g+44+36]=IHEAP[P]}else{IHEAP[h+232*g+44]=IHEAP[G+M*148];IHEAP[h+232*g+44+4]=IHEAP[F+g*148+4];IHEAP[h+232*g+44+8]=IHEAP[L+g*148+8];IHEAP[h+232*g+44+12]=IHEAP[K+g*148+12];IHEAP[h+232*g+44+16]=IHEAP[H+g*148+16];IHEAP[h+232*g+44+36]=IHEAP[i+g*148+36]}IHEAP[h+232*g+44+20]=0;IHEAP[h+232*g+44+24]=0;IHEAP[h+
+232*g+44+28]=T;g+=1;c=2}if(c==4)d=h;else if(c==6){_pi_destroy(h,f,e);d=0}else if(c==10){_pi_destroy(ba,f,e);d=0}else if(c==27){_pi_destroy(h,f,e);d=0}}else d=0;return d}_pi_create_decode.__index__=Runtime.getFunctionIndex(_pi_create_decode,"_pi_create_decode");
+function _pi_destroy(b,f,e){var c,a=null,d;d=IHEAP[f+108]+5588*e;if(b!=0){if(0<IHEAP[d+420]+1){f=b+192;e=b+192;d=d+420;a=0;a:for(;;){m=a==0?0:m;a=0+m;var g=b+232*a+196,h=b+232*a+196,i=1+m,j=IHEAP[b+232*a+196]!=0;b:do if(j){if(0<IHEAP[f]){a=2;c=3}else{a=2;c=4}for(;;)if(c==3){k=a==6?k:0;a=k+1;c=IHEAP[g];IHEAP[c+16*k+12]!=0&&_free(IHEAP[c+16*k+12]);var k=k+1;if(a<IHEAP[e]){a=6;c=3}else{a=7;c=4}}else if(c==4){_free(IHEAP[h]);break b}}while(0);var m=m+1;if(i<IHEAP[d]+1)a=8;else break a}}IHEAP[b+4]!=0&&
+_free(IHEAP[b+4]);_free(b)}}_pi_destroy.__index__=Runtime.getFunctionIndex(_pi_destroy,"_pi_destroy");
+function _pi_initialise_encode(b,f,e,c){var a,d=null,g,h,i,j,k;j=IHEAP[f+108]+5588*e;i=_calloc(IHEAP[j+420]+1,232);if(i!=0){IHEAP[i]=IHEAP[f+16];h=0;var m=f+68,l=f+68,n=f+48,o=f+56,p=f+52,r=f+60,q=b+4,u=f+48,s=f+56,t=b+8,v=f+52,y=f+60,x=b+12,w=b+16,C=b+16,z=b+24,A=b+24,B=b+16;c=c==1;var D=b+16;d=1;a:for(;;){a=d==46?S:0;var J=d==46?P:0;if(!(h<IHEAP[j+420]+1)){a=4;break a}d=e%IHEAP[m];var E=e/IHEAP[l]|0,N=IHEAP[o]*d+IHEAP[n],Q=IHEAP[b];IHEAP[i+232*h+200]=N>Q?N:Q;N=IHEAP[r]*E+IHEAP[p];Q=IHEAP[q];IHEAP[i+
+232*h+204]=N>Q?N:Q;d=IHEAP[s]*(d+1)+IHEAP[u];N=IHEAP[t];IHEAP[i+232*h+208]=d<N?d:N;E=IHEAP[y]*(E+1)+IHEAP[v];d=IHEAP[x];IHEAP[i+232*h+212]=E<d?E:d;IHEAP[i+232*h+192]=IHEAP[w];E=_calloc(IHEAP[C],16);IHEAP[i+232*h+196]=E;if(IHEAP[i+232*h+196]!=0)d=3;else{a=6;break a}b:for(;;){var S=d==25?K:a;E=d==25?aa:0;var P=d==25?X:J;if(!(E<IHEAP[i+232*h+192]))break b;var G=IHEAP[i+232*h+196];X=IHEAP[j+5584];IHEAP[G+16*E]=IHEAP[IHEAP[z]+48*E];IHEAP[G+16*E+4]=IHEAP[IHEAP[A]+48*E+4];IHEAP[G+16*E+8]=IHEAP[X+1076*E+
+4];K=_malloc(IHEAP[G+16*E+8]*16);IHEAP[G+16*E+12]=K;if(IHEAP[G+16*E+12]==0){a=10;break a}K=IHEAP[G+16*E];Q=(IHEAP[i+232*h+200]+-1+K)/K|0;K=IHEAP[G+16*E+4];N=(IHEAP[i+232*h+204]+-1+K)/K|0;K=IHEAP[G+16*E];aa=(IHEAP[i+232*h+208]+-1+K)/K|0;K=IHEAP[G+16*E+4];var F=(IHEAP[i+232*h+212]+-1+K)/K|0;if(IHEAP[G+16*E+8]>S){var L=IHEAP[G+16*E+8];d=11}else d=9;var K=d==11?L:S;if(0<IHEAP[G+16*E+8]){N=N+-1;Q=Q+-1;F=F+-1;var H=G+16*E+8;G=G+16*E+12;var M=X+1076*E;for(d=13;;){Z=d==13?P:Z;W=d==13?0:W;d=X+1076*E+944+W*
+4;var I=X+1076*E+812+W*4,O=W*-1+-1,R=W+1;k=IHEAP[G]+16*W;if((IHEAP[M]&1)!=0){IHEAP[k]=IHEAP[I];IHEAP[k+4]=IHEAP[d]}else{IHEAP[k]=15;IHEAP[k+4]=15}var T=IHEAP[H];d=Q+(1<<T+O)>>T+O;I=N+(1<<T+O)>>T+O;var V=aa+-1+(1<<T+O)>>T+O;O=F+(1<<T+O)>>T+O;var ba=d>>IHEAP[k]<<IHEAP[k];T=I>>IHEAP[k+4]<<IHEAP[k+4];var fa=IHEAP[k];fa=V+-1+(1<<fa)>>fa<<IHEAP[k];var ca=IHEAP[k+4];ca=O+-1+(1<<ca)>>ca<<IHEAP[k+4];if(d==V)d=54;else{var U=fa-ba>>IHEAP[k];d=16}IHEAP[k+8]=d==16?U:0;if(I==O)d=55;else{var $=ca-T>>IHEAP[k+4];
+d=18}IHEAP[k+12]=d==18?$:0;if(IHEAP[k+12]*IHEAP[k+8]>Z){var Y=IHEAP[k+12]*IHEAP[k+8];d=20}else d=50;var Z=d==50?Z:Y,W=W+1;if(R<IHEAP[H])d=22;else break}d=23}else d=51;var X=d==23?Z:P,aa=E+1;d=25}IHEAP[i+232*h+20]=1;IHEAP[i+232*h+16]=IHEAP[i+232*h+20]*P;IHEAP[i+232*h+12]=IHEAP[i+232*h+16]*IHEAP[B];IHEAP[i+232*h+8]=IHEAP[i+232*h+12]*S;if(0<IHEAP[i+192]){d=8;a=26}else{d=8;a=27}b:for(;;)if(a==26){ia=d==37?ia:0;a=ia+1;d=IHEAP[i+196];if(0<IHEAP[d+16*ia+8]){J=d+16*ia+8;E=d+16*ia+12;N=d+16*ia;Q=d+16*ia+4;
+for(d=28;;){ja=d==28?0:ja;d=ja*-1+-1;F=ja+1;G=IHEAP[E];H=(1<<IHEAP[G+16*ja]+IHEAP[J]+d)*IHEAP[N];G=(1<<IHEAP[G+16*ja+4]+IHEAP[J]+d)*IHEAP[Q];if(IHEAP[i+224]!=0){var ka=IHEAP[i+224];ka=ka<H?ka:H;d=30}else d=29;IHEAP[i+232*h+224]=d==30?ka:H;if(IHEAP[i+228]!=0){var ga=IHEAP[i+228];ga=ga<G?ga:G;d=32}else d=56;IHEAP[i+232*h+228]=d==32?ga:G;var ja=ja+1;if(F<IHEAP[J])d=34;else break}}var ia=ia+1;if(a<IHEAP[i+192]){d=37;a=26;continue b}d=38;a=27}else if(a==27){a=h==0?39:40;break b}if(a==39){a=_calloc(IHEAP[i+
+232*h+8]*IHEAP[j+12],2);IHEAP[i+232*h+4]=a;if(IHEAP[i+232*h+4]==0){a=42;break a}}else if(a==40)IHEAP[i+232*h+4]=IHEAP[i+232*(h-1)+4];J=IHEAP[j+424]!=0;b:do if(J){if(IHEAP[f]==0)if(IHEAP[f]!=0|c^1){a=43;break b}IHEAP[j+428+h*148+76]=IHEAP[j+428+h*148+4];IHEAP[j+428+h*148+92]=IHEAP[j+428+h*148+16];IHEAP[j+428+h*148+72]=IHEAP[j+428+h*148];IHEAP[j+428+h*148+88]=IHEAP[j+428+h*148+12];IHEAP[j+428+h*148+84]=IHEAP[j+428+h*148+8];IHEAP[j+428+h*148+36]=IHEAP[j+428+h*148+32];if(!(h>0)){a=46;break b}if(IHEAP[j+
+428+h*148+84]>IHEAP[j+428+(h-1)*148+84]){var ea=IHEAP[j+428+(h-1)*148+84];d=47}else d=45;IHEAP[j+428+h*148+68]=d==47?ea:0;a=46;break b}else a=43;while(0);if(a==43){IHEAP[j+428+h*148+76]=0;IHEAP[j+428+h*148+92]=IHEAP[D];IHEAP[j+428+h*148+72]=0;IHEAP[j+428+h*148+88]=S;IHEAP[j+428+h*148+68]=0;IHEAP[j+428+h*148+84]=IHEAP[j+12];IHEAP[j+428+h*148+36]=IHEAP[j+8]}IHEAP[j+428+h*148+80]=0;IHEAP[j+428+h*148+96]=P;IHEAP[j+428+h*148+100]=IHEAP[i+232*h+200];IHEAP[j+428+h*148+104]=IHEAP[i+232*h+208];IHEAP[j+428+
+h*148+108]=IHEAP[i+232*h+204];IHEAP[j+428+h*148+112]=IHEAP[i+232*h+212];IHEAP[j+428+h*148+116]=IHEAP[i+232*h+224];IHEAP[j+428+h*148+120]=IHEAP[i+232*h+228];h+=1;d=46;a=2}if(a==4)g=i;else if(a==6){_pi_destroy(i,f,e);g=0}else if(a==10){_pi_destroy(i,f,e);g=0}else if(a==42){_pi_destroy(i,f,e);g=0}}else g=0;return g}_pi_initialise_encode.__index__=Runtime.getFunctionIndex(_pi_initialise_encode,"_pi_initialise_encode");
+function _pi_next(b){var f,e=null,c,a,d,g,h,i,j,k,m,l,n,o,p,r,q,u,s,t,v,y,x;e=IHEAP[b+44+36];f=e==0?144:e==1?145:e==2?146:e==3?147:e==4?148:e==-1?149:150;if(f==150)x=0;else if(f==144){g=a=0;d=IHEAP[b+40]!=0;a:do{if(d){IHEAP[b+40]=0;IHEAP[b+36]=IHEAP[b+44+20];f=1}else{a=IHEAP[b+196]+16*IHEAP[b+24];f=0}break a}while(0);a:for(;;){b:do if(f==1){if(!(IHEAP[b+36]<IHEAP[b+44+8])){f=3;break a}IHEAP[b+28]=IHEAP[b+44];f=4;break b}else if(f==0){IHEAP[b+32]+=1;f=13;break b}while(0);b:for(;;){c:do if(f==4){var w=
+b;if(!(IHEAP[b+28]<IHEAP[b+44+12])){f=6;break b}IHEAP[b+24]=IHEAP[w+44+4];f=7;break c}else if(f==13)if(IHEAP[b+32]<IHEAP[b+44+28]){f=14;break b}else{f=10;break c}while(0);for(;;)if(f==7){var C=b;if(!(IHEAP[b+24]<IHEAP[b+44+16])){f=9;break}a=IHEAP[b+196]+16*IHEAP[C+24];if(IHEAP[b+28]>=IHEAP[a+8])f=10;else{f=11;break}}else if(f==10){IHEAP[b+24]+=1;f=7}if(f==9){IHEAP[C+28]+=1;f=4}else if(f==11){d=IHEAP[a+12]+16*IHEAP[b+28];if(IHEAP[b]==0)IHEAP[b+44+28]=IHEAP[d+12]*IHEAP[d+8];IHEAP[b+32]=IHEAP[b+44+24];
+f=13}}if(f==6){IHEAP[w+36]+=1;f=1}else if(f==14){g=IHEAP[b+12]*IHEAP[b+28]+IHEAP[b+8]*IHEAP[b+36]+IHEAP[b+16]*IHEAP[b+24]+IHEAP[b+20]*IHEAP[b+32];if(IHEAP[IHEAP[b+4]+2*g]!=0)f=0;else{f=15;break a}}}if(f==3)y=0;else if(f==15)y=IHEAP[IHEAP[b+4]+2*g]=1;x=y}else if(f==145){g=a=0;d=IHEAP[b+40]!=0;a:do{if(d){IHEAP[b+40]=0;IHEAP[b+28]=IHEAP[b+44];f=19}else{a=IHEAP[b+196]+16*IHEAP[b+24];f=18}break a}while(0);a:for(;;){b:do if(f==19){if(!(IHEAP[b+28]<IHEAP[b+44+12])){f=21;break a}IHEAP[b+36]=IHEAP[b+44+20];
+f=22;break b}else if(f==18){IHEAP[b+32]+=1;f=31;break b}while(0);b:for(;;){c:do if(f==22){var z=b;if(!(IHEAP[b+36]<IHEAP[b+44+8])){f=24;break b}IHEAP[b+24]=IHEAP[z+44+4];f=25;break c}else if(f==31)if(IHEAP[b+32]<IHEAP[b+44+28]){f=32;break b}else{f=28;break c}while(0);for(;;)if(f==25){var A=b;if(!(IHEAP[b+24]<IHEAP[b+44+16])){f=27;break}a=IHEAP[b+196]+16*IHEAP[A+24];if(IHEAP[b+28]>=IHEAP[a+8])f=28;else{f=29;break}}else if(f==28){IHEAP[b+24]+=1;f=25}if(f==27){IHEAP[A+36]+=1;f=22}else if(f==29){d=IHEAP[a+
+12]+16*IHEAP[b+28];if(IHEAP[b]==0)IHEAP[b+44+28]=IHEAP[d+12]*IHEAP[d+8];IHEAP[b+32]=IHEAP[b+44+24];f=31}}if(f==24){IHEAP[z+28]+=1;f=19}else if(f==32){g=IHEAP[b+12]*IHEAP[b+28]+IHEAP[b+8]*IHEAP[b+36]+IHEAP[b+16]*IHEAP[b+24]+IHEAP[b+20]*IHEAP[b+32];if(IHEAP[IHEAP[b+4]+2*g]!=0)f=18;else{f=33;break a}}}if(f==21)c=0;else if(f==33)c=IHEAP[IHEAP[b+4]+2*g]=1;x=c}else if(f==146){d=g=a=0;h=IHEAP[b+40]!=0;a:do if(h){IHEAP[b+40]=0;IHEAP[b+224]=0;IHEAP[b+228]=0;if(0<IHEAP[b+192]){e=35;b:for(;;){h=e==35?0:E;i=
+1+h;a=IHEAP[b+196]+16*(0+h);if(0<IHEAP[a+8]){e=36;f=37}else{e=36;f=38}for(;;)if(f==37){k=e==43?J:0;j=k+1;u=k*-1+-1;p=IHEAP[a+12];q=(1<<IHEAP[p+16*k]+IHEAP[a+8]+u)*IHEAP[a];u=(1<<IHEAP[p+16*k+4]+IHEAP[a+8]+u)*IHEAP[a+4];if(IHEAP[b+224]!=0){r=IHEAP[b+224];var B=r<q?r:q;e=39}else e=37;IHEAP[b+224]=e==39?B:q;if(IHEAP[b+228]!=0){q=IHEAP[b+228];var D=q<u?q:u;e=41}else e=160;IHEAP[b+228]=e==41?D:u;var J=k+1;k=p+16*k;if(j<IHEAP[a+8]){e=43;f=37}else{g=k;e=44;f=38}}else if(f==38){var E=h+1;if(i<IHEAP[b+192]){e=
+38;continue b}else break b}}}if(IHEAP[b]==0){IHEAP[b+44+60]=IHEAP[b+204];IHEAP[b+44+52]=IHEAP[b+200];IHEAP[b+44+64]=IHEAP[b+212];IHEAP[b+44+56]=IHEAP[b+208]}IHEAP[b+28]=IHEAP[b+44];f=48;break a}else f=70;while(0);a:for(;;){b:do if(f==48){if(!(IHEAP[b+28]<IHEAP[b+44+12])){f=50;break a}IHEAP[b+220]=IHEAP[b+44+60];f=51;break b}else if(f==70){IHEAP[b+36]+=1;f=68;break b}while(0);b:for(;;){c:do if(f==51){var N=b;if(!(IHEAP[b+220]<IHEAP[b+44+64])){f=53;break b}IHEAP[b+216]=IHEAP[N+44+52];f=54;break c}else if(f==
+68)if(IHEAP[b+36]<IHEAP[b+44+8]){f=69;break b}else{f=58;break c}while(0);for(;;){if(f==54){var Q=b;if(!(IHEAP[b+216]<IHEAP[b+44+56])){f=56;break}IHEAP[b+24]=IHEAP[Q+44+4]}else if(f==58)IHEAP[b+24]+=1;h=b;if(IHEAP[b+24]<IHEAP[b+44+16]){a=IHEAP[b+196]+16*IHEAP[h+24];if(IHEAP[b+28]>=IHEAP[a+8])f=58;else{g=IHEAP[a+12]+16*IHEAP[b+28];l=IHEAP[a+8]+-1+(0-IHEAP[b+28]);i=IHEAP[a]<<l;h=IHEAP[b+200];i=i;n=(h+-1+i)/i|0;i=IHEAP[a+4]<<l;h=IHEAP[b+204];i=i;o=(h+-1+i)/i|0;i=IHEAP[a]<<l;h=IHEAP[b+208];i=i;h=(h+-1+
+i)/i|0;j=IHEAP[a+4]<<l;i=IHEAP[b+212];j=j;i=(i+-1+j)/j|0;j=l+IHEAP[g];k=l+IHEAP[g+4];if(IHEAP[b+220]%(IHEAP[a+4]<<k)!=0){if(IHEAP[b+220]!=IHEAP[b+204]){f=58;continue}if((o<<l)%(1<<k)==0){f=58;continue}}if(IHEAP[b+216]%(IHEAP[a]<<j)!=0){if(IHEAP[b+216]!=IHEAP[b+200]){f=58;continue}if((n<<l)%(1<<j)==0){f=58;continue}}if(IHEAP[g+8]==0)f=58;else if(IHEAP[g+12]==0)f=58;else if(n==h)f=58;else if(o==i)f=58;else{f=67;break}}}else{i=b+216;IHEAP[i]=0-IHEAP[b+216]%IHEAP[b+224]+IHEAP[h+224]+IHEAP[i];f=54}}if(f==
+56){h=b+220;IHEAP[h]=0-IHEAP[b+220]%IHEAP[b+228]+IHEAP[Q+228]+IHEAP[h];f=51}else if(f==67){i=IHEAP[a]<<l;h=IHEAP[b+216];j=i;i=IHEAP[g];h=(h+-1+j)/j|0;i=i;i=h>>i;j=IHEAP[g];h=n;j=j;h=i-(h>>j);j=IHEAP[a+4]<<l;i=IHEAP[b+220];k=j;j=IHEAP[g+4];i=(i+-1+k)/k|0;j=j;j=i>>j;k=IHEAP[g+4];i=o;k=k;i=j-(i>>k);IHEAP[b+32]=IHEAP[g+8]*i+h;IHEAP[b+36]=IHEAP[b+44+20];f=68}}if(f==53){IHEAP[N+28]+=1;f=48}else if(f==69){d=IHEAP[b+12]*IHEAP[b+28]+IHEAP[b+8]*IHEAP[b+36]+IHEAP[b+16]*IHEAP[b+24]+IHEAP[b+20]*IHEAP[b+32];if(IHEAP[IHEAP[b+
+4]+2*d]!=0)f=70;else{f=71;break a}}}if(f==50)m=0;else if(f==71)m=IHEAP[IHEAP[b+4]+2*d]=1;x=m}else if(f==147){k=j=i=0;p=IHEAP[b+40]!=0;a:do{if(p){IHEAP[b+40]=0;IHEAP[b+224]=0;IHEAP[b+228]=0;if(0<IHEAP[b+192]){e=74;b:for(;;){p=e==74?0:F;u=1+p;i=IHEAP[b+196]+16*(0+p);if(0<IHEAP[i+8]){e=75;f=76}else{e=75;f=77}for(;;)if(f==76){s=e==82?G:0;r=s+1;N=s*-1+-1;m=IHEAP[i+12];l=(1<<IHEAP[m+16*s]+IHEAP[i+8]+N)*IHEAP[i];N=(1<<IHEAP[m+16*s+4]+IHEAP[i+8]+N)*IHEAP[i+4];if(IHEAP[b+224]!=0){Q=IHEAP[b+224];var S=Q<l?
+Q:l;e=78}else e=76;IHEAP[b+224]=e==78?S:l;if(IHEAP[b+228]!=0){l=IHEAP[b+228];var P=l<N?l:N;e=80}else e=171;IHEAP[b+228]=e==80?P:N;var G=s+1;s=m+16*s;if(r<IHEAP[i+8]){e=82;f=76}else{j=s;e=83;f=77}}else if(f==77){var F=p+1;if(u<IHEAP[b+192]){e=77;continue b}else break b}}}if(IHEAP[b]==0){IHEAP[b+44+60]=IHEAP[b+204];IHEAP[b+44+52]=IHEAP[b+200];IHEAP[b+44+64]=IHEAP[b+212];IHEAP[b+44+56]=IHEAP[b+208]}IHEAP[b+220]=IHEAP[b+44+60];f=87}else{i=IHEAP[b+196]+16*IHEAP[b+24];f=73}break a}while(0);a:for(;;){b:do if(f==
+87){if(!(IHEAP[b+220]<IHEAP[b+44+64])){f=89;break a}IHEAP[b+216]=IHEAP[b+44+52];f=90;break b}else if(f==73){IHEAP[b+36]+=1;f=106;break b}while(0);b:for(;;){c:do if(f==90){d=b;if(!(IHEAP[b+216]<IHEAP[b+44+56])){f=92;break b}IHEAP[b+24]=IHEAP[d+44+4];f=93;break c}else if(f==106)if(IHEAP[b+36]<IHEAP[b+44+8]){f=107;break b}else{f=98;break c}while(0);for(;;){if(f==93){h=b;if(!(IHEAP[b+24]<IHEAP[b+44+16])){f=95;break}i=IHEAP[b+196]+16*IHEAP[h+24];IHEAP[b+28]=IHEAP[b+44]}else if(f==98)IHEAP[b+28]+=1;u=IHEAP[b+
+28];r=IHEAP[i+8];p=IHEAP[b+44+12];r=r;s=p;m=r;l=b;if(u<(p<r?s:m)){j=IHEAP[i+12]+16*IHEAP[l+28];g=IHEAP[i+8]+-1+(0-IHEAP[b+28]);q=IHEAP[i]<<g;p=IHEAP[b+200];q=q;q=(p+-1+q)/q|0;u=IHEAP[i+4]<<g;p=IHEAP[b+204];u=u;t=(p+-1+u)/u|0;u=IHEAP[i]<<g;p=IHEAP[b+208];u=u;p=(p+-1+u)/u|0;r=IHEAP[i+4]<<g;u=IHEAP[b+212];r=r;u=(u+-1+r)/r|0;r=g+IHEAP[j];s=g+IHEAP[j+4];if(IHEAP[b+220]%(IHEAP[i+4]<<s)!=0){if(IHEAP[b+220]!=IHEAP[b+204]){f=98;continue}if((t<<g)%(1<<s)==0){f=98;continue}}if(IHEAP[b+216]%(IHEAP[i]<<r)!=0){if(IHEAP[b+
+216]!=IHEAP[b+200]){f=98;continue}if((q<<g)%(1<<r)==0){f=98;continue}}if(IHEAP[j+8]==0)f=98;else if(IHEAP[j+12]==0)f=98;else if(q==p)f=98;else if(t==u)f=98;else{f=105;break}}else{IHEAP[l+24]+=1;f=93}}if(f==95){p=b+216;IHEAP[p]=0-IHEAP[b+216]%IHEAP[b+224]+IHEAP[h+224]+IHEAP[p];f=90}else if(f==105){u=IHEAP[i]<<g;p=IHEAP[b+216];r=u;u=IHEAP[j];p=(p+-1+r)/r|0;u=u;u=p>>u;r=IHEAP[j];p=q;r=r;p=u-(p>>r);r=IHEAP[i+4]<<g;u=IHEAP[b+220];s=r;r=IHEAP[j+4];u=(u+-1+s)/s|0;r=r;r=u>>r;s=IHEAP[j+4];u=t;s=s;u=r-(u>>
+s);IHEAP[b+32]=IHEAP[j+8]*u+p;IHEAP[b+36]=IHEAP[b+44+20];f=106}}if(f==92){p=b+220;IHEAP[p]=0-IHEAP[b+220]%IHEAP[b+228]+IHEAP[d+228]+IHEAP[p];f=87}else if(f==107){k=IHEAP[b+12]*IHEAP[b+28]+IHEAP[b+8]*IHEAP[b+36]+IHEAP[b+16]*IHEAP[b+24]+IHEAP[b+20]*IHEAP[b+32];if(IHEAP[IHEAP[b+4]+2*k]!=0)f=73;else{f=108;break a}}}if(f==89)a=0;else if(f==108)a=IHEAP[IHEAP[b+4]+2*k]=1;x=a}else if(f==148){g=d=a=0;h=IHEAP[b+40]!=0;a:do{if(h){IHEAP[b+40]=0;IHEAP[b+24]=IHEAP[b+44+4];f=111}else{a=IHEAP[b+196]+16*IHEAP[b+24];
+f=110}break a}while(0);a:for(;;){b:do if(f==111){if(!(IHEAP[b+24]<IHEAP[b+44+16])){f=113;break a}a=IHEAP[b+196]+16*IHEAP[b+24];IHEAP[b+224]=0;IHEAP[b+228]=0;if(0<IHEAP[a+8]){for(e=114;;){m=e==114?0:L;d=1+m;t=-1+m*-1;h=0+m;q=IHEAP[a+12];l=(1<<IHEAP[q+16*h]+IHEAP[a+8]+t)*IHEAP[a];t=(1<<IHEAP[q+16*h+4]+IHEAP[a+8]+t)*IHEAP[a+4];if(IHEAP[b+224]!=0){u=IHEAP[b+224];u=u<l?u:l;e=116}else e=115;IHEAP[b+224]=e==116?u:l;if(IHEAP[b+228]!=0){r=IHEAP[b+228];r=r<t?r:t;e=118}else e=184;IHEAP[b+228]=e==118?r:t;var L=
+m+1,K=q+16*h;if(d<IHEAP[a+8])e=120;else break}d=K}if(IHEAP[b]==0){IHEAP[b+44+60]=IHEAP[b+204];IHEAP[b+44+52]=IHEAP[b+200];IHEAP[b+44+64]=IHEAP[b+212];IHEAP[b+44+56]=IHEAP[b+208]}IHEAP[b+220]=IHEAP[b+44+60];f=124;break b}else if(f==110){IHEAP[b+36]+=1;f=140;break b}while(0);b:for(;;){c:do if(f==124){k=b;if(!(IHEAP[b+220]<IHEAP[b+44+64])){f=126;break b}IHEAP[b+216]=IHEAP[k+44+52];f=127;break c}else if(f==140)if(IHEAP[b+36]<IHEAP[b+44+8]){f=141;break b}else{f=132;break c}while(0);for(;;){if(f==127){p=
+b;if(!(IHEAP[b+216]<IHEAP[b+44+56])){f=129;break}IHEAP[b+28]=IHEAP[p+44]}else if(f==132)IHEAP[b+28]+=1;q=IHEAP[b+28];m=IHEAP[a+8];h=IHEAP[b+44+12];l=m;t=h;N=l;m=b;if(q<(h<l?t:N)){d=IHEAP[a+12]+16*IHEAP[m+28];j=IHEAP[a+8]+-1+(0-IHEAP[b+28]);q=IHEAP[a]<<j;h=IHEAP[b+200];q=q;s=(h+-1+q)/q|0;q=IHEAP[a+4]<<j;h=IHEAP[b+204];q=q;v=(h+-1+q)/q|0;q=IHEAP[a]<<j;h=IHEAP[b+208];q=q;h=(h+-1+q)/q|0;m=IHEAP[a+4]<<j;q=IHEAP[b+212];m=m;q=(q+-1+m)/m|0;m=j+IHEAP[d];l=j+IHEAP[d+4];if(IHEAP[b+220]%(IHEAP[a+4]<<l)!=0){if(IHEAP[b+
+220]!=IHEAP[b+204]){f=132;continue}if((v<<j)%(1<<l)==0){f=132;continue}}if(IHEAP[b+216]%(IHEAP[a]<<m)!=0){if(IHEAP[b+216]!=IHEAP[b+200]){f=132;continue}if((s<<j)%(1<<m)==0){f=132;continue}}if(IHEAP[d+8]==0)f=132;else if(IHEAP[d+12]==0)f=132;else if(s==h)f=132;else if(v==q)f=132;else{f=139;break}}else{h=b+216;IHEAP[h]=0-IHEAP[b+216]%IHEAP[b+224]+IHEAP[m+224]+IHEAP[h];f=127}}if(f==129){h=b+220;IHEAP[h]=0-IHEAP[b+220]%IHEAP[b+228]+IHEAP[p+228]+IHEAP[h];f=124}else if(f==139){q=IHEAP[a]<<j;h=IHEAP[b+216];
+m=q;q=IHEAP[d];h=(h+-1+m)/m|0;q=q;q=h>>q;m=IHEAP[d];h=s;m=m;h=q-(h>>m);m=IHEAP[a+4]<<j;q=IHEAP[b+220];l=m;m=IHEAP[d+4];q=(q+-1+l)/l|0;m=m;m=q>>m;l=IHEAP[d+4];q=v;l=l;q=m-(q>>l);IHEAP[b+32]=IHEAP[d+8]*q+h;IHEAP[b+36]=IHEAP[b+44+20];f=140}}if(f==126){IHEAP[k+24]+=1;f=111}else if(f==141){g=IHEAP[b+12]*IHEAP[b+28]+IHEAP[b+8]*IHEAP[b+36]+IHEAP[b+16]*IHEAP[b+24]+IHEAP[b+20]*IHEAP[b+32];if(IHEAP[IHEAP[b+4]+2*g]!=0)f=110;else{f=142;break a}}}if(f==113)i=0;else if(f==142)i=IHEAP[IHEAP[b+4]+2*g]=1;x=i}else if(f==
+149)x=0;return x}_pi_next.__index__=Runtime.getFunctionIndex(_pi_next,"_pi_next");
+function _pi_create_encode(b,f,e,c,a,d,g,h){var i=STACKTOP;STACKTOP+=4;_memset(i,0,4);var j,k=null,m;e=IHEAP[f+108]+5588*e+428+c*148;IHEAP[b+232*c+40]=1;IHEAP[b+232*c+44+36]=IHEAP[e+36];var l=IHEAP[e+36];j=l==4?42:l==0?43:l==3?44:l==1?45:l==2?46:l==-1?47:0;a:do if(j==42){_llvm_memcpy_p0i8_p0i8_i32(i,__str29106,4,1,0);j=0;break a}else if(j==43){_llvm_memcpy_p0i8_p0i8_i32(i,__str130,4,1,0);j=0;break a}else if(j==44){_llvm_memcpy_p0i8_p0i8_i32(i,__str231,4,1,0);j=0;break a}else if(j==45){_llvm_memcpy_p0i8_p0i8_i32(i,
+__str332,4,1,0);j=0;break a}else if(j==46){_llvm_memcpy_p0i8_p0i8_i32(i,__str433,4,1,0);j=0;break a}else if(j==47){j=m=1;break a}while(0);if(j==0){m=IHEAP[f+16]!=0;a:do if(m){m=IHEAP[f]!=0;b:do if(m)j=3;else{j=g==1?2:3;break b}while(0);if(j==3)if(IHEAP[f]==0){j=5;break a}if(!(a<h)){j=8;break a}f=d;g=a==0;h=d;m=a==0;l=d;var n=a==0,o=d,p=a==0;d=d;a=a==0;for(k=7;;){s=k==7?0:s;u=k==7?1:u;var r=3+s*-1;j=IHEAP[i+r];if(j==67){k=9;j=48}else if(j==82){k=9;j=49}else if(j==76){k=9;j=50}else if(j==80){k=9;j=
+51}else{k=9;j=39}if(j==48)if(r>f){IHEAP[b+232*c+44+4]=IHEAP[e+76];IHEAP[b+232*c+44+16]=IHEAP[e+92];k=10}else if(g){IHEAP[e+132]=IHEAP[e+76];IHEAP[b+232*c+44+4]=IHEAP[e+132];IHEAP[b+232*c+44+16]=IHEAP[e+132]+1;IHEAP[e+132]+=1;k=12}else{j=IHEAP[e+132];if(u==1){k=e;if(j==IHEAP[e+92]){IHEAP[e+132]=IHEAP[k+76];IHEAP[b+232*c+44+4]=IHEAP[e+132];IHEAP[b+232*c+44+16]=IHEAP[e+132]+1;IHEAP[e+132]+=1;k=13}else{IHEAP[b+232*c+44+4]=IHEAP[k+132];IHEAP[b+232*c+44+16]=IHEAP[e+132]+1;IHEAP[e+132]+=1;k=14}}else{IHEAP[b+
+232*c+44+4]=j-1;IHEAP[b+232*c+44+16]=IHEAP[e+132];k=15}}else if(j==49)if(r>h){IHEAP[b+232*c+44]=IHEAP[e+72];IHEAP[b+232*c+44+12]=IHEAP[e+88];k=16}else if(m){IHEAP[e+128]=IHEAP[e+72];IHEAP[b+232*c+44]=IHEAP[e+128];IHEAP[b+232*c+44+12]=IHEAP[e+128]+1;IHEAP[e+128]+=1;k=17}else{j=IHEAP[e+128];if(u==1){k=e;if(j==IHEAP[e+88]){IHEAP[e+128]=IHEAP[k+72];IHEAP[b+232*c+44]=IHEAP[e+128];IHEAP[b+232*c+44+12]=IHEAP[e+128]+1;IHEAP[e+128]+=1;k=18}else{IHEAP[b+232*c+44]=IHEAP[k+128];IHEAP[b+232*c+44+12]=IHEAP[e+128]+
+1;IHEAP[e+128]+=1;k=19}}else{IHEAP[b+232*c+44]=j-1;IHEAP[b+232*c+44+12]=IHEAP[e+128];k=20}}else if(j==50)if(r>l){IHEAP[b+232*c+44+20]=IHEAP[e+68];IHEAP[b+232*c+44+8]=IHEAP[e+84];k=21}else if(n){IHEAP[e+124]=IHEAP[e+68];IHEAP[b+232*c+44+20]=IHEAP[e+124];IHEAP[b+232*c+44+8]=IHEAP[e+124]+1;IHEAP[e+124]+=1;k=22}else{j=IHEAP[e+124];if(u==1){k=e;if(j==IHEAP[e+84]){IHEAP[e+124]=IHEAP[k+68];IHEAP[b+232*c+44+20]=IHEAP[e+124];IHEAP[b+232*c+44+8]=IHEAP[e+124]+1;IHEAP[e+124]+=1;k=23}else{IHEAP[b+232*c+44+20]=
+IHEAP[k+124];IHEAP[b+232*c+44+8]=IHEAP[e+124]+1;IHEAP[e+124]+=1;k=24}}else{IHEAP[b+232*c+44+20]=j-1;IHEAP[b+232*c+44+8]=IHEAP[e+124];k=25}}else if(j==51){j=IHEAP[e+36];j=j==0?52:j==1?52:53;if(j==53)if(r>o){IHEAP[b+232*c+44+52]=IHEAP[e+100];IHEAP[b+232*c+44+60]=IHEAP[e+108];IHEAP[b+232*c+44+56]=IHEAP[e+104];IHEAP[b+232*c+44+64]=IHEAP[e+112];k=31}else if(p){IHEAP[e+140]=IHEAP[e+100];IHEAP[e+144]=IHEAP[e+108];IHEAP[b+232*c+44+52]=IHEAP[e+140];IHEAP[b+232*c+44+56]=IHEAP[e+116]+IHEAP[e+140]+(0-IHEAP[e+
+140]%IHEAP[e+116]);IHEAP[b+232*c+44+60]=IHEAP[e+144];IHEAP[b+232*c+44+64]=IHEAP[e+120]+IHEAP[e+144]+(0-IHEAP[e+144]%IHEAP[e+120]);IHEAP[e+140]=IHEAP[b+232*c+44+56];IHEAP[e+144]=IHEAP[b+232*c+44+64];k=32}else{k=IHEAP[e+140];r=e;if(u==1){j=e;if(k>=IHEAP[r+104]){var q=e;if(IHEAP[j+144]>=IHEAP[e+112]){IHEAP[e+144]=IHEAP[q+108];IHEAP[b+232*c+44+60]=IHEAP[e+144];IHEAP[b+232*c+44+64]=IHEAP[e+120]+IHEAP[e+144]+(0-IHEAP[e+144]%IHEAP[e+120]);IHEAP[e+144]=IHEAP[b+232*c+44+64];k=33}else{IHEAP[b+232*c+44+60]=
+IHEAP[q+144];IHEAP[b+232*c+44+64]=IHEAP[e+120]+IHEAP[e+144]+(0-IHEAP[e+144]%IHEAP[e+120]);IHEAP[e+144]=IHEAP[b+232*c+44+64];k=35}q=k==35?0:1;IHEAP[e+140]=IHEAP[e+100];IHEAP[b+232*c+44+52]=IHEAP[e+140];IHEAP[b+232*c+44+56]=IHEAP[e+116]+IHEAP[e+140]+(0-IHEAP[e+140]%IHEAP[e+116]);IHEAP[e+140]=IHEAP[b+232*c+44+56];k=36}else{IHEAP[b+232*c+44+52]=IHEAP[j+140];IHEAP[b+232*c+44+56]=IHEAP[e+116]+IHEAP[e+140]+(0-IHEAP[e+140]%IHEAP[e+116]);IHEAP[e+140]=IHEAP[b+232*c+44+56];IHEAP[b+232*c+44+60]=0-IHEAP[e+120]+
+IHEAP[e+144]+(0-IHEAP[e+144]%IHEAP[e+120]);IHEAP[b+232*c+44+64]=IHEAP[e+144];k=37}}else{IHEAP[b+232*c+44+52]=0-IHEAP[r+116]+k+(0-IHEAP[e+140]%IHEAP[e+116]);IHEAP[b+232*c+44+56]=IHEAP[e+140];IHEAP[b+232*c+44+60]=0-IHEAP[e+120]+IHEAP[e+144]+(0-IHEAP[e+144]%IHEAP[e+120]);IHEAP[b+232*c+44+64]=IHEAP[e+144];k=38}}else if(j==52)if(r>d){IHEAP[b+232*c+44+24]=IHEAP[e+80];IHEAP[b+232*c+44+28]=IHEAP[e+96];k=26}else if(a){IHEAP[e+136]=IHEAP[e+80];IHEAP[b+232*c+44+24]=IHEAP[e+136];IHEAP[b+232*c+44+28]=IHEAP[e+
+136]+1;IHEAP[e+136]+=1;k=27}else{j=IHEAP[e+136];if(u==1){k=e;if(j==IHEAP[e+96]){IHEAP[e+136]=IHEAP[k+80];IHEAP[b+232*c+44+24]=IHEAP[e+136];IHEAP[b+232*c+44+28]=IHEAP[e+136]+1;IHEAP[e+136]+=1;k=28}else{IHEAP[b+232*c+44+24]=IHEAP[k+136];IHEAP[b+232*c+44+28]=IHEAP[e+136]+1;IHEAP[e+136]+=1;k=29}}else{IHEAP[b+232*c+44+24]=j-1;IHEAP[b+232*c+44+28]=IHEAP[e+136];k=30}}}var u=k==9?u:k==12?u:k==13?1:k==14?0:k==15?u:k==10?u:k==17?u:k==18?1:k==19?0:k==20?u:k==16?u:k==22?u:k==23?1:k==24?0:k==25?u:k==21?u:k==31?
+u:k==38?u:k==36?q:k==37?0:k==32?u:k==26?u:k==30?u:k==29?0:k==28?1:u,s=s+1;if(s!=4)k=39;else break}j=8;break a}else j=5;while(0);if(j==5){IHEAP[b+232*c+44]=IHEAP[e+72];IHEAP[b+232*c+44+12]=IHEAP[e+88];IHEAP[b+232*c+44+4]=IHEAP[e+76];IHEAP[b+232*c+44+16]=IHEAP[e+92];IHEAP[b+232*c+44+20]=IHEAP[e+68];IHEAP[b+232*c+44+8]=IHEAP[e+84];IHEAP[b+232*c+44+24]=IHEAP[e+80];IHEAP[b+232*c+44+28]=IHEAP[e+96];IHEAP[b+232*c+44+52]=IHEAP[e+100];IHEAP[b+232*c+44+60]=IHEAP[e+108];IHEAP[b+232*c+44+56]=IHEAP[e+104];IHEAP[b+
+232*c+44+64]=IHEAP[e+112]}m=0}b=m;STACKTOP=i;return b}_pi_create_encode.__index__=Runtime.getFunctionIndex(_pi_create_encode,"_pi_create_encode");function _raw_create(){return _malloc(28)}_raw_create.__index__=Runtime.getFunctionIndex(_raw_create,"_raw_create");function _raw_destroy(b){b!=0&&_free(b)}_raw_destroy.__index__=Runtime.getFunctionIndex(_raw_destroy,"_raw_destroy");function _raw_numbytes(b){return IHEAP[b+16]-IHEAP[b+20]}_raw_numbytes.__index__=Runtime.getFunctionIndex(_raw_numbytes,"_raw_numbytes");
+function _raw_init_dec(b,f,e){IHEAP[b+20]=f;IHEAP[b+8]=e;IHEAP[b+12]=0;IHEAP[b]=0;IHEAP[b+4]=0}_raw_init_dec.__index__=Runtime.getFunctionIndex(_raw_init_dec,"_raw_init_dec");function _raw_decode(b){if(IHEAP[b+4]==0){IHEAP[b+4]=8;if(IHEAP[b+12]==IHEAP[b+8])IHEAP[b]=-1;else{if(IHEAP[b]==255)IHEAP[b+4]=7;IHEAP[b]=IHEAP[IHEAP[b+20]+IHEAP[b+12]];IHEAP[b+12]+=1}}IHEAP[b+4]+=-1;return IHEAP[b]>>IHEAP[b+4]&1}_raw_decode.__index__=Runtime.getFunctionIndex(_raw_decode,"_raw_decode");
+function _t1_create(b){var f;f=_malloc(40);if(f!=0){IHEAP[f]=b;b=_malloc(104);IHEAP[f+4]=b;b=_malloc(28);IHEAP[f+8]=b;IHEAP[f+12]=0;IHEAP[f+16]=0;IHEAP[f+28]=0;IHEAP[f+32]=0;f=f}else f=0;return f}_t1_create.__index__=Runtime.getFunctionIndex(_t1_create,"_t1_create");function _t1_destroy(b){var f;if(b!=0){f=IHEAP[b+4];f!=0&&_free(f);f=IHEAP[b+8];f!=0&&_free(f);_free(IHEAP[b+12]);_free(IHEAP[b+16]);_free(b)}}_t1_destroy.__index__=Runtime.getFunctionIndex(_t1_destroy,"_t1_destroy");
+function _t1_encode_cblks(b,f,e){var c=STACKTOP;STACKTOP+=4;_memset(c,0,4);var a,d=null,g;FHEAP[f+28]=0;var h=f+16,i=f+20,j=e+5584,k=b+12,m=b+20,l=b+24,n=f+16;e=e+16;d=0;a:for(;;){Tb=d==6?Tb:0;var o=0+Tb,p=_mct_norms_real+o*8,r=_mct_norms+o*8;if(!(o<IHEAP[h])){a=3;break a}var q=IHEAP[i],u=IHEAP[j],s=IHEAP[q+32*o+8]-IHEAP[q+32*o],t=q+32*o+16,v=q+32*o+24;q=q+32*o+20;var y=u+1076*o+16;o=u+1076*o+20;d=2;b:for(;;){u=d==9?lb:0;var x=u+-1,w=u*-1+-1;if(!(u<IHEAP[t]))break b;lb=IHEAP[q];var C=lb+124*u+20,
+z=lb+124*u+16,A=lb+124*u+24;d=5;c:for(;;){var B=d==11?zb:0,D=lb+124*u+28+B*32+20,J=lb+124*u+28+B*32+4,E=lb+124*u+28+B*32+16,N=lb+124*u+28+B*32+28,Q=lb+124*u+28+B*32;if(B<IHEAP[A])d=7;else break c;d:for(;;){zb=d==14?Xb:0;if(!(zb<IHEAP[C]*IHEAP[z]))break d;var S=IHEAP[D];Xb=S+36*zb+24;var P=S+36*zb+20;S=S+36*zb+16;d=10;e:for(;;){var G=d==200?Xa:0;if(!(G<IHEAP[P]*IHEAP[S]))break e;Xa=IHEAP[Xb];var F=IHEAP[Xa+48*G+12]-IHEAP[Q],L=IHEAP[Xa+48*G+16]-IHEAP[J];if((IHEAP[E]&1)!=0){var K=IHEAP[q];K=0-IHEAP[K+
+124*x]+IHEAP[K+124*u+-116]+F;d=15}else d=13;F=d==15?K:F;if((IHEAP[E]&2)!=0){var H=IHEAP[q];H=0-IHEAP[H+124*u+-120]+IHEAP[H+124*u+-112]+L;d=17}else d=204;L=d==17?H:L;if(_allocate_buffers(b,IHEAP[Xa+48*G+20]-IHEAP[Xa+48*G+12],IHEAP[Xa+48*G+24]-IHEAP[Xa+48*G+16])==0){a=20;break a}var M=IHEAP[k],I=IHEAP[m],O=IHEAP[l],R=IHEAP[v],T=IHEAP[o]==1,V=0<O;f:do if(T){if(!V)break f;if(0<I){d=22;a=26}else{d=22;a=27}g:for(;;)if(a==26){U=d==29?U:0;var ba=I*U,fa=F+s*(L+U);for(d=26;;){ca=d==26?0:ca;IHEAP[M+4*(ba+ca)]=
+IHEAP[R+4*(fa+ca)]<<6;var ca=ca+1;if(ca!=I)d=28;else break}var U=U+1;if(U<O){d=29;a=26}else break g}else if(a==27){var $=(d==27?$:0)+1;if($<O)a=d=27;else break g}}else{if(!V)break f;if(0<I){d=25;a=32}else{d=25;a=33}g:for(;;)if(a==32){W=d==35?W:0;ba=I*W;fa=F+s*(L+W);for(d=32;;){Z=d==32?0:Z;d=M+4*(ba+Z);var Y=IHEAP[R+4*(fa+Z)];Y=(67108864/(_floorf(FHEAP[N]*8192)|0)|0)*Y;IHEAP[d]=(Y+(Y&4096)>>13&4294967295)>>5;var Z=Z+1;if(Z!=I)d=34;else break}var W=W+1;if(W<O){d=35;a=32}else break g}else if(a==33){var X=
+(d==33?X:0)+1;if(X<O)a=d=33;else break g}}while(0);var aa=IHEAP[E],ka=IHEAP[t];R=IHEAP[o];M=FHEAP[N];L=IHEAP[y];var ga=IHEAP[n],ja=IHEAP[e];F=IHEAP[b+4];IHEAP[c]=0;I=0<IHEAP[b+24]*IHEAP[b+20];f:do if(I){O=IHEAP[b+12];d=IHEAP[b+24]*IHEAP[b+20];T=d>1?d:1;d=37;g:for(;;){ea=d==37?0:ea;ia=d==37?0:ia;d=IHEAP[O+4*ea];V=0-d;d=d>-1?d:V;var ia=ia>d?ia:d,ea=ea+1;if(ea!=T)d=38;else break g}if(ia==0){d=39;break f}if(ia>1){d=40;a=42}else{d=40;a=43}for(;;)if(a==42){da=d==42?da:0;var oa=da+1,pa=(d==42?pa:ia)>>1,
+da=da+1;if(pa>1)a=d=42;else{d=42;a=43}}else if(a==43){var ha=(d==40?0:oa)+-5;d=43;break f}}else d=23;while(0);IHEAP[Xa+48*G+28]=d==43?ha:d==39?0:0;d=IHEAP[Xa+48*G+28];IHEAP[F+24+4]=_mqc_states;IHEAP[F+24+8]=_mqc_states;IHEAP[F+24+12]=_mqc_states;IHEAP[F+24+16]=_mqc_states;IHEAP[F+24+20]=_mqc_states;IHEAP[F+24+24]=_mqc_states;IHEAP[F+24+28]=_mqc_states;IHEAP[F+24+32]=_mqc_states;IHEAP[F+24+36]=_mqc_states;IHEAP[F+24+40]=_mqc_states;IHEAP[F+24+44]=_mqc_states;IHEAP[F+24+48]=_mqc_states;IHEAP[F+24+52]=
+_mqc_states;IHEAP[F+24+56]=_mqc_states;IHEAP[F+24+60]=_mqc_states;IHEAP[F+24+64]=_mqc_states;I=d-1;IHEAP[F+24+72]=_mqc_states+1472;IHEAP[F+24+68]=_mqc_states+96;IHEAP[F+24]=_mqc_states+128;d=IHEAP[Xa+48*G];IHEAP[F+100]=F+24;IHEAP[F+4]=32768;IHEAP[F]=0;IHEAP[F+12]=d+-1;IHEAP[F+8]=12;if(IHEAP[IHEAP[F+12]]==255)IHEAP[F+8]=13;IHEAP[F+16]=d;if(I>=0){O=(L&1)!=0;R=R==1;T=f+28;V=(L&4)!=0;ba=(L&1)!=0;fa=(L&1)!=0;Y=(L&2)!=0;var qa=(L&32)!=0,wa=(L&8)!=0,la=(L&8)!=0,ma=(L&8)!=0,ua=(L&8)!=0;d=ja!=0^1;ja=d|ga==
+3^1;var ra=_dwt_norms+aa*80+(w+ka)*8,ta=ba^1,va=F,na=F+8,ya=F+24,Ba=F+100,Na=F+4,Pa=F,Ja=F+8,xa=F+12,Ya=F+12,$a=F+8,db=F+12,Ta=F+16;ga=d|ga==3^1;ka=_dwt_norms_real+aa*80+(w+ka)*8;var Ma=b+24,Ga=b+20,Ca=b+24,Ka=b+24,Ra=b+36,Oa=b+16,Ia=b+20,Sa=b+12,Aa=b+20,La=b+4,Ea=aa<<8,Ha=b+36,Qa=b+24,Da=b+24,eb=b+20,za=b+24,Wa=b+24,Ua=b+36,ab=b+16,tb=b+20,Ab=b+12,jb=b+20,Db=b+4,ub=b+24;aa=aa<<8;var Eb=F+24+72,Ub=F+100,ob=Xa+48*G+28,Bb=Xa+48*G+8;d=45;f:for(;;){mb=d==45?0:mb;fb=d==45?2:fb;Vb=d==45?0:Vb;bb=d==45?I:
+bb;var vb=mb+1,hb=IHEAP[Bb],Za=bb<IHEAP[ob]-4;g:do if(Za){if(fb<2){d=47;a=48}else{d=47;a=49}break g}else{d=46;a=48}while(0);if(a==48){var wb=d==46?0:O;d=48}Za=((d==47?0:wb)?1:0)&255;a=fb==0?51:fb==1?89:fb==2?201:53;g:do if(a==51){IHEAP[c]=0;g=1<<bb+6;if(!(0<IHEAP[Ma]))break g;var cb=Za==1,pb=Za==1;d=bb+6;var kb=d>6,Fb=d-6;d=52;h:for(;;){var qb=d==56?ac:0,xb=qb*4,Lb=xb+1,Gb=xb+3,rb=xb+4;if(0<IHEAP[Ga]){d=54;a=55}else{d=54;a=56}i:for(;;)if(a==55){Mb=d==59?Mb:0;a=Mb+1;d=55;j:for(;;){var Fa=d==85?Hb:
+0,Va=Lb+Fa,sa=xb+Fa;if(!(sa<rb))break j;if(!(sa<IHEAP[Ca]))break j;k:do if(ma){if(sa==Gb){d=61;break k}var bc=sa==IHEAP[Ka]-1;d=63}else d=60;while(0);Hb=IHEAP[Oa]+2*(a+IHEAP[Ra]*Va);var gb=IHEAP[Sa]+4*(Mb+IHEAP[Ia]*sa);sa=IHEAP[La];Va=IHEAP[Hb];var nb=Va&-1095;Va=((d==60?0:d==61?1:bc)?1:0)!=0?nb:Va;if(!((Va&255)!=0^1|(Va&20480)!=0)){d=IHEAP[gb];nb=0-d;d=((d<0?nb:d)&g)!=0?1:0;IHEAP[sa+100]=sa+24+IHEAP[_lut_ctxno_zc+(Va&255|Ea)]*4;k:do if(cb){IHEAP[sa+8]+=-1;IHEAP[sa]=(d<<IHEAP[sa+8])+IHEAP[sa];if(IHEAP[sa+
+8]!=0)break k;IHEAP[sa+12]+=1;IHEAP[IHEAP[sa+12]]=IHEAP[sa]&255;IHEAP[sa+8]=8;if(IHEAP[IHEAP[sa+12]]==255)IHEAP[sa+8]=7;IHEAP[sa]=0}else _mqc_encode(sa,d);while(0);if(d!=0){nb=IHEAP[gb]<0?1:0;d=IHEAP[gb];gb=0-d;d=d<0?gb:d;if(kb){var cc=IHEAP[_lut_nmsedec_sig+(d>>Fb&127)*2];d=72}else{var dc=IHEAP[_lut_nmsedec_sig0+(d&127)*2];d=74}IHEAP[c]+=d==74?dc:cc;IHEAP[sa+100]=sa+24+IHEAP[_lut_ctxno_sc+((Va&4080)>>4)]*4;k:do if(pb){IHEAP[sa+8]+=-1;IHEAP[sa]=(nb<<IHEAP[sa+8])+IHEAP[sa];if(IHEAP[sa+8]!=0)break k;
+IHEAP[sa+12]+=1;IHEAP[IHEAP[sa+12]]=IHEAP[sa]&255;IHEAP[sa+8]=8;if(IHEAP[IHEAP[sa+12]]==255)IHEAP[sa+8]=7;IHEAP[sa]=0}else _mqc_encode(sa,IHEAP[_lut_spb+((Va&4080)>>4)]^nb);while(0);_t1_updateflags(Hb,nb,IHEAP[Ha])}IHEAP[Hb]=(IHEAP[Hb]|16384)&65535}var Hb=Fa+1;d=85}var Mb=Mb+1;if(a<IHEAP[Aa]){d=59;a=55;continue i}d=86;a=56}else if(a==56){var ac=qb+1;if(rb<IHEAP[Qa]){d=56;a=54;continue h}else{a=87;break h}}}}else if(a==89){IHEAP[c]=0;g=1<<bb+6;if(!(0<IHEAP[Da]))break g;cb=Za==1;d=bb+6;pb=d>6;kb=d-
+6;d=90;h:for(;;){Fb=d==93?ec:0;qb=Fb*4;xb=qb+1;Lb=qb+3;Gb=qb+4;if(0<IHEAP[eb]){d=91;a=92}else{d=91;a=93}i:for(;;)if(a==92){Nb=d==96?Nb:0;a=Nb+1;d=92;j:for(;;){rb=d==113?Ob:0;sa=xb+rb;Fa=qb+rb;if(!(Fa<Gb))break j;if(!(Fa<IHEAP[za]))break j;k:do if(ua){if(Fa==Lb){d=98;break k}var fc=Fa==IHEAP[Wa]-1;d=100}else d=97;while(0);Ob=IHEAP[ab]+2*(a+IHEAP[Ua]*sa);Va=IHEAP[Ab]+4*(Nb+IHEAP[tb]*Fa);Fa=IHEAP[Db];sa=IHEAP[Ob];gb=sa&-1095;sa=((d==97?0:d==98?1:fc)?1:0)!=0?gb:sa;if((sa&20480)==4096){d=IHEAP[Va];gb=
+0-d;d=d<0?gb:d;if(pb){var gc=IHEAP[_lut_nmsedec_ref+(d>>kb&127)*2];d=102}else{var hc=IHEAP[_lut_nmsedec_ref0+(d&127)*2];d=104}IHEAP[c]+=d==104?hc:gc;d=IHEAP[Va];Va=0-d;d=((d<0?Va:d)&g)!=0?1:0;Va=(sa&255)!=0?15:14;IHEAP[Fa+100]=Fa+24+((sa&8192)!=0?16:Va)*4;k:do if(cb){IHEAP[Fa+8]+=-1;IHEAP[Fa]=(d<<IHEAP[Fa+8])+IHEAP[Fa];if(IHEAP[Fa+8]!=0)break k;IHEAP[Fa+12]+=1;IHEAP[IHEAP[Fa+12]]=IHEAP[Fa]&255;IHEAP[Fa+8]=8;if(IHEAP[IHEAP[Fa+12]]==255)IHEAP[Fa+8]=7;IHEAP[Fa]=0}else _mqc_encode(Fa,d);while(0);IHEAP[Ob]=
+(IHEAP[Ob]|8192)&65535}var Ob=rb+1;d=113}var Nb=Nb+1;if(a<IHEAP[jb]){d=96;a=92;continue i}d=114;a=93}else if(a==93){var ec=Fb+1;if(Gb<IHEAP[ub]){d=93;a=91;continue h}else{a=115;break h}}}}else if(a==201){g=b;cb=IHEAP[g+4];IHEAP[c]=0;pb=1<<bb+6;if(0<IHEAP[g+24]){kb=cb+24+68;Fb=cb+100;qb=cb+24+72;xb=cb+100;d=bb+6;Lb=d>6;Gb=d-6;d=116;h:for(;;){rb=d==116?0:ic;Fa=rb*4;sa=Fa+2;Va=Fa+3;gb=Fa+4;nb=Fa+1;if(0<IHEAP[g+20]){d=117;a=118}else{d=117;a=119}i:for(;;)if(a==118){Ib=d==138?Ib:0;var sb=Ib+1,Pb=Va<IHEAP[g+
+24];j:do if(Pb){var Qb=(IHEAP[IHEAP[g+16]+2*(sb+nb*IHEAP[g+36])]&20735)!=0;if(wa){k:do if(Qb)d=202;else{if((IHEAP[IHEAP[g+16]+2*(sb+sa*IHEAP[g+36])]&20735)!=0){d=120;break k}if((IHEAP[IHEAP[g+16]+2*(sb+Va*IHEAP[g+36])]&20735)!=0){d=122;break k}var jc=(IHEAP[IHEAP[g+16]+2*(sb+gb*IHEAP[g+36])]&20665)!=0;d=123}while(0);var kc=(d==122?1:d==120?1:d==202?1:jc)^1;d=121}else{k:do if(Qb)d=203;else{if((IHEAP[IHEAP[g+16]+2*(sb+sa*IHEAP[g+36])]&20735)!=0){d=126;break k}if((IHEAP[IHEAP[g+16]+2*(sb+Va*IHEAP[g+
+36])]&20735)!=0){d=128;break k}var lc=(IHEAP[IHEAP[g+16]+2*(sb+gb*IHEAP[g+36])]&20735)!=0;d=129}while(0);var mc=(d==128?1:d==126?1:d==203?1:lc)^1;d=127}Qb=d==121?kc:mc;if(Qb==0){d=131;a=133;break j}a=g+20;Pb=g+12;for(d=132;;){var yb=d==137?nc:0;if(!(yb<4))break;d=IHEAP[IHEAP[Pb]+4*(Ib+IHEAP[a]*(Fa+yb))];var Yb=0-d;if(((d<0?Yb:d)&pb)!=0)break;var nc=yb+1;d=137}IHEAP[Fb]=kb;_mqc_encode(cb,yb!=4);if(yb==4){d=136;a=138;break j}IHEAP[xb]=qb;_mqc_encode(cb,yb>>1);_mqc_encode(cb,yb&1);d=139;a=133;break j}else{d=
+118;a=133}while(0);j:do if(a==133){var Rb=d==131?0:d==139?yb:0;Pb=(d==131?0:d==139?Qb:0)!=0;Yb=nb+Rb;Rb=Fa+Rb;d=133;for(;;){var Zb=d==148?Wb:0,Cb=Yb+Zb;a=Rb+Zb;if(!(a<gb))break j;if(!(a<IHEAP[g+24]))break j;l:do if(la){if(a==Va){d=143;break l}var oc=a==IHEAP[g+24]-1;d=145}else d=142;while(0);Wb=g;Cb=IHEAP[g+16]+2*(sb+IHEAP[g+36]*Cb);var $b=IHEAP[g+12]+4*(Ib+IHEAP[g+20]*a);a=a==Rb;var Jb=IHEAP[Wb+4],Kb=IHEAP[Cb],pc=Kb&-1095;Kb=((d==142?0:d==143?1:oc)?1:0)!=0?pc:Kb;d=(Pb?a:0)!=0;l:do if(d)a=150;else{if((IHEAP[Cb]&
+20480)!=0){a=148;break l}IHEAP[Jb+100]=Jb+24+IHEAP[_lut_ctxno_zc+(Kb&255|aa)]*4;d=IHEAP[$b];a=0-d;d=((d<0?a:d)&pb)!=0?1:0;_mqc_encode(Jb,d);a=d!=0?150:148;break l}while(0);if(a==150){d=IHEAP[$b];a=0-d;d=d<0?a:d;if(Lb){var qc=IHEAP[_lut_nmsedec_sig+(d>>Gb&127)*2];d=151}else{var rc=IHEAP[_lut_nmsedec_sig0+(d&127)*2];d=153}IHEAP[c]+=d==153?rc:qc;IHEAP[Jb+100]=Jb+24+IHEAP[_lut_ctxno_sc+((Kb&4080)>>4)]*4;d=IHEAP[$b]<0?1:0;_mqc_encode(Jb,IHEAP[_lut_spb+((Kb&4080)>>4)]^d);_t1_updateflags(Cb,d,IHEAP[Wb+36])}IHEAP[Cb]=
+IHEAP[Cb]&-16385&65535;var Wb=Zb+1;d=148;a=140}}while(0);var Ib=Ib+1;if(sb<IHEAP[g+20]){d=138;a=118;continue i}d=156;a=119}else if(a==119){var ic=rb+1;if(gb<IHEAP[g+24]){d=119;a=117;continue h}else{a=157;break h}}}}if(!qa)break g;IHEAP[Ub]=Eb;for(d=160;;){Sb=d==160?0:Sb;_mqc_encode(F,(Sb+1)%2);var Sb=Sb+1;if(Sb!=4)a=d=161;else break g}}while(0);Za=IHEAP[c];if(R){if(ja)d=215;else{var sc=FHEAP[r];d=162}var tc=d==162?sc:1,uc=FHEAP[ra];d=164}else{if(ga)d=216;else{var vc=FHEAP[p];d=166}var wc=d==166?vc:
+1,xc=FHEAP[ka];d=168}a=(d==164?tc:wc)*(d==164?uc:xc)*M*(1<<bb);Za=a*(a*Za/8192);var Vb=Vb+Za;FHEAP[T]+=Za;g:do if(V){if(fb==2)if(bb-1<0){a=169;break g}_mqc_flush(F);IHEAP[hb+20*mb+12]=1;d=171;a=172;break g}else a=169;while(0);if(a==169){Za=bb<IHEAP[ob]-4&fb>0;g:do{a=Za?ba?174:173:bb==IHEAP[ob]-4&fb==2^1|ta?173:174;break g}while(0);if(a==174){_mqc_flush(F);IHEAP[hb+20*mb+12]=1;d=174}else if(a==173){IHEAP[hb+20*mb+12]=0;d=173}}d=d==174?1:d==173?3:1;fb=fb+1;a=bb+-1;var bb=(Za=fb==3)?a:bb,fb=Za?0:fb;
+Za=IHEAP[hb+20*mb+12]!=0&bb>0;g:do if(Za)if((((bb<IHEAP[ob]-4&fb<2?fa:0)?1:0)&255)==1){IHEAP[va]=0;IHEAP[na]=8}else{IHEAP[Ba]=ya;IHEAP[Na]=32768;IHEAP[Pa]=0;IHEAP[Ja]=12;IHEAP[xa]+=-1;if(IHEAP[IHEAP[Ya]]!=255)break g;IHEAP[$a]=13}while(0);FHEAP[hb+20*mb+4]=Vb;IHEAP[hb+20*mb]=IHEAP[db]+d+(0-IHEAP[Ta]);Y&&_mqc_reset_enc(F);var mb=mb+1;if(bb>=0)d=182;else break f}d=183}else d=207;M=d==183?vb:0;d=(L&16)!=0;f:do if(d)_mqc_erterm_enc(F);else{if((L&1)!=0)break f;_mqc_flush(F)}while(0);IHEAP[Xa+48*G+44]=
+M;if(0<IHEAP[Xa+48*G+44]){L=F+12;M=F+16;I=F+12;F=F+16;O=Xa+48*G+8;R=Xa+48*G+44;Xa=Xa+48*G;d=188;f:for(;;){ib=d==188?0:ib;T=ib+1;d=ib+-1;V=IHEAP[O];if(IHEAP[V+20*ib]>IHEAP[L]-IHEAP[M])IHEAP[V+20*ib]=IHEAP[I]-IHEAP[F];ba=IHEAP[V+20*ib]>1;g:do if(ba){if(IHEAP[IHEAP[Xa]+(IHEAP[V+20*ib]-1)]!=255)break g;IHEAP[V+20*ib]+=-1}while(0);ba=IHEAP[V+20*ib];if(ib==0)d=193;else{var yc=IHEAP[IHEAP[O]+20*d];d=195}IHEAP[V+20*ib+16]=ba-(d==195?yc:0);var ib=ib+1;if(T<IHEAP[R])d=197;else break f}}var Xa=G+1;d=200}var Xb=
+zb+1;d=14}var zb=B+1;d=11}var lb=u+1;d=9}var Tb=Tb+1;d=6;a=1}if(a==3)STACKTOP=c;else if(a==20)STACKTOP=c}_t1_encode_cblks.__index__=Runtime.getFunctionIndex(_t1_encode_cblks,"_t1_encode_cblks");
+function _allocate_buffers(b,f,e){var c,a,d;d=e*f;var g=d>IHEAP[b+28];a:do if(g){_free(IHEAP[b+12]);c=_memalign(16,d*4);IHEAP[b+12]=c;if(IHEAP[b+12]!=0){IHEAP[b+28]=d;c=1}else c=a=0;break a}else c=1;while(0);a:do if(c==1){_llvm_memset_p0i8_i32(IHEAP[b+12],0,d*4,1,0);IHEAP[b+36]=f+2;a=(e+2)*IHEAP[b+36];if(a>IHEAP[b+32]){_free(IHEAP[b+16]);g=_memalign(16,a*2);IHEAP[b+16]=g;if(IHEAP[b+16]!=0)IHEAP[b+32]=a;else{a=0;break a}}_llvm_memset_p0i8_i32(IHEAP[b+16],0,a*2,1,0);IHEAP[b+20]=f;IHEAP[b+24]=e;a=1}while(0);
+return a}_allocate_buffers.__index__=Runtime.getFunctionIndex(_allocate_buffers,"_allocate_buffers");
+function _t1_decode_cblks(b,f,e){var c,a=null,d,g,h,i,j,k,m,l,n,o,p,r,q,u,s,t,v,y,x,w,C,z,A,B,D,J,E,N,Q,S,P,G,F,L,K,H,M,I,O,R;K=IHEAP[f+8]-IHEAP[f];P=0;c=P<IHEAP[f+16]?0:1;a:for(;;)if(c==0){H=IHEAP[f+20]+124*P;G=0;c=G<IHEAP[H+24]?2:3;b:for(;;)if(c==2){M=H+28+G*32;F=0;c=F<IHEAP[H+20]*IHEAP[H+16]?4:5;c:for(;;)if(c==4){I=IHEAP[M+20]+36*F;L=0;c=L<IHEAP[I+20]*IHEAP[I+16]?6:7;d:for(;;)if(c==6){z=O=IHEAP[I+24]+44*L;A=IHEAP[M+16];B=IHEAP[e+808];D=IHEAP[e+16];C=b;z=z;A=A;B=B;D=D;J=IHEAP[C+8];E=IHEAP[C+4];
+R=_allocate_buffers(C,IHEAP[z+16]-IHEAP[z+8],IHEAP[z+20]-IHEAP[z+12])!=0;e:do if(R){N=B+-1+IHEAP[z+24];Q=2;u=u=E;a=8;f:for(;;){T=a==8?0:T;IHEAP[u+24+(0+T)*4]=_mqc_states;var T=T+1;if(T!=19)a=9;else break f}u=E;IHEAP[u+24+72]=_mqc_states+1472;u=E;IHEAP[u+24+68]=_mqc_states+96;u=E;IHEAP[u+24+0]=_mqc_states+128;u=0;if(!(u<IHEAP[z+40]))break e;for(;;){S=IHEAP[z+4]+28*u;var V=N<=IHEAP[z+24]+-5;g:do if(V){if(!(Q<2)){a=13;break g}var ba=(D&1)!=0;a=14}else a=11;while(0);V=((a==13?0:a==11?0:ba)?1:0)&255;var fa=
+IHEAP[S]==0;g:do if(!fa){if(V==1){r=IHEAP[IHEAP[S]]+IHEAP[S+4];q=IHEAP[S+12];p=J;r=r;q=q;IHEAP[p+20]=r;IHEAP[p+8]=q;IHEAP[p+12]=0;IHEAP[p]=0;IHEAP[p+4]=0}else _mqc_init_dec(E,IHEAP[IHEAP[S]]+IHEAP[S+4],IHEAP[S+12]);p=0;if(!(p<IHEAP[S+8]))break g;r=V==1;q=V==1;var ca=V==0^1;for(;;){a=Q;c=a==0?214:a==1?215:a==2?216:22;i:do if(c==214)if(r){d=N+1;h=D;a=C;d=d;i=h;d=1<<d;h=d>>1;n=h|d;if(!(0<IHEAP[a+24]))break i;d=a+20;h=a+24;i=(i&8)!=0;y=a+24;l=a;s=a+36;t=a+16;m=a+20;var U=a+12;n=n;x=a+20;o=l+8;j=0-n;l=
+l+36;k=a+24;a=21;j:for(;;){g=a==21?0:oa;a=g*4;var $=1+a,Y=0+a,Z=3+a;w=4+a;if(0<IHEAP[d]){a=23;c=24}else{a=23;c=25}k:for(;;)if(c==24){ea=a==28?ea:0;c=ea+1;a=24;l:for(;;){var W=a==38?ia:0,X=$+W,aa=Y+W;if(!(aa<w))break l;if(!(aa<IHEAP[h]))break l;m:do if(i){if(aa==Z){a=30;break m}var ka=aa==IHEAP[y]-1;a=32}else a=29;while(0);ia=IHEAP[t]+2*(c+IHEAP[s]*X);aa=IHEAP[U]+4*(ea+IHEAP[m]*aa);X=IHEAP[o];var ga=IHEAP[ia],ja=ga&-1095;a=((a==29?0:a==30?1:ka)?1:0)!=0?ja:ga;if(!((a&255)!=0^1|(a&20480)!=0)){if(_raw_decode(X)!=
+0){a=_raw_decode(X);IHEAP[aa]=a!=0?j:n;_t1_updateflags(ia,a,IHEAP[l])}IHEAP[ia]=(IHEAP[ia]|16384)&65535}var ia=W+1;a=38}var ea=ea+1;if(c<IHEAP[x]){a=28;c=24;continue k}a=39;c=25}else if(c==25){var oa=g+1;if(w<IHEAP[k]){a=25;c=23;continue j}else{c=40;break j}}}}else{a=C;i=N+1;h=A;if((D&8)!=0){a=a;d=i;o=h;d=1<<d;h=d>>1;m=h|d;if(!(0<IHEAP[a+24]))break i;d=a+20;h=a+24;l=a;i=a+36;y=a+16;s=a+20;t=a+12;m=m;U=a+24;n=a+20;x=l+4;o=o<<8;j=0-m;l=l+36;k=a+24;a=41;j:for(;;){g=a==41?0:qa;a=g*4;$=1+a;Y=0+a;Z=3+a;
+w=4+a;if(0<IHEAP[d]){a=42;c=43}else{a=42;c=44}k:for(;;)if(c==43){ha=a==47?ha:0;c=ha+1;for(a=43;;){W=a==55?da:0;X=$+W;aa=Y+W;if(!(aa<w))break;if(!(aa<IHEAP[h]))break;if(aa==Z)a=48;else{var pa=aa==IHEAP[U]-1;a=49}da=IHEAP[y]+2*(c+IHEAP[i]*X);aa=IHEAP[t]+4*(ha+IHEAP[s]*aa);X=IHEAP[x];ga=IHEAP[da];ja=ga&-1095;a=((a==48?1:pa)?1:0)!=0?ja:ga;if(!((a&255)!=0^1|(a&20480)!=0)){IHEAP[X+100]=X+24+IHEAP[_lut_ctxno_zc+(a&255|o)]*4;if(_mqc_decode(X)!=0){IHEAP[X+100]=X+24+IHEAP[_lut_ctxno_sc+((a&4080)>>4)]*4;X=_mqc_decode(X);
+a=IHEAP[_lut_spb+((a&4080)>>4)]^X;IHEAP[aa]=a!=0?j:m;_t1_updateflags(da,a,IHEAP[l])}IHEAP[da]=(IHEAP[da]|16384)&65535}var da=W+1;a=55}var ha=ha+1;if(c<IHEAP[n]){a=47;c=43;continue k}a=56;c=44}else if(c==44){var qa=g+1;if(w<IHEAP[k]){a=44;c=42;continue j}else{c=57;break j}}}}else{d=a;a=i;h=h;j=IHEAP[d+12];k=IHEAP[d+16]+2;a=1<<a;i=a>>1;i=i|a;g=0;y=g<(IHEAP[d+24]&-4);a=0;if(y){y=h;s=i;t=h;m=i;U=h;n=i;x=h;o=i;j=j;l=a;k=k;g=g+4;a=58;j:for(;;){ra=a==58?0:ra;ua=a==58?k:ua;c=a==58?l:0;ma=a==58?j:ma;var wa=
+g+ra*4;if(c<IHEAP[d+20]){$=c+1;for(a=61;;){la=a==61?0:la;a=$+la;Z=c+la;Y=ua+2*Z;Z=ma+4*Z;w=IHEAP[d+36];_t1_dec_sigpass_step_mqc(d,Y+2*w,Z,y,s);W=IHEAP[d+20];aa=IHEAP[d+36];_t1_dec_sigpass_step_mqc(d,Y+2*(aa+w),Z+4*W,t,m);X=IHEAP[d+20];ga=IHEAP[d+36];_t1_dec_sigpass_step_mqc(d,Y+2*(aa+w+ga),Z+4*(X+W),U,n);_t1_dec_sigpass_step_mqc(d,Y+2*(aa+w+ga+IHEAP[d+36]),Z+4*(X+W+IHEAP[d+20]),x,o);var la=la+1;if(a<IHEAP[d+20])a=62;else break}}var ma=ma+4*(IHEAP[d+20]<<2),ua=ua+2*(IHEAP[d+36]<<2),ra=ra+1;if(wa<(IHEAP[d+
+24]&-4)){a=65;c=59}else{c=66;break j}}g=wa;k=ua;a=0;j=ma}if(!(a<IHEAP[d+20]))break i;y=j;s=k;t=g;h=h;i=i;m=a;U=m+1;n=t+1;a=60;j:for(;;){x=a==60?0:ya;a=m+x;o=y+4*a;j=s+2*a;l=U+x;if(t<IHEAP[d+24]){a=68;c=69}else{a=68;c=70}for(;;)if(c==69){na=a==69?na:0;va=a==69?va:o;c=n+na;var ta=(a==69?ta:j)+2*IHEAP[d+36];_t1_dec_sigpass_step_mqc(d,ta,va,h,i);var va=va+4*IHEAP[d+20],na=na+1;if(c<IHEAP[d+24])c=a=69;else{a=69;c=70}}else if(c==70){var ya=x+1;if(l<IHEAP[d+20]){a=70;c=68;continue j}else{c=71;break j}}}}}else if(c==
+215)if(q){a=N+1;d=D;l=C;a=a;i=d;d=1<<a;n=d>>1;if(a>0){var Ba=0-n;a=73}else a=231;a=a==73?Ba:-1;if(!(0<IHEAP[l+24]))break i;d=l+20;h=l+24;i=(i&8)!=0;y=l+24;s=l+36;t=l+16;m=l+20;U=l+12;n=n;x=a;o=l+20;j=l+8;l=l+24;a=75;j:for(;;){k=a==75?0:xa;a=k*4;g=1+a;$=0+a;Y=3+a;Z=4+a;if(0<IHEAP[d]){a=76;c=77}else{a=76;c=78}k:for(;;)if(c==77){Ja=a==81?Ja:0;c=Ja+1;a=77;l:for(;;){w=a==89?Pa:0;aa=g+w;W=$+w;if(!(W<Z))break l;if(!(W<IHEAP[h]))break l;m:do if(i){if(W==Y){a=83;break m}var Na=W==IHEAP[y]-1;a=85}else a=82;
+while(0);Pa=IHEAP[t]+2*(c+IHEAP[s]*aa);W=IHEAP[U]+4*(Ja+IHEAP[m]*W);aa=IHEAP[j];X=IHEAP[Pa];ga=X&-1095;if(((((a==82?0:a==83?1:Na)?1:0)!=0?ga:X)&20480)==4096){a=_raw_decode(aa)!=0?n:x;aa=0-a;IHEAP[W]=(IHEAP[W]<0?aa:a)+IHEAP[W];IHEAP[Pa]=(IHEAP[Pa]|8192)&65535}var Pa=w+1;a=89}var Ja=Ja+1;if(c<IHEAP[o]){a=81;c=77;continue k}a=90;c=78}else if(c==78){var xa=k+1;if(Z<IHEAP[l]){a=78;c=76;continue j}else{c=91;break j}}}}else{d=C;a=N+1;if((D&8)!=0){j=d;a=a;d=1<<a;m=d>>1;if(a>0){var Ya=0-m;a=92}else a=234;
+a=a==92?Ya:-1;if(!(0<IHEAP[j+24]))break i;d=j+20;h=j+24;i=j+36;y=j+16;s=j+20;t=j+12;m=m;U=a;n=j+24;x=j+20;o=j+4;j=j+24;a=94;j:for(;;){l=a==94?0:Ma;a=l*4;k=1+a;g=0+a;$=3+a;Y=4+a;if(0<IHEAP[d]){a=95;c=96}else{a=95;c=97}k:for(;;)if(c==96){Ta=a==100?Ta:0;c=Ta+1;for(a=96;;){Z=a==106?db:0;W=k+Z;w=g+Z;if(!(w<Y))break;if(!(w<IHEAP[h]))break;if(w==$)a=101;else{var $a=w==IHEAP[n]-1;a=102}db=IHEAP[y]+2*(c+IHEAP[i]*W);w=IHEAP[t]+4*(Ta+IHEAP[s]*w);W=IHEAP[o];aa=IHEAP[db];X=aa&-1095;a=((a==101?1:$a)?1:0)!=0?X:
+aa;if((a&20480)==4096){aa=(a&255)!=0?15:14;IHEAP[W+100]=W+24+((a&8192)!=0?16:aa)*4;a=_mqc_decode(W)!=0?m:U;W=0-a;IHEAP[w]=(IHEAP[w]<0?W:a)+IHEAP[w];IHEAP[db]=(IHEAP[db]|8192)&65535}var db=Z+1;a=106}var Ta=Ta+1;if(c<IHEAP[x]){a=100;c=96;continue k}a=107;c=97}else if(c==97){var Ma=l+1;if(Y<IHEAP[j]){a=97;c=95;continue j}else{c=108;break j}}}}else{d=d;a=a;j=IHEAP[d+12];k=IHEAP[d+16]+2;h=1<<a;h=h>>1;if(a>0){var Ga=0-h;a=109}else a=236;i=a==109?Ga:-1;g=0;y=g<(IHEAP[d+24]&-4);a=0;if(y){y=h;s=i;t=h;m=i;
+U=h;n=i;x=h;o=i;j=j;l=a;k=k;g=g+4;a=111;j:for(;;){Ia=a==111?0:Ia;Oa=a==111?k:Oa;c=a==111?l:0;Ra=a==111?j:Ra;var Ca=g+Ia*4;if(c<IHEAP[d+20]){$=c+1;for(a=114;;){Ka=a==114?0:Ka;a=$+Ka;Z=c+Ka;Y=Oa+2*Z;Z=Ra+4*Z;w=IHEAP[d+36];_t1_dec_refpass_step_mqc(d,Y+2*w,Z,y,s);W=IHEAP[d+20];aa=IHEAP[d+36];_t1_dec_refpass_step_mqc(d,Y+2*(aa+w),Z+4*W,t,m);X=IHEAP[d+20];ga=IHEAP[d+36];_t1_dec_refpass_step_mqc(d,Y+2*(aa+w+ga),Z+4*(X+W),U,n);_t1_dec_refpass_step_mqc(d,Y+2*(aa+w+ga+IHEAP[d+36]),Z+4*(X+W+IHEAP[d+20]),x,o);
+var Ka=Ka+1;if(a<IHEAP[d+20])a=115;else break}}var Ra=Ra+4*(IHEAP[d+20]<<2),Oa=Oa+2*(IHEAP[d+36]<<2),Ia=Ia+1;if(Ca<(IHEAP[d+24]&-4)){a=118;c=112}else{c=119;break j}}g=Ca;k=Oa;a=0;j=Ra}if(!(a<IHEAP[d+20]))break i;y=j;s=k;t=g;h=h;i=i;m=a;U=m+1;n=t+1;a=113;j:for(;;){x=a==113?0:Ea;a=m+x;o=y+4*a;j=s+2*a;l=U+x;if(t<IHEAP[d+24]){a=121;c=122}else{a=121;c=123}for(;;)if(c==122){La=a==122?La:0;Aa=a==122?Aa:o;c=n+La;var Sa=(a==122?Sa:j)+2*IHEAP[d+36];_t1_dec_refpass_step_mqc(d,Sa,Aa,h,i);var Aa=Aa+4*IHEAP[d+
+20],La=La+1;if(c<IHEAP[d+24])c=a=122;else{a=122;c=123}}else if(c==123){var Ea=x+1;if(l<IHEAP[d+20]){a=123;c=121;continue j}else{c=124;break j}}}}}else if(c==216){i=N+1;h=A;a=D;d=C;s=i;h=h;a=a;i=a&32;y=IHEAP[d+4];s=1<<s;t=s>>1;s=t|s;U=(a&8)!=0;j:do if(U){m=0;if(!(m<IHEAP[d+24])){c=126;break j}x=s;o=0-x;j=h<<8;v=v;a=125;k:for(;;){l=a==125?v:tb;t=0;k=m;if(t<IHEAP[d+20]){a=127;c=128}else{a=127;c=129}l:for(;;)if(c==128){Ua=a==138?Ua:l;ab=(a==138?ab:k)+3<IHEAP[d+24];m:do if(ab){var Ha=(IHEAP[IHEAP[d+16]+
+2*(IHEAP[d+36]*(m+1)+1+t)]&20735)!=0;n:do if(Ha)a=219;else{if((IHEAP[IHEAP[d+16]+2*(IHEAP[d+36]*(m+2)+1+t)]&20735)!=0){a=130;break n}if((IHEAP[IHEAP[d+16]+2*(IHEAP[d+36]*(m+3)+1+t)]&20735)!=0){a=132;break n}var Qa=(IHEAP[IHEAP[d+16]+2*(IHEAP[d+36]*(m+4)+1+t)]&20665)!=0;a=133}while(0);Ha=(a==132?1:a==130?1:a==219?1:Qa)^1;if(Ha==0){a=131;c=136;break m}IHEAP[y+100]=y+24+68;if(_mqc_decode(y)==0){a=135;c=138;break m}IHEAP[y+100]=y+24+72;var Da=_mqc_decode(y)<<1;Da=_mqc_decode(y)|Da;a=137;c=136;break m}else{a=
+128;c=136}while(0);m:do if(c==136){var eb=a==137?Da:a==128?0:0;ab=a==137?Ha:a==131?0:0;n=m+eb;ab=ab!=0;a=136;for(;;){if(!(n<m+4)){a=139;break m}if(!(n<IHEAP[d+24])){a=140;break m}if(n==m+3)a=141;else{var za=n==IHEAP[d+24]-1;a=142}c=(a==141?1:za)?1:0;g=d;$=IHEAP[d+16]+2*(t+1+IHEAP[d+36]*(n+1));Y=IHEAP[d+12]+4*(IHEAP[d+20]*n+t);if(ab){var Wa=n==m+eb;a=144}else a=220;Z=IHEAP[g+4];w=IHEAP[$];W=w&-1095;w=c!=0?W:w;a=(a==220?0:Wa)!=0;o:do if(a)c=149;else{if((w&20480)!=0){c=147;break o}IHEAP[Z+100]=Z+24+
+IHEAP[_lut_ctxno_zc+(w&255|j)]*4;c=_mqc_decode(Z)!=0?149:147;break o}while(0);if(c==149){IHEAP[Z+100]=Z+24+IHEAP[_lut_ctxno_sc+((w&4080)>>4)]*4;a=_mqc_decode(Z);a=IHEAP[_lut_spb+((w&4080)>>4)]^a;IHEAP[Y]=a!=0?o:x;_t1_updateflags($,a,IHEAP[g+36])}IHEAP[$]=IHEAP[$]&-16385&65535;n+=1;a=147;c=139}}while(0);var Ua=a==135?Ua:a==139?eb:eb;t+=1;var ab=m;if(t<IHEAP[d+20]){a=138;c=128;continue l}a=151;c=129}else if(c==129){var tb=a==151?Ua:l;m=(a==151?ab:k)+4;if(m<IHEAP[d+24]){a=129;c=127;continue k}else{c=
+152;break k}}}v=tb}else{o=IHEAP[d+12];x=IHEAP[d+16]+2;m=0;a=m<(IHEAP[d+24]&-4);t=0;c=a?153:154;k:for(;;)if(c==153){c=t<IHEAP[d+20]?155:156;for(;;)if(c==155){w=o+4*t;c=x+2*t;n=(IHEAP[IHEAP[d+16]+2*(IHEAP[d+36]*(m+1)+1+t)]&20735)!=0;m:do if(n)a=155;else{if((IHEAP[IHEAP[d+16]+2*(IHEAP[d+36]*(m+2)+1+t)]&20735)!=0){a=158;break m}if((IHEAP[IHEAP[d+16]+2*(IHEAP[d+36]*(m+3)+1+t)]&20735)!=0){a=160;break m}var Ab=(IHEAP[IHEAP[d+16]+2*(IHEAP[d+36]*(m+4)+1+t)]&20735)!=0;a=161}while(0);j=a=(a==160?1:a==158?1:
+a==155?1:Ab)^1;l=a!=0;m:do if(l){IHEAP[y+100]=y+24+68;if(_mqc_decode(y)==0)break m;IHEAP[y+100]=y+24+72;v=_mqc_decode(y);v=v<<1;v=_mqc_decode(y)|v;c+=2*IHEAP[d+36]*v;w+=4*IHEAP[d+20]*v;n=v+m;k=j!=0;g=v;$=s;Y=h;Z=s;w=w;W=c;aa=0-$;a=163;n:for(;;){var jb=a==171?ub:W,Db=a==171?Eb:w;if(!(n<m+4))break n;if(!(n<IHEAP[d+24]))break n;var ub=jb+2*IHEAP[d+36];o:do if(k){if(n!=m+g){c=170;break o}Eb=d;c=IHEAP[Eb+4];a=IHEAP[ub];IHEAP[c+100]=c+24+IHEAP[_lut_ctxno_sc+((a&4080)>>4)]*4;c=_mqc_decode(c);a=IHEAP[_lut_spb+
+((a&4080)>>4)]^c;IHEAP[Db]=a!=0?aa:$;_t1_updateflags(ub,a,IHEAP[Eb+36]);IHEAP[ub]=IHEAP[ub]&-16385&65535;c=171;break o}else c=170;while(0);c==170&&_t1_dec_clnpass_step(d,ub,Db,Y,Z);var Eb=Db+4*IHEAP[d+20];n+=1;a=171}c=jb;w=Db}else{c+=2*IHEAP[d+36];_t1_dec_clnpass_step(d,c,w,h,s);w+=4*IHEAP[d+20];c+=2*IHEAP[d+36];_t1_dec_clnpass_step(d,c,w,h,s);w+=4*IHEAP[d+20];c+=2*IHEAP[d+36];_t1_dec_clnpass_step(d,c,w,h,s);w+=4*IHEAP[d+20];c+=2*IHEAP[d+36];_t1_dec_clnpass_step(d,c,w,h,s);w+=4*IHEAP[d+20]}while(0);
+t+=1;c=t<IHEAP[d+20]?155:156}else if(c==156){o+=4*(IHEAP[d+20]<<2);x+=2*(IHEAP[d+36]<<2);m+=4;a=m<(IHEAP[d+24]&-4);t=0;c=a?153:154;continue k}}else if(c==154)if(t<IHEAP[d+20]){c=157;break k}else{c=126;break j}o=o;x=x;j=h;l=s;k:for(;;){k=o+4*t;g=x+2*t;n=m;if(n<IHEAP[d+24]){a=174;c=175}else{a=174;c=176}for(;;)if(c==175){ob=a==175?ob:k;var Ub=(a==175?Ub:g)+2*IHEAP[d+36];_t1_dec_clnpass_step(d,Ub,ob,j,l);var ob=ob+4*IHEAP[d+20];n+=1;if(n<IHEAP[d+24])c=a=175;else{a=175;c=176}}else if(c==176){t+=1;if(t<
+IHEAP[d+20]){c=174;continue k}else{c=177;break k}}}}while(0);if(i==0)break i;IHEAP[y+100]=y+24+72;_mqc_decode(y);_mqc_decode(y);_mqc_decode(y);_mqc_decode(y)}while(0);if(!((D&2)!=0^1|ca)){c=a=E;for(a=180;;){Bb=a==180?0:Bb;IHEAP[c+24+(0+Bb)*4]=_mqc_states;var Bb=Bb+1;if(Bb!=19)a=181;else break}a=E;IHEAP[a+24+72]=_mqc_states+1472;a=E;IHEAP[a+24+68]=_mqc_states+96;a=E;IHEAP[a+24+0]=_mqc_states+128}Q=a=Q+1;if(a==3){Q=0;N+=-1}p+=1;if(!(p<IHEAP[S+8]))break g}}while(0);u+=1;if(!(u<IHEAP[z+40]))break e}}while(0);
+D=IHEAP[O+8]-IHEAP[M];J=IHEAP[O+12]-IHEAP[M+4];if((IHEAP[M+16]&1)!=0){C=IHEAP[f+20]+124*(P-1);D=0-IHEAP[C]+IHEAP[C+8]+D}if((IHEAP[M+16]&2)!=0){C=IHEAP[f+20]+124*(P-1);J=0-IHEAP[C+4]+IHEAP[C+12]+J}A=IHEAP[b+12];C=IHEAP[b+20];z=IHEAP[b+24];E=IHEAP[e+808]!=0;e:do if(E){R=1<<IHEAP[e+808];B=0;if(!(B<z))break e;N=C;Q=A;R=R;u=e+808;S=C;V=A;fa=C;p=z;B=B;r=0<C;f:do if(r){q=fa>1?fa:1;a=189;for(;;){hb=a==189?B:hb;ca=S*hb;c=N*hb;for(a=190;;){vb=a==190?0:vb;a=V+4*(ca+vb);d=IHEAP[Q+4*(c+vb)];h=0-d;h=d>-1?d:h;if(h>=
+R){h=h>>IHEAP[u];i=0-h;IHEAP[a]=d<0?i:h}var vb=vb+1;if(vb!=q)a=191;else break}var hb=hb+1;if(hb<p)a=193;else break f}}else for(a=187;;){var Za=(a==197?Za:B)+1;if(Za<p)a=197;else break f}while(0)}while(0);E=IHEAP[e+20]==1;D=IHEAP[f+24]+4*(K*J+D);e:do if(E){R=D;B=0;if(!(B<z))break e;J=C;N=A;Q=K;R=R;u=C;S=z;B=B;V=0<C;f:do if(V){fa=u>1?u:1;a=201;for(;;){cb=a==201?B:cb;p=Q*cb;r=J*cb;for(a=202;;){wb=a==202?0:wb;IHEAP[R+4*(p+wb)]=IHEAP[N+4*(r+wb)]/2|0;var wb=wb+1;if(wb!=fa)a=203;else break}var cb=cb+1;if(cb<
+S)a=204;else break f}}else for(a=199;;){var pb=(a==206?pb:B)+1;if(pb<S)a=206;else break f}while(0)}else{J=D;B=0;if(!(B<z))break e;for(;;){Q=J;if(0<C){N=M+28;R=C;A=A;Q=Q;R=(R>1?R:1)-0;for(a=209;;){kb=a==209?0:kb;FHEAP[Q+4*kb]=IHEAP[A+4*kb]*FHEAP[N];var kb=kb+1;if(kb!=R)a=210;else break}A=A+4*R}J+=4*K;B+=1;if(!(B<z))break e}}while(0);_free(IHEAP[O]);_free(IHEAP[O+4]);L+=1;if(L<IHEAP[I+20]*IHEAP[I+16]){c=6;continue d}c=7}else if(c==7){_free(IHEAP[I+24]);F+=1;c=F<IHEAP[H+20]*IHEAP[H+16]?4:5;continue c}}else if(c==
+5){G+=1;c=G<IHEAP[H+24]?2:3;continue b}}else if(c==3){P+=1;c=P<IHEAP[f+16]?0:1;continue a}}else if(c==1)break}_t1_decode_cblks.__index__=Runtime.getFunctionIndex(_t1_decode_cblks,"_t1_decode_cblks");
+function _t1_dec_clnpass_step(b,f,e,c,a){var d,g,h,i;i=IHEAP[b+4];h=IHEAP[f];var j=(h&20480)!=0;a:do if(!j){g=c;d=h;g=g;IHEAP[i+100]=i+24+IHEAP[_lut_ctxno_zc+(d&255|g<<8)]*4;if(_mqc_decode(i)==0)break a;d=h;IHEAP[i+100]=i+24+IHEAP[_lut_ctxno_sc+((d&4080)>>4)]*4;g=_mqc_decode(i);d=h;d=IHEAP[_lut_spb+((d&4080)>>4)]^g;g=a;var k=0-g;IHEAP[e]=d!=0?k:g;_t1_updateflags(f,d,IHEAP[b+36])}while(0);IHEAP[f]=IHEAP[f]&-16385&65535}_t1_dec_clnpass_step.__index__=Runtime.getFunctionIndex(_t1_dec_clnpass_step,"_t1_dec_clnpass_step");
+function _t1_updateflags(b,f,e){var c;c=b+2*(0-e);e=b+2*e;var a=c+-2;IHEAP[a]=(IHEAP[a]|2)&65535;IHEAP[c]=(IHEAP[c]|IHEAP[_t1_updateflags_mod+f*2])&65535;c=c+2;IHEAP[c]=(IHEAP[c]|4)&65535;c=b+-2;IHEAP[c]=(IHEAP[c]|IHEAP[_t1_updateflags_mod+(f+2)*2])&65535;IHEAP[b]=(IHEAP[b]|4096)&65535;b=b+2;IHEAP[b]=(IHEAP[b]|IHEAP[_t1_updateflags_mod+(f+4)*2])&65535;b=e+-2;IHEAP[b]=(IHEAP[b]|1)&65535;IHEAP[e]=(IHEAP[e]|IHEAP[_t1_updateflags_mod+(f+6)*2])&65535;f=e+2;IHEAP[f]=(IHEAP[f]|8)&65535}
+_t1_updateflags.__index__=Runtime.getFunctionIndex(_t1_updateflags,"_t1_updateflags");function _t1_dec_refpass_step_mqc(b,f,e,c,a){var d,g;b=IHEAP[b+4];g=IHEAP[f];if((g&20480)==4096){d=(g&255)!=0?15:14;d=(g&8192)!=0?16:d;IHEAP[b+100]=b+24+d*4;b=_mqc_decode(b);c=b!=0?c:a;a=0-c;IHEAP[e]+=IHEAP[e]<0?a:c;IHEAP[f]=(IHEAP[f]|8192)&65535}}_t1_dec_refpass_step_mqc.__index__=Runtime.getFunctionIndex(_t1_dec_refpass_step_mqc,"_t1_dec_refpass_step_mqc");
+function _t1_dec_sigpass_step_mqc(b,f,e,c,a){var d,g,h,i;i=IHEAP[b+4];h=IHEAP[f];var j=(h&255)!=0;a:do if(j){if((h&20480)!=0)break a;g=c;d=h;g=g;IHEAP[i+100]=i+24+IHEAP[_lut_ctxno_zc+(d&255|g<<8)]*4;if(_mqc_decode(i)!=0){d=h;IHEAP[i+100]=i+24+IHEAP[_lut_ctxno_sc+((d&4080)>>4)]*4;g=_mqc_decode(i);d=h;d=IHEAP[_lut_spb+((d&4080)>>4)]^g;g=a;var k=0-g;IHEAP[e]=d!=0?k:g;_t1_updateflags(f,d,IHEAP[b+36])}d=f;IHEAP[d]=(IHEAP[d]|16384)&65535}while(0)}
+_t1_dec_sigpass_step_mqc.__index__=Runtime.getFunctionIndex(_t1_dec_sigpass_step_mqc,"_t1_dec_sigpass_step_mqc");
+function _t2_encode_packets(b,f,e,c,a,d,g,h,i,j,k,m){var l,n=null,o,p,r,q,u,s,t;o=a;p=0;r=IHEAP[b+4];q=IHEAP[b+8];u=IHEAP[q+108]+5588*f;s=IHEAP[q]==3?2:1;if(IHEAP[q+4]>0){t=IHEAP[r+16];n=0}else n=40;t=n==0?t:1;r=_pi_initialise_encode(r,q,f,k);var v=r!=0;a:do if(v){if(k==0){var y=t,x=s,w=r,C=q,z=f,A=i,B=k,D=m,J=r,E=r,N=c,Q=e,S=f,P=q+108,G=r,F=a+d,L=g,K=f,H=q+4,M=q+4,I=p,O=o;n=3;b:for(;;){l=n==23?ia:0;var R=n==23?ba:O,T=n==23?fa:I,V=0+l;if(V<y)n=4;else{n=4;l=6;break b}c:for(;;){var ba=n==22?W:R,fa=
+n==22?X:T,ca=n==22?ja:0,U=J+232*ca,$=E+232*ca+36,Y=G+232*ca;if(!(ca<x))break c;if(_pi_create_encode(w,C,z,ca,V,A,B,D)!=0){n=7;l=9;break b}else n=7;for(;;){var Z=n==7?0:n==16?ka:Z,W=n==7?ba:n==16?ga:W,X=n==7?fa:n==16?aa:X;if(_pi_next(U)==0)break;if(IHEAP[$]<N){n=12;var aa=_t2_encode_packet(Q,IHEAP[P]+5588*S,Y,W,F-W,L,K),ka=aa+Z;if(aa==-999){l=15;break b}var ga=W+aa;n=16}else n=12}if(X==-999){l=17;break b}if(IHEAP[H]!=0)if(Z>IHEAP[M]){l=19;break b}var ja=ca+1;n=22}if(fa==-999){n=8;l=6;break b}var ia=
+l+1;n=23;l=4}if(l==6){p=n==8?-999:T;o=n==8?ba:R;p=p}else if(l==9){_opj_event_msg(IHEAP[b],1,__str41107);_pi_destroy(r,q,f);n=-999;break a}else if(l==15){o=W;p=-999}else if(l==17){o=W;p=-999}else if(l==19){o=W;p=-999}}else{_pi_create_encode(r,q,f,j,h,i,k,m);y=r+232*j;x=r+232*j+36;w=c;C=e;z=f;A=q+108;B=r+232*j;D=a+d;J=g;E=f;N=g!=0;Q=g+12;S=f;P=g+88;G=g+8;F=g+8;L=q+16;K=u+424;H=g+8;M=g+8;I=e+836;p=p;o=o;n=24;b:for(;;){var ea=n==24?o:n==39?da:ea,oa=n==24?p:n==39?pa:oa;if(_pi_next(y)==0){n=25;l=27;break b}if(!(IHEAP[x]<
+w)){n=26;l=25;continue b}var pa=_t2_encode_packet(C,IHEAP[A]+5588*z,B,ea,D-ea,J,E);if(pa==-999){n=28;l=27;break b}var da=ea+pa;if(N){if(IHEAP[Q]!=0){n=44;V=IHEAP[P]+572*S;O=IHEAP[V+548]+20*IHEAP[G];if(IHEAP[F]!=0){ca=(IHEAP[K]|IHEAP[L])!=0;c:do if(ca){if(IHEAP[O]==0){l=32;break c}var ha=IHEAP[O];n=31;l=33;break c}else l=32;while(0);if(l==32){var qa=IHEAP[IHEAP[V+548]+20*(IHEAP[H]-1)+8]+1;n=32}IHEAP[O]=n==31?ha:qa}else IHEAP[O]=IHEAP[V+12]+1;IHEAP[O+8]=IHEAP[O]+-1+pa;n=O+4;IHEAP[n]=IHEAP[O]+-1+IHEAP[n]}IHEAP[M]+=
+1}IHEAP[I]+=1;n=39;l=25}n=n==28?-999:oa;o=ea;p=n}_pi_destroy(r,q,f);n=p==-999?p:o-a}else n=-999;while(0);return n}_t2_encode_packets.__index__=Runtime.getFunctionIndex(_t2_encode_packets,"_t2_encode_packets");
+function _t2_encode_packet(b,f,e,c,a,d,g){var h,i=null,j,k,m,l,n;k=c;m=IHEAP[e+24];i=IHEAP[e+28];l=IHEAP[e+32];e=IHEAP[e+36];m=IHEAP[IHEAP[b+20]+32*m+20]+124*i;if((IHEAP[f+4]&2)!=0){IHEAP[k]=-1;IHEAP[k+1]=-111;IHEAP[k+2]=0;IHEAP[k+3]=4;IHEAP[k+4]=(IHEAP[b+836]%65536/256|0)&255;IHEAP[k+5]=IHEAP[b+836]%65536%256&255;k+=6}var o=e!=0;a:do if(!o){b=0;if(!(b<IHEAP[m+24])){h=2;break a}var p=m,r=l,q=m+24,u=b,s=u+1;i=1;b:for(;;){D=i==1?0:D;b=u+D;var t=p+28+b*32+24;h=s+D;var v=IHEAP[p+28+b*32+20]+36*r;b=IHEAP[v+
+28];var y=0==b;c:do if(!y){if(!(0<IHEAP[b+8]))break c;var x=b+12,w=b+12,C=b+12,z=b+8;for(i=5;;){A=i==5?0:A;i=A+1;IHEAP[IHEAP[x]+16*A+4]=999;IHEAP[IHEAP[w]+16*A+8]=0;IHEAP[IHEAP[C]+16*A+12]=0;var A=A+1;if(i<IHEAP[z])i=7;else break c}}while(0);b=IHEAP[v+32];y=0==b;c:do if(!y){if(!(0<IHEAP[b+8]))break c;x=b+12;w=b+12;C=b+12;z=b+8;for(i=9;;){B=i==9?0:B;i=B+1;IHEAP[IHEAP[x]+16*B+4]=999;IHEAP[IHEAP[w]+16*B+8]=0;IHEAP[IHEAP[C]+16*B+12]=0;var B=B+1;if(i<IHEAP[z])i=11;else break c}}while(0);b=0;if(b<IHEAP[v+
+20]*IHEAP[v+16]){y=v+24;x=v+32;w=v+16;v=v+20;c:for(;;){i=IHEAP[y]+48*b;IHEAP[i+36]=0;C=IHEAP[t]-IHEAP[i+28];z=IHEAP[IHEAP[x]+12]+16*b;for(i=12;;){i=i==16?n:z;if(i==0)break;if(!(IHEAP[i+4]>C))break;IHEAP[i+4]=C;n=IHEAP[i];i=16}b+=1;if(!(b<IHEAP[v]*IHEAP[w]))break c}}var D=D+1;if(h<IHEAP[q]){i=19;h=3}else{h=20;break b}}}while(0);n=_malloc(20);b=k;IHEAP[n]=b;IHEAP[n+4]=b+a;IHEAP[n+8]=b;IHEAP[n+12]=0;IHEAP[n+16]=8;_bio_write(n,1,1);b=0;if(b<IHEAP[m+24]){A=e+1;B=m+24;o=b;p=o+1;i=22;a:for(;;){ea=i==22?
+0:ea;r=p+ea;h=IHEAP[m+28+(o+ea)*32+20]+36*l;b=0;if(b<IHEAP[h+20]*IHEAP[h+16]){q=h+24;u=h+16;s=h+20;D=h+28;b:for(;;){i=IHEAP[q]+48*b;t=IHEAP[i+4]+20*e;v=IHEAP[i+36]!=0;c:do if(!v){if(IHEAP[t]==0)break c;y=IHEAP[IHEAP[D]+12]+16*b;for(i=27;;){i=i==31?J:y;if(i==0)break c;if(!(IHEAP[i+4]>e))break c;IHEAP[i+4]=e;var J=IHEAP[i];i=31}}while(0);b+=1;if(!(b<IHEAP[s]*IHEAP[u]))break b}}b=0;if(b<IHEAP[h+20]*IHEAP[h+16]){q=h+24;u=h+32;s=h+16;D=h+20;t=h+28;b:for(;;){v=IHEAP[q]+48*b;y=IHEAP[v+4]+20*e;IHEAP[v+36]!=
+0?_bio_write(n,IHEAP[y]!=0,1):_tgt_encode(n,IHEAP[t],b,A);x=IHEAP[y]!=0;c:do if(x){if(IHEAP[v+36]==0){IHEAP[v+32]=3;_tgt_encode(n,IHEAP[u],b,999)}i=IHEAP[y];h=i==1?91:i==2?92:93;d:do if(h==93)if(i<=5)_bio_write(n,i-3|12,4);else if(i<=36)_bio_write(n,i-6|480,9);else{if(!(i<=164))break d;_bio_write(n,i-37|65408,16)}else if(h==91)_bio_write(n,0,1);else h==92&&_bio_write(n,2,2);while(0);w=IHEAP[v+36];C=w<IHEAP[y]+IHEAP[v+36];d:do if(C){z=IHEAP[v+8];var E=v+32;i=IHEAP[y]+IHEAP[v+36];var N=v+36,Q=y;h=w+
+1;var S=(i>h?i:h)-w;i=41;e:for(;;){ca=i==41?0:ca;fa=i==41?0:fa;var P=w+ca;V=(i==41?0:V)+1;ba=(i==41?0:ba)+IHEAP[z+20*P+16];var G=IHEAP[z+20*P+12]!=0;f:do if(G)h=44;else{if(P==IHEAP[N]+-1+IHEAP[Q]){i=43;h=44}else{i=43;h=45}break f}while(0);f:do if(h==44){if(ba>1){i=44;h=46}else{i=44;h=47}g:for(;;)if(h==46){K=i==46?K:0;var F=K+1,L=(i==46?L:ba)>>1,K=K+1;if(L>1)h=i=46;else{i=46;h=47}}else if(h==47){var H=i==44?0:F,M=IHEAP[E];if(V>1){i=47;h=48}else{i=47;h=49}break g}for(;;)if(h==48){R=i==48?R:0;var I=
+R+1,O=(i==48?O:V)>>1,R=R+1;if(O>1)h=i=48;else{i=48;h=49}}else if(h==49){var T=H+1+(0-M)+(0-(i==47?0:I));T=fa>T?fa:T;i=49;break f}}while(0);var V=i==43?V:0,ba=i==43?ba:0,fa=i==43?fa:T,ca=ca+1;if(ca!=S)i=45;else break e}if(!(fa+-1>=0)){i=50;break d}i=1-fa;h=fa+(i>0?i:0);for(i=51;;){U=i==51?0:U;_bio_write(n,1,1);var U=U+1;if(U!=h)i=53;else break}i=54}else i=40;while(0);w=i==54?V:i==50?V:0;C=i==54?ba:i==50?ba:0;i=i==54?fa:i==50?fa:0;_bio_write(n,0,1);IHEAP[v+32]+=i;z=IHEAP[v+36];if(!(z<IHEAP[y]+IHEAP[v+
+36]))break c;E=v+8;N=v+32;Q=v+36;S=y;P=v+36;G=y;var $=z+1;i=56;d:for(;;){ia=i==56?0:ia;var Y=z+ia,Z=$+ia;h=IHEAP[E];ga=(i==56?w:ga)+1;ja=(i==56?C:ja)+IHEAP[h+20*Y+16];var W=IHEAP[h+20*Y+12]!=0;e:do if(W)h=60;else{if(Y==IHEAP[P]+-1+IHEAP[G]){i=59;h=60}else{i=59;h=61}break e}while(0);e:do if(h==60){Y=IHEAP[N];if(ga>1){i=60;h=62}else{i=60;h=63}for(;;)if(h==62){ka=i==62?ka:0;var X=ka+1,aa=(i==62?aa:ga)>>1,ka=ka+1;if(aa>1)h=i=62;else{i=62;h=63}}else if(h==63){_bio_write(n,ja,(i==60?0:X)+Y);i=63;break e}}while(0);
+var ga=i==59?ga:0,ja=i==59?ja:0,ia=ia+1;if(Z<IHEAP[S]+IHEAP[Q])i=61;else break d}}while(0);b+=1;if(!(b<IHEAP[D]*IHEAP[s]))break b}}var ea=ea+1;if(r<IHEAP[B]){i=68;h=23}else{h=69;break a}}}if(_bio_flush(n)!=0){n!=0&&_free(n);j=-999}else{k+=IHEAP[n+8]-IHEAP[n];n!=0&&_free(n);if((IHEAP[f+4]&4)!=0){IHEAP[k]=-1;IHEAP[k+1]=-110;k+=2}J=d!=0;a:do if(J){if(IHEAP[d+12]==0){h=76;break a}f=IHEAP[IHEAP[d+88]+572*g+548]+20*IHEAP[d+8];IHEAP[f+4]=k-c}while(0);b=0;f=m+24;a=c+a;J=d!=0;F=d+12;L=d+8;H=d+88;M=b;i=76;
+a:for(;;){oa=i==83?oa:0;I=M+oa;O=m+28+I*32+20;if(!(I<IHEAP[f])){h=80;break a}X=IHEAP[O]+36*l;b=0;I=X+16;O=X+20;X=X+24;b:for(;;){if(!(b<IHEAP[O]*IHEAP[I]))break b;aa=IHEAP[X]+48*b;K=IHEAP[aa+4]+20*e;R=IHEAP[K]!=0;c:do if(R){if(k+IHEAP[K+4]>a){h=84;break a}_llvm_memcpy_p0i8_p0i8_i32(k,IHEAP[K+16],IHEAP[K+4],1,0);IHEAP[aa+36]+=IHEAP[K];k+=IHEAP[K+4];if(!J)break c;if(IHEAP[F]==0)break c;T=IHEAP[IHEAP[H]+572*g+548]+20*IHEAP[L];FHEAP[T+12]+=FHEAP[K+8];if(!(FHEAP[d]<FHEAP[T+12]))break c;FHEAP[d]=FHEAP[T+
+12]}while(0);b+=1}var oa=oa+1;i=83;h=78}if(h==80)j=k-c;else if(h==84)j=-999}return j}_t2_encode_packet.__index__=Runtime.getFunctionIndex(_t2_encode_packet,"_t2_encode_packet");
+function _t2_decode_packets(b,f,e,c,a,d){var g,h=null,i,j,k,m,l,n,o,p,r,q,u,s,t,v,y,x,w,C,z,A,B,D,J,E,N,Q,S,P;J=f;N=k=0;S=IHEAP[b+4];P=IHEAP[b+8];E=_pi_create_decode(S,P,c);var G=E!=0;a:do{if(G){o=Q=0;b:for(;;){if(!(o<=IHEAP[IHEAP[P+108]+5588*c+420])){g=3;break b}c:for(;;){if(_pi_next(E+232*o)==0)break c;j=IHEAP[P+40]==0;d:do if(j)g=6;else{if(IHEAP[P+40]>=IHEAP[E+232*o+36]+1){g=6;break d}var F=k=0;h=7;g=111;break d}while(0);if(g==6){u=d!=0?IHEAP[IHEAP[d+88]+572*c+548]+20*IHEAP[d+8]:0;j=J;s=f+e-J;
+t=a;v=IHEAP[P+108]+5588*c;C=E+232*o;B=u;u=b;j=j;s=s;t=t;v=v;r=C;y=B;C=j;z=IHEAP[u+8];A=IHEAP[r+24];q=IHEAP[r+28];B=IHEAP[r+32];p=IHEAP[r+36];t=IHEAP[IHEAP[t+20]+32*A+20]+124*q;r=p==0;d:do if(r){x=0;if(!(x<IHEAP[t+24]))break d;q=t;m=B;l=t+24;w=w;n=x;var L=n+1;h=9;e:for(;;){W=h==9?0:W;Z=h==9?w:Z;var K=L+W;h=n+W;var H=q+28+h*32+4,M=q+28+h*32+12,I=IHEAP[q+28+h*32+20]+36*m,O=IHEAP[q+28+h*32+8]-IHEAP[q+28+h*32]==0;f:do if(O)h=11;else{if(IHEAP[M]-IHEAP[H]==0){h=12;break f}var R=IHEAP[I+28],T=0==R;g:do if(!T){if(!(0<
+IHEAP[R+8]))break g;var V=R+12,ba=R+12;x=R+12;var fa=R+8;for(h=16;;){ca=h==16?0:ca;h=ca+1;IHEAP[IHEAP[V]+16*ca+4]=999;IHEAP[IHEAP[ba]+16*ca+8]=0;IHEAP[IHEAP[x]+16*ca+12]=0;var ca=ca+1;if(h<IHEAP[fa])h=18;else break g}}while(0);R=IHEAP[I+32];T=0==R;g:do if(!T){if(!(0<IHEAP[R+8]))break g;V=R+12;ba=R+12;x=R+12;fa=R+8;for(h=20;;){U=h==20?0:U;h=U+1;IHEAP[IHEAP[V]+16*U+4]=999;IHEAP[IHEAP[ba]+16*U+8]=0;IHEAP[IHEAP[x]+16*U+12]=0;var U=U+1;if(h<IHEAP[fa])h=22;else break g}}while(0);if(!(0<IHEAP[I+20]*IHEAP[I+
+16])){h=21;break f}R=I+24;T=I+16;V=I+20;for(h=23;;){Y=h==23?0:Y;var $=Y+1;IHEAP[IHEAP[R]+44*Y+40]=0;var Y=Y+1;if($<IHEAP[V]*IHEAP[T])h=24;else break}h=25}while(0);var Z=h==11?Z:h==12?Z:h==25?$:0,W=W+1;if(K<IHEAP[l])h=13;else{h=13;break e}}w=Z}while(0);r=(IHEAP[v+4]&2)!=0;d:do if(r){q=IHEAP[C]!=255;e:do if(!q){if(IHEAP[C+1]!=145)break e;C+=6;break d}while(0);_opj_event_msg(IHEAP[u],2,__str142)}while(0);q=r=_malloc(20);if(IHEAP[z+92]==1){l=r=IHEAP[z+84];n=IHEAP[z+104];m=q;l=l;n=n;IHEAP[m]=l;IHEAP[m+
+4]=l+n;IHEAP[m+8]=l;IHEAP[m+12]=0;IHEAP[m+16]=0}else if(IHEAP[v+5172]==1){l=r=IHEAP[v+5164];n=IHEAP[v+5180];m=q;l=l;n=n;IHEAP[m]=l;IHEAP[m+4]=l+n;IHEAP[m+8]=l;IHEAP[m+12]=0;IHEAP[m+16]=0}else{l=r=C;n=j+s-r;m=q;l=l;n=n;IHEAP[m]=l;IHEAP[m+4]=l+n;IHEAP[m+8]=l;IHEAP[m+12]=0;IHEAP[m+16]=0}if(_bio_read(q,1)!=0){x=0;if(x<IHEAP[t+24]){var X=t;m=B;l=t+24;K=L=n=q;H=A;M=v+5584;I=q;O=A;R=v+5584;A=A;T=v+5584;ba=V=q;p=p+1;w=w;x=x;fa=x+1;h=44;d:for(;;){Qa=h==44?0:Qa;Ha=h==44?w:Ha;var aa=fa+Qa;h=x+Qa;var ka=X+28+
+h*32+24,ga=X+28+h*32+4,ja=X+28+h*32+12,ia=IHEAP[X+28+h*32+20]+36*m,ea=IHEAP[X+28+h*32+8]-IHEAP[X+28+h*32]==0;e:do if(ea)h=45;else{if(IHEAP[ja]-IHEAP[ga]==0){h=46;break e}if(!(0<IHEAP[ia+20]*IHEAP[ia+16])){h=48;break e}var oa=ia+24,pa=ia+32,da=ia+32,ha=ia+16,qa=ia+20,wa=ia+28;h=49;for(;;){var la=h==49?0:D,ma=la+1;D=IHEAP[oa]+44*la;if(IHEAP[D+40]!=0){var ua=_bio_read(n,1);h=53}else{var ra=_tgt_decode(n,IHEAP[wa],la,p);h=51}g=D;if((h==53?ua:ra)!=0){var ta=IHEAP[g+40]!=0;g:do if(!ta){if(_tgt_decode(V,
+IHEAP[pa],la,0)!=0^1){h=56;g=57}else{h=56;g=58}for(;;)if(g==57){na=h==57?na:0;var va=na+1,na=na+1;if(_tgt_decode(ba,IHEAP[da],la,va)!=0^1)g=h=57;else{h=57;g=58}}else if(g==58){IHEAP[D+24]=IHEAP[ka]-((h==56?0:va)-1);IHEAP[D+28]=3;break g}}while(0);g=_bio_read(L,1)!=0;g:do if(g){if(_bio_read(L,1)==0){h=60;break g}h=_bio_read(L,2);if(h!=3){var ya=h+3;h=63}else{h=_bio_read(L,5);if(h!=31){var Ba=h+6;h=65}else{var Na=_bio_read(L,7)+37;h=66}}}else h=59;while(0);IHEAP[D+36]=h==63?ya:h==65?Ba:h==66?Na:h==
+59?1:2;if(_bio_read(K,1)!=0){h=62;g=67}else{h=62;g=68}g:for(;;)if(g==67){Ja=h==67?Ja:0;var Pa=Ja+1;h=_bio_read(K,1)!=0;var Ja=Ja+1;if(h)g=h=67;else{h=67;g=68}}else if(g==68){IHEAP[D+28]+=h==62?0:Pa;var xa=D;g=IHEAP[D+40]!=0?69:70;break g}g:do if(g==69){var Ya=IHEAP[xa+40]-1;if(IHEAP[IHEAP[D+4]+28*Ya+8]!=IHEAP[IHEAP[D+4]+28*Ya+16]){h=69;break g}var $a=Ya+1;_t2_init_seg(D,$a,IHEAP[IHEAP[M]+1076*H+16],0);h=72}else if(g==70){_t2_init_seg(xa,0,IHEAP[IHEAP[T]+1076*A+16],1);h=70}while(0);ta=h==69?Ya:h==
+72?$a:0;var db=IHEAP[D+36],Ta=ta+1;h=73;g:for(;;){var Ma=h==77?Ea:0,Ga=h==77?La:db,Ca=Ta+Ma,Ka=ta+Ma;h=IHEAP[IHEAP[D+4]+28*Ka+16]-IHEAP[IHEAP[D+4]+28*Ka+8];IHEAP[IHEAP[D+4]+28*Ka+20]=h<Ga?h:Ga;var Ra=IHEAP[D+28],Oa=IHEAP[IHEAP[D+4]+28*Ka+20];if(Oa>1){h=74;g=75}else{h=74;g=76}for(;;)if(g==75){Aa=h==75?Aa:0;var Ia=Aa+1,Sa=(h==75?Sa:Oa)>>1,Aa=Aa+1;if(Sa>1)g=h=75;else{h=75;g=76}}else if(g==76){La=_bio_read(I,(h==74?0:Ia)+Ra);IHEAP[IHEAP[D+4]+28*Ka+24]=La;var La=Ga-IHEAP[IHEAP[D+4]+28*Ka+20];if(La>0)break;
+else break g}_t2_init_seg(D,Ca,IHEAP[IHEAP[R]+1076*O+16],0);var Ea=Ma+1;h=77}}else IHEAP[g+36]=0;D=la+1;if(ma<IHEAP[qa]*IHEAP[ha])h=79;else{h=79;break e}}}while(0);var Ha=h==45?Ha:h==46?Ha:h==48?0:ma,Qa=Qa+1;if(aa<IHEAP[l])h=47;else{h=47;break d}}w=Ha}p=_bio_inalign(q)!=0;X=q;if(p){g=82;break b}p=X;r+=IHEAP[p+8]-IHEAP[p];q=q;q!=0&&_free(q);if((IHEAP[v+4]&4)!=0){if(IHEAP[r]!=255){g=87;break b}if(IHEAP[r+1]!=146){g=87;break b}r+=2}if(y!=0)IHEAP[y+4]=r-j;if(IHEAP[z+92]==1){h=z+104;IHEAP[h]=0-r+IHEAP[z+
+84]+IHEAP[h];IHEAP[z+84]=r}else if(IHEAP[v+5172]==1){h=v+5180;IHEAP[h]=0-r+IHEAP[v+5164]+IHEAP[h];IHEAP[v+5164]=r}else C=r;x=0;d:for(;;){if(!(x<IHEAP[t+24]))break d;v=t+28+x*32;z=IHEAP[v+20]+36*B;r=IHEAP[v+8]-IHEAP[v]==0;e:do if(!r){if(IHEAP[v+12]-IHEAP[v+4]==0)break e;w=0;for(;;){if(!(w<IHEAP[z+20]*IHEAP[z+16]))break e;h=IHEAP[z+24]+44*w;if(IHEAP[h+36]!=0){q=IHEAP[h+40]!=0;p=h;g:do if(q){y=IHEAP[h+4]+28*(IHEAP[p+40]-1);if(IHEAP[y+8]!=IHEAP[y+16])break g;y+=28;IHEAP[h+40]+=1}else{y=IHEAP[p+4];IHEAP[h+
+40]+=1;IHEAP[h+32]=0}while(0);q=j+s;p=h;A=h+32;l=m=h;n=h+32;L=h;K=h+32;H=h+32;M=h+36;I=h+36;O=h+40;R=h+36;C=C;for(h=102;;){T=h==102?C:Da;if(T+IHEAP[y+24]>q){g=104;break b}Da=_realloc(IHEAP[p],(IHEAP[y+24]+IHEAP[A])*4);IHEAP[m]=Da;_llvm_memcpy_p0i8_p0i8_i32(IHEAP[l]+IHEAP[n],T,IHEAP[y+24],1,0);if(IHEAP[y+8]==0){IHEAP[y]=L;IHEAP[y+4]=IHEAP[K]}var Da=T+IHEAP[y+24];IHEAP[H]+=IHEAP[y+24];IHEAP[y+12]+=IHEAP[y+24];IHEAP[y+8]+=IHEAP[y+20];IHEAP[M]-=IHEAP[y+20];if(IHEAP[I]>0){y+=28;IHEAP[O]+=1}if(IHEAP[R]>
+0)h=108;else break}C=Da}w+=1}}while(0);x+=1}var eb=C-j;h=95}else{_bio_inalign(q);k=q;r+=IHEAP[k+8]-IHEAP[k];k=q;k!=0&&_free(k);k=(IHEAP[v+4]&4)!=0;d:do if(k){var za=IHEAP[r]!=255;e:do if(!za){if(IHEAP[r+1]!=146)break e;r+=2;break d}while(0);_puts(_str)}while(0);if(y!=0)IHEAP[y+4]=C-j;if(IHEAP[z+92]==1){var Wa=z+104;IHEAP[Wa]=0-r+IHEAP[z+84]+IHEAP[Wa];IHEAP[z+84]=r;Wa=C-j;h=40}else if(IHEAP[v+5172]==1){var Ua=v+5180;IHEAP[Ua]=0-r+IHEAP[v+5164]+IHEAP[Ua];IHEAP[v+5164]=r;Ua=C-j;h=42}else{var ab=r-j;
+h=43}}k=za=h==95?eb:h==43?ab:h==42?Ua:Wa;if(za==-999){h=113;g=114;break b}else h=113}j=E+232*o;if((h==7?F:za)>0){s=IHEAP[IHEAP[S+24]+48*IHEAP[E+232*o+24]+36];i=IHEAP[j+28];j=s;s=i;C=j;i=i>j?s:C;h=116}else{var tb=IHEAP[IHEAP[S+24]+48*IHEAP[j+24]+36];h=118}IHEAP[IHEAP[S+24]+48*IHEAP[E+232*o+24]+36]=h==116?i:tb;if(d!=0){s=IHEAP[d+88]+572*c;j=IHEAP[s+548]+20*IHEAP[d+8];if(IHEAP[d+8]!=0)if(IHEAP[IHEAP[s+548]+20*(IHEAP[d+8]-1)+8]>=IHEAP[IHEAP[IHEAP[d+88]+572*c+568]+20*N+8]){IHEAP[IHEAP[s+568]+20*N+16]=
+IHEAP[d+8]-Q;Q=IHEAP[d+8];N+=1;IHEAP[j]=IHEAP[IHEAP[IHEAP[d+88]+572*c+568]+20*N+4]+1}else{C=IHEAP[P+16]!=0;d:do if(C){if(IHEAP[j]==0){g=121;break d}var Ab=IHEAP[j];h=120;g=122;break d}else g=121;while(0);if(g==121){var jb=IHEAP[IHEAP[s+548]+20*(IHEAP[d+8]-1)+8]+1;h=121}IHEAP[j]=h==120?Ab:jb}else IHEAP[j]=IHEAP[s+12]+1;IHEAP[j+8]=IHEAP[j]+-1+k;s=j+4;IHEAP[s]=IHEAP[j]+-1+IHEAP[s];IHEAP[d+8]+=1}if(k==-999)break c;J+=k}o+=1;g=1}b:do if(g==3){if(d!=0)IHEAP[IHEAP[IHEAP[d+88]+572*c+568]+20*N+16]=IHEAP[d+
+8]-Q;_pi_destroy(E,P,c);o=k==-999?k:J-f;break a}else if(g==82){o=X;o!=0&&_free(o);g=85;break b}else if(g==87){_opj_event_msg(IHEAP[u],1,__str344);g=85;break b}else if(g==104){g=85;break b}while(0);if(g==85)k=-999}o=-999}while(0);return o}_t2_decode_packets.__index__=Runtime.getFunctionIndex(_t2_decode_packets,"_t2_decode_packets");function _t2_create(b,f,e){var c;c=_malloc(12);if(c!=0){IHEAP[c]=b;IHEAP[c+4]=f;IHEAP[c+8]=e;b=c}else b=0;return b}
+_t2_create.__index__=Runtime.getFunctionIndex(_t2_create,"_t2_create");function _t2_destroy(b){b!=0&&_free(b)}_t2_destroy.__index__=Runtime.getFunctionIndex(_t2_destroy,"_t2_destroy");
+function _t2_init_seg(b,f,e,c){var a=null;a=_realloc(IHEAP[b+4],(f+1)*28);IHEAP[b+4]=a;b=IHEAP[b+4]+28*f;IHEAP[b]=0;IHEAP[b+4]=0;IHEAP[b+8]=0;IHEAP[b+12]=0;if((e&4)!=0)IHEAP[b+16]=1;else if((e&1)!=0)if(c!=0)IHEAP[b+16]=10;else{if(IHEAP[b+-28+16]==1)a=2;else{var d=IHEAP[b+-28+16]==10;a=0}IHEAP[b+16]=(a==2?1:d)?2:1}else IHEAP[b+16]=109}_t2_init_seg.__index__=Runtime.getFunctionIndex(_t2_init_seg,"_t2_init_seg");
+function _tcd_dump(b,f,e){var c,a=null;_fwrite(__str49108,8,1,b);_fprintf(b,__str150,IHEAP[e],IHEAP[e+4],IHEAP[IHEAP[f+28]],IHEAP[IHEAP[f+28]+8],IHEAP[IHEAP[f+28]+4],IHEAP[IHEAP[f+28]+12]);if(0<IHEAP[e]*IHEAP[e+4]){f=f+24;var d=e+4;a=0;a:for(;;){B=a==0?0:B;var g=0+B,h=1+B,i=IHEAP[IHEAP[f]+8];_fwrite(__str251,9,1,b);_fprintf(b,__str352,IHEAP[i+840*g],IHEAP[i+840*g+4],IHEAP[i+840*g+8],IHEAP[i+840*g+12],IHEAP[i+840*g+16]);if(0<IHEAP[i+840*g+16]){var j=i+840*g+16;g=i+840*g+20;a=2;b:for(;;){A=a==2?0:A;
+i=A+1;var k=IHEAP[g];_fwrite(__str453,12,1,b);_fprintf(b,__str554,IHEAP[k+32*A],IHEAP[k+32*A+4],IHEAP[k+32*A+8],IHEAP[k+32*A+12],IHEAP[k+32*A+16]);if(0<IHEAP[k+32*A+16]){var m=k+32*A+16;k=k+32*A+20;a=4;c:for(;;){z=a==4?0:z;var l=z+1,n=IHEAP[k];_fwrite(__str655,10,1,b);_fprintf(b,__str756,IHEAP[n+124*z],IHEAP[n+124*z+4],IHEAP[n+124*z+8],IHEAP[n+124*z+12],IHEAP[n+124*z+16],IHEAP[n+124*z+20],IHEAP[n+124*z+24]);if(0<IHEAP[n+124*z+24]){var o=n+124*z+24,p=n+124*z+16,r=n+124*z+20;a=6;d:for(;;){var q=a==
+6?0:C;a=n+124*z+28+q*32+4;c=n+124*z+28+q*32+8;var u=n+124*z+28+q*32+12,s=n+124*z+28+q*32+28,t=n+124*z+28+q*32+24,v=n+124*z+28+q*32+20,y=n+124*z+28+q*32,x=q+1;_fwrite(__str857,15,1,b);_fprintf(b,__str958,IHEAP[y],IHEAP[a],IHEAP[c],IHEAP[u],FHEAP[s],IHEAP[t]);if(0<IHEAP[r]*IHEAP[p]){a=7;c=8}else{a=7;c=9}for(;;)if(c==8){w=a==8?w:0;a=w+1;c=IHEAP[v];_fwrite(__str1059,17,1,b);_fprintf(b,__str1160,IHEAP[c+36*w],IHEAP[c+36*w+4],IHEAP[c+36*w+8],IHEAP[c+36*w+12],IHEAP[c+36*w+16],IHEAP[c+36*w+20]);_fwrite(__str1261,
+12,1,b);var w=w+1;if(a<IHEAP[r]*IHEAP[p])c=a=8;else{a=10;c=9}}else if(c==9){_fwrite(__str1362,10,1,b);var C=q+1;if(x<IHEAP[o]){a=9;continue d}else break d}}}_fwrite(__str1463,8,1,b);var z=z+1;if(l<IHEAP[m])a=13;else break c}}_fwrite(__str1564,6,1,b);var A=A+1;if(i<IHEAP[j])a=16;else break b}}_fwrite(__str1665,4,1,b);var B=B+1;if(h<IHEAP[e]*IHEAP[d])a=19;else break a}}_fwrite(__str17109,2,1,b)}_tcd_dump.__index__=Runtime.getFunctionIndex(_tcd_dump,"_tcd_dump");
+function _tcd_create(b){var f;f=_malloc(56);if(f!=0){IHEAP[f+20]=b;b=_malloc(12);IHEAP[f+24]=b;if(IHEAP[f+24]!=0)f=f;else{_free(f);f=0}}else f=0;return f}_tcd_create.__index__=Runtime.getFunctionIndex(_tcd_create,"_tcd_create");function _tcd_destroy(b){if(b!=0){_free(IHEAP[b+24]);_free(b)}}_tcd_destroy.__index__=Runtime.getFunctionIndex(_tcd_destroy,"_tcd_destroy");
+function _tcd_malloc_encode(b,f,e,c){var a,d=null,g,h,i,j;IHEAP[b+28]=f;IHEAP[b+32]=e;IHEAP[IHEAP[b+24]]=IHEAP[e+68];IHEAP[IHEAP[b+24]+4]=IHEAP[e+72];var k=_malloc(840);IHEAP[IHEAP[b+24]+8]=k;k=e+108;var m=e+68,l=e+68,n=b+24,o=e+48,p=e+56,r=e+52,q=e+60,u=f+4,s=e+48,t=e+56,v=f+8,y=e+52,x=e+60,w=f+12,C=f+16;e=e+16;var z=f+24,A=f+24,B=f+24;b=b+12;var D=f+16,J=f+24,E=f+24,N=f+24,Q=f+24,S=f+24;d=0;a:for(;;){Wa=d==0?0:Wa;var P=IHEAP[k],G=P+5588*c,F=c%IHEAP[m],L=c/IHEAP[l]|0,K=IHEAP[IHEAP[n]+8],H=IHEAP[p]*
+F+IHEAP[o],M=IHEAP[f];IHEAP[K]=H>M?H:M;H=IHEAP[q]*L+IHEAP[r];M=IHEAP[u];IHEAP[K+4]=H>M?H:M;F=IHEAP[t]*(F+1)+IHEAP[s];H=IHEAP[v];IHEAP[K+8]=F<H?F:H;L=IHEAP[x]*(L+1)+IHEAP[y];F=IHEAP[w];IHEAP[K+12]=L<F?L:F;IHEAP[K+16]=IHEAP[C];L=0<IHEAP[G+12];b:do if(L){F=K+16;H=K+8;M=K;var I=K+12,O=K+4,R=G+12,T=G+12,V=G+12,ba=P+5588*c+16;d=2;for(;;){X=d==2?0:X;var fa=P+5588*c+20+X*4,ca=ba+4*X,U=X+1,$=FHEAP[fa]!=0;d:do if($){var Y=(IHEAP[H]-IHEAP[M])*IHEAP[F]*(IHEAP[I]-IHEAP[O])*IHEAP[IHEAP[z]+24]/(FHEAP[fa]*8*IHEAP[IHEAP[A]]*
+IHEAP[IHEAP[B]+4]);if(IHEAP[e]!=0){var Z=Y-((IHEAP[b]-1)*14/IHEAP[R]|0);d=5}else d=55;Y=d==5?Z:Y;FHEAP[fa]=Y;if(Y==0)break d;Y=X!=0;var W=FHEAP[fa];e:do if(Y){if(!(W<FHEAP[ca]+10))break e;FHEAP[fa]=FHEAP[ca]+20}else{if(!(W<30))break e;FHEAP[fa]=30}while(0);if(X!=IHEAP[T]-1)break d;FHEAP[fa]-=2}else FHEAP[fa]=0;while(0);var X=X+1;if(U<IHEAP[V])d=8;else break b}}while(0);P=_malloc(IHEAP[D]*32);IHEAP[K+20]=P;if(0<IHEAP[K+16]){G=G+5584;P=K+20;L=K;F=K+4;H=K+8;M=K+12;K=K+16;d=15;b:for(;;){O=d==15?0:g;I=
+O+1;R=IHEAP[G];g=IHEAP[P]+32*O;T=IHEAP[IHEAP[J]+48*O];IHEAP[g]=(IHEAP[L]+-1+T)/T|0;T=IHEAP[IHEAP[E]+48*O+4];IHEAP[g+4]=(IHEAP[F]+-1+T)/T|0;T=IHEAP[IHEAP[N]+48*O];IHEAP[g+8]=(IHEAP[H]+-1+T)/T|0;T=IHEAP[IHEAP[Q]+48*O+4];IHEAP[g+12]=(IHEAP[M]+-1+T)/T|0;T=_memalign(16,(IHEAP[g+8]-IHEAP[g])*4*(IHEAP[g+12]-IHEAP[g+4]));IHEAP[g+24]=T;IHEAP[g+16]=IHEAP[R+1076*O+4];T=_malloc(IHEAP[g+16]*124);IHEAP[g+20]=T;if(0<IHEAP[g+16]){T=R+1076*O;V=R+1076*O+8;ba=R+1076*O+12;U=R+1076*O+28+4;fa=R+1076*O+28;ca=R+1076*O+28;
+$=R+1076*O+20;Y=R+1076*O+804;d=17;c:for(;;){var aa=d==17?0:h,ka=R+1076*O+944+aa*4,ga=R+1076*O+812+aa*4,ja=aa*3+-2;i=aa*-1;var ia=i+-1;W=aa+1;var ea=IHEAP[g+16];h=IHEAP[g+20]+124*aa;IHEAP[h]=IHEAP[g]+-1+(1<<ea+ia)>>ea+ia;IHEAP[h+4]=IHEAP[g+4]+-1+(1<<ea+ia)>>ea+ia;IHEAP[h+8]=IHEAP[g+8]+-1+(1<<ea+ia)>>ea+ia;IHEAP[h+12]=IHEAP[g+12]+-1+(1<<ea+ia)>>ea+ia;IHEAP[h+24]=aa==0?1:3;if((IHEAP[T]&1)!=0){var oa=IHEAP[ga],pa=IHEAP[ka];d=19}else d=18;var da=d==19?pa:15,ha=d==19?oa:15;ga=IHEAP[h]>>ha<<ha;ka=IHEAP[h+
+4]>>da<<da;var qa=IHEAP[h+12]+-1+(1<<da)>>da<<da;IHEAP[h+16]=(IHEAP[h+8]+-1+(1<<ha)>>ha<<ha)-ga>>ha;IHEAP[h+20]=qa-ka>>da;if(aa==0)d=21;else{var wa=ga+-1+2>>1,la=ka+-1+2>>1,ma=ha-1,ua=da-1;d=23}var ra=d==23?ua:da;ka=d==23?la:ka;var ta=d==23?ma:ha;ga=d==23?wa:ga;ha=IHEAP[V];ha=ha<ta?ha:ta;da=IHEAP[ba];da=da<ra?da:ra;if(0<IHEAP[h+24]){qa=aa==0;var va=aa==0,na=1<<ta,ya=1<<ra;ta=1<<ta;ra=1<<ra;var Ba=1<<ha,Na=1<<da,Pa=1<<ha,Ja=1<<da,xa=ea+ia,Ya=1<<xa,$a=1<<xa;xa=1<<xa;var db=1<<ea+ia;ia=ea+ia;ea=ea+i;
+d=24;d:for(;;){var Ta=d==24?0:za;j=ja+Ta;var Ma=Ta+1;i=h+28+Ta*32;IHEAP[i+16]=qa?0:Ma;if(IHEAP[i+16]==1)d=25;else{var Ga=IHEAP[i+16]==3;d=26}var Ca=(d==25?1:Ga)?1:0;if(IHEAP[i+16]==2)d=53;else{var Ka=IHEAP[i+16]==3;d=28}d=(d==53?1:Ka)?1:0;var Ra=IHEAP[g];if(IHEAP[i+16]==0){IHEAP[i]=Ra+-1+(1<<ia)>>ia;IHEAP[i+4]=IHEAP[g+4]+-1+(1<<ia)>>ia;IHEAP[i+8]=IHEAP[g+8]+-1+(1<<ia)>>ia;IHEAP[i+12]=IHEAP[g+12]+-1+(1<<ia)>>ia}else{IHEAP[i]=Ra-Ca*Ya+-1+(1<<ea)>>ea;IHEAP[i+4]=IHEAP[g+4]-$a*d+-1+(1<<ea)>>ea;IHEAP[i+
+8]=IHEAP[g+8]-xa*Ca+-1+(1<<ea)>>ea;IHEAP[i+12]=IHEAP[g+12]-db*d+-1+(1<<ea)>>ea}j=va?0:j;Ca=IHEAP[i+16];Ra=IHEAP[$]==0|Ca==0;e:do if(Ra)d=54;else{if(Ca==1){d=52;break e}else if(Ca==2){d=52;break e}d=31}while(0);Ca=1+IHEAP[U+4*j*2]/2048;d=_ldexp(1,(d==54?0:d==31?2:d==52?1:1)+IHEAP[IHEAP[S]+48*O+24]-IHEAP[fa+8*j]);FHEAP[i+28]=Ca*d;IHEAP[i+24]=IHEAP[ca+8*j]+-1+IHEAP[Y];d=_malloc(IHEAP[h+16]*108*IHEAP[h+20]);IHEAP[i+20]=d;if(0<IHEAP[h+16]*3*IHEAP[h+20]){d=33;a=34}else{d=33;a=35}e:for(;;)if(a==34){Oa=d==
+34?Oa:0;d=Oa+1;IHEAP[IHEAP[i+20]+36*Oa+32]=0;IHEAP[IHEAP[i+20]+36*Oa+28]=0;var Oa=Oa+1;if(d<IHEAP[h+16]*3*IHEAP[h+20])a=d=34;else{d=34;a=35}}else if(a==35){if(0<IHEAP[h+20]*IHEAP[h+16]){d=35;a=36}else{d=35;a=37}break e}e:for(;;)if(a==36){Ca=d==39?eb:0;Ra=Ca+1;a=na*(Ca%IHEAP[h+16])+ga;var Ia=ya*(Ca/IHEAP[h+16]|0)+ka,Sa=ta+a;d=ra+Ia;j=IHEAP[i+20]+36*Ca;var Aa=IHEAP[i];IHEAP[j]=a>Aa?a:Aa;a=IHEAP[i+4];IHEAP[j+4]=Ia>a?Ia:a;Ia=IHEAP[i+8];IHEAP[j+8]=Sa<Ia?Sa:Ia;Sa=IHEAP[i+12];IHEAP[j+12]=d<Sa?d:Sa;Sa=IHEAP[j]>>
+ha<<ha;Ia=IHEAP[j+4]>>da<<da;d=IHEAP[j+12]+-1+(1<<da)>>da<<da;IHEAP[j+16]=(IHEAP[j+8]+-1+(1<<ha)>>ha<<ha)-Sa>>ha;IHEAP[j+20]=d-Ia>>da;d=_calloc(IHEAP[j+20]*IHEAP[j+16],48);IHEAP[j+24]=d;d=_tgt_create(IHEAP[j+16],IHEAP[j+20]);IHEAP[j+28]=d;d=_tgt_create(IHEAP[j+16],IHEAP[j+20]);IHEAP[j+32]=d;if(0<IHEAP[j+20]*IHEAP[j+16]){d=36;a=38}else{d=36;a=39}for(;;)if(a==38){Da=d==38?Da:0;d=Da+1;var La=Ba*(Da%IHEAP[j+16])+Sa,Ea=Na*(Da/IHEAP[j+16]|0)+Ia,Ha=Pa+La;Aa=Ja+Ea;a=IHEAP[j+24];var Qa=IHEAP[j];IHEAP[a+48*
+Da+12]=La>Qa?La:Qa;La=IHEAP[j+4];IHEAP[a+48*Da+16]=Ea>La?Ea:La;Ea=IHEAP[j+8];IHEAP[a+48*Da+20]=Ha<Ea?Ha:Ea;Ha=IHEAP[j+12];IHEAP[a+48*Da+24]=Aa<Ha?Aa:Ha;Aa=_calloc(8194,1);IHEAP[a+48*Da]=Aa;IHEAP[a+48*Da]+=2;Aa=_calloc(100,20);IHEAP[a+48*Da+4]=Aa;Aa=_calloc(100,20);IHEAP[a+48*Da+8]=Aa;var Da=Da+1;if(d<IHEAP[j+20]*IHEAP[j+16])a=d=38;else{d=40;a=39}}else if(a==39){var eb=Ca+1;if(Ra<IHEAP[h+20]*IHEAP[h+16]){d=39;a=36;continue e}else break}d=41;a=37}else if(a==37){var za=Ta+1;if(Ma<IHEAP[h+24]){d=37;continue d}else break d}}}h=
+aa+1;if(W<IHEAP[g+16])d=44;else break c}}g=O+1;if(I<IHEAP[K])d=47;else break b}}var Wa=Wa+1;if(Wa!=1)d=50;else break a}}_tcd_malloc_encode.__index__=Runtime.getFunctionIndex(_tcd_malloc_encode,"_tcd_malloc_encode");
+function _tcd_free_encode(b){var f,e=null,c=IHEAP[IHEAP[b+24]+8],a=b+24;e=0;a:for(;;){J=e==0?0:J;D=e==0?c:D;if(0<IHEAP[D+16]){var d=D+20,g=D+16;e=2;b:for(;;){B=e==2?0:B;var h=B+1,i=IHEAP[d];if(0<IHEAP[i+32*B+16]){var j=i+32*B+16,k=i+32*B+20;e=4;c:for(;;){A=e==4?0:A;var m=A+1,l=IHEAP[k];if(0<IHEAP[l+124*A+24]){var n=l+124*A+24,o=l+124*A+16,p=l+124*A+20;e=6;d:for(;;){var r=e==6?0:z,q=l+124*A+28+r*32+20,u=r+1;if(0<IHEAP[p]*IHEAP[o]){e=7;f=8}else{e=7;f=9}e:for(;;)if(f==8){C=e==14?C:0;f=C+1;var s=IHEAP[q];
+if(IHEAP[s+36*C+28]!=0){e=IHEAP[s+36*C+28];_free(IHEAP[e+12]);_free(e);IHEAP[s+36*C+28]=0}if(IHEAP[s+36*C+32]!=0){e=IHEAP[s+36*C+32];_free(IHEAP[e+12]);_free(e);IHEAP[s+36*C+32]=0}var t=0<IHEAP[s+36*C+20]*IHEAP[s+36*C+16];f:do if(t){var v=s+36*C+16,y=s+36*C+20,x=s+36*C+24;for(e=12;;){w=e==12?0:w;e=w+1;_free(IHEAP[IHEAP[x]+48*w]+-2);_free(IHEAP[IHEAP[x]+48*w+4]);_free(IHEAP[IHEAP[x]+48*w+8]);var w=w+1;if(e<IHEAP[y]*IHEAP[v])e=13;else break f}}while(0);_free(IHEAP[s+36*C+24]);var C=C+1;if(f<IHEAP[p]*
+IHEAP[o]){e=14;f=8;continue e}e=15;f=9}else if(f==9){_free(IHEAP[q]);IHEAP[q]=0;var z=r+1;if(u<IHEAP[n]){e=9;continue d}else break d}}}var A=A+1;if(m<IHEAP[j])e=18;else break c}}_free(IHEAP[i+32*B+20]);IHEAP[i+32*B+20]=0;var B=B+1;if(h<IHEAP[g])e=21;else break b}}_free(IHEAP[D+20]);IHEAP[D+20]=0;var D=IHEAP[IHEAP[a]+8],J=J+1;if(J!=1)e=24;else break a}_free(D);IHEAP[IHEAP[b+24]+8]=0}_tcd_free_encode.__index__=Runtime.getFunctionIndex(_tcd_free_encode,"_tcd_free_encode");
+function _tcd_init_encode(b,f,e,c){var a,d=null,g,h,i,j,k=e+108,m=e+68,l=e+68,n=b+24,o=e+48,p=e+56,r=e+52,q=e+60,u=f+4,s=e+48,t=e+56,v=f+8,y=e+52,x=e+60,w=f+12,C=f+16;e=e+16;var z=f+24,A=f+24,B=f+24;b=b+12;var D=f+24,J=f+24,E=f+24,N=f+24,Q=f+24;d=0;a:for(;;){Ua=d==0?0:Ua;var S=IHEAP[k],P=S+5588*c,G=c%IHEAP[m],F=c/IHEAP[l]|0,L=IHEAP[IHEAP[n]+8],K=IHEAP[p]*G+IHEAP[o],H=IHEAP[f];IHEAP[L]=K>H?K:H;K=IHEAP[q]*F+IHEAP[r];H=IHEAP[u];IHEAP[L+4]=K>H?K:H;G=IHEAP[t]*(G+1)+IHEAP[s];K=IHEAP[v];IHEAP[L+8]=G<K?G:
+K;F=IHEAP[x]*(F+1)+IHEAP[y];G=IHEAP[w];IHEAP[L+12]=F<G?F:G;IHEAP[L+16]=IHEAP[C];F=0<IHEAP[P+12];b:do if(F){G=L+16;K=L+8;H=L;var M=L+12,I=L+4,O=P+12,R=P+12,T=S+5588*c+16;d=2;for(;;){Y=d==2?0:Y;var V=S+5588*c+20+Y*4,ba=T+4*Y,fa=Y+1,ca=FHEAP[V]!=0;d:do if(ca){var U=(IHEAP[K]-IHEAP[H])*IHEAP[G]*(IHEAP[M]-IHEAP[I])*IHEAP[IHEAP[z]+24]/(FHEAP[V]*8*IHEAP[IHEAP[A]]*IHEAP[IHEAP[B]+4]);if(IHEAP[e]!=0){var $=U-((IHEAP[b]-1)*14/IHEAP[O]|0);d=5}else d=55;U=d==5?$:U;FHEAP[V]=U;if(U==0)break d;U=FHEAP[V];if(Y!=0){if(!(U<
+FHEAP[ba]+10))break d;FHEAP[V]=FHEAP[ba]+20}else{if(!(U<30))break d;FHEAP[V]=30}}else FHEAP[V]=0;while(0);var Y=Y+1;if(fa<IHEAP[R])d=8;else break b}}while(0);if(0<IHEAP[L+16]){S=P+5584;P=L+20;F=L;G=L+4;K=L+8;H=L+12;L=L+16;d=12;b:for(;;){I=d==12?0:g;M=I+1;O=IHEAP[S];g=IHEAP[P]+32*I;R=IHEAP[IHEAP[D]+48*I];IHEAP[g]=(IHEAP[F]+-1+R)/R|0;R=IHEAP[IHEAP[J]+48*I+4];IHEAP[g+4]=(IHEAP[G]+-1+R)/R|0;R=IHEAP[IHEAP[E]+48*I];IHEAP[g+8]=(IHEAP[K]+-1+R)/R|0;R=IHEAP[IHEAP[N]+48*I+4];IHEAP[g+12]=(IHEAP[H]+-1+R)/R|0;
+R=_memalign(16,(IHEAP[g+8]-IHEAP[g])*4*(IHEAP[g+12]-IHEAP[g+4]));IHEAP[g+24]=R;IHEAP[g+16]=IHEAP[O+1076*I+4];if(0<IHEAP[g+16]){R=O+1076*I;T=O+1076*I+8;fa=O+1076*I+12;V=O+1076*I+28+4;ba=O+1076*I+28;ca=O+1076*I+28;U=O+1076*I+20;var Z=O+1076*I+804;d=14;c:for(;;){var W=d==14?0:h,X=O+1076*I+944+W*4,aa=O+1076*I+812+W*4,ka=W*3+-2,ga=W*-1,ja=ga+-1,ia=W+1,ea=IHEAP[g+16];h=IHEAP[g+20]+124*W;IHEAP[h]=IHEAP[g]+-1+(1<<ea+ja)>>ea+ja;IHEAP[h+4]=IHEAP[g+4]+-1+(1<<ea+ja)>>ea+ja;IHEAP[h+8]=IHEAP[g+8]+-1+(1<<ea+ja)>>
+ea+ja;IHEAP[h+12]=IHEAP[g+12]+-1+(1<<ea+ja)>>ea+ja;IHEAP[h+24]=W==0?1:3;if((IHEAP[R]&1)!=0){var oa=IHEAP[aa],pa=IHEAP[X];d=16}else d=15;var da=d==16?pa:15,ha=d==16?oa:15;aa=IHEAP[h]>>ha<<ha;X=IHEAP[h+4]>>da<<da;var qa=IHEAP[h+12]+-1+(1<<da)>>da<<da;IHEAP[h+16]=(IHEAP[h+8]+-1+(1<<ha)>>ha<<ha)-aa>>ha;IHEAP[h+20]=qa-X>>da;if(W==0)d=18;else{var wa=aa+-1+2>>1,la=X+-1+2>>1,ma=ha-1,ua=da-1;d=20}var ra=d==20?ua:da;X=d==20?la:X;var ta=d==20?ma:ha;aa=d==20?wa:aa;ha=IHEAP[T];ha=ha<ta?ha:ta;da=IHEAP[fa];da=da<
+ra?da:ra;if(0<IHEAP[h+24]){qa=W==0;var va=W==0,na=1<<ta,ya=1<<ra;ta=1<<ta;ra=1<<ra;var Ba=1<<ha,Na=1<<da,Pa=1<<ha,Ja=1<<da,xa=ea+ja,Ya=1<<xa,$a=1<<xa;xa=1<<xa;var db=1<<ea+ja;ja=ea+ja;ga=ea+ga;d=21;d:for(;;){var Ta=d==21?0:i;j=ka+Ta;ea=Ta+1;i=h+28+Ta*32;IHEAP[i+16]=qa?0:ea;if(IHEAP[i+16]==1)d=22;else{var Ma=IHEAP[i+16]==3;d=23}var Ga=(d==22?1:Ma)?1:0;if(IHEAP[i+16]==2)d=53;else{var Ca=IHEAP[i+16]==3;d=25}d=(d==53?1:Ca)?1:0;var Ka=IHEAP[g];if(IHEAP[i+16]==0){IHEAP[i]=Ka+-1+(1<<ja)>>ja;IHEAP[i+4]=IHEAP[g+
+4]+-1+(1<<ja)>>ja;IHEAP[i+8]=IHEAP[g+8]+-1+(1<<ja)>>ja;IHEAP[i+12]=IHEAP[g+12]+-1+(1<<ja)>>ja}else{IHEAP[i]=Ka-Ga*Ya+-1+(1<<ga)>>ga;IHEAP[i+4]=IHEAP[g+4]-$a*d+-1+(1<<ga)>>ga;IHEAP[i+8]=IHEAP[g+8]-xa*Ga+-1+(1<<ga)>>ga;IHEAP[i+12]=IHEAP[g+12]-db*d+-1+(1<<ga)>>ga}j=va?0:j;Ga=IHEAP[i+16];Ka=IHEAP[U]==0|Ga==0;e:do if(Ka)d=54;else{if(Ga==1){d=51;break e}else if(Ga==2){d=51;break e}d=28}while(0);Ga=1+IHEAP[V+4*j*2]/2048;d=_ldexp(1,(d==54?0:d==28?2:d==51?1:1)+IHEAP[IHEAP[Q]+48*I+24]-IHEAP[ba+8*j]);FHEAP[i+
+28]=Ga*d;IHEAP[i+24]=IHEAP[ca+8*j]+-1+IHEAP[Z];if(0<IHEAP[h+20]*IHEAP[h+16]){Ga=h+16;Ka=h+16;var Ra=h+16,Oa=h+20;d=30;e:for(;;){var Ia=d==30?0:Wa,Sa=Ia+1;a=na*(Ia%IHEAP[Ga])+aa;var Aa=ya*(Ia/IHEAP[Ka]|0)+X,La=ta+a;d=ra+Aa;j=IHEAP[i+20]+36*Ia;var Ea=IHEAP[i];IHEAP[j]=a>Ea?a:Ea;a=IHEAP[i+4];IHEAP[j+4]=Aa>a?Aa:a;Aa=IHEAP[i+8];IHEAP[j+8]=La<Aa?La:Aa;La=IHEAP[i+12];IHEAP[j+12]=d<La?d:La;La=IHEAP[j]>>ha<<ha;Aa=IHEAP[j+4]>>da<<da;d=IHEAP[j+12]+-1+(1<<da)>>da<<da;IHEAP[j+16]=(IHEAP[j+8]+-1+(1<<ha)>>ha<<ha)-
+La>>ha;IHEAP[j+20]=d-Aa>>da;_free(IHEAP[j+24]);d=_calloc(IHEAP[j+20]*IHEAP[j+16],48);IHEAP[j+24]=d;if(IHEAP[j+28]!=0){d=IHEAP[j+28];_free(IHEAP[d+12]);_free(d)}if(IHEAP[j+32]!=0){d=IHEAP[j+32];_free(IHEAP[d+12]);_free(d)}d=_tgt_create(IHEAP[j+16],IHEAP[j+20]);IHEAP[j+28]=d;d=_tgt_create(IHEAP[j+16],IHEAP[j+20]);IHEAP[j+32]=d;if(0<IHEAP[j+20]*IHEAP[j+16]){d=34;a=35}else{d=34;a=36}for(;;)if(a==35){za=d==35?za:0;d=za+1;var Ha=Ba*(za%IHEAP[j+16])+La,Qa=Na*(za/IHEAP[j+16]|0)+Aa,Da=Pa+Ha;Ea=Ja+Qa;a=IHEAP[j+
+24];var eb=IHEAP[j];IHEAP[a+48*za+12]=Ha>eb?Ha:eb;Ha=IHEAP[j+4];IHEAP[a+48*za+16]=Qa>Ha?Qa:Ha;Qa=IHEAP[j+8];IHEAP[a+48*za+20]=Da<Qa?Da:Qa;Da=IHEAP[j+12];IHEAP[a+48*za+24]=Ea<Da?Ea:Da;Ea=_calloc(8194,1);IHEAP[a+48*za]=Ea;IHEAP[a+48*za]+=2;Ea=_calloc(100,20);IHEAP[a+48*za+4]=Ea;Ea=_calloc(100,20);IHEAP[a+48*za+8]=Ea;var za=za+1;if(d<IHEAP[j+20]*IHEAP[j+16])a=d=35;else{d=37;a=36}}else if(a==36){var Wa=Ia+1;if(Sa<IHEAP[Oa]*IHEAP[Ra]){d=36;continue e}else break e}}}i=Ta+1;if(ea<IHEAP[h+24])d=40;else break d}}h=
+W+1;if(ia<IHEAP[g+16])d=43;else break c}}g=I+1;if(M<IHEAP[L])d=46;else break b}}var Ua=Ua+1;if(Ua!=1)d=49;else break a}}_tcd_init_encode.__index__=Runtime.getFunctionIndex(_tcd_init_encode,"_tcd_init_encode");
+function _tcd_malloc_decode(b,f,e){var c,a=null;IHEAP[b+28]=f;IHEAP[IHEAP[b+24]]=IHEAP[e+68];IHEAP[IHEAP[b+24]+4]=IHEAP[e+72];var d=_malloc(IHEAP[e+68]*840*IHEAP[e+72]);IHEAP[IHEAP[b+24]+8]=d;if(0<IHEAP[e+80]){d=b+24;var g=f+16,h=f+16;for(a=0;;){m=a==0?0:m;var i=1+m,j=IHEAP[IHEAP[d]+8]+840*IHEAP[IHEAP[e+76]+4*IHEAP[IHEAP[e+76]+4*(0+m)]];IHEAP[j+16]=IHEAP[g];var k=_calloc(IHEAP[h],32);IHEAP[j+20]=k;var m=m+1;if(i<IHEAP[e+80])a=1;else break}}if(0<IHEAP[f+16]){b=b+24;d=f+4;g=f+8;h=f+12;i=f+24;m=f+24;
+j=f+24;k=f+24;var l=f+24,n=f+24,o=f+24,p=f+24,r=f+24,q=f+24,u=f+16;a=4;a:for(;;){var s=a==4?0:ba,t=a==4?0:O,v=a==4?0:R,y=a==4?0:T,x=a==4?0:V,w=0+s,C=1+s;if(0<IHEAP[e+80]){a=5;c=6}else{a=5;c=7}for(;;)if(c==6){K=a==11?K:t;H=a==11?H:v;L=a==11?L:y;M=a==11?M:x;I=a==11?I:0;c=I+1;var z=IHEAP[IHEAP[e+76]+4*I],A=IHEAP[IHEAP[b]+8]+840*IHEAP[IHEAP[e+76]+4*z];a=IHEAP[A+20];var B=z%IHEAP[e+68];z=z/IHEAP[e+68]|0;var D=IHEAP[e+56]*B+IHEAP[e+48],J=IHEAP[f];IHEAP[A]=D>J?D:J;D=IHEAP[e+60]*z+IHEAP[e+52];J=IHEAP[d];
+IHEAP[A+4]=D>J?D:J;B=IHEAP[e+56]*(B+1)+IHEAP[e+48];D=IHEAP[g];IHEAP[A+8]=B<D?B:D;z=IHEAP[e+60]*(z+1)+IHEAP[e+52];B=IHEAP[h];IHEAP[A+12]=z<B?z:B;z=IHEAP[IHEAP[i]+48*w];IHEAP[a+32*w]=(IHEAP[A]+-1+z)/z|0;z=IHEAP[IHEAP[m]+48*w+4];IHEAP[a+32*w+4]=(IHEAP[A+4]+-1+z)/z|0;z=IHEAP[IHEAP[j]+48*w];IHEAP[a+32*w+8]=(IHEAP[A+8]+-1+z)/z|0;z=IHEAP[IHEAP[k]+48*w+4];IHEAP[a+32*w+12]=(IHEAP[A+12]+-1+z)/z|0;A=IHEAP[a+32*w];if(I==0){var E=IHEAP[a+32*w+4],N=IHEAP[a+32*w+8],Q=IHEAP[a+32*w+12];a=8}else{var S=K<A?K:A,P=IHEAP[a+
+32*w];P=H<P?H:P;var G=IHEAP[a+32*w+8];G=L>G?L:G;var F=IHEAP[a+32*w+12];F=M>F?M:F;a=10}var L=a==8?N:G,K=a==8?A:S,H=a==8?E:P,M=a==8?Q:F,I=I+1;if(c<IHEAP[e+80]){a=11;c=6}else{a=12;c=7}}else if(c==7){var O=a==12?K:t,R=a==12?H:v,T=a==12?L:y,V=a==12?M:x;ba=IHEAP[IHEAP[l]+48*w+40];t=IHEAP[IHEAP[n]+48*w+40];t=V-R+-1+(1<<t)>>t;IHEAP[IHEAP[o]+48*w+8]=T-O+-1+(1<<ba)>>ba;IHEAP[IHEAP[p]+48*w+12]=t;IHEAP[IHEAP[r]+48*w+16]=O;IHEAP[IHEAP[q]+48*w+20]=R;var ba=s+1;if(C<IHEAP[u]){a=7;continue a}else break a}}}}
+_tcd_malloc_decode.__index__=Runtime.getFunctionIndex(_tcd_malloc_decode,"_tcd_malloc_decode");
+function _tcd_malloc_decode_tile(b,f,e,c){var a,d=null,g,h,i,j,k;IHEAP[b+32]=e;g=IHEAP[e+108]+5588*IHEAP[IHEAP[e+76]+4*c];b=IHEAP[IHEAP[b+24]+8]+840*IHEAP[IHEAP[e+76]+4*c];if(0<IHEAP[b+16]){e=g+5584;c=b+20;g=f+24;var m=b+4,l=f+24,n=b+8,o=f+24,p=b+12,r=f+24;f=f+24;var q=b+16;d=0;a:for(;;){var u=d==0?0:h,s=0+u,t=1+u,v=IHEAP[e];h=IHEAP[c]+32*s;var y=IHEAP[IHEAP[g]+48*s];IHEAP[h]=(IHEAP[b]+-1+y)/y|0;y=IHEAP[IHEAP[l]+48*s+4];IHEAP[h+4]=(IHEAP[m]+-1+y)/y|0;y=IHEAP[IHEAP[o]+48*s];IHEAP[h+8]=(IHEAP[n]+-1+
+y)/y|0;y=IHEAP[IHEAP[r]+48*s+4];IHEAP[h+12]=(IHEAP[p]+-1+y)/y|0;IHEAP[h+16]=IHEAP[v+1076*s+4];y=_malloc(IHEAP[h+16]*124);IHEAP[h+20]=y;if(0<IHEAP[h+16]){y=v+1076*s;var x=v+1076*s+8,w=v+1076*s+12,C=v+1076*s+28+4,z=v+1076*s+28,A=v+1076*s+28,B=v+1076*s+20,D=v+1076*s+804;d=2;b:for(;;){var J=d==2?0:i,E=v+1076*s+944+J*4,N=v+1076*s+812+J*4,Q=J*3+-2;j=J*-1;var S=j+-1,P=J+1,G=IHEAP[h+16];i=IHEAP[h+20]+124*J;IHEAP[i]=IHEAP[h]+-1+(1<<G+S)>>G+S;IHEAP[i+4]=IHEAP[h+4]+-1+(1<<G+S)>>G+S;IHEAP[i+8]=IHEAP[h+8]+-1+
+(1<<G+S)>>G+S;IHEAP[i+12]=IHEAP[h+12]+-1+(1<<G+S)>>G+S;IHEAP[i+24]=J==0?1:3;if((IHEAP[y]&1)!=0){var F=IHEAP[N],L=IHEAP[E];d=4}else d=3;var K=d==4?L:15,H=d==4?F:15;N=IHEAP[i]>>H<<H;E=IHEAP[i+4]>>K<<K;var M=IHEAP[i+8]+-1+(1<<H)>>H<<H,I=IHEAP[i+12]+-1+(1<<K)>>K<<K;if(IHEAP[i]==IHEAP[i+8])d=42;else{var O=M-N>>H;d=6}IHEAP[i+16]=d==6?O:0;if(IHEAP[i+4]==IHEAP[i+12])d=43;else{var R=I-E>>K;d=8}IHEAP[i+20]=d==8?R:0;if(J==0)d=10;else{var T=N+-1+2>>1,V=E+-1+2>>1,ba=H-1,fa=K-1;d=12}var ca=d==12?fa:K;E=d==12?V:
+E;var U=d==12?ba:H;N=d==12?T:N;H=IHEAP[x];H=H<U?H:U;K=IHEAP[w];K=K<ca?K:ca;if(0<IHEAP[i+24]){I=J==0;M=J==0;var $=1<<U,Y=1<<ca;U=1<<U;ca=1<<ca;var Z=1<<H,W=1<<K,X=1<<H,aa=1<<K,ka=G+S,ga=1<<ka,ja=1<<ka;ka=1<<ka;var ia=1<<G+S;S=G+S;G=G+j;d=13;c:for(;;){var ea=d==13?0:Ba;k=Q+ea;var oa=ea+1;j=i+28+ea*32;IHEAP[j+16]=I?0:oa;if(IHEAP[j+16]==1)d=14;else{var pa=IHEAP[j+16]==3;d=15}var da=(d==14?1:pa)?1:0;if(IHEAP[j+16]==2)d=40;else{var ha=IHEAP[j+16]==3;d=17}var qa=(d==40?1:ha)?1:0;d=IHEAP[h];if(IHEAP[j+16]==
+0){IHEAP[j]=d+-1+(1<<S)>>S;IHEAP[j+4]=IHEAP[h+4]+-1+(1<<S)>>S;IHEAP[j+8]=IHEAP[h+8]+-1+(1<<S)>>S;IHEAP[j+12]=IHEAP[h+12]+-1+(1<<S)>>S}else{IHEAP[j]=d-da*ga+-1+(1<<G)>>G;IHEAP[j+4]=IHEAP[h+4]-ja*qa+-1+(1<<G)>>G;IHEAP[j+8]=IHEAP[h+8]-ka*da+-1+(1<<G)>>G;IHEAP[j+12]=IHEAP[h+12]-ia*qa+-1+(1<<G)>>G}k=M?0:k;da=IHEAP[B]==0;qa=IHEAP[j+16];d:do if(da)d=41;else{if(qa==0){d=22;break d}if(qa==1){d=24;break d}else if(qa==2){d=24;break d}d=25}while(0);da=1+IHEAP[C+4*k*2]/2048;qa=_ldexp(1,(d==41?0:d==25?2:d==22?
+0:d==24?1:1)+IHEAP[IHEAP[f]+48*s+24]-IHEAP[z+8*k]);FHEAP[j+28]=da*qa*0.5;IHEAP[j+24]=IHEAP[A+8*k]+-1+IHEAP[D];k=_malloc(IHEAP[i+16]*36*IHEAP[i+20]);IHEAP[j+20]=k;if(0<IHEAP[i+20]*IHEAP[i+16]){d=23;a=27}else{d=23;a=28}d:for(;;)if(a==27){da=d==30?ya:0;qa=da+1;a=$*(da%IHEAP[i+16])+N;var wa=Y*(da/IHEAP[i+16]|0)+E,la=U+a;d=ca+wa;k=IHEAP[j+20]+36*da;var ma=IHEAP[j];IHEAP[k]=a>ma?a:ma;a=IHEAP[j+4];IHEAP[k+4]=wa>a?wa:a;wa=IHEAP[j+8];IHEAP[k+8]=la<wa?la:wa;la=IHEAP[j+12];IHEAP[k+12]=d<la?d:la;la=IHEAP[k]>>
+H<<H;wa=IHEAP[k+4]>>K<<K;d=IHEAP[k+12]+-1+(1<<K)>>K<<K;IHEAP[k+16]=(IHEAP[k+8]+-1+(1<<H)>>H<<H)-la>>H;IHEAP[k+20]=d-wa>>K;d=_malloc(IHEAP[k+16]*44*IHEAP[k+20]);IHEAP[k+24]=d;d=_tgt_create(IHEAP[k+16],IHEAP[k+20]);IHEAP[k+28]=d;d=_tgt_create(IHEAP[k+16],IHEAP[k+20]);IHEAP[k+32]=d;if(0<IHEAP[k+20]*IHEAP[k+16]){d=27;a=29}else{d=27;a=30}for(;;)if(a==29){na=d==29?na:0;d=na+1;var ua=Z*(na%IHEAP[k+16])+la,ra=W*(na/IHEAP[k+16]|0)+wa,ta=X+ua;a=aa+ra;ma=IHEAP[k+24];IHEAP[ma+44*na]=0;IHEAP[ma+44*na+4]=0;var va=
+IHEAP[k];IHEAP[ma+44*na+8]=ua>va?ua:va;ua=IHEAP[k+4];IHEAP[ma+44*na+12]=ra>ua?ra:ua;ra=IHEAP[k+8];IHEAP[ma+44*na+16]=ta<ra?ta:ra;ta=IHEAP[k+12];IHEAP[ma+44*na+20]=a<ta?a:ta;IHEAP[ma+44*na+40]=0;IHEAP[ma+44*na+24]=0;var na=na+1;if(d<IHEAP[k+20]*IHEAP[k+16])a=d=29;else{d=31;a=30}}else if(a==30){var ya=da+1;if(qa<IHEAP[i+20]*IHEAP[i+16]){d=30;a=27;continue d}else break}d=32;a=28}else if(a==28){var Ba=ea+1;if(oa<IHEAP[i+24]){d=28;continue c}else break c}}}i=J+1;if(P<IHEAP[h+16])d=35;else break b}}h=u+
+1;if(t<IHEAP[q])d=38;else break a}}}_tcd_malloc_decode_tile.__index__=Runtime.getFunctionIndex(_tcd_malloc_decode_tile,"_tcd_malloc_decode_tile");
+function _tcd_makelayer_fixed(b,f,e){var c=STACKTOP;STACKTOP+=1200;_memset(c,0,1200);var a,d=null,g,h,i;g=IHEAP[b+32];h=IHEAP[b+36];i=IHEAP[b+40];if(0<IHEAP[h+16]){var j=h+20,k=i+12;g=g+112;var m=b+28;i=i+12;b=b+28;var l=f==0,n=f==0;e=e!=0;h=h+16;var o=f+-1,p=f+-1,r=f+-1;d=0;a:for(;;){W=d==0?0:W;var q=0+W,u=1+W,s=IHEAP[j];if(0<IHEAP[k]){d=IHEAP[i];var t=0<IHEAP[s+32*q+16],v=d>1?d:1,y=s+32*q+16;d=2;b:for(;;){D=d==2?0:D;if(t){d=IHEAP[y];var x=d>1?d:1;for(d=4;;){B=d==4?0:B;d=c+D*120+B*12+4;var w=c+D*
+120+B*12+8,C=IHEAP[g],z=IHEAP[IHEAP[IHEAP[m]+24]+48*q+24]/16,A=(B+D*IHEAP[y])*3;IHEAP[c+D*120+B*12]=IHEAP[C+4*(A+0)]*z|0;IHEAP[d]=IHEAP[C+4*(A+1)]*z|0;IHEAP[w]=IHEAP[C+4*(A+2)]*z|0;var B=B+1;if(B!=x)d=5;else break}}var D=D+1;if(D!=v)d=8;else break b}}if(0<IHEAP[s+32*q+16]){t=s+32*q+16;s=s+32*q+20;d=11;b:for(;;){Z=d==11?0:Z;v=Z+1;y=IHEAP[s];if(0<IHEAP[y+124*Z+24]){x=y+124*Z+24;w=y+124*Z+16;C=y+124*Z+20;d=13;c:for(;;){z=d==13?0:Y;A=c+r*120+Z*12+z*4;var J=c+p*120+Z*12+z*4,E=c+o*120+Z*12+z*4,N=c+f*120+
+Z*12+z*4,Q=y+124*Z+28+z*32+20,S=z+1;if(0<IHEAP[C]*IHEAP[w]){d=14;a=15}else{d=14;a=16}d:for(;;)if(a==15){$=d==36?$:0;a=$+1;d=IHEAP[Q];if(0<IHEAP[d+36*$+20]*IHEAP[d+36*$+16]){var P=IHEAP[N],G=d+36*$+16,F=d+36*$+20,L=d+36*$+24;d=17;e:for(;;){U=d==17?0:U;var K=U+1,H=IHEAP[L],M=IHEAP[H+48*U+4]+20*f,I=IHEAP[IHEAP[IHEAP[b]+24]+48*q+24]-IHEAP[H+48*U+28];f:do if(l){var O=P-I;O=I>=P?0:O;d=19}else{var R=P-IHEAP[E];if(!(I>=IHEAP[J])){d=21;break f}var T=0-(0-IHEAP[A])+(0-I)+R;if(!(T<0)){d=22;break f}d=24}while(0);
+d=d==21?R:d==24?0:d==22?T:O;if(n)IHEAP[H+48*U+40]=0;if(IHEAP[H+48*U+40]==0)if(d!=0){var V=d*3+-2+IHEAP[H+48*U+40];d=26}else{var ba=IHEAP[H+48*U+40];d=28}else{var fa=IHEAP[H+48*U+40]+d*3;d=29}d=d==26?V:d==28?ba:fa;IHEAP[M]=d-IHEAP[H+48*U+40];I=IHEAP[M]!=0;f:do if(I){var ca=IHEAP[IHEAP[H+48*U+8]+20*(d-1)];if(IHEAP[H+48*U+40]==0){IHEAP[M+4]=ca;IHEAP[M+16]=IHEAP[H+48*U]}else{IHEAP[M+4]=ca-IHEAP[IHEAP[H+48*U+8]+20*(IHEAP[H+48*U+40]-1)];IHEAP[M+16]=IHEAP[H+48*U]+IHEAP[IHEAP[H+48*U+8]+20*(IHEAP[H+48*U+40]-
+1)]}if(!e)break f;IHEAP[H+48*U+40]=d}while(0);var U=U+1;if(K<IHEAP[F]*IHEAP[G])d=32;else break e}}var $=$+1;if(a<IHEAP[C]*IHEAP[w]){d=36;a=15;continue d}d=37;a=16}else if(a==16){var Y=z+1;if(S<IHEAP[x]){d=16;continue c}else break c}}}var Z=Z+1;if(v<IHEAP[t])d=40;else break b}}var W=W+1;if(u<IHEAP[h])d=43;else break a}}STACKTOP=c}_tcd_makelayer_fixed.__index__=Runtime.getFunctionIndex(_tcd_makelayer_fixed,"_tcd_makelayer_fixed");
+function _tcd_rateallocate_fixed(b){var f=null;if(0<IHEAP[IHEAP[b+40]+12]){var e=b+40;for(f=0;;){c=f==0?0:c;f=1+c;_tcd_makelayer_fixed(b,0+c,1);var c=c+1;if(f<IHEAP[IHEAP[e]+12])f=1;else break}}}_tcd_rateallocate_fixed.__index__=Runtime.getFunctionIndex(_tcd_rateallocate_fixed,"_tcd_rateallocate_fixed");
+function _tcd_makelayer(b,f,e,c){var a,d=null,g,h;g=IHEAP[b+36];FHEAP[g+36+f*8]=0;if(0<IHEAP[g+16]){b=g+20;var i=f==0,j=g+36+f*8;c=c!=0;g=g+16;d=0;a:for(;;){fa=d==0?0:fa;var k=0+fa,m=1+fa,l=IHEAP[b];if(0<IHEAP[l+32*k+16]){var n=l+32*k+16;k=l+32*k+20;d=2;b:for(;;){ba=d==2?0:ba;l=ba+1;var o=IHEAP[k];if(0<IHEAP[o+124*ba+24]){var p=o+124*ba+24,r=o+124*ba+16,q=o+124*ba+20;d=4;c:for(;;){var u=d==4?0:V,s=o+124*ba+28+u*32+20,t=u+1;if(0<IHEAP[q]*IHEAP[r]){d=5;a=6}else{d=5;a=7}d:for(;;)if(a==6){T=d==30?T:0;
+a=T+1;d=IHEAP[s];if(0<IHEAP[d+36*T+20]*IHEAP[d+36*T+16]){var v=d+36*T+16,y=d+36*T+20,x=d+36*T+24;d=8;e:for(;;){var w=d==8?0:h,C=w+1;h=IHEAP[x]+48*w;var z=IHEAP[h+4]+20*f;if(i)IHEAP[h+40]=0;var A=IHEAP[h+40],B=IHEAP[h+40];if(B<IHEAP[h+44]){var D=IHEAP[h+8];d=IHEAP[h+44];var J=h+8,E=h+8,N=B+1,Q=(d>N?d:N)-B;d=11;f:for(;;){R=d==11?0:R;I=d==11?A:I;O=d==11?B:O;var S=B+R;d=D+20*S+4;var P=N+R,G=IHEAP[D+20*S];if(I==0){var F=FHEAP[d];d=13}else{var L=G-IHEAP[IHEAP[J]+20*(I-1)],K=FHEAP[d]-FHEAP[IHEAP[E]+20*(I-
+1)+4];d=15}S=d==15?K:F;G=d==15?L:G;var H=G!=0;g:do if(H){if(!(S/G>=e)){d=20;break g}var M=O+1;d=21}else{if(S==0){d=16;break g}d=17}while(0);var I=d==20?I:d==21?M:d==16?I:P,O=O+1,R=R+1;if(R!=Q)d=18;else break f}d=22}else d=40;d=d==22?I:A;IHEAP[z]=d-IHEAP[h+40];A=IHEAP[z]!=0;f:do if(A){B=IHEAP[IHEAP[h+8]+20*(d-1)];if(IHEAP[h+40]==0){IHEAP[z+4]=B;IHEAP[z+16]=IHEAP[h];FHEAP[z+8]=FHEAP[IHEAP[h+8]+20*(d-1)+4]}else{IHEAP[z+4]=B-IHEAP[IHEAP[h+8]+20*(IHEAP[h+40]-1)];IHEAP[z+16]=IHEAP[h]+IHEAP[IHEAP[h+8]+20*
+(IHEAP[h+40]-1)];FHEAP[z+8]=FHEAP[IHEAP[h+8]+20*(d-1)+4]-FHEAP[IHEAP[h+8]+20*(IHEAP[h+40]-1)+4]}FHEAP[j]+=FHEAP[z+8];if(!c)break f;IHEAP[h+40]=d}else FHEAP[z+8]=0;while(0);h=w+1;if(C<IHEAP[y]*IHEAP[v])d=27;else break e}}var T=T+1;if(a<IHEAP[q]*IHEAP[r]){d=30;a=6;continue d}d=31;a=7}else if(a==7){var V=u+1;if(t<IHEAP[p]){d=7;continue c}else break c}}}var ba=ba+1;if(l<IHEAP[n])d=34;else break b}}var fa=fa+1;if(m<IHEAP[g])d=37;else break a}}}
+_tcd_makelayer.__index__=Runtime.getFunctionIndex(_tcd_makelayer,"_tcd_makelayer");
+function _tcd_rateallocate(b,f,e,c){var a=STACKTOP;STACKTOP+=800;_memset(a,0,800);var d,g=null,h,i,j,k,m,l;j=0;k=IHEAP[b+32];m=IHEAP[b+36];l=IHEAP[b+40];g=1.7976931348623157E308;i=0;IHEAP[m+24]=0;if(0<IHEAP[m+16]){h=m+20;var n=m+24,o=m+16;i=i;var p=g;j=j;g=0;a:for(;;){qa=g==0?0:qa;ha=g==0?j:ha;pa=g==0?p:pa;da=g==0?i:da;var r=0+qa,q=1+qa,u=IHEAP[h];IHEAP[u+32*r+28]=0;if(0<IHEAP[u+32*r+16]){var s=u+32*r+16,t=u+32*r+20,v=u+32*r+28;g=2;b:for(;;){oa=g==2?0:oa;var y=g==2?pa:d;ea=g==2?da:ea;var x=oa+1,w=
+IHEAP[t];if(0<IHEAP[w+124*oa+24]){var C=w+124*oa+24,z=w+124*oa+16,A=w+124*oa+20;g=4;c:for(;;){var B=g==4?0:ia,D=g==4?y:ga,J=g==4?ea:ja,E=w+124*oa+28+B*32+20,N=B+1;if(0<IHEAP[A]*IHEAP[z]){g=5;d=6}else{g=5;d=7}d:for(;;)if(d==6){ka=g==24?ka:0;X=g==24?X:D;aa=g==24?aa:J;d=ka+1;g=IHEAP[E];if(0<IHEAP[g+36*ka+20]*IHEAP[g+36*ka+16]){var Q=g+36*ka+16,S=g+36*ka+20,P=g+36*ka+24;g=8;e:for(;;){W=g==8?0:W;Y=g==8?X:Y;Z=g==8?aa:Z;var G=W+1,F=IHEAP[P];if(0<IHEAP[F+48*W+44]){var L=IHEAP[F+48*W+8];g=IHEAP[F+48*W+44];
+var K=g>1?g:1,H=F+48*W+8;g=10;f:for(;;){ca=g==10?Y:ca;U=g==10?Z:U;$=g==10?0:$;g=L+20*$+4;var M=$+-1,I=IHEAP[L+20*$];if($==0){var O=FHEAP[g];g=12}else{var R=I-IHEAP[IHEAP[H]+20*M],T=FHEAP[g]-FHEAP[IHEAP[H]+20*$+-16];g=14}M=g==14?T:O;I=g==14?R:I;var V=I==0;g:do if(V)g=71;else{var ba=M/I,fa=ba<ca?ba:ca;if(!(ba>U)){g=15;break g}g=16}while(0);var ca=g==15?fa:g==16?fa:ca,U=g==15?U:g==16?ba:U,$=$+1;if($!=K)g=17;else break f}g=19}else g=9;var Y=g==19?ca:Y,Z=g==19?U:Z;IHEAP[n]+=(IHEAP[F+48*W+24]-IHEAP[F+48*
+W+16])*(IHEAP[F+48*W+20]-IHEAP[F+48*W+12]);IHEAP[v]+=(IHEAP[F+48*W+24]-IHEAP[F+48*W+16])*(IHEAP[F+48*W+20]-IHEAP[F+48*W+12]);var W=W+1;if(G<IHEAP[S]*IHEAP[Q])g=21;else break e}g=22}else g=6;var X=g==22?Y:X,aa=g==22?Z:aa,ka=ka+1;if(d<IHEAP[A]*IHEAP[z]){g=24;d=6;continue d}g=25;d=7}else if(d==7){var ga=g==25?X:D,ja=g==25?aa:J,ia=B+1;if(N<IHEAP[C]){g=7;continue c}else break c}}g=26}else g=3;d=g==26?ga:y;var ea=g==26?ja:ea,oa=oa+1;if(x<IHEAP[s])g=28;else break b}g=29}else g=1;var pa=g==29?d:pa,da=g==
+29?ea:da,ha=ha+((1<<IHEAP[IHEAP[IHEAP[b+28]+24]+48*r+24])-1)*((1<<IHEAP[IHEAP[IHEAP[b+28]+24]+48*r+24])-1)*IHEAP[u+32*r+28],qa=qa+1;if(q<IHEAP[o])g=31;else break a}j=ha;g=pa;i=da}if(c!=0){h=IHEAP[c+88]+572*IHEAP[b+44];IHEAP[h+552]=IHEAP[m+24];FHEAP[h+556]=FHEAP[m+28];n=_malloc(IHEAP[l+12]*8);IHEAP[h]=n}h=0;n=l+12;o=g;O=i;R=l+20;T=l+20;ba=m+28;fa=1*j;ga=l+5184;ja=k+24;ia=l+20;i=k+32;p=m+36;j=m+36;q=m+36;qa=m+36;ha=c!=0;r=c+88;u=m+36;pa=m+36;da=k+32;l=l+5184;s=g;a:for(;;){if(!(h<IHEAP[n]))break a;if(FHEAP[R+
+h*4]!=0){var wa=_ceilf(FHEAP[T+h*4])|0;wa=wa<e?wa:e;g=38}else g=36;t=g==38?wa:e;d=FHEAP[ba];v=_llvm_pow_f64(10,FHEAP[ga+h*4]/10);v=d-fa/v;x=IHEAP[ja]==1;b:do if(x){d=FHEAP[ia+h*4]>0?40:41;break b}else d=41;while(0);b:do if(d==41){if(IHEAP[da]!=1){g=41;d=43;break b}if(FHEAP[l+h*4]>0){g=42;d=40}else{g=42;d=43}break b}while(0);b:do if(d==40){g=IHEAP[b+20];x=IHEAP[b+28];var la=_malloc(12);if(la!=0){IHEAP[la]=g;IHEAP[la+4]=x;IHEAP[la+8]=k;g=44}else g=40;x=g==44?la:0;g=46;c:for(;;){na=g==46?0:na;Na=g==
+46?0:Na;ya=g==46?O:ya;Ba=g==46?o:Ba;var ma=(Ba+ya)/2;_tcd_makelayer(b,h,ma,0);la=IHEAP[i]!=0;d:do if(la)if(IHEAP[k]!=0){if(_t2_encode_packets(x,IHEAP[b+44],m,h+1,f,t,c,IHEAP[b+8],IHEAP[b],IHEAP[b+16],0,IHEAP[b+12])==-999){g=48;break d}if(h==0){var ua=FHEAP[p];g=51}else{var ra=FHEAP[a+(h-1)*8]+FHEAP[j+h*8];g=53}if((g==51?ua:ra)<v){g=54;break d}g=55}else{if(h==0){var ta=FHEAP[q];g=57}else{var va=FHEAP[a+(h-1)*8]+FHEAP[qa+h*8];g=59}if((g==57?ta:va)<v){g=60;break d}g=61}else{if(_t2_encode_packets(x,IHEAP[b+
+44],m,h+1,f,t,c,IHEAP[b+8],IHEAP[b],IHEAP[b+16],0,IHEAP[b+12])==-999){g=62;break d}g=63}while(0);var na=g==63?ma:g==55?na:g==61?na:g==48?na:g==54?ma:g==60?ma:na,ya=g==63?ma:g==55?ya:g==61?ya:g==48?ya:g==54?ma:g==60?ma:ya,Ba=g==63?Ba:g==55?ma:g==61?ma:g==48?ma:g==54?Ba:g==60?Ba:ma,Na=Na+1;if(Na!=128){g=49;d=47}else{d=64;break c}}la=na==0?ma:na;if(x==0){g=64;break b}_free(x);g=65}while(0);g=g==41?s:g==42?s:g==65?la:la;if(ha)FHEAP[IHEAP[IHEAP[r]+572*IHEAP[b+44]]+8*h]=g;_tcd_makelayer(b,h,g,1);if(h==
+0){var Pa=FHEAP[u];g=68}else{var Ja=FHEAP[a+(h-1)*8]+FHEAP[pa+h*8];g=70}FHEAP[a+h*8]=g==68?Pa:Ja;h+=1}STACKTOP=a;return 1}_tcd_rateallocate.__index__=Runtime.getFunctionIndex(_tcd_rateallocate,"_tcd_rateallocate");
+function _tcd_encode_tile(b,f,e,c,a){var d=STACKTOP;STACKTOP+=16;_memset(d,0,16);var g,h=null,i,j,k,m,l,n,o=d+8,p,r,q,u,s,t,v,y,x,w;r=0;k=IHEAP[IHEAP[IHEAP[b+32]+108]+5584];s=IHEAP[b+28];IHEAP[b+44]=f;IHEAP[b+36]=IHEAP[IHEAP[b+24]+8];IHEAP[b+40]=IHEAP[IHEAP[b+32]+108]+5588*f;q=IHEAP[b+36];u=IHEAP[b+40];i=IHEAP[b+32];var C=IHEAP[b+8]==0;a:do if(C){_gettimeofday(o,0);p=IHEAP[o]+IHEAP[o+4]/1E6;if(FHEAP[_opj_clock_last]<0)FHEAP[_opj_clock_last]=p;g=p-FHEAP[_opj_clock_last];FHEAP[_opj_clock_last]=p;FHEAP[b+
+48]=g;if(a!=0){h=IHEAP[q+20];if(0<IHEAP[h+16]){p=h+20;g=f;n=a+88;l=f;t=a+88;v=k;m=f;y=a+88;var z=k,A=f,B=a+88;x=h+16;r=r;for(h=1;;){Q=h==1?0:Q;N=h==1?r:N;h=1+Q;w=0+Q;var D=z+944+w*4,J=v+812+w*4,E=IHEAP[p];IHEAP[IHEAP[n]+572*g+20+w*4]=IHEAP[E+124*w+16];IHEAP[IHEAP[t]+572*l+152+w*4]=IHEAP[E+124*w+20];var N=N+IHEAP[E+124*w+20]*IHEAP[E+124*w+16];IHEAP[IHEAP[y]+572*m+284+w*4]=IHEAP[J];IHEAP[IHEAP[B]+572*A+416+w*4]=IHEAP[D];var Q=Q+1;if(h<IHEAP[x])h=2;else break}r=N}p=_calloc(IHEAP[a+56]*IHEAP[a+52]*r,
+20);IHEAP[IHEAP[a+88]+572*f+548]=p}p=0;g=p<IHEAP[q+16]?6:7;b:for(;;)if(g==6){if(IHEAP[IHEAP[s+24]+48*p+32]!=0)h=6;else{var S=1<<IHEAP[IHEAP[s+24]+48*p+24]-1;h=8}g=h==8?S:0;n=IHEAP[IHEAP[s+24]+48*p];h=IHEAP[s];n=n;n=(h+-1+n)/n|0;l=IHEAP[IHEAP[s+24]+48*p+4];h=IHEAP[s+4];l=l;l=(h+-1+l)/l|0;t=IHEAP[q+20]+32*p;v=IHEAP[t+8]-IHEAP[t];m=IHEAP[IHEAP[s+24]+48*p];h=IHEAP[s+8]-IHEAP[s];m=m;y=(h+-1+m)/m|0;z=IHEAP[IHEAP[u+5584]+1076*p+20]==1;c:do if(z){m=IHEAP[t+4];if(!(m<IHEAP[t+12]))break c;for(;;){x=IHEAP[IHEAP[s+
+24]+48*p+44]+4*(0-n+IHEAP[t]+(m-l)*y);w=IHEAP[t+24]+4*(m-IHEAP[t+4])*v;h=IHEAP[t];if(h<IHEAP[t+8]){A=g;B=t+8;x=x;w=w;D=h+1;for(h=12;;){P=h==12?0:P;h=D+P;IHEAP[w+4*P]=IHEAP[x+4*P]-A;var P=P+1;if(h<IHEAP[B])h=13;else break}}m+=1;if(!(m<IHEAP[t+12]))break c}}else{if(IHEAP[IHEAP[u+5584]+1076*p+20]!=0)break c;m=IHEAP[t+4];if(!(m<IHEAP[t+12]))break c;for(;;){x=IHEAP[IHEAP[s+24]+48*p+44]+4*(0-n+IHEAP[t]+(m-l)*y);w=IHEAP[t+24]+4*(m-IHEAP[t+4])*v;h=IHEAP[t];if(h<IHEAP[t+8]){A=g;B=t+8;x=x;w=w;D=h+1;for(h=18;;){G=
+h==18?0:G;h=D+G;IHEAP[w+4*G]=IHEAP[x+4*G]-A<<11;var G=G+1;if(h<IHEAP[B])h=19;else break}}m+=1;if(!(m<IHEAP[t+12]))break c}}while(0);p+=1;g=p<IHEAP[q+16]?6:7}else if(g==7){g=IHEAP[u+16]!=0?22:23;break b}if(g==22){n=(IHEAP[IHEAP[q+20]+12]-IHEAP[IHEAP[q+20]+4])*(IHEAP[IHEAP[q+20]+8]-IHEAP[IHEAP[q+20]]);p=IHEAP[IHEAP[q+20]+24];g=IHEAP[IHEAP[q+20]+32+24];h=IHEAP[IHEAP[q+20]+64+24];n=n;IHEAP[IHEAP[u+5584]+20]==0?_mct_encode_real(p,g,h,n):_mct_encode(p,g,h,n)}p=0;if(p<IHEAP[q+16]){g=q+20;h=u+5584;n=q+16;
+l=u+5584;b:for(;;){t=IHEAP[g]+32*p;v=IHEAP[IHEAP[h]+1076*p+20]==1;c:do if(v)_dwt_encode(t);else{if(IHEAP[IHEAP[l]+1076*p+20]!=0)break c;_dwt_encode_real(t)}while(0);p+=1;if(!(p<IHEAP[n]))break b}}p=_t1_create(IHEAP[b+20]);_t1_encode_cblks(p,q,u);_t1_destroy(p);if(a!=0)IHEAP[a+12]=0;p=IHEAP[i+24]!=0;b:do if(!p){if(IHEAP[i+32]!=0)break b;k=b;if(!(0<IHEAP[IHEAP[k+40]+12]))break a;o=k;k=k+40;for(h=35;;){j=h==35?0:j;C=1+j;_tcd_makelayer_fixed(o,0+j,1);j=j+1;if(C<IHEAP[IHEAP[k]+12])h=37;else break}break a}while(0);
+_tcd_rateallocate(b,e,c,a)}while(0);if(a!=0)IHEAP[a+12]=1;j=IHEAP[b+20];o=_malloc(12);if(o!=0){IHEAP[o]=j;IHEAP[o+4]=s;IHEAP[o+8]=i;i=o}else i=0;i=i;f=_t2_encode_packets(i,f,q,IHEAP[u+12],e,c,a,IHEAP[b+4],IHEAP[b],IHEAP[b+16],1,IHEAP[b+12]);i!=0&&_free(i);e=IHEAP[b+8]==IHEAP[b+12]-1;a:do if(e){_gettimeofday(d,0);c=IHEAP[d]+IHEAP[d+4]/1E6;if(FHEAP[_opj_clock_last]<0)FHEAP[_opj_clock_last]=c;a=c-FHEAP[_opj_clock_last];FHEAP[_opj_clock_last]=c;FHEAP[b+48]=a-FHEAP[b+48];_opj_event_msg(IHEAP[b+20],4,__str18110,
+Pointer_make([FHEAP[b+48],0,0,0,0,0,0,0],0,ALLOC_STACK));p=0;if(!(p<IHEAP[q+16]))break a;c=q+20;for(a=q+16;;){_free(IHEAP[IHEAP[c]+32*p+24]);p+=1;if(!(p<IHEAP[a]))break}}while(0);STACKTOP=d;return f}_tcd_encode_tile.__index__=Runtime.getFunctionIndex(_tcd_encode_tile,"_tcd_encode_tile");
+function _tcd_decode_tile(b,f,e,c,a){var d=STACKTOP;STACKTOP+=48;_memset(d,0,48);var g,h=null,i,j,k=d+8,m,l=d+16,n=d+24;m=d+32;var o=d+40,p,r,q;r=0;IHEAP[b+44]=c;IHEAP[b+36]=IHEAP[IHEAP[b+24]+8]+840*c;IHEAP[b+40]=IHEAP[IHEAP[b+32]+108]+5588*c;j=IHEAP[b+36];_gettimeofday(o,0);o=IHEAP[o]+IHEAP[o+4]/1E6;if(FHEAP[_opj_clock_last]<0)FHEAP[_opj_clock_last]=o;h=o-FHEAP[_opj_clock_last];FHEAP[_opj_clock_last]=o;o=h;_opj_event_msg(IHEAP[b+20],4,__str19111,Pointer_make([c+1,0,0,0,IHEAP[IHEAP[b+32]+72]*IHEAP[IHEAP[b+
+32]+68],0,0,0],0,ALLOC_STACK));if(a!=0){h=0;if(0<IHEAP[a+52]){var u=a+88,s=a+88,t=a+88,v=a+88,y=a+88,x=a+88,w=a+52,C=h;h=1;a:for(;;){F=h==1?0:F;G=h==1?C:G;var z=0+F;g=1+F;var A=IHEAP[IHEAP[IHEAP[b+32]+108]+5584];h=IHEAP[j+20];if(0<IHEAP[h+32*z+16]){var B=A+1076*z,D=h+32*z+16,J=h+32*z+20;for(h=3;;){S=h==3?G:S;P=h==3?0:P;var E=A+1076*z+944+P*4,N=A+1076*z+812+P*4;h=P+1;var Q=IHEAP[J];IHEAP[IHEAP[u]+572*c+20+P*4]=IHEAP[Q+124*P+16];IHEAP[IHEAP[s]+572*c+152+P*4]=IHEAP[Q+124*P+20];var S=S+IHEAP[Q+124*P+
+20]*IHEAP[Q+124*P+16];if((IHEAP[B]&1)!=0){IHEAP[IHEAP[t]+572*c+284+P*4]=IHEAP[N];IHEAP[IHEAP[v]+572*c+416+P*4]=IHEAP[E]}else{IHEAP[IHEAP[y]+572*c+284+P*4]=15;IHEAP[IHEAP[x]+572*c+284+P*4]=15}var P=P+1;if(h<IHEAP[D])h=6;else break}h=7}else h=2;var G=h==7?S:G,F=F+1;if(g<IHEAP[w]){h=9;g=2}else{g=10;break a}}h=G}h=_malloc(IHEAP[a+56]*20*h);IHEAP[IHEAP[a+88]+572*c+548]=h;IHEAP[a+8]=0}S=IHEAP[b+28];u=IHEAP[b+32];h=IHEAP[b+20];s=_malloc(12);if(s!=0){IHEAP[s]=h;IHEAP[s+4]=S;IHEAP[s+8]=u;h=s}else h=0;h=h;
+f=_t2_decode_packets(h,f,e,c,j,a);if(h!=0){_free(h);q=f;h=14}else h=76;if((h==76?f:q)==-999){r=1;_opj_event_msg(IHEAP[b+20],1,__str20112)}_gettimeofday(m,0);h=IHEAP[m]+IHEAP[m+4]/1E6;if(FHEAP[_opj_clock_last]<0)FHEAP[_opj_clock_last]=h;m=h-FHEAP[_opj_clock_last];FHEAP[_opj_clock_last]=h;h=m;q=_t1_create(IHEAP[b+20]);m=0;if(m<IHEAP[j+16])for(;;){f=IHEAP[j+20]+32*m;e=_memalign(16,((IHEAP[f+12]-IHEAP[f+4])*(IHEAP[f+8]-IHEAP[f])+3)*4);IHEAP[f+24]=e;_t1_decode_cblks(q,f,IHEAP[IHEAP[b+40]+5584]+1076*m);
+m+=1;if(m<IHEAP[j+16])g=18;else{g=19;break}}_t1_destroy(q);_gettimeofday(n,0);m=IHEAP[n]+IHEAP[n+4]/1E6;if(FHEAP[_opj_clock_last]<0)FHEAP[_opj_clock_last]=m;n=m-FHEAP[_opj_clock_last];FHEAP[_opj_clock_last]=m;h=n-h;_opj_event_msg(IHEAP[b+20],4,__str21113,Pointer_make([h,0,0,0,0,0,0,0],0,ALLOC_STACK));_gettimeofday(l,0);h=IHEAP[l]+IHEAP[l+4]/1E6;if(FHEAP[_opj_clock_last]<0)FHEAP[_opj_clock_last]=h;m=h-FHEAP[_opj_clock_last];FHEAP[_opj_clock_last]=h;h=m;m=0;a:for(;;){if(!(m<IHEAP[j+16])){g=26;break a}l=
+IHEAP[j+20]+32*m;if(IHEAP[IHEAP[b+32]+36]!=0){IHEAP[IHEAP[IHEAP[b+28]+24]+48*m+36]=IHEAP[IHEAP[j+20]+32*m+16]+-1+(0-IHEAP[IHEAP[b+32]+36]);if(IHEAP[IHEAP[IHEAP[b+28]+24]+48*m+36]<0){g=27;break a}}n=IHEAP[IHEAP[IHEAP[b+28]+24]+48*m+36]+1;if(n>0)IHEAP[IHEAP[IHEAP[b+40]+5584]+1076*m+20]==1?_dwt_decode(l,n):_dwt_decode_real(l,n);m+=1;g=24}if(g==26){_gettimeofday(k,0);m=IHEAP[k]+IHEAP[k+4]/1E6;if(FHEAP[_opj_clock_last]<0)FHEAP[_opj_clock_last]=m;k=m-FHEAP[_opj_clock_last];FHEAP[_opj_clock_last]=m;h=k-
+h;_opj_event_msg(IHEAP[b+20],4,__str2366,Pointer_make([h,0,0,0,0,0,0,0],0,ALLOC_STACK));if(IHEAP[IHEAP[b+40]+16]!=0){h=(IHEAP[IHEAP[j+20]+12]-IHEAP[IHEAP[j+20]+4])*(IHEAP[IHEAP[j+20]+8]-IHEAP[IHEAP[j+20]]);m=IHEAP[IHEAP[j+20]+24];IHEAP[IHEAP[IHEAP[b+40]+5584]+20]==1?_mct_decode(m,IHEAP[IHEAP[j+20]+32+24],IHEAP[IHEAP[j+20]+64+24],h):_mct_decode_real(m,IHEAP[IHEAP[j+20]+32+24],IHEAP[IHEAP[j+20]+64+24],h)}m=0;g=m<IHEAP[j+16]?34:35;a:for(;;)if(g==34){k=IHEAP[j+20]+32*m;p=IHEAP[IHEAP[b+28]+24]+48*m;l=
+IHEAP[k+20]+124*IHEAP[p+36];if(IHEAP[p+32]!=0)h=34;else{var L=1<<IHEAP[p+24]-1;h=36}n=h==36?L:0;if(IHEAP[p+32]!=0){var K=0-(1<<IHEAP[p+24]-1);h=38}else h=107;q=h==38?K:0;h=IHEAP[p+24];if(IHEAP[p+32]!=0){var H=(1<<h-1)-1;h=40}else{var M=(1<<h)-1;h=42}f=h==40?H:M;e=IHEAP[k+8];c=IHEAP[k];a=IHEAP[p+8];h=IHEAP[p+40];g=IHEAP[p+16]+-1+(1<<h)>>h;h=IHEAP[p+40];S=IHEAP[p+20]+-1+(1<<h)>>h;if(IHEAP[p+44]==0){h=_malloc(IHEAP[p+8]*4*IHEAP[p+12]);IHEAP[p+44]=h}u=IHEAP[IHEAP[IHEAP[b+40]+5584]+1076*m+20]==1;s=IHEAP[l+
+4];t=s<IHEAP[l+12];b:do if(u){if(!t)break b;v=l;y=l+8;x=l;w=l+4;C=k+24;P=p+44;F=l+8;G=l+12;z=e-c;A=a*(s-S)-g;B=s+1;h=45;c:for(;;){ba=h==45?0:ba;h=A+a*ba;J=s+ba;D=B+ba;E=IHEAP[v];if(E<IHEAP[y]){N=E+1;Q=E+h;h=50;d:for(;;){V=h==50?0:V;var I=Q+V,O=N+V,R=IHEAP[IHEAP[C]+4*(E+V+z*(J-IHEAP[w])-IHEAP[x])]+n,T=R<q;e:do if(T)h=51;else{if(R>f){h=52;break e}h=54}while(0);IHEAP[IHEAP[P]+4*I]=h==54?R:h==51?q:f;var V=V+1;if(O<IHEAP[F])h=53;else break d}}var ba=ba+1;if(D<IHEAP[G])h=58;else break c}}else{if(!t)break b;
+v=l;y=l+8;x=l;w=l+4;C=k+24;P=p+44;F=l+8;G=l+12;z=e-c;A=a*(s-S)-g;B=s+1;h=48;c:for(;;){ca=h==48?0:ca;h=A+a*ca;J=s+ca;D=B+ca;E=IHEAP[v];if(E<IHEAP[y]){N=E+1;Q=E+h;h=62;d:for(;;){fa=h==62?0:fa;I=Q+fa;O=N+fa;R=_lrintf(FHEAP[IHEAP[C]+4*(E+fa+z*(J-IHEAP[w])-IHEAP[x])])+n;T=R<q;e:do if(T)h=63;else{if(R>f){h=64;break e}h=66}while(0);IHEAP[IHEAP[P]+4*I]=h==66?R:h==63?q:f;var fa=fa+1;if(O<IHEAP[F])h=65;else break d}}var ca=ca+1;if(D<IHEAP[G])h=70;else break c}}while(0);_free(IHEAP[k+24]);m+=1;if(m<IHEAP[j+
+16]){g=34;continue a}g=35}else if(g==35){_gettimeofday(d,0);i=IHEAP[d]+IHEAP[d+4]/1E6;g=FHEAP[_opj_clock_last]<0?73:74;break a}if(g==73)FHEAP[_opj_clock_last]=i;j=i-FHEAP[_opj_clock_last];FHEAP[_opj_clock_last]=i;o=j-o;_opj_event_msg(IHEAP[b+20],4,__str24115,Pointer_make([o,0,0,0,0,0,0,0],0,ALLOC_STACK));p=r!=0?0:1}else if(g==27){_opj_event_msg(IHEAP[b+20],1,__str22114,Pointer_make([IHEAP[IHEAP[b+32]+36],0,0,0,IHEAP[IHEAP[j+20]+32*m+16],0,0,0],0,ALLOC_STACK));p=0}b=p;STACKTOP=d;return b}
+_tcd_decode_tile.__index__=Runtime.getFunctionIndex(_tcd_decode_tile,"_tcd_decode_tile");function _tcd_free_decode(b){_free(IHEAP[IHEAP[b+24]+8])}_tcd_free_decode.__index__=Runtime.getFunctionIndex(_tcd_free_decode,"_tcd_free_decode");
+function _tcd_free_decode_tile(b,f){var e,c=null,a;a=IHEAP[IHEAP[b+24]+8]+840*f;if(0<IHEAP[a+16]){var d=a+20,g=a+16;c=0;a:for(;;){w=c==0?0:w;var h=0+w,i=1+w,j=IHEAP[d];if(0<IHEAP[j+32*h+16]){var k=j+32*h+16,m=j+32*h+20;c=2;b:for(;;){x=c==2?0:x;var l=x+1,n=IHEAP[m];if(0<IHEAP[n+124*x+24]){var o=n+124*x+24,p=n+124*x+20,r=n+124*x+16;c=4;c:for(;;){var q=c==4?0:y,u=n+124*x+28+q*32+20,s=q+1;if(0<IHEAP[r]*IHEAP[p]){c=5;e=6}else{c=5;e=7}for(;;)if(e==6){v=c==12?v:0;c=v+1;e=IHEAP[u];if(IHEAP[e+36*v+32]!=0){var t=
+IHEAP[e+36*v+32];_free(IHEAP[t+12]);_free(t)}if(IHEAP[e+36*v+28]!=0){e=IHEAP[e+36*v+28];_free(IHEAP[e+12]);_free(e)}var v=v+1;if(c<IHEAP[r]*IHEAP[p]){c=12;e=6}else{c=13;e=7}}else if(e==7){_free(IHEAP[u]);var y=q+1;if(s<IHEAP[o]){c=7;continue c}else break c}}}var x=x+1;if(l<IHEAP[k])c=16;else break b}}_free(IHEAP[j+32*h+20]);var w=w+1;if(i<IHEAP[g])c=19;else break a}}_free(IHEAP[a+20])}_tcd_free_decode_tile.__index__=Runtime.getFunctionIndex(_tcd_free_decode_tile,"_tcd_free_decode_tile");
+function _tgt_create(b,f){var e=STACKTOP;STACKTOP+=256;_memset(e,0,256);var c,a=null,d,g=e+128,h,i,j,k,m,l,n;k=_malloc(16);if(k!=0){IHEAP[k]=b;IHEAP[k+4]=f;n=0;IHEAP[e]=b;IHEAP[g]=f;IHEAP[k+8]=0;j=k+8;n=n;l=IHEAP[j];var o=n+1;a=1;a:for(;;){c=a==2?c:0;h=a==2?h:l;m=o+c;i=g+m*4;a=n+c;var p=g+a*4,r=e+a*4;a=IHEAP[p]*IHEAP[r];IHEAP[e+m*4]=(IHEAP[r]+1)/2|0;IHEAP[i]=(IHEAP[p]+1)/2|0;h=h+a;c=c+1;if(a>1)a=2;else break a}IHEAP[j]=h;n=m;if(IHEAP[k+8]==0){_free(k);d=0}else{a=_calloc(IHEAP[k+8],16);IHEAP[k+12]=
+a;if(IHEAP[k+12]!=0){h=IHEAP[k+12];j=i=IHEAP[k+12]+16*IHEAP[k+4]*IHEAP[k];m=0;c=m<n-1?4:5;a:for(;;)if(c==4){l=0;o=m;if(l<IHEAP[g+m*4]){a=4;c=6}else{a=4;c=7}for(;;)if(c==6){a=IHEAP[e+(a==18?v:o)*4];a=v=a+-1;if(v>=0){v=i;c=h;a=a;h=a+-2;i=a+-1;for(a=8;;){t=a==8?0:t;s=a==8?c:s;var q=t*-2;p=h+q;a=i+q;r=v+16*t;q=v+16*(t+1);IHEAP[s]=r;s=s+16;if(a>=0){IHEAP[s]=r;var u=s+16;a=10}else a=9;var s=a==10?u:s,t=t+1;if(p>=0)a=12;else break}h=s;i=q}a=(l&1)!=0;c:do if(a)c=15;else{if(l==IHEAP[g+m*4]-1){c=15;break c}i=
+j;j+=16*IHEAP[e+m*4];c=18;break c}while(0);if(c==15)j=i;l+=1;var v=m;if(l<IHEAP[g+m*4]){a=18;c=6}else{a=18;c=7}}else if(c==7){m=(a==4?o:v)+1;c=m<n-1?4:5;continue a}}else if(c==5){IHEAP[h]=0;d=k;c=0==d?19:20;break a}a:do if(c==20){if(!(0<IHEAP[d+8]))break a;g=d+12;u=d+12;q=d+12;s=d+8;for(a=21;;){y=a==21?0:y;n=0+y;t=1+y;IHEAP[IHEAP[g]+16*n+4]=999;IHEAP[IHEAP[u]+16*n+8]=0;IHEAP[IHEAP[q]+16*n+12]=0;var y=y+1;if(t<IHEAP[s])c=a=22;else{c=23;break}}}while(0);d=k}else{_free(k);d=0}}}else d=0;d=d;STACKTOP=
+e;return d}_tgt_create.__index__=Runtime.getFunctionIndex(_tgt_create,"_tgt_create");function _tgt_reset(b){var f=null,e=0==b;a:do if(!e){if(!(0<IHEAP[b+8]))break a;var c=b+12,a=b+12,d=b+12,g=b+8;for(f=0;;){i=f==0?0:i;f=1+i;var h=0+i;IHEAP[IHEAP[c]+16*h+4]=999;IHEAP[IHEAP[a]+16*h+8]=0;IHEAP[IHEAP[d]+16*h+12]=0;var i=i+1;if(f<IHEAP[g])f=2;else break}}while(0)}_tgt_reset.__index__=Runtime.getFunctionIndex(_tgt_reset,"_tgt_reset");function _tgt_destroy(b){_free(IHEAP[b+12]);_free(b)}
+_tgt_destroy.__index__=Runtime.getFunctionIndex(_tgt_destroy,"_tgt_destroy");function _tgt_setvalue(b,f,e){var c=null;b=IHEAP[b+12]+16*f;for(c=0;;){f=c==4?a:b;if((c==4?a:b)==0)break;if(!(IHEAP[f+4]>e))break;IHEAP[f+4]=e;var a=IHEAP[f];c=4}}_tgt_setvalue.__index__=Runtime.getFunctionIndex(_tgt_setvalue,"_tgt_setvalue");
+function _tgt_encode(b,f,e,c){var a=STACKTOP;STACKTOP+=124;_memset(a,0,124);var d,g=null;g=a;f=IHEAP[f+12]+16*e;if(IHEAP[f]!=0){f=f;e=g;for(g=0;;){d=g==0?0:j;g=g==0?f:i;var h=e+4*(d+1);IHEAP[e+4*d]=g;var i=IHEAP[g],j=d+1;if(IHEAP[i]!=0)d=g=1;else{d=2;break}}g=h;f=i}h=f;i=g;g=4;a:for(;;){p=g==18?p:0;o=g==18?o:h;e=g==18?l:0;g=p*-1;j=i+4*g;f=i+4*(g+-1);g=o+8;if(e>IHEAP[o+8]){IHEAP[g]=e;g=6}else{var k=IHEAP[g];g=8}e=g==8?k:e;var m=o+4;g=9;b:for(;;){d=g==9?0:n;var l=e+d;if(!(l<c)){d=12;break b}if(l>=IHEAP[m]){d=
+13;break b}_bio_write(b,0,1);var n=d+1;g=14;d=10}b:do if(d==13){if(IHEAP[o+12]!=0)break b;_bio_write(b,1,1);IHEAP[o+12]=1}while(0);IHEAP[o+8]=l;if(j==a)break a;var o=IHEAP[f],p=p+1;g=18;d=5}STACKTOP=a}_tgt_encode.__index__=Runtime.getFunctionIndex(_tgt_encode,"_tgt_encode");
+function _tgt_decode(b,f,e,c){var a=STACKTOP;STACKTOP+=124;_memset(a,0,124);var d=null;d=a;f=IHEAP[f+12]+16*e;if(IHEAP[f]!=0){f=f;e=d;for(d=0;;){i=d==0?0:i;d=d==0?f:h;var g=e+4*(i+1);IHEAP[e+4*i]=d;var h=IHEAP[d],i=i+1;if(IHEAP[h]!=0)d=1;else break}d=g;f=h}g=f;h=d;d=4;a:for(;;){p=d==17?p:0;var j=d==17?o:g;f=d==17?l:0;d=p*-1;o=h+4*d;i=h+4*(d+-1);d=j+8;if(f>IHEAP[j+8]){IHEAP[d]=f;d=6}else{var k=IHEAP[d];d=8}f=d==8?k:f;e=j+4;var m=j+4;for(d=9;;){var l=d==9?f:d==15?n:l;if(!(l<c))break;if(!(l<IHEAP[e]))break;
+if(_bio_read(b,1)!=0){IHEAP[m]=l;d=14}else{var n=l+1;d=15}}IHEAP[j+8]=l;if(o==a)break a;var o=IHEAP[i],p=p+1;d=17}f=j;b=IHEAP[f+4]<c?1:0;STACKTOP=a;return b}_tgt_decode.__index__=Runtime.getFunctionIndex(_tgt_decode,"_tgt_decode");
+function _write_index_file(b,f){var e,c=null,a,d,g,h,i,j,k,m,l,n;m=0;if(b!=0){a=_fopen(f,__str25116);if(a!=0){l=FHEAP[IHEAP[b+88]+556]!=0?1:0;n=IHEAP[IHEAP[b+88]+552]!=0?1:0;_fprintf(a,__str227,IHEAP[b+16],IHEAP[b+20]);_fprintf(a,__str328,IHEAP[b+24]);_fprintf(a,__str227,IHEAP[b+28],IHEAP[b+32]);_fprintf(a,__str227,IHEAP[b+44],IHEAP[b+48]);_fprintf(a,__str328,IHEAP[b+52]);_fprintf(a,__str328,IHEAP[b+56]);_fprintf(a,__str328,IHEAP[IHEAP[b+60]]);var o=IHEAP[IHEAP[b+60]];i=o;if(o>=0){c=3;e=4}else{c=
+3;e=5}a:for(;;)if(e==4){_fprintf(c==4?d:a,__str429,1<<IHEAP[IHEAP[b+88]+284+i*4],1<<IHEAP[IHEAP[b+88]+284+i*4]);i=o=i+-1;d=a;if(o>=0)e=c=4;else{c=4;e=5}}else if(e==5){_fputc(10,c==3?a:d);_fprintf(a,__str328,IHEAP[b+76]);_fprintf(a,__str328,IHEAP[b+80]);_fprintf(a,__str328,IHEAP[b+84]);_fwrite(__str631,15,1,a);_fwrite(__str732,44,1,a);e=l!=0?6:7;break a}e==6&&_fwrite(__str833,14,1,a);n!=0&&_fwrite(__str934,10,1,a);d=l!=0;a:do if(d){if(n==0)break a;_fwrite(__str1035,13,1,a)}while(0);_fputc(10,a);d=
+0;o=d<IHEAP[b+48]*IHEAP[b+44];a:do if(o)for(var p=l!=0,r=n!=0,q=l!=0,u=n!=0;;){_fprintf(a,__str1136,IHEAP[IHEAP[b+88]+572*d+4],IHEAP[IHEAP[b+88]+572*d+8],IHEAP[IHEAP[b+88]+572*d+12],IHEAP[IHEAP[b+88]+572*d+16],IHEAP[IHEAP[b+88]+572*d+564]);p&&_fprintf(a,__str1237,FHEAP[IHEAP[b+88]+572*d+556]);r&&_fprintf(a,__str1338,IHEAP[IHEAP[b+88]+572*d+552]);q^1|u^1||_fprintf(a,__str1237,FHEAP[IHEAP[b+88]+572*d+556]/IHEAP[IHEAP[b+88]+572*d+552]);_fputc(10,a);d+=1;if(!(d<IHEAP[b+48]*IHEAP[b+44]))break a}while(0);
+d=0;if(d<IHEAP[b+48]*IHEAP[b+44]){n=l!=0;o=l!=0;p=l!=0;r=l!=0;q=l!=0;u=l!=0;var s=l!=0,t=l!=0,v=l!=0,y=l!=0;m=m;c=18;a:for(;;){var x=c==18?m:k;g=k=0;if(g<IHEAP[b+52]){c=19;e=20}else{c=19;e=21}b:for(;;)if(e==20){C=c==24?C:0;if(C<IHEAP[IHEAP[b+60]+4*g]){var w=IHEAP[IHEAP[b+60]+4*g];c=22}else c=20;var C=c==20?C:w;g+=1;if(g<IHEAP[b+52]){c=24;e=20}else{c=24;e=21}}else if(e==21){var z=c==19?0:C;_fprintf(a,__str1439,d);_fwrite(__str1540,70,1,a);if(0<IHEAP[IHEAP[b+88]+572*d+564]){c=21;e=25}else{c=21;e=26}break b}b:for(;;)if(e==
+25){A=c==25?A:0;i=A+1;_fprintf(a,__str1641,A,d,IHEAP[IHEAP[IHEAP[b+88]+572*d+568]+20*A+12],IHEAP[IHEAP[IHEAP[b+88]+572*d+568]+20*A+16],IHEAP[IHEAP[IHEAP[b+88]+572*d+568]+20*A],IHEAP[IHEAP[IHEAP[b+88]+572*d+568]+20*A+4],IHEAP[IHEAP[IHEAP[b+88]+572*d+568]+20*A+8]);var A=A+1;if(i<IHEAP[IHEAP[b+88]+572*d+564])e=c=25;else{c=25;e=26}}else if(e==26){e=IHEAP[b+24]==0?27:28;break b}b:do if(e==27){_fwrite(__str1742,74,1,a);n&&_fwrite(__str1843,6,1,a);_fputc(10,a);h=0;if(!(h<IHEAP[b+56])){c=30;break b}var B=
+z+1,D=z+1;c=31;c:for(;;){var J=c==31?x:G;i=0;if(i<B){c=33;e=34}else{c=33;e=35}for(;;)if(e==34){var E=c==38?N:J;g=0;c=34;e:for(;;){var N=c==41?P:E;if(!(g<IHEAP[b+52]))break e;if(i>IHEAP[IHEAP[b+60]+4*g])break e;var Q=IHEAP[IHEAP[b+88]+572*d+152+i*4]*IHEAP[IHEAP[b+88]+572*d+20+i*4];j=0;if(j<Q){c=39;e=40}else{c=39;e=41}for(;;)if(e==40){S=c==43?S:N;c=FHEAP[IHEAP[IHEAP[b+88]+572*d+548]+20*k+12];_fprintf(a,__str1944,k,d,h,i,g,j,IHEAP[IHEAP[IHEAP[b+88]+572*d+548]+20*k],IHEAP[IHEAP[IHEAP[b+88]+572*d+548]+
+20*k+4],IHEAP[IHEAP[IHEAP[b+88]+572*d+548]+20*k+8]);o&&_fprintf(a,__str2045,c);_fputc(10,a);var S=S+c;k+=1;j+=1;if(j<Q){c=43;e=40}else{c=44;e=41}}else if(e==41){var P=c==44?S:N;g+=1;c=41;continue e}}i+=1;if(i<D){c=38;e=34}else{c=38;e=35}}else if(e==35){var G=c==33?J:N;h+=1;if(h<IHEAP[b+56]){c=35;e=33;continue c}else{c=35;break b}}}}else if(e==28)if(IHEAP[b+24]==1){_fwrite(__str2146,75,1,a);p&&_fwrite(__str1843,6,1,a);_fputc(10,a);i=0;if(!(i<z+1)){c=46;break b}B=z+1;c=47;c:for(;;){D=c==47?x:H;h=0;
+if(h<IHEAP[b+56]){c=48;e=49}else{c=48;e=50}for(;;)if(e==49){J=c==53?F:D;g=0;c=49;e:for(;;){var F=c==56?K:J;if(!(g<IHEAP[b+52]))break e;if(i>IHEAP[IHEAP[b+60]+4*g])break e;E=IHEAP[IHEAP[b+88]+572*d+152+i*4]*IHEAP[IHEAP[b+88]+572*d+20+i*4];j=0;if(j<E){c=54;e=55}else{c=54;e=56}for(;;)if(e==55){L=c==58?L:F;c=FHEAP[IHEAP[IHEAP[b+88]+572*d+548]+20*k+12];_fprintf(a,__str2247,k,d,i,h,g,j,IHEAP[IHEAP[IHEAP[b+88]+572*d+548]+20*k],IHEAP[IHEAP[IHEAP[b+88]+572*d+548]+20*k+4],IHEAP[IHEAP[IHEAP[b+88]+572*d+548]+
+20*k+8]);r&&_fprintf(a,__str2045,c);_fputc(10,a);var L=L+c;k+=1;j+=1;if(j<E){c=58;e=55}else{c=59;e=56}}else if(e==56){var K=c==59?L:F;g+=1;c=56;continue e}}h+=1;if(h<IHEAP[b+56]){c=53;e=49}else{c=53;e=50}}else if(e==50){var H=c==48?D:F;i+=1;if(i<B){c=50;e=48;continue c}else{c=50;break b}}}}else if(IHEAP[b+24]==2){_fwrite(__str2348,74,1,a);q&&_fwrite(__str1843,6,1,a);_fputc(10,a);i=0;if(!(i<z+1)){c=61;break b}B=z+1;c=62;c:for(;;){D=c==62?x:ga;J=IHEAP[IHEAP[b+88]+572*d+152+i*4]*IHEAP[IHEAP[b+88]+572*
+d+20+i*4];j=0;if(j<J){c=63;e=64}else{c=63;e=65}d:for(;;)if(e==64){E=c==68?T:D;g=IHEAP[b+36];c=d;h=_floorf(d/IHEAP[b+44])|0;Q=c+g+(0-h*IHEAP[b+44]*IHEAP[b+28]);c=IHEAP[b+36];h=_floorf(d/IHEAP[b+44])|0;e=IHEAP[b+32];var M=h*e+c,I=IHEAP[b+28]+Q,O=IHEAP[b+32],R=O+M;g=0;M=M<R;R=c+h*e;c=64;e:for(;;){var T=c==82?ka:E;if(!(g<IHEAP[b+52]))break e;c=IHEAP[IHEAP[b+88]+572*d+20+i*4];var V=_ldexp(1,IHEAP[IHEAP[b+60]+4*g]+IHEAP[IHEAP[b+88]+572*d+284+i*4]+(0-i))|0,ba=_ldexp(1,IHEAP[IHEAP[b+60]+4*g]+IHEAP[IHEAP[b+
+88]+572*d+416+i*4]+(0-i))|0;h=j;e=(_floorf(j/c)|0)*c;var fa=h-e,ca=_floorf(j/c)|0;if(i>IHEAP[IHEAP[b+60]+4*g])break e;f:do if(M){ka=ba*ca;var U=V*fa;c=70;for(;;){aa=c==70?0:aa;X=c==70?T:X;var $=ka==R+aa;h:do if($){e=Q;if(e<I)c=72;else{c=72;break h}for(;;){W=c==77?W:X;var Y=U==e;j:do if(Y){h=0;if(h<IHEAP[b+56])c=75;else{c=75;break j}for(;;){Z=c==79?Z:W;c=FHEAP[IHEAP[IHEAP[b+88]+572*d+548]+20*k+12];_fprintf(a,__str2449,k,d,i,j,g,h,IHEAP[IHEAP[IHEAP[b+88]+572*d+548]+20*k],IHEAP[IHEAP[IHEAP[b+88]+572*
+d+548]+20*k+4],IHEAP[IHEAP[IHEAP[b+88]+572*d+548]+20*k+8]);u&&_fprintf(a,__str2045,c);_fputc(10,a);var Z=Z+c;k+=1;h+=1;if(h<IHEAP[b+56])c=79;else break}c=80}else c=73;while(0);var W=c==73?W:c==80?Z:W;e+=1;if(e<I)c=77;else{c=77;break h}}}else c=71;while(0);var X=c==71?X:c==72?X:W,aa=aa+1;if(aa!=O)c=74;else{c=74;break f}}}else c=69;while(0);var ka=c==69?T:X;g+=1;c=82}j+=1;if(j<J){c=68;e=64;continue d}c=83;e=65}else if(e==65){var ga=c==83?T:D;i+=1;if(i<B){c=65;e=63;continue c}else{e=84;break c}}}c=84}else if(IHEAP[b+
+24]==3){i=IHEAP[b+36];j=d;g=_floorf(d/IHEAP[b+44])|0;B=j+i+(0-g*IHEAP[b+44]*IHEAP[b+28]);g=IHEAP[b+36];h=_floorf(d/IHEAP[b+44])|0;I=IHEAP[b+32];Q=h*I+g;D=IHEAP[b+28]+B;J=IHEAP[b+32];O=J+Q;i=0;if(i<z+1){j=z+1;for(c=86;;){ja=c==86?0:ja;c=IHEAP[IHEAP[b+88]+572*d+152+i*4]*IHEAP[IHEAP[b+88]+572*d+20+i*4];var ja=c>ja?c:ja;i+=1;if(i<j)e=c=87;else{e=88;break}}c=88}else c=170;E=c==88?ja:0;_fwrite(__str2550,74,1,a);s&&_fwrite(__str1843,6,1,a);_fputc(10,a);j=0;if(!(j<E)){c=91;break b}Q=Q<O;I=g+h*I;c=92;c:for(;;){O=
+c==92?x:wa;g=0;if(g<IHEAP[b+52]){c=93;e=94}else{c=93;e=95}d:for(;;)if(e==94){M=c==97?qa:O;i=0;if(i<IHEAP[IHEAP[b+60]+4*g]+1){c=94;e=96}else{c=94;e=97}e:for(;;)if(e==96){ha=c==110?ha:M;c=IHEAP[IHEAP[b+88]+572*d+152+i*4]*IHEAP[IHEAP[b+88]+572*d+20+i*4];h=IHEAP[IHEAP[b+88]+572*d+20+i*4];R=_ldexp(1,IHEAP[IHEAP[b+60]+4*g]+IHEAP[IHEAP[b+88]+572*d+284+i*4]+(0-i))|0;V=_ldexp(1,IHEAP[IHEAP[b+60]+4*g]+IHEAP[IHEAP[b+88]+572*d+416+i*4]+(0-i))|0;e=j;ba=(_floorf(j/h)|0)*h;ba=e-ba;fa=_floorf(j/h)|0;ca=j>=c|Q^1;
+f:do if(ca)c=96;else{U=V*fa;$=R*ba;c=98;for(;;){da=c==98?0:da;pa=c==98?ha:pa;Y=U==I+da;h:do if(Y){e=B;if(e<D)c=100;else{c=100;break h}for(;;){oa=c==105?oa:pa;var ia=$==e;j:do if(ia){h=0;if(h<IHEAP[b+56])c=103;else{c=103;break j}for(;;){ea=c==107?ea:oa;c=FHEAP[IHEAP[IHEAP[b+88]+572*d+548]+20*k+12];_fprintf(a,__str2651,k,d,j,g,i,h,IHEAP[IHEAP[IHEAP[b+88]+572*d+548]+20*k],IHEAP[IHEAP[IHEAP[b+88]+572*d+548]+20*k+4],IHEAP[IHEAP[IHEAP[b+88]+572*d+548]+20*k+8]);t&&_fprintf(a,__str2045,c);_fputc(10,a);var ea=
+ea+c;k+=1;h+=1;if(h<IHEAP[b+56])c=107;else break}c=108}else c=101;while(0);var oa=c==101?oa:c==108?ea:oa;e+=1;if(e<D)c=105;else{c=105;break h}}}else c=99;while(0);var pa=c==99?pa:c==100?pa:oa,da=da+1;if(da!=J)c=102;else{c=102;break f}}}while(0);var ha=c==96?ha:pa;i+=1;if(i<IHEAP[IHEAP[b+60]+4*g]+1){c=110;e=96;continue e}c=111;e=97}else if(e==97){var qa=c==111?ha:M;g+=1;if(g<IHEAP[b+52]){c=97;e=94}else{c=97;e=95}continue d}}else if(e==95){var wa=c==93?O:qa;j+=1;if(j<E){c=95;e=93;continue c}else{c=
+95;break b}}}}else{i=0;if(i<z+1){j=z+1;for(c=112;;){la=c==112?0:la;g=IHEAP[IHEAP[b+88]+572*d+152+i*4]*IHEAP[IHEAP[b+88]+572*d+20+i*4];var la=g>la?g:la;i+=1;if(i<j)e=c=113;else{e=114;break}}c=114}else c=174;B=c==114?la:0;_fwrite(__str2752,74,1,a);v&&_fwrite(__str1843,6,1,a);_fputc(10,a);g=0;if(g<IHEAP[b+52])c=117;else{c=117;break b}c:for(;;){xa=c==137?xa:x;i=IHEAP[b+36];j=d;c=_floorf(d/IHEAP[b+44])|0;D=j+i+(0-c*IHEAP[b+44]*IHEAP[b+28]);J=IHEAP[b+36];E=_floorf(d/IHEAP[b+44])|0;Q=IHEAP[b+32];I=E*Q+J;
+O=IHEAP[b+28]+D;M=IHEAP[b+32];R=M+I;j=0;V=j<B;d:do if(V){ba=I<R;fa=J+E*Q;c=119;e:for(;;){ca=c==119?xa:Ja;i=0;if(i<IHEAP[IHEAP[b+60]+4*g]+1){c=120;e=121}else{c=120;e=122}f:for(;;)if(e==121){Pa=c==135?Pa:ca;c=IHEAP[IHEAP[b+88]+572*d+152+i*4]*IHEAP[IHEAP[b+88]+572*d+20+i*4];h=IHEAP[IHEAP[b+88]+572*d+20+i*4];U=_ldexp(1,IHEAP[IHEAP[b+60]+4*g]+IHEAP[IHEAP[b+88]+572*d+284+i*4]+(0-i))|0;$=_ldexp(1,IHEAP[IHEAP[b+60]+4*g]+IHEAP[IHEAP[b+88]+572*d+416+i*4]+(0-i))|0;e=j;Y=(_floorf(j/h)|0)*h;Y=e-Y;ia=_floorf(j/
+h)|0;var ma=j>=c|ba^1;g:do if(ma)c=121;else{var ua=$*ia,ra=U*Y;c=123;for(;;){Na=c==123?0:Na;Ba=c==123?Pa:Ba;var ta=ua==fa+Na;i:do if(ta){e=D;if(e<O)c=125;else{c=125;break i}for(;;){ya=c==130?ya:Ba;var va=ra==e;k:do if(va){h=0;if(h<IHEAP[b+56])c=128;else{c=128;break k}for(;;){na=c==132?na:ya;c=FHEAP[IHEAP[IHEAP[b+88]+572*d+548]+20*k+12];_fprintf(a,__str2651,k,d,g,j,i,h,IHEAP[IHEAP[IHEAP[b+88]+572*d+548]+20*k],IHEAP[IHEAP[IHEAP[b+88]+572*d+548]+20*k+4],IHEAP[IHEAP[IHEAP[b+88]+572*d+548]+20*k+8]);y&&
+_fprintf(a,__str2045,c);_fputc(10,a);var na=na+c;k+=1;h+=1;if(h<IHEAP[b+56])c=132;else break}c=133}else c=126;while(0);var ya=c==126?ya:c==133?na:ya;e+=1;if(e<O)c=130;else{c=130;break i}}}else c=124;while(0);var Ba=c==124?Ba:c==125?Ba:ya,Na=Na+1;if(Na!=M)c=127;else{c=127;break g}}}while(0);var Pa=c==121?Pa:Ba;i+=1;if(i<IHEAP[IHEAP[b+60]+4*g]+1){c=135;e=121;continue f}c=136;e=122}else if(e==122){var Ja=c==136?Pa:ca;j+=1;if(j<B){c=122;continue e}else{c=122;break d}}}}else c=118;while(0);var xa=c==118?
+xa:Ja;g+=1;if(g<IHEAP[b+52]){c=137;e=118}else{e=138;break c}}c=138}while(0);k=c==30?x:c==35?G:c==84?ga:c==61?x:c==138?xa:c==117?x:c==91?x:c==95?wa:c==46?x:H;d+=1;if(d<IHEAP[b+48]*IHEAP[b+44])c=32;else break a}m=k}if(l!=0){_fprintf(a,__str28117,FHEAP[b]);_fprintf(a,__str2953,m)}l=IHEAP[b+64]!=0;a:do if(l){_fwrite(__str30118,13,1,a);_fprintf(a,__str328,IHEAP[b+64]);_fwrite(__str31119,25,1,a);e=0;if(!(e<IHEAP[b+64]))break a;for(;;){_fprintf(a,__str32120,IHEAP[IHEAP[b+68]+12*e],IHEAP[IHEAP[b+68]+12*e+
+4],IHEAP[IHEAP[b+68]+12*e+8]);e+=1;if(!(e<IHEAP[b+64]))break a}}while(0);_fclose(a);_fprintf(IHEAP[_stderr],__str33121,f);a=0}else{_fprintf(IHEAP[_stderr],__str126,f);a=1}}else a=1;return a}_write_index_file.__index__=Runtime.getFunctionIndex(_write_index_file,"_write_index_file");
+function _tga_readheader(b,f,e,c,a){var d=STACKTOP;STACKTOP+=20;_memset(d,0,20);var g,h,i=f!=0;a:do if(i){if(e==0){g=1;break a}if(c==0){g=1;break a}if(a==0){g=1;break a}_fread(d,18,1,b);IHEAP[f]=IHEAP[d+18];IHEAP[e]=IHEAP[d+14];IHEAP[c]=IHEAP[d+16];if(IHEAP[d]!=0){f=_malloc(IHEAP[d]);_fread(f,IHEAP[d],1,b);_free(f)}if(IHEAP[d+2]>8){_fwrite(__str54122,57,1,IHEAP[_stderr]);h=0}else{IHEAP[a]=(IHEAP[d+19]&32)!=0^1;a=(IHEAP[d+8]/8|0)*IHEAP[d+6];if(a>0){_fwrite(__str155,44,1,IHEAP[_stderr]);_fseek(b,a,
+1)}h=1}g=6;break a}else g=1;while(0);if(g==1)h=0;b=h;STACKTOP=d;return b}_tga_readheader.__index__=Runtime.getFunctionIndex(_tga_readheader,"_tga_readheader");
+function _tga_writeheader(b,f,e,c,a){var d=STACKTOP;STACKTOP+=20;_memset(d,0,20);var g,h,i=f!=0;a:do if(i){if(e==0){g=1;break a}if(c==0){g=1;break a}_llvm_memset_p0i8_i32(d,0,18,1,0);IHEAP[d+18]=f&255;IHEAP[d+14]=e&65535;IHEAP[d+16]=c&65535;IHEAP[d+2]=2;IHEAP[d+19]=8;if(a!=0){f=d+19;IHEAP[f]=(IHEAP[f]|32)&255}_fwrite(d,18,1,b);h=1;g=5;break a}else g=1;while(0);if(g==1)h=0;b=h;STACKTOP=d;return b}_tga_writeheader.__index__=Runtime.getFunctionIndex(_tga_writeheader,"_tga_writeheader");
+function _tgatoimage(b,f){var e=STACKTOP;STACKTOP+=167;_memset(e,0,167);var c,a=null,d,g=e+4,h=e+8,i=e+12,j=e+16,k,m,l,n=e+160,o=e+161,p=e+162,r=e+163,q=e+164,u=e+165,s=e+166;IHEAP[i]=0;d=_fopen(b,__str73);if(d!=0)if(_tga_readheader(d,h,e,g,i)!=0)if(IHEAP[h]==24|IHEAP[h]==32){_llvm_memset_p0i8_i32(j,0,144,1,0);var t=IHEAP[h]==8;a:do{if(t)c=m=1;else{a=IHEAP[h];m=l=a==16;if(a==16){a=2;c=3}else{a=2;c=1}}break a}while(0);if(c==1){k=IHEAP[h]==32;var v=m;a=1}h=a==1?v:l;a=a==2?1:k;if(h!=0){h=2;k=a!=0?2:
+1}else{k=a!=0?4:3;h=1}m=IHEAP[f+18188];l=IHEAP[f+18192];if(0<k){v=IHEAP[e];c=IHEAP[g];a=k;t=(a>1?a:1)-0;for(a=6;;){a=a==6?0:B;B=0+a;var y=j+B*36+12,x=j+B*36+8,w=j+B*36+4,C=j+B*36,z=j+B*36+32,A=j+B*36+28;IHEAP[j+B*36+24]=8;IHEAP[A]=8;IHEAP[z]=0;IHEAP[C]=m;IHEAP[w]=l;IHEAP[x]=v;IHEAP[y]=c;var B=a+1;if(B!=t)a=7;else break}}j=_opj_image_create(k,j,h);if(j!=0){IHEAP[j]=IHEAP[f+18180];IHEAP[j+4]=IHEAP[f+18184];if(IHEAP[j]!=0){var D=IHEAP[j]+1+(IHEAP[e]-1)*m;a=12}else{var J=(IHEAP[e]-1)*m+1;a=10}IHEAP[j+
+8]=a==10?J:D;if(IHEAP[j+4]!=0){var E=IHEAP[j+4]+1+(IHEAP[g]-1)*l;a=15}else{var N=(IHEAP[g]-1)*l+1;a=13}IHEAP[j+12]=a==13?N:E;if(0<IHEAP[g]){D=k==3;J=j+24;E=j+24;N=j+24;k=k==4;B=j+24;h=j+24;m=j+24;l=j+24;a=16;a:for(;;){F=a==16?0:F;a=-1+F*-1;c=0+F;v=1+F;if(IHEAP[i]!=0){var Q=(IHEAP[g]+a)*IHEAP[e];a=18}else{var S=IHEAP[e]*c;a=20}c=a==20?S:Q;b:do if(D){if(!(0<IHEAP[e]))break b;for(a=22;;){P=a==22?0:P;a=P+1;t=c+P;_fread(p,1,1,d);_fread(o,1,1,d);_fread(n,1,1,d);IHEAP[IHEAP[IHEAP[J]+44]+4*t]=IHEAP[n];IHEAP[IHEAP[IHEAP[E]+
+48+44]+4*t]=IHEAP[o];IHEAP[IHEAP[IHEAP[N]+96+44]+4*t]=IHEAP[p];var P=P+1;if(a<IHEAP[e])a=24;else break b}}else if(k){if(!(0<IHEAP[e]))break b;for(a=26;;){G=a==26?0:G;a=G+1;t=c+G;_fread(u,1,1,d);_fread(q,1,1,d);_fread(r,1,1,d);_fread(s,1,1,d);IHEAP[IHEAP[IHEAP[B]+44]+4*t]=IHEAP[r];IHEAP[IHEAP[IHEAP[h]+48+44]+4*t]=IHEAP[q];IHEAP[IHEAP[IHEAP[m]+96+44]+4*t]=IHEAP[u];IHEAP[IHEAP[IHEAP[l]+144+44]+4*t]=IHEAP[s];var G=G+1;if(a<IHEAP[e])a=27;else break b}}else _fprintf(IHEAP[_stderr],__str458,b);while(0);
+var F=F+1;if(v<IHEAP[g])a=23;else break a}}d=j}else d=0}else d=0;else d=0;else{_fprintf(IHEAP[_stderr],__str357,b);d=0}d=d;STACKTOP=e;return d}_tgatoimage.__index__=Runtime.getFunctionIndex(_tgatoimage,"_tgatoimage");
+function _imagetotga(b,f){var e,c=null,a,d,g,h;h=_fopen(f,__str559);if(h!=0){g=IHEAP[b+16]-1;var i=IHEAP[b+24],j=b+24,k=b+24,m=b+24,l=b+24,n=b+24;c=1;a:for(;;){c=c==8?o:0;e=1+c;if(!(0+c<g)){e=4;break a}if(IHEAP[i]!=IHEAP[IHEAP[j]+48*e]){e=5;break a}if(IHEAP[IHEAP[k]+4]!=IHEAP[IHEAP[m]+48*e+4]){e=5;break a}if(IHEAP[IHEAP[l]+24]!=IHEAP[IHEAP[n]+48*e+24]){e=5;break a}var o=c+1;c=8;e=2}if(e==4){a=IHEAP[i+8];e=IHEAP[IHEAP[b+24]+12];if(IHEAP[b+16]==2)c=4;else{d=IHEAP[b+16]==4;c=9}c=c==4?1:d;d=c!=0?32:24;
+if(_tga_writeheader(h,d,a,e,1)!=0){d=IHEAP[b+16]-1;g=255/((1<<IHEAP[IHEAP[b+24]+24])-1);if(0<e){i=b+24;j=b+16;k=b+24;m=b+24;l=c!=0;n=b+24;o=0<a;var p=a>1?a:1,r=0*a,q=(e>1?e:1)-0;c=11;a:for(;;){var u=c==11?0:C,s=r+a*u;if(o){c=12;e=13}else{c=12;e=14}for(;;)if(e==13){w=c==19?w:0;e=s+w;var t=IHEAP[IHEAP[IHEAP[i]+44]+4*e];if(IHEAP[j]>2){var v=IHEAP[IHEAP[IHEAP[k]+48+44]+4*e],y=IHEAP[IHEAP[IHEAP[m]+96+44]+4*e];c=15}else c=13;var x=c==15?v:t;_fputc(Math.floor((c==15?y:t)*g),h);_fputc(Math.floor(x*g),h);
+_fputc(Math.floor(t*g),h);l&&_fputc(Math.floor(IHEAP[IHEAP[IHEAP[n]+48*d+44]+4*e]*g),h);var w=w+1;if(w!=p){c=19;e=13}else{c=20;e=14}}else if(e==14){var C=u+1;if(C!=q){c=14;continue a}else break a}}}a=0}else a=1}else if(e==5){_fwrite(__str761,63,1,IHEAP[_stderr]);a=1}}else{_fprintf(IHEAP[_stderr],__str660,f);a=1}return a}_imagetotga.__index__=Runtime.getFunctionIndex(_imagetotga,"_imagetotga");
+function _bmptoimage(b,f){var e=STACKTOP;STACKTOP+=164;_memset(e,0,164);var c,a=null,d,g,h,i,j,k,m,l,n=e+108,o=e+124,p,r,q,u,s,t,v,y,x,w;g=IHEAP[f+18188];h=IHEAP[f+18192];j=0;t=s=1;y=v=0;l=_fopen(b,__str73);var C=l!=0;a:do if(C){d=__IO_getc(l)&65535;IHEAP[n]=d;d=__IO_getc(l)*256;IHEAP[n]=IHEAP[n]+d&65535;if(IHEAP[n]!=19778){_fwrite(__str862,23,1,IHEAP[_stderr]);d=0}else{d=__IO_getc(l);IHEAP[n+4]=d;d=__IO_getc(l)*256;IHEAP[n+4]=d+IHEAP[n+4];d=__IO_getc(l)*65536;IHEAP[n+4]=d+IHEAP[n+4];d=__IO_getc(l)*
+16777216;IHEAP[n+4]=d+IHEAP[n+4];d=__IO_getc(l)&65535;IHEAP[n+8]=d;d=__IO_getc(l)*256;IHEAP[n+8]=IHEAP[n+8]+d&65535;d=__IO_getc(l)&65535;IHEAP[n+10]=d;d=__IO_getc(l)*256;IHEAP[n+10]=IHEAP[n+10]+d&65535;d=__IO_getc(l);IHEAP[n+12]=d;d=__IO_getc(l)*256;IHEAP[n+12]=d+IHEAP[n+12];d=__IO_getc(l)*65536;IHEAP[n+12]=d+IHEAP[n+12];d=__IO_getc(l)*16777216;IHEAP[n+12]=d+IHEAP[n+12];d=__IO_getc(l);IHEAP[o]=d;d=__IO_getc(l)*256;IHEAP[o]=d+IHEAP[o];d=__IO_getc(l)*65536;IHEAP[o]=d+IHEAP[o];d=__IO_getc(l)*16777216;
+IHEAP[o]=d+IHEAP[o];d=__IO_getc(l);IHEAP[o+4]=d;d=__IO_getc(l)*256;IHEAP[o+4]=d+IHEAP[o+4];d=__IO_getc(l)*65536;IHEAP[o+4]=d+IHEAP[o+4];d=__IO_getc(l)*16777216;IHEAP[o+4]=d+IHEAP[o+4];d=IHEAP[o+4];k=__IO_getc(l);IHEAP[o+8]=k;k=__IO_getc(l)*256;IHEAP[o+8]=k+IHEAP[o+8];k=__IO_getc(l)*65536;IHEAP[o+8]=k+IHEAP[o+8];k=__IO_getc(l)*16777216;IHEAP[o+8]=k+IHEAP[o+8];k=IHEAP[o+8];p=__IO_getc(l)&65535;IHEAP[o+12]=p;p=__IO_getc(l)*256;IHEAP[o+12]=IHEAP[o+12]+p&65535;p=__IO_getc(l)&65535;IHEAP[o+14]=p;p=__IO_getc(l)*
+256;IHEAP[o+14]=IHEAP[o+14]+p&65535;p=__IO_getc(l);IHEAP[o+16]=p;p=__IO_getc(l)*256;IHEAP[o+16]=p+IHEAP[o+16];p=__IO_getc(l)*65536;IHEAP[o+16]=p+IHEAP[o+16];p=__IO_getc(l)*16777216;IHEAP[o+16]=p+IHEAP[o+16];p=__IO_getc(l);IHEAP[o+20]=p;p=__IO_getc(l)*256;IHEAP[o+20]=p+IHEAP[o+20];p=__IO_getc(l)*65536;IHEAP[o+20]=p+IHEAP[o+20];p=__IO_getc(l)*16777216;IHEAP[o+20]=p+IHEAP[o+20];p=__IO_getc(l);IHEAP[o+24]=p;p=__IO_getc(l)*256;IHEAP[o+24]=p+IHEAP[o+24];p=__IO_getc(l)*65536;IHEAP[o+24]=p+IHEAP[o+24];p=
+__IO_getc(l)*16777216;IHEAP[o+24]=p+IHEAP[o+24];p=__IO_getc(l);IHEAP[o+28]=p;p=__IO_getc(l)*256;IHEAP[o+28]=p+IHEAP[o+28];p=__IO_getc(l)*65536;IHEAP[o+28]=p+IHEAP[o+28];p=__IO_getc(l)*16777216;IHEAP[o+28]=p+IHEAP[o+28];p=__IO_getc(l);IHEAP[o+32]=p;p=__IO_getc(l)*256;IHEAP[o+32]=p+IHEAP[o+32];p=__IO_getc(l)*65536;IHEAP[o+32]=p+IHEAP[o+32];p=__IO_getc(l)*16777216;IHEAP[o+32]=p+IHEAP[o+32];p=__IO_getc(l);IHEAP[o+36]=p;p=__IO_getc(l)*256;IHEAP[o+36]=p+IHEAP[o+36];p=__IO_getc(l)*65536;IHEAP[o+36]=p+IHEAP[o+
+36];p=__IO_getc(l)*16777216;IHEAP[o+36]=p+IHEAP[o+36];var z=IHEAP[o+14]==24;b:do if(z){j=3;m=1;_llvm_memset_p0i8_i32(e,0,108,1,0);i=0;if(i<j){p=g;r=h;q=d;u=k;a=j;x=i;i=x+1;i=(a>i?a:i)-x;for(a=1;;){E=a==1?0:E;c=x+E;a=e+c*36+12;w=e+c*36+8;var A=e+c*36+4,B=e+c*36,D=e+c*36+32,J=e+c*36+28;IHEAP[e+c*36+24]=8;IHEAP[J]=8;IHEAP[D]=0;IHEAP[B]=p;IHEAP[A]=r;IHEAP[w]=q;IHEAP[a]=u;var E=E+1;if(E!=i)c=a=2;else{c=3;break}}}j=p=_opj_image_create(j,e,m);if(p!=0){IHEAP[j]=IHEAP[f+18180];IHEAP[j+4]=IHEAP[f+18184];if(IHEAP[j]!=
+0){var N=IHEAP[j]+1+(d-1)*g;a=8}else{var Q=(d-1)*g+1;a=6}IHEAP[j+8]=a==6?Q:N;if(IHEAP[j+4]!=0){var S=IHEAP[j+4]+1+(k-1)*h;a=11}else{var P=(k-1)*h+1;a=9}IHEAP[j+12]=a==9?P:S;_fseek(l,0,0);_fseek(l,IHEAP[n+12],0);x=IHEAP[o+4];w=IHEAP[o+8];if(x*3%4!=0){var G=4-x*3%4;a=12}else a=114;r=a==12?G:0;m=_malloc((x*3+r)*w);_fread(m,1,(x*3+r)*w,l);u=0;p=m;if(0<w){r=r;q=w;var F=m;q=(q>1?q:1)-0;m=w+-1-0;a=14;c:for(;;){K=a==14?0:K;c=a==14?p:F;a=m+K*-1;i=x;if(0<x){i=a*(r+i*3);w=i+1;A=i+2;for(a=16;;){L=a==16?0:L;a=
+L+1;B=L*3;D=c+(i+B);J=c+(w+B);IHEAP[IHEAP[IHEAP[j+24]+44]+4*u]=IHEAP[c+(A+B)];IHEAP[IHEAP[IHEAP[j+24]+48+44]+4*u]=IHEAP[J];IHEAP[IHEAP[IHEAP[j+24]+96+44]+4*u]=IHEAP[D];u+=1;var L=L+1;if(a<x)a=17;else break}}var K=K+1;if(K!=q){a=20;c=15}else{c=21;break c}}a=21}else a=115;_free(a==21?F:p)}else{_fclose(l);d=0;break a}}else{p=IHEAP[o+14]==8;c:do if(p){if(IHEAP[o+16]!=0){c=25;break c}p=_malloc(256);r=_malloc(256);q=_malloc(256);i=0;c=i<IHEAP[o+32];j=l;d:do if(c){z=q;m=r;x=u=p;w=r;A=p;B=q;D=r;J=q;var H=
+o+32;a=26;for(;;){M=__IO_getc(a==26?j:M)&255;IHEAP[z+i]=M;M=__IO_getc(l)&255;IHEAP[m+i]=M;M=__IO_getc(l)&255;IHEAP[u+i]=M;__IO_getc(l);M=IHEAP[x+i]!=IHEAP[w+i];f:do if(M){if(IHEAP[A+i]==IHEAP[B+i])break f;if(IHEAP[D+i]==IHEAP[J+i])break f;s=0}while(0);i+=1;var M=l;if(i<IHEAP[H])a=29;else{a=29;break d}}}else a=24;while(0);_fseek(a==24?j:M,0,0);_fseek(l,IHEAP[n+12],0);x=IHEAP[o+4];w=IHEAP[o+8];if(IHEAP[o+4]%2!=0)x+=1;j=s!=0?1:3;m=s!=0?2:1;_llvm_memset_p0i8_i32(e,0,108,1,0);i=0;if(i<j){c=g;z=h;u=d;A=
+k;a=j;i=i;B=i+1;B=(a>B?a:B)-i;for(a=34;;){T=a==34?0:T;a=i+T;D=e+a*36+12;J=e+a*36+8;H=e+a*36+4;var I=e+a*36,O=e+a*36+32,R=e+a*36+28;IHEAP[e+a*36+24]=8;IHEAP[R]=8;IHEAP[O]=0;IHEAP[I]=c;IHEAP[H]=z;IHEAP[J]=u;IHEAP[D]=A;var T=T+1;if(T!=B)a=35;else break}}j=c=_opj_image_create(j,e,m);if(c!=0){IHEAP[j]=IHEAP[f+18180];IHEAP[j+4]=IHEAP[f+18184];if(IHEAP[j]!=0){var V=IHEAP[j]+1+(d-1)*g;a=40}else{var ba=(d-1)*g+1;a=38}IHEAP[j+8]=a==38?ba:V;if(IHEAP[j+4]!=0){var fa=IHEAP[j+4]+1+(k-1)*h;a=43}else{var ca=(k-1)*
+h+1;a=41}IHEAP[j+12]=a==41?ca:fa;m=_malloc(w*x);_fread(m,1,w*x,l);d=s!=0;i=u=0;k=i<w*x;d:do if(d){if(!k)break d;z=o+4;a=w;A=m;B=p;D=w;J=o+4;for(;;){H=i%x<x-1;f:do if(H){c=IHEAP[z]%2!=0?48:49;break f}else c=49;while(0);f:do if(c==49){c=IHEAP[J]%2!=0?50:48;break f}while(0);if(c==48){IHEAP[IHEAP[IHEAP[j+24]+44]+4*u]=IHEAP[B+IHEAP[A+(0-(Math.floor(i/x)+1)*x+a*x+i%x)]];u+=1}i+=1;if(!(i<D*x))break d}}else{if(!k)break d;z=o+4;a=w;A=m;B=p;D=r;J=q;H=w;I=o+4;e:for(;;){O=i%x<x-1;f:do if(O){c=IHEAP[z]%2!=0?53:
+54;break f}else c=54;while(0);f:do if(c==54){c=IHEAP[I]%2!=0?55:53;break f}while(0);if(c==53){c=IHEAP[A+(0-(Math.floor(i/x)+1)*x+a*x+i%x)];IHEAP[IHEAP[IHEAP[j+24]+44]+4*u]=IHEAP[B+c];IHEAP[IHEAP[IHEAP[j+24]+48+44]+4*u]=IHEAP[D+c];IHEAP[IHEAP[IHEAP[j+24]+96+44]+4*u]=IHEAP[J+c];u+=1}i+=1;if(!(i<H*x))break e}}while(0);_free(m);_free(p);_free(r);_free(q);c=59;break b}else{_fclose(l);d=0;break a}}while(0);u=IHEAP[o+14]==8;c:do if(u){if(IHEAP[o+16]!=1){c=61;break c}p=_malloc(256);r=_malloc(256);q=_malloc(256);
+i=0;j=i<IHEAP[o+32];d:do if(j){a=q;m=r;w=x=p;A=r;B=p;D=q;J=r;H=q;I=o+32;for(;;){c=__IO_getc(l)&255;IHEAP[a+i]=c;c=__IO_getc(l)&255;IHEAP[m+i]=c;c=__IO_getc(l)&255;IHEAP[x+i]=c;__IO_getc(l);c=IHEAP[w+i]!=IHEAP[A+i];f:do if(c){if(IHEAP[B+i]==IHEAP[D+i])break f;if(IHEAP[J+i]==IHEAP[H+i])break f;s=0}while(0);i+=1;if(i<IHEAP[I])c=62;else{c=67;break d}}}while(0);j=s!=0?1:3;m=s!=0?2:1;_llvm_memset_p0i8_i32(e,0,108,1,0);i=0;if(i<j){x=g;w=h;A=d;B=k;a=j;i=i;D=i+1;D=(a>D?a:D)-i;for(a=68;;){U=a==68?0:U;c=i+U;
+a=e+c*36+12;J=e+c*36+8;H=e+c*36+4;I=e+c*36;O=e+c*36+32;R=e+c*36+28;IHEAP[e+c*36+24]=8;IHEAP[R]=8;IHEAP[O]=0;IHEAP[I]=x;IHEAP[H]=w;IHEAP[J]=A;IHEAP[a]=B;var U=U+1;if(U!=D)c=a=69;else{c=70;break}}}j=a=_opj_image_create(j,e,m);if(a!=0){IHEAP[j]=IHEAP[f+18180];IHEAP[j+4]=IHEAP[f+18184];if(IHEAP[j]!=0){var $=IHEAP[j]+1+(d-1)*g;a=74}else{var Y=(d-1)*g+1;a=72}IHEAP[j+8]=a==72?Y:$;if(IHEAP[j+4]!=0){var Z=IHEAP[j+4]+1+(k-1)*h;a=77}else{var W=(k-1)*h+1;a=75}IHEAP[j+12]=a==75?W:Z;_fseek(l,0,0);_fseek(l,IHEAP[n+
+12],0);m=_malloc(IHEAP[o+8]*IHEAP[o+4]);x=o+4;w=m;A=o+4;B=m;D=v;J=y;H=t;a=78;d:for(;;){i=a==78?H:a==91?aa:a==92?aa:a==87?aa:a==83?aa:aa;var X=a==78?J:a==91?ha:a==92?ha:a==87?0:a==83?X:ea;I=a==78?D:a==91?ka:a==92?ka:a==87?qa:a==83?ka:ka;a=79;e:for(;;){c=a==79?0:ia;var aa=a==79?i:0,ka=I+c;if(aa==0){c=82;break d}var ga=__IO_getc(l)&255;O=ga!=0;var ja=__IO_getc(l)&255;if(O){c=83;break e}O=ja;if(O==0){c=87;break e}else if(O!=1)if(O==2){c=106;break d}else{c=107;break e}var ia=c+1;a=88;c=80}if(c==83){i=
+0;if(!(i<ga)){a=83;c=79;continue d}I=ga;O=X+1;for(a=85;;){oa=a==85?0:oa;var ea=O+oa;IHEAP[w+(X+oa)+ka*IHEAP[x]]=ja;i+=1;var oa=oa+1;if(i<I)c=a=86;else{a=86;c=79;continue d}}}else if(c==107){i=0;ha=i<ja;e:do if(ha){c=ja;I=X+1;for(a=89;;){da=a==89?0:da;var pa=I+da;a=B+(X+da);O=__IO_getc(l)&255;IHEAP[a+ka*IHEAP[A]]=O;i+=1;var da=da+1;if(i<c)a=90;else{a=90;break e}}}else a=107;while(0);var ha=a==107?X:pa;if(ja%2==0){a=91;c=79;continue d}__IO_getc(l);a=92;c=79}else if(c==87){var qa=ka+1;a=87;c=79}}if(c==
+82){t=aa;y=X;d=s!=0;v=u=0;k=v<IHEAP[o+8];d:do if(d){if(!k)break d;y=o+4;z=o+8;x=o+4;i=m;w=p;A=o+4;B=o+8;c=v;v=-1-c;D=c+1;a=93;e:for(;;){J=a==93?0:ra;H=v+J*-1;var wa=D+J;if(0<IHEAP[y]){a=96;c=97}else{a=96;c=98}for(;;)if(c==97){ma=a==97?ma:0;var la=ma+1;IHEAP[IHEAP[IHEAP[j+24]+44]+4*u]=IHEAP[w+IHEAP[i+ma+IHEAP[x]*(H+IHEAP[z])]];u+=1;var ma=ma+1;if(la<IHEAP[A])c=a=97;else{a=97;c=98}}else if(c==98){var ua=a==96?0:la,ra=J+1;if(wa<IHEAP[B]){a=98;continue e}else break e}}y=ua;v=wa}else{if(!k)break d;y=o+
+4;z=o+8;x=o+4;i=m;w=p;A=r;B=q;D=o+4;J=o+8;c=v;v=-1-c;H=c+1;a=95;e:for(;;){I=a==95?0:Ba;O=v+I*-1;var ta=H+I;if(0<IHEAP[y]){a=101;c=102}else{a=101;c=103}for(;;)if(c==102){na=a==102?na:0;var va=na+1;c=IHEAP[i+na+IHEAP[x]*(O+IHEAP[z])]&255;IHEAP[IHEAP[IHEAP[j+24]+44]+4*u]=IHEAP[w+c];IHEAP[IHEAP[IHEAP[j+24]+48+44]+4*u]=IHEAP[A+c];IHEAP[IHEAP[IHEAP[j+24]+96+44]+4*u]=IHEAP[B+c];u+=1;var na=na+1;if(va<IHEAP[D])c=a=102;else{a=104;c=103}}else if(c==103){var ya=a==104?va:0,Ba=I+1;if(ta<IHEAP[J]){a=103;continue e}else break e}}y=
+ya;v=ta}while(0);_free(m);_free(p);_free(r);_free(q);c=59;break b}else if(c==106){_fwrite(__str963,19,1,IHEAP[_stderr]);_opj_image_destroy(j);_fclose(l);d=0;break a}}else{_fclose(l);d=0;break a}}while(0);_fprintf(IHEAP[_stderr],__str1064,IHEAP[o+14])}while(0);_fclose(l);d=j}}else{_fprintf(IHEAP[_stderr],__str357,b);d=0}while(0);g=d;STACKTOP=e;return g}_bmptoimage.__index__=Runtime.getFunctionIndex(_bmptoimage,"_bmptoimage");
+function _imagetobmp(b,f){var e,c=null,a,d,g,h,i,j;d=IHEAP[b+16]==3;a:do if(d){if(IHEAP[IHEAP[b+24]]!=IHEAP[IHEAP[b+24]+48]){e=1;break a}if(IHEAP[IHEAP[b+24]+48]!=IHEAP[IHEAP[b+24]+96]){e=1;break a}if(IHEAP[IHEAP[b+24]+4]!=IHEAP[IHEAP[b+24]+48+4]){e=1;break a}if(IHEAP[IHEAP[b+24]+48+4]!=IHEAP[IHEAP[b+24]+96+4]){e=1;break a}if(IHEAP[IHEAP[b+24]+24]!=IHEAP[IHEAP[b+24]+48+24]){e=1;break a}if(IHEAP[IHEAP[b+24]+48+24]!=IHEAP[IHEAP[b+24]+96+24]){e=1;break a}h=_fopen(f,__str559);if(h!=0){e=IHEAP[IHEAP[b+
+24]+8];d=IHEAP[IHEAP[b+24]+12];_fwrite(__str1165,2,1,h);_fprintf(h,__str1266,(d*(e%2)+d*e)*3+54&255&255,(d*(e%2)+d*e)*3+54>>8&255&255,(d*(e%2)+d*e)*3+54>>16&255&255,(d*(e%2)+d*e)*3+54>>24&255&255);_fprintf(h,__str1266,0,0,0,0);_fprintf(h,__str1266,54,0,0,0);_fprintf(h,__str1266,40,0,0,0);_fprintf(h,__str1266,e&255&255,e>>8&255&255,e>>16&255&255,e>>24&255&255);_fprintf(h,__str1266,d&255&255,d>>8&255&255,d>>16&255&255,d>>24&255&255);_fprintf(h,__str1367,1,0);_fprintf(h,__str1367,24,0);_fprintf(h,__str1266,
+0,0,0,0);_fprintf(h,__str1266,(d*(e%2)+d*e)*3&255&255,(d*(e%2)+d*e)*3>>8&255&255,(d*(e%2)+d*e)*3>>16&255&255,(d*(e%2)+d*e)*3>>24&255&255);_fprintf(h,__str1266,154,30,0,0);_fprintf(h,__str1266,154,30,0,0);_fprintf(h,__str1266,0,0,0,0);_fprintf(h,__str1266,0,0,0,0);if(IHEAP[IHEAP[b+24]+24]>8){i=IHEAP[IHEAP[b+24]+24]-8;_printf(__str1468,IHEAP[IHEAP[b+24]+24])}else i=0;if(IHEAP[IHEAP[b+24]+48+24]>8){j=IHEAP[IHEAP[b+24]+48+24]-8;_printf(__str1569,IHEAP[IHEAP[b+24]+48+24])}else j=0;if(IHEAP[IHEAP[b+24]+
+96+24]>8){c=IHEAP[IHEAP[b+24]+96+24]-8;_printf(__str1670,IHEAP[IHEAP[b+24]+96+24])}else c=0;g=0;if(g<d*e){var k=i;i=i-1;var m=j;j=j-1;var l=c,n=c-1;b:for(;;){var o=IHEAP[IHEAP[IHEAP[b+24]+44]+4*(0-((g/e|0)+1)*e+d*e+g%e)];if(IHEAP[IHEAP[b+24]+32]!=0){var p=1<<IHEAP[IHEAP[b+24]+24]-1;c=13}else c=12;c=o+(c==13?p:0);o=(c>>i)%2+(c>>k)&255;var r=IHEAP[IHEAP[IHEAP[b+24]+48+44]+4*(0-((g/e|0)+1)*e+d*e+g%e)];if(IHEAP[IHEAP[b+24]+48+32]!=0){var q=1<<IHEAP[IHEAP[b+24]+48+24]-1;c=15}else c=50;c=r+(c==15?q:0);
+r=(c>>j)%2+(c>>m)&255;var u=IHEAP[IHEAP[IHEAP[b+24]+96+44]+4*(0-((g/e|0)+1)*e+d*e+g%e)];if(IHEAP[IHEAP[b+24]+96+32]!=0){var s=1<<IHEAP[IHEAP[b+24]+96+24]-1;c=17}else c=51;c=u+(c==17?s:0);_fprintf(h,__str1771,(c>>n)%2+(c>>l)&255,r,o);o=(g+1)%e==0;c:do if(o){if(e*3%4==0)break c;r=4-e*3%4;if(r>0)c=20;else break c;for(;;){t=c==22?t:0;_fputc(0,h);var t=t+1;if(t!=r)c=22;else break c}}while(0);g+=1;if(!(g<d*e))break b}}_fclose(h);e=25}else{_fprintf(IHEAP[_stderr],__str660,f);a=1;e=7}break a}else e=1;while(0);
+a:do if(e==1){h=_fopen(f,__str559);e=IHEAP[IHEAP[b+24]+8];d=IHEAP[IHEAP[b+24]+12];_fwrite(__str1165,2,1,h);_fprintf(h,__str1266,e*d+1078+e%2*d&255&255,e*d+1078+e%2*d>>8&255&255,e*d+1078+e%2*d>>16&255&255,e*d+1078+e%2*e>>24&255&255);_fprintf(h,__str1266,0,0,0,0);_fprintf(h,__str1266,54,4,0,0);_fprintf(h,__str1266,40,0,0,0);_fprintf(h,__str1266,e&255&255,e>>8&255&255,e>>16&255&255,e>>24&255&255);_fprintf(h,__str1266,d&255&255,d>>8&255&255,d>>16&255&255,d>>24&255&255);_fprintf(h,__str1367,1,0);_fprintf(h,
+__str1367,8,0);_fprintf(h,__str1266,0,0,0,0);_fprintf(h,__str1266,e%2*d+e*d&255&255,e%2*d+e*d>>8&255&255,e%2*d+e*d>>16&255&255,e%2*d+e*d>>24&255&255);_fprintf(h,__str1266,154,30,0,0);_fprintf(h,__str1266,154,30,0,0);_fprintf(h,__str1266,0,1,0,0);_fprintf(h,__str1266,0,1,0,0);if(IHEAP[IHEAP[b+24]+24]>8){i=IHEAP[IHEAP[b+24]+24]-8;_printf(__str1468,IHEAP[IHEAP[b+24]+24])}else i=0;g=0;b:for(;;){_fprintf(h,__str1266,g,g,g,0);g=p=g+1;if(!(p<256))break b}g=0;if(g<d*e){p=i;q=i-1;b:for(;;){s=IHEAP[IHEAP[IHEAP[b+
+24]+44]+4*(0-((g/e|0)+1)*e+d*e+g%e)];if(IHEAP[IHEAP[b+24]+32]!=0){var v=1<<IHEAP[IHEAP[b+24]+24]-1;c=31}else c=30;s=s+(c==31?v:0);_fputc((s>>q)%2+(s>>p)&255,h);s=(g+1)%e==0;c:do if(s){if(e%4==0)break c;t=4-e%4;if(t>0)c=34;else break c;for(;;){y=c==36?y:0;_fputc(0,h);var y=y+1;if(y!=t)c=36;else break c}}while(0);g+=1;if(!(g<d*e))break b}}_fclose(h);e=25;break a}while(0);if(e==25)a=0;return a}_imagetobmp.__index__=Runtime.getFunctionIndex(_imagetobmp,"_imagetobmp");
+function _readuchar(b){var f=STACKTOP;STACKTOP+=1;_memset(f,0,1);_fread(f,1,1,b);b=IHEAP[f];STACKTOP=f;return b}_readuchar.__index__=Runtime.getFunctionIndex(_readuchar,"_readuchar");function _readushort(b,f){var e=STACKTOP;STACKTOP+=2;_memset(e,0,2);var c=e+1;_fread(e,1,1,b);_fread(c,1,1,b);c=f!=0?IHEAP[e]*256+IHEAP[c]&65535:IHEAP[c]*256+IHEAP[e]&65535;STACKTOP=e;return c}_readushort.__index__=Runtime.getFunctionIndex(_readushort,"_readushort");
+function _readuint(b,f){var e=STACKTOP;STACKTOP+=4;_memset(e,0,4);var c=e+1,a=e+2,d=e+3;_fread(e,1,1,b);_fread(c,1,1,b);_fread(a,1,1,b);_fread(d,1,1,b);c=f!=0?IHEAP[c]*65536+IHEAP[e]*16777216+IHEAP[d]+IHEAP[a]*256:IHEAP[a]*65536+IHEAP[d]*16777216+IHEAP[e]+IHEAP[c]*256;STACKTOP=e;return c}_readuint.__index__=Runtime.getFunctionIndex(_readuint,"_readuint");
+function _pgxtoimage(b,f){var e=STACKTOP;STACKTOP+=115;_memset(e,0,115);var c,a=null,d,g,h,i,j=e+1,k=e+5,m=e+9,l,n=e+13,o=e+49,p=e+50,r=e+51,q=e+83,u;_llvm_memset_p0i8_i32(n,0,36,1,0);l=0;i=_fopen(b,__str73);var s=i!=0;a:do if(s){_fseek(i,0,0);___01__isoc99_fscanf_(i,__str2074,q,o,p,r,m,q,j,q,k);a=0;h=43;if(IHEAP[r+a]!=0){c=a;d=c+1;for(a=1;;){t=a==1?0:t;g=r+(d+t);if(IHEAP[r+(c+t)]==45)h=45;var t=t+1;if(IHEAP[g]!=0)a=4;else break}}_fgetc(i);d=IHEAP[o]==77;b:do if(d){if(IHEAP[p]!=76){c=8;break b}u=
+1;c=9;break b}else c=8;while(0);b:do if(c==8){u=IHEAP[p]==77;c:do if(u){if(IHEAP[o]!=76)break c;u=0;break b}while(0);_fwrite(__str2175,40,1,IHEAP[_stderr]);h=0;break a}while(0);IHEAP[n+16]=IHEAP[f+18180];IHEAP[n+20]=IHEAP[f+18184];if(IHEAP[n+16]!=0){var v=IHEAP[n+16]+1+IHEAP[f+18188]*(IHEAP[j]-1);a=15}else{var y=IHEAP[f+18188]*(IHEAP[j]-1)+1;a=13}IHEAP[n+8]=a==13?y:v;if(IHEAP[n+20]!=0){var x=IHEAP[n+20]+1+IHEAP[f+18192]*(IHEAP[k]-1);a=18}else{var w=IHEAP[f+18192]*(IHEAP[k]-1)+1;a=16}IHEAP[n+12]=a==
+16?w:x;IHEAP[n+32]=h==45?1:0;IHEAP[n+24]=IHEAP[m];IHEAP[n+28]=IHEAP[m];IHEAP[n]=IHEAP[f+18188];IHEAP[n+4]=IHEAP[f+18192];h=c=_opj_image_create(1,n,2);if(c!=0){IHEAP[h]=IHEAP[n+16];IHEAP[h+4]=IHEAP[n+16];IHEAP[h+8]=IHEAP[n+8];IHEAP[h+12]=IHEAP[n+12];c=IHEAP[h+24];a=0;if(a<IHEAP[k]*IHEAP[j]){d=c+24;var C=c;g=C+32;var z=i,A=c+44;C=C+24;var B=c+32,D=i,J=u,E=a;l=l;var N=E+1;for(a=20;;){I=a==20?0:I;M=a==20?l:M;var Q=N+I,S=E+I;if(IHEAP[d]<=8){a=IHEAP[g]!=0;_fread(e,1,1,z);var P=IHEAP[e];if(a){var G=P;a=
+24}else{var F=P;a=22}}else{a=IHEAP[B]!=0;if(IHEAP[C]<=16){P=_readushort(D,J);if(a){var L=P;a=26}else{var K=P;a=25}}else{var H=_readuint(D,J);a=27}}a=a==26?L:a==25?K:a==27?H:a==22?F:G;var M=a>M?a:M;IHEAP[IHEAP[A]+4*S]=a;var I=I+1;if(Q<IHEAP[k]*IHEAP[j])a=28;else break}l=M}_fclose(i);d=z=l;g=0;if(z>1){d=d;g=g+1;for(a=31;;){T=a==31?0:T;var O=g+T,R=(a==31?d:R)>>1,T=T+1;if(R>1)a=32;else break}g=O}IHEAP[c+28]=g+1;h=h}else{_fclose(i);h=0}}else{_fprintf(IHEAP[_stderr],__str1973,b);h=0}while(0);i=h;STACKTOP=
+e;return i}_pgxtoimage.__index__=Runtime.getFunctionIndex(_pgxtoimage,"_pgxtoimage");
+function _imagetopgx(b,f){var e=STACKTOP;STACKTOP+=256;_memset(e,0,256);var c,a=null,d,g=b+16,h=b+24,i=b+16,j=b+24,k=b+24,m=b+24;a=0;a:for(;;){c=a==25?C:0;C=0+c;if(!(C<IHEAP[g])){c=3;break a}var l=IHEAP[h],n=_strlen(f)-4,o=n+6;if(IHEAP[f+n]!=46){c=4;break a}if(o>256){var p=_malloc(o+1);a=7}else a=5;var r=a==7?p:e;_strncpy(r,f,n);a=r+n;IHEAP[i]>1?_sprintf(a,__str2377,C):_llvm_memcpy_p0i8_p0i8_i32(a,__str2478,5,1,0);n=_fopen(r,__str559);if(n==0){c=11;break a}o>256&&_free(r);o=IHEAP[IHEAP[j]+48*C+8];
+var q=IHEAP[IHEAP[k]+48*C+12];_fprintf(n,__str2579,IHEAP[l+48*C+32]!=0?45:43,IHEAP[l+48*C+24],o,q);var u=IHEAP[l+48*C+24]<=8;b:do if(u)a=26;else{if(IHEAP[l+48*C+24]<=16){a=13;break b}a=15}while(0);l=a==15?4:a==26?1:2;if(0<q*o){u=l-1>=0;b:do if(u){var s=l*8+-8,t=q*o;a=17;for(;;){x=a==17?0:x;var v=IHEAP[IHEAP[IHEAP[m]+48*C+44]+4*x];for(a=18;;){y=a==18?0:y;_fputc(v>>s+y*-8&255,n);var y=y+1;if(y!=l)a=19;else break}var x=x+1;if(x!=t)a=20;else break b}}else{s=q*o;for(a=22;;){var w=(a==22?0:w)+1;if(w!=s)a=
+23;else break b}}while(0)}_fclose(n);var C=c+1;a=25;c=1}if(c==3)d=0;else if(c==4){_fwrite(__str2276,27,1,IHEAP[_stderr]);d=1}else if(c==11){d=r;_fprintf(IHEAP[_stderr],__str660,d);d=1}d=d;STACKTOP=e;return d}_imagetopgx.__index__=Runtime.getFunctionIndex(_imagetopgx,"_imagetopgx");
+function _pnmtoimage(b,f){var e=STACKTOP;STACKTOP+=121;_memset(e,0,121);var c,a=null,d,g,h,i,j,k,m=e+4,l,n=e+8,o,p=e+116,r=e+120;g=IHEAP[f+18188];h=IHEAP[f+18192];i=_fopen(b,__str73);var q=i!=0;a:do if(q)if(_fgetc(i)!=80)d=0;else{j=d=_fgetc(i)&255;c=j==50?27:j==53?27:j==51?28:j==54?28:29;if(c==29){_fclose(i);d=0;break a}else if(c==27){k=1;l=2}else if(c==28){k=3;l=1}_fgetc(i);j=_fgetc(i)==35;b:do if(j)for(o=a=i;;)if(_fgetc(a)==10)if(_fgetc(o)!=35)break b;while(0);_fseek(i,-1,1);___01__isoc99_fscanf_(i,
+__str2680,e,m);_fgetc(i);_llvm_memset_p0i8_i32(n,0,108,1,0);j=0;if(j<k){o=g;c=h;var u=IHEAP[e],s=IHEAP[m];a=k;j=j;var t=j+1;t=(a>t?a:t)-j;for(a=6;;){A=a==6?0:A;a=j+A;var v=n+a*36+12,y=n+a*36+8,x=n+a*36+4,w=n+a*36,C=n+a*36+32,z=n+a*36+28;IHEAP[n+a*36+24]=8;IHEAP[z]=8;IHEAP[C]=0;IHEAP[w]=o;IHEAP[x]=c;IHEAP[y]=u;IHEAP[v]=s;var A=A+1;if(A!=t)a=7;else break}}o=j=_opj_image_create(k,n,l);if(j!=0){IHEAP[o]=IHEAP[f+18180];IHEAP[o+4]=IHEAP[f+18184];IHEAP[o+8]=IHEAP[f+18180]+1+(IHEAP[e]-1)*g;IHEAP[o+12]=IHEAP[f+
+18184]+1+(IHEAP[m]-1)*h;j=d==50;b:do if(j)c=10;else{if(d==51){c=10;break b}if(d!=53)if(d!=54){c=13;break b}j=0;if(!(j<IHEAP[m]*IHEAP[e])){c=13;break b}d=i;c=o+24;u=k;s=0<k;c:do if(s){t=u>1?u:1;for(a=22;;){B=a==23?B:a==22?0:0;IHEAP[r]=0;_fread(r,1,1,d);IHEAP[IHEAP[IHEAP[c]+48*B+44]+4*j]=IHEAP[r];var B=B+1;if(B!=t)a=23;else{j+=1;if(j<IHEAP[m]*IHEAP[e])a=24;else break c}}}else for(;;){j+=1;if(!(j<IHEAP[m]*IHEAP[e]))break c}while(0);c=13;break b}while(0);b:do if(c==10){j=0;if(!(j<IHEAP[m]*IHEAP[e]))break b;
+d=i;u=o+24;s=k;t=0<k;c:do if(t){v=s>1?s:1;for(a=14;;){D=a==15?D:a==14?0:0;IHEAP[p]=0;___01__isoc99_fscanf_(d,__str2781,p);IHEAP[IHEAP[IHEAP[u]+48*D+44]+4*j]=IHEAP[p];var D=D+1;if(D!=v)c=a=15;else{j+=1;if(j<IHEAP[m]*IHEAP[e]){a=16;c=15}else{c=17;break c}}}}else for(;;){j+=1;if(j<IHEAP[m]*IHEAP[e])c=18;else{c=17;break c}}while(0)}while(0);_fclose(i);d=o}else{_fclose(i);d=0}}else{_fprintf(IHEAP[_stderr],__str357,b);d=0}while(0);g=d;STACKTOP=e;return g}
+_pnmtoimage.__index__=Runtime.getFunctionIndex(_pnmtoimage,"_pnmtoimage");
+function _imagetopnm(b,f){var e=STACKTOP;STACKTOP+=256;_memset(e,0,256);var c,a=null,d,g,h,i,j,k,m,l,n;m=a=f;if(IHEAP[a]!=0){a=0;c=1}else{a=0;c=2}a:for(;;)if(c==1){a=a==1?j:0;i=m+(a+1);j=a+1;if(IHEAP[i]!=0){c=a=1;continue a}a=3;c=2}else if(c==2){a=(a==3?i:m)+-1;a+=-1;l=IHEAP[a];c=IHEAP[b+16]==3?4:5;break a}a:do if(c==4){if(IHEAP[IHEAP[b+24]]!=IHEAP[IHEAP[b+24]+48]){c=5;break a}if(IHEAP[IHEAP[b+24]+48]!=IHEAP[IHEAP[b+24]+96]){c=5;break a}if(IHEAP[IHEAP[b+24]+4]!=IHEAP[IHEAP[b+24]+48+4]){c=5;break a}if(IHEAP[IHEAP[b+
+24]+48+4]!=IHEAP[IHEAP[b+24]+96+4]){c=5;break a}if(IHEAP[IHEAP[b+24]+24]!=IHEAP[IHEAP[b+24]+48+24]){c=5;break a}if(IHEAP[IHEAP[b+24]+48+24]!=IHEAP[IHEAP[b+24]+96+24]){c=5;break a}if(l==103){c=5;break a}if(l==71){c=5;break a}m=_fopen(f,__str559);if(m!=0){i=IHEAP[IHEAP[b+24]+8];j=IHEAP[IHEAP[b+24]+12];if(IHEAP[IHEAP[b+24]+24]>8)a=58;else{g=(1<<IHEAP[IHEAP[b+24]+24])-1;a=15}a=a==15?g:255;g=IHEAP[IHEAP[b+24]+16];var o=IHEAP[IHEAP[b+24]];c=IHEAP[b];d=o;o=IHEAP[IHEAP[b+24]+40];c=g-((c+-1+d)/d|0);g=o;IHEAP[IHEAP[b+
+24]+16]=c+-1+(1<<g)>>g;g=IHEAP[IHEAP[b+24]+20];o=IHEAP[IHEAP[b+24]+4];c=IHEAP[b+4];d=o;o=IHEAP[IHEAP[b+24]+40];c=g-((c+-1+d)/d|0);g=o;IHEAP[IHEAP[b+24]+20]=c+-1+(1<<g)>>g;_fprintf(m,__str2882,i,j,a);if(IHEAP[IHEAP[b+24]+24]>8){g=IHEAP[IHEAP[b+24]+24]-8;_printf(__str2983,IHEAP[IHEAP[b+24]+24])}else g=0;if(IHEAP[IHEAP[b+24]+48+24]>8){d=IHEAP[IHEAP[b+24]+48+24]-8;_printf(__str3084,IHEAP[IHEAP[b+24]+48+24])}else d=0;if(IHEAP[IHEAP[b+24]+96+24]>8){a=IHEAP[IHEAP[b+24]+96+24]-8;_printf(__str3185,IHEAP[IHEAP[b+
+24]+96+24])}else a=0;if(0<j*i){c=g;g=g-1;o=d;d=d-1;var p=a,r=a-1,q=m;a=j*i;i=(a>1?a:1)-0;for(a=20;;){v=a==20?0:v;j=0+v;var u=IHEAP[IHEAP[IHEAP[b+24]+44]+4*j];if(IHEAP[IHEAP[b+24]+32]!=0){k=1<<IHEAP[IHEAP[b+24]+24]-1;a=22}else a=21;a=u+(a==22?k:0);u=(a>>g)%2+(a>>c)&255;var s=IHEAP[IHEAP[IHEAP[b+24]+48+44]+4*j];if(IHEAP[IHEAP[b+24]+48+32]!=0){n=1<<IHEAP[IHEAP[b+24]+48+24]-1;a=24}else a=66;a=s+(a==24?n:0);s=(a>>d)%2+(a>>o)&255;j=IHEAP[IHEAP[IHEAP[b+24]+96+44]+4*j];if(IHEAP[IHEAP[b+24]+96+32]!=0){var t=
+1<<IHEAP[IHEAP[b+24]+96+24]-1;a=26}else a=67;a=j+(a==26?t:0);_fprintf(q,__str1771,u,s,(a>>r)%2+(a>>p)&255);var v=v+1;if(v!=i)a=28;else break}}_fclose(m);c=31}else{_fprintf(IHEAP[_stderr],__str660,f);h=1;c=14}break a}while(0);a:do if(c==5){k=l==103;b:do if(k)a=5;else{if(l==71){a=32;c=33;break b}var y=IHEAP[b+16];a=34}while(0);k=n=a==34?y:a==32?1:1;if(IHEAP[b+16]>k){_fwrite(__str3286,48,1,IHEAP[_stderr]);_fwrite(__str3387,34,1,IHEAP[_stderr]);var x=n;a=36}else a=33;n=a==36?x:k;k=0;t=n>1;m=e;v=f;i=e;
+j=f;b:for(;;){if(!(k<n)){c=41;break b}if(t)_sprintf(m,__str34123,k,v);else{a=_strlen(j)+1;_llvm_memcpy_p0i8_p0i8_i32(m,j,a,1,0)}c=_fopen(i,__str559);if(c==0){c=44;break b}g=IHEAP[IHEAP[b+24]+48*k+8];o=IHEAP[IHEAP[b+24]+48*k+12];if(IHEAP[IHEAP[b+24]+48*k+24]>8)a=43;else{var w=(1<<IHEAP[IHEAP[b+24]+48*k+24])-1;a=45}a=a==45?w:255;d=IHEAP[IHEAP[b+24]+48*k];p=IHEAP[IHEAP[b+24]+48*k+40];IHEAP[IHEAP[b+24]+48*k+16]=IHEAP[IHEAP[b+24]+48*k+16]-((IHEAP[b]+-1+d)/d|0)+-1+(1<<p)>>p;d=IHEAP[IHEAP[b+24]+48*k+4];
+p=IHEAP[IHEAP[b+24]+48*k+40];IHEAP[IHEAP[b+24]+48*k+20]=IHEAP[IHEAP[b+24]+48*k+20]-((IHEAP[b+4]+-1+d)/d|0)+-1+(1<<p)>>p;_fprintf(c,__str36125,g,o,a);if(IHEAP[IHEAP[b+24]+48*k+24]>8){var C=IHEAP[IHEAP[b+24]+24]-8;_printf(__str3788,k,IHEAP[IHEAP[b+24]+48*k+24]);a=47}else a=72;d=a==47?C:0;if(0<o*g){p=d-1;g=o*g;for(a=49;;){A=a==49?0:A;o=IHEAP[IHEAP[IHEAP[b+24]+48*k+44]+4*A];if(IHEAP[IHEAP[b+24]+48*k+32]!=0){var z=1<<IHEAP[IHEAP[b+24]+48*k+24]-1;a=51}else a=50;a=o+(a==51?z:0);_fputc((a>>p)%2+(a>>d)&255,
+c);var A=A+1;if(A!=g)a=53;else break}}_fclose(c);k+=1;c=39}if(c==41){c=31;break a}else if(c==44){_fprintf(IHEAP[_stderr],__str660,e);h=1;c=14;break a}}while(0);if(c==31)h=0;h=h;STACKTOP=e;return h}_imagetopnm.__index__=Runtime.getFunctionIndex(_imagetopnm,"_imagetopnm");
+function _imagetotif(b,f){var e,c=null,a,d,g,h,i,j,k,m,l,n;i=0;var o=IHEAP[b+16]==3;a:do if(o){if(IHEAP[IHEAP[b+24]]!=IHEAP[IHEAP[b+24]+48]){e=1;break a}if(IHEAP[IHEAP[b+24]+48]!=IHEAP[IHEAP[b+24]+96]){e=1;break a}if(IHEAP[IHEAP[b+24]+4]!=IHEAP[IHEAP[b+24]+48+4]){e=1;break a}if(IHEAP[IHEAP[b+24]+48+4]!=IHEAP[IHEAP[b+24]+96+4]){e=1;break a}if(IHEAP[IHEAP[b+24]+24]!=IHEAP[IHEAP[b+24]+48+24]){e=1;break a}if(IHEAP[IHEAP[b+24]+48+24]!=IHEAP[IHEAP[b+24]+96+24]){e=1;break a}j=_TIFFOpen(f,__str559);if(j!=
+0){d=IHEAP[IHEAP[b+24]+8];c=IHEAP[IHEAP[b+24]+12];g=c*d;h=IHEAP[IHEAP[b+24]+24];_TIFFSetField(j,256,d);_TIFFSetField(j,257,c);_TIFFSetField(j,277,3);_TIFFSetField(j,258,h);_TIFFSetField(j,274,1);_TIFFSetField(j,284,1);_TIFFSetField(j,262,2);_TIFFSetField(j,278,1);k=_TIFFStripSize(j);h=__TIFFmalloc(k);d=0;if(IHEAP[IHEAP[b+24]+32]!=0){var p=1<<IHEAP[IHEAP[b+24]+24]-1;c=8}else c=104;i=c==8?p:0;c=0;var r=h,q=g,u=g,s=h;k=k;var t=g,v=g,y=g,x=g,w=g;g=g;var C=c;c=10;b:for(;;){e=c==23?qa:0;var z=c==23?ha:
+0,A=C+e;c=_TIFFNumberOfStrips(j);if(!(A<c)){e=13;break b}n=_TIFFStripSize(j);m=r;var B=IHEAP[IHEAP[b+24]+24]==8;c:do if(B){l=0;c=14;d:for(;;){var D=c==21?P:z;if(!(l<n-2))break d;if(!(d<q))break d;P=IHEAP[IHEAP[IHEAP[b+24]+44]+4*d];var J=IHEAP[IHEAP[IHEAP[b+24]+48+44]+4*d],E=IHEAP[IHEAP[IHEAP[b+24]+96+44]+4*d];if(IHEAP[IHEAP[b+24]+32]!=0){var N=P+i,Q=J+i,S=E+i;c=19}else c=18;E=c==19?S:E;J=c==19?Q:J;IHEAP[m+l]=(c==19?N:P)&255;IHEAP[m+(l+1)]=J&255;IHEAP[m+(l+2)]=E&255;d+=1;var P=l+3;l+=3;c=21}if(!(D<
+n)){c=17;break c}l=D;for(c=22;;){if(!(l<n)){c=24;break c}if(!(d<u)){c=25;break c}J=IHEAP[IHEAP[IHEAP[b+24]+44]+4*d];var G=IHEAP[IHEAP[IHEAP[b+24]+48+44]+4*d];E=IHEAP[IHEAP[IHEAP[b+24]+96+44]+4*d];if(IHEAP[IHEAP[b+24]+32]!=0){var F=J+i,L=G+i,K=E+i;c=27}else c=26;G=c==27?L:G;E=c==27?K:E;IHEAP[m+l]=(c==27?F:J)&255;if(!(l+1<n)){c=29;break c}IHEAP[m+(l+1)]=G&255;if(!(l+2<n)){c=30;break c}IHEAP[m+(l+2)]=E&255;d+=1;l+=3;c=31}}else if(IHEAP[IHEAP[b+24]+24]==12){l=0;c=32;d:for(;;){var H=c==39?ca:z;if(!(l<
+n-8))break d;if((d+1<v&d<t)==0)break d;ca=IHEAP[IHEAP[IHEAP[b+24]+44]+4*d];E=IHEAP[IHEAP[IHEAP[b+24]+48+44]+4*d];var M=IHEAP[IHEAP[IHEAP[b+24]+96+44]+4*d],I=IHEAP[IHEAP[IHEAP[b+24]+44]+4*(d+1)];G=IHEAP[IHEAP[IHEAP[b+24]+48+44]+4*(d+1)];J=IHEAP[IHEAP[IHEAP[b+24]+96+44]+4*(d+1)];if(IHEAP[IHEAP[b+24]+32]!=0){var O=ca+i,R=E+i,T=M+i,V=I+i,ba=G+i,fa=J+i;c=37}else c=36;J=c==37?fa:J;G=c==37?ba:G;I=c==37?V:I;M=c==37?T:M;E=c==37?R:E;c=c==37?O:ca;IHEAP[m+l]=c>>4&255;IHEAP[m+(l+1)]=(E>>8&15|(c&15)<<4)&255;IHEAP[m+
+(l+2)]=E&255;IHEAP[m+(l+3)]=M>>4&255;IHEAP[m+(l+4)]=(I>>8&15|(M&15)<<4)&255;IHEAP[m+(l+5)]=I&255;IHEAP[m+(l+6)]=G>>4&255;IHEAP[m+(l+7)]=(J>>8&15|(G&15)<<4)&255;IHEAP[m+(l+8)]=J&255;d+=2;var ca=l+9;l+=9;c=39}if(!(H<n)){c=35;break c}l=H;for(c=40;;){if(!(l<n)){c=41;break c}if((d+1<x&d<y)==0){c=42;break c}E=IHEAP[IHEAP[IHEAP[b+24]+44]+4*d];M=IHEAP[IHEAP[IHEAP[b+24]+48+44]+4*d];var U=IHEAP[IHEAP[IHEAP[b+24]+96+44]+4*d];I=IHEAP[IHEAP[IHEAP[b+24]+44]+4*(d+1)];G=IHEAP[IHEAP[IHEAP[b+24]+48+44]+4*(d+1)];J=
+IHEAP[IHEAP[IHEAP[b+24]+96+44]+4*(d+1)];if(IHEAP[IHEAP[b+24]+32]!=0){var $=E+i,Y=M+i,Z=U+i,W=I+i,X=G+i,aa=J+i;c=44}else c=43;E=c==44?$:E;M=c==44?Y:M;U=c==44?Z:U;I=c==44?W:I;G=c==44?X:G;c=c==44?aa:J;IHEAP[m+l]=E>>4&255;if(!(l+1<n)){c=46;break c}IHEAP[m+(l+1)]=(M>>8&15|(E&15)<<4)&255;if(!(l+2<n)){c=47;break c}IHEAP[m+(l+2)]=M&255;if(!(l+3<n)){c=48;break c}IHEAP[m+(l+3)]=U>>4&255;if(!(l+4<n)){c=49;break c}IHEAP[m+(l+4)]=(I>>8&15|(U&15)<<4)&255;if(!(l+5<n)){c=50;break c}IHEAP[m+(l+5)]=I&255;if(!(l+6<
+n)){c=51;break c}IHEAP[m+(l+6)]=G>>4&255;if(!(l+7<n)){c=52;break c}IHEAP[m+(l+7)]=(c>>8&15|(G&15)<<4)&255;if(!(l+8<n)){c=53;break c}IHEAP[m+(l+8)]=c&255;d+=2;l+=9;c=54}}else{if(IHEAP[IHEAP[b+24]+24]!=16){e=56;break b}l=0;c=55;d:for(;;){var ka=c==63?ea:z;if(!(l<n-5))break d;if(!(d<w))break d;ea=IHEAP[IHEAP[IHEAP[b+24]+44]+4*d];E=IHEAP[IHEAP[IHEAP[b+24]+48+44]+4*d];J=IHEAP[IHEAP[IHEAP[b+24]+96+44]+4*d];if(IHEAP[IHEAP[b+24]+32]!=0){var ga=ea+i,ja=E+i,ia=J+i;c=61}else c=60;J=c==61?ia:J;E=c==61?ja:E;c=
+c==61?ga:ea;IHEAP[m+l]=c&255;IHEAP[m+(l+1)]=c>>8&255;IHEAP[m+(l+2)]=E&255;IHEAP[m+(l+3)]=E>>8&255;IHEAP[m+(l+4)]=J&255;IHEAP[m+(l+5)]=J>>8&255;d+=1;var ea=l+6;l+=6;c=63}if(!(ka<n)){c=59;break c}l=0;for(c=64;;){if(!(l<n)){c=65;break c}if(!(d<g)){c=66;break c}E=IHEAP[IHEAP[IHEAP[b+24]+44]+4*d];G=IHEAP[IHEAP[IHEAP[b+24]+48+44]+4*d];J=IHEAP[IHEAP[IHEAP[b+24]+96+44]+4*d];if(IHEAP[IHEAP[b+24]+32]!=0){var oa=E+i,pa=G+i,da=J+i;c=68}else c=67;E=c==68?oa:E;G=c==68?pa:G;c=c==68?da:J;IHEAP[m+l]=E&255;if(!(l+
+1<n)){c=70;break c}IHEAP[m+(l+1)]=E>>8&255;if(!(l+2<n)){c=71;break c}IHEAP[m+(l+2)]=G&255;if(!(l+3<n)){c=72;break c}IHEAP[m+(l+3)]=G>>8&255;if(!(l+4<n)){c=73;break c}IHEAP[m+(l+4)]=c&255;if(!(l+5<n)){c=74;break c}IHEAP[m+(l+5)]=c>>8&255;d+=1;l+=6;c=75}}while(0);var ha=c==35?H:c==59?ka:c==17?D:c==42?H:c==53?H:c==52?H:c==51?H:c==50?H:c==49?H:c==48?H:c==47?H:c==46?H:c==41?H:c==65?ka:c==70?ka:c==71?ka:c==72?ka:c==73?ka:c==74?ka:c==66?ka:c==24?D:c==29?D:c==30?D:D;_TIFFWriteEncodedStrip(j,A,s,k);var qa=
+e+1;c=23;e=11}if(e==13){__TIFFfree(h);_TIFFClose(j);e=76;break a}else if(e==56){_fprintf(IHEAP[_stderr],__str38126,IHEAP[IHEAP[b+24]+24]);_fwrite(__str39127,9,1,IHEAP[_stderr]);a=1;e=7;break a}}else{_fprintf(IHEAP[_stderr],__str660,f);a=1;e=7;break a}}else e=1;while(0);a:do if(e==1)if(IHEAP[b+16]==1){j=_TIFFOpen(f,__str559);if(j!=0){d=IHEAP[IHEAP[b+24]+8];c=IHEAP[IHEAP[b+24]+12];g=c*d;h=IHEAP[IHEAP[b+24]+24];_TIFFSetField(j,256,d);_TIFFSetField(j,257,c);_TIFFSetField(j,277,1);_TIFFSetField(j,258,
+h);_TIFFSetField(j,274,1);_TIFFSetField(j,284,1);_TIFFSetField(j,262,1);_TIFFSetField(j,278,1);k=_TIFFStripSize(j);h=__TIFFmalloc(k);c=d=0;o=h;p=g;D=h;N=k;S=Q=g;F=c;c=77;b:for(;;){L=c==83?na:0;K=F+L;c=_TIFFNumberOfStrips(j);if(!(K<c)){e=80;break b}H=IHEAP[IHEAP[b+24]+24]==8;c:do if(H)for(c=79;;){O=c==87?la:0;R=o+O;c=_TIFFStripSize(j);if(!(O<c))break c;if(!(d<p))break c;la=IHEAP[IHEAP[IHEAP[b+24]+44]+4*d];if(IHEAP[IHEAP[b+24]+32]!=0){var wa=la+i;c=85}else c=84;IHEAP[R]=(c==85?wa:la)&255;d+=1;var la=
+O+1;c=87}else if(IHEAP[IHEAP[b+24]+24]==12)for(c=109;;){O=c==93?ra:0;c=O*3;R=o+(c+2);T=o+(c+1);V=o+c;ba=_TIFFStripSize(j);if(!(c<ba))break c;if(!(d<Q))break c;ra=IHEAP[IHEAP[IHEAP[b+24]+44]+4*d];ba=IHEAP[IHEAP[IHEAP[b+24]+44]+4*(d+1)];if(IHEAP[IHEAP[b+24]+32]!=0){var ma=ra+i,ua=ba+i;c=91}else c=90;ba=c==91?ua:ba;ra=c==91?ma:ra;IHEAP[V]=ra>>4&255;IHEAP[T]=(ba>>8&15|(ra&15)<<4)&255;IHEAP[R]=ba&255;d+=2;var ra=O+1;c=93}else{if(IHEAP[IHEAP[b+24]+24]==16)c=94;else{e=96;break b}for(;;){O=c==101?va:0;c=
+O*2;R=o+(c+1);T=o+c;V=_TIFFStripSize(j);if(!(c<V))break c;if(!(d<S))break c;va=IHEAP[IHEAP[IHEAP[b+24]+44]+4*d];if(IHEAP[IHEAP[b+24]+32]!=0){var ta=va+i;c=99}else c=98;va=c==99?ta:va;IHEAP[T]=va&255;IHEAP[R]=va>>8&255;d+=1;var va=O+1;c=101}}while(0);_TIFFWriteEncodedStrip(j,K,D,N);var na=L+1;c=83;e=78}if(e==80){__TIFFfree(o);_TIFFClose(j);e=76;break a}else if(e==96){_fprintf(IHEAP[_stderr],__str40128,IHEAP[IHEAP[b+24]+24]);_fwrite(__str39127,9,1,IHEAP[_stderr]);a=1;e=7;break a}}else{_fprintf(IHEAP[_stderr],
+__str660,f);a=1;e=7;break a}}else{_fwrite(__str4189,80,1,IHEAP[_stderr]);_fwrite(__str39127,9,1,IHEAP[_stderr]);a=1;e=7;break a}while(0);if(e==76)a=0;return a}_imagetotif.__index__=Runtime.getFunctionIndex(_imagetotif,"_imagetotif");
+function _tiftoimage(b,f){var e=STACKTOP;STACKTOP+=128;_memset(e,0,128);var c,a=null,d,g,h,i,j,k,m,l,n=e+20,o,p;g=IHEAP[f+18188];h=IHEAP[f+18192];i=_TIFFOpen(b,__str42129);var r=i!=0;a:do if(r){_TIFFGetField(i,256,e);_TIFFGetField(i,257,e+4);_TIFFGetField(i,258,e+12);_TIFFGetField(i,339,e+14);_TIFFGetField(i,277,e+16);IHEAP[e+8]=0;_TIFFGetField(i,262,e+8);_TIFFGetField(i,284,e+18);j=IHEAP[e];m=IHEAP[e+4];if(IHEAP[e+8]==2){d=3;l=1;_llvm_memset_p0i8_i32(n,0,108,1,0);if(0<d){k=f+18676;var q=g,u=h,s=
+j,t=m;a=d;var v=e+12,y=e+12,x=(a>1?a:1)-0;for(a=1;;){A=a==1?0:A;p=0+A;c=n+p*36+24;a=n+p*36+28;var w=n+p*36+12;o=n+p*36+8;var C=n+p*36+4,z=n+p*36;p=n+p*36+32;if(IHEAP[k]!=0){IHEAP[c]=12;IHEAP[a]=12}else{IHEAP[c]=IHEAP[v];IHEAP[a]=IHEAP[y]}IHEAP[p]=0;IHEAP[z]=q;IHEAP[C]=u;IHEAP[o]=s;IHEAP[w]=t;var A=A+1;if(A!=x){a=4;c=2}else{c=5;break}}}d=a=_opj_image_create(d,n,l);if(a!=0){IHEAP[d]=IHEAP[f+18180];IHEAP[d+4]=IHEAP[f+18184];if(IHEAP[d]!=0){var B=IHEAP[d]+1+(j-1)*g;a=10}else{var D=(j-1)*g+1;a=8}IHEAP[d+
+8]=a==8?D:B;if(IHEAP[d+4]!=0){var J=IHEAP[d+4]+1+(m-1)*h;a=13}else{var E=(m-1)*h+1;a=11}IHEAP[d+12]=a==11?E:J;j=_TIFFStripSize(i);j=__TIFFmalloc(j);k=_TIFFStripSize(i);m=0;o=IHEAP[IHEAP[d+24]+12]*IHEAP[IHEAP[d+24]+8];a=0;l=j;k=k;q=j;u=e+12;t=s=o;v=e+12;y=o;x=f+18676;w=e+12;o=o;C=f+18676;z=a;a=14;b:for(;;){c=a==20?S:0;a=z+c;p=_TIFFNumberOfStrips(i);if(!(a<p)){c=17;break b}var N=_TIFFReadEncodedStrip(i,a,l,k);a=q;var Q=IHEAP[u]==12;c:do if(Q)for(p=0;;){if(!(p<N))break c;if((m+1<t&m<s)==0)break c;IHEAP[IHEAP[IHEAP[d+
+24]+44]+4*m]=IHEAP[a+(p+1)]>>4|IHEAP[a+p]<<4;IHEAP[IHEAP[IHEAP[d+24]+48+44]+4*m]=IHEAP[a+(p+2)]|(IHEAP[a+(p+1)]&15)<<8;IHEAP[IHEAP[IHEAP[d+24]+96+44]+4*m]=IHEAP[a+(p+4)]>>4|IHEAP[a+(p+3)]<<4;IHEAP[IHEAP[IHEAP[d+24]+44]+4*(m+1)]=IHEAP[a+(p+5)]|(IHEAP[a+(p+4)]&15)<<8;IHEAP[IHEAP[IHEAP[d+24]+48+44]+4*(m+1)]=IHEAP[a+(p+7)]>>4|IHEAP[a+(p+6)]<<4;IHEAP[IHEAP[IHEAP[d+24]+96+44]+4*(m+1)]=IHEAP[a+(p+8)]|(IHEAP[a+(p+7)]&15)<<8;m+=2;p+=9}else if(IHEAP[v]==16)for(p=0;;){if(!(p<N))break c;if(!(m<y))break c;IHEAP[IHEAP[IHEAP[d+
+24]+44]+4*m]=IHEAP[a+p]|IHEAP[a+(p+1)]<<8;IHEAP[IHEAP[IHEAP[d+24]+48+44]+4*m]=IHEAP[a+(p+2)]|IHEAP[a+(p+3)]<<8;IHEAP[IHEAP[IHEAP[d+24]+96+44]+4*m]=IHEAP[a+(p+4)]|IHEAP[a+(p+5)]<<8;if(IHEAP[x]!=0){IHEAP[IHEAP[IHEAP[d+24]+44]+4*m]=IHEAP[IHEAP[IHEAP[d+24]+44]+4*m]+8>>4;IHEAP[IHEAP[IHEAP[d+24]+48+44]+4*m]=IHEAP[IHEAP[IHEAP[d+24]+48+44]+4*m]+8>>4;IHEAP[IHEAP[IHEAP[d+24]+96+44]+4*m]=IHEAP[IHEAP[IHEAP[d+24]+96+44]+4*m]+8>>4}m+=1;p+=6}else{if(IHEAP[w]!=8){c=27;break b}for(p=0;;){if(!(p<N))break c;if(!(m<
+o))break c;IHEAP[IHEAP[IHEAP[d+24]+44]+4*m]=IHEAP[a+p];IHEAP[IHEAP[IHEAP[d+24]+48+44]+4*m]=IHEAP[a+(p+1)];IHEAP[IHEAP[IHEAP[d+24]+96+44]+4*m]=IHEAP[a+(p+2)];if(IHEAP[C]!=0){IHEAP[IHEAP[IHEAP[d+24]+44]+4*m]<<=4;IHEAP[IHEAP[IHEAP[d+24]+48+44]+4*m]<<=4;IHEAP[IHEAP[IHEAP[d+24]+96+44]+4*m]<<=4}m+=1;p+=3}}while(0);var S=c+1;a=20;c=15}if(c==17){__TIFFfree(j);_TIFFClose(i)}else if(c==27){_fprintf(IHEAP[_stderr],__str40128,IHEAP[e+12]);_fwrite(__str39127,9,1,IHEAP[_stderr]);d=0;break a}}else{_TIFFClose(i);
+d=0;break a}}else if(IHEAP[e+8]==1){d=1;l=2;_llvm_memset_p0i8_i32(n,0,36,1,0);IHEAP[n+24]=IHEAP[e+12];IHEAP[n+28]=IHEAP[e+12];IHEAP[n+32]=0;IHEAP[n]=g;IHEAP[n+4]=h;IHEAP[n+8]=j;IHEAP[n+12]=m;d=_opj_image_create(d,n,l);if(d!=0){IHEAP[d]=IHEAP[f+18180];IHEAP[d+4]=IHEAP[f+18184];if(IHEAP[d]!=0){var P=IHEAP[d]+1+(j-1)*g;a=35}else{var G=(j-1)*g+1;a=33}IHEAP[d+8]=a==33?G:P;if(IHEAP[d+4]!=0){var F=IHEAP[d+4]+1+(m-1)*h;a=38}else{var L=(m-1)*h+1;a=36}IHEAP[d+12]=a==36?L:F;j=_TIFFStripSize(i);j=__TIFFmalloc(j);
+k=_TIFFStripSize(i);m=0;o=IHEAP[IHEAP[d+24]+12]*IHEAP[IHEAP[d+24]+8];a=0;l=j;k=k;q=j;u=e+12;s=o;t=e+12;v=o;y=e+12;x=o;w=a;a=39;b:for(;;){c=a==45?I:0;a=w+c;o=_TIFFNumberOfStrips(i);if(!(a<o)){c=42;break b}o=_TIFFReadEncodedStrip(i,a,l,k);C=IHEAP[u]==12;c:do if(C)for(a=41;;){a=a==46?K:0;z=a*3;p=q+(z+2);N=q+(z+1);if(!(z<o))break c;if(!(m<s))break c;IHEAP[IHEAP[IHEAP[d+24]+44]+4*m]=IHEAP[N]>>4|IHEAP[q+z]<<4;IHEAP[IHEAP[IHEAP[d+24]+44]+4*(m+1)]=IHEAP[p]|(IHEAP[N]&15)<<8;m+=2;var K=a+1;a=46}else if(IHEAP[t]==
+16)for(a=73;;){a=a==49?H:0;z=a*2;if(!(z<o))break c;if(!(m<v))break c;IHEAP[IHEAP[IHEAP[d+24]+44]+4*m]=IHEAP[q+z]|IHEAP[q+(z+1)]<<8;m+=1;var H=a+1;a=49}else{if(IHEAP[y]==8)a=50;else{c=52;break b}for(;;){a=a==54?M:0;if(!(a<o))break c;if(!(m<x))break c;IHEAP[IHEAP[IHEAP[d+24]+44]+4*m]=IHEAP[q+a];m+=1;var M=a+1;a=54}}while(0);var I=c+1;a=45;c=40}if(c==42){__TIFFfree(j);_TIFFClose(i)}else if(c==52){_fprintf(IHEAP[_stderr],__str40128,IHEAP[e+12]);_fwrite(__str39127,9,1,IHEAP[_stderr]);d=0;break a}}else{_TIFFClose(i);
+d=0;break a}}else{_fwrite(__str4189,80,1,IHEAP[_stderr]);_fwrite(__str39127,9,1,IHEAP[_stderr]);d=0;break a}d=d}else{_fprintf(IHEAP[_stderr],__str43130,b);d=0}while(0);g=d;STACKTOP=e;return g}_tiftoimage.__index__=Runtime.getFunctionIndex(_tiftoimage,"_tiftoimage");
+function _rawtoimage(b,f,e){var c=STACKTOP;STACKTOP+=4;_memset(c,0,4);var a,d=null,g,h,i,j,k,m,l,n=c+2,o=c+3;h=IHEAP[f+18188];i=IHEAP[f+18192];var p=((IHEAP[e+4]&IHEAP[e]&IHEAP[e+8]&IHEAP[e+12])!=0^1)==0;a:do if(p){_fwrite(__str44131,37,1,IHEAP[_stderr]);_fwrite(__str45132,33,1,IHEAP[_stderr]);_fwrite(__str46133,64,1,IHEAP[_stderr]);_fwrite(__str47134,50,1,IHEAP[_stderr]);_fwrite(__str39127,9,1,IHEAP[_stderr]);g=0}else{g=_fopen(b,__str73);if(g!=0){k=IHEAP[e+8];d=IHEAP[e];m=IHEAP[e+4];l=_malloc(k*
+36);_llvm_memset_p0i8_i32(l,0,k*36,1,0);j=0;var r=j<k;b:do if(r)for(var q=e+12,u=l,s=e+12,t=l,v=e+16,y=l,x=h,w=l,C=i,z=l,A=d,B=l,D=m,J=l,E=k;;){IHEAP[u+36*j+24]=IHEAP[q];IHEAP[t+36*j+28]=IHEAP[s];IHEAP[y+36*j+32]=IHEAP[v];IHEAP[w+36*j]=x;IHEAP[z+36*j+4]=C;IHEAP[B+36*j+8]=A;IHEAP[J+36*j+12]=D;j+=1;if(j<E)a=1;else{a=2;break b}}while(0);l=j=_opj_image_create(k,l,1);if(j!=0){IHEAP[l]=IHEAP[f+18180];IHEAP[l+4]=IHEAP[f+18184];IHEAP[l+8]=IHEAP[f+18180]+1+(d-1)*h;IHEAP[l+12]=IHEAP[f+18184]+1+(m-1)*i;if(IHEAP[e+
+12]<=8){j=IHEAP[n]=0;k=k;m=m*d;r=g;q=e+16;u=l+24;s=j;d=3;b:for(;;){a=d==9?S:0;t=s+a;if(!(t<k)){a=6;break b}for(j=0;;){if(!(j<m))break;if(_fread(n,1,1,r)==0){a=11;break b}d=IHEAP[n];if(IHEAP[q]!=0){var N=d;d=13}else{var Q=d;d=15}IHEAP[IHEAP[IHEAP[u]+48*t+44]+4*j]=d==13?N:Q;j+=1}var S=a+1;d=9;a=4}if(a!=6)if(a==11){_fwrite(__str4890,54,1,IHEAP[_stderr]);g=0;break a}}else if(IHEAP[e+12]<=16){j=0;k=k;m=m*d;q=r=g;u=e+16;s=l+24;t=j;d=16;b:for(;;){a=d==22?F:0;v=t+a;if(!(v<k)){a=19;break b}for(j=0;;){if(!(j<
+m))break;if(_fread(o,1,1,r)==0){a=24;break b}d=IHEAP[o]<<8&65535;if(_fread(o,1,1,q)==0){a=26;break b}d=d+IHEAP[o]&65535;if(IHEAP[u]!=0){var P=d;d=27}else{var G=d;d=29}IHEAP[IHEAP[IHEAP[s]+48*v+44]+4*j]=d==27?P:G;j+=1}var F=a+1;d=22;a=17}if(a!=19)if(a==24){_fwrite(__str4890,54,1,IHEAP[_stderr]);g=0;break a}else if(a==26){_fwrite(__str4890,54,1,IHEAP[_stderr]);g=0;break a}}else{_fwrite(__str4991,74,1,IHEAP[_stderr]);g=0;break a}_fread(c,1,1,g)!=0&&_fwrite(__str50135,58,1,IHEAP[_stderr]);_fclose(g);
+g=l}else{_fclose(g);g=0}}else{_fprintf(IHEAP[_stderr],__str357,b);_fwrite(__str39127,9,1,IHEAP[_stderr]);g=0}}while(0);b=g;STACKTOP=c;return b}_rawtoimage.__index__=Runtime.getFunctionIndex(_rawtoimage,"_rawtoimage");
+function _imagetoraw(b,f){var e,c=null,a,d,g,h,i,j,k;if(IHEAP[b+8]*IHEAP[b+16]*IHEAP[b+12]==0){_fwrite(__str44131,37,1,IHEAP[_stderr]);a=1}else{d=_fopen(f,__str559);if(d!=0){_fprintf(IHEAP[_stdout],__str52137,IHEAP[b+16]);g=0;a:for(;;){if(!(g<IHEAP[b+16])){e=3;break a}_fprintf(IHEAP[_stdout],__str53138,g,IHEAP[IHEAP[b+24]+48*g+8],IHEAP[IHEAP[b+24]+48*g+12],IHEAP[IHEAP[b+24]+48*g+24],IHEAP[IHEAP[b+24]+48*g+32]==1?__str5492:__str55139);e=IHEAP[IHEAP[b+24]+48*g+8];h=IHEAP[IHEAP[b+24]+48*g+12];var m=
+IHEAP[IHEAP[b+24]+48*g+24]<=8,l=IHEAP[b+24]+48*g;b:do if(m){i=IHEAP[b+24]+48*g;if(IHEAP[l+32]==1){k=(1<<IHEAP[i+24])-1;j=IHEAP[IHEAP[b+24]+48*g+44];i=0;if(!(i<h))break b;for(;;){c=0;if(c<e){var n=k,o=d,p=e;j=j;c=c;var r=c+1;p=(p>r?p:r)-c;for(c=6;;){q=c==6?0:q;_fputc(n&IHEAP[j+4*q]&255,o);var q=q+1;if(q!=p)c=7;else break}j=j+4*p}i+=1;if(!(i<h))break b}}else{if(IHEAP[i+32]!=0)break b;k=(1<<IHEAP[IHEAP[b+24]+48*g+24])-1;j=IHEAP[IHEAP[b+24]+48*g+44];i=0;if(!(i<h))break b;for(;;){c=0;if(c<e){n=k;o=d;p=
+e;j=j;c=c;r=c+1;p=(p>r?p:r)-c;for(c=12;;){u=c==12?0:u;_fputc(n&IHEAP[j+4*u]&255,o);var u=u+1;if(u!=p)c=13;else break}j=j+4*p}i+=1;if(!(i<h))break b}}}else{var s=IHEAP[b+24]+48*g;if(!(IHEAP[l+24]<=16)){e=17;break a}i=IHEAP[b+24]+48*g;if(IHEAP[s+32]==1){k=(1<<IHEAP[i+24])-1;j=IHEAP[IHEAP[b+24]+48*g+44];i=0;if(!(i<h))break b;for(;;){c=0;if(c<e){n=k;p=o=d;r=e;j=j;c=c;var t=c+1;r=(r>t?r:t)-c;for(c=19;;){v=c==19?0:v;c=n&IHEAP[j+4*v]&65535;_fputc(c>>8&255,o);_fputc(c&255,p);var v=v+1;if(v!=r)c=20;else break}j=
+j+4*r}i+=1;if(!(i<h))break b}}else{if(IHEAP[i+32]!=0)break b;k=(1<<IHEAP[IHEAP[b+24]+48*g+24])-1;j=IHEAP[IHEAP[b+24]+48*g+44];i=0;if(!(i<h))break b;for(;;){c=0;if(c<e){n=k;p=o=d;r=e;j=j;c=c;t=c+1;r=(r>t?r:t)-c;for(c=25;;){y=c==25?0:y;c=n&IHEAP[j+4*y]&65535;_fputc(c>>8&255,o);_fputc(c&255,p);var y=y+1;if(y!=r)c=26;else break}j=j+4*r}i+=1;if(!(i<h))break b}}}while(0);g+=1;e=1}if(e==3){_fclose(d);a=0}else if(e==17){a=IHEAP[_stderr];IHEAP[s+24]<=32?_fwrite(__str56140,47,1,a):_fprintf(a,__str57141,IHEAP[IHEAP[b+
+24]+48*g+24]);a=1}}else{_fprintf(IHEAP[_stderr],__str51136,f);a=1}}return a}_imagetoraw.__index__=Runtime.getFunctionIndex(_imagetoraw,"_imagetoraw");
+function _pngtoimage(b,f){var e=STACKTOP;STACKTOP+=208;_memset(e,0,208);var c,a=null,d;d=e+4;var g=e+8,h=e+16,i=e+20,j=e+24,k=e+28,m=e+32,l=e+36,n=e+40,o,p=e+44,r=e+48,q=e+52,u,s,t,v,y=e+56,x,w,C,z,A,B=e+200,D=_fopen(b,__str73);if(D==0){_fprintf(IHEAP[_stderr],__str58142,b);d=0}else{v=0;t=IHEAP[e]=0;var J=_fread(B,1,8,D)!=8;a:do if(J)c=1;else{if(_memcmp(B,__str59143,8)!=0){c=1;break a}s=_png_create_read_struct(__str61145,0,0,0);IHEAP[e]=s;if(s==0){c=4;break a}s=_png_create_info_struct(IHEAP[e]);IHEAP[d]=
+s;if(s==0){c=4;break a}if(__setjmp(IHEAP[e])!=0){c=4;break a}_png_init_io(IHEAP[e],D);_png_set_sig_bytes(IHEAP[e],8);_png_read_info(IHEAP[e],IHEAP[d]);if(_png_get_IHDR(IHEAP[e],IHEAP[d],p,r,h,q,i,j,k)==0){c=4;break a}t=IHEAP[q]==3;b:do{if(!t){if(IHEAP[q]!=0){c=11;break b}if(!(IHEAP[h]<8)){c=11;break b}}_png_set_expand(IHEAP[e])}while(0);_png_get_valid(IHEAP[e],IHEAP[d],16)!=0&&_png_set_expand(IHEAP[e]);s=IHEAP[h]==16;if(IHEAP[q]==0|IHEAP[q]==4){_png_set_gray_to_rgb(IHEAP[e]);IHEAP[q]=IHEAP[q]==0?
+2:6}_png_get_gAMA(IHEAP[e],IHEAP[d],g)!=0||(FHEAP[g]=0.45455);_png_set_gamma(IHEAP[e],2.2,FHEAP[g]);_png_read_update_info(IHEAP[e],IHEAP[d]);_png_get_pHYs(IHEAP[e],IHEAP[d],l,n,m);t=_png_get_color_type(IHEAP[e],IHEAP[d]);IHEAP[q]=t;u=IHEAP[q]==6;v=u+3;t=_png_get_bit_depth(IHEAP[e],IHEAP[d]);IHEAP[h]=t;t=_calloc(IHEAP[r]+1,4);o=0;x=o<IHEAP[r];w=IHEAP[e];b:do if(x){var E=t;for(a=16;;){N=_png_get_rowbytes(a==16?w:N,IHEAP[d]);N=_malloc(N);IHEAP[E+4*o]=N;o+=1;var N=IHEAP[e];if(o<IHEAP[r])c=a=17;else{a=
+17;c=18;break b}}}else a=39;while(0);_png_read_image(a==39?w:N,t);_llvm_memset_p0i8_i32(y,0,144,1,0);x=IHEAP[f+18188];w=IHEAP[f+18192];o=0;if(o<v){E=IHEAP[h];A=IHEAP[h];C=x;z=w;var Q=IHEAP[p],S=IHEAP[r];a=v;o=o;var P=o+1;P=(a>P?a:P)-o;for(a=19;;){M=a==19?0:M;a=o+M;c=y+a*36+12;var G=y+a*36+8,F=y+a*36+4,L=y+a*36,K=y+a*36+32,H=y+a*36+28;IHEAP[y+a*36+24]=E;IHEAP[H]=A;IHEAP[K]=0;IHEAP[L]=C;IHEAP[F]=z;IHEAP[G]=Q;IHEAP[c]=S;var M=M+1;if(M!=P)c=a=20;else{c=21;break}}}v=o=_opj_image_create(v,y,1);if(o==0){c=
+4;break a}IHEAP[v]=IHEAP[f+18180];IHEAP[v+4]=IHEAP[f+18184];IHEAP[v+8]=IHEAP[v]+1+(IHEAP[p]-1)*x+IHEAP[v];IHEAP[v+12]=IHEAP[v+4]+1+(IHEAP[r]-1)*w+IHEAP[v+4];C=IHEAP[IHEAP[v+24]+44];z=IHEAP[IHEAP[v+24]+48+44];a=IHEAP[IHEAP[v+24]+96+44];A=IHEAP[IHEAP[v+24]+144+44];o=0;if(!(o<IHEAP[r])){c=4;break a}for(;;){c=IHEAP[t+4*o];if(0<IHEAP[p]){x=s!=0;w=u!=0;E=u!=0;A=A;C=C;z=z;Q=a;a=25;c:for(;;){W=a==25?0:W;Z=a==25?Q:Z;Y=a==25?z:Y;$=a==25?C:$;U=a==25?A:U;S=1+W;P=c;d:do if(x){var I=$+4;IHEAP[$]=IHEAP[c+1]|IHEAP[P]<<
+8;c+=2;var O=Y+4;IHEAP[Y]=IHEAP[c+1]|IHEAP[c]<<8;c+=2;var R=Z+4;IHEAP[Z]=IHEAP[c+1]|IHEAP[c]<<8;c+=2;if(!w){a=27;break d}var T=U+4;IHEAP[U]=IHEAP[c+1]|IHEAP[c]<<8;c+=2;a=28}else{c=P+1;var V=$+4;IHEAP[$]=IHEAP[P];var ba=c;c=ba+1;var fa=Y+4;IHEAP[Y]=IHEAP[ba];a=c;c=a+1;ba=Z+4;IHEAP[Z]=IHEAP[a];if(!E){a=31;break d}a=c;c=a+1;var ca=U+4;IHEAP[U]=IHEAP[a];a=32}while(0);var U=a==31?U:a==32?ca:a==27?U:T,$=a==31?V:a==32?V:a==27?I:I,Y=a==31?fa:a==32?fa:a==27?O:O,Z=a==31?ba:a==32?ba:a==27?R:R,W=W+1;if(S<IHEAP[p])a=
+29;else break c}a=Z;z=Y;C=$;A=U}o+=1;if(o<IHEAP[r])c=24;else{c=4;break a}}}while(0);c==1&&_fprintf(IHEAP[_stderr],__str60144,b);if(t!=0){o=0;g=o<IHEAP[r];a:do if(g)for(h=t;;){_free(IHEAP[h+4*o]);o+=1;if(!(o<IHEAP[r]))break a}while(0);_free(t)}IHEAP[e]!=0&&_png_destroy_read_struct(e,d,0);_fclose(D);d=v}d=d;STACKTOP=e;return d}_pngtoimage.__index__=Runtime.getFunctionIndex(_pngtoimage,"_pngtoimage");
+function _imagetopng(b,f){var e=STACKTOP;STACKTOP+=13;_memset(e,0,13);var c,a=null,d,g=e+4,h,i,j,k,m,l,n,o,p,r,q,u,s,t,v,y,x,w,C,z,A,B=e+8;A=-1;x=C=z=0;v=1;var D=IHEAP[IHEAP[b+24]+24];w=D;if(w>8&w<16){w=16;x=1}if(w!=1&w!=2&w!=4&w!=8&w!=16)_fprintf(IHEAP[_stderr],__str62146,f,w);else{d=_fopen(f,__str559);if(d!=0){n=IHEAP[g]=0;var J=_png_create_write_struct(__str61145,0,0,0);IHEAP[e]=J;J=IHEAP[e]==0;a:do if(!J){var E=_png_create_info_struct(IHEAP[e]);IHEAP[g]=E;E=IHEAP[g]==0;b:do if(!E){if(__setjmp(IHEAP[e])!=
+0)break b;_png_init_io(IHEAP[e],d);_png_set_compression_level(IHEAP[e],9);r=w==16;c:do if(r)A=-1;else if(w==8)A=255;else if(w==4)A=15;else if(w==2)A=3;else{if(w!=1)break c;A=1}while(0);var N=IHEAP[b+16];r=N;o=N>=3;c:do if(o){o=IHEAP[IHEAP[b+24]]==IHEAP[IHEAP[b+24]+48];d:do if(o){if(IHEAP[IHEAP[b+24]+48]!=IHEAP[IHEAP[b+24]+96])break d;if(IHEAP[IHEAP[b+24]+4]!=IHEAP[IHEAP[b+24]+48+4])break d;if(IHEAP[IHEAP[b+24]+48+4]!=IHEAP[IHEAP[b+24]+96+4])break d;if(IHEAP[IHEAP[b+24]+24]!=IHEAP[IHEAP[b+24]+48+24])break d;
+if(IHEAP[IHEAP[b+24]+48+24]!=IHEAP[IHEAP[b+24]+96+24])break d;n=r>3;y=w==16;o=IHEAP[IHEAP[b+24]+8];p=IHEAP[IHEAP[b+24]+12];h=IHEAP[IHEAP[b+24]+44];i=IHEAP[IHEAP[b+24]+48+44];j=IHEAP[IHEAP[b+24]+96+44];q=w&255;IHEAP[B+2]=q;IHEAP[B+1]=q;IHEAP[B]=q;if(n!=0){IHEAP[B+4]=w&255;k=IHEAP[IHEAP[b+24]+144+44];q=6}else{k=IHEAP[B+4]=0;q=2}_png_set_sBIT(IHEAP[e],IHEAP[g],B);_png_set_IHDR(IHEAP[e],IHEAP[g],o,p,w,q,0,0,0);_png_write_info(IHEAP[e],IHEAP[g]);D<8&&_png_set_packing(IHEAP[e]);if(x!=0){C=16-D;z=D-C}if(IHEAP[IHEAP[b+
+24]+32]!=0){var Q=1<<IHEAP[IHEAP[b+24]+24]-1;a=16}else a=121;q=a==16?Q:0;if(IHEAP[IHEAP[b+24]+48+32]!=0){var S=1<<IHEAP[IHEAP[b+24]+48+24]-1;a=18}else a=122;u=a==18?S:0;if(IHEAP[IHEAP[b+24]+96+32]!=0){var P=1<<IHEAP[IHEAP[b+24]+96+24]-1;a=20}else a=123;s=a==20?P:0;m=_malloc(o*2*r);t=0;var G=t<p,F=m;e:do if(G){var L=A,K=A,H=A;c=A;a=22;for(;;){l=a==22?F:Na;a=0;if(a<o){Na=y!=0;var M=q,I=x!=0,O=C,R=z,T=u,V=x!=0,ba=C,fa=z,ca=s,U=x!=0,$=C,Y=z,Z=n!=0,W=x!=0,X=C,aa=z,ka=o,ga=u,ja=s,ia=n!=0;h=h;a=a;k=k;j=
+j;i=i;var ea=a+1;ka=(ka>ea?ka:ea)-a;a=24;g:for(;;){Ba=a==24?0:Ba;ya=a==24?i:ya;na=a==24?j:na;va=a==24?k:va;ta=a==24?h:ta;ea=M+IHEAP[ta];h:do if(Na){a=ea;var oa=ta+4;if(I)a=(a>>R)+(a<<O);var pa=a>>8&255,da=l;l=da+1;IHEAP[da]=pa;pa=a&255;da=l;l=da+1;IHEAP[da]=pa;a=T+IHEAP[ya];pa=ya+4;if(V)a=(a>>fa)+(a<<ba);da=a>>8&255;var ha=l;l=ha+1;IHEAP[ha]=da;da=a&255;a=l;l=a+1;IHEAP[a]=da;a=ca+IHEAP[na];da=na+4;if(U)a=(a>>Y)+(a<<$);ha=a>>8&255;var qa=l;l=qa+1;IHEAP[qa]=ha;a=a&255;ha=l;l=ha+1;IHEAP[ha]=a;if(!Z){a=
+29;break h}var wa=va+4;a=IHEAP[va];if(W)a=(a>>aa)+(a<<X);ha=a>>8&255;qa=l;l=qa+1;IHEAP[qa]=ha;a=a&255;ha=l;l=ha+1;IHEAP[ha]=a;a=33}else{var la=L&ea&255,ma=l;l=ma+1;IHEAP[ma]=la;la=ta+4;ma=K&ga+IHEAP[ya]&255;var ua=l;l=ua+1;IHEAP[ua]=ma;ma=ya+4;ua=H&ja+IHEAP[na]&255;a=l;l=a+1;IHEAP[a]=ua;ua=na+4;if(!ia){a=35;break h}var ra=c&IHEAP[va]&255;a=l;l=a+1;IHEAP[a]=ra;ra=va+4;a=36}while(0);var ta=a==35?la:a==36?la:a==29?oa:oa,va=a==35?va:a==36?ra:a==29?va:wa,na=a==35?ua:a==36?ua:a==29?da:da,ya=a==35?ma:a==
+36?ma:a==29?pa:pa,Ba=Ba+1;if(Ba!=ka)a=31;else break g}i=ya;j=na;k=va;h=ta}_png_write_row(IHEAP[e],m);t+=1;var Na=m;if(t<p)a=39;else{a=39;break e}}}else a=96;while(0);_free(a==96?F:Na);c=41;break c}while(0);var Pa=r;a=8;c=42;break c}else{a=6;c=42}while(0);c:do if(c==42){o=(a==8?Pa:N)==1;d:do if(!o){o=r==2;e:do if(o){if(IHEAP[IHEAP[b+24]]!=IHEAP[IHEAP[b+24]+48])break e;if(IHEAP[IHEAP[b+24]+4]!=IHEAP[IHEAP[b+24]+48+4])break e;if(IHEAP[IHEAP[b+24]+24]==IHEAP[IHEAP[b+24]+48+24]){c=46;break d}}while(0);
+_fprintf(IHEAP[_stderr],__str63147,f);break b}while(0);h=IHEAP[IHEAP[b+24]+44];if(x!=0){C=16-D;z=D-C}IHEAP[B+3]=w&255;IHEAP[B+4]=0;IHEAP[B+2]=0;IHEAP[B+1]=0;q=k=IHEAP[B]=0;if(r==2){n=1;IHEAP[B+4]=w&255;k=IHEAP[IHEAP[b+24]+48+44];q=4}o=IHEAP[IHEAP[b+24]+8];p=IHEAP[IHEAP[b+24]+12];_png_set_IHDR(IHEAP[e],IHEAP[g],o,p,IHEAP[B+3],q,0,0,0);_png_set_sBIT(IHEAP[e],IHEAP[g],B);_png_write_info(IHEAP[e],IHEAP[g]);if(IHEAP[IHEAP[b+24]+32]!=0){var Ja=1<<IHEAP[IHEAP[b+24]+24]-1;a=50}else a=136;q=a==50?Ja:0;D<8&&
+_png_set_packing(IHEAP[e]);m=o;t=r;if(w>8){m=_malloc(m*2*t);t=0;y=m;if(t<p){a=53;c=54}else{a=53;c=55}for(;;)if(c==54){l=a==78?za:y;a=0;if(a<o){za=q;F=C;L=z;c=n!=0;M=x!=0;K=C;H=z;G=o;u=h;I=a;s=k;O=I+1;G=(G>O?G:O)-I;if(x!=0)if(M){if(c){a=56;c=57}else{a=56;c=58}for(;;)if(c==57){Ya=a==57?Ya:0;c=a==57?xa:s;xa=za+IHEAP[u+4*Ya];xa=(xa>>L)+(xa<<F);M=xa>>8&255;I=l;l=I+1;IHEAP[I]=M;xa=xa&255&255;M=l;l=M+1;IHEAP[M]=xa;var xa=c+4;c=IHEAP[c];c=(c>>H)+(c<<K);M=c>>8&255;I=l;l=I+1;IHEAP[I]=M;c=c&255&255;M=l;l=M+
+1;IHEAP[M]=c;var Ya=Ya+1;if(Ya!=G)c=a=57;else{a=57;c=59;break}}else if(c==58){$a=a==58?$a:0;c=za+IHEAP[u+4*$a];c=(c>>L)+(c<<F);M=c>>8&255;I=l;l=I+1;IHEAP[I]=M;c=c&255&255;M=l;l=M+1;IHEAP[M]=c;var $a=$a+1;if($a!=G)c=a=58;else{a=58;c=61;break}}if(c==59){var db=u+4*G;a=59}else if(c==61){var Ta=u+4*G;a=61}}else{if(c){a=62;c=63}else{a=62;c=64}for(;;)if(c==63){Ga=a==63?Ga:0;K=a==63?Ma:s;Ma=za+IHEAP[u+4*Ga];Ma=(Ma>>L)+(Ma<<F);H=Ma>>8&255;c=l;l=c+1;IHEAP[c]=H;Ma=Ma&255&255;H=l;l=H+1;IHEAP[H]=Ma;var Ma=K+
+4;K=IHEAP[K];H=K>>8&255;c=l;l=c+1;IHEAP[c]=H;K=K&255&255;H=l;l=H+1;IHEAP[H]=K;var Ga=Ga+1;if(Ga!=G)c=a=63;else{a=63;c=65;break}}else if(c==64){Ca=a==64?Ca:0;K=za+IHEAP[u+4*Ca];K=(K>>L)+(K<<F);H=K>>8&255;c=l;l=c+1;IHEAP[c]=H;K=K&255&255;H=l;l=H+1;IHEAP[H]=K;var Ca=Ca+1;if(Ca!=G)c=a=64;else{a=64;c=66;break}}if(c==65){var Ka=u+4*G;a=65}else if(c==66){var Ra=u+4*G;a=66}}else if(M){if(c){a=67;c=68}else{a=67;c=69}for(;;)if(c==68){Ia=a==68?Ia:0;F=a==68?Oa:s;Oa=za+IHEAP[u+4*Ia];L=Oa>>8&255;c=l;l=c+1;IHEAP[c]=
+L;Oa=Oa&255&255;L=l;l=L+1;IHEAP[L]=Oa;var Oa=F+4;F=IHEAP[F];F=(F>>H)+(F<<K);L=F>>8&255;c=l;l=c+1;IHEAP[c]=L;F=F&255&255;L=l;l=L+1;IHEAP[L]=F;var Ia=Ia+1;if(Ia!=G)c=a=68;else{a=68;c=70;break}}else if(c==69){Sa=a==69?Sa:0;F=za+IHEAP[u+4*Sa];L=F>>8&255;c=l;l=c+1;IHEAP[c]=L;F=F&255&255;L=l;l=L+1;IHEAP[L]=F;var Sa=Sa+1;if(Sa!=G)c=a=69;else{a=69;c=71;break}}if(c==70){var Aa=u+4*G;a=70}else if(c==71){var La=u+4*G;a=71}}else{if(c){a=72;c=73}else{a=72;c=74}for(;;)if(c==73){Ha=a==73?Ha:0;F=a==73?Ea:s;Ea=za+
+IHEAP[u+4*Ha];L=Ea>>8&255;K=l;l=K+1;IHEAP[K]=L;Ea=Ea&255&255;L=l;l=L+1;IHEAP[L]=Ea;var Ea=F+4;F=IHEAP[F];L=F>>8&255;K=l;l=K+1;IHEAP[K]=L;F=F&255&255;L=l;l=L+1;IHEAP[L]=F;var Ha=Ha+1;if(Ha!=G)c=a=73;else{a=73;c=75;break}}else if(c==74){Qa=a==74?Qa:0;F=za+IHEAP[u+4*Qa];L=F>>8&255;K=l;l=K+1;IHEAP[K]=L;F=F&255&255;L=l;l=L+1;IHEAP[L]=F;var Qa=Qa+1;if(Qa!=G)c=a=74;else{a=74;c=76;break}}if(c==75){var Da=u+4*G;a=75}else if(c==76){var eb=u+4*G;a=76}}l=a==61?Ta:a==59?db:a==66?Ra:a==65?Ka:a==71?La:a==70?Aa:
+a==76?eb:Da;k=a==61?s:a==59?xa:a==66?s:a==65?Ma:a==71?s:a==70?Oa:a==76?s:Ea;h=l}_png_write_row(IHEAP[e],m);t+=1;var za=m;if(t<p){a=78;c=54}else{a=78;c=55}}else if(c==55){_free(a==53?y:za);break c}}else{m=_calloc(m,t*2);t=0;y=t<p;u=m;d:do if(y){G=s=A;a=79;for(;;){l=a==79?u:jb;a=0;if(a<o){jb=q;K=o;F=h;H=a;L=k;c=H+1;K=(K>c?K:c)-H;if(n!=0){a=81;c=82}else{a=81;c=83}for(;;)if(c==82){Ua=a==82?Ua:0;Wa=a==82?Wa:L;H=s&jb+IHEAP[F+4*Ua]&255;c=l;l=c+1;IHEAP[c]=H;H=G&IHEAP[Wa]&255;c=l;l=c+1;IHEAP[c]=H;var Wa=Wa+
+4,Ua=Ua+1;if(Ua!=K)c=a=82;else{a=82;c=84;break}}else if(c==83){ab=a==83?ab:0;H=s&jb+IHEAP[F+4*ab]&255;c=l;l=c+1;IHEAP[c]=H;var ab=ab+1;if(ab!=K)c=a=83;else{a=83;c=86;break}}if(c==84){var tb=F+4*K;a=84}else if(c==86){var Ab=F+4*K;a=86}l=a==86?Ab:tb;k=a==86?L:Wa;h=l}_png_write_row(IHEAP[e],m);t+=1;var jb=m;if(t<p){a=88;c=80}else{a=88;c=89;break d}}}else a=97;while(0);_free(a==97?u:jb)}}while(0);_png_write_end(IHEAP[e],IHEAP[g]);v=0}while(0);if(IHEAP[e]==0)break a;_png_destroy_write_struct(e,g)}while(0);
+_fclose(d);v!=0&&_remove(f)}}d=v;STACKTOP=e;return d}_imagetopng.__index__=Runtime.getFunctionIndex(_imagetopng,"_imagetopng");
+function _color_sycc_to_rgb(b){var f,e=null,c,a,d,g,h,i,j,k,m,l,n,o,p,r,q,u,s,t,v,y,x,w,C,z,A,B,D,J,E,N,Q,S,P,G,F,L,K,H;if(IHEAP[b+16]<3)IHEAP[b+20]=2;else{e=IHEAP[IHEAP[b+24]]==1;a:do if(e){if(IHEAP[IHEAP[b+24]+48]!=2){f=1;break a}if(IHEAP[IHEAP[b+24]+96]!=2){f=1;break a}if(IHEAP[IHEAP[b+24]+4]!=1){f=1;break a}if(IHEAP[IHEAP[b+24]+48+4]!=2){f=1;break a}if(IHEAP[IHEAP[b+24]+96+4]!=2){f=1;break a}D=b;e=IHEAP[IHEAP[D+24]+24];K=1<<e-1;H=(1<<e)-1;L=IHEAP[IHEAP[D+24]+8];x=IHEAP[IHEAP[D+24]+12];e=x*L;G=
+IHEAP[IHEAP[D+24]+44];f=IHEAP[IHEAP[D+24]+48+44];F=IHEAP[IHEAP[D+24]+96+44];v=Q=v=_malloc(e*4);E=S=E=_malloc(e*4);N=P=e=_malloc(e*4);e=0;if(e<x){var M=L,I=L,O=L,R=L,T=K,V=H,ba=K,fa=H,ca=K,U=H;K=K;H=H;var $=L,Y=L,Z=L,W=L,X=L,aa=x;G=G;Q=Q;S=S;P=P;F=F;var ka=f,ga=0<L,ja=M+1,ia=I+1,ea=O+1,oa=R+1,pa=e+2;e=6;b:for(;;){var da=e==6?0:B,ha=e==6?ka:A,qa=e==6?F:u,wa=e==6?P:Ra,la=e==6?S:Ka,ma=e==6?Q:t,ua=e==6?G:s,ra=pa+da*2;if(ga){e=7;f=8}else{e=7;f=9}for(;;)if(f==8){e=e==8?Ca:0;y=e+1;z=ha+4*y;y=qa+4*y;f=e*2;
+C=f+1;Ca=ua+4*C;var ta=ma+4*C,va=la+4*C,na=wa+4*C,ya=ua+4*(ja+f),Ba=ma+4*(ia+f),Na=la+4*(ea+f),Pa=wa+4*(oa+f),Ja=f+2;C=ua+4*Ja;w=ma+4*Ja;J=la+4*Ja;var xa=wa+4*Ja,Ya=ua+4*(M+f),$a=ma+4*(I+f),db=la+4*(O+f),Ta=wa+4*(R+f),Ma=ha+4*e,Ga=qa+4*e;_sycc_to_rgb(T,V,IHEAP[ua+4*f],IHEAP[Ma],IHEAP[Ga],ma+4*f,la+4*f,wa+4*f);_sycc_to_rgb(ba,fa,IHEAP[Ca],IHEAP[Ma],IHEAP[Ga],ta,va,na);_sycc_to_rgb(ca,U,IHEAP[Ya],IHEAP[Ma],IHEAP[Ga],$a,db,Ta);_sycc_to_rgb(K,H,IHEAP[ya],IHEAP[Ma],IHEAP[Ga],Ba,Na,Pa);var Ca=e+1;if(Ja<
+$)f=e=8;else{e=8;f=9}}else if(f==9){A=e==7?ha:z;u=e==7?qa:y;s=(e==7?ua:C)+4*Y;t=(e==7?ma:w)+4*Z;var Ka=(e==7?la:J)+4*W,Ra=(e==7?wa:xa)+4*X;B=da+1;if(ra<aa){e=9;continue b}else break b}}}_free(IHEAP[IHEAP[D+24]+44]);IHEAP[IHEAP[D+24]+44]=v;_free(IHEAP[IHEAP[D+24]+48+44]);IHEAP[IHEAP[D+24]+48+44]=E;_free(IHEAP[IHEAP[D+24]+96+44]);IHEAP[IHEAP[D+24]+96+44]=N;IHEAP[IHEAP[D+24]+48+8]=L;IHEAP[IHEAP[D+24]+48+12]=x;IHEAP[IHEAP[D+24]+96+8]=L;IHEAP[IHEAP[D+24]+96+12]=x;IHEAP[IHEAP[D+24]+48]=IHEAP[IHEAP[D+24]];
+IHEAP[IHEAP[D+24]+96]=IHEAP[IHEAP[D+24]];IHEAP[IHEAP[D+24]+48+4]=IHEAP[IHEAP[D+24]+4];IHEAP[IHEAP[D+24]+96+4]=IHEAP[IHEAP[D+24]+4];f=12;break a}else f=1;while(0);a:do if(f==1){e=IHEAP[IHEAP[b+24]]==1;b:do if(e){if(IHEAP[IHEAP[b+24]+48]!=2)break b;if(IHEAP[IHEAP[b+24]+96]!=2)break b;if(IHEAP[IHEAP[b+24]+4]!=1)break b;if(IHEAP[IHEAP[b+24]+48+4]!=1)break b;if(IHEAP[IHEAP[b+24]+96+4]!=1)break b;q=b;J=IHEAP[IHEAP[q+24]+24];B=1<<J-1;D=(1<<J)-1;z=IHEAP[IHEAP[q+24]+8];A=IHEAP[IHEAP[q+24]+12];t=A*z;e=IHEAP[IHEAP[q+
+24]+44];w=IHEAP[IHEAP[q+24]+48+44];C=IHEAP[IHEAP[q+24]+96+44];u=v=u=_malloc(t*4);s=y=s=_malloc(t*4);t=x=t=_malloc(t*4);J=0;if(J<A){Ka=B;Ra=D;B=B;D=D;L=z;E=A;N=J;x=x;y=y;v=v;C=C;w=w;J=e;xa=0<z;e=N+1;E=(E>e?E:e)-N;e=19;c:for(;;){N=e==19?0:h;M=e==19?J:a;I=e==19?w:d;O=e==19?C:g;R=e==19?v:p;T=e==19?y:r;V=e==19?x:k;if(xa){e=20;f=21}else{e=20;f=22}for(;;)if(f==21){n=e==21?n:0;i=n+1;c=I+4*i;i=O+4*i;e=n*2;j=e+1;ba=M+4*j;fa=R+4*j;ca=T+4*j;f=V+4*j;U=e+2;j=M+4*U;o=R+4*U;m=T+4*U;l=V+4*U;K=I+4*n;H=O+4*n;_sycc_to_rgb(Ka,
+Ra,IHEAP[M+4*e],IHEAP[K],IHEAP[H],R+4*e,T+4*e,V+4*e);_sycc_to_rgb(B,D,IHEAP[ba],IHEAP[K],IHEAP[H],fa,ca,f);n=n+1;if(U<L)f=e=21;else{e=21;f=22}}else if(f==22){a=e==20?M:j;d=e==20?I:c;g=e==20?O:i;p=e==20?R:o;r=e==20?T:m;k=e==20?V:l;h=N+1;if(h!=E){e=22;continue c}else break c}}}_free(IHEAP[IHEAP[q+24]+44]);IHEAP[IHEAP[q+24]+44]=u;_free(IHEAP[IHEAP[q+24]+48+44]);IHEAP[IHEAP[q+24]+48+44]=s;_free(IHEAP[IHEAP[q+24]+96+44]);IHEAP[IHEAP[q+24]+96+44]=t;IHEAP[IHEAP[q+24]+48+8]=z;IHEAP[IHEAP[q+24]+48+12]=A;IHEAP[IHEAP[q+
+24]+96+8]=z;IHEAP[IHEAP[q+24]+96+12]=A;IHEAP[IHEAP[q+24]+48]=IHEAP[IHEAP[q+24]];IHEAP[IHEAP[q+24]+96]=IHEAP[IHEAP[q+24]];IHEAP[IHEAP[q+24]+48+4]=IHEAP[IHEAP[q+24]+4];IHEAP[IHEAP[q+24]+96+4]=IHEAP[IHEAP[q+24]+4];break a}while(0);c=IHEAP[IHEAP[b+24]]==1;b:do if(c){if(IHEAP[IHEAP[b+24]+48]!=1)break b;if(IHEAP[IHEAP[b+24]+96]!=1)break b;if(IHEAP[IHEAP[b+24]+4]!=1)break b;if(IHEAP[IHEAP[b+24]+48+4]!=1)break b;if(IHEAP[IHEAP[b+24]+96+4]!=1)break b;c=b;o=IHEAP[IHEAP[c+24]+24];p=1<<o-1;r=(1<<o)-1;a=IHEAP[IHEAP[c+
+24]+8];d=IHEAP[IHEAP[c+24]+12];n=d*a;k=IHEAP[IHEAP[c+24]+44];m=IHEAP[IHEAP[c+24]+48+44];l=IHEAP[IHEAP[c+24]+96+44];a=h=a=_malloc(n*4);d=i=d=_malloc(n*4);g=j=g=_malloc(n*4);o=0;if(o<n){p=p;r=r;n=n;k=k;m=m;l=l;h=h;i=i;j=j;o=o;e=o+1;o=(n>e?n:e)-o;for(e=31;;){n=e==31?0:q;_sycc_to_rgb(p,r,IHEAP[k+4*n],IHEAP[m+4*n],IHEAP[l+4*n],h+4*n,i+4*n,j+4*n);q=n+1;if(q!=o)e=32;else break}}_free(IHEAP[IHEAP[c+24]+44]);IHEAP[IHEAP[c+24]+44]=a;_free(IHEAP[IHEAP[c+24]+48+44]);IHEAP[IHEAP[c+24]+48+44]=d;_free(IHEAP[IHEAP[c+
+24]+96+44]);IHEAP[IHEAP[c+24]+96+44]=g;break a}while(0);_fprintf(IHEAP[_stderr],__str96,__str197,256);return}while(0);IHEAP[b+20]=1}}_color_sycc_to_rgb.__index__=Runtime.getFunctionIndex(_color_sycc_to_rgb,"_color_sycc_to_rgb");
+function _sycc_to_rgb(b,f,e,c,a,d,g,h){c=c;a=a;c-=b;a-=b;b=(1.402*a|0)+e;var i=b<0;a:do if(i)b=0;else{if(!(b>f))break a;b=f}while(0);IHEAP[d]=b;d=b=e-(0.344*c+0.714*a|0);b=b<0;a:do if(b)d=0;else{if(!(d>f))break a;d=f}while(0);IHEAP[g]=d;e=g=(1.772*c|0)+e;g=g<0;a:do if(g)e=0;else{if(!(e>f))break a;e=f}while(0);IHEAP[h]=e}_sycc_to_rgb.__index__=Runtime.getFunctionIndex(_sycc_to_rgb,"_sycc_to_rgb");function _reset_options_reading(){IHEAP[_opterr]=1;IHEAP[_optind]=1}
+_reset_options_reading.__index__=Runtime.getFunctionIndex(_reset_options_reading,"_reset_options_reading");
+function _getopt(b,f,e){var c,a,d,g=IHEAP[_optreset]!=0;a:do if(g)c=1;else{c=IHEAP[IHEAP[_getopt_place]]!=0?0:1;break a}while(0);a:do if(c==1){IHEAP[_optreset]=0;c=IHEAP[_optind]>=b;b:do if(!c){c=IHEAP[f+4*IHEAP[_optind]];IHEAP[_getopt_place]=c;if(IHEAP[c]!=45)break b;if(IHEAP[IHEAP[_getopt_place]+1]==0){c=0;break a}c=IHEAP[_getopt_place]+1;IHEAP[_getopt_place]=c;if(IHEAP[c]!=45){c=0;break a}IHEAP[_optind]+=1;IHEAP[_getopt_place]=__str98;a=-1;c=4;break a}while(0);IHEAP[_getopt_place]=__str98;a=-1;
+c=4;break a}while(0);a:do if(c==0){c=IHEAP[_getopt_place];IHEAP[_getopt_place]=c+1;c=IHEAP[c];IHEAP[_optopt]=c;a=c==58;b:do if(a)c=10;else{c=IHEAP[_optopt];d=a=_strchr(e,c);if(a!=0){c=7;break b}if(c!=45){c=10;break b}a=-1;break a}while(0);b:do if(c==10){if(IHEAP[IHEAP[_getopt_place]]==0)IHEAP[_optind]+=1;if(IHEAP[_opterr]==0){c=7;break b}if(IHEAP[e]==58){c=7;break b}_fprintf(IHEAP[_stderr],__str199,IHEAP[f],IHEAP[_optopt]);a=63;break a}while(0);d=a=d+1;a=IHEAP[a]!=58;b:do{if(a){IHEAP[_optarg]=0;if(IHEAP[IHEAP[_getopt_place]]!=
+0){c=14;break b}}else{g=IHEAP[IHEAP[_getopt_place]]!=0;c:do if(g)IHEAP[_optarg]=IHEAP[_getopt_place];else{var h=b,i=IHEAP[_optind]+1;IHEAP[_optind]=i;if(h<=i){IHEAP[_getopt_place]=__str98;if(IHEAP[e]==58)a=58;else{if(IHEAP[_opterr]==0){c=19;break c}_fprintf(IHEAP[_stderr],__str2100,IHEAP[f],IHEAP[_optopt]);a=63}break a}else IHEAP[_optarg]=IHEAP[f+4*IHEAP[_optind]]}while(0);IHEAP[_getopt_place]=__str98}IHEAP[_optind]+=1}while(0);a=IHEAP[_optopt]}while(0);return a}
+_getopt.__index__=Runtime.getFunctionIndex(_getopt,"_getopt");
+function _getopt_long(b,f,e,c,a){var d,g=null,h,i,j,k=b-1;g=0;a:for(;;){d=g==40?l:1;if(IHEAP[_optind]>=b){d=2;break a}if(IHEAP[f+4*IHEAP[_optind]]==0){d=2;break a}if(IHEAP[IHEAP[f+4*IHEAP[_optind]]]!=45){d=2;break a}var m=IHEAP[IHEAP[f+4*IHEAP[_optind]]]==45;b:do if(m){if(IHEAP[IHEAP[f+4*IHEAP[_optind]]+1]!=0){g=7;break b}if(IHEAP[_optind]>=k){g=8;break b}if(IHEAP[IHEAP[f+4*(IHEAP[_optind]+1)]]==45){g=10;break b}g=11}else g=5;while(0);var l=g==11?2:g==7?d:g==5?d:g==8?0:0;m=IHEAP[_optind];if(l==0){d=
+13;break a}if(IHEAP[IHEAP[f+4*m]]!=45){d=16;break a}j=c;i=16;var n=IHEAP[_optind];if(l>1){var o=IHEAP[f+4*(n+1)];IHEAP[_optind]+=1;g=17}else{var p=IHEAP[f+4*n]+1;g=19}n=g==19?p:o;if(_strlen(n)>1){d=20;break a}if(IHEAP[e]==58){d=35;break a}if(IHEAP[_getopt_long_lastidx]!=IHEAP[_optind]){IHEAP[_getopt_long_lastidx]=IHEAP[_optind];IHEAP[_getopt_long_lastofs]=0}IHEAP[_optopt]=IHEAP[IHEAP[f+4*IHEAP[_optind]]+(IHEAP[_getopt_long_lastofs]+1)];var r=_strchr(e,IHEAP[_optopt]);if(r==0){d=39;break a}if(IHEAP[r]!=
+0){d=41;break a}IHEAP[_optind]+=1;g=40;d=1}a:do if(d==2)h=-1;else if(d==13){IHEAP[_optind]=m+1;h=63}else if(d==16){_fwrite(__str7105,15,1,IHEAP[_stderr]);IHEAP[_optind]+=1;h=63}else if(d==20){b=n;e=a;c=b;k=i;o=j;g=20;b:for(;;){d=g==25?u:0;var q=o+16*d;g=q;if(!(0+k*d<e)){d=24;break b}if(_strcmp(IHEAP[g],c)==0){d=26;break b}var u=d+1;g=25;d=22}if(d==24){j=q;_fprintf(IHEAP[_stderr],__str6104,b);IHEAP[_optind]+=1;h=63}else if(d==26){j=q;h=IHEAP[j+4]==0;g=IHEAP[f+4*(IHEAP[_optind]+1)];b:do{if(h){if(g==
+0){d=28;break b}if(IHEAP[IHEAP[f+4*(IHEAP[_optind]+1)]]==45){d=28;break b}_fprintf(IHEAP[_stderr],__str3101,b,IHEAP[f+4*(IHEAP[_optind]+1)])}else{IHEAP[_optarg]=g;e=IHEAP[_optarg]!=0;c:do if(e)if(IHEAP[IHEAP[_optarg]]==45&IHEAP[_opterr]!=0){_fprintf(IHEAP[_stderr],__str4102,b);h=63;break a}else{d=IHEAP[_optarg]!=0?32:33;break c}else d=33;while(0);c:do if(d==33){if(!(IHEAP[j+4]==1&IHEAP[_opterr]!=0)){d=32;break c}_fprintf(IHEAP[_stderr],__str5103,b);h=63;break a}while(0)}IHEAP[_optind]+=1}while(0);
+IHEAP[_optind]+=1;h=IHEAP[j+12];if(IHEAP[j+8]!=0){IHEAP[IHEAP[j+8]]=h;h=0}else h=h}}else if(d==35)h=58;else if(d==39){b=n;_fprintf(IHEAP[_stderr],__str6104,b);IHEAP[_optind]+=1;h=63}else if(d==41){b=n;h=r;if(IHEAP[h+1]==58){h=IHEAP[h+2]==58;b:do if(h)d=42;else{if(IHEAP[IHEAP[f+4*IHEAP[_optind]]+(IHEAP[_getopt_long_lastofs]+2)]!=0){d=42;break b}IHEAP[_optarg]=IHEAP[f+4*(IHEAP[_optind]+1)];d=IHEAP[_optarg]!=0;c:do if(d){if(!(IHEAP[IHEAP[_optarg]]==45&IHEAP[_opterr]!=0))break c;_fprintf(IHEAP[_stderr],
+__str4102,b);h=63;break a}while(0);if((IHEAP[_optarg]!=0^1)&IHEAP[_opterr]!=0){_fprintf(IHEAP[_stderr],__str4102,b);h=63;break a}else{IHEAP[_optind]+=1;d=44;break b}}while(0);b:do if(d==42){h=IHEAP[f+4*IHEAP[_optind]]+IHEAP[_getopt_long_lastofs]+2;IHEAP[_optarg]=h;if(IHEAP[h]!=0){d=44;break b}IHEAP[_optarg]=0}while(0);IHEAP[_optind]+=1}else IHEAP[_getopt_long_lastofs]+=1;h=IHEAP[_optopt]}while(0);return h}_getopt_long.__index__=Runtime.getFunctionIndex(_getopt_long,"_getopt_long");
+function callMain(b){function f(){for(var d=0;d<3;d++)c.push(0)}var e=b.length+1,c=[Pointer_make(intArrayFromString("/bin/this.program"),null)];f();for(var a=0;a<e-1;a+=1){c.push(Pointer_make(intArrayFromString(b[a]),null));f()}c.push(0);c=Pointer_make(c,null);Module._main(e,c)}Module.callMain=callMain;
+function run(){__initializeRuntime__();__str=Pointer_make([72,69,76,80,32,102,111,114,32,106,50,107,95,116,111,95,105,109,97,103,101,10,45,45,45,45,10,10,0],0,ALLOC_STATIC);__str1=Pointer_make([45,32,116,104,101,32,45,104,32,111,112,116,105,111,110,32,100,105,115,112,108,97,121,115,32,116,104,105,115,32,104,101,108,112,32,105,110,102,111,114,109,97,116,105,111,110,32,111,110,32,115,99,114,101,101,110,10,10,0],0,ALLOC_STATIC);__str2=Pointer_make([76,105,115,116,32,111,102,32,112,97,114,97,109,101,
+116,101,114,115,32,102,111,114,32,116,104,101,32,74,80,69,71,32,50,48,48,48,32,100,101,99,111,100,101,114,58,10,0],0,ALLOC_STATIC);__str4=Pointer_make([32,32,45,73,109,103,68,105,114,32,10,0],0,ALLOC_STATIC);__str5=Pointer_make([9,73,109,97,103,101,32,102,105,108,101,32,68,105,114,101,99,116,111,114,121,32,112,97,116,104,32,10,0],0,ALLOC_STATIC);__str6=Pointer_make([32,32,45,79,117,116,70,111,114,32,10,0],0,ALLOC_STATIC);__str7=Pointer_make([32,32,32,32,82,69,81,85,73,82,69,68,32,111,110,108,121,
+32,105,102,32,45,73,109,103,68,105,114,32,105,115,32,117,115,101,100,10,0],0,ALLOC_STATIC);__str8=Pointer_make([9,32,32,78,101,101,100,32,116,111,32,115,112,101,99,105,102,121,32,111,110,108,121,32,102,111,114,109,97,116,32,119,105,116,104,111,117,116,32,102,105,108,101,110,97,109,101,32,60,66,77,80,62,32,32,10,0],0,ALLOC_STATIC);__str9=Pointer_make([32,32,32,32,67,117,114,114,101,110,116,108,121,32,97,99,99,101,112,116,115,32,80,71,77,44,32,80,80,77,44,32,80,78,77,44,32,80,71,88,44,32,80,78,71,44,
+32,66,77,80,44,32,84,73,70,44,32,82,65,87,32,97,110,100,32,84,71,65,32,102,111,114,109,97,116,115,10,0],0,ALLOC_STATIC);__str10=Pointer_make([32,32,45,105,32,60,99,111,109,112,114,101,115,115,101,100,32,102,105,108,101,62,10,0],0,ALLOC_STATIC);__str11=Pointer_make([32,32,32,32,82,69,81,85,73,82,69,68,32,111,110,108,121,32,105,102,32,97,110,32,73,110,112,117,116,32,105,109,97,103,101,32,100,105,114,101,99,116,111,114,121,32,110,111,116,32,115,112,101,99,105,102,105,101,100,10,0],0,ALLOC_STATIC);__str12=
+Pointer_make([32,32,32,32,67,117,114,114,101,110,116,108,121,32,97,99,99,101,112,116,115,32,74,50,75,45,102,105,108,101,115,44,32,74,80,50,45,102,105,108,101,115,32,97,110,100,32,74,80,84,45,102,105,108,101,115,46,32,84,104,101,32,102,105,108,101,32,116,121,112,101,10,0],0,ALLOC_STATIC);__str13=Pointer_make([32,32,32,32,105,115,32,105,100,101,110,116,105,102,105,101,100,32,98,97,115,101,100,32,111,110,32,105,116,115,32,115,117,102,102,105,120,46,10,0],0,ALLOC_STATIC);__str14=Pointer_make([32,32,45,
+111,32,60,100,101,99,111,109,112,114,101,115,115,101,100,32,102,105,108,101,62,10,0],0,ALLOC_STATIC);__str15=Pointer_make([32,32,32,32,82,69,81,85,73,82,69,68,10,0],0,ALLOC_STATIC);__str16=Pointer_make([32,32,32,32,67,117,114,114,101,110,116,108,121,32,97,99,99,101,112,116,115,32,80,71,77,44,32,80,80,77,44,32,80,78,77,44,32,80,71,88,44,32,80,78,71,44,32,66,77,80,44,32,84,73,70,44,32,82,65,87,32,97,110,100,32,84,71,65,32,102,105,108,101,115,10,0],0,ALLOC_STATIC);__str17=Pointer_make([32,32,32,32,66,
+105,110,97,114,121,32,100,97,116,97,32,105,115,32,119,114,105,116,116,101,110,32,116,111,32,116,104,101,32,102,105,108,101,32,40,110,111,116,32,97,115,99,105,105,41,46,32,73,102,32,97,32,80,71,88,10,0],0,ALLOC_STATIC);__str18=Pointer_make([32,32,32,32,102,105,108,101,110,97,109,101,32,105,115,32,103,105,118,101,110,44,32,116,104,101,114,101,32,119,105,108,108,32,98,101,32,97,115,32,109,97,110,121,32,111,117,116,112,117,116,32,102,105,108,101,115,32,97,115,32,116,104,101,114,101,32,97,114,101,10,0],
+0,ALLOC_STATIC);__str19=Pointer_make([32,32,32,32,99,111,109,112,111,110,101,110,116,115,58,32,97,110,32,105,110,100,105,99,101,32,115,116,97,114,116,105,110,103,32,102,114,111,109,32,48,32,119,105,108,108,32,116,104,101,110,32,98,101,32,97,112,112,101,110,100,101,100,32,116,111,32,116,104,101,10,0],0,ALLOC_STATIC);__str20=Pointer_make([32,32,32,32,111,117,116,112,117,116,32,102,105,108,101,110,97,109,101,44,32,106,117,115,116,32,98,101,102,111,114,101,32,116,104,101,32,34,112,103,120,34,32,101,120,
+116,101,110,115,105,111,110,46,32,73,102,32,97,32,80,71,77,32,102,105,108,101,110,97,109,101,10,0],0,ALLOC_STATIC);__str21=Pointer_make([32,32,32,32,105,115,32,103,105,118,101,110,32,97,110,100,32,116,104,101,114,101,32,97,114,101,32,109,111,114,101,32,116,104,97,110,32,111,110,101,32,99,111,109,112,111,110,101,110,116,44,32,111,110,108,121,32,116,104,101,32,102,105,114,115,116,32,99,111,109,112,111,110,101,110,116,10,0],0,ALLOC_STATIC);__str22=Pointer_make([32,32,32,32,119,105,108,108,32,98,101,
+32,119,114,105,116,116,101,110,32,116,111,32,116,104,101,32,102,105,108,101,46,10,0],0,ALLOC_STATIC);__str23=Pointer_make([32,32,45,114,32,60,114,101,100,117,99,101,32,102,97,99,116,111,114,62,10,0],0,ALLOC_STATIC);__str24=Pointer_make([32,32,32,32,83,101,116,32,116,104,101,32,110,117,109,98,101,114,32,111,102,32,104,105,103,104,101,115,116,32,114,101,115,111,108,117,116,105,111,110,32,108,101,118,101,108,115,32,116,111,32,98,101,32,100,105,115,99,97,114,100,101,100,46,32,84,104,101,10,0],0,ALLOC_STATIC);
+__str25=Pointer_make([32,32,32,32,105,109,97,103,101,32,114,101,115,111,108,117,116,105,111,110,32,105,115,32,101,102,102,101,99,116,105,118,101,108,121,32,100,105,118,105,100,101,100,32,98,121,32,50,32,116,111,32,116,104,101,32,112,111,119,101,114,32,111,102,32,116,104,101,10,0],0,ALLOC_STATIC);__str26=Pointer_make([32,32,32,32,110,117,109,98,101,114,32,111,102,32,100,105,115,99,97,114,100,101,100,32,108,101,118,101,108,115,46,32,84,104,101,32,114,101,100,117,99,101,32,102,97,99,116,111,114,32,105,
+115,32,108,105,109,105,116,101,100,32,98,121,32,116,104,101,10,0],0,ALLOC_STATIC);__str27=Pointer_make([32,32,32,32,115,109,97,108,108,101,115,116,32,116,111,116,97,108,32,110,117,109,98,101,114,32,111,102,32,100,101,99,111,109,112,111,115,105,116,105,111,110,32,108,101,118,101,108,115,32,97,109,111,110,103,32,116,105,108,101,115,46,10,0],0,ALLOC_STATIC);__str28=Pointer_make([32,32,45,108,32,60,110,117,109,98,101,114,32,111,102,32,113,117,97,108,105,116,121,32,108,97,121,101,114,115,32,116,111,32,
+100,101,99,111,100,101,62,10,0],0,ALLOC_STATIC);__str29=Pointer_make([32,32,32,32,83,101,116,32,116,104,101,32,109,97,120,105,109,117,109,32,110,117,109,98,101,114,32,111,102,32,113,117,97,108,105,116,121,32,108,97,121,101,114,115,32,116,111,32,100,101,99,111,100,101,46,32,73,102,32,116,104,101,114,101,32,97,114,101,10,0],0,ALLOC_STATIC);__str30=Pointer_make([32,32,32,32,108,101,115,115,32,113,117,97,108,105,116,121,32,108,97,121,101,114,115,32,116,104,97,110,32,116,104,101,32,115,112,101,99,105,
+102,105,101,100,32,110,117,109,98,101,114,44,32,97,108,108,32,116,104,101,32,113,117,97,108,105,116,121,32,108,97,121,101,114,115,10,0],0,ALLOC_STATIC);__str31=Pointer_make([32,32,32,32,97,114,101,32,100,101,99,111,100,101,100,46,10,0],0,ALLOC_STATIC);__str32=Pointer_make([32,32,45,120,32,32,10,0],0,ALLOC_STATIC);__str33=Pointer_make([32,32,32,32,67,114,101,97,116,101,32,97,110,32,105,110,100,101,120,32,102,105,108,101,32,42,46,73,100,120,32,40,45,120,32,105,110,100,101,120,95,110,97,109,101,46,73,
+100,120,41,32,10,0],0,ALLOC_STATIC);__str34=Pointer_make([67,111,117,108,100,32,110,111,116,32,111,112,101,110,32,70,111,108,100,101,114,32,37,115,10,0],0,ALLOC_STATIC);__str35=Pointer_make([46,0],0,ALLOC_STATIC);__str36=Pointer_make([46,46,0],0,ALLOC_STATIC);__str37=Pointer_make([70,111,108,100,101,114,32,111,112,101,110,101,100,32,115,117,99,99,101,115,115,102,117,108,108,121,10,0],0,ALLOC_STATIC);_get_file_format_extension=Pointer_make([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],0,ALLOC_STATIC);__str38=Pointer_make([112,103,120,0],0,ALLOC_STATIC);__str39=Pointer_make([112,110,109,0],0,ALLOC_STATIC);__str40=Pointer_make([112,103,109,0],0,ALLOC_STATIC);__str41=Pointer_make([112,112,109,0],0,ALLOC_STATIC);__str42=Pointer_make([98,109,112,0],0,ALLOC_STATIC);__str43=Pointer_make([116,105,102,0],0,ALLOC_STATIC);__str44=Pointer_make([114,97,119,0],0,ALLOC_STATIC);__str45=Pointer_make([116,103,97,0],0,ALLOC_STATIC);__str46=Pointer_make([112,
+110,103,0],0,ALLOC_STATIC);__str47=Pointer_make([106,50,107,0],0,ALLOC_STATIC);__str48=Pointer_make([106,112,50,0],0,ALLOC_STATIC);__str49=Pointer_make([106,112,116,0],0,ALLOC_STATIC);__str50=Pointer_make([106,50,99,0],0,ALLOC_STATIC);__str51=Pointer_make([106,112,99,0],0,ALLOC_STATIC);_get_file_format_format=Pointer_make([11,0,0,0,10,0,0,0,10,0,0,0,10,0,0,0,12,0,0,0,14,0,0,0,15,0,0,0,16,0,0,0,17,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0],0,ALLOC_STATIC);__str52=Pointer_make([70,105,108,101,32,
+78,117,109,98,101,114,32,37,100,32,34,37,115,34,10,0],0,ALLOC_STATIC);__str53=Pointer_make([37,115,47,37,115,0],0,ALLOC_STATIC);__str54=Pointer_make([46,37,115,0],0,ALLOC_STATIC);__str55=Pointer_make([37,115,47,37,115,46,37,115,0],0,ALLOC_STATIC);__str56=Pointer_make([73,109,103,68,105,114,0],0,ALLOC_STATIC);__str57=Pointer_make([79,117,116,70,111,114,0],0,ALLOC_STATIC);_parse_cmdline_decoder_long_option=Pointer_make([0,0,0,0,1,0,0,0,0,0,0,0,121,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,79,0,0,0],0,ALLOC_STATIC);
+_parse_cmdline_decoder_optlist=Pointer_make([105,58,111,58,114,58,108,58,120,58,104,0],0,ALLOC_STATIC);__str58=Pointer_make([33,33,32,85,110,114,101,99,111,103,110,105,122,101,100,32,102,111,114,109,97,116,32,102,111,114,32,105,110,102,105,108,101,32,58,32,37,115,32,91,97,99,99,101,112,116,32,111,110,108,121,32,42,46,106,50,107,44,32,42,46,106,112,50,44,32,42,46,106,112,99,32,111,114,32,42,46,106,112,116,93,32,33,33,10,10,0],0,ALLOC_STATIC);__str59=Pointer_make([85,110,107,110,111,119,110,32,111,
+117,116,112,117,116,32,102,111,114,109,97,116,32,105,109,97,103,101,32,37,115,32,91,111,110,108,121,32,42,46,112,110,109,44,32,42,46,112,103,109,44,32,42,46,112,112,109,44,32,42,46,112,103,120,44,32,42,46,98,109,112,44,32,42,46,116,105,102,44,32,42,46,114,97,119,32,111,114,32,42,46,116,103,97,93,33,33,32,10,0],0,ALLOC_STATIC);__str60=Pointer_make([37,100,0],0,ALLOC_STATIC);__str61=Pointer_make([87,65,82,78,73,78,71,32,45,62,32,116,104,105,115,32,111,112,116,105,111,110,32,105,115,32,110,111,116,32,
+118,97,108,105,100,32,34,45,37,99,32,37,115,34,10,0],0,ALLOC_STATIC);__str62=Pointer_make([69,114,114,111,114,58,32,111,112,116,105,111,110,115,32,45,73,109,103,68,105,114,32,97,110,100,32,45,105,32,99,97,110,110,111,116,32,98,101,32,117,115,101,100,32,116,111,103,101,116,104,101,114,32,33,33,10,0],0,ALLOC_STATIC);__str63=Pointer_make([69,114,114,111,114,58,32,87,104,101,110,32,45,73,109,103,68,105,114,32,105,115,32,117,115,101,100,44,32,45,79,117,116,70,111,114,32,60,70,79,82,77,65,84,62,32,109,
+117,115,116,32,98,101,32,117,115,101,100,32,33,33,10,0],0,ALLOC_STATIC);__str64=Pointer_make([79,110,108,121,32,111,110,101,32,102,111,114,109,97,116,32,97,108,108,111,119,101,100,33,32,86,97,108,105,100,32,102,111,114,109,97,116,32,80,71,77,44,32,80,80,77,44,32,80,78,77,44,32,80,71,88,44,32,66,77,80,44,32,84,73,70,44,32,82,65,87,32,97,110,100,32,84,71,65,33,33,10,0],0,ALLOC_STATIC);__str65=Pointer_make([69,114,114,111,114,58,32,111,112,116,105,111,110,115,32,45,73,109,103,68,105,114,32,97,110,100,
+32,45,111,32,99,97,110,110,111,116,32,98,101,32,117,115,101,100,32,116,111,103,101,116,104,101,114,32,33,33,10,0],0,ALLOC_STATIC);__str66=Pointer_make([69,120,97,109,112,108,101,58,32,37,115,32,45,105,32,105,109,97,103,101,46,106,50,107,32,45,111,32,105,109,97,103,101,46,112,103,109,10,0],0,ALLOC_STATIC);__str67=Pointer_make([32,32,32,32,84,114,121,58,32,37,115,32,45,104,10,0],0,ALLOC_STATIC);__str68=Pointer_make([91,69,82,82,79,82,93,32,37,115,0],0,ALLOC_STATIC);__str69=Pointer_make([91,87,65,82,
+78,73,78,71,93,32,37,115,0],0,ALLOC_STATIC);__str70=Pointer_make([91,73,78,70,79,93,32,37,115,0],0,ALLOC_STATIC);__str71=Pointer_make([70,111,108,100,101,114,32,105,115,32,101,109,112,116,121,10,0],0,ALLOC_STATIC);__str72=Pointer_make([115,107,105,112,112,105,110,103,32,102,105,108,101,46,46,46,10,0],0,ALLOC_STATIC);__str73=Pointer_make([114,98,0],0,ALLOC_STATIC);__str74=Pointer_make([69,82,82,79,82,32,45,62,32,102,97,105,108,101,100,32,116,111,32,111,112,101,110,32,37,115,32,102,111,114,32,114,101,
+97,100,105,110,103,10,0],0,ALLOC_STATIC);__str75=Pointer_make([69,82,82,79,82,32,45,62,32,106,50,107,95,116,111,95,105,109,97,103,101,58,32,102,97,105,108,101,100,32,116,111,32,100,101,99,111,100,101,32,105,109,97,103,101,33,10,0],0,ALLOC_STATIC);__str76=Pointer_make([70,97,105,108,101,100,32,116,111,32,111,117,116,112,117,116,32,105,110,100,101,120,32,102,105,108,101,10,0],0,ALLOC_STATIC);__str77=Pointer_make([115,107,105,112,112,105,110,103,32,102,105,108,101,46,46,10,0],0,ALLOC_STATIC);__str78=
+Pointer_make([79,117,116,102,105,108,101,32,37,115,32,110,111,116,32,103,101,110,101,114,97,116,101,100,10,0],0,ALLOC_STATIC);__str79=Pointer_make([71,101,110,101,114,97,116,101,100,32,79,117,116,102,105,108,101,32,37,115,10,0],0,ALLOC_STATIC);__str80=Pointer_make([69,114,114,111,114,32,103,101,110,101,114,97,116,105,110,103,32,114,97,119,32,102,105,108,101,46,32,79,117,116,102,105,108,101,32,37,115,32,110,111,116,32,103,101,110,101,114,97,116,101,100,10,0],0,ALLOC_STATIC);__str81=Pointer_make([83,
+117,99,99,101,115,115,102,117,108,108,121,32,103,101,110,101,114,97,116,101,100,32,79,117,116,102,105,108,101,32,37,115,10,0],0,ALLOC_STATIC);__str82=Pointer_make([69,114,114,111,114,32,103,101,110,101,114,97,116,105,110,103,32,116,103,97,32,102,105,108,101,46,32,79,117,116,102,105,108,101,32,37,115,32,110,111,116,32,103,101,110,101,114,97,116,101,100,10,0],0,ALLOC_STATIC);__str83=Pointer_make([69,114,114,111,114,32,103,101,110,101,114,97,116,105,110,103,32,112,110,103,32,102,105,108,101,46,32,79,
+117,116,102,105,108,101,32,37,115,32,110,111,116,32,103,101,110,101,114,97,116,101,100,10,0],0,ALLOC_STATIC);__str84=Pointer_make([69,114,114,111,114,32,97,108,108,111,99,97,116,105,110,103,32,109,101,109,111,114,121,32,102,111,114,32,99,111,109,112,114,101,115,115,101,100,32,98,105,116,115,116,114,101,97,109,10,0],0,ALLOC_STATIC);__str185=Pointer_make([119,114,105,116,101,32,101,114,114,111,114,10,0],0,ALLOC_STATIC);__str286=Pointer_make([114,101,97,100,32,101,114,114,111,114,58,32,112,97,115,115,
+101,100,32,116,104,101,32,101,110,100,32,111,102,32,116,104,101,32,99,111,100,101,115,116,114,101,97,109,32,40,115,116,97,114,116,32,61,32,37,100,44,32,99,117,114,114,101,110,116,32,61,32,37,100,44,32,101,110,100,32,61,32,37,100,10,0],0,ALLOC_STATIC);_dwt_norms=Pointer_make([1,0,0,0,0,0,0,0,1.5,0,0,0,0,0,0,0,2.75,0,0,0,0,0,0,0,5.375,0,0,0,0,0,0,0,10.68,0,0,0,0,0,0,0,21.34,0,0,0,0,0,0,0,42.67,0,0,0,0,0,0,0,85.33,0,0,0,0,0,0,0,170.7,0,0,0,0,0,0,0,341.3,0,0,0,0,0,0,0,1.038,0,0,0,0,0,0,0,1.592,0,0,0,
+0,0,0,0,2.919,0,0,0,0,0,0,0,5.703,0,0,0,0,0,0,0,11.33,0,0,0,0,0,0,0,22.64,0,0,0,0,0,0,0,45.25,0,0,0,0,0,0,0,90.48,0,0,0,0,0,0,0,180.9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.038,0,0,0,0,0,0,0,1.592,0,0,0,0,0,0,0,2.919,0,0,0,0,0,0,0,5.703,0,0,0,0,0,0,0,11.33,0,0,0,0,0,0,0,22.64,0,0,0,0,0,0,0,45.25,0,0,0,0,0,0,0,90.48,0,0,0,0,0,0,0,180.9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.7186,0,0,0,0,0,0,0,0.9218,0,0,0,0,0,0,0,1.586,0,0,0,0,0,0,0,3.043,0,0,0,0,0,0,0,6.019,0,0,0,0,0,0,0,12.01,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,47.97,
+0,0,0,0,0,0,0,95.93,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],0,ALLOC_STATIC);_dwt_norms_real=Pointer_make([1,0,0,0,0,0,0,0,1.965,0,0,0,0,0,0,0,4.177,0,0,0,0,0,0,0,8.403,0,0,0,0,0,0,0,16.9,0,0,0,0,0,0,0,33.84,0,0,0,0,0,0,0,67.69,0,0,0,0,0,0,0,135.3,0,0,0,0,0,0,0,270.6,0,0,0,0,0,0,0,540.9,0,0,0,0,0,0,0,2.022,0,0,0,0,0,0,0,3.989,0,0,0,0,0,0,0,8.355,0,0,0,0,0,0,0,17.04,0,0,0,0,0,0,0,34.27,0,0,0,0,0,0,0,68.63,0,0,0,0,0,0,0,137.3,0,0,0,0,0,0,0,274.6,0,0,0,0,0,0,0,549,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.022,0,0,0,0,0,
+0,0,3.989,0,0,0,0,0,0,0,8.355,0,0,0,0,0,0,0,17.04,0,0,0,0,0,0,0,34.27,0,0,0,0,0,0,0,68.63,0,0,0,0,0,0,0,137.3,0,0,0,0,0,0,0,274.6,0,0,0,0,0,0,0,549,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.08,0,0,0,0,0,0,0,3.865,0,0,0,0,0,0,0,8.307,0,0,0,0,0,0,0,17.18,0,0,0,0,0,0,0,34.71,0,0,0,0,0,0,0,69.59,0,0,0,0,0,0,0,139.3,0,0,0,0,0,0,0,278.6,0,0,0,0,0,0,0,557.2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],0,ALLOC_STATIC);__str387=Pointer_make([85,110,97,98,108,101,32,116,111,32,97,108,108,111,99,97,116,101,32,109,101,109,111,114,121,
+32,102,111,114,32,105,109,97,103,101,46,10,0],0,ALLOC_STATIC);_j2k_prog_order_list=Pointer_make([4,0,0,0,67,80,82,76,0,0,0,0,76,82,67,80,3,0,0,0,80,67,82,76,1,0,0,0,82,76,67,80,2,0,0,0,82,80,67,76,-1,0,0,0,0,0,0,0],0,ALLOC_STATIC);_j2k_dec_mstab=Pointer_make([65359,0,0,0,1,0,0,0,0,0,0,0,65424,0,0,0,12,0,0,0,0,0,0,0,65427,0,0,0,16,0,0,0,0,0,0,0,65497,0,0,0,8,0,0,0,0,0,0,0,65361,0,0,0,2,0,0,0,0,0,0,0,65362,0,0,0,20,0,0,0,0,0,0,0,65363,0,0,0,20,0,0,0,0,0,0,0,65374,0,0,0,20,0,0,0,0,0,0,0,65372,0,0,0,
+20,0,0,0,0,0,0,0,65373,0,0,0,20,0,0,0,0,0,0,0,65375,0,0,0,20,0,0,0,0,0,0,0,65365,0,0,0,4,0,0,0,0,0,0,0,65367,0,0,0,4,0,0,0,0,0,0,0,65368,0,0,0,16,0,0,0,0,0,0,0,65376,0,0,0,4,0,0,0,0,0,0,0,65377,0,0,0,16,0,0,0,0,0,0,0,65425,0,0,0,0,0,0,0,0,0,0,0,65379,0,0,0,4,0,0,0,0,0,0,0,65380,0,0,0,20,0,0,0,0,0,0,0,0,0,0,0,20,0,0,0,0,0,0,0],0,ALLOC_STATIC);__str488=Pointer_make([37,46,56,120,58,32,101,120,112,101,99,116,101,100,32,97,32,109,97,114,107,101,114,32,105,110,115,116,101,97,100,32,111,102,32,37,120,10,
+0],0,ALLOC_STATIC);__str1589=Pointer_make([37,46,56,120,58,32,117,110,101,120,112,101,99,116,101,100,32,109,97,114,107,101,114,32,37,120,10,0],0,ALLOC_STATIC);__str2690=Pointer_make([77,97,105,110,32,72,101,97,100,101,114,32,100,101,99,111,100,101,100,46,10,0],0,ALLOC_STATIC);__str3791=Pointer_make([73,110,99,111,109,112,108,101,116,101,32,98,105,116,115,116,114,101,97,109,10,0],0,ALLOC_STATIC);__str4892=Pointer_make([91,74,80,84,45,115,116,114,101,97,109,93,32,58,32,69,120,112,101,99,116,105,110,
+103,32,77,97,105,110,32,104,101,97,100,101,114,32,102,105,114,115,116,32,91,99,108,97,115,115,95,73,100,32,37,100,93,32,33,10,0],0,ALLOC_STATIC);__str593=Pointer_make([91,74,80,84,45,115,116,114,101,97,109,93,32,58,32,69,120,112,101,99,116,105,110,103,32,84,105,108,101,32,105,110,102,111,32,33,10,0],0,ALLOC_STATIC);__str694=Pointer_make([116,105,108,101,32,110,117,109,98,101,114,32,37,100,32,47,32,37,100,10,0],0,ALLOC_STATIC);__str795=Pointer_make([85,110,107,110,111,119,110,32,109,97,114,107,101,
+114,10,0],0,ALLOC_STATIC);__str896=Pointer_make([69,114,114,111,114,32,100,101,99,111,100,105,110,103,32,99,111,109,112,111,110,101,110,116,32,37,100,46,10,84,104,101,32,110,117,109,98,101,114,32,111,102,32,114,101,115,111,108,117,116,105,111,110,115,32,116,111,32,114,101,109,111,118,101,32,105,115,32,104,105,103,104,101,114,32,116,104,97,110,32,116,104,101,32,110,117,109,98,101,114,32,111,102,32,114,101,115,111,108,117,116,105,111,110,115,32,111,102,32,116,104,105,115,32,99,111,109,112,111,110,101,
+110,116,10,77,111,100,105,102,121,32,116,104,101,32,99,112,95,114,101,100,117,99,101,32,112,97,114,97,109,101,116,101,114,46,10,10,0],0,ALLOC_STATIC);__str997=Pointer_make([37,115,58,32,105,110,118,97,108,105,100,32,105,109,97,103,101,32,115,105,122,101,32,40,120,48,58,37,100,44,32,120,49,58,37,100,44,32,121,48,58,37,100,44,32,121,49,58,37,100,41,10,0],0,ALLOC_STATIC);_opj_clock_last=Pointer_make([-1],0,ALLOC_STATIC);__str1198=Pointer_make([69,120,112,101,99,116,101,100,32,74,80,50,72,32,77,97,114,
+107,101,114,10,0],0,ALLOC_STATIC);__str112=Pointer_make([70,97,105,108,101,100,32,116,111,32,100,101,99,111,100,101,32,106,112,50,32,115,116,114,117,99,116,117,114,101,10,0],0,ALLOC_STATIC);__str213=Pointer_make([70,97,105,108,101,100,32,116,111,32,100,101,99,111,100,101,32,74,50,75,32,105,109,97,103,101,10,0],0,ALLOC_STATIC);__str314=Pointer_make([73,110,118,97,108,105,100,32,110,117,109,98,101,114,32,111,102,32,99,111,109,112,111,110,101,110,116,115,32,115,112,101,99,105,102,105,101,100,32,119,
+104,105,108,101,32,115,101,116,116,105,110,103,32,117,112,32,74,80,50,32,101,110,99,111,100,101,114,10,0],0,ALLOC_STATIC);__str415=Pointer_make([70,97,105,108,101,100,32,116,111,32,101,110,99,111,100,101,32,105,109,97,103,101,10,0],0,ALLOC_STATIC);__str516=Pointer_make([69,120,112,101,99,116,101,100,32,70,84,89,80,32,77,97,114,107,101,114,10,0],0,ALLOC_STATIC);__str617=Pointer_make([69,114,114,111,114,32,119,105,116,104,32,70,84,89,80,32,66,111,120,10,0],0,ALLOC_STATIC);__str718=Pointer_make([69,
+120,112,101,99,116,101,100,32,74,80,32,77,97,114,107,101,114,10,0],0,ALLOC_STATIC);__str819=Pointer_make([69,114,114,111,114,32,119,105,116,104,32,74,80,32,77,97,114,107,101,114,10,0],0,ALLOC_STATIC);__str920=Pointer_make([69,114,114,111,114,32,119,105,116,104,32,74,80,32,66,111,120,32,115,105,122,101,10,0],0,ALLOC_STATIC);__str1099=Pointer_make([69,114,114,111,114,32,119,105,116,104,32,67,79,76,82,32,98,111,120,32,115,105,122,101,10,0],0,ALLOC_STATIC);__str1121=Pointer_make([69,114,114,111,114,32,
+119,105,116,104,32,67,79,76,82,32,66,111,120,10,0],0,ALLOC_STATIC);__str12100=Pointer_make([69,120,112,101,99,116,101,100,32,66,80,67,67,32,77,97,114,107,101,114,10,0],0,ALLOC_STATIC);__str13101=Pointer_make([69,114,114,111,114,32,119,105,116,104,32,66,80,67,67,32,66,111,120,10,0],0,ALLOC_STATIC);__str14102=Pointer_make([69,120,112,101,99,116,101,100,32,73,72,68,82,32,77,97,114,107,101,114,10,0],0,ALLOC_STATIC);__str1522=Pointer_make([69,114,114,111,114,32,119,105,116,104,32,73,72,68,82,32,66,111,
+120,10,0],0,ALLOC_STATIC);__str16103=Pointer_make([67,97,110,110,111,116,32,104,97,110,100,108,101,32,98,111,120,32,115,105,122,101,115,32,104,105,103,104,101,114,32,116,104,97,110,32,50,94,51,50,10,0],0,ALLOC_STATIC);__str23104=Pointer_make([70,111,114,98,105,100,100,101,110,32,118,97,108,117,101,32,101,110,99,111,117,110,116,101,114,32,105,110,32,109,101,115,115,97,103,101,32,104,101,97,100,101,114,32,33,33,10,0],0,ALLOC_STATIC);_mct_norms=Pointer_make([1.732,0,0,0,0,0,0,0,0.8292,0,0,0,0,0,0,0,
+0.8292,0,0,0,0,0,0,0],0,ALLOC_STATIC);_mct_norms_real=Pointer_make([1.732,0,0,0,0,0,0,0,1.805,0,0,0,0,0,0,0,1.573,0,0,0,0,0,0,0],0,ALLOC_STATIC);_mqc_states=Pointer_make([22017,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22017,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,13313,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13313,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,6145,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6145,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,2753,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2753,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1313,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1313,0,0,0,
+1,0,0,0,0,0,0,0,0,0,0,0,545,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,545,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,22017,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22017,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,21505,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21505,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,18433,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18433,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,14337,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14337,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,12289,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12289,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,9217,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9217,0,0,0,1,0,
+0,0,0,0,0,0,0,0,0,0,7169,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7169,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,5633,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5633,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,22017,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22017,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,21505,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21505,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,20737,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20737,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,18433,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18433,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,14337,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14337,0,0,0,1,0,0,
+0,0,0,0,0,0,0,0,0,13313,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13313,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,12289,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12289,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,10241,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10241,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,9217,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9217,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,8705,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8705,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,7169,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7169,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,6145,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6145,0,0,0,1,0,0,0,0,0,
+0,0,0,0,0,0,5633,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5633,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,5121,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5121,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,4609,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4609,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,4353,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4353,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,2753,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2753,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,2497,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2497,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,2209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2209,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,
+1313,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1313,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1089,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1089,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,673,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,545,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,545,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,321,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,321,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,273,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,273,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,133,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,133,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,73,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,73,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,22017,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22017,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],0,ALLOC_STATIC);__str27105=Pointer_make([49,46,52,46,48,0],
+0,ALLOC_STATIC);__str128=Pointer_make([83,101,116,32,105,110,100,101,120,32,116,111,32,78,85,76,76,32,119,104,101,110,32,99,97,108,108,105,110,103,32,116,104,101,32,111,112,106,95,101,110,99,111,100,101,32,102,117,110,99,116,105,111,110,46,10,84,111,32,101,120,116,114,97,99,116,32,116,104,101,32,105,110,100,101,120,44,32,117,115,101,32,116,104,101,32,111,112,106,95,101,110,99,111,100,101,95,119,105,116,104,95,105,110,102,111,40,41,32,102,117,110,99,116,105,111,110,46,10,78,111,32,105,110,100,101,
+120,32,119,105,108,108,32,98,101,32,103,101,110,101,114,97,116,101,100,32,100,117,114,105,110,103,32,116,104,105,115,32,101,110,99,111,100,105,110,103,10,0],0,ALLOC_STATIC);__str29106=Pointer_make([67,80,82,76,0],0,ALLOC_STATIC);__str130=Pointer_make([76,82,67,80,0],0,ALLOC_STATIC);__str231=Pointer_make([80,67,82,76,0],0,ALLOC_STATIC);__str332=Pointer_make([82,76,67,80,0],0,ALLOC_STATIC);__str433=Pointer_make([82,80,67,76,0],0,ALLOC_STATIC);_t1_updateflags_mod=Pointer_make([64,0,1088,0,32,0,544,0,
+128,0,2176,0,16,0,272,0],0,ALLOC_STATIC);_lut_spb=Pointer_make([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,1,1,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,0,0,0,0,0,0,1,0,0,1,1,1,1,1,1,1,0,0,0,1,0,0,1,1,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,1,0,0,0,0,0,0,1,1,0,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,0,0,1,1,0,0,1,1,1,0,0,1,0,0,1,1,0,0,1,1,0,
+1,1,1,1,1,0,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],0,ALLOC_STATIC);_lut_ctxno_sc=Pointer_make([9,10,12,13,10,10,13,13,12,13,12,13,13,13,13,13,9,10,12,11,10,9,13,12,12,11,12,11,13,12,13,12,9,10,12,11,10,10,11,11,12,13,9,10,13,13,10,10,9,10,12,13,10,9,11,12,12,11,9,10,13,12,10,9,9,10,12,13,10,9,11,12,12,13,12,13,11,12,11,12,9,10,12,11,10,10,11,11,12,11,12,11,11,11,11,11,9,10,12,11,10,9,13,12,12,13,9,10,11,12,10,9,9,10,12,13,10,10,13,13,12,11,9,10,11,11,10,10,9,10,12,13,10,10,
+13,13,12,11,9,10,11,11,10,10,9,10,12,11,10,9,13,12,12,13,9,10,11,12,10,9,9,10,12,11,10,10,11,11,12,11,12,11,11,11,11,11,9,10,12,13,10,9,11,12,12,13,12,13,11,12,11,12,9,10,12,13,10,9,11,12,12,11,9,10,13,12,10,9,9,10,12,11,10,10,11,11,12,13,9,10,13,13,10,10,9,10,12,11,10,9,13,12,12,11,12,11,13,12,13,12,9,10,12,13,10,10,13,13,12,13,12,13,13,13,13,13],0,ALLOC_STATIC);_lut_ctxno_zc=Pointer_make([0,1,1,2,1,2,2,2,1,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,
+7,7,7,7,7,7,7,7,7,7,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,0,1,1,2,1,2,2,2,1,2,2,2,2,2,2,2,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,7,
+7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,0,1,1,2,1,2,2,2,1,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,6,6,6,6,6,6,6,6,6,6,6,
+6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,0,3,3,6,3,6,6,8,3,6,6,8,6,8,8,8,1,4,4,7,4,7,7,8,4,7,7,8,7,8,8,8,1,4,4,7,4,7,7,
+8,4,7,7,8,7,8,8,8,2,5,5,7,5,7,7,8,5,7,7,8,7,8,8,8,1,4,4,7,4,7,7,8,4,7,7,8,7,8,8,8,2,5,5,7,5,7,7,8,5,7,7,8,7,8,8,8,2,5,5,7,5,7,7,8,5,7,7,8,7,8,8,8,2,5,5,7,5,7,7,8,5,7,7,8,7,8,8,8,1,4,4,7,4,7,7,8,4,7,7,8,7,8,8,8,2,5,5,7,5,7,7,8,5,7,7,8,7,8,8,8,2,5,5,7,5,7,7,8,5,7,7,8,7,8,8,8,2,5,5,7,5,7,7,8,5,7,7,8,7,8,8,8,2,5,5,7,5,7,7,8,5,7,7,8,7,8,8,8,2,5,5,7,5,7,7,8,5,7,7,8,7,8,8,8,2,5,5,7,5,7,7,8,5,7,7,8,7,8,8,8,2,5,5,7,5,7,7,8,5,7,7,8,7,8,8,8],0,ALLOC_STATIC);_lut_nmsedec_sig=Pointer_make([0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,384,0,768,0,1152,0,1536,0,1920,0,2304,0,2688,0,3072,0,3456,0,3840,0,4224,0,4608,0,4992,0,5376,0,5760,0,6144,0,6528,0,6912,0,7296,0,7680,0,8064,0,8448,0,8832,0,9216,0,9600,0,9984,0,10368,0,10752,0,11136,0,11520,0,11904,0,12288,0,12672,0,13056,0,13440,0,13824,0,14208,0,14592,0,14976,0,15360,0,15744,0,16128,0,16512,0,16896,0,17280,
+0,17664,0,18048,0,18432,0,18816,0,19200,0,19584,0,19968,0,20352,0,20736,0,21120,0,21504,0,21888,0,22272,0,22656,0,23040,0,23424,0,23808,0,24192,0,24576,0,24960,0,25344,0,25728,0,26112,0,26496,0,26880,0,27264,0,27648,0,28032,0,28416,0,28800,0,29184,0,29568,0,29952,0,30336,0],0,ALLOC_STATIC);_lut_nmsedec_sig0=Pointer_make([0,0,0,0,0,0,0,0,0,0,0,0,128,0,128,0,128,0,128,0,256,0,256,0,256,0,384,0,384,0,512,0,512,0,640,0,640,0,768,0,768,0,896,0,1024,0,1024,0,1152,0,1280,0,1408,0,1408,0,1536,0,1664,0,1792,
+0,1920,0,2048,0,2176,0,2304,0,2432,0,2560,0,2688,0,2944,0,3072,0,3200,0,3328,0,3584,0,3712,0,3840,0,4096,0,4224,0,4480,0,4608,0,4864,0,4992,0,5248,0,5376,0,5632,0,5888,0,6016,0,6272,0,6528,0,6784,0,6912,0,7168,0,7424,0,7680,0,7936,0,8192,0,8448,0,8704,0,8960,0,9216,0,9472,0,9856,0,10112,0,10368,0,10624,0,11008,0,11264,0,11520,0,11904,0,12160,0,12544,0,12800,0,13184,0,13440,0,13824,0,14080,0,14464,0,14848,0,15104,0,15488,0,15872,0,16256,0,16512,0,16896,0,17280,0,17664,0,18048,0,18432,0,18816,0,19200,
+0,19584,0,19968,0,20352,0,20864,0,21248,0,21632,0,22016,0,22528,0,22912,0,23296,0,23808,0,24192,0,24704,0,25088,0,25600,0,25984,0,26496,0,26880,0,27392,0,27904,0,28288,0,28800,0,29312,0,29824,0,30208,0,30720,0,31232,0,31744,0,32256,0],0,ALLOC_STATIC);_lut_nmsedec_ref=Pointer_make([6144,0,6016,0,5888,0,5760,0,5632,0,5504,0,5376,0,5248,0,5120,0,4992,0,4864,0,4736,0,4608,0,4480,0,4352,0,4224,0,4096,0,3968,0,3840,0,3712,0,3584,0,3456,0,3328,0,3200,0,3072,0,2944,0,2816,0,2688,0,2560,0,2432,0,2304,0,2176,
+0,2048,0,1920,0,1792,0,1664,0,1536,0,1408,0,1280,0,1152,0,1024,0,896,0,768,0,640,0,512,0,384,0,256,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,256,0,384,0,512,0,640,0,768,0,896,0,1024,0,1152,0,1280,0,1408,0,1536,0,1664,0,1792,0,1920,0,2048,0,2176,0,2304,0,2432,0,2560,0,2688,0,2816,0,2944,0,3072,0,3200,0,3328,0,3456,0,3584,0,3712,0,3840,0,3968,0,4096,0,4224,0,4352,0,4480,0,4608,0,4736,0,4864,0,4992,
+0,5120,0,5248,0,5376,0,5504,0,5632,0,5760,0,5888,0,6016,0],0,ALLOC_STATIC);_lut_nmsedec_ref0=Pointer_make([8192,0,7936,0,7680,0,7424,0,7168,0,6912,0,6784,0,6528,0,6272,0,6016,0,5888,0,5632,0,5376,0,5248,0,4992,0,4864,0,4608,0,4480,0,4224,0,4096,0,3840,0,3712,0,3584,0,3328,0,3200,0,3072,0,2944,0,2688,0,2560,0,2432,0,2304,0,2176,0,2048,0,1920,0,1792,0,1664,0,1536,0,1408,0,1408,0,1280,0,1152,0,1024,0,1024,0,896,0,768,0,768,0,640,0,640,0,512,0,512,0,384,0,384,0,256,0,256,0,256,0,128,0,128,0,128,0,128,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,128,0,128,0,128,0,256,0,256,0,256,0,384,0,384,0,512,0,512,0,640,0,640,0,768,0,768,0,896,0,1024,0,1024,0,1152,0,1280,0,1408,0,1408,0,1536,0,1664,0,1792,0,1920,0,2048,0,2176,0,2304,0,2432,0,2560,0,2688,0,2944,0,3072,0,3200,0,3328,0,3584,0,3712,0,3840,0,4096,0,4224,0,4480,0,4608,0,4864,0,4992,0,5248,0,5376,0,5632,0,5888,0,6016,0,6272,0,6528,0,6784,0,6912,0,7168,0,7424,0,7680,0,7936,0],0,ALLOC_STATIC);__str41107=Pointer_make([69,114,114,111,114,32,105,
+110,105,116,105,97,108,105,122,105,110,103,32,80,97,99,107,101,116,32,73,116,101,114,97,116,111,114,10,0],0,ALLOC_STATIC);__str142=Pointer_make([69,120,112,101,99,116,101,100,32,83,79,80,32,109,97,114,107,101,114,10,0],0,ALLOC_STATIC);__str344=Pointer_make([69,120,112,101,99,116,101,100,32,69,80,72,32,109,97,114,107,101,114,10,0],0,ALLOC_STATIC);__str49108=Pointer_make([105,109,97,103,101,32,123,10,0],0,ALLOC_STATIC);__str150=Pointer_make([32,32,116,119,61,37,100,44,32,116,104,61,37,100,32,120,48,
+61,37,100,32,120,49,61,37,100,32,121,48,61,37,100,32,121,49,61,37,100,10,0],0,ALLOC_STATIC);__str251=Pointer_make([32,32,116,105,108,101,32,123,10,0],0,ALLOC_STATIC);__str352=Pointer_make([32,32,32,32,120,48,61,37,100,44,32,121,48,61,37,100,44,32,120,49,61,37,100,44,32,121,49,61,37,100,44,32,110,117,109,99,111,109,112,115,61,37,100,10,0],0,ALLOC_STATIC);__str453=Pointer_make([32,32,32,32,116,105,108,101,99,32,123,10,0],0,ALLOC_STATIC);__str554=Pointer_make([32,32,32,32,32,32,120,48,61,37,100,44,32,
+121,48,61,37,100,44,32,120,49,61,37,100,44,32,121,49,61,37,100,44,32,110,117,109,114,101,115,111,108,117,116,105,111,110,115,61,37,100,10,0],0,ALLOC_STATIC);__str655=Pointer_make([10,32,32,32,114,101,115,32,123,10,0],0,ALLOC_STATIC);__str756=Pointer_make([32,32,32,32,32,32,32,32,32,32,120,48,61,37,100,44,32,121,48,61,37,100,44,32,120,49,61,37,100,44,32,121,49,61,37,100,44,32,112,119,61,37,100,44,32,112,104,61,37,100,44,32,110,117,109,98,97,110,100,115,61,37,100,10,0],0,ALLOC_STATIC);__str857=Pointer_make([32,
+32,32,32,32,32,32,32,98,97,110,100,32,123,10,0],0,ALLOC_STATIC);__str958=Pointer_make([32,32,32,32,32,32,32,32,32,32,120,48,61,37,100,44,32,121,48,61,37,100,44,32,120,49,61,37,100,44,32,121,49,61,37,100,44,32,115,116,101,112,115,105,122,101,61,37,102,44,32,110,117,109,98,112,115,61,37,100,10,0],0,ALLOC_STATIC);__str1059=Pointer_make([32,32,32,32,32,32,32,32,32,32,112,114,101,99,32,123,10,0],0,ALLOC_STATIC);__str1160=Pointer_make([32,32,32,32,32,32,32,32,32,32,32,32,120,48,61,37,100,44,32,121,48,61,
+37,100,44,32,120,49,61,37,100,44,32,121,49,61,37,100,44,32,99,119,61,37,100,44,32,99,104,61,37,100,10,0],0,ALLOC_STATIC);__str1261=Pointer_make([32,32,32,32,32,32,32,32,32,32,125,10,0],0,ALLOC_STATIC);__str1362=Pointer_make([32,32,32,32,32,32,32,32,125,10,0],0,ALLOC_STATIC);__str1463=Pointer_make([32,32,32,32,32,32,125,10,0],0,ALLOC_STATIC);__str1564=Pointer_make([32,32,32,32,125,10,0],0,ALLOC_STATIC);__str1665=Pointer_make([32,32,125,10,0],0,ALLOC_STATIC);__str17109=Pointer_make([125,10,0],0,ALLOC_STATIC);
+__str18110=Pointer_make([45,32,116,105,108,101,32,101,110,99,111,100,101,100,32,105,110,32,37,102,32,115,10,0],0,ALLOC_STATIC);__str19111=Pointer_make([116,105,108,101,32,37,100,32,111,102,32,37,100,10,0],0,ALLOC_STATIC);__str20112=Pointer_make([116,99,100,95,100,101,99,111,100,101,58,32,105,110,99,111,109,112,108,101,116,101,32,98,105,115,116,114,101,97,109,10,0],0,ALLOC_STATIC);__str21113=Pointer_make([45,32,116,105,101,114,115,45,49,32,116,111,111,107,32,37,102,32,115,10,0],0,ALLOC_STATIC);__str22114=
+Pointer_make([69,114,114,111,114,32,100,101,99,111,100,105,110,103,32,116,105,108,101,46,32,84,104,101,32,110,117,109,98,101,114,32,111,102,32,114,101,115,111,108,117,116,105,111,110,115,32,116,111,32,114,101,109,111,118,101,32,91,37,100,43,49,93,32,105,115,32,104,105,103,104,101,114,32,116,104,97,110,32,116,104,101,32,110,117,109,98,101,114,32,32,111,102,32,114,101,115,111,108,117,116,105,111,110,115,32,105,110,32,116,104,101,32,111,114,105,103,105,110,97,108,32,99,111,100,101,115,116,114,101,97,
+109,32,91,37,100,93,10,77,111,100,105,102,121,32,116,104,101,32,99,112,95,114,101,100,117,99,101,32,112,97,114,97,109,101,116,101,114,46,10,0],0,ALLOC_STATIC);__str2366=Pointer_make([45,32,100,119,116,32,116,111,111,107,32,37,102,32,115,10,0],0,ALLOC_STATIC);__str24115=Pointer_make([45,32,116,105,108,101,32,100,101,99,111,100,101,100,32,105,110,32,37,102,32,115,10,0],0,ALLOC_STATIC);__str25116=Pointer_make([119,0],0,ALLOC_STATIC);__str126=Pointer_make([102,97,105,108,101,100,32,116,111,32,111,112,
+101,110,32,105,110,100,101,120,32,102,105,108,101,32,91,37,115,93,32,102,111,114,32,119,114,105,116,105,110,103,10,0],0,ALLOC_STATIC);__str227=Pointer_make([37,100,32,37,100,10,0],0,ALLOC_STATIC);__str328=Pointer_make([37,100,10,0],0,ALLOC_STATIC);__str429=Pointer_make([91,37,100,44,37,100,93,32,0],0,ALLOC_STATIC);__str631=Pointer_make([10,73,78,70,79,32,79,78,32,84,73,76,69,83,10,0],0,ALLOC_STATIC);__str732=Pointer_make([116,105,108,101,110,111,32,115,116,97,114,116,95,112,111,115,32,32,101,110,
+100,95,104,100,32,32,101,110,100,95,116,105,108,101,32,32,32,110,98,112,97,114,116,115,0],0,ALLOC_STATIC);__str833=Pointer_make([32,32,32,32,32,32,32,32,32,100,105,115,116,111,0],0,ALLOC_STATIC);__str934=Pointer_make([32,32,32,32,32,110,98,112,105,120,0],0,ALLOC_STATIC);__str1035=Pointer_make([32,32,100,105,115,116,111,47,110,98,112,105,120,0],0,ALLOC_STATIC);__str1136=Pointer_make([37,52,100,32,37,57,100,32,37,57,100,32,37,57,100,32,37,57,100,0],0,ALLOC_STATIC);__str1237=Pointer_make([32,37,57,101,
+0],0,ALLOC_STATIC);__str1338=Pointer_make([32,37,57,100,0],0,ALLOC_STATIC);__str1439=Pointer_make([10,84,73,76,69,32,37,100,32,68,69,84,65,73,76,83,10,0],0,ALLOC_STATIC);__str1540=Pointer_make([112,97,114,116,95,110,98,32,116,105,108,101,110,111,32,32,115,116,97,114,116,95,112,97,99,107,32,110,117,109,95,112,97,99,107,115,32,32,115,116,97,114,116,95,112,111,115,32,101,110,100,95,116,112,104,95,112,111,115,32,32,32,101,110,100,95,112,111,115,10,0],0,ALLOC_STATIC);__str1641=Pointer_make([37,52,100,
+32,37,57,100,32,32,32,37,57,100,32,37,57,100,32,32,37,57,100,32,37,49,49,100,32,37,57,100,10,0],0,ALLOC_STATIC);__str1742=Pointer_make([76,82,67,80,10,112,97,99,107,95,110,98,32,116,105,108,101,110,111,32,108,97,121,110,111,32,114,101,115,110,111,32,99,111,109,112,110,111,32,112,114,101,99,110,111,32,115,116,97,114,116,95,112,111,115,32,101,110,100,95,112,104,95,112,111,115,32,101,110,100,95,112,111,115,0],0,ALLOC_STATIC);__str1843=Pointer_make([32,100,105,115,116,111,0],0,ALLOC_STATIC);__str1944=
+Pointer_make([37,52,100,32,37,54,100,32,37,55,100,32,37,53,100,32,37,54,100,32,32,37,54,100,32,32,32,32,37,54,100,32,32,32,32,32,37,54,100,32,37,55,100,0],0,ALLOC_STATIC);__str2045=Pointer_make([32,37,56,101,0],0,ALLOC_STATIC);__str2146=Pointer_make([82,76,67,80,10,112,97,99,107,95,110,98,32,116,105,108,101,110,111,32,114,101,115,110,111,32,108,97,121,110,111,32,99,111,109,112,110,111,32,112,114,101,99,110,111,32,115,116,97,114,116,95,112,111,115,32,101,110,100,95,112,104,95,112,111,115,32,101,110,
+100,95,112,111,115,10,0],0,ALLOC_STATIC);__str2247=Pointer_make([37,52,100,32,37,54,100,32,37,53,100,32,37,55,100,32,37,54,100,32,37,54,100,32,37,57,100,32,32,32,37,57,100,32,37,55,100,0],0,ALLOC_STATIC);__str2348=Pointer_make([82,80,67,76,10,112,97,99,107,95,110,98,32,116,105,108,101,110,111,32,114,101,115,110,111,32,112,114,101,99,110,111,32,99,111,109,112,110,111,32,108,97,121,110,111,32,115,116,97,114,116,95,112,111,115,32,101,110,100,95,112,104,95,112,111,115,32,101,110,100,95,112,111,115,0],
+0,ALLOC_STATIC);__str2449=Pointer_make([37,52,100,32,37,54,100,32,37,53,100,32,37,54,100,32,37,54,100,32,37,55,100,32,37,57,100,32,32,32,37,57,100,32,37,55,100,0],0,ALLOC_STATIC);__str2550=Pointer_make([80,67,82,76,10,112,97,99,107,95,110,98,32,116,105,108,101,110,111,32,112,114,101,99,110,111,32,99,111,109,112,110,111,32,114,101,115,110,111,32,108,97,121,110,111,32,115,116,97,114,116,95,112,111,115,32,101,110,100,95,112,104,95,112,111,115,32,101,110,100,95,112,111,115,0],0,ALLOC_STATIC);__str2651=
+Pointer_make([37,52,100,32,37,54,100,32,37,54,100,32,37,54,100,32,37,53,100,32,37,55,100,32,37,57,100,32,32,32,37,57,100,32,37,55,100,0],0,ALLOC_STATIC);__str2752=Pointer_make([67,80,82,76,10,112,97,99,107,95,110,98,32,116,105,108,101,110,111,32,99,111,109,112,110,111,32,112,114,101,99,110,111,32,114,101,115,110,111,32,108,97,121,110,111,32,115,116,97,114,116,95,112,111,115,32,101,110,100,95,112,104,95,112,111,115,32,101,110,100,95,112,111,115,0],0,ALLOC_STATIC);__str28117=Pointer_make([37,56,101,
+10,0],0,ALLOC_STATIC);__str2953=Pointer_make([37,46,56,101,10,0],0,ALLOC_STATIC);__str30118=Pointer_make([10,77,65,82,75,69,82,32,76,73,83,84,10,0],0,ALLOC_STATIC);__str31119=Pointer_make([116,121,112,101,9,115,116,97,114,116,95,112,111,115,32,32,32,32,108,101,110,103,116,104,10,0],0,ALLOC_STATIC);__str32120=Pointer_make([37,88,9,37,57,100,32,37,57,100,10,0],0,ALLOC_STATIC);__str33121=Pointer_make([71,101,110,101,114,97,116,101,100,32,105,110,100,101,120,32,102,105,108,101,32,37,115,10,0],0,ALLOC_STATIC);
+__str54122=Pointer_make([83,111,114,114,121,44,32,99,111,109,112,114,101,115,115,101,100,32,116,103,97,32,102,105,108,101,115,32,97,114,101,32,110,111,116,32,99,117,114,114,101,110,116,108,121,32,115,117,112,112,111,114,116,101,100,46,10,0],0,ALLOC_STATIC);__str155=Pointer_make([70,105,108,101,32,99,111,110,116,97,105,110,115,32,97,32,112,97,108,101,116,116,101,32,45,32,110,111,116,32,121,101,116,32,115,117,112,112,111,114,116,101,100,46,0],0,ALLOC_STATIC);__str357=Pointer_make([70,97,105,108,101,
+100,32,116,111,32,111,112,101,110,32,37,115,32,102,111,114,32,114,101,97,100,105,110,103,32,33,33,10,0],0,ALLOC_STATIC);__str458=Pointer_make([67,117,114,114,101,110,116,108,121,32,117,110,115,117,112,112,111,114,116,101,100,32,98,105,116,32,100,101,112,116,104,32,58,32,37,115,10,0],0,ALLOC_STATIC);__str559=Pointer_make([119,98,0],0,ALLOC_STATIC);__str660=Pointer_make([69,82,82,79,82,32,45,62,32,102,97,105,108,101,100,32,116,111,32,111,112,101,110,32,37,115,32,102,111,114,32,119,114,105,116,105,110,
+103,10,0],0,ALLOC_STATIC);__str761=Pointer_make([85,110,97,98,108,101,32,116,111,32,99,114,101,97,116,101,32,97,32,116,103,97,32,102,105,108,101,32,119,105,116,104,32,115,117,99,104,32,74,50,75,32,105,109,97,103,101,32,99,104,97,114,97,116,101,114,105,115,116,105,99,115,46,0],0,ALLOC_STATIC);__str862=Pointer_make([69,114,114,111,114,44,32,110,111,116,32,97,32,66,77,80,32,102,105,108,101,33,10,0],0,ALLOC_STATIC);__str963=Pointer_make([78,111,32,68,101,108,116,97,32,115,117,112,112,111,114,116,101,
+100,10,0],0,ALLOC_STATIC);__str1064=Pointer_make([79,116,104,101,114,32,115,121,115,116,101,109,32,116,104,97,110,32,50,52,32,98,105,116,115,47,112,105,120,101,108,115,32,111,114,32,56,32,98,105,116,115,32,40,110,111,32,82,76,69,32,99,111,100,105,110,103,41,32,105,115,32,110,111,116,32,121,101,116,32,105,109,112,108,101,109,101,110,116,101,100,32,91,37,100,93,10,0],0,ALLOC_STATIC);__str1165=Pointer_make([66,77,0],0,ALLOC_STATIC);__str1266=Pointer_make([37,99,37,99,37,99,37,99,0],0,ALLOC_STATIC);__str1367=
+Pointer_make([37,99,37,99,0],0,ALLOC_STATIC);__str1468=Pointer_make([66,77,80,32,67,79,78,86,69,82,83,73,79,78,58,32,84,114,117,110,99,97,116,105,110,103,32,99,111,109,112,111,110,101,110,116,32,48,32,102,114,111,109,32,37,100,32,98,105,116,115,32,116,111,32,56,32,98,105,116,115,10,0],0,ALLOC_STATIC);__str1569=Pointer_make([66,77,80,32,67,79,78,86,69,82,83,73,79,78,58,32,84,114,117,110,99,97,116,105,110,103,32,99,111,109,112,111,110,101,110,116,32,49,32,102,114,111,109,32,37,100,32,98,105,116,115,
+32,116,111,32,56,32,98,105,116,115,10,0],0,ALLOC_STATIC);__str1670=Pointer_make([66,77,80,32,67,79,78,86,69,82,83,73,79,78,58,32,84,114,117,110,99,97,116,105,110,103,32,99,111,109,112,111,110,101,110,116,32,50,32,102,114,111,109,32,37,100,32,98,105,116,115,32,116,111,32,56,32,98,105,116,115,10,0],0,ALLOC_STATIC);__str1771=Pointer_make([37,99,37,99,37,99,0],0,ALLOC_STATIC);__str1973=Pointer_make([70,97,105,108,101,100,32,116,111,32,111,112,101,110,32,37,115,32,102,111,114,32,114,101,97,100,105,110,
+103,32,33,10,0],0,ALLOC_STATIC);__str2074=Pointer_make([80,71,37,91,32,9,93,37,99,37,99,37,91,32,9,43,45,93,37,100,37,91,32,9,93,37,100,37,91,32,9,93,37,100,0],0,ALLOC_STATIC);__str2175=Pointer_make([66,97,100,32,112,103,120,32,104,101,97,100,101,114,44,32,112,108,101,97,115,101,32,99,104,101,99,107,32,105,110,112,117,116,32,102,105,108,101,10,0],0,ALLOC_STATIC);__str2276=Pointer_make([69,82,82,79,82,32,45,62,32,73,109,112,111,115,115,105,98,108,101,32,104,97,112,112,101,110,46,0],0,ALLOC_STATIC);
+__str2377=Pointer_make([45,37,100,46,112,103,120,0],0,ALLOC_STATIC);__str2478=Pointer_make([46,112,103,120,0],0,ALLOC_STATIC);__str2579=Pointer_make([80,71,32,77,76,32,37,99,32,37,100,32,37,100,32,37,100,10,0],0,ALLOC_STATIC);__str2680=Pointer_make([37,100,32,37,100,10,50,53,53,0],0,ALLOC_STATIC);__str2781=Pointer_make([37,117,0],0,ALLOC_STATIC);__str2882=Pointer_make([80,54,10,37,100,32,37,100,10,37,100,10,0],0,ALLOC_STATIC);__str2983=Pointer_make([80,78,77,32,67,79,78,86,69,82,83,73,79,78,58,32,
+84,114,117,110,99,97,116,105,110,103,32,99,111,109,112,111,110,101,110,116,32,48,32,102,114,111,109,32,37,100,32,98,105,116,115,32,116,111,32,56,32,98,105,116,115,10,0],0,ALLOC_STATIC);__str3084=Pointer_make([80,78,77,32,67,79,78,86,69,82,83,73,79,78,58,32,84,114,117,110,99,97,116,105,110,103,32,99,111,109,112,111,110,101,110,116,32,49,32,102,114,111,109,32,37,100,32,98,105,116,115,32,116,111,32,56,32,98,105,116,115,10,0],0,ALLOC_STATIC);__str3185=Pointer_make([80,78,77,32,67,79,78,86,69,82,83,73,
+79,78,58,32,84,114,117,110,99,97,116,105,110,103,32,99,111,109,112,111,110,101,110,116,32,50,32,102,114,111,109,32,37,100,32,98,105,116,115,32,116,111,32,56,32,98,105,116,115,10,0],0,ALLOC_STATIC);__str3286=Pointer_make([87,65,82,78,73,78,71,32,45,62,32,91,80,71,77,32,102,105,108,101,115,93,32,79,110,108,121,32,116,104,101,32,102,105,114,115,116,32,99,111,109,112,111,110,101,110,116,10,0],0,ALLOC_STATIC);__str3387=Pointer_make([32,32,32,32,32,32,32,32,32,32,32,105,115,32,119,114,105,116,116,101,110,
+32,116,111,32,116,104,101,32,102,105,108,101,10,0],0,ALLOC_STATIC);__str34123=Pointer_make([37,100,46,37,115,0],0,ALLOC_STATIC);__str36125=Pointer_make([80,53,10,37,100,32,37,100,10,37,100,10,0],0,ALLOC_STATIC);__str3788=Pointer_make([80,78,77,32,67,79,78,86,69,82,83,73,79,78,58,32,84,114,117,110,99,97,116,105,110,103,32,99,111,109,112,111,110,101,110,116,32,37,100,32,102,114,111,109,32,37,100,32,98,105,116,115,32,116,111,32,56,32,98,105,116,115,10,0],0,ALLOC_STATIC);__str38126=Pointer_make([66,105,
+116,115,61,37,100,44,32,79,110,108,121,32,56,44,49,50,44,49,54,32,98,105,116,115,32,105,109,112,108,101,109,101,110,116,101,100,10,0],0,ALLOC_STATIC);__str39127=Pointer_make([65,98,111,114,116,105,110,103,10,0],0,ALLOC_STATIC);__str40128=Pointer_make([84,73,70,70,32,102,105,108,101,32,99,114,101,97,116,105,111,110,46,32,66,105,116,115,61,37,100,44,32,79,110,108,121,32,56,44,49,50,44,49,54,32,98,105,116,115,32,105,109,112,108,101,109,101,110,116,101,100,10,0],0,ALLOC_STATIC);__str4189=Pointer_make([84,
+73,70,70,32,102,105,108,101,32,99,114,101,97,116,105,111,110,46,32,66,97,100,32,99,111,108,111,114,32,102,111,114,109,97,116,46,32,79,110,108,121,32,82,71,66,32,38,32,71,114,97,121,115,99,97,108,101,32,104,97,115,32,98,101,101,110,32,105,109,112,108,101,109,101,110,116,101,100,10,0],0,ALLOC_STATIC);__str42129=Pointer_make([114,0],0,ALLOC_STATIC);__str43130=Pointer_make([70,97,105,108,101,100,32,116,111,32,111,112,101,110,32,37,115,32,102,111,114,32,114,101,97,100,105,110,103,10,0],0,ALLOC_STATIC);
+__str44131=Pointer_make([10,69,114,114,111,114,58,32,105,110,118,97,108,105,100,32,114,97,119,32,105,109,97,103,101,32,112,97,114,97,109,101,116,101,114,115,10,0],0,ALLOC_STATIC);__str45132=Pointer_make([80,108,101,97,115,101,32,117,115,101,32,116,104,101,32,70,111,114,109,97,116,32,111,112,116,105,111,110,32,45,70,58,10,0],0,ALLOC_STATIC);__str46133=Pointer_make([45,70,32,114,97,119,87,105,100,116,104,44,114,97,119,72,101,105,103,104,116,44,114,97,119,67,111,109,112,44,114,97,119,66,105,116,68,101,
+112,116,104,44,115,47,117,32,40,83,105,103,110,101,100,47,85,110,115,105,103,110,101,100,41,10,0],0,ALLOC_STATIC);__str47134=Pointer_make([69,120,97,109,112,108,101,58,32,45,105,32,108,101,110,97,46,114,97,119,32,45,111,32,108,101,110,97,46,106,50,107,32,45,70,32,53,49,50,44,53,49,50,44,51,44,56,44,117,10,0],0,ALLOC_STATIC);__str4890=Pointer_make([69,114,114,111,114,32,114,101,97,100,105,110,103,32,114,97,119,32,102,105,108,101,46,32,69,110,100,32,111,102,32,102,105,108,101,32,112,114,111,98,97,98,
+108,121,32,114,101,97,99,104,101,100,46,10,0],0,ALLOC_STATIC);__str4991=Pointer_make([79,112,101,110,74,80,69,71,32,99,97,110,110,111,116,32,101,110,99,111,100,101,32,114,97,119,32,99,111,109,112,111,110,101,110,116,115,32,119,105,116,104,32,98,105,116,32,100,101,112,116,104,32,104,105,103,104,101,114,32,116,104,97,110,32,49,54,32,98,105,116,115,46,10,0],0,ALLOC_STATIC);__str50135=Pointer_make([87,97,114,110,105,110,103,46,32,69,110,100,32,111,102,32,114,97,119,32,102,105,108,101,32,110,111,116,32,
+114,101,97,99,104,101,100,46,46,46,32,112,114,111,99,101,115,115,105,110,103,32,97,110,121,119,97,121,10,0],0,ALLOC_STATIC);__str51136=Pointer_make([70,97,105,108,101,100,32,116,111,32,111,112,101,110,32,37,115,32,102,111,114,32,119,114,105,116,105,110,103,32,33,33,10,0],0,ALLOC_STATIC);__str52137=Pointer_make([82,97,119,32,105,109,97,103,101,32,99,104,97,114,97,99,116,101,114,105,115,116,105,99,115,58,32,37,100,32,99,111,109,112,111,110,101,110,116,115,10,0],0,ALLOC_STATIC);__str53138=Pointer_make([67,
+111,109,112,111,110,101,110,116,32,37,100,32,99,104,97,114,97,99,116,101,114,105,115,116,105,99,115,58,32,37,100,120,37,100,120,37,100,32,37,115,10,0],0,ALLOC_STATIC);__str5492=Pointer_make([115,105,103,110,101,100,0],0,ALLOC_STATIC);__str55139=Pointer_make([117,110,115,105,103,110,101,100,0],0,ALLOC_STATIC);__str56140=Pointer_make([77,111,114,101,32,116,104,97,110,32,49,54,32,98,105,116,115,32,112,101,114,32,99,111,109,112,111,110,101,110,116,32,110,111,32,104,97,110,100,108,101,100,32,121,101,116,
+10,0],0,ALLOC_STATIC);__str57141=Pointer_make([69,114,114,111,114,58,32,105,110,118,97,108,105,100,32,112,114,101,99,105,115,105,111,110,58,32,37,100,10,0],0,ALLOC_STATIC);__str58142=Pointer_make([112,110,103,116,111,105,109,97,103,101,58,32,99,97,110,32,110,111,116,32,111,112,101,110,32,37,115,10,0],0,ALLOC_STATIC);__str59143=Pointer_make([137,80,78,71,13,10,26,10,0],0,ALLOC_STATIC);__str60144=Pointer_make([112,110,103,116,111,105,109,97,103,101,58,32,37,115,32,105,115,32,110,111,32,118,97,108,105,
+100,32,80,78,71,32,102,105,108,101,10,0],0,ALLOC_STATIC);__str61145=Pointer_make([49,46,50,46,52,52,0],0,ALLOC_STATIC);__str62146=Pointer_make([105,109,97,103,101,116,111,112,110,103,58,32,99,97,110,32,110,111,116,32,99,114,101,97,116,101,32,37,115,10,9,119,114,111,110,103,32,98,105,116,95,100,101,112,116,104,32,37,100,10,0],0,ALLOC_STATIC);__str63147=Pointer_make([105,109,97,103,101,116,111,112,110,103,58,32,99,97,110,32,110,111,116,32,99,114,101,97,116,101,32,37,115,10,0],0,ALLOC_STATIC);__str96=
+Pointer_make([37,115,58,37,100,58,99,111,108,111,114,95,115,121,99,99,95,116,111,95,114,103,98,10,9,67,65,78,32,78,79,84,32,67,79,78,86,69,82,84,10,0],0,ALLOC_STATIC);__str197=Pointer_make([47,100,101,118,47,115,104,109,47,116,109,112,47,98,117,105,108,100,105,110,103,47,111,112,101,110,106,112,101,103,47,99,111,109,109,111,110,47,99,111,108,111,114,46,99,0],0,ALLOC_STATIC);_opterr=Pointer_make([1],0,ALLOC_STATIC);_optind=Pointer_make([1],0,ALLOC_STATIC);_getopt_place=Pointer_make([0],0,ALLOC_STATIC);
+__str98=Pointer_make([0],0,ALLOC_STATIC);_optreset=Pointer_make([0],0,ALLOC_STATIC);_optopt=Pointer_make([0],0,ALLOC_STATIC);__str199=Pointer_make([37,115,58,32,105,108,108,101,103,97,108,32,111,112,116,105,111,110,32,45,45,32,37,99,10,0],0,ALLOC_STATIC);_optarg=Pointer_make([0],0,ALLOC_STATIC);__str2100=Pointer_make([37,115,58,32,111,112,116,105,111,110,32,114,101,113,117,105,114,101,115,32,97,110,32,97,114,103,117,109,101,110,116,32,45,45,32,37,99,10,0],0,ALLOC_STATIC);_getopt_long_lastidx=Pointer_make([0],
+0,ALLOC_STATIC);_getopt_long_lastofs=Pointer_make([0],0,ALLOC_STATIC);__str3101=Pointer_make([37,115,58,32,111,112,116,105,111,110,32,100,111,101,115,32,110,111,116,32,114,101,113,117,105,114,101,32,97,110,32,97,114,103,117,109,101,110,116,46,32,73,103,110,111,114,105,110,103,32,37,115,10,0],0,ALLOC_STATIC);__str4102=Pointer_make([37,115,58,32,111,112,116,105,111,110,32,114,101,113,117,105,114,101,115,32,97,110,32,97,114,103,117,109,101,110,116,10,0],0,ALLOC_STATIC);__str5103=Pointer_make([37,115,
+58,32,111,112,116,105,111,110,32,114,101,113,117,105,114,101,115,32,97,110,32,97,114,103,117,109,101,110,116,32,10,0],0,ALLOC_STATIC);__str6104=Pointer_make([73,110,118,97,108,105,100,32,111,112,116,105,111,110,32,37,115,10,0],0,ALLOC_STATIC);__str7105=Pointer_make([73,110,118,97,108,105,100,32,111,112,116,105,111,110,10,0],0,ALLOC_STATIC);_str=Pointer_make([69,114,114,111,114,32,58,32,101,120,112,101,99,116,101,100,32,69,80,72,32,109,97,114,107,101,114,0],0,ALLOC_STATIC);IHEAP[_get_file_format_extension]=
+__str38;IHEAP[_get_file_format_extension+4]=__str39;IHEAP[_get_file_format_extension+8]=__str40;IHEAP[_get_file_format_extension+12]=__str41;IHEAP[_get_file_format_extension+16]=__str42;IHEAP[_get_file_format_extension+20]=__str43;IHEAP[_get_file_format_extension+24]=__str44;IHEAP[_get_file_format_extension+28]=__str45;IHEAP[_get_file_format_extension+32]=__str46;IHEAP[_get_file_format_extension+36]=__str47;IHEAP[_get_file_format_extension+40]=__str48;IHEAP[_get_file_format_extension+44]=__str49;
+IHEAP[_get_file_format_extension+48]=__str50;IHEAP[_get_file_format_extension+52]=__str51;IHEAP[_parse_cmdline_decoder_long_option]=__str56;IHEAP[_parse_cmdline_decoder_long_option+16]=__str57;IHEAP[_j2k_dec_mstab+8]=_j2k_read_soc.__index__;IHEAP[_j2k_dec_mstab+20]=_j2k_read_sot.__index__;IHEAP[_j2k_dec_mstab+32]=_j2k_read_sod.__index__;IHEAP[_j2k_dec_mstab+44]=_j2k_read_eoc.__index__;IHEAP[_j2k_dec_mstab+56]=_j2k_read_siz.__index__;IHEAP[_j2k_dec_mstab+68]=_j2k_read_cod.__index__;IHEAP[_j2k_dec_mstab+
+80]=_j2k_read_coc.__index__;IHEAP[_j2k_dec_mstab+92]=_j2k_read_rgn.__index__;IHEAP[_j2k_dec_mstab+104]=_j2k_read_qcd.__index__;IHEAP[_j2k_dec_mstab+116]=_j2k_read_qcc.__index__;IHEAP[_j2k_dec_mstab+128]=_j2k_read_poc.__index__;IHEAP[_j2k_dec_mstab+140]=_j2k_read_tlm.__index__;IHEAP[_j2k_dec_mstab+152]=_j2k_read_plm.__index__;IHEAP[_j2k_dec_mstab+164]=_j2k_read_plt.__index__;IHEAP[_j2k_dec_mstab+176]=_j2k_read_ppm.__index__;IHEAP[_j2k_dec_mstab+188]=_j2k_read_ppt.__index__;IHEAP[_j2k_dec_mstab+212]=
+_j2k_read_crg.__index__;IHEAP[_j2k_dec_mstab+224]=_j2k_read_com.__index__;IHEAP[_j2k_dec_mstab+236]=_j2k_read_unk.__index__;IHEAP[_mqc_states+8]=_mqc_states+32;IHEAP[_mqc_states+12]=_mqc_states+48;IHEAP[_mqc_states+24]=_mqc_states+48;IHEAP[_mqc_states+28]=_mqc_states+32;IHEAP[_mqc_states+40]=_mqc_states+64;IHEAP[_mqc_states+44]=_mqc_states+192;IHEAP[_mqc_states+56]=_mqc_states+80;IHEAP[_mqc_states+60]=_mqc_states+208;IHEAP[_mqc_states+72]=_mqc_states+96;IHEAP[_mqc_states+76]=_mqc_states+288;IHEAP[_mqc_states+
+88]=_mqc_states+112;IHEAP[_mqc_states+92]=_mqc_states+304;IHEAP[_mqc_states+104]=_mqc_states+128;IHEAP[_mqc_states+108]=_mqc_states+384;IHEAP[_mqc_states+120]=_mqc_states+144;IHEAP[_mqc_states+124]=_mqc_states+400;IHEAP[_mqc_states+136]=_mqc_states+160;IHEAP[_mqc_states+140]=_mqc_states+928;IHEAP[_mqc_states+152]=_mqc_states+176;IHEAP[_mqc_states+156]=_mqc_states+944;IHEAP[_mqc_states+168]=_mqc_states+1216;IHEAP[_mqc_states+172]=_mqc_states+1056;IHEAP[_mqc_states+184]=_mqc_states+1232;IHEAP[_mqc_states+
+188]=_mqc_states+1072;IHEAP[_mqc_states+200]=_mqc_states+224;IHEAP[_mqc_states+204]=_mqc_states+208;IHEAP[_mqc_states+216]=_mqc_states+240;IHEAP[_mqc_states+220]=_mqc_states+192;IHEAP[_mqc_states+232]=_mqc_states+256;IHEAP[_mqc_states+236]=_mqc_states+448;IHEAP[_mqc_states+248]=_mqc_states+272;IHEAP[_mqc_states+252]=_mqc_states+464;IHEAP[_mqc_states+264]=_mqc_states+288;IHEAP[_mqc_states+268]=_mqc_states+448;IHEAP[_mqc_states+280]=_mqc_states+304;IHEAP[_mqc_states+284]=_mqc_states+464;IHEAP[_mqc_states+
+296]=_mqc_states+320;IHEAP[_mqc_states+300]=_mqc_states+448;IHEAP[_mqc_states+312]=_mqc_states+336;IHEAP[_mqc_states+316]=_mqc_states+464;IHEAP[_mqc_states+328]=_mqc_states+352;IHEAP[_mqc_states+332]=_mqc_states+544;IHEAP[_mqc_states+344]=_mqc_states+368;IHEAP[_mqc_states+348]=_mqc_states+560;IHEAP[_mqc_states+360]=_mqc_states+384;IHEAP[_mqc_states+364]=_mqc_states+576;IHEAP[_mqc_states+376]=_mqc_states+400;IHEAP[_mqc_states+380]=_mqc_states+592;IHEAP[_mqc_states+392]=_mqc_states+416;IHEAP[_mqc_states+
+396]=_mqc_states+640;IHEAP[_mqc_states+408]=_mqc_states+432;IHEAP[_mqc_states+412]=_mqc_states+656;IHEAP[_mqc_states+424]=_mqc_states+928;IHEAP[_mqc_states+428]=_mqc_states+672;IHEAP[_mqc_states+440]=_mqc_states+944;IHEAP[_mqc_states+444]=_mqc_states+688;IHEAP[_mqc_states+456]=_mqc_states+480;IHEAP[_mqc_states+460]=_mqc_states+464;IHEAP[_mqc_states+472]=_mqc_states+496;IHEAP[_mqc_states+476]=_mqc_states+448;IHEAP[_mqc_states+488]=_mqc_states+512;IHEAP[_mqc_states+492]=_mqc_states+448;IHEAP[_mqc_states+
+504]=_mqc_states+528;IHEAP[_mqc_states+508]=_mqc_states+464;IHEAP[_mqc_states+520]=_mqc_states+544;IHEAP[_mqc_states+524]=_mqc_states+480;IHEAP[_mqc_states+536]=_mqc_states+560;IHEAP[_mqc_states+540]=_mqc_states+496;IHEAP[_mqc_states+552]=_mqc_states+576;IHEAP[_mqc_states+556]=_mqc_states+512;IHEAP[_mqc_states+568]=_mqc_states+592;IHEAP[_mqc_states+572]=_mqc_states+528;IHEAP[_mqc_states+584]=_mqc_states+608;IHEAP[_mqc_states+588]=_mqc_states+544;IHEAP[_mqc_states+600]=_mqc_states+624;IHEAP[_mqc_states+
+604]=_mqc_states+560;IHEAP[_mqc_states+616]=_mqc_states+640;IHEAP[_mqc_states+620]=_mqc_states+576;IHEAP[_mqc_states+632]=_mqc_states+656;IHEAP[_mqc_states+636]=_mqc_states+592;IHEAP[_mqc_states+648]=_mqc_states+672;IHEAP[_mqc_states+652]=_mqc_states+608;IHEAP[_mqc_states+664]=_mqc_states+688;IHEAP[_mqc_states+668]=_mqc_states+624;IHEAP[_mqc_states+680]=_mqc_states+704;IHEAP[_mqc_states+684]=_mqc_states+608;IHEAP[_mqc_states+696]=_mqc_states+720;IHEAP[_mqc_states+700]=_mqc_states+624;IHEAP[_mqc_states+
+712]=_mqc_states+736;IHEAP[_mqc_states+716]=_mqc_states+640;IHEAP[_mqc_states+728]=_mqc_states+752;IHEAP[_mqc_states+732]=_mqc_states+656;IHEAP[_mqc_states+744]=_mqc_states+768;IHEAP[_mqc_states+748]=_mqc_states+672;IHEAP[_mqc_states+760]=_mqc_states+784;IHEAP[_mqc_states+764]=_mqc_states+688;IHEAP[_mqc_states+776]=_mqc_states+800;IHEAP[_mqc_states+780]=_mqc_states+704;IHEAP[_mqc_states+792]=_mqc_states+816;IHEAP[_mqc_states+796]=_mqc_states+720;IHEAP[_mqc_states+808]=_mqc_states+832;IHEAP[_mqc_states+
+812]=_mqc_states+736;IHEAP[_mqc_states+824]=_mqc_states+848;IHEAP[_mqc_states+828]=_mqc_states+752;IHEAP[_mqc_states+840]=_mqc_states+864;IHEAP[_mqc_states+844]=_mqc_states+768;IHEAP[_mqc_states+856]=_mqc_states+880;IHEAP[_mqc_states+860]=_mqc_states+784;IHEAP[_mqc_states+872]=_mqc_states+896;IHEAP[_mqc_states+876]=_mqc_states+800;IHEAP[_mqc_states+888]=_mqc_states+912;IHEAP[_mqc_states+892]=_mqc_states+816;IHEAP[_mqc_states+904]=_mqc_states+928;IHEAP[_mqc_states+908]=_mqc_states+832;IHEAP[_mqc_states+
+920]=_mqc_states+944;IHEAP[_mqc_states+924]=_mqc_states+848;IHEAP[_mqc_states+936]=_mqc_states+960;IHEAP[_mqc_states+940]=_mqc_states+864;IHEAP[_mqc_states+952]=_mqc_states+976;IHEAP[_mqc_states+956]=_mqc_states+880;IHEAP[_mqc_states+968]=_mqc_states+992;IHEAP[_mqc_states+972]=_mqc_states+896;IHEAP[_mqc_states+984]=_mqc_states+1008;IHEAP[_mqc_states+988]=_mqc_states+912;IHEAP[_mqc_states+1E3]=_mqc_states+1024;IHEAP[_mqc_states+1004]=_mqc_states+928;IHEAP[_mqc_states+1016]=_mqc_states+1040;IHEAP[_mqc_states+
+1020]=_mqc_states+944;IHEAP[_mqc_states+1032]=_mqc_states+1056;IHEAP[_mqc_states+1036]=_mqc_states+960;IHEAP[_mqc_states+1048]=_mqc_states+1072;IHEAP[_mqc_states+1052]=_mqc_states+976;IHEAP[_mqc_states+1064]=_mqc_states+1088;IHEAP[_mqc_states+1068]=_mqc_states+992;IHEAP[_mqc_states+1080]=_mqc_states+1104;IHEAP[_mqc_states+1084]=_mqc_states+1008;IHEAP[_mqc_states+1096]=_mqc_states+1120;IHEAP[_mqc_states+1100]=_mqc_states+1024;IHEAP[_mqc_states+1112]=_mqc_states+1136;IHEAP[_mqc_states+1116]=_mqc_states+
+1040;IHEAP[_mqc_states+1128]=_mqc_states+1152;IHEAP[_mqc_states+1132]=_mqc_states+1056;IHEAP[_mqc_states+1144]=_mqc_states+1168;IHEAP[_mqc_states+1148]=_mqc_states+1072;IHEAP[_mqc_states+1160]=_mqc_states+1184;IHEAP[_mqc_states+1164]=_mqc_states+1088;IHEAP[_mqc_states+1176]=_mqc_states+1200;IHEAP[_mqc_states+1180]=_mqc_states+1104;IHEAP[_mqc_states+1192]=_mqc_states+1216;IHEAP[_mqc_states+1196]=_mqc_states+1120;IHEAP[_mqc_states+1208]=_mqc_states+1232;IHEAP[_mqc_states+1212]=_mqc_states+1136;IHEAP[_mqc_states+
+1224]=_mqc_states+1248;IHEAP[_mqc_states+1228]=_mqc_states+1152;IHEAP[_mqc_states+1240]=_mqc_states+1264;IHEAP[_mqc_states+1244]=_mqc_states+1168;IHEAP[_mqc_states+1256]=_mqc_states+1280;IHEAP[_mqc_states+1260]=_mqc_states+1184;IHEAP[_mqc_states+1272]=_mqc_states+1296;IHEAP[_mqc_states+1276]=_mqc_states+1200;IHEAP[_mqc_states+1288]=_mqc_states+1312;IHEAP[_mqc_states+1292]=_mqc_states+1216;IHEAP[_mqc_states+1304]=_mqc_states+1328;IHEAP[_mqc_states+1308]=_mqc_states+1232;IHEAP[_mqc_states+1320]=_mqc_states+
+1344;IHEAP[_mqc_states+1324]=_mqc_states+1248;IHEAP[_mqc_states+1336]=_mqc_states+1360;IHEAP[_mqc_states+1340]=_mqc_states+1264;IHEAP[_mqc_states+1352]=_mqc_states+1376;IHEAP[_mqc_states+1356]=_mqc_states+1280;IHEAP[_mqc_states+1368]=_mqc_states+1392;IHEAP[_mqc_states+1372]=_mqc_states+1296;IHEAP[_mqc_states+1384]=_mqc_states+1408;IHEAP[_mqc_states+1388]=_mqc_states+1312;IHEAP[_mqc_states+1400]=_mqc_states+1424;IHEAP[_mqc_states+1404]=_mqc_states+1328;IHEAP[_mqc_states+1416]=_mqc_states+1440;IHEAP[_mqc_states+
+1420]=_mqc_states+1344;IHEAP[_mqc_states+1432]=_mqc_states+1456;IHEAP[_mqc_states+1436]=_mqc_states+1360;IHEAP[_mqc_states+1448]=_mqc_states+1440;IHEAP[_mqc_states+1452]=_mqc_states+1376;IHEAP[_mqc_states+1464]=_mqc_states+1456;IHEAP[_mqc_states+1468]=_mqc_states+1392;IHEAP[_mqc_states+1480]=_mqc_states+1472;IHEAP[_mqc_states+1484]=_mqc_states+1472;IHEAP[_mqc_states+1496]=_mqc_states+1488;IHEAP[_mqc_states+1500]=_mqc_states+1488;IHEAP[_getopt_place]=__str98;_STDIO.init();__globalConstructor__()}
+Module.run=run;
diff --git a/demos/openjpeg.html b/demos/openjpeg.html
new file mode 100644
index 00000000..47c0d820
--- /dev/null
+++ b/demos/openjpeg.html
@@ -0,0 +1,107 @@
+<html>
+<head>
+ <title>
+ Emscripten: OpenJPEG Demo
+ </title>
+ <script type="text/javascript">
+ arguments = [];
+ NO_RUN = 1;
+ </script>
+ <script src="openjpeg.cc.js"></script>
+ <script src="syntensity_lobby.j2k.js"></script>
+ <script type="text/javascript">
+ // Wrapper around OpenJPEG
+ function j2k_to_image(data) {
+ run();
+ _STDIO.prepare('image.j2k', data);
+ callMain(['-i', 'image.j2k', '-o', 'image.raw']);
+ return _STDIO.streams[_STDIO.filenames['image.raw']].data;
+ }
+
+ var imageWidth, imageHeight;
+
+ // print function which the runtime will call. We figure out the image dimensions from there
+ function print(text) {
+ document.getElementById('output').innerHTML += text + '<br>';
+ var m = /Component 0 characteristics: (\d+)x(\d+)x(\d+) unsigned/.exec(text);
+ if (!m) return;
+ imageWidth = m[1];
+ imageHeight = m[2];
+ document.getElementById('output').innerHTML += '<b>(Image dimensions: ' + [imageWidth, imageHeight] + ')</b><br>';
+ }
+
+ function render(url) {
+ imageWidth = imageHeight = null;
+
+ // Demo image by default
+ var data = DEMO_FILE;
+
+ // If given a URL, fetch it
+ if (url && url[0] != '(') {
+ try {
+ var xhr = new XMLHttpRequest();
+ xhr.open("GET", url, false);
+ xhr.send(null);
+ var buffer = xhr.mozResponseArrayBuffer;
+ if (buffer) data = new Uint8Array(buffer);
+ } catch(e) {
+ alert('Could not load URL: ' + e);
+ return;
+ }
+ }
+
+ document.getElementById('output').innerHTML = '';
+ output = j2k_to_image(data);
+ if (!(imageWidth && imageHeight)) { // We should have figured these values out
+ alert('An error occurred.');
+ return;
+ }
+
+ var canvas = document.getElementById('canvas');
+ canvas.width = imageWidth;
+ canvas.height = imageHeight;
+
+ var ctx = canvas.getContext('2d');
+ var image = ctx.getImageData(0, 0, canvas.width, canvas.height);
+
+ var componentSize = canvas.width*canvas.height;
+ for (var y = 0; y < canvas.height; y++) {
+ for (var x = 0; x < canvas.width; x++) {
+ var value = output[y*canvas.width + x];
+ var base = (y*canvas.width + x)*4;
+ image.data[base + 0] = output[0*componentSize + y*canvas.width + x];
+ image.data[base + 1] = output[1*componentSize + y*canvas.width + x];
+ image.data[base + 2] = output[2*componentSize + y*canvas.width + x];
+ image.data[base + 3] = 255;
+ }
+ }
+ ctx.putImageData(image, 0, 0);
+ }
+ </script>
+</head>
+<body>
+ <h1>JPEG 2000 on the Web</h1>
+ <p>This is a demo of decoding <a href="http://en.wikipedia.org/wiki/JPEG_2000">JPEG 2000</a> images entirely in
+ JavaScript. It uses <a href="http://www.openjpeg.org/">OpenJPEG</a>, an open source library for JPEG 2000 images,
+ which was compiled to JavaScript using <a href="http://emscripten.org">Emscripten</a>.</p>
+ <p>After the image is
+ decoded into pixel data, it is rendered using a Canvas element. This demo should therefore work in any web
+ browser that supports the Canvas element, whether or not that web browser natively supports the JPEG 2000 format.</p>
+ <p>Click 'Go!' to render a demo image (from <a href="http://syntensity.com/toplevel/screenshots/">here</a>)
+ which has been encoded into a JSON object.
+ You can also change the URL to that of a binary JPEG 2000 image, which will be
+ downloaded and rendered, but I am not aware of a cross-browser way to receive binary data, so it uses
+ a <a href="https://developer.mozilla.org/en/using_xmlhttprequest#Receiving_binary_data_using_JavaScript_typed_arrays">typed array
+ property of the XHR</a> (which will only work on Firefox 4).</p>
+ <hr>
+ <canvas id='canvas' width=1 height=1></canvas>
+ <hr>
+ <form onsubmit="render(texty.value); return false">
+ JPEG 2000 URL: <input type="text" name="texty" size=60 value="(replace this with a URL of a JPEG 2000 file, or just click 'Go!')" onclick="if (value[0] === '(') value=''"><br>
+ <input type="submit" value="Go!">
+ </form>
+ <hr>
+ <div id="output" style="font-family: Courier New,Courier,monospace;"></div>
+</body>
+</html>
+
diff --git a/demos/syntensity_lobby.j2k.js b/demos/syntensity_lobby.j2k.js
new file mode 100644
index 00000000..fb5c8cc6
--- /dev/null
+++ b/demos/syntensity_lobby.j2k.js
@@ -0,0 +1,2094 @@
+var DEMO_FILE=[255,79,255,81,0,47,0,0,0,0,2,0,0,0,1,128,0,0,
+0,0,0,0,0,0,0,0,2,0,0,0,1,128,0,0,0,0,0,0,
+0,0,0,3,7,1,1,7,1,1,7,1,1,255,82,0,12,0,0,0,
+1,1,5,4,4,0,1,255,92,0,19,64,64,72,72,80,72,72,
+80,72,72,80,72,72,80,72,72,80,255,100,0,37,0,1,
+67,114,101,97,116,101,100,32,98,121,32,79,112,101,
+110,74,80,69,71,32,118,101,114,115,105,111,110,32,
+49,46,52,46,48,255,144,0,10,0,0,0,0,113,249,0,
+1,255,83,0,9,1,0,5,4,4,0,1,255,93,0,20,1,64,
+64,72,72,80,72,72,80,72,72,80,72,72,80,72,72,80,
+255,83,0,9,2,0,5,4,4,0,1,255,93,0,20,2,64,64,
+72,72,80,72,72,80,72,72,80,72,72,80,72,72,80,255,
+147,223,125,108,18,36,36,33,99,198,184,32,43,142,
+61,254,233,11,78,3,253,217,246,15,179,190,103,242,
+101,133,57,110,157,51,49,45,122,250,107,176,78,162,
+218,124,244,25,237,139,244,44,51,149,215,34,234,197,
+130,213,195,227,200,162,44,34,191,112,79,4,4,60,
+23,180,16,105,148,44,140,20,170,107,64,105,67,251,
+4,172,16,30,16,212,22,24,115,74,124,50,73,185,84,
+133,5,224,134,224,90,122,117,228,151,84,215,119,231,
+45,134,255,133,141,97,177,17,149,43,64,199,76,234,
+5,168,151,92,236,49,136,147,177,167,234,26,51,141,
+63,220,21,87,237,194,70,221,107,231,215,102,96,11,
+255,65,171,104,140,157,90,224,201,230,223,146,230,
+106,150,232,37,151,95,34,249,116,148,67,13,111,255,
+92,223,251,127,207,178,150,23,255,12,26,142,3,248,
+177,189,206,231,193,169,51,70,251,46,249,239,154,
+184,25,144,126,249,13,64,113,148,103,215,207,156,
+58,88,4,43,118,129,181,53,199,53,133,37,190,136,
+198,62,21,144,225,154,184,79,43,87,117,72,245,92,
+4,15,183,171,250,60,216,41,240,112,232,131,238,15,
+215,201,159,54,95,160,55,216,222,45,99,125,75,168,
+158,166,203,33,244,42,14,171,174,193,146,97,239,57,
+124,103,206,197,82,33,238,182,87,221,26,220,73,12,
+107,19,240,178,89,191,149,149,5,199,28,179,45,172,
+94,148,116,154,187,92,157,112,127,219,207,123,255,
+69,61,152,233,57,167,223,125,38,134,211,130,79,41,
+214,184,80,162,203,222,63,87,31,87,65,145,196,18,
+151,118,196,67,8,90,215,148,92,120,221,214,83,56,
+234,10,141,4,156,241,91,58,252,238,231,179,120,228,
+68,166,210,6,65,96,69,88,52,126,232,73,215,201,205,
+103,183,38,17,241,117,15,111,43,69,215,5,223,45,
+168,153,58,121,16,88,139,25,39,221,254,29,150,74,
+243,138,38,57,188,59,82,167,73,56,24,58,246,233,
+17,57,76,242,42,30,99,201,18,96,148,60,135,161,209,
+225,140,240,194,45,213,167,56,110,10,149,58,158,54,
+148,177,26,0,83,187,138,212,27,199,222,56,130,127,
+207,190,162,159,125,85,31,101,36,29,171,74,241,141,
+221,45,197,189,169,151,93,56,152,9,131,164,251,23,
+253,31,74,181,31,27,43,165,152,199,129,132,105,158,
+185,56,90,78,161,216,140,212,38,155,149,113,59,87,
+95,124,145,68,61,140,142,177,59,206,205,26,62,246,
+123,91,212,183,102,132,163,250,90,175,192,5,76,26,
+24,98,79,156,130,60,208,12,53,97,63,194,93,183,33,
+154,151,102,230,117,74,55,132,46,173,0,120,119,109,
+185,171,72,132,133,231,120,49,199,56,249,102,161,
+122,163,116,193,97,168,31,136,182,187,196,11,208,
+186,198,79,211,90,109,93,184,45,214,229,239,5,41,
+33,176,120,90,168,20,212,222,116,191,38,216,132,15,
+210,87,85,31,29,187,112,163,59,17,17,152,32,23,153,
+78,191,157,198,26,33,121,12,134,143,60,181,99,201,
+62,18,47,164,148,76,170,38,179,221,55,249,246,115,
+164,11,87,93,196,244,47,128,97,17,233,83,43,23,16,
+124,30,14,108,26,255,101,33,154,239,125,196,147,9,
+82,242,177,46,197,138,82,120,204,180,80,92,175,70,
+48,118,17,184,235,111,43,71,213,104,236,192,61,238,
+190,214,156,151,97,161,209,43,156,104,58,180,21,85,
+134,78,173,66,103,102,189,142,87,43,242,80,2,147,
+75,209,103,95,223,173,241,110,90,87,145,154,58,150,
+151,82,255,116,68,153,14,63,251,66,186,98,179,159,
+8,243,4,6,255,53,52,36,157,35,55,78,115,30,32,122,
+189,63,22,139,12,244,59,133,248,135,148,171,171,118,
+199,77,108,9,114,101,42,202,172,3,153,149,193,165,
+103,236,103,79,81,119,72,127,22,187,5,123,57,103,
+224,65,64,164,247,37,73,105,218,247,167,17,223,98,
+183,48,108,169,253,228,9,48,88,144,76,188,130,117,
+232,183,86,6,17,108,107,150,154,209,48,144,29,104,
+136,150,203,123,207,226,131,117,210,53,96,17,161,
+169,71,125,156,79,129,224,127,0,248,4,20,166,219,
+81,176,91,143,83,138,229,8,160,31,18,216,59,177,
+251,120,191,148,172,132,174,139,17,227,124,45,55,
+81,55,253,231,135,64,76,36,88,231,199,211,94,143,
+166,205,15,150,132,33,161,247,104,85,84,6,86,205,
+32,166,218,62,143,169,58,11,216,250,98,219,201,186,
+249,179,182,120,208,227,215,102,24,57,235,255,119,
+1,65,237,146,249,199,42,20,219,192,197,61,211,5,
+105,152,104,121,56,40,138,239,136,32,71,223,68,236,
+204,36,149,192,108,220,74,115,144,153,156,30,41,140,
+234,105,120,66,81,210,157,13,227,154,134,213,16,53,
+241,173,68,45,176,254,109,40,225,25,199,127,57,156,
+19,92,185,104,13,192,244,225,229,77,71,38,107,7,
+133,9,46,252,75,54,232,220,8,47,160,25,249,206,251,
+176,148,23,105,33,31,220,198,132,222,222,135,46,252,
+156,71,98,140,18,158,220,230,108,12,128,234,40,157,
+225,169,110,141,30,147,192,113,116,35,59,28,165,124,
+234,190,253,162,10,133,147,218,136,209,32,176,96,
+214,106,86,208,181,139,63,156,216,27,18,200,166,144,
+14,194,195,203,44,190,237,197,20,237,184,179,68,35,
+140,173,248,172,234,4,136,15,196,159,29,48,173,70,
+167,249,41,37,19,38,152,202,130,4,196,65,13,167,
+0,34,188,231,236,78,227,51,151,138,124,198,108,73,
+228,116,195,230,172,71,211,101,135,205,66,34,63,17,
+72,49,177,129,159,16,7,177,151,150,243,35,175,173,
+94,155,91,253,4,37,44,232,135,84,209,97,130,54,90,
+31,252,236,153,148,69,190,241,36,105,7,81,169,102,
+97,1,120,85,122,33,68,95,222,249,89,143,188,35,178,
+142,189,231,121,200,155,92,41,22,178,190,236,26,36,
+59,34,64,156,225,157,164,110,63,108,7,231,100,134,
+24,102,219,155,118,171,91,187,91,99,233,195,99,141,
+78,214,147,76,52,63,207,184,163,41,163,18,180,162,
+77,164,107,9,203,53,87,91,207,4,77,37,137,168,247,
+234,88,237,168,201,114,89,64,39,196,21,189,192,99,
+204,134,254,53,4,162,39,115,138,82,230,244,233,220,
+24,113,221,73,181,61,163,202,150,10,15,204,87,155,
+5,149,21,157,87,225,72,55,218,228,198,55,253,186,
+94,62,240,194,12,236,6,79,130,98,189,25,51,60,46,
+165,183,25,168,162,218,185,25,98,41,106,29,143,58,
+30,210,166,64,229,208,172,61,199,179,122,220,143,
+19,109,156,112,252,83,184,126,66,254,253,238,21,103,
+76,164,26,38,43,125,101,158,56,179,182,207,183,118,
+231,217,191,81,245,108,160,57,77,250,147,151,128,
+198,73,65,0,232,118,220,226,91,196,126,78,190,47,
+215,205,144,63,73,67,98,163,81,165,29,167,78,148,
+188,212,64,60,39,154,85,148,81,58,124,119,81,125,
+152,169,43,194,225,213,52,78,89,215,48,177,197,39,
+180,119,22,60,157,50,63,66,225,4,216,138,127,53,
+126,54,18,3,28,35,102,98,180,22,235,184,37,131,90,
+100,85,99,192,212,242,217,188,66,25,49,125,60,187,
+225,102,42,169,199,231,197,11,114,139,26,182,77,112,
+253,84,184,127,19,253,134,213,167,154,147,28,44,187,
+242,216,186,116,61,55,67,134,41,166,75,67,94,97,
+131,92,85,90,64,70,230,251,0,85,172,108,77,183,234,
+188,140,64,65,188,251,250,29,221,49,251,137,150,135,
+25,153,13,179,27,7,60,196,249,211,171,235,217,4,
+188,127,182,93,55,218,198,251,212,231,40,203,94,50,
+201,205,14,15,4,220,69,50,180,212,227,197,250,206,
+6,222,107,48,216,38,126,109,26,125,137,163,85,169,
+145,216,199,249,186,42,118,246,34,138,234,165,221,
+87,87,208,208,136,12,23,155,106,147,252,36,129,104,
+22,209,205,234,97,102,116,234,100,112,114,90,165,
+106,8,213,128,162,13,65,109,189,135,219,114,74,175,
+144,153,43,20,223,80,185,22,236,134,45,82,196,12,
+142,248,36,125,213,108,21,115,251,141,253,175,2,142,
+24,203,222,67,72,147,104,38,29,27,169,77,124,31,
+21,224,126,17,173,121,234,122,183,198,34,86,207,0,
+97,106,199,139,212,76,197,4,32,192,207,150,49,143,
+232,171,203,35,166,186,254,216,233,6,103,101,182,
+15,3,220,211,191,38,90,144,115,101,131,175,135,185,
+70,124,98,119,31,222,33,181,119,175,139,171,139,120,
+204,154,223,145,40,195,211,90,30,40,110,251,139,187,
+229,246,166,130,20,96,9,22,169,150,185,65,158,249,
+146,204,193,147,121,90,215,15,63,164,129,135,165,
+216,225,37,235,225,240,164,161,93,159,171,40,29,228,
+154,80,55,158,45,97,64,226,34,168,143,242,28,239,
+33,136,62,158,164,165,73,90,89,104,181,23,72,175,
+119,134,97,125,218,174,194,243,104,177,59,80,221,
+150,22,163,21,3,87,107,139,95,245,124,233,213,170,
+3,187,143,103,136,164,250,210,154,117,109,6,74,185,
+118,154,216,15,66,112,41,171,142,115,125,253,121,
+23,15,41,35,140,94,201,201,74,0,18,19,41,208,17,
+97,153,139,71,50,243,23,1,136,16,166,37,156,2,21,
+239,147,217,16,175,237,128,189,125,103,244,60,166,
+21,151,16,82,100,241,187,28,61,130,229,220,176,76,
+96,194,227,3,160,26,200,28,3,212,24,198,201,77,232,
+32,255,49,191,91,180,23,52,231,77,222,236,227,241,
+211,150,180,99,237,232,110,34,111,146,89,46,49,186,
+79,105,0,106,207,121,160,115,96,112,51,97,212,203,
+223,196,10,120,213,189,72,164,87,24,83,33,57,231,
+172,72,98,87,172,190,239,231,136,48,215,196,92,150,
+99,141,248,84,8,114,50,243,121,93,117,78,54,110,
+215,95,142,30,43,78,180,100,195,105,219,37,40,69,
+172,88,142,45,158,104,173,66,46,15,233,68,24,182,
+107,139,232,16,232,153,69,105,59,82,249,56,185,141,
+244,55,218,64,175,138,87,177,201,196,106,234,57,195,
+252,251,69,57,114,14,205,106,15,195,148,53,134,23,
+201,162,224,204,126,118,251,139,30,190,78,255,125,
+253,39,148,69,23,22,60,9,195,241,178,195,39,141,
+135,134,4,132,96,212,123,132,163,119,242,67,124,28,
+213,221,73,76,172,194,135,173,89,53,33,239,211,18,
+45,219,46,146,237,181,125,215,34,10,148,59,86,86,
+173,190,16,60,192,59,234,127,212,232,235,83,193,45,
+25,192,148,73,40,164,199,196,243,252,147,142,226,
+30,172,181,171,66,230,88,88,200,221,15,114,221,216,
+220,71,125,120,192,13,83,89,85,149,188,32,40,80,
+72,204,169,61,227,130,105,159,7,202,181,121,13,170,
+203,55,57,16,32,140,79,125,111,200,1,233,180,184,
+8,11,66,58,72,35,14,203,57,67,62,235,77,246,243,
+244,177,9,115,30,172,202,202,247,3,8,235,100,224,
+14,229,239,237,205,104,84,166,68,75,205,177,239,32,
+246,139,120,224,216,187,41,16,195,37,243,172,46,9,
+122,14,30,6,29,10,58,181,221,38,72,73,123,202,62,
+148,140,200,209,20,138,173,163,48,224,254,23,175,
+177,217,67,124,170,82,132,238,104,59,155,128,48,177,
+231,204,243,250,220,143,22,76,210,152,38,92,122,165,
+254,89,254,214,126,22,218,116,159,70,252,61,125,51,
+255,24,140,238,199,91,78,103,181,85,154,75,121,148,
+47,233,25,255,75,52,245,213,82,198,73,168,109,57,
+199,65,151,231,185,207,4,4,207,7,94,127,124,182,
+50,106,103,205,253,207,241,128,65,244,178,239,135,
+138,239,230,124,212,249,109,234,217,218,135,149,98,
+179,96,160,198,199,205,114,142,123,174,41,200,72,
+60,243,183,147,35,254,129,164,18,16,192,204,204,236,
+135,191,130,214,100,207,89,40,126,66,38,92,150,88,
+80,218,33,203,194,98,37,115,189,198,147,173,125,106,
+202,83,213,152,100,251,146,219,53,107,131,172,67,
+1,2,171,135,150,5,162,169,173,155,14,250,185,246,
+214,82,164,76,142,29,168,174,164,157,213,174,121,
+90,206,37,45,94,28,157,44,175,192,237,88,126,192,
+108,11,8,196,9,218,218,0,78,233,123,45,88,21,12,
+142,120,168,134,119,46,110,184,230,242,180,60,94,
+157,137,255,20,237,191,245,21,120,20,241,0,129,223,
+78,19,195,84,118,81,57,156,8,54,168,107,119,178,
+175,194,164,3,160,0,153,156,50,250,57,7,193,204,
+165,218,224,66,223,199,144,0,239,98,81,90,93,201,
+163,66,68,23,17,248,68,2,151,153,86,22,197,175,133,
+62,70,249,190,48,226,145,77,236,143,52,155,185,139,
+105,141,110,57,40,77,103,175,9,74,17,131,41,92,74,
+31,134,131,141,194,21,85,191,14,173,123,9,142,69,
+189,162,58,118,111,93,166,27,160,137,158,72,13,199,
+154,170,226,139,107,165,81,245,55,52,233,165,87,199,
+203,171,35,231,219,145,243,104,128,123,83,57,251,
+116,161,4,64,74,52,162,119,72,51,95,136,120,142,
+103,6,214,13,50,73,145,214,202,104,199,3,101,21,
+185,28,54,233,178,214,29,1,142,73,239,136,211,78,
+77,179,89,225,147,19,250,213,96,148,90,98,106,178,
+149,27,16,35,6,232,37,225,4,128,65,252,170,203,58,
+26,188,136,57,147,51,229,225,145,235,140,254,229,
+223,76,114,114,255,68,164,238,54,85,58,174,176,72,
+39,4,193,131,118,124,156,129,90,29,53,113,240,175,
+86,107,255,89,74,106,42,76,54,16,192,69,21,151,5,
+228,28,70,137,206,167,239,211,45,2,252,4,15,109,
+41,196,33,191,144,81,255,118,71,44,23,95,23,184,
+254,133,247,64,106,34,147,39,25,118,219,181,2,160,
+205,112,219,111,173,95,196,247,151,210,207,62,127,
+195,253,16,140,207,82,180,32,120,126,131,72,155,205,
+44,245,227,73,57,244,202,132,34,131,167,15,45,103,
+246,23,153,184,124,198,168,82,227,127,167,127,33,
+209,89,147,76,50,174,57,28,203,29,50,76,141,233,
+1,162,232,54,160,4,4,195,172,30,16,245,4,67,154,
+244,129,219,6,126,47,8,191,232,51,158,81,95,202,
+225,70,140,90,46,140,8,214,10,218,216,187,206,41,
+93,151,64,18,123,86,25,107,173,255,59,3,196,48,28,
+117,180,234,29,41,121,246,91,13,19,91,34,200,3,201,
+7,115,186,6,90,90,167,19,108,11,162,117,105,44,156,
+207,236,91,61,37,10,204,79,51,13,166,56,150,153,
+39,211,135,10,135,128,227,252,113,118,31,225,174,
+20,152,35,87,52,255,44,121,195,103,144,190,105,145,
+135,79,202,106,57,252,234,192,61,134,174,41,70,87,
+43,100,132,244,35,10,19,222,118,242,159,36,8,172,
+210,111,105,233,229,80,213,151,243,245,230,122,241,
+37,146,40,87,174,4,19,253,183,232,9,168,237,22,66,
+152,91,81,95,250,30,162,72,11,12,4,161,223,161,63,
+213,205,40,203,132,193,104,205,100,81,45,184,203,
+135,232,171,236,16,175,92,244,153,196,99,58,65,106,
+4,43,11,226,145,32,16,219,243,31,205,48,208,120,
+172,49,21,249,34,147,157,83,153,57,197,232,242,188,
+31,228,98,145,137,119,24,224,163,67,221,64,5,214,
+167,207,82,93,145,187,210,163,142,213,229,190,199,
+42,38,153,20,101,199,205,171,163,229,213,176,249,
+47,224,159,122,113,210,120,14,88,18,8,84,79,254,
+35,253,150,184,248,84,70,113,115,33,209,172,170,136,
+189,5,129,112,35,242,254,236,228,109,211,219,106,
+35,152,246,101,96,166,77,19,17,139,139,17,90,160,
+248,20,3,11,33,241,56,124,160,130,179,64,86,236,
+142,39,42,136,188,117,85,123,101,155,226,156,57,11,
+46,5,223,233,168,223,238,184,111,254,79,219,229,149,
+206,145,234,36,220,211,208,59,64,49,17,50,205,185,
+175,124,18,151,156,176,220,1,19,177,196,247,25,247,
+175,102,102,124,155,60,127,145,43,141,111,112,206,
+65,255,114,59,34,226,87,236,235,186,162,174,3,90,
+23,12,92,209,159,132,253,16,197,254,118,4,170,32,
+103,177,54,8,129,197,204,88,60,32,111,213,159,105,
+179,28,206,244,191,235,242,173,192,161,220,158,249,
+9,8,241,46,103,33,32,116,175,100,213,194,77,125,
+206,68,120,105,147,25,42,77,72,52,27,136,180,174,
+47,44,231,193,184,209,238,135,7,28,245,57,64,177,
+87,148,167,109,237,194,141,204,134,255,90,40,120,
+223,238,195,225,70,134,229,220,25,73,203,38,105,255,
+110,246,12,192,127,222,104,245,40,78,153,174,12,48,
+68,186,243,150,165,225,114,198,63,205,122,238,2,149,
+236,27,16,82,243,171,155,158,216,75,36,79,187,207,
+218,82,85,205,17,168,76,76,174,59,107,29,147,179,
+150,139,38,37,189,66,246,36,43,218,136,150,131,40,
+253,207,247,226,8,199,201,186,8,217,107,149,88,175,
+146,187,99,159,113,103,80,61,127,38,46,33,158,233,
+63,29,83,222,211,109,2,1,71,64,211,143,4,79,34,
+125,179,254,77,121,186,28,64,209,124,115,89,80,170,
+230,141,94,214,96,224,14,203,172,177,165,19,194,49,
+24,250,96,36,177,28,28,93,210,27,22,8,202,67,122,
+70,23,158,89,130,208,213,37,100,238,6,74,38,135,
+30,98,24,5,33,70,115,11,224,190,191,155,2,57,224,
+23,182,242,15,95,10,146,197,2,47,80,241,56,197,90,
+65,156,204,47,160,225,109,142,145,186,53,68,20,118,
+207,171,209,254,125,94,163,49,243,251,114,197,146,
+241,152,192,114,58,55,31,182,75,191,61,3,156,153,
+211,83,186,130,223,65,27,162,66,217,175,199,212,3,
+143,33,170,14,112,129,58,123,81,24,128,38,12,209,
+38,156,147,235,191,215,160,107,32,74,123,191,22,152,
+29,110,148,195,173,154,161,249,67,18,174,91,87,87,
+235,148,157,124,214,81,250,9,154,90,139,171,53,33,
+80,59,224,214,82,25,244,117,19,41,88,6,175,22,230,
+241,9,211,213,44,241,111,4,84,198,220,96,94,229,
+63,251,136,91,182,195,68,71,139,251,253,225,51,230,
+253,92,7,181,19,72,110,114,78,138,111,240,31,242,
+116,179,236,198,107,155,241,166,86,175,39,118,205,
+191,103,7,216,121,50,215,248,110,210,116,205,73,96,
+115,87,170,54,160,69,151,106,174,156,166,243,209,
+151,148,103,215,58,48,233,93,231,123,250,93,213,72,
+58,8,9,154,29,196,196,33,99,134,27,57,104,212,137,
+20,250,181,195,200,172,8,55,172,125,58,117,193,183,
+101,197,124,77,116,172,202,143,233,178,0,54,246,140,
+10,93,93,170,113,98,209,130,45,70,152,220,35,211,
+217,236,84,57,80,12,228,89,139,94,210,53,21,165,
+190,157,42,192,35,212,150,193,103,36,166,163,165,
+214,76,253,19,160,108,83,12,203,206,207,168,153,176,
+102,56,87,65,35,147,247,250,22,82,109,192,123,61,
+243,228,113,57,2,27,207,240,123,204,77,156,199,124,
+160,122,224,125,66,253,188,126,190,230,245,130,123,
+13,184,6,65,235,128,185,170,55,52,65,214,152,144,
+21,150,249,55,135,41,101,178,241,225,93,234,2,67,
+65,250,11,75,38,180,19,251,234,205,222,58,169,195,
+39,246,177,247,191,22,162,248,236,57,4,23,44,149,
+60,38,124,255,113,63,9,160,234,111,59,195,70,191,
+193,196,91,194,152,16,227,223,163,174,2,124,20,135,
+165,243,109,201,69,203,235,252,212,240,84,75,63,203,
+253,119,241,194,231,61,249,160,63,113,25,21,240,43,
+198,77,43,245,85,52,196,191,134,41,167,67,60,106,
+77,208,215,150,235,8,24,230,156,55,32,189,182,155,
+171,206,197,218,18,199,14,140,247,111,161,204,89,
+89,7,152,7,72,86,9,170,4,58,234,141,92,206,57,68,
+233,195,149,140,11,2,202,3,38,118,11,31,242,198,
+95,187,92,3,56,84,193,75,184,212,13,216,79,14,21,
+253,174,182,134,83,51,172,99,29,83,72,63,108,237,
+134,3,202,234,60,184,74,37,168,109,89,105,99,87,
+96,53,31,193,140,48,33,109,44,40,227,34,153,79,208,
+221,163,92,56,223,154,163,159,165,150,64,7,233,244,
+7,29,222,37,237,71,59,93,77,120,115,42,246,158,116,
+46,58,71,37,80,158,76,87,243,142,139,72,22,45,158,
+81,177,105,191,206,99,188,143,243,68,172,78,186,130,
+99,75,237,98,167,51,91,145,197,104,2,50,251,145,
+19,252,92,201,68,3,97,62,4,92,243,30,162,93,239,
+92,144,106,43,231,10,83,187,250,104,53,166,7,239,
+17,101,211,32,249,159,90,207,74,3,227,146,90,190,
+214,40,181,99,136,197,128,148,111,220,101,68,81,84,
+105,118,68,231,2,70,139,71,38,18,158,32,31,222,73,
+161,245,166,121,4,160,120,116,126,18,96,97,120,174,
+240,26,202,74,159,19,171,60,41,253,222,80,217,115,
+243,232,143,187,182,151,202,147,62,172,76,255,15,
+169,53,242,209,142,206,54,4,150,121,96,120,76,61,
+207,233,79,197,196,244,254,214,74,212,191,243,149,
+185,143,147,72,86,100,155,243,34,98,50,78,188,34,
+101,125,25,87,187,88,20,232,77,27,54,44,34,219,137,
+152,59,195,157,84,123,144,226,6,112,246,146,64,53,
+202,89,220,223,102,26,12,110,127,7,230,200,81,243,
+105,68,63,246,101,63,29,223,145,222,87,248,235,217,
+70,100,151,204,32,102,201,254,185,161,51,53,16,33,
+210,214,72,184,252,128,71,184,213,216,229,254,170,
+49,233,178,52,147,18,130,35,92,216,56,182,228,89,
+137,50,115,78,211,247,97,129,112,8,114,195,252,86,
+205,83,182,215,221,14,103,63,142,114,184,87,91,58,
+46,2,183,29,69,67,214,154,215,26,169,82,92,109,170,
+154,118,247,194,99,165,113,128,243,77,141,19,118,
+60,146,175,2,164,211,27,137,67,247,95,87,159,57,
+178,175,139,204,80,208,250,143,110,240,69,104,105,
+128,48,148,234,97,235,197,193,114,9,210,27,51,137,
+120,226,109,181,179,192,174,66,230,102,1,2,40,191,
+138,104,228,99,65,142,125,106,104,178,113,77,39,139,
+185,76,24,127,240,177,221,76,9,215,252,9,13,84,13,
+140,44,195,55,179,147,217,131,100,84,236,199,229,
+26,173,164,142,82,153,51,146,128,96,120,181,176,144,
+111,226,195,38,44,174,175,67,226,212,208,210,69,73,
+8,238,76,215,22,127,69,254,173,236,157,62,253,214,
+71,209,13,213,233,207,182,235,144,118,129,252,156,
+122,60,4,181,231,180,98,126,154,214,228,244,135,48,
+183,252,117,190,31,228,63,124,58,29,7,120,71,237,
+79,59,50,127,118,80,58,62,164,250,15,237,163,233,
+198,79,107,241,130,254,236,39,202,0,231,9,3,196,
+198,22,38,29,93,150,97,246,170,160,211,72,178,211,
+136,253,45,84,91,51,173,197,194,56,28,38,105,175,
+72,48,249,75,206,179,20,12,209,154,181,237,229,244,
+202,102,236,150,99,142,250,140,252,161,38,185,9,107,
+134,204,237,217,5,8,57,98,136,219,248,143,72,4,161,
+138,144,94,242,97,175,138,169,125,166,56,36,102,14,
+156,118,106,34,99,124,133,137,38,163,170,159,114,
+238,212,28,89,184,126,156,86,38,58,34,93,247,58,
+199,123,121,91,198,89,0,103,15,101,193,179,195,67,
+29,235,219,151,112,179,202,30,206,5,64,174,112,15,
+240,229,198,88,153,61,75,84,176,241,59,171,70,61,
+70,153,65,27,158,143,196,139,108,18,226,57,248,58,
+79,125,140,249,72,175,245,120,112,184,0,227,162,210,
+205,58,53,118,85,98,118,77,61,114,138,200,216,58,
+30,170,83,185,155,221,4,8,17,97,45,23,86,72,186,
+17,17,15,117,103,63,78,62,8,175,116,241,175,43,220,
+64,210,99,134,186,165,220,152,116,71,117,208,60,237,
+48,153,43,209,239,153,42,178,100,84,161,48,19,42,
+241,11,242,237,184,101,244,110,104,36,255,68,32,63,
+155,159,158,86,39,38,114,172,2,175,117,45,6,228,
+15,48,207,249,89,169,208,245,134,81,47,252,136,31,
+202,70,127,12,236,200,104,132,235,65,47,142,205,238,
+34,5,209,171,8,197,31,78,191,173,233,130,212,106,
+9,175,238,79,15,244,81,164,193,66,59,217,107,124,
+51,141,66,144,92,210,7,237,171,80,182,3,27,229,152,
+210,239,23,168,117,241,199,147,26,161,188,97,243,
+226,161,9,241,160,7,138,187,210,13,236,166,102,2,
+99,47,105,217,199,78,91,54,242,187,36,136,102,250,
+119,93,197,245,57,248,148,197,173,46,116,33,219,179,
+83,33,108,227,51,90,185,11,72,188,51,92,120,116,
+31,47,147,140,95,223,35,46,91,102,46,172,132,29,
+56,205,76,195,149,68,178,224,69,188,161,148,227,147,
+110,4,248,150,124,24,208,126,234,168,250,47,38,162,
+0,161,108,141,213,249,201,92,14,235,161,188,159,202,
+190,43,92,84,51,178,231,29,118,17,162,164,51,226,
+103,233,13,55,195,206,1,221,34,69,213,206,141,67,
+98,206,157,249,145,87,163,77,168,227,231,143,83,204,
+109,114,140,146,76,146,216,17,207,242,7,121,56,150,
+70,185,103,234,237,70,137,154,241,240,129,106,14,
+65,205,44,181,96,86,76,242,88,53,62,91,120,128,62,
+90,210,167,237,237,184,130,234,163,200,94,11,205,
+183,220,18,52,124,76,66,216,175,205,130,74,118,166,
+70,233,144,240,171,209,96,103,179,248,111,205,68,
+78,90,166,95,201,229,117,156,31,185,2,206,76,235,
+190,199,195,110,164,128,177,72,94,38,224,234,160,
+155,27,13,242,254,164,58,128,34,173,170,57,126,241,
+242,7,209,233,218,2,61,182,53,154,229,253,124,84,
+185,150,67,100,145,85,189,208,44,56,123,85,142,23,
+21,176,16,103,146,101,160,76,198,132,72,182,99,10,
+163,54,152,194,231,254,240,244,198,63,130,177,182,
+69,236,9,88,215,10,241,142,244,30,181,187,142,83,
+238,246,208,103,175,186,162,123,234,237,147,100,195,
+102,97,26,227,177,200,145,114,17,48,74,92,105,213,
+135,216,28,10,19,109,52,227,86,48,71,3,193,209,44,
+35,102,93,14,123,250,149,31,174,107,114,173,15,70,
+235,11,247,80,99,127,57,48,52,186,87,181,210,199,
+213,180,31,97,221,212,157,157,36,235,255,126,26,255,
+8,240,58,48,179,182,94,206,2,161,33,248,77,157,6,
+64,209,76,233,43,55,255,59,54,85,21,219,181,177,
+201,181,138,111,124,53,34,38,64,166,208,254,210,207,
+28,1,42,236,190,0,53,200,138,219,237,150,215,230,
+191,99,210,222,86,250,163,241,14,83,128,190,42,86,
+102,247,216,228,17,182,66,0,229,232,85,215,103,222,
+144,136,250,159,130,106,126,127,31,112,175,28,76,
+115,68,89,212,241,21,22,249,223,174,249,20,108,130,
+102,139,2,167,212,83,177,178,192,234,29,116,50,103,
+83,148,116,181,186,194,92,221,216,116,37,128,205,
+49,118,220,171,162,89,227,189,248,127,102,231,109,
+139,57,57,105,54,117,26,242,70,29,88,171,246,108,
+111,40,127,153,127,9,204,21,227,202,126,175,216,165,
+96,125,202,42,16,196,34,32,10,68,108,65,236,95,146,
+91,43,127,105,158,156,91,149,121,154,83,63,111,19,
+130,244,34,63,153,178,140,189,105,146,9,32,191,42,
+217,134,89,156,55,24,196,243,46,212,151,201,35,167,
+153,178,14,82,30,99,214,162,105,220,44,65,251,136,
+38,211,55,185,56,48,18,201,239,229,156,5,130,134,
+140,149,202,216,61,233,5,123,245,52,208,26,216,1,
+57,120,39,170,202,46,135,4,49,80,159,116,182,34,
+246,193,208,23,130,40,178,163,12,134,71,243,178,233,
+192,225,115,97,112,228,247,195,105,72,121,11,119,
+217,224,254,125,222,136,120,129,231,141,85,138,218,
+132,175,203,214,80,124,189,148,79,71,134,20,71,174,
+247,213,186,92,83,217,6,179,2,61,84,36,114,68,52,
+84,248,196,49,110,231,233,212,197,80,106,176,224,
+223,38,235,4,121,176,240,113,209,187,14,190,38,249,
+45,27,157,200,52,168,95,103,134,90,88,147,80,251,
+61,98,217,246,125,0,87,220,246,179,103,230,128,60,
+235,14,88,182,61,75,246,82,97,236,140,44,93,213,
+182,118,204,71,238,69,30,229,6,145,105,22,20,219,
+71,82,125,217,215,18,254,136,197,124,116,114,87,54,
+85,124,46,123,36,207,99,73,66,38,82,243,149,31,238,
+0,185,75,195,150,155,13,138,77,112,246,129,93,51,
+158,224,15,6,31,40,46,192,124,31,176,37,245,119,
+236,119,143,123,94,209,121,190,94,93,100,12,180,207,
+52,111,15,224,96,125,105,145,193,247,6,85,163,236,
+34,41,114,194,231,236,96,3,156,93,226,210,52,1,170,
+129,31,151,2,221,12,166,167,23,2,15,146,53,189,86,
+117,83,54,134,167,104,14,179,88,54,100,25,57,231,
+35,86,85,53,237,9,183,54,208,134,110,127,110,5,233,
+207,183,216,245,45,146,57,111,7,80,98,213,127,214,
+35,3,138,88,75,98,34,154,175,234,21,171,92,68,80,
+6,158,126,33,66,176,73,10,20,135,156,203,229,179,
+73,53,80,211,157,247,110,143,180,250,26,17,212,87,
+67,189,180,89,36,185,134,236,175,211,77,194,26,234,
+180,71,104,18,223,252,90,254,47,254,104,27,25,251,
+150,116,38,23,210,107,13,149,177,203,111,83,80,2,
+207,156,216,59,110,222,219,3,216,136,253,87,198,47,
+251,105,221,219,145,23,79,137,191,239,74,159,50,161,
+213,23,155,251,73,208,148,132,31,185,24,92,84,98,
+148,202,27,190,102,152,204,132,246,240,210,118,132,
+246,191,235,194,222,116,186,20,41,104,4,202,134,193,
+231,48,169,97,63,25,186,144,135,111,61,80,242,221,
+156,140,28,51,195,167,237,209,88,17,75,223,211,53,
+143,187,69,247,178,245,119,178,247,14,68,154,209,
+48,193,24,36,222,245,72,41,5,138,254,64,150,207,
+141,141,246,49,222,136,123,127,176,27,175,188,148,
+67,64,95,195,225,37,177,203,99,117,224,109,57,164,
+50,251,167,62,36,17,96,68,89,168,90,157,116,240,
+181,11,142,197,16,232,175,4,171,173,231,35,51,27,
+249,213,29,234,67,203,223,103,48,75,56,184,58,97,
+76,83,255,123,1,107,101,142,93,206,43,121,213,254,
+14,117,97,137,204,74,89,139,27,111,59,239,22,213,
+231,16,228,198,119,12,157,34,195,20,68,247,113,143,
+27,253,1,113,183,179,194,118,124,84,129,94,32,53,
+221,42,188,203,64,13,49,39,63,18,97,56,115,119,99,
+37,251,53,163,85,7,135,109,133,61,25,116,155,154,
+225,192,250,172,212,175,223,139,174,140,168,242,68,
+214,35,81,193,28,226,149,235,94,20,240,43,174,158,
+82,65,66,132,95,71,69,251,87,65,121,161,113,39,13,
+200,178,179,191,163,183,236,83,45,46,186,147,31,101,
+196,124,97,70,117,205,215,26,91,2,68,167,82,28,208,
+146,23,130,110,207,201,217,188,104,227,70,225,142,
+153,241,148,69,179,40,43,68,66,231,179,72,182,189,
+214,25,164,160,141,93,131,83,63,48,222,213,147,105,
+133,114,224,191,73,246,149,52,233,144,208,81,169,
+244,111,50,54,252,184,224,23,243,85,16,155,98,176,
+149,102,184,56,56,79,119,118,58,231,162,214,33,5,
+27,118,115,93,126,189,234,36,74,64,133,237,230,62,
+176,114,105,255,53,175,251,48,33,150,202,69,235,131,
+89,250,174,6,7,38,211,36,156,8,253,240,7,190,148,
+109,93,242,139,62,104,227,238,69,194,82,83,102,27,
+93,13,62,131,69,43,72,67,23,43,176,18,203,202,204,
+72,114,240,92,166,94,94,68,66,243,75,28,64,237,5,
+145,213,62,37,120,82,146,226,14,117,98,174,145,177,
+160,11,2,88,243,34,46,207,135,185,98,44,245,63,144,
+114,250,42,113,66,120,181,178,236,164,160,123,47,
+56,144,36,85,56,200,191,190,234,228,37,134,94,22,
+133,68,83,21,191,124,182,113,121,151,47,48,81,9,
+207,98,67,222,225,166,110,46,68,125,243,83,58,33,
+102,142,110,190,185,156,234,87,24,168,100,195,137,
+188,102,54,41,247,99,10,124,191,78,190,47,242,84,
+88,128,144,143,70,236,138,155,232,87,248,111,56,81,
+134,157,93,31,12,227,64,123,214,62,145,243,238,94,
+203,136,76,249,17,118,196,12,119,254,53,194,131,133,
+147,95,199,89,90,247,238,89,194,88,188,56,40,215,
+194,16,146,52,199,199,210,248,248,250,29,31,38,178,
+197,65,242,220,45,106,12,234,54,180,107,149,42,73,
+173,142,29,193,158,65,102,48,184,241,210,76,175,196,
+201,145,118,204,132,96,176,228,229,106,25,157,131,
+126,206,15,214,160,230,236,130,136,145,41,161,21,
+48,31,50,51,114,236,70,14,185,56,69,63,71,152,203,
+164,134,214,95,189,150,240,248,235,94,218,150,198,
+237,171,39,117,36,182,244,165,246,200,248,164,200,
+1,176,114,23,174,106,216,240,92,157,62,61,98,38,
+4,134,183,7,110,242,199,216,113,173,105,67,186,222,
+188,139,31,80,154,60,56,83,223,60,190,216,209,139,
+33,85,236,76,51,84,47,10,79,123,1,74,63,13,248,
+18,170,229,225,182,175,167,225,89,175,140,96,240,
+34,17,125,200,68,63,189,218,169,169,48,145,220,40,
+143,55,77,171,42,237,200,158,57,125,127,15,149,242,
+89,44,172,145,134,55,11,163,251,119,143,40,149,211,
+112,199,167,152,78,254,143,143,125,132,116,192,181,
+64,128,127,20,100,27,177,171,186,191,166,57,230,108,
+5,13,14,93,209,115,80,243,253,116,213,97,81,197,
+50,92,173,190,1,91,239,77,66,127,124,22,89,107,101,
+184,167,147,203,5,4,79,80,108,205,245,93,34,22,29,
+119,255,62,120,32,104,17,30,139,89,98,57,206,164,
+43,89,207,214,64,39,166,130,142,213,214,198,46,82,
+52,135,48,103,132,239,4,92,46,30,210,18,168,46,178,
+239,53,194,39,179,197,201,37,10,241,77,22,229,190,
+234,92,124,218,41,83,115,17,50,112,178,169,181,11,
+169,203,247,169,109,102,64,240,85,219,141,112,155,
+76,192,14,194,180,211,214,84,63,61,243,162,85,51,
+16,3,187,98,134,60,91,150,72,181,24,238,43,85,174,
+33,140,188,174,55,39,200,97,96,188,105,134,141,113,
+114,6,150,57,211,22,235,28,54,67,30,91,112,184,179,
+19,70,102,170,187,152,4,142,7,86,167,168,43,90,8,
+156,167,203,34,59,176,126,104,200,203,43,97,80,212,
+42,161,133,176,67,219,133,74,38,244,234,129,113,34,
+127,248,90,197,57,11,176,99,244,163,147,50,12,129,
+103,6,27,188,230,188,174,208,41,5,112,139,87,19,
+127,231,77,240,22,2,227,67,196,133,150,202,113,213,
+129,60,230,56,4,32,61,147,172,195,194,5,150,175,
+20,40,121,16,118,205,127,221,139,90,110,250,101,250,
+223,213,223,236,186,178,14,64,251,218,252,80,1,138,
+23,232,12,233,235,221,63,169,235,111,145,186,76,122,
+146,226,34,249,58,9,160,35,45,118,223,245,197,149,
+152,188,108,151,19,18,143,60,188,40,52,57,162,95,
+22,143,165,30,90,200,133,235,3,255,14,222,94,12,
+219,142,209,45,126,32,21,223,247,235,239,172,120,
+38,90,100,243,95,65,106,25,215,137,152,31,245,17,
+227,39,82,25,116,135,252,152,11,210,64,53,105,212,
+174,157,123,210,240,223,164,91,43,201,241,99,80,21,
+37,6,3,212,204,222,191,193,169,156,93,132,54,244,
+43,92,212,247,247,189,87,223,129,159,238,248,163,
+36,30,31,170,11,203,193,52,131,248,248,198,152,155,
+87,218,114,137,243,96,96,216,177,161,178,249,85,184,
+92,29,96,251,171,253,180,1,41,203,6,195,111,100,
+93,60,78,243,61,1,145,108,123,0,255,19,85,243,16,
+228,127,201,94,220,166,147,206,58,199,199,190,231,
+205,208,152,124,26,248,215,180,34,184,51,139,48,58,
+218,204,5,192,208,59,214,196,62,203,229,188,36,52,
+41,40,61,131,67,119,243,175,22,235,24,7,236,164,
+160,63,189,34,53,8,209,213,190,66,64,101,245,199,
+78,149,229,132,118,49,103,108,152,198,114,121,246,
+116,54,94,224,174,218,39,175,34,6,253,176,197,67,
+70,125,34,245,168,133,207,233,201,198,34,89,223,170,
+34,72,17,84,200,109,172,220,121,125,82,217,38,125,
+219,122,133,238,131,91,139,130,36,2,175,70,223,210,
+132,52,192,180,84,181,219,127,96,131,136,254,70,7,
+178,16,125,239,157,96,233,237,145,38,62,0,231,63,
+123,94,191,165,73,3,22,255,85,227,131,68,182,155,
+238,222,198,243,248,75,42,72,37,236,185,243,66,106,
+29,137,85,92,67,158,84,52,235,87,104,48,29,81,253,
+42,88,60,37,210,62,10,26,199,215,133,89,78,145,167,
+206,134,235,5,131,22,120,49,165,80,122,122,162,25,
+55,74,17,243,104,180,24,189,50,121,95,76,47,136,
+51,120,90,48,245,188,118,202,7,133,165,9,112,158,
+194,210,237,239,240,171,217,105,52,85,179,129,154,
+34,249,220,132,181,124,204,23,165,131,43,113,150,
+92,234,52,62,14,25,167,121,79,133,209,163,47,23,
+119,31,92,96,59,181,1,211,58,211,238,101,197,70,
+35,157,115,98,186,203,118,121,212,61,208,210,193,
+65,153,160,53,250,224,255,97,171,16,183,178,88,58,
+220,27,3,59,236,202,166,10,44,221,213,234,187,178,
+217,43,175,79,132,36,151,240,79,116,41,204,56,127,
+63,225,137,250,189,8,160,162,241,114,11,80,189,144,
+200,144,43,22,149,224,208,173,29,150,232,224,85,63,
+4,72,81,91,249,99,168,94,138,51,189,57,97,81,106,
+139,174,243,146,181,43,136,114,24,228,62,82,117,45,
+190,179,16,41,248,165,147,16,136,99,198,165,56,123,
+93,238,105,53,227,44,46,62,189,204,241,91,144,146,
+206,144,155,232,142,79,106,244,1,57,67,132,15,162,
+112,53,222,198,53,212,213,47,114,31,148,74,225,58,
+99,16,171,176,196,172,196,38,201,10,163,79,143,190,
+134,130,231,130,201,137,165,112,124,225,7,239,31,
+18,187,87,248,251,25,97,243,146,85,38,255,59,89,
+72,13,191,140,165,202,197,146,163,82,144,88,144,210,
+60,63,23,75,179,142,252,140,200,34,119,251,229,121,
+151,208,72,89,155,136,49,80,58,230,37,210,208,85,
+12,199,161,170,57,48,160,2,23,57,154,91,147,249,
+176,50,109,237,97,206,189,163,220,212,111,201,31,
+229,18,147,176,4,44,106,28,9,20,224,172,30,105,136,
+136,183,139,197,76,45,179,226,169,17,169,146,241,
+133,235,87,75,231,231,245,23,249,253,123,207,135,
+233,55,243,245,131,47,147,217,207,231,246,123,124,
+158,178,111,147,177,56,190,31,78,127,39,101,175,139,
+213,119,228,234,24,229,242,179,58,121,162,6,21,72,
+71,143,210,20,197,178,183,207,202,13,143,184,153,
+235,163,53,64,227,26,6,113,105,45,138,19,195,19,
+10,136,55,222,100,120,115,223,99,141,64,196,254,156,
+215,7,137,226,62,69,237,65,255,99,26,91,235,114,
+4,254,48,195,89,255,91,88,28,120,165,36,254,111,
+59,130,64,113,121,202,127,228,47,38,81,93,50,89,
+238,190,232,218,220,157,52,113,160,12,250,166,220,
+247,24,126,157,26,42,76,163,157,244,165,97,133,19,
+32,39,27,79,18,214,25,1,125,15,84,226,191,251,150,
+225,146,32,36,249,172,193,109,124,203,105,116,77,
+226,211,182,117,57,197,199,81,23,92,194,10,37,147,
+179,40,75,132,202,22,209,235,175,109,14,76,147,119,
+196,233,9,16,71,196,197,77,230,70,145,199,138,164,
+224,157,188,27,87,121,86,24,146,156,45,206,184,151,
+232,164,238,57,248,19,238,69,119,150,20,183,187,100,
+114,190,184,251,129,24,52,112,177,149,47,37,248,209,
+212,226,8,206,12,239,90,32,43,248,151,225,45,150,
+110,249,112,69,34,12,143,179,216,59,218,82,180,125,
+178,70,0,82,185,85,180,177,212,12,115,38,205,126,
+206,114,179,252,183,3,4,129,219,169,88,65,195,222,
+118,137,182,148,165,186,188,14,130,63,184,129,27,
+177,180,179,162,233,170,45,212,125,210,158,24,211,
+0,87,174,53,211,211,32,107,88,8,190,234,35,242,224,
+252,111,241,25,191,153,160,133,251,254,4,1,57,162,
+4,69,38,179,231,59,176,197,101,167,139,207,158,21,
+209,33,231,36,71,163,89,182,79,111,178,255,112,43,
+241,48,11,235,97,73,197,215,185,131,3,25,156,36,
+23,22,100,47,107,167,194,123,28,203,194,112,115,36,
+162,198,240,132,9,180,168,231,16,155,122,101,171,
+168,99,24,36,15,42,76,167,90,229,158,23,66,249,16,
+109,161,165,116,102,238,237,30,5,241,76,52,195,146,
+11,214,0,26,67,128,30,127,134,197,83,180,67,190,
+166,114,1,106,31,30,145,75,244,221,12,194,62,20,
+133,87,104,23,92,210,107,164,249,74,213,223,89,40,
+83,28,143,114,87,6,122,140,98,59,69,82,120,108,109,
+56,227,171,244,211,247,180,200,182,205,133,126,138,
+22,59,6,38,78,62,162,36,101,156,134,203,20,253,73,
+174,167,9,174,15,148,153,16,246,128,25,226,210,176,
+45,77,124,121,13,110,73,96,189,158,195,7,119,98,
+254,76,18,147,7,24,39,201,66,107,43,17,154,181,62,
+154,123,89,242,226,204,253,187,184,138,7,123,80,150,
+8,41,116,205,115,45,231,206,177,98,241,22,85,208,
+213,15,251,139,241,109,113,9,28,213,209,148,72,172,
+2,68,68,62,44,63,163,30,246,7,76,128,80,238,185,
+214,44,84,244,34,180,214,110,31,87,87,112,72,193,
+31,116,252,160,5,202,110,239,18,103,51,36,243,252,
+124,94,252,39,89,56,22,86,143,244,2,35,124,149,50,
+221,11,240,253,142,74,64,110,203,193,232,206,44,58,
+127,76,0,55,139,126,141,124,203,202,155,200,207,173,
+25,106,75,150,131,21,189,241,81,101,72,39,49,87,
+88,116,230,130,150,154,156,236,128,103,22,134,83,
+98,215,169,214,254,159,252,197,185,75,73,190,203,
+168,75,39,155,124,148,255,74,167,245,204,234,107,
+4,241,51,20,207,198,108,132,134,139,193,37,157,212,
+214,65,151,238,15,232,95,254,114,115,87,75,173,200,
+171,52,83,33,74,96,72,22,228,42,185,11,62,35,157,
+188,227,122,175,3,5,251,117,237,249,61,81,88,233,
+41,68,190,169,83,25,24,145,114,28,25,214,93,8,166,
+109,225,160,244,254,85,242,223,81,16,133,93,96,26,
+38,211,218,25,146,141,68,155,246,27,92,31,129,20,
+255,35,129,248,40,93,228,74,93,134,11,33,176,119,
+34,72,132,207,231,174,235,212,88,211,9,198,26,19,
+231,232,213,17,36,122,211,25,23,174,171,247,66,73,
+16,229,60,128,230,226,52,2,175,103,249,117,48,175,
+198,228,68,245,235,3,43,246,85,173,65,165,0,210,
+160,255,61,47,132,92,82,112,148,249,179,31,236,119,
+79,203,114,188,127,105,40,160,147,202,180,92,213,
+185,238,149,15,176,120,136,71,215,20,9,143,208,243,
+193,141,248,36,101,116,165,144,160,144,68,99,225,
+87,83,191,155,233,90,65,146,84,56,18,253,66,189,
+39,25,114,126,167,29,145,133,251,59,24,139,110,215,
+165,126,136,65,148,105,92,42,125,159,223,73,188,100,
+56,227,43,83,60,22,49,214,115,46,29,72,190,48,105,
+104,26,224,11,242,82,215,23,95,91,98,67,26,182,202,
+49,159,218,34,48,192,136,206,80,6,66,204,219,5,145,
+177,253,212,238,168,31,7,82,136,234,135,205,97,104,
+189,135,158,89,22,151,111,205,209,83,215,117,127,
+192,164,213,181,244,197,155,36,157,177,166,147,137,
+210,234,125,57,98,173,89,248,2,251,44,74,78,16,55,
+128,112,91,177,25,175,20,74,107,27,111,207,208,35,
+240,121,227,101,8,64,255,28,255,12,231,145,12,61,
+101,133,32,86,223,84,14,88,160,178,24,33,229,182,
+48,93,224,20,142,255,105,112,2,185,194,127,86,124,
+156,114,31,12,155,44,249,107,75,173,41,149,58,173,
+127,149,234,24,44,175,162,75,71,100,121,9,175,138,
+171,153,180,106,217,186,111,188,116,22,45,41,199,
+150,13,223,49,71,50,122,95,52,229,19,109,0,73,55,
+213,247,148,121,62,125,236,67,225,93,201,34,135,44,
+60,54,232,208,196,133,116,10,38,37,47,68,191,163,
+185,234,197,233,50,120,199,123,116,198,125,78,200,
+104,57,164,34,82,92,63,87,99,64,0,123,183,187,241,
+20,165,245,30,23,35,11,62,1,251,249,158,105,134,
+61,126,160,20,141,242,81,242,93,51,63,207,186,1,
+226,182,205,177,247,62,154,64,253,218,113,79,49,142,
+34,154,213,203,240,131,64,79,206,97,186,74,82,163,
+252,23,191,89,219,224,15,91,92,203,248,86,40,114,
+178,64,0,189,115,36,64,95,53,186,94,203,248,165,
+201,241,166,121,97,151,176,222,89,65,132,29,54,28,
+94,41,247,146,148,95,247,53,91,209,64,244,196,4,
+111,92,93,53,126,115,22,44,31,103,21,52,169,99,45,
+171,110,202,210,49,181,26,71,115,130,129,155,21,87,
+58,234,191,250,249,183,196,34,20,156,101,12,254,176,
+68,129,122,62,220,253,30,249,130,34,166,61,185,116,
+206,173,171,34,215,150,179,207,84,101,18,252,128,
+78,203,178,150,8,2,128,248,128,13,214,196,157,200,
+133,228,51,58,227,7,65,190,68,106,234,114,95,113,
+226,39,251,5,250,244,207,174,97,25,73,40,120,0,61,
+252,104,204,199,72,216,75,94,69,248,193,223,36,50,
+83,167,85,189,166,167,188,157,230,40,129,147,96,170,
+155,72,188,195,159,176,191,62,103,199,152,227,227,
+240,207,90,101,232,25,180,206,170,94,152,207,77,11,
+78,150,94,24,3,94,253,232,68,103,126,26,162,24,115,
+167,188,155,223,64,166,27,234,137,101,51,233,137,
+53,172,175,218,6,31,101,67,182,184,85,85,191,121,
+116,197,50,195,121,184,16,65,89,62,196,135,148,211,
+64,101,161,230,221,252,171,155,106,247,217,198,31,
+222,149,169,96,91,220,148,130,237,83,93,203,179,203,
+224,28,82,131,116,62,249,210,32,203,54,118,165,213,
+55,15,198,75,122,252,215,136,49,112,98,135,14,193,
+185,202,67,213,187,78,99,140,52,107,45,151,2,150,
+72,164,162,153,11,179,4,175,98,136,43,175,219,22,
+77,146,144,164,211,68,217,160,125,149,99,191,241,
+25,248,142,76,22,145,48,21,102,49,245,7,107,156,
+13,186,56,59,118,55,96,68,89,103,99,185,14,84,6,
+148,149,109,52,192,176,41,50,198,176,218,105,93,171,
+104,93,60,61,239,122,196,177,131,60,146,112,79,177,
+247,122,237,56,210,40,0,183,246,156,19,75,58,196,
+228,11,2,129,247,98,111,176,58,234,228,142,198,15,
+95,114,41,106,84,70,201,144,165,124,201,215,59,152,
+145,252,175,232,155,222,169,161,30,24,162,134,95,
+158,83,196,19,48,239,74,11,135,87,210,56,52,75,64,
+216,27,131,65,157,247,145,163,140,63,129,135,180,
+235,24,10,10,40,107,39,101,138,85,124,103,148,173,
+204,203,236,194,41,215,21,1,1,143,4,47,200,210,25,
+52,136,17,128,69,88,54,217,107,159,82,91,8,122,168,
+85,181,132,0,73,53,123,22,34,241,9,78,81,96,189,
+105,217,241,150,9,192,240,60,23,80,16,99,1,224,235,
+235,57,205,251,70,151,66,58,137,141,148,48,149,11,
+33,234,139,161,1,35,75,213,255,58,85,225,17,84,213,
+143,84,245,64,192,129,60,47,171,113,157,59,39,252,
+145,52,191,64,233,62,11,116,222,243,7,157,160,252,
+42,202,191,76,162,211,7,2,167,228,218,46,163,235,
+89,65,211,142,188,30,59,92,30,229,234,60,144,82,
+206,162,187,232,70,77,128,244,217,254,182,235,150,
+232,222,140,236,77,162,249,50,57,253,101,125,176,
+46,107,250,132,102,117,36,125,242,165,30,202,11,217,
+168,137,87,19,145,169,132,253,159,252,42,114,33,91,
+173,75,116,224,72,98,130,166,123,143,232,177,145,
+7,108,9,55,197,181,255,21,111,231,236,37,211,108,
+209,176,90,12,138,82,93,128,73,214,54,114,109,144,
+91,104,187,48,105,117,156,62,39,239,185,137,78,173,
+34,56,94,179,70,172,75,116,71,201,254,243,227,179,
+177,189,116,181,70,194,128,35,123,93,92,87,108,79,
+181,18,226,195,100,214,198,46,11,129,252,169,126,
+153,9,221,185,72,73,124,5,116,73,129,7,134,18,213,
+177,239,133,203,69,191,105,0,226,6,221,138,169,75,
+51,170,149,113,150,126,32,8,140,134,139,106,254,250,
+4,21,208,78,218,166,130,15,194,238,27,128,63,132,
+72,38,221,124,102,216,196,244,34,156,148,57,114,203,
+242,99,24,148,153,58,177,193,157,233,235,151,63,135,
+225,179,117,9,213,48,37,34,109,42,14,124,10,53,229,
+217,105,86,61,49,35,185,218,238,254,66,108,86,28,
+59,102,226,198,149,38,244,99,81,155,152,43,143,196,
+176,33,104,202,167,152,128,84,15,14,36,127,83,189,
+57,203,31,124,77,57,232,167,35,27,68,155,237,145,
+186,253,182,99,242,251,113,226,4,204,167,237,172,
+54,118,150,182,25,216,144,131,58,124,86,63,29,87,
+199,78,198,68,194,236,66,140,108,39,30,194,48,235,
+38,93,77,5,134,189,192,40,179,196,249,67,221,170,
+109,253,55,225,216,94,112,132,209,34,21,252,68,146,
+111,77,161,32,108,188,107,66,185,47,161,234,74,115,
+71,224,29,235,196,59,61,17,168,194,63,220,162,208,
+67,99,14,37,95,144,91,3,239,82,247,160,161,170,118,
+27,230,73,85,93,137,124,166,100,172,170,92,90,52,
+91,205,165,254,216,240,151,3,178,189,59,96,58,207,
+62,150,227,209,198,251,153,19,183,202,81,4,15,73,
+214,217,71,80,154,36,115,80,202,186,152,61,123,190,
+128,160,20,208,253,113,54,24,26,57,220,215,10,252,
+23,194,49,114,106,116,98,190,33,191,186,74,249,114,
+133,117,67,7,205,231,205,24,31,220,213,212,115,103,
+98,145,57,177,154,208,26,132,83,217,154,43,210,81,
+215,126,59,51,131,127,172,77,150,99,48,47,194,234,
+15,76,228,228,92,54,160,9,127,217,30,85,31,182,146,
+91,53,159,20,79,37,129,204,0,103,45,44,69,24,224,
+133,118,66,80,77,189,91,53,65,131,139,175,18,153,
+230,83,164,1,232,76,51,34,152,162,219,126,151,113,
+95,132,207,45,13,170,209,0,104,210,210,196,142,16,
+229,149,111,238,77,9,76,168,244,79,179,103,109,47,
+254,51,56,203,146,228,35,41,188,43,198,165,155,91,
+90,5,133,210,207,61,227,128,154,133,226,56,84,163,
+198,54,226,28,61,83,119,90,143,18,171,103,42,192,
+229,72,55,72,226,187,207,105,173,82,158,32,24,23,
+12,214,77,58,159,235,82,16,162,46,138,192,67,52,
+70,84,108,224,228,17,59,14,241,121,116,13,182,217,
+12,205,35,139,8,118,147,220,143,181,51,108,118,172,
+144,124,54,99,163,108,46,161,99,151,3,204,145,0,
+238,51,10,85,15,223,1,205,164,50,224,0,52,177,161,
+26,6,111,198,253,222,83,245,173,32,165,101,95,213,
+182,99,20,251,118,54,234,10,193,91,130,21,51,190,
+141,93,82,232,133,76,101,146,149,32,217,64,187,163,
+85,158,109,160,160,108,152,214,88,79,186,226,104,
+194,196,94,101,3,146,17,232,109,82,139,35,143,157,
+49,218,143,168,177,129,167,158,92,6,201,235,252,234,
+176,194,79,35,167,97,167,59,115,158,124,100,107,254,
+234,237,173,81,36,243,44,111,240,130,175,96,109,217,
+93,91,86,149,95,60,41,233,41,126,206,110,3,204,100,
+234,135,191,246,230,42,219,202,110,20,2,208,93,2,
+167,231,200,190,148,249,43,52,161,178,25,207,157,
+240,12,129,44,131,11,34,110,167,29,33,149,174,201,
+92,18,62,118,67,189,107,4,169,15,40,119,190,46,173,
+0,160,2,221,200,245,132,0,199,113,141,212,228,149,
+100,200,151,232,123,60,198,168,88,146,141,237,178,
+106,136,130,195,192,174,254,180,7,195,183,133,1,15,
+65,249,212,220,104,109,159,188,153,25,38,88,6,111,
+179,235,102,149,202,221,64,18,37,21,58,195,211,219,
+27,100,138,176,21,176,183,139,205,126,128,35,43,133,
+108,16,81,148,173,198,192,19,43,255,19,13,80,175,
+49,69,8,71,131,162,72,11,32,81,51,230,27,39,115,
+180,184,170,134,109,121,125,4,14,180,136,119,202,
+224,5,136,173,79,82,5,184,5,119,198,83,64,5,27,
+28,144,26,207,243,5,146,4,242,102,70,160,51,154,
+86,110,153,152,223,37,11,105,177,252,85,74,255,23,
+51,124,253,94,218,139,87,156,2,96,29,179,110,168,
+128,18,80,173,72,169,125,28,204,40,107,4,178,22,
+155,188,192,243,108,120,155,217,24,42,118,197,231,
+82,114,86,244,197,227,3,176,240,156,5,82,47,140,
+208,61,89,244,116,145,127,155,244,47,133,158,102,
+207,239,19,39,13,217,35,121,240,103,152,115,168,60,
+102,234,137,75,198,5,236,71,237,145,58,100,44,122,
+216,236,79,29,144,111,139,93,144,179,115,183,18,171,
+147,158,176,59,240,183,216,197,241,202,151,68,158,
+178,166,21,207,74,17,62,172,111,137,172,229,129,189,
+199,240,200,107,20,41,1,156,186,35,97,173,157,216,
+8,36,120,190,174,3,118,188,17,153,28,131,45,104,
+87,227,201,224,125,104,86,169,167,170,254,44,198,
+133,70,126,170,100,88,171,187,20,2,76,230,179,248,
+62,19,119,171,128,105,252,215,248,51,119,43,176,18,
+90,78,236,172,160,187,39,130,114,136,14,136,131,43,
+187,211,13,174,72,151,223,66,74,254,117,125,162,81,
+1,216,193,193,27,186,183,245,196,19,90,28,83,180,
+200,230,255,90,181,94,97,252,218,252,41,15,42,250,
+146,71,115,152,58,60,213,41,171,236,4,61,110,62,
+136,152,175,190,179,86,31,184,67,84,47,186,206,0,
+128,206,238,163,79,174,69,142,251,125,160,5,122,244,
+79,81,84,254,227,122,64,46,101,196,85,132,53,21,
+202,218,104,110,187,36,120,189,70,155,20,98,219,58,
+62,38,236,101,174,23,145,9,149,241,59,78,66,187,
+50,40,93,234,191,27,220,15,85,19,115,242,17,251,
+219,245,34,46,145,151,130,206,44,93,75,59,178,68,
+232,100,103,253,74,155,162,178,169,131,110,107,194,
+224,190,181,111,189,105,219,170,184,39,43,181,18,
+234,253,255,64,126,242,99,247,46,140,56,220,51,199,
+52,226,25,205,101,225,49,248,25,94,62,162,182,116,
+225,123,42,6,17,33,196,142,217,43,23,5,142,209,201,
+139,202,7,228,123,189,159,163,218,111,27,75,68,81,
+176,192,210,79,87,2,168,181,34,59,162,243,120,6,
+163,190,101,137,27,21,207,40,222,231,89,213,110,0,
+32,161,13,0,239,55,239,135,128,116,35,224,140,66,
+71,7,39,86,180,78,136,177,69,88,116,26,196,96,163,
+155,253,184,255,99,165,39,229,24,155,236,163,177,
+152,212,90,73,48,194,155,71,108,218,77,176,21,51,
+51,169,108,232,51,214,244,188,124,108,93,198,162,
+220,153,238,147,175,33,199,8,207,88,76,175,27,250,
+16,152,180,157,1,168,82,67,60,224,190,147,57,251,
+154,136,197,162,82,126,78,47,166,61,80,57,112,253,
+36,247,200,169,195,84,168,119,109,184,222,154,202,
+122,217,159,242,27,21,78,92,192,56,75,175,130,238,
+246,194,95,243,148,131,77,237,34,112,195,151,22,181,
+201,161,42,121,161,182,220,128,222,232,9,223,18,135,
+30,11,101,221,2,175,64,24,165,48,131,60,155,142,
+57,238,138,95,215,233,90,153,181,69,74,88,124,146,
+141,3,159,5,80,134,174,81,234,143,89,86,96,174,249,
+39,189,141,27,134,150,203,64,24,191,36,28,157,179,
+23,14,88,32,68,212,253,44,117,74,118,9,243,125,55,
+153,2,21,84,234,96,202,67,213,55,27,90,214,108,44,
+34,154,221,32,10,34,146,89,164,89,62,147,252,229,
+109,159,185,114,0,248,119,99,79,22,179,203,36,137,
+199,240,79,31,43,230,72,172,212,95,11,24,137,68,
+122,192,146,136,29,235,177,167,73,234,191,37,247,
+55,1,132,29,146,124,181,207,90,38,154,99,133,234,
+204,103,187,142,182,175,70,153,191,162,246,106,39,
+70,7,11,139,233,188,123,23,55,141,82,207,131,245,
+35,81,141,131,80,186,162,11,187,192,41,17,172,14,
+62,246,24,83,186,130,68,47,224,169,9,177,238,112,
+250,68,133,181,167,109,213,119,59,184,116,253,223,
+46,47,130,114,28,142,157,43,205,240,98,208,231,240,
+228,196,59,224,84,191,25,184,227,219,237,133,99,117,
+250,136,178,133,94,117,92,2,116,57,33,206,144,182,
+82,217,87,43,62,213,133,150,88,34,227,121,148,109,
+104,99,171,153,99,127,166,152,253,105,110,130,249,
+221,131,29,96,45,84,156,99,243,231,169,94,73,235,
+122,152,24,23,99,50,149,147,36,144,200,147,72,20,
+119,53,220,25,239,142,25,242,58,247,58,38,230,22,
+104,235,217,193,70,136,103,135,129,226,222,236,104,
+58,243,60,118,195,85,166,11,167,24,129,161,63,130,
+210,127,120,231,131,116,28,162,179,201,57,177,130,
+84,71,237,180,10,151,149,107,220,43,85,167,97,39,
+48,111,28,158,205,30,90,134,68,116,114,11,103,127,
+213,115,136,77,254,30,176,145,236,4,137,140,156,30,
+249,183,141,53,168,32,18,121,125,196,207,58,248,61,
+164,13,140,36,121,166,2,255,1,248,160,165,67,145,
+15,43,174,112,176,23,159,147,212,241,83,24,70,232,
+230,124,90,79,32,105,58,47,29,123,136,196,52,130,
+213,97,90,54,80,138,61,233,1,125,95,119,252,151,
+226,25,26,34,169,189,45,14,19,220,74,128,222,49,
+106,37,236,33,17,18,39,6,171,71,156,170,85,174,111,
+16,221,18,133,84,150,162,30,51,254,188,43,221,138,
+201,180,61,49,22,210,4,131,206,162,110,234,59,33,
+59,237,62,131,7,16,96,101,99,219,65,255,127,46,218,
+246,188,195,239,227,32,215,248,223,146,171,23,37,
+245,49,128,29,186,208,143,200,141,32,212,117,180,
+39,252,163,34,221,112,88,217,180,26,108,157,25,19,
+59,103,91,169,236,78,120,24,177,40,89,234,209,222,
+72,48,127,74,64,13,28,228,29,198,31,19,94,130,194,
+212,218,172,8,153,179,111,165,19,235,17,201,149,99,
+81,40,66,37,251,8,231,253,24,10,52,75,63,165,80,
+254,130,60,164,223,255,97,161,17,7,59,233,123,169,
+65,154,252,8,184,189,26,181,204,145,96,175,59,255,
+25,13,167,18,238,179,84,66,116,195,134,229,53,178,
+243,149,9,65,204,36,245,80,228,163,142,36,183,54,
+102,163,117,84,188,93,86,79,147,248,112,125,252,209,
+238,111,188,227,255,86,89,122,99,4,231,136,196,44,
+104,1,219,116,190,141,117,103,117,85,233,239,150,
+58,151,33,86,149,91,141,79,32,248,89,109,35,105,
+224,91,108,92,93,94,29,154,79,176,131,252,104,86,
+16,78,52,230,122,82,254,226,99,181,239,164,78,91,
+42,215,57,32,46,173,37,45,80,20,104,236,113,242,
+154,250,113,185,217,217,102,22,150,124,120,7,51,109,
+2,159,69,160,200,254,223,201,180,117,109,141,198,
+7,237,150,146,130,35,181,27,219,229,250,126,207,235,
+144,242,72,182,34,194,249,42,33,11,179,183,79,136,
+177,114,8,17,230,227,112,180,193,49,56,173,159,172,
+115,174,230,43,212,25,99,102,11,56,158,39,235,210,
+180,113,194,196,254,112,210,97,187,216,203,20,210,
+52,3,157,40,186,110,223,87,253,51,136,181,10,51,
+255,84,47,174,239,24,160,214,163,114,5,95,79,192,
+63,117,228,121,80,220,217,134,36,200,219,14,230,191,
+197,85,215,73,32,139,97,76,224,195,176,64,29,255,
+111,17,12,243,237,158,72,231,95,239,2,4,11,203,121,
+238,43,68,192,19,181,48,24,118,77,230,117,187,100,
+48,197,221,11,90,51,57,85,66,9,45,0,135,184,35,
+233,176,233,236,50,73,41,172,217,31,215,7,74,186,
+139,156,145,152,55,234,42,46,124,21,109,240,253,247,
+165,1,58,252,21,136,118,48,49,127,43,248,149,101,
+184,51,155,56,254,243,96,50,134,15,147,168,184,141,
+217,226,24,234,51,161,113,66,213,5,145,154,234,85,
+45,164,219,42,30,98,29,160,123,27,56,168,232,161,
+199,160,159,198,136,193,227,188,93,73,39,113,21,249,
+64,87,68,184,134,33,135,230,75,35,149,74,140,183,
+232,111,195,96,230,180,160,114,190,166,171,64,236,
+122,62,87,102,140,9,136,193,133,147,133,165,155,246,
+13,82,248,161,244,8,134,94,194,162,159,121,191,26,
+191,162,70,190,114,132,176,45,219,144,228,41,76,222,
+234,64,13,186,220,45,202,192,219,186,23,86,148,201,
+30,232,62,231,20,231,42,34,90,223,8,253,66,58,142,
+132,27,223,104,92,12,87,38,60,237,210,247,28,181,
+68,250,169,250,156,207,122,183,217,240,100,141,10,
+104,124,55,36,72,66,110,118,157,40,62,75,195,121,
+125,106,191,167,11,135,199,179,18,254,150,116,56,
+219,136,172,195,162,38,43,76,42,165,204,28,249,61,
+58,136,135,251,193,87,166,80,202,229,168,0,79,159,
+203,105,116,3,141,85,39,95,222,47,235,251,235,48,
+209,244,72,193,196,63,143,211,76,178,217,86,165,1,
+50,4,66,29,124,227,3,68,26,110,73,207,55,249,102,
+248,40,4,142,57,69,32,180,107,66,200,80,217,201,
+145,33,201,133,147,115,47,213,199,48,105,137,205,
+241,15,183,41,173,170,208,213,141,4,106,74,139,135,
+189,202,228,53,193,190,135,85,201,114,74,215,62,59,
+151,109,216,216,2,164,142,146,180,25,58,203,104,208,
+12,185,31,46,86,168,90,168,35,40,181,4,44,72,160,
+90,58,74,241,151,231,94,230,174,43,243,92,187,246,
+10,136,51,104,2,45,248,150,199,23,18,62,243,52,247,
+178,146,32,107,207,16,120,195,172,84,231,58,175,170,
+116,33,84,17,118,77,99,192,164,84,10,202,86,255,
+96,179,87,28,1,162,95,76,189,151,212,113,100,97,
+55,105,57,134,27,13,122,51,5,30,208,81,148,254,83,
+79,188,248,137,91,87,166,33,119,56,213,251,50,108,
+163,232,20,81,172,178,226,179,14,100,126,71,18,135,
+93,75,53,96,11,65,4,118,12,51,61,49,228,232,89,
+5,113,204,152,197,153,145,73,106,77,82,66,240,146,
+89,78,123,178,46,161,125,42,202,161,211,3,179,149,
+38,128,92,12,183,203,38,202,23,219,4,8,160,230,228,
+205,43,206,153,239,20,132,67,183,62,205,67,7,209,
+234,249,252,76,65,133,100,65,252,131,142,23,220,45,
+148,150,190,20,234,22,246,75,248,79,95,211,194,152,
+6,176,178,154,109,245,195,246,68,46,174,99,253,40,
+165,12,161,102,208,126,209,105,121,71,254,217,72,
+90,223,6,125,190,204,219,49,100,162,171,194,100,128,
+8,42,131,190,235,29,98,202,117,62,254,246,98,66,
+139,160,127,49,118,227,12,238,249,153,210,179,84,
+61,221,124,90,205,128,217,221,160,248,49,231,114,
+75,128,91,214,77,163,41,10,105,190,88,123,218,57,
+4,162,127,47,141,25,127,182,223,247,38,249,101,190,
+187,130,236,15,234,224,96,254,35,9,3,126,27,134,
+182,30,14,120,78,16,192,254,130,151,177,110,230,128,
+217,5,49,108,247,240,108,170,114,41,95,78,213,202,
+121,104,168,220,201,163,125,248,202,58,135,122,169,
+60,64,41,125,194,188,12,173,196,96,222,29,175,254,
+165,80,132,237,37,229,107,130,35,249,37,206,185,93,
+248,158,16,125,102,2,76,97,136,247,145,48,27,236,
+47,223,225,50,227,119,250,3,14,102,175,60,160,229,
+233,172,129,162,201,16,172,132,67,14,12,14,20,197,
+217,84,135,35,108,36,180,239,168,187,183,115,159,
+102,64,45,123,82,6,12,127,207,88,144,221,59,70,184,
+204,66,96,128,252,11,104,41,27,164,13,119,95,101,
+150,206,254,139,51,131,0,130,187,6,161,116,131,219,
+138,5,240,248,240,227,211,195,148,51,202,23,202,132,
+64,125,41,21,107,116,15,134,150,18,18,141,99,42,
+242,111,160,207,146,136,112,75,223,221,214,114,253,
+73,204,255,10,121,88,161,169,36,155,166,75,4,59,
+93,85,200,167,161,8,46,215,50,90,39,126,65,111,65,
+109,101,217,178,100,70,51,58,235,80,24,148,42,59,
+204,32,49,13,230,108,83,89,19,184,107,197,51,146,
+139,115,7,184,154,224,138,113,142,88,7,211,64,78,
+245,72,154,175,164,245,110,120,41,93,114,194,60,73,
+227,59,1,186,142,245,142,106,29,173,213,31,71,55,
+157,208,223,237,78,131,38,222,180,220,212,88,134,
+143,50,255,76,233,243,37,194,182,32,134,165,156,48,
+120,65,224,124,209,204,1,40,13,12,221,25,50,220,
+250,242,244,216,87,167,152,181,244,236,119,138,2,
+3,206,189,200,251,61,18,183,190,58,136,103,106,228,
+132,246,14,231,193,22,8,84,182,151,84,190,219,45,
+221,225,78,79,192,232,84,1,206,220,140,161,154,38,
+112,252,182,248,99,28,218,31,80,103,46,239,207,124,
+238,140,242,199,45,142,254,32,165,160,2,41,216,108,
+210,189,47,19,14,208,85,70,120,185,11,186,231,192,
+76,184,227,175,60,135,7,189,26,23,10,42,158,209,
+89,151,44,58,159,70,45,119,225,42,62,204,144,221,
+25,84,62,36,186,229,62,167,56,165,27,175,166,101,
+55,74,145,91,182,236,190,230,114,109,92,199,48,234,
+190,82,221,104,234,97,104,209,196,251,146,38,224,
+43,212,164,135,197,220,134,172,142,26,219,173,40,
+239,45,206,124,26,208,175,62,50,253,228,51,76,68,
+54,190,182,152,206,150,65,246,1,249,179,206,66,251,
+48,34,0,124,26,253,231,195,165,200,2,114,133,106,
+20,52,149,75,168,148,223,214,53,14,203,215,21,136,
+125,19,9,17,158,56,32,215,176,18,230,201,226,135,
+133,70,139,38,232,211,147,65,103,1,145,69,220,227,
+0,111,47,253,153,189,191,73,116,132,236,227,192,109,
+255,4,224,204,112,160,37,140,194,16,250,161,37,99,
+235,40,175,134,250,232,137,55,203,68,241,45,80,225,
+93,14,137,150,94,111,41,73,123,57,2,181,44,14,39,
+169,6,77,148,179,26,210,184,72,215,150,238,165,144,
+58,84,125,79,229,166,173,84,3,88,232,85,212,230,
+145,130,71,21,168,177,15,201,2,169,123,143,77,11,
+180,162,171,198,143,52,193,12,226,185,88,255,28,219,
+22,2,134,138,208,250,112,32,169,14,144,23,159,173,
+238,236,116,112,184,65,44,250,177,3,178,243,29,211,
+110,107,163,111,136,128,244,156,211,123,110,67,32,
+97,208,156,204,136,119,77,215,47,61,95,70,134,210,
+229,68,79,153,59,150,190,29,141,185,193,139,173,213,
+80,212,136,178,24,225,48,254,82,243,36,44,249,165,
+242,148,148,237,238,156,63,88,254,80,247,0,217,139,
+132,224,48,211,179,254,91,175,212,65,69,197,151,232,
+122,17,160,54,167,84,234,240,43,173,220,118,161,71,
+188,173,176,125,103,250,123,207,240,2,133,182,240,
+0,73,116,65,168,118,200,5,13,92,143,106,181,221,
+75,243,182,194,232,167,138,227,253,226,125,19,81,
+5,20,72,165,71,78,33,82,153,45,115,99,221,195,127,
+227,16,121,251,133,196,59,238,208,165,20,12,40,165,
+140,156,19,6,239,195,242,166,174,3,250,39,190,170,
+208,166,242,211,209,58,44,36,33,72,153,206,31,68,
+128,204,145,174,26,27,175,143,87,250,25,159,17,245,
+41,24,189,44,12,169,40,99,223,217,127,211,253,31,
+44,108,87,252,91,77,222,208,175,91,106,87,47,100,
+145,6,169,201,244,244,55,243,240,250,140,222,168,
+102,116,237,122,17,224,181,13,21,127,19,110,96,213,
+161,124,102,4,190,27,170,56,89,9,115,17,151,224,
+248,190,184,91,90,179,254,44,9,57,39,234,90,32,12,
+159,187,240,150,91,13,58,56,246,96,246,244,40,53,
+203,161,147,152,63,18,6,94,72,40,242,163,218,209,
+131,222,170,112,169,118,37,19,117,173,32,137,98,194,
+186,233,16,220,185,39,27,105,167,38,210,96,9,217,
+201,205,240,109,233,37,31,124,41,117,132,63,233,216,
+179,220,151,149,246,84,108,165,98,240,240,214,214,
+246,159,98,250,14,148,165,88,145,133,0,245,135,231,
+46,237,3,228,84,113,218,168,8,171,19,179,119,234,
+136,45,29,113,166,0,10,242,127,35,219,85,169,91,
+114,95,186,51,132,212,6,211,1,210,72,163,222,42,
+194,159,167,157,237,184,30,45,244,225,123,18,37,103,
+70,64,104,38,175,3,90,223,114,199,11,134,214,32,
+22,170,51,27,117,255,127,83,236,237,230,172,134,132,
+229,246,110,117,141,8,199,62,7,159,234,81,234,28,
+172,9,28,209,35,105,187,253,206,90,143,36,159,241,
+69,59,214,224,108,46,2,241,171,17,120,67,134,222,
+215,235,19,64,174,129,90,204,197,114,49,226,226,210,
+245,155,37,121,244,76,41,81,56,70,178,238,100,239,
+252,7,244,73,60,135,232,11,100,59,167,177,179,247,
+150,7,36,92,121,96,41,125,150,181,227,240,238,223,
+135,167,31,129,60,126,13,55,240,245,90,237,38,30,
+23,198,0,226,67,39,89,215,38,232,153,51,123,90,47,
+33,153,153,159,120,96,246,179,153,217,147,1,214,67,
+93,235,0,27,19,10,222,216,82,17,210,85,152,146,71,
+32,51,247,131,191,83,139,151,126,242,37,184,122,171,
+183,115,195,234,230,163,92,180,159,41,220,94,221,
+68,74,179,83,153,210,45,23,46,95,114,166,136,78,
+160,81,31,220,45,232,154,23,97,89,204,89,24,181,
+66,17,5,216,189,205,160,63,2,95,80,145,148,79,234,
+210,202,102,79,57,123,227,223,253,165,138,159,124,
+11,46,160,195,84,82,177,169,2,72,255,45,50,3,224,
+205,195,165,83,153,143,72,136,97,74,103,129,130,110,
+132,121,148,63,184,213,160,195,48,250,206,212,241,
+92,62,121,199,115,32,69,186,185,226,42,221,74,252,
+98,30,196,94,132,180,237,168,60,61,161,83,134,81,
+42,48,220,210,251,28,114,185,105,60,205,104,21,242,
+251,28,68,135,146,247,241,182,193,204,180,152,114,
+180,110,34,200,173,118,172,220,173,83,226,104,234,
+114,72,57,184,67,119,148,79,57,175,162,107,36,221,
+97,111,203,106,139,101,107,36,124,75,105,79,21,134,
+243,230,138,89,90,213,163,200,116,234,35,146,235,
+86,176,83,77,91,24,152,15,29,76,13,105,65,122,20,
+148,14,248,238,251,240,42,163,192,58,204,24,145,91,
+149,232,251,236,92,231,33,67,146,182,102,206,153,
+159,241,200,74,183,98,220,84,81,218,57,168,16,222,
+120,24,151,213,51,140,73,161,110,33,40,90,121,81,
+105,89,242,59,195,99,91,71,220,35,126,255,17,178,
+15,179,61,241,70,115,18,139,6,82,47,244,180,24,206,
+31,238,82,13,69,183,201,170,13,217,18,189,73,23,
+16,181,138,170,214,4,200,99,96,199,130,157,237,203,
+237,155,103,235,158,216,136,239,118,181,207,70,2,
+213,223,83,5,38,117,67,223,246,88,90,76,7,118,32,
+211,139,252,158,119,7,245,118,217,51,90,151,149,151,
+157,156,150,47,127,186,43,100,116,207,172,44,26,137,
+15,252,215,205,131,156,212,207,238,63,152,78,48,174,
+162,241,22,240,24,181,129,225,160,127,139,153,46,
+255,62,203,121,83,58,78,54,12,30,138,244,24,51,138,
+7,148,242,15,116,68,113,128,220,171,2,46,66,131,
+246,106,175,252,141,13,59,159,183,246,133,139,121,
+209,67,216,68,70,197,35,152,118,11,217,55,7,188,
+132,176,185,253,40,249,178,104,171,106,202,233,177,
+156,68,93,87,149,90,121,157,69,196,156,231,250,195,
+75,110,216,205,30,83,8,50,58,217,218,114,195,68,
+207,236,132,121,183,107,122,169,152,207,25,140,226,
+202,252,61,152,249,108,252,102,175,131,160,215,192,
+133,15,110,158,154,241,220,142,178,59,54,95,78,43,
+178,223,82,130,171,189,179,199,5,227,236,68,15,18,
+60,94,69,212,92,225,177,6,84,121,151,11,248,214,
+214,127,110,205,121,6,206,129,100,169,49,208,207,
+210,69,142,230,71,62,219,211,31,43,2,203,44,37,240,
+125,214,137,207,148,221,101,151,68,193,73,98,22,185,
+246,5,51,98,185,181,191,177,208,12,134,162,228,106,
+165,1,167,229,13,210,250,4,217,34,165,140,13,207,
+167,53,191,173,38,148,0,154,70,19,50,21,223,97,92,
+171,213,121,253,111,190,191,219,198,45,204,29,41,
+99,76,184,149,73,103,206,108,28,41,162,151,153,188,
+56,43,232,238,72,207,116,130,61,155,105,183,217,27,
+190,227,151,255,94,86,128,128,154,167,166,99,126,
+231,120,67,129,239,111,204,122,214,61,211,190,132,
+142,155,197,84,29,72,140,54,254,103,128,71,148,227,
+158,133,180,182,163,219,124,196,96,91,188,235,86,
+176,83,95,243,98,117,191,179,15,75,172,23,89,233,
+41,67,156,147,129,226,241,230,6,4,23,249,106,141,
+60,189,198,54,4,70,54,99,237,109,100,226,163,100,
+201,233,115,146,232,194,196,180,183,85,147,147,8,
+139,50,58,81,166,19,198,153,194,195,156,129,250,128,
+146,221,92,98,81,167,233,201,2,4,76,46,150,2,82,
+156,126,236,210,169,193,226,155,101,233,73,103,91,
+248,218,200,152,109,12,106,185,235,155,0,22,64,155,
+123,34,206,197,104,75,179,217,150,76,39,160,246,149,
+19,223,98,147,81,128,205,160,37,141,108,208,152,108,
+227,31,46,129,234,125,76,230,83,148,113,78,1,225,
+46,45,195,211,89,119,116,189,87,151,199,18,145,244,
+188,181,101,229,82,42,106,13,234,69,230,192,196,198,
+193,175,65,158,90,223,84,149,199,236,83,154,227,227,
+228,212,214,158,87,127,9,176,92,212,247,12,112,154,
+207,109,225,234,197,239,103,131,210,232,44,74,76,
+182,97,146,43,31,233,169,132,1,110,71,210,157,58,
+153,226,97,75,42,199,14,108,125,42,188,159,164,156,
+43,230,173,42,79,169,163,40,93,103,126,80,156,128,
+243,124,61,29,249,58,63,223,15,177,31,147,160,41,
+222,133,252,154,141,159,131,236,23,240,125,239,243,
+224,250,127,252,154,47,151,225,223,191,15,125,239,
+195,235,255,112,244,53,222,176,189,244,235,248,123,
+133,191,23,212,147,241,125,52,121,239,173,95,201,
+164,120,191,6,145,248,53,77,248,125,15,252,61,163,
+113,127,135,208,31,193,160,55,225,250,88,252,63,86,
+61,240,251,197,248,236,96,212,179,29,10,109,15,83,
+48,80,46,249,217,30,52,121,216,245,43,170,45,203,
+52,189,130,54,2,108,56,45,237,182,31,51,112,121,
+137,167,67,60,203,203,255,21,70,69,91,235,36,192,
+181,203,85,7,66,149,50,8,25,137,174,105,69,165,77,
+184,131,49,52,13,249,12,97,74,41,83,0,160,222,23,
+64,193,254,39,28,209,221,190,188,212,67,217,192,23,
+12,189,190,216,176,120,81,61,235,151,36,237,188,244,
+158,71,27,138,14,253,237,240,223,170,182,167,219,
+192,187,178,89,137,23,208,138,1,62,236,10,96,255,
+29,71,100,183,59,167,91,96,240,76,14,80,150,243,
+51,65,171,80,198,238,214,89,111,161,159,229,116,41,
+196,28,202,39,213,39,98,144,224,30,146,20,34,147,
+104,153,93,125,183,80,190,84,225,223,241,42,216,253,
+154,210,15,102,92,111,232,118,176,33,127,147,162,
+201,203,24,125,180,80,185,89,88,189,118,45,58,125,
+99,150,244,66,95,235,126,215,121,179,53,134,86,45,
+152,8,190,5,112,78,62,157,220,120,90,70,197,145,
+162,134,213,99,235,16,17,95,211,224,179,36,10,7,
+52,205,62,47,254,230,129,141,93,82,37,154,83,218,
+43,4,83,143,187,238,46,12,45,204,124,193,81,169,
+92,61,57,154,39,133,64,67,226,246,140,112,206,43,
+15,103,142,160,189,20,25,212,245,253,177,50,198,47,
+255,50,67,22,52,103,72,84,176,145,62,203,255,66,
+224,214,66,27,207,84,212,124,174,83,157,6,48,230,
+60,51,49,139,114,61,90,212,15,179,47,209,137,104,
+117,26,75,201,29,116,199,165,21,137,33,27,98,207,
+223,192,200,99,232,41,17,118,4,11,253,232,69,151,
+184,138,45,28,241,91,69,64,218,99,117,200,226,6,
+135,84,72,154,247,18,127,61,198,197,235,169,124,122,
+136,56,210,75,152,83,238,145,207,10,80,76,61,165,
+188,171,79,124,26,150,168,179,128,41,118,202,230,
+47,237,26,54,123,137,137,182,74,85,206,232,209,197,
+170,102,183,203,27,3,173,203,8,182,86,35,206,178,
+40,253,23,40,134,189,119,204,253,239,195,17,238,204,
+12,209,1,225,211,27,184,89,164,14,234,231,144,87,
+38,45,61,0,164,218,248,21,197,227,104,101,47,167,
+168,155,12,117,47,144,240,128,127,234,42,28,181,33,
+99,47,119,142,118,74,200,233,62,156,180,244,85,189,
+19,34,64,238,115,119,168,121,223,246,48,205,125,65,
+169,224,224,64,199,69,123,153,209,132,255,134,124,
+225,216,117,230,78,147,128,205,189,231,216,123,112,
+156,97,203,181,101,51,45,152,176,251,148,50,12,65,
+126,145,40,187,110,152,194,35,146,169,191,71,60,249,
+164,122,66,74,137,245,92,104,189,192,109,158,10,115,
+55,116,9,65,38,73,236,222,58,120,53,36,102,151,115,
+176,217,220,117,207,49,50,219,172,81,41,31,182,162,
+228,242,45,234,159,3,30,222,30,235,45,120,168,126,
+96,191,61,0,106,12,249,222,199,191,208,93,170,227,
+115,90,239,121,30,43,3,9,67,48,223,5,25,240,56,
+0,178,31,90,172,163,172,68,47,187,242,62,176,3,254,
+54,149,58,16,210,102,164,191,146,28,43,13,143,103,
+185,205,92,250,188,6,0,129,125,255,68,142,2,70,13,
+18,142,4,227,41,54,9,135,145,154,11,19,156,161,146,
+114,249,40,135,207,104,56,33,20,136,213,188,90,207,
+2,49,45,247,121,165,80,115,39,182,58,21,110,110,
+57,21,62,190,13,46,194,30,226,240,144,160,54,98,
+104,185,84,92,225,37,100,221,77,219,132,187,20,254,
+15,249,255,41,25,195,71,216,249,111,172,7,77,78,
+59,243,39,107,74,211,156,197,182,3,129,145,13,239,
+25,64,162,205,24,213,87,151,54,169,117,204,63,150,
+208,184,247,147,61,154,235,103,111,149,153,161,131,
+148,101,220,69,231,75,57,251,93,223,73,155,254,255,
+127,137,104,63,6,243,184,245,193,163,40,208,232,70,
+21,79,154,215,18,166,101,59,155,55,5,176,227,23,
+103,147,182,36,118,111,205,202,251,224,100,186,132,
+163,14,48,132,224,127,7,36,155,242,150,24,61,179,
+23,243,247,236,118,211,121,198,254,109,204,90,17,
+79,91,106,148,161,5,116,3,138,185,206,27,209,175,
+220,239,230,86,149,66,70,148,53,166,244,221,154,12,
+156,117,88,119,191,202,35,24,153,117,217,58,100,106,
+51,49,181,91,129,142,211,189,31,184,199,181,241,221,
+137,32,240,196,207,19,160,132,245,104,19,150,121,
+246,3,232,68,27,72,14,0,54,161,83,140,230,182,68,
+33,33,133,168,76,245,154,141,73,77,155,100,213,36,
+77,28,213,86,15,232,218,221,121,233,121,212,207,141,
+52,236,127,17,221,37,121,211,136,6,136,29,236,152,
+27,85,74,215,185,248,7,92,207,141,26,139,157,170,
+191,83,81,131,28,103,240,203,199,117,156,196,247,
+71,178,175,23,83,96,234,124,0,25,221,159,216,107,
+171,55,207,116,65,23,99,19,220,120,140,81,157,248,
+108,21,126,170,137,99,235,139,212,254,217,14,229,
+7,119,174,252,162,30,9,125,223,150,241,196,41,235,
+28,14,90,181,124,138,75,28,180,184,124,165,0,28,
+209,8,240,140,222,214,85,37,3,8,144,36,216,135,182,
+157,219,166,85,97,42,113,108,91,211,164,170,236,34,
+235,84,197,217,216,133,107,89,76,98,32,255,88,117,
+51,225,231,88,129,163,161,100,169,63,232,52,164,155,
+204,56,71,231,57,51,127,38,71,59,93,17,72,77,225,
+26,196,102,130,143,118,135,218,142,29,161,92,124,
+59,54,27,226,160,97,141,16,98,253,93,9,240,222,96,
+5,210,229,26,96,52,10,13,43,97,114,126,191,199,206,
+253,83,158,234,248,34,39,69,210,45,247,54,84,132,
+87,113,8,26,43,248,29,124,156,175,214,55,211,0,20,
+156,172,117,218,240,255,89,252,69,92,2,99,254,66,
+80,212,19,160,212,118,229,242,207,245,147,29,134,
+106,7,81,184,82,2,127,58,128,163,38,251,209,161,
+236,168,152,49,41,201,99,224,32,7,196,63,31,204,
+95,52,190,224,219,154,25,187,46,244,139,194,205,195,
+138,160,75,41,247,219,253,80,101,96,74,14,52,109,
+128,189,60,53,11,162,29,150,1,43,141,196,247,31,
+109,8,250,184,2,53,234,133,47,242,242,58,187,105,
+200,238,89,117,38,77,89,221,168,160,97,163,85,49,
+114,149,160,140,207,95,96,235,173,22,225,188,174,
+81,237,81,243,209,76,117,189,96,157,247,255,58,51,
+21,49,1,54,217,135,37,188,5,179,119,54,46,238,48,
+193,2,69,248,183,156,228,125,85,57,107,0,110,113,
+69,178,191,81,68,173,138,248,119,98,103,168,9,115,
+68,22,251,222,109,93,90,220,102,24,100,112,164,183,
+64,243,35,111,121,233,91,161,147,117,194,136,19,134,
+224,223,139,73,204,176,4,87,64,204,204,204,214,27,
+232,97,5,24,175,194,165,124,100,182,238,109,79,99,
+28,121,217,20,117,141,241,10,202,69,78,117,42,186,
+33,126,211,94,239,117,129,163,21,89,33,52,56,92,
+44,236,175,27,229,173,239,58,101,246,11,117,35,247,
+1,172,92,12,80,84,12,40,231,207,204,159,176,76,8,
+155,30,104,97,232,52,56,214,111,144,173,52,164,26,
+54,254,21,48,252,45,91,207,78,21,56,14,240,76,22,
+193,72,142,230,125,137,146,83,79,3,12,25,134,180,
+233,144,143,103,36,43,194,72,181,34,191,222,97,211,
+152,11,165,245,47,77,157,230,145,76,6,162,192,65,
+150,166,159,239,159,235,172,175,10,221,15,83,190,
+243,200,99,122,77,152,120,60,116,220,173,67,71,222,
+47,231,110,230,153,63,253,20,163,74,228,4,209,141,
+153,107,121,108,216,135,161,220,174,128,229,22,24,
+204,171,78,90,206,98,183,144,222,71,108,9,146,214,
+219,50,138,163,127,64,209,168,96,130,80,68,220,96,
+231,120,168,97,220,208,245,111,5,187,220,117,41,93,
+215,90,215,129,119,4,58,244,174,122,0,53,21,6,221,
+41,165,41,226,93,255,64,237,239,91,27,147,248,129,
+26,223,43,78,155,185,243,30,87,27,70,16,9,239,145,
+226,145,250,103,59,183,205,39,231,15,201,48,253,118,
+250,58,172,214,225,70,70,180,252,48,236,148,165,130,
+7,107,254,120,186,210,140,159,235,41,82,194,207,72,
+167,34,31,249,133,101,52,24,146,101,214,101,140,235,
+128,4,138,84,115,104,52,117,191,161,182,48,236,124,
+89,205,33,37,63,143,203,57,179,141,45,47,34,240,
+128,35,103,51,51,168,59,253,188,228,198,196,227,232,
+201,95,232,183,138,113,57,141,167,87,160,168,14,154,
+195,221,3,53,173,32,200,1,209,74,75,72,32,139,214,
+216,142,14,142,231,185,63,22,233,199,192,148,16,199,
+149,116,93,120,82,19,8,194,178,47,174,214,233,152,
+156,232,52,32,60,93,117,101,119,119,3,23,221,52,
+129,66,71,48,151,185,44,34,96,171,68,227,131,211,
+97,12,24,48,173,174,234,166,74,46,59,196,122,236,
+40,113,110,153,238,96,46,211,113,9,11,211,182,113,
+89,234,103,117,42,207,176,179,2,120,221,135,13,81,
+63,182,187,10,82,225,252,81,37,86,77,64,173,35,79,
+86,102,230,115,54,118,198,209,12,78,42,91,135,236,
+18,235,120,84,155,110,237,186,133,169,26,178,100,
+147,104,14,179,241,243,102,86,174,190,65,173,226,
+77,28,202,245,134,214,73,59,85,209,4,240,24,177,
+111,241,33,76,83,227,4,8,24,194,124,66,2,102,48,
+46,201,5,123,137,70,166,168,91,162,13,11,106,41,
+126,2,218,161,70,2,150,1,249,189,195,196,18,241,
+2,232,235,21,149,57,28,20,45,66,113,229,124,87,87,
+151,186,242,176,42,190,21,215,175,147,237,228,5,32,
+194,152,40,253,29,161,47,81,129,111,39,23,138,210,
+243,171,75,98,195,134,241,178,28,113,38,73,182,43,
+241,115,200,129,117,239,255,106,207,201,186,193,154,
+232,68,49,10,159,89,186,147,227,223,76,227,145,195,
+129,127,157,171,195,236,58,67,26,222,39,224,26,58,
+24,69,98,64,193,213,165,225,82,195,126,139,15,213,
+233,170,248,177,110,114,172,10,51,135,30,190,213,
+232,154,50,30,138,242,183,104,230,217,138,157,67,
+161,151,130,169,33,10,243,116,6,133,69,161,130,11,
+221,111,200,168,84,231,107,177,171,146,144,107,254,
+127,154,94,124,18,183,253,28,28,181,92,34,36,212,
+52,125,226,158,65,96,187,235,198,202,213,56,139,189,
+143,82,30,80,31,111,3,80,152,173,94,187,23,135,3,
+119,83,82,22,229,106,221,62,191,56,176,160,183,96,
+60,64,29,10,253,157,242,205,205,201,250,235,227,1,
+51,145,242,137,61,16,212,93,113,27,239,91,106,206,
+67,122,84,41,216,63,202,59,93,149,172,192,178,128,
+40,198,95,50,216,170,188,162,24,187,242,255,32,43,
+221,33,131,137,164,221,181,155,19,79,31,56,37,85,
+97,134,169,103,195,100,16,232,176,117,71,229,176,
+106,79,153,250,81,87,1,156,37,43,100,144,180,66,
+201,252,112,132,197,186,127,241,251,171,60,227,53,
+4,90,33,43,3,171,88,165,142,31,190,126,77,151,51,
+191,151,180,38,44,85,161,138,16,195,71,221,124,92,
+221,181,167,124,0,103,145,46,6,217,20,50,19,141,
+92,104,205,216,227,57,15,127,254,12,31,90,121,82,
+131,64,195,173,88,44,80,58,4,14,152,159,253,127,
+60,51,58,62,199,93,93,65,115,240,160,146,51,179,
+93,24,224,214,161,86,122,134,14,33,98,158,183,197,
+191,4,189,125,234,91,59,78,17,138,105,226,0,241,
+118,168,23,251,167,66,194,245,48,155,172,71,85,78,
+123,78,4,41,53,232,144,11,253,244,141,47,171,29,
+19,113,8,146,90,22,217,130,213,150,229,1,216,100,
+45,24,222,136,148,230,152,118,226,227,94,32,60,207,
+108,72,2,25,93,153,232,120,58,158,64,242,95,130,
+59,73,59,65,3,38,135,108,156,219,79,70,6,93,43,
+87,252,85,191,87,72,35,213,138,170,33,56,10,174,
+3,126,5,75,165,5,21,46,175,116,11,152,245,23,127,
+197,86,137,99,178,7,167,70,210,110,207,42,100,108,
+3,5,196,158,234,175,200,173,29,240,65,209,45,55,
+39,60,207,7,71,135,54,147,148,68,96,151,38,11,7,
+62,238,83,134,117,129,167,163,20,79,202,40,39,245,
+66,3,27,60,155,176,231,208,186,148,3,5,236,47,44,
+210,183,96,101,68,248,27,244,83,141,213,127,24,170,
+31,25,91,85,111,240,37,169,153,185,86,252,50,222,
+226,193,207,148,125,237,86,215,68,200,40,154,170,
+213,81,168,124,1,246,20,127,124,255,67,102,32,132,
+67,215,158,254,12,43,123,242,233,76,70,96,111,76,
+75,232,121,139,165,99,208,178,247,103,185,210,124,
+218,89,49,170,178,86,183,76,44,67,89,115,108,143,
+247,38,211,67,81,28,117,128,152,46,248,115,85,206,
+12,18,78,89,138,29,224,71,218,217,141,183,15,131,
+148,163,83,145,134,216,203,23,233,138,111,194,201,
+51,49,214,103,91,1,76,21,250,223,104,93,136,100,
+69,213,104,155,72,61,168,194,156,119,173,171,165,
+9,65,57,19,244,233,203,232,250,66,25,85,87,2,160,
+222,113,148,230,63,48,149,149,70,245,22,216,59,199,
+125,37,44,112,151,156,113,220,246,12,105,242,2,205,
+90,18,45,149,174,186,131,105,131,186,85,116,250,75,
+154,189,208,27,233,71,121,232,110,202,215,36,134,
+167,51,166,5,247,204,146,253,255,89,45,14,202,130,
+62,179,223,162,229,219,63,52,30,220,121,165,166,107,
+68,195,13,121,225,11,78,144,44,86,24,31,158,104,
+127,182,30,50,182,56,245,141,225,248,238,248,67,220,
+41,220,16,74,12,192,125,177,247,215,124,233,105,29,
+173,20,200,171,118,206,174,46,227,129,162,6,18,105,
+190,214,223,99,26,183,130,170,133,171,53,175,217,
+156,52,146,45,204,124,218,212,247,228,43,224,240,
+62,181,28,196,157,80,18,174,166,92,106,167,148,227,
+23,212,22,217,121,156,33,0,60,106,56,42,93,8,229,
+219,100,158,229,32,16,81,53,48,58,109,39,141,153,
+255,27,183,99,47,199,175,202,47,66,73,246,186,59,
+28,214,225,52,180,60,52,196,114,209,237,178,206,244,
+18,155,252,76,184,157,100,160,99,25,209,188,202,118,
+112,8,115,203,29,144,5,217,238,92,91,203,77,99,122,
+66,235,173,71,147,119,152,27,116,13,26,4,56,113,
+57,136,20,102,76,144,191,109,149,62,112,87,121,163,
+1,182,130,155,45,22,61,16,83,42,120,130,216,71,230,
+57,220,201,245,133,14,179,72,176,104,219,154,65,121,
+252,17,207,11,217,18,108,43,129,3,142,41,255,40,
+179,126,38,245,199,197,56,54,111,224,84,226,89,227,
+121,37,179,69,106,85,91,63,136,225,220,11,41,173,
+198,177,117,62,62,140,157,209,129,216,119,50,161,
+155,10,137,68,132,145,192,115,190,179,68,219,109,
+134,58,21,90,113,205,240,0,78,164,119,65,132,160,
+34,98,22,193,201,248,65,105,93,101,93,133,175,155,
+52,34,225,147,229,69,168,194,25,12,6,69,119,152,
+153,67,57,184,194,196,22,10,37,9,86,59,227,214,70,
+93,178,21,237,207,212,159,235,8,140,209,64,216,23,
+213,17,146,163,116,236,73,151,132,209,124,189,110,
+131,6,50,132,5,15,99,66,217,120,136,10,113,255,4,
+161,250,249,20,210,35,32,49,190,28,135,210,145,193,
+193,188,253,47,80,170,221,179,229,159,148,229,25,
+220,201,131,157,143,191,78,42,98,151,41,72,74,173,
+66,143,30,139,99,140,89,18,8,6,59,103,222,104,87,
+160,16,137,39,73,149,201,70,246,239,124,230,173,23,
+105,119,253,255,121,129,53,100,253,65,75,219,28,154,
+217,127,179,44,195,118,158,237,81,80,209,55,53,255,
+79,230,89,48,125,161,52,68,205,12,161,206,5,47,104,
+5,98,242,76,159,216,156,14,141,109,162,66,100,5,
+119,245,166,107,17,195,235,100,11,254,73,223,180,
+14,160,234,179,227,61,14,120,227,77,40,233,242,228,
+3,235,6,167,202,106,3,27,30,110,85,93,167,174,123,
+87,109,247,201,70,62,197,45,30,62,116,169,200,155,
+67,255,88,85,71,234,7,153,220,174,126,130,114,225,
+23,234,232,7,6,47,247,196,131,71,4,229,78,122,79,
+150,187,199,4,95,7,99,230,184,46,98,37,212,243,69,
+109,134,153,121,217,119,133,113,132,148,227,193,103,
+190,240,78,188,244,192,164,180,250,91,162,50,9,39,
+148,119,39,253,122,185,59,116,153,3,119,205,68,149,
+222,77,62,229,237,63,169,19,90,160,48,76,155,234,
+209,24,102,78,26,113,173,138,29,231,11,121,221,162,
+0,46,27,67,43,135,180,125,77,8,157,114,195,222,67,
+53,243,64,176,196,25,65,16,70,54,164,172,244,144,
+26,140,159,184,160,188,80,133,33,66,46,12,136,88,
+244,208,200,96,107,230,31,143,240,102,19,207,97,94,
+177,251,169,14,104,168,195,71,98,9,189,90,150,167,
+140,95,49,129,112,253,152,134,232,69,62,109,232,168,
+190,39,30,40,120,124,135,207,163,69,112,17,209,178,
+219,170,168,171,163,75,30,93,82,102,104,250,152,183,
+246,109,194,183,132,58,151,219,253,237,118,180,246,
+105,139,231,160,241,241,157,73,14,249,41,92,79,112,
+147,52,192,241,15,18,233,191,215,64,79,53,25,130,
+137,209,133,58,39,115,120,62,83,198,79,96,23,78,
+46,200,229,239,210,50,13,58,74,222,123,101,31,79,
+155,230,244,203,154,159,167,60,219,127,144,167,99,
+252,249,14,105,251,225,1,94,82,116,62,99,9,55,142,
+45,115,195,206,110,196,150,90,103,133,145,91,104,
+181,148,10,32,112,98,72,41,139,30,182,124,29,130,
+0,173,226,11,255,97,116,236,90,101,222,238,20,116,
+66,84,36,124,187,145,96,157,81,137,82,5,82,239,177,
+109,53,87,224,87,64,207,22,194,71,12,198,243,191,
+103,229,163,128,45,78,65,126,124,198,53,95,221,163,
+223,46,171,41,102,25,48,220,227,123,52,176,243,33,
+97,41,1,54,185,68,115,93,156,39,208,131,41,138,28,
+22,119,171,51,7,141,186,184,119,222,163,102,114,229,
+201,202,120,238,65,222,251,174,199,150,151,210,116,
+29,18,120,94,212,67,119,81,190,235,233,162,90,64,
+63,199,213,216,16,48,5,26,251,44,170,50,29,121,214,
+208,108,106,103,44,53,94,140,54,2,188,201,27,218,
+254,162,53,18,155,246,130,118,22,80,31,80,48,134,
+82,71,78,80,12,175,177,89,244,64,123,208,53,189,
+2,196,180,124,19,30,13,250,170,129,41,27,91,85,102,
+171,129,11,27,172,141,44,138,123,59,191,143,127,197,
+93,147,198,152,175,148,63,180,55,64,100,129,244,43,
+42,168,145,86,146,217,158,2,172,86,100,249,226,168,
+196,138,209,95,38,15,94,6,232,10,10,102,236,156,
+159,18,69,255,122,141,3,49,167,205,217,72,113,93,
+158,166,193,221,175,253,118,33,243,146,91,54,149,
+43,167,33,127,59,4,160,224,60,196,8,79,247,78,108,
+67,66,28,13,105,189,239,28,250,184,45,62,200,20,
+185,129,210,253,93,113,134,156,156,20,130,121,82,
+94,142,12,197,57,24,144,0,174,108,113,65,191,96,
+121,50,54,136,51,218,112,69,179,105,214,190,214,191,
+44,212,97,250,69,213,6,192,0,8,199,249,185,100,31,
+144,101,13,59,216,209,240,112,123,147,178,181,249,
+215,2,52,238,26,13,27,229,133,204,90,109,215,229,
+51,41,155,159,11,134,212,129,173,117,233,73,241,214,
+6,63,195,224,223,170,3,152,34,114,223,153,216,173,
+221,31,253,88,120,166,24,107,230,177,217,179,97,94,
+44,161,123,254,6,150,245,174,165,210,127,117,167,
+54,135,16,238,36,173,170,104,86,239,145,50,30,16,
+166,216,71,232,39,37,29,142,229,52,70,25,155,92,
+77,173,160,222,99,75,242,237,33,2,122,124,91,52,
+244,160,185,178,148,146,182,36,197,101,136,167,63,
+194,175,154,67,228,118,107,90,42,44,180,71,137,166,
+180,50,108,122,126,56,99,114,69,225,159,29,119,187,
+123,71,151,3,129,243,201,148,177,237,63,106,218,151,
+84,232,161,150,5,231,73,160,36,45,107,30,1,144,161,
+97,174,88,104,191,75,117,240,11,31,134,96,15,54,
+213,106,197,163,91,86,173,74,51,146,131,92,232,251,
+110,16,253,12,130,16,133,16,226,147,34,64,158,112,
+160,141,228,33,44,88,135,175,105,44,187,133,74,65,
+216,81,73,231,6,174,22,168,22,125,130,57,67,235,
+18,93,133,179,186,52,122,184,58,150,49,149,127,31,
+58,187,111,48,55,200,84,194,51,223,254,220,63,177,
+197,1,23,145,10,65,162,220,189,55,40,5,117,91,89,
+107,222,254,80,54,7,183,54,0,225,165,157,97,131,
+190,234,76,146,214,165,219,136,229,105,5,196,254,
+210,43,128,180,70,124,166,27,112,85,101,69,57,229,
+139,5,116,15,36,63,121,42,245,114,180,57,248,184,
+6,71,3,203,210,219,91,76,136,201,24,133,246,161,
+43,147,62,184,140,220,4,203,145,20,4,196,148,59,
+104,236,154,169,182,4,251,29,184,27,111,42,92,88,
+200,226,122,29,170,67,47,244,170,139,14,229,205,236,
+17,222,109,62,70,24,5,163,110,87,133,220,62,50,213,
+45,196,204,216,67,162,121,141,186,73,125,81,246,176,
+252,230,46,196,185,226,85,47,137,149,214,165,81,201,
+204,189,146,0,197,234,55,213,66,89,79,20,93,221,
+90,215,115,193,120,41,50,118,102,176,43,134,87,202,
+7,139,184,160,71,70,174,55,54,83,35,141,68,61,44,
+130,245,232,123,153,148,224,236,86,178,63,182,60,
+2,156,144,158,117,102,46,191,154,46,106,14,222,120,
+11,148,40,198,147,143,173,201,92,44,207,139,100,67,
+148,74,117,232,162,64,190,198,107,214,243,161,3,125,
+181,116,83,216,235,144,184,115,244,28,77,183,153,
+51,213,220,229,163,130,70,240,229,162,141,205,153,
+17,18,21,233,8,124,188,187,59,49,18,97,130,71,154,
+135,114,83,126,98,176,14,117,118,98,71,244,118,155,
+11,246,39,247,174,211,51,92,227,158,129,226,111,165,
+213,94,243,161,93,119,120,31,242,58,23,184,163,239,
+133,117,124,88,81,228,253,216,40,223,177,35,73,183,
+27,176,199,104,84,99,109,190,140,255,74,204,162,43,
+128,166,156,60,10,216,145,54,77,246,239,85,246,22,
+22,244,67,95,41,166,174,187,115,25,100,237,186,175,
+135,99,220,206,40,5,26,149,173,176,190,116,216,15,
+147,126,65,10,107,244,249,34,159,7,89,255,9,15,110,
+176,49,51,5,61,245,210,106,124,104,238,39,112,184,
+91,19,28,201,149,168,199,6,43,206,230,4,111,190,
+63,182,33,215,82,232,63,81,210,244,228,101,97,225,
+200,73,237,179,186,197,71,10,3,47,196,204,236,37,
+147,143,28,46,53,207,249,123,234,27,235,121,44,98,
+108,133,38,129,237,67,215,227,247,238,56,64,197,82,
+201,129,131,99,241,125,228,236,247,0,167,171,206,
+224,39,233,138,98,157,73,151,1,65,226,3,126,139,
+73,49,100,71,172,170,75,117,216,220,167,203,117,175,
+205,167,204,66,203,193,254,16,158,136,217,69,85,35,
+197,192,82,3,138,125,52,196,151,124,238,27,14,112,
+31,160,147,173,51,2,160,183,39,13,164,134,50,27,
+203,35,174,208,218,87,35,10,129,165,124,239,112,139,
+225,180,236,62,94,71,106,115,142,191,133,222,181,
+29,206,84,225,7,185,132,218,100,136,107,118,235,161,
+117,144,230,204,115,195,175,133,103,248,239,75,106,
+235,105,145,91,153,151,90,1,97,127,206,254,199,169,
+231,63,196,110,196,3,151,233,169,93,25,158,29,15,
+252,86,227,49,30,159,166,71,58,181,216,171,224,153,
+61,0,145,149,18,198,87,21,238,223,201,179,95,210,
+40,243,52,41,24,114,2,211,5,246,148,114,230,44,81,
+184,92,189,161,161,219,16,208,35,227,33,235,186,167,
+131,95,190,229,243,109,185,224,44,210,24,238,218,
+6,178,78,15,13,180,195,83,88,189,119,121,185,128,
+46,26,203,102,223,17,188,171,60,26,15,242,167,95,
+129,227,196,39,141,116,59,78,157,55,80,49,47,63,
+202,1,196,63,226,238,222,38,120,138,146,229,45,70,
+31,229,204,158,66,140,167,46,38,175,206,126,230,17,
+226,99,138,161,25,115,215,237,96,72,79,178,61,147,
+145,250,248,171,172,146,75,70,73,54,160,133,78,249,
+50,75,22,11,82,68,30,157,145,8,16,67,58,146,62,
+151,145,50,151,41,49,37,204,214,179,248,88,243,219,
+72,179,217,201,126,37,146,252,71,70,232,242,22,114,
+178,115,189,42,95,83,137,209,146,61,140,104,225,147,
+224,136,3,205,108,33,70,161,114,244,118,129,141,0,
+107,52,85,105,134,31,7,196,7,31,91,239,5,251,161,
+148,32,48,181,11,159,244,135,19,212,119,183,238,56,
+176,172,197,178,72,238,234,201,162,237,176,185,69,
+171,116,205,253,214,137,131,49,225,78,86,190,16,131,
+103,39,152,32,165,49,149,63,72,34,104,98,179,220,
+81,122,114,79,51,180,193,51,87,30,8,229,80,166,111,
+163,240,92,53,16,69,116,130,232,56,111,108,232,140,
+202,150,198,250,137,158,22,8,89,228,90,95,209,225,
+58,85,34,93,2,19,220,66,237,16,105,23,183,250,20,
+246,90,182,35,52,47,3,102,221,13,7,4,47,79,85,29,
+60,228,83,87,72,141,158,46,40,14,70,187,190,34,49,
+178,70,62,98,61,160,187,45,3,209,117,228,5,156,202,
+230,131,37,15,242,96,210,105,97,162,93,90,185,111,
+4,178,103,149,181,109,4,15,151,20,133,128,240,19,
+2,158,219,255,27,170,212,81,50,174,248,178,136,142,
+245,11,150,146,43,70,252,221,230,59,147,126,188,138,
+72,27,31,131,198,8,190,225,115,171,133,251,207,96,
+209,180,63,31,178,204,55,71,237,84,88,240,185,10,
+75,52,240,55,200,139,216,231,76,137,8,210,158,159,
+100,81,80,159,229,202,164,164,146,128,229,58,137,
+222,234,141,246,126,193,253,242,21,100,17,46,203,
+69,174,14,2,242,106,74,252,147,153,96,123,42,85,
+188,21,185,139,40,206,215,176,208,130,71,175,87,236,
+133,248,245,158,29,234,24,80,191,97,87,231,208,154,
+254,145,56,33,76,17,217,95,19,15,203,184,70,58,249,
+123,106,143,68,31,212,28,251,170,31,212,90,240,128,
+81,6,207,228,215,38,98,81,49,175,206,206,12,63,122,
+9,87,96,243,22,132,14,15,135,113,185,19,60,229,206,
+206,135,119,121,234,15,109,231,173,177,83,14,250,
+70,223,132,116,206,2,47,150,89,233,43,162,199,48,
+31,161,131,131,120,12,236,65,43,16,85,156,4,94,215,
+242,186,177,211,171,121,218,105,164,237,116,106,1,
+39,136,28,194,188,195,221,89,247,87,108,92,2,123,
+202,122,202,42,53,105,131,11,239,131,84,98,217,84,
+184,125,162,68,237,11,147,40,203,154,70,121,170,230,
+72,164,144,97,146,96,10,209,227,228,40,219,228,208,
+174,186,147,254,51,210,20,242,195,228,7,214,29,15,
+88,40,0,115,91,36,104,31,16,124,236,38,232,204,19,
+237,226,242,248,17,20,83,11,41,156,72,82,229,162,
+26,243,9,36,86,59,58,179,193,91,249,106,201,217,
+64,9,50,7,95,250,159,26,134,1,251,6,139,88,15,2,
+159,112,251,198,91,210,16,90,87,76,223,77,251,236,
+159,108,126,116,28,85,77,1,74,60,228,134,4,46,23,
+229,131,246,205,193,119,88,15,158,98,129,226,29,243,
+182,57,249,87,246,90,113,25,228,50,219,106,215,196,
+172,15,66,141,207,149,175,213,132,153,119,44,165,
+44,101,130,233,194,92,183,249,226,74,174,82,237,140,
+8,77,242,204,123,29,193,45,149,198,54,62,214,43,
+194,152,213,87,116,231,31,220,132,119,134,58,71,199,
+91,43,161,28,66,116,215,115,58,85,117,16,201,106,
+91,25,131,142,205,83,216,215,123,44,211,108,1,157,
+201,193,63,77,172,117,34,210,56,155,223,7,121,107,
+226,125,188,29,130,122,4,37,46,211,133,94,73,128,
+151,23,246,208,191,20,5,125,7,118,29,106,90,149,
+27,204,30,228,80,0,251,253,108,175,89,167,127,58,
+131,112,130,144,231,50,44,241,70,2,9,114,84,101,
+80,212,77,104,13,111,71,204,7,67,170,242,57,19,136,
+54,4,204,90,235,15,233,10,148,231,28,134,182,178,
+74,148,189,153,213,163,150,226,115,42,201,169,52,
+114,229,212,152,159,113,33,57,99,208,215,211,131,
+77,212,241,60,142,141,33,42,223,5,176,17,198,195,
+1,221,178,190,245,3,36,20,44,88,210,196,212,15,187,
+198,18,2,169,151,151,231,194,189,22,78,111,221,40,
+116,145,182,133,159,243,207,219,245,142,14,89,12,
+23,169,50,15,190,176,191,34,200,115,116,158,170,116,
+231,124,43,27,251,229,73,135,37,118,96,106,52,21,
+184,225,82,158,226,125,216,72,82,28,92,133,52,106,
+149,9,149,111,90,122,118,206,242,52,39,95,109,12,
+84,3,172,62,242,33,220,134,66,177,161,78,190,47,
+90,63,105,127,55,220,122,215,202,44,156,11,100,206,
+31,235,99,230,246,245,173,215,46,174,106,49,254,150,
+42,22,198,147,150,29,35,170,157,152,122,21,206,221,
+75,175,208,179,206,13,70,46,19,178,49,186,34,132,
+233,115,48,16,100,141,112,68,46,208,97,202,109,125,
+92,55,199,36,52,151,237,234,31,21,60,155,104,227,
+166,153,32,245,217,100,187,49,31,49,83,248,57,227,
+197,192,128,81,183,139,255,21,177,208,53,202,70,247,
+252,207,66,228,209,157,249,94,171,118,169,198,130,
+171,113,105,176,20,234,251,192,18,251,188,11,13,191,
+248,54,148,235,68,82,229,184,161,228,190,194,76,22,
+49,33,45,156,165,42,1,81,15,5,101,41,188,202,164,
+13,105,238,125,215,81,105,3,162,210,236,229,12,142,
+219,209,252,207,132,120,78,82,8,116,149,19,70,177,
+28,207,38,185,127,61,209,2,9,15,226,197,87,245,124,
+184,22,113,72,3,13,223,53,65,233,222,216,181,36,
+66,21,26,61,137,154,126,129,237,123,50,155,99,236,
+8,139,174,35,5,102,24,58,25,249,137,43,80,214,31,
+135,24,126,158,160,15,46,197,150,226,226,110,53,149,
+29,159,230,98,111,229,235,179,189,24,202,15,78,85,
+177,215,31,83,108,13,2,87,49,105,246,239,189,71,
+196,225,52,151,19,87,91,31,115,30,56,250,241,215,
+12,205,146,70,47,94,105,64,190,0,136,226,109,47,
+176,198,165,210,10,251,154,16,190,147,247,156,68,
+79,227,222,101,190,232,20,76,44,213,214,111,52,124,
+101,132,216,93,34,201,219,165,153,214,87,144,68,30,
+18,246,142,34,251,13,75,29,116,226,47,120,200,53,
+116,123,122,132,102,40,26,209,138,89,44,58,119,191,
+60,49,60,62,45,20,180,133,38,82,24,232,145,69,250,
+161,13,4,239,170,15,3,58,32,84,251,54,18,45,7,158,
+19,25,61,46,6,14,182,120,114,135,26,86,119,97,238,
+43,68,255,14,106,126,119,37,216,178,218,118,232,243,
+50,226,127,129,142,130,138,103,198,151,60,131,3,232,
+61,148,74,105,237,61,11,70,175,64,232,213,89,105,
+147,160,162,88,27,241,114,138,183,163,92,31,218,118,
+251,95,66,90,88,95,71,89,80,47,3,211,78,48,203,
+86,253,207,234,169,84,160,253,99,165,194,90,63,239,
+29,119,43,114,122,143,84,122,196,101,217,74,246,53,
+73,213,61,89,54,46,2,193,123,105,186,175,151,65,
+222,102,9,97,7,231,229,60,113,91,232,182,245,37,
+74,89,53,236,95,228,89,26,56,86,59,63,54,158,58,
+137,146,143,186,86,150,174,125,31,116,205,123,144,
+245,120,40,244,221,173,232,252,169,145,102,155,51,
+253,14,117,72,105,251,211,180,170,204,132,2,39,182,
+92,44,173,106,21,19,223,93,76,145,204,211,13,254,
+48,213,16,136,162,125,202,243,200,162,152,1,46,166,
+254,155,250,165,139,78,160,180,209,72,38,56,19,79,
+124,227,70,5,133,100,199,240,90,79,143,151,15,128,
+126,169,240,241,16,207,197,170,169,75,226,152,31,
+98,86,118,230,10,238,13,83,225,163,80,97,219,135,
+119,65,59,185,26,158,6,250,86,120,86,122,211,72,
+52,136,116,73,52,93,101,25,100,83,251,207,251,147,
+202,79,158,232,71,175,41,38,194,229,152,172,55,80,
+66,128,89,220,205,46,155,135,198,155,194,98,15,121,
+159,63,190,152,58,27,24,19,167,121,146,171,177,120,
+161,66,247,17,44,14,196,49,134,236,12,181,74,11,
+189,171,114,184,131,141,153,161,101,77,234,45,107,
+84,240,89,152,38,242,67,93,181,217,121,213,48,214,
+219,233,112,190,188,234,231,202,197,207,90,103,186,
+26,85,27,111,7,52,186,144,51,5,145,61,95,47,8,251,
+214,77,51,99,155,74,203,154,227,107,6,198,150,60,
+211,61,172,75,122,94,162,205,93,130,146,28,197,248,
+112,120,187,206,97,6,20,59,149,104,254,63,58,160,
+240,235,98,20,199,132,121,199,181,102,221,167,146,
+179,255,94,150,132,79,61,251,182,248,198,18,168,107,
+221,55,82,214,212,63,121,44,49,254,15,170,19,244,
+2,47,54,142,251,40,73,119,41,46,35,202,35,132,101,
+235,205,73,139,224,170,48,24,156,235,46,215,154,51,
+123,254,169,105,16,85,210,115,21,203,89,244,26,228,
+110,157,103,108,80,31,240,188,219,151,39,119,204,
+215,112,251,163,26,217,1,122,216,23,228,125,6,238,
+120,163,129,182,84,143,76,35,172,147,227,186,152,
+253,252,161,242,97,208,130,194,17,216,17,189,65,131,
+51,57,169,76,40,248,36,120,6,241,202,233,89,17,83,
+90,97,130,66,231,52,246,133,24,4,35,127,11,18,178,
+231,169,173,217,156,1,112,84,146,29,45,131,21,113,
+232,121,120,132,215,150,113,4,165,180,14,83,117,75,
+113,219,82,137,93,171,43,225,198,76,114,176,51,98,
+85,27,122,198,108,42,163,184,192,224,104,71,181,239,
+230,98,148,205,181,106,205,140,145,6,92,50,69,180,
+141,51,16,110,243,121,54,76,240,48,199,113,154,22,
+239,158,190,60,106,35,79,84,238,198,95,105,176,206,
+33,24,237,231,196,82,207,213,22,7,227,130,94,146,
+95,207,74,53,246,210,28,142,179,112,193,113,124,203,
+156,103,124,40,210,118,201,228,247,237,218,109,59,
+165,16,124,250,118,200,2,211,201,38,43,39,28,127,
+213,2,88,119,171,145,158,254,60,123,61,78,196,80,
+165,150,164,51,112,185,50,87,85,252,157,220,188,75,
+86,100,177,112,190,219,18,191,132,210,209,242,222,
+250,142,250,214,138,149,205,158,73,232,147,34,138,
+234,140,167,109,251,2,171,150,210,75,94,113,89,202,
+151,208,74,148,44,75,188,205,172,206,181,34,254,123,
+68,0,10,191,200,221,152,12,13,106,208,157,71,46,
+138,161,112,5,92,152,211,95,37,63,189,31,167,219,
+196,185,47,155,90,232,121,134,76,89,129,129,122,180,
+240,151,40,212,38,61,125,146,80,160,1,22,245,132,
+3,25,54,240,252,186,99,189,169,226,160,62,11,235,
+137,144,123,217,140,72,124,98,164,193,33,200,150,
+108,79,166,152,174,49,59,101,124,200,180,248,31,45,
+74,187,227,26,105,36,54,39,186,112,170,13,120,168,
+35,46,98,9,18,109,116,185,105,81,97,181,9,71,58,
+141,101,14,131,12,117,243,8,24,197,117,46,129,46,
+140,41,252,98,155,44,8,98,194,129,56,63,79,89,237,
+243,74,235,81,229,17,189,185,121,219,197,189,202,
+147,0,156,32,255,98,170,114,122,143,208,106,128,185,
+53,172,115,46,234,145,167,158,114,218,219,181,93,
+178,135,67,42,166,132,225,201,201,20,17,189,12,215,
+29,32,151,47,13,94,235,254,33,164,40,1,187,80,101,
+99,149,27,23,171,102,31,230,26,191,42,65,190,132,
+91,243,134,22,254,38,199,246,200,111,83,199,110,190,
+32,21,206,113,227,168,36,218,211,115,60,213,221,111,
+22,17,36,41,186,237,23,73,85,242,227,189,212,37,
+88,96,181,54,235,51,217,101,101,93,148,218,236,26,
+34,194,122,15,44,53,71,5,168,59,21,185,158,78,118,
+105,143,151,131,96,238,149,87,99,255,83,228,14,160,
+169,76,223,152,168,236,73,20,51,120,230,174,143,38,
+126,202,49,2,198,60,158,52,118,162,173,212,47,37,
+11,93,150,1,152,187,153,159,246,49,93,24,170,60,
+62,55,147,32,97,4,184,124,25,249,115,13,215,145,
+178,199,222,21,73,233,3,225,139,82,135,195,175,107,
+124,58,73,231,248,159,28,251,17,82,76,198,188,2,
+80,85,104,147,64,104,249,74,195,12,13,82,106,4,13,
+239,156,201,21,239,195,212,154,255,72,155,33,221,
+141,113,172,56,178,38,217,240,51,249,246,77,23,1,
+181,130,122,120,116,115,247,172,24,82,109,80,48,8,
+39,203,79,156,155,55,117,52,121,31,2,154,250,199,
+88,162,207,213,158,110,199,229,1,68,37,69,160,184,
+153,25,133,178,224,64,171,184,161,207,157,44,162,
+195,37,92,145,137,215,70,150,174,117,195,134,184,
+66,31,35,177,76,219,117,243,107,200,38,28,111,236,
+181,31,217,9,222,91,187,43,45,224,16,156,251,123,
+71,57,7,184,208,233,154,14,110,134,109,233,91,18,
+66,46,52,204,225,34,148,27,103,146,217,208,148,244,
+239,236,134,139,52,17,49,109,138,171,227,31,207,20,
+155,28,90,236,91,123,96,147,236,230,82,218,104,248,
+30,225,61,68,115,83,66,4,137,9,249,124,149,0,105,
+246,133,241,95,219,223,79,158,150,30,139,245,221,
+59,117,195,203,19,95,160,192,126,222,238,30,74,224,
+92,102,133,245,216,188,100,137,154,6,33,25,136,37,
+144,223,188,216,88,60,45,112,171,8,145,60,153,165,
+56,222,185,92,92,175,251,75,190,142,128,80,103,212,
+4,70,180,159,208,211,142,95,48,223,34,101,207,164,
+113,100,213,100,84,14,87,210,25,231,111,160,81,9,
+47,77,190,192,80,15,47,253,215,161,226,2,185,243,
+5,229,186,210,216,239,250,244,121,127,45,176,154,
+142,31,147,160,204,209,44,47,252,213,88,227,57,253,
+86,232,142,142,221,209,68,88,139,208,73,240,255,68,
+147,213,10,49,10,110,173,105,142,60,40,10,183,181,
+98,173,13,28,73,146,155,35,138,192,186,49,177,140,
+173,132,46,70,2,51,167,84,212,8,243,155,72,52,157,
+156,103,249,234,149,112,1,164,86,196,57,169,182,58,
+128,173,106,191,239,132,116,97,102,146,140,201,208,
+102,233,218,246,85,159,32,222,66,200,49,208,240,60,
+38,113,155,236,194,209,208,94,163,235,167,225,137,
+208,63,133,119,133,30,65,151,34,239,128,167,86,16,
+60,9,83,79,247,12,39,200,155,232,220,233,172,188,
+31,169,212,193,5,168,26,46,12,17,255,125,212,103,
+116,19,175,182,241,94,201,74,15,184,210,19,60,187,
+180,105,95,163,10,115,89,255,14,145,35,137,173,116,
+44,18,176,100,91,63,30,90,60,241,113,53,23,75,76,
+49,163,124,148,154,217,91,247,161,149,140,235,217,
+154,49,14,145,146,150,194,208,239,200,69,202,162,
+170,163,38,49,250,160,17,139,133,100,42,14,150,178,
+13,212,11,87,241,113,118,183,167,161,50,173,86,196,
+198,144,77,168,118,122,117,192,33,189,158,158,4,53,
+205,94,128,242,53,104,33,223,49,213,217,247,97,176,
+111,111,41,254,255,83,55,47,246,83,4,124,207,94,
+37,76,167,208,63,125,59,14,8,151,87,118,146,112,
+143,237,224,83,12,146,195,179,45,196,44,199,227,151,
+69,1,120,64,78,111,186,80,48,178,83,175,251,195,
+206,252,63,27,129,193,219,4,213,159,155,40,141,13,
+36,14,160,3,201,123,96,56,114,72,169,249,76,254,
+164,90,71,39,25,55,42,211,154,24,103,169,90,9,167,
+161,166,243,19,131,124,240,200,181,45,207,61,198,
+152,219,123,203,158,15,211,45,242,114,156,34,49,99,
+167,13,227,239,193,137,55,226,146,103,70,98,55,68,
+117,195,138,84,249,115,130,231,68,94,15,64,250,123,
+162,127,196,38,235,235,126,192,121,143,47,175,189,
+85,114,67,213,64,237,12,214,84,243,238,244,160,187,
+193,102,20,233,113,112,138,249,233,28,78,83,146,28,
+254,64,15,249,248,91,81,206,245,240,24,43,5,253,
+191,201,185,106,141,225,42,247,211,105,63,92,86,135,
+110,123,191,152,217,21,59,170,15,180,135,212,141,
+206,101,158,243,28,235,26,7,119,228,112,125,175,187,
+209,136,59,58,139,162,163,241,175,177,160,155,114,
+8,225,71,36,16,119,92,200,150,79,17,72,11,175,63,
+213,175,118,141,107,59,75,64,128,25,101,11,117,5,
+38,164,17,179,98,239,245,98,149,222,237,173,100,76,
+224,177,90,78,234,135,106,34,9,139,210,181,86,213,
+255,4,42,119,199,233,67,95,153,13,187,46,159,161,
+87,183,252,252,155,48,47,229,34,193,153,154,168,86,
+166,87,99,159,176,159,15,69,100,117,248,152,232,188,
+26,227,97,115,245,249,128,234,229,49,193,148,39,234,
+8,109,231,25,63,244,138,219,237,94,29,112,161,189,
+160,53,190,23,200,118,12,141,24,84,252,85,239,127,
+112,173,68,20,243,12,15,86,202,252,62,122,45,58,
+208,254,234,224,192,160,231,80,115,181,168,210,230,
+158,156,10,20,27,168,66,243,145,221,183,6,130,244,
+135,215,67,30,188,136,238,81,87,72,148,240,73,85,
+233,17,45,28,86,158,229,203,23,173,126,44,181,162,
+182,206,111,118,52,107,28,125,119,21,236,210,92,122,
+127,177,2,145,28,122,81,67,150,99,38,141,145,186,
+12,191,230,74,186,28,209,155,33,137,10,191,146,175,
+226,49,16,157,127,198,62,114,242,64,16,28,250,69,
+52,213,152,21,117,59,248,106,18,236,26,136,8,223,
+122,74,45,229,143,254,102,54,23,226,81,197,53,72,
+234,19,166,129,191,221,180,88,114,252,56,47,103,98,
+10,100,253,234,103,75,26,20,239,12,228,173,248,117,
+141,20,36,15,38,6,53,62,117,6,206,26,108,125,7,
+220,228,90,65,158,242,18,147,59,208,55,138,219,242,
+231,97,43,37,114,65,218,155,93,142,140,50,18,153,
+124,124,152,194,53,220,129,98,216,152,88,9,238,73,
+177,121,206,230,151,102,41,127,7,228,86,97,79,204,
+212,88,167,38,74,74,203,64,242,103,93,64,155,101,
+138,71,219,156,60,170,138,26,86,182,105,38,94,140,
+241,185,130,115,115,69,236,55,2,138,108,1,79,24,
+121,39,118,223,225,23,21,180,178,207,253,81,83,171,
+198,22,32,56,204,190,191,161,131,3,6,203,191,173,
+103,85,77,182,13,127,216,106,108,200,233,224,60,75,
+40,197,119,214,124,216,137,10,99,169,17,67,169,47,
+166,190,146,250,238,247,151,92,248,64,223,205,225,
+86,221,28,32,99,86,65,137,15,136,64,0,66,30,139,
+226,237,129,225,160,226,108,93,231,182,79,84,125,
+130,133,116,107,87,78,57,12,144,203,250,56,19,198,
+249,200,54,76,0,114,49,246,22,200,42,140,122,119,
+253,66,96,30,108,252,60,245,122,242,240,178,221,23,
+223,249,206,52,2,231,138,128,139,194,177,135,138,
+242,20,203,124,110,90,207,41,113,126,192,123,11,253,
+78,211,54,5,3,210,99,251,12,71,163,59,166,162,31,
+133,225,218,16,26,147,11,111,71,16,227,15,9,79,16,
+239,87,20,17,114,155,111,154,127,66,97,209,77,189,
+248,217,169,100,1,207,20,155,5,155,21,30,2,130,205,
+137,25,58,69,3,242,240,36,80,74,141,54,11,253,211,
+196,217,130,162,211,167,45,93,197,208,157,198,220,
+92,144,129,198,196,173,167,213,35,254,68,102,95,229,
+209,106,220,199,233,252,151,140,226,162,49,198,7,
+200,246,61,158,54,55,3,184,151,69,173,65,150,161,
+80,105,29,214,207,105,246,33,75,135,100,23,242,17,
+252,184,153,187,122,144,54,2,72,4,54,98,139,118,
+248,52,170,26,119,59,18,105,70,138,73,192,134,90,
+52,132,200,244,174,170,13,98,233,72,93,35,194,59,
+35,199,2,58,1,209,95,217,148,40,62,13,144,235,18,
+177,171,135,137,4,164,130,220,117,183,64,5,9,202,
+80,108,69,118,216,190,206,149,5,105,2,107,1,126,
+38,138,174,170,230,97,19,129,221,32,120,74,90,44,
+197,254,11,224,221,78,199,241,119,45,228,135,198,
+140,95,210,178,15,213,171,101,50,153,202,165,156,
+63,144,252,243,7,53,106,112,209,93,71,233,44,149,
+46,165,207,11,104,102,148,53,79,62,213,162,130,153,
+81,43,242,236,188,68,94,183,110,171,214,182,74,94,
+17,145,165,166,169,21,209,61,27,198,126,135,142,129,
+150,64,86,226,121,104,148,121,198,170,102,38,3,154,
+135,117,15,133,93,17,222,214,23,138,75,65,67,129,
+67,202,149,154,22,104,51,166,245,163,200,189,250,
+70,254,164,93,31,247,46,190,97,39,14,37,208,127,
+83,137,2,112,177,221,54,159,36,35,253,223,192,232,
+209,206,15,123,110,151,237,154,150,148,106,130,24,
+57,106,135,140,94,180,119,18,68,161,199,60,195,75,
+88,146,76,218,192,230,209,202,51,177,0,118,110,216,
+90,79,218,104,102,21,27,232,149,136,129,41,247,29,
+54,20,105,220,226,167,46,5,145,219,230,53,233,181,
+156,207,119,144,181,145,38,161,246,5,255,1,139,206,
+205,39,188,15,181,41,237,160,127,210,242,109,181,
+248,110,84,97,12,237,130,40,90,108,124,120,154,149,
+3,196,64,4,227,227,56,20,187,11,166,90,97,213,81,
+156,25,183,6,109,51,252,30,115,112,35,184,85,112,
+193,208,156,181,184,61,123,134,81,26,159,197,210,
+154,116,53,138,49,183,10,156,84,90,57,113,143,181,
+88,173,5,208,162,202,7,177,230,252,187,67,205,88,
+48,34,94,8,52,181,207,6,35,188,171,57,45,171,49,
+127,167,73,105,50,209,16,108,204,62,169,235,52,61,
+246,126,171,108,169,64,185,226,244,218,1,187,32,122,
+46,166,35,4,77,8,172,145,65,243,99,161,131,72,172,
+236,229,16,155,178,29,250,233,210,179,223,122,56,
+22,242,121,8,234,74,161,193,20,169,245,85,174,151,
+70,182,86,21,185,37,12,125,253,205,215,93,109,192,
+168,143,141,155,253,27,197,44,94,16,60,191,140,198,
+157,169,181,3,98,73,101,164,133,248,138,60,101,123,
+47,26,154,84,229,41,74,100,30,191,165,212,137,114,
+180,248,187,58,39,105,35,81,247,227,168,3,198,219,
+239,21,123,225,121,88,154,233,117,17,73,13,38,151,
+152,173,15,231,237,247,41,45,113,180,129,164,30,253,
+205,184,193,37,136,242,191,196,52,58,216,210,239,
+67,16,10,85,251,13,150,32,30,92,240,221,125,98,60,
+152,27,60,218,56,5,194,126,47,242,37,130,184,126,
+139,106,91,209,222,216,229,147,125,126,129,21,100,
+162,93,162,153,96,202,49,155,39,21,199,213,224,222,
+2,69,60,159,198,229,110,235,15,17,251,29,122,112,
+165,96,135,57,8,127,186,233,80,65,123,193,254,96,
+193,22,47,138,182,243,227,90,11,83,95,92,126,238,
+9,52,22,99,176,90,168,124,144,16,103,18,153,239,
+98,239,134,179,10,199,81,136,105,18,126,126,36,57,
+149,208,177,225,18,144,251,80,81,103,9,171,40,226,
+35,72,77,108,6,122,45,132,122,171,16,138,172,193,
+243,104,235,123,119,200,117,77,87,27,146,190,145,
+16,177,22,117,175,245,221,218,113,99,34,58,156,189,
+18,99,248,54,11,102,75,208,198,71,195,98,206,152,
+210,213,93,144,76,77,152,126,46,104,25,66,225,229,
+52,30,18,255,13,188,95,79,40,107,231,225,79,6,79,
+41,138,2,164,111,127,217,144,102,250,98,238,246,164,
+107,94,6,59,198,250,184,36,212,148,231,246,255,1,
+120,83,183,202,211,39,22,85,58,118,75,212,32,114,
+24,138,215,78,195,57,16,218,32,78,51,117,229,229,
+44,53,59,242,65,19,143,94,1,81,24,79,122,182,174,
+67,83,111,129,18,173,217,92,251,229,172,225,213,105,
+173,32,155,0,249,31,8,76,164,248,111,248,97,123,
+28,246,160,12,145,248,94,251,171,93,61,75,35,24,
+118,58,162,157,142,22,88,157,129,178,47,254,183,118,
+155,49,27,14,62,23,79,18,235,234,185,55,115,216,
+164,5,169,211,91,55,52,211,221,213,213,89,224,144,
+255,48,100,198,26,122,158,215,228,98,244,95,66,98,
+126,151,194,200,131,176,6,200,103,133,177,180,175,
+98,75,214,45,163,43,139,161,169,73,205,7,242,28,
+125,173,193,40,170,207,239,239,61,53,35,227,216,165,
+69,132,238,44,135,139,65,141,178,238,83,158,118,175,
+57,47,186,45,190,67,114,240,138,102,211,4,189,76,
+135,138,152,237,233,7,218,97,32,94,183,79,91,132,
+175,74,178,134,238,133,94,46,241,38,181,99,51,80,
+197,208,102,168,202,22,20,71,176,30,238,130,41,239,
+35,92,120,251,250,202,208,29,158,91,183,68,33,16,
+73,142,45,38,131,48,63,243,50,92,4,116,225,150,178,
+119,46,243,183,35,78,237,188,146,51,151,31,212,119,
+38,227,228,44,141,61,193,150,107,166,36,169,191,150,
+226,250,13,239,127,13,65,25,50,53,24,29,241,33,105,
+231,45,250,173,113,55,52,151,175,78,175,243,50,69,
+35,180,128,214,212,96,70,226,156,121,172,223,11,10,
+32,219,25,177,204,108,248,221,251,98,131,100,243,
+54,99,63,152,60,157,89,247,46,13,227,160,86,13,124,
+79,73,186,200,133,194,64,23,78,76,29,103,15,155,
+175,22,51,14,26,35,37,49,208,184,197,88,151,177,
+16,77,122,142,157,226,140,90,121,162,155,41,117,8,
+94,240,227,120,22,95,120,161,236,160,78,48,49,110,
+53,219,7,58,89,223,74,44,31,67,224,202,112,103,57,
+237,135,126,99,151,150,28,128,220,159,122,136,4,165,
+170,72,30,15,197,211,93,84,83,153,226,208,8,251,
+48,22,89,42,186,39,108,244,139,111,16,247,232,145,
+131,83,233,98,91,67,29,63,201,130,102,189,169,204,
+253,157,14,35,85,107,226,63,73,86,212,224,14,191,
+207,187,247,33,213,18,43,154,45,130,109,232,168,104,
+86,99,197,236,148,52,222,91,112,164,17,19,109,249,
+238,197,49,165,178,243,118,116,206,233,86,39,253,
+188,24,7,200,252,47,8,98,54,72,51,249,125,198,139,
+112,20,162,116,251,247,175,209,117,29,60,115,224,
+136,45,103,118,222,82,93,227,71,74,182,60,180,109,
+177,224,21,140,210,143,100,241,61,202,56,156,13,234,
+37,97,66,123,127,59,163,119,82,10,15,84,49,126,157,
+38,5,69,10,84,166,255,52,38,30,154,74,228,126,186,
+223,39,244,130,231,187,116,55,131,88,93,193,238,131,
+192,115,115,10,223,148,241,103,200,211,190,151,14,
+156,138,201,159,104,139,66,20,123,101,139,79,224,
+160,252,23,70,209,62,213,62,69,113,136,60,214,159,
+167,22,177,173,87,154,198,205,18,176,136,91,183,64,
+94,211,130,205,129,159,52,94,126,179,138,77,230,172,
+134,119,59,218,62,146,9,127,97,124,218,97,253,192,
+146,75,16,97,195,211,139,3,80,240,216,183,64,242,
+114,223,58,102,210,228,154,25,191,251,215,246,192,
+177,149,85,9,134,44,57,19,32,219,230,249,163,82,
+215,155,191,174,35,55,64,95,160,206,176,56,99,73,
+150,248,224,106,152,136,129,186,73,171,141,108,226,
+248,246,160,238,172,190,35,183,9,107,200,96,136,66,
+153,237,152,74,68,178,251,136,71,50,10,209,221,247,
+157,143,212,164,19,65,27,241,219,134,243,59,216,139,
+114,33,17,190,240,13,27,103,114,34,127,180,113,232,
+83,224,124,106,126,2,81,42,16,158,31,167,107,128,
+38,138,227,200,143,101,190,199,231,123,193,213,55,
+130,255,53,166,211,6,90,156,128,83,53,185,38,30,
+53,59,53,208,39,192,91,164,235,188,36,129,31,213,
+19,169,104,231,177,249,164,179,247,17,236,69,109,
+82,155,116,190,157,3,155,184,11,170,170,169,30,190,
+54,185,222,19,168,164,171,14,86,205,13,26,52,225,
+231,200,150,231,241,107,142,0,155,75,244,11,208,28,
+140,87,69,71,104,76,89,192,58,239,201,42,68,82,186,
+164,232,126,57,71,133,140,5,252,226,87,187,35,68,
+181,69,162,171,99,148,37,55,49,140,153,159,227,155,
+93,123,174,221,155,85,113,94,53,24,188,185,124,245,
+190,26,233,135,190,191,195,254,29,68,74,216,144,61,
+30,185,6,6,128,186,30,159,220,157,135,6,49,58,253,
+183,81,182,252,12,243,170,24,180,223,240,24,116,21,
+51,241,235,22,41,2,236,55,12,59,109,130,3,96,128,
+30,235,228,221,53,251,224,228,122,95,198,233,143,
+26,227,166,51,84,6,140,99,237,241,74,30,23,254,253,
+197,46,193,21,187,71,146,186,209,126,55,21,166,67,
+22,37,169,185,221,69,238,139,170,145,179,158,248,
+28,177,95,112,11,56,199,222,81,21,15,66,19,68,127,
+3,216,242,124,25,231,247,195,83,197,148,81,145,108,
+211,0,100,245,100,244,169,236,249,254,230,227,35,
+230,230,37,4,140,107,153,109,66,16,28,163,213,100,
+128,59,130,46,194,217,233,248,145,216,70,62,130,77,
+153,215,183,46,25,196,7,97,230,23,161,193,136,206,
+133,86,89,184,77,203,152,243,47,24,55,240,60,236,
+93,92,79,191,177,2,2,182,222,106,124,91,93,91,64,
+157,203,233,209,202,97,131,42,238,235,148,17,124,
+60,174,125,245,5,173,186,215,178,244,7,144,229,102,
+150,69,50,35,92,88,126,210,191,243,152,49,37,120,
+225,51,71,151,232,214,114,60,77,46,174,239,135,102,
+30,170,88,132,204,93,179,95,212,162,94,14,123,160,
+140,136,237,185,240,199,75,220,232,117,254,218,2,
+248,253,15,150,205,168,0,140,195,5,203,187,102,109,
+207,26,254,170,106,85,222,241,233,154,252,223,17,
+67,249,215,149,94,124,145,173,234,4,187,192,72,158,
+78,253,132,33,65,192,164,243,64,90,195,34,171,221,
+252,153,66,54,141,102,61,156,246,71,192,187,179,13,
+127,149,143,157,82,19,208,8,87,242,136,125,164,233,
+152,10,180,178,25,96,98,113,210,216,112,77,185,32,
+34,33,207,186,96,207,45,7,14,96,232,180,33,216,251,
+89,234,53,168,95,88,138,62,160,241,130,164,27,126,
+107,19,43,43,237,108,25,88,245,195,121,12,194,105,
+66,209,10,190,44,209,111,251,206,98,22,1,233,56,
+4,51,51,68,246,219,191,5,0,224,164,243,138,197,30,
+56,239,70,234,158,34,68,19,0,171,56,188,119,170,
+75,26,145,14,58,164,216,176,161,194,112,237,157,21,
+172,74,163,209,52,243,64,96,220,12,192,155,77,185,
+174,2,132,63,177,185,148,233,205,57,30,247,143,55,
+47,243,29,68,203,142,67,26,123,183,207,61,208,148,
+106,185,253,255,217];