/external/pdfium/third_party/lcms2-2.6/src/ |
H A D | cmswtpnt.c | 252 cmsCIEXYZ Dn; local 256 cmsxyY2XYZ(&Dn, SourceWhitePt); 258 if (!_cmsAdaptationMatrix(&Bradford, NULL, &Dn, cmsD50_XYZ())) return FALSE;
|
/external/v8/src/arm/ |
H A D | disasm-arm.cc | 1399 // Dd = vadd(Dn, Dm) 1401 // Dd = vsub(Dn, Dm) 1403 // Dd = vmul(Dn, Dm) 1405 // Dd = vmla(Dn, Dm) 1407 // Dd = vmls(Dn, Dm) 1409 // Dd = vdiv(Dn, Dm) 1487 Format(instr, "vsub'cond.f64 'Dd, 'Dn, 'Dm"); 1489 Format(instr, "vadd'cond.f64 'Dd, 'Dn, 'Dm"); 1500 Format(instr, "vmul'cond.f64 'Dd, 'Dn, 'Dm"); 1506 Format(instr, "vmla'cond.f64 'Dd, 'Dn, 'D [all...] |
/external/webrtc/talk/media/testdata/ |
H A D | video.rtpdump | 1001 ��.�� f ���r �!��b�<��+�8&0����] �]\�����hz�7�����#T0��q��]��Dn 1209 �) �a��b>�x�8=��&q&uI��T/�D��htU;���+
]km��vN�ߛ�;9�!�y��n��r-㴿�+
'���0Vt��'e��u�[�ǻ��k��O����v��O��������I�K����-)�ޙ��t������U�N��� ��~=F'1���{'����{]�V8H�5B�r3���y���>��Dn�{�]�`z�t����z�� $(ŊE�d�;�*�\�;��b.
�i���za�Bt}{�s ��lQQW�~�]��R��o��n�L��*��t�^��~�����1�x�=�����:�:G%�}_�j�j{��q���~u�c���g)E�`�<Ę?,]�`�
��-�`��ҽ� �}�v��0S&v)���v'�5�:���i��e�R������o�#� ���>=n���.�� f ��~Jr �!�5��� w��n��Sxo'�73hXjb[�`��h"%�e�9�̽��J��^��g"e�]P��Y �˒?���/�e�b�³h����yry�5�+t�^N����~a��S��4w�E�:�I�8���ׯ^kl*D'�_��N
>�~��'�Ls[��X:nR�YD�Ș�x7�6�2�LޯֻU_^���b,���y����32�8�0" 3�^ݹ�ld ͐�>>n����.�� f ���fr �!�8b>�(�i&2dY��%�_S8�&R��d��w��G�X���*uݍ������b�v��������Չz��yTX��>;�7���<�(���_7A�0mY���tV=��k7���T_�ӧN�)�C����ּ� �;ߨ��)���Ʋ�|!��b�q���Cv���:�$�W���f�=j�'�9��� 1250 ��}5y3�`�\�����f2��B�;���D���̵O��OY㭉̼�'QbX���Y�zg�?'���vτ㿣z%�>Fht1��e�X��)�(�7�o�?�q�U�g��)"�q2���}��{ص���O�OցX��z���d�� �[�Ye� �S�=~��g2�b�}tHq>m���?��������f�c�b�n ����ɲϓ��C�����"�N� ��=���G�@�
�X�#�E�M�Byq�P��B@=���B��M5U�������DC�`k�ǔ&#����lL�P�S"�e�>K�ۧs���@�w��Z?�VQZff*���ω��dfu����`�b>��)*?�Y�>zzO�ȇ{���+3.5"T����.��n�g�� kc���#�ř3�æ�-���k_}��a�׀�=�LlN��I<���&}�2 ��ߜY��ĈA���:���6m�'�8�͚B^a"�$BY �ċ�� d$��%>�o�>���Fq]�/�ظ�G��p��ִ:�~~v ���>Dn��V��.�� f ���r �!��b+�!%\�z|�#��_c{0����q|���W��@�qՖM�lv?*�z?a.e��x�չ4;\7���/*$%�/,��_|di�_�P�݀�筇�C����!� P<1��[���Fn^3�������p���n�|_-��~��_�Ȇ�~�b�=k��b�B�34����Nm�F����[���{|��:��+������-�G�m~�P ;o��-��!c��jgr����<_c�O�)��T�O&��H�o��K�F�h/�,?���K4W�KJ� �~)��4����䴲Y/'��ɘ]������p���;�.���#7�մ�:���:z�[S Ð�>En�陗�.�� f ��vr �!�f3���0R4�8��A�i�uZg.�`��� �E1ubYx�}k������e1j��a�X������}���������%QL&�0�3&�v�h}2@�>�7��dv�F��^�BZ���в�R�X���oc�'&prkL��#���� uO� �έ��_�n|XR��uЮU��d8�A�S8n�s)�Ա���`�~�����*��=z/������U7j���mD��p�b�K������>���JD����>vz�+�ޅ� �T��B{���;(��{zDz�/ؽ|%�=��n�O� ֲ���U��i�Z����^H�y[O��Q>ᮿe�U��3��qx&��^b7���@KK�v�V����H?��{���B�)���z������+�P�5���M��!+V��Eח�f��ه�}�އ�t��������ݸ�?xq���J���G ϰ~#Һ.��'B��M�����/�k���x�iv/�`� mv�J��}�}��LW&��#�g�r���{{�!^����7���������� ��>Fn��=��.�� f ��� r �!�8f2��x96(�Ly�Z`#�i�b���ν��#�T5CZ���L��w|Y��5v'Σ��ń+���|I��2�L�S(TǠ�3:X<�Q��z_ா�>��n
��B]�kTJ�S:��X�ov4������P��~�\���Zo�
|
H A D | h264-svc-99-640x360.rtpdump | 2496 �"�fk���d������?���I��S.}�@uF>iR��l��|��/�x�Sgo��j�4Ѷ�w��^{yN��y�AG5z/(�ߍ��� ��c&C�����f�� f ���nr �8 >���� .�� �!��w$����4Kha�p k>{��+�W���[{Y�|ֆ���n���QJ�Z����k���[����m��\}jV���pP������@�x��`Dn���6:�K�F#,����ZE�j�-λ��C'���Y����� ������3A}���"�c�S��s����'5��P�n�A �U�7��=Y�u�h�܈J�#�9���?���:8H��6P�������K�-��8�K{i�O»ə2���8WK(���7�V\�q�W��|� 3843 �Br K8 >����4� �Y�rJΠ�k��|ء��i��Dn:�iv�`�.Z�7���V�a����]3�����|7�PL��`�o�j����m�A�Y��I�������miu>� 5813 �oe��>Tb:���pb�mҬrpn��LJ�E��k?�36�g�M�J�/j��{�6� ���pRV�I4ze7��,�����H��X��FM[u����H�? òMgş�N =�َo������.MK�@���(6^ yr������p��fV���M}���l�*-�:Y����z�pR�Fc�$ȸi$�W�M�S�7�Dn@�e�F�{O���Y��~T?�l�� -oN-�哄6�
���� c�c'a�����f�� f Ȧ.��r 8 >��'��4� Nv�ܒ��2C���R�w1[��N�s�o�h\�-���!4���s?�Dܽ>�,֗�F��/�}�f2��9�'�K�����|Ծ��Dܿ��H�/�te6�;���I�#~]=��=+:x͢�<�������*o#�@�0�NkýM6]�/�E����g6�U)� 9043 |�~�O���p%�ɝ.��)N��jK�C-���%�.�g#n'A�0,ۥ�G�ƽ�-Dn�����M,�*���֥�^|����D�s
|
/external/v8/test/mjsunit/asm/sqlite3/ |
H A D | sqlite-pointer-masking.js | 5 function hh(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=c[(d&p)>>2]|0;l=c[(d&p)+80>>2]|0;h=d+44|0;do if(!(c[(h&p)>>2]|0)){c[(k&p)+52>>2]=l;e=c[(k&p)+236>>2]|0;if(e){d=e+8|0;if(!(b[(d&o)>>1]&9312)){b[(d&o)>>1]=1;break}else{vg(e);break}}}else{i=k+65|0;j=a[(i&n)>>0]|0;d=c[3164]|0;if(d)nc[d&3]();g=k+236|0;d=c[(g&p)>>2]|0;do if(!d){d=mh(k,40,0)|0;if(!d){c[(g&p)>>2]=d;break}else{e=d+0|0;f=e+40|0;do{a[(e&n)>>0]=0;e=e+1|0}while((e|0)<(f|0));b[(d&o)+8>>1]=1;c[(d&p)+32>>2]=k;c[(g&p)>>2]=d;f=8;break}}else f=8;while(0);if((f|0)==8)Xg(d,c[(h&p)>>2]|0,-1,1,-1)|0;d=c[3166]|0;if(d)nc[d&3]();a[(i&n)>>0]=j;c[(k&p)+52>>2]=l}while(0);return l|0}function ih(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))fa();k=o;c[(g&p)>>2]=0;if(!((Hh(a)|0)==0|(b|0)==0)){k=c[(a&p)+20>>2]|0;if((k|0)>0){l=c[(a&p)+16>>2]|0;n=0;do{m=c[(l+(n<<4)&p)+4>>2]|0;if(m)c[((c[(m&p)+4>>2]|0)&p)+4>>2]=c[(m&p)>>2];n=n+1|0}while((n|0)!=(k|0))}k=Fn(a,b,d,e,f,g,h)|0;if((k|0)==17){md(c[(g&p)>>2]|0)|0;k=Fn(a,b,d,e,f,g,h)|0}}else{c[(k&p)>>2]=105892;c[(k&p)+4>>2]=10788;bd(21,13648,k);k=21}i=o;return k|0}function jh(a,d){a=a|0;d=d|0;var e=0,f=0;f=a+68|0;if((b[(f&o)>>1]|0)>0){e=d+60|0;d=a+60|0;a=0;do{_l((c[(e&p)>>2]|0)+(a*40|0)|0,(c[(d&p)>>2]|0)+(a*40|0)|0);a=a+1|0}while((a|0)<(b[(f&o)>>1]|0))}return}function kh(b,c){b=b|0;c=c|0;var d=0,e=0;if(c){d=c;while(1)if(!(a[(d&n)>>0]|0))break;else d=d+1|0;e=(d-c&1073741823)+1|0;d=mh(b,e,0)|0;if(d)kw(d|0,c|0,e|0)|0;else d=0}else d=0;return d|0}function lh(a,d){a=a|0;d=d|0;var e=0,f=0;f=c[(a&p)+8>>2]|0;if((d|0)>=1){fh(f,d)|0;b[(f&o)+8>>1]=8192;c[(f&p)>>2]=c[(a&p)+4>>2];e=f+16|0;a=c[(e&p)>>2]|0;if(!a)e=0;else{fw(a|0,0,d|0)|0;e=c[(e&p)>>2]|0}}else{e=f+8|0;if(!(b[(e&o)>>1]&9312))b[(e&o)>>1]=1;else vg(f);c[(f&p)+16>>2]=0;e=0}return e|0}function mh(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0;a:do if(b){i=b+65|0;if(!(a[(i&n)>>0]|0)){do if(a[(b&n)+250>>0]|0){if(0<f>>>0|(0==(f|0)?(e[(b&o)+248>>1]|0)>>>0<d>>>0:0)){g=b+264|0;c[(g&p)>>2]=(c[(g&p)>>2]|0)+1;break}h=b+272|0;g=c[(h&p)>>2]|0;if(!g){g=b+268|0;c[(g&p)>>2]=(c[(g&p)>>2]|0)+1;break}c[(h&p)>>2]=c[(g&p)>>2];f=b+252|0;h=c[(f&p)>>2]|0;d=h+1|0;c[(f&p)>>2]=d;f=b+260|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;f=b+256|0;if((h|0)>=(c[(f&p)>>2]|0))c[(f&p)>>2]=d;break a}while(0);g=qg(d,f)|0;if(!g){a[(i&n)>>0]=1;g=0}}else g=0}else g=qg(d,f)|0;while(0);return g|0}function nh(a,d){a=a|0;d=d|0;var f=0,g=0;do if(a){f=c[(a&p)+20>>2]|0;if((f|0)!=0?((d|0)>-1?(e[(a&o)+84>>1]|0|0)>(d|0):0):0){f=f+(d*40|0)|0;break}f=c[(a&p)>>2]|0;if((f|0)!=0?(c[(f&p)+52>>2]=25,g=c[(f&p)+236>>2]|0,(g|0)!=0):0){f=g+8|0;if(!(b[(f&o)>>1]&9312)){b[(f&o)>>1]=1;f=41496;break}else{vg(g);f=41496;break}}else f=41496}else f=41496;while(0);return f|0}function oh(a,e,f,g,h,i){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;j=ph(a,e)|0;if(!j)if(!f)j=0;else{e=(c[(a&p)+60>>2]|0)+((e+-1|0)*40|0)|0;j=Xg(e,f,g,i,h)|0;if((j|0)!=0|i<<24>>24==0)e=j;else e=Yl(e,d[((c[(a&p)>>2]|0)&n)+62>>0]|0)|0;j=c[(a&p)>>2]|0;c[(j&p)+52>>2]=e;h=c[(j&p)+236>>2]|0;do if(h){g=h+8|0;if(!(b[(g&o)>>1]&9312)){b[(g&o)>>1]=1;break}else{vg(h);j=c[(a&p)>>2]|0;break}}while(0);j=Og(j,e)|0}else{g=h;if(!((g|0)==0|(g|0)==-1))cc[h&31](f)}return j|0}function ph(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();g=k;do if(!(ah(a)|0)){if((c[(a&p)+40>>2]|0)==-1108210269?(c[(a&p)+76>>2]|0)<=-1:0){if((d|0)>=1?(b[(a&o)+68>>1]|0)>=(d|0):0){h=d+-1|0;g=c[(a&p)+60>>2]|0;f=g+(h*40|0)|0;e=g+(h*40|0)+8|0;if(!((b[(e&o)>>1]&9312)==0?(c[(g+(h*40|0)&p)+24>>2]|0)==0:0))Qg(f);b[(e&o)>>1]=1;f=c[(a&p)>>2]|0;c[(f&p)+52>>2]=0;f=c[(f&p)+236>>2]|0;do if(f){e=f+8|0;if(!(b[(e&o)>>1]&9312)){b[(e&o)>>1]=1;break}else{vg(f);break}}while(0);g=a+88|0;e=b[(g&o)>>1]|0;if(!(e&256)){e=0;break}f=c[(a&p)+188>>2]|0;if((d|0)<33){if(!((f&1<<h|0)!=0|(f|0)==-1)){e=0;break}}else if((f|0)!=-1){e=0;break}b[(g&o)>>1]=e|8;e=0;break}e=c[(a&p)>>2]|0;c[(e&p)+52>>2]=25;e=c[(e&p)+236>>2]|0;if(!e){e=25;break}f=e+8|0;if(!(b[(f&o)>>1]&9312)){b[(f&o)>>1]=1;e=25;break}else{vg(e);e=25;break}}f=c[(a&p)>>2]|0;c[(f&p)+52>>2]=21;f=c[(f&p)+236>>2]|0;do if(f){e=f+8|0;if(!(b[(e&o)>>1]&9312)){b[(e&o)>>1]=1;break}else{vg(f);break}}while(0);c[(g&p)>>2]=c[(a&p)+168>>2];bd(21,41456,g);c[(g&p)>>2]=69987;c[(g&p)+4>>2]=10788;bd(21,13648,g);e=21}else{c[(g&p)>>2]=69979;c[(g&p)+4>>2]=10788;bd(21,13648,g);e=21}while(0);i=k;return e|0}function qh(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a:do if(!((d|0)==0|(e|0)==0)?(i=b[(d&o)+70>>1]|0,i<<16>>16>0):0){g=c[(d&p)+64>>2]|0;d=0;while(1){h=c[(g+(d<<2)&p)>>2]|0;if(((h|0)!=0?($v(h,e,f)|0)==0:0)?(a[(h+f&n)>>0]|0)==0:0)break;d=d+1|0;if((d|0)>=(i<<16>>16|0)){d=0;break a}}d=d+1|0}else d=0;while(0);return d|0}function rh(d,f){d=d|0;f=f|0;var g=0,k=0,l=0,m=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))fa();r=s+8|0;m=s;g=a[(d&n)+10>>0]|0;k=d+16|0;l=d+12|0;do if(Tl(c[(k&p)>>2]|0,r,c[(l&p)>>2]|0,g)|0){if(!(Ul(c[(k&p)>>2]|0,m,c[(l&p)>>2]|0,g)|0)){l=m;k=c[(l&p)+4>>2]|0;g=d;c[(g&p)>>2]=c[(l&p)>>2];c[(g&p)+4>>2]=k;g=d+8|0;b[(g&o)>>1]=e[(g&o)>>1]|0|4;break}h[(d&q)>>3]=+h[(r&q)>>3];g=d+8|0;b[(g&o)>>1]=e[(g&o)>>1]|0|8;if(f)dm(d)}while(0);i=s;return}function sh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();h=k;if(!(Gn(b)|0)){g=_h(c[(b&p)>>2]|0,e,f)|0;if(!g){g=(d|0)!=0?41368:41384;if(!f){c[(h&p)>>2]=g;c[(h&p)+4>>2]=e;th(b,27680,h)}else{c[(h&p)>>2]=g;c[(h&p)+4>>2]=f;c[(h&p)+8>>2]=e;th(b,27664,h)}a[(b&n)+17>>0]=1;g=0}}else g=0;i=k;return g|0}function th(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();h=g;f=c[(b&p)>>2]|0;c[(h&p)>>2]=e;e=Wk(f,d,h)|0;if(!(a[(f&n)+68>>0]|0)){d=b+64|0;c[(d&p)>>2]=(c[(d&p)>>2]|0)+1;d=b+4|0;mg(f,c[(d&p)>>2]|0);c[(d&p)>>2]=e;c[(b&p)+12>>2]=1}else mg(f,e);i=g;return}function uh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))fa();f=e;c[(f&p)>>2]=d;a=Wk(a,b,f)|0;i=e;return a|0}function vh(a){a=a|0;var b=0,d=0,e=0;d=c[(a&p)>>2]|0;b=mh(d,208,0)|0;if(!b)b=0;else{fw(b|0,0,208)|0;c[(b&p)>>2]=d;d=d+4|0;e=c[(d&p)>>2]|0;if(e)c[(e&p)+48>>2]=b;c[(b&p)+52>>2]=e;c[(b&p)+48>>2]=0;c[(d&p)>>2]=b;c[(b&p)+40>>2]=649915045;c[(b&p)+24>>2]=a}return b|0}function wh(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;i=b+32|0;h=c[(i&p)>>2]|0;if((c[((c[(b&p)+24>>2]|0)&p)+84>>2]|0)<=(h|0))if(!(Hn(b)|0)){j=c[(i&p)>>2]|0;k=4}else h=1;else{j=h;k=4}if((k|0)==4){c[(i&p)>>2]=j+1;i=c[(b&p)+4>>2]|0;a[(i+(h*20|0)&n)>>0]=d;a[(i+(h*20|0)&n)+3>>0]=0;c[(i+(h*20|0)&p)+4>>2]=e;c[(i+(h*20|0)&p)+8>>2]=f;c[(i+(h*20|0)&p)+12>>2]=g;c[(i+(h*20|0)&p)+16>>2]=0;a[(i+(h*20|0)&n)+1>>0]=0}return h|0}function xh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;j=c[(b&p)>>2]|0;g=c[(b&p)+4>>2]|0;do if((g|0)!=0?(a[(j&n)+65>>0]|0)==0:0){if((d|0)<0)d=(c[(b&p)+32>>2]|0)+-1|0;i=g+(d*20|0)+1|0;h=g+(d*20|0)+16|0;In(j,a[(i&n)>>0]|0,c[(h&p)>>2]|0);c[(h&p)>>2]=0;if((f|0)==-14){c[(h&p)>>2]=e;a[(i&n)>>0]=-14;break}if(!e){c[(h&p)>>2]=0;a[(i&n)>>0]=0;break}if((f|0)==-6){c[(h&p)>>2]=e;a[(i&n)>>0]=-6;break}else if((f|0)==-10){c[(h&p)>>2]=e;a[(i&n)>>0]=-10;d=e+12|0;c[(d&p)>>2]=(c[(d&p)>>2]|0)+1;break}else{if((f|0)<0){c[(h&p)>>2]=e;a[(i&n)>>0]=f;break}if(!f){d=e;while(1)if(!(a[(d&n)>>0]|0))break;else d=d+1|0;g=d-e&1073741823}else g=f;b=c[(b&p)>>2]|0;d=jw(g|0,((g|0)<0)<<31>>31|0,1,0)|0;d=mh(b,d,G)|0;if(!d)d=0;else{kw(d|0,e|0,g|0)|0;a[(d+g&n)>>0]=0}c[(h&p)>>2]=d;a[(i&n)>>0]=-1;break}}else k=3;while(0);if((k|0)==3?(f|0)!=-10:0)In(j,f,e);return}function yh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=b+32|0;f=c[(k&p)>>2]|0;if((f+d|0)>(c[((c[(b&p)+24>>2]|0)&p)+84>>2]|0))if(!(Hn(b)|0)){f=c[(k&p)>>2]|0;g=4}else f=0;else g=4;if((g|0)==4)if((d|0)>0){i=b+4|0;j=0;while(1){l=a[(e&n)+2>>0]|0;g=l<<24>>24;b=j+f|0;h=c[(i&p)>>2]|0;a[(h+(b*20|0)&n)>>0]=a[(e&n)>>0]|0;c[(h+(b*20|0)&p)+4>>2]=a[(e&n)+1>>0];if(l<<24>>24<0)g=f+~g|0;c[(h+(b*20|0)&p)+8>>2]=g;c[(h+(b*20|0)&p)+12>>2]=a[(e&n)+3>>0];a[(h+(b*20|0)&n)+1>>0]=0;c[(h+(b*20|0)&p)+16>>2]=0;a[(h+(b*20|0)&n)+3>>0]=0;j=j+1|0;if((j|0)==(d|0))break;else e=e+4|0}c[(k&p)>>2]=(c[(k&p)>>2]|0)+d}return f|0}function zh(b,d){b=b|0;d=d|0;var e=0,f=0;e=b+32|0;if((c[(e&p)>>2]|0)>(d|0)?(f=c[(b&p)+4>>2]|0,In(c[(b&p)>>2]|0,a[(f+(d*20|0)&n)+1>>0]|0,c[(f+(d*20|0)&p)+16>>2]|0),b=f+(d*20|0)|0,c[(b&p)>>2]=0,c[(b&p)+4>>2]=0,c[(b&p)+8>>2]=0,c[(b&p)+12>>2]=0,c[(b&p)+16>>2]=0,a[(b&n)>>0]=-100,((c[(e&p)>>2]|0)+-1|0)==(d|0)):0)c[(e&p)>>2]=d;return}function Ah(e,f){e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;N=i;i=i+16|0;if((i|0)>=(j|0))fa();k=N;L=c[(e&p)>>2]|0;F=c[(f&p)+440>>2]|0;g=c[(f&p)+72>>2]|0;E=c[(f&p)+68>>2]|0;c[(k&p)>>2]=c[(f&p)+392>>2];D=c[(f&p)+80>>2]|0;D=(D|0)==0?1:D;g=E+g|0;m=c[(e&p)+4>>2]|0;l=m+((c[(e&p)+32>>2]|0)*20|0)|0;m=m+((c[(f&p)+84>>2]|0)*20|0)|0;Jn(e,k);if(!(a[(f&n)+20>>0]|0))h=0;else h=((a[(f&n)+21>>0]|0)!=0&1)<<5&65535;M=e+88|0;b[(M&o)>>1]=b[(M&o)>>1]&-33|h;K=f+450|0;H=(a[(K&n)>>0]|0)!=0&(g|0)<10?10:g;g=l;fw(l|0,0,m-g|0)|0;b[(M&o)>>1]=b[(M&o)>>1]&-9;G=e+8|0;y=H*40|0;z=e+60|0;A=F*40|0;B=e+12|0;q=(c[(k&p)>>2]<<2)+7&-8;C=e+64|0;r=(F<<2)+7&-8;s=e+56|0;t=(E<<2)+7&-8;u=e+200|0;v=D+7&-8;w=e+172|0;x=L+65|0;l=l+(g&7)|0;while(1){k=c[(G&p)>>2]|0;if(!k){h=l+y|0;g=h>>>0>m>>>0;k=g?0:l;l=g?l:h;g=g?y:0}else g=0;c[(G&p)>>2]=k;k=c[(z&p)>>2]|0;if(!k){O=l+A|0;h=O>>>0>m>>>0;k=h?0:l;l=h?l:O;g=(h?A:0)+g|0}c[(z&p)>>2]=k;k=c[(B&p)>>2]|0;if(!k){O=l+q|0;h=O>>>0>m>>>0;k=h?0:l;l=h?l:O;g=(h?q:0)+g|0}c[(B&p)>>2]=k;k=c[(C&p)>>2]|0;if(!k){O=l+r|0;h=O>>>0>m>>>0;k=h?0:l;l=h?l:O;g=(h?r:0)+g|0}c[(C&p)>>2]=k;k=c[(s&p)>>2]|0;if(!k){O=l+t|0;h=O>>>0>m>>>0;k=h?0:l;l=h?l:O;g=(h?t:0)+g|0}c[(s&p)>>2]=k;k=c[(u&p)>>2]|0;if(!k){h=(l+v|0)>>>0>m>>>0;k=h?0:l;g=(h?v:0)+g|0}c[(u&p)>>2]=k;if(!g)break;h=mh(L,g,((g|0)<0)<<31>>31)|0;if(!h)k=0;else{fw(h|0,0,g|0)|0;k=h}c[(w&p)>>2]=k;if(!(a[(x&n)>>0]|0)){l=h;m=h+g|0}else break}c[(e&p)+36>>2]=E;c[(e&p)+196>>2]=D;h=c[(z&p)>>2]|0;if((h|0)!=0?(b[(e&o)+68>>1]=F,(F|0)>0):0){g=0;do{b[(h+(g*40|0)&o)+8>>1]=1;c[(h+(g*40|0)&p)+32>>2]=L;g=g+1|0}while((g|0)!=(F|0))}h=c[(C&p)>>2]|0;if((h|0)!=0?(I=f+444|0,J=c[(I&p)>>2]|0,(J|0)>0):0){b[(e&o)+70>>1]=J;F=f+472|0;kw(h|0,c[(F&p)>>2]|0,J<<16>>14|0)|0;fw(c[(F&p)>>2]|0,0,c[(I&p)>>2]<<2|0)|0}h=c[(G&p)>>2]|0;if((h|0)!=0?(c[(G&p)>>2]=h+-40,c[(e&p)+28>>2]=H,(H|0)>=1):0){g=1;while(1){b[(h+((g+-1|0)*40|0)&o)+8>>1]=128;c[(h+((g+-1|0)*40|0)&p)+32>>2]=L;if((g|0)==(H|0))break;else g=g+1|0}}b[(M&o)>>1]=b[(M&o)>>1]&-4|d[(K&n)>>0]&3;c[(e&p)+76>>2]=-1;c[(e&p)+80>>2]=0;a[(e&n)+86>>0]=2;c[(e&p)+40>>2]=-1108210269;c[(e&p)+92>>2]=0;c[(e&p)+72>>2]=1;a[(e&n)+87>>0]=-1;c[(e&p)+104>>2]=0;G=e+144|0;c[(G&p)>>2]=0;c[(G&p)+4>>2]=0;i=N;return}function Bh(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))fa();r=s;q=e+20|0;m=c[(q&p)>>2]|0;l=c[(m&p)+60>>2]|0;c[(l&p)>>2]=f;c[(l&p)+4>>2]=g;l=Sd(m)|0;do if((l|0)!=100){k=c[(q&p)>>2]|0;if(k){l=md(k)|0;c[(q&p)>>2]=0;k=c[(e&p)+24>>2]|0;if(!l){l=r;c[(l&p)>>2]=f;c[(l&p)+4>>2]=g;l=1;k=uh(k,41432,r)|0;break}else{c[(r&p)>>2]=Se(k)|0;k=uh(k,10344,r)|0;break}}else k=0}else{l=c[(c[(m&p)+56>>2]&p)>>2]|0;k=c[(e&p)+12>>2]|0;m=c[(l+(k<<2)&p)+84>>2]|0;if(m>>>0>=12){c[(e&p)+8>>2]=c[(l+((b[(l&o)+20>>1]|0)+k<<2)&p)+84>>2];c[(e&p)+4>>2]=(m+-12|0)>>>1;l=c[(l&p)>>2]|0;c[(e&p)+16>>2]=l;l=l+72|0;a[(l&n)>>0]=d[(l&n)>>0]|16;l=0;k=0;break}l=c[(e&p)+24>>2]|0;if(!m)k=20352;else k=(m|0)==7?20336:20320;c[(r&p)>>2]=k;k=uh(l,41400,r)|0;md(c[(q&p)>>2]|0)|0;c[(q&p)>>2]=0;l=1}while(0);c[(h&p)>>2]=k;i=s;return l|0}function Ch(a){a=a|0;var b=0;if(a){b=c[(a&p)>>2]|0;mg(b,c[(a&p)+112>>2]|0);Nk(b,c[(a&p)+316>>2]|0)}return}function Dh(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=a[(b&n)+73>>0]|0;do if(!(g<<24>>24))f=4;else{if((g&255)>2?(f=Kn(b)|0,(f|0)!=0):0)break;f=Lm(b,c,d,e,0)|0}while(0);return f|0}function Eh(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,q=0,r=0,s=0;m=i;i=i+16|0;if((i|0)>=(j|0))fa();k=m;if(!a){c[(k&p)>>2]=77646;c[(k&p)+4>>2]=10788;bd(21,13648,k);f=21}else{l=c[(a&p)+24>>2]|0;k=a+20|0;h=c[(k&p)>>2]|0;do if((f|e|0)>=0?(q=jw(f|0,((f|0)<0)<<31>>31|0,e|0,((e|0)<0)<<31>>31|0)|0,s=G,n=c[(a&p)+4>>2]|0,r=((n|0)<0)<<31>>31,!((s|0)>(r|0)|(s|0)==(r|0)&q>>>0>n>>>0)):0)if(h){f=pc[g&31](c[(a&p)+16>>2]|0,(c[(a&p)+8>>2]|0)+f|0,e,d)|0;if((f|0)==4){Ng(h)|0;c[(k&p)>>2]=0;f=4;break}else{c[(h&p)+80>>2]=f;break}}else f=4;else f=1;while(0);c[(l&p)+52>>2]=f;h=c[(l&p)+236>>2]|0;do if(h){k=h+8|0;if(!(b[(k&o)>>1]&9312)){b[(k&o)>>1]=1;break}else{vg(h);break}}while(0);f=Og(l,f)|0}i=m;return f|0}function Fh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;h=b+73|0;g=a[(h&n)>>0]|0;if((g&255)>2){g=Kn(b)|0;if(!g){g=a[(h&n)>>0]|0;i=4}}else i=4;if((i|0)==4)if(g<<24>>24==1){Ln(c[(b&p)+4>>2]|0,c[(b&p)+60>>2]|0,b)|0;if(!(a[(b&n)+72>>0]&1))g=8;else g=Lm(b,d,e,f,1)|0}else g=4;return g|0}function Gh(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+16|0;if((i|0)>=(j|0))fa();y=A+4|0;z=A;c[(y&p)>>2]=b;c[(z&p)>>2]=e;t=d[(f&n)+1>>0]|0;u=d[(f&n)>>0]|0;x=a[(f&n)+3>>0]|0;w=(g|0)!=0;if(w)v=g;else v=d[(f&n)+2>>0]|0;q=x<<24>>24!=0;m=0;a:while(1){while(1){k=Mn(y)|0;if(!k){s=60;break a}if((k|0)==(u|0)){s=7;break a}if((k|0)!=(v|0))break;if(w){s=40;break}e=Mn(z)|0;if(!e){h=0;break a}l=Mn(y)|0;if((l|0)==94){l=Mn(y)|0;h=1}else h=0;if((l|0)==93){l=Mn(y)|0;o=(e|0)==93&1}else o=0;k=(l|0)==0;if((l|0)!=93&(k^1)){k=0;while(1){if(((l|0)==45?(r=a[(c[(y&p)>>2]&n)>>0]|0,r<<24>>24!=93):0)?r<<24>>24!=0&(k|0)!=0:0){l=e>>>0<k>>>0|e>>>0>(Mn(y)|0)>>>0;b=0;o=l?o:1}else{b=l;o=(e|0)==(l|0)?1:o}l=Mn(y)|0;k=(l|0)==0;if(!((l|0)!=93&(k^1))){l=k;break}else k=b}}else l=k;if(l|(o|0)==(h|0)){h=0;break a}}if((s|0)==40){s=0;k=Mn(y)|0;if(!k){h=0;break}m=c[(y&p)>>2]|0}l=Mn(z)|0;if((k|0)==(l|0))continue;if(q&k>>>0<128&l>>>0<128?(a[(k&255&n)+9328>>0]|0)==(a[(l&255&n)+9328>>0]|0):0)continue;if((k|0)!=(t|0)){h=0;break}if(!((l|0)!=0?(c[(y&p)>>2]|0)!=(m|0):0)){h=0;break}}b:do if((s|0)==7){e=Mn(y)|0;b=(e|0)==(t|0);if((e|0)==(u|0)|b)do{if(b?(Mn(z)|0)==0:0){h=0;break b}e=Mn(y)|0;b=(e|0)==(t|0)}while((e|0)==(u|0)|b);if(e){do if((e|0)==(v|0)){if(w){e=Mn(y)|0;if(!e){h=0;break b}else break}h=c[(z&p)>>2]|0;c:do if(!(a[(h&n)>>0]|0))h=0;else{b=c[(y&p)>>2]|0;while(1){if(Gh(b+-1|0,h,f,0)|0)break;e=h+1|0;c[(z&p)>>2]=e;if((d[(h&n)>>0]|0)>191?(a[(e&n)>>0]&-64)<<24>>24==-128:0){while(1){h=h+2|0;if((a[(h&n)>>0]&-64)<<24>>24==-128){s=e;e=h;h=s}else break}c[(z&p)>>2]=h}else h=e;if(!(a[(h&n)>>0]|0)){h=0;break c}}h=(a[(h&n)>>0]|0)!=0}while(0);h=h&1;break b}while(0);if(e>>>0>=129){h=Mn(z)|0;if(!h){h=0;break}b=c[(y&p)>>2]|0;while(1){if((h|0)==(e|0)?(Gh(b,c[(z&p)>>2]|0,f,g)|0)!=0:0){h=1;break b}h=Mn(z)|0;if(!h){h=0;break b}}}if(!(x<<24>>24)){o=e;m=e}else{m=e&255;o=d[(m&n)+9328>>0]|0;m=((d[(m&n)+10368>>0]|-33)^32)&e}b=c[(z&p)>>2]|0;h=b+1|0;c[(z&p)>>2]=h;e=a[(b&n)>>0]|0;if(!(e<<24>>24))h=0;else{l=c[(y&p)>>2]|0;k=e&255;while(1){if((k|0)==(o|0)|(k|0)==(m|0)?(Gh(l,h,f,g)|0)!=0:0){h=1;break b}e=b+2|0;c[(z&p)>>2]=e;b=a[(h&n)>>0]|0;if(!(b<<24>>24)){h=0;break}else{s=h;k=b&255;h=e;b=s}}}}else h=1}else if((s|0)==60)h=(a[(c[(z&p)>>2]&n)>>0]|0)==0&1;while(0);i=A;return h|0}function Hh(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))fa();b=d;do if(a){a=c[(a&p)+76>>2]|0;if((a|0)==1266094736|(a|0)==-264537850){c[(b&p)>>2]=41352;bd(21,15256,b);a=0;break}else if((a|0)==-1607883113){a=1;break}else{c[(b&p)>>2]=15248;bd(21,15256,b);a=0;break}}else{c[(b&p)>>2]=20304;bd(21,15256,b);a=0}while(0);i=d;return a|0}function Ih(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))fa();k=o;l=o+8|0;c[(l&p)>>2]=0;c[(g&p)>>2]=0;if((Hh(b)|0)==0|(d|0)==0){c[(k&p)>>2]=106003;c[(k&p)+4>>2]=10788;bd(21,13648,k);f=21}else{a:do if((e|0)>-1)if((e|0)>0){k=0;do{if((a[(d+k&n)>>0]|0)==0?(a[(d+(k|1)&n)>>0]|0)==0:0)break a;k=k+2|0}while((k|0)<(e|0))}else k=0;else k=e;while(0);m=Rh(b,d,k)|0;if(m){f=ih(b,m,-1,f,0,g,l)|0;k=c[(l&p)>>2]|0;if((k|0)!=0&(h|0)!=0){g=Nn(m,k-m|0)|0;if((g|0)>0){e=0;k=d;do{k=(a[(k&n)+1>>0]&-8)<<24>>24==-40?k+4|0:k+2|0;e=e+1|0}while((e|0)!=(g|0))}else k=d;c[(h&p)>>2]=d+(k-d)}}else f=0;mg(b,m);f=Og(b,f)|0}i=o;return f|0}function Jh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0;t=i;i=i+16|0;if((i|0)>=(j|0))fa();q=t;r=b+12|0;h=c[(r&p)>>2]|0;o=(e|0)!=0;g=d<<((h|0)==0&o&1);s=b+20|0;l=b+8|0;k=c[(l&p)>>2]|0;if((g+(c[(s&p)>>2]|0)|0)>>>0>k>>>0){g=g+(k<<1)|0;c[(l&p)>>2]=g;h=c[(b&p)>>2]|0;if((Lc()|0)==0?(m=rg(h,g<<2,0)|0,(m|0)!=0):0){c[(b&p)>>2]=m;h=c[(r&p)>>2]|0;m=5}else m=21}else m=5;a:do if((m|0)==5){g=b+16|0;if(!h){c[(g&p)>>2]=d;if((d|0)>0){g=0;do{c[(q&p)>>2]=c[(f+(g<<2)&p)>>2];h=_c(10344,q)|0;if(!h){m=21;break a}l=c[(s&p)>>2]|0;c[(s&p)>>2]=l+1;c[((c[(b&p)>>2]|0)+(l<<2)&p)>>2]=h;g=g+1|0}while((g|0)<(d|0))}}else if((c[(g&p)>>2]|0)!=(d|0)){g=b+4|0;Wc(c[(g&p)>>2]|0);c[(g&p)>>2]=_c(40912,q)|0;c[(b&p)+24>>2]=1;g=1;break}if(o){if((d|0)>0){l=0;do{k=e+(l<<2)|0;g=c[(k&p)>>2]|0;if(!g)g=0;else{h=g;while(1)if(!(a[(h&n)>>0]|0))break;else h=h+1|0;h=(h-g&1073741823)+1|0;g=Tc(h)|0;if(!g){m=21;break a}kw(g|0,c[(k&p)>>2]|0,h|0)|0}q=c[(s&p)>>2]|0;c[(s&p)>>2]=q+1;c[((c[(b&p)>>2]|0)+(q<<2)&p)>>2]=g;l=l+1|0}while((l|0)<(d|0))}c[(r&p)>>2]=(c[(r&p)>>2]|0)+1;g=0}else g=0}while(0);if((m|0)==21){c[(b&p)+24>>2]=7;g=1}i=t;return g|0}function Kh(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,o=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))fa();m=q;if(!d)k=0;else{h=d;while(1)if(!(a[(h&n)>>0]|0))break;else h=h+1|0;k=h-d&1073741823}l=b+308|0;h=bn(l,d,m)|0;if((h|0)!=0?(c[(h&p)+8>>2]|0)!=0:0){c[(m&p)>>2]=114188;c[(m&p)+4>>2]=10788;bd(21,13648,m);h=21}else{h=mh(b,k+17|0,0)|0;if((h|0)!=0?(o=h+16|0,kw(o|0,d|0,k+1|0)|0,c[(h&p)+4>>2]=o,c[(h&p)>>2]=e,c[(h&p)+8>>2]=f,c[(h&p)+12>>2]=g,o=Ik(l,o,h)|0,(o|0)!=0):0){a[(b&n)+65>>0]=1;mg(b,o);h=0}else h=0}h=Og(b,h)|0;if((h|0)!=0&(g|0)!=0)cc[g&31](f);i=q;return h|0}function Lh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=i;i=i+16|0;if((i|0)>=(j|0))fa();z=C;o=C+8|0;A=c[(b&p)>>2]|0;l=c[(A&p)+92>>2]|0;if(!(c[(A&p)+148>>2]|0))c[(A&p)+240>>2]=0;B=b+12|0;c[(B&p)>>2]=0;r=b+480|0;c[(r&p)>>2]=d;v=qg(1612,0)|0;if(v){c[(v&p)>>2]=-1;s=A+250|0;t=a[(s&n)>>0]|0;if(c[(A&p)+276>>2]|0)a[(s&n)>>0]=1;u=A+65|0;q=b+504|0;f=b+508|0;m=A+240|0;k=0;h=-1;a:while(1){while(1){if(a[(u&n)>>0]|0){x=19;break a}g=d+k|0;if(!(a[(g&n)>>0]|0)){x=19;break a}c[(q&p)>>2]=g;g=Cn(g,o)|0;c[(f&p)>>2]=g;k=g+k|0;if((k|0)>(l|0)){x=12;break a}g=c[(o&p)>>2]|0;if((g|0)==150){x=16;break a}else if((g|0)==1){h=g;x=17;break}else if((g|0)!=151){h=g;break}if(c[(m&p)>>2]|0){x=15;break a}}if((x|0)==17){x=0;c[(r&p)>>2]=d+k};c[(z&p)>>2]=c[(q&p)>>2];c[(z&p)+4>>2]=c[(q&p)+4>>2];On(v,h,z,b);h=c[(o&p)>>2]|0;if(c[(B&p)>>2]|0){x=19;break}}if((x|0)==12){c[(B&p)>>2]=18;x=19}else if((x|0)==15){th(b,20384,z);c[(B&p)>>2]=9;x=19}else if((x|0)==16){mg(A,c[(e&p)>>2]|0);c[(z&p)>>2]=q;c[(e&p)>>2]=uh(A,20400,z)|0;f=1}if((x|0)==19){k=d+k|0;if((a[(k&n)>>0]|0)==0?(c[(B&p)>>2]|0)==0:0){if((h|0)!=1){c[(z&p)>>2]=c[(q&p)>>2];c[(z&p)+4>>2]=c[(q&p)+4>>2];On(v,1,z,b);c[(r&p)>>2]=k};c[(z&p)>>2]=c[(q&p)>>2];c[(z&p)+4>>2]=c[(q&p)+4>>2];On(v,0,z,b);f=0}else f=0}if((c[(v&p)>>2]|0)>-1)do Pn(v);while((c[(v&p)>>2]|0)>-1);Wc(v);a[(s&n)>>0]=t;if(!(a[(u&n)>>0]|0)){h=c[(B&p)>>2]|0;if(!((h|0)==101|(h|0)==0)){w=h;x=29}}else{c[(B&p)>>2]=7;w=7;x=29}if((x|0)==29?(y=b+4|0,(c[(y&p)>>2]|0)==0):0){if((w|0)!=516){h=w&255;if(h>>>0>26|(h|0)==2)h=16328;else h=c[(h<<2&p)+15488>>2]|0}else h=16344;c[(z&p)>>2]=h;dh(y,A,10344,z)}h=b+4|0;g=c[(h&p)>>2]|0;if(g){c[(e&p)>>2]=g;e=c[(B&p)>>2]|0;c[(z&p)>>2]=g;bd(e,10344,z);c[(h&p)>>2]=0;f=f+1|0}h=b+8|0;g=c[(h&p)>>2]|0;if(((g|0)!=0?(c[(b&p)+64>>2]|0)>0:0)?(a[(b&n)+18>>0]|0)==0:0){Pl(g);c[(h&p)>>2]=0}if(!(a[(b&n)+18>>0]|0)){e=b+400|0;mg(A,c[(e&p)>>2]|0);c[(e&p)>>2]=0;c[(b&p)+396>>2]=0}Wc(c[(b&p)+520>>2]|0);if(!(a[(b&n)+451>>0]|0))kg(A,c[(b&p)+484>>2]|0);if(a[(b&n)+449>>0]|0)Qn(A,c[(b&p)+532>>2]|0);jg(A,c[(b&p)+488>>2]|0);h=c[(b&p)+444>>2]|0;k=b+472|0;g=c[(k&p)>>2]|0;if((h|0)>0)do{h=h+-1|0;mg(A,c[(g+(h<<2)&p)>>2]|0);g=c[(k&p)>>2]|0}while((h|0)>0);mg(A,g);h=b+404|0;g=c[(h&p)>>2]|0;if(g)do{c[(h&p)>>2]=c[(g&p)>>2];mg(A,g);g=c[(h&p)>>2]|0}while((g|0)!=0);h=b+524|0;g=c[(h&p)>>2]|0;if(g)do{c[(h&p)>>2]=c[(g&p)+72>>2];kg(A,g);g=c[(h&p)>>2]|0}while((g|0)!=0);if((f|0)>0?(c[(B&p)>>2]|0)==0:0)c[(B&p)>>2]=1}else{a[(A&n)+65>>0]=1;f=7}i=C;return f|0}function Mh(a){a=a|0;if(a){if(!((b[(a&o)+8>>1]&9312)==0?(c[(a&p)+24>>2]|0)==0:0))Qg(a);mg(c[(a&p)+32>>2]|0,a)}return}function Nh(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,q=0;if(!(c[(d&p)+252>>2]|0)){q=d+251|0;if(a[(q&n)>>0]|0)Wc(c[(d&p)+276>>2]|0);j=f&-8;h=(j|0)<5?0:j;i=(g|0)<0?0:g;if(!((h|0)==0|(i|0)==0))if(!e){f=c[3164]|0;if(f)nc[f&3]();f=ca(h,i)|0;f=qg(f,((f|0)<0)<<31>>31)|0;g=c[3166]|0;if(g)nc[g&3]();if(!f)f=0;else i=(lc[c[8792>>2]&127](f)|0)/(j|0)|0}else f=e;else{h=0;f=0}g=d+276|0;c[(g&p)>>2]=f;m=d+272|0;c[(m&p)>>2]=0;b[(d&o)+248>>1]=h;if(!f){c[(g&p)>>2]=d;c[(d&p)+280>>2]=d;a[(d&n)+250>>0]=0;f=0}else{if((i|0)>0){g=ca(h,i)|0;l=f+(ca(h,i+-1|0)|0)|0;k=0;j=f;while(1){i=i+-1|0;c[(j&p)>>2]=k;if((i|0)<=0)break;else{k=j;j=j+h|0}}c[(m&p)>>2]=l;f=f+g|0}c[(d&p)+280>>2]=f;a[(d&n)+250>>0]=1;f=(e|0)==0&1}a[(q&n)>>0]=f;f=0}else f=5;return f|0}function Oh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))fa();r=s;do if(!b)e=0;else{l=b+76|0;o=c[(l&p)>>2]|0;if(!((o|0)==1266094736|(o|0)==-1607883113|(o|0)==-264537850)){c[(r&p)>>2]=15248;bd(21,15256,r);c[(r&p)>>2]=128509;c[(r&p)+4>>2]=10788;bd(21,13648,r);e=21;break}m=b+20|0;e=c[(m&p)>>2]|0;a:do if((e|0)>0){o=b+16|0;f=c[(o&p)>>2]|0;h=0;do{g=c[(f+(h<<4)&p)+4>>2]|0;if(g)c[((c[(g&p)+4>>2]|0)&p)+4>>2]=c[(g&p)>>2];h=h+1|0}while((h|0)!=(e|0));k=0;while(1){e=c[(f+(k<<4)&p)+12>>2]|0;if((e|0)!=0?(q=c[(e&p)+16>>2]|0,(q|0)!=0):0){e=q;do{f=c[(e&p)+8>>2]|0;b:do if(a[(f&n)+44>>0]&16){g=f+60|0;while(1){f=c[(g&p)>>2]|0;if(!f)break b;h=f+24|0;if((c[(f&p)>>2]|0)==(b|0))break;else g=h}c[(g&p)>>2]=c[(h&p)>>2];An(f)}while(0);e=c[(e&p)>>2]|0}while((e|0)!=0)}e=k+1|0;if((e|0)>=(c[(m&p)>>2]|0))break a;f=c[(o&p)>>2]|0;k=e}}while(0);rl(b);Rn(b,68);if((d|0)==0?(Jl(b)|0)!=0:0){ug(b,5,16368,r);e=5;break}c[(l&p)>>2]=1691352191;Mg(b);e=0}while(0);i=s;return e|0}function Ph(a,b){a=a|0;b=b|0;if(((b*1e3|0)+1e3|0)>(c[(a&p)+492>>2]|0))b=0;else{b=c[(a&p)>>2]|0;rc[c[(b&p)+60>>2]&127](b,1e6)|0;b=1}return b|0}function Qh(d,f,g,h,k,l,m,q,r){d=d|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;q=q|0;r=r|0;var s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))fa();w=y;do if(f){u=(l|0)!=0;s=(q|0)!=0;if(u)if(s|(m|0)!=0){x=8;break}else{s=0;t=0}else{t=(m|0)!=0;if(!(t|s^1)){x=8;break}}if(!(t&((u|s)^1)|(g|0)<-1|(g|0)>127)){s=f;while(1)if(!(a[(s&n)>>0]|0))break;else s=s+1|0;t=s-f&1073741823;if(t>>>0<=255){v=h&2048;s=h&7;if((s|0)!=4){if((s|0)==5){s=Qh(d,f,g,v|1,k,l,m,q,r)|0;if(s)break;s=Qh(d,f,g,v|2,k,l,m,q,r)|0;if(!s)s=3;else break}}else s=2;u=s&255;h=Sh(d,f,t,g,u,0)|0;if(((h|0)!=0?(e[(h&o)+2>>1]&3|0)==(s|0):0)?(b[(h&o)>>1]|0)==(g|0):0){if(c[(d&p)+148>>2]|0){ug(d,5,15424,w);s=5;break}s=c[(d&p)+4>>2]|0;if(s)do{w=s+88|0;b[(w&o)>>1]=b[(w&o)>>1]|8;s=c[(s&p)+52>>2]|0}while((s|0)!=0)}s=Sh(d,f,t,g,u,1)|0;if(!s)s=7;else{Nl(d,s);if(r)c[(r&p)>>2]=(c[(r&p)>>2]|0)+1;c[(s&p)+32>>2]=r;r=s+2|0;b[(r&o)>>1]=e[(r&o)>>1]&3|v;c[(s&p)+12>>2]=l;c[(s&p)+16>>2]=m;c[(s&p)+20>>2]=q;c[(s&p)+4>>2]=k;b[(s&o)>>1]=g;s=0}}else x=8}else x=8}else x=8;while(0);if((x|0)==8){c[(w&p)>>2]=129075;c[(w&p)+4>>2]=10788;bd(21,13648,w);s=21}i=y;return s|0}function Rh(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0;l=i;i=i+48|0;if((i|0)>=(j|0))fa();k=l;g=k+0|0;h=g+40|0;do{c[(g&p)>>2]=0;g=g+4|0}while((g|0)<(h|0));c[(k&p)+32>>2]=d;Xg(k,e,f,2,0)|0;f=k+8|0;e=c[(f&p)>>2]|0;if(!((e&2|0)==0|(e&16711680|0)==65536))Bn(k,1)|0;if(!(a[(d&n)+65>>0]|0))f=c[(k&p)+16>>2]|0;else{if(!((b[(f&o)>>1]&9312)==0?(c[(k&p)+24>>2]|0)==0:0))Qg(k);c[(k&p)+16>>2]=0;f=0}i=l;return f|0}function Sh(e,f,g,h,i,j){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,q=0,r=0,s=0,t=0;q=((d[((d[(f&n)>>0]|0)&n)+9328>>0]|0)+g|0)%23|0;r=e+336|0;l=Rk(r,q,f,g)|0;if(!l){m=0;k=0}else{m=0;k=0;do{t=Sn(l,h,i)|0;s=(t|0)>(m|0);m=s?t:m;k=s?l:k;l=c[(l&p)+8>>2]|0}while((l|0)!=0)}do if(!(j<<24>>24)){if((k|0)!=0?(c[(e&p)+24>>2]&2097152|0)==0:0){l=0;q=12;break}l=Rk(10840,q,f,g)|0;if(!l){m=0;q=8}else{m=0;do{s=Sn(l,h,i)|0;q=(s|0)>(m|0);m=q?s:m;k=q?l:k;l=c[(l&p)+8>>2]|0}while((l|0)!=0);q=8}}else q=8;while(0);do if((q|0)==8){l=j<<24>>24!=0;if(l&(m|0)<6){l=g+37|0;k=mh(e,l,0)|0;if(!k){q=14;break}fw(k|0,0,l|0)|0;l=k+36|0;c[(k&p)+24>>2]=l;b[(k&o)>>1]=h;b[(k&o)+2>>1]=i&255;kw(l|0,f|0,g|0)|0;a[(k+g&n)+36>>0]=0;ng(r,k);l=1}if(!k)q=14;else q=12}while(0);if((q|0)==12)if((c[(k&p)+16>>2]|0)==0?!((c[(k&p)+12>>2]|0)!=0|l):0)q=14;if((q|0)==14)k=0;return k|0}function Th(b,d,e){b=b|0;d=d|0;e=e|0;d=i;i=i+16|0;if((i|0)>=(j|0))fa();e=d;c[(e&p)>>2]=c[((c[(b&p)+4>>2]|0)&p)+24>>2];e=_c(15304,e)|0;c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,e,-1,1,-1)|0;Wc(e);i=d;return}function Uh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if((a|0)<=(e|0)){e=c[3164]|0;if(e)nc[e&3]();Kf(b,d,0,0,0)|0;e=c[3166]|0;if(e)nc[e&3]()}return 0}function Vh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;a:do if(d){e=d;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;g=e-d&1073741823;f=c[(b&p)+20>>2]|0;e=f+-1|0;if((f|0)>0){h=e;f=(c[(b&p)+16>>2]|0)+(e<<4)|0;while(1){b=c[(f&p)>>2]|0;if(!b)e=0;else{e=b;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;e=e-b&1073741823}if((g|0)==(e|0)?(dd(b,d)|0)==0:0){e=h;break a}e=h+-1|0;if((h|0)>0){h=e;f=f+-16|0}else break}}}else e=-1;while(0);return e|0}function Wh(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0;s=b+20|0;i=c[(s&p)>>2]|0;if((i|0)>0){t=(e|0)==10;q=b+16|0;r=(f|0)==0;m=g;b=i;g=0;o=0;while(1){if((o|0)==(e|0)|t){j=c[((c[(q&p)>>2]|0)+(o<<4)&p)+4>>2]|0;if(j){i=c[(j&p)+4>>2]|0;c[(i&p)+4>>2]=c[(j&p)>>2];if(!(a[(i&n)+20>>0]|0)){j=c[(i&p)>>2]|0;k=c[(j&p)+208>>2]|0;if(!k)k=0;else{if(r)i=0;else i=c[(j&p)+176>>2]|0;k=Tn(k,f,i,c[(j&p)+180>>2]|0,d[(j&n)+9>>0]|0,c[(j&p)+152>>2]|0,c[(j&p)+200>>2]|0,m,h)|0;b=c[(s&p)>>2]|0}}else k=6}else k=0;h=(k|0)==5;l=0;j=0;i=b;g=h?1:g;h=h?0:k}else{l=h;j=m;i=b;h=0}o=o+1|0;b=(h|0)==0;if(!((o|0)<(i|0)&b))break;else{m=j;h=l;b=i}}}else{b=1;g=0;h=0}return (b&(g|0)!=0?5:h)|0}function Xh(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+32|0;if((i|0)>=(j|0))fa();v=z;w=z+20|0;r=z+16|0;q=z+12|0;m=z+8|0;c[(r&p)>>2]=f;c[(q&p)>>2]=0;c[(m&p)>>2]=0;c[(e&p)>>2]=0;h=Lc()|0;do if(!h){if(!(1<<(f&7)&70)){c[(v&p)>>2]=130207;c[(v&p)+4>>2]=10788;bd(21,13648,v);h=21;break}if((c[2187]|0)!=0&(f&32768|0)==0)l=(f&65536|0)==0?c[2188]|0:1;else l=0;if(!(f&262144)){if(c[2241]|0){f=f|131072;c[(r&p)>>2]=f}}else{f=f&-131073;c[(r&p)>>2]=f}f=f&-655129;c[(r&p)>>2]=f;y=qg(528,0)|0;a:do if(y){fw(y|0,0,528)|0;if(l)c[(y&p)+12>>2]=8;c[(y&p)+56>>2]=255;c[(y&p)+20>>2]=2;s=y+76|0;c[(s&p)>>2]=-264537850;t=y+16|0;c[(t&p)>>2]=y+456;k=y+88|0;l=11088;h=k+44|0;do{c[(k&p)>>2]=c[(l&p)>>2];k=k+4|0;l=l+4|0}while((k|0)<(h|0));c[(y&p)+132>>2]=0;a[(y&n)+63>>0]=1;a[(y&n)+67>>0]=-1;k=8920;u=c[(k&p)+4>>2]|0;l=y+40|0;c[(l&p)>>2]=c[(k&p)>>2];c[(l&p)+4>>2]=u;c[(y&p)+72>>2]=0;c[(y&p)+136>>2]=2147483647;c[(y&p)+24>>2]=9437264;l=y+428|0;c[(l&p)>>2]=0;c[(l&p)+4>>2]=0;c[(l&p)+8>>2]=0;c[(l&p)+12>>2]=0;u=y+308|0;c[(u&p)>>2]=0;c[(u&p)+4>>2]=0;c[(u&p)+8>>2]=0;c[(u&p)+12>>2]=0;Yh(y,11152,1,0,21,0)|0;Yh(y,11152,3,0,21,0)|0;Yh(y,11152,2,0,21,0)|0;Yh(y,13752,1,0,22,0)|0;Yh(y,13760,1,1,21,0)|0;u=y+65|0;if(!(a[(u&n)>>0]|0)){l=bn(l,11152,v)|0;if(!l)l=0;else l=c[(l&p)+8>>2]|0;c[(y&p)+8>>2]=l;c[(y&p)+48>>2]=f;l=Wn(g,d,r,y,q,m)|0;if((l|0)==7)a[(u&n)>>0]=1;else if(!l){d=c[(q&p)>>2]|0;h=zm(c[(y&p)>>2]|0,d,y,(c[(t&p)>>2]|0)+4|0,0,c[(r&p)>>2]|256)|0;if(!h){f=c[((c[(t&p)>>2]|0)&p)+4>>2]|0;c[((c[(f&p)+4>>2]|0)&p)+4>>2]=c[(f&p)>>2];f=Xn(y,f)|0;c[((c[(t&p)>>2]|0)&p)+12>>2]=f;if(!(a[(u&n)>>0]|0))a[(y&n)+62>>0]=a[(f&n)+77>>0]|0;f=qg(84,0)|0;if(!f){a[(u&n)>>0]=1;f=0}else{k=f+0|0;h=k+84|0;do{a[(k&n)>>0]=0;k=k+1|0}while((k|0)<(h|0));l=f+77|0;k=f+8|0;h=k+64|0;do{c[(k&p)>>2]=0;k=k+4|0}while((k|0)<(h|0));a[(l&n)>>0]=1}r=c[(t&p)>>2]|0;c[(r&p)+28>>2]=f;c[(r&p)>>2]=13768;a[(r&n)+8>>0]=3;c[(r&p)+16>>2]=10728;a[(r&n)+24>>0]=1;c[(s&p)>>2]=-1607883113;if(a[(u&n)>>0]|0){h=y;break}k=y+52|0;c[(k&p)>>2]=0;l=y+236|0;f=c[(l&p)>>2]|0;do if(f){h=f+8|0;if(!(b[(h&o)>>1]&9312)){b[(h&o)>>1]=1;break}else{vg(f);break}}while(0);if((Cf(y,14632,2)|0)==7)a[(u&n)>>0]=1;f=Nf(y)|0;do if(!f){f=c[2656]|0;if(f){b:do if((f|0)>0){k=0;while(1){f=c[((c[2658]|0)+(k<<2)&p)>>2]|0;c[(w&p)>>2]=0;if(f){h=ac[f&63](y,w,13776)|0;f=c[(w&p)>>2]|0;if(h)break}else f=0;Wc(f);k=k+1|0;if((k|0)>=(c[2656]|0)){x=40;break b}}c[(v&p)>>2]=f;ug(y,h,14592,v);h=c[(w&p)>>2]|0}else x=40;while(0);if((x|0)==40){c[(w&p)>>2]=0;h=0}Wc(h)}if(Nf(y)|0){h=y;break a}}else{c[(k&p)>>2]=f;h=c[(l&p)>>2]|0;if(h){f=h+8|0;if(!(b[(f&o)>>1]&9312)){b[(f&o)>>1]=1;break}else{vg(h);break}}}while(0);Nh(y,0,c[2193]|0,c[2194]|0)|0;c[(y&p)+216>>2]=21;c[(y&p)+220>>2]=1e3;h=y;break}else if((h|0)==3082)h=7;c[(y&p)+52>>2]=h;f=c[(y&p)+236>>2]|0;if(!f){h=y;break}h=f+8|0;if(!(b[(h&o)>>1]&9312)){b[(h&o)>>1]=1;h=y;break}else{vg(f);h=y;break}}d=c[(m&p)>>2]|0;c[(v&p)>>2]=d;ug(y,l,(d|0)!=0?10344:0,v);Wc(d);d=c[(q&p)>>2]|0;h=y}else{d=0;h=y}}else{d=0;h=0}while(0);Wc(d);f=Nf(h)|0;if((f|0)==7){Oh(h,0)|0;h=0}else if(f)c[(y&p)+76>>2]=1266094736;c[(e&p)>>2]=h;h=f&255}while(0);i=z;return h|0}function Yh(e,f,g,h,k,l){e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var m=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))fa();m=v;u=g&255;if(!(g<<24>>24==4|g<<24>>24==8))if((u+-1|0)>>>0>2){c[(m&p)>>2]=129758;c[(m&p)+4>>2]=10788;bd(21,13648,m);m=21}else{t=u;q=4}else{t=2;q=4}do if((q|0)==4){s=t&255;q=Yn(e,s,f,0)|0;if((q|0)!=0?(c[(q&p)+12>>2]|0)!=0:0){if(c[(e&p)+148>>2]|0){ug(e,5,13680,m);m=5;break}g=c[(e&p)+4>>2]|0;if(g)do{r=g+88|0;b[(r&o)>>1]=b[(r&o)>>1]|8;g=c[(g&p)+52>>2]|0}while((g|0)!=0);r=q+4|0;if((d[(r&n)>>0]&247|0)==(t|0)){g=bn(e+428|0,f,m)|0;if(!g)q=0;else q=c[(g&p)+8>>2]|0;m=0;do{if((a[(q+(m*20|0)&n)+4>>0]|0)==(a[(r&n)>>0]|0)){g=c[(q+(m*20|0)&p)+16>>2]|0;if(g)cc[g&31](c[(q+(m*20|0)&p)+8>>2]|0);c[(q+(m*20|0)&p)+12>>2]=0}m=m+1|0}while((m|0)!=3)}}g=Yn(e,s,f,1)|0;if(g){c[(g&p)+12>>2]=k;c[(g&p)+8>>2]=h;c[(g&p)+16>>2]=l;a[(g&n)+4>>0]=t|u&8;c[(e&p)+52>>2]=0;m=c[(e&p)+236>>2]|0;if(m){g=m+8|0;if(!(b[(g&o)>>1]&9312)){b[(g&o)>>1]=1;m=0;break}else{vg(m);m=0;break}}else m=0}else m=7}while(0);i=v;return m|0}function Zh(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,q=0;l=d+24|0;m=c[(l&p)>>2]&2;q=d+145|0;a[(q&n)>>0]=1;k=d+16|0;i=c[(k&p)>>2]|0;a[(d&n)+62>>0]=a[((c[(i&p)+12>>2]|0)&n)+77>>0]|0;h=d+20|0;g=0;while(1){if((g|0)>=(c[(h&p)>>2]|0)){g=i;i=6;break}if(!((g|0)==1?1:(b[((c[(i+(g<<4)&p)+12>>2]|0)&o)+78>>1]&1)!=0)?(f=Zn(d,g,e)|0,(f|0)!=0):0){i=9;break}i=c[(k&p)>>2]|0;g=g+1|0}if((i|0)==6)if((b[((c[(g&p)+28>>2]|0)&o)+78>>1]&1)==0?(j=Zn(d,1,e)|0,(j|0)!=0):0){ql(c[((c[(k&p)>>2]|0)&p)+28>>2]|0);f=j}else f=0;else if((i|0)==9)vm(d,g);a[(q&n)>>0]=0;if(!(f|m))c[(l&p)>>2]=c[(l&p)>>2]&-3;return f|0}function _h(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))fa();m=n;k=a+20|0;a:do if((c[(k&p)>>2]|0)>0){l=(d|0)==0;g=a+16|0;h=0;a=0;do{f=(h|0)<2^h;e=c[(g&p)>>2]|0;if(!(!l?(dd(d,c[(e+(f<<4)&p)>>2]|0)|0)!=0:0)){a=bn((c[(e+(f<<4)&p)+12>>2]|0)+8|0,b,m)|0;if(a){a=c[(a&p)+8>>2]|0;if(a)break a}else a=0}h=h+1|0}while((h|0)<(c[(k&p)>>2]|0))}else a=0;while(0);i=n;return a|0}function $h(a){a=a|0;if((dd(a,12936)|0)!=0?(dd(a,12944)|0)!=0:0)a=(dd(a,12952)|0)==0&1;else a=1;return a|0}function ai(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=c[(a&p)+20>>2]|0;a:do if((g|0)>0){d=c[(a&p)+16>>2]|0;e=(b|0)==0;f=0;while(1){a=c[(d+(f<<4)&p)+4>>2]|0;if(a){if(e)break a;if(!(dd(b,c[(d+(f<<4)&p)>>2]|0)|0))break a}f=f+1|0;if((f|0)>=(g|0)){a=0;break}}}else a=0;while(0);return a|0}function bi(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:do if(!b)e=0;else{e=e+-1|0;b:do if((c[(b&p)>>2]|0)>>>0>4e3){g=b;f=e;while(1){e=g+8|0;h=c[(e&p)>>2]|0;if(!h){j=b;break}e=(f>>>0)%(h>>>0)|0;f=g+12+(((f>>>0)/(h>>>0)|0)<<2)|0;b=c[(f&p)>>2]|0;if(!b){b=qg(512,0)|0;if(!b){e=b;l=21;break}fw(b|0,0,512)|0;c[(b&p)>>2]=h;c[(f&p)>>2]=b}if((c[(b&p)>>2]|0)>>>0>4e3){g=b;f=e}else break b}if((l|0)==21){c[(f&p)>>2]=e;e=7;break a}k=f+1|0;f=(f>>>0)%125|0;i=g+12|0;b=c[(g+(f<<2)&p)+12>>2]|0;if(!b){b=c[(g&p)+4>>2]|0;if(b>>>0<124){e=g;l=20}}else{do{if((b|0)==(k|0)){e=0;break a}f=f+1|0;f=f>>>0>124?0:f;b=c[(g+(f<<2)&p)+12>>2]|0}while((b|0)!=0);b=c[(g&p)+4>>2]|0;if(b>>>0<=61){e=g;l=20}}if((l|0)==20){c[(g&p)+4>>2]=b+1;c[(e+(f<<2)&p)+12>>2]=k;e=0;break a}h=qg(500,0)|0;if(!h){e=7;break a}kw(h|0,i|0,500)|0;fw(i|0,0,500)|0;c[(e&p)>>2]=(((c[(j&p)>>2]|0)+124|0)>>>0)/125|0;b=0;e=bi(g,k)|0;do{f=c[(h+(b<<2)&p)>>2]|0;if(f)e=bi(g,f)|0|e;b=b+1|0}while((b|0)!=125);Wc(h);break a}while(0);b=b+12+(e>>>3)|0;a[(b&n)>>0]=d[(b&n)>>0]|0|1<<(e&7);e=0}while(0);return e|0}function ci(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;a:do if(b){g=e+-1|0;while(1){e=c[(b&p)+8>>2]|0;if(!e)break;b=c[(b+(((g>>>0)/(e>>>0)|0)<<2)&p)+12>>2]|0;if(!b)break a;else g=(g>>>0)%(e>>>0)|0}if((c[(b&p)>>2]|0)>>>0<4001){b=b+12+(g>>>3)|0;a[(b&n)>>0]=(d[(b&n)>>0]|0)&(1<<(g&7)^255);break}k=b+12|0;kw(f|0,k|0,500)|0;fw(k|0,0,500)|0;k=b+4|0;c[(k&p)>>2]=0;h=g+1|0;j=0;do{i=f+(j<<2)|0;e=c[(i&p)>>2]|0;if(!((e|0)==0|(e|0)==(h|0))){g=((e+-1|0)>>>0)%125|0;c[(k&p)>>2]=(c[(k&p)>>2]|0)+1;e=b+(g<<2)+12|0;if(c[(e&p)>>2]|0)do{e=g+1|0;g=e>>>0>124?0:e;e=b+(g<<2)+12|0}while((c[(e&p)>>2]|0)!=0);c[(e&p)>>2]=c[(i&p)>>2]}j=j+1|0}while((j|0)!=125)}while(0);return}function di(a,b){a=a|0;b=b|0;var e=0,f=0;a:do if((a|0)!=0?(e=b+-1|0,e>>>0<(c[(a&p)>>2]|0)>>>0):0){while(1){b=c[(a&p)+8>>2]|0;if(!b)break;a=c[(a+(((e>>>0)/(b>>>0)|0)<<2)&p)+12>>2]|0;if(!a){e=0;break a}else e=(e>>>0)%(b>>>0)|0}if((c[(a&p)>>2]|0)>>>0<4001){e=((d[(a+(e>>>3)&n)+12>>0]|0)&1<<(e&7)|0)!=0&1;break}f=e+1|0;e=(e>>>0)%125|0;b=c[(a+(e<<2)&p)+12>>2]|0;if(b)while(1){if((b|0)==(f|0)){e=1;break a}e=((e+1|0)>>>0)%125|0;b=c[(a+(e<<2)&p)+12>>2]|0;if(!b){e=0;break}}else e=0}else e=0;while(0);return e|0}function ei(a){a=a|0;var b=0,d=0;if(a){if(c[(a&p)+8>>2]|0){b=a+12|0;d=0;do{ei(c[(b+(d<<2)&p)>>2]|0);d=d+1|0}while((d|0)!=125)}Wc(a)}return}function fi(b,c){b=b|0;c=c|0;var f=0;a:do if((c|0)>=2?(f=a[((((d[((d[(b&n)>>0]|0)&n)+9328>>0]|0)<<2^c^(d[((d[(b+c+-1&n)>>0]|0)&n)+9328>>0]|0)*3|0)%127|0)&n)+11824>>0]|0,f<<24>>24!=0):0){f=f&255;while(1){f=f+-1|0;if((d[(f&n)+12080>>0]|0|0)==(c|0)?(Fc(11264+(e[(f<<1&o)+12208>>1]|0)|0,b,c)|0)==0:0)break;f=a[(f&n)+11952>>0]|0;if(!(f<<24>>24)){f=27;break a}else f=f&255}f=d[(f&n)+12456>>0]|0}else f=27;while(0);return f|0}function gi(a){a=a|0;var b=0,d=0,e=0;c[2174]=a;if((c[2184]|0)>>>0<a>>>0)c[2184]=a;d=c[2264]|0;if((d|0)==0|(c[2235]|0)<(a|0)){b=qg(a,((a|0)<0)<<31>>31)|0;if((c[2186]|0)!=0&(b|0)!=0?(e=lc[c[8792>>2]&127](b)|0,e=(c[2170]|0)+e|0,c[2170]=e,e>>>0>(c[2180]|0)>>>0):0)c[2180]=e}else{b=c[2263]|0;c[2263]=c[(b&p)>>2];c[2264]=d+-1;a=(c[2169]|0)+1|0;c[2169]=a;if(a>>>0>(c[2179]|0)>>>0)c[2179]=a}return b|0}function hi(a){a=a|0;var b=0;do if(a){if((c[2234]|0)>>>0<=a>>>0&(c[2262]|0)>>>0>a>>>0){c[(a&p)>>2]=c[2263];c[2263]=a;c[2264]=(c[2264]|0)+1;c[2169]=(c[2169]|0)+-1;break}if(!(c[2186]|0)){cc[c[8784>>2]&31](a);break}else{b=lc[c[8792>>2]&127](a)|0;c[2170]=(c[2170]|0)-b;c[2166]=(c[2166]|0)-b;c[2175]=(c[2175]|0)+-1;cc[c[8784>>2]&31](a);break}}while(0);return}function ii(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))fa();h=l;g=a[(b&n)>>0]|0;a:do if(((g&255)+-48|0)>>>0>=10){k=g;g=b;while(1){h=g+1|0;if(!(k<<24>>24))break;k=a[(h&n)>>0]|0;g=h}k=g-b&1073741823;g=7-e|0;if((g|0)>0){h=0;while(1){if((d[(h&n)+11248>>0]|0|0)==(k|0)?(Fc(11216+(d[(h&n)+11240>>0]|0)|0,b,k)|0)==0:0){f=h;break}h=h+1|0;if((h|0)>=(g|0))break a}f=a[(f&n)+11256>>0]|0}}else{c[(h&p)>>2]=0;Dn(b,h)|0;f=c[(h&p)>>2]&255}while(0);i=l;return f|0}function ji(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=a[(b&n)>>0]|0;do if(e<<24>>24==48){f=a[(b&n)+1>>0]|0;if(!(f<<24>>24==88|f<<24>>24==120))if(!b){e=0;k=15;break}else{g=e;e=b;k=12;break}e=a[(b&n)+2>>0]|0;if(!(a[(e&255&n)+10368>>0]&8)){g=48;e=b;k=12}else{g=2;while(1){f=g+1|0;if(e<<24>>24!=48)break;e=a[(b+f&n)>>0]|0;g=f}if(!(a[(e&255&n)+10368>>0]&8)){h=b+g|0;i=0;e=0;f=g}else{i=0;h=0;f=g;while(1){i=iw(i|0,h|0,4)|0;j=G;h=e<<24>>24;i=(0-(h>>>6&1)&9)+h&15|i;f=f+1|0;h=b+f|0;e=a[(h&n)>>0]|0;if(!(a[(e&255&n)+10368>>0]&8)){e=j;break}else h=j}}j=d;c[(j&p)>>2]=i;c[(j&p)+4>>2]=e;if(!(a[(h&n)>>0]|0))e=(f-g|0)<17;else e=0;e=e&1^1}}else{g=e;e=b;k=12}while(0);if((k|0)==12){while(1){f=e+1|0;if(!(g<<24>>24))break;g=a[(f&n)>>0]|0;e=f;k=12}e=e-b&1073741823;k=15}if((k|0)==15)e=Ul(b,d,e,1)|0;return e|0}function ki(d,f,g,h,k){d=d|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=i;i=i+1264|0;if((i|0)>=(j|0))fa();E=G;D=G+152|0;x=G+742|0;y=G+76|0;u=G+228|0;r=h&-256;v=h&16;C=h&8;w=h&4;q=h&1;z=h&2;if((w|0)!=0?(r|0)==524288|(r|0)==2048|(r|0)==16384:0)B=1;else B=0;A=c[12114]|0;if((A|0)!=(rb()|0)?(c[12114]=rb()|0,(Lc()|0)==0):0)a[9064]=0;s=g+0|0;t=s+44|0;do{c[(s&p)>>2]=0;s=s+4|0}while((s|0)<(t|0));A=(r|0)==256;do if(A){a:do if((rc[c[47604>>2]&127](f,E)|0)==0?(l=c[12178]|0,(l|0)!=0):0){r=c[(E&p)>>2]|0;s=c[(E&p)+72>>2]|0;while(1){if((c[(l&p)>>2]|0)==(r|0)?(c[(l&p)+4>>2]|0)==(s|0):0)break;l=c[(l&p)+32>>2]|0;if(!l){F=18;break a}}r=l+28|0;l=c[(r&p)>>2]|0;if(l){while(1){t=r;r=l+8|0;s=l;l=c[(r&p)>>2]|0;if((c[(s&p)+4>>2]|0)==(h|0)){r=t;break}if(!l){F=18;break a}}c[(r&p)>>2]=l;u=c[(s&p)>>2]|0;l=s}else F=18}else F=18;while(0);if((F|0)==18){l=Tc(12)|0;if(!l){l=7;break}else u=-1}c[(g&p)+28>>2]=l;r=w<<4|z;l=(v|0)!=0;if((u|0)<0){w=l;v=l?r|131200:r;l=f;F=23}else{t=u;l=f;F=36}}else{if(!f){l=_n(514,u)|0;if(!l)l=u;else break}else l=f;F=w<<4|z;v=(v|0)!=0;w=v;v=v?F|131200:F;F=23}while(0);b:do if((F|0)==23){if(!(h&526336)){r=(C|0)==0?0:384;u=0;t=0}else{if(!l)r=0;else{r=l;while(1)if(!(a[(r&n)>>0]|0))break;else r=r+1|0;r=r-l&1073741823}do r=r+-1|0;while((a[(l+r&n)>>0]|0)!=45);kw(x|0,l|0,r|0)|0;a[(x+r&n)>>0]=0;if(rc[c[47604>>2]&127](x,y)|0){l=1802;break}r=c[(y&p)+12>>2]&511;u=c[(y&p)+20>>2]|0;t=c[(y&p)+24>>2]|0}s=$n(l,v,r)|0;do if((s|0)<0){if(!(w|((z|0)==0|(c[((Hb()|0)&p)>>2]|0)==21))?(m=$n(l,v&131200,r)|0,(m|0)>=0):0){h=h&-8|1;q=1;break}c[(E&p)>>2]=31186;c[(E&p)+4>>2]=10788;bd(14,14848,E);l=co(14,47896,l,31186)|0;if(!l){l=0;break b}m=g+28|0;F=70;break b}else m=s;while(0);if(!(h&526336)){t=m;F=36}else{ac[c[47796>>2]&63](m,u,t)|0;t=m;F=36}}while(0);c:do if((F|0)==36){if(k)c[(k&p)>>2]=h;u=g+28|0;m=c[(u&p)>>2]|0;if(m){c[(m&p)>>2]=t;c[(m&p)+4>>2]=h}if(C)lc[c[47748>>2]&127](l)|0;l=C<<2;l=(q|0)==0?l:l|2;l=A?l:l|128;l=B?l|8:l;C=l|h&64;c[(g&p)+12>>2]=t;c[(g&p)+4>>2]=d;c[(g&p)+32>>2]=f;m=g+18|0;b[(m&o)>>1]=C&255;if(fg((C&64|0)!=0?f:0,48496,1)|0)b[(m&o)>>1]=e[(m&o)>>1]|16;if(!(_v(c[(d&p)+16>>2]|0,1e4)|0))b[(m&o)>>1]=e[(m&o)>>1]|1;d:do if(!(l&128)){l=rc[c[(c[(d&p)+20>>2]&p)>>2]&127](f,g)|0;if((l|0)!=48504){if((l|0)!=47472){F=64;break}m=(gw(f|0)|0)+6|0;l=Tc(m)|0;if(l){c[(E&p)>>2]=f;ad(m,l,48584,E)|0;c[(g&p)+24>>2]=l;c[(g&p)+20>>2]=0;l=47472;break}c[(g&p)+24>>2]=0;c[(g&p)+20>>2]=0;if((t|0)<=-1){m=u;l=7;F=70;break c}ao(g,t,30794);m=u;l=7;F=70;break c}do if(!(rc[c[47616>>2]&127](c[(g&p)+12>>2]|0,D)|0)){l=E;c[(l&p)>>2]=0;c[(l&p)+4>>2]=0;c[(E&p)>>2]=c[(D&p)>>2];c[(E&p)+4>>2]=c[(D&p)+72>>2];l=c[12178]|0;e:do if(!l)F=53;else{while(1){if(!(Zv(E,l,8)|0))break;l=c[(l&p)+32>>2]|0;if(!l){F=53;break e}}E=l+16|0;c[(E&p)>>2]=(c[(E&p)>>2]|0)+1}while(0);if((F|0)==53){m=Tc(40)|0;if(!m){l=7;m=g+20|0;break}s=m+0|0;t=s+40|0;do{c[(s&p)>>2]=0;s=s+4|0}while((s|0)<(t|0));F=c[(E&p)+4>>2]|0;l=m;c[(l&p)>>2]=c[(E&p)>>2];c[(l&p)+4>>2]=F;c[(m&p)+16>>2]=1;c[(m&p)+32>>2]=c[12178];c[(m&p)+36>>2]=0;l=c[12178]|0;if(l)c[(l&p)+36>>2]=m;c[12178]=m;l=m}c[(g&p)+8>>2]=l;l=48504;F=64;break d}else{l=c[((Hb()|0)&p)>>2]|0;m=g+20|0;c[(m&p)>>2]=l;l=(l|0)==75?22:10}while(0);ao(g,t,30709);c[(m&p)>>2]=0;m=u;F=70;break c}else{l=48376;F=64}while(0);if((F|0)==64)c[(g&p)+20>>2]=0;c[(g&p)>>2]=l;bo(g);l=0}while(0);if((F|0)==70)Wc(c[(m&p)>>2]|0);i=G;return l|0}function li(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))fa();e=f;do if((lc[c[47748>>2]&127](b)|0)==-1)if((c[((Hb()|0)&p)>>2]|0)==2)a=5898;else a=co(2570,48032,b,31314)|0;else if(d&1){a=rc[c[47760>>2]&127](b,e)|0;if((a|0)==14){a=0;break}else if(a)break;if(!(Gb(c[(e&p)>>2]|0)|0))a=0;else a=co(1290,48488,b,31329)|0;if(lc[c[47568>>2]&127](c[(e&p)>>2]|0)|0)co(4106,47856,0,31331)|0}else a=0;while(0);i=f;return a|0}function mi(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+80|0;if((i|0)>=(j|0))fa();f=g;if((d|0)==2)a=4;else if((d|0)==1)a=6;else a=0;a=(rc[c[47580>>2]&127](b,a)|0)==0;c[(e&p)>>2]=a&1;if((!((d|0)!=0|a^1)?(rc[c[47604>>2]&127](b,f)|0)==0:0)?(c[(f&p)+36>>2]|0)==0:0)c[(e&p)>>2]=0;i=g;return 0}function ni(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();g=h;b=e+-1|0;a[(f+b&n)>>0]=0;do if((a[(d&n)>>0]|0)!=47)if(!(rc[c[47592>>2]&127](f,b)|0)){c[(g&p)>>2]=31416;c[(g&p)+4>>2]=10788;bd(14,14848,g);b=co(14,47904,d,31416)|0;break}else{b=gw(f|0)|0;c[(g&p)>>2]=d;ad(e-b|0,f+b|0,48480,g)|0;b=0;break}else{c[(g&p)>>2]=d;ad(e,f,10344,g)|0;b=0}while(0);i=h;return b|0}function oi(a,b){a=a|0;b=b|0;return Db(b|0,258)|0}function pi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))fa();e=f;a=Xa()|0;if(a){c[(e&p)>>2]=a;ad(b,d,10344,e)|0}i=f;return}function qi(a,b,c){a=a|0;b=b|0;c=c|0;return $a(b|0,c|0)|0}function ri(a,b){a=a|0;b=b|0;Eb(b|0)|0;return}function si(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();f=g;fw(e|0,0,d|0)|0;c[12114]=rb()|0;b=$n(48464,0,0)|0;if((b|0)>=0){do if((ac[c[47652>>2]&63](b,e,d)|0)>=0)break;while((c[((Hb()|0)&p)>>2]|0)==4);if(lc[c[47568>>2]&127](b)|0)co(4106,47856,0,31521)|0}else{Pb(f|0)|0;d=c[(f&p)>>2]|0;a[(e&n)>>0]=d;a[(e&n)+1>>0]=d>>8;a[(e&n)+2>>0]=d>>16;a[(e&n)+3>>0]=d>>24;d=e+4|0;b=c[12114]|0;a[(d&n)>>0]=b;a[(d&n)+1>>0]=b>>8;a[(d&n)+2>>0]=b>>16;a[(d&n)+3>>0]=b>>24;d=8}i=g;return d|0}function ti(a,b){a=a|0;b=b|0;a=(b+999999|0)/1e6|0;Mb(a|0)|0;return a*1e6|0}function ui(a,b){a=a|0;b=b|0;var d=0,e=0;a=i;i=i+16|0;if((i|0)>=(j|0))fa();e=a;d=e;c[(d&p)>>2]=0;c[(d&p)+4>>2]=0;d=wi(0,e)|0;h[(b&q)>>3]=(+((c[(e&p)>>2]|0)>>>0)+4294967296.0*+(c[(e&p)+4>>2]|0))/864.0e5;i=a;return d|0}function vi(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function wi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;i=i+16|0;if((i|0)>=(j|0))fa();a=d;if(!(Sb(a|0,0)|0)){f=c[(a&p)>>2]|0;f=sw(f|0,((f|0)<0)<<31>>31|0,1e3,0)|0;f=jw(f|0,G|0,1045635584,49096)|0;e=(c[(a&p)+4>>2]|0)/1e3|0;e=jw(f|0,G|0,e|0,((e|0)<0)<<31>>31|0)|0;a=b;c[(a&p)>>2]=e;c[(a&p)+4>>2]=G;a=0}else a=1;i=d;return a|0}function xi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;a:do if(!b){a=0;do{b=c[((a*12|0)&p)+47560>>2]|0;if(b)c[((a*12|0)&p)+47556>>2]=b;a=a+1|0}while((a|0)!=25);b=0}else{a=0;while(1){if(!(_v(b,c[((a*12|0)&p)+47552>>2]|0)|0)){e=a;break}a=a+1|0;if(a>>>0>=25){b=12;break a}}b=47560+(e*12|0)|0;a=c[(b&p)>>2]|0;if(!a){a=c[((e*12|0)&p)+47556>>2]|0;c[(b&p)>>2]=a}c[((e*12|0)&p)+47556>>2]=(d|0)==0?a:d;b=0}while(0);return b|0}function yi(a,b){a=a|0;b=b|0;var d=0;a=0;while(1){if(!(_v(b,c[((a*12|0)&p)+47552>>2]|0)|0)){d=4;break}a=a+1|0;if(a>>>0>=25){a=0;break}}if((d|0)==4)a=c[((a*12|0)&p)+47556>>2]|0;return a|0}function zi(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if(!b)a=-1;else{d=0;while(1){a=d+1|0;if(!(_v(b,c[((d*12|0)&p)+47552>>2]|0)|0)){a=d;break a}if((a|0)<24)d=a;else break}}while(0);while(1){a=a+1|0;if((a|0)>=25){a=0;break}if(c[((a*12|0)&p)+47556>>2]|0){e=6;break}}if((e|0)==6)a=c[((a*12|0)&p)+47552>>2]|0;return a|0}function Ai(a,b){a=a|0;b=b|0;return 48504}function Bi(a,b){a=a|0;b=b|0;return 48376}function Ci(a,b){a=a|0;b=b|0;return 47472}function Di(a){a=a|0;var b=0,d=0;b=c[(a&p)+4>>2]|0;if(b)do{d=b;b=c[(b&p)>>2]|0;Wc(d)}while((b|0)!=0);b=a+0|0;d=b+40|0;do{c[(b&p)>>2]=0;b=b+4|0}while((b|0)<(d|0));c[(a&p)>>2]=14696;return 0}function Ei(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;l=a+24|0;k=l;if(((c[(k&p)>>2]|0)!=(e|0)?1:(c[(k&p)+4>>2]|0)!=(f|0))|(e|0)==0&(f|0)==0){g=c[(a&p)+4>>2]|0;if(!((g|0)==0|((f|0)<0|(f|0)==0&e>>>0<1020))){h=1020;i=0;do{h=jw(h|0,i|0,1020,0)|0;i=G;g=c[(g&p)>>2]|0}while(!((g|0)==0|((i|0)>(f|0)|(i|0)==(f|0)&h>>>0>e>>>0)))}}else g=c[(a&p)+32>>2]|0;j=rw(e|0,f|0,1020,0)|0;k=d;h=b;while(1){b=1020-j|0;i=(k|0)<(b|0)?k:b;kw(h|0,g+j+4|0,i|0)|0;k=k-b|0;if((k|0)<=-1)break;g=c[(g&p)>>2]|0;if(!((g|0)!=0&(k|0)>0))break;else{j=0;h=h+i|0}}f=jw(d|0,((d|0)<0)<<31>>31|0,e|0,f|0)|0;d=l;c[(d&p)>>2]=f;c[(d&p)+4>>2]=G;c[(a&p)+32>>2]=g;return 0}function Fi(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;a:do if((d|0)>0){i=a+8|0;j=a+16|0;h=a+4|0;e=i;f=c[(e&p)>>2]|0;e=c[(e&p)+4>>2]|0;while(1){a=c[(j&p)>>2]|0;e=rw(f|0,e|0,1020,0)|0;g=1020-e|0;g=(d|0)<(g|0)?d:g;if(!e){f=Tc(1024)|0;if(!f){e=3082;break a}c[(f&p)>>2]=0;if(!a){c[(h&p)>>2]=f;a=f}else{c[(a&p)>>2]=f;a=f}c[(j&p)>>2]=a}kw(a+e+4|0,b|0,g|0)|0;d=d-g|0;f=i;f=jw(c[(f&p)>>2]|0,c[(f&p)+4>>2]|0,g|0,((g|0)<0)<<31>>31|0)|0;e=G;a=i;c[(a&p)>>2]=f;c[(a&p)+4>>2]=e;if((d|0)<=0){e=0;break}else b=b+g|0}}else e=0;while(0);return e|0}function Gi(a,b,d){a=a|0;b=b|0;d=d|0;b=c[(a&p)+4>>2]|0;if(b)do{d=b;b=c[(b&p)>>2]|0;Wc(d)}while((b|0)!=0);d=a+0|0;b=d+40|0;do{c[(d&p)>>2]=0;d=d+4|0}while((d|0)<(b|0));c[(a&p)>>2]=14696;return 0}function Hi(a,b){a=a|0;b=b|0;return 0}function Ii(a,b){a=a|0;b=b|0;var d=0,e=0;e=a+8|0;d=c[(e&p)+4>>2]|0;a=b;c[(a&p)>>2]=c[(e&p)>>2];c[(a&p)+4>>2]=d;return 0}function Ji(a){a=a|0;var b=0;a=12584|0;b=a+68|0;do{c[(a&p)>>2]=0;a=a+4|0}while((a|0)<(b|0));if(c[2187]|0){c[3146]=8;c[3159]=8}c[3149]=10;c[3153]=1;return 0}function Ki(a){a=a|0;var b=0;a=12584|0;b=a+68|0;do{c[(a&p)>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function Li(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=qg(48,0)|0;if(f){g=f+0|0;h=g+48|0;do{a[(g&n)>>0]=0;g=g+1|0}while((g|0)<(h|0));c[(f&p)>>2]=12584;c[(f&p)+4>>2]=b;c[(f&p)+8>>2]=d;e=(e|0)!=0;c[(f&p)+12>>2]=e&1;eo(f);if(e){c[(f&p)+16>>2]=10;e=c[3148]|0;c[3148]=e+10;c[3149]=(c[3147]|0)+10+(-10-e)}if(!(c[(f&p)+40>>2]|0)){Si(f);f=0}}else f=0;return f|0}function Mi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(c[(a&p)+12>>2]|0){d=c[(a&p)>>2]|0;e=a+20|0;g=d+4|0;f=(c[(g&p)>>2]|0)+(b-(c[(e&p)>>2]|0))|0;c[(g&p)>>2]=f;c[(d&p)+12>>2]=f+10-(c[(d&p)+8>>2]|0);c[(e&p)>>2]=b;c[(a&p)+24>>2]=((b*9|0)>>>0)/10|0;fo(d)}return}function Ni(a){a=a|0;return c[(a&p)+36>>2]|0}function Oi(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=c[((c[(b&p)+44>>2]|0)+(((d>>>0)%((c[(b&p)+40>>2]|0)>>>0)|0)<<2)&p)>>2]|0;a:do if(f){while(1){if((c[(f&p)+8>>2]|0)==(d|0))break;f=c[(f&p)+16>>2]|0;if(!f){g=6;break a}}if(!(a[(f&n)+12>>0]|0))go(f)}else g=6;while(0);if((g|0)==6)if(!e)f=0;else f=ho(b,d,e)|0;return f|0}function Pi(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=c[(b&p)>>2]|0;if((e|0)==0?(c[(g&p)+16>>2]|0)>>>0<=(c[(g&p)+4>>2]|0)>>>0:0){e=g+20|0;f=c[(e&p)>>2]|0;if(!f)c[(g&p)+24>>2]=d;else{c[(f&p)+28>>2]=d;c[(d&p)+24>>2]=f}c[(e&p)>>2]=d;f=b+32|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;a[(d&n)+12>>0]=0}else{g=c[(d&p)+20>>2]|0;e=(c[(g&p)+44>>2]|0)+((((c[(d&p)+8>>2]|0)>>>0)%((c[(g&p)+40>>2]|0)>>>0)|0)<<2)|0;while(1){b=c[(e&p)>>2]|0;f=b+16|0;if((b|0)==(d|0))break;else e=f}c[(e&p)>>2]=c[(f&p)>>2];f=g+36|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+-1;io(d)}return}function Qi(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=c[(a&p)+40>>2]|0;h=a+44|0;d=(c[(h&p)>>2]|0)+(((d>>>0)%(g>>>0)|0)<<2)|0;while(1){f=c[(d&p)>>2]|0;if((f|0)==(b|0))break;else d=f+16|0}f=b+16|0;c[(d&p)>>2]=c[(f&p)>>2];c[(b&p)+8>>2]=e;d=(c[(h&p)>>2]|0)+(((e>>>0)%(g>>>0)|0)<<2)|0;c[(f&p)>>2]=c[(d&p)>>2];c[(d&p)>>2]=b;d=a+28|0;if((c[(d&p)>>2]|0)>>>0<e>>>0)c[(d&p)>>2]=e;return}function Ri(a,b){a=a|0;b=b|0;var d=0;d=a+28|0;if((c[(d&p)>>2]|0)>>>0>=b>>>0){jo(a,b);c[(d&p)>>2]=b+-1}return}function Si(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[(a&p)>>2]|0;jo(a,0);f=b+4|0;e=(c[(f&p)>>2]|0)-(c[(a&p)+20>>2]|0)|0;c[(f&p)>>2]=e;f=b+8|0;d=(c[(f&p)>>2]|0)-(c[(a&p)+16>>2]|0)|0;c[(f&p)>>2]=d;c[(b&p)+12>>2]=e+10-d;fo(b);Wc(c[(a&p)+44>>2]|0);Wc(a);return}function Ti(a){a=a|0;var b=0,d=0;if(c[(a&p)+12>>2]|0){d=c[(a&p)>>2]|0;a=d+4|0;b=c[(a&p)>>2]|0;c[(a&p)>>2]=0;fo(d);c[(a&p)>>2]=b}return}function Ui(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))fa();d=e;b=a+7&-8;a=Wv(b+8|0)|0;if(!a){c[(d&p)>>2]=b;bd(7,16568,d)}else{d=a;c[(d&p)>>2]=b;c[(d&p)+4>>2]=((b|0)<0)<<31>>31;a=a+8|0}i=e;return a|0}function Vi(a){a=a|0;Xv(a+-8|0);return}function Wi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();f=g;e=a+-8|0;d=Yv(e,b+8|0)|0;if(!d){if(!a)e=0;else e=c[(e&p)>>2]|0;c[(f&p)>>2]=e;c[(f&p)+4>>2]=b;bd(7,16528,f)}else{e=d;c[(e&p)>>2]=b;c[(e&p)+4>>2]=((b|0)<0)<<31>>31;d=d+8|0}i=g;return d|0}function Xi(a){a=a|0;if(!a)a=0;else a=c[(a+-8&p)>>2]|0;return a|0}function Yi(a){a=a|0;return a+7&-8|0}function Zi(a){a=a|0;return 0}function _i(a){a=a|0;return}function $i(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0;i=c[(g&p)>>2]|0;do if((-1431655766>>>(e[(i&o)+8>>1]&31)&1|0)==0?(h=Sg(i,1)|0,(h|0)!=0):0){i=Tg(c[(g&p)>>2]|0,1)|0;if((f|0)!=1){r=Sg(c[(g&p)+4>>2]|0,1)|0;if(!r)break;f=a[(r&n)>>0]|0;if(f<<24>>24){g=0;j=r;while(1){l=j+1|0;if((f&255)>191){k=j;j=l;while(1){f=a[(j&n)>>0]|0;if((f&-64)<<24>>24==-128){q=j;j=k+2|0;k=q}else break}}else{f=a[(l&n)>>0]|0;j=l}k=g+1|0;if(!(f<<24>>24)){f=k;break}else g=k}if((g|0)>-1){m=sw(f|0,((f|0)<0)<<31>>31|0,5,0)|0;m=ko(b,m,G)|0;if(!m)break;f=m+(f<<2)|0;if(a[(r&n)>>0]|0){j=r;g=0;while(1){c[(m+(g<<2)&p)>>2]=j;l=j+1|0;if((d[(j&n)>>0]|0)>191){k=j;while(1)if((a[(l&n)>>0]&-64)<<24>>24==-128){q=l;l=k+2|0;k=q}else break}a[(f+g&n)>>0]=l-j;k=g+1|0;if(!(a[(l&n)>>0]|0))break;else{j=l;g=k}}if((g|0)>-1){q=k;s=17}}}}}else{f=20360;m=20368;q=1;r=0;s=17}if((s|0)==17){g=c[((c[(b&p)+4>>2]|0)&p)+4>>2]|0;a:do if((g&1|0)!=0&(i|0)>0){j=(q|0)>0;do{if(j)k=0;else{s=24;break a}while(1){l=d[(f+k&n)>>0]|0;if((i|0)>=(l|0)?(Zv(h,c[(m+(k<<2)&p)>>2]|0,l)|0)==0:0)break;k=k+1|0;if((k|0)>=(q|0)){s=24;break a}}h=h+l|0;i=i-l|0}while((i|0)>0)}else s=24;while(0);b:do if((s|0)==24)if((g&2|0)!=0&(i|0)>0){l=(q|0)>0;do{if(l)j=0;else break b;while(1){k=d[(f+j&n)>>0]|0;if((i|0)>=(k|0)?(t=i-k|0,(Zv(h+t|0,c[(m+(j<<2)&p)>>2]|0,k)|0)==0):0){i=t;break}j=j+1|0;if((j|0)>=(q|0))break b}}while((i|0)>0)}while(0);if(r)Wc(m)}Wg(b,h,i,1,-1)}while(0);return}function aj(a,b,d){a=a|0;b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0;j=((c[((c[(a&p)+4>>2]|0)&p)+4>>2]|0)!=0)<<31>>31;i=c[((c[((c[(a&p)+12>>2]|0)&p)+4>>2]|0)+(((c[(a&p)+16>>2]|0)+-1|0)*20|0)&p)+16>>2]|0;f=c[(d&p)>>2]|0;a:do if(!(-1431655766>>>((e[(f&o)+8>>1]|0)&31)&1)){if((b|0)>1){h=1;f=0;do{g=c[(d+(h<<2)&p)>>2]|0;if(-1431655766>>>((e[(g&o)+8>>1]|0)&31)&1)break a;g=((hm(c[(d+(f<<2)&p)>>2]|0,g,i)|0)^j|0)>-1;f=g?h:f;h=h+1|0}while((h|0)<(b|0));f=c[(d+(f<<2)&p)>>2]|0}_g(c[(a&p)>>2]|0,f)|0}while(0);return}function bj(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0;i=c[(g&p)>>2]|0;f=c[(d&p)+8>>2]|0;if(!(b[(f&o)+8>>1]&8192))f=lh(d,40)|0;else f=c[(f&p)+16>>2]|0;do if(f){h=(b[(f&o)+8>>1]|0)!=0;if(-1431655766>>>(e[((c[(g&p)>>2]|0)&o)+8>>1]&31)&1){if(!h)break;a[(d&n)+24>>0]=1;break}if(!h){c[(f&p)+32>>2]=c[((c[(d&p)>>2]|0)&p)+32>>2];_g(f,i)|0;break}h=(c[((c[(d&p)+4>>2]|0)&p)+4>>2]|0)!=0;g=hm(f,i,c[((c[((c[(d&p)+12>>2]|0)&p)+4>>2]|0)+(((c[(d&p)+16>>2]|0)+-1|0)*20|0)&p)+16>>2]|0)|0;if(!(h&(g|0)<0)?!((g|0)>0&(h^1)):0){a[(d&n)+24>>0]=1;break}_g(f,i)|0}while(0);return}function cj(a){a=a|0;var d=0,e=0,f=0;d=c[(a&p)+8>>2]|0;if(!(b[(d&o)+8>>1]&8192))d=lh(a,0)|0;else d=c[(d&p)+16>>2]|0;do if(d){e=d+8|0;if(!((b[(e&o)>>1]|0)!=0?(_g(c[(a&p)>>2]|0,d)|0,(b[(e&o)>>1]&9312)!=0):0))f=7;if((f|0)==7?(c[(d&p)+24>>2]|0)==0:0)break;Qg(d)}while(0);return}function dj(a,b,f){a=a|0;b=b|0;f=f|0;b=d[((e[((c[(f&p)>>2]|0)&o)+8>>1]|0)&31&n)+10064>>0]|0;if((b|0)==3)b=20328;else if((b|0)==4)b=20344;else if((b|0)==2)b=20336;else if((b|0)==1)b=20320;else b=20352;Wg(a,b,-1,1,0);return}function ej(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;g=c[(h&p)>>2]|0;h=d[((e[(g&o)+8>>1]|0)&31&n)+10064>>0]|0;do if((h|0)==3){i=Sg(g,1)|0;if(i){g=a[(i&n)>>0]|0;if(!(g<<24>>24)){j=0;i=0}else{h=g;g=0;do{g=g+1|0;k=i+1|0;if((h&255)>191){j=i;i=k;while(1){h=a[(i&n)>>0]|0;if((h&-64)<<24>>24==-128){h=i;i=j+2|0;j=h}else break}}else{h=a[(k&n)>>0]|0;i=k}}while(h<<24>>24!=0);j=g;i=((g|0)<0)<<31>>31}g=c[(f&p)>>2]|0;h=g+8|0;if(!(b[(h&o)>>1]&9312)){c[(g&p)>>2]=j;c[(g&p)+4>>2]=i;b[(h&o)>>1]=4;break}else{Zg(g,j,i);break}}}else if((h|0)==2|(h|0)==1|(h|0)==4){j=Tg(g,1)|0;i=c[(f&p)>>2]|0;g=((j|0)<0)<<31>>31;h=i+8|0;if(!(b[(h&o)>>1]&9312)){c[(i&p)>>2]=j;c[(i&p)+4>>2]=g;b[(h&o)>>1]=4;break}else{Zg(i,j,g);break}}else{h=c[(f&p)>>2]|0;g=h+8|0;if(!(b[(g&o)>>1]&9312)){b[(g&o)>>1]=1;break}else{vg(h);break}}while(0);return}function fj(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;g=c[(f&p)>>2]|0;h=b[(g&o)+8>>1]|0;i=f+4|0;e=b[((c[(i&p)>>2]|0)&o)+8>>1]|0;do if(!((-1431655766>>>(e&31)|-1431655766>>>(h&31))&1)){j=Tg(g,1)|0;l=Tg(c[(i&p)>>2]|0,1)|0;f=c[(f&p)>>2]|0;if(!((e|h)&15)){e=pd(f)|0;f=0;k=pd(c[(i&p)>>2]|0)|0}else{e=Sg(f,1)|0;f=1;k=Sg(c[(i&p)>>2]|0,1)|0}a:do if((l|0)>(j|0)){e=1;g=1}else{g=1;h=j;while(1){if(!(Zv(e,k,l)|0)){e=0;break a}g=g+1|0;i=(f|0)==0;do{h=h+-1|0;e=e+1|0;if(i){f=0;break}}while((a[(e&n)>>0]&-64)<<24>>24==-128);if((l|0)>(h|0)){e=1;break}}}while(0);h=c[(d&p)>>2]|0;f=e?0:g;e=e?0:((g|0)<0)<<31>>31;g=h+8|0;if(!(b[(g&o)>>1]&9312)){c[(h&p)>>2]=f;c[(h&p)+4>>2]=e;b[(g&o)>>1]=4;break}else{Zg(h,f,e);break}}while(0);return}function gj(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0;h=c[(g&p)+4>>2]|0;do if(!(-1431655766>>>((e[(h&o)+8>>1]|0)&31)&1)){r=(f|0)==3;if(r?(-1431655766>>>((e[((c[(g&p)+8>>2]|0)&o)+8>>1]|0)&31)&1|0)!=0:0)break;t=b[((c[(g&p)>>2]|0)&o)+8>>1]|0;k=Vg(h)|0;l=((k|0)<0)<<31>>31;t=(t&15)==0;i=c[(g&p)>>2]|0;if(t){i=Tg(i,1)|0;j=pd(c[(g&p)>>2]|0)|0;if(!j)break;else s=i}else{j=Sg(i,1)|0;if(!j)break;if((k|0)<0?(m=a[(j&n)>>0]|0,m<<24>>24!=0):0){i=0;h=j;do{q=h+1|0;if((m&255)>191){f=h;h=q;while(1){m=a[(h&n)>>0]|0;if((m&-64)<<24>>24==-128){s=h;h=f+2|0;f=s}else break}}else{m=a[(q&n)>>0]|0;h=q}i=i+1|0}while(m<<24>>24!=0);s=i}else s=0}if(r){q=Vg(c[(g&p)+8>>2]|0)|0;f=((q|0)<0)<<31>>31;r=(q|0)<0;h=dw(0,0,q|0,f|0)|0;h=r?h:q;f=r?G:f;q=q>>>31}else{f=c[((c[((c[(d&p)>>2]|0)&p)+32>>2]|0)&p)+88>>2]|0;h=f;f=((f|0)<0)<<31>>31;q=0}do if((k|0)<0){k=jw(s|0,((s|0)<0)<<31>>31|0,k|0,l|0)|0;l=G;if((l|0)<0){h=jw(h|0,f|0,k|0,l|0)|0;f=G;r=(f|0)<0;k=0;l=0;h=r?0:h;f=r?0:f}}else if((k|0)>0){k=jw(k|0,l|0,-1,-1)|0;l=G;break}else{r=((f|0)>0|(f|0)==0&h>>>0>0)<<31>>31;h=jw(r|0,((r|0)<0)<<31>>31|0,h|0,f|0)|0;f=G;break}while(0);if(!q){m=k;q=l}else{m=dw(k|0,l|0,h|0,f|0)|0;q=G;r=(q|0)<0;m=r?0:m;q=r?0:q;h=r?k:h;f=r?l:f}if(t){r=jw(h|0,f|0,m|0,q|0)|0;l=G;i=((s|0)<0)<<31>>31;if((l|0)>(i|0)|(l|0)==(i|0)&r>>>0>s>>>0){h=dw(s|0,i|0,m|0,q|0)|0;f=G;s=(f|0)<0;h=s?0:h;f=s?0:f}Bd(d,j+m|0,h,f,-1);break}i=a[(j&n)>>0]|0;if(((m|0)!=0|(q|0)!=0)&i<<24>>24!=0)do{l=j+1|0;if((i&255)>191){k=j;j=l;while(1){i=a[(j&n)>>0]|0;if((i&-64)<<24>>24==-128){s=j;j=k+2|0;k=s}else break}}else{i=a[(l&n)>>0]|0;j=l}m=jw(m|0,q|0,-1,-1)|0;q=G}while(((m|0)!=0|(q|0)!=0)&i<<24>>24!=0);if(i<<24>>24!=0&((h|0)!=0|(f|0)!=0)){m=f;f=j;do{k=f+1|0;if((i&255)>191)while(1){i=a[(k&n)>>0]|0;if((i&-64)<<24>>24==-128){s=k;k=f+2|0;f=s}else{f=k;break}}else{i=a[(k&n)>>0]|0;f=k}h=jw(h|0,m|0,-1,-1)|0;m=G}while(i<<24>>24!=0&((h|0)!=0|(m|0)!=0))}else f=j;s=f-j|0;Jd(d,j,s,((s|0)<0)<<31>>31,-1,1)}while(0);return}function hj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0;l=i;i=i+48|0;if((i|0)>=(j|0))fa();h=l;k=l+32|0;g=l+4|0;if((d|0)>0?(f=Sg(c[(e&p)>>2]|0,1)|0,(f|0)!=0):0){c[(k&p)>>2]=d+-1;c[(k&p)+4>>2]=0;c[(k&p)+8>>2]=e+4;c[(g&p)>>2]=0;c[(g&p)+4>>2]=0;c[(g&p)+8>>2]=0;c[(g&p)+12>>2]=0;c[(g&p)+16>>2]=0;c[(g&p)+20>>2]=1e9;a[(g&n)+24>>0]=1;a[(g&n)+25>>0]=0;c[(g&p)>>2]=c[((c[(b&p)>>2]|0)&p)+32>>2];c[(h&p)>>2]=k;En(g,2,f,h);f=c[(g&p)+12>>2]|0;Wg(b,tg(g)|0,f,1,75)}i=l;return}function ij(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();e=h;f=Sg(c[(f&p)>>2]|0,1)|0;c[(e&p)>>2]=f;do if((f|0)!=0?(a[(f&n)>>0]|0)!=0:0){g=Mn(e)|0;e=c[(d&p)>>2]|0;d=((g|0)<0)<<31>>31;f=e+8|0;if(!(b[(f&o)>>1]&9312)){c[(e&p)>>2]=g;c[(e&p)+4>>2]=d;b[(f&o)>>1]=4;break}else{Zg(e,g,d);break}}while(0);i=h;return}function jj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;i=Tc(d<<2|1)|0;if(!i)Rd(b);else{if((d|0)>0){h=0;f=i;do{g=Vg(c[(e+(h<<2)&p)>>2]|0)|0;j=G;g=j>>>0>0|(j|0)==0&g>>>0>1114111?65533:g&2097151;do if(g>>>0>=128){if(g>>>0<2048){a[(f&n)>>0]=g>>>6&31|192;a[(f&n)+1>>0]=g&63|128;f=f+2|0;break}if(g>>>0<65536){a[(f&n)>>0]=g>>>12&15|224;a[(f&n)+1>>0]=g>>>6&63|128;a[(f&n)+2>>0]=g&63|128;f=f+3|0;break}else{a[(f&n)>>0]=g>>>18|240;a[(f&n)+1>>0]=g>>>12&63|128;a[(f&n)+2>>0]=g>>>6&63|128;a[(f&n)+3>>0]=g&63|128;f=f+4|0;break}}else{a[(f&n)>>0]=g;f=f+1|0}while(0);h=h+1|0}while((h|0)!=(d|0))}else f=i;f=f-i|0;Jd(b,i,f,((f|0)<0)<<31>>31,1,1)}return}function kj(f,g,h){f=f|0;g=g|0;h=h|0;var i=0.0,j=0,k=0;g=c[(h&p)>>2]|0;h=d[((e[(g&o)+8>>1]|0)&31&n)+10064>>0]|0;a:do if((h|0)==1){g=Vg(g)|0;j=G;do if((j|0)<0)if((g|0)==0&(j|0)==-2147483648){c[(f&p)+20>>2]=1;a[(f&n)+25>>0]=1;Xg(c[(f&p)>>2]|0,20248,-1,1,-1)|0;break a}else{g=dw(0,0,g|0,j|0)|0;k=G;break}else k=j;while(0);h=c[(f&p)>>2]|0;j=h+8|0;if(!(b[(j&o)>>1]&9312)){c[(h&p)>>2]=g;c[(h&p)+4>>2]=k;b[(j&o)>>1]=4;break}else{Zg(h,g,k);break}}else if((h|0)==5){h=c[(f&p)>>2]|0;g=h+8|0;if(!(b[(g&o)>>1]&9312)){b[(g&o)>>1]=1;break}else{vg(h);break}}else{i=+Ug(g);if(i<0.0)i=-i;Yg(c[(f&p)>>2]|0,i)}while(0);return}function lj(b,d,f){b=b|0;d=d|0;f=f|0;var g=0.0,l=0,m=0,r=0,s=0,t=0,u=0;u=i;i=i+32|0;if((i|0)>=(j|0))fa();s=u+8|0;t=u;if((d|0)==2){d=c[(f&p)+4>>2]|0;if(!(-1431655766>>>(e[(d&o)+8>>1]&31)&1)){r=Vg(d)|0;r=(r|0)>30?30:r;r=(r|0)<0?0:r;m=4}}else{r=0;m=4}a:do if((m|0)==4?(l=c[(f&p)>>2]|0,(-1431655766>>>(e[(l&o)+8>>1]&31)&1|0)==0):0){g=+Ug(l);h[(t&q)>>3]=g;d=(r|0)==0;do if(d&g>=0.0&g<9223372036854775808.0){g=g+.5;g=+(~~g>>>0>>>0)+4294967296.0*+((+R(g)>=1.0?(g>0.0?~~+da(+Q(g/4294967296.0),4294967295.0)>>>0:~~+ba((g-+(~~g>>>0))/4294967296.0)>>>0):0)|0);h[(t&q)>>3]=g}else{if(d&g<0.0&g>-9223372036854775808.0){g=.5-g;g=-(+(~~g>>>0>>>0)+4294967296.0*+((+R(g)>=1.0?(g>0.0?~~+da(+Q(g/4294967296.0),4294967295.0)>>>0:~~+ba((g-+(~~g>>>0))/4294967296.0)>>>0):0)|0));h[(t&q)>>3]=g;break}c[(s&p)>>2]=r;d=s+4|0;h[(k&q)>>3]=g;c[(d&p)>>2]=c[(k&p)>>2];c[(d&p)+4>>2]=c[(k&p)+4>>2];d=_c(20312,s)|0;if(!d){Rd(b);break a}else l=d;while(1)if(!(a[(l&n)>>0]|0))break;else l=l+1|0;Tl(d,t,l-d&1073741823,1)|0;Wc(d);g=+h[(t&q)>>3]}while(0);Yg(c[(b&p)>>2]|0,g)}while(0);i=u;return}function mj(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=Sg(c[(f&p)>>2]|0,1)|0;e=Tg(c[(f&p)>>2]|0,1)|0;if((g|0)!=0?(h=jw(e|0,((e|0)<0)<<31>>31|0,1,0)|0,h=ko(b,h,G)|0,(h|0)!=0):0){if((e|0)>0){f=0;do{i=d[(g+f&n)>>0]|0;a[(h+f&n)>>0]=((d[(i&n)+10368>>0]|0|223)^32)&i;f=f+1|0}while((f|0)!=(e|0))}Wg(b,h,e,1,1)}return}function nj(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0;g=Sg(c[(f&p)>>2]|0,1)|0;e=Tg(c[(f&p)>>2]|0,1)|0;if((g|0)!=0?(h=jw(e|0,((e|0)<0)<<31>>31|0,1,0)|0,h=ko(b,h,G)|0,(h|0)!=0):0){if((e|0)>0){f=0;do{a[(h+f&n)>>0]=a[((d[(g+f&n)>>0]|0)&n)+9328>>0]|0;f=f+1|0}while((f|0)!=(e|0))}Wg(b,h,e,1,1)}return}function oj(a,b,c){a=a|0;b=b|0;c=c|0;Wg(a,8632,-1,1,0);return}function pj(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;e=pd(c[(f&p)>>2]|0)|0;i=Tg(c[(f&p)>>2]|0,1)|0;j=iw(i|0,((i|0)<0)<<31>>31|0,1)|0;j=ko(b,j|1,G)|0;if(j){if((i|0)>0){g=i<<1;h=0;f=j;while(1){k=d[(e&n)>>0]|0;a[(f&n)>>0]=a[(k>>>4&n)+20288>>0]|0;a[(f&n)+1>>0]=a[(k&15&n)+20288>>0]|0;h=h+1|0;if((h|0)==(i|0))break;else{e=e+1|0;f=f+2|0}}f=j+g|0}else f=j;a[(f&n)>>0]=0;Wg(b,j,i<<1,1,1)}return}function qj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();d=h;cd(8,d);f=d;e=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0;if((f|0)<0){g=dw(0,0,e|0,f&2147483647|0)|0;f=G;c[(d&p)>>2]=g;c[(d&p)+4>>2]=f}else g=e;e=c[(a&p)>>2]|0;d=e+8|0;if(!(b[(d&o)>>1]&9312)){c[(e&p)>>2]=g;c[(e&p)+4>>2]=f;b[(d&o)>>1]=4}else Zg(e,g,f);i=h;return}function rj(a,b,d){a=a|0;b=b|0;d=d|0;d=Vg(c[(d&p)>>2]|0)|0;d=(d|0)<1?1:d;b=ko(a,d,((d|0)<0)<<31>>31)|0;if(b){cd(d,b);Wg(a,b,d,0,1)}return}function sj(a,b,d){a=a|0;b=b|0;d=d|0;if(hm(c[(d&p)>>2]|0,c[(d&p)+4>>2]|0,c[((c[((c[(a&p)+12>>2]|0)&p)+4>>2]|0)+(((c[(a&p)+16>>2]|0)+-1|0)*20|0)&p)+16>>2]|0)|0)_g(c[(a&p)>>2]|0,c[(d&p)>>2]|0)|0;return}function tj(a,b,c){a=a|0;b=b|0;c=c|0;Wg(a,10768,-1,1,0);return}function uj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;b=i;i=i+16|0;if((i|0)>=(j|0))fa();a=b;e=Vg(c[(d&p)>>2]|0)|0;c[(a&p)>>2]=Sg(c[(d&p)+4>>2]|0,1)|0;bd(e,10344,a);i=b;return}function vj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;d=Sg(c[(e&p)>>2]|0,1)|0;do if(d){f=Ec(d)|0;e=c[(a&p)>>2]|0;d=((f|0)<0)<<31>>31;a=e+8|0;if(!(b[(a&o)>>1]&9312)){c[(e&p)>>2]=f;c[(e&p)+4>>2]=d;b[(a&o)>>1]=4;break}else{Zg(e,f,d);break}}while(0);return}function wj(a,b,d){a=a|0;b=b|0;d=d|0;b=Vg(c[(d&p)>>2]|0)|0;if(b>>>0<4)b=c[(b<<2&p)+8648>>2]|0;else b=0;Wg(a,b,-1,1,0);return}function xj(b,f,g){b=b|0;f=f|0;g=g|0;var l=0,m=0.0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+80|0;if((i|0)>=(j|0))fa();f=w+8|0;l=w;t=w+16|0;s=c[(g&p)>>2]|0;r=d[(e[(s&o)+8>>1]&31&n)+10064>>0]|0;if((r|0)==4){s=pd(s)|0;f=Tg(c[(g&p)>>2]|0,1)|0;l=iw(f|0,((f|0)<0)<<31>>31|0,1)|0;l=jw(l|0,G|0,4,0)|0;l=ko(b,l,G)|0;if(l){if((f|0)>0){r=0;do{g=s+r|0;t=r<<1;a[(l+t&n)+2>>0]=a[((d[(g&n)>>0]|0)>>>4&n)+20288>>0]|0;a[(l+t&n)+3>>0]=a[(d[(g&n)>>0]&15&n)+20288>>0]|0;r=r+1|0}while((r|0)!=(f|0))}f=f<<1;a[(l+f&n)+2>>0]=39;a[(l+f&n)+3>>0]=0;a[(l&n)>>0]=88;a[(l&n)+1>>0]=39;Wg(b,l,-1,1,-1);Wc(l)}}else if((r|0)==1)_g(c[(b&p)>>2]|0,s)|0;else if((r|0)==2){m=+Ug(s);h[(k&q)>>3]=m;c[(f&p)>>2]=c[(k&p)>>2];c[(f&p)+4>>2]=c[(k&p)+4>>2];ad(50,t,20272,f)|0;Tl(t,l,20,1)|0;if(m!=+h[(l&q)>>3]){h[(k&q)>>3]=m;c[(f&p)>>2]=c[(k&p)>>2];c[(f&p)+4>>2]=c[(k&p)+4>>2];ad(50,t,20280,f)|0}Wg(b,t,-1,1,-1)}else if((r|0)==3){v=Sg(s,1)|0;if(v){f=0;l=0;r=0;while(1){s=a[(v+r&n)>>0]|0;if(s<<24>>24==39){s=jw(f|0,l|0,1,0)|0;l=G}else if(!(s<<24>>24)){s=l;break}else s=f;f=s;r=r+1|0}u=jw(f|0,s|0,3,0)|0;u=jw(u|0,G|0,r|0,((r|0)<0)<<31>>31|0)|0;u=ko(b,u,G)|0;if(u){a[(u&n)>>0]=39;l=a[(v&n)>>0]|0;f=u+1|0;if(!(l<<24>>24))r=2;else{t=v;r=2;s=0;g=1;do{a[(f&n)>>0]=l;if((a[(t&n)>>0]|0)==39){a[(u+r&n)>>0]=39;g=g+2|0}else g=r;s=s+1|0;t=v+s|0;l=a[(t&n)>>0]|0;r=g+1|0;f=u+g|0}while(l<<24>>24!=0)}a[(f&n)>>0]=39;a[(u+r&n)>>0]=0;Wg(b,u,r,1,1)}}}else Wg(b,20304,4,1,0);i=w;return}function yj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;a=c[(a&p)>>2]|0;f=(c[(a&p)+32>>2]|0)+32|0;d=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0;e=a+8|0;if(!(b[(e&o)>>1]&9312)){c[(a&p)>>2]=d;c[(a&p)+4>>2]=f;b[(e&o)>>1]=4}else Zg(a,d,f);return}function zj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;a=c[(a&p)>>2]|0;e=c[((c[(a&p)+32>>2]|0)&p)+80>>2]|0;d=((e|0)<0)<<31>>31;f=a+8|0;if(!(b[(f&o)>>1]&9312)){c[(a&p)>>2]=e;c[(a&p)+4>>2]=d;b[(f&o)>>1]=4}else Zg(a,e,d);return}function Aj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;a=c[(a&p)>>2]|0;e=c[((c[(a&p)+32>>2]|0)&p)+84>>2]|0;d=((e|0)<0)<<31>>31;f=a+8|0;if(!(b[(f&o)>>1]&9312)){c[(a&p)>>2]=e;c[(a&p)+4>>2]=d;b[(f&o)>>1]=4}else Zg(a,e,d);return}function Bj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;v=Sg(c[(e&p)>>2]|0,1)|0;a:do if((v|0)!=0?(w=Tg(c[(e&p)>>2]|0,1)|0,g=e+4|0,u=Sg(c[(g&p)>>2]|0,1)|0,(u|0)!=0):0){if(!(a[(u&n)>>0]|0)){_g(c[(b&p)>>2]|0,c[(e&p)>>2]|0)|0;break}s=Tg(c[(g&p)>>2]|0,1)|0;g=e+8|0;r=Sg(c[(g&p)>>2]|0,1)|0;if((r|0)!=0?(t=Tg(c[(g&p)>>2]|0,1)|0,h=w+1|0,i=((h|0)<0)<<31>>31,f=ko(b,h,i)|0,(f|0)!=0):0){l=w-s|0;b:do if((l|0)>=0){m=t-s|0;o=((m|0)<0)<<31>>31;q=s+-1|0;e=0;k=0;while(1){g=v+e|0;d=a[(g&n)>>0]|0;if(d<<24>>24==(a[(u&n)>>0]|0)?(Zv(g,u,s)|0)==0:0){d=c[(b&p)>>2]|0;j=c[(d&p)+32>>2]|0;h=jw(h|0,i|0,m|0,o|0)|0;i=G;g=jw(h|0,i|0,-1,-1)|0;y=G;j=c[(j&p)+88>>2]|0;x=((j|0)<0)<<31>>31;if((y|0)>(x|0)|(y|0)==(x|0)&g>>>0>j>>>0){g=13;break}j=Xc(f,h)|0;if(!j){g=15;break}kw(j+k|0,r|0,t|0)|0;g=q+e|0;d=k+t|0;f=j}else{a[(f+k&n)>>0]=d;g=e;d=k+1|0}e=g+1|0;if((g|0)<(l|0))k=d;else break b}if((g|0)==13){c[(b&p)+20>>2]=18;a[(b&n)+25>>0]=1;Xg(d,10096,-1,1,0)|0;Wc(f);break a}else if((g|0)==15){Rd(b);Wc(f);break a}}else{e=0;d=0}while(0);m=w-e|0;kw(f+d|0,v+e|0,m|0)|0;m=d+m|0;a[(f+m&n)>>0]=0;Wg(b,f,m,1,1)}}while(0);return}function Cj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;d=Vg(c[(e&p)>>2]|0)|0;g=G;e=c[(f&p)+88>>2]|0;f=((e|0)<0)<<31>>31;if((g|0)>(f|0)|(g|0)==(f|0)&d>>>0>e>>>0){c[(b&p)+20>>2]=18;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,10096,-1,1,0)|0}else $g(c[(b&p)>>2]|0,d);return}function Dj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();h=k;f=Sg(c[(e&p)>>2]|0,1)|0;g=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;c[(h&p)>>2]=0;if((d|0)==2)d=Sg(c[(e&p)+4>>2]|0,1)|0;else d=0;if((f|0)!=0?(Te(g,f,d,h)|0)!=0:0){d=c[(h&p)>>2]|0;c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,d,-1,1,-1)|0;Wc(c[(h&p)>>2]|0)}i=k;return}function Ej(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,l=0.0,m=0,r=0,s=0;e=c[(d&p)+8>>2]|0;if(!(b[(e&o)+8>>1]&8192))g=lh(d,32)|0;else g=c[(e&p)+16>>2]|0;d=He(c[(f&p)>>2]|0)|0;do if((g|0)!=0&(d|0)!=5){e=g+16|0;i=e;i=jw(c[(i&p)>>2]|0,c[(i&p)+4>>2]|0,1,0)|0;c[(e&p)>>2]=i;c[(e&p)+4>>2]=G;e=c[(f&p)>>2]|0;if((d|0)!=1){l=+Ug(e);h[(g&q)>>3]=l+ +h[(g&q)>>3];a[(g&n)+25>>0]=1;break}i=Vg(e)|0;j=G;h[(g&q)>>3]=+h[(g&q)>>3]+(+(i>>>0)+4294967296.0*+(j|0));k=g+24|0;if(!((a[(k&n)>>0]|a[(g&n)+25>>0])<<24>>24)){g=g+8|0;d=g;f=c[(d&p)>>2]|0;d=c[(d&p)+4>>2]|0;if((j|0)>-1|(j|0)==-1&i>>>0>4294967295){e=dw(-1,2147483647,f|0,d|0)|0;m=G;if(((d|0)>0|(d|0)==0&f>>>0>0)&((m|0)<(j|0)|(m|0)==(j|0)&e>>>0<i>>>0))e=12;else e=11}else if((d|0)<0?(m=dw(1,-2147483648,f|0,d|0)|0,s=G,e=jw(i|0,j|0,1,0)|0,r=G,(s|0)>(r|0)|(s|0)==(r|0)&m>>>0>e>>>0):0)e=12;else e=11;if((e|0)==11){d=jw(f|0,d|0,i|0,j|0)|0;e=g;c[(e&p)>>2]=d;c[(e&p)+4>>2]=G;break}else if((e|0)==12){a[(k&n)>>0]=1;break}}}while(0);return}function Fj(d){d=d|0;var e=0,f=0,g=0;e=c[(d&p)+8>>2]|0;if(!(b[(e&o)+8>>1]&8192))e=lh(d,0)|0;else e=c[(e&p)+16>>2]|0;do if((e|0)!=0?(f=e+16|0,g=c[(f&p)+4>>2]|0,(g|0)>0|(g|0)==0&(c[(f&p)>>2]|0)>>>0>0):0){if(a[(e&n)+24>>0]|0){c[(d&p)+20>>2]=1;a[(d&n)+25>>0]=1;Xg(c[(d&p)>>2]|0,20248,-1,1,-1)|0;break}if(a[(e&n)+25>>0]|0){Yg(c[(d&p)>>2]|0,+h[(e&q)>>3]);break}g=e+8|0;f=c[(g&p)>>2]|0;g=c[(g&p)+4>>2]|0;e=c[(d&p)>>2]|0;d=e+8|0;if(!(b[(d&o)>>1]&9312)){c[(e&p)>>2]=f;c[(e&p)+4>>2]=g;b[(d&o)>>1]=4;break}else{Zg(e,f,g);break}}while(0);return}function Gj(a){a=a|0;var d=0,e=0.0;d=c[(a&p)+8>>2]|0;if(!(b[(d&o)+8>>1]&8192))d=lh(a,0)|0;else d=c[(d&p)+16>>2]|0;if(!d)e=0.0;else e=+h[(d&q)>>3];Yg(c[(a&p)>>2]|0,e);return}function Hj(a){a=a|0;var d=0,e=0,f=0;d=c[(a&p)+8>>2]|0;if(!(b[(d&o)+8>>1]&8192))d=lh(a,0)|0;else d=c[(d&p)+16>>2]|0;if((d|0)!=0?(f=d+16|0,e=c[(f&p)>>2]|0,f=c[(f&p)+4>>2]|0,(f|0)>0|(f|0)==0&e>>>0>0):0)Yg(c[(a&p)>>2]|0,+h[(d&q)>>3]/(+(e>>>0)+4294967296.0*+(f|0)));return}function Ij(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0;g=c[(a&p)+8>>2]|0;if(!(b[(g&o)+8>>1]&8192))g=lh(a,8)|0;else g=c[(g&p)+16>>2]|0;if(!d){if(g)h=7}else if((g|0)!=0?(1431655765>>>((e[((c[(f&p)>>2]|0)&o)+8>>1]|0)&31)&1|0)!=0:0)h=7;if((h|0)==7){a=g;a=jw(c[(a&p)>>2]|0,c[(a&p)+4>>2]|0,1,0)|0;c[(g&p)>>2]=a;c[(g&p)+4>>2]=G}return}function Jj(a){a=a|0;var d=0,e=0,f=0;d=c[(a&p)+8>>2]|0;if(!(b[(d&o)+8>>1]&8192))d=lh(a,0)|0;else d=c[(d&p)+16>>2]|0;if(!d){e=0;f=0}else{f=d;e=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0}d=c[(a&p)>>2]|0;a=d+8|0;if(!(b[(a&o)>>1]&9312)){c[(d&p)>>2]=e;c[(d&p)+4>>2]=f;b[(a&o)>>1]=4}else Zg(d,e,f);return}function Kj(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0;if(!(-1431655766>>>(e[((c[(g&p)>>2]|0)&o)+8>>1]&31)&1)){h=c[(d&p)+8>>2]|0;if(!(b[(h&o)+8>>1]&8192))i=lh(d,28)|0;else i=c[(h&p)+16>>2]|0;if(i){d=c[((c[(d&p)>>2]|0)&p)+32>>2]|0;j=i+24|0;h=(a[(j&n)>>0]|0)==0;a[(j&n)>>0]=2;c[(i&p)+20>>2]=c[(d&p)+88>>2];do if(!h){if((f|0)==2){f=g+4|0;h=Sg(c[(f&p)>>2]|0,1)|0;f=Tg(c[(f&p)>>2]|0,1)|0;if(!f)break}else{f=1;h=20240}Sk(i,h,f)}while(0);h=Sg(c[(g&p)>>2]|0,1)|0;f=Tg(c[(g&p)>>2]|0,1)|0;if(h)Sk(i,h,f)}}return}function Lj(d){d=d|0;var e=0,f=0;e=c[(d&p)+8>>2]|0;if(!(b[(e&o)+8>>1]&8192))e=lh(d,0)|0;else e=c[(e&p)+16>>2]|0;do if(e){f=a[(e&n)+25>>0]|0;if(f<<24>>24==1){Rd(d);break}else if(f<<24>>24==2){c[(d&p)+20>>2]=18;a[(d&n)+25>>0]=1;Xg(c[(d&p)>>2]|0,10096,-1,1,0)|0;break}else{Wg(d,tg(e)|0,-1,1,1);break}}while(0);return}function Mj(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0;l=i;i=i+16|0;if((i|0)>=(j|0))fa();h=l;m=c[((c[(d&p)>>2]|0)&p)+32>>2]|0;g=Sg(c[(f&p)>>2]|0,1)|0;k=Sg(c[(f&p)+4>>2]|0,1)|0;q=Tg(c[(f&p)>>2]|0,1)|0;a:do if((q|0)<=(c[(m&p)+120>>2]|0)){do if((e|0)==3){f=Sg(c[(f&p)+8>>2]|0,1)|0;c[(h&p)>>2]=f;if(!f)break a;if((Nn(f,-1)|0)==1){f=Mn(h)|0;break}else{c[(d&p)+20>>2]=1;a[(d&n)+25>>0]=1;Xg(c[(d&p)>>2]|0,20192,-1,1,-1)|0;break a}}else f=0;while(0);if((k|0)!=0&(g|0)!=0){e=Gh(g,k,c[((c[(d&p)+4>>2]|0)&p)+4>>2]|0,f)|0;g=c[(d&p)>>2]|0;h=((e|0)<0)<<31>>31;f=g+8|0;if(!(b[(f&o)>>1]&9312)){c[(g&p)>>2]=e;c[(g&p)+4>>2]=h;b[(f&o)>>1]=4;break}else{Zg(g,e,h);break}}}else{c[(d&p)+20>>2]=1;a[(d&n)+25>>0]=1;Xg(c[(d&p)>>2]|0,20152,-1,1,-1)|0}while(0);i=l;return}function Nj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0;r=i;i=i+32|0;if((i|0)>=(j|0))fa();q=r;k=r+16|0;o=Sg(c[(e&p)>>2]|0,1)|0;l=Sg(c[(e&p)+4>>2]|0,1)|0;m=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;a:do if((o|0)!=0?(a[(o&n)>>0]|0)!=0:0){d=0;e=o;b:while(1){g=d;f=e;while(1){f=f+g|0;h=Cn(f,k)|0;g=c[(k&p)>>2]|0;if((g|0)==22|(g|0)==125)break b;else if((g|0)==151)g=h;else{e=f;d=h;break}}if(!(a[(e&n)>>0]|0))break a}c[(q&p)>>2]=e-o;c[(q&p)+4>>2]=o;c[(q&p)+8>>2]=l;c[(q&p)+12>>2]=e+d;Wg(b,uh(m,19464,q)|0,-1,1,75)}while(0);i=r;return}function Oj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0;t=i;i=i+32|0;if((i|0)>=(j|0))fa();s=t;m=t+16|0;r=Sg(c[(e&p)>>2]|0,1)|0;o=Sg(c[(e&p)+4>>2]|0,1)|0;q=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;a:do if((r|0)!=0?(a[(r&n)>>0]|0)!=0:0){l=3;d=0;e=r;while(1){g=d;f=e;do{f=f+g|0;g=Cn(f,m)|0;h=c[(m&p)>>2]|0}while((h|0)==151);k=g;g=(h|0)==122|(h|0)==107?0:l+1|0;if((g|0)==2)if((h|0)==5|(h|0)==46|(h|0)==137)break;else e=2;else e=g;if(!(a[(f&n)>>0]|0))break a;else{l=e;d=k;e=f}}c[(s&p)>>2]=e-r;c[(s&p)+4>>2]=r;c[(s&p)+8>>2]=o;c[(s&p)+12>>2]=e+d;Wg(b,uh(q,19464,s)|0,-1,1,75)}while(0);i=t;return}function Pj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0;t=i;i=i+32|0;if((i|0)>=(j|0))fa();s=t;q=t+16|0;r=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;f=Sg(c[(e&p)>>2]|0,1)|0;o=Sg(c[(e&p)+4>>2]|0,1)|0;m=Sg(c[(e&p)+8>>2]|0,1)|0;if(!((f|0)==0|(o|0)==0)){a:do if(!(a[(f&n)>>0]|0))d=0;else{g=f;d=0;do{e=Cn(g,q)|0;if((c[(q&p)>>2]|0)==105){k=g;while(1){g=k+e|0;h=Cn(g,q)|0;if((c[(q&p)>>2]|0)==151){e=h;k=g}else break}if(!g)break a;l=jw(h|0,((h|0)<0)<<31>>31|0,1,0)|0;l=mh(r,l,G)|0;if(!l)break a;kw(l|0,g|0,h|0)|0;a[(l+h&n)>>0]=0;lo(l);if(!(dd(o,l)|0)){c[(s&p)>>2]=(d|0)!=0?d:10360;c[(s&p)+4>>2]=g-f;c[(s&p)+8>>2]=f;c[(s&p)+12>>2]=m;u=uh(r,19440,s)|0;mg(r,d);f=k+(h+e)|0;d=u}mg(r,l);e=h}g=g+e|0}while((a[(g&n)>>0]|0)!=0)}while(0);c[(s&p)>>2]=(d|0)!=0?d:10360;c[(s&p)+4>>2]=f;Wg(b,uh(r,19456,s)|0,-1,1,75);mg(r,d)}i=t;return}function Qj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+48|0;if((i|0)>=(j|0))fa();e=f;if(!(mo(a,b,d,e)|0)){no(e);b=e;Yg(c[(a&p)>>2]|0,(+((c[(b&p)>>2]|0)>>>0)+4294967296.0*+(c[(b&p)+4>>2]|0))/864.0e5)}i=f;return}function Rj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+160|0;if((i|0)>=(j|0))fa();e=h+48|0;f=h;g=h+60|0;if(!(mo(a,b,d,f)|0)){oo(f);d=c[(f&p)+12>>2]|0;b=c[(f&p)+16>>2]|0;c[(e&p)>>2]=c[(f&p)+8>>2];c[(e&p)+4>>2]=d;c[(e&p)+8>>2]=b;ad(100,g,20136,e)|0;Wg(a,g,-1,1,-1)}i=h;return}function Sj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,k=0;k=i;i=i+160|0;if((i|0)>=(j|0))fa();e=k+48|0;f=k;g=k+60|0;if(!(mo(a,b,d,f)|0)){po(f);d=c[(f&p)+24>>2]|0;b=~~+h[(f&q)+32>>3];c[(e&p)>>2]=c[(f&p)+20>>2];c[(e&p)+4>>2]=d;c[(e&p)+8>>2]=b;ad(100,g,20120,e)|0;Wg(a,g,-1,1,-1)}i=k;return}function Tj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,k=0,l=0,m=0,n=0;k=i;i=i+176|0;if((i|0)>=(j|0))fa();e=k+48|0;f=k;g=k+72|0;if(!(mo(a,b,d,f)|0)){oo(f);po(f);n=c[(f&p)+12>>2]|0;m=c[(f&p)+16>>2]|0;l=c[(f&p)+20>>2]|0;d=c[(f&p)+24>>2]|0;b=~~+h[(f&q)+32>>3];c[(e&p)>>2]=c[(f&p)+8>>2];c[(e&p)+4>>2]=n;c[(e&p)+8>>2]=m;c[(e&p)+12>>2]=l;c[(e&p)+16>>2]=d;c[(e&p)+20>>2]=b;ad(100,g,20088,e)|0;Wg(a,g,-1,1,-1)}i=k;return}function Uj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,l=0,m=0,o=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0.0;F=i;i=i+208|0;if((i|0)>=(j|0))fa();B=F+96|0;C=F+48|0;E=F+104|0;D=F;a:do if(((d|0)!=0?(A=Sg(c[(e&p)>>2]|0,1)|0,(A|0)!=0):0)?(mo(b,d+-1|0,e+4|0,C)|0)==0:0){m=c[(b&p)>>2]|0;l=c[(m&p)+32>>2]|0;e=1;d=0;g=0;b:while(1){f=a[(A+g&n)>>0]|0;c:do if(f<<24>>24==37){f=g+1|0;switch(a[(A+f&n)>>0]|0){case 87:case 83:case 77:case 109:case 72:case 100:{e=jw(e|0,d|0,1,0)|0;d=G;break c}case 102:{e=jw(e|0,d|0,8,0)|0;d=G;break c}case 106:{e=jw(e|0,d|0,3,0)|0;d=G;break c}case 89:{e=jw(e|0,d|0,8,0)|0;d=G;break c}case 74:case 115:{e=jw(e|0,d|0,50,0)|0;d=G;break c}case 37:case 119:break c;default:break a}}else if(!(f<<24>>24))break b;else f=g;while(0);e=jw(e|0,d|0,1,0)|0;d=G;g=f+1|0}if(!(d>>>0<0|(d|0)==0&e>>>0<100)){z=c[(l&p)+88>>2]|0;y=((z|0)<0)<<31>>31;if(d>>>0>y>>>0|(d|0)==(y|0)&e>>>0>z>>>0){c[(b&p)+20>>2]=18;a[(b&n)+25>>0]=1;Xg(m,10096,-1,1,0)|0;break}d=ew(0,e|0,32)|0;d=mh(l,d,G)|0;if(!d){Rd(b);break}else z=d}else z=E;no(C);oo(C);po(C);o=C+16|0;r=C+32|0;s=C+20|0;t=D+42|0;u=D+12|0;v=D+16|0;w=C+12|0;x=C+24|0;y=C+8|0;l=0;d=0;d:while(1){m=a[(A+l&n)>>0]|0;e:do if(!(m<<24>>24))break d;else if(m<<24>>24==37){l=l+1|0;e=A+l|0;do switch(a[(e&n)>>0]|0){case 109:{c[(B&p)>>2]=c[(w&p)>>2];ad(3,z+d|0,19888,B)|0;d=d+2|0;break e}case 77:{c[(B&p)>>2]=c[(x&p)>>2];ad(3,z+d|0,19888,B)|0;d=d+2|0;break e}case 100:{c[(B&p)>>2]=c[(o&p)>>2];ad(3,z+d|0,19888,B)|0;d=d+2|0;break e}case 106:case 87:{m=D+0|0;g=C+0|0;f=m+48|0;do{c[(m&p)>>2]=c[(g&p)>>2];m=m+4|0;g=g+4|0}while((m|0)<(f|0));a[(t&n)>>0]=0;c[(u&p)>>2]=1;c[(v&p)>>2]=1;no(D);m=C;f=D;H=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0;m=jw(c[(m&p)>>2]|0,c[(m&p)+4>>2]|0,432e5,0)|0;g=G;f=qw(dw(m|0,g|0,H|0,f|0)|0,G|0,864e5,0)|0;if((a[(e&n)>>0]|0)==87){e=qw(m|0,g|0,864e5,0)|0;e=rw(e|0,G|0,7,0)|0;c[(B&p)>>2]=(f+7-e|0)/7|0;ad(3,z+d|0,19888,B)|0;d=d+2|0;break e}else{c[(B&p)>>2]=f+1;ad(4,z+d|0,19904,B)|0;d=d+3|0;break e}}case 72:{c[(B&p)>>2]=c[(s&p)>>2];ad(3,z+d|0,19888,B)|0;d=d+2|0;break e}case 115:{g=z+d|0;f=C;e=B;c[(e&p)>>2]=jw(qw(c[(f&p)>>2]|0,c[(f&p)+4>>2]|0,1e3,0)|0,G|0,-413362496,-50)|0;c[(e&p)+4>>2]=G;ad(30,g,19920,B)|0;if(!g)m=0;else{m=g;while(1)if(!(a[(m&n)>>0]|0))break;else m=m+1|0;m=m-g&1073741823}d=m+d|0;break e}case 119:{e=C;e=jw(c[(e&p)>>2]|0,c[(e&p)+4>>2]|0,1296e5,0)|0;e=qw(e|0,G|0,864e5,0)|0;e=rw(e|0,G|0,7,0)|0;a[(z+d&n)>>0]=e+48;d=d+1|0;break e}case 89:{g=z+d|0;c[(B&p)>>2]=c[(y&p)>>2];ad(5,g,19928,B)|0;if(!g)m=0;else{m=g;while(1)if(!(a[(m&n)>>0]|0))break;else m=m+1|0;m=m-g&1073741823}d=m+d|0;break e}case 102:{I=+h[(r&q)>>3];g=z+d|0;h[(k&q)>>3]=I>59.999?59.999:I;c[(B&p)>>2]=c[(k&p)>>2];c[(B&p)+4>>2]=c[(k&p)+4>>2];ad(7,g,19896,B)|0;if(!g)m=0;else{m=g;while(1)if(!(a[(m&n)>>0]|0))break;else m=m+1|0;m=m-g&1073741823}d=m+d|0;break e}case 74:{g=z+d|0;e=C;h[(k&q)>>3]=(+((c[(e&p)>>2]|0)>>>0)+4294967296.0*+(c[(e&p)+4>>2]|0))/864.0e5;c[(B&p)>>2]=c[(k&p)>>2];c[(B&p)+4>>2]=c[(k&p)+4>>2];ad(20,g,19912,B)|0;if(!g)m=0;else{m=g;while(1)if(!(a[(m&n)>>0]|0))break;else m=m+1|0;m=m-g&1073741823}d=m+d|0;break e}case 83:{c[(B&p)>>2]=~~+h[(r&q)>>3];ad(3,z+d|0,19888,B)|0;d=d+2|0;break e}default:{a[(z+d&n)>>0]=37;d=d+1|0;break e}}while(0)}else{a[(z+d&n)>>0]=m;d=d+1|0}while(0);l=l+1|0}a[(z+d&n)>>0]=0;Wg(b,z,-1,1,(z|0)==(E|0)?-1:75)}while(0);i=F;return}function Vj(a,b,c){a=a|0;b=b|0;c=c|0;Sj(a,0,0);return}function Wj(a,b,c){a=a|0;b=b|0;c=c|0;Tj(a,0,0);return}function Xj(a,b,c){a=a|0;b=b|0;c=c|0;Rj(a,0,0);return}function Yj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=Vg(c[(d&p)>>2]|0)|0;h=g+1&-2;e=Vg(c[(d&p)+4>>2]|0)|0;f=(h<<3)+56|0;d=c[((c[(a&p)>>2]|0)&p)+32>>2]|0;b=mh(d,f,((f|0)<0)<<31>>31)|0;if(!b)Rd(a);else{fw(b|0,0,f|0)|0;c[(b&p)+52>>2]=d;c[(b&p)>>2]=0;c[(b&p)+8>>2]=g;c[(b&p)+12>>2]=e;d=b+56|0;c[(b&p)+24>>2]=d;c[(b&p)+20>>2]=d+(h<<2);Wg(a,b,56,0,20)}return}function Zj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=pd(c[(d&p)>>2]|0)|0;f=Vg(c[(d&p)+4>>2]|0)|0;if(!(c[(g&p)>>2]|0)){a=g+8|0;if((c[(a&p)>>2]|0)>0){b=c[(g&p)+20>>2]|0;d=0;do{c[(b+(d<<2)&p)>>2]=1;d=d+1|0}while((d|0)<(c[(a&p)>>2]|0))}}else{if((f|0)>0){a=c[(g&p)+20>>2]|0;d=0;do{b=a+(d<<2)|0;c[(b&p)>>2]=(c[(b&p)>>2]|0)+1;d=d+1|0}while((d|0)!=(f|0))}a=g+8|0;if((f|0)<(c[(a&p)>>2]|0)){b=c[(g&p)+24>>2]|0;e=c[(g&p)+20>>2]|0;d=f;do{f=b+(d<<2)|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;c[(e+(d<<2)&p)>>2]=1;d=d+1|0}while((d|0)<(c[(a&p)>>2]|0))}}c[(g&p)>>2]=(c[(g&p)>>2]|0)+1;return}function _j(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0;o=i;i=i+16|0;if((i|0)>=(j|0))fa();m=o;h=pd(c[(e&p)>>2]|0)|0;k=h+12|0;e=((c[(k&p)>>2]|0)*25|0)+25|0;l=qg(e,((e|0)<0)<<31>>31)|0;if(!l)Rd(b);else{fw(l|0,0,e|0)|0;e=m;c[(e&p)>>2]=c[(h&p)>>2];c[(e&p)+4>>2]=0;ad(24,l,28696,m)|0;e=l;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;if((c[(k&p)>>2]|0)>0){f=h+24|0;g=0;d=l+(e-l&1073741823)|0;while(1){q=(c[((c[(f&p)>>2]|0)+(g<<2)&p)>>2]|0)+1|0;e=c[(h&p)>>2]|0;r=jw(q|0,0,-1,-1)|0;e=jw(r|0,G|0,e|0,0)|0;q=tw(e|0,G|0,q|0,0)|0;e=m;c[(e&p)>>2]=q;c[(e&p)+4>>2]=G;ad(24,d,28704,m)|0;if(!d)e=0;else{e=d;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;e=e-d&1073741823}g=g+1|0;if((g|0)>=(c[(k&p)>>2]|0))break;else d=d+e|0}}Wg(b,l,-1,1,1)}i=o;return}function $j(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0;o=i;i=i+144|0;if((i|0)>=(j|0))fa();l=o;m=o+8|0;h=Sg(c[(e&p)>>2]|0,1)|0;k=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;h=(h|0)==0?10360:h;g=c[(k&p)+20>>2]|0;a:do if((g|0)>0){d=c[(k&p)+16>>2]|0;e=0;do{f=d+(e<<4)|0;if((c[(d+(e<<4)&p)+4>>2]|0)!=0?(dd(c[(f&p)>>2]|0,h)|0)==0:0)break a;e=e+1|0}while((e|0)<(g|0))}else{e=0;f=0}while(0);do if((e|0)<(g|0)){if((e|0)<2){c[(l&p)>>2]=h;ad(128,m,29256,l)|0;q=16;break}if(!(a[(k&n)+63>>0]|0)){ad(128,m,29288,l)|0;q=16;break}e=f+4|0;d=c[(e&p)>>2]|0;if((a[(d&n)+8>>0]|0)==0?(c[(d&p)+16>>2]|0)==0:0){Ml(d);c[(e&p)>>2]=0;c[(f&p)+12>>2]=0;Eg(k);break}c[(l&p)>>2]=h;ad(128,m,29336,l)|0;q=16}else{c[(l&p)>>2]=h;ad(128,m,29232,l)|0;q=16}while(0);if((q|0)==16){c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,m,-1,1,-1)|0}i=o;return}function ak(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=i;i=i+32|0;if((i|0)>=(j|0))fa();y=C;l=C+20|0;d=C+16|0;k=C+12|0;B=C+8|0;m=C+4|0;A=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;c[(l&p)>>2]=0;c[(d&p)>>2]=0;c[(B&p)>>2]=0;x=Sg(c[(f&p)>>2]|0,1)|0;t=Sg(c[(f&p)+4>>2]|0,1)|0;x=(x|0)==0?10360:x;t=(t|0)==0?10360:t;w=A+20|0;g=c[(w&p)>>2]|0;h=c[(A&p)+116>>2]|0;a:do if((g|0)<(h+2|0)){if(!(a[(A&n)+63>>0]|0)){g=uh(A,29456,y)|0;c[(B&p)>>2]=g;d=0;z=42;break}u=A+16|0;h=c[(u&p)>>2]|0;b:do if((g|0)>0){f=0;while(1){if(!(dd(c[(h+(f<<4)&p)>>2]|0,t)|0))break;f=f+1|0;if((f|0)>=(g|0))break b}c[(y&p)>>2]=t;g=uh(A,29504,y)|0;c[(B&p)>>2]=g;d=0;z=42;break a}while(0);if((h|0)!=(A+456|0)){h=ro(A,h,(g<<4)+16|0,0)|0;if(!h)break;else s=h}else{h=mh(A,48,0)|0;if(!h)break;s=c[(u&p)>>2]|0;c[(h&p)>>2]=c[(s&p)>>2];c[(h&p)+4>>2]=c[(s&p)+4>>2];c[(h&p)+8>>2]=c[(s&p)+8>>2];c[(h&p)+12>>2]=c[(s&p)+12>>2];c[(h&p)+16>>2]=c[(s&p)+16>>2];c[(h&p)+20>>2]=c[(s&p)+20>>2];c[(h&p)+24>>2]=c[(s&p)+24>>2];c[(h&p)+28>>2]=c[(s&p)+28>>2];s=h}c[(u&p)>>2]=s;q=c[(w&p)>>2]|0;r=s+(q<<4)|0;c[(r&p)>>2]=0;c[(r&p)+4>>2]=0;c[(r&p)+8>>2]=0;c[(r&p)+12>>2]=0;c[(k&p)>>2]=c[(A&p)+48>>2];h=Wn(c[((c[(A&p)>>2]|0)&p)+16>>2]|0,x,k,m,l,d)|0;if(!h){h=c[(k&p)>>2]|256;c[(k&p)>>2]=h;l=c[(l&p)>>2]|0;k=s+(q<<4)+4|0;h=zm(c[(m&p)>>2]|0,l,A,k,0,h)|0;Wc(l);c[(w&p)>>2]=(c[(w&p)>>2]|0)+1;if((h|0)==19){c[(B&p)>>2]=uh(A,29536,y)|0;h=1}else if(!h){h=Xn(A,c[(k&p)>>2]|0)|0;c[(s+(q<<4)&p)+12>>2]=h;if(h)if((a[(h&n)+76>>0]|0)!=0?(a[(h&n)+77>>0]|0)!=(a[(A&n)+62>>0]|0):0){c[(B&p)>>2]=uh(A,13232,y)|0;h=1}else h=0;else h=7;d=c[(k&p)>>2]|0;f=c[(d&p)+4>>2]|0;c[(f&p)+4>>2]=c[(d&p)>>2];f=c[(f&p)>>2]|0;g=a[(A&n)+66>>0]|0;do if(!(a[(f&n)+12>>0]|0)){m=c[(f&p)+208>>2]|0;if((m|0)!=0?(a[(m&n)+43>>0]|0)==2:0)break;a[(f&n)+4>>0]=g}while(0);f=c[((c[(u&p)>>2]|0)&p)+4>>2]|0;if(!f)f=0;else{m=c[(f&p)+4>>2]|0;c[(m&p)+4>>2]=c[(f&p)>>2];f=(e[(m&o)+22>>1]|0)>>>2&1}so(d,f)|0;to(c[(k&p)>>2]|0,c[(A&p)+24>>2]&28|3)}a[(s+(q<<4)&n)+8>>0]=3;d=kh(A,t)|0;c[(r&p)>>2]=d;d=(h|0)==0&(d|0)==0?7:h;if(!d){f=c[(w&p)>>2]|0;if((f|0)>0){g=c[(u&p)>>2]|0;h=0;do{d=c[(g+(h<<4)&p)+4>>2]|0;if(d)c[((c[(d&p)+4>>2]|0)&p)+4>>2]=c[(d&p)>>2];h=h+1|0}while((h|0)!=(f|0))}d=Zh(A,B)|0;if(!d)break}g=(c[(w&p)>>2]|0)+-1|0;f=c[((c[(u&p)>>2]|0)+(g<<4)&p)+4>>2]|0;if(f){Ml(f);s=c[(u&p)>>2]|0;c[(s+(g<<4)&p)+4>>2]=0;c[(s+(g<<4)&p)+12>>2]=0}Eg(A);c[(w&p)>>2]=g;if((d|0)==7|(d|0)==3082){a[(A&n)+65>>0]=1;mg(A,c[(B&p)>>2]|0);g=uh(A,15776,y)|0;c[(B&p)>>2]=g;z=42;break}g=c[(B&p)>>2]|0;if(g){z=43;break}c[(y&p)>>2]=x;g=uh(A,29568,y)|0;c[(B&p)>>2]=g;z=42;break}else if((h|0)==7)a[(A&n)+65>>0]=1;s=c[(d&p)>>2]|0;c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,s,-1,1,-1)|0;Wc(s)}else{c[(y&p)>>2]=h;g=uh(A,29416,y)|0;c[(B&p)>>2]=g;d=0;z=42}while(0);if((z|0)==42)if(!g){v=d;z=44}else z=43;if((z|0)==43){c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,g,-1,1,-1)|0;mg(A,c[(B&p)>>2]|0);v=d;z=44}if((z|0)==44?(v|0)!=0:0)Pd(b,v);i=C;return}function bk(a){a=a|0;if(a){ik(a,0)|0;Wc(c[(a&p)+24>>2]|0);uo(a)}return 0}function ck(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;l=a+12|0;g=d&131071;k=b;i=f;j=0;a:while(1){while(1){f=cb(c[(l&p)>>2]|0,e|0,0)|0;if(!((f|0)==(e|0)&(((f|0)<0)<<31>>31|0)==(i|0))){e=4;break a}h=ac[c[47652>>2]&63](c[(l&p)>>2]|0,k,g)|0;if((g|0)==(h|0)){f=j;e=13;break a}if((h|0)>=0){f=h;break}f=c[((Hb()|0)&p)>>2]|0;if((f|0)!=4){g=h;e=10;break a}}if((f|0)<=0){g=0;f=j;e=13;break}h=jw(f|0,((f|0)<0)<<31>>31|0,e|0,i|0)|0;g=g-f|0;k=k+f|0;i=G;e=h;j=f+j|0}do if((e|0)==4)if((f|0)==-1){c[(a&p)+20>>2]=c[((Hb()|0)&p)>>2];f=-1;break}else{c[(a&p)+20>>2]=0;f=-1;break}else if((e|0)==10){c[(a&p)+20>>2]=f;f=0;e=13}while(0);if((e|0)==13)f=f+g|0;if((f|0)!=(d|0))if((f|0)<0)f=266;else{c[(a&p)+20>>2]=0;fw(b+f|0,0,d-f|0)|0;f=522}else f=0;return f|0}function dk(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a:do if((d|0)>0){h=a+12|0;i=a+20|0;g=d;while(1){d=vo(c[(h&p)>>2]|0,e,f,b,g,i)|0;if((d|0)<=0)break;g=g-d|0;e=jw(d|0,((d|0)<0)<<31>>31|0,e|0,f|0)|0;if((g|0)<=0){d=0;break a}else{b=b+d|0;f=G}}if((d|0)<0?(c[(i&p)>>2]|0)!=28:0){d=778;break}c[(a&p)+20>>2]=0;d=13}else d=0;while(0);return d|0}function ek(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[(a&p)+40>>2]|0;if((e|0)>0){f=((e|0)<0)<<31>>31;d=jw(b|0,d|0,-1,-1)|0;d=jw(d|0,G|0,e|0,f|0)|0;b=G;e=rw(d|0,b|0,e|0,f|0)|0;e=dw(d|0,b|0,e|0,G|0)|0}else e=b;d=c[(a&p)+12>>2]|0;while(1){b=rc[c[47628>>2]&127](d,e)|0;if((b|0)>=0){e=6;break}b=Hb()|0;if((c[(b&p)>>2]|0)!=4){e=8;break}}if((e|0)==6)if(!b)b=0;else{b=Hb()|0;e=8}if((e|0)==8){c[(a&p)+20>>2]=c[(b&p)>>2];b=co(1546,47928,c[(a&p)+32>>2]|0,29004)|0}return b|0}function fk(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();g=k;if(!(Gb(c[(a&p)+12>>2]|0)|0)){h=a+18|0;if(!(b[(h&o)>>1]&8))d=0;else{d=rc[c[47760>>2]&127](c[(a&p)+32>>2]|0,g)|0;f=c[(g&p)>>2]|0;if((d|0)==0&(f|0)>-1){Gb(f|0)|0;ao(a,c[(g&p)>>2]|0,28974);d=0}else d=(d|0)==14?0:d;b[(h&o)>>1]=(e[(h&o)>>1]|0)&65527}}else{c[(a&p)+20>>2]=c[((Hb()|0)&p)>>2];d=co(1034,48360,c[(a&p)+32>>2]|0,28960)|0}i=k;return d|0}function gk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=i;i=i+80|0;if((i|0)>=(j|0))fa();d=e;if(!(rc[c[47616>>2]&127](c[(a&p)+12>>2]|0,d)|0)){a=c[(d&p)+36>>2]|0;f=(a|0)==1;d=b;c[(d&p)>>2]=f?0:a;c[(d&p)+4>>2]=f?0:((a|0)<0)<<31>>31;d=0}else{c[(a&p)+20>>2]=c[((Hb()|0)&p)>>2];d=1802}i=e;return d|0}function hk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;f=c[(b&p)+24>>2]|0;g=b+16|0;a:do if(!(a[(g&n)>>0]|0)){e=rc[c[47772>>2]&127](f,511)|0;if((e|0)>=0){a[(g&n)>>0]=d;break}f=c[((Hb()|0)&p)>>2]|0;switch(f|0){case 13:case 37:case 4:case 16:case 110:case 11:case 17:{e=5;break a}case 1:{e=3;break}default:e=3850}c[(b&p)+20>>2]=f}else{a[(g&n)>>0]=d;Ya(f|0,0)|0;e=0}while(0);return e|0}function ik(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;g=c[(b&p)+24>>2]|0;h=b+16|0;a:do if((d[(h&n)>>0]|0|0)==(e|0))f=0;else{if((e|0)==1){a[(h&n)>>0]=1;f=0;break}do if((lc[c[47784>>2]&127](g)|0)<0){f=Hb()|0;e=c[(f&p)>>2]|0;if((e|0)==20){if((lc[c[47748>>2]&127](g)|0)>=0)break;e=c[(f&p)>>2]|0}g=(e|0)!=2;f=g?2058:0;if(!g)break a;c[(b&p)+20>>2]=e;break a}while(0);a[(h&n)>>0]=0;f=0}while(0);return f|0}function jk(a,b){a=a|0;b=b|0;if((d[(a&n)+16>>0]|0)>1)a=1;else a=(rc[c[47580>>2]&127](c[(a&p)+24>>2]|0,0)|0)==0&1;c[(b&p)>>2]=a;return 0}function kk(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,o=0;o=i;i=i+80|0;if((i|0)>=(j|0))fa();g=o;a:do switch(b|0){case 16:{f=a+4|0;b=Tc(c[((c[(f&p)>>2]|0)&p)+8>>2]|0)|0;if(!b)f=0;else{_n(c[((c[(f&p)>>2]|0)&p)+8>>2]|0,b)|0;c[(e&p)>>2]=b;f=0}break}case 4:{c[(e&p)>>2]=c[(a&p)+20>>2];f=0;break}case 6:{c[(a&p)+40>>2]=c[(e&p)>>2];f=0;break}case 5:{b=e;e=c[(b&p)>>2]|0;b=c[(b&p)+4>>2]|0;f=a+40|0;if((c[(f&p)>>2]|0)>0){m=a+12|0;if(!(rc[c[47616>>2]&127](c[(m&p)>>2]|0,g)|0)){f=c[(f&p)>>2]|0;k=((f|0)<0)<<31>>31;e=jw(e|0,b|0,-1,-1)|0;e=jw(e|0,G|0,f|0,k|0)|0;l=G;k=rw(e|0,l|0,f|0,k|0)|0;k=dw(e|0,l|0,k|0,G|0)|0;l=G;e=c[(g&p)+36>>2]|0;f=((e|0)<0)<<31>>31;do if((l|0)>(f|0)|(l|0)==(f|0)&k>>>0>e>>>0){h=c[(g&p)+40>>2]|0;b=e+-1+(h<<1)|0;b=b+~((b|0)%(h|0)|0)|0;e=((b|0)<0)<<31>>31;f=a+20|0;if((e|0)<(l|0)|(e|0)==(l|0)&b>>>0<k>>>0){g=((h|0)<0)<<31>>31;do{a=(vo(c[(m&p)>>2]|0,b,e,10360,1,f)|0)==1;b=jw(b|0,e|0,h|0,g|0)|0;e=G;if(!a){f=778;break a}}while((e|0)<(l|0)|(e|0)==(l|0)&b>>>0<k>>>0);b=rw(k|0,l|0,h|0,g|0)|0;if((b|0)==0&(G|0)==0)break}b=jw(k|0,l|0,-1,-1)|0;if((vo(c[(m&p)>>2]|0,b,G,10360,1,f)|0)!=1){f=778;break a}}while(0);f=0}else f=1802}else f=0;break}case 1:{c[(e&p)>>2]=d[(a&n)+16>>0];f=0;break}case 20:{c[(e&p)>>2]=xo(a)|0;f=0;break}case 24:{f=0;break}case 10:{wo(a,4,e);f=0;break}case 13:{wo(a,16,e);f=0;break}case 12:{c[(g&p)>>2]=c[((c[(a&p)+4>>2]|0)&p)+16>>2];c[(e&p)>>2]=_c(10344,g)|0;f=0;break}default:f=12}while(0);i=o;return f|0}function lk(a){a=a|0;return 4096}function mk(a){a=a|0;return (b[(a&o)+18>>1]&16)<<8|0}function nk(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;l=c[(a&p)+36>>2]|0;i=c[(l&p)>>2]|0;m=(1<<f+d)-(1<<d)|0;a:do if(!(g&1)){j=c[(i&p)+32>>2]|0;i=(j|0)==0;if(g&4){if(i)g=0;else{g=0;i=j;do{if(m&(e[(i&o)+12>>1]|0)){h=5;break a}g=b[(i&o)+10>>1]|g;i=c[(i&p)+4>>2]|0}while((i|0)!=0)}if((m&(g&65535)|0)==0?(k=yo(a,0,d+120|0,f)|0,(k|0)!=0):0){h=k;break}h=l+10|0;b[(h&o)>>1]=e[(h&o)>>1]|0|m;h=0;break}if(!i){h=m&65535;g=j;do{if((e[(g&o)+12>>1]|0)&h){h=5;break a}if((e[(g&o)+10>>1]|0)&h){h=5;break a}g=c[(g&p)+4>>2]|0}while((g|0)!=0)}h=yo(a,1,d+120|0,f)|0;if(!h){h=l+12|0;b[(h&o)>>1]=e[(h&o)>>1]|0|m;h=0}}else{i=c[(i&p)+32>>2]|0;if(!i)g=0;else{g=0;do{if((i|0)!=(l|0))g=b[(i&o)+10>>1]|g;i=c[(i&p)+4>>2]|0}while((i|0)!=0)}if((g&65535&m|0)==0?(h=yo(a,2,d+120|0,f)|0,(h|0)!=0):0)break;g=(m|-65536)^65535;h=l+12|0;b[(h&o)>>1]=(e[(h&o)>>1]|0)&g;h=l+10|0;b[(h&o)>>1]=(e[(h&o)>>1]|0)&g;h=0}while(0);return h|0}function ok(a){a=a|0;return}function pk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;f=a+36|0;g=c[(f&p)>>2]|0;if(g){h=c[(g&p)>>2]|0;d=h+32|0;while(1){e=c[(d&p)>>2]|0;if((e|0)==(g|0))break;else d=e+4|0}c[(d&p)>>2]=c[(g&p)+4>>2];Wc(g);c[(f&p)>>2]=0;e=h+28|0;d=(c[(e&p)>>2]|0)+-1|0;c[(e&p)>>2]=d;if(!d){if((b|0)!=0?(c[(h&p)+12>>2]|0)>-1:0)lc[c[47748>>2]&127](c[(h&p)+8>>2]|0)|0;zo(a)}}return 0}function qk(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[(f&p)>>2]=0;return 0}function rk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function sk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))fa();f=e;c[(f&p)>>2]=d;b=qb(a|0,b|0,f|0)|0;i=e;return b|0}function tk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+528|0;if((i|0)>=(j|0))fa();f=k;g=k+8|0;c[(f&p)>>2]=b;ad(512,g,10344,f)|0;b=gw(g|0)|0;a:do if((b|0)>1)while(1){e=b+-1|0;if((a[(g+b&n)>>0]|0)==47)break a;if((e|0)>1)b=e;else{b=e;break}}while(0);if((b|0)>0){a[(g+b&n)>>0]=0;b=$n(g,0,0)|0;c[(d&p)>>2]=b;if((b|0)>-1)b=0;else h=7}else{c[(d&p)>>2]=-1;h=7}if((h|0)==7){c[(f&p)>>2]=28919;c[(f&p)+4>>2]=10788;bd(14,14848,f);b=co(14,47896,g,28919)|0}i=k;return b|0}function uk(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Kb()|0))a=Qb(a|0,b|0,c|0)|0;else a=0;return a|0}function vk(){return wb(30)|0}function wk(a){a=a|0;uo(a);return 0}function xk(a,b){a=a|0;b=b|0;return 0}function yk(a,b){a=a|0;b=b|0;return 0}function zk(a,b){a=a|0;b=b|0;c[(b&p)>>2]=0;return 0}function Ak(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;bo(a);Ck(a,0)|0;f=c[(a&p)+8>>2]|0;if(f){if(c[(f&p)+24>>2]|0){b=a+28|0;e=c[(b&p)>>2]|0;d=f+28|0;c[(e&p)+8>>2]=c[(d&p)>>2];c[(d&p)>>2]=e;c[(a&p)+12>>2]=-1;c[(b&p)>>2]=0}d=f+16|0;b=(c[(d&p)>>2]|0)+-1|0;c[(d&p)>>2]=b;if(!b){Ao(a);g=f+36|0;b=c[(g&p)>>2]|0;d=f+32|0;e=c[(d&p)>>2]|0;if(!b)c[12178]=e;else c[(b&p)+32>>2]=e;b=c[(d&p)>>2]|0;if(b)c[(b&p)+36>>2]=c[(g&p)>>2];Wc(f)}}uo(a);return 0}function Bk(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0;t=i;i=i+16|0;if((i|0)>=(j|0))fa();m=t;r=d+16|0;f=a[(r&n)>>0]|0;a:do if((f&255|0)<(e|0)){l=c[(d&p)+8>>2]|0;s=l+12|0;g=a[(s&n)>>0]|0;if(f<<24>>24!=g<<24>>24?(g&255)>2|(e|0)>1:0){f=5;break}h=(e|0)==1;do if(h)if((g+-1&255)<2){a[(r&n)>>0]=1;f=l+8|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;f=l+24|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;f=0;break a}else{g=m+8|0;c[(g&p)>>2]=1;b[(m&o)+2>>1]=0;q=10;break}else{g=m+8|0;c[(g&p)>>2]=1;b[(m&o)+2>>1]=0;if((e|0)==4)if((f&255)<3)q=10;else{k=g;q=14}else{h=g;q=24}}while(0);if((q|0)==10){b[(m&o)>>1]=h&1^1;c[(m&p)+4>>2]=c[2514];if(!(Bo(d,m)|0)){k=g;q=14}else{g=c[((Hb()|0)&p)>>2]|0;switch(g|0){case 1:{f=3;break}case 13:case 37:case 4:case 16:case 110:case 11:{f=5;break a}default:f=3850}c[(d&p)+20>>2]=g;break}}b:do if((q|0)==14)if(h){h=m+4|0;c[(h&p)>>2]=(c[2514]|0)+2;c[(k&p)>>2]=510;c:do if(!(Bo(d,m)|0)){f=0;g=0}else{g=c[((Hb()|0)&p)>>2]|0;switch(g|0){case 1:{f=3;g=1;break c}case 13:case 37:case 4:case 16:case 110:case 11:{f=5;break c}default:{f=3850;break c}}}while(0);c[(h&p)>>2]=c[2514];c[(k&p)>>2]=1;b[(m&o)>>1]=2;do if((Bo(d,m)|0)!=0&(f|0)==0){f=2058;g=c[((Hb()|0)&p)>>2]|0}else{if((f|0)==5){f=5;break a}else if(f)break;a[(r&n)>>0]=1;m=l+24|0;c[(m&p)>>2]=(c[(m&p)>>2]|0)+1;c[(l&p)+8>>2]=1;break b}while(0);c[(d&p)+20>>2]=g;break a}else{h=k;q=24}while(0);do if((q|0)==24){k=(e|0)==4;if(k)if((c[(l&p)+8>>2]|0)>1)f=5;else{b[(m&o)>>1]=1;g=c[2514]|0;q=29}else{b[(m&o)>>1]=1;g=c[2514]|0;if((e|0)==2){c[(m&p)+4>>2]=g+1;g=1;q=30}else q=29}if((q|0)==29){c[(m&p)+4>>2]=g+2;g=510;q=30}if((q|0)==30){c[(h&p)>>2]=g;if(!(Bo(d,m)|0))break;g=c[((Hb()|0)&p)>>2]|0;switch(g|0){case 1:{f=3;q=33;break}case 13:case 37:case 4:case 16:case 110:case 11:{f=5;break}default:{f=3850;q=33}}if((q|0)==33)c[(d&p)+20>>2]=g;if(!k)break a}a[(r&n)>>0]=3;a[(s&n)>>0]=3;break a}while(0);f=e&255;a[(r&n)>>0]=f;a[(s&n)>>0]=f;f=0}else f=0;while(0);i=t;return f|0}function Ck(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))fa();k=q;l=d+16|0;f=a[(l&n)>>0]|0;a:do if((f&255|0)>(e|0)){m=c[(d&p)+8>>2]|0;do if((f&255)>1){if((e|0)==1){b[(k&o)>>1]=0;h=k+2|0;b[(h&o)>>1]=0;f=k+4|0;c[(f&p)>>2]=(c[2514]|0)+2;g=k+8|0;c[(g&p)>>2]=510;if(Bo(d,k)|0){c[(d&p)+20>>2]=c[((Hb()|0)&p)>>2];f=2314;break a}}else{g=k+8|0;h=k+2|0;f=k+4|0}b[(k&o)>>1]=2;b[(h&o)>>1]=0;c[(f&p)>>2]=c[2514];c[(g&p)>>2]=2;if(!(Bo(d,k)|0)){a[(m&n)+12>>0]=1;break}else{c[(d&p)+20>>2]=c[((Hb()|0)&p)>>2];f=2058;break a}}while(0);if(!e){g=m+8|0;f=(c[(g&p)>>2]|0)+-1|0;c[(g&p)>>2]=f;do if(!f){b[(k&o)>>1]=2;b[(k&o)+2>>1]=0;c[(k&p)+8>>2]=0;c[(k&p)+4>>2]=0;if(!(Bo(d,k)|0)){a[(m&n)+12>>0]=0;f=0;break}else{c[(d&p)+20>>2]=c[((Hb()|0)&p)>>2];a[(m&n)+12>>0]=0;a[(l&n)>>0]=0;f=2058;break}}else f=0;while(0);h=m+24|0;g=(c[(h&p)>>2]|0)+-1|0;c[(h&p)>>2]=g;if(!g)Ao(d);if(f)break}a[(l&n)>>0]=e;f=0}else f=0;while(0);i=q;return f|0}function Dk(e,f){e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0;m=i;i=i+32|0;if((i|0)>=(j|0))fa();k=m;l=m+8|0;h=c[(e&p)+8>>2]|0;q=(d[(h&n)+12>>0]|0)>1;g=q&1;do if(!q)if(!(a[(h&n)+13>>0]|0)){b[(l&o)+2>>1]=0;c[(l&p)+4>>2]=(c[2514]|0)+1;c[(l&p)+8>>2]=1;b[(l&o)>>1]=1;q=c[11910]|0;h=c[(e&p)+12>>2]|0;c[(k&p)>>2]=l;if(!(ac[q&63](h,12,k)|0)){h=0;g=(b[(l&o)>>1]|0)==2?g:1;break}else{c[(e&p)+20>>2]=c[((Hb()|0)&p)>>2];h=3594;break}}else{h=0;g=0}else{h=0;g=1}while(0);c[(f&p)>>2]=g;i=m;return h|0}function Ek(d,f,g,h,k){d=d|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=i;i=i+160|0;if((i|0)>=(j|0))fa();B=D;w=D+76|0;m=hc[c[47844>>2]&7]()|0;if((m|0)<32768)C=1;else C=(m|0)/32768|0;z=d+36|0;m=c[(z&p)>>2]|0;a:do if(!m){m=Tc(16)|0;if(!m)l=7;else{c[(m&p)>>2]=0;c[(m&p)+4>>2]=0;c[(m&p)+8>>2]=0;c[(m&p)+12>>2]=0;v=d+8|0;t=c[(v&p)>>2]|0;l=c[(t&p)+20>>2]|0;b:do if(!l){u=d+32|0;q=c[(u&p)>>2]|0;if((rc[c[47616>>2]&127](c[(d&p)+12>>2]|0,w)|0)!=0?(a[(t&n)+13>>0]|0)==0:0)l=1802;else A=8;c:do if((A|0)==8){l=gw(q|0)|0;r=l+42|0;x=Tc(r)|0;if(x){fw(x|0,0,r|0)|0;s=x+36|0;c[(x&p)+8>>2]=s;c[(B&p)>>2]=q;ad(l+6|0,s,48720,B)|0;l=x+12|0;c[(l&p)>>2]=-1;v=c[(v&p)>>2]|0;c[(v&p)+20>>2]=x;c[(x&p)>>2]=v;c[(x&p)+4>>2]=8;if(a[(t&n)+13>>0]|0){l=x;break b}if(!(fg(c[(u&p)>>2]|0,48728,0)|0))r=66;else{a[(x&n)+22>>0]=1;r=0}q=$n(s,r,c[(w&p)+12>>2]&511)|0;c[(l&p)>>2]=q;if((q|0)<0){c[(B&p)>>2]=29706;c[(B&p)+4>>2]=10788;bd(14,14848,B);l=co(14,47896,s,29706)|0;break}ac[c[47796>>2]&63](q,c[(w&p)+20>>2]|0,c[(w&p)+24>>2]|0)|0;do if(!(yo(d,1,128,1)|0)){l=c[(l&p)>>2]|0;do{q=rc[c[47628>>2]&127](l,0)|0;if((q|0)>=0){y=q;A=18;break}}while((c[((Hb()|0)&p)>>2]|0)==4);if((A|0)==18?(y|0)==0:0)break;l=co(4618,47928,s,29722)|0;if(l)break c}while(0);l=yo(d,0,128,1)|0;if(!l){l=x;break b}}else l=7}while(0);zo(d);Wc(m);if(l)break a;m=c[(z&p)>>2]|0;A=24;break a}while(0);c[(m&p)>>2]=l;A=l+28|0;c[(A&p)>>2]=(c[(A&p)>>2]|0)+1;c[(d&p)+36>>2]=m;A=l+32|0;c[(m&p)+4>>2]=c[(A&p)>>2];c[(A&p)>>2]=m;A=24}}else A=24;while(0);if((A|0)==24){x=c[(m&p)>>2]|0;z=C+f|0;z=z-((z|0)%(C|0)|0)|0;w=x+20|0;d:do if((e[(w&o)>>1]|0)<(z|0)){l=ca(z,g)|0;c[(x&p)+16>>2]=g;y=x+12|0;m=c[(y&p)>>2]|0;e:do if((m|0)>-1){if(rc[c[47616>>2]&127](m,B)|0){m=4874;break d}m=c[(B&p)+36>>2]|0;if((m|0)<(l|0)){if(!h){m=0;break d}m=(m|0)/4096|0;l=(l|0)/4096|0;if((m|0)<(l|0)){while(1){v=m<<12|4095;m=m+1|0;if((vo(c[(y&p)>>2]|0,v,((v|0)<0)<<31>>31,10360,1,0)|0)!=1)break;if((m|0)>=(l|0))break e}m=co(4874,47976,c[(x&p)+8>>2]|0,29853)|0;break d}}}while(0);v=x+24|0;m=Xc(c[(v&p)>>2]|0,z<<2)|0;if(m){c[(v&p)>>2]=m;m=e[(w&o)>>1]|0;if((m|0)<(z|0)){s=ca(C,g)|0;t=x+22|0;u=(C|0)>0;while(1){l=c[(y&p)>>2]|0;if((l|0)>-1){m=ca(m,g)|0;m=kc[c[47808>>2]&7](0,s,(a[(t&n)>>0]|0)!=0?1:3,1,l,m)|0;if((m|0)==(-1|0))break}else{m=Tc(g)|0;if(!m){m=7;break d}fw(m|0,0,g|0)|0}q=b[(w&o)>>1]|0;if(u){l=q&65535;r=0;do{d=m+(ca(r,g)|0)|0;c[((c[(v&p)>>2]|0)+(l+r<<2)&p)>>2]=d;r=r+1|0}while((r|0)!=(C|0))}m=(q&65535)+C|0;b[(w&o)>>1]=m;m=m&65535;if((m|0)>=(z|0)){m=0;break d}}m=co(5386,48080,c[(x&p)+8>>2]|0,29880)|0}else m=0}else m=3082}else m=0;while(0);if((e[(w&o)>>1]|0)>(f|0))l=c[((c[(x&p)+24>>2]|0)+(f<<2)&p)>>2]|0;else l=0;c[(k&p)>>2]=l;l=(a[(x&n)+22>>0]|0)!=0&(m|0)==0?8:m}i=D;return l|0}function Fk(a,b){a=a|0;b=b|0;var d=0;if(b)do{d=b;b=c[(b&p)+32>>2]|0;Gk(a,c[(d&p)+20>>2]|0);Nk(a,c[(d&p)+24>>2]|0);Mk(a,c[(d&p)+8>>2]|0,1);Hk(a,c[(d&p)+28>>2]|0);mg(a,d)}while((b|0)!=0);return}function Gk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(b){f=b+4|0;do if(!(c[(f&p)>>2]&16384)){Gk(a,c[(b&p)+12>>2]|0);Gk(a,c[(b&p)+16>>2]|0);d=c[(f&p)>>2]|0;if(d&65536){mg(a,c[(b&p)+8>>2]|0);d=c[(f&p)>>2]|0}e=b+20|0;if(!(d&2048)){Nk(a,c[(e&p)>>2]|0);break}else{Mk(a,c[(e&p)>>2]|0,1);break}}while(0);if(!(c[(f&p)>>2]&32768))mg(a,b)}return}function Hk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(b){f=b+4|0;d=c[(b&p)>>2]|0;if((c[(f&p)>>2]|0)>0){e=0;do{mg(a,c[(d+(e<<3)&p)>>2]|0);e=e+1|0;d=c[(b&p)>>2]|0}while((e|0)<(c[(f&p)>>2]|0))}mg(a,d);mg(a,b)}return}function Ik(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))fa();r=s;m=bn(b,e,r)|0;do if(!m)if(f){q=qg(16,0)|0;if(!q)g=f;else{c[(q&p)+12>>2]=e;c[(q&p)+8>>2]=f;o=b+4|0;k=(c[(o&p)>>2]|0)+1|0;c[(o&p)>>2]=k;if((k>>>0>9?(h=c[(b&p)>>2]|0,k>>>0>h<<1>>>0):0)?(l=k<<4>>>0>1024?128:k<<1,(l|0)!=(h|0)):0){g=c[3164]|0;if(g)nc[g&3]();o=qg(l<<3,0)|0;g=c[3166]|0;if(g)nc[g&3]();if(o){m=b+12|0;Wc(c[(m&p)>>2]|0);c[(m&p)>>2]=o;m=(lc[c[8792>>2]&127](o)|0)>>>3;c[(b&p)>>2]=m;fw(o|0,0,m<<3|0)|0;f=b+8|0;k=c[(f&p)>>2]|0;c[(f&p)>>2]=0;if(k)do{l=c[(k&p)+12>>2]|0;h=a[(l&n)>>0]|0;if(!(h<<24>>24))h=0;else{f=h;h=0;do{l=l+1|0;h=h<<3^h^(d[(f&255&n)+9328>>0]|0);f=a[(l&n)>>0]|0}while(f<<24>>24!=0)}f=k;k=c[(k&p)>>2]|0;Co(b,o+(((h>>>0)%(m>>>0)|0)<<3)|0,f)}while((k|0)!=0);g=a[(e&n)>>0]|0;if(!(g<<24>>24))g=0;else{k=g;g=0;do{e=e+1|0;g=g<<3^g^(d[(k&255&n)+9328>>0]|0);k=a[(e&n)>>0]|0}while(k<<24>>24!=0)}c[(r&p)>>2]=(g>>>0)%((c[(b&p)>>2]|0)>>>0)|0}}g=c[(b&p)+12>>2]|0;if(!g)g=0;else g=g+(c[(r&p)>>2]<<3)|0;Co(b,g,q);g=0}}else g=0;else{k=m+8|0;g=c[(k&p)>>2]|0;if(f){c[(k&p)>>2]=f;c[(m&p)+12>>2]=e;break}l=c[(r&p)>>2]|0;k=c[(m&p)+4>>2]|0;h=c[(m&p)>>2]|0;if(!k)c[(b&p)+8>>2]=h;else{c[(k&p)>>2]=h;h=c[(m&p)>>2]|0}if(h)c[(h&p)+4>>2]=k;e=c[(b&p)+12>>2]|0;if(e){k=e+(l<<3)+4|0;if((c[(k&p)>>2]|0)==(m|0))c[(k&p)>>2]=h;r=e+(l<<3)|0;c[(r&p)>>2]=(c[(r&p)>>2]|0)+-1}Wc(m);q=b+4|0;r=(c[(q&p)>>2]|0)+-1|0;c[(q&p)>>2]=r;if(!r)Ol(b)}while(0);i=s;return g|0}function Jk(b,d){b=b|0;d=d|0;Gk(b,c[(d&p)+36>>2]|0);mg(b,c[(d&p)+16>>2]|0);if(a[(d&n)+51>>0]&16)mg(b,c[(d&p)+32>>2]|0);mg(b,d);return}function Kk(a,b){a=a|0;b=b|0;var d=0;if(b){d=c[(b&p)+28>>2]|0;Gk(a,c[(d&p)+20>>2]|0);Nk(a,c[(d&p)+24>>2]|0);Mk(a,c[(d&p)+8>>2]|0,1);Gk(a,c[(b&p)+12>>2]|0);mg(a,b)}return}function Lk(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;g=d+4|0;e=c[(g&p)>>2]|0;if(e){d=d+38|0;if((b[(d&o)>>1]|0)>0){f=0;while(1){mg(a,c[(e&p)>>2]|0);Gk(a,c[(e&p)+4>>2]|0);mg(a,c[(e&p)+8>>2]|0);mg(a,c[(e&p)+12>>2]|0);mg(a,c[(e&p)+16>>2]|0);f=f+1|0;if((f|0)>=(b[(d&o)>>1]|0))break;else e=e+24|0}e=c[(g&p)>>2]|0}mg(a,e)}return}function Mk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(b){e=(d|0)==0;d=b;while(1){b=d;d=c[(d&p)+52>>2]|0;Nk(a,c[(b&p)>>2]|0);Do(a,c[(b&p)+32>>2]|0);Gk(a,c[(b&p)+36>>2]|0);Nk(a,c[(b&p)+40>>2]|0);Gk(a,c[(b&p)+44>>2]|0);Nk(a,c[(b&p)+48>>2]|0);Gk(a,c[(b&p)+60>>2]|0);Gk(a,c[(b&p)+64>>2]|0);Qn(a,c[(b&p)+68>>2]|0);if(!e)mg(a,b);if(!d)break;else e=0}}return}function Nk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(b){d=b+4|0;if((c[(b&p)>>2]|0)>0){e=0;f=c[(d&p)>>2]|0;while(1){Gk(a,c[(f&p)>>2]|0);mg(a,c[(f&p)+4>>2]|0);mg(a,c[(f&p)+8>>2]|0);e=e+1|0;if((e|0)>=(c[(b&p)>>2]|0))break;else f=f+20|0}}mg(a,c[(d&p)>>2]|0);mg(a,b)}return}function Ok(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=b+60|0;d=c[(h&p)>>2]|0;c[(h&p)>>2]=0;a:do if(!d)b=0;else{b=0;do{while(1){f=c[(d&p)>>2]|0;e=d+24|0;g=d;d=c[(e&p)>>2]|0;if((f|0)==(a|0)){b=g;break}f=f+332|0;c[(e&p)>>2]=c[(f&p)>>2];c[(f&p)>>2]=g;if(!d)break a}c[(h&p)>>2]=b;c[(e&p)>>2]=0}while((d|0)!=0)}while(0);return b|0}function Pk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if((d|0)!=0?(f=d+(e*20|0)|0,(e|0)>0):0){e=d;do{In(b,a[(e&n)+1>>0]|0,c[(e&p)+16>>2]|0);e=e+20|0}while(e>>>0<f>>>0)}mg(b,d);return}function Qk(a,b){a=a|0;b=b|0;do if(!a)b=lc[c[8792>>2]&127](b)|0;else{if((c[(a&p)+276>>2]|0)>>>0<=b>>>0?(c[(a&p)+280>>2]|0)>>>0>b>>>0:0){b=e[(a&o)+248>>1]|0;break}b=lc[c[8792>>2]&127](b)|0}while(0);a=c[(a&p)+520>>2]|0;c[(a&p)>>2]=(c[(a&p)>>2]|0)+b;return}function Rk(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;b=c[(b+(d<<2)&p)>>2]|0;a:do if(!b)b=0;else while(1){d=c[(b&p)+24>>2]|0;if((Fc(d,e,f)|0)==0?(a[(d+f&n)>>0]|0)==0:0)break a;b=c[(b&p)+28>>2]|0;if(!b){b=0;break}}while(0);return b|0}function Sk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=a+12|0;f=c[(e&p)>>2]|0;g=f+d|0;if((g|0)<(c[(a&p)+16>>2]|0)){c[(e&p)>>2]=g;kw((c[(a&p)+8>>2]|0)+f|0,b|0,d|0)|0}else Eo(a,b,d);return}function Tk(a){a=a|0;var b=0,d=0;d=a+4|0;b=c[(d&p)>>2]|0;if((c[(a&p)>>2]|0)>(b|0)){c[(d&p)>>2]=b+1;d=Vg(c[((c[(a&p)+8>>2]|0)+(b<<2)&p)>>2]|0)|0;b=G}else{b=0;d=0}G=b;return d|0}function Uk(a){a=a|0;var b=0,d=0;b=a+4|0;d=c[(b&p)>>2]|0;if((c[(a&p)>>2]|0)>(d|0)){c[(b&p)>>2]=d+1;b=Sg(c[((c[(a&p)+8>>2]|0)+(d<<2)&p)>>2]|0,1)|0}else b=0;return b|0}function Vk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;g=b+12|0;i=c[(g&p)>>2]|0;i=jw(i|0,((i|0)<0)<<31>>31|0,d|0,((d|0)<0)<<31>>31|0)|0;k=G;h=c[(b&p)+16>>2]|0;j=((h|0)<0)<<31>>31;if((k|0)<(j|0)|(k|0)==(j|0)&i>>>0<h>>>0){if((d|0)>0)f=4}else{d=Fo(b,d)|0;if((d|0)>=1)f=4}if((f|0)==4){b=b+8|0;do{d=d+-1|0;f=c[(g&p)>>2]|0;c[(g&p)>>2]=f+1;a[((c[(b&p)>>2]|0)+f&n)>>0]=e}while((d|0)>0)}return}function Wk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;f=i;i=i+112|0;if((i|0)>=(j|0))fa();k=f+28|0;h=f;g=c[(b&p)+88>>2]|0;c[(h&p)+4>>2]=k;c[(h&p)+8>>2]=k;c[(h&p)+12>>2]=0;c[(h&p)+16>>2]=70;c[(h&p)+20>>2]=g;a[(h&n)+24>>0]=1;g=h+25|0;a[(g&n)>>0]=0;c[(h&p)>>2]=b;sg(h,1,d,e);e=tg(h)|0;if((a[(g&n)>>0]|0)==1)a[(b&n)+65>>0]=1;i=f;return e|0}function Xk(a){a=a|0;return lc[c[8792>>2]&127](a)|0}function Yk(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+80|0;if((i|0)>=(j|0))fa();l=m+40|0;g=m;if((d|0)!=0?(f=c[(d&p)+20>>2]|0,(f|0)!=0):0){c[(l&p)>>2]=0;c[(l&p)+4>>2]=0;c[(l&p)+8>>2]=0;c[(l&p)+12>>2]=0;c[(l&p)+16>>2]=0;c[(l&p)+20>>2]=0;c[(l&p)+24>>2]=0;h=g+0|0;k=h+40|0;do{c[(h&p)>>2]=0;h=h+4|0}while((h|0)<(k|0));b[(g&o)+8>>1]=1;e=a+32|0;c[(g&p)+32>>2]=c[(e&p)>>2];c[(l&p)>>2]=g;c[(l&p)+8>>2]=a;c[(l&p)+4>>2]=d;cc[f&31](l);if((c[(a&p)+24>>2]|0)>0)mg(c[(e&p)>>2]|0,c[(a&p)+20>>2]|0);h=a+0|0;e=g+0|0;k=h+40|0;do{c[(h&p)>>2]=c[(e&p)>>2];h=h+4|0;e=e+4|0}while((h|0)<(k|0));e=c[(l&p)+20>>2]|0}else e=0;i=m;return e|0}function Zk(a){a=a|0;var d=0,e=0,f=0;d=c[(a&p)>>2]|0;if(d){e=a+4|0;do{f=d;d=c[(d&p)>>2]|0;mg(c[(e&p)>>2]|0,f)}while((d|0)!=0)}c[(a&p)>>2]=0;b[(a&o)+24>>1]=0;c[(a&p)+8>>2]=0;c[(a&p)+12>>2]=0;c[(a&p)+20>>2]=0;b[(a&o)+26>>1]=1;return}function _k(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();h=k;g=k+4|0;d=c[(b&p)>>2]|0;e=d+16|0;do if((c[((c[(e&p)>>2]|0)&p)+20>>2]|0)==0?(a[(b&n)+450>>0]|0)==0:0){f=zm(c[(d&p)>>2]|0,0,d,g,0,542)|0;if(f){th(b,25496,h);c[(b&p)+12>>2]=f;d=1;break}f=c[(g&p)>>2]|0;c[((c[(e&p)>>2]|0)&p)+20>>2]=f;if((xg(f,c[(d&p)+72>>2]|0,-1,0)|0)==7){a[(d&n)+65>>0]=1;d=1}else d=0}else d=0;while(0);i=k;return d|0}function $k(a){a=a|0;var b=0;do if(a)if((c[3157]|0)>>>0<=a>>>0&(c[3158]|0)>>>0>a>>>0){c[2167]=(c[2167]|0)+-1;c[(a&p)>>2]=c[3160];c[3160]=a;a=(c[3161]|0)+1|0;c[3161]=a;c[3162]=(a|0)<(c[3156]|0)&1;break}else{b=lc[c[8792>>2]&127](a)|0;c[2168]=(c[2168]|0)-b;Wc(a);break}while(0);return}function al(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0;t=i;i=i+16|0;if((i|0)>=(j|0))fa();q=t;m=c[(e&p)>>2]|0;if((a[(d&n)+15>>0]|0)!=0?(c[(d&p)+24>>2]|0)!=0:0)s=12;else s=3;do if((s|0)==3){l=d+204|0;if(((m|0)!=0?(c[((c[(l&p)>>2]|0)&p)+12>>2]|0)==0:0)?(r=d+152|0,(m|0)!=(c[(r&p)>>2]|0)):0){u=q;c[(u&p)>>2]=0;c[(u&p)+4>>2]=0;if(((a[(d&n)+16>>0]|0)!=0?(h=c[(d&p)+60>>2]|0,g=c[(h&p)>>2]|0,(g|0)!=0):0)?(k=rc[c[(g&p)+24>>2]&127](h,q)|0,(k|0)!=0):0){g=0;f=k}else{g=Go(m)|0;if(g){xn(d);h=Ho(c[(l&p)>>2]|0,m)|0;if(!h){s=d+200|0;$k(c[(s&p)>>2]|0);c[(s&p)>>2]=g;s=q;q=c[(s&p)>>2]|0;s=c[(s&p)+4>>2]|0;l=jw(m|0,0,-1,-1)|0;s=jw(l|0,G|0,q|0,s|0)|0;s=qw(s|0,G|0,m|0,0)|0;c[(d&p)+24>>2]=s;c[(r&p)>>2]=m;s=12;break}else f=h}else{g=0;f=7}}$k(g);c[(e&p)>>2]=c[(r&p)>>2]}else s=12}while(0);if((s|0)==12){c[(e&p)>>2]=c[(d&p)+152>>2];g=d+142|0;if((f|0)<0)f=b[(g&o)>>1]|0;b[(g&o)>>1]=f;f=0}i=t;return f|0}function bl(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0;i=c[(d&p)+4>>2]|0;a:do if(a[(d&n)+9>>0]|0){if((c[(i&p)+76>>2]|0)!=(d|0)?(b[(i&o)+22>>1]&32)!=0:0){h=262;break}h=c[(i&p)+72>>2]|0;if(h){while(1){if(((c[(h&p)>>2]|0)!=(d|0)?(c[(h&p)+4>>2]|0)==(f|0):0)?(a[(h&n)+8>>0]|0)!=g<<24>>24:0)break;h=c[(h&p)+12>>2]|0;if(!h){h=0;break a}}if(g<<24>>24==2){h=i+22|0;b[(h&o)>>1]=e[(h&o)>>1]|64;h=262}else h=262}else h=0}else h=0;while(0);return h|0}function cl(b){b=b|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=i;i=i+64|0;if((i|0)>=(j|0))fa();G=H;D=H+28|0;C=H+24|0;m=H+20|0;t=H+48|0;v=H+16|0;w=H+12|0;A=H+8|0;B=H+32|0;if(!((a[(b&n)+15>>0]|0)!=0?(e=c[(b&p)+40>>2]|0,(e|0)!=0):0))F=3;do if((F|0)==3){E=b+208|0;f=c[(E&p)>>2]|0;a:do if(!f){z=b+16|0;do if(!(a[(z&n)>>0]|0)){h=b+176|0;g=b+180|0;while(1){e=fl(b,1)|0;if(!e)break;else if((e|0)!=5)break a;if(!(lc[c[(h&p)>>2]&127](c[(g&p)>>2]|0)|0)){e=5;break a}}u=b+17|0;if((d[(u&n)>>0]|0)<2){f=c[(b&p)>>2]|0;c[(G&p)>>2]=1;k=b+64|0;l=(c[(c[(k&p)>>2]&p)>>2]|0)!=0;if(l){h=1;e=0}else{e=pc[c[(f&p)+32>>2]&31](f,c[(b&p)+172>>2]|0,0,G)|0;h=(c[(G&p)>>2]|0)!=0}b:do if((e|0)==0&h){c[(D&p)>>2]=0;g=b+60|0;e=c[(g&p)>>2]|0;e=rc[c[((c[(e&p)>>2]|0)&p)+36>>2]&127](e,D)|0;if(!(c[(D&p)>>2]|e)){e=Io(b,C)|0;if(!e){if((c[(C&p)>>2]|0)!=0|l){do if(!l){c[(m&p)>>2]=2049;e=tc[c[(f&p)+24>>2]&31](f,c[(b&p)+172>>2]|0,c[(k&p)>>2]|0,2049,m)|0;if(!e)break;else if((e|0)!=14){h=0;break b}h=1;e=0;break b}while(0);a[(t&n)>>0]=0;e=c[(k&p)>>2]|0;e=tc[c[((c[(e&p)>>2]|0)&p)+8>>2]&31](e,t,1,0,0)|0;e=(e|0)==522?0:e;if(!l?(r=c[(k&p)>>2]|0,s=c[(r&p)>>2]|0,(s|0)!=0):0){lc[c[(s&p)+4>>2]&127](r)|0;c[(r&p)>>2]=0}h=(a[(t&n)>>0]|0)!=0&1;break}h=c[3164]|0;if(h)nc[h&3]();do if(((fl(b,2)|0)==0?(ac[c[(f&p)+28>>2]&63](f,c[(b&p)+172>>2]|0,0)|0,(a[(b&n)+4>>0]|0)==0):0)?(o=c[(g&p)>>2]|0,q=c[(o&p)>>2]|0,(q|0)!=0):0){if(!(a[(b&n)+13>>0]|0))rc[c[(q&p)+32>>2]&127](o,1)|0;if((a[(u&n)>>0]|0)==5)break;a[(u&n)>>0]=1}while(0);h=c[3166]|0;if(!h){h=0;e=0}else{nc[h&3]();h=0;e=0}}else h=0}else h=0}else h=0;while(0);if(e)break a;if(h)F=35}else F=35;do if((F|0)==35){if(a[(b&n)+14>>0]|0){e=776;break a}e=fl(b,4)|0;if(e)break a;f=b+64|0;if(!(c[(c[(f&p)>>2]&p)>>2]|0)){h=c[(b&p)>>2]|0;g=b+172|0;e=pc[c[(h&p)+32>>2]&31](h,c[(g&p)>>2]|0,0,v)|0;if((e|0)==0&(c[(v&p)>>2]|0)!=0){c[(w&p)>>2]=0;e=tc[c[(h&p)+24>>2]&31](h,c[(g&p)>>2]|0,c[(f&p)>>2]|0,2050,w)|0;if(!e)if(c[(w&p)>>2]&1){c[(G&p)>>2]=46645;c[(G&p)+4>>2]=10788;bd(14,14848,G);h=c[(f&p)>>2]|0;g=c[(h&p)>>2]|0;if(!g)e=14;else{lc[c[(g&p)+4>>2]&127](h)|0;c[(h&p)>>2]=0;e=14}}else e=0}}else e=0;if(!(c[(c[(f&p)>>2]&p)>>2]|0))if((a[(b&n)+4>>0]|0)==0?(x=c[(b&p)+60>>2]|0,y=c[(x&p)>>2]|0,(y|0)!=0):0){if(!(a[(b&n)+13>>0]|0))rc[c[(y&p)+32>>2]&127](x,1)|0;if((a[(u&n)>>0]|0)!=5){a[(u&n)>>0]=1;F=52}else F=52}else F=52;else{e=Jo(b)|0;if(!e){e=Ko(b,1)|0;a[(z&n)>>0]=0;F=52}}if((F|0)==52)if(!e)break;D=e&255;if(!((D|0)==10|(D|0)==13))break a;c[(b&p)+40>>2]=e;a[(z&n)>>0]=6;break a}while(0);h=b+12|0;if((a[(h&n)>>0]|0)==0?(a[(b&n)+23>>0]|0)!=0:0){c[(A&p)>>2]=0;e=Io(b,A)|0;if(e)break a;if(c[(A&p)>>2]|0){e=c[(b&p)+60>>2]|0;e=tc[c[((c[(e&p)>>2]|0)&p)+8>>2]&31](e,B,16,24,0)|0;if(!((e|0)==0|(e|0)==522))break a}else{g=B+0|0;f=g+16|0;do{a[(g&n)>>0]=0;g=g+1|0}while((g|0)<(f|0))}if(Zv(b+104|0,B,16)|0)xn(b)}if(!(a[(h&n)>>0]|0)){e=Io(b,C)|0;if(!e){g=c[(b&p)>>2]|0;f=c[(b&p)+212>>2]|0;if(!(c[(C&p)>>2]|0)){e=ac[c[(g&p)+28>>2]&63](g,f,0)|0;c[(D&p)>>2]=0;if((e|0)!=5898)F=68}else{e=pc[c[(g&p)+32>>2]&31](g,f,0,D)|0;F=68}if((F|0)==68){if(e)break;if(c[(D&p)>>2]|0){e=el(b,0)|0;break}}e=b+5|0;if((a[(e&n)>>0]|0)==5){a[(e&n)>>0]=0;e=0}else e=0}}else e=0}else e=0;while(0);f=c[(E&p)>>2]|0;if(!f)F=78;else F=74}else F=74;while(0);if((F|0)==74){c[(G&p)>>2]=0;Lo(f);f=c[(E&p)>>2]|0;g=0;do{g=g+1|0;e=Mo(f,G,0,g)|0}while((e|0)==-1);if(!(c[(G&p)>>2]|e))F=78;else{xn(b);F=78}}if((F|0)==78){if((a[(b&n)+16>>0]|0)==0&(e|0)==0)e=Io(b,b+24|0)|0;if(!e){a[(b&n)+16>>0]=1;e=0;break}}No(b)}while(0);i=H;return e|0}function dl(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();g=h;f=zg(c[(b&p)>>2]|0,d,g,f)|0;if(!f){g=c[(g&p)>>2]|0;f=c[(g&p)+8>>2]|0;c[(f&p)+56>>2]=c[(g&p)+4>>2];c[(f&p)+68>>2]=g;c[(f&p)+52>>2]=b;c[(f&p)+72>>2]=d;a[(f&n)+6>>0]=(d|0)==1?100:0;c[(e&p)>>2]=f;f=0}i=h;return f|0}function el(b,d){b=b|0;d=d|0;var e=0,f=0;do if((a[(b&n)+12>>0]|0)==0?(c[(b&p)+208>>2]|0)==0:0){d=c[(c[(b&p)+60>>2]&p)>>2]|0;if(!(a[(b&n)+4>>0]|0)){if((c[(d&p)>>2]|0)<=1){d=14;break}if(!(c[(d&p)+52>>2]|0)){d=14;break}}d=c[(b&p)+64>>2]|0;e=c[(d&p)>>2]|0;if(e){lc[c[(e&p)+4>>2]&127](d)|0;c[(d&p)>>2]=0}d=pn(b)|0;if(!d){a[(b&n)+5>>0]=5;a[(b&n)+16>>0]=0;d=0}}else f=10;while(0);if((f|0)==10){c[(d&p)>>2]=1;d=0}return d|0}function fl(b,d){b=b|0;d=d|0;var e=0,f=0;f=b+17|0;e=a[(f&n)>>0]|0;do if((e&255|0)<(d|0)|e<<24>>24==5){if(!(a[(b&n)+13>>0]|0)){e=c[(b&p)+60>>2]|0;e=rc[c[((c[(e&p)>>2]|0)&p)+28>>2]&127](e,d)|0;if(e)break;e=a[(f&n)>>0]|0}if(e<<24>>24!=5|(d|0)==4){a[(f&n)>>0]=d;e=0}else e=0}else e=0;while(0);return e|0}function gl(a){a=a|0;var b=0,d=0,e=0;b=c[(a&p)+4>>2]|0;a=c[(b&p)+444>>2]|0;if((a|0)!=0?(e=b+452|0,d=c[(e&p)>>2]|0,(d|0)>=0):0){a=rc[a&127](c[(b&p)+448>>2]|0,d)|0;if(!a)b=-1;else b=(c[(e&p)>>2]|0)+1|0;c[(e&p)>>2]=b}else a=0;return a|0}function hl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0;o=b+96|0;e=c[(o&p)>>2]|0;a:do if((e|0)<(d|0)?(a[(b&n)+6>>0]|0)!=0:0){f=b+92|0;s=rg(c[(f&p)>>2]|0,d*48|0,0)|0;if(!s)e=7;else{fw(s+(e*48|0)|0,0,(d-e|0)*48|0)|0;c[(f&p)>>2]=s;i=b+24|0;j=b+64|0;k=b+148|0;l=b+52|0;m=b+208|0;h=b+72|0;while(1){g=c[(i&p)>>2]|0;b=s+(e*48|0)|0;c[(s+(e*48|0)&p)+20>>2]=g;if((c[(c[(j&p)>>2]&p)>>2]|0)!=0?(r=h,q=c[(r&p)>>2]|0,r=c[(r&p)+4>>2]|0,(r|0)>0|(r|0)==0&q>>>0>0):0){c[(b&p)>>2]=q;c[(b&p)+4>>2]=r}else{c[(b&p)>>2]=c[(k&p)>>2];c[(b&p)+4>>2]=0}c[(s+(e*48|0)&p)+24>>2]=c[(l&p)>>2];f=qg(512,0)|0;if(!f)break;fw(f|0,0,512)|0;c[(f&p)>>2]=g;c[(s+(e*48|0)&p)+16>>2]=f;f=c[(m&p)>>2]|0;if(f){c[(s+(e*48|0)&p)+28>>2]=c[(f&p)+68>>2];c[(s+(e*48|0)&p)+32>>2]=c[(f&p)+76>>2];c[(s+(e*48|0)&p)+36>>2]=c[(f&p)+80>>2];c[(s+(e*48|0)&p)+40>>2]=c[(f&p)+104>>2]}e=e+1|0;c[(o&p)>>2]=e;if((e|0)>=(d|0)){e=0;break a}}c[(s+(e*48|0)&p)+16>>2]=f;e=7}}else e=0;while(0);return e|0}function il(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0;do if(e){f=c[(e&p)+4>>2]|0;if(!(c[(f&p)>>2]|0)){f=Oo(a,d,e)|0;break}e=f+26|0;g=b[(e&o)>>1]|0;if(!(g<<16>>16)){h=a+12|0;c[(h&p)>>2]=(c[(h&p)>>2]|0)+1}b[(e&o)>>1]=g+1<<16>>16;if((d|0)==1)c[(a&p)+44>>2]=f}else f=0;while(0);return f|0}function jl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=a+96|0;d=c[(h&p)>>2]|0;if((d|0)>0){g=a+92|0;f=0;a=0;do{e=c[(g&p)>>2]|0;if((c[(e+(f*48|0)&p)+20>>2]|0)>>>0>=b>>>0){a=bi(c[(e+(f*48|0)&p)+16>>2]|0,b)|0|a;d=c[(h&p)>>2]|0}f=f+1|0}while((f|0)<(d|0))}else a=0;return a|0}function kl(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+32|0;if((i|0)>=(j|0))fa();y=A;u=A+16|0;v=A+12|0;x=A+8|0;s=c[(a&p)+68>>2]|0;a:do if((s|0)!=0?(b[(a&o)+40>>1]|0)!=0:0){t=d*383&8191;w=(s+33|0)>>>12;b:while(1){g=Po(a,w,u,v,x)|0;if(g)break a;g=(c[(u&p)>>2]|0)+(t<<1)|0;if(!(b[(g&o)>>1]|0))g=0;else{n=c[(x&p)>>2]|0;q=c[(u&p)>>2]|0;r=c[(v&p)>>2]|0;k=g;l=t;g=0;m=8192;while(1){h=(e[(k&o)>>1]|0)+n|0;if(h>>>0<=s>>>0)g=(c[(r+(e[(k&o)>>1]<<2)&p)>>2]|0)==(d|0)?h:g;if(!m){z=11;break b}l=l+1&8191;k=q+(l<<1)|0;if(!(b[(k&o)>>1]|0))break;else m=m+-1|0}}if((w|0)>0&(g|0)==0)w=w+-1|0;else{z=14;break}}if((z|0)==11){c[(y&p)>>2]=51262;c[(y&p)+4>>2]=10788;bd(11,13600,y);g=11;break}else if((z|0)==14){c[(f&p)>>2]=g;g=0;break}}else z=3;while(0);if((z|0)==3){c[(f&p)>>2]=0;g=0}i=A;return g|0}function ll(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0;h=c[(b&p)+16>>2]|0;i=c[(b&p)+20>>2]|0;f=c[(h&p)+152>>2]|0;b=b+4|0;g=c[(b&p)>>2]|0;if(!d){d=sw(i+-1|0,0,f|0,((f|0)<0)<<31>>31|0)|0;j=c[(h&p)+60>>2]|0;d=tc[c[((c[(j&p)>>2]|0)&p)+8>>2]&31](j,g,f,d,G)|0;d=(d|0)==522?0:d}else{k=c[(h&p)+208>>2]|0;j=e[(k&o)+66>>1]|0;j=j<<16&65536|j&65024;d=sw(j|24|0,0,d+-1|0,0)|0;d=jw(d|0,G|0,56,0)|0;k=c[(k&p)+8>>2]|0;d=tc[c[((c[(k&p)>>2]|0)&p)+8>>2]&31](k,g,(j|0)<(f|0)?j:f,d,G)|0}do if((i|0)==1)if(!d){g=h+104|0;f=(c[(b&p)>>2]|0)+24|0;b=g+16|0;do{a[(g&n)>>0]=a[(f&n)>>0]|0;g=g+1|0;f=f+1|0}while((g|0)<(b|0));break}else{g=h+104|0;b=g+16|0;do{a[(g&n)>>0]=255;g=g+1|0}while((g|0)<(b|0));break}while(0);return d|0}function ml(a){a=a|0;var d=0,e=0;if(b[(a&o)+24>>1]&2)Qo(a,1);d=c[(a&p)+28>>2]|0;e=d+12|0;c[(e&p)>>2]=(c[(e&p)>>2]|0)+-1;if((c[(a&p)+20>>2]|0)==1)c[(d&p)+44>>2]=0;mc[c[8880>>2]&63](c[(d&p)+40>>2]|0,c[(a&p)>>2]|0,1);return}function nl(b){b=b|0;var d=0;d=a[(b&n)+16>>0]|0;do if(!(d<<24>>24==0|d<<24>>24==6)){if((d&255)<=1){if(a[(b&n)+4>>0]|0)break;Cl(b,0,0)|0;break}d=c[3164]|0;if(d)nc[d&3]();Hl(b)|0;d=c[3166]|0;if(d)nc[d&3]()}while(0);No(b);return}function ol(d){d=d|0;var e=0,f=0;f=d+26|0;e=(b[(f&o)>>1]|0)+-1<<16>>16;b[(f&o)>>1]=e;do if(!(e<<16>>16)){e=c[(d&p)+28>>2]|0;f=e+12|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+-1;if(b[(d&o)+24>>1]&2){if(!(c[(d&p)+36>>2]|0))break;Qo(d,3);break}if(a[(e&n)+28>>0]|0){if((c[(d&p)+20>>2]|0)==1)c[(e&p)+44>>2]=0;mc[c[8880>>2]&63](c[(e&p)+40>>2]|0,c[(d&p)>>2]|0,0)}}while(0);return}function pl(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;j=c[(e&p)+56>>2]|0;k=c[(e&p)+52>>2]|0;g=d[(e&n)+6>>0]|0;h=j+g|0;i=k+36|0;if(b[(k&o)+22>>1]&4)fw(h|0,0,(c[(i&p)>>2]|0)-g|0)|0;a[(h&n)>>0]=f;h=g+(f>>>1&4^12)|0;l=j+(g+1)|0;a[(l&n)>>0]=0;a[(l&n)+1>>0]=0;a[(l&n)+2>>0]=0;a[(l&n)+3>>0]=0;a[(j+g&n)+7>>0]=0;a[(j+g&n)+5>>0]=(c[(i&p)>>2]|0)>>>8;a[(j+g&n)+6>>0]=c[(i&p)>>2];b[(e&o)+16>>1]=(c[(i&p)>>2]|0)-h;Ro(e,f)|0;b[(e&o)+14>>1]=h;c[(e&p)+60>>2]=j+(c[(i&p)>>2]|0);c[(e&p)+64>>2]=j+(h&65535);a[(e&n)+1>>0]=0;b[(e&o)+20>>1]=(c[(k&p)+32>>2]|0)+65535;b[(e&o)+18>>1]=0;a[(e&n)>>0]=1;return}function ql(a){a=a|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+32|0;if((i|0)>=(j|0))fa();g=h+16|0;f=h;d=a+8|0;c[(g&p)>>2]=c[(d&p)>>2];c[(g&p)+4>>2]=c[(d&p)+4>>2];c[(g&p)+8>>2]=c[(d&p)+8>>2];c[(g&p)+12>>2]=c[(d&p)+12>>2];e=a+40|0;c[(f&p)>>2]=c[(e&p)>>2];c[(f&p)+4>>2]=c[(e&p)+4>>2];c[(f&p)+8>>2]=c[(e&p)+8>>2];c[(f&p)+12>>2]=c[(e&p)+12>>2];c[(e&p)>>2]=0;c[(e&p)+4>>2]=0;c[(e&p)+8>>2]=0;c[(e&p)+12>>2]=0;Ol(a+24|0);e=c[(f&p)+8>>2]|0;if(e)do{jg(0,c[(e&p)+8>>2]|0);e=c[(e&p)>>2]|0}while((e|0)!=0);Ol(f);c[(d&p)>>2]=0;c[(d&p)+4>>2]=0;c[(d&p)+8>>2]=0;c[(d&p)+12>>2]=0;d=c[(g&p)+8>>2]|0;if(d)do{kg(0,c[(d&p)+8>>2]|0);d=c[(d&p)>>2]|0}while((d|0)!=0);Ol(g);Ol(a+56|0);c[(a&p)+72>>2]=0;d=a+78|0;e=b[(d&o)>>1]|0;if(e&1){f=a+4|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;b[(d&o)>>1]=e&65534}i=h;return}function rl(a){a=a|0;var d=0,e=0;e=a+332|0;d=c[(e&p)>>2]|0;c[(e&p)>>2]=0;if(d){a=c[(a&p)+4>>2]|0;if(a)do{e=a+88|0;b[(e&o)>>1]=b[(e&o)>>1]|8;a=c[(a&p)+52>>2]|0}while((a|0)!=0);do{a=d;d=c[(d&p)+24>>2]|0;An(a)}while((d|0)!=0)}return}function sl(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=a+20|0;b=c[(g&p)>>2]|0;j=a+16|0;d=c[(j&p)>>2]|0;if((b|0)>2){f=2;e=2;do{b=d+(f<<4)|0;if(!(c[(d+(f<<4)&p)+4>>2]|0)){mg(a,c[(b&p)>>2]|0);c[(b&p)>>2]=0}else{if((e|0)<(f|0)){d=d+(e<<4)|0;c[(d&p)>>2]=c[(b&p)>>2];c[(d&p)+4>>2]=c[(b&p)+4>>2];c[(d&p)+8>>2]=c[(b&p)+8>>2];c[(d&p)+12>>2]=c[(b&p)+12>>2]}e=e+1|0}f=f+1|0;b=c[(g&p)>>2]|0;d=c[(j&p)>>2]|0}while((f|0)<(b|0))}else e=2;fw(d+(e<<4)|0,0,b-e<<4|0)|0;c[(g&p)>>2]=e;if((e|0)<3?(h=c[(j&p)>>2]|0,i=a+456|0,(h|0)!=(i|0)):0){c[(i&p)>>2]=c[(h&p)>>2];c[(i&p)+4>>2]=c[(h&p)+4>>2];c[(i&p)+8>>2]=c[(h&p)+8>>2];c[(i&p)+12>>2]=c[(h&p)+12>>2];c[(i&p)+16>>2]=c[(h&p)+16>>2];c[(i&p)+20>>2]=c[(h&p)+20>>2];c[(i&p)+24>>2]=c[(h&p)+24>>2];c[(i&p)+28>>2]=c[(h&p)+28>>2];mg(a,h);c[(j&p)>>2]=i}return}function tl(f){f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))fa();v=y;s=c[(f&p)+16>>2]|0;u=s+152|0;k=((c[(s&p)+148>>2]|0)>>>0)/((c[(u&p)>>2]|0)>>>0)|0;x=s+20|0;a[(x&n)>>0]=d[(x&n)>>0]|0|4;r=f+20|0;l=c[(r&p)>>2]|0;f=l+-1&0-k;w=f+1|0;h=~f;g=c[(s&p)+24>>2]|0;if(l>>>0<=g>>>0){if((f+k|0)>>>0>g>>>0)k=g+1+h|0}else k=l+1+h|0;a:do if((k|0)>0){q=s+56|0;t=s+204|0;m=0;f=0;while(1){h=m+w|0;if((h|0)!=(l|0)?(di(c[(q&p)>>2]|0,h)|0)!=0:0){l=ac[c[8876>>2]&63](c[((c[(t&p)>>2]|0)&p)+40>>2]|0,h,0)|0;h=il(c[(t&p)>>2]|0,h,l)|0;c[(v&p)>>2]=h;if(!h)g=0;else{f=(b[(h&o)+24>>1]&4)==0?f:1;Bg(h);g=0}}else if((h|0)==(((c[2514]|0)/(c[(u&p)>>2]|0)|0)+1|0))g=0;else{g=zg(s,h,v,0)|0;if(g)break a;l=c[(v&p)>>2]|0;g=ul(l)|0;f=(b[(l&o)+24>>1]&4)==0?f:1;Bg(l)}m=m+1|0;h=(g|0)==0;if(!((m|0)<(k|0)&h))break;l=c[(r&p)>>2]|0}if(h&(f|0)!=0){f=0;do{s=f+w|0;g=ac[c[8876>>2]&63](c[((c[(t&p)>>2]|0)&p)+40>>2]|0,s,0)|0;g=il(c[(t&p)>>2]|0,s,g)|0;if(g){s=g+24|0;b[(s&o)>>1]=e[(s&o)>>1]|0|4;Bg(g)}f=f+1|0}while((f|0)!=(k|0));g=0}}else g=0;while(0);a[(x&n)>>0]=(d[(x&n)>>0]|0)&251;i=y;return g|0}function ul(f){f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;E=i;i=i+16|0;if((i|0)>=(j|0))fa();C=E+4|0;t=E;D=c[(f&p)+16>>2]|0;x=D+16|0;a:do if((a[(x&n)>>0]|0)==2){s=c[(D&p)>>2]|0;k=c[(D&p)+40>>2]|0;if(!k){do if((c[(D&p)+208>>2]|0)==0?(q=D+5|0,(a[(q&n)>>0]|0)!=2):0){r=D+24|0;k=c[(r&p)>>2]|0;h=qg(512,0)|0;if(!h){c[(D&p)+56>>2]=0;g=7;break a}fw(h|0,0,512)|0;c[(h&p)>>2]=k;u=D+56|0;c[(u&p)>>2]=h;l=D+64|0;m=c[(l&p)>>2]|0;do if(!(c[(m&p)>>2]|0)){if((a[(q&n)>>0]|0)==4){k=m+0|0;h=k+40|0;do{c[(k&p)>>2]=0;k=k+4|0}while((k|0)<(h|0));c[(m&p)>>2]=14696;w=17;break}h=a[(D&n)+12>>0]|0;c[(t&p)>>2]=0;if((h<<24>>24==0?(c[(r&p)>>2]|0)!=0:0)?(g=c[(D&p)+60>>2]|0,g=ac[c[((c[(g&p)>>2]|0)&p)+40>>2]&63](g,20,t)|0,(g|0)!=12):0){k=(g|0)==0;if(k&(c[(t&p)>>2]|0)!=0){g=1032;break}if(k)w=15}else w=15;if((w|0)==15)g=tc[c[(s&p)+24>>2]&31](s,c[(D&p)+172>>2]|0,c[(l&p)>>2]|0,h<<24>>24!=0?4110:2054,0)|0;if(!g)w=17}else w=17;while(0);if((w|0)==17){c[(D&p)+44>>2]=0;g=D+72|0;a[(D&n)+19>>0]=0;c[(g&p)>>2]=0;c[(g&p)+4>>2]=0;c[(g&p)+8>>2]=0;c[(g&p)+12>>2]=0;g=So(D)|0;if(!g)break}ei(c[(u&p)>>2]|0);c[(u&p)>>2]=0;if(!g){w=20;break a}else break a}while(0);a[(x&n)>>0]=3;w=20}else g=k}else w=20;while(0);b:do if((w|0)==20){To(f);y=D+56|0;z=f+20|0;m=c[(z&p)>>2]|0;do if(!(di(c[(y&p)>>2]|0,m)|0))if(!(c[(D&p)+208>>2]|0)){if(m>>>0<=(c[(D&p)+28>>2]|0)>>>0?(B=D+64|0,A=c[(B&p)>>2]|0,(c[(A&p)>>2]|0)!=0):0){w=D+72|0;q=w;u=c[(q&p)>>2]|0;q=c[(q&p)+4>>2]|0;v=c[(f&p)+4>>2]|0;k=c[(D&p)+48>>2]|0;x=D+152|0;l=(c[(x&p)>>2]|0)+-200|0;if((l|0)>0)do{k=(d[(v+l&n)>>0]|0)+k|0;l=l+-200|0}while((l|0)>0);t=f+24|0;b[(t&o)>>1]=e[(t&o)>>1]|4;a[(C&n)>>0]=m>>>24;t=C+1|0;a[(t&n)>>0]=m>>>16;s=C+2|0;a[(s&n)>>0]=m>>>8;r=C+3|0;a[(r&n)>>0]=m;g=tc[c[((c[(A&p)>>2]|0)&p)+12>>2]&31](A,C,4,u,q)|0;if(g)break b;m=c[(B&p)>>2]|0;g=c[(x&p)>>2]|0;h=jw(u|0,q|0,4,0)|0;l=G;g=tc[c[((c[(m&p)>>2]|0)&p)+12>>2]&31](m,v,g,h,l)|0;if(g)break b;u=c[(B&p)>>2]|0;g=c[(x&p)>>2]|0;g=jw(h|0,l|0,g|0,((g|0)<0)<<31>>31|0)|0;a[(C&n)>>0]=k>>>24;a[(t&n)>>0]=k>>>16;a[(s&n)>>0]=k>>>8;a[(r&n)>>0]=k;g=tc[c[((c[(u&p)>>2]|0)&p)+12>>2]&31](u,C,4,g,G)|0;if(g)break b;g=(c[(x&p)>>2]|0)+8|0;u=w;u=jw(g|0,((g|0)<0)<<31>>31|0,c[(u&p)>>2]|0,c[(u&p)+4>>2]|0)|0;g=w;c[(g&p)>>2]=u;c[(g&p)+4>>2]=G;g=D+44|0;c[(g&p)>>2]=(c[(g&p)>>2]|0)+1;g=bi(c[(y&p)>>2]|0,c[(z&p)>>2]|0)|0;g=jl(D,c[(z&p)>>2]|0)|0|g;if(!g){w=34;break}else break b}if((a[(x&n)>>0]|0)!=4){w=f+24|0;b[(w&o)>>1]=e[(w&o)>>1]|4;w=34}else w=34}else w=34;else if((c[(D&p)+96>>2]|0)!=0?(Uo(f)|0)!=0:0)w=34;else g=0;while(0);if((w|0)==34)if((c[(D&p)+96>>2]|0)>0?(Uo(f)|0)!=0:0)g=Vo(f)|0;else g=0;k=D+24|0;h=c[(z&p)>>2]|0;if((c[(k&p)>>2]|0)>>>0<h>>>0)c[(k&p)>>2]=h}while(0);i=E;return g|0}function vl(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+128|0;if((i|0)>=(j|0))fa();k=l;e=c[(a&p)>>2]|0;d=(e|0)==0;if(!d){b=e;do{a=b;b=c[(b&p)+32>>2]|0;c[(a&p)+12>>2]=b}while((b|0)!=0);b=k+0|0;a=b+128|0;do{c[(b&p)>>2]=0;b=b+4|0}while((b|0)<(a|0));if(d)a=0;else{g=k+124|0;do{b=e+12|0;a=e;e=c[(b&p)>>2]|0;c[(b&p)>>2]=0;b=0;do{f=k+(b<<2)|0;d=c[(f&p)>>2]|0;if(!d){d=f;h=8;break}a=Wo(d,a)|0;c[(f&p)>>2]=0;b=b+1|0}while((b|0)<31);if((h|0)==8){h=0;c[(d&p)>>2]=a}if((b|0)==31)c[(g&p)>>2]=Wo(c[(g&p)>>2]|0,a)|0}while((e|0)!=0);a=c[(k&p)>>2]|0}}else{b=k+0|0;a=b+128|0;do{c[(b&p)>>2]=0;b=b+4|0}while((b|0)<(a|0));a=0}b=1;do{a=Wo(a,c[(k+(b<<2)&p)>>2]|0)|0;b=b+1|0}while((b|0)!=32);i=l;return a|0}function wl(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,L=0,M=0;M=i;i=i+80|0;if((i|0)>=(j|0))fa();s=M+32|0;t=M+28|0;C=M;v=M+40|0;K=M+24|0;c[(K&p)>>2]=f;z=(h|0)==0;if(!z){c[(K&p)>>2]=f;if(!f){f=0;q=0}else{q=0;m=K;do{A=(c[(f&p)+20>>2]|0)>>>0>g>>>0;H=f+12|0;q=q+(A&1^1)|0;m=A?m:H;f=c[(H&p)>>2]|0;c[(m&p)>>2]=f}while((f|0)!=0);f=c[(K&p)>>2]|0}}else q=1;H=e+192|0;c[(H&p)>>2]=(c[(H&p)>>2]|0)+q;if((c[(f&p)+20>>2]|0)==1)yl(f);I=c[(e&p)+208>>2]|0;J=c[(e&p)+152>>2]|0;u=a[(e&n)+10>>0]|0;A=u&255;m=I+40|0;if(!(b[(m&o)>>1]|0)){do if(c[((c[(c[(I&p)+32>>2]&p)>>2]|0)&p)+96>>2]|0){cd(4,s);q=I+43|0;if(!(a[(q&n)>>0]|0)){k=c[(I&p)+4>>2]|0;k=pc[c[((c[(k&p)>>2]|0)&p)+56>>2]&31](k,4,4,10)|0;if((k|0)==5){B=14;break}else if(k)break}Xo(I,c[(s&p)>>2]|0);if(!(a[(q&n)>>0]|0)){B=c[(I&p)+4>>2]|0;pc[c[((c[(B&p)>>2]|0)&p)+56>>2]&31](B,4,4,9)|0;B=14}else B=14}else{q=I+43|0;B=14}while(0);if((B|0)==14){if(!(a[(q&n)>>0]|0)){H=c[(I&p)+4>>2]|0;pc[c[((c[(H&p)>>2]|0)&p)+56>>2]&31](H,3,1,5)|0}b[(m&o)>>1]=-1;q=0;do{q=q+1|0;k=Mo(I,t,1,q)|0}while((k|0)==-1)}if(!k)B=19}else B=19;a:do if((B|0)==19){H=I+68|0;t=c[(H&p)>>2]|0;if(!t){a[(v&n)>>0]=55;a[(v&n)+1>>0]=127;a[(v&n)+2>>0]=6;a[(v&n)+3>>0]=-126;a[(v&n)+4>>0]=0;a[(v&n)+5>>0]=45;a[(v&n)+6>>0]=-30;a[(v&n)+7>>0]=24;a[(v&n)+8>>0]=J>>>24;a[(v&n)+9>>0]=J>>>16;a[(v&n)+10>>0]=J>>>8;a[(v&n)+11>>0]=J;y=c[(I&p)+104>>2]|0;a[(v&n)+12>>0]=y>>>24;a[(v&n)+13>>0]=y>>>16;a[(v&n)+14>>0]=y>>>8;a[(v&n)+15>>0]=y;if(!y)cd(8,I+84|0);l=I+84|0;q=l;q=d[(q&n)>>0]|d[(q&n)+1>>0]<<8|d[(q&n)+2>>0]<<16|d[(q&n)+3>>0]<<24;l=l+4|0;l=d[(l&n)>>0]|d[(l&n)+1>>0]<<8|d[(l&n)+2>>0]<<16|d[(l&n)+3>>0]<<24;s=v+16|0;m=s;a[(m&n)>>0]=q;a[(m&n)+1>>0]=q>>8;a[(m&n)+2>>0]=q>>16;a[(m&n)+3>>0]=q>>24;s=s+4|0;a[(s&n)>>0]=l;a[(s&n)+1>>0]=l>>8;a[(s&n)+2>>0]=l>>16;a[(s&n)+3>>0]=l>>24;s=v+24|0;l=v;m=0;q=0;do{m=m+q+(c[(l&p)>>2]|0)|0;q=m+q+(c[(l&p)+4>>2]|0)|0;l=l+8|0}while(l>>>0<s>>>0);a[(s&n)>>0]=m>>>24;a[(v&n)+25>>0]=m>>>16;a[(v&n)+26>>0]=m>>>8;a[(v&n)+27>>0]=m;a[(v&n)+28>>0]=q>>>24;a[(v&n)+29>>0]=q>>>16;a[(v&n)+30>>0]=q>>>8;a[(v&n)+31>>0]=q;c[(I&p)+36>>2]=J;a[(I&n)+65>>0]=0;c[(I&p)+76>>2]=m;c[(I&p)+80>>2]=q;a[(I&n)+47>>0]=1;q=I+8|0;k=c[(q&p)>>2]|0;k=tc[c[((c[(k&p)>>2]|0)&p)+12>>2]&31](k,v,32,0,0)|0;if(k)break;if((a[(I&n)+48>>0]|0)!=0&u<<24>>24!=0?(r=c[(q&p)>>2]|0,r=rc[c[((c[(r&p)>>2]|0)&p)+20>>2]&127](r,A&19)|0,(r|0)!=0):0){k=r;break}}else q=I+8|0;c[(C&p)>>2]=I;v=c[(q&p)>>2]|0;c[(C&p)+4>>2]=v;w=C+8|0;x=w;c[(x&p)>>2]=0;c[(x&p)+4>>2]=0;c[(C&p)+16>>2]=A;c[(C&p)+20>>2]=J;x=J+24|0;y=((x|0)<0)<<31>>31;m=sw(t|0,0,x|0,y|0)|0;m=jw(m|0,G|0,32,0)|0;k=G;if(!f){l=m;u=0}else{r=k;l=t;u=f;while(1){t=l+1|0;if(z)l=0;else l=(c[(u&p)+12>>2]|0)==0?g:0;k=Yo(C,u,l,m,r)|0;if(k)break a;m=jw(m|0,r|0,x|0,y|0)|0;k=G;s=c[(u&p)+12>>2]|0;if(!s){l=m;break}else{r=k;l=t;u=s}}}z=(h|0)!=0;do if(!((A&32|0)==0|z^1)){if(!(a[(I&n)+49>>0]|0)){m=0;k=rc[c[((c[(v&p)>>2]|0)&p)+20>>2]&127](v,A&19)|0;break}q=c[(q&p)>>2]|0;m=c[((c[(q&p)>>2]|0)&p)+44>>2]|0;if(m){q=lc[m&127](q)|0;if((q|0)<32){m=512;q=0}else B=37}else{q=4096;B=37}if((B|0)==37){B=(q|0)>65536;m=B?65536:q;q=B?0:((q|0)<0)<<31>>31}B=jw(l|0,k|0,-1,-1)|0;B=jw(B|0,G|0,m|0,q|0)|0;s=G;r=rw(B|0,s|0,m|0,q|0)|0;r=dw(B|0,s|0,r|0,G|0)|0;s=G;B=w;c[(B&p)>>2]=r;c[(B&p)+4>>2]=s;if((k|0)<(s|0)|(k|0)==(s|0)&l>>>0<r>>>0){q=k;m=0;while(1){k=Yo(C,u,g,l,q)|0;if(k)break a;l=jw(l|0,q|0,x|0,y|0)|0;q=G;m=m+1|0;if(!((q|0)<(s|0)|(q|0)==(s|0)&l>>>0<r>>>0)){k=0;break}}}else{m=0;k=0}}else{m=0;k=0}while(0);if((z?(D=I+47|0,(a[(D&n)>>0]|0)!=0):0)?(F=I+16|0,E=c[(F&p)>>2]|0,F=c[(F&p)+4>>2]|0,(F|0)>-1|(F|0)==-1&E>>>0>4294967295):0){h=sw(m+t|0,0,x|0,y|0)|0;h=jw(h|0,G|0,32,0)|0;C=G;B=(C|0)>(F|0)|(C|0)==(F|0)&h>>>0>E>>>0;Zo(I,B?h:E,B?C:F);a[(D&n)>>0]=0}l=c[(H&p)>>2]|0;if((f|0)!=0&(k|0)==0)do{l=l+1|0;k=_o(I,l,c[(f&p)+20>>2]|0)|0;f=c[(f&p)+12>>2]|0}while((f|0)!=0&(k|0)==0);f=(k|0)==0;if(f&(m|0)>0){q=u+20|0;do{l=l+1|0;m=m+-1|0;k=_o(I,l,c[(q&p)>>2]|0)|0;f=(k|0)==0}while(f&(m|0)>0)}if(f){b[(I&o)+66>>1]=J&65280|J>>>16;c[(H&p)>>2]=l;if(z){H=I+60|0;c[(H&p)>>2]=(c[(H&p)>>2]|0)+1;c[(I&p)+72>>2]=g;$o(I);c[(I&p)+12>>2]=l}}else if(k)break;l=e+88|0;k=c[(l&p)>>2]|0;if((k|0)!=0?(L=c[(K&p)>>2]|0,(L|0)!=0):0){f=k;k=L;while(1){ap(f,c[(k&p)+20>>2]|0,c[(k&p)+4>>2]|0);k=c[(k&p)+12>>2]|0;if(!k){k=0;break a}f=c[(l&p)>>2]|0}}else k=0}while(0);i=M;return k|0}function xl(d){d=d|0;var f=0,g=0;f=d+24|0;if(((b[(f&o)>>1]&2)!=0?(Qo(d,1),b[(f&o)>>1]=e[(f&o)>>1]&65529,(b[(d&o)+26>>1]|0)==0):0)?(g=c[(d&p)+28>>2]|0,(a[(g&n)+28>>0]|0)!=0):0){if((c[(d&p)+20>>2]|0)==1)c[(g&p)+44>>2]=0;mc[c[8880>>2]&63](c[(g&p)+40>>2]|0,c[(d&p)>>2]|0,0)}return}function yl(b){b=b|0;var e=0,f=0,g=0,h=0,i=0;f=c[(b&p)+16>>2]|0;f=((d[(f&n)+105>>0]|0)<<16|(d[(f&n)+104>>0]|0)<<24|(d[(f&n)+106>>0]|0)<<8|(d[(f&n)+107>>0]|0))+1|0;b=b+4|0;e=c[(b&p)>>2]|0;i=f>>>24&255;a[(e&n)+24>>0]=i;h=f>>>16&255;a[(e&n)+25>>0]=h;g=f>>>8&255;a[(e&n)+26>>0]=g;f=f&255;a[(e&n)+27>>0]=f;e=c[(b&p)>>2]|0;a[(e&n)+92>>0]=i;a[(e&n)+93>>0]=h;a[(e&n)+94>>0]=g;a[(e&n)+95>>0]=f;b=c[(b&p)>>2]|0;a[(b&n)+96>>0]=0;a[(b&n)+97>>0]=45;a[(b&n)+98>>0]=-26;a[(b&n)+99>>0]=9;return}function zl(f,g){f=f|0;g=g|0;var h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+32|0;if((i|0)>=(j|0))fa();r=y+16|0;u=y;k=bp(f)|0;a:do if(!k){do if(!(a[(f&n)+7>>0]|0)){w=f+64|0;if((c[(c[(w&p)>>2]&p)>>2]|0)!=0?(a[(f&n)+5>>0]|0)!=4:0){q=c[(f&p)+60>>2]|0;q=lc[c[((c[(q&p)>>2]|0)&p)+48>>2]&127](q)|0;v=(q&512|0)==0;if(v){l=u;c[(l&p)>>2]=-117058087;c[(l&p)+4>>2]=-681336544;l=c[(f&p)+44>>2]|0;a[(u&n)+8>>0]=l>>>24;a[(u&n)+9>>0]=l>>>16;a[(u&n)+10>>0]=l>>>8;a[(u&n)+11>>0]=l;l=f+72|0;k=c[(l&p)>>2]|0;l=c[(l&p)+4>>2]|0;if((k|0)==0&(l|0)==0){l=0;k=0}else{k=jw(k|0,l|0,-1,-1)|0;l=c[(f&p)+148>>2]|0;k=qw(k|0,G|0,l|0,0)|0;k=jw(k|0,G|0,1,0)|0;l=sw(k|0,G|0,l|0,0)|0;k=G}m=c[(w&p)>>2]|0;m=tc[c[((c[(m&p)>>2]|0)&p)+8>>2]&31](m,r,8,l,k)|0;if(!m){if(!(Zv(r,14808,8)|0)){s=c[(w&p)>>2]|0;s=tc[c[((c[(s&p)>>2]|0)&p)+12>>2]&31](s,14976,1,l,k)|0;t=12}}else{s=m;t=12}if((t|0)==12?!((s|0)==0|(s|0)==522):0){h=s;break a}k=q&1024;if((a[(f&n)+8>>0]|0)!=0&(k|0)==0?(h=c[(w&p)>>2]|0,h=rc[c[((c[(h&p)>>2]|0)&p)+20>>2]&127](h,d[(f&n)+11>>0]|0)|0,(h|0)!=0):0)break a;t=c[(w&p)>>2]|0;h=f+80|0;h=tc[c[((c[(t&p)>>2]|0)&p)+12>>2]&31](t,u,12,c[(h&p)>>2]|0,c[(h&p)+4>>2]|0)|0;if(h)break a}else k=q&1024;if((k|0)==0?(u=c[(w&p)>>2]|0,x=a[(f&n)+11>>0]|0,x=rc[c[((c[(u&p)>>2]|0)&p)+20>>2]&127](u,(x<<24>>24==3?16:0)|x&255)|0,(x|0)!=0):0){h=x;break a}s=f+72|0;t=c[(s&p)+4>>2]|0;u=f+80|0;c[(u&p)>>2]=c[(s&p)>>2];c[(u&p)+4>>2]=t;if((g|0)==0|v^1)break;c[(f&p)+44>>2]=0;h=So(f)|0;if(!h)break;else break a}t=f+72|0;u=c[(t&p)+4>>2]|0;v=f+80|0;c[(v&p)>>2]=c[(t&p)>>2];c[(v&p)+4>>2]=u}while(0);k=c[(f&p)+204>>2]|0;h=c[(k&p)>>2]|0;if(h)do{v=h+24|0;b[(v&o)>>1]=e[(v&o)>>1]&65531;h=c[(h&p)+32>>2]|0}while((h|0)!=0);c[(k&p)+8>>2]=c[(k&p)+4>>2];a[(f&n)+16>>0]=4;h=0}else h=k;while(0);i=y;return h|0}function Al(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))fa();l=y;x=d+60|0;g=c[(x&p)>>2]|0;if(!((c[(g&p)>>2]|0)==0?(f=c[(d&p)>>2]|0,f=tc[c[(f&p)+24>>2]&31](f,0,g,c[(d&p)+144>>2]&556897|30,0)|0,(f|0)!=0):0)){g=d+36|0;f=c[(g&p)>>2]|0;h=d+24|0;k=c[(h&p)>>2]|0;do if(f>>>0<k>>>0){if((c[(e&p)+12>>2]|0)==0?(c[(e&p)+20>>2]|0)>>>0<=f>>>0:0)break;q=c[(d&p)+152>>2]|0;q=sw(k|0,0,q|0,((q|0)<0)<<31>>31|0)|0;r=l;c[(r&p)>>2]=q;c[(r&p)+4>>2]=G;r=c[(x&p)>>2]|0;ac[c[((c[(r&p)>>2]|0)&p)+40>>2]&63](r,5,l)|0;c[(g&p)>>2]=c[(h&p)>>2]}while(0);if(!e)f=0;else{s=d+24|0;t=d+152|0;u=d+104|0;v=d+32|0;w=d+192|0;r=d+88|0;do{q=c[(e&p)+20>>2]|0;if(q>>>0<=(c[(s&p)>>2]|0)>>>0?(b[(e&o)+24>>1]&32)==0:0){l=c[(t&p)>>2]|0;d=sw(l|0,((l|0)<0)<<31>>31|0,q+-1|0,0)|0;k=G;h=(q|0)==1;if(h){yl(e);l=c[(t&p)>>2]|0}m=e+4|0;g=c[(m&p)>>2]|0;f=c[(x&p)>>2]|0;f=tc[c[((c[(f&p)>>2]|0)&p)+12>>2]&31](f,g,l,d,k)|0;if(h){d=u+0|0;l=g+24|0;k=d+16|0;do{a[(d&n)>>0]=a[(l&n)>>0]|0;d=d+1|0;l=l+1|0}while((d|0)<(k|0))}if(q>>>0>(c[(v&p)>>2]|0)>>>0)c[(v&p)>>2]=q;c[(w&p)>>2]=(c[(w&p)>>2]|0)+1;ap(c[(r&p)>>2]|0,q,c[(m&p)>>2]|0)}else f=0;e=c[(e&p)+12>>2]|0}while((f|0)==0&(e|0)!=0)}}i=y;return f|0}function Bl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))fa();m=s;o=b+60|0;f=c[(o&p)>>2]|0;g=c[(f&p)>>2]|0;do if((g|0)!=0?((a[(b&n)+16>>0]|0)+-1&255)>2:0){q=c[(b&p)+152>>2]|0;g=rc[c[(g&p)+24>>2]&127](f,m)|0;h=((q|0)<0)<<31>>31;k=sw(q|0,h|0,d|0,0)|0;l=G;if(!g){f=m;g=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0;if((g|0)==(k|0)&(f|0)==(l|0))e=0;else{if(!((f|0)>(l|0)|(f|0)==(l|0)&g>>>0>k>>>0)){m=jw(g|0,f|0,q|0,h|0)|0;g=G;if(!((g|0)>(l|0)|(g|0)==(l|0)&m>>>0>k>>>0)){r=c[(b&p)+200>>2]|0;fw(r|0,0,q|0)|0;o=c[(o&p)>>2]|0;e=dw(k|0,l|0,q|0,h|0)|0;e=tc[c[((c[(o&p)>>2]|0)&p)+12>>2]&31](o,r,q,e,G)|0;r=9}}else{e=c[(o&p)>>2]|0;e=ac[c[((c[(e&p)>>2]|0)&p)+16>>2]&63](e,k,l)|0;r=9}if((r|0)==9?(e|0)!=0:0)break;c[(b&p)+32>>2]=d;e=0}}else e=g}else e=0;while(0);i=s;return e|0} 9 function Cl(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))fa();o=s;r=b+16|0;if((d[(r&n)>>0]|0)<2?(d[(b&n)+17>>0]|0)<2:0)g=0;else{cp(b);q=b+64|0;l=c[(q&p)>>2]|0;h=c[(l&p)>>2]|0;do if(!h)h=0;else{if((h|0)==14696){Gi(l,0,0)|0;c[(l&p)>>2]=0;h=0;break}k=a[(b&n)+5>>0]|0;if(k<<24>>24==3){k=b+72|0;o=k;if(!((c[(o&p)>>2]|0)==0&(c[(o&p)+4>>2]|0)==0)){h=ac[c[(h&p)+16>>2]&63](l,0,0)|0;if(!h)if(!(a[(b&n)+8>>0]|0))h=0;else{h=c[(q&p)>>2]|0;h=rc[c[((c[(h&p)>>2]|0)&p)+20>>2]&127](h,d[(b&n)+11>>0]|0)|0}}else h=0;q=k;c[(q&p)>>2]=0;c[(q&p)+4>>2]=0;break}else if(k<<24>>24!=1?(a[(b&n)+4>>0]|0)==0|k<<24>>24==5:0){q=(a[(b&n)+12>>0]|0)==0;lc[c[(h&p)+4>>2]&127](l)|0;c[(l&p)>>2]=0;if(!q){h=0;break}h=c[(b&p)>>2]|0;h=ac[c[(h&p)+28>>2]&63](h,c[(b&p)+172>>2]|0,0)|0;break}m=b+72|0;k=m;if(!((c[(k&p)>>2]|0)==0&(c[(k&p)+4>>2]|0)==0)){g=b+160|0;k=c[(g&p)>>2]|0;g=c[(g&p)+4>>2]|0;if((e|0)!=0|(k|0)==0&(g|0)==0)h=ac[c[(h&p)+16>>2]&63](l,0,0)|0;else h=tc[c[(h&p)+12>>2]&31](l,14664,28,0,0)|0;if(!h){if(!(a[(b&n)+7>>0]|0)){h=c[(q&p)>>2]|0;h=rc[c[((c[(h&p)>>2]|0)&p)+20>>2]&127](h,d[(b&n)+11>>0]|16)|0}else h=0;if((h|0)==0&((g|0)>0|(g|0)==0&k>>>0>0)){h=c[(q&p)>>2]|0;h=rc[c[((c[(h&p)>>2]|0)&p)+24>>2]&127](h,o)|0;l=c[(o&p)+4>>2]|0;if((h|0)==0&((l|0)>(g|0)|((l|0)==(g|0)?(c[(o&p)>>2]|0)>>>0>k>>>0:0))){h=c[(q&p)>>2]|0;h=ac[c[((c[(h&p)>>2]|0)&p)+16>>2]&63](h,k,g)|0}}}}else h=0;q=m;c[(q&p)>>2]=0;c[(q&p)+4>>2]=0}while(0);k=b+56|0;ei(c[(k&p)>>2]|0);c[(k&p)>>2]=0;c[(b&p)+44>>2]=0;k=b+204|0;g=c[(k&p)>>2]|0;e=c[(g&p)>>2]|0;if(e){do{xl(e);e=c[(g&p)>>2]|0}while((e|0)!=0);g=c[(k&p)>>2]|0}k=b+24|0;dp(g,c[(k&p)>>2]|0);l=b+208|0;g=c[(l&p)>>2]|0;if(!g){if((h|0)==0&(f|0)!=0){g=c[(k&p)>>2]|0;if((c[(b&p)+32>>2]|0)>>>0>g>>>0)h=Bl(b,g)|0;else h=0}}else{e=g+44|0;if(a[(e&n)>>0]|0){if(!(a[(g&n)+43>>0]|0)){q=c[(g&p)+4>>2]|0;pc[c[((c[(q&p)>>2]|0)&p)+56>>2]&31](q,0,1,9)|0}a[(e&n)>>0]=0;a[(g&n)+47>>0]=0}}if((h|0)==0&(f|0)!=0){g=c[(b&p)+60>>2]|0;h=c[(g&p)>>2]|0;if(!h)k=0;else{k=ac[c[(h&p)+40>>2]&63](g,22,0)|0;k=(k|0)==12?0:k}}else k=h;do if(!(a[(b&n)+4>>0]|0)){g=c[(l&p)>>2]|0;if((g|0)!=0?(ep(g,0)|0)==0:0){g=0;break}h=c[(b&p)+60>>2]|0;g=c[(h&p)>>2]|0;if(g){if(!(a[(b&n)+13>>0]|0))g=rc[c[(g&p)+32>>2]&127](h,1)|0;else g=0;h=b+17|0;if((a[(h&n)>>0]|0)!=5)a[(h&n)>>0]=1}else g=0;a[(b&n)+18>>0]=0}else g=0;while(0);a[(r&n)>>0]=1;a[(b&n)+19>>0]=0;g=(k|0)==0?g:k}i=s;return g|0}function Dl(d){d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=c[(d&p)+4>>2]|0;g=c[(d&p)>>2]|0;a[(j&n)+19>>0]=0;k=d+8|0;do if(a[(k&n)>>0]|0){if((c[(g&p)+152>>2]|0)>1){g=j+76|0;if((c[(g&p)>>2]|0)==(d|0)?(c[(g&p)>>2]=0,f=j+22|0,b[(f&o)>>1]=e[(f&o)>>1]&65439,f=c[(j&p)+72>>2]|0,(f|0)!=0):0)do{a[(f&n)+8>>0]=1;f=c[(f&p)+12>>2]|0}while((f|0)!=0);a[(k&n)>>0]=1;break}g=j+72|0;f=c[(g&p)>>2]|0;a:do if(f)do while(1){h=f+12|0;i=c[(h&p)>>2]|0;if((c[(f&p)>>2]|0)!=(d|0)){g=h;f=i;break}c[(g&p)>>2]=i;if((c[(f&p)+4>>2]|0)==1)f=i;else{Wc(f);f=c[(g&p)>>2]|0}if(!f)break a}while((f|0)!=0);while(0);f=j+76|0;if((c[(f&p)>>2]|0)!=(d|0)){f=c[(j&p)+40>>2]|0;if((f|0)==2){i=j+22|0;b[(i&o)>>1]=e[(i&o)>>1]&65471;c[(j&p)+40>>2]=1;i=20;break}}else{c[(f&p)>>2]=0;f=j+22|0;b[(f&o)>>1]=e[(f&o)>>1]&65439;f=c[(j&p)+40>>2]|0}f=f+-1|0;c[(j&p)+40>>2]=f;if(!f){a[(j&n)+20>>0]=0;i=20}else i=20}else i=20;while(0);if(((i|0)==20?(a[(k&n)>>0]=0,(a[(j&n)+20>>0]|0)==0):0)?(l=j+12|0,m=c[(l&p)>>2]|0,(m|0)!=0):0){c[(l&p)>>2]=0;Bg(c[(m&p)+68>>2]|0)}return}function El(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=((c[(a&p)+36>>2]|0)>>>0)/5|0;if(b>>>0<2){e=0;g=c[(a&p)+32>>2]|0;i=c[2514]|0}else{e=b+-2|0;e=e-((e>>>0)%((h+1|0)>>>0)|0)|0;i=c[2514]|0;g=c[(a&p)+32>>2]|0;e=((e+1|0)==((i>>>0)/(g>>>0)|0|0)?3:2)+e|0}e=b-d-(((d-b+h+e|0)>>>0)/(h>>>0)|0)|0;f=a+32|0;a=((i>>>0)/(g>>>0)|0)+1|0;d=((i>>>0)/(g>>>0)|0)+1|0;a=((a>>>0<b>>>0&e>>>0<a>>>0)<<31>>31)+e|0;while(1){if(a>>>0<2)e=0;else{e=a+-2|0;e=e-((e>>>0)%((h+1|0)>>>0)|0)|0;e=((e+1|0)==((i>>>0)/((c[(f&p)>>2]|0)>>>0)|0|0)?3:2)+e|0}if(!((e|0)==(a|0)|(a|0)==(d|0)))break;a=a+-1|0}return a|0}function Fl(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=(d|0)==0;f=b;a:while(1){do if((f|0)!=(e|0)){if(!g?(c[(f&p)+60>>2]|0)!=(d|0):0)break;if(((a[(f&n)+73>>0]|0)+-1&255)<2){b=fp(f)|0;if(!b)break;else break a}else{gp(f);break}}while(0);f=c[(f&p)+8>>2]|0;if(!f){b=0;break}}return b|0}function Gl(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+48|0;if((i|0)>=(j|0))fa();k=x;m=x+32|0;u=x+28|0;l=x+24|0;q=x+20|0;s=x+16|0;v=x+12|0;t=x+8|0;if(f>>>0<2)o=0;else{o=f+-2|0;o=o-((o>>>0)%(((((c[(b&p)+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;o=((o+1|0)==(((c[2514]|0)>>>0)/((c[(b&p)+32>>2]|0)>>>0)|0|0)?3:2)+o|0}do if((o|0)!=(f|0)?((((c[2514]|0)>>>0)/((c[(b&p)+32>>2]|0)>>>0)|0)+1|0)!=(f|0):0){r=c[((c[(b&p)+12>>2]|0)&p)+56>>2]|0;if((d[(r&n)+37>>0]|0)<<16|(d[(r&n)+36>>0]|0)<<24|(d[(r&n)+38>>0]|0)<<8|(d[(r&n)+39>>0]|0)){h=hp(b,f,m,u)|0;if(!h){r=a[(m&n)>>0]|0;if(r<<24>>24==2){if(g){h=0;break}h=ip(b,q,l,f,1)|0;if(h)break;k=c[(q&p)>>2]|0;if(!k){w=24;break}Bg(c[(k&p)+68>>2]|0);w=24;break}else if(r<<24>>24!=1){h=dl(b,f,v,0)|0;if(h)break;k=(g|0)==0;m=k?2:0;k=k?e:0;l=(g|0)!=0;do{h=ip(b,t,s,k,m)|0;if(h){w=16;break}o=c[(t&p)>>2]|0;if(o)Bg(c[(o&p)+68>>2]|0);o=c[(s&p)>>2]|0}while(l&o>>>0>e>>>0);if((w|0)==16){k=c[(v&p)>>2]|0;if(!k)break;Bg(c[(k&p)+68>>2]|0);break}m=c[(v&p)>>2]|0;h=Zm(b,m,r,c[(u&p)>>2]|0,o,g)|0;if(m)Bg(c[(m&p)+68>>2]|0);if(!h){w=24;break}else break}else{c[(k&p)>>2]=56228;c[(k&p)+4>>2]=10788;bd(11,13600,k);h=11;break}}}else h=101}else w=24;while(0);if((w|0)==24)if(!g){l=((c[2514]|0)>>>0)/((c[(b&p)+32>>2]|0)>>>0)|0;m=l+1|0;o=b+36|0;k=f;while(1){h=k+-1|0;if((h|0)==(m|0)){k=h;continue}if(h>>>0<2)k=0;else{k=k+-3|0;k=k-((k>>>0)%(((((c[(o&p)>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;k=((k+1|0)==(l|0)?3:2)+k|0}if((k|0)==(h|0))k=h;else break}a[(b&n)+19>>0]=1;c[(b&p)+44>>2]=h;h=0}else h=0;i=x;return h|0}function Hl(b){b=b|0;var e=0,f=0,g=0;g=b+16|0;f=a[(g&n)>>0]|0;a:do if(f<<24>>24!=6)if((f&255)>=2){do if(!(c[(b&p)+208>>2]|0)){if(!(f<<24>>24==2?1:(c[(c[(b&p)+64>>2]&p)>>2]|0)==0)){e=Ko(b,0)|0;break}e=Cl(b,0,0)|0;if((a[(b&n)+15>>0]|0)==0&(f&255)>2){c[(b&p)+40>>2]=4;a[(g&n)>>0]=6;break a}}else{e=jp(b,2,-1)|0;f=Cl(b,d[(b&n)+19>>0]|0,0)|0;e=(e|0)==0?f:e}while(0);f=e&255;if((f|0)==10|(f|0)==13){c[(b&p)+40>>2]=e;a[(g&n)>>0]=6}}else e=0;else e=c[(b&p)+40>>2]|0;while(0);return e|0}function Il(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;a:do if((d|0)!=0?(h=c[(d&p)+4>>2]|0,c[(h&p)+4>>2]=c[(d&p)>>2],h=c[(h&p)+8>>2]|0,(h|0)!=0):0){l=(f|0)==0;while(1){if(!l?(a[(h&n)+72>>0]&1)==0:0){if(((a[(h&n)+73>>0]|0)+-1&255)<2?(g=fp(h)|0,(g|0)!=0):0)break}else{f=h+56|0;Wc(c[(f&p)>>2]|0);c[(f&p)>>2]=0;a[(h&n)+73>>0]=4;c[(h&p)+68>>2]=e}f=h+76|0;if((b[(f&o)>>1]|0)>=0){k=0;while(1){i=h+(k<<2)+120|0;j=c[(i&p)>>2]|0;if(j)Bg(c[(j&p)+68>>2]|0);c[(i&p)>>2]=0;if((k|0)<(b[(f&o)>>1]|0))k=k+1|0;else break}}h=c[(h&p)+8>>2]|0;if(!h)break a}Il(d,g,0)|0;return g|0}while(0);return 0}function Jl(a){a=a|0;var b=0,d=0,e=0;a:do if(!(c[(a&p)+4>>2]|0)){d=c[(a&p)+20>>2]|0;if((d|0)>0){a=c[(a&p)+16>>2]|0;b=0;while(1){e=c[(a+(b<<4)&p)+4>>2]|0;if((e|0)!=0?(c[(e&p)+16>>2]|0)!=0:0){a=1;break a}b=b+1|0;if((b|0)>=(d|0)){a=0;break}}}else a=0}else a=1;while(0);return a|0}function Kl(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=c[3164]|0;if(f)nc[f&3]();l=d+20|0;j=c[(l&p)>>2]|0;i=(j|0)>0;if(i){f=c[(d&p)+16>>2]|0;h=0;do{g=c[(f+(h<<4)&p)+4>>2]|0;if(g)c[((c[(g&p)+4>>2]|0)&p)+4>>2]=c[(g&p)>>2];h=h+1|0}while((h|0)!=(j|0))}m=d+24|0;if(!(c[(m&p)>>2]&2))f=1;else f=(a[(d&n)+145>>0]|0)!=0;if(i){k=d+16|0;f=f&1;i=j;j=0;h=0;while(1){g=c[((c[(k&p)>>2]|0)+(j<<4)&p)+4>>2]|0;if(!g)g=i;else{h=(a[(g&n)+8>>0]|0)==2?1:h;Lg(g,e,f);g=c[(l&p)>>2]|0}j=j+1|0;if((j|0)>=(g|0))break;else i=g}}else h=0;Rn(d,68);f=c[3166]|0;if(f)nc[f&3]();f=c[(m&p)>>2]|0;if((f&2|0)!=0?(a[(d&n)+145>>0]|0)==0:0){f=c[(d&p)+4>>2]|0;if(f)do{g=f+88|0;b[(g&o)>>1]=b[(g&o)>>1]|8;f=c[(f&p)+52>>2]|0}while((f|0)!=0);Eg(d);f=c[(m&p)>>2]|0}g=d+504|0;c[(g&p)>>2]=0;c[(g&p)+4>>2]=0;c[(g&p)+8>>2]=0;c[(g&p)+12>>2]=0;c[(m&p)>>2]=f&-16777217;f=c[(d&p)+204>>2]|0;do if(f){if((h|0)==0?(a[(d&n)+63>>0]|0)!=0:0)break;cc[f&31](c[(d&p)+200>>2]|0)}while(0);return}function Ll(b){b=b|0;var d=0,e=0;e=b+488|0;d=c[(e&p)>>2]|0;if(d)do{c[(e&p)>>2]=c[(d&p)+24>>2];mg(b,d);d=c[(e&p)>>2]|0}while((d|0)!=0);c[(b&p)+496>>2]=0;c[(b&p)+500>>2]=0;a[(b&n)+70>>0]=0;return}function Ml(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=c[(b&p)+4>>2]|0;c[(h&p)+4>>2]=c[(b&p)>>2];e=c[(h&p)+8>>2]|0;if(e)do{d=e;e=c[(e&p)+8>>2]|0;if((c[(d&p)>>2]|0)==(b|0))kp(d)}while((e|0)!=0);Lg(b,0,0);a:do if(a[(b&n)+9>>0]|0){e=h+64|0;d=c[(e&p)>>2]|0;c[(e&p)>>2]=d+-1;if((d|0)<2){d=c[3664]|0;if((d|0)==(h|0)){c[3664]=c[(h&p)+68>>2];f=12;break}else e=d;do{if(!e){f=12;break a}d=e+68|0;e=c[(d&p)>>2]|0}while((e|0)!=(h|0));c[(d&p)>>2]=c[(h&p)+68>>2];f=12}}else f=12;while(0);if((f|0)==12){lp(c[(h&p)>>2]|0);d=c[(h&p)+52>>2]|0;e=h+48|0;if((d|0)!=0?(g=c[(e&p)>>2]|0,(g|0)!=0):0)cc[d&31](g);d=c[(e&p)>>2]|0;if(d)Wc(d);d=h+80|0;e=c[(d&p)>>2]|0;if(e){e=e+-4|0;c[(d&p)>>2]=e;$k(e);c[(d&p)>>2]=0}Wc(h)}e=c[(b&p)+28>>2]|0;d=b+24|0;if(e)c[(e&p)+24>>2]=c[(d&p)>>2];d=c[(d&p)>>2]|0;if(d)c[(d&p)+28>>2]=e;Wc(b);return}function Nl(a,b){a=a|0;b=b|0;var d=0;b=c[(b&p)+32>>2]|0;if((b|0)!=0?(d=(c[(b&p)>>2]|0)+-1|0,c[(b&p)>>2]=d,(d|0)==0):0){cc[c[(b&p)+4>>2]&31](c[(b&p)+8>>2]|0);mg(a,b)}return}function Ol(a){a=a|0;var b=0,d=0;d=a+8|0;b=c[(d&p)>>2]|0;c[(d&p)>>2]=0;d=a+12|0;Wc(c[(d&p)>>2]|0);c[(d&p)>>2]=0;c[(a&p)>>2]=0;if(b)do{d=b;b=c[(b&p)>>2]|0;Wc(d)}while((b|0)!=0);c[(a&p)+4>>2]=0;return}function Pl(a){a=a|0;var b=0,d=0,e=0,f=0;if(a){e=c[(a&p)>>2]|0;lg(e,a);f=c[(a&p)+48>>2]|0;d=a+52|0;b=c[(d&p)>>2]|0;if(!f)c[(e&p)+4>>2]=b;else{c[(f&p)+52>>2]=b;b=c[(d&p)>>2]|0}if(b)c[(b&p)+48>>2]=f;c[(a&p)+40>>2]=-1241070648;c[(a&p)>>2]=0;mg(e,a)}return}function Ql(d){d=d|0;var e=0;a[(d&n)+65>>0]=0;c[(d&p)+52>>2]=7;d=c[(d&p)+236>>2]|0;do if(d){e=d+8|0;if(!(b[(e&o)>>1]&9312)){b[(e&o)>>1]=1;break}else{vg(d);break}}while(0);return}function Rl(d){d=d|0;var f=0,g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0;I=i;i=i+32|0;if((i|0)>=(j|0))fa();x=I;A=I+16|0;t=I+12|0;u=I+8|0;H=c[(d&p)>>2]|0;if(a[(H&n)+65>>0]|0)c[(d&p)+80>>2]=7;g=c[(d&p)+200>>2]|0;if(g)fw(g|0,0,c[(d&p)+196>>2]|0)|0;k=d+176|0;g=c[(k&p)>>2]|0;if(g){while(1){h=c[(g&p)+4>>2]|0;if(!h)break;else g=h}Xl(g)|0;c[(k&p)>>2]=0;c[(d&p)+184>>2]=0}r=d+56|0;g=c[(r&p)>>2]|0;a:do if((g|0)!=0?(s=d+36|0,f=c[(s&p)>>2]|0,(f|0)>0):0){k=0;while(1){h=c[(g+(k<<2)&p)>>2]|0;if(!h)h=f;else{Bm(d,h);c[((c[(r&p)>>2]|0)+(k<<2)&p)>>2]=0;h=c[(s&p)>>2]|0}k=k+1|0;if((k|0)>=(h|0))break a;g=c[(r&p)>>2]|0;f=h}}while(0);g=c[(d&p)+8>>2]|0;if(g)ch(g+40|0,c[(d&p)+28>>2]|0);s=d+180|0;g=c[(s&p)>>2]|0;if(g)do{c[(s&p)>>2]=c[(g&p)+4>>2];r=g+80|0;f=g+60|0;h=c[(f&p)>>2]|0;m=r+(h*40|0)|0;q=g+64|0;if((c[(q&p)>>2]|0)>0){k=0;do{Bm(c[(g&p)>>2]|0,c[(m+(k<<2)&p)>>2]|0);k=k+1|0}while((k|0)<(c[(q&p)>>2]|0));h=c[(f&p)>>2]|0}ch(r,h);mg(c[(c[(g&p)>>2]&p)>>2]|0,g);g=c[(s&p)>>2]|0}while((g|0)!=0);if(c[(d&p)+204>>2]|0)em(d,-1,0);E=d+40|0;b:do if((c[(E&p)>>2]|0)==-1108210269){C=d+76|0;if((c[(C&p)>>2]|0)>-1){D=d+88|0;q=b[(D&o)>>1]|0;if(q&128){B=d+80|0;k=c[(B&p)>>2]|0;m=k&255;h=m+-7|0;do if(h>>>0<7?(l=(77>>>(h&127)&1)!=0,l):0)if((q&64)==0|(m|0)!=9){if((m|0)==7|(m|0)==13?(q&32)!=0:0){f=2;break}Kl(H,516);Ll(H);a[(H&n)+63>>0]=1;c[(d&p)+92>>2]=0;k=c[(B&p)>>2]|0;f=0}else{l=1;f=0}else{l=0;f=0}while(0);if((k|0)==0?(z=d+144|0,y=c[(z&p)+4>>2]|0,(y|0)>0|(y|0)==0&(c[(z&p)>>2]|0)>>>0>0):0){z=c[(d&p)>>2]|0;c[(B&p)>>2]=787;a[(d&n)+86>>0]=2;dh(d+44|0,z,34376,x)}m=H+304|0;if((c[(m&p)>>2]|0)>0?(c[(H&p)+328>>2]|0)==0:0)F=141;else if((a[(H&n)+63>>0]|0)!=0?(c[(H&p)+156>>2]|0)==(((e[(D&o)>>1]|0)>>>6&1^1)&65535|0):0){do if(!(c[(B&p)>>2]|0))F=41;else{if(!((a[(d&n)+86>>0]|0)!=3|l)){F=41;break}Kl(H,0);c[(d&p)+92>>2]=0}while(0);c:do if((F|0)==41){d:do if(tm(d,1)|0)if(!(b[(D&o)>>1]&64))g=787;else{f=1;break b}else{l=H+328|0;h=c[(l&p)>>2]|0;c[(l&p)>>2]=0;k=c[(m&p)>>2]|0;e:do if((k|0)>0){q=0;f:while(1){s=c[((c[(h+(q<<2)&p)>>2]|0)&p)+8>>2]|0;do if(s){r=c[((c[(s&p)>>2]|0)&p)+60>>2]|0;if(!r)break;g=lc[r&127](s)|0;Mm(d,s);if(g)break f;k=c[(m&p)>>2]|0}while(0);q=q+1|0;if((q|0)>=(k|0)){F=50;break e}}c[(l&p)>>2]=h;F=135}else F=50;while(0);g:do if((F|0)==50){c[(l&p)>>2]=h;y=H+20|0;z=H+16|0;r=0;k=0;q=0;h:while(1){m=c[(y&p)>>2]|0;if((r|0)>=(m|0)){h=k;break}l=c[(z&p)>>2]|0;s=r;while(1){r=c[(l+(s<<4)&p)+4>>2]|0;if((r|0)!=0?(a[(r&n)+8>>0]|0)==2:0)break;s=s+1|0;if((s|0)>=(m|0)){h=k;break h}}g=c[(r&p)+4>>2]|0;c[(g&p)+4>>2]=c[(r&p)>>2];g=bp(c[(g&p)>>2]|0)|0;if(!g){r=s+1|0;k=((s|0)!=1&1)+k|0;q=1}else{F=135;break g}}do if(q){l=c[(H&p)+196>>2]|0;if(!l)break;if(lc[l&127](c[(H&p)+192>>2]|0)|0){g=531;break d}}while(0);k=c[((c[(z&p)>>2]|0)&p)+4>>2]|0;q=c[(c[(k&p)+4>>2]&p)>>2]|0;m=(a[(q&n)+15>>0]|0)==0;if(m){s=c[(q&p)+168>>2]|0;if(s)F=62}else{s=10360;F=62}do if((F|0)==62){r=s;while(1)if(!(a[(r&n)>>0]|0))break;else r=r+1|0;if((r-s&1073741823|0)==0|(h|0)<2)break;w=c[(H&p)>>2]|0;if(m){l=c[(q&p)+168>>2]|0;c[(A&p)>>2]=0;if(!l){s=0;l=0}else F=80}else{c[(A&p)>>2]=0;l=10360;F=80}if((F|0)==80){q=l;while(1)if(!(a[(q&n)>>0]|0))break;else q=q+1|0;s=q-l&1073741823}c[(x&p)>>2]=l;v=uh(H,44696,x)|0;if(!v){g=7;break d}s=v+s|0;r=w+32|0;q=0;i:while(1){do if(q){if((q|0)>100){F=87;break i}if((q|0)!=1)break;c[(x&p)>>2]=v;bd(13,44728,x)}while(0);cd(4,u);g=c[(u&p)>>2]|0;c[(x&p)>>2]=g>>>8;c[(x&p)+4>>2]=g&255;ad(13,s,44744,x)|0;g=pc[c[(r&p)>>2]&31](w,v,0,t)|0;m=(g|0)==0;if(m&(c[(t&p)>>2]|0)!=0)q=q+1|0;else{F=91;break}}if((F|0)==87){c[(x&p)>>2]=v;bd(13,44712,x);ac[c[(w&p)+28>>2]&63](w,v,0)|0;F=92}else if((F|0)==91)if(m)F=92;do if((F|0)==92){g=mp(w,v,A,16406,0)|0;if(g)break;l=c[(y&p)>>2]|0;j:do if((l|0)>0){t=0;r=0;u=0;q=0;k:while(1){s=c[((c[(z&p)>>2]|0)+(u<<4)&p)+4>>2]|0;do if(!s)s=t;else{if((a[(s&n)+8>>0]|0)!=2){s=t;break}m=c[(s&p)+4>>2]|0;k=c[(m&p)>>2]|0;h=c[(k&p)+172>>2]|0;if(!h){s=t;break}if(!q){c[(m&p)+4>>2]=c[(s&p)>>2];q=(a[(k&n)+7>>0]|0)==0&1}k=c[(A&p)>>2]|0;s=h;while(1)if(!(a[(s&n)>>0]|0))break;else s=s+1|0;m=h;g=tc[c[((c[(k&p)>>2]|0)&p)+12>>2]&31](k,h,(s-m&1073741823)+1|0,t,r)|0;s=h;while(1)if(!(a[(s&n)>>0]|0))break;else s=s+1|0;if(g){l=k;F=106;break k}s=jw((s-m&1073741823)+1|0,0,t|0,r|0)|0;l=c[(y&p)>>2]|0;r=G}while(0);u=u+1|0;if((u|0)>=(l|0))break;else t=s}if((F|0)==106){h=c[(l&p)>>2]|0;if(h){lc[c[(h&p)+4>>2]&127](k)|0;c[(l&p)>>2]=0}Wc(k);ac[c[(w&p)+28>>2]&63](w,v,0)|0;mg(H,v);F=135;break g}do if(!q)q=0;else{m=c[(A&p)>>2]|0;if((lc[c[((c[(m&p)>>2]|0)&p)+48>>2]&127](m)|0)&1024)break;g=rc[c[((c[(m&p)>>2]|0)&p)+20>>2]&127](m,2)|0;if(!g)break;h=c[(m&p)>>2]|0;if(h){lc[c[(h&p)+4>>2]&127](m)|0;c[(m&p)>>2]=0}Wc(m);ac[c[(w&p)+28>>2]&63](w,v,0)|0;mg(H,v);F=135;break g}while(0);k=c[(y&p)>>2]|0;if((k|0)>0)s=0;else{s=1;g=0;break}while(1){m=c[((c[(z&p)>>2]|0)+(s<<4)&p)+4>>2]|0;if(m){g=Kg(m,v)|0;if(g){s=0;break j}k=c[(y&p)>>2]|0}s=s+1|0;if((s|0)>=(k|0)){s=1;g=0;break}}}else{s=1;q=0;g=0}while(0);m=c[(A&p)>>2]|0;l=c[(m&p)>>2]|0;if(l){lc[c[(l&p)+4>>2]&127](m)|0;c[(m&p)>>2]=0}Wc(m);if(!s){mg(H,v);F=135;break g}g=ac[c[(w&p)+28>>2]&63](w,v,q)|0;mg(H,v);if(g){F=135;break g}g=c[3164]|0;if(g)nc[g&3]();g=c[(y&p)>>2]|0;if((g|0)>0){k=0;do{h=c[((c[(z&p)>>2]|0)+(k<<4)&p)+4>>2]|0;if(h){Jg(h,1)|0;g=c[(y&p)>>2]|0}k=k+1|0}while((k|0)<(g|0))}g=c[3166]|0;if(g)nc[g&3]();Rn(H,64);break g}while(0);mg(H,v);F=135;break g}while(0);g=c[(y&p)>>2]|0;do if((g|0)>0){h=1;while(1){if(k){g=Kg(k,0)|0;if(g){F=135;break g}g=c[(y&p)>>2]|0}if((h|0)>=(g|0))break;k=c[((c[(z&p)>>2]|0)+(h<<4)&p)+4>>2]|0;h=h+1|0}if((g|0)>0)k=0;else break;do{h=c[((c[(z&p)>>2]|0)+(k<<4)&p)+4>>2]|0;if(h){g=Jg(h,0)|0;if(g){F=135;break g}g=c[(y&p)>>2]|0}k=k+1|0}while((k|0)<(g|0))}while(0);Rn(H,64)}while(0);do if((F|0)==135){if(!g)break;else if((g|0)!=5)break d;if(!(b[(D&o)>>1]&64)){g=5;break d}else{f=5;break b}}while(0);A=H+504|0;F=H+24|0;c[(A&p)>>2]=0;c[(A&p)+4>>2]=0;c[(A&p)+8>>2]=0;c[(A&p)+12>>2]=0;c[(F&p)>>2]=c[(F&p)>>2]&-16777219;break c}while(0);c[(B&p)>>2]=g;Kl(H,0);c[(d&p)+92>>2]=0}while(0);c[(H&p)+500>>2]=0;F=146}else F=141;do if((F|0)==141)if(!f)if(c[(B&p)>>2]|0){g=a[(d&n)+86>>0]|0;if(g<<24>>24==2){f=2;F=147;break}else if(g<<24>>24==3){f=1;F=147;break}else{Kl(H,516);Ll(H);a[(H&n)+63>>0]=1;c[(d&p)+92>>2]=0;F=146;break}}else{f=1;F=147}else F=147;while(0);if((F|0)==146)if(!f)f=0;else F=147;if((F|0)==147){g=$l(d,f)|0;if(g){F=c[(B&p)>>2]|0;if((F|0)==0|(F&255|0)==19){c[(B&p)>>2]=g;F=d+44|0;mg(H,c[(F&p)>>2]|0);c[(F&p)>>2]=0}Kl(H,516);Ll(H);a[(H&n)+63>>0]=1;c[(d&p)+92>>2]=0}}if(b[(D&o)>>1]&4){if((f|0)==2){c[(H&p)+80>>2]=0;f=d+92|0}else{f=d+92|0;B=c[(f&p)>>2]|0;c[(H&p)+80>>2]=B;F=H+84|0;c[(F&p)>>2]=(c[(F&p)>>2]|0)+B}c[(f&p)>>2]=0}}if((c[(C&p)>>2]|0)>-1){f=H+148|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+-1;f=b[(D&o)>>1]|0;if(!(f&64)){f=H+156|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+-1;f=b[(D&o)>>1]|0}if(f&128){F=H+152|0;c[(F&p)>>2]=(c[(F&p)>>2]|0)+-1}}}c[(E&p)>>2]=1369188723;f=d+80|0;if(!(a[((c[(d&p)>>2]|0)&n)+65>>0]|0)){f=(c[(f&p)>>2]|0)==5?5:0;break}else{c[(f&p)>>2]=7;f=0;break}}else f=0;while(0);i=I;return f|0}function Sl(a,f){a=a|0;f=f|0;var g=0,h=0,i=0,j=0;i=a+8|0;h=e[(i&o)>>1]|0;do if(h&18){b[(i&o)>>1]=h|2;if(h&16384)Rg(a)|0;g=a+10|0;f=f&255;h=f&247;if((d[(g&n)>>0]|0|0)!=(h|0))Yl(a,h)|0;if(((f&8|0)!=0?(c[(a&p)+16>>2]&1|0)!=0:0)?(Vl(a)|0)!=0:0){g=0;break}if((b[(i&o)>>1]&514)==2){am(a)|0;j=12}else j=12}else{bm(a,f,0)|0;h=f&247;g=a+10|0;j=12}while(0);if((j|0)==12)if((d[(g&n)>>0]|0|0)==(h|0))g=c[(a&p)+16>>2]|0;else g=0;return g|0}function Tl(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,i=0.0,j=0,k=0.0,l=0,m=0,o=0,p=0,r=0,s=0,t=0,u=0;h[(c&q)>>3]=0.0;j=f&255;if(f<<24>>24==1){f=b;g=e;r=1;u=0}else{g=3-j|0;a:do if((g|0)<(e|0))while(1){f=g+2|0;if(a[(b+g&n)>>0]|0){e=1;break a}if((f|0)<(e|0))g=f;else{e=0;g=f;break}}else e=0;while(0);f=b+(j&1)|0;g=j+-3+g|0;r=2;u=e}t=b+g|0;b:do if(f>>>0<t>>>0){while(1){g=a[(f&n)>>0]|0;if(!(a[(g&255&n)+10368>>0]&1))break;f=f+r|0;if(f>>>0>=t>>>0){f=0;break b}}if(g<<24>>24==45){f=f+r|0;s=-1}else if(g<<24>>24==43){f=f+r|0;s=1}else s=1;c:do if(f>>>0<t>>>0){g=0;do{if((a[(f&n)>>0]|0)!=48)break c;f=f+r|0;g=g+1|0}while(f>>>0<t>>>0)}else g=0;while(0);d:do if(f>>>0<t>>>0){b=0;j=0;while(1){e=a[(f&n)>>0]|0;if(!(((e&255)+-48|0)>>>0<10&((b|0)<214748364|(b|0)==214748364&j>>>0<3435973835))){l=b;break d}j=sw(j|0,b|0,10,0)|0;b=(e<<24>>24)+-48|0;j=jw(b|0,((b|0)<0)<<31>>31|0,j|0,G|0)|0;b=G;f=f+r|0;g=g+1|0;if(f>>>0>=t>>>0){l=b;break}}}else{j=0;l=0}while(0);e:do if(f>>>0<t>>>0){e=0;while(1){b=a[(f&n)>>0]|0;if(((b&255)+-48|0)>>>0>=10){m=e;break}f=f+r|0;g=g+1|0;b=e+1|0;if(f>>>0<t>>>0)e=b;else{o=l;m=b;b=0;l=1;e=1;break e}}f:do if(b<<24>>24==46){e=f+r|0;g:do if(e>>>0<t>>>0){o=e;while(1){b=a[(o&n)>>0]|0;if(!(((b&255)+-48|0)>>>0<10&((l|0)<214748364|(l|0)==214748364&j>>>0<3435973835))){e=o;o=l;break g}j=sw(j|0,l|0,10,0)|0;l=(b<<24>>24)+-48|0;j=jw(l|0,((l|0)<0)<<31>>31|0,j|0,G|0)|0;l=G;g=g+1|0;b=m+-1|0;e=f+(r<<1)|0;if(e>>>0<t>>>0){f=o;o=e;m=b}else{f=o;o=l;m=b;break}}}else o=l;while(0);if(e>>>0<t>>>0){l=r<<1;b=e;while(1){if(((d[(b&n)>>0]|0)+-48|0)>>>0>=10){e=b;break f}e=f+l|0;g=g+1|0;if(e>>>0<t>>>0){f=b;b=e}else break}}}else{e=f;o=l}while(0);if(e>>>0<t>>>0){p=a[(e&n)>>0]|0;h:do if(p<<24>>24==69|p<<24>>24==101){f=e+r|0;if(f>>>0>=t>>>0){b=0;l=0;e=1;break e}b=a[(f&n)>>0]|0;if(b<<24>>24==45){f=e+(r<<1)|0;p=-1}else if(b<<24>>24==43){f=e+(r<<1)|0;p=1}else p=1;if(f>>>0<t>>>0){e=0;l=0}else{b=0;l=0;e=p;break e}while(1){b=a[(f&n)>>0]|0;if(((b&255)+-48|0)>>>0>=10){b=e;e=p;break h}if((e|0)<1e4)b=(e*10|0)+-48+(b<<24>>24)|0;else b=1e4;f=f+r|0;if(f>>>0<t>>>0){e=b;l=1}else{l=1;e=p;break}}}else{f=e;b=0;l=1;e=1}while(0);if((g|0)!=0&(l|0)!=0&f>>>0<t>>>0)do{if(!(a[((d[(f&n)>>0]|0)&n)+10368>>0]&1))break e;f=f+r|0}while(f>>>0<t>>>0)}else{f=e;b=0;l=1;e=1}}else{o=l;m=0;b=0;l=1;e=1}while(0);b=(ca(b,e)|0)+m|0;p=(b|0)<0;e=p?0-b|0:b;do if((j|0)==0&(o|0)==0)if((s|0)<0)i=(g|0)!=0?-0.0:0.0;else i=0.0;else{if((b>>31|1|0)>0)if(((o|0)<214748364|(o|0)==214748364&j>>>0<3435973836)&(e|0)>0){b=o;do{e=e+-1|0;j=sw(j|0,b|0,10,0)|0;b=G}while(((b|0)<214748364|(b|0)==214748364&j>>>0<3435973836)&(e|0)>0)}else b=o;else{m=rw(j|0,o|0,10,0)|0;if((m|0)==0&(G|0)==0&(e|0)>0){b=o;do{e=e+-1|0;j=qw(j|0,b|0,10,0)|0;b=G;o=rw(j|0,b|0,10,0)|0}while((o|0)==0&(G|0)==0&(e|0)>0)}else b=o}o=(s|0)<0;m=dw(0,0,j|0,b|0)|0;m=o?m:j;o=o?G:b;if(!e){i=+(m>>>0)+4294967296.0*+(o|0);break}if((e+-308|0)>>>0<34){if(!((e|0)%308|0))k=1.0;else{i=1.0;do{i=i*10.0;e=e+-1|0}while(((e|0)%308|0|0)!=0);k=i}i=+(m>>>0)+4294967296.0*+(o|0);if(p){i=i/k/1.e+308;break}else{i=i*k*1.e+308;break}}if((e|0)>341){i=+(m>>>0)+4294967296.0*+(o|0);if(p){i=i*0.0;break}else{i=i*w;break}}if(!((e|0)%22|0)){j=e;i=1.0}else{j=e;i=1.0;do{i=i*10.0;j=j+-1|0}while(((j|0)%22|0|0)!=0)}if((j|0)>0){do{i=i*1.0e22;j=j+-22|0}while((j|0)>0);k=i}else k=i;i=+(m>>>0)+4294967296.0*+(o|0);if(p){i=i/k;break}else{i=i*k;break}}while(0);h[(c&q)>>3]=i;f=f>>>0>=t>>>0&(g|0)>0&(l|0)!=0&(u|0)==0&1}else f=0;while(0);return f|0}function Ul(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,q=0,r=0;i=f&255;if(f<<24>>24==1){g=b;h=e;o=1;e=0}else{h=3-i|0;a:do if((h|0)<(e|0))while(1){f=h+2|0;if(a[(b+h&n)>>0]|0){e=1;break a}if((f|0)<(e|0))h=f;else{e=0;h=f;break}}else e=0;while(0);g=b+(i&1)|0;h=i+-3+h|0;o=2}k=b+h|0;b:do if(g>>>0<k>>>0){while(1){h=a[(g&n)>>0]|0;if(!(a[(h&255&n)+10368>>0]&1))break;g=g+o|0;if(g>>>0>=k>>>0){l=0;break b}}if(h<<24>>24==45){g=g+o|0;l=1;break}else if(h<<24>>24==43){g=g+o|0;l=0;break}else{l=0;break}}else l=0;while(0);c:do if(g>>>0<k>>>0){h=g;while(1){if((a[(h&n)>>0]|0)!=48){m=h;break c}h=h+o|0;if(h>>>0>=k>>>0){m=h;break}}}else m=g;while(0);do if(m>>>0<k>>>0){b=m;j=0;i=0;h=0;while(1){f=a[(b&n)>>0]|0;if((f+-48&255)>=10){b=0;k=i;break}i=sw(j|0,i|0,10,0)|0;j=f<<24>>24;i=jw(i|0,G|0,-48,-1)|0;j=jw(i|0,G|0,j|0,((j|0)<0)<<31>>31|0)|0;i=G;h=h+o|0;b=m+h|0;if(b>>>0>=k>>>0){b=1;k=i;break}}i=f<<24>>24;f=(l|0)!=0;if((k|0)>=0)if(f){f=k;r=22;break}else{f=k;r=23;break}else{j=d;c[(j&p)>>2]=f?0:-1;c[(j&p)+4>>2]=f?-2147483648:2147483647;j=f?0:2;break}}else if(!l){b=1;j=0;f=0;i=0;h=0;r=23}else{b=1;j=0;f=0;i=0;h=0;r=22}while(0);if((r|0)==22){l=dw(0,0,j|0,f|0)|0;j=d;c[(j&p)>>2]=l;c[(j&p)+4>>2]=G;j=0}else if((r|0)==23){l=d;c[(l&p)>>2]=j;c[(l&p)+4>>2]=f;j=2}if(((i|0)==0|b?!((h|0)==0&(g|0)==(m|0)):0)?(q=o*19|0,!((h|0)>(q|0)|(e|0)!=0)):0)if((h|0)>=(q|0)){h=0;do{g=a[(m+(ca(h,o)|0)&n)>>0]|0;e=a[(h&n)+11192>>0]|0;h=h+1|0;f=g<<24>>24==e<<24>>24}while(f&(h|0)<18);if(f)g=(a[(m+(o*18|0)&n)>>0]|0)+-56|0;else g=((g<<24>>24)-(e<<24>>24)|0)*10|0;if((g|0)>=0)return ((g|0)>0?1:j)|0;else g=0}else g=0;else g=1;return g|0}function Vl(d){d=d|0;var f=0,g=0;g=d+8|0;f=b[(g&o)>>1]|0;if(f&16384){Rg(d)|0;f=b[(g&o)>>1]|0}do if(f&18){if((c[(d&p)+24>>2]|0)!=0?(c[(d&p)+16>>2]|0)==(c[(d&p)+20>>2]|0):0){f=0;break}f=d+12|0;if(!(eh(d,(c[(f&p)>>2]|0)+2|0,1)|0)){d=d+16|0;a[((c[(d&p)>>2]|0)+(c[(f&p)>>2]|0)&n)>>0]=0;a[((c[(d&p)>>2]|0)+(c[(f&p)>>2]|0)&n)+1>>0]=0;b[(g&o)>>1]=e[(g&o)>>1]|0|512;f=0}else f=7}else f=0;while(0);return f|0}function Wl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=ro(a,b,c,d)|0;if(!c)mg(a,b);return c|0}function Xl(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;d=c[(a&p)>>2]|0;c[(d&p)+200>>2]=c[(a&p)+20>>2];c[(d&p)+196>>2]=c[(a&p)+56>>2];c[(d&p)+4>>2]=c[(a&p)+8>>2];c[(d&p)+32>>2]=c[(a&p)+48>>2];c[(d&p)+8>>2]=c[(a&p)+16>>2];c[(d&p)+28>>2]=c[(a&p)+52>>2];c[(d&p)+56>>2]=c[(a&p)+24>>2];c[(d&p)+36>>2]=c[(a&p)+40>>2];g=a+32|0;f=c[(g&p)+4>>2]|0;b=c[(d&p)>>2]|0;e=b+32|0;c[(e&p)>>2]=c[(g&p)>>2];c[(e&p)+4>>2]=f;c[(d&p)+92>>2]=c[(a&p)+68>>2];c[(b&p)+80>>2]=c[(a&p)+72>>2];return c[(a&p)+44>>2]|0}function Yl(a,c){a=a|0;c=c|0;if((b[(a&o)+8>>1]&2)!=0?(d[(a&n)+10>>0]|0|0)!=(c|0):0)c=Bn(a,c&255)|0;else c=0;return c|0}function Zl(a,d,f){a=a|0;d=d|0;f=f|0;var g=0;g=a+8|0;if(b[(g&o)>>1]&9312)vg(a);c[(a&p)>>2]=c[(d&p)>>2];c[(a&p)+4>>2]=c[(d&p)+4>>2];c[(a&p)+8>>2]=c[(d&p)+8>>2];c[(a&p)+12>>2]=c[(d&p)+12>>2];c[(a&p)+16>>2]=c[(d&p)+16>>2];if(!(b[(d&o)+8>>1]&2048))b[(g&o)>>1]=(e[(g&o)>>1]|0)&58367|f;return}function _l(a,d){a=a|0;d=d|0;var e=0,f=0;if(!((b[(a&o)+8>>1]&9312)==0?(c[(a&p)+24>>2]|0)==0:0))Qg(a);a=a+0|0;e=d+0|0;f=a+40|0;do{c[(a&p)>>2]=c[(e&p)>>2];a=a+4|0;e=e+4|0}while((a|0)<(f|0));b[(d&o)+8>>1]=1;c[(d&p)+24>>2]=0;return}function $l(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0;q=c[(a&p)>>2]|0;m=q+500|0;f=c[(m&p)>>2]|0;do if((f|0)!=0?(n=a+104|0,e=c[(n&p)>>2]|0,(e|0)!=0):0){o=e+-1|0;k=q+20|0;e=c[(k&p)>>2]|0;if((e|0)>0){i=q+16|0;j=(b|0)==2;g=e;h=0;e=0;do{f=c[((c[(i&p)>>2]|0)+(h<<4)&p)+4>>2]|0;if(f){if(j?(l=um(f,2,o)|0,(l|0)!=0):0)f=l;else f=um(f,1,o)|0;g=c[(k&p)>>2]|0;e=(e|0)==0?f:e}h=h+1|0}while((h|0)<(g|0));c[(m&p)>>2]=(c[(m&p)>>2]|0)+-1;c[(n&p)>>2]=0;if(!e)e=13;else{d=e;e=16}}else{c[(m&p)>>2]=f+-1;c[(n&p)>>2]=0;e=13}do if((e|0)==13){if((b|0)==2?(d=sm(q,2,o)|0,(d|0)!=0):0)break;d=sm(q,1,o)|0;e=16}while(0);if((e|0)==16)if((b|0)!=2)break;m=a+152|0;l=c[(m&p)+4>>2]|0;k=q+504|0;c[(k&p)>>2]=c[(m&p)>>2];c[(k&p)+4>>2]=l;k=a+160|0;l=c[(k&p)+4>>2]|0;m=q+512|0;c[(m&p)>>2]=c[(k&p)>>2];c[(m&p)+4>>2]=l}else d=0;while(0);return d|0}function am(d){d=d|0;var f=0,g=0;f=d+12|0;if(!(eh(d,(c[(f&p)>>2]|0)+2|0,1)|0)){g=d+16|0;a[((c[(g&p)>>2]|0)+(c[(f&p)>>2]|0)&n)>>0]=0;a[((c[(g&p)>>2]|0)+(c[(f&p)>>2]|0)&n)+1>>0]=0;f=d+8|0;b[(f&o)>>1]=e[(f&o)>>1]|0|512;f=0}else f=7;return f|0}function bm(d,f,g){d=d|0;f=f|0;g=g|0;var l=0,m=0,r=0,s=0,t=0,u=0,v=0,w=0;u=i;i=i+16|0;if((i|0)>=(j|0))fa();s=u;t=d+8|0;m=b[(t&o)>>1]|0;if(!(fh(d,32)|0)){l=d+16|0;r=c[(l&p)>>2]|0;if(!(m&4)){h[(k&q)>>3]=+h[(d&q)>>3];c[(s&p)>>2]=c[(k&p)>>2];c[(s&p)+4>>2]=c[(k&p)+4>>2];ad(32,r,20272,s)|0}else{w=d;v=c[(w&p)+4>>2]|0;m=s;c[(m&p)>>2]=c[(w&p)>>2];c[(m&p)+4>>2]=v;ad(32,r,19920,s)|0}m=c[(l&p)>>2]|0;if(!m)l=0;else{l=m;while(1)if(!(a[(l&n)>>0]|0))break;else l=l+1|0;l=l-m&1073741823}c[(d&p)+12>>2]=l;a[(d&n)+10>>0]=1;l=e[(t&o)>>1]|514;b[(t&o)>>1]=g<<24>>24==0?l:l&65523;Yl(d,f&255)|0;l=0}else l=7;i=u;return l|0}function cm(a){a=a|0;var b=0,c=0;b=e[(a&o)+8>>1]|0;c=b&12;if(!c)if(!(b&18))b=0;else b=np(a)|0;else b=c&65535;return b|0}function dm(a){a=a|0;var d=0.0,f=0,g=0,i=0,j=0;d=+h[(a&q)>>3];if(!(d<=-9223372036854775808.0)&!(d>=9223372036854775808.0)?(f=~~d>>>0,g=+R(d)>=1.0?(d>0.0?~~+da(+Q(d/4294967296.0),4294967295.0)>>>0:~~+ba((d-+(~~d>>>0))/4294967296.0)>>>0):0,i=jw(f|0,g|0,1,-2147483648)|0,j=G,!(d!=+(f>>>0)+4294967296.0*+(g|0)|(j>>>0<0|(j|0)==0&i>>>0<2))):0){i=a;c[(i&p)>>2]=f;c[(i&p)+4>>2]=g;f=a+8|0;b[(f&o)>>1]=(e[(f&o)>>1]|0)&48640|4}return}function em(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=a+204|0;e=c[(f&p)>>2]|0;a:do if(e){h=(b|0)<0;do{while(1){if(!h){if((c[(e&p)>>2]|0)!=(b|0))break;g=c[(e&p)+4>>2]|0;if((g|0)<=31?(1<<g&d|0)!=0:0)break}g=c[(e&p)+12>>2]|0;if(g)cc[g&31](c[(e&p)+8>>2]|0);c[(f&p)>>2]=c[(e&p)+16>>2];mg(c[(a&p)>>2]|0,e);e=c[(f&p)>>2]|0;if(!e)break a}f=e+16|0;e=c[(f&p)>>2]|0}while((e|0)!=0)}while(0);return}function fm(a,b,c){a=a|0;b=b|0;c=c|0;do if(b<<24>>24>66){b=e[(a&o)+8>>1]|0;if(!(b&4)){if(b&8){dm(a);break}if(b&2)rh(a,1)}}else if(b<<24>>24==66?(b=e[(a&o)+8>>1]|0,!((b&2|0)!=0|(b&12|0)==0)):0)bm(a,c,1)|0;while(0);return}function gm(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,i=0,j=0;j=a+8|0;g=b[(j&o)>>1]|0;i=g&65535;do if(!(i&1)){d=d&255;if((d|0)==68){d=Vg(a)|0;g=a;c[(g&p)>>2]=d;c[(g&p)+4>>2]=G;b[(j&o)>>1]=(e[(j&o)>>1]|0)&48640|4;break}else if((d|0)==67){op(a);break}else if((d|0)==69){h[(a&q)>>3]=+Ug(a);b[(j&o)>>1]=(e[(j&o)>>1]|0)&48640|8;break}else if((d|0)==65){if(i&16){b[(j&o)>>1]=i&65040;break}if(!((i&2|0)!=0|(i&12|0)==0)){bm(a,f,1)|0;g=b[(j&o)>>1]|0}b[(j&o)>>1]=g&48640|16;break}else{d=i>>>3&2|i;g=d&65535;b[(j&o)>>1]=g;if(!((d&2|0)!=0|(i&12|0)==0)){bm(a,f,1)|0;g=b[(j&o)>>1]|0}b[(j&o)>>1]=g&49123;break}}while(0);return}function hm(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0.0,i=0,j=0.0,k=0,l=0,m=0;l=b[(a&o)+8>>1]|0;k=l&65535;i=b[(d&o)+8>>1]|0;m=i&65535;f=(i|l)&65535;do if(!(f&1)){if(!(f&12)){if(f&2){if(!(k&2)){f=1;break}if(!(m&2)){f=-1;break}if(e){f=pp(a,d,e,0)|0;break}}f=qp(a,d)|0;break}if((l&4&i)<<16>>16){l=a;k=c[(l&p)>>2]|0;l=c[(l&p)+4>>2]|0;i=d;f=c[(i&p)>>2]|0;i=c[(i&p)+4>>2]|0;if((l|0)<(i|0)|(l|0)==(i|0)&k>>>0<f>>>0){f=-1;break}f=((l|0)>(i|0)|(l|0)==(i|0)&k>>>0>f>>>0)&1;break}if(!(k&8)){if(!(k&4)){f=1;break}f=a;j=+((c[(f&p)>>2]|0)>>>0)+4294967296.0*+(c[(f&p)+4>>2]|0)}else j=+h[(a&q)>>3];if(!(m&8)){if(!(m&4)){f=-1;break}f=d;g=+((c[(f&p)>>2]|0)>>>0)+4294967296.0*+(c[(f&p)+4>>2]|0)}else g=+h[(d&q)>>3];if(j<g)f=-1;else f=j>g&1}else f=(m&1)-(k&1)|0;while(0);return f|0}function im(b){b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();f=g;e=g+8|0;d=b+48|0;d=Cm(c[(b&p)>>2]|0,0,c[(d&p)>>2]|0,c[(d&p)+4>>2]|0,0,e)|0;do if(!d)if(!(c[(e&p)>>2]|0)){a[(b&n)+26>>0]=0;c[(b&p)+60>>2]=0;d=0;break}else{c[(f&p)>>2]=67421;c[(f&p)+4>>2]=10788;bd(11,13600,f);d=11;break}while(0);i=g;return d|0}function jm(b){b=b|0;var d=0,e=0,f=0;e=c[(b&p)>>2]|0;f=e+73|0;d=a[(f&n)>>0]|0;do if((d&255)>2){d=Kn(e)|0;if(!d){d=a[(f&n)>>0]|0;f=5;break}else{c[(b&p)+60>>2]=0;f=6;break}}else f=5;while(0);if((f|0)==5){c[(b&p)+60>>2]=0;if(d<<24>>24==1)d=0;else{d=0;f=6}}if((f|0)==6)a[(b&n)+25>>0]=1;return d|0}function km(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0;h=f+24|0;if(!(b[(f&o)+44>>1]|0)){j=b[(f&o)+76>>1]|0;i=c[(f+(j<<2)&p)+120>>2]|0;j=e[(f+(j<<1)&o)+78>>1]<<1;k=c[(i&p)+64>>2]|0;rp(i,(c[(i&p)+56>>2]|0)+((d[(k+j&n)>>0]<<8|d[(k+(j|1)&n)>>0])&e[(i&o)+20>>1])|0,h);f=f+72|0;a[(f&n)>>0]=d[(f&n)>>0]|2}i=h;f=c[(i&p)+4>>2]|0;h=g;c[(h&p)>>2]=c[(i&p)>>2];c[(h&p)+4>>2]=f;return}function lm(f,g){f=f|0;g=g|0;var h=0,i=0,j=0;if(!(b[(f&o)+44>>1]|0)){i=b[(f&o)+76>>1]|0;h=c[(f+(i<<2)&p)+120>>2]|0;i=e[(f+(i<<1)&o)+78>>1]<<1;j=c[(h&p)+64>>2]|0;rp(h,(c[(h&p)+56>>2]|0)+((d[(j+i&n)>>0]<<8|d[(j+(i|1)&n)>>0])&e[(h&o)+20>>1])|0,f+24|0);h=f+72|0;a[(h&n)>>0]=d[(h&n)>>0]|2}c[(g&p)>>2]=c[(f&p)+36>>2];return}function mm(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();h=k;e=d[(a&n)>>0]|0;g=d[(a&n)+1>>0]|0;do if(g&128){f=d[(a&n)+2>>0]|0;if(!(f&128)){c[(b&p)>>2]=(f|e<<14)&2080895|g<<7&16256;e=3;break}else{e=sp(a,h)|0;g=h;f=c[(g&p)>>2]|0;c[(b&p)>>2]=((f|0)==(f|0)?0==(c[(g&p)+4>>2]|0):0)?f:-1;break}}else{c[(b&p)>>2]=e<<7&16256|g;e=2}while(0);i=k;return e|0}function nm(d,f,g,h,i){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0;j=(h|0)==0;do if((g+f|0)>>>0>(e[(d&o)+40>>1]|0)>>>0){l=i+8|0;b[(l&o)>>1]=1;h=fh(i,g+2|0)|0;if(!h){k=i+16|0;h=c[(k&p)>>2]|0;if(j)h=Dh(d,f,g,h)|0;else h=Lm(d,f,g,h,0)|0;if(!h){a[((c[(k&p)>>2]|0)+g&n)>>0]=0;a[((c[(k&p)>>2]|0)+g&n)+1>>0]=0;b[(l&o)>>1]=528;c[(i&p)+12>>2]=g;h=0;break}if((b[(l&o)>>1]&9312)==0?(c[(i&p)+24>>2]|0)==0:0)break;Qg(i)}}else{c[(i&p)+16>>2]=(c[(d&p)+32>>2]|0)+f;b[(i&o)+8>>1]=4112;c[(i&p)+12>>2]=g;h=0}while(0);return h|0}function om(e,f,g){e=e|0;f=f|0;g=g|0;var h=0;switch(f|0){case 9:case 8:{e=g;c[(e&p)>>2]=f+-8;c[(e&p)+4>>2]=0;b[(g&o)+8>>1]=4;e=0;break}case 1:{f=a[(e&n)>>0]|0;e=g;c[(e&p)>>2]=f;c[(e&p)+4>>2]=((f|0)<0)<<31>>31;b[(g&o)+8>>1]=4;e=1;break}case 0:case 11:case 10:{b[(g&o)+8>>1]=1;e=0;break}case 3:{f=d[(e&n)+1>>0]<<8|a[(e&n)>>0]<<16|d[(e&n)+2>>0];e=g;c[(e&p)>>2]=f;c[(e&p)+4>>2]=((f|0)<0)<<31>>31;b[(g&o)+8>>1]=4;e=3;break}case 4:{f=d[(e&n)+1>>0]<<16|a[(e&n)>>0]<<24|d[(e&n)+2>>0]<<8|d[(e&n)+3>>0];e=g;c[(e&p)>>2]=f;c[(e&p)+4>>2]=((f|0)<0)<<31>>31;b[(g&o)+8>>1]=4;e=4;break}case 2:{f=a[(e&n)>>0]<<8|d[(e&n)+1>>0];e=g;c[(e&p)>>2]=f;c[(e&p)+4>>2]=((f|0)<0)<<31>>31;b[(g&o)+8>>1]=4;e=2;break}case 7:case 6:{tp(e,f,g);e=8;break}case 5:{h=a[(e&n)>>0]<<8|d[(e&n)+1>>0];f=g;c[(f&p)>>2]=d[(e&n)+3>>0]<<16|d[(e&n)+2>>0]<<24|d[(e&n)+4>>0]<<8|d[(e&n)+5>>0];c[(f&p)+4>>2]=h;b[(g&o)+8>>1]=4;e=6;break}default:{c[(g&p)+16>>2]=e;e=(f+-12|0)>>>1;c[(g&p)+12>>2]=e;b[(g&o)+8>>1]=b[((f&1)<<1&o)+34328>>1]|0}}return e|0}function pm(b,c,d){b=b|0;c=c|0;d=d|0;do if(!(d>>>0<0|(d|0)==0&c>>>0<128))if(d>>>0<0|(d|0)==0&c>>>0<16384){d=mw(c|0,d|0,7)|0;a[(b&n)>>0]=d|128;a[(b&n)+1>>0]=c&127;c=2;break}else{c=up(b,c,d)|0;break}else{a[(b&n)>>0]=c&127;c=1}while(0);return c|0}function qm(e){e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))fa();l=m;k=e+73|0;f=a[(k&n)>>0]|0;do if((f&255)>2)if(f<<24>>24==4){f=c[(e&p)+68>>2]|0;break}else{g=e+56|0;Wc(c[(g&p)>>2]|0);c[(g&p)>>2]=0;a[(k&n)>>0]=0;g=5;break}else g=5;while(0);a:do if((g|0)==5){h=e+76|0;f=b[(h&o)>>1]|0;do if(f<<16>>16<=-1){f=c[(e&p)+60>>2]|0;if(!f){a[(k&n)>>0]=0;f=0;break a}g=e+120|0;f=vp(c[((c[(e&p)>>2]|0)&p)+4>>2]|0,f,g,(a[(e&n)+72>>0]&1)<<1^2)|0;if(!f){b[(h&o)>>1]=0;f=g;break}else{a[(k&n)>>0]=0;break a}}else{if(f<<16>>16)do{g=f+-1<<16>>16;b[(h&o)>>1]=g;f=c[(e+(f<<16>>16<<2)&p)+120>>2]|0;if(!f)f=g;else{Bg(c[(f&p)+68>>2]|0);f=b[(h&o)>>1]|0}}while(f<<16>>16!=0);f=e+120|0}while(0);f=c[(f&p)>>2]|0;if((a[(f&n)>>0]|0)!=0?((c[(e&p)+16>>2]|0)==0|0)==(d[(f&n)+2>>0]|0):0){b[(e&o)+78>>1]=0;b[(e&o)+44>>1]=0;g=e+72|0;a[(g&n)>>0]=d[(g&n)>>0]&241;if(b[(f&o)+18>>1]|0){a[(k&n)>>0]=1;f=0;break}if(a[(f&n)+5>>0]|0){a[(k&n)>>0]=0;f=0;break}if((c[(f&p)+72>>2]|0)==1){g=d[(f&n)+6>>0]|0;f=c[(f&p)+56>>2]|0;f=d[(f+g&n)+9>>0]<<16|d[(f+g&n)+8>>0]<<24|d[(f+g&n)+10>>0]<<8|d[(f+g&n)+11>>0];a[(k&n)>>0]=1;f=rm(e,f)|0;break}else{c[(l&p)>>2]=57629;c[(l&p)+4>>2]=10788;bd(11,13600,l);f=11;break}}c[(l&p)>>2]=57618;c[(l&p)+4>>2]=10788;bd(11,13600,l);f=11}while(0);i=m;return f|0}function rm(e,f){e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))fa();m=q;l=q+8|0;g=e+76|0;k=b[(g&o)>>1]|0;h=k<<16>>16;do if(k<<16>>16<=18){k=e+72|0;f=vp(c[(e&p)+4>>2]|0,f,l,(a[(k&n)>>0]&1)<<1^2)|0;if(!f){f=c[(l&p)>>2]|0;l=h+1|0;c[(e+(l<<2)&p)+120>>2]=f;b[(e+(l<<1)&o)+78>>1]=0;b[(g&o)>>1]=(b[(g&o)>>1]|0)+1<<16>>16;b[(e&o)+44>>1]=0;a[(k&n)>>0]=d[(k&n)>>0]&249;if((b[(f&o)+18>>1]|0)!=0?(a[(f&n)+2>>0]|0)==(a[((c[(e+(h<<2)&p)+120>>2]|0)&n)+2>>0]|0):0){f=0;break}c[(m&p)>>2]=57499;c[(m&p)+4>>2]=10788;bd(11,13600,m);f=11}}else{c[(m&p)>>2]=57487;c[(m&p)+4>>2]=10788;bd(11,13600,m);f=11}while(0);i=q;return f|0}function sm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=a+328|0;a:do if(!(c[(j&p)>>2]|0))a=0;else{g=a+304|0;h=d+1|0;i=0;while(1){if((i|0)>=(c[(g&p)>>2]|0)){a=0;break a}f=c[((c[(j&p)>>2]|0)+(i<<2)&p)>>2]|0;a=c[(c[(f&p)+4>>2]&p)>>2]|0;e=c[(f&p)+8>>2]|0;if((e|0)!=0?(c[(a&p)>>2]|0)>1:0){if(!b){a=c[(a&p)+80>>2]|0;c[(f&p)+20>>2]=h}else if((b|0)==2)a=c[(a&p)+88>>2]|0;else a=c[(a&p)+84>>2]|0;if((a|0)!=0?(c[(f&p)+20>>2]|0)>(d|0):0){a=rc[a&127](e,d)|0;if(!a){i=i+1|0;continue}else break a}}i=i+1|0}}while(0);return a|0}function tm(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();f=h;e=c[(b&p)>>2]|0;if(!d){d=b+144|0;k=c[(d&p)+4>>2]|0;if((k|0)>0|(k|0)==0&(c[(d&p)>>2]|0)>>>0>0)g=4;else e=0}else{d=e+504|0;k=e+512|0;d=jw(c[(k&p)>>2]|0,c[(k&p)+4>>2]|0,c[(d&p)>>2]|0,c[(d&p)+4>>2]|0)|0;k=G;if((k|0)>0|(k|0)==0&d>>>0>0)g=4;else e=0}if((g|0)==4){c[(b&p)+80>>2]=787;a[(b&n)+86>>0]=2;dh(b+44|0,e,34376,f);e=1}i=h;return e|0}function um(e,f,g){e=e|0;f=f|0;g=g|0;var h=0;if((e|0)!=0?(a[(e&n)+8>>0]|0)==2:0){h=c[(e&p)+4>>2]|0;c[(h&p)+4>>2]=c[(e&p)>>2];f=jp(c[(h&p)>>2]|0,f,g)|0;if(!f){if((g|0)<0?(b[(h&o)+22>>1]&8)!=0:0)c[(h&p)+44>>2]=0;f=Cg(h)|0;e=c[((c[(h&p)+12>>2]|0)&p)+56>>2]|0;c[(h&p)+44>>2]=d[(e&n)+29>>0]<<16|d[(e&n)+28>>0]<<24|d[(e&n)+30>>0]<<8|d[(e&n)+31>>0]}}else f=0;return f|0}function vm(a,b){a=a|0;b=b|0;a=a+16|0;ql(c[((c[(a&p)>>2]|0)+(b<<4)&p)+12>>2]|0);if((b|0)!=1)ql(c[((c[(a&p)>>2]|0)&p)+28>>2]|0);return}function wm(a,b,e){a=a|0;b=b|0;e=e|0;var f=0;f=c[(a&p)+4>>2]|0;c[(f&p)+4>>2]=c[(a&p)>>2];if((b|0)==15)f=(c[(a&p)+20>>2]|0)+(c[((c[(f&p)>>2]|0)&p)+100>>2]|0)|0;else{b=b<<2;f=c[((c[(f&p)+12>>2]|0)&p)+56>>2]|0;f=(d[(f+b&n)+37>>0]|0)<<16|(d[(f+b&n)+36>>0]|0)<<24|(d[(f+b&n)+38>>0]|0)<<8|(d[(f+b&n)+39>>0]|0)}c[(e&p)>>2]=f;return}function xm(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,q=0;k=(c[(d&p)+28>>2]|0)-e|0;i=c[(d&p)+8>>2]|0;q=(f<<3)+88|0;m=(h|0)!=0;l=d+56|0;j=c[((c[(l&p)>>2]|0)+(e<<2)&p)>>2]|0;if(j){Bm(d,j);c[((c[(l&p)>>2]|0)+(e<<2)&p)>>2]=0}if(!(fh(i+(k*40|0)|0,(m?200:0)+q|0)|0)){k=i+(k*40|0)+16|0;h=c[(k&p)>>2]|0;c[((c[(l&p)>>2]|0)+(e<<2)&p)>>2]=h;i=h+0|0;j=i+88|0;do{c[(i&p)>>2]=0;i=i+4|0}while((i|0)<(j|0));a[(h&n)+24>>0]=g;b[(h&o)+20>>1]=f;c[(h&p)+80>>2]=h+84+(f<<2);if(m){i=(c[(k&p)>>2]|0)+q|0;c[(h&p)>>2]=i;i=i+0|0;j=i+76|0;do{c[(i&p)>>2]=0;i=i+4|0}while((i|0)<(j|0))}}else h=0;return h|0}function ym(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;k=c[(d&p)+4>>2]|0;c[(k&p)+4>>2]=c[(d&p)>>2];if(f)if(!(b[(k&o)+22>>1]&1)){j=k+80|0;if(!(c[(j&p)>>2]|0)){i=Go(c[(k&p)+32>>2]|0)|0;c[(j&p)>>2]=i;if(!i)i=7;else{l=i;i=l;a[(i&n)>>0]=0;a[(i&n)+1>>0]=0;a[(i&n)+2>>0]=0;a[(i&n)+3>>0]=0;l=l+4|0;a[(l&n)>>0]=0;a[(l&n)+1>>0]=0;a[(l&n)+2>>0]=0;a[(l&n)+3>>0]=0;c[(j&p)>>2]=(c[(j&p)>>2]|0)+4;l=6}}else l=6}else i=8;else l=6;if((l|0)==6){if((e|0)==1)e=(c[(k&p)+44>>2]|0)!=0&1;c[(h&p)+60>>2]=e;b[(h&o)+76>>1]=-1;c[(h&p)+16>>2]=g;c[(h&p)>>2]=d;c[(h&p)+4>>2]=k;a[(h&n)+72>>0]=f;i=k+8|0;e=c[(i&p)>>2]|0;c[(h&p)+8>>2]=e;if(e)c[(e&p)+12>>2]=h;c[(i&p)>>2]=h;a[(h&n)+73>>0]=0;i=0}return i|0}function zm(f,g,h,k,l,m){f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;S=i;i=i+128|0;if((i|0)>=(j|0))fa();D=S;K=S+12|0;H=S+8|0;P=S+16|0;N=(g|0)==0;if(!N){r=(a[(g&n)>>0]|0)==0;if(_v(g,14640)|0)if(r)J=4;else{r=0;J=5}else O=1}else J=4;if((J|0)==4)if((a[(h&n)+64>>0]|0)==2){O=1;r=1}else{r=1;J=5}if((J|0)==5)O=(m&128|0)!=0;M=O?l|2:l;if((m&256|0)!=0&(O|r))m=m&-769|512;R=qg(48,0)|0;a:do if(R){x=R+0|0;w=x+48|0;do{a[(x&n)>>0]=0;x=x+1|0}while((x|0)<(w|0));c[(R&p)>>2]=h;c[(R&p)+32>>2]=R;c[(R&p)+36>>2]=1;b:do if(!r?!(O&(m&64|0)==0|(m&131072|0)==0):0){if(N)r=1;else{r=g;while(1)if(!(a[(r&n)>>0]|0))break;else r=r+1|0;r=(r-g&1073741823)+1|0}l=(c[(f&p)+8>>2]|0)+1|0;u=(l|0)>(r|0)?l:r;u=qg(u,((u|0)<0)<<31>>31)|0;t=R+9|0;a[(t&n)>>0]=1;if(!u){Wc(R);q=7;break a}if(!O){a[(u&n)>>0]=0;r=pc[c[(f&p)+36>>2]&31](f,g,l,u)|0;if(r){Wc(u);Wc(R);q=r;break a}}else kw(u|0,g|0,r|0)|0;r=c[3664]|0;c:do if(r){while(1){l=c[(r&p)>>2]|0;if((_v(u,c[(l&p)+168>>2]|0)|0)==0?(c[(l&p)>>2]|0)==(f|0):0)break;r=c[(r&p)+68>>2]|0;if(!r)break c}l=c[(h&p)+20>>2]|0;d:do if((l|0)>0){s=c[(h&p)+16>>2]|0;while(1){l=l+-1|0;G=c[(s+(l<<4)&p)+4>>2]|0;if((G|0)!=0?(c[(G&p)+4>>2]|0)==(r|0):0)break;if((l|0)<=0)break d}Wc(u);Wc(R);q=19;break a}while(0);c[(R&p)+4>>2]=r;G=r+64|0;c[(G&p)>>2]=(c[(G&p)>>2]|0)+1;Wc(u);if(!r){J=32;break b}if(!(a[(t&n)>>0]|0))break b;else{J=105;break b}}while(0);Wc(u);J=32}else J=32;while(0);e:do if((J|0)==32){L=qg(84,0)|0;if(L){x=L+0|0;w=x+84|0;do{a[(x&n)>>0]=0;x=x+1|0}while((x|0)<(w|0));F=M&1;G=(F|0)==0;c[(K&p)>>2]=1024;E=f+4|0;r=c[(E&p)>>2]|0;if((r|0)>40)l=r+7&-8;else l=40;c[(L&p)>>2]=0;do if(!(M&2))if(!N)if(a[(g&n)>>0]|0){y=f+8|0;t=(c[(y&p)>>2]|0)+1|0;A=t<<1;A=qg(A,((A|0)<0)<<31>>31)|0;if(!A)q=7;else{a[(A&n)>>0]=0;r=pc[c[(f&p)+36>>2]&31](f,g,t,A)|0;t=A;while(1)if(!(a[(t&n)>>0]|0))break;else t=t+1|0;x=t-A&1073741823;u=g;while(1)if(!(a[(u&n)>>0]|0))break;else u=u+1|0;w=(u-g&1073741823)+1|0;u=a[(g+w&n)>>0]|0;w=g+w|0;if(!(u<<24>>24))t=w;else{t=w;do{if(!(u<<24>>24))u=t;else{u=t;do u=u+1|0;while((a[(u&n)>>0]|0)!=0)}u=u-t&1073741823;s=t+(u+1)|0;v=s;while(1)if(!(a[(v&n)>>0]|0))break;else v=v+1|0;t=t+(u+2+(v-s&1073741823))|0;u=a[(t&n)>>0]|0}while(u<<24>>24!=0)}if(!r){if((x+8|0)<=(c[(y&p)>>2]|0)){z=1;D=0;y=x;x=t+1-w|0;u=A;J=58;break}c[(D&p)>>2]=46171;c[(D&p)+4>>2]=10788;bd(14,14848,D);r=14}Wc(A);J=89}}else{z=1;D=0;y=0;x=0;u=0;w=0;J=58}else{g=0;z=0;D=0;y=0;x=0;u=0;w=0;J=58}else if(!N)if(a[(g&n)>>0]|0){u=kh(0,g)|0;if(!u)q=7;else{r=u;while(1)if(!(a[(r&n)>>0]|0))break;else r=r+1|0;g=0;z=0;D=1;y=r-u&1073741823;x=0;w=0;J=58}}else{z=1;D=1;y=0;x=0;u=0;w=0;J=58}else{g=0;z=0;D=1;y=0;x=0;u=0;w=0;J=58}while(0);do if((J|0)==58){t=(l<<1)+17+(y*3|0)+x+((c[(E&p)>>2]|0)+271&-8)|0;C=qg(t,0)|0;if(!C){if(!u){q=7;break}Wc(u);q=7;break}fw(C|0,0,t|0)|0;A=C+204|0;c[(A&p)>>2]=C+216;B=C+60|0;c[(B&p)>>2]=C+264;v=(c[(E&p)>>2]|0)+271&-8;c[(C&p)+68>>2]=C+v;v=v+l|0;c[(C&p)+64>>2]=C+v;v=v+l|0;t=C+v|0;r=C+168|0;c[(r&p)>>2]=t;if(u){s=y+1|0;l=C+172|0;c[(l&p)>>2]=C+(x+s+v);kw(t|0,u|0,y|0)|0;if(x)kw((c[(r&p)>>2]|0)+s|0,w|0,x|0)|0;kw(c[(l&p)>>2]|0,u|0,y|0)|0;x=(c[(l&p)>>2]|0)+y+0|0;v=14928;w=x+10|0;do{a[(x&n)>>0]=a[(v&n)>>0]|0;x=x+1|0;v=v+1|0}while((x|0)<(w|0));l=(c[(l&p)>>2]|0)+(y+9)|0;E=C+212|0;c[(E&p)>>2]=l;kw(l|0,u|0,y|0)|0;E=(c[(E&p)>>2]|0)+y|0;a[(E&n)>>0]=a[14944]|0;a[(E&n)+1>>0]=a[14945]|0;a[(E&n)+2>>0]=a[14946]|0;a[(E&n)+3>>0]=a[14947]|0;a[(E&n)+4>>0]=a[14948]|0;Wc(u)}c[(C&p)>>2]=f;c[(C&p)+144>>2]=m;do if(z?(a[(g&n)>>0]|0)!=0:0){c[(H&p)>>2]=0;r=tc[c[(f&p)+24>>2]&31](f,c[(r&p)>>2]|0,c[(B&p)>>2]|0,m&556927,H)|0;s=c[(H&p)>>2]&1;if(!r){r=c[(B&p)>>2]|0;r=lc[c[((c[(r&p)>>2]|0)&p)+48>>2]&127](r)|0;do if((s|0)==0?(wp(C),I=c[(C&p)+148>>2]|0,I>>>0>1024):0)if(I>>>0>8192){c[(K&p)>>2]=8192;break}else{c[(K&p)>>2]=I;break}while(0);a[(C&n)+13>>0]=fg(g,14952,0)|0;if((r&8192|0)==0?(fg(g,14960,0)|0)==0:0){v=0;J=77;break}r=m|1;J=76}}else{r=m;J=76}while(0);if((J|0)==76){a[(C&n)+16>>0]=1;a[(C&n)+17>>0]=4;a[(C&n)+13>>0]=1;s=r&1;v=1;J=77}if((J|0)==77){r=al(C,K,-1)|0;if(!r){l=c[(K&p)>>2]|0;u=(D|0)==0;m=D^1;t=u?75:0;r=c[(A&p)>>2]|0;x=r+0|0;w=x+48|0;do{c[(x&p)>>2]=0;x=x+4|0}while((x|0)<(w|0));c[(r&p)+20>>2]=1;c[(r&p)+24>>2]=80;a[(r&n)+28>>0]=m;a[(r&n)+29>>0]=2;c[(r&p)+32>>2]=t;c[(r&p)+36>>2]=C;c[(r&p)+16>>2]=100;r=Ho(r,l)|0;if(!r){a[(C&n)+6>>0]=F^1;c[(C&p)+156>>2]=1073741823;a[(C&n)+12>>0]=v;a[(C&n)+4>>0]=v;a[(C&n)+18>>0]=v;a[(C&n)+15>>0]=D;a[(C&n)+14>>0]=s;a[(C&n)+7>>0]=v;if(!(v<<24>>24)){a[(C&n)+8>>0]=1;a[(C&n)+11>>0]=2;a[(C&n)+10>>0]=34;a[(C&n)+9>>0]=2}b[(C&o)+140>>1]=80;H=C+160|0;c[(H&p)>>2]=-1;c[(H&p)+4>>2]=-1;wp(C);do if(G){if(u)break;a[(C&n)+5>>0]=4}else a[(C&n)+5>>0]=2;while(0);c[(C&p)+196>>2]=21;c[(L&p)>>2]=C;J=90;break}}}l=c[(B&p)>>2]|0;m=c[(l&p)>>2]|0;if(m){lc[c[(m&p)+4>>2]&127](l)|0;c[(l&p)>>2]=0}$k(c[(C&p)+200>>2]|0);Wc(C);J=89}while(0);if((J|0)==89)if(!r)J=90;else q=r;do if((J|0)==90){r=c[(L&p)>>2]|0;H=h+40|0;w=c[(H&p)+4>>2]|0;x=r+128|0;c[(x&p)>>2]=c[(H&p)>>2];c[(x&p)+4>>2]=w;x=P+0|0;w=x+100|0;do{a[(x&n)>>0]=0;x=x+1|0}while((x|0)<(w|0));r=c[(r&p)+60>>2]|0;l=c[(r&p)>>2]|0;if((l|0)!=0?(q=tc[c[(l&p)+8>>2]&31](r,P,100,0,0)|0,!((q|0)==0|(q|0)==522)):0)break;a[(L&n)+16>>0]=M;c[(L&p)+4>>2]=h;r=c[(L&p)>>2]|0;l=r+176|0;c[(l&p)>>2]=76;c[(r&p)+180>>2]=L;m=c[(r&p)+60>>2]|0;q=c[(m&p)>>2]|0;if(!q)l=r;else{ac[c[(q&p)+40>>2]&63](m,15,l)|0;l=c[(L&p)>>2]|0}c[(R&p)+4>>2]=L;c[(L&p)+8>>2]=0;c[(L&p)+12>>2]=0;if(a[(l&n)+14>>0]|0){H=L+22|0;b[(H&o)>>1]=e[(H&o)>>1]|1}H=d[(P&n)+17>>0]<<16|d[(P&n)+16>>0]<<8;m=L+32|0;c[(m&p)>>2]=H;if((H+-512|0)>>>0<=65024?(H+16777215&H|0)==0:0){r=a[(P&n)+20>>0]|0;H=L+22|0;b[(H&o)>>1]=e[(H&o)>>1]|2;a[(L&n)+17>>0]=(d[(P&n)+53>>0]<<16|d[(P&n)+52>>0]<<24|d[(P&n)+54>>0]<<8|d[(P&n)+55>>0]|0)!=0&1;a[(L&n)+18>>0]=(d[(P&n)+65>>0]<<16|d[(P&n)+64>>0]<<24|d[(P&n)+66>>0]<<8|d[(P&n)+67>>0]|0)!=0&1}else{c[(m&p)>>2]=0;if(N|O)r=0;else{a[(L&n)+17>>0]=0;a[(L&n)+18>>0]=0;r=0}}r=r&255;q=al(l,m,r)|0;if(!q){c[(L&p)+36>>2]=(c[(m&p)>>2]|0)-r;if(!(a[(R&n)+9>>0]|0))break e;c[(L&p)+64>>2]=1;c[(L&p)+68>>2]=c[3664];c[3664]=L;J=105;break e}}while(0);if(L){m=c[(L&p)>>2]|0;if(!m)m=L;else{lp(m);m=L}}else m=0}else{m=0;q=7}Wc(m);Wc(R);c[(k&p)>>2]=0;break a}while(0);f:do if((J|0)==105?(Q=c[(h&p)+20>>2]|0,(Q|0)>0):0){m=c[(h&p)+16>>2]|0;l=0;while(1){q=c[(m+(l<<4)&p)+4>>2]|0;if((q|0)!=0?(a[(q&n)+9>>0]|0)!=0:0){l=q;break}l=l+1|0;if((l|0)>=(Q|0))break f}while(1){q=l+28|0;m=c[(q&p)>>2]|0;if(!m){m=l;break}else l=m}r=c[(R&p)+4>>2]|0;if(r>>>0<(c[(m&p)+4>>2]|0)>>>0){c[(R&p)+24>>2]=m;c[(R&p)+28>>2]=0;c[(q&p)>>2]=R;break}while(1){q=m+24|0;l=c[(q&p)>>2]|0;if(!l){J=113;break}if((c[(l&p)+4>>2]|0)>>>0<r>>>0)m=l;else{J=115;break}}if((J|0)==113){c[(R&p)+24>>2]=0;c[(R&p)+28>>2]=m}else if((J|0)==115){c[(R&p)+24>>2]=l;c[(R&p)+28>>2]=m;c[(l&p)+28>>2]=R}c[(q&p)>>2]=R}while(0);c[(k&p)>>2]=R;q=c[(R&p)+4>>2]|0;c[(q&p)+4>>2]=c[(R&p)>>2];if(!(c[(q&p)+48>>2]|0)){q=c[((c[(q&p)>>2]|0)&p)+204>>2]|0;c[(q&p)+16>>2]=2e3;jc[c[8868>>2]&15](c[(q&p)+40>>2]|0,2e3);q=0}else q=0}else q=7;while(0);i=S;return q|0}function Am(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+48|0;if((i|0)>=(j|0))fa();t=A;x=A+28|0;y=A+24|0;w=A+20|0;o=A+16|0;r=A+12|0;s=A+32|0;u=A+8|0;h=c[(b&p)>>2]|0;v=c[(b&p)+4>>2]|0;g=v+4|0;c[(g&p)>>2]=h;a:do if(!(a[(v&n)+17>>0]|0)){g=ip(v,x,y,1,0)|0;c[(w&p)>>2]=g;if(!g){h=c[(x&p)>>2]|0;z=39}}else{q=v+8|0;k=c[(q&p)>>2]|0;if(k)do{m=k+72|0;a[(m&n)>>0]=d[(m&n)>>0]&251;k=c[(k&p)+8>>2]|0}while((k|0)!=0);c[(g&p)>>2]=h;m=c[((c[(v&p)+12>>2]|0)&p)+56>>2]|0;m=d[(m&n)+53>>0]<<16|d[(m&n)+52>>0]<<24|d[(m&n)+54>>0]<<8|d[(m&n)+55>>0];c[(y&p)>>2]=m;h=((c[2514]|0)>>>0)/((c[(v&p)+32>>2]|0)>>>0)|0;g=v+36|0;while(1){l=m+1|0;if(l>>>0<2)k=0;else{k=m+-1|0;k=k-((k>>>0)%(((((c[(g&p)>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;k=((k+1|0)==(h|0)?3:2)+k|0}if((l|0)==(k|0)|(m|0)==(h|0))m=l;else break}c[(y&p)>>2]=l;g=ip(v,r,o,l,1)|0;c[(w&p)>>2]=g;if(!g){m=c[(o&p)>>2]|0;do if((m|0)==(l|0)){h=c[(r&p)>>2]|0;c[(x&p)>>2]=h}else{a[(s&n)>>0]=0;c[(u&p)>>2]=0;k=c[(q&p)>>2]|0;b:do if(!k)g=0;else{while(1){if(k)break;k=c[2]|0;if(!k){g=0;break b}}g=Fl(k,0,0)|0}while(0);c[(w&p)>>2]=g;k=c[(r&p)>>2]|0;if(k)Bg(c[(k&p)+68>>2]|0);if(g)break a;g=dl(v,l,x,0)|0;c[(w&p)>>2]=g;if(g)break a;g=hp(v,l,s,u)|0;c[(w&p)>>2]=g;k=a[(s&n)>>0]|0;if((k+-1&255)>=2){h=c[(x&p)>>2]|0;if(!g){g=Zm(v,h,k,c[(u&p)>>2]|0,m,0)|0;c[(w&p)>>2]=g;if(h)Bg(c[(h&p)+68>>2]|0);if(g)break a;g=dl(v,l,x,0)|0;c[(w&p)>>2]=g;if(g)break a;h=c[(x&p)>>2]|0;k=h+68|0;g=Gg(c[(k&p)>>2]|0)|0;c[(w&p)>>2]=g;if(!g)break;if(!h)break a;Bg(c[(k&p)>>2]|0);break a}}else{c[(t&p)>>2]=60876;c[(t&p)+4>>2]=10788;bd(11,13600,t);c[(w&p)>>2]=11;g=11;h=c[(x&p)>>2]|0}if(!h)break a;Bg(c[(h&p)+68>>2]|0);break a}while(0);zp(v,l,1,0,w);g=c[(w&p)>>2]|0;if(g){if(!h)break;Bg(c[(h&p)+68>>2]|0);break}g=Dg(b,4,l)|0;c[(w&p)>>2]=g;if(g){if(h)Bg(c[(h&p)+68>>2]|0)}else z=39}}while(0);if((z|0)==39){pl(h,(f&1|0)==0?10:13);g=c[((c[(x&p)>>2]|0)&p)+68>>2]|0;if(g)Bg(g);c[(e&p)>>2]=c[(y&p)>>2];g=0}i=A;return g|0}function Bm(a,b){a=a|0;b=b|0;var d=0,e=0;do if(b){a=c[(a&p)>>2]|0;d=b+56|0;e=c[(d&p)>>2]|0;if(e){_m(a,e);Wc(c[(e&p)+40>>2]|0);mg(a,e);c[(d&p)>>2]=0}a=c[(b&p)+4>>2]|0;if(a){Ml(a);break}a=c[(b&p)>>2]|0;if(a){kp(a);break}a=c[(b&p)+32>>2]|0;if(a){e=c[(a&p)>>2]|0;d=c[(e&p)>>2]|0;e=e+4|0;c[(e&p)>>2]=(c[(e&p)>>2]|0)+-1;lc[c[(d&p)+28>>2]&127](a)|0}}while(0);return}function Cm(f,g,h,k,l,m){f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;Q=i;i=i+16|0;if((i|0)>=(j|0))fa();O=Q+8|0;N=Q;t=f+73|0;do if(((a[(t&n)>>0]|0)==1?(s=d[(f&n)+72>>0]|0,(s&2|0)!=0):0)?(a[((c[(f&p)+120>>2]|0)&n)+2>>0]|0)!=0:0){q=f+24|0;r=c[(q&p)>>2]|0;q=c[(q&p)+4>>2]|0;if((r|0)==(h|0)&(q|0)==(k|0)){c[(m&p)>>2]=0;q=0;break}if((s&8|0)!=0&((q|0)<(k|0)|(q|0)==(k|0)&r>>>0<h>>>0)){c[(m&p)>>2]=-1;q=0}else P=8}else P=8;while(0);do if((P|0)==8){if(!g)J=0;else{r=c[(g&p)>>2]|0;if(((e[(r&o)+8>>1]|0)+(e[(r&o)+6>>1]|0)|0)<14){q=e[((c[(g&p)+8>>2]|0)&o)+8>>1]|0;K=(a[(c[(r&p)+16>>2]&n)>>0]|0)==0;c[(g&p)+12>>2]=K?-1:1;c[(g&p)+16>>2]=K?1:-1;if(!(q&4))if((q&25|0)==0?(c[(r&p)+20>>2]|0)==0:0)r=39;else P=13;else r=38}else P=13;if((P|0)==13)r=40;a[(g&n)+7>>0]=0;J=r}q=qm(f)|0;if(!q){if(!(a[(t&n)>>0]|0)){c[(m&p)>>2]=-1;q=0;break}K=f+76|0;F=1-l|0;G=(J|0)==0;L=f+72|0;H=f+24|0;I=f+24|0;a:do{l=b[(K&o)>>1]|0;D=c[(f+(l<<2)&p)+120>>2]|0;E=D+18|0;s=(e[(E&o)>>1]|0)+-1|0;r=s>>F;b[(f+(l<<1)&o)+78>>1]=r;l=D+56|0;A=D+20|0;B=D+64|0;C=D+7|0;b:do if(G){v=D+3|0;u=D+60|0;t=0;w=s;while(1){s=r<<1;z=c[(B&p)>>2]|0;s=(c[(l&p)>>2]|0)+(((d[(z+s&n)>>0]<<8|d[(z+(s|1)&n)>>0])&e[(A&o)>>1])+(d[(C&n)>>0]|0))|0;c:do if(a[(v&n)>>0]|0)while(1){z=s;s=s+1|0;if((a[(z&n)>>0]|0)>=0)break c;if(s>>>0>=(c[(u&p)>>2]|0)>>>0){P=25;break a}}while(0);sp(s,N)|0;q=N;s=c[(q&p)>>2]|0;q=c[(q&p)+4>>2]|0;if((q|0)<(k|0)|(q|0)==(k|0)&s>>>0<h>>>0){t=r+1|0;if((r|0)<(w|0))s=w;else{q=-1;P=49;break b}}else{if(!((q|0)>(k|0)|(q|0)==(k|0)&s>>>0>h>>>0)){t=q;break}s=r+-1|0;if((t|0)>(s|0)){q=1;P=49;break b}}r=s+t>>1;w=s}a[(L&n)>>0]=d[(L&n)>>0]|2;C=H;c[(C&p)>>2]=s;c[(C&p)+4>>2]=t;b[(f+(b[(K&o)>>1]<<1)&o)+78>>1]=r;if(a[(D&n)+5>>0]|0){P=31;break a}}else{x=D+8|0;y=D+10|0;z=r;t=0;while(1){q=c[(l&p)>>2]|0;v=z<<1;r=c[(B&p)>>2]|0;v=(d[(r+v&n)>>0]<<8|d[(r+(v|1)&n)>>0])&e[(A&o)>>1];r=v+(d[(C&n)>>0]|0)|0;R=a[(q+r&n)>>0]|0;w=R&255;u=q+(r+1)|0;do if((R&255)>(d[(x&n)>>0]|0)){u=d[(u&n)>>0]|0;if((u&128|0)==0?(M=u+(w<<7&16256)|0,(M|0)<=(e[(y&o)>>1]|0)):0){q=ac[J&63](M,q+(r+2)|0,g)|0;break}rp(D,q+v|0,I);u=c[(I&p)>>2]|0;r=qg(u,((u|0)<0)<<31>>31)|0;if(!r){q=7;break a}b[(f+(b[(K&o)>>1]<<1)&o)+78>>1]=z;q=Lm(f,0,u,r,2)|0;if(q){P=40;break a}q=ac[J&63](u,r,g)|0;Wc(r)}else q=ac[J&63](w,u,g)|0;while(0);if((q|0)<0)t=z+1|0;else{if((q|0)<=0){r=z;P=46;break a}s=z+-1|0}if((t|0)>(s|0)){r=z;P=49;break b}z=s+t>>1}}while(0);if((P|0)==49){P=0;if(a[(D&n)+5>>0]|0){P=51;break}l=D+56|0;r=t}t=c[(l&p)>>2]|0;if((r|0)<(e[(E&o)>>1]|0)){s=r<<1;E=c[(D&p)+64>>2]|0;s=(d[(E+s&n)>>0]<<8|d[(E+(s|1)&n)>>0])&e[(D&o)+20>>1];s=d[(t+s&n)+1>>0]<<16|d[(t+s&n)>>0]<<24|d[(t+s&n)+2>>0]<<8|d[(t+s&n)+3>>0]}else{s=d[(D&n)+6>>0]|0;s=d[(t+s&n)+9>>0]<<16|d[(t+s&n)+8>>0]<<24|d[(t+s&n)+10>>0]<<8|d[(t+s&n)+11>>0]}b[(f+(b[(K&o)>>1]<<1)&o)+78>>1]=r;q=rm(f,s)|0}while((q|0)==0);if((P|0)==25){c[(O&p)>>2]=57865;c[(O&p)+4>>2]=10788;bd(11,13600,O);q=11;break}else if((P|0)==31){c[(m&p)>>2]=0;q=0}else if((P|0)==40)Wc(r);else if((P|0)==46){c[(m&p)>>2]=0;b[(f+(b[(K&o)>>1]<<1)&o)+78>>1]=r;q=(a[(g&n)+7>>0]|0)==0?0:11}else if((P|0)==51){b[(f+(b[(K&o)>>1]<<1)&o)+78>>1]=r;c[(m&p)>>2]=q;q=0}b[(f&o)+44>>1]=0;a[(L&n)>>0]=d[(L&n)>>0]&249}}while(0);i=Q;return q|0}function Dm(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0;b[(f&o)+44>>1]=0;h=f+72|0;a[(h&n)>>0]=d[(h&n)>>0]&249;c[(g&p)>>2]=0;do if((a[(f&n)+73>>0]|0)==1){h=f+76|0;k=b[(h&o)>>1]|0;i=c[(f+(k<<2)&p)+120>>2]|0;k=f+(k<<1)+78|0;j=(b[(k&o)>>1]|0)+1<<16>>16;b[(k&o)>>1]=j;if((j&65535)>=(e[(i&o)+18>>1]|0)){h=f+(b[(h&o)>>1]<<1)+78|0;b[(h&o)>>1]=(b[(h&o)>>1]|0)+-1<<16>>16;h=Dp(f,g)|0;break}if(!(a[(i&n)+5>>0]|0))h=Vm(f)|0;else h=0}else h=Dp(f,g)|0;while(0);return h|0}function Em(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0;c[(f&p)>>2]=0;j=e+72|0;a[(j&n)>>0]=d[(j&n)>>0]&241;b[(e&o)+44>>1]=0;if(((a[(e&n)+73>>0]|0)==1?(g=b[(e&o)+76>>1]|0,h=e+(g<<1)+78|0,i=b[(h&o)>>1]|0,i<<16>>16!=0):0)?(a[((c[(e+(g<<2)&p)+120>>2]|0)&n)+5>>0]|0)!=0:0){b[(h&o)>>1]=i+-1<<16>>16;g=0}else g=Ep(e,f)|0;return g|0}function Fm(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;i=0-d&7;j=a+6|0;h=b[(j&o)>>1]|0;g=((h&65535)*40|0)+64|0;if((g|0)>(i+e|0)){g=mh(c[(a&p)+12>>2]|0,g,0)|0;c[(f&p)>>2]=g;if(!g)g=0;else{h=b[(j&o)>>1]|0;k=5}}else{c[(f&p)>>2]=0;g=d+i|0;k=5}if((k|0)==5){c[(g&p)+8>>2]=g+24;c[(g&p)>>2]=a;b[(g&o)+4>>1]=(h&65535)+1}return g|0}function Gm(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+16|0;if((i|0)>=(j|0))fa();w=x+4|0;v=x;m=c[(h&p)+8>>2]|0;a[(h&n)+6>>0]=0;k=a[(g&n)>>0]|0;if(k<<24>>24>-1){k=k&255;c[(w&p)>>2]=k;l=1}else{l=mm(g,w)|0;k=c[(w&p)>>2]|0}u=d+4|0;s=d+12|0;t=h+4|0;d=k;r=k;q=l&255;k=0;while(1){if(q>>>0>=d>>>0|(r|0)>(f|0))break;h=g+q|0;d=a[(h&n)>>0]|0;if(d<<24>>24>-1){c[(v&p)>>2]=d&255;h=1}else h=mm(h,v)|0;a[(m&n)+10>>0]=a[(u&n)>>0]|0;c[(m&p)+32>>2]=c[(s&p)>>2];c[(m&p)+24>>2]=0;l=om(g+r|0,c[(v&p)>>2]|0,m)|0;k=k+1<<16>>16;if((k&65535)>=(e[(t&o)>>1]|0))break;d=c[(w&p)>>2]|0;r=l+r|0;q=(h&255)+q|0;m=m+40|0}b[(t&o)>>1]=k;i=x;return}function Hm(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;g=b+73|0;if((a[(g&n)>>0]|0)==1?(a[(b&n)+72>>0]&8)!=0:0)f=0;else h=3;do if((h|0)==3){f=qm(b)|0;if(!f){if(!(a[(g&n)>>0]|0)){c[(e&p)>>2]=1;f=0;break}c[(e&p)>>2]=0;f=Fp(b)|0;e=b+72|0;g=d[(e&n)>>0]|0;if(!f){a[(e&n)>>0]=g|8;f=0;break}else{a[(e&n)>>0]=g&247;break}}}while(0);return f|0}function Im(f,g,h,k,l,m,q,r,s){f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;q=q|0;r=r|0;s=s|0;var t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;O=i;i=i+32|0;if((i|0)>=(j|0))fa();x=O;D=O+24|0;E=O+20|0;C=O+16|0;N=O+12|0;K=O+8|0;L=O+28|0;c[(K&p)>>2]=s;u=(c[(f&p)>>2]|0)+4|0;w=c[(u&p)>>2]|0;M=f+73|0;do if((a[(M&n)>>0]|0)!=4){v=Ln(w,c[(f&p)+60>>2]|0,f)|0;c[(N&p)>>2]=v;if(!v){if(!(c[(f&p)+16>>2]|0)){v=c[((c[(u&p)>>2]|0)&p)+8>>2]|0;if(v)do{if((a[(v&n)+72>>0]&16)!=0?(H=v+24|0,(c[(H&p)>>2]|0)==(h|0)?(c[(H&p)+4>>2]|0)==(k|0):0):0)a[(v&n)+73>>0]=0;v=c[(v&p)+8>>2]|0}while((v|0)!=0);if((a[(f&n)+72>>0]&2)!=0&((k|0)>0|(k|0)==0&h>>>0>0)?(H=f+24|0,A=c[(H&p)>>2]|0,H=c[(H&p)+4>>2]|0,B=jw(h|0,k|0,-1,-1)|0,(A|0)==(B|0)&(H|0)==(G|0)):0)c[(K&p)>>2]=-1;else F=13}else F=13;if(((F|0)==13?(s|0)==0:0)?(t=Gp(f,g,h,k,r,K)|0,c[(N&p)>>2]=t,(t|0)!=0):0)break;I=f+76|0;J=c[(f+(b[(I&o)>>1]<<2)&p)+120>>2]|0;H=c[(w&p)+80>>2]|0;c[(E&p)>>2]=0;r=J+52|0;B=c[(r&p)>>2]|0;c[(C&p)>>2]=0;v=d[(J&n)+7>>0]|0;w=q+m|0;if(a[(J&n)+3>>0]|0){if(w>>>0<128){a[(H+v&n)>>0]=w;u=1}else u=(pm(H+v|0,w,((w|0)<0)<<31>>31)|0)&255;v=u+v|0}s=(pm(H+v|0,h,k)|0)+v|0;do if(!(a[(J&n)+2>>0]|0))if((k|0)>0|(k|0)==0&h>>>0>2147483647|(g|0)==0){c[(x&p)>>2]=58825;c[(x&p)+4>>2]=10788;bd(11,13600,x);t=11;v=0;break}else{A=m;w=h;m=h;q=g;F=24;break}else{A=0;q=l;F=24}while(0);do if((F|0)==24){v=e[(J&o)+10>>1]|0;if((w|0)>(v|0)){u=e[(J&o)+12>>1]|0;r=(((w-u|0)>>>0)%(((c[((c[(r&p)>>2]|0)&p)+36>>2]|0)+-4|0)>>>0)|0)+u|0;r=(r|0)>(v|0)?u:r;u=r+s|0;v=u+4|0;u=H+u|0}else{v=w+s|0;v=(v|0)<4?4:v;u=H;r=w}if((w|0)>0){h=B+17|0;y=B+36|0;z=B+32|0;g=m;x=H+s|0;k=u;s=0;m=r;while(1){if(!m){x=c[(C&p)>>2]|0;if(!(a[(h&n)>>0]|0))u=x;else{t=((c[2514]|0)>>>0)/((c[(z&p)>>2]|0)>>>0)|0;m=x;while(1){u=m+1|0;if(u>>>0<2)r=0;else{r=m+-1|0;r=r-((r>>>0)%(((((c[(y&p)>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;r=((r+1|0)==(t|0)?3:2)+r|0}if((r|0)==(u|0)|(m|0)==(t|0))m=u;else break}c[(C&p)>>2]=u}t=ip(B,E,C,u,0)|0;c[(D&p)>>2]=t;u=(t|0)==0;if((a[(h&n)>>0]|0)!=0&u){u=c[(C&p)>>2]|0;zp(B,u,(x|0)!=0?4:3,x,D);t=c[(D&p)>>2]|0;if(t){r=s;F=38;break}}else{if(!u)break;u=c[(C&p)>>2]|0}a[(k&n)>>0]=u>>>24;a[(k&n)+1>>0]=u>>>16;a[(k&n)+2>>0]=u>>>8;a[(k&n)+3>>0]=u;if(s)Bg(c[(s&p)+68>>2]|0);t=c[(E&p)>>2]|0;x=t+56|0;k=c[(x&p)>>2]|0;a[(k&n)>>0]=0;a[(k&n)+1>>0]=0;a[(k&n)+2>>0]=0;a[(k&n)+3>>0]=0;x=(c[(x&p)>>2]|0)+4|0;m=(c[(y&p)>>2]|0)+-4|0}else t=s;u=(w|0)>(m|0)?m:w;if((g|0)>0){u=(u|0)>(g|0)?g:u;kw(x|0,q|0,u|0)|0}else fw(x|0,0,u|0)|0;w=w-u|0;r=(g|0)==(u|0);if((w|0)<=0){F=51;break}else{g=r?A:g-u|0;x=x+u|0;q=r?l:q+u|0;s=t;m=m-u|0}}if((F|0)==38){s=c[(E&p)>>2]|0;if(!s)s=r;else{Bg(c[(s&p)+68>>2]|0);s=r}}else if((F|0)==51){if(!t){t=0;break}Bg(c[(t&p)+68>>2]|0);t=0;break}if(s)Bg(c[(s&p)+68>>2]|0)}else t=0}while(0);c[(N&p)>>2]=t;if(!t){t=f+(b[(I&o)>>1]<<1)+78|0;r=b[(t&o)>>1]|0;u=r&65535;s=c[(K&p)>>2]|0;if(!s){t=Gg(c[(J&p)+68>>2]|0)|0;c[(N&p)>>2]=t;if(t)break;t=u<<1;F=c[(J&p)+64>>2]|0;t=(c[(J&p)+56>>2]|0)+((d[(F+t&n)>>0]<<8|d[(F+(t|1)&n)>>0])&e[(J&o)+20>>1])|0;if(!(a[(J&n)+5>>0]|0)){F=d[(t&n)>>0]|d[(t&n)+1>>0]<<8|d[(t&n)+2>>0]<<16|d[(t&n)+3>>0]<<24;a[(H&n)>>0]=F;a[(H&n)+1>>0]=F>>8;a[(H&n)+2>>0]=F>>16;a[(H&n)+3>>0]=F>>24}c[(N&p)>>2]=Hp(J,t,L)|0;Ip(J,u,e[(L&o)>>1]|0,N);t=c[(N&p)>>2]|0;if(!t)t=u;else break}else if((s|0)<0?(b[(J&o)+18>>1]|0)!=0:0){F=r+1<<16>>16;b[(t&o)>>1]=F;t=F&65535}else t=u;Jp(J,t,H,v,0,0,N);b[(f&o)+44>>1]=0;t=c[(N&p)>>2]|0;if(!t)if(!(a[(J&n)+1>>0]|0))t=0;else{t=f+72|0;a[(t&n)>>0]=d[(t&n)>>0]&253;t=Kp(f)|0;c[(N&p)>>2]=t;a[((c[(f+(b[(I&o)>>1]<<2)&p)+120>>2]|0)&n)+1>>0]=0;a[(M&n)>>0]=0}}}else t=v}else t=c[(f&p)+68>>2]|0;while(0);i=O;return t|0}function Jm(f){f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=i;i=i+16|0;if((i|0)>=(j|0))fa();B=C+4|0;t=C+8|0;l=C;m=(c[(f&p)>>2]|0)+4|0;v=c[(m&p)>>2]|0;z=f+76|0;A=b[(z&o)>>1]|0;x=A<<16>>16;s=b[(f+(x<<1)&o)+78>>1]|0;y=s&65535;u=c[(f+(x<<2)&p)+120>>2]|0;do if((s&65535)<(e[(u&o)+18>>1]|0)?(a[(f&n)+73>>0]|0)==1:0){s=y<<1;w=c[(u&p)+64>>2]|0;s=(c[(u&p)+56>>2]|0)+((d[(w+s&n)>>0]<<8|d[(w+(s|1)&n)>>0])&e[(u&o)+20>>1])|0;w=u+5|0;if((a[(w&n)>>0]|0)==0?(c[(l&p)>>2]=0,k=Em(f,l)|0,c[(B&p)>>2]=k,(k|0)!=0):0){g=k;break}k=Ln(v,c[(f&p)+60>>2]|0,f)|0;c[(B&p)>>2]=k;if(!k){if((c[(f&p)+16>>2]|0)==0?(r=f+24|0,q=c[(r&p)>>2]|0,r=c[(r&p)+4>>2]|0,h=c[((c[(m&p)>>2]|0)&p)+8>>2]|0,(h|0)!=0):0)do{if((a[(h&n)+72>>0]&16)!=0?(m=h+24|0,(c[(m&p)>>2]|0)==(q|0)?(c[(m&p)+4>>2]|0)==(r|0):0):0)a[(h&n)+73>>0]=0;h=c[(h&p)+8>>2]|0}while((h|0)!=0);h=Gg(c[(u&p)+68>>2]|0)|0;c[(B&p)>>2]=h;if(!h){c[(B&p)>>2]=Hp(u,s,t)|0;Ip(u,y,e[(t&o)>>1]|0,B);h=c[(B&p)>>2]|0;if(!h){if((a[(w&n)>>0]|0)==0?(s=c[(f+(b[(z&o)>>1]<<2)&p)+120>>2]|0,r=c[((c[(f+(x+1<<2)&p)+120>>2]|0)&p)+72>>2]|0,l=c[(s&p)+56>>2]|0,t=s+18|0,m=e[(t&o)>>1]<<1,g=c[(s&p)+64>>2]|0,m=(d[(g+m+-2&n)>>0]<<8|d[(g+m+-1&n)>>0])&e[(s&o)+20>>1],g=(Lp(s,l+m|0)|0)&65535,q=c[(v&p)+80>>2]|0,c[(B&p)>>2]=Gg(c[(s&p)+68>>2]|0)|0,Jp(u,y,l+(m+-4)|0,g+4|0,q,r,B),Ip(s,(e[(t&o)>>1]|0)+-1|0,g,B),g=c[(B&p)>>2]|0,(g|0)!=0):0)break;g=Kp(f)|0;c[(B&p)>>2]=g;if(!g){g=b[(z&o)>>1]|0;if(g<<16>>16>A<<16>>16){do{h=g+-1<<16>>16;b[(z&o)>>1]=h;g=c[(f+(g<<16>>16<<2)&p)+120>>2]|0;if(!g)g=h;else{Bg(c[(g&p)+68>>2]|0);g=b[(z&o)>>1]|0}}while(g<<16>>16>A<<16>>16);g=Kp(f)|0;c[(B&p)>>2]=g;if(g)break}qm(f)|0;g=0}}else g=h}else g=h}else g=k}else g=1;while(0);i=C;return g|0}function Km(f,g,k,l){f=f|0;g=g|0;k=k|0;l=l|0;var m=0,r=0,s=0,t=0,u=0.0,v=0.0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;P=i;i=i+64|0;if((i|0)>=(j|0))fa();N=P+40|0;t=P+56|0;L=P;r=P+52|0;M=P+48|0;w=c[(k&p)+8>>2]|0;O=c[(k&p)>>2]|0;do if(!l){l=a[(g&n)>>0]|0;if(l<<24>>24>-1){l=l&255;c[(t&p)>>2]=l;m=1}else{m=mm(g,t)|0;l=c[(t&p)>>2]|0}if(l>>>0>f>>>0){c[(N&p)>>2]=68267;c[(N&p)+4>>2]=10788;bd(11,13600,N);a[(k&n)+7>>0]=11;m=0;break}else{K=l;t=l;l=0;r=m&255;s=15;break}}else{l=g+1|0;m=a[(l&n)>>0]|0;if(m<<24>>24>-1){l=m&255;c[(r&p)>>2]=l;s=1}else{s=mm(l,r)|0;l=c[(r&p)>>2]|0}m=d[(g&n)>>0]|0;c[(t&p)>>2]=m;if(l>>>0>11)l=(l+-12|0)>>>1;else l=d[(l&n)+34336>>0]|0;K=m;t=l+m|0;l=1;r=(s&255)+1|0;w=w+40|0;s=15}while(0);do if((s|0)==15){A=L+12|0;B=O+4|0;C=L+10|0;D=O+12|0;E=L+32|0;F=L+8|0;H=L+16|0;J=k+7|0;I=k+4|0;z=t;y=r;a:while(1){r=e[(w&o)+8>>1]|0;do if(!(r&4)){if(r&8){s=a[(g+y&n)>>0]|0;t=s&255;c[(M&p)>>2]=t;if((s&255)>11){m=1;s=62;break a}if(!(s<<24>>24)){m=-1;s=62;break a}u=+h[(w&q)>>3];om(g+z|0,t,L)|0;if(s<<24>>24==7)v=+h[(L&q)>>3];else{m=L;v=+((c[(m&p)>>2]|0)>>>0)+4294967296.0*+(c[(m&p)+4>>2]|0)}if(v<u){m=-1;s=62;break a}if(v>u){m=1;s=62;break a}else break}do if(!(r&2)){s=g+y|0;x=a[(s&n)>>0]|0;t=x&255;if(!(r&16)){c[(M&p)>>2]=t;m=x<<24>>24!=0&1;break}if(x<<24>>24>-1)c[(M&p)>>2]=t;else{mm(s,M)|0;t=c[(M&p)>>2]|0}if(!(t>>>0>11&(t&1|0)==0)){m=-1;s=62;break a}x=(t+-12|0)>>>1;if((x+z|0)>>>0>f>>>0){s=57;break a}s=c[(w&p)+12>>2]|0;m=Zv(g+z|0,c[(w&p)+16>>2]|0,(x|0)<(s|0)?x:s)|0;if(m){s=62;break a}m=x-s|0}else{t=g+y|0;s=a[(t&n)>>0]|0;if(s<<24>>24>-1){t=s&255;c[(M&p)>>2]=t}else{mm(t,M)|0;t=c[(M&p)>>2]|0}if(t>>>0<12){m=-1;s=62;break a}if(!(t&1)){m=1;s=62;break a}r=(t+-12|0)>>>1;c[(A&p)>>2]=r;if((r+z|0)>>>0>f>>>0){s=46;break a}s=c[(O+(l<<2)&p)+20>>2]|0;if(s){a[(C&n)>>0]=a[(B&n)>>0]|0;c[(E&p)>>2]=c[(D&p)>>2];b[(F&o)>>1]=2;c[(H&p)>>2]=g+z;m=pp(L,w,s,J)|0;break}x=c[(w&p)+12>>2]|0;m=Zv(g+z|0,c[(w&p)+16>>2]|0,(r|0)<(x|0)?r:x)|0;if(m){s=62;break a}m=r-x|0}while(0);if(m){s=62;break a}}else{s=a[(g+y&n)>>0]|0;t=s&255;c[(M&p)>>2]=t;if((s&255)>11){m=1;s=62;break a}if(s<<24>>24==7){m=w;u=+((c[(m&p)>>2]|0)>>>0)+4294967296.0*+(c[(m&p)+4>>2]|0);om(g+z|0,t,L)|0;v=+h[(L&q)>>3];if(v<u){m=-1;s=62;break a}if(v>u){m=1;s=62;break a}else break}else if(!(s<<24>>24)){m=-1;s=62;break a}s=g+z|0;switch(t|0){case 6:{m=d[(g+z&n)+1>>0]<<16|d[(s&n)>>0]<<24|d[(g+z&n)+2>>0]<<8|d[(g+z&n)+3>>0];x=d[(g+z&n)+5>>0]<<16|d[(g+z&n)+4>>0]<<24|d[(g+z&n)+6>>0]<<8|d[(g+z&n)+7>>0];break}case 3:{x=d[(g+z&n)+1>>0]<<8|a[(s&n)>>0]<<16|d[(g+z&n)+2>>0];m=((x|0)<0)<<31>>31;break}case 5:{m=a[(s&n)>>0]<<8|d[(g+z&n)+1>>0];x=d[(g+z&n)+3>>0]<<16|d[(g+z&n)+2>>0]<<24|d[(g+z&n)+4>>0]<<8|d[(g+z&n)+5>>0];break}case 1:case 0:{x=a[(s&n)>>0]|0;m=((x|0)<0)<<31>>31;break}case 4:{x=d[(g+z&n)+1>>0]<<16|d[(s&n)>>0]<<24|d[(g+z&n)+2>>0]<<8|d[(g+z&n)+3>>0];m=((x|0)<0)<<31>>31;break}case 2:{x=a[(s&n)>>0]<<8|d[(g+z&n)+1>>0];m=((x|0)<0)<<31>>31;break}default:{m=0;x=t+-8|0}}r=w;s=c[(r&p)>>2]|0;r=c[(r&p)+4>>2]|0;if((m|0)<(r|0)|(m|0)==(r|0)&x>>>0<s>>>0){m=-1;s=62;break a}if((m|0)>(r|0)|(m|0)==(r|0)&x>>>0>s>>>0){m=1;s=62;break a}}while(0);l=l+1|0;w=w+40|0;if(t>>>0>11)r=(t+-12|0)>>>1;else r=d[(t&n)+34336>>0]|0;x=t;s=0;t=0;do{t=t+1|0;x=mw(x|0,s|0,7)|0;s=G}while(((x|0)!=0|(s|0)!=0)&(t|0)<9);z=r+z|0;y=t+y|0;if(y>>>0>=K>>>0){s=70;break}if(z>>>0>f>>>0?1:(l|0)>=(e[(I&o)>>1]|0)){s=70;break}}if((s|0)==46){c[(N&p)>>2]=68346;c[(N&p)+4>>2]=10788;bd(11,13600,N);a[(J&n)>>0]=11;m=0;break}else if((s|0)==57){c[(N&p)>>2]=68375;c[(N&p)+4>>2]=10788;bd(11,13600,N);a[(J&n)>>0]=11;m=0;break}else if((s|0)==62){m=(a[((c[(O&p)+16>>2]|0)+l&n)>>0]|0)==0?m:0-m|0;break}else if((s|0)==70){m=a[(k&n)+6>>0]|0;break}}while(0);i=P;return m|0}function Lm(f,g,h,k,l){f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;E=i;i=i+16|0;if((i|0)>=(j|0))fa();D=E;B=E+12|0;C=E+8|0;m=b[(f&o)+76>>1]|0;r=c[(f+(m<<2)&p)+120>>2]|0;A=c[(f&p)+4>>2]|0;if(!(b[(f&o)+44>>1]|0)){v=r+56|0;m=e[(f+(m<<1)&o)+78>>1]<<1;u=c[(r&p)+64>>2]|0;rp(r,(c[(v&p)>>2]|0)+((d[(u+m&n)>>0]<<8|d[(u+(m|1)&n)>>0])&e[(r&o)+20>>1])|0,f+24|0);m=f+72|0;a[(m&n)>>0]=d[(m&n)>>0]|2;m=v}else m=r+56|0;v=c[(f&p)+32>>2]|0;t=f+40|0;q=e[(t&o)>>1]|0;u=A+36|0;if((v+q|0)>>>0<=((c[(m&p)>>2]|0)+(c[(u&p)>>2]|0)|0)>>>0){if(q>>>0>g>>>0){s=(h+g|0)>>>0>q>>>0?q-g|0:h;q=v+g|0;if(l&1){m=Gg(c[(r&p)+68>>2]|0)|0;if(!m){kw(q|0,k|0,s|0)|0;m=0}}else{kw(k|0,q|0,s|0)|0;m=0}k=k+s|0;w=0;h=h-s|0}else{w=g-q|0;m=0}a:do if((m|0)==0&(h|0)!=0){m=c[(u&p)>>2]|0;z=m+-4|0;q=e[(t&o)>>1]|0;t=d[(v+q&n)+1>>0]<<16|d[(v+q&n)>>0]<<24|d[(v+q&n)+2>>0]<<8|d[(v+q&n)+3>>0];c[(B&p)>>2]=t;v=f+72|0;do if((l|0)!=2?(a[(v&n)>>0]&4)==0:0){m=((m+-5+(c[(f&p)+36>>2]|0)-q|0)>>>0)/(z>>>0)|0;g=f+64|0;if((m|0)>(c[(g&p)>>2]|0)){r=f+20|0;q=rg(c[(r&p)>>2]|0,m<<3,0)|0;if(!q){m=7;break}c[(g&p)>>2]=m<<1;c[(r&p)>>2]=q}fw(c[(f&p)+20>>2]|0,0,m<<2|0)|0;a[(v&n)>>0]=d[(v&n)>>0]|4;m=0}else m=0;while(0);g=a[(v&n)>>0]|0;if((g&4)!=0?(y=(w>>>0)/(z>>>0)|0,x=c[((c[(f&p)+20>>2]|0)+(y<<2)&p)>>2]|0,(x|0)!=0):0){c[(B&p)>>2]=x;s=(w>>>0)%(z>>>0)|0;r=x;t=y}else{s=w;r=t;t=0}if((m|0)==0&(r|0)!=0){x=l&1;y=x<<1^2;x=(x|0)==0;l=f+20|0;while(1){if(g&4)c[((c[(l&p)>>2]|0)+(t<<2)&p)>>2]=r;if(s>>>0<z>>>0){u=(s+h|0)>>>0>z>>>0?z-s|0:h;m=zg(c[(A&p)>>2]|0,r,C,y)|0;if(!m){g=c[(C&p)>>2]|0;q=c[(g&p)+4>>2]|0;r=d[(q&n)+1>>0]<<16|d[(q&n)>>0]<<24|d[(q&n)+2>>0]<<8|d[(q&n)+3>>0];c[(B&p)>>2]=r;q=q+(s+4)|0;if(!x){m=Gg(g)|0;if(!m){kw(q|0,k|0,u|0)|0;m=0}}else{kw(k|0,q|0,u|0)|0;m=0}if(!g)s=0;else{Bg(g);s=0}}h=h-u|0;k=k+u|0;t=t+1|0}else{g=t+1|0;m=c[((c[(l&p)>>2]|0)+(g<<2)&p)>>2]|0;if(!m){m=Mp(A,r,0,B)|0;r=c[(B&p)>>2]|0}else{c[(B&p)>>2]=m;r=m;m=0}s=s-z|0;t=g}if(!((m|0)==0&(h|0)!=0&(r|0)!=0))break a;g=a[(v&n)>>0]|0}}}while(0);if((m|0)==0&(h|0)!=0){c[(D&p)>>2]=57357;c[(D&p)+4>>2]=10788;bd(11,13600,D);m=11}}else{c[(D&p)>>2]=57202;c[(D&p)+4>>2]=10788;bd(11,13600,D);m=11}i=E;return m|0}function Mm(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[(a&p)>>2]|0;d=a+44|0;mg(e,c[(d&p)>>2]|0);a=b+8|0;c[(d&p)>>2]=kh(e,c[(a&p)>>2]|0)|0;Wc(c[(a&p)>>2]|0);c[(a&p)>>2]=0;return}function Nm(e,f){e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+16|0;if((i|0)>=(j|0))fa();k=u+4|0;s=u;t=e+12|0;if(!(c[(t&p)>>2]|0)){h=e+8|0;g=Fm(c[((c[(h&p)>>2]|0)&p)+28>>2]|0,0,0,k)|0;c[(t&p)>>2]=g;if(!(c[(k&p)>>2]|0))g=7;else{b[(g&o)+4>>1]=b[((c[((c[(h&p)>>2]|0)&p)+28>>2]|0)&o)+6>>1]|0;a[(g&n)+7>>0]=0;l=4}}else l=4;if((l|0)==4){r=qg(256,0)|0;if(!r)g=7;else{fw(r|0,0,256)|0;g=c[(f&p)>>2]|0;c[(s&p)>>2]=g;if(g){q=f+4|0;while(1){h=c[(q&p)>>2]|0;if(h)if((g|0)==(h|0))m=0;else m=h+(c[(g&p)+4>>2]|0)|0;else m=c[(g&p)+4>>2]|0;c[(g&p)+4>>2]=0;l=c[(r&p)>>2]|0;k=c[(s&p)>>2]|0;if(!l)l=r;else{h=r;g=0;do{Np(e,k,l,s);c[(h&p)>>2]=0;g=g+1|0;h=r+(g<<2)|0;l=c[(h&p)>>2]|0;k=c[(s&p)>>2]|0}while((l|0)!=0);l=h}c[(l&p)>>2]=k;c[(s&p)>>2]=m;if(!m)break;else g=m}}c[(s&p)>>2]=0;g=0;h=0;do{Np(e,g,c[(r+(h<<2)&p)>>2]|0,s);h=h+1|0;g=c[(s&p)>>2]|0}while((h|0)!=64);c[(f&p)>>2]=g;Wc(r);g=d[((c[(t&p)>>2]|0)&n)+7>>0]|0}}i=u;return g|0}function Om(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0;q=i;i=i+64|0;if((i|0)>=(j|0))fa();m=q+40|0;o=q;a[(b&n)+56>>0]=1;g=b+64|0;l=b+36|0;k=b+72|0;h=c[((c[(k&p)>>2]|0)&p)+24>>2]|0;f=o+0|0;e=f+40|0;do{c[(f&p)>>2]=0;f=f+4|0}while((f|0)<(e|0));f=b+96|0;if(!((c[(f&p)>>2]|0)==0?(d=Op(h,f)|0,(d|0)!=0):0)){d=Nm(g,l)|0;if(!d){g=b+104|0;d=g;Pp(c[(f&p)>>2]|0,o,c[((c[(k&p)>>2]|0)&p)+12>>2]|0,c[(d&p)>>2]|0,c[(d&p)+4>>2]|0);d=b+92|0;c[(d&p)>>2]=(c[(d&p)>>2]|0)+1;d=c[(b&p)+44>>2]|0;Qp(o,m,pm(m,d,((d|0)<0)<<31>>31)|0);d=c[(l&p)>>2]|0;if(d){f=b+40|0;do{e=d;d=c[(d&p)+4>>2]|0;b=c[(e&p)>>2]|0;Qp(o,m,pm(m,b,((b|0)<0)<<31>>31)|0);Qp(o,e+8|0,c[(e&p)>>2]|0);if(!(c[(f&p)>>2]|0))Wc(e)}while((d|0)!=0)}c[(l&p)>>2]=0;d=Rp(o,g)|0}}i=q;return d|0}function Pm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))fa();q=s;g=d;k=c[(g&p)>>2]|0;g=c[(g&p)+4>>2]|0;r=Qm(b)|0;c[(e&p)>>2]=r;h=(r|0)==0;f=h?7:0;h=h^1;if((b|0)>0&h){o=r+12|0;n=a+32|0;m=0;do{h=c[(o&p)>>2]|0;l=h+(m*56|0)|0;f=Sp(a,l,n,k,g)|0;if(!f){f=Tp(l,q)|0;g=l;k=q;g=jw(c[(k&p)>>2]|0,c[(k&p)+4>>2]|0,c[(g&p)>>2]|0,c[(g&p)+4>>2]|0)|0;k=h+(m*56|0)+8|0;h=k;c[(h&p)>>2]=g;c[(h&p)+4>>2]=G;if(!f)f=Up(l)|0}else k=h+(m*56|0)+8|0;g=k;k=c[(g&p)>>2]|0;g=c[(g&p)+4>>2]|0;m=m+1|0;h=(f|0)==0}while((m|0)<(b|0)&h)}if(!h){Tm(r);c[(e&p)>>2]=0}b=d;c[(b&p)>>2]=k;c[(b&p)+4>>2]=g;i=s;return f|0}function Qm(a){a=a|0;var b=0,d=0;b=2;while(1)if((b|0)<(a|0))b=b<<1;else{d=b;break}b=c[2252]|0;if((b|0)!=0?(lc[b&127](100)|0)!=0:0)b=0;else{a=(d*60|0)+16|0;b=qg(a,((a|0)<0)<<31>>31)|0;if(!b)b=0;else{fw(b|0,0,a|0)|0;c[(b&p)>>2]=d;c[(b&p)+4>>2]=0;a=b+16|0;c[(b&p)+12>>2]=a;c[(b&p)+8>>2]=a+(d*56|0)}}return b|0}function Rm(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=c[2252]|0;if((f|0)!=0?(lc[f&127](100)|0)!=0:0){f=0;i=6}else i=3;do if((i|0)==3){f=qg(64,0)|0;if(!f){i=6;break}else{g=f+0|0;h=g+64|0;do{a[(g&n)>>0]=0;g=g+1|0}while((g|0)<(h|0));c[(e&p)>>2]=f;c[(f&p)+4>>2]=d;c[(f&p)>>2]=b;h=c[(b&p)+8>>2]|0;g=(c[(h&p)+8>>2]|0)+9|0;h=(c[(h&p)+4>>2]|0)/2|0;h=(g|0)>(h|0)?g:h;c[(f&p)+16>>2]=h;f=b+56|0;g=f;g=jw(h|0,((h|0)<0)<<31>>31|0,c[(g&p)>>2]|0,c[(g&p)+4>>2]|0)|0;c[(f&p)>>2]=g;c[(f&p)+4>>2]=G;f=0;break}}while(0);if((i|0)==6){c[(e&p)>>2]=f;Tm(d);f=7}return f|0}function Sm(a){a=a|0;if(a){Tm(c[(a&p)+4>>2]|0);Wc(a)}return}function Tm(a){a=a|0;var b=0,d=0;if((a|0)!=0?(c[(a&p)>>2]|0)>0:0){b=a+12|0;d=0;do{Vp((c[(b&p)>>2]|0)+(d*56|0)|0);d=d+1|0}while((d|0)<(c[(a&p)>>2]|0))}Wc(a);return}function Um(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0;o=c[(b&p)>>2]|0;t=b+4|0;c[(t&p)>>2]=a;a:do if((o|0)>0){q=b+12|0;r=0;do{l=c[(q&p)>>2]|0;j=l+(r*56|0)|0;l=c[(l+(r*56|0)&p)+48>>2]|0;if(l){m=c[(l&p)>>2]|0;i=c[((c[(m&p)+8>>2]|0)&p)+24>>2]|0;e=Um(m,c[(l&p)+4>>2]|0)|0;if(e)break a;k=c[(l&p)+16>>2]|0;g=m+48|0;h=c[(g&p)>>2]|0;f=m+56|0;if(!h){e=Op(i,g)|0;i=f;c[(i&p)>>2]=0;c[(i&p)+4>>2]=0;if(e)break a;h=c[(g&p)>>2]|0;g=0;f=0}else{g=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0}c[(l&p)+48>>2]=h;l=l+8|0;c[(l&p)>>2]=g;c[(l&p)+4>>2]=f;l=jw(g|0,f|0,k|0,((k|0)<0)<<31>>31|0)|0;e=m+56|0;c[(e&p)>>2]=l;c[(e&p)+4>>2]=G;e=Up(j)|0;if(e)break a}r=r+1|0}while((r|0)<(o|0));e=c[(b&p)>>2]|0;s=12}else{e=o;s=12}while(0);if((s|0)==12){f=e+-1|0;b:do if((f|0)>0){j=b+12|0;k=b+8|0;h=e;g=e;i=f;while(1){e=(h|0)/2|0;if((g|0)>(e|0)){g=i-e<<1;e=g;g=g|1}else{g=i<<1;o=c[(k&p)>>2]|0;e=c[(o+(g<<2)&p)>>2]|0;g=c[(o+((g|1)<<2)&p)>>2]|0}f=c[(j&p)>>2]|0;if(c[(f+(e*56|0)&p)+24>>2]|0){if(c[(f+(g*56|0)&p)+24>>2]|0){o=(Wp(c[(t&p)>>2]|0,c[(f+(e*56|0)&p)+32>>2]|0,c[(f+(e*56|0)&p)+20>>2]|0,c[(f+(g*56|0)&p)+32>>2]|0,c[(f+(g*56|0)&p)+20>>2]|0)|0)<1;e=o?e:g}}else e=g;c[((c[(k&p)>>2]|0)+(i<<2)&p)>>2]=e;e=i+-1|0;if((e|0)<=0)break b;g=i;h=c[(b&p)>>2]|0;i=e}}while(0);e=d[((c[(a&p)+12>>2]|0)&n)+7>>0]|0}return e|0}function Vm(f){f=f|0;var g=0,h=0,i=0,j=0,k=0;i=f+76|0;do{g=b[(i&o)>>1]|0;h=c[(f+(g<<2)&p)+120>>2]|0;if(a[(h&n)+5>>0]|0){g=0;break}j=c[(h&p)+56>>2]|0;g=e[(f+(g<<1)&o)+78>>1]<<1;k=c[(h&p)+64>>2]|0;g=(d[(k+g&n)>>0]<<8|d[(k+(g|1)&n)>>0])&e[(h&o)+20>>1];g=rm(f,d[(j+g&n)+1>>0]<<16|d[(j+g&n)>>0]<<24|d[(j+g&n)+2>>0]<<8|d[(j+g&n)+3>>0])|0}while((g|0)==0);return g|0}function Wm(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;s=a+8|0;g=c[((c[(s&p)>>2]|0)&p)+4>>2]|0;w=c[(a&p)+4>>2]|0;u=a+12|0;e=Up((c[(u&p)>>2]|0)+(g*56|0)|0)|0;if(!e){e=c[(u&p)>>2]|0;f=g|1;a=(c[(a&p)>>2]|0)+g|0;a:do if((a|0)>1){m=e;o=a;i=c[(e+(f*56|0)&p)+32>>2]|0;q=e+((g&65534)*56|0)|0;g=e+(f*56|0)|0;while(1){r=q+24|0;j=q;k=q+32|0;l=q+20|0;e=m;h=o;a=i;while(1){f=h;h=(h|0)/2|0;if(!(c[(r&p)>>2]|0)){i=a;break}if(((c[(g&p)+24>>2]|0)!=0?(t=Wp(w,c[(k&p)>>2]|0,c[(l&p)>>2]|0,a,c[(g&p)+20>>2]|0)|0,(t|0)>=0):0)?!((t|0)==0&q>>>0<g>>>0):0){v=10;break}i=c[(u&p)>>2]|0;a=c[(s&p)>>2]|0;c[(a+(h<<2)&p)>>2]=(j-i|0)/56|0;g=c[(a+((h^1)<<2)&p)>>2]|0;if((f|0)<=3){e=i;break a}else{e=i;a=c[(i+(g*56|0)&p)+32>>2]|0;g=i+(g*56|0)|0}}if((v|0)==10){v=0;e=c[(u&p)>>2]|0;i=(c[(r&p)>>2]|0)==0?a:0}a=c[(s&p)>>2]|0;c[(a+(h<<2)&p)>>2]=(g-e|0)/56|0;if((f|0)>3){m=e;o=h;q=e+((c[(a+((h^1)<<2)&p)>>2]|0)*56|0)|0}else break}}else a=c[(s&p)>>2]|0;while(0);c[(b&p)>>2]=(c[(e+((c[(a&p)+4>>2]|0)*56|0)&p)+24>>2]|0)==0&1;e=d[((c[(w&p)+12>>2]|0)&n)+7>>0]|0}return e|0}function Xm(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=b+4|0;g=c[(f&p)>>2]|0;c[(g&p)+4>>2]=c[(b&p)>>2];b=Ln(g,d,0)|0;if(!b){b=c[((c[(f&p)>>2]|0)&p)+8>>2]|0;if(b)do{if(a[(b&n)+72>>0]&16)a[(b&n)+73>>0]=0;b=c[(b&p)+8>>2]|0}while((b|0)!=0);b=Xp(g,d,0,e)|0}return b|0}function Ym(f,g,h){f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;C=i;i=i+32|0;if((i|0)>=(j|0))fa();t=C;B=C+16|0;A=C+12|0;z=C+8|0;c[(B&p)>>2]=0;m=c[(f&p)+12>>2]|0;if(!g){g=Yp(f,h)|0;c[(A&p)>>2]=g}else{c[(A&p)>>2]=g;u=(c[(g&p)+68>>2]|0)+26|0;b[(u&o)>>1]=(b[(u&o)>>1]|0)+1<<16>>16}l=Gg(c[(m&p)+68>>2]|0)|0;c[(z&p)>>2]=l;do if(!l){u=m+56|0;s=c[(u&p)>>2]|0;D=s+36|0;l=s+37|0;m=s+38|0;s=s+39|0;q=d[(l&n)>>0]<<16|d[(D&n)>>0]<<24|d[(m&n)>>0]<<8|d[(s&n)>>0];r=q+1|0;a[(D&n)>>0]=r>>>24;a[(l&n)>>0]=r>>>16;a[(m&n)>>0]=r>>>8;a[(s&n)>>0]=r;s=f+22|0;if(b[(s&o)>>1]&4){if(!g){m=dl(f,h,A,0)|0;c[(z&p)>>2]=m;if(m){k=m;break}g=c[(A&p)>>2]|0}m=Gg(c[(g&p)+68>>2]|0)|0;c[(z&p)>>2]=m;if(m){k=m;break}fw(c[(g&p)+56>>2]|0,0,c[((c[(g&p)+52>>2]|0)&p)+32>>2]|0)|0}if((a[(f&n)+17>>0]|0)!=0?(zp(f,h,2,0,z),k=c[(z&p)>>2]|0,(k|0)!=0):0)break;if(q){l=c[(u&p)>>2]|0;l=d[(l&n)+33>>0]<<16|d[(l&n)+32>>0]<<24|d[(l&n)+34>>0]<<8|d[(l&n)+35>>0];k=dl(f,l,B,0)|0;c[(z&p)>>2]=k;if(k)break;k=c[(B&p)>>2]|0;r=k+56|0;q=c[(r&p)>>2]|0;q=d[(q&n)+5>>0]<<16|d[(q&n)+4>>0]<<24|d[(q&n)+6>>0]<<8|d[(q&n)+7>>0];m=(c[(f&p)+36>>2]|0)>>>2;if(q>>>0>(m+-2|0)>>>0){c[(t&p)>>2]=58627;c[(t&p)+4>>2]=10788;bd(11,13600,t);c[(z&p)>>2]=11;k=11;break}if(q>>>0<(m+-8|0)>>>0){k=Gg(c[(k&p)+68>>2]|0)|0;c[(z&p)>>2]=k;if(k)break;u=c[(r&p)>>2]|0;t=q+1|0;a[(u&n)+4>>0]=t>>>24;a[(u&n)+5>>0]=t>>>16;a[(u&n)+6>>0]=t>>>8;a[(u&n)+7>>0]=t;u=q<<2;t=c[(r&p)>>2]|0;a[(t+u&n)+8>>0]=h>>>24;a[(t+u&n)+9>>0]=h>>>16;a[(t+u&n)+10>>0]=h>>>8;a[(t+u&n)+11>>0]=h;if((((g|0)!=0?(b[(s&o)>>1]&4)==0:0)?(v=c[(g&p)+68>>2]|0,w=v+24|0,x=e[(w&o)>>1]|0,(x&2|0)!=0):0)?(c[((c[(v&p)+16>>2]|0)&p)+96>>2]|0)==0:0)b[(w&o)>>1]=x|32;l=f+60|0;k=c[(l&p)>>2]|0;do if(!k){g=c[(f&p)+44>>2]|0;k=qg(512,0)|0;if(!k){c[(l&p)>>2]=0;k=7;break}else{fw(k|0,0,512)|0;c[(k&p)>>2]=g;c[(l&p)>>2]=k;y=28;break}}else y=28;while(0);if((y|0)==28)if((c[(k&p)>>2]|0)>>>0<h>>>0)k=0;else k=bi(k,h)|0;c[(z&p)>>2]=k;break}}else l=0;if(!g){k=dl(f,h,A,0)|0;c[(z&p)>>2]=k;if(k)break;g=c[(A&p)>>2]|0}k=Gg(c[(g&p)+68>>2]|0)|0;c[(z&p)>>2]=k;if(!k){k=g+56|0;v=c[(k&p)>>2]|0;a[(v&n)>>0]=l>>>24;a[(v&n)+1>>0]=l>>>16;a[(v&n)+2>>0]=l>>>8;a[(v&n)+3>>0]=l;k=(c[(k&p)>>2]|0)+4|0;a[(k&n)>>0]=0;a[(k&n)+1>>0]=0;a[(k&n)+2>>0]=0;a[(k&n)+3>>0]=0;k=c[(u&p)>>2]|0;a[(k&n)+32>>0]=h>>>24;a[(k&n)+33>>0]=h>>>16;a[(k&n)+34>>0]=h>>>8;a[(k&n)+35>>0]=h;k=0}}else k=l;while(0);g=c[(A&p)>>2]|0;if(g){a[(g&n)>>0]=0;Bg(c[(g&p)+68>>2]|0)}g=c[(B&p)>>2]|0;if(g)Bg(c[(g&p)+68>>2]|0);i=C;return k|0}function Zm(f,g,h,k,l,m){f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;S=i;i=i+48|0;if((i|0)>=(j|0))fa();P=S+24|0;G=S;z=S+36|0;Q=S+32|0;w=g+72|0;O=c[(w&p)>>2]|0;x=c[(f&p)>>2]|0;u=c[(g&p)+68>>2]|0;v=x+15|0;if((a[(v&n)>>0]|0)!=0?(q=Gg(u)|0,(q|0)!=0):0)R=20;else R=3;a:do if((R|0)==3){r=u+24|0;t=b[(r&o)>>1]|0;if((t&2)!=0?(Uo(u)|0)!=0:0){q=Vo(u)|0;if(q){R=20;break}t=b[(r&o)>>1]|0}if((t&4)==0|(m|0)!=0)s=0;else s=c[(u&p)+20>>2]|0;b[(r&o)>>1]=t&65531;D=x+204|0;m=ac[c[8876>>2]&63](c[((c[(D&p)>>2]|0)&p)+40>>2]|0,l,0)|0;m=il(c[(D&p)>>2]|0,l,m)|0;do if(m){b[(r&o)>>1]=e[(r&o)>>1]|e[(m&o)+24>>1]&4;if(!(a[(v&n)>>0]|0)){ml(m);break}else{Zp(m,(c[(x&p)+24>>2]|0)+1|0);break}}while(0);t=c[(u&p)+20>>2]|0;Zp(u,l);To(u);if(a[(v&n)>>0]|0){Zp(m,t);Bg(m)}do if(s){q=zg(x,s,P,0)|0;if(!q){D=c[(P&p)>>2]|0;C=D+24|0;b[(C&o)>>1]=e[(C&o)>>1]|4;To(D);Bg(D);break}if(s>>>0>(c[(x&p)+28>>2]|0)>>>0){R=20;break a}ci(c[(x&p)+56>>2]|0,s,c[(x&p)+200>>2]|0);R=20;break a}while(0);c[(Q&p)>>2]=0;c[(w&p)>>2]=l;if(h<<24>>24==1|h<<24>>24==5){q=_p(g)|0;c[(Q&p)>>2]=q;if(!q)R=25;else break}else{m=c[(g&p)+56>>2]|0;m=d[(m&n)+1>>0]<<16|d[(m&n)>>0]<<24|d[(m&n)+2>>0]<<8|d[(m&n)+3>>0];if(m){zp(f,m,4,l,Q);q=c[(Q&p)>>2]|0;if(!q)R=25;else break}}if((R|0)==25?h<<24>>24==1:0){q=0;break}q=dl(f,k,z,0)|0;c[(Q&p)>>2]=q;if(!q){C=c[(z&p)>>2]|0;D=C+68|0;q=Gg(c[(D&p)>>2]|0)|0;c[(Q&p)>>2]=q;if(q){if(!C)break;Bg(c[(D&p)>>2]|0);break}b:do if(h<<24>>24==4){q=c[(C&p)+56>>2]|0;r=q+1|0;s=q+2|0;m=q+3|0;if((d[(r&n)>>0]<<16|d[(q&n)>>0]<<24|d[(s&n)>>0]<<8|d[(m&n)>>0]|0)==(O|0)){a[(q&n)>>0]=l>>>24;a[(r&n)>>0]=l>>>16;a[(s&n)>>0]=l>>>8;a[(m&n)>>0]=l;q=0;break}else{c[(P&p)>>2]=56060;c[(P&p)+4>>2]=10788;bd(11,13600,P);q=11;break}}else{A=a[(C&n)>>0]|0;$p(C)|0;z=b[(C&o)+18>>1]|0;B=z&65535;c:do if(z<<16>>16){g=C+56|0;x=C+20|0;u=C+64|0;y=h<<24>>24==3;z=G+18|0;m=0;while(1){w=c[(g&p)>>2]|0;v=m<<1;t=c[(u&p)>>2]|0;v=(d[(t+v&n)>>0]<<8|d[(t+(v|1)&n)>>0])&e[(x&o)>>1];t=w+v|0;if(y){rp(C,t,G);t=b[(z&o)>>1]|0;if((t<<16>>16!=0?(E=(t&65535)+v|0,F=w+(E+3)|0,F>>>0<=((c[(g&p)>>2]|0)+(e[(x&o)>>1]|0)|0)>>>0):0)?(H=w+E|0,I=w+(E+1)|0,J=w+(E+2)|0,(d[(I&n)>>0]<<16|d[(H&n)>>0]<<24|d[(J&n)>>0]<<8|d[(F&n)>>0]|0)==(O|0)):0){t=F;q=H;r=I;s=J;R=40;break}}else{q=w+(v+1)|0;r=w+(v+2)|0;s=w+(v+3)|0;if((d[(q&n)>>0]<<16|d[(t&n)>>0]<<24|d[(r&n)>>0]<<8|d[(s&n)>>0]|0)==(O|0)){R=42;break}}m=m+1|0;if((m|0)>=(B|0))break c}if((R|0)==40){a[(q&n)>>0]=l>>>24;a[(r&n)>>0]=l>>>16;a[(s&n)>>0]=l>>>8;a[(t&n)>>0]=l;break}else if((R|0)==42){a[(t&n)>>0]=l>>>24;a[(q&n)>>0]=l>>>16;a[(r&n)>>0]=l>>>8;a[(s&n)>>0]=l;break}}else m=0;while(0);do if((m|0)==(B|0)){if(h<<24>>24==5?(N=d[(C&n)+6>>0]|0,J=c[(C&p)+56>>2]|0,K=J+(N+8)|0,L=J+(N+9)|0,M=J+(N+10)|0,N=J+(N+11)|0,(d[(L&n)>>0]<<16|d[(K&n)>>0]<<24|d[(M&n)>>0]<<8|d[(N&n)>>0]|0)==(O|0)):0){a[(K&n)>>0]=l>>>24;a[(L&n)>>0]=l>>>16;a[(M&n)>>0]=l>>>8;a[(N&n)>>0]=l;break}c[(P&p)>>2]=56094;c[(P&p)+4>>2]=10788;bd(11,13600,P);q=11;break b}while(0);a[(C&n)>>0]=A;q=0}while(0);c[(Q&p)>>2]=q;if(C)Bg(c[(D&p)>>2]|0);if(!q){zp(f,l,h,k,Q);q=c[(Q&p)>>2]|0}}}while(0);if((R|0)==20)c[(Q&p)>>2]=q;i=S;return q|0}function _m(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=e+20|0;Tm(c[(j&p)>>2]|0);c[(j&p)>>2]=0;j=e+59|0;if(a[(j&n)>>0]|0){k=0;do{g=e+(k<<6)+76|0;mg(b,c[(g&p)>>2]|0);c[(g&p)>>2]=0;g=e+(k<<6)+80|0;h=c[(g&p)>>2]|0;if(h)do{i=h;h=c[(h&p)+4>>2]|0;if(i)Wc(i)}while((h|0)!=0);c[(g&p)>>2]=0;h=e+(k<<6)+96|0;g=c[(h&p)>>2]|0;if(g){i=c[(g&p)>>2]|0;if(i){lc[c[(i&p)+4>>2]&127](g)|0;c[(g&p)>>2]=0}Wc(g);c[(h&p)>>2]=0;g=e+(k<<6)+104|0;c[(g&p)>>2]=0;c[(g&p)+4>>2]=0}i=e+(k<<6)+112|0;h=c[(i&p)>>2]|0;if(h){g=c[(h&p)>>2]|0;if(g){lc[c[(g&p)+4>>2]&127](h)|0;c[(h&p)>>2]=0}Wc(h);c[(i&p)>>2]=0;g=e+(k<<6)+120|0;c[(g&p)>>2]=0;c[(g&p)+4>>2]=0}k=k+1|0}while((k|0)<(d[(j&n)>>0]|0))}h=e+36|0;if((c[(e&p)+40>>2]|0)==0?(f=c[(h&p)>>2]|0,(f|0)!=0):0)do{g=f;f=c[(f&p)+4>>2]|0;if(g)Wc(g)}while((f|0)!=0);c[(h&p)>>2]=0;c[(e&p)+44>>2]=0;a[(e&n)+56>>0]=0;c[(e&p)+48>>2]=0;c[(e&p)+8>>2]=0;f=e+32|0;mg(b,c[(f&p)>>2]|0);c[(f&p)>>2]=0;return}function $m(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0;u=i;i=i+16|0;if((i|0)>=(j|0))fa();k=u+4|0;r=u;s=c[(d&p)>>2]|0;m=c[(d&p)+8>>2]|0;q=c[(s&p)+16>>2]|0;l=(c[(q+(m<<4)&p)+12>>2]|0)+78|0;b[(l&o)>>1]=e[(l&o)>>1]&65531;l=s+65|0;do if(!(a[(l&n)>>0]|0))if(g){t=g+4|0;f=c[(t&p)>>2]|0;if(!f){aq(d,c[(g&p)>>2]|0,0);h=0;break}h=g+8|0;v=c[(h&p)>>2]|0;if((v|0)!=0?(a[(v&n)>>0]|0)!=0:0){q=s+144|0;a[(q&n)>>0]=m;c[(k&p)>>2]=0;Dn(f,k)|0;f=c[(h&p)>>2]|0;c[(s&p)+140>>2]=c[(k&p)>>2];t=s+146|0;a[(t&n)>>0]=0;ih(s,f,-1,0,0,r,0)|0;f=c[(s&p)+52>>2]|0;a[(q&n)>>0]=0;do if((f|0)!=0?(a[(t&n)>>0]|0)==0:0){c[(d&p)+12>>2]=f;if((f|0)==7){a[(l&n)>>0]=1;break}else if((f|0)==9)break;if((f&255|0)!=6){t=c[(g&p)>>2]|0;aq(d,t,Se(s)|0)}}while(0);md(c[(r&p)>>2]|0)|0;h=0;break}f=c[(g&p)>>2]|0;if(!f){aq(d,0,0);h=0;break}f=bq(s,f,c[(q+(m<<4)&p)>>2]|0)|0;if((f|0)!=0?(Dn(c[(t&p)>>2]|0,f+40|0)|0)==0:0){aq(d,c[(g&p)>>2]|0,13528);h=0}else h=0}else h=0;else{aq(d,c[(g&p)>>2]|0,0);h=1}while(0);i=u;return h|0}function an(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))fa();k=m;l=m+8|0;h=b+16|0;f=c[(h&p)>>2]|0;g=c[((c[(f+(d<<4)&p)+12>>2]|0)&p)+32>>2]|0;if(g){f=g;do{cq(c[(f&p)+8>>2]|0);f=c[(f&p)>>2]|0}while((f|0)!=0);f=c[(h&p)>>2]|0}c[(l&p)>>2]=b;f=c[(f+(d<<4)&p)>>2]|0;c[(l&p)+4>>2]=f;do if(!(_h(b,13384,f)|0))e=1;else{c[(k&p)>>2]=f;f=uh(b,13400,k)|0;if((f|0)!=0?(e=Qe(b,f,23,l,0)|0,mg(b,f),(e|0)!=7):0)break;a[(b&n)+65>>0]=1;e=7}while(0);i=m;return e|0}function bn(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;j=c[(b&p)+12>>2]|0;if(!j){h=b+4|0;g=b+8|0;i=0}else{h=a[(e&n)>>0]|0;if(!(h<<24>>24))h=0;else{g=e;i=h;h=0;do{g=g+1|0;h=h<<3^h^(d[(i&255&n)+9328>>0]|0);i=a[(g&n)>>0]|0}while(i<<24>>24!=0)}i=(h>>>0)%((c[(b&p)>>2]|0)>>>0)|0;h=j+(i<<3)|0;g=j+(i<<3)+4|0}h=c[(h&p)>>2]|0;g=c[(g&p)>>2]|0;c[(f&p)>>2]=i;a:do if(!h)g=0;else while(1){h=h+-1|0;if(!(dd(c[(g&p)+12>>2]|0,e)|0))break a;if(!h){g=0;break}else g=c[(g&p)>>2]|0}while(0);return g|0}function cn(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))fa();v=w;u=w+12|0;a:do if((g|0)>0){s=b+16|0;t=b+4|0;r=(e|0)==0;h=f;e=g;while(1){m=e+-1|0;if(!(c[(s&p)>>2]|0))break a;if((h|0)<1){h=e;e=5;break}if(eq(b,h)|0)break a;if(zg(c[(t&p)>>2]|0,h,u,0)|0){e=8;break}o=c[(u&p)>>2]|0;q=c[(o&p)+4>>2]|0;do if(r)if((m|0)>0?(a[((c[(b&p)>>2]|0)&n)+17>>0]|0)!=0:0){dn(b,d[(q&n)+1>>0]<<16|d[(q&n)>>0]<<24|d[(q&n)+2>>0]<<8|d[(q&n)+3>>0],4,h);e=m}else e=m;else{l=d[(q&n)+5>>0]<<16|d[(q&n)+4>>0]<<24|d[(q&n)+6>>0]<<8|d[(q&n)+7>>0];k=c[(b&p)>>2]|0;if(a[(k&n)+17>>0]|0){dn(b,h,2,0);k=c[(b&p)>>2]|0}if((l|0)>(((c[(k&p)+36>>2]|0)/4|0)+-2|0)){c[(v&p)>>2]=h;fn(b,44640,v);e=e+-2|0;break}b:do if((l|0)>0){e=0;while(1){h=e<<2;h=d[(q+h&n)+9>>0]<<16|d[(q+h&n)+8>>0]<<24|d[(q+h&n)+10>>0]<<8|d[(q+h&n)+11>>0];if(a[(k&n)+17>>0]|0)dn(b,h,2,0);eq(b,h)|0;e=e+1|0;if((e|0)==(l|0))break b;k=c[(b&p)>>2]|0}}while(0);e=m-l|0}while(0);h=d[(q&n)+1>>0]<<16|d[(q&n)>>0]<<24|d[(q&n)+2>>0]<<8|d[(q&n)+3>>0];if(o)Bg(o);if((e|0)<=0)break a}if((e|0)==5){c[(v&p)>>2]=h;c[(v&p)+4>>2]=g;c[(v&p)+8>>2]=f;fn(b,44552,v);break}else if((e|0)==8){c[(v&p)>>2]=h;fn(b,44616,v);break}}while(0);i=w;return}function dn(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,o=0;o=i;i=i+32|0;if((i|0)>=(j|0))fa();l=o;h=o+24|0;k=o+20|0;g=hp(c[(b&p)>>2]|0,d,h,k)|0;if(!g){h=a[(h&n)>>0]|0;g=c[(k&p)>>2]|0;if(!((g|0)==(f|0)?h<<24>>24==e<<24>>24:0)){c[(l&p)>>2]=d;c[(l&p)+4>>2]=e&255;c[(l&p)+8>>2]=f;c[(l&p)+12>>2]=h&255;c[(l&p)+16>>2]=g;fn(b,44496,l)}}else if((g|0)==7|(g|0)==3082){c[(b&p)+24>>2]=1;m=3}else m=3;if((m|0)==3){c[(l&p)>>2]=d;fn(b,44464,l)}i=o;return}function en(f,g,h,k){f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;aa=i;i=i+64|0;if((i|0)>=(j|0))fa();V=aa+40|0;r=aa+56|0;Q=aa+32|0;R=aa+24|0;N=aa;_=Q;c[(_&p)>>2]=0;c[(_&p)+4>>2]=0;_=R;c[(_&p)>>2]=0;c[(_&p)+4>>2]=0;_=f+28|0;$=c[(_&p)>>2]|0;W=f+32|0;X=c[(W&p)>>2]|0;Y=f+36|0;Z=c[(Y&p)>>2]|0;S=c[(f&p)>>2]|0;M=S+36|0;T=c[(M&p)>>2]|0;if((g|0)!=0?(eq(f,g)|0)==0:0){c[(_&p)>>2]=43768;c[(W&p)>>2]=g;s=dl(S,g,r,0)|0;do if(!s){U=c[(r&p)>>2]|0;a[(U&n)>>0]=0;s=$p(U)|0;if(s){c[(V&p)>>2]=s;fn(f,43824,V);if(!U){l=-1;break}Bg(c[(U&p)+68>>2]|0);l=-1;break}z=f+16|0;O=U+18|0;s=b[(O&o)>>1]|0;a:do if(!(s<<16>>16)){t=U+5|0;s=0;l=0}else{A=U+56|0;B=U+20|0;C=U+64|0;D=N+12|0;E=U+2|0;F=N+16|0;G=T+-5|0;H=T+-4|0;I=S+17|0;J=U+5|0;w=0;x=0;while(1){if(!(c[(z&p)>>2]|0)){t=J;l=w;break a}c[(_&p)>>2]=43864;c[(W&p)>>2]=g;c[(Y&p)>>2]=x;r=c[(A&p)>>2]|0;s=x<<1;t=c[(C&p)>>2]|0;s=(d[(t+s&n)>>0]<<8|d[(t+(s|1)&n)>>0])&e[(B&o)>>1];t=r+s|0;rp(U,t,N);u=c[(D&p)>>2]|0;if(a[(E&n)>>0]|0){l=N;y=c[(l&p)>>2]|0;l=c[(l&p)+4>>2]|0;if(x){q=R;m=c[(q&p)>>2]|0;q=c[(q&p)+4>>2]|0;if(!((l|0)>(q|0)|(l|0)==(q|0)&y>>>0>m>>>0)){v=V;c[(v&p)>>2]=y;c[(v&p)+4>>2]=l;v=V+8|0;c[(v&p)>>2]=m;c[(v&p)+4>>2]=q;fn(f,43896,V)}}else{m=R;c[(m&p)>>2]=y;c[(m&p)+4>>2]=l;m=Q;c[(m&p)>>2]=y;c[(m&p)+4>>2]=l}m=R;c[(m&p)>>2]=y;c[(m&p)+4>>2]=l}y=c[(F&p)>>2]|0;l=y&65535;if(u>>>0>l>>>0?(K=(y>>>16)+s|0,L=r+K|0,L>>>0<=((c[(A&p)>>2]|0)+(c[(M&p)>>2]|0)|0)>>>0):0){y=d[(r+K&n)+1>>0]<<16|d[(L&n)>>0]<<24|d[(r+K&n)+2>>0]<<8|d[(r+K&n)+3>>0];if(a[(I&n)>>0]|0)dn(f,y,3,g);cn(f,0,y,((G+u-l|0)>>>0)/(H>>>0)|0)}if(!(a[(J&n)>>0]|0)){v=d[(r+s&n)+1>>0]<<16|d[(t&n)>>0]<<24|d[(r+s&n)+2>>0]<<8|d[(r+s&n)+3>>0];if(a[(I&n)>>0]|0)dn(f,v,5,g);l=en(f,v,Q,(x|0)==0?0:R)|0;if(!((x|0)<1|(l|0)==(w|0)))fn(f,43944,V)}else l=w;x=x+1|0;s=b[(O&o)>>1]|0;if((x|0)>=(s&65535|0)){t=J;break}else w=l}}while(0);if(!(a[(t&n)>>0]|0)){r=d[(U&n)+6>>0]|0;J=c[(U&p)+56>>2]|0;r=d[(J+r&n)+9>>0]<<16|d[(J+r&n)+8>>0]<<24|d[(J+r&n)+10>>0]<<8|d[(J+r&n)+11>>0];c[(_&p)>>2]=43976;c[(W&p)>>2]=g;if(a[(S&n)+17>>0]|0){dn(f,r,5,g);s=b[(O&o)>>1]|0}en(f,r,0,s<<16>>16!=0?R:0)|0;J=a[(t&n)>>0]|0;c[(_&p)>>2]=43768;c[(W&p)>>2]=g;if(J<<24>>24)P=34}else{c[(_&p)>>2]=43768;c[(W&p)>>2]=g;P=34}do if((P|0)==34?(a[(U&n)+2>>0]|0)!=0:0){r=(k|0)!=0;if(!h){if(!r)break;r=Q;s=c[(r&p)>>2]|0;r=c[(r&p)+4>>2]|0;m=k;q=c[(m&p)>>2]|0;m=c[(m&p)+4>>2]|0;if((r|0)>(m|0)|(r|0)==(m|0)&s>>>0>q>>>0)break;J=V;c[(J&p)>>2]=s;c[(J&p)+4>>2]=r;J=V+8|0;c[(J&p)>>2]=q;c[(J&p)+4>>2]=m;fn(f,44200,V);break}if(!r){s=R;r=c[(s&p)>>2]|0;s=c[(s&p)+4>>2]|0;m=h;q=c[(m&p)>>2]|0;m=c[(m&p)+4>>2]|0;if(!((s|0)>(m|0)|(s|0)==(m|0)&r>>>0>q>>>0))break;J=V;c[(J&p)>>2]=r;c[(J&p)+4>>2]=s;J=V+8|0;c[(J&p)>>2]=q;c[(J&p)+4>>2]=m;fn(f,44008,V);break}r=Q;s=c[(r&p)>>2]|0;r=c[(r&p)+4>>2]|0;m=h;q=c[(m&p)>>2]|0;m=c[(m&p)+4>>2]|0;if(!((r|0)>(m|0)|(r|0)==(m|0)&s>>>0>q>>>0)){J=V;c[(J&p)>>2]=s;c[(J&p)+4>>2]=r;J=V+8|0;c[(J&p)>>2]=q;c[(J&p)+4>>2]=m;fn(f,44072,V)}q=R;m=c[(q&p)>>2]|0;q=c[(q&p)+4>>2]|0;r=k;s=c[(r&p)>>2]|0;r=c[(r&p)+4>>2]|0;if((q|0)>(r|0)|(q|0)==(r|0)&m>>>0>s>>>0){J=V;c[(J&p)>>2]=m;c[(J&p)+4>>2]=q;q=V+8|0;c[(q&p)>>2]=s;c[(q&p)+4>>2]=r;fn(f,44136,V);q=R;m=c[(q&p)>>2]|0;q=c[(q&p)+4>>2]|0}J=h;c[(J&p)>>2]=m;c[(J&p)+4>>2]=q}while(0);w=c[(U&p)+56>>2]|0;x=d[(U&n)+6>>0]|0;y=Go(c[(S&p)+32>>2]|0)|0;c[(_&p)>>2]=0;if(y){v=((d[(w+x&n)+5>>0]<<8|d[(w+x&n)+6>>0])+65535&65535)+1|0;fw(y+v|0,0,T-v|0)|0;fw(y|0,1,v|0)|0;v=d[(w+x&n)+3>>0]<<8|d[(w+x&n)+4>>0];q=x+12-(d[(t&n)>>0]<<2)|0;if(v){m=T+-4|0;u=0;do{t=q+(u<<1)|0;t=d[(w+t&n)>>0]<<8|d[(w+t&n)+1>>0];if((t|0)>(m|0))r=65536;else r=(Lp(U,w+t|0)|0)&65535;s=r+t|0;if((s|0)<=(T|0)){if(r)do{s=s+-1|0;J=y+s|0;a[(J&n)>>0]=(a[(J&n)>>0]|0)+1<<24>>24}while((s|0)>(t|0))}else{c[(_&p)>>2]=0;c[(V&p)>>2]=u;c[(V&p)+4>>2]=g;fn(f,44264,V)}u=u+1|0}while((u|0)<(v|0))}m=d[(w+x&n)+1>>0]<<8|d[(w+x&n)+2>>0];if(m)do{q=d[(w+m&n)+2>>0]<<8|d[(w+m&n)+3>>0];if(q){q=q+m|0;do{q=q+-1|0;J=y+q|0;a[(J&n)>>0]=(a[(J&n)>>0]|0)+1<<24>>24}while((q|0)>(m|0))}m=d[(w+m&n)>>0]<<8|d[(w+m&n)+1>>0]}while((m|0)!=0);b:do if((T|0)>0){q=0;m=0;while(1){r=a[(y+m&n)>>0]|0;if(r<<24>>24){if(r<<24>>24>1)break}else q=q+1|0;m=m+1|0;if((m|0)>=(T|0))break b}c[(V&p)>>2]=m;c[(V&p)+4>>2]=g;fn(f,44312,V)}else q=0;while(0);m=d[(w+x&n)+7>>0]|0;if((q|0)!=(m|0)){c[(V&p)>>2]=q;c[(V&p)+4>>2]=m;c[(V&p)+8>>2]=g;fn(f,44352,V)}}else c[(f&p)+24>>2]=1;$k(y);if(U)Bg(c[(U&p)+68>>2]|0)}else{c[(V&p)>>2]=s;fn(f,43784,V);l=-1}while(0);c[(_&p)>>2]=$;c[(W&p)>>2]=X;c[(Y&p)>>2]=Z;l=l+1|0}else l=0;i=aa;return l|0}function fn(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+224|0;if((i|0)>=(j|0))fa();h=m;k=m+8|0;l=m+24|0;f=b+16|0;g=c[(f&p)>>2]|0;if(g){c[(f&p)>>2]=g+-1;f=b+20|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;c[(k&p)>>2]=e;e=b+40|0;if(c[(b&p)+52>>2]|0)Sk(e,43760,1);f=c[(b&p)+28>>2]|0;if(f){g=c[(b&p)+36>>2]|0;c[(h&p)>>2]=c[(b&p)+32>>2];c[(h&p)+4>>2]=g;ad(200,l,f,h)|0;f=l;while(1)if(!(a[(f&n)>>0]|0))break;else f=f+1|0;Sk(e,l,f-l&1073741823)}sg(e,1,d,k);if((a[(b&n)+65>>0]|0)==1)c[(b&p)+24>>2]=1}i=m;return}function gn(b){b=b|0;var d=0,e=0;d=b+8|0;e=c[(d&p)>>2]|0;do if((e|0)!=(c[(b&p)+4>>2]|0))if((a[(b&n)+24>>0]|0)==1){mg(c[(b&p)>>2]|0,e);break}else{Wc(e);break}while(0);c[(d&p)>>2]=0;return}function hn(d){d=d|0;var f=0,g=0,h=0,i=0;g=c[(d&p)+32>>2]|0;i=d+8|0;if(!((b[(i&o)>>1]&9312)==0?(c[(d&p)+24>>2]|0)==0:0))Qg(d);f=mh(g,64,0)|0;h=d+20|0;c[(h&p)>>2]=f;if(!(a[(g&n)+65>>0]|0)){do if(!g)f=lc[c[8792>>2]&127](f)|0;else{if((c[(g&p)+276>>2]|0)>>>0<=f>>>0?(c[(g&p)+280>>2]|0)>>>0>f>>>0:0){f=e[(g&o)+248>>1]|0;break}f=lc[c[8792>>2]&127](f)|0}while(0);c[(d&p)+24>>2]=f;h=c[(h&p)>>2]|0;c[(h&p)>>2]=0;c[(h&p)+4>>2]=g;c[(h&p)+8>>2]=0;c[(h&p)+12>>2]=0;c[(h&p)+20>>2]=0;c[(h&p)+16>>2]=h+32;b[(h&o)+24>>1]=(f+1048544|0)>>>4;b[(h&o)+26>>1]=1;c[(h&p)+28>>2]=0;c[(d&p)>>2]=h;b[(i&o)>>1]=32}else{b[(i&o)>>1]=1;c[(d&p)+24>>2]=0}return}function jn(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;i=on(a)|0;if(i){j=i;c[(j&p)>>2]=d;c[(j&p)+4>>2]=f;c[(i&p)+8>>2]=0;j=a+12|0;h=c[(j&p)>>2]|0;if(!h)c[(a&p)+8>>2]=i;else{a=a+26|0;g=e[(a&o)>>1]|0;if((g&1|0)!=0?(k=h,l=c[(k&p)+4>>2]|0,!((l|0)<(f|0)|((l|0)==(f|0)?(c[(k&p)>>2]|0)>>>0<d>>>0:0))):0)b[(a&o)>>1]=g&65534;c[(h&p)+8>>2]=i}c[(j&p)>>2]=i}return}function kn(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+160|0;if((i|0)>=(j|0))fa();g=h;fw(g|0,0,160)|0;a:do if(!a){a=0;b=0}else{b=0;while(1){d=a+8|0;f=c[(d&p)>>2]|0;c[(d&p)>>2]=0;if(!b)b=g;else{d=b;b=g;e=0;do{a=mn(d,a)|0;c[(b&p)>>2]=0;e=e+1|0;b=g+(e<<2)|0;d=c[(b&p)>>2]|0}while((d|0)!=0)}c[(b&p)>>2]=a;if(!f){a=0;b=0;break a}a=f;b=c[(g&p)>>2]|0}}while(0);do{a=mn(a,c[(g+(b<<2)&p)>>2]|0)|0;b=b+1|0}while((b|0)!=40);i=h;return a|0}function ln(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();e=g;f=c[(a&p)+12>>2]|0;if(!f)c[(b&p)>>2]=a;else{ln(f,b,e);c[((c[(e&p)>>2]|0)&p)+8>>2]=a}e=a+8|0;f=c[(e&p)>>2]|0;if(!f)c[(d&p)>>2]=a;else ln(f,e,d);i=g;return}function mn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))fa();l=m;d=(a|0)!=0;a:do if(d&(b|0)!=0){e=a;a=l;while(1){h=e;g=c[(h&p)>>2]|0;h=c[(h&p)+4>>2]|0;while(1){f=b;d=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0;if((h|0)<(f|0)|(h|0)==(f|0)&g>>>0<d>>>0){k=4;break}if(!((f|0)<(h|0)|(f|0)==(h|0)&d>>>0<g>>>0))break;c[(a&p)+8>>2]=b;d=c[(b&p)+8>>2]|0;if(!d){f=0;d=1;break a}else{a=b;b=d}}if((k|0)==4){k=0;c[(a&p)+8>>2]=e;a=e}e=c[(e&p)+8>>2]|0;d=(e|0)!=0;if(!(d&(b|0)!=0)){f=b;b=a;break}}}else{f=b;e=a;b=l}while(0);c[(b&p)+8>>2]=d?e:f;i=m;return c[(l&p)+8>>2]|0}function nn(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;f=i;i=i+16|0;if((i|0)>=(j|0))fa();e=f;d=a+8|0;b=c[(d&p)>>2]|0;c[(e&p)>>2]=b;c[(d&p)>>2]=0;c[(a&p)+12>>2]=0;if(!b)b=a;else{d=1;while(1){g=b+8|0;c[(e&p)>>2]=c[(g&p)>>2];c[(b&p)+12>>2]=a;c[(g&p)>>2]=fq(e,d)|0;a=c[(e&p)>>2]|0;if(!a)break;else{g=b;b=a;d=d+1|0;a=g}}}i=f;return b|0}function on(a){a=a|0;var d=0,e=0,f=0,g=0;f=a+24|0;d=b[(f&o)>>1]|0;if(!(d<<16>>16)){d=mh(c[(a&p)+4>>2]|0,1016,0)|0;if(!d)d=0;else{c[(d&p)>>2]=c[(a&p)>>2];c[(a&p)>>2]=d;d=d+8|0;c[(a&p)+16>>2]=d;b[(f&o)>>1]=63;e=62;g=5}}else{e=d+-1<<16>>16;d=c[(a&p)+16>>2]|0;g=5}if((g|0)==5){b[(f&o)>>1]=e;c[(a&p)+16>>2]=d+16}return d|0}function pn(d){d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0;t=i;i=i+16|0;if((i|0)>=(j|0))fa();s=t;g=d+4|0;if(a[(g&n)>>0]|0){e=qn(d)|0;if(!e){m=a[(g&n)>>0]|0;f=4}}else{m=0;f=4}do if((f|0)==4){h=c[(d&p)>>2]|0;q=c[(d&p)+60>>2]|0;k=c[(d&p)+212>>2]|0;e=d+160|0;f=c[(e&p)>>2]|0;e=c[(e&p)+4>>2]|0;l=d+208|0;c[(l&p)>>2]=0;g=(c[(h&p)+4>>2]|0)+112|0;r=qg(g,0)|0;if(!r)e=7;else{fw(r|0,0,g|0)|0;c[(r&p)>>2]=h;u=r+112|0;g=r+8|0;c[(g&p)>>2]=u;c[(r&p)+4>>2]=q;b[(r&o)+40>>1]=-1;d=r+16|0;c[(d&p)>>2]=f;c[(d&p)+4>>2]=e;c[(r&p)+100>>2]=k;d=r+48|0;a[(d&n)>>0]=1;f=r+49|0;a[(f&n)>>0]=1;a[(r&n)+43>>0]=m<<24>>24!=0?2:0;c[(s&p)>>2]=524294;e=tc[c[(h&p)+24>>2]&31](h,k,u,524294,s)|0;if(e){gq(r,0);f=c[(g&p)>>2]|0;g=c[(f&p)>>2]|0;if(g){lc[c[(g&p)+4>>2]&127](f)|0;c[(f&p)>>2]=0}Wc(r);break}if(c[(s&p)>>2]&1)a[(r&n)+46>>0]=1;g=lc[c[((c[(q&p)>>2]|0)&p)+48>>2]&127](q)|0;if(g&1024)a[(d&n)>>0]=0;if(g&4096)a[(f&n)>>0]=0;c[(l&p)>>2]=r;e=0}}while(0);i=t;return e|0}function qn(b){b=b|0;var d=0,e=0,f=0;f=fl(b,4)|0;if((f|0)!=0?(d=c[(b&p)+60>>2]|0,e=c[(d&p)>>2]|0,(e|0)!=0):0){if(!(a[(b&n)+13>>0]|0))rc[c[(e&p)+32>>2]&127](d,1)|0;d=b+17|0;if((a[(d&n)>>0]|0)!=5)a[(d&n)>>0]=1}return f|0}function rn(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))fa();l=m;if(!b)g=0;else{k=b+4|0;g=c[(k&p)>>2]|0;g=rc[c[((c[(g&p)>>2]|0)&p)+28>>2]&127](g,4)|0;if(!g){h=b+43|0;if(!(a[(h&n)>>0]|0))a[(h&n)>>0]=1;g=Tn(b,0,0,0,d,e,f,0,0)|0;if(!g){c[(l&p)>>2]=-1;g=c[(k&p)>>2]|0;ac[c[((c[(g&p)>>2]|0)&p)+40>>2]&63](g,10,l)|0;if((c[(l&p)>>2]|0)==1){g=b+16|0;d=c[(g&p)+4>>2]|0;if((d|0)>-1|(d|0)==-1&(c[(g&p)>>2]|0)>>>0>4294967295){Zo(b,0,0);e=0;g=0}else{e=0;g=0}}else{e=1;g=0}}else e=0}else e=0;gq(b,e);d=c[(b&p)+8>>2]|0;h=c[(d&p)>>2]|0;if(h){lc[c[(h&p)+4>>2]&127](d)|0;c[(d&p)>>2]=0}if(e){d=c[3164]|0;if(d)nc[d&3]();d=c[(b&p)>>2]|0;ac[c[(d&p)+28>>2]&63](d,c[(b&p)+100>>2]|0,0)|0;d=c[3166]|0;if(d)nc[d&3]()}Wc(c[(b&p)+32>>2]|0);Wc(b)}i=m;return g|0}function sn(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=b+5|0;g=a[(k&n)>>0]|0;if(!((a[(b&n)+15>>0]|0)!=0?!((e|0)==2|(e|0)==4):0))h=3;do if(((h|0)==3?(f=g&255,(f|0)!=(e|0)):0)?(a[(k&n)>>0]=e,(a[(b&n)+4>>0]|0)==0&(f&5|0)==1&(e&1|0)==0):0){f=c[(b&p)+64>>2]|0;g=c[(f&p)>>2]|0;if(g){lc[c[(g&p)+4>>2]&127](f)|0;c[(f&p)>>2]=0}j=b+17|0;if((d[(j&n)>>0]|0)>1){f=c[(b&p)>>2]|0;ac[c[(f&p)+28>>2]&63](f,c[(b&p)+172>>2]|0,0)|0;break}g=b+16|0;f=a[(g&n)>>0]|0;i=f<<24>>24==0;if(i){e=cl(b)|0;h=a[(g&n)>>0]|0}else{h=f;e=0}if(h<<24>>24==1)e=fl(b,2)|0;if((e|0)==0?(g=c[(b&p)>>2]|0,ac[c[(g&p)+28>>2]&63](g,c[(b&p)+172>>2]|0,0)|0,f<<24>>24==1):0){g=c[(b&p)+60>>2]|0;f=c[(g&p)>>2]|0;if(!f)break;if(!(a[(b&n)+13>>0]|0))rc[c[(f&p)+32>>2]&127](g,1)|0;if((a[(j&n)>>0]|0)==5)break;a[(j&n)>>0]=1;break}if(i)No(b)}while(0);return d[(k&n)>>0]|0}function tn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();f=g;e=g+4|0;do if(d)if(!(ih(a,d,-1,0,0,e,0)|0)){e=c[(e&p)>>2]|0;Sd(e)|0;a=hq(a,e,b)|0;break}else{dh(b,a,Se(a)|0,f);a=Nf(a)|0;break}else a=7;while(0);i=g;return a|0}function un(a){a=a|0;var b=0;c[((c[(a&p)+4>>2]|0)&p)+4>>2]=c[(a&p)>>2];b=Kg(a,0)|0;if(!b)b=Jg(a,0)|0;return b|0}function vn(e,f){e=e|0;f=f|0;var g=0,h=0;g=c[(e&p)+4>>2]|0;c[(g&p)+4>>2]=c[(e&p)>>2];e=f&255;if(b[(g&o)+22>>1]&2){f=g+17|0;if(((e|0)!=0|0)==(d[(f&n)>>0]|0|0))h=4;else f=8}else{f=g+17|0;h=4}if((h|0)==4){a[(f&n)>>0]=(e|0)!=0&1;a[(g&n)+18>>0]=(e|0)==2&1;f=0}return f|0}function wn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();e=g;d=ih(a,d,-1,0,0,e,0)|0;do if(!d){e=c[(e&p)>>2]|0;while(1){if((Sd(e)|0)!=100){f=6;break}d=tn(a,b,fe(e,0)|0)|0;if(d){f=5;break}}if((f|0)==5){hq(a,e,b)|0;break}else if((f|0)==6){d=hq(a,e,b)|0;break}}while(0);i=g;return d|0}function xn(a){a=a|0;var b=0;b=a+100|0;c[(b&p)>>2]=(c[(b&p)>>2]|0)+1;b=c[(a&p)+88>>2]|0;if(b)do{c[(b&p)+16>>2]=1;b=c[(b&p)+44>>2]|0}while((b|0)!=0);dp(c[(a&p)+204>>2]|0,0);return}function yn(a){a=a|0;var b=0,d=0,e=0;e=a+304|0;b=c[(e&p)>>2]|0;if(!((b|0)%5|0)){b=(b<<2)+20|0;d=a+328|0;b=ro(a,c[(d&p)>>2]|0,b,((b|0)<0)<<31>>31)|0;if(!b)b=7;else{a=b+(c[(e&p)>>2]<<2)|0;c[(a&p)>>2]=0;c[(a&p)+4>>2]=0;c[(a&p)+8>>2]=0;c[(a&p)+12>>2]=0;c[(a&p)+16>>2]=0;c[(d&p)>>2]=b;b=0}}else b=0;return b|0}function zn(e,f,g,h,k){e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=i;i=i+16|0;if((i|0)>=(j|0))fa();z=C;u=C+8|0;x=C+4|0;l=f+56|0;v=c[(l&p)>>2]|0;w=c[(f&p)+52>>2]|0;c[(x&p)>>2]=0;c[(z&p)>>2]=c[(f&p)>>2];B=uh(e,10344,z)|0;do if(!B)l=7;else{y=mh(e,28,0)|0;if(!y){mg(e,B);l=7;break}s=y+0|0;r=s+28|0;do{a[(s&n)>>0]=0;s=s+1|0}while((s|0)<(r|0));c[(y&p)>>2]=e;c[(y&p)+4>>2]=g;t=c[(f&p)+68>>2]|0;a:do if(t){s=c[(e&p)+20>>2]|0;if((s|0)>0){q=c[(e&p)+16>>2]|0;m=0;while(1){r=m+1|0;if((c[(q+(m<<4)&p)+12>>2]|0)==(t|0)){r=m;break a}if((r|0)<(s|0))m=r;else break}}else r=0}else r=-1e6;while(0);c[((c[(l&p)>>2]|0)&p)+4>>2]=c[((c[(e&p)+16>>2]|0)+(r<<4)&p)>>2];s=u+4|0;c[(s&p)>>2]=f;c[(u&p)>>2]=y;t=e+324|0;q=c[(t&p)>>2]|0;c[(t&p)>>2]=u;r=y+8|0;l=kc[h&7](e,c[(g&p)+8>>2]|0,w,v,r,x)|0;c[(t&p)>>2]=q;do if((l|0)==7){a[(e&n)+65>>0]=1;A=11}else if(!l){q=c[(r&p)>>2]|0;if(q){c[(q&p)>>2]=0;c[(q&p)+4>>2]=0;c[(q&p)+8>>2]=0;c[(c[(r&p)>>2]&p)>>2]=c[(g&p)>>2];c[(y&p)+12>>2]=1;if(c[(s&p)>>2]|0){c[(z&p)>>2]=c[(f&p)>>2];c[(k&p)>>2]=uh(e,28376,z)|0;An(y);l=1;break}x=f+60|0;c[(y&p)+24>>2]=c[(x&p)>>2];c[(x&p)>>2]=y;x=f+38|0;l=b[(x&o)>>1]|0;if(l<<16>>16>0){w=f+4|0;m=c[(w&p)>>2]|0;h=0;while(1){u=c[(m+(h*24|0)&p)+12>>2]|0;if(u){q=u;while(1)if(!(a[(q&n)>>0]|0))break;else q=q+1|0;r=q-u|0;t=r&1073741823;if((Fc(28424,u,6)|0)==0?(v=a[(u&n)+6>>0]|0,v<<24>>24==32|v<<24>>24==0):0)q=0;else A=24;b:do if((A|0)==24){A=0;if(!t)q=0;else{q=0;while(1){if((Fc(28432,u+q|0,7)|0)==0?(v=a[(u+q&n)+7>>0]|0,v<<24>>24==32|v<<24>>24==0):0)break;q=q+1|0;if((q|0)>=(t|0))break b}q=q+1|0}}while(0);if((q|0)<(t|0)){s=(a[(u+q&n)+6>>0]|0)!=0|6;m=q+s|0;if((m|0)<=(t|0)){r=(r&1073741823)+1-s|0;l=m;m=q;while(1){a[(u+m&n)>>0]=a[(u+l&n)>>0]|0;m=m+1|0;if((m|0)==(r|0))break;else l=m+s|0}}if((a[(u+q&n)>>0]|0)==0&(q|0)>0)a[(u+q+-1&n)>>0]=0;m=c[(w&p)>>2]|0;l=m+(h*24|0)+23|0;a[(l&n)>>0]=d[(l&n)>>0]|2;l=b[(x&o)>>1]|0}}h=h+1|0;if((h|0)>=(l<<16>>16|0)){l=0;break}}}else l=0}else l=0}else A=11;while(0);if((A|0)==11){m=c[(x&p)>>2]|0;if(!m){c[(z&p)>>2]=B;c[(k&p)>>2]=uh(e,28344,z)|0}else{c[(z&p)>>2]=m;c[(k&p)>>2]=uh(e,10344,z)|0;Wc(c[(x&p)>>2]|0)}mg(e,y)}mg(e,B)}while(0);i=C;return l|0}function An(a){a=a|0;var b=0,d=0,e=0;b=c[(a&p)>>2]|0;e=a+12|0;d=(c[(e&p)>>2]|0)+-1|0;c[(e&p)>>2]=d;if(!d){d=c[(a&p)+8>>2]|0;if(d)lc[c[((c[(d&p)>>2]|0)&p)+16>>2]&127](d)|0;mg(b,a)}return}function Bn(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0;v=f+10|0;i=g<<24>>24==1;if((a[(v&n)>>0]|0)==1|i){r=f+12|0;h=c[(r&p)>>2]|0;if(i){i=h&-2;c[(r&p)>>2]=i;l=i;i=i<<1|1}else{l=h;i=(h<<1)+2|0}s=f+16|0;h=c[(s&p)>>2]|0;q=h+l|0;t=f+32|0;u=mh(c[(t&p)>>2]|0,i,((i|0)<0)<<31>>31)|0;if(!u)h=7;else{i=a[(v&n)>>0]|0;if(i<<24>>24==2)if((l|0)>0){i=u;do{j=d[(h&n)>>0]|0;l=h+2|0;m=d[(h&n)+1>>0]<<8;k=m|j;if((m&63488|0)==55296&l>>>0<q>>>0){k=(k<<10&983040)+65536|j<<10&64512|d[(l&n)>>0]|d[(h&n)+3>>0]<<8&768;h=h+4|0}else h=l;do if(k>>>0>=128){if(k>>>0<2048){a[(i&n)>>0]=k>>>6&31|192;a[(i&n)+1>>0]=k&63|128;i=i+2|0;break}if(k>>>0<65536){a[(i&n)>>0]=k>>>12&15|224;a[(i&n)+1>>0]=k>>>6&63|128;a[(i&n)+2>>0]=k&63|128;i=i+3|0;break}else{a[(i&n)>>0]=k>>>18&7|240;a[(i&n)+1>>0]=k>>>12&63|128;a[(i&n)+2>>0]=k>>>6&63|128;a[(i&n)+3>>0]=k&63|128;i=i+4|0;break}}else{a[(i&n)>>0]=k;i=i+1|0}while(0)}while(h>>>0<q>>>0);m=55}else{i=u;m=55}else if(i<<24>>24!=1)if((l|0)>0){i=u;do{m=d[(h&n)>>0]<<8;l=h+2|0;k=d[(h&n)+1>>0]|0;j=m|k;if((m&63488|0)==55296&l>>>0<q>>>0){j=(j<<10&983040)+65536|k<<10&64512|d[(h&n)+3>>0]|d[(l&n)>>0]<<8&768;h=h+4|0}else h=l;do if(j>>>0>=128){if(j>>>0<2048){a[(i&n)>>0]=j>>>6&31|192;a[(i&n)+1>>0]=j&63|128;i=i+2|0;break}if(j>>>0<65536){a[(i&n)>>0]=j>>>12&15|224;a[(i&n)+1>>0]=j>>>6&63|128;a[(i&n)+2>>0]=j&63|128;i=i+3|0;break}else{a[(i&n)>>0]=j>>>18&7|240;a[(i&n)+1>>0]=j>>>12&63|128;a[(i&n)+2>>0]=j>>>6&63|128;a[(i&n)+3>>0]=j&63|128;i=i+4|0;break}}else{a[(i&n)>>0]=j;i=i+1|0}while(0)}while(h>>>0<q>>>0);m=55}else{i=u;m=55}else{i=(l|0)>0;if(g<<24>>24==2)if(i){i=u;l=h;while(1){h=l+1|0;j=a[(l&n)>>0]|0;k=j&255;if((j&255)>191){k=d[(k+-192&n)+15360>>0]|0;a:do if((h|0)==(q|0))h=q;else while(1){j=a[(h&n)>>0]|0;if((j&-64)<<24>>24!=-128)break a;l=l+2|0;k=j&63|k<<6;if((l|0)==(q|0)){h=q;break}else{j=h;h=l;l=j}}while(0);if(!(k>>>0<128|(k&-2048|0)==55296|(k&-2|0)==65534))if(k>>>0<65536)m=22;else{l=k+-65536|0;a[(i&n)>>0]=l>>>10&192|k>>>10&63;a[(i&n)+1>>0]=l>>>18&3|216;a[(i&n)+2>>0]=k;a[(i&n)+3>>0]=k>>>8&3|220;i=i+4|0}else{k=65533;m=22}}else m=22;if((m|0)==22){m=0;a[(i&n)>>0]=k;a[(i&n)+1>>0]=k>>>8;i=i+2|0}if(h>>>0<q>>>0)l=h;else break}}else i=u;else if(i){i=u;do{l=h+1|0;k=a[(h&n)>>0]|0;j=k&255;if((k&255)>191){j=d[(j+-192&n)+15360>>0]|0;b:do if((l|0)==(q|0))h=q;else{k=h;h=l;while(1){l=a[(h&n)>>0]|0;if((l&-64)<<24>>24!=-128)break b;k=k+2|0;j=l&63|j<<6;if((k|0)==(q|0)){h=q;break}else{l=h;h=k;k=l}}}while(0);if(!(j>>>0<128|(j&-2048|0)==55296|(j&-2|0)==65534))if(j>>>0<65536)m=31;else{l=j+-65536|0;a[(i&n)>>0]=l>>>18&3|216;a[(i&n)+1>>0]=l>>>10&192|j>>>10&63;a[(i&n)+2>>0]=j>>>8&3|220;a[(i&n)+3>>0]=j;i=i+4|0}else{j=65533;m=31}}else{h=l;m=31}if((m|0)==31){m=0;a[(i&n)>>0]=j>>>8;a[(i&n)+1>>0]=j;i=i+2|0}}while(h>>>0<q>>>0)}else i=u;c[(r&p)>>2]=i-u;a[(i&n)>>0]=0;i=i+1|0}if((m|0)==55)c[(r&p)>>2]=i-u;a[(i&n)>>0]=0;i=f+8|0;r=b[(i&o)>>1]|0;h=r&65535;if(!((r&9312)==0?(c[(f&p)+24>>2]|0)==0:0))Qg(f);b[(i&o)>>1]=h&29|514;a[(v&n)>>0]=g;c[(s&p)>>2]=u;c[(f&p)+20>>2]=u;h=c[(t&p)>>2]|0;do if(!h)h=lc[c[8792>>2]&127](u)|0;else{if((c[(h&p)+276>>2]|0)>>>0<=u>>>0?(c[(h&p)+280>>2]|0)>>>0>u>>>0:0){h=e[(h&o)+248>>1]|0;break}h=lc[c[8792>>2]&127](u)|0}while(0);c[(f&p)+24>>2]=h;h=0}}else if(!(Vl(f)|0)){h=c[(f&p)+16>>2]|0;t=c[(f&p)+12>>2]&-2;i=h+t|0;if((t|0)>0)do{s=a[(h&n)>>0]|0;t=h+1|0;a[(h&n)>>0]=a[(t&n)>>0]|0;h=h+2|0;a[(t&n)>>0]=s}while(h>>>0<i>>>0);a[(v&n)>>0]=g;h=0}else h=7;return h|0}function Cn(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;i=a[(b&n)>>0]|0;g=i&255;a:do switch(g|0){case 46:{if(((d[(b&n)+1>>0]|0)+-48|0)>>>0<10)j=51;else{c[(e&p)>>2]=122;f=1}break}case 47:{if((a[(b&n)+1>>0]|0)==42?(f=a[(b&n)+2>>0]|0,f<<24>>24!=0):0){f=f&255;g=3;while(1){i=a[(b+g&n)>>0]|0;if((f|0)==42&i<<24>>24==47){f=42;break}f=i&255;if(!(i<<24>>24))break;else g=g+1|0}c[(e&p)>>2]=151;f=((f|0)!=0&1)+g|0;break a}c[(e&p)>>2]=92;f=1;break}case 45:{if((a[(b&n)+1>>0]|0)==45)f=2;else{c[(e&p)>>2]=90;f=1;break a}while(1){g=a[(b+f&n)>>0]|0;if(g<<24>>24==0|g<<24>>24==10)break;f=f+1|0}c[(e&p)>>2]=151;break}case 41:{c[(e&p)>>2]=23;f=1;break}case 59:{c[(e&p)>>2]=1;f=1;break}case 43:{c[(e&p)>>2]=89;f=1;break}case 42:{c[(e&p)>>2]=91;f=1;break}case 40:{c[(e&p)>>2]=22;f=1;break}case 124:if((a[(b&n)+1>>0]|0)==124){c[(e&p)>>2]=94;f=2;break a}else{c[(e&p)>>2]=86;f=1;break a}case 91:{f=1;while(1){g=a[(b+f&n)>>0]|0;if(!(g<<24>>24)){g=g&255;break}f=f+1|0;if(g<<24>>24==93){g=93;break}}c[(e&p)>>2]=(g|0)==93?27:150;break}case 44:{c[(e&p)>>2]=26;f=1;break}case 38:{c[(e&p)>>2]=85;f=1;break}case 126:{c[(e&p)>>2]=96;f=1;break}case 34:case 39:case 96:{g=a[(b&n)+1>>0]|0;b:do if(g<<24>>24){f=1;while(1){if(g<<24>>24==i<<24>>24){f=f+1|0;if((a[(b+f&n)>>0]|0)!=i<<24>>24)break}f=f+1|0;g=a[(b+f&n)>>0]|0;if(!(g<<24>>24))break b}if(i<<24>>24==39){c[(e&p)>>2]=97;break a}else{c[(e&p)>>2]=27;break a}}else f=1;while(0);c[(e&p)>>2]=150;break}case 88:case 120:{if((a[(b&n)+1>>0]|0)==39){c[(e&p)>>2]=134;f=2;while(1){g=a[(b+f&n)>>0]|0;if(!(a[(g&255&n)+10368>>0]&8))break;else f=f+1|0}if(g<<24>>24==39&(f&1|0)==0)g=1;else{c[(e&p)>>2]=150;while(1){g=a[(b+f&n)>>0]|0;if(g<<24>>24==39|g<<24>>24==0)break;f=f+1|0}g=g<<24>>24!=0}f=(g&1)+f|0}else j=98;break}case 61:{c[(e&p)>>2]=79;f=(a[(b&n)+1>>0]|0)==61?2:1;break}case 60:{f=a[(b&n)+1>>0]|0;if(f<<24>>24==62){c[(e&p)>>2]=78;f=2;break a}else if(f<<24>>24==60){c[(e&p)>>2]=87;f=2;break a}else if(f<<24>>24==61){c[(e&p)>>2]=81;f=2;break a}else{c[(e&p)>>2]=82;f=1;break a}}case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:{j=51;break}case 62:{f=a[(b&n)+1>>0]|0;if(f<<24>>24==61){c[(e&p)>>2]=83;f=2;break a}else if(f<<24>>24==62){c[(e&p)>>2]=88;f=2;break a}else{c[(e&p)>>2]=80;f=1;break a}}case 63:{c[(e&p)>>2]=135;f=1;while(1)if(((d[(b+f&n)>>0]|0)+-48|0)>>>0<10)f=f+1|0;else break;break}case 33:if((a[(b&n)+1>>0]|0)==61){c[(e&p)>>2]=78;f=2;break a}else{c[(e&p)>>2]=150;f=2;break a}case 58:case 35:case 64:case 36:{c[(e&p)>>2]=135;g=a[(b&n)+1>>0]|0;if(g<<24>>24){f=1;i=0;while(1){if(!(a[(g&255&n)+10368>>0]&70)){if(g<<24>>24==40&(i|0)>0){g=i;j=78;break}if(g<<24>>24!=58){g=i;break}g=f+1|0;if((a[(b+g&n)>>0]|0)==58)f=g;else{g=i;break}}else i=i+1|0;f=f+1|0;g=a[(b+f&n)>>0]|0;if(!(g<<24>>24)){g=i;break}}do if((j|0)==78){h=f;while(1){f=h+1|0;i=a[(b+f&n)>>0]|0;if(!(i<<24>>24))break;if(i<<24>>24!=41?(a[(i&255&n)+10368>>0]&1)==0:0)h=f;else{j=81;break}}if((j|0)==81)if(i<<24>>24==41){f=h+2|0;break}c[(e&p)>>2]=150}while(0);if(g)break a}else f=1;c[(e&p)>>2]=150;break}case 37:{c[(e&p)>>2]=93;f=1;break}case 13:case 12:case 10:case 9:case 32:{f=1;while(1)if(!(a[((d[(b+f&n)>>0]|0)&n)+10368>>0]&1))break;else f=f+1|0;c[(e&p)>>2]=151;break}default:j=98}while(0);c:do if((j|0)==51){c[(e&p)>>2]=132;f=a[(b&n)>>0]|0;if(f<<24>>24==48){g=a[(b&n)+1>>0]|0;if(g<<24>>24==88|g<<24>>24==120)if(!(a[((d[(b&n)+2>>0]|0)&n)+10368>>0]&8))h=0;else{f=3;while(1)if(!(a[((d[(b+f&n)>>0]|0)&n)+10368>>0]&8))break c;else f=f+1|0}else{f=48;h=0}}else h=0;while(1){g=h+1|0;if(((f&255)+-48|0)>>>0>=10){g=h;break}f=a[(b+g&n)>>0]|0;h=g}if(f<<24>>24==46){f=g;do{f=f+1|0;g=b+f|0}while(((d[(g&n)>>0]|0)+-48|0)>>>0<10);c[(e&p)>>2]=133;h=a[(g&n)>>0]|0;i=f}else{h=f;i=g}do if(h<<24>>24==69|h<<24>>24==101){g=a[(b+i&n)+1>>0]|0;if(((g&255)+-48|0)>>>0>=10){if(!(g<<24>>24==45|g<<24>>24==43)){g=h;f=i;break}f=i+2|0;if(((d[(b+f&n)>>0]|0)+-48|0)>>>0>=10){g=h;f=i;break}}else f=i+2|0;while(1){g=b+f|0;if(((d[(g&n)>>0]|0)+-48|0)>>>0<10)f=f+1|0;else break}c[(e&p)>>2]=133;g=a[(g&n)>>0]|0}else{g=h;f=i}while(0);if(a[(g&255&n)+10368>>0]&70)do{c[(e&p)>>2]=150;f=f+1|0}while((a[((d[(b+f&n)>>0]|0)&n)+10368>>0]&70)!=0)}else if((j|0)==98){if(!(a[(g&n)+10368>>0]&70)){c[(e&p)>>2]=150;f=1;break}else f=1;while(1)if(!(a[((d[(b+f&n)>>0]|0)&n)+10368>>0]&70))break;else f=f+1|0;c[(e&p)>>2]=fi(b,f)|0}while(0);return f|0}function Dn(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=a[(b&n)>>0]|0;if(f<<24>>24==43){b=b+1|0;i=0;j=13}else if(f<<24>>24==45){b=b+1|0;i=1;j=13}else if((f<<24>>24==48?(f=a[(b&n)+1>>0]|0,f<<24>>24==88|f<<24>>24==120):0)?(g=b+2|0,e=a[(g&n)>>0]|0,(a[(e&255&n)+10368>>0]&8)!=0):0){while(1){f=g+1|0;if(e<<24>>24!=48)break;g=f;e=a[(f&n)>>0]|0}if(!(a[(e&255&n)+10368>>0]&8)){e=0;f=0}else{h=e;b=0;f=0;do{e=h<<24>>24;f=(0-(e>>>6&1)&9)+e&15|f<<4;b=b+1|0;h=a[(g+b&n)>>0]|0;e=(a[(h&255&n)+10368>>0]&8)==0}while((b|0)<8&(e^1));e=e^1}if((f|0)<0|e)e=0;else{c[(d&p)>>2]=f;e=1}}else{i=0;j=13}a:do if((j|0)==13){e=0;f=0;h=0;while(1){g=(a[(b+h&n)>>0]|0)+-48|0;if(g>>>0>=10)break;f=sw(e|0,f|0,10,0)|0;e=jw(g|0,((g|0)<0)<<31>>31|0,f|0,G|0)|0;h=h+1|0;if((h|0)>=11){e=0;break a}else f=G}g=dw(e|0,f|0,i|0,0)|0;b=G;if((b|0)>0|(b|0)==0&g>>>0>2147483647)e=0;else{if(i)e=dw(0,0,e|0,f|0)|0;c[(d&p)>>2]=e;e=1}}while(0);return e|0}function En(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;if((i|0)>=(j|0))fa();g=f;c[(g&p)>>2]=e;sg(a,b,d,g);i=f;return}function Fn(e,f,g,h,k,l,m){e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0;I=i;i=i+16|0;if((i|0)>=(j|0))fa();F=I;D=I+4|0;c[(D&p)>>2]=0;H=mh(e,536,0)|0;a:do if(H){fw(H|0,0,536)|0;c[(H&p)+476>>2]=k;u=e+20|0;k=c[(u&p)>>2]|0;b:do if((k|0)>0){v=e+16|0;s=0;while(1){t=c[((c[(v&p)>>2]|0)+(s<<4)&p)+4>>2]|0;if(t){c[((c[(t&p)+4>>2]|0)&p)+4>>2]=c[(t&p)>>2];q=bl(t,1,1)|0;if(q)break;k=c[(u&p)>>2]|0}s=s+1|0;if((s|0)>=(k|0))break b}c[(F&p)>>2]=c[((c[(v&p)>>2]|0)+(s<<4)&p)>>2];ug(e,q,40984,F);s=H;break a}while(0);rl(e);c[(H&p)>>2]=e;c[(H&p)+424>>2]=0;do if((g|0)>-1){if((g|0)!=0?(a[(f+g+-1&n)>>0]|0)==0:0){E=21;break}if((c[(e&p)+92>>2]|0)<(g|0)){ug(e,18,41016,F);if(!e){s=H;q=18;break a}if(!(a[(e&n)+65>>0]|0)){s=H;q=c[(e&p)+56>>2]&18;break a}else{Ql(e);s=H;q=7;break a}}else{if((f|0)!=0?(r=jw(g|0,((g|0)<0)<<31>>31|0,1,0)|0,r=mh(e,r,G)|0,(r|0)!=0):0){kw(r|0,f|0,g|0)|0;a[(r+g&n)>>0]=0;Lh(H,r,D)|0;mg(e,r);q=H+480|0;c[(q&p)>>2]=f+((c[(q&p)>>2]|0)-r);break}c[(H&p)+480>>2]=f+g;break}}else E=21;while(0);if((E|0)==21)Lh(H,f,D)|0;v=e+65|0;k=H+12|0;if(!(a[(v&n)>>0]|0)){s=H+12|0;if((c[(k&p)>>2]|0)==101)c[(s&p)>>2]=0}else{c[(k&p)>>2]=7;s=H+12|0}c:do if((a[(H&n)+17>>0]|0)!=0?(w=c[(H&p)>>2]|0,x=w+20|0,(c[(x&p)>>2]|0)>0):0){r=w+16|0;u=0;while(1){k=c[(r&p)>>2]|0;q=c[(k+(u<<4)&p)+4>>2]|0;if(q){if(!(a[(q&n)+8>>0]|0)){k=yg(q,0)|0;if((k|0)==7|(k|0)==3082)break;else if(k)break c;k=c[(r&p)>>2]|0;t=1}else t=0;g=c[(q&p)+4>>2]|0;c[(g&p)+4>>2]=c[(q&p)>>2];g=c[((c[(g&p)+12>>2]|0)&p)+56>>2]|0;if((d[(g&n)+41>>0]<<16|d[(g&n)+40>>0]<<24|d[(g&n)+42>>0]<<8|d[(g&n)+43>>0]|0)!=(c[(c[(k+(u<<4)&p)+12>>2]&p)>>2]|0)){vm(w,u);c[(s&p)>>2]=17}if(t)un(q)|0}u=u+1|0;if((u|0)>=(c[(x&p)>>2]|0))break c}a[(w&n)+65>>0]=1}while(0);if(a[(v&n)>>0]|0)c[(s&p)>>2]=7;if(m)c[(m&p)>>2]=c[(H&p)+480>>2];q=c[(s&p)>>2]|0;t=(q|0)==0;do if(t?(z=H+8|0,y=c[(z&p)>>2]|0,(y|0)!=0):0){s=a[(H&n)+450>>0]|0;if(!(s<<24>>24))break;else if(s<<24>>24==2){iq(y,4);r=8;k=12}else{iq(y,8);r=0;k=8}s=r;do{jq(c[(z&p)>>2]|0,s-r|0,0,c[(s<<2&p)+41040>>2]|0,0);s=s+1|0}while((s|0)<(k|0))}while(0);r=H+8|0;if((a[(e&n)+145>>0]|0)==0?(C=c[(r&p)>>2]|0,A=(c[(H&p)+480>>2]|0)-f|0,(C|0)!=0):0){if((f|0)!=0?(z=c[(C&p)>>2]|0,B=jw(A|0,((A|0)<0)<<31>>31|0,1,0)|0,B=mh(z,B,G)|0,(B|0)!=0):0){kw(B|0,f|0,A|0)|0;a[(B+A&n)>>0]=0;s=B}else s=0;c[(C&p)+168>>2]=s;C=C+88|0;b[(C&o)>>1]=b[(C&o)>>1]&-257|(h&65535)<<8&256}s=c[(r&p)>>2]|0;do if(!s)E=60;else{if(t?(a[(v&n)>>0]|0)==0:0){E=60;break}Ng(s)|0}while(0);if((E|0)==60)c[(l&p)>>2]=s;r=c[(D&p)>>2]|0;do if(!r){c[(e&p)+52>>2]=q;r=c[(e&p)+236>>2]|0;if(r){s=r+8|0;if(!(b[(s&o)>>1]&9312)){b[(s&o)>>1]=1;break}else{vg(r);break}}}else{c[(F&p)>>2]=r;ug(e,q,10344,F);mg(e,r)}while(0);r=H+528|0;s=c[(r&p)>>2]|0;if(!s)s=H;else{do{c[(r&p)>>2]=c[(s&p)+4>>2];mg(e,s);s=c[(r&p)>>2]|0}while((s|0)!=0);s=H}}else{s=0;q=7}while(0);Ch(s);mg(e,H);F=Og(e,q)|0;i=I;return F|0}function Gn(b){b=b|0;var d=0,e=0;e=c[(b&p)>>2]|0;if((a[(e&n)+145>>0]|0)==0?(d=Zh(e,b+4|0)|0,(d|0)!=0):0){c[(b&p)+12>>2]=d;e=b+64|0;c[(e&p)>>2]=(c[(e&p)>>2]|0)+1}else d=0;return d|0}function Hn(a){a=a|0;var b=0,d=0,f=0,g=0,h=0;f=c[(a&p)+24>>2]|0;h=f+84|0;b=c[(h&p)>>2]|0;if(!b){b=1020;d=0}else{b=b*40|0;d=0}g=a+4|0;a=ro(c[(f&p)>>2]|0,c[(g&p)>>2]|0,b,d)|0;d=(a|0)!=0;if(d){b=c[(f&p)>>2]|0;do if(!b)b=lc[c[8792>>2]&127](a)|0;else{if((c[(b&p)+276>>2]|0)>>>0<=a>>>0?(c[(b&p)+280>>2]|0)>>>0>a>>>0:0){b=e[(b&o)+248>>1]|0;break}b=lc[c[8792>>2]&127](a)|0}while(0);c[(h&p)>>2]=(b>>>0)/20|0;c[(g&p)>>2]=a}return (d?0:7)|0}function In(a,d,e){a=a|0;d=d|0;e=e|0;a:do if(e)switch(d|0){case -6:{if(c[(a&p)+520>>2]|0)break a;a=(c[(e&p)>>2]|0)+-1|0;c[(e&p)>>2]=a;if(a)break a;Wc(e);break a}case -8:{if(!(c[(a&p)+520>>2]|0)){Mh(e);break a}if(c[(e&p)+24>>2]|0)mg(a,c[(e&p)+20>>2]|0);mg(a,e);break a}case -10:{if(c[(a&p)+520>>2]|0)break a;An(e);break a}case -15:case -1:case -13:case -12:{mg(a,e);break a}case -11:{if(c[(a&p)+520>>2]|0)break a;Wc(e);break a}case -5:{if(!(b[(e&o)+2>>1]&16))break a;mg(a,e);break a}default:break a}while(0);return}function Jn(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0;g=c[(f&p)>>2]|0;s=c[(e&p)+24>>2]|0;t=s+112|0;k=c[(t&p)>>2]|0;q=e+88|0;b[(q&o)>>1]=b[(q&o)>>1]&-193|64;h=c[(e&p)+32>>2]|0;a:do if((h|0)>0){j=c[(e&p)+4>>2]|0;while(1){h=h+-1|0;i=d[(j&n)>>0]|0;switch(i|0){case 5:case 7:case 9:{c[(j&p)+16>>2]=76;a[(j&n)+1>>0]=-19;break}case 6:case 8:{c[(j&p)+16>>2]=77;a[(j&n)+1>>0]=-19;break}case 14:{u=c[(j+-16&p)>>2]|0;g=(u|0)>(g|0)?u:g;break}case 2:case 3:{r=7;break}case 4:{if(!(c[(j&p)+8>>2]|0))r=7;else{b[(q&o)>>1]=b[(q&o)>>1]&-65;r=7}break}case 12:case 13:case 11:{b[(q&o)>>1]=b[(q&o)>>1]&-193|128;break}case 15:{u=c[(j&p)+8>>2]|0;g=(u|0)>(g|0)?u:g;break}case 10:case 1:{u=d[(j&n)+3>>0]|0;g=(u|0)>(g|0)?u:g;break}default:{}}if((r|0)==7){r=0;b[(q&o)>>1]=b[(q&o)>>1]|128}i=a[(i&n)+34168>>0]|0;a[(j&n)+2>>0]=i;if((i&1)!=0?(l=j+8|0,m=c[(l&p)>>2]|0,(m|0)<0):0)c[(l&p)>>2]=c[(k+(~m<<2)&p)>>2];if((h|0)<=0)break a;else j=j+20|0}}while(0);mg(c[(e&p)>>2]|0,c[(t&p)>>2]|0);c[(t&p)>>2]=0;c[(s&p)+108>>2]=0;c[(f&p)>>2]=g;return}function Kn(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();g=h;e=b+73|0;if((a[(e&n)>>0]|0)!=4){a[(e&n)>>0]=0;f=b+56|0;d=b+48|0;d=Gp(b,c[(f&p)>>2]|0,c[(d&p)>>2]|0,c[(d&p)+4>>2]|0,0,g)|0;if(!d){Wc(c[(f&p)>>2]|0);c[(f&p)>>2]=0;f=b+68|0;d=c[(f&p)>>2]|c[(g&p)>>2];c[(f&p)>>2]=d;if((d|0)!=0?(a[(e&n)>>0]|0)==1:0){a[(e&n)>>0]=2;d=0}else d=0}}else d=c[(b&p)+68>>2]|0;i=h;return d|0}function Ln(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;a=c[(a&p)+8>>2]|0;a:do if(!a)a=0;else{e=(b|0)==0;while(1){if((a|0)!=(d|0)){if(e)break;if((c[(a&p)+60>>2]|0)==(b|0))break}a=c[(a&p)+8>>2]|0;if(!a){a=0;break a}}a=Fl(a,b,d)|0}while(0);return a|0}function Mn(b){b=b|0;var e=0,f=0,g=0,h=0;f=c[(b&p)>>2]|0;g=f+1|0;c[(b&p)>>2]=g;h=a[(f&n)>>0]|0;e=h&255;if((h&255)<=191)return e|0;e=d[(e+-192&n)+15360>>0]|0;if((a[(g&n)>>0]&-64)<<24>>24==-128)while(1){f=f+2|0;c[(b&p)>>2]=f;e=(d[(g&n)>>0]|0)&63|e<<6;if((a[(f&n)>>0]&-64)<<24>>24==-128){h=g;g=f;f=h}else break}return (e>>>0<128|(e&-2048|0)==55296|(e&-2|0)==65534?65533:e)|0}function Nn(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if((c|0)>-1)g=b+c|0;else g=-1;c=a[(b&n)>>0]|0;if(c<<24>>24!=0&g>>>0>b>>>0){d=c;c=0;do{f=b+1|0;if((d&255)>191){e=b;b=f;while(1){d=a[(b&n)>>0]|0;if((d&-64)<<24>>24==-128){d=b;b=e+2|0;e=d}else break}}else{d=a[(f&n)>>0]|0;b=f}c=c+1|0}while(d<<24>>24!=0&b>>>0<g>>>0)}else c=0;return c|0}function On(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+48|0;if((i|0)>=(j|0))fa();w=A+32|0;x=A+16|0;y=A;k=c[(d&p)>>2]|0;if((k|0)<0){c[(d&p)>>2]=0;c[(d&p)+4>>2]=-1;b[(d&o)+12>>1]=0;a[(d&n)+14>>0]=0;k=0}s=g;r=c[(s&p)+4>>2]|0;t=y;c[(t&p)>>2]=c[(s&p)>>2];c[(t&p)+4>>2]=r;t=d+8|0;c[(t&p)>>2]=h;r=f&255;s=(f|0)==254;do{q=b[(d+(k<<4)&o)+12>>1]|0;h=q&65535;g=37184+(h<<1)|0;a:do if((q&65535)>429)z=6;else{q=r;while(1){m=b[(g&o)>>1]|0;l=m<<16>>16;if(m<<16>>16==-86){z=6;break a}m=q&255;k=l+m|0;if(k>>>0<=1496?(a[(k&n)+39336>>0]|0)==q<<24>>24:0){z=16;break}if(!(q<<24>>24))break;if((q&255)>=70){u=l;z=12;break}q=a[(m&n)+40840>>0]|0;if(!(q<<24>>24)){u=l;z=12;break}}if((z|0)==16){z=0;k=e[(k<<1&o)+22184>>1]|0;break}if(((z|0)==12?(z=0,v=u+70|0,(v|0)>-1):0)?(a[(v&n)+39336>>0]|0)==70:0){k=e[(v<<1&o)+22184>>1]|0;break}k=e[(h<<1&o)+38048>>1]|0}while(0);if((z|0)==6){z=0;k=e[(h<<1&o)+38048>>1]|0}if(k>>>0<642){z=18;break}if(k>>>0>=969){z=20;break}mq(d,k+-642|0);if(s)break;k=c[(d&p)>>2]|0}while((k|0)>-1);if((z|0)==18){kq(d,k,f,y);u=d+4|0;c[(u&p)>>2]=(c[(u&p)>>2]|0)+-1}else if((z|0)==20){c[(x&p)>>2]=c[(y&p)>>2];c[(x&p)+4>>2]=c[(y&p)+4>>2];c[(x&p)+8>>2]=c[(y&p)+8>>2];u=c[(t&p)>>2]|0;c[(w&p)>>2]=x;th(u,20432,w);c[(t&p)>>2]=u;lq(d,r,y)}i=A;return}function Pn(b){b=b|0;var d=0;d=c[(b&p)>>2]|0;if((d|0)>=0){lq(b,a[(b+(d<<4)&n)+14>>0]|0,b+(d<<4)+16|0);c[(b&p)>>2]=(c[(b&p)>>2]|0)+-1}return}function Qn(a,b){a=a|0;b=b|0;var d=0;if(b){if((c[(b&p)>>2]|0)>0){d=0;do{Nk(a,c[(b+(d<<4)&p)+12>>2]|0);Mk(a,c[(b+(d<<4)&p)+16>>2]|0,1);mg(a,c[(b+(d<<4)&p)+8>>2]|0);d=d+1|0}while((d|0)<(c[(b&p)>>2]|0))}mg(a,b)}return}function Rn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=a+328|0;d=c[(h&p)>>2]|0;if(d){i=a+304|0;if((c[(i&p)>>2]|0)>0){f=0;do{e=c[(d+(f<<2)&p)>>2]|0;d=c[(e&p)+8>>2]|0;if((d|0)!=0?(g=c[((c[(d&p)>>2]|0)+b&p)>>2]|0,(g|0)!=0):0)lc[g&127](d)|0;c[(e&p)+20>>2]=0;An(e);f=f+1|0;d=c[(h&p)>>2]|0}while((f|0)<(c[(i&p)>>2]|0))}mg(a,d);c[(i&p)>>2]=0;c[(h&p)>>2]=0}return}function Sn(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0;do if((d|0)==-2)if(!(c[(a&p)+12>>2]|0))d=(c[(a&p)+16>>2]|0)==0?0:6;else d=6;else{h=b[(a&o)>>1]|0;g=h<<16>>16;if(!((g|0)!=(d|0)&h<<16>>16>-1)){h=(g|0)==(d|0)?4:1;g=f&255;d=e[(a&o)+2>>1]|0;if((g|0)==(d&3|0)){d=h|2;break}else return ((d&g)>>>1&1)+h|0}else d=0}while(0);return d|0} 11 function mq(f,g){f=f|0;g=g|0;var h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,ga=0,ha=0;ha=i;i=i+192|0;if((i|0)>=(j|0))fa();ba=ha+48|0;$=ha+24|0;_=ha+160|0;I=ha+156|0;S=ha+152|0;L=ha+148|0;V=ha+144|0;O=ha+140|0;H=ha+16|0;ea=ha;y=ha+128|0;x=ha+116|0;z=ha+96|0;l=ha+88|0;ga=f+8|0;ca=c[(ga&p)>>2]|0;da=c[(f&p)>>2]|0;c[(ea&p)>>2]=c[9286];c[(ea&p)+4>>2]=c[9287];c[(ea&p)+8>>2]=c[9288];a:do switch(g|0){case 9:{l=c[(f+(da+-1<<4)&p)+16>>2]|0;k=c[(ca&p)>>2]|0;if((Sq(ca,22,37104,0,0)|0)==0?(E=Oq(ca)|0,(E|0)!=0):0){if((l|0)!=7?(F=k+20|0,(c[(F&p)>>2]|0)>0):0){l=(l|0)==9?2:1;k=E+96|0;q=0;do{wh(E,4,q,l,0)|0;c[(k&p)>>2]=c[(k&p)>>2]|1<<q;q=q+1|0}while((q|0)<(c[(F&p)>>2]|0))}wh(E,3,0,0,0)|0}break}case 8:{y=c[(ca&p)>>2]|0;C=y+65|0;if(((a[(C&n)>>0]|0)==0?(a[(ca&n)+18>>0]|0)==0:0)?(Y=ca+64|0,(c[(Y&p)>>2]|0)==0):0){B=Oq(ca)|0;if(B){do{}while((Pq(B,61)|0)!=0);wh(B,24,0,0,0)|0;do if(!(a[(C&n)>>0]|0)){r=ca+332|0;v=c[(r&p)>>2]|0;if((v|0)==0?(c[(ca&p)+316>>2]|0)==0:0)break;s=B+32|0;t=c[(s&p)>>2]|0;if(t)c[((c[(B&p)+4>>2]|0)&p)+8>>2]=t;c[((c[(B&p)+24>>2]|0)&p)+88>>2]=t+-1;w=y+20|0;b:do if((c[(w&p)>>2]|0)>0){h=B+96|0;k=ca+328|0;l=y+16|0;m=y+145|0;q=B+4|0;u=0;while(1){x=1<<u;if(((x&v|0)!=0?(c[(h&p)>>2]=c[(h&p)>>2]|x,ba=c[((c[((c[(l&p)>>2]|0)+(u<<4)&p)+12>>2]|0)&p)+4>>2]|0,xh(B,wh(B,4,u,(c[(k&p)>>2]&x|0)!=0&1,c[(ca+(u<<2)&p)+336>>2]|0)|0,ba,-14),(a[(m&n)>>0]|0)==0):0)?(N=c[(q&p)>>2]|0,(N|0)!=0):0)a[(N+(((c[(s&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=1;u=u+1|0;if((u|0)>=(c[(w&p)>>2]|0))break b;v=c[(r&p)>>2]|0}}while(0);s=ca+452|0;if((c[(s&p)>>2]|0)>0){r=ca+520|0;q=0;do{t=c[((c[((c[(r&p)>>2]|0)+(q<<2)&p)>>2]|0)&p)+60>>2]|0;c:do if(!t)t=0;else while(1){if((c[(t&p)>>2]|0)==(y|0))break c;t=c[(t&p)+24>>2]|0;if(!t){t=0;break}}while(0);xh(B,wh(B,146,0,0,0)|0,t,-10);q=q+1|0}while((q|0)<(c[(s&p)>>2]|0))}c[(s&p)>>2]=0;s=Oq(ca)|0;r=ca+396|0;if((c[(r&p)>>2]|0)>0){q=ca+400|0;m=0;do{$=c[(q&p)>>2]|0;ba=c[($+(m<<4)&p)+12>>2]|0;xh(s,wh(s,145,c[($+(m<<4)&p)>>2]|0,c[($+(m<<4)&p)+4>>2]|0,d[($+(m<<4)&n)+8>>0]|0)|0,ba,-2);m=m+1|0}while((m|0)<(c[(r&p)>>2]|0))}k=c[(ca&p)+8>>2]|0;t=c[(ca&p)+404>>2]|0;if(t){h=(c[(ca&p)>>2]|0)+16|0;u=k+32|0;v=k+4|0;do{r=c[(t&p)+8>>2]|0;s=c[(t&p)+12>>2]|0;Qq(ca,0,r,c[((c[((c[(h&p)>>2]|0)+(r<<4)&p)+12>>2]|0)&p)+72>>2]|0,54);r=s+1|0;wh(k,28,0,s,r)|0;q=c[(u&p)>>2]|0;l=s+-1|0;m=c[(c[(t&p)+4>>2]&p)>>2]|0;xh(k,wh(k,97,0,l,0)|0,m,0);m=q+9|0;wh(k,108,0,m,0)|0;wh(k,47,0,0,s)|0;wh(k,78,l,q+7|0,s)|0;l=c[(v&p)>>2]|0;if(l)a[(l+(((c[(u&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=16;wh(k,103,0,r,0)|0;wh(k,47,0,1,s)|0;wh(k,16,0,m,0)|0;wh(k,9,0,q+2|0,0)|0;wh(k,25,0,s,0)|0;wh(k,61,0,0,0)|0;t=c[(t&p)>>2]|0}while((t|0)!=0)}s=c[(ca&p)+316>>2]|0;if((s|0)!=0?(a[(ca&n)+23>>0]=0,(c[(s&p)>>2]|0)>0):0){r=s+4|0;q=0;do{ba=c[(r&p)>>2]|0;Rq(ca,c[(ba+(q*20|0)&p)>>2]|0,c[(ba+(q*20|0)&p)+16>>2]|0);q=q+1|0}while((q|0)<(c[(s&p)>>2]|0))}wh(B,16,0,1,0)|0}while(0);if((c[(Y&p)>>2]|0)==0?(a[(C&n)>>0]|0)==0:0){if((c[(ca&p)+404>>2]|0)!=0?(Z=ca+68|0,(c[(Z&p)>>2]|0)==0):0)c[(Z&p)>>2]=1;Ah(B,ca);c[(ca&p)+12>>2]=101;a[(ca&n)+16>>0]=0}else aa=48}else aa=48;if((aa|0)==48)c[(ca&p)+12>>2]=1;c[(ca&p)+68>>2]=0;c[(ca&p)+72>>2]=0;c[(ca&p)+76>>2]=0;c[(ca&p)+440>>2]=0;c[(ca&p)+332>>2]=0}break}case 5:{a[(ca&n)+450>>0]=0;c[(ca&p)+440>>2]=0;break}case 6:{a[(ca&n)+450>>0]=1;c[(ca&p)+440>>2]=0;break}case 221:case 218:case 108:case 97:case 85:case 83:case 81:case 68:case 31:case 28:{c[(ea&p)>>2]=0;break}case 27:{a[((c[(ca&p)>>2]|0)&n)+250>>0]=0;aa=f+(da<<4)+16|0;ba=c[(aa&p)+4>>2]|0;ca=ea;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;break}case 222:case 219:case 107:case 84:case 69:case 30:case 29:{c[(ea&p)>>2]=1;break}case 32:{Vq(ca,f+(da+-2<<4)+16|0,f+(da+-1<<4)+16|0,a[(f+(da<<4)&n)+16>>0]|0,0);break}case 33:{ba=f+(da<<4)+16|0;Vq(ca,0,0,0,c[(ba&p)>>2]|0);Mk(c[(ca&p)>>2]|0,c[(ba&p)>>2]|0,1);break}case 34:{a[(ea&n)>>0]=0;break}case 35:{l=c[(f+(da<<4)&p)+20>>2]|0;k=c[(f+(da<<4)&p)+16>>2]|0;if((l|0)==5?(Fc(k,20456,5)|0)==0:0){a[(ea&n)>>0]=32;break a}a[(ea&n)>>0]=0;c[(ba&p)>>2]=l;c[(ba&p)+4>>2]=k;th(ca,20464,ba);break}case 59:{ba=f+(da<<4)+16|0;c[(x&p)>>2]=Zq(ca,97,0,0,ba)|0;ba=c[(ba&p)>>2]|0;c[(x&p)+4>>2]=ba;c[(x&p)+8>>2]=ba+(c[(f+(da<<4)&p)+20>>2]|0);Yq(ca,x);break}case 61:{k=c[(f+(da<<4)&p)+16>>2]|0;l=c[(ca&p)+484>>2]|0;if((l|0)!=0?(v=b[(l&o)+38>>1]|0,v<<16>>16>=1):0)a[((c[(l&p)+4>>2]|0)+(((v<<16>>16)+-1|0)*24|0)&n)+20>>0]=k;break}case 70:{c[(ea&p)>>2]=0;break}case 71:{c[(ea&p)>>2]=c[(f+(da+-1<<4)&p)+16>>2]&~c[(f+(da<<4)&p)+20>>2]|c[(f+(da<<4)&p)+16>>2];break}case 73:case 72:{c[(ea&p)>>2]=0;c[(ea&p)+4>>2]=0;break}case 74:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];c[(ea&p)+4>>2]=255;break}case 76:{c[(ea&p)>>2]=7;break}case 75:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2]<<8;c[(ea&p)+4>>2]=65280;break}case 65:{br(ca,0,f+(da+-2<<4)+16|0,c[(f+(da+-1<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0);break}case 66:{k=c[(f+(da<<4)&p)+16>>2]|0;l=c[(ca&p)+484>>2]|0;if((l|0)!=0?(u=c[(l&p)+16>>2]|0,(u|0)!=0):0)a[(u&n)+24>>0]=k;break}case 67:{q=c[(ca&p)+484>>2]|0;if((q|0)!=0?(D=(b[(q&o)+38>>1]|0)+-1|0,r=c[(ca&p)>>2]|0,m=Wq(r,f+(da<<4)+16|0)|0,(m|0)!=0):0){if(!(cr(ca,m)|0)){mg(r,m);break a}s=q+4|0;mg(r,c[((c[(s&p)>>2]|0)+(D*24|0)&p)+16>>2]|0);c[((c[(s&p)>>2]|0)+(D*24|0)&p)+16>>2]=m;l=c[(q&p)+8>>2]|0;if(l)do{if((b[(c[(l&p)+4>>2]&o)>>1]|0)==(D|0))c[(c[(l&p)+32>>2]&p)>>2]=c[((c[(s&p)>>2]|0)+(D*24|0)&p)+16>>2];l=c[(l&p)+20>>2]|0}while((l|0)!=0)}break}case 13:{c[(ea&p)>>2]=7;break}case 117:case 115:case 16:case 15:case 14:{c[(ea&p)>>2]=d[(f+(da<<4)&n)+14>>0];break}case 46:{ca=c[(f+(da+-3<<4)&p)+16>>2]|0;c[(ea&p)>>2]=ca;c[(ea&p)+4>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0)-ca;break}case 47:{ca=c[(f+(da+-5<<4)&p)+16>>2]|0;c[(ea&p)>>2]=ca;c[(ea&p)+4>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0)-ca;break}case 49:{ca=c[(f+(da+-1<<4)&p)+16>>2]|0;c[(ea&p)>>2]=ca;c[(ea&p)+4>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0)-ca;break}case 92:case 54:{aa=f+(da<<4)+16|0;ba=c[(aa&p)+4>>2]|0;ca=ca+320|0;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;break}case 57:case 55:{Yq(ca,f+(da<<4)+16|0);break}case 56:{Yq(ca,f+(da+-1<<4)+16|0);break}case 58:{c[(y&p)>>2]=Zq(ca,157,c[(f+(da<<4)&p)+16>>2]|0,0,0)|0;c[(y&p)+4>>2]=c[(f+(da+-1<<4)&p)+16>>2];c[(y&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];Yq(ca,y);break}case 18:case 17:{if((Sq(ca,22,37136,0,0)|0)==0?(B=Oq(ca)|0,(B|0)!=0):0)wh(B,3,1,0,0)|0;break}case 19:{if((Sq(ca,22,37120,0,0)|0)==0?(A=Oq(ca)|0,(A|0)!=0):0)wh(A,3,1,1,0)|0;break}case 22:{Tq(ca,0,f+(da<<4)+16|0);break}case 38:{ba=c[(f+(da+-2<<4)&p)+16>>2]|0;c[(ea&p)>>2]=ba;c[(ea&p)+4>>2]=(c[(ca&p)+504>>2]|0)-ba+(c[(ca&p)+508>>2]|0);break}case 39:{x=f+(da<<4)+16|0;v=c[(ca&p)>>2]|0;k=c[(ca&p)+484>>2]|0;d:do if(k){w=k+38|0;if((b[(w&o)>>1]|0)>=(c[(v&p)+96>>2]|0)){c[(ba&p)>>2]=c[(k&p)>>2];th(ca,36528,ba);break}u=Wq(v,x)|0;if(u){s=b[(w&o)>>1]|0;h=s<<16>>16;e:do if(s<<16>>16>0){t=a[((d[(u&n)>>0]|0)&n)+9328>>0]|0;q=c[(k&p)+4>>2]|0;r=u+1|0;l=0;while(1){m=c[(q+(l*24|0)&p)>>2]|0;if(t<<24>>24==(a[((d[(m&n)>>0]|0)&n)+9328>>0]|0)?(dd(r,m+1|0)|0)==0:0)break;l=l+1|0;if((l|0)>=(h|0))break e}c[(ba&p)>>2]=u;th(ca,36552,ba);mg(v,u);break d}else q=c[(k&p)+4>>2]|0;while(0);r=k+4|0;do if(!(h&7)){q=ro(v,q,(h*24|0)+192|0,0)|0;if(!q){mg(v,u);break d}else{c[(r&p)>>2]=q;s=b[(w&o)>>1]|0;break}}while(0);ba=s<<16>>16;aa=q+(ba*24|0)|0;c[(aa&p)>>2]=0;c[(aa&p)+4>>2]=0;c[(aa&p)+8>>2]=0;c[(aa&p)+12>>2]=0;c[(aa&p)+16>>2]=0;c[(aa&p)+20>>2]=0;c[(aa&p)>>2]=u;a[(q+(ba*24|0)&n)+21>>0]=65;a[(q+(ba*24|0)&n)+22>>0]=1;b[(w&o)>>1]=(b[(w&o)>>1]|0)+1<<16>>16}}while(0);$=x;aa=c[($&p)+4>>2]|0;ba=ea;c[(ba&p)>>2]=c[($&p)>>2];c[(ba&p)+4>>2]=aa;c[(ca&p)+324>>2]=0;break}case 62:{_q(ca,0,c[(f+(da+-1<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0,c[(f+(da+-2<<4)&p)+16>>2]|0);break}case 63:{$q(ca,0,0,0,0,c[(f+(da<<4)&p)+16>>2]|0,0,0,0,0)|0;break}case 64:{ar(ca,c[(f+(da+-1<<4)&p)+16>>2]|0);break}case 279:case 263:case 262:case 261:case 260:case 259:case 258:case 257:case 256:case 247:case 150:case 141:case 131:case 130:case 48:case 45:case 42:case 41:case 40:{aa=f+(da<<4)+16|0;ba=c[(aa&p)+4>>2]|0;ca=ea;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;break}case 44:{l=f+(da<<4)+16|0;k=c[(ca&p)+484>>2]|0;if((k|0)!=0?(J=b[(k&o)+38>>1]|0,J<<16>>16>=1):0){ba=(J<<16>>16)+-1|0;aa=c[(k&p)+4>>2]|0;ca=Wq(c[(ca&p)>>2]|0,l)|0;c[(aa+(ba*24|0)&p)+12>>2]=ca;a[(aa+(ba*24|0)&n)+21>>0]=Xq(ca,aa+(ba*24|0)+22|0)|0}break}case 226:{l=da+-1|0;k=f+(l<<4)+16|0;r=f+(da<<4)+16|0;q=pr(c[(ca&p)>>2]|0,0,k,r)|0;s=da+-3|0;m=Zq(ca,75,c[(f+(s<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)>>2]=m;if(!m){Do(c[(ca&p)>>2]|0,q);q=0}else{c[(m&p)+20>>2]=kr(ca,0,q,0,0,0,0,0,0,0)|0;q=c[(ea&p)>>2]|0;ba=q+4|0;c[(ba&p)>>2]=c[(ba&p)>>2]|2099200;yr(ca,q)}if(c[(f+(da+-2<<4)&p)+16>>2]|0)c[(ea&p)>>2]=Zq(ca,19,q,0,0)|0;c[(ea&p)+4>>2]=c[(f+(s<<4)&p)+20>>2];h=c[(r&p)>>2]|0;if(!h)h=(c[(k&p)>>2]|0)+(c[(f+(l<<4)&p)+20>>2]|0)|0;else h=h+(c[(f+(da<<4)&p)+20>>2]|0)|0;c[(ea&p)+8>>2]=h;break}case 225:{l=da+-4|0;h=Zq(ca,75,c[(f+(l<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)>>2]=h;if(!h){Mk(c[(ca&p)>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0,1);h=0}else{c[(h&p)+20>>2]=c[(f+(da+-1<<4)&p)+16>>2];h=c[(ea&p)>>2]|0;ba=h+4|0;c[(ba&p)>>2]=c[(ba&p)>>2]|2099200;yr(ca,h)}if(c[(f+(da+-3<<4)&p)+16>>2]|0)c[(ea&p)>>2]=Zq(ca,19,h,0,0)|0;c[(ea&p)+4>>2]=c[(f+(l<<4)&p)+20>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 227:{h=Zq(ca,20,0,0,0)|0;c[(ea&p)>>2]=h;if(!h)Mk(c[(ca&p)>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0,1);else{c[(h&p)+20>>2]=c[(f+(da+-1<<4)&p)+16>>2];ba=h+4|0;c[(ba&p)>>2]=c[(ba&p)>>2]|2099200;yr(ca,h)}c[(ea&p)+4>>2]=c[(f+(da+-3<<4)&p)+16>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 228:{k=Zq(ca,136,c[(f+(da+-3<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)>>2]=k;if(!k){Nk(c[(ca&p)>>2]|0,c[(f+(da+-2<<4)&p)+16>>2]|0);Gk(c[(ca&p)>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0)}else{l=c[(f+(da+-1<<4)&p)+16>>2]|0;h=c[(f+(da+-2<<4)&p)+16>>2]|0;if(l)h=lr(ca,h,l)|0;c[(k&p)+20>>2]=h;yr(ca,c[(ea&p)>>2]|0)}c[(ea&p)+4>>2]=c[(f+(da+-4<<4)&p)+16>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 291:case 240:{c[(ea&p)>>2]=2;break}case 241:{c[(ea&p)>>2]=0;break}case 239:{$q(ca,f+(da+-7<<4)+16|0,f+(da+-6<<4)+16|0,pr(c[(ca&p)>>2]|0,0,f+(da+-4<<4)+16|0,0)|0,c[(f+(da+-2<<4)&p)+16>>2]|0,c[(f+(da+-10<<4)&p)+16>>2]|0,f+(da+-11<<4)+16|0,c[(f+(da<<4)&p)+16>>2]|0,0,c[(f+(da+-8<<4)&p)+16>>2]|0)|0;break}case 229:{c[(ea&p)>>2]=lr(ca,lr(ca,c[(f+(da+-4<<4)&p)+16>>2]|0,c[(f+(da+-2<<4)&p)+16>>2]|0)|0,c[(f+(da<<4)&p)+16>>2]|0)|0;break}case 230:{c[(ea&p)>>2]=lr(ca,lr(ca,0,c[(f+(da+-2<<4)&p)+16>>2]|0)|0,c[(f+(da<<4)&p)+16>>2]|0)|0;break}case 237:{c[(ea&p)>>2]=lr(ca,c[(f+(da+-2<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0)|0;break}case 238:{c[(ea&p)>>2]=lr(ca,0,c[(f+(da<<4)&p)+16>>2]|0)|0;break}case 245:{h=lr(ca,0,vr(ca,0,f+(da+-1<<4)+16|0,1)|0)|0;c[(ea&p)>>2]=h;mr(ca,h,f+(da+-2<<4)+16|0,1);if(h){if((c[(h&p)>>2]|0)>(c[((c[(ca&p)>>2]|0)&p)+96>>2]|0)){c[(ba&p)>>2]=20632;th(ca,34544,ba)}a[((c[(h&p)+4>>2]|0)+(((c[(h&p)>>2]|0)+-1|0)*20|0)&n)+12>>0]=c[(f+(da<<4)&p)+16>>2]}break}case 244:{h=vr(ca,0,f+(da+-1<<4)+16|0,1)|0;h=lr(ca,c[(f+(da+-4<<4)&p)+16>>2]|0,h)|0;c[(ea&p)>>2]=h;mr(ca,h,f+(da+-2<<4)+16|0,1);if(h){if((c[(h&p)>>2]|0)>(c[((c[(ca&p)>>2]|0)&p)+96>>2]|0)){c[(ba&p)>>2]=20632;th(ca,34544,ba)}a[((c[(h&p)+4>>2]|0)+(((c[(h&p)>>2]|0)+-1|0)*20|0)&n)+12>>0]=c[(f+(da<<4)&p)+16>>2]}break}case 248:{v=c[(f+(da<<4)&p)+16>>2]|0;s=c[(f+(da+-1<<4)&p)+16>>2]|0;u=c[(ca&p)>>2]|0;do if((a[(u&n)+65>>0]|0)==0?(Gn(ca)|0)==0:0){r=v+12|0;k=bq(u,c[(v&p)+16>>2]|0,c[(r&p)>>2]|0)|0;if(!k){if(!s){c[(ba&p)>>2]=v;c[(ba&p)+4>>2]=0;th(ca,33056,ba)}else zr(ca,c[(r&p)>>2]|0);a[(ca&n)+17>>0]=1;break}if(a[(k&n)+51>>0]&3){c[(ba&p)>>2]=0;th(ca,33080,ba);break}s=c[(k&p)+24>>2]|0;f:do if(s){r=c[(u&p)+20>>2]|0;if((r|0)>0){q=c[(u&p)+16>>2]|0;t=0;while(1){m=t+1|0;if((c[(q+(t<<4)&p)+12>>2]|0)==(s|0)){m=t;break f}if((m|0)<(r|0))t=m;else break}}else m=0}else m=-1e6;while(0);s=c[(k&p)+12>>2]|0;r=u+16|0;q=c[((c[(r&p)>>2]|0)+(m<<4)&p)>>2]|0;l=(m|0)==1?13184:13208;if(((Sq(ca,9,l,0,q)|0)==0?(Sq(ca,(m|0)==0?10:12,c[(k&p)>>2]|0,c[(s&p)>>2]|0,q)|0)==0:0)?(K=Oq(ca)|0,(K|0)!=0):0){aa=c[(ca&p)+408>>2]|0;aa=(aa|0)==0?ca:aa;Ar(ca,m);$=aa+328|0;c[($&p)>>2]=c[($&p)>>2]|1<<m;aa=aa+20|0;a[(aa&n)>>0]=d[(aa&n)>>0]|1;aa=c[(k&p)>>2]|0;c[(ba&p)>>2]=c[((c[(r&p)>>2]|0)+(m<<4)&p)>>2];c[(ba&p)+4>>2]=l;c[(ba&p)+8>>2]=aa;Br(ca,33160,ba);Cr(ca,m,28536,c[(k&p)>>2]|0);Dr(ca,m);Er(ca,c[(k&p)+40>>2]|0,m);ca=c[(k&p)>>2]|0;xh(K,wh(K,125,m,0,0)|0,ca,0)}}while(0);Do(u,v);break}case 246:{c[(ea&p)>>2]=0;c[(ea&p)+4>>2]=0;break}case 250:case 249:{h=Oq(ca)|0;if(h){wh(h,13,0,0,0)|0;ca=h+96|0;c[(ca&p)>>2]=c[(ca&p)>>2]|1}break}case 251:{Fr(ca,f+(da+-1<<4)+16|0,f+(da<<4)+16|0,0,0);break}case 252:{Fr(ca,f+(da+-3<<4)+16|0,f+(da+-2<<4)+16|0,f+(da<<4)+16|0,0);break}case 253:{Fr(ca,f+(da+-4<<4)+16|0,f+(da+-3<<4)+16|0,f+(da+-1<<4)+16|0,0);break}case 254:{Fr(ca,f+(da+-3<<4)+16|0,f+(da+-2<<4)+16|0,f+(da<<4)+16|0,1);break}case 255:{Fr(ca,f+(da+-4<<4)+16|0,f+(da+-3<<4)+16|0,f+(da+-1<<4)+16|0,1);break}case 264:{h=c[(f+(da+-3<<4)&p)+16>>2]|0;l=(c[(f+(da<<4)&p)+16>>2]|0)-h+(c[(f+(da<<4)&p)+20>>2]|0)|0;k=c[(f+(da+-1<<4)&p)+16>>2]|0;aa=ca+488|0;z=c[(aa&p)>>2]|0;A=c[(ca&p)>>2]|0;c[(aa&p)>>2]=0;g:do if((c[(ca&p)+64>>2]|0)==0&(z|0)!=0){y=c[(z&p)>>2]|0;m=z+20|0;v=c[(m&p)>>2]|0;h:do if(v){u=c[(A&p)+20>>2]|0;if((u|0)>0){s=c[(A&p)+16>>2]|0;q=0;while(1){r=q+1|0;if((c[(s+(q<<4)&p)+12>>2]|0)==(v|0))break h;if((r|0)<(u|0))q=r;else{q=r;break}}}else q=0}else q=-1e6;while(0);c[(z&p)+28>>2]=k;x=(k|0)==0;if(!x){s=k;do{c[(s&p)+4>>2]=z;s=c[(s&p)+32>>2]|0}while((s|0)!=0)}c[(_&p)>>2]=y;if(!y)s=0;else{s=y;while(1)if(!(a[(s&n)>>0]|0))break;else s=s+1|0;s=s-y&1073741823}c[(_&p)+4>>2]=s;c[($&p)>>2]=ca;w=A+16|0;v=c[(w&p)>>2]|0;c[($&p)+12>>2]=c[(v+(q<<4)&p)>>2];c[($&p)+4>>2]=c[(v+(q<<4)&p)+12>>2];c[($&p)+16>>2]=10720;c[($&p)+20>>2]=_;v=(q|0)==1;c[($&p)+8>>2]=v&1;if(!x)do{if(fr($,c[(k&p)+8>>2]|0)|0){k=0;l=z;break g}if(Gr($,c[(k&p)+20>>2]|0)|0){k=0;l=z;break g}if(Hr($,c[(k&p)+24>>2]|0)|0){k=0;l=z;break g}k=c[(k&p)+32>>2]|0}while((k|0)!=0);if(!(Gr($,c[(z&p)+12>>2]|0)|0)){s=A+145|0;if(!(a[(s&n)>>0]|0)){r=Oq(ca)|0;if(!r){k=0;l=z;break}aa=c[(ca&p)+408>>2]|0;Ar(ca,q);aa=((aa|0)==0?ca:aa)+328|0;c[(aa&p)>>2]=c[(aa&p)>>2]|1<<q;if((h|0)!=0?(t=jw(l|0,0,1,0)|0,t=mh(A,t,G)|0,(t|0)!=0):0){kw(t|0,h|0,l|0)|0;a[(t+l&n)>>0]=0}else t=0;aa=c[(z&p)+4>>2]|0;c[(ba&p)>>2]=c[((c[(w&p)>>2]|0)+(q<<4)&p)>>2];c[(ba&p)+4>>2]=v?13184:13208;c[(ba&p)+8>>2]=y;c[(ba&p)+12>>2]=aa;c[(ba&p)+16>>2]=t;Br(ca,30008,ba);mg(A,t);Dr(ca,q);c[(ba&p)>>2]=y;Ir(r,q,uh(A,30072,ba)|0);if(!(a[(s&n)>>0]|0)){k=0;l=z;break}}l=Ik((c[((c[(w&p)>>2]|0)+(q<<4)&p)+12>>2]|0)+40|0,y,z)|0;if(l){a[(A&n)+65>>0]=1;k=0;break}k=c[(m&p)>>2]|0;if((k|0)==(c[(z&p)+24>>2]|0)){k=bn(k+8|0,c[(z&p)+4>>2]|0,ba)|0;if(!k)k=0;else k=c[(k&p)+8>>2]|0;k=k+64|0;c[(z&p)+32>>2]=c[(k&p)>>2];c[(k&p)>>2]=z;k=0}else k=0}else{k=0;l=z}}else l=z;while(0);jg(A,l);Fk(A,k);break}case 265:{D=f+(da+-7<<4)+16|0;C=da+-6|0;E=f+(C<<4)+16|0;r=c[(f+(da+-5<<4)&p)+16>>2]|0;F=da+-4|0;B=c[(f+(F<<4)&p)+16>>2]|0;F=c[(f+(F<<4)&p)+20>>2]|0;H=c[(f+(da+-2<<4)&p)+16>>2]|0;I=c[(f+(da<<4)&p)+16>>2]|0;k=c[(f+(da+-8<<4)&p)+16>>2]|0;J=c[(ca&p)>>2]|0;z=(c[(f+(da+-10<<4)&p)+16>>2]|0)!=0;do if(z)if(!(c[(f+(C<<4)&p)+20>>2]|0)){c[($&p)>>2]=D;if(!H){s=0;t=0;break}else{v=1;aa=483;break}}else{th(ca,29664,ba);s=0;t=0;break}else{v=er(ca,D,E,$)|0;if((v|0)>-1&(H|0)!=0)aa=483;else{s=0;t=0}}while(0);do if((aa|0)==483){h=J+65|0;if(!(a[(h&n)>>0]|0)){x=J+145|0;if((a[(x&n)>>0]|0)!=0&(v|0)!=1){aa=H+12|0;mg(J,c[(aa&p)>>2]|0);c[(aa&p)>>2]=0}w=Jr(ca,H)|0;if((a[(x&n)>>0]|0)==0?((w|0)!=0?(c[(f+(C<<4)&p)+20>>2]|0)==0:0):0)v=(c[(w&p)+68>>2]|0)==(c[((c[(J&p)+16>>2]|0)&p)+28>>2]|0)?1:v;if((a[(h&n)>>0]|0)==0?(R=c[($&p)>>2]|0,aa=c[(ca&p)>>2]|0,c[(_&p)>>2]=ca,aa=c[(aa&p)+16>>2]|0,c[(_&p)+12>>2]=c[(aa+(v<<4)&p)>>2],c[(_&p)+4>>2]=c[(aa+(v<<4)&p)+12>>2],c[(_&p)+16>>2]=10720,c[(_&p)+20>>2]=R,c[(_&p)+8>>2]=(v|0)==1&1,(Kr(_,H)|0)==0):0){x=Jr(ca,H)|0;if(!x){if((a[(J&n)+144>>0]|0)!=1){s=0;t=0;break}a[(J&n)+146>>0]=1;s=0;t=0;break}if(a[(x&n)+44>>0]&16){th(ca,29712,ba);s=0;t=0;break}t=Wq(J,R)|0;if(t)if(!(Lr(ca,t)|0)){A=J+16|0;aa=bn((c[((c[(A&p)>>2]|0)+(v<<4)&p)+12>>2]|0)+40|0,t,S)|0;if((aa|0)!=0?(c[(aa&p)+8>>2]|0)!=0:0)if(!k){c[(ba&p)>>2]=R;th(ca,29760,ba);s=0;break}else{Ar(ca,v);s=0;break}y=c[(x&p)>>2]|0;if(!(Fc(y,25568,7)|0)){th(ca,29792,ba);s=ca+64|0;c[(s&p)>>2]=(c[(s&p)>>2]|0)+1;s=0;break}u=c[(x&p)+12>>2]|0;if((u|0)!=0&(r|0)!=49){c[(ba&p)>>2]=(r|0)==35?29872:29880;c[(ba&p)+4>>2]=H;c[(ba&p)+8>>2]=0;th(ca,29832,ba);s=0;break}q=(r|0)==49;if((u|0)==0&q){c[(ba&p)>>2]=H;c[(ba&p)+4>>2]=0;th(ca,29888,ba);s=0;break}m=x+68|0;x=c[(m&p)>>2]|0;i:do if(x){w=c[(J&p)+20>>2]|0;if((w|0)>0){k=c[(A&p)>>2]|0;l=0;while(1){h=l+1|0;if((c[(k+(l<<4)&p)+12>>2]|0)==(x|0)){h=l;break i}if((h|0)<(w|0))l=h;else break}}else h=0}else h=-1e6;while(0);x=c[(A&p)>>2]|0;k=c[(x+(h<<4)&p)>>2]|0;if(z)w=c[(x&p)+16>>2]|0;else w=k;x=(h|0)==1;if((Sq(ca,x|z?5:7,t,y,w)|0)==0?(Sq(ca,18,x?13184:13208,0,k)|0)==0:0){s=mh(J,36,0)|0;if(!s){s=0;break}y=s+0|0;k=y+36|0;do{a[(y&n)>>0]=0;y=y+1|0}while((y|0)<(k|0));c[(s&p)>>2]=t;c[(s&p)+4>>2]=kh(J,c[(H&p)+16>>2]|0)|0;c[(s&p)+20>>2]=c[((c[(A&p)>>2]|0)+(v<<4)&p)+12>>2];c[(s&p)+24>>2]=c[(m&p)>>2];a[(s&n)+8>>0]=B;a[(s&n)+9>>0]=q|(r|0)==35?1:2;c[(s&p)+12>>2]=Mr(J,I,1,0)|0;c[(s&p)+16>>2]=Nr(J,F)|0;c[(ca&p)+488>>2]=s;t=0}else s=0}else s=0;else{s=0;t=0}}else{s=0;t=0}}else{s=0;t=0}}while(0);mg(J,t);Do(J,H);Hk(J,F);Gk(J,I);if(!(c[(ca&p)+488>>2]|0))jg(J,s);if(!(c[(f+(C<<4)&p)+20>>2]|0)){aa=D;ba=c[(aa&p)+4>>2]|0;ca=ea;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;break a}else{aa=E;ba=c[(aa&p)+4>>2]|0;ca=ea;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;break a}}case 269:case 266:{c[(ea&p)>>2]=35;break}case 267:{c[(ea&p)>>2]=31;break}case 268:{c[(ea&p)>>2]=49;break}case 284:{l=c[(ca&p)>>2]|0;k=c[(f+(da+-1<<4)&p)+16>>2]|0;h=c[(f+(da<<4)&p)+16>>2]|0;m=a[(f+(da+-5<<4)&n)+16>>0]|0;q=Or(l,110,f+(da+-4<<4)+16|0)|0;if(q){c[(q&p)+24>>2]=Pr(l,k,1)|0;c[(q&p)+20>>2]=Mr(l,h,1,0)|0;a[(q&n)+1>>0]=m}Nk(l,k);Gk(l,h);c[(ea&p)>>2]=q;break}case 271:case 270:{c[(ea&p)>>2]=d[(f+(da<<4)&n)+14>>0];c[(ea&p)+4>>2]=0;break}case 272:{c[(ea&p)>>2]=110;c[(ea&p)+4>>2]=c[(f+(da<<4)&p)+16>>2];break}case 296:case 275:{c[(ea&p)>>2]=0;break}case 297:case 276:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];break}case 277:{ba=f+(da+-1<<4)+16|0;ca=f+(da+-2<<4)+16|0;c[((c[((c[(ca&p)>>2]|0)&p)+36>>2]|0)&p)+32>>2]=c[(ba&p)>>2];c[((c[(ca&p)>>2]|0)&p)+36>>2]=c[(ba&p)>>2];c[(ea&p)>>2]=c[(ca&p)>>2];break}case 278:{ca=f+(da+-1<<4)+16|0;ba=c[(ca&p)>>2]|0;c[(ba&p)+36>>2]=ba;c[(ea&p)>>2]=c[(ca&p)>>2];break}case 282:{th(ca,20736,ba);break}case 280:{_=f+(da<<4)+16|0;$=c[(_&p)+4>>2]|0;aa=ea;c[(aa&p)>>2]=c[(_&p)>>2];c[(aa&p)+4>>2]=$;th(ca,20640,ba);break}case 283:{th(ca,20824,ba);break}case 286:{h=c[(ca&p)>>2]|0;k=c[(f+(da<<4)&p)+16>>2]|0;l=Or(h,109,f+(da+-2<<4)+16|0)|0;if(l){c[(l&p)+20>>2]=Mr(h,k,1,0)|0;a[(l&n)+1>>0]=10}Gk(h,k);c[(ea&p)>>2]=l;break}case 287:{l=c[(ca&p)>>2]|0;q=c[(f+(da<<4)&p)+16>>2]|0;h=mh(l,40,0)|0;if(!h){Mk(l,q,1);h=0}else{y=h+0|0;k=y+40|0;do{a[(y&n)>>0]=0;y=y+1|0}while((y|0)<(k|0));a[(h&n)>>0]=119;c[(h&p)+8>>2]=q;a[(h&n)+1>>0]=10}c[(ea&p)>>2]=h;break}case 285:{q=c[(ca&p)>>2]|0;m=c[(f+(da+-1<<4)&p)+16>>2]|0;l=c[(f+(da<<4)&p)+16>>2]|0;k=a[(f+(da+-4<<4)&n)+16>>0]|0;h=Or(q,108,f+(da+-2<<4)+16|0)|0;if(!h)Hk(q,m);else{c[(h&p)+8>>2]=gr(q,l,1)|0;c[(h&p)+28>>2]=m;a[(h&n)+1>>0]=k}Mk(q,l,1);c[(ea&p)>>2]=h;break}case 288:{h=Zq(ca,57,0,0,0)|0;c[(ea&p)>>2]=h;if(h)a[(h&n)+1>>0]=4;c[(ea&p)+4>>2]=c[(f+(da+-3<<4)&p)+16>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 289:{h=Zq(ca,57,0,0,f+(da+-1<<4)+16|0)|0;c[(ea&p)>>2]=h;if(h)a[(h&n)+1>>0]=c[(f+(da+-3<<4)&p)+16>>2];c[(ea&p)+4>>2]=c[(f+(da+-5<<4)&p)+16>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 290:{c[(ea&p)>>2]=1;break}case 292:{c[(ea&p)>>2]=3;break}case 293:{k=c[(f+(da<<4)&p)+16>>2]|0;h=c[(f+(da+-1<<4)&p)+16>>2]|0;w=c[(ca&p)>>2]|0;do if((a[(w&n)+65>>0]|0)==0?(Gn(ca)|0)==0:0){x=c[(k&p)+12>>2]|0;v=c[(k&p)+16>>2]|0;u=w+20|0;if((c[(u&p)>>2]|0)>0){q=(x|0)==0;m=w+16|0;l=0;s=0;do{r=(l|0)<2^l;t=c[(m&p)>>2]|0;if(!(!q?(dd(c[(t+(r<<4)&p)>>2]|0,x)|0)!=0:0)){t=bn((c[(t+(r<<4)&p)+12>>2]|0)+40|0,v,L)|0;if(t){s=c[(t&p)+8>>2]|0;if(s)break}else s=0}l=l+1|0}while((l|0)<(c[(u&p)>>2]|0));if(s){Qr(ca,s);break}}if(!h){c[(ba&p)>>2]=k;c[(ba&p)+4>>2]=0;th(ca,29600,ba)}else zr(ca,x);a[(ca&n)+17>>0]=1}while(0);Do(w,k);break}case 294:{ba=c[(f+(da+-3<<4)&p)+16>>2]|0;Rr(ca,24,29360,ba,ba,c[(f+(da+-1<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0);break}case 303:{Tr(ca,f+(da+-1<<4)+16|0,f+(da<<4)+16|0);break}case 304:{z=c[(f+(da+-3<<4)&p)+16>>2]|0;x=f+(da<<4)+16|0;y=c[(ca&p)>>2]|0;k=y+24|0;l=c[(k&p)>>2]|0;do if((a[(y&n)+65>>0]|0)==0?(X=Ur(ca,0,z+8|0)|0,(X|0)!=0):0){t=c[(ca&p)>>2]|0;A=X+68|0;v=c[(A&p)>>2]|0;j:do if(v){u=c[(t&p)+20>>2]|0;if((u|0)>0){t=c[(t&p)+16>>2]|0;r=0;while(1){s=r+1|0;if((c[(t+(r<<4)&p)+12>>2]|0)==(v|0)){s=r;break j}if((s|0)<(u|0))r=s;else break}}else s=0}else s=-1e6;while(0);h=c[((c[(y&p)+16>>2]|0)+(s<<4)&p)>>2]|0;c[(k&p)>>2]=c[(k&p)>>2]|2097152;q=Wq(y,x)|0;if(q){if((_h(y,q,h)|0)==0?(bq(y,q,h)|0)==0:0){if(Vr(ca,c[(X&p)>>2]|0)|0)break;if(Lr(ca,q)|0)break;t=c[(X&p)>>2]|0;if(c[(X&p)+12>>2]|0){c[(ba&p)>>2]=t;th(ca,26088,ba);break}if(Sq(ca,26,h,t,0)|0)break;if(hr(ca,X)|0)break;if(!(a[(X&n)+44>>0]&16))m=0;else{t=c[(X&p)+60>>2]|0;k:do if(!t)t=0;else while(1){if((c[(t&p)>>2]|0)==(y|0))break k;t=c[(t&p)+24>>2]|0;if(!t){t=0;break}}while(0);m=(c[((c[(c[(t&p)+8>>2]&p)>>2]|0)&p)+76>>2]|0)==0?0:t}t=Oq(ca)|0;if(!t)break;aa=(m|0)!=0;r=ca+408|0;$=c[(r&p)>>2]|0;$=($|0)==0?ca:$;Ar(ca,s);_=$+328|0;c[(_&p)>>2]=c[(_&p)>>2]|1<<s;$=$+20|0;a[($&n)>>0]=d[($&n)>>0]|aa&1;Dr(ca,s);if(aa){$=ca+72|0;aa=(c[($&p)>>2]|0)+1|0;c[($&p)>>2]=aa;xh(t,wh(t,97,0,aa,0)|0,q,0);xh(t,wh(t,152,aa,0,0)|0,m,-10);aa=c[(r&p)>>2]|0;a[(((aa|0)==0?ca:aa)&n)+21>>0]=1}x=c[(X&p)>>2]|0;w=Nn(x,-1)|0;do if((c[(k&p)>>2]&524288|0)!=0?(T=bn((c[(A&p)>>2]|0)+56|0,x,V)|0,(T|0)!=0):0){t=c[(T&p)+8>>2]|0;if(!t)break;r=t;t=0;do{t=Wr(c[(ca&p)>>2]|0,t,c[(c[(r&p)>>2]&p)>>2]|0)|0;r=c[(r&p)+12>>2]|0}while((r|0)!=0);if(!t)break;c[(ba&p)>>2]=h;c[(ba&p)+4>>2]=(s|0)==1?13184:13208;c[(ba&p)+8>>2]=x;c[(ba&p)+12>>2]=q;c[(ba&p)+16>>2]=t;Br(ca,26120,ba);mg(y,t)}while(0);c[(ba&p)>>2]=h;c[(ba&p)+4>>2]=(s|0)==1?13184:13208;c[(ba&p)+8>>2]=q;c[(ba&p)+12>>2]=q;c[(ba&p)+16>>2]=q;c[(ba&p)+20>>2]=q;c[(ba&p)+24>>2]=q;c[(ba&p)+28>>2]=w;c[(ba&p)+32>>2]=x;Br(ca,26192,ba);if(_h(y,26576,h)|0){aa=c[(X&p)>>2]|0;c[(ba&p)>>2]=h;c[(ba&p)+4>>2]=q;c[(ba&p)+8>>2]=aa;Br(ca,26592,ba)}s=Xr(ca,X)|0;if(s){c[(ba&p)>>2]=q;c[(ba&p)+4>>2]=q;c[(ba&p)+8>>2]=s;Br(ca,26656,ba);mg(y,s)}do if(c[(k&p)>>2]&524288){s=bn((c[(A&p)>>2]|0)+56|0,c[(X&p)>>2]|0,ba)|0;if(!s)break;s=c[(s&p)+8>>2]|0;if(!s)break;do{r=c[(s&p)>>2]|0;if((r|0)!=(X|0))Yr(ca,r,c[(r&p)>>2]|0);s=c[(s&p)+12>>2]|0}while((s|0)!=0)}while(0);Yr(ca,X,q);break}c[(ba&p)>>2]=q;th(ca,26024,ba)}else q=0}else q=0;while(0);Do(y,z);mg(y,q);c[(k&p)>>2]=l;break}case 295:{ba=c[(f+(da<<4)&p)+16>>2]|0;Rr(ca,25,29176,ba,0,0,ba);break}case 300:{Sr(ca,0,0);break}case 302:{Tr(ca,0,0);break}case 301:{Sr(ca,f+(da+-1<<4)+16|0,f+(da<<4)+16|0);break}case 305:{y=c[(ca&p)>>2]|0;if((c[(ca&p)+64>>2]|0)==0?(M=y+65|0,(a[(M&n)>>0]|0)==0):0){l=c[(ca&p)+484>>2]|0;t=c[(l&p)+68>>2]|0;l:do if(t){s=c[(y&p)+20>>2]|0;if((s|0)>0){r=c[(y&p)+16>>2]|0;m=0;while(1){q=m+1|0;if((c[(r+(m<<4)&p)+12>>2]|0)==(t|0)){A=m;break l}if((q|0)<(s|0))m=q;else{A=q;break}}}else A=0}else A=-1e6;while(0);h=c[((c[(y&p)+16>>2]|0)+(A<<4)&p)>>2]|0;k=(c[(l&p)>>2]|0)+16|0;u=(b[(l&o)+38>>1]|0)+-1|0;s=c[(l&p)+4>>2]|0;t=c[(s+(u*24|0)&p)+4>>2]|0;z=_h(y,k,h)|0;if(!(Sq(ca,26,h,c[(z&p)>>2]|0,0)|0)){if(!t)v=0;else v=(a[(t&n)>>0]|0)==101?0:t;if(a[(s+(u*24|0)&n)+23>>0]&1){th(ca,25608,ba);break a}if(c[(l&p)+8>>2]|0){th(ca,25640,ba);break a}x=y+24|0;if((c[(x&p)>>2]&524288|0)!=0?(c[(l&p)+16>>2]|0)!=0&(v|0)!=0:0){th(ca,25672,ba);break a}w=(v|0)!=0;if(!((a[(s+(u*24|0)&n)+20>>0]|0)==0|w)){th(ca,25736,ba);break a}do if(w){c[(O&p)>>2]=0;if(Zr(y,v,1,65,O)|0){a[(M&n)>>0]=1;break a}t=c[(O&p)>>2]|0;if(!t){th(ca,25792,ba);break a}else{Mh(t);break}}while(0);t=c[(f+(da<<4)&p)+16>>2]|0;s=f+(da<<4)+20|0;r=c[(s&p)>>2]|0;if((t|0)!=0?(U=jw(r|0,0,1,0)|0,U=mh(y,U,G)|0,(U|0)!=0):0){kw(U|0,t|0,r|0)|0;a[(U+r&n)>>0]=0;t=(c[(s&p)>>2]|0)+-1|0;s=c[(x&p)>>2]|0;m:do if((t|0)>0){t=U+t|0;do{$=a[(t&n)>>0]|0;if($<<24>>24!=59?(a[($&255&n)+10368>>0]&1)==0:0)break m;a[(t&n)>>0]=0;t=t+-1|0}while(t>>>0>U>>>0)}while(0);c[(x&p)>>2]=c[(x&p)>>2]|2097152;$=c[(l&p)+48>>2]|0;c[(ba&p)>>2]=h;c[(ba&p)+4>>2]=(A|0)==1?13184:13208;c[(ba&p)+8>>2]=$;c[(ba&p)+12>>2]=U;c[(ba&p)+16>>2]=$+1;c[(ba&p)+20>>2]=k;Br(ca,25840,ba);mg(y,U);c[(x&p)>>2]=s}t=w?3:2;v=Oq(ca)|0;if(v){s=ca+19|0;q=a[(s&n)>>0]|0;do if(q<<24>>24){ba=q+-1<<24>>24;a[(s&n)>>0]=ba;r=c[(ca+((ba&255)<<2)&p)+24>>2]|0;if(!(ba<<24>>24)){s=c[(ca&p)+72>>2]|0;aa=663;break}else{k=q+-2<<24>>24;a[(s&n)>>0]=k;k=c[(ca+((k&255)<<2)&p)+24>>2]|0;break}}else{r=ca+72|0;s=(c[(r&p)>>2]|0)+1|0;c[(r&p)>>2]=s;r=s;aa=663}while(0);if((aa|0)==663){k=s+1|0;c[(ca&p)+72>>2]=k}wh(v,51,A,r,2)|0;m=v+96|0;c[(m&p)>>2]=c[(m&p)>>2]|1<<A;wh(v,25,t,k,0)|0;m=wh(v,83,k,0,r)|0;l=v+4|0;q=c[(l&p)>>2]|0;s=v+32|0;if(q)a[(q+(((c[(s&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=-112;wh(v,52,A,2,k)|0;s=c[(s&p)>>2]|0;if(s>>>0>m>>>0)c[((c[(l&p)>>2]|0)+(m*20|0)&p)+8>>2]=s;c[((c[(v&p)+24>>2]|0)&p)+88>>2]=s+-1;_r(ca,r);_r(ca,k)}Yr(ca,z,c[(z&p)>>2]|0)}}break}case 306:{w=c[(ca&p)>>2]|0;a[(w&n)+250>>0]=0;h=c[(f+(da<<4)&p)+16>>2]|0;x=w+65|0;do if((a[(x&n)>>0]|0)==0?(Q=Ur(ca,0,h+8|0)|0,(Q|0)!=0):0){if(a[(Q&n)+44>>0]&16){th(ca,25400,ba);break}if(c[(Q&p)+12>>2]|0){th(ca,25440,ba);break}if(!(Vr(ca,c[(Q&p)>>2]|0)|0)){s=c[(Q&p)+68>>2]|0;n:do if(s){r=c[(w&p)+20>>2]|0;if((r|0)>0){q=c[(w&p)+16>>2]|0;t=0;while(1){m=t+1|0;if((c[(q+(t<<4)&p)+12>>2]|0)==(s|0)){m=t;break n}if((m|0)<(r|0))t=m;else break}}else m=0}else m=-1e6;while(0);v=mh(w,76,0)|0;if(v){y=v+0|0;k=y+76|0;do{a[(y&n)>>0]=0;y=y+1|0}while((y|0)<(k|0));c[(ca&p)+484>>2]=v;r=v+40|0;b[(r&o)>>1]=1;t=b[(Q&o)+38>>1]|0;q=v+38|0;b[(q&o)>>1]=t;t=((((t<<16>>16)+-1|0)/8|0)*192|0)+192|0;s=mh(w,t,0)|0;if(s)fw(s|0,0,t|0)|0;t=v+4|0;c[(t&p)>>2]=s;c[(ba&p)>>2]=c[(Q&p)>>2];ba=uh(w,25472,ba)|0;c[(v&p)>>2]=ba;s=c[(t&p)>>2]|0;if((s|0)==0|(ba|0)==0){a[(x&n)>>0]=1;break}kw(s|0,c[(Q&p)+4>>2]|0,(b[(q&o)>>1]|0)*24|0)|0;if((b[(q&o)>>1]|0)>0){s=0;do{ba=c[(t&p)>>2]|0;aa=ba+(s*24|0)|0;c[(aa&p)>>2]=kh(w,c[(aa&p)>>2]|0)|0;ba=ba+(s*24|0)+4|0;s=s+1|0;c[(ba&p)>>2]=0;c[(ba&p)+4>>2]=0;c[(ba&p)+8>>2]=0;c[(ba&p)+12>>2]=0}while((s|0)<(b[(q&o)>>1]|0))}c[(v&p)+68>>2]=c[((c[(w&p)+16>>2]|0)+(m<<4)&p)+12>>2];c[(v&p)+48>>2]=c[(Q&p)+48>>2];b[(r&o)>>1]=1;ba=c[(ca&p)+408>>2]|0;Ar(ca,m);ba=((ba|0)==0?ca:ba)+328|0;c[(ba&p)>>2]=c[(ba&p)>>2]|1<<m;if(Oq(ca)|0)Dr(ca,m)}}}while(0);Do(w,h);break}case 309:{$r(ca,0);break}case 310:{$r(ca,f+(da<<4)+16|0);break}case 311:{k=f+(da<<4)+16|0;Uq(ca,f+(da+-3<<4)+16|0,f+(da+-2<<4)+16|0,0,0,1,c[(f+(da+-4<<4)&p)+16>>2]|0);t=c[(ca&p)+484>>2]|0;if(t){h=c[(ca&p)>>2]|0;s=c[(t&p)+68>>2]|0;o:do if(s){r=c[(h&p)+20>>2]|0;if((r|0)>0){m=c[(h&p)+16>>2]|0;l=0;while(1){q=l+1|0;if((c[(m+(l<<4)&p)+12>>2]|0)==(s|0)){q=l;break o}if((q|0)<(r|0))l=q;else break}}else q=0}else q=-1e6;while(0);l=t+44|0;a[(l&n)>>0]=d[(l&n)>>0]|16;c[(t&p)+52>>2]=0;as(h,t,Wq(h,k)|0);as(h,t,0);as(h,t,kh(h,c[(t&p)>>2]|0)|0);c[(ca&p)+500>>2]=(c[(k&p)>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0)-(c[(ca&p)+496>>2]|0);l=c[(t&p)+56>>2]|0;if(l)Sq(ca,29,c[(t&p)>>2]|0,c[(l&p)>>2]|0,c[((c[((c[(ca&p)>>2]|0)&p)+16>>2]|0)+(q<<4)&p)>>2]|0)|0}break}case 322:{c[(ea&p)>>2]=0;break}case 324:case 323:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];break}case 325:{c[(ea&p)>>2]=cs(ca,0,f+(da+-5<<4)+16|0,c[(f+(da+-4<<4)&p)+16>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0)|0;break}case 326:{c[(ea&p)>>2]=cs(ca,c[(f+(da+-7<<4)&p)+16>>2]|0,f+(da+-5<<4)+16|0,c[(f+(da+-4<<4)&p)+16>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0)|0;break}case 314:{bs(ca);c[(ca&p)+512>>2]=0;c[(ca&p)+516>>2]=0;break}case 318:case 317:case 316:{l=ca+512|0;k=c[(l&p)>>2]|0;h=c[(f+(da<<4)&p)+16>>2]|0;if(!k){c[(l&p)>>2]=h;h=c[(f+(da<<4)&p)+20>>2]|0}else h=h+(c[(f+(da<<4)&p)+20>>2]|0)-k|0;c[(ca&p)+516>>2]=h;break}case 77:{c[(ea&p)>>2]=8;break}case 78:{c[(ea&p)>>2]=9;break}case 79:{c[(ea&p)>>2]=6;break}case 80:{c[(ea&p)>>2]=0;break}case 103:case 100:case 98:case 82:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];break}case 86:{c[(ea&p)+4>>2]=0;c[(ea&p)>>2]=0;break}case 87:{aa=f+(da+-1<<4)+16|0;ba=c[(aa&p)+4>>2]|0;ca=ea;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;break}case 90:{c[(ca&p)+324>>2]=0;break}case 109:{h=da+-7|0;r=f+(da+-3<<4)+16|0;q=f+(da+-2<<4)+16|0;x=c[(f+(da<<4)&p)+16>>2]|0;t=c[(f+(da+-6<<4)&p)+16>>2]|0;s=c[(f+(da+-4<<4)&p)+16>>2]|0;c[(I&p)>>2]=0;w=c[(ca&p)>>2]|0;if((c[(ca&p)+440>>2]|0)>0){th(ca,35440,ba);Mk(w,x,1);break a}Uq(ca,r,q,t,1,0,s);l=c[(ca&p)+484>>2]|0;if((l|0)!=0?(c[(ca&p)+64>>2]|0)==0:0){er(ca,r,q,I)|0;t=c[(l&p)+68>>2]|0;p:do if(t){r=c[(w&p)+20>>2]|0;if((r|0)>0){q=c[(w&p)+16>>2]|0;m=0;while(1){s=m+1|0;if((c[(q+(m<<4)&p)+12>>2]|0)==(t|0)){s=m;break p}if((s|0)<(r|0))m=s;else break}}else s=0}else s=-1e6;while(0);ba=c[(I&p)>>2]|0;aa=c[(ca&p)>>2]|0;c[(_&p)>>2]=ca;aa=c[(aa&p)+16>>2]|0;c[(_&p)+12>>2]=c[(aa+(s<<4)&p)>>2];c[(_&p)+4>>2]=c[(aa+(s<<4)&p)+12>>2];c[(_&p)+16>>2]=35480;c[(_&p)+20>>2]=ba;c[(_&p)+8>>2]=(s|0)==1&1;if(fr(_,x)|0){Mk(w,x,1);break a}c[(l&p)+12>>2]=gr(w,x,1)|0;Mk(w,x,1);if(a[(w&n)+65>>0]|0)break a;if(!(a[(w&n)+145>>0]|0))hr(ca,l)|0;q=ca+504|0;m=c[(q&p)>>2]|0;q=c[(q&p)+4>>2]|0;ba=$;c[(ba&p)>>2]=m;c[(ba&p)+4>>2]=q;ba=a[(m&n)>>0]|0;if(!(ba<<24>>24==59|ba<<24>>24==0)){m=m+q|0;c[($&p)>>2]=m}r=$+4|0;c[(r&p)>>2]=0;s=c[(f+(h<<4)&p)+16>>2]|0;q=m-s|0;do{ba=q;q=q+-1|0;l=s+q|0;if((ba|0)<=0)break}while((a[((d[(l&n)>>0]|0)&n)+10368>>0]&1)!=0);c[($&p)>>2]=l;c[(r&p)>>2]=1;Vq(ca,0,$,0,0);break a}Mk(w,x,1);break}case 93:{_q(ca,c[(f+(da+-3<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0,c[(f+(da+-2<<4)&p)+16>>2]|0,0);break}case 94:{$q(ca,0,0,0,c[(f+(da+-2<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0,0,0,0,0)|0;break}case 95:{ar(ca,c[(f+(da+-2<<4)&p)+16>>2]|0);break}case 96:{br(ca,c[(f+(da+-6<<4)&p)+16>>2]|0,f+(da+-3<<4)+16|0,c[(f+(da+-2<<4)&p)+16>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0);k=c[(f+(da<<4)&p)+16>>2]|0;l=c[(ca&p)+484>>2]|0;if((l|0)!=0?(q=c[(l&p)+16>>2]|0,(q|0)!=0):0)a[(q&n)+24>>0]=k;break}case 99:{c[(ea&p)>>2]=10;break}case 101:{a[(ea&n)>>0]=10;break}case 102:{a[(ea&n)>>0]=c[(f+(da<<4)&p)+16>>2];break}case 104:{c[(ea&p)>>2]=4;break}case 105:{c[(ea&p)>>2]=5;break}case 106:{dr(ca,c[(f+(da<<4)&p)+16>>2]|0,0,c[(f+(da+-1<<4)&p)+16>>2]|0);break}case 110:{dr(ca,c[(f+(da<<4)&p)+16>>2]|0,1,c[(f+(da+-1<<4)&p)+16>>2]|0);break}case 111:{c[(z&p)>>2]=c[5124];c[(z&p)+4>>2]=c[5125];c[(z&p)+8>>2]=c[5126];c[(z&p)+12>>2]=c[5127];c[(z&p)+16>>2]=c[5128];ba=f+(da<<4)+16|0;ir(ca,c[(ba&p)>>2]|0,z)|0;Mk(c[(ca&p)>>2]|0,c[(ba&p)>>2]|0,1);break}case 112:{t=c[(f+(da<<4)&p)+16>>2]|0;do if(t){c[(t&p)+68>>2]=c[(f+(da+-1<<4)&p)+16>>2];l=c[(t&p)+52>>2]|0;if(l){m=128;q=1;r=t;s=0;while(1){c[(r&p)+56>>2]=s;$=r+6|0;aa=e[($&o)>>1]|64;b[($&o)>>1]=aa;m=aa&m;if(!l)break;aa=l;l=c[(l&p)+52>>2]|0;q=q+1|0;s=r;r=aa}if(m){ca=t+6|0;b[(ca&o)>>1]=e[(ca&o)>>1]|256;break}aa=c[((c[(ca&p)>>2]|0)&p)+104>>2]|0;if((aa|0)>0&(q|0)>(aa|0))th(ca,20520,ba)}}else Qn(c[(ca&p)>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0);while(0);c[(ea&p)>>2]=t;break}case 116:{c[(ea&p)>>2]=116;break}case 119:case 113:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];break}case 114:{h=c[(f+(da<<4)&p)+16>>2]|0;do if(h){if(c[(h&p)+52>>2]|0){c[(l&p)+4>>2]=0;h=kr(ca,0,jr(ca,0,0,0,l,h,0,0)|0,0,0,0,0,0,0,0)|0;if(!h){aa=192;break}}ba=c[(f+(da+-1<<4)&p)+16>>2]|0;a[(h&n)+4>>0]=ba;c[(h&p)+52>>2]=c[(f+(da+-2<<4)&p)+16>>2];if((ba|0)!=116)a[(ca&n)+22>>0]=1}else aa=192;while(0);if((aa|0)==192){Mk(c[(ca&p)>>2]|0,c[(f+(da+-2<<4)&p)+16>>2]|0,1);h=0}c[(ea&p)>>2]=h;break}case 121:{h=kr(ca,c[(f+(da+-1<<4)&p)+16>>2]|0,0,0,0,0,0,128,0,0)|0;if(!h){c[(ea&p)>>2]=c[(f+(da+-4<<4)&p)+16>>2];break a}else{a[(h&n)+4>>0]=116;c[(h&p)+52>>2]=c[(f+(da+-4<<4)&p)+16>>2];c[(ea&p)>>2]=h;break a}}case 122:{b[(ea&o)>>1]=1;break}case 124:case 123:{b[(ea&o)>>1]=0;break}case 242:case 236:case 161:case 154:case 126:{c[(ea&p)>>2]=0;break}case 243:case 125:{c[(ea&p)>>2]=c[(f+(da+-1<<4)&p)+16>>2];break}case 167:{c[(ea&p)>>2]=c[(f+(da+-2<<4)&p)+16>>2];c[(ea&p)+4>>2]=c[(f+(da<<4)&p)+16>>2];break}case 168:{c[(ea&p)+4>>2]=c[(f+(da+-2<<4)&p)+16>>2];c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];break}case 169:{h=c[(f+(da+-5<<4)&p)+16>>2]|0;if(h){ba=ca+532|0;c[(h&p)+4>>2]=c[(ba&p)>>2];c[(ba&p)>>2]=h;a[(ca&n)+449>>0]=1}ba=f+(da+-2<<4)+16|0;or(ca,c[(ba&p)>>2]|0,f+(da+-1<<4)+16|0);rr(ca,c[(ba&p)>>2]|0,c[(f+(da<<4)&p)+16>>2]|0);break}case 176:{h=c[(f+(da+-6<<4)&p)+16>>2]|0;if(h){ba=ca+532|0;c[(h&p)+4>>2]=c[(ba&p)>>2];c[(ba&p)>>2]=h;a[(ca&n)+449>>0]=1}tr(ca,c[(f+(da+-3<<4)&p)+16>>2]|0,0,c[(f+(da+-2<<4)&p)+16>>2]|0,d[(f+(da+-5<<4)&n)+16>>0]|0);break}case 173:{ba=lr(ca,c[(f+(da+-4<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0)|0;c[(ea&p)>>2]=ba;mr(ca,ba,f+(da+-2<<4)+16|0,1);break}case 174:{ba=lr(ca,0,c[(f+(da<<4)&p)+16>>2]|0)|0;c[(ea&p)>>2]=ba;mr(ca,ba,f+(da+-2<<4)+16|0,1);break}case 175:{h=c[(f+(da+-5<<4)&p)+16>>2]|0;if(h){ba=ca+532|0;c[(h&p)+4>>2]=c[(ba&p)>>2];c[(ba&p)>>2]=h;a[(ca&n)+449>>0]=1}tr(ca,c[(f+(da+-2<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0,d[(f+(da+-4<<4)&n)+16>>0]|0);break}case 181:{c[(ea&p)>>2]=ur(c[(ca&p)>>2]|0,c[(f+(da+-2<<4)&p)+16>>2]|0,f+(da<<4)+16|0)|0;break}case 182:{c[(ea&p)>>2]=ur(c[(ca&p)>>2]|0,0,f+(da<<4)+16|0)|0;break}case 183:{ca=f+(da<<4)+16|0;c[(ea&p)>>2]=c[(ca&p)>>2];c[(ea&p)+4>>2]=c[(ca&p)+4>>2];c[(ea&p)+8>>2]=c[(ca&p)+8>>2];break}case 177:{a[(ea&n)>>0]=a[(f+(da<<4)&n)+16>>0]|0;break}case 178:{a[(ea&n)>>0]=5;break}case 184:{c[(ea&p)>>2]=c[(f+(da+-1<<4)&p)+16>>2];c[(ea&p)+4>>2]=c[(f+(da+-2<<4)&p)+16>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 191:case 190:case 185:{ba=f+(da<<4)+16|0;c[(ea&p)>>2]=Zq(ca,d[(f+(da<<4)&n)+14>>0]|0,0,0,ba)|0;ca=c[(ba&p)>>2]|0;c[(ea&p)+4>>2]=ca;c[(ea&p)+8>>2]=ca+(c[(f+(da<<4)&p)+20>>2]|0);break}case 187:case 186:{ba=f+(da<<4)+16|0;c[(ea&p)>>2]=Zq(ca,27,0,0,ba)|0;ca=c[(ba&p)>>2]|0;c[(ea&p)+4>>2]=ca;c[(ea&p)+8>>2]=ca+(c[(f+(da<<4)&p)+20>>2]|0);break}case 188:{aa=f+(da+-2<<4)+16|0;ba=f+(da<<4)+16|0;c[(ea&p)>>2]=Zq(ca,122,Zq(ca,27,0,0,aa)|0,Zq(ca,27,0,0,ba)|0,0)|0;c[(ea&p)+4>>2]=c[(aa&p)>>2];c[(ea&p)+8>>2]=(c[(ba&p)>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 189:{aa=f+(da+-4<<4)+16|0;ba=f+(da<<4)+16|0;c[(ea&p)>>2]=Zq(ca,122,Zq(ca,27,0,0,aa)|0,Zq(ca,122,Zq(ca,27,0,0,f+(da+-2<<4)+16|0)|0,Zq(ca,27,0,0,ba)|0,0)|0,0)|0;c[(ea&p)+4>>2]=c[(aa&p)>>2];c[(ea&p)+8>>2]=(c[(ba&p)>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 192:{x=f+(da<<4)+16|0;w=f+(da<<4)+20|0;do if(((c[(w&p)>>2]|0)>>>0>1?(C=c[(x&p)>>2]|0,(a[(C&n)>>0]|0)==35):0)?((d[(C&n)+1>>0]|0)+-48|0)>>>0<10:0){if(!(a[(ca&n)+18>>0]|0)){c[(ba&p)>>2]=x;th(ca,20432,ba);c[(ea&p)>>2]=0;break}r=Zq(ca,159,0,0,x)|0;c[(ea&p)>>2]=r;if(r)Dn((c[(x&p)>>2]|0)+1|0,r+28|0)|0}else aa=298;while(0);q:do if((aa|0)==298?(P=Zq(ca,135,0,0,x)|0,c[(ea&p)>>2]=P,W=c[(x&p)>>2]|0,c[(ea&p)+4>>2]=W,c[(ea&p)+8>>2]=W+(c[(w&p)>>2]|0),W=c[(ca&p)>>2]|0,(P|0)!=0):0){z=c[(P&p)+8>>2]|0;r=z+1|0;do if(a[(r&n)>>0]|0){y=(z|0)==0;if(y)A=0;else{t=z;while(1)if(!(a[(t&n)>>0]|0))break;else t=t+1|0;A=t-z&1073741823}r:do if((a[(z&n)>>0]|0)==63){$=Ul(r,H,A+-1|0,1)|0;m=H;q=c[(m&p)>>2]|0;m=c[(m&p)+4>>2]|0;t=q&65535;b[(P&o)+32>>1]=t;r=c[(W&p)+124>>2]|0;aa=((r|0)<0)<<31>>31;if((m|0)<0|(m|0)==0&q>>>0<1|($|0)!=0|((m|0)>(aa|0)|(m|0)==(aa|0)&q>>>0>r>>>0)){c[(ba&p)>>2]=r;th(ca,33296,ba);t=0}r=ca+440|0;aa=c[(r&p)>>2]|0;$=((aa|0)<0)<<31>>31;if((m|0)>($|0)|(m|0)==($|0)&q>>>0>aa>>>0)c[(r&p)>>2]=q}else{r=c[(ca&p)+444>>2]|0;s:do if((r|0)>0){q=c[(ca&p)+472>>2]|0;t=0;l=0;while(1){m=c[(q+(t<<2)&p)>>2]|0;if((m|0)!=0?(_v(m,z)|0)==0:0)break;l=l+1<<16>>16;t=l<<16>>16;if((t|0)>=(r|0)){aa=315;break s}}t=t+1&65535;r=P+32|0;b[(r&o)>>1]=t;if(t<<16>>16)break r}else aa=315;while(0);if((aa|0)==315)r=P+32|0;aa=ca+440|0;t=(c[(aa&p)>>2]|0)+1|0;c[(aa&p)>>2]=t;t=t&65535;b[(r&o)>>1]=t}while(0);m=t<<16>>16;if(t<<16>>16>0){t=ca+444|0;if((m|0)>(c[(t&p)>>2]|0)){r=ca+472|0;q=ro(W,c[(r&p)>>2]|0,m<<2,0)|0;if(!q)break q;c[(r&p)>>2]=q;aa=c[(t&p)>>2]|0;fw(q+(aa<<2)|0,0,m-aa<<2|0)|0;c[(t&p)>>2]=m}if((a[(z&n)>>0]|0)==63){r=m+-1|0;if(!(c[((c[(ca&p)+472>>2]|0)+(r<<2)&p)>>2]|0))t=0;else break}else{t=m+-1|0;r=t;t=c[((c[(ca&p)+472>>2]|0)+(t<<2)&p)>>2]|0}q=ca+472|0;mg(W,t);if(!y?(s=jw(A|0,0,1,0)|0,s=mh(W,s,G)|0,(s|0)!=0):0){kw(s|0,z|0,A|0)|0;a[(s+A&n)>>0]=0}else s=0;c[((c[(q&p)>>2]|0)+(r<<2)&p)>>2]=s}}else{$=ca+440|0;aa=(c[($&p)>>2]|0)+1|0;c[($&p)>>2]=aa;b[(P&o)+32>>1]=aa}while(0);if((c[(ca&p)+64>>2]|0)==0?(c[(ca&p)+440>>2]|0)>(c[(W&p)+124>>2]|0):0)th(ca,33344,ba)}while(0);ca=c[(x&p)>>2]|0;c[(ea&p)+4>>2]=ca;c[(ea&p)+8>>2]=ca+(c[(w&p)>>2]|0);break}case 196:{ba=f+(da+-3<<4)+16|0;c[(ea&p)>>2]=wr(ca,0,ba)|0;c[(ea&p)+4>>2]=c[(ba&p)>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 197:{ba=f+(da<<4)+16|0;c[(ea&p)>>2]=wr(ca,0,ba)|0;ca=c[(ba&p)>>2]|0;c[(ea&p)+4>>2]=ca;c[(ea&p)+8>>2]=ca+(c[(f+(da<<4)&p)+20>>2]|0);break}case 193:{aa=da+-2|0;ba=f+(da<<4)+16|0;c[(ea&p)>>2]=vr(ca,c[(f+(aa<<4)&p)+16>>2]|0,ba,1)|0;c[(ea&p)+4>>2]=c[(f+(aa<<4)&p)+20>>2];c[(ea&p)+8>>2]=(c[(ba&p)>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 194:{c[(ea&p)>>2]=Zq(ca,38,c[(f+(da+-3<<4)&p)+16>>2]|0,0,f+(da+-1<<4)+16|0)|0;c[(ea&p)+4>>2]=c[(f+(da+-5<<4)&p)+16>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 195:{l=f+(da+-1<<4)+16|0;h=c[(l&p)>>2]|0;if(h){if((c[(h&p)>>2]|0)>(c[((c[(ca&p)>>2]|0)&p)+112>>2]|0)){c[(ba&p)>>2]=f+(da+-4<<4)+16;th(ca,20576,ba);h=c[(l&p)>>2]|0}}else h=0;ba=f+(da+-4<<4)+16|0;h=wr(ca,h,ba)|0;c[(ea&p)>>2]=h;c[(ea&p)+4>>2]=c[(ba&p)>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);if(!((h|0)==0?1:(b[(f+(da+-2<<4)&o)+16>>1]|0)==0)){ca=h+4|0;c[(ca&p)>>2]=c[(ca&p)>>2]|16}break}case 205:case 204:case 203:case 202:case 201:case 200:case 199:case 198:{ba=da+-2|0;c[(ea&p)>>2]=Zq(ca,d[(f+(da+-1<<4)&n)+14>>0]|0,c[(f+(ba<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0,0)|0;c[(ea&p)+4>>2]=c[(f+(ba<<4)&p)+20>>2];c[(ea&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];break}case 206:{aa=f+(da<<4)+16|0;ba=c[(aa&p)+4>>2]|0;ca=ea;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;c[(ea&p)+8>>2]=0;break}case 207:{aa=f+(da<<4)+16|0;ba=c[(aa&p)+4>>2]|0;ca=ea;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;c[(ea&p)+8>>2]=1;break}case 208:{l=da+-2|0;ba=da+-1|0;h=wr(ca,lr(ca,lr(ca,0,c[(f+(da<<4)&p)+16>>2]|0)|0,c[(f+(l<<4)&p)+16>>2]|0)|0,f+(ba<<4)+16|0)|0;c[(ea&p)>>2]=h;if(c[(f+(ba<<4)&p)+24>>2]|0){h=Zq(ca,19,h,0,0)|0;c[(ea&p)>>2]=h}c[(ea&p)+4>>2]=c[(f+(l<<4)&p)+20>>2];c[(ea&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];if(h){ca=h+4|0;c[(ca&p)>>2]=c[(ca&p)>>2]|128}break}case 210:{ba=da+-1|0;c[(ea&p)>>2]=Zq(ca,d[(f+(da<<4)&n)+14>>0]|0,c[(f+(ba<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)+4>>2]=c[(f+(ba<<4)&p)+20>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 209:{l=da+-4|0;ba=da+-3|0;h=wr(ca,lr(ca,lr(ca,lr(ca,0,c[(f+(da+-2<<4)&p)+16>>2]|0)|0,c[(f+(l<<4)&p)+16>>2]|0)|0,c[(f+(da<<4)&p)+16>>2]|0)|0,f+(ba<<4)+16|0)|0;c[(ea&p)>>2]=h;if(c[(f+(ba<<4)&p)+24>>2]|0){h=Zq(ca,19,h,0,0)|0;c[(ea&p)>>2]=h}c[(ea&p)+4>>2]=c[(f+(l<<4)&p)+20>>2];c[(ea&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];if(h){ca=h+4|0;c[(ca&p)>>2]=c[(ca&p)>>2]|128}break}case 223:{l=f+(da+-1<<4)+16|0;h=c[(l&p)>>2]|0;do if(h){if((c[(h&p)>>2]|0)==1){ba=c[(h&p)+4>>2]|0;h=c[(ba&p)>>2]|0;c[(ba&p)>>2]=0;Nk(c[(ca&p)>>2]|0,c[(l&p)>>2]|0);if(h){ba=h+4|0;c[(ba&p)>>2]=c[(ba&p)>>2]&-769|512}c[(ea&p)>>2]=Zq(ca,(c[(f+(da+-3<<4)&p)+16>>2]|0)!=0?78:79,c[(f+(da+-4<<4)&p)+16>>2]|0,h,0)|0;break}h=Zq(ca,75,c[(f+(da+-4<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)>>2]=h;if(!h){Nk(c[(ca&p)>>2]|0,c[(l&p)>>2]|0);h=0}else{c[(h&p)+20>>2]=c[(l&p)>>2];h=c[(ea&p)>>2]|0;yr(ca,h)}if(c[(f+(da+-3<<4)&p)+16>>2]|0)c[(ea&p)>>2]=Zq(ca,19,h,0,0)|0}else{c[(ea&p)>>2]=Zq(ca,132,0,0,20616+(c[(f+(da+-3<<4)&p)+16>>2]<<3)|0)|0;Gk(c[(ca&p)>>2]|0,c[(f+(da+-4<<4)&p)+16>>2]|0)}while(0);c[(ea&p)+4>>2]=c[(f+(da+-4<<4)&p)+20>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 211:{ba=da+-2|0;c[(ea&p)>>2]=Zq(ca,77,c[(f+(ba<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)+4>>2]=c[(f+(ba<<4)&p)+20>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 212:{$=da+-2|0;aa=f+(da<<4)+16|0;ba=Zq(ca,73,c[(f+($<<4)&p)+16>>2]|0,c[(aa&p)>>2]|0,0)|0;c[(ea&p)>>2]=ba;c[(ea&p)+4>>2]=c[(f+($<<4)&p)+20>>2];c[(ea&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];xr(ca,c[(aa&p)>>2]|0,ba,76);break}case 213:{$=da+-3|0;aa=f+(da<<4)+16|0;ba=Zq(ca,148,c[(f+($<<4)&p)+16>>2]|0,c[(aa&p)>>2]|0,0)|0;c[(ea&p)>>2]=ba;c[(ea&p)+4>>2]=c[(f+($<<4)&p)+20>>2];c[(ea&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];xr(ca,c[(aa&p)>>2]|0,ba,77);break}case 215:case 214:{ba=da+-1|0;c[(ea&p)>>2]=Zq(ca,d[(f+(ba<<4)&n)+14>>0]|0,c[(f+(da<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)+4>>2]=c[(f+(ba<<4)&p)+16>>2];c[(ea&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];break}case 216:{c[(ea&p)>>2]=Zq(ca,157,c[(f+(da<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)+4>>2]=c[(f+(da+-1<<4)&p)+16>>2];c[(ea&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];break}case 217:{c[(ea&p)>>2]=Zq(ca,158,c[(f+(da<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)+4>>2]=c[(f+(da+-1<<4)&p)+16>>2];c[(ea&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];break}case 220:{k=lr(ca,lr(ca,0,c[(f+(da+-2<<4)&p)+16>>2]|0)|0,c[(f+(da<<4)&p)+16>>2]|0)|0;l=da+-4|0;h=Zq(ca,74,c[(f+(l<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)>>2]=h;if(!h)Nk(c[(ca&p)>>2]|0,k);else c[(h&p)+20>>2]=k;if(c[(f+(da+-3<<4)&p)+16>>2]|0)c[(ea&p)>>2]=Zq(ca,19,c[(ea&p)>>2]|0,0,0)|0;c[(ea&p)+4>>2]=c[(f+(l<<4)&p)+20>>2];c[(ea&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];break}case 224:{h=Zq(ca,119,0,0,0)|0;c[(ea&p)>>2]=h;if(!h)Mk(c[(ca&p)>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0,1);else{c[(h&p)+20>>2]=c[(f+(da+-1<<4)&p)+16>>2];ba=c[(ea&p)>>2]|0;aa=ba+4|0;c[(aa&p)>>2]=c[(aa&p)>>2]|2099200;yr(ca,ba)}c[(ea&p)+4>>2]=c[(f+(da+-2<<4)&p)+16>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 118:{c[(ea&p)>>2]=kr(ca,c[(f+(da+-6<<4)&p)+16>>2]|0,c[(f+(da+-5<<4)&p)+16>>2]|0,c[(f+(da+-4<<4)&p)+16>>2]|0,c[(f+(da+-3<<4)&p)+16>>2]|0,c[(f+(da+-2<<4)&p)+16>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0,b[(f+(da+-7<<4)&o)+16>>1]|0,c[(f+(da<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+20>>2]|0)|0;break}case 120:{c[(ea&p)>>2]=kr(ca,c[(f+(da+-1<<4)&p)+16>>2]|0,0,0,0,0,0,128,0,0)|0;break}case 127:{l=da+-1|0;q=lr(ca,c[(f+(da+-2<<4)&p)+16>>2]|0,c[(f+(l<<4)&p)+16>>2]|0)|0;c[(ea&p)>>2]=q;if(c[(f+(da<<4)&p)+20>>2]|0)mr(ca,q,f+(da<<4)+16|0,1);s=c[(ca&p)>>2]|0;if(q){r=(c[(q&p)+4>>2]|0)+(((c[(q&p)>>2]|0)+-1|0)*20|0)+8|0;mg(s,c[(r&p)>>2]|0);m=c[(f+(l<<4)&p)+20>>2]|0;q=(c[(f+(l<<4)&p)+24>>2]|0)-m|0;if((m|0)!=0?(h=jw(q|0,((q|0)<0)<<31>>31|0,1,0)|0,h=mh(s,h,G)|0,(h|0)!=0):0){kw(h|0,m|0,q|0)|0;a[(h+q&n)>>0]=0}else h=0;c[(r&p)>>2]=h}break}case 133:{l=mh(c[(ca&p)>>2]|0,80,0)|0;if(l){y=l+0|0;k=y+80|0;do{a[(y&n)>>0]=0;y=y+1|0}while((y|0)<(k|0))}c[(ea&p)>>2]=l;break}case 134:{q=c[(f+(da<<4)&p)+16>>2]|0;c[(ea&p)>>2]=q;if(q){l=c[(q&p)>>2]|0;k=l+-1|0;if((k|0)>0)while(1){a[(q+(k*72|0)&n)+44>>0]=a[(q+((l+-2|0)*72|0)&n)+44>>0]|0;l=k+-1|0;if((l|0)>0){ca=k;k=l;l=ca}else break}a[(q&n)+44>>0]=0}break}case 128:{aa=c[(ca&p)>>2]|0;c[(ba&p)>>2]=0;c[(ba&p)+4>>2]=0;ba=nr(aa,116,ba,0)|0;c[(ea&p)>>2]=lr(ca,c[(f+(da+-1<<4)&p)+16>>2]|0,ba)|0;break}case 132:{c[(ea&p)+4>>2]=0;break}case 129:{ba=Zq(ca,116,0,0,f+(da<<4)+16|0)|0;ba=Zq(ca,122,Zq(ca,27,0,0,f+(da+-2<<4)+16|0)|0,ba,0)|0;c[(ea&p)>>2]=lr(ca,c[(f+(da+-3<<4)&p)+16>>2]|0,ba)|0;break}case 136:{c[(ea&p)>>2]=0;break}case 137:{ba=jr(ca,c[(f+(da+-6<<4)&p)+16>>2]|0,f+(da+-5<<4)+16|0,f+(da+-4<<4)+16|0,f+(da+-3<<4)+16|0,0,c[(f+(da+-1<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0)|0;c[(ea&p)>>2]=ba;or(ca,ba,f+(da+-2<<4)+16|0);break}case 135:{h=c[(f+(da+-1<<4)&p)+16>>2]|0;c[(ea&p)>>2]=h;if((h|0)!=0?(w=c[(h&p)>>2]|0,(w|0)>0):0)a[(h+((w+-1|0)*72|0)&n)+44>>0]=c[(f+(da<<4)&p)+16>>2];break}case 138:{c[(ea&p)>>2]=jr(ca,c[(f+(da+-6<<4)&p)+16>>2]|0,0,0,f+(da+-2<<4)+16|0,c[(f+(da+-4<<4)&p)+16>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0)|0;break}case 139:{l=f+(da+-6<<4)+16|0;q=c[(l&p)>>2]|0;if((((q|0)==0?(c[(f+(da+-2<<4)&p)+20>>2]|0)==0:0)?(c[(f+(da+-1<<4)&p)+16>>2]|0)==0:0)?(c[(f+(da<<4)&p)+16>>2]|0)==0:0){c[(ea&p)>>2]=c[(f+(da+-4<<4)&p)+16>>2];break a}s=f+(da+-4<<4)+16|0;k=c[(s&p)>>2]|0;r=c[(k&p)>>2]|0;if((r|0)==1){l=jr(ca,q,0,0,f+(da+-2<<4)+16|0,0,c[(f+(da+-1<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0)|0;c[(ea&p)>>2]=l;if(l){_=(c[(l&p)>>2]|0)+-1|0;ba=c[(s&p)>>2]|0;aa=ba+16|0;c[(l+(_*72|0)&p)+16>>2]=c[(aa&p)>>2];$=ba+12|0;c[(l+(_*72|0)&p)+12>>2]=c[($&p)>>2];ba=ba+28|0;c[(l+(_*72|0)&p)+28>>2]=c[(ba&p)>>2];c[($&p)>>2]=0;c[(aa&p)>>2]=0;c[(ba&p)>>2]=0}Do(c[(ca&p)>>2]|0,c[(s&p)>>2]|0);break a}if(k){m=r+-1|0;if((m|0)>0){q=r;while(1){a[(k+(m*72|0)&n)+44>>0]=a[(k+((q+-2|0)*72|0)&n)+44>>0]|0;q=m+-1|0;if((q|0)>0){ba=m;m=q;q=ba}else break}}a[(k&n)+44>>0]=0}ba=kr(ca,0,k,0,0,0,0,512,0,0)|0;c[(ea&p)>>2]=jr(ca,c[(l&p)>>2]|0,0,0,f+(da+-2<<4)+16|0,ba,c[(f+(da+-1<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0)|0;break}case 149:case 140:{c[(ea&p)>>2]=0;c[(ea&p)+4>>2]=0;break}case 144:{c[(ea&p)>>2]=qr(ca,f+(da+-1<<4)+16|0,0,0)|0;break}case 145:{c[(ea&p)>>2]=qr(ca,f+(da+-2<<4)+16|0,f+(da+-1<<4)+16|0,0)|0;break}case 146:{c[(ea&p)>>2]=qr(ca,f+(da+-3<<4)+16|0,f+(da+-2<<4)+16|0,f+(da+-1<<4)+16|0)|0;break}case 233:case 231:case 171:case 164:case 147:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];break}case 234:case 232:case 170:case 163:case 148:{c[(ea&p)>>2]=0;break}case 151:{c[(ea&p)>>2]=0;c[(ea&p)+4>>2]=1;break}case 143:{c[(ea&p)>>2]=1;break}case 142:{c[(ea&p)>>2]=pr(c[(ca&p)>>2]|0,0,f+(da+-1<<4)+16|0,f+(da<<4)+16|0)|0;break}case 157:{h=lr(ca,0,c[(f+(da+-1<<4)&p)+16>>2]|0)|0;c[(ea&p)>>2]=h;if((h|0)!=0?(k=c[(h&p)+4>>2]|0,(k|0)!=0):0)a[(k&n)+12>>0]=c[(f+(da<<4)&p)+16>>2];break}case 160:case 158:{c[(ea&p)>>2]=0;break}case 159:{c[(ea&p)>>2]=1;break}case 165:{c[(ea&p)>>2]=0;c[(ea&p)+4>>2]=0;break}case 166:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];c[(ea&p)+4>>2]=0;break}case 179:case 153:{c[(ea&p)>>2]=0;break}case 180:case 152:{c[(ea&p)>>2]=c[(f+(da+-1<<4)&p)+16>>2];break}case 172:{l=c[(f+(da+-7<<4)&p)+16>>2]|0;if(l){aa=ca+532|0;c[(l&p)+4>>2]=c[(aa&p)>>2];c[(aa&p)>>2]=l;a[(ca&n)+449>>0]=1}m=f+(da+-4<<4)+16|0;or(ca,c[(m&p)>>2]|0,f+(da+-3<<4)+16|0);q=f+(da+-1<<4)+16|0;l=c[(q&p)>>2]|0;if(l){if((c[(l&p)>>2]|0)>(c[((c[(ca&p)>>2]|0)&p)+96>>2]|0)){c[(ba&p)>>2]=20560;th(ca,34544,ba);l=c[(q&p)>>2]|0}}else l=0;sr(ca,c[(m&p)>>2]|0,l,c[(f+(da<<4)&p)+16>>2]|0,d[(f+(da+-5<<4)&n)+16>>0]|0);break}case 235:case 162:case 155:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];break}case 156:{h=lr(ca,c[(f+(da+-3<<4)&p)+16>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0)|0;c[(ea&p)>>2]=h;if(h)a[((c[(h&p)+4>>2]|0)+(((c[(h&p)>>2]|0)+-1|0)*20|0)&n)+12>>0]=c[(f+(da<<4)&p)+16>>2];break}case 7:{a[(ca&n)+450>>0]=2;c[(ca&p)+440>>2]=0;break}case 23:{Tq(ca,1,f+(da<<4)+16|0);break}case 24:{Tq(ca,2,f+(da<<4)+16|0);break}case 26:{Uq(ca,f+(da+-1<<4)+16|0,f+(da<<4)+16|0,c[(f+(da+-4<<4)&p)+16>>2]|0,0,0,c[(f+(da+-2<<4)&p)+16>>2]|0);break}default:{}}while(0);h=a[(g<<1&n)+20912>>0]|0;r=h&255;q=a[(g<<1&n)+20913>>0]|0;m=q&255;s=(c[(f&p)>>2]|0)-m|0;c[(f&p)>>2]=s;l=b[((b[(e[(f+(da-m<<4)&o)+12>>1]<<1&o)+21568>>1]|0)+r<<1&o)+22184>>1]|0;k=l&65535;do if((l&65535)<642)if(!(q<<24>>24)){kq(f,k,r,ea);break}else{c[(f&p)>>2]=s+1;da=1-m+da|0;b[(f+(da<<4)&o)+12>>1]=l;a[(f+(da<<4)&n)+14>>0]=h;da=f+(da<<4)+16|0;c[(da&p)>>2]=c[(ea&p)>>2];c[(da&p)+4>>2]=c[(ea&p)+4>>2];c[(da&p)+8>>2]=c[(ea&p)+8>>2];break}else{h=c[(ga&p)>>2]|0;if((s|0)>-1)do Pn(f);while((c[(f&p)>>2]|0)>-1);c[(ga&p)>>2]=h}while(0);i=ha;return}function nq(e,f){e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,ga=0;da=i;i=i+64|0;if((i|0)>=(j|0))fa();ca=da+8|0;Z=da;q=da+24|0;h=da+16|0;l=xq(e,0,h)|0;do if(!l){if(c[(h&p)>>2]|0){l=ds(e,f)|0;if(!l)g=0;else k=4}else{l=1;k=4}if((k|0)==4){ba=e+43|0;k=(a[(ba&n)>>0]|0)==0;do if(!(a[(e&n)+46>>0]&2)){if(k?(m=e+4|0,aa=c[(m&p)>>2]|0,ac[c[((c[(aa&p)>>2]|0)&p)+40>>2]&63](aa,24,0)|0,m=c[(m&p)>>2]|0,m=pc[c[((c[(m&p)>>2]|0)&p)+56>>2]&31](m,0,1,10)|0,(m|0)!=0):0){h=l;g=m;break}aa=e+44|0;a[(aa&n)>>0]=1;k=xq(e,0,h)|0;if(!k){h=ds(e,f)|0;if(!h){h=0;g=0}else{$=d[(e&n)+45>>0]|0;_=$+1|0;$=7-$|0;if(!((a[(ba&n)>>0]|0)==0?(g=c[(e&p)+4>>2]|0,g=pc[c[((c[(g&p)>>2]|0)&p)+56>>2]&31](g,_,$,10)|0,(g|0)!=0):0)){l=e+52|0;k=l+48|0;do{c[(l&p)>>2]=0;l=l+4|0}while((l|0)<(k|0));T=e+8|0;g=c[(T&p)>>2]|0;g=rc[c[((c[(g&p)>>2]|0)&p)+24>>2]&127](g,Z)|0;a:do if(!g){U=Z;S=c[(U&p)+4>>2]|0;b:do if((S|0)>0|(S|0)==0&(c[(U&p)>>2]|0)>>>0>32){g=c[(T&p)>>2]|0;g=tc[c[((c[(g&p)>>2]|0)&p)+8>>2]&31](g,q,32,0,0)|0;if(g)break a;m=d[(q&n)+3>>0]|0;k=d[(q&n)+9>>0]<<16|d[(q&n)+8>>0]<<24;g=d[(q&n)+10>>0]<<8;l=k|g|d[(q&n)+11>>0];if(((d[(q&n)+1>>0]<<16|d[(q&n)>>0]<<24|d[(q&n)+2>>0]<<8|m&254|0)==931071618?!((l+-1&l|0)!=0|(l|0)>65536|(l|0)<512):0)?(U=m&1,V=e+65|0,a[(V&n)>>0]=U,W=e+36|0,c[(W&p)>>2]=l,c[(e&p)+104>>2]=d[(q&n)+13>>0]<<16|d[(q&n)+12>>0]<<24|d[(q&n)+14>>0]<<8|d[(q&n)+15>>0],X=e+84|0,S=q+16|0,Q=S,Q=d[(Q&n)>>0]|d[(Q&n)+1>>0]<<8|d[(Q&n)+2>>0]<<16|d[(Q&n)+3>>0]<<24,S=S+4|0,S=d[(S&n)>>0]|d[(S&n)+1>>0]<<8|d[(S&n)+2>>0]<<16|d[(S&n)+3>>0]<<24,Y=X,R=Y,a[(R&n)>>0]=Q,a[(R&n)+1>>0]=Q>>8,a[(R&n)+2>>0]=Q>>16,a[(R&n)+3>>0]=Q>>24,Y=Y+4|0,a[(Y&n)>>0]=S,a[(Y&n)+1>>0]=S>>8,a[(Y&n)+2>>0]=S>>16,a[(Y&n)+3>>0]=S>>24,Y=e+76|0,yq(U^1,q,24,0,Y),(c[(Y&p)>>2]|0)==(d[(q&n)+25>>0]<<16|d[(q&n)+24>>0]<<24|d[(q&n)+26>>0]<<8|d[(q&n)+27>>0]|0)):0){S=e+80|0;if((c[(S&p)>>2]|0)!=(d[(q&n)+29>>0]<<16|d[(q&n)+28>>0]<<24|d[(q&n)+30>>0]<<8|d[(q&n)+31>>0]|0)){l=0;g=0;break}if((d[(q&n)+5>>0]<<16|d[(q&n)+4>>0]<<24|d[(q&n)+6>>0]<<8|d[(q&n)+7>>0]|0)!=3007e3){c[(ca&p)>>2]=49983;c[(ca&p)+4>>2]=10788;bd(14,14848,ca);g=14;break a}w=l+24|0;U=Tc(w)|0;if(!U){g=7;break a}x=U+24|0;y=((w|0)<0)<<31>>31;q=jw(w|0,y|0,32,0)|0;m=G;R=Z;Q=c[(R&p)+4>>2]|0;c:do if(!((m|0)>(Q|0)|((m|0)==(Q|0)?q>>>0>(c[(R&p)>>2]|0)>>>0:0))){z=U+8|0;A=U+1|0;B=U+2|0;C=U+3|0;D=U+16|0;E=U+17|0;F=U+18|0;H=U+19|0;I=U+20|0;J=U+21|0;K=U+22|0;L=U+23|0;M=U+4|0;N=U+5|0;O=U+6|0;P=U+7|0;Q=e+68|0;R=e+72|0;u=(k>>>16|g)&65535;v=e+66|0;r=32;k=0;l=0;s=0;t=1;while(1){g=c[(T&p)>>2]|0;g=tc[c[((c[(g&p)>>2]|0)&p)+8>>2]&31](g,U,w,r,k)|0;if(g){k=36;break}if(Zv(X,z,8)|0){g=s;k=37;break}k=d[(A&n)>>0]<<16|d[(U&n)>>0]<<24|d[(B&n)>>0]<<8|d[(C&n)>>0];if(!k){g=s;k=37;break}r=(a[(V&n)>>0]|0)==0&1;yq(r,U,8,Y,Y);yq(r,x,c[(W&p)>>2]|0,Y,Y);if((c[(Y&p)>>2]|0)!=(d[(E&n)>>0]<<16|d[(D&n)>>0]<<24|d[(F&n)>>0]<<8|d[(H&n)>>0]|0)){g=s;k=37;break}if((c[(S&p)>>2]|0)!=(d[(J&n)>>0]<<16|d[(I&n)>>0]<<24|d[(K&n)>>0]<<8|d[(L&n)>>0]|0)){g=s;break c}r=d[(N&n)>>0]<<16|d[(M&n)>>0]<<24|d[(O&n)>>0]<<8|d[(P&n)>>0];g=_o(e,t,k)|0;if(g){k=36;break}if(!r)g=s;else{c[(Q&p)>>2]=t;c[(R&p)>>2]=r;b[(v&o)>>1]=u;l=c[(Y&p)>>2]|0;g=c[(S&p)>>2]|0}k=jw(q|0,m|0,w|0,y|0)|0;r=G;s=Z;ea=c[(s&p)+4>>2]|0;if((r|0)>(ea|0)|((r|0)==(ea|0)?k>>>0>(c[(s&p)>>2]|0)>>>0:0))break c;else{ga=m;ea=q;q=k;m=r;s=g;t=t+1|0;k=ga;r=ea}}if((k|0)==36){Wc(U);break a}else if((k|0)==37){Wc(U);break b}}else{l=0;g=0}while(0);Wc(U)}else{l=0;g=0}}else{l=0;g=0}while(0);c[(e&p)+76>>2]=l;c[(e&p)+80>>2]=g;$o(e);k=c[(c[(e&p)+32>>2]&p)>>2]|0;c[(k&p)+96>>2]=0;c[(k&p)+100>>2]=0;g=k+104|0;c[(g&p)>>2]=-1;c[(k&p)+108>>2]=-1;c[(k&p)+112>>2]=-1;c[(k&p)+116>>2]=-1;k=e+68|0;l=c[(k&p)>>2]|0;if(l)c[(g&p)>>2]=l;if(!(c[(e&p)+72>>2]|0))g=0;else{g=c[(e&p)+100>>2]|0;c[(ca&p)>>2]=c[(k&p)>>2];c[(ca&p)+4>>2]=g;bd(283,14888,ca);g=0}}while(0);if(!(a[(ba&n)>>0]|0)){Z=c[(e&p)+4>>2]|0;pc[c[((c[(Z&p)>>2]|0)&p)+56>>2]&31](Z,_,$,9)|0}}c[(f&p)>>2]=1}}else{h=l;g=k}a[(aa&n)>>0]=0;if(!(a[(ba&n)>>0]|0)){ba=c[(e&p)+4>>2]|0;pc[c[((c[(ba&p)>>2]|0)&p)+56>>2]&31](ba,0,1,9)|0}}else if(k){h=e+4|0;g=c[(h&p)>>2]|0;g=pc[c[((c[(g&p)>>2]|0)&p)+56>>2]&31](g,0,1,6)|0;if(!g)if(!(a[(ba&n)>>0]|0)){h=c[(h&p)>>2]|0;pc[c[((c[(h&p)>>2]|0)&p)+56>>2]&31](h,0,1,5)|0;h=l;g=264}else{h=l;g=264}else h=l}else{h=l;g=264}while(0);if(h)break}if((c[(e&p)+52>>2]|0)!=3007e3){c[(ca&p)>>2]=50909;c[(ca&p)+4>>2]=10788;bd(14,14848,ca);g=14}}else g=l;while(0);i=da;return g|0}function oq(a,d,f,g,h,i){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,q=0,r=0,s=0,t=0,u=0;r=c[(h&p)>>2]|0;s=c[(g&p)>>2]|0;k=(r|0)>0;j=(f|0)>0;if(k|j){n=j;l=0;q=0;m=0;while(1){do if(n){j=d+(l<<1)|0;if(k?(t=s+(m<<1)|0,(c[(a+((e[(j&o)>>1]|0)<<2)&p)>>2]|0)>>>0>=(c[(a+((e[(t&o)>>1]|0)<<2)&p)>>2]|0)>>>0):0){k=t;u=7;break}l=l+1|0;k=j}else{k=s+(m<<1)|0;u=7}while(0);if((u|0)==7){u=0;m=m+1|0}n=b[(k&o)>>1]|0;k=c[(a+((n&65535)<<2)&p)>>2]|0;j=q+1|0;b[(i+(q<<1)&o)>>1]=n;if((l|0)<(f|0))l=((c[(a+((e[(d+(l<<1)&o)>>1]|0)<<2)&p)>>2]|0)==(k|0)&1)+l|0;k=(m|0)<(r|0);n=(l|0)<(f|0);if(!(k|n))break;else q=j}}else j=0;c[(g&p)>>2]=d;c[(h&p)>>2]=j;kw(d|0,i|0,j<<1|0)|0;return}function pq(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[(a&p)+4>>2]|0;c[(e&p)+4>>2]=c[(a&p)>>2];a=c[((c[(e&p)>>2]|0)&p)+204>>2]|0;c[(a&p)+16>>2]=b;e=c[2217]|0;d=c[(a&p)+40>>2]|0;if((b|0)>-1)a=b;else{b=sw(b|0,((b|0)<0)<<31>>31|0,-1024,-1)|0;a=(c[(a&p)+24>>2]|0)+(c[(a&p)+20>>2]|0)|0;a=qw(b|0,G|0,a|0,((a|0)<0)<<31>>31|0)|0}jc[e&15](d,a);return}function qq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=(c[(b&p)+12>>2]|0)+136|0;e=g;f=c[(e&p)>>2]|0;e=c[(e&p)+4>>2]|0;do if((f|0)==0&(e|0)==0)if(!(bh(c[(c[((c[(b&p)>>2]|0)&p)+32>>2]&p)>>2]|0,g)|0)){e=g;f=c[(e&p)>>2]|0;e=c[(e&p)+4>>2]|0;h=5;break}else{e=g;c[(e&p)>>2]=0;c[(e&p)+4>>2]=0;e=d;c[(e&p)>>2]=0;c[(e&p)+4>>2]=0;e=1;break}else h=5;while(0);if((h|0)==5){g=d;c[(g&p)>>2]=f;c[(g&p)+4>>2]=e;if((e|0)>0|(e|0)==0&f>>>0>0){a[(d&n)+42>>0]=1;e=0}else e=1}return e|0}function rq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))fa();o=r;c[(o&p)>>2]=d;d=b;b=0;a:while(1){h=c[(o&p)>>2]|0;g=c[(h&p)>>2]|0;c[(o&p)>>2]=h+4;h=c[(o&p)>>2]|0;k=c[(h&p)>>2]|0;c[(o&p)>>2]=h+4;h=c[(o&p)>>2]|0;l=c[(h&p)>>2]|0;c[(o&p)>>2]=h+4;h=c[(o&p)>>2]|0;m=c[(h&p)>>2]|0;c[(o&p)>>2]=h+4;h=c[(o&p)>>2]|0;e=c[(h&p)>>2]|0;c[(o&p)>>2]=h+4;if(!g){f=d;d=0}else{f=d;d=0;do{g=g+-1|0;h=a[(f&n)>>0]|0;if(((h&255)+-48|0)>>>0>=10)break a;d=(d*10|0)+-48+(h<<24>>24)|0;f=f+1|0}while((g|0)!=0)}if((d|0)<(k|0)|(d|0)>(l|0))break;if(!m){q=9;break}if((m|0)!=(a[(f&n)>>0]|0))break;c[(e&p)>>2]=d;d=f+1|0;b=b+1|0}if((q|0)==9){c[(e&p)>>2]=d;b=b+1|0}i=r;return b|0}function sq(b,e){b=b|0;e=e|0;var f=0,g=0,k=0,l=0.0,m=0,o=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+64|0;if((i|0)>=(j|0))fa();v=x;t=x+56|0;u=x+52|0;f=x+48|0;r=x+44|0;s=x+40|0;c[(v&p)>>2]=2;c[(v&p)+4>>2]=0;c[(v&p)+8>>2]=24;c[(v&p)+12>>2]=58;c[(v&p)+16>>2]=f;c[(v&p)+20>>2]=2;c[(v&p)+24>>2]=0;c[(v&p)+28>>2]=59;c[(v&p)+32>>2]=0;c[(v&p)+36>>2]=r;do if((rq(b,v)|0)==2){m=b+5|0;if((a[(m&n)>>0]|0)==58){c[(v&p)>>2]=2;c[(v&p)+4>>2]=0;c[(v&p)+8>>2]=59;c[(v&p)+12>>2]=0;c[(v&p)+16>>2]=s;if((rq(b+6|0,v)|0)!=1){f=1;break}m=b+8|0;if((a[(m&n)>>0]|0)==46?(g=b+9|0,k=a[(g&n)>>0]|0,((k&255)+-48|0)>>>0<10):0){o=0.0;l=1.0;do{o=o*10.0+ +(k<<24>>24)+-48.0;l=l*10.0;g=g+1|0;k=a[(g&n)>>0]|0}while(((k&255)+-48|0)>>>0<10);l=o/l}else{g=m;l=0.0}}else{c[(s&p)>>2]=0;g=m;l=0.0}a[(e&n)+42>>0]=0;a[(e&n)+41>>0]=1;c[(e&p)+20>>2]=c[(f&p)>>2];c[(e&p)+24>>2]=c[(r&p)>>2];h[(e&q)+32>>3]=l+ +(c[(s&p)>>2]|0);while(1){f=g+1|0;if(!(a[((d[(g&n)>>0]|0)&n)+10368>>0]&1)){m=g;break}else g=f}b=e+28|0;c[(b&p)>>2]=0;g=a[(m&n)>>0]|0;if(g<<24>>24==43){k=1;w=14}else if(g<<24>>24!=45)if((g&-33)<<24>>24==90){k=0;w=16}else f=0;else{k=-1;w=14}if((w|0)==14){c[(v&p)>>2]=2;c[(v&p)+4>>2]=0;c[(v&p)+8>>2]=14;c[(v&p)+12>>2]=58;c[(v&p)+16>>2]=t;c[(v&p)+20>>2]=2;c[(v&p)+24>>2]=0;c[(v&p)+28>>2]=59;c[(v&p)+32>>2]=0;c[(v&p)+36>>2]=u;if((rq(f,v)|0)!=2){f=1;break}k=ca(((c[(t&p)>>2]|0)*60|0)+(c[(u&p)>>2]|0)|0,k)|0;c[(b&p)>>2]=k;f=m+6|0;w=16}if((w|0)==16)while(1){g=a[(f&n)>>0]|0;if(!(a[(g&255&n)+10368>>0]&1)){f=k;break}else f=f+1|0}if(!(g<<24>>24)){a[(e&n)+43>>0]=(f|0)!=0&1;f=0}else f=1}else f=1;while(0);i=x;return f|0}function tq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,k=0,l=0,m=0,o=0,r=0.0,s=0;o=i;i=i+112|0;if((i|0)>=(j|0))fa();k=o+48|0;m=o;l=o+96|0;f=k+0|0;b=b+0|0;g=f+48|0;do{c[(f&p)>>2]=c[(b&p)>>2];f=f+4|0;b=b+4|0}while((f|0)<(g|0));oo(k);po(k);g=k+8|0;if(((c[(g&p)>>2]|0)+-1971|0)>>>0>66){c[(g&p)>>2]=2e3;c[(k&p)+12>>2]=1;c[(k&p)+16>>2]=1;c[(k&p)+20>>2]=0;c[(k&p)+24>>2]=0;h[(k&q)+32>>3]=0.0}else{f=k+32|0;h[(f&q)>>3]=+(~~(+h[(f&q)>>3]+.5)|0)}c[(k&p)+28>>2]=0;a[(k&n)+42>>0]=0;no(k);b=k;f=c[(b&p)>>2]|0;b=c[(b&p)+4>>2]|0;g=qw(f|0,b|0,1e3,0)|0;g=jw(g|0,G|0,-413362496,0)|0;c[(l&p)>>2]=g;g=Vb(l|0)|0;g=(c[2253]|0)!=0?0:g;if(!g){c[(d&p)+20>>2]=1;a[(d&n)+25>>0]=1;Xg(c[(d&p)>>2]|0,20056,-1,1,-1)|0;c[(e&p)>>2]=1;f=0;g=0}else{k=c[(g&p)+4>>2]|0;l=c[(g&p)+8>>2]|0;d=c[(g&p)+12>>2]|0;s=(c[(g&p)+16>>2]|0)+1|0;r=+(c[(g&p)>>2]|0);c[(m&p)+8>>2]=(c[(g&p)+20>>2]|0)+1900;c[(m&p)+12>>2]=s;c[(m&p)+16>>2]=d;c[(m&p)+20>>2]=l;c[(m&p)+24>>2]=k;h[(m&q)+32>>3]=r;a[(m&n)+40>>0]=1;a[(m&n)+41>>0]=1;a[(m&n)+42>>0]=0;a[(m&n)+43>>0]=0;no(m);c[(e&p)>>2]=0;g=m;g=dw(c[(g&p)>>2]|0,c[(g&p)+4>>2]|0,f|0,b|0)|0;f=G}G=f;i=o;return g|0}function uq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0;r=i;i=i+32|0;if((i|0)>=(j|0))fa();q=r+12|0;l=r;o=r+8|0;k=r+16|0;a[(d&n)>>0]=0;f=rc[c[((c[(b&p)>>2]|0)&p)+24>>2]&127](b,l)|0;h=l;g=c[(h&p)>>2]|0;h=c[(h&p)+4>>2]|0;if(!((f|0)!=0|((h|0)<0|(h|0)==0&g>>>0<16))){f=jw(g|0,h|0,-16,-1)|0;f=es(b,f,G,q)|0;if(!f){m=c[(q&p)>>2]|0;if(!(m>>>0>=e>>>0|(m|0)==0)){f=l;f=jw(c[(f&p)>>2]|0,c[(f&p)+4>>2]|0,-12,-1)|0;f=es(b,f,G,o)|0;if(!f){f=l;f=jw(c[(f&p)>>2]|0,c[(f&p)+4>>2]|0,-8,-1)|0;f=tc[c[((c[(b&p)>>2]|0)&p)+8>>2]&31](b,k,8,f,G)|0;if(!f)if(!(Zv(k,14808,8)|0)){f=l;f=jw(c[(f&p)>>2]|0,c[(f&p)+4>>2]|0,-16,-1)|0;f=dw(f|0,G|0,m|0,0)|0;f=tc[c[((c[(b&p)>>2]|0)&p)+8>>2]&31](b,d,m,f,G)|0;if(!f){g=c[(o&p)>>2]|0;h=0;while(1){e=a[(d+h&n)>>0]|0;f=g-e|0;h=h+1|0;if(h>>>0>=m>>>0)break;else g=f}c[(o&p)>>2]=f;if((g|0)==(e|0))f=m;else{c[(q&p)>>2]=0;f=0}a[(d+f&n)>>0]=0;f=0}}else f=0}}else f=0}}i=r;return f|0}function vq(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;t=i;i=i+16|0;if((i|0)>=(j|0))fa();l=t+8|0;r=t+4|0;o=t;s=a+72|0;h=s;k=c[(h&p)>>2]|0;h=c[(h&p)+4>>2]|0;if((k|0)==0&(h|0)==0){m=0;n=0;k=c[(a&p)+148>>2]|0}else{m=jw(k|0,h|0,-1,-1)|0;k=c[(a&p)+148>>2]|0;m=qw(m|0,G|0,k|0,0)|0;m=jw(m|0,G|0,1,0)|0;m=sw(m|0,G|0,k|0,0)|0;n=G}q=s;c[(q&p)>>2]=m;c[(q&p)+4>>2]=n;q=a+148|0;k=jw(k|0,0,m|0,n|0)|0;h=G;do if(!((h|0)>(e|0)|(h|0)==(e|0)&k>>>0>d>>>0)){if((b|0)==0?(b=a+80|0,(m|0)==(c[(b&p)>>2]|0)?(n|0)==(c[(b&p)+4>>2]|0):0):0)d=a+64|0;else{k=a+64|0;e=c[(k&p)>>2]|0;e=tc[c[((c[(e&p)>>2]|0)&p)+8>>2]&31](e,l,8,m,n)|0;if(e)break;if(!(Zv(l,14808,8)|0))d=k;else{e=101;break}}l=c[(d&p)>>2]|0;e=jw(m|0,n|0,8,0)|0;e=es(l,e,G,f)|0;if(!e){f=c[(d&p)>>2]|0;e=jw(m|0,n|0,12,0)|0;e=es(f,e,G,a+48|0)|0;if(!e){f=c[(d&p)>>2]|0;e=jw(m|0,n|0,16,0)|0;e=es(f,e,G,g)|0;if(!e){h=s;k=c[(h&p)>>2]|0;h=c[(h&p)+4>>2]|0;if((k|0)==0&(h|0)==0){g=c[(d&p)>>2]|0;e=jw(m|0,n|0,20,0)|0;e=es(g,e,G,o)|0;if(e)break;g=c[(d&p)>>2]|0;e=jw(m|0,n|0,24,0)|0;e=es(g,e,G,r)|0;if(e)break;d=c[(r&p)>>2]|0;if(!d){h=c[(a&p)+152>>2]|0;c[(r&p)>>2]=h}else h=d;d=c[(o&p)>>2]|0;if(h>>>0<512|d>>>0<32|h>>>0>65536|d>>>0>65536){e=101;break}if(h+-1&h){e=101;break}if(d+-1&d){e=101;break}e=al(a,r,-1)|0;c[(q&p)>>2]=d;h=s;k=c[(h&p)>>2]|0;h=c[(h&p)+4>>2]|0}else{d=c[(q&p)>>2]|0;e=0}m=jw(k|0,h|0,d|0,0)|0;n=s;c[(n&p)>>2]=m;c[(n&p)+4>>2]=G}}}}else e=101;while(0);i=t;return e|0}function wq(f,g,h,k,l){f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=i;i=i+16|0;if((i|0)>=(j|0))fa();y=D+8|0;r=D+4|0;u=D;B=c[(f&p)+200>>2]|0;C=(k|0)!=0;q=c[((C?f+64|0:f+68|0)&p)>>2]|0;t=g;t=es(q,c[(t&p)>>2]|0,c[(t&p)+4>>2]|0,r)|0;do if(!t){A=f+152|0;x=c[(A&p)>>2]|0;t=g;t=jw(c[(t&p)>>2]|0,c[(t&p)+4>>2]|0,4,0)|0;t=tc[c[((c[(q&p)>>2]|0)&p)+8>>2]&31](q,B,x,t,G)|0;if(!t){E=c[(A&p)>>2]|0;s=(k<<2)+4+E|0;t=g;t=jw(s|0,((s|0)<0)<<31>>31|0,c[(t&p)>>2]|0,c[(t&p)+4>>2]|0)|0;s=G;x=g;c[(x&p)>>2]=t;c[(x&p)+4>>2]=s;x=c[(r&p)>>2]|0;if((x|0)!=0?(x|0)!=(((c[2514]|0)/(E|0)|0)+1|0):0)if(x>>>0<=(c[(f&p)+24>>2]|0)>>>0?(di(h,x)|0)==0:0){if(C){t=jw(t|0,s|0,-4,-1)|0;t=es(q,t,G,u)|0;if(t){m=t;break}if(!l){t=c[(f&p)+48>>2]|0;s=(c[(A&p)>>2]|0)+-200|0;if((s|0)>0)do{t=(d[(B+s&n)>>0]|0)+t|0;s=s+-200|0}while((s|0)>0);if((t|0)!=(c[(u&p)>>2]|0)){m=101;break}}}if((h|0)!=0?(m=bi(h,x)|0,(m|0)!=0):0)break;u=(x|0)==1;if(u?(v=f+142|0,w=a[(B&n)+20>>0]|0,(b[(v&o)>>1]|0)!=(w&255|0)):0)b[(v&o)>>1]=w&255;if(!(c[(f&p)+208>>2]|0)){w=f+204|0;t=ac[c[8876>>2]&63](c[((c[(w&p)>>2]|0)&p)+40>>2]|0,x,0)|0;t=il(c[(w&p)>>2]|0,x,t)|0}else t=0;c[(y&p)>>2]=t;if(C)if(!(a[(f&n)+7>>0]|0)){w=g;h=c[(w&p)+4>>2]|0;s=f+80|0;v=c[(s&p)+4>>2]|0;s=(h|0)<(v|0)|((h|0)==(v|0)?(c[(w&p)>>2]|0)>>>0<=(c[(s&p)>>2]|0)>>>0:0)}else s=1;else if(!t)s=1;else s=(b[(t&o)+24>>1]&4)==0;r=c[(f&p)+60>>2]|0;q=c[(r&p)>>2]|0;do if(q){m=a[(f&n)+16>>0]|0;if((m&255)>3){if(!s){z=33;break}}else if(!(m<<24>>24==0&s)){z=33;break}s=c[(A&p)>>2]|0;m=sw(s|0,((s|0)<0)<<31>>31|0,x+-1|0,0)|0;m=tc[c[(q&p)+12>>2]&31](r,B,s,m,G)|0;s=f+32|0;if(x>>>0>(c[(s&p)>>2]|0)>>>0)c[(s&p)>>2]=x;s=c[(f&p)+88>>2]|0;if(s)ap(s,x,B)}else z=33;while(0);if((z|0)==33)if((k|0)==0&(t|0)==0){w=f+20|0;a[(w&n)>>0]=d[(w&n)>>0]|2;m=zg(f,x,y,1)|0;a[(w&n)>>0]=d[(w&n)>>0]&253;if(m)break;t=c[(y&p)>>2]|0;m=t+24|0;b[(m&o)>>1]=e[(m&o)>>1]&65527;To(t);m=0}else m=0;if(t){r=c[(t&p)+4>>2]|0;kw(r|0,B|0,c[(A&p)>>2]|0)|0;cc[c[(f&p)+196>>2]&31](t);do if(C){if((l|0)!=0?(w=g,h=c[(w&p)+4>>2]|0,x=f+80|0,v=c[(x&p)+4>>2]|0,(h|0)>(v|0)|((h|0)==(v|0)?(c[(w&p)>>2]|0)>>>0>(c[(x&p)>>2]|0)>>>0:0)):0)break;xl(t)}while(0);if(u){s=f+104|0;q=r+24|0;r=s+16|0;do{a[(s&n)>>0]=a[(q&n)>>0]|0;s=s+1|0;q=q+1|0}while((s|0)<(r|0))}ol(t)}}else m=0;else m=101}else m=t}else m=t;while(0);i=D;return m|0}function xq(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;g=b+24|0;if((c[(g&p)>>2]|0)<=(e|0)){i=e+1|0;j=b+32|0;h=Xc(c[(j&p)>>2]|0,i<<2)|0;if(!h){g=7;h=0}else{k=c[(g&p)>>2]|0;fw(h+(k<<2)|0,0,i-k<<2|0)|0;c[(j&p)>>2]=h;c[(g&p)>>2]=i;k=5}}else{h=c[(b&p)+32>>2]|0;k=5}if((k|0)==5){j=b+32|0;h=h+(e<<2)|0;do if(!(c[(h&p)>>2]|0)){if((a[(b&n)+43>>0]|0)!=2){g=c[(b&p)+4>>2]|0;g=tc[c[((c[(g&p)>>2]|0)&p)+52>>2]&31](g,e,32768,d[(b&n)+44>>0]|0,h)|0;if((g|0)!=8)break;g=b+46|0;a[(g&n)>>0]=d[(g&n)>>0]|2;g=0;break}g=qg(32768,0)|0;if(g)fw(g|0,0,32768)|0;c[((c[(j&p)>>2]|0)+(e<<2)&p)>>2]=g;g=(c[((c[(j&p)>>2]|0)+(e<<2)&p)>>2]|0)==0?7:0}else g=0;while(0);h=c[((c[(j&p)>>2]|0)+(e<<2)&p)>>2]|0}c[(f&p)>>2]=h;return g|0}function yq(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=b+d|0;if(!e){g=0;d=0}else{g=c[(e&p)>>2]|0;d=c[(e&p)+4>>2]|0}if(!a)do{g=g+d+(nw(c[(b&p)>>2]|0)|0)|0;d=g+d+(nw(c[(b&p)+4>>2]|0)|0)|0;b=b+8|0}while(b>>>0<h>>>0);else do{g=g+d+(c[(b&p)>>2]|0)|0;d=g+d+(c[(b&p)+4>>2]|0)|0;b=b+8|0}while(b>>>0<h>>>0);c[(f&p)>>2]=g;c[(f&p)+4>>2]=d;return}function zq(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;h=a+8|0;g=c[(h&p)>>2]|0;h=c[(h&p)+4>>2]|0;if((h|0)>(f|0)|(h|0)==(f|0)&g>>>0>e>>>0?(i=jw(d|0,((d|0)<0)<<31>>31|0,e|0,f|0)|0,k=G,!((k|0)<(h|0)|(k|0)==(h|0)&i>>>0<g>>>0)):0){i=dw(g|0,h|0,e|0,f|0)|0;h=a+4|0;g=c[(h&p)>>2]|0;g=tc[c[((c[(g&p)>>2]|0)&p)+12>>2]&31](g,b,i,e,f)|0;if(!g){e=jw(i|0,((i|0)<0)<<31>>31|0,e|0,f|0)|0;f=G;g=c[(h&p)>>2]|0;g=rc[c[((c[(g&p)>>2]|0)&p)+20>>2]&127](g,c[(a&p)+16>>2]&19)|0;if(!((i|0)==(d|0)|(g|0)!=0)){d=d-i|0;h=b+i|0;g=f;j=5}}}else{h=b;g=f;j=5}if((j|0)==5){f=c[(a&p)+4>>2]|0;g=tc[c[((c[(f&p)>>2]|0)&p)+12>>2]&31](f,h,d,e,g)|0}return g|0}function Aq(a){a=a|0;var d=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))fa();h=l+8|0;k=l+4|0;g=l;c[(h&p)>>2]=0;c[(k&p)>>2]=0;c[(g&p)>>2]=0;f=a+68|0;d=c[(f&p)>>2]|0;if(d){Po(a,(d+33|0)>>>12,h,k,g)|0;g=(c[(f&p)>>2]|0)-(c[(g&p)>>2]|0)|0;a=c[(h&p)>>2]|0;f=0;do{d=a+(f<<1)|0;if((e[(d&o)>>1]|0|0)>(g|0))b[(d&o)>>1]=0;f=f+1|0}while((f|0)!=8192);d=(c[(k&p)>>2]|0)+(g+1<<2)|0;fw(d|0,0,a-d|0)|0}i=l;return}function Bq(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();e=g;h=a+204|0;f=ac[c[8876>>2]&63](c[((c[(h&p)>>2]|0)&p)+40>>2]|0,d,0)|0;f=il(c[(h&p)>>2]|0,d,f)|0;do if(!f)e=0;else{if((b[(f&o)+26>>1]|0)==1){ml(f);e=0;break}c[(e&p)>>2]=0;d=kl(c[(a&p)+208>>2]|0,c[(f&p)+20>>2]|0,e)|0;if(!d){d=ll(f,c[(e&p)>>2]|0)|0;if(!d){cc[c[(a&p)+196>>2]&31](f);d=0}}Bg(f);e=d}while(0);d=c[(a&p)+88>>2]|0;if(d)do{c[(d&p)+16>>2]=1;d=c[(d&p)+44>>2]|0}while((d|0)!=0);i=g;return e|0}function Cq(f,g,h){f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=i;i=i+16|0;if((i|0)>=(j|0))fa();F=G;C=c[(f&p)+52>>2]|0;t=(c[(C&p)+36>>2]|0)+-4|0;y=g&65535;D=h&65535;x=D+y|0;E=c[(f&p)+56>>2]|0;if(b[(C&o)+22>>1]&4)fw(E+y|0,0,D|0)|0;B=d[(f&n)+6>>0]|0;C=B+1|0;q=C&65535;A=C&65535;if((a[(E+A&n)+1>>0]|0)==0?(a[(E+A&n)>>0]|0)==0:0){v=h&255;t=(h&65535)>>>8&255;u=x;s=0;r=0;A=23}else{v=q;A=6}a:do if((A|0)==6){while(1){A=0;m=v&65535;r=a[(E+m&n)+1>>0]|0;l=r&255;u=d[(E+m&n)>>0]<<8|l;q=v;v=u&65535;if(!(u>>>0<y>>>0&(u|0)!=0)){s=r;w=u;break}if(u>>>0<(m+4|0)>>>0){A=8;break}else A=6}if((A|0)==8){c[(F&p)>>2]=54420;c[(F&p)+4>>2]=10788;bd(11,13600,F);k=11;break}if(w>>>0>t>>>0){c[(F&p)>>2]=54423;c[(F&p)+4>>2]=10788;bd(11,13600,F);k=11;break}k=h&255;t=(h&65535)>>>8&255;r=(v&65535)>>>8&255;do if((w+-1|0)>>>0<(x+3|0)>>>0)if(x>>>0>w>>>0){c[(F&p)>>2]=54434;c[(F&p)+4>>2]=10788;bd(11,13600,F);k=11;break a}else{u=(d[(E+w&n)+2>>0]<<8|d[(E+w&n)+3>>0])+w|0;t=u-y|0;v=t&255;t=(t&65535)>>>8&255;s=a[(E+w&n)+1>>0]|0;r=a[(E+w&n)>>0]|0;k=l-x&255;break}else{v=k;u=x;k=0}while(0);do if(m>>>0>C>>>0?(z=(d[(E+m&n)+2>>0]<<8|d[(E+m&n)+3>>0])+m|0,(z+3|0)>=(y|0)):0)if((y|0)<(z|0)){c[(F&p)>>2]=54447;c[(F&p)+4>>2]=10788;bd(11,13600,F);k=11;break a}else{t=u-m|0;g=q;v=t&255;t=(t&65535)>>>8&255;k=(k&255)+y-z&255;break}while(0);m=E+(B+7)|0;l=a[(m&n)>>0]|0;if((l&255)<(k&255)){c[(F&p)>>2]=54453;c[(F&p)+4>>2]=10788;bd(11,13600,F);k=11;break}else{a[(m&n)>>0]=(l&255)-(k&255);A=23;break}}while(0);b:do if((A|0)==23){k=g&65535;l=E+(B+5)|0;m=E+(B+6)|0;do if((k|0)==(d[(l&n)>>0]<<8|d[(m&n)>>0]|0))if((q&65535|0)==(C|0)){a[(E+C&n)>>0]=r;a[(E+B&n)+2>>0]=s;a[(l&n)>>0]=u>>>8;a[(m&n)>>0]=u;break}else{c[(F&p)>>2]=54460;c[(F&p)+4>>2]=10788;bd(11,13600,F);k=11;break b}else{F=q&65535;a[(E+F&n)>>0]=(g&65535)>>>8;a[(E+F&n)+1>>0]=g;a[(E+k&n)>>0]=r;a[(E+k&n)+1>>0]=s;a[(E+k&n)+2>>0]=t;a[(E+k&n)+3>>0]=v}while(0);k=f+16|0;b[(k&o)>>1]=(e[(k&o)>>1]|0)+D;k=0}while(0);i=G;return k|0}function Dq(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))fa();t=w;s=d[(b&n)+6>>0]|0;v=c[(b&p)+56>>2]|0;r=c[((c[(b&p)+52>>2]|0)&p)+36>>2]|0;l=r+-4|0;b=s+1|0;while(1){m=v+b|0;o=(d[(m&n)>>0]|0)<<8|(d[(v+b&n)+1>>0]|0);if(!o){b=0;break}if((o|0)>(l|0)|(o|0)<(b+4|0)){u=4;break}h=v+(o+2)|0;k=v+(o+3)|0;b=(d[(h&n)>>0]|0)<<8|(d[(k&n)>>0]|0);if((b|0)<(e|0))b=o;else{q=h;l=o;u=6;break}}a:do if((u|0)==4){c[(t&p)>>2]=54252;c[(t&p)+4>>2]=10788;bd(11,13600,t);c[(f&p)>>2]=11;b=0}else if((u|0)==6){h=b-e|0;do if((h|0)>=4)if((b+l|0)>(r|0)){c[(t&p)>>2]=54275;c[(t&p)+4>>2]=10788;bd(11,13600,t);c[(f&p)>>2]=11;b=0;break a}else{a[(q&n)>>0]=h>>>8;a[(k&n)>>0]=h;break}else{b=v+(s+7)|0;if((d[(b&n)>>0]|0)<=59){s=v+l|0;s=d[(s&n)>>0]|d[(s&n)+1>>0]<<8;a[(m&n)>>0]=s;a[(m&n)+1>>0]=s>>8;a[(b&n)>>0]=(d[(b&n)>>0]|0)+h;break}if(!g){b=0;break a}c[(g&p)>>2]=1;b=0;break a}while(0);b=v+(h+l)|0}while(0);i=w;return b|0}function Eq(f){f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=i;i=i+16|0;if((i|0)>=(j|0))fa();E=G;B=c[(f&p)+56>>2]|0;D=d[(f&n)+6>>0]|0;x=e[(f&o)+14>>1]|0;y=b[(f&o)+18>>1]|0;t=y&65535;u=f+52|0;v=c[((c[(u&p)>>2]|0)&p)+36>>2]|0;C=(t<<1)+x|0;w=v+-4|0;z=B+(D+5)|0;A=B+(D+6)|0;a:do if(y<<16>>16){s=v;y=0;h=B;k=0;while(1){m=(y<<1)+x|0;l=B+m|0;m=B+(m+1)|0;q=(d[(l&n)>>0]|0)<<8|(d[(m&n)>>0]|0);if((q|0)<(C|0)|(q|0)>(w|0)){F=3;break}r=(Lp(f,h+q|0)|0)&65535;g=s-r|0;if((g|0)<(C|0)|(r+q|0)>(v|0)){F=5;break}a[(l&n)>>0]=g>>>8;a[(m&n)>>0]=g;if(!k)if((g|0)==(q|0))k=0;else{k=c[((c[(c[(u&p)>>2]&p)>>2]|0)&p)+200>>2]|0;h=(d[(z&n)>>0]|0)<<8|(d[(A&n)>>0]|0);kw(k+h|0,B+h|0,s-h|0)|0;h=k;F=9}else F=9;if((F|0)==9){F=0;kw(B+g|0,h+q|0,r|0)|0}y=y+1|0;if((y|0)>=(t|0)){F=11;break a}else s=g}if((F|0)==3){c[(E&p)>>2]=54184;c[(E&p)+4>>2]=10788;bd(11,13600,E);g=11;break}else if((F|0)==5){c[(E&p)>>2]=54196;c[(E&p)+4>>2]=10788;bd(11,13600,E);g=11;break}}else{g=v;F=11}while(0);if((F|0)==11){a[(z&n)>>0]=g>>>8;a[(A&n)>>0]=g;a[(B+D&n)+1>>0]=0;a[(B+D&n)+2>>0]=0;a[(B+D&n)+7>>0]=0;F=g-C|0;fw(B+C|0,0,F|0)|0;if((F|0)==(e[(f&o)+16>>1]|0|0))g=0;else{c[(E&p)>>2]=54221;c[(E&p)+4>>2]=10788;bd(11,13600,E);g=11}}i=G;return g|0}function Fq(a,e,f){a=a|0;e=e|0;f=f|0;var g=0,h=0,k=0;k=i;i=i+32|0;if((i|0)>=(j|0))fa();h=k;if((c[(f&p)>>2]|0)==0?(rp(a,e,h),g=b[(h&o)+18>>1]|0,g<<16>>16!=0):0){g=g&65535;zp(c[(a&p)+52>>2]|0,(d[(e+g&n)+1>>0]|0)<<16|(d[(e+g&n)>>0]|0)<<24|(d[(e+g&n)+2>>0]|0)<<8|(d[(e+g&n)+3>>0]|0),3,c[(a&p)+72>>2]|0,f)}i=k;return}function Gq(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;do if(!(c[(g&p)>>2]|0)){h=c[(b&p)+52>>2]|0;j=c[(b&p)+56>>2]|0;l=c[(f&p)+56>>2]|0;i=d[(b&n)+6>>0]|0;k=(c[(f&p)+72>>2]|0)==1?100:0;m=d[(j+i&n)+5>>0]<<8|d[(j+i&n)+6>>0];kw(l+m|0,j+m|0,(c[(h&p)+36>>2]|0)-m|0)|0;kw(l+k|0,j+i|0,(e[(b&o)+18>>1]<<1)+(e[(b&o)+14>>1]|0)|0)|0;a[(f&n)>>0]=0;b=$p(f)|0;if(b){c[(g&p)>>2]=b;break}if(a[(h&n)+17>>0]|0)c[(g&p)>>2]=_p(f)|0}while(0);return}function Hq(f,g,h,i){f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;t=d[(f&n)+6>>0]|0;w=c[(f&p)+56>>2]|0;m=c[(f&p)+52>>2]|0;r=c[(m&p)+36>>2]|0;q=w+r|0;j=c[(f&p)+64>>2]|0;m=c[((c[(m&p)>>2]|0)&p)+200>>2]|0;s=w+(t+5)|0;u=w+(t+6)|0;v=(d[(s&n)>>0]|0)<<8|(d[(u&n)>>0]|0);kw(m+v|0,w+v|0,r-v|0)|0;v=w;if((g|0)>0){r=0;l=j;j=q;while(1){k=c[(h+(r<<2)&p)>>2]|0;if(k>>>0>w>>>0&k>>>0<q>>>0)k=m+(k-v)|0;x=e[(i+(r<<1)&o)>>1]|0;j=j+(0-x)|0;kw(j|0,k|0,x|0)|0;k=j-v|0;a[(l&n)>>0]=k>>>8;a[(l&n)+1>>0]=k;r=r+1|0;if((r|0)==(g|0))break;else l=l+2|0}}else j=q;i=f+18|0;b[(i&o)>>1]=g;a[(f&n)+1>>0]=0;a[(w+t&n)+1>>0]=0;a[(w+t&n)+2>>0]=0;a[(w+t&n)+3>>0]=(e[(i&o)>>1]|0)>>>8;a[(w+t&n)+4>>0]=b[(i&o)>>1];i=j-v|0;a[(s&n)>>0]=i>>>8;a[(u&n)>>0]=i;a[(w+t&n)+7>>0]=0;return}function Iq(a,b,f,g){a=a|0;b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0;u=c[(a&p)+56>>2]|0;s=u+(c[((c[(a&p)+52>>2]|0)&p)+36>>2]|0)|0;q=u+((d[(a&n)+6>>0]|0)+8+(d[(a&n)+7>>0]|0))|0;a:do if((b|0)>0){r=u;t=0;h=0;l=0;m=0;while(1){j=c[(f+(t<<2)&p)>>2]|0;if(j>>>0>=q>>>0&j>>>0<s>>>0){i=e[(g+(t<<1)&o)>>1]|0;k=j+i|0;if((l|0)!=(k|0)){if(l)Cq(a,l-r&65535,m&65535)|0;if(k>>>0>s>>>0){h=0;break a}}else i=i+m|0;h=h+1|0}else{j=l;i=m}t=t+1|0;if((t|0)>=(b|0))break;else{l=j;m=i}}if(j)Cq(a,j-u&65535,i&65535)|0}else h=0;while(0);return h|0}function Jq(b,d,f,g,h,k,l){b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))fa();w=y;q=c[(b&p)+56>>2]|0;m=c[(f&p)>>2]|0;if(!(a[(q&n)+1>>0]|0))v=(a[(q&n)+2>>0]|0)!=0;else v=1;a:do if((h|0)>0){t=0;while(1){s=e[(l+(t<<1)&o)>>1]|0;if(v?(u=Dq(b,s,w,0)|0,(u|0)!=0):0)r=u;else{r=m+(0-s)|0;if(r>>>0<d>>>0){m=1;break a}else m=r}kw(r|0,c[(k+(t<<2)&p)>>2]|0,s|0)|0;s=r-q|0;a[(g&n)>>0]=s>>>8;a[(g&n)+1>>0]=s;t=t+1|0;if((t|0)>=(h|0)){x=9;break}else g=g+2|0}}else x=9;while(0);if((x|0)==9){c[(f&p)>>2]=m;m=0}i=y;return m|0}function Kq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;o=i;i=i+16|0;if((i|0)>=(j|0))fa();n=o;e=c[(a&p)+44>>2]|0;h=a;f=c[(h&p)>>2]|0;h=c[(h&p)+4>>2]|0;a:do if(!e){m=a+40|0;e=c[(m&p)>>2]|0;g=((e|0)<0)<<31>>31;l=rw(f|0,h|0,e|0,g|0)|0;if(!l){k=a+8|0;k=dw(c[(k&p)>>2]|0,c[(k&p)+4>>2]|0,f|0,h|0)|0;q=G;r=c[(a&p)+24>>2]|0;e=tc[c[((c[(r&p)>>2]|0)&p)+8>>2]&31](r,c[(a&p)+36>>2]|0,(q|0)>(g|0)|(q|0)==(g|0)&k>>>0>e>>>0?e:k,f,h)|0;if(e)break;e=c[(m&p)>>2]|0}k=e-l|0;if((k|0)>=(b|0)){c[(d&p)>>2]=(c[(a&p)+36>>2]|0)+l;e=a;b=jw(c[(e&p)>>2]|0,c[(e&p)+4>>2]|0,b|0,((b|0)<0)<<31>>31|0)|0;e=a;c[(e&p)>>2]=b;c[(e&p)+4>>2]=G;e=0;break}e=a+16|0;f=c[(e&p)>>2]|0;if((f|0)<(b|0)){f=f<<1;f=(f|0)<128?128:f;while(1)if((f|0)<(b|0))f=f<<1;else{h=f;break}g=a+28|0;f=rg(c[(g&p)>>2]|0,h,((h|0)<0)<<31>>31)|0;if(!f){e=7;break}c[(e&p)>>2]=h;c[(g&p)>>2]=f}else f=c[(a&p)+28>>2]|0;h=a+28|0;kw(f|0,(c[(a&p)+36>>2]|0)+l|0,k|0)|0;l=a;l=jw(c[(l&p)>>2]|0,c[(l&p)+4>>2]|0,k|0,((k|0)<0)<<31>>31|0)|0;e=a;c[(e&p)>>2]=l;c[(e&p)+4>>2]=G;e=b-k|0;if((e|0)>0){g=e;do{f=c[(m&p)>>2]|0;f=(g|0)>(f|0)?f:g;e=Kq(a,f,n)|0;if(e)break a;kw((c[(h&p)>>2]|0)+(b-g)|0,c[(n&p)>>2]|0,f|0)|0;g=g-f|0}while((g|0)>0)}c[(d&p)>>2]=c[(h&p)>>2];e=0}else{c[(d&p)>>2]=e+f;b=jw(f|0,h|0,b|0,((b|0)<0)<<31>>31|0)|0;e=a;c[(e&p)>>2]=b;c[(e&p)+4>>2]=G;e=0}while(0);i=o;return e|0}function Lq(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+64|0;if((i|0)>=(j|0))fa();x=A+44|0;z=A;y=A+40|0;v=a+8|0;u=c[(v&p)>>2]|0;v=c[(v&p)+4>>2]|0;w=a+4|0;q=c[(w&p)>>2]|0;Pp(c[(a&p)+48>>2]|0,z,c[((c[((c[(a&p)>>2]|0)&p)+8>>2]|0)&p)+12>>2]|0,u,v);o=q+8|0;q=q+12|0;r=z+24|0;s=z+16|0;t=a+16|0;while(1){f=c[((c[(o&p)>>2]|0)&p)+4>>2]|0;g=c[(q&p)>>2]|0;h=c[(g+(f*56|0)&p)+20>>2]|0;if(!(c[(g+(f*56|0)&p)+24>>2]|0)){d=1;b=0;break}l=r;k=c[(l&p)>>2]|0;l=c[(l&p)+4>>2]|0;m=c[(s&p)>>2]|0;n=((h|0)<0)<<31>>31;b=h;e=n;d=0;do{d=d+1|0;b=mw(b|0,e|0,7)|0;e=G}while(((b|0)!=0|(e|0)!=0)&(d|0)<9);k=jw(k|0,l|0,h|0,n|0)|0;k=jw(k|0,G|0,m|0,((m|0)<0)<<31>>31|0)|0;d=jw(k|0,G|0,d|0,((d|0)<0)<<31>>31|0)|0;k=G;b=c[(t&p)>>2]|0;b=jw(b|0,((b|0)<0)<<31>>31|0,u|0,v|0)|0;e=G;if((k|0)>(e|0)|(k|0)==(e|0)&d>>>0>b>>>0){d=1;b=0;break}Qp(z,x,pm(x,h,n)|0);Qp(z,c[(g+(f*56|0)&p)+32>>2]|0,h);b=Wm(c[(w&p)>>2]|0,y)|0;if(b){d=0;break}}z=Rp(z,a+56|0)|0;i=A;return (d?z:b)|0}function Mq(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;d=i;i=i+16|0;if((i|0)>=(j|0))fa();f=d;c[(f&p)>>2]=e;e=Wk(a,13592,f)|0;mg(a,b);i=d;return e|0}function Nq(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))fa();m=q;h=a[(d&n)>>0]|0;if(h<<24>>24!=0&(e|0)>0){l=0;do{if((h+-48&255)<10){k=0;do{k=(k*10|0)+-48+(h<<24>>24)|0;d=d+1|0;h=a[(d&n)>>0]|0}while((h+-48&255)<10);h=0}else{k=0;h=0}b[(f+(l<<1)&o)>>1]=fs(k,h)|0;d=(a[(d&n)>>0]|0)==32?d+1|0:d;l=l+1|0;h=a[(d&n)>>0]|0}while(h<<24>>24!=0&(l|0)<(e|0))}l=g+51|0;a[(l&n)>>0]=a[(l&n)>>0]&-69;a:do if(a[(d&n)>>0]|0){f=g+44|0;b:while(1){do if(!(Gh(13448,d,10352,0)|0)){if(Gh(13464,d,10352,0)|0){c[(m&p)>>2]=0;Dn(d+3|0,m)|0;h=c[(m&p)>>2]|0;b[(f&o)>>1]=fs(h,((h|0)<0)<<31>>31)|0;break}if(Gh(13480,d,10352,0)|0)a[ (…) [all...] |
H A D | sqlite-safe-heap.js | 5 function gh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=da(a|0,4,0,0)|0|0;i=da(a+80|0,4,0,0)|0|0;e=a+44|0;do if(!(da(e|0,4,0,0)|0)){ea(h+52|0,i|0,4,0);b=da(h+236|0,4,0,0)|0|0;if(b){a=b+8|0;if(!((da(a|0,2,0,0)|0)&9312)){ea(a|0,1|0,2,0);break}else{ug(b);break}}}else{f=h+65|0;g=da(f>>0|0,1,0,0)|0|0;a=da(3164*4|0,4,0,0)|0|0;if(a)mc[(fa(a|0,3|0)|0)&3]();d=h+236|0;a=da(d|0,4,0,0)|0|0;do if(!a){a=lh(h,40,0)|0;if(!a){ea(d|0,a|0,4,0);break}else{b=a+0|0;c=b+40|0;do{ea(b>>0|0,0|0,1,0);b=b+1|0}while((b|0)<(c|0));ea(a+8|0,1|0,2,0);ea(a+32|0,h|0,4,0);ea(d|0,a|0,4,0);c=8;break}}else c=8;while(0);if((c|0)==8)Wg(a,da(e|0,4,0,0)|0|0,-1,1,-1)|0;a=da(3166*4|0,4,0,0)|0|0;if(a)mc[(fa(a|0,3|0)|0)&3]();ea(f>>0|0,g|0,1,0);ea(h+52|0,i|0,4,0)}while(0);return i|0}function hh(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();h=n;ea(f|0,0|0,4,0);if(!((Gh(a)|0)==0|(b|0)==0)){h=da(a+20|0,4,0,0)|0|0;if((h|0)>0){k=da(a+16|0,4,0,0)|0|0;m=0;do{l=da(k+(m<<4)+4|0,4,0,0)|0|0;if(l)ea((da(l+4|0,4,0,0)|0|0)+4|0,da(l|0,4,0,0)|0|0,4,0);m=m+1|0}while((m|0)!=(h|0))}h=En(a,b,c,d,e,f,g)|0;if((h|0)==17){ld(da(f|0,4,0,0)|0|0)|0;h=En(a,b,c,d,e,f,g)|0}}else{ea(h|0,105892|0,4,0);ea(h+4|0,10788|0,4,0);ad(21,13648,h);h=21}i=n;return h|0}function ih(a,b){a=a|0;b=b|0;var c=0,d=0;d=a+68|0;if((da(d|0,2,0,0)|0|0)>0){c=b+60|0;b=a+60|0;a=0;do{Zl((da(c|0,4,0,0)|0|0)+(a*40|0)|0,(da(b|0,4,0,0)|0|0)+(a*40|0)|0);a=a+1|0}while((a|0)<(da(d|0,2,0,0)|0|0))}return}function jh(a,b){a=a|0;b=b|0;var c=0,d=0;if(b){c=b;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;d=(c-b&1073741823)+1|0;c=lh(a,d,0)|0;if(c)jw(c|0,b|0,d|0)|0;else c=0}else c=0;return c|0}function kh(a,b){a=a|0;b=b|0;var c=0,d=0;d=da(a+8|0,4,0,0)|0|0;if((b|0)>=1){eh(d,b)|0;ea(d+8|0,8192|0,2,0);ea(d|0,da(a+4|0,4,0,0)|0|0,4,0);c=d+16|0;a=da(c|0,4,0,0)|0|0;if(!a)c=0;else{ew(a|0,0,b|0)|0;c=da(c|0,4,0,0)|0|0}}else{c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312))ea(c|0,1|0,2,0);else ug(d);ea(d+16|0,0|0,4,0);c=0}return c|0}function lh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:do if(a){f=a+65|0;if(!(da(f>>0|0,1,0,0)|0)){do if(da(a+250>>0|0,1,0,0)|0){if(0<c>>>0|(0==(c|0)?(da(a+248|0,2,0,1)|0|0)>>>0<b>>>0:0)){d=a+264|0;ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0);break}e=a+272|0;d=da(e|0,4,0,0)|0|0;if(!d){d=a+268|0;ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0);break}ea(e|0,da(d|0,4,0,0)|0|0,4,0);c=a+252|0;e=da(c|0,4,0,0)|0|0;b=e+1|0;ea(c|0,b|0,4,0);c=a+260|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=a+256|0;if((e|0)>=(da(c|0,4,0,0)|0|0))ea(c|0,b|0,4,0);break a}while(0);d=pg(b,c)|0;if(!d){ea(f>>0|0,1|0,1,0);d=0}}else d=0}else d=pg(b,c)|0;while(0);return d|0}function mh(a,b){a=a|0;b=b|0;var c=0,d=0;do if(a){c=da(a+20|0,4,0,0)|0|0;if((c|0)!=0?((b|0)>-1?(da(a+84|0,2,0,1)|0|0|0)>(b|0):0):0){c=c+(b*40|0)|0;break}c=da(a|0,4,0,0)|0|0;if((c|0)!=0?(ea(c+52|0,25|0,4,0),d=da(c+236|0,4,0,0)|0|0,(d|0)!=0):0){c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);c=41496;break}else{ug(d);c=41496;break}}else c=41496}else c=41496;while(0);return c|0}function nh(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=oh(a,b)|0;if(!g)if(!c)g=0;else{b=(da(a+60|0,4,0,0)|0|0)+((b+-1|0)*40|0)|0;g=Wg(b,c,d,f,e)|0;if((g|0)!=0|f<<24>>24==0)b=g;else b=Xl(b,da((da(a|0,4,0,0)|0|0)+62>>0|0,1,0,1)|0|0)|0;g=da(a|0,4,0,0)|0|0;ea(g+52|0,b|0,4,0);e=da(g+236|0,4,0,0)|0|0;do if(e){d=e+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(d|0,1|0,2,0);break}else{ug(e);g=da(a|0,4,0,0)|0|0;break}}while(0);g=Ng(g,b)|0}else{d=e;if(!((d|0)==0|(d|0)==-1))bc[(fa(e|0,31|0)|0)&31](c)}return g|0}function oh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;do if(!($g(a)|0)){if((da(a+40|0,4,0,0)|0|0)==-1108210269?(da(a+76|0,4,0,0)|0|0)<=-1:0){if((b|0)>=1?(da(a+68|0,2,0,0)|0|0)>=(b|0):0){f=b+-1|0;e=da(a+60|0,4,0,0)|0|0;d=e+(f*40|0)|0;c=e+(f*40|0)+8|0;if(!(((da(c|0,2,0,0)|0)&9312)==0?(da(e+(f*40|0)+24|0,4,0,0)|0|0)==0:0))Pg(d);ea(c|0,1|0,2,0);d=da(a|0,4,0,0)|0|0;ea(d+52|0,0|0,4,0);d=da(d+236|0,4,0,0)|0|0;do if(d){c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);break}else{ug(d);break}}while(0);e=a+88|0;c=da(e|0,2,0,0)|0|0;if(!(c&256)){c=0;break}d=da(a+188|0,4,0,0)|0|0;if((b|0)<33){if(!((d&1<<f|0)!=0|(d|0)==-1)){c=0;break}}else if((d|0)!=-1){c=0;break}ea(e|0,c|8|0,2,0);c=0;break}c=da(a|0,4,0,0)|0|0;ea(c+52|0,25|0,4,0);c=da(c+236|0,4,0,0)|0|0;if(!c){c=25;break}d=c+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(d|0,1|0,2,0);c=25;break}else{ug(c);c=25;break}}d=da(a|0,4,0,0)|0|0;ea(d+52|0,21|0,4,0);d=da(d+236|0,4,0,0)|0|0;do if(d){c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);break}else{ug(d);break}}while(0);ea(e|0,da(a+168|0,4,0,0)|0|0,4,0);ad(21,41456,e);ea(e|0,69987|0,4,0);ea(e+4|0,10788|0,4,0);ad(21,13648,e);c=21}else{ea(e|0,69979|0,4,0);ea(e+4|0,10788|0,4,0);ad(21,13648,e);c=21}while(0);i=g;return c|0}function ph(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:do if(!((a|0)==0|(b|0)==0)?(f=da(a+70|0,2,0,0)|0|0,f<<16>>16>0):0){d=da(a+64|0,4,0,0)|0|0;a=0;while(1){e=da(d+(a<<2)|0,4,0,0)|0|0;if(((e|0)!=0?(_v(e,b,c)|0)==0:0)?(da(e+c>>0|0,1,0,0)|0|0)==0:0)break;a=a+1|0;if((a|0)>=(f<<16>>16|0)){a=0;break a}}a=a+1|0}else a=0;while(0);return a|0}function qh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h+8|0;f=h;c=da(a+10>>0|0,1,0,0)|0|0;d=a+16|0;e=a+12|0;do if(Sl(da(d|0,4,0,0)|0|0,g,da(e|0,4,0,0)|0|0,c)|0){if(!(Tl(da(d|0,4,0,0)|0|0,f,da(e|0,4,0,0)|0|0,c)|0)){e=f;c=da(e+4|0,4,0,0)|0|0;d=a;ea(d|0,da(e|0,4,0,0)|0|0,4,0);ea(d+4|0,c|0,4,0);c=a+8|0;ea(c|0,da(c|0,2,0,1)|0|0|4|0,2,0);break}ea(a|0,+(+(+da(g|0,8,1,0))),8,1);c=a+8|0;ea(c|0,da(c|0,2,0,1)|0|0|8|0,2,0);if(b)cm(a)}while(0);i=h;return}function rh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;if(!(Fn(a)|0)){e=Zh(da(a|0,4,0,0)|0|0,c,d)|0;if(!e){e=(b|0)!=0?41368:41384;if(!d){ea(f|0,e|0,4,0);ea(f+4|0,c|0,4,0);sh(a,27680,f)}else{ea(f|0,e|0,4,0);ea(f+4|0,d|0,4,0);ea(f+8|0,c|0,4,0);sh(a,27664,f)}ea(a+17>>0|0,1|0,1,0);e=0}}else e=0;i=g;return e|0}function sh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();f=e;d=da(a|0,4,0,0)|0|0;ea(f|0,c|0,4,0);c=Vk(d,b,f)|0;if(!(da(d+68>>0|0,1,0,0)|0)){b=a+64|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);b=a+4|0;lg(d,da(b|0,4,0,0)|0|0);ea(b|0,c|0,4,0);ea(a+12|0,1|0,4,0)}else lg(d,c);i=e;return}function th(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();e=d;ea(e|0,c|0,4,0);a=Vk(a,b,e)|0;i=d;return a|0}function uh(a){a=a|0;var b=0,c=0,d=0;c=da(a|0,4,0,0)|0|0;b=lh(c,208,0)|0;if(!b)b=0;else{ew(b|0,0,208)|0;ea(b|0,c|0,4,0);c=c+4|0;d=da(c|0,4,0,0)|0|0;if(d)ea(d+48|0,b|0,4,0);ea(b+52|0,d|0,4,0);ea(b+48|0,0|0,4,0);ea(c|0,b|0,4,0);ea(b+40|0,649915045|0,4,0);ea(b+24|0,a|0,4,0)}return b|0}function vh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=a+32|0;f=da(g|0,4,0,0)|0|0;if((da((da(a+24|0,4,0,0)|0|0)+84|0,4,0,0)|0|0)<=(f|0))if(!(Gn(a)|0)){h=da(g|0,4,0,0)|0|0;i=4}else f=1;else{h=f;i=4}if((i|0)==4){ea(g|0,h+1|0,4,0);g=da(a+4|0,4,0,0)|0|0;ea(g+(f*20|0)>>0|0,b|0,1,0);ea(g+(f*20|0)+3>>0|0,0|0,1,0);ea(g+(f*20|0)+4|0,c|0,4,0);ea(g+(f*20|0)+8|0,d|0,4,0);ea(g+(f*20|0)+12|0,e|0,4,0);ea(g+(f*20|0)+16|0,0|0,4,0);ea(g+(f*20|0)+1>>0|0,0|0,1,0)}return f|0}function wh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=da(a|0,4,0,0)|0|0;e=da(a+4|0,4,0,0)|0|0;do if((e|0)!=0?(da(h+65>>0|0,1,0,0)|0|0)==0:0){if((b|0)<0)b=(da(a+32|0,4,0,0)|0|0)+-1|0;g=e+(b*20|0)+1|0;f=e+(b*20|0)+16|0;Hn(h,da(g>>0|0,1,0,0)|0|0,da(f|0,4,0,0)|0|0);ea(f|0,0|0,4,0);if((d|0)==-14){ea(f|0,c|0,4,0);ea(g>>0|0,-14|0,1,0);break}if(!c){ea(f|0,0|0,4,0);ea(g>>0|0,0|0,1,0);break}if((d|0)==-10){ea(f|0,c|0,4,0);ea(g>>0|0,-10|0,1,0);b=c+12|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);break}else if((d|0)==-6){ea(f|0,c|0,4,0);ea(g>>0|0,-6|0,1,0);break}else{if((d|0)<0){ea(f|0,c|0,4,0);ea(g>>0|0,d|0,1,0);break}if(!d){b=c;while(1)if(!(da(b>>0|0,1,0,0)|0))break;else b=b+1|0;e=b-c&1073741823}else e=d;a=da(a|0,4,0,0)|0|0;b=iw(e|0,((e|0)<0)<<31>>31|0,1,0)|0;b=lh(a,b,C)|0;if(!b)b=0;else{jw(b|0,c|0,e|0)|0;ea(b+e>>0|0,0|0,1,0)}ea(f|0,b|0,4,0);ea(g>>0|0,-1|0,1,0);break}}else i=3;while(0);if((i|0)==3?(d|0)!=-10:0)Hn(h,d,c);return}function xh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=a+32|0;d=da(i|0,4,0,0)|0|0;if((d+b|0)>(da((da(a+24|0,4,0,0)|0|0)+84|0,4,0,0)|0|0))if(!(Gn(a)|0)){d=da(i|0,4,0,0)|0|0;e=4}else d=0;else e=4;if((e|0)==4)if((b|0)>0){g=a+4|0;h=0;while(1){j=da(c+2>>0|0,1,0,0)|0|0;e=j<<24>>24;a=h+d|0;f=da(g|0,4,0,0)|0|0;ea(f+(a*20|0)>>0|0,da(c>>0|0,1,0,0)|0|0|0,1,0);ea(f+(a*20|0)+4|0,da(c+1>>0|0,1,0,0)|0|0,4,0);if(j<<24>>24<0)e=d+~e|0;ea(f+(a*20|0)+8|0,e|0,4,0);ea(f+(a*20|0)+12|0,da(c+3>>0|0,1,0,0)|0|0,4,0);ea(f+(a*20|0)+1>>0|0,0|0,1,0);ea(f+(a*20|0)+16|0,0|0,4,0);ea(f+(a*20|0)+3>>0|0,0|0,1,0);h=h+1|0;if((h|0)==(b|0))break;else c=c+4|0}ea(i|0,(da(i|0,4,0,0)|0|0)+b|0,4,0)}return d|0}function yh(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+32|0;if((da(c|0,4,0,0)|0|0)>(b|0)?(d=da(a+4|0,4,0,0)|0|0,Hn(da(a|0,4,0,0)|0|0,da(d+(b*20|0)+1>>0|0,1,0,0)|0|0,da(d+(b*20|0)+16|0,4,0,0)|0|0),a=d+(b*20|0)|0,ea(a+0|0,0|0,4,0),ea(a+4|0,0|0,4,0),ea(a+8|0,0|0,4,0),ea(a+12|0,0|0,4,0),ea(a+16|0,0|0,4,0),ea(a>>0|0,-100|0,1,0),((da(c|0,4,0,0)|0|0)+-1|0)==(b|0)):0)ea(c|0,b|0,4,0);return}function zh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;G=i;i=i+16|0;if((i|0)>=(j|0))ba();e=G;E=da(a|0,4,0,0)|0|0;y=da(b+440|0,4,0,0)|0|0;c=da(b+72|0,4,0,0)|0|0;x=da(b+68|0,4,0,0)|0|0;ea(e|0,da(b+392|0,4,0,0)|0|0,4,0);w=da(b+80|0,4,0,0)|0|0;w=(w|0)==0?1:w;c=x+c|0;g=da(a+4|0,4,0,0)|0|0;f=g+((da(a+32|0,4,0,0)|0|0)*20|0)|0;g=g+((da(b+84|0,4,0,0)|0|0)*20|0)|0;In(a,e);if(!(da(b+20>>0|0,1,0,0)|0))d=0;else d=((da(b+21>>0|0,1,0,0)|0|0)!=0&1)<<5&65535;F=a+88|0;ea(F|0,(da(F|0,2,0,0)|0)&-33|d|0,2,0);D=b+450|0;A=(da(D>>0|0,1,0,0)|0|0)!=0&(c|0)<10?10:c;c=f;ew(f|0,0,g-c|0)|0;ea(F|0,(da(F|0,2,0,0)|0)&-9|0,2,0);z=a+8|0;r=A*40|0;s=a+60|0;t=y*40|0;u=a+12|0;h=((da(e|0,4,0,0)|0)<<2)+7&-8;v=a+64|0;k=(y<<2)+7&-8;l=a+56|0;m=(x<<2)+7&-8;n=a+200|0;o=w+7&-8;p=a+172|0;q=E+65|0;f=f+(c&7)|0;while(1){e=da(z|0,4,0,0)|0|0;if(!e){d=f+r|0;c=d>>>0>g>>>0;e=c?0:f;f=c?f:d;c=c?r:0}else c=0;ea(z|0,e|0,4,0);e=da(s|0,4,0,0)|0|0;if(!e){H=f+t|0;d=H>>>0>g>>>0;e=d?0:f;f=d?f:H;c=(d?t:0)+c|0}ea(s|0,e|0,4,0);e=da(u|0,4,0,0)|0|0;if(!e){H=f+h|0;d=H>>>0>g>>>0;e=d?0:f;f=d?f:H;c=(d?h:0)+c|0}ea(u|0,e|0,4,0);e=da(v|0,4,0,0)|0|0;if(!e){H=f+k|0;d=H>>>0>g>>>0;e=d?0:f;f=d?f:H;c=(d?k:0)+c|0}ea(v|0,e|0,4,0);e=da(l|0,4,0,0)|0|0;if(!e){H=f+m|0;d=H>>>0>g>>>0;e=d?0:f;f=d?f:H;c=(d?m:0)+c|0}ea(l|0,e|0,4,0);e=da(n|0,4,0,0)|0|0;if(!e){d=(f+o|0)>>>0>g>>>0;e=d?0:f;c=(d?o:0)+c|0}ea(n|0,e|0,4,0);if(!c)break;d=lh(E,c,((c|0)<0)<<31>>31)|0;if(!d)e=0;else{ew(d|0,0,c|0)|0;e=d}ea(p|0,e|0,4,0);if(!(da(q>>0|0,1,0,0)|0)){f=d;g=d+c|0}else break}ea(a+36|0,x|0,4,0);ea(a+196|0,w|0,4,0);d=da(s|0,4,0,0)|0|0;if((d|0)!=0?(ea(a+68|0,y|0,2,0),(y|0)>0):0){c=0;do{ea(d+(c*40|0)+8|0,1|0,2,0);ea(d+(c*40|0)+32|0,E|0,4,0);c=c+1|0}while((c|0)!=(y|0))}d=da(v|0,4,0,0)|0|0;if((d|0)!=0?(B=b+444|0,C=da(B|0,4,0,0)|0|0,(C|0)>0):0){ea(a+70|0,C|0,2,0);y=b+472|0;jw(d|0,da(y|0,4,0,0)|0|0,C<<16>>14|0)|0;ew(da(y|0,4,0,0)|0|0,0,(da(B|0,4,0,0)|0)<<2|0)|0}d=da(z|0,4,0,0)|0|0;if((d|0)!=0?(ea(z|0,d+-40|0,4,0),ea(a+28|0,A|0,4,0),(A|0)>=1):0){c=1;while(1){ea(d+((c+-1|0)*40|0)+8|0,128|0,2,0);ea(d+((c+-1|0)*40|0)+32|0,E|0,4,0);if((c|0)==(A|0))break;else c=c+1|0}}ea(F|0,(da(F|0,2,0,0)|0)&-4|(da(D>>0|0,1,0,1)|0)&3|0,2,0);ea(a+76|0,-1|0,4,0);ea(a+80|0,0|0,4,0);ea(a+86>>0|0,2|0,1,0);ea(a+40|0,-1108210269|0,4,0);ea(a+92|0,0|0,4,0);ea(a+72|0,1|0,4,0);ea(a+87>>0|0,-1|0,1,0);ea(a+104|0,0|0,4,0);z=a+144|0;ea(z|0,0|0,4,0);ea(z+4|0,0|0,4,0);i=G;return}function Ah(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;h=a+20|0;g=da(h|0,4,0,0)|0|0;f=da(g+60|0,4,0,0)|0|0;ea(f|0,b|0,4,0);ea(f+4|0,c|0,4,0);f=Rd(g)|0;do if((f|0)!=100){e=da(h|0,4,0,0)|0|0;if(e){f=ld(e)|0;ea(h|0,0|0,4,0);e=da(a+24|0,4,0,0)|0|0;if(!f){f=k;ea(f|0,b|0,4,0);ea(f+4|0,c|0,4,0);f=1;e=th(e,41432,k)|0;break}else{ea(k|0,Re(e)|0|0,4,0);e=th(e,10344,k)|0;break}}else e=0}else{f=da(da(g+56|0,4,0,0)|0|0,4,0,0)|0|0;e=da(a+12|0,4,0,0)|0|0;g=da(f+(e<<2)+84|0,4,0,0)|0|0;if(g>>>0>=12){ea(a+8|0,da(f+((da(f+20|0,2,0,0)|0|0)+e<<2)+84|0,4,0,0)|0|0,4,0);ea(a+4|0,(g+-12|0)>>>1|0,4,0);f=da(f|0,4,0,0)|0|0;ea(a+16|0,f|0,4,0);f=f+72|0;ea(f>>0|0,da(f>>0|0,1,0,1)|0|16|0,1,0);f=0;e=0;break}f=da(a+24|0,4,0,0)|0|0;if(!g)e=20352;else e=(g|0)==7?20336:20320;ea(k|0,e|0,4,0);e=th(f,41400,k)|0;ld(da(h|0,4,0,0)|0|0)|0;ea(h|0,0|0,4,0);f=1}while(0);ea(d|0,e|0,4,0);i=l;return f|0}function Bh(a){a=a|0;var b=0;if(a){b=da(a|0,4,0,0)|0|0;lg(b,da(a+112|0,4,0,0)|0|0);Mk(b,da(a+316|0,4,0,0)|0|0)}return}function Ch(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=da(a+73>>0|0,1,0,0)|0|0;do if(!(f<<24>>24))e=4;else{if((f&255)>2?(e=Jn(a)|0,(e|0)!=0):0)break;e=Km(a,b,c,d,0)|0}while(0);return e|0}function Dh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();g=k;if(!a){ea(g|0,77646|0,4,0);ea(g+4|0,10788|0,4,0);ad(21,13648,g);d=21}else{h=da(a+24|0,4,0,0)|0|0;g=a+20|0;f=da(g|0,4,0,0)|0|0;do if((d|c|0)>=0?(m=iw(d|0,((d|0)<0)<<31>>31|0,c|0,((c|0)<0)<<31>>31|0)|0,o=C,l=da(a+4|0,4,0,0)|0|0,n=((l|0)<0)<<31>>31,!((o|0)>(n|0)|(o|0)==(n|0)&m>>>0>l>>>0)):0)if(f){d=oc[(fa(e|0,31|0)|0)&31](da(a+16|0,4,0,0)|0|0,(da(a+8|0,4,0,0)|0|0)+d|0,c,b)|0;if((d|0)==4){Mg(f)|0;ea(g|0,0|0,4,0);d=4;break}else{ea(f+80|0,d|0,4,0);break}}else d=4;else d=1;while(0);ea(h+52|0,d|0,4,0);f=da(h+236|0,4,0,0)|0|0;do if(f){g=f+8|0;if(!((da(g|0,2,0,0)|0)&9312)){ea(g|0,1|0,2,0);break}else{ug(f);break}}while(0);d=Ng(h,d)|0}i=k;return d|0}function Eh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=a+73|0;e=da(f>>0|0,1,0,0)|0|0;if((e&255)>2){e=Jn(a)|0;if(!e){e=da(f>>0|0,1,0,0)|0|0;g=4}}else g=4;if((g|0)==4)if(e<<24>>24==1){Kn(da(a+4|0,4,0,0)|0|0,da(a+60|0,4,0,0)|0|0,a)|0;if(!((da(a+72>>0|0,1,0,0)|0)&1))e=8;else e=Km(a,b,c,d,1)|0}else e=4;return e|0}function Fh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();t=v+4|0;u=v;ea(t|0,a|0,4,0);ea(u|0,b|0,4,0);o=da(c+1>>0|0,1,0,1)|0|0;p=da(c>>0|0,1,0,1)|0|0;s=da(c+3>>0|0,1,0,0)|0|0;r=(d|0)!=0;if(r)q=d;else q=da(c+2>>0|0,1,0,1)|0|0;l=s<<24>>24!=0;h=0;a:while(1){while(1){f=Ln(t)|0;if(!f){n=60;break a}if((f|0)==(p|0)){n=7;break a}if((f|0)!=(q|0))break;if(r){n=40;break}b=Ln(u)|0;if(!b){e=0;break a}g=Ln(t)|0;if((g|0)==94){g=Ln(t)|0;e=1}else e=0;if((g|0)==93){g=Ln(t)|0;k=(b|0)==93&1}else k=0;f=(g|0)==0;if((g|0)!=93&(f^1)){f=0;while(1){if(((g|0)==45?(m=da((da(t|0,4,0,0)|0)>>0|0,1,0,0)|0|0,m<<24>>24!=93):0)?m<<24>>24!=0&(f|0)!=0:0){g=b>>>0<f>>>0|b>>>0>(Ln(t)|0)>>>0;a=0;k=g?k:1}else{a=g;k=(b|0)==(g|0)?1:k}g=Ln(t)|0;f=(g|0)==0;if(!((g|0)!=93&(f^1))){g=f;break}else f=a}}else g=f;if(g|(k|0)==(e|0)){e=0;break a}}if((n|0)==40){n=0;f=Ln(t)|0;if(!f){e=0;break}h=da(t|0,4,0,0)|0|0}g=Ln(u)|0;if((f|0)==(g|0))continue;if(l&f>>>0<128&g>>>0<128?(da(9328+(f&255)>>0|0,1,0,0)|0|0)==(da(9328+(g&255)>>0|0,1,0,0)|0|0):0)continue;if((f|0)!=(o|0)){e=0;break}if(!((g|0)!=0?(da(t|0,4,0,0)|0|0)!=(h|0):0)){e=0;break}}b:do if((n|0)==7){b=Ln(t)|0;a=(b|0)==(o|0);if((b|0)==(p|0)|a)do{if(a?(Ln(u)|0)==0:0){e=0;break b}b=Ln(t)|0;a=(b|0)==(o|0)}while((b|0)==(p|0)|a);if(b){do if((b|0)==(q|0)){if(r){b=Ln(t)|0;if(!b){e=0;break b}else break}e=da(u|0,4,0,0)|0|0;c:do if(!(da(e>>0|0,1,0,0)|0))e=0;else{a=da(t|0,4,0,0)|0|0;while(1){if(Fh(a+-1|0,e,c,0)|0)break;b=e+1|0;ea(u|0,b|0,4,0);if((da(e>>0|0,1,0,1)|0|0)>191?((da(b>>0|0,1,0,0)|0)&-64)<<24>>24==-128:0){while(1){e=e+2|0;if(((da(e>>0|0,1,0,0)|0)&-64)<<24>>24==-128){n=b;b=e;e=n}else break}ea(u|0,e|0,4,0)}else e=b;if(!(da(e>>0|0,1,0,0)|0)){e=0;break c}}e=(da(e>>0|0,1,0,0)|0|0)!=0}while(0);e=e&1;break b}while(0);if(b>>>0>=129){e=Ln(u)|0;if(!e){e=0;break}a=da(t|0,4,0,0)|0|0;while(1){if((e|0)==(b|0)?(Fh(a,da(u|0,4,0,0)|0|0,c,d)|0)!=0:0){e=1;break b}e=Ln(u)|0;if(!e){e=0;break b}}}if(!(s<<24>>24)){k=b;h=b}else{h=b&255;k=da(9328+h>>0|0,1,0,1)|0|0;h=((da(10368+h>>0|0,1,0,1)|0|-33)^32)&b}a=da(u|0,4,0,0)|0|0;e=a+1|0;ea(u|0,e|0,4,0);b=da(a>>0|0,1,0,0)|0|0;if(!(b<<24>>24))e=0;else{g=da(t|0,4,0,0)|0|0;f=b&255;while(1){if((f|0)==(k|0)|(f|0)==(h|0)?(Fh(g,e,c,d)|0)!=0:0){e=1;break b}b=a+2|0;ea(u|0,b|0,4,0);a=da(e>>0|0,1,0,0)|0|0;if(!(a<<24>>24)){e=0;break}else{n=e;f=a&255;e=b;a=n}}}}else e=1}else if((n|0)==60)e=(da((da(u|0,4,0,0)|0)>>0|0,1,0,0)|0|0)==0&1;while(0);i=v;return e|0}function Gh(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();b=c;do if(a){a=da(a+76|0,4,0,0)|0|0;if((a|0)==-1607883113){a=1;break}else if((a|0)==1266094736|(a|0)==-264537850){ea(b|0,41352|0,4,0);ad(21,15256,b);a=0;break}else{ea(b|0,15248|0,4,0);ad(21,15256,b);a=0;break}}else{ea(b|0,20304|0,4,0);ad(21,15256,b);a=0}while(0);i=c;return a|0}function Hh(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();g=l;h=l+8|0;ea(h|0,0|0,4,0);ea(e|0,0|0,4,0);if((Gh(a)|0)==0|(b|0)==0){ea(g|0,106003|0,4,0);ea(g+4|0,10788|0,4,0);ad(21,13648,g);d=21}else{a:do if((c|0)>-1)if((c|0)>0){g=0;do{if((da(b+g>>0|0,1,0,0)|0|0)==0?(da(b+(g|1)>>0|0,1,0,0)|0|0)==0:0)break a;g=g+2|0}while((g|0)<(c|0))}else g=0;else g=c;while(0);k=Qh(a,b,g)|0;if(k){d=hh(a,k,-1,d,0,e,h)|0;g=da(h|0,4,0,0)|0|0;if((g|0)!=0&(f|0)!=0){e=Mn(k,g-k|0)|0;if((e|0)>0){c=0;g=b;do{g=((da(g+1>>0|0,1,0,0)|0)&-8)<<24>>24==-40?g+4|0:g+2|0;c=c+1|0}while((c|0)!=(e|0))}else g=b;ea(f|0,b+(g-b)|0,4,0)}}else d=0;lg(a,k);d=Ng(a,d)|0}i=l;return d|0}function Ih(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();m=p;n=a+12|0;f=da(n|0,4,0,0)|0|0;l=(c|0)!=0;e=b<<((f|0)==0&l&1);o=a+20|0;h=a+8|0;g=da(h|0,4,0,0)|0|0;if((e+(da(o|0,4,0,0)|0|0)|0)>>>0>g>>>0){e=e+(g<<1)|0;ea(h|0,e|0,4,0);f=da(a|0,4,0,0)|0|0;if((Kc()|0)==0?(k=qg(f,e<<2,0)|0,(k|0)!=0):0){ea(a|0,k|0,4,0);f=da(n|0,4,0,0)|0|0;k=5}else k=21}else k=5;a:do if((k|0)==5){e=a+16|0;if(!f){ea(e|0,b|0,4,0);if((b|0)>0){e=0;do{ea(m|0,da(d+(e<<2)|0,4,0,0)|0|0,4,0);f=Zc(10344,m)|0;if(!f){k=21;break a}h=da(o|0,4,0,0)|0|0;ea(o|0,h+1|0,4,0);ea((da(a|0,4,0,0)|0|0)+(h<<2)|0,f|0,4,0);e=e+1|0}while((e|0)<(b|0))}}else if((da(e|0,4,0,0)|0|0)!=(b|0)){e=a+4|0;Vc(da(e|0,4,0,0)|0|0);ea(e|0,Zc(40912,m)|0|0,4,0);ea(a+24|0,1|0,4,0);e=1;break}if(l){if((b|0)>0){h=0;do{g=c+(h<<2)|0;e=da(g|0,4,0,0)|0|0;if(!e)e=0;else{f=e;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;f=(f-e&1073741823)+1|0;e=Sc(f)|0;if(!e){k=21;break a}jw(e|0,da(g|0,4,0,0)|0|0,f|0)|0}m=da(o|0,4,0,0)|0|0;ea(o|0,m+1|0,4,0);ea((da(a|0,4,0,0)|0|0)+(m<<2)|0,e|0,4,0);h=h+1|0}while((h|0)<(b|0))}ea(n|0,(da(n|0,4,0,0)|0|0)+1|0,4,0);e=0}else e=0}while(0);if((k|0)==21){ea(a+24|0,7|0,4,0);e=1}i=p;return e|0}function Jh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();k=m;if(!b)g=0;else{f=b;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;g=f-b&1073741823}h=a+308|0;f=an(h,b,k)|0;if((f|0)!=0?(da(f+8|0,4,0,0)|0|0)!=0:0){ea(k|0,114188|0,4,0);ea(k+4|0,10788|0,4,0);ad(21,13648,k);f=21}else{f=lh(a,g+17|0,0)|0;if((f|0)!=0?(l=f+16|0,jw(l|0,b|0,g+1|0)|0,ea(f+4|0,l|0,4,0),ea(f|0,c|0,4,0),ea(f+8|0,d|0,4,0),ea(f+12|0,e|0,4,0),l=Hk(h,l,f)|0,(l|0)!=0):0){ea(a+65>>0|0,1|0,1,0);lg(a,l);f=0}else f=0}f=Ng(a,f)|0;if((f|0)!=0&(e|0)!=0)bc[(fa(e|0,31|0)|0)&31](d);i=m;return f|0}function Kh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))ba();v=y;l=y+8|0;w=da(a|0,4,0,0)|0|0;h=da(w+92|0,4,0,0)|0|0;if(!(da(w+148|0,4,0,0)|0))ea(w+240|0,0|0,4,0);x=a+12|0;ea(x|0,0|0,4,0);n=a+480|0;ea(n|0,b|0,4,0);r=pg(1612,0)|0;if(r){ea(r|0,-1|0,4,0);o=w+250|0;p=da(o>>0|0,1,0,0)|0|0;if(da(w+276|0,4,0,0)|0)ea(o>>0|0,1|0,1,0);q=w+65|0;m=a+504|0;d=a+508|0;k=w+240|0;g=0;f=-1;a:while(1){while(1){if(da(q>>0|0,1,0,0)|0){t=19;break a}e=b+g|0;if(!(da(e>>0|0,1,0,0)|0)){t=19;break a}ea(m|0,e|0,4,0);e=Bn(e,l)|0;ea(d|0,e|0,4,0);g=e+g|0;if((g|0)>(h|0)){t=12;break a}e=da(l|0,4,0,0)|0|0;if((e|0)==150){t=16;break a}else if((e|0)==1){f=e;t=17;break}else if((e|0)!=151){f=e;break}if(da(k|0,4,0,0)|0){t=15;break a}}if((t|0)==17){t=0;ea(n|0,b+g|0,4,0)};ea(v+0|0,da(m+0|0,4,0,0)|0|0,4,0);ea(v+4|0,da(m+4|0,4,0,0)|0|0,4,0);Nn(r,f,v,a);f=da(l|0,4,0,0)|0|0;if(da(x|0,4,0,0)|0){t=19;break}}if((t|0)==12){ea(x|0,18|0,4,0);t=19}else if((t|0)==15){sh(a,20384,v);ea(x|0,9|0,4,0);t=19}else if((t|0)==16){lg(w,da(c|0,4,0,0)|0|0);ea(v|0,m|0,4,0);ea(c|0,th(w,20400,v)|0|0,4,0);d=1}if((t|0)==19){g=b+g|0;if((da(g>>0|0,1,0,0)|0|0)==0?(da(x|0,4,0,0)|0|0)==0:0){if((f|0)!=1){ea(v+0|0,da(m+0|0,4,0,0)|0|0,4,0);ea(v+4|0,da(m+4|0,4,0,0)|0|0,4,0);Nn(r,1,v,a);ea(n|0,g|0,4,0)};ea(v+0|0,da(m+0|0,4,0,0)|0|0,4,0);ea(v+4|0,da(m+4|0,4,0,0)|0|0,4,0);Nn(r,0,v,a);d=0}else d=0}if((da(r|0,4,0,0)|0|0)>-1)do On(r);while((da(r|0,4,0,0)|0|0)>-1);Vc(r);ea(o>>0|0,p|0,1,0);if(!(da(q>>0|0,1,0,0)|0)){f=da(x|0,4,0,0)|0|0;if(!((f|0)==101|(f|0)==0)){s=f;t=29}}else{ea(x|0,7|0,4,0);s=7;t=29}if((t|0)==29?(u=a+4|0,(da(u|0,4,0,0)|0|0)==0):0){if((s|0)!=516){f=s&255;if(f>>>0>26|(f|0)==2)f=16328;else f=da(15488+(f<<2)|0,4,0,0)|0|0}else f=16344;ea(v|0,f|0,4,0);ch(u,w,10344,v)}f=a+4|0;e=da(f|0,4,0,0)|0|0;if(e){ea(c|0,e|0,4,0);c=da(x|0,4,0,0)|0|0;ea(v|0,e|0,4,0);ad(c,10344,v);ea(f|0,0|0,4,0);d=d+1|0}f=a+8|0;e=da(f|0,4,0,0)|0|0;if(((e|0)!=0?(da(a+64|0,4,0,0)|0|0)>0:0)?(da(a+18>>0|0,1,0,0)|0|0)==0:0){Ol(e);ea(f|0,0|0,4,0)}if(!(da(a+18>>0|0,1,0,0)|0)){c=a+400|0;lg(w,da(c|0,4,0,0)|0|0);ea(c|0,0|0,4,0);ea(a+396|0,0|0,4,0)}Vc(da(a+520|0,4,0,0)|0|0);if(!(da(a+451>>0|0,1,0,0)|0))jg(w,da(a+484|0,4,0,0)|0|0);if(da(a+449>>0|0,1,0,0)|0)Pn(w,da(a+532|0,4,0,0)|0|0);ig(w,da(a+488|0,4,0,0)|0|0);f=da(a+444|0,4,0,0)|0|0;g=a+472|0;e=da(g|0,4,0,0)|0|0;if((f|0)>0)do{f=f+-1|0;lg(w,da(e+(f<<2)|0,4,0,0)|0|0);e=da(g|0,4,0,0)|0|0}while((f|0)>0);lg(w,e);f=a+404|0;e=da(f|0,4,0,0)|0|0;if(e)do{ea(f|0,da(e|0,4,0,0)|0|0,4,0);lg(w,e);e=da(f|0,4,0,0)|0|0}while((e|0)!=0);f=a+524|0;e=da(f|0,4,0,0)|0|0;if(e)do{ea(f|0,da(e+72|0,4,0,0)|0|0,4,0);jg(w,e);e=da(f|0,4,0,0)|0|0}while((e|0)!=0);if((d|0)>0?(da(x|0,4,0,0)|0|0)==0:0)ea(x|0,1|0,4,0)}else{ea(w+65>>0|0,1|0,1,0);d=7}i=y;return d|0}function Lh(a){a=a|0;if(a){if(!(((da(a+8|0,2,0,0)|0)&9312)==0?(da(a+24|0,4,0,0)|0|0)==0:0))Pg(a);lg(da(a+32|0,4,0,0)|0|0,a)}return}function Mh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!(da(a+252|0,4,0,0)|0)){k=a+251|0;if(da(k>>0|0,1,0,0)|0)Vc(da(a+276|0,4,0,0)|0|0);g=c&-8;e=(g|0)<5?0:g;f=(d|0)<0?0:d;if(!((e|0)==0|(f|0)==0))if(!b){c=da(3164*4|0,4,0,0)|0|0;if(c)mc[(fa(c|0,3|0)|0)&3]();c=_(e,f)|0;c=pg(c,((c|0)<0)<<31>>31)|0;d=da(3166*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]();if(!c)c=0;else f=(kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](c)|0)/(g|0)|0}else c=b;else{e=0;c=0}d=a+276|0;ea(d|0,c|0,4,0);j=a+272|0;ea(j|0,0|0,4,0);ea(a+248|0,e|0,2,0);if(!c){ea(d|0,a|0,4,0);ea(a+280|0,a|0,4,0);ea(a+250>>0|0,0|0,1,0);c=0}else{if((f|0)>0){d=_(e,f)|0;i=c+(_(e,f+-1|0)|0)|0;h=0;g=c;while(1){f=f+-1|0;ea(g|0,h|0,4,0);if((f|0)<=0)break;else{h=g;g=g+e|0}}ea(j|0,i|0,4,0);c=c+d|0}ea(a+280|0,c|0,4,0);ea(a+250>>0|0,1|0,1,0);c=(b|0)==0&1}ea(k>>0|0,c|0,1,0);c=0}else c=5;return c|0}function Nh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();n=o;do if(!a)c=0;else{h=a+76|0;l=da(h|0,4,0,0)|0|0;if(!((l|0)==1266094736|(l|0)==-1607883113|(l|0)==-264537850)){ea(n|0,15248|0,4,0);ad(21,15256,n);ea(n|0,128509|0,4,0);ea(n+4|0,10788|0,4,0);ad(21,13648,n);c=21;break}k=a+20|0;c=da(k|0,4,0,0)|0|0;a:do if((c|0)>0){l=a+16|0;d=da(l|0,4,0,0)|0|0;f=0;do{e=da(d+(f<<4)+4|0,4,0,0)|0|0;if(e)ea((da(e+4|0,4,0,0)|0|0)+4|0,da(e|0,4,0,0)|0|0,4,0);f=f+1|0}while((f|0)!=(c|0));g=0;while(1){c=da(d+(g<<4)+12|0,4,0,0)|0|0;if((c|0)!=0?(m=da(c+16|0,4,0,0)|0|0,(m|0)!=0):0){c=m;do{d=da(c+8|0,4,0,0)|0|0;b:do if((da(d+44>>0|0,1,0,0)|0)&16){e=d+60|0;while(1){d=da(e|0,4,0,0)|0|0;if(!d)break b;f=d+24|0;if((da(d|0,4,0,0)|0|0)==(a|0))break;else e=f}ea(e|0,da(f|0,4,0,0)|0|0,4,0);zn(d)}while(0);c=da(c|0,4,0,0)|0|0}while((c|0)!=0)}c=g+1|0;if((c|0)>=(da(k|0,4,0,0)|0|0))break a;d=da(l|0,4,0,0)|0|0;g=c}}while(0);ql(a);Qn(a,68);if((b|0)==0?(Il(a)|0)!=0:0){tg(a,5,16368,n);c=5;break}ea(h|0,1691352191|0,4,0);Lg(a);c=0}while(0);i=o;return c|0}function Oh(a,b){a=a|0;b=b|0;if(((b*1e3|0)+1e3|0)>(da(a+492|0,4,0,0)|0|0))b=0;else{b=da(a|0,4,0,0)|0|0;qc[(fa(da(b+60|0,4,0,0)|0|0,127|0)|0)&127](b,1e6)|0;b=1}return b|0}function Ph(a,b,c,d,e,f,g,h,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))ba();q=s;do if(b){n=(f|0)!=0;l=(h|0)!=0;if(n)if(l|(g|0)!=0){r=8;break}else{l=0;m=0}else{m=(g|0)!=0;if(!(m|l^1)){r=8;break}}if(!(m&((n|l)^1)|(c|0)<-1|(c|0)>127)){l=b;while(1)if(!(da(l>>0|0,1,0,0)|0))break;else l=l+1|0;o=l-b&1073741823;if(o>>>0<=255){p=d&2048;l=d&7;if((l|0)!=4){if((l|0)==5){l=Ph(a,b,c,p|1,e,f,g,h,k)|0;if(l)break;l=Ph(a,b,c,p|2,e,f,g,h,k)|0;if(!l)l=3;else break}}else l=2;n=l&255;m=Rh(a,b,o,c,n,0)|0;if(((m|0)!=0?((da(m+2|0,2,0,1)|0)&3|0)==(l|0):0)?(da(m|0,2,0,0)|0|0)==(c|0):0){if(da(a+148|0,4,0,0)|0){tg(a,5,15424,q);l=5;break}l=da(a+4|0,4,0,0)|0|0;if(l)do{q=l+88|0;ea(q|0,da(q|0,2,0,0)|0|8|0,2,0);l=da(l+52|0,4,0,0)|0|0}while((l|0)!=0)}l=Rh(a,b,o,c,n,1)|0;if(!l)l=7;else{Ml(a,l);if(k)ea(k|0,(da(k|0,4,0,0)|0|0)+1|0,4,0);ea(l+32|0,k|0,4,0);a=l+2|0;ea(a|0,(da(a|0,2,0,1)|0)&3|p|0,2,0);ea(l+12|0,f|0,4,0);ea(l+16|0,g|0,4,0);ea(l+20|0,h|0,4,0);ea(l+4|0,e|0,4,0);ea(l|0,c|0,2,0);l=0}}else r=8}else r=8}else r=8;while(0);if((r|0)==8){ea(q|0,129075|0,4,0);ea(q+4|0,10788|0,4,0);ad(21,13648,q);l=21}i=s;return l|0}function Qh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+48|0;if((i|0)>=(j|0))ba();f=g;d=f+0|0;e=d+40|0;do{ea(d|0,0|0,4,0);d=d+4|0}while((d|0)<(e|0));ea(f+32|0,a|0,4,0);Wg(f,b,c,2,0)|0;c=f+8|0;b=da(c|0,4,0,0)|0|0;if(!((b&2|0)==0|(b&16711680|0)==65536))An(f,1)|0;if(!(da(a+65>>0|0,1,0,0)|0))c=da(f+16|0,4,0,0)|0|0;else{if(!(((da(c|0,2,0,0)|0)&9312)==0?(da(f+24|0,4,0,0)|0|0)==0:0))Pg(f);ea(f+16|0,0|0,4,0);c=0}i=g;return c|0}function Rh(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=((da(9328+(da(b>>0|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)+c|0)%23|0;k=a+336|0;h=Qk(k,j,b,c)|0;if(!h){i=0;g=0}else{i=0;g=0;do{m=Rn(h,d,e)|0;l=(m|0)>(i|0);i=l?m:i;g=l?h:g;h=da(h+8|0,4,0,0)|0|0}while((h|0)!=0)}do if(!(f<<24>>24)){if((g|0)!=0?((da(a+24|0,4,0,0)|0)&2097152|0)==0:0){h=0;j=12;break}h=Qk(10840,j,b,c)|0;if(!h){i=0;j=8}else{i=0;do{l=Rn(h,d,e)|0;j=(l|0)>(i|0);i=j?l:i;g=j?h:g;h=da(h+8|0,4,0,0)|0|0}while((h|0)!=0);j=8}}else j=8;while(0);do if((j|0)==8){h=f<<24>>24!=0;if(h&(i|0)<6){h=c+37|0;g=lh(a,h,0)|0;if(!g){j=14;break}ew(g|0,0,h|0)|0;h=g+36|0;ea(g+24|0,h|0,4,0);ea(g|0,d|0,2,0);ea(g+2|0,e&255|0,2,0);jw(h|0,b|0,c|0)|0;ea(g+(c+36)>>0|0,0|0,1,0);mg(k,g);h=1}if(!g)j=14;else j=12}while(0);if((j|0)==12)if((da(g+16|0,4,0,0)|0|0)==0?!((da(g+12|0,4,0,0)|0|0)!=0|h):0)j=14;if((j|0)==14)g=0;return g|0}function Sh(a,b,c){a=a|0;b=b|0;c=c|0;b=i;i=i+16|0;if((i|0)>=(j|0))ba();c=b;ea(c|0,da((da(a+4|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,4,0);c=Zc(15304,c)|0;ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,c,-1,1,-1)|0;Vc(c);i=b;return}function Th(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((a|0)<=(d|0)){d=da(3164*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]();Jf(b,c,0,0,0)|0;d=da(3166*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]()}return 0}function Uh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:do if(b){c=b;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;e=c-b&1073741823;d=da(a+20|0,4,0,0)|0|0;c=d+-1|0;if((d|0)>0){f=c;d=(da(a+16|0,4,0,0)|0|0)+(c<<4)|0;while(1){a=da(d|0,4,0,0)|0|0;if(!a)c=0;else{c=a;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;c=c-a&1073741823}if((e|0)==(c|0)?(cd(a,b)|0)==0:0){c=f;break a}c=f+-1|0;if((f|0)>0){f=c;d=d+-16|0}else break}}}else c=-1;while(0);return c|0}function Vh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=a+20|0;f=da(n|0,4,0,0)|0|0;if((f|0)>0){o=(b|0)==10;l=a+16|0;m=(c|0)==0;j=d;a=f;d=0;k=0;while(1){if((k|0)==(b|0)|o){g=da((da(l|0,4,0,0)|0|0)+(k<<4)+4|0,4,0,0)|0|0;if(g){f=da(g+4|0,4,0,0)|0|0;ea(f+4|0,da(g|0,4,0,0)|0|0,4,0);if(!(da(f+20>>0|0,1,0,0)|0)){g=da(f|0,4,0,0)|0|0;h=da(g+208|0,4,0,0)|0|0;if(!h)h=0;else{if(m)f=0;else f=da(g+176|0,4,0,0)|0|0;h=Sn(h,c,f,da(g+180|0,4,0,0)|0|0,da(g+9>>0|0,1,0,1)|0|0,da(g+152|0,4,0,0)|0|0,da(g+200|0,4,0,0)|0|0,j,e)|0;a=da(n|0,4,0,0)|0|0}}else h=6}else h=0;e=(h|0)==5;i=0;g=0;f=a;d=e?1:d;e=e?0:h}else{i=e;g=j;f=a;e=0}k=k+1|0;a=(e|0)==0;if(!((k|0)<(f|0)&a))break;else{j=g;e=i;a=f}}}else{a=1;d=0;e=0}return (a&(d|0)!=0?5:e)|0}function Wh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+32|0;if((i|0)>=(j|0))ba();p=t;q=t+20|0;l=t+16|0;k=t+12|0;h=t+8|0;ea(l|0,c|0,4,0);ea(k|0,0|0,4,0);ea(h|0,0|0,4,0);ea(b|0,0|0,4,0);e=Kc()|0;do if(!e){if(!(1<<(c&7)&70)){ea(p|0,130207|0,4,0);ea(p+4|0,10788|0,4,0);ad(21,13648,p);e=21;break}if((da(2187*4|0,4,0,0)|0|0)!=0&(c&32768|0)==0)g=(c&65536|0)==0?da(2188*4|0,4,0,0)|0|0:1;else g=0;if(!(c&262144)){if(da(2241*4|0,4,0,0)|0){c=c|131072;ea(l|0,c|0,4,0)}}else{c=c&-131073;ea(l|0,c|0,4,0)}c=c&-655129;ea(l|0,c|0,4,0);s=pg(528,0)|0;a:do if(s){ew(s|0,0,528)|0;if(g)ea(s+12|0,8|0,4,0);ea(s+56|0,255|0,4,0);ea(s+20|0,2|0,4,0);m=s+76|0;ea(m|0,-264537850|0,4,0);n=s+16|0;ea(n|0,s+456|0,4,0);f=s+88|0;g=11088;e=f+44|0;do{ea(f|0,da(g|0,4,0,0)|0|0,4,0);f=f+4|0;g=g+4|0}while((f|0)<(e|0));ea(s+132|0,0|0,4,0);ea(s+63>>0|0,1|0,1,0);ea(s+67>>0|0,-1|0,1,0);f=8920;g=da(f+4|0,4,0,0)|0|0;o=s+40|0;ea(o|0,da(f|0,4,0,0)|0|0,4,0);ea(o+4|0,g|0,4,0);ea(s+72|0,0|0,4,0);ea(s+136|0,2147483647|0,4,0);ea(s+24|0,9437264|0,4,0);g=s+428|0;ea(g+0|0,0|0,4,0);ea(g+4|0,0|0,4,0);ea(g+8|0,0|0,4,0);ea(g+12|0,0|0,4,0);o=s+308|0;ea(o+0|0,0|0,4,0);ea(o+4|0,0|0,4,0);ea(o+8|0,0|0,4,0);ea(o+12|0,0|0,4,0);Xh(s,11152,1,0,21,0)|0;Xh(s,11152,3,0,21,0)|0;Xh(s,11152,2,0,21,0)|0;Xh(s,13752,1,0,22,0)|0;Xh(s,13760,1,1,21,0)|0;o=s+65|0;if(!(da(o>>0|0,1,0,0)|0)){g=an(g,11152,p)|0;if(!g)g=0;else g=da(g+8|0,4,0,0)|0|0;ea(s+8|0,g|0,4,0);ea(s+48|0,c|0,4,0);g=Vn(d,a,l,s,k,h)|0;if(!g){a=da(k|0,4,0,0)|0|0;e=ym(da(s|0,4,0,0)|0|0,a,s,(da(n|0,4,0,0)|0|0)+4|0,0,da(l|0,4,0,0)|0|256)|0;if((e|0)==3082)e=7;else if(!e){c=da((da(n|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;ea((da(c+4|0,4,0,0)|0|0)+4|0,da(c|0,4,0,0)|0|0,4,0);c=Wn(s,c)|0;ea((da(n|0,4,0,0)|0|0)+12|0,c|0,4,0);if(!(da(o>>0|0,1,0,0)|0))ea(s+62>>0|0,da(c+77>>0|0,1,0,0)|0|0|0,1,0);c=pg(84,0)|0;if(!c){ea(o>>0|0,1|0,1,0);c=0}else{f=c+0|0;e=f+84|0;do{ea(f>>0|0,0|0,1,0);f=f+1|0}while((f|0)<(e|0));g=c+77|0;f=c+8|0;e=f+64|0;do{ea(f|0,0|0,4,0);f=f+4|0}while((f|0)<(e|0));ea(g>>0|0,1|0,1,0)}l=da(n|0,4,0,0)|0|0;ea(l+28|0,c|0,4,0);ea(l|0,13768|0,4,0);ea(l+8>>0|0,3|0,1,0);ea(l+16|0,10728|0,4,0);ea(l+24>>0|0,1|0,1,0);ea(m|0,-1607883113|0,4,0);if(da(o>>0|0,1,0,0)|0){e=s;break}f=s+52|0;ea(f|0,0|0,4,0);g=s+236|0;c=da(g|0,4,0,0)|0|0;do if(c){e=c+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);break}else{ug(c);break}}while(0);if((Bf(s,14632,2)|0)==7)ea(o>>0|0,1|0,1,0);c=Mf(s)|0;do if(!c){c=da(2656*4|0,4,0,0)|0|0;if(c){b:do if((c|0)>0){f=0;while(1){c=da((da(2658*4|0,4,0,0)|0|0)+(f<<2)|0,4,0,0)|0|0;ea(q|0,0|0,4,0);if(c){e=$b[(fa(c|0,63|0)|0)&63](s,q,13776)|0;c=da(q|0,4,0,0)|0|0;if(e)break}else c=0;Vc(c);f=f+1|0;if((f|0)>=(da(2656*4|0,4,0,0)|0|0)){r=40;break b}}ea(p|0,c|0,4,0);tg(s,e,14592,p);e=da(q|0,4,0,0)|0|0}else r=40;while(0);if((r|0)==40){ea(q|0,0|0,4,0);e=0}Vc(e)}if(Mf(s)|0){e=s;break a}}else{ea(f|0,c|0,4,0);e=da(g|0,4,0,0)|0|0;if(e){c=e+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);break}else{ug(e);break}}}while(0);Mh(s,0,da(2193*4|0,4,0,0)|0|0,da(2194*4|0,4,0,0)|0|0)|0;ea(s+216|0,21|0,4,0);ea(s+220|0,1e3|0,4,0);e=s;break}ea(s+52|0,e|0,4,0);c=da(s+236|0,4,0,0)|0|0;if(!c){e=s;break}e=c+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);e=s;break}else{ug(c);e=s;break}}else if((g|0)==7)ea(o>>0|0,1|0,1,0);a=da(h|0,4,0,0)|0|0;ea(p|0,a|0,4,0);tg(s,g,(a|0)!=0?10344:0,p);Vc(a);a=da(k|0,4,0,0)|0|0;e=s}else{a=0;e=s}}else{a=0;e=0}while(0);Vc(a);c=Mf(e)|0;if((c|0)==7){Nh(e,0)|0;e=0}else if(c)ea(s+76|0,1266094736|0,4,0);ea(b|0,e|0,4,0);e=c&255}while(0);i=t;return e|0}function Xh(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();g=o;n=c&255;if(!(c<<24>>24==4|c<<24>>24==8))if((n+-1|0)>>>0>2){ea(g|0,129758|0,4,0);ea(g+4|0,10788|0,4,0);ad(21,13648,g);g=21}else{m=n;h=4}else{m=2;h=4}do if((h|0)==4){l=m&255;h=Xn(a,l,b,0)|0;if((h|0)!=0?(da(h+12|0,4,0,0)|0|0)!=0:0){if(da(a+148|0,4,0,0)|0){tg(a,5,13680,g);g=5;break}c=da(a+4|0,4,0,0)|0|0;if(c)do{k=c+88|0;ea(k|0,da(k|0,2,0,0)|0|8|0,2,0);c=da(c+52|0,4,0,0)|0|0}while((c|0)!=0);k=h+4|0;if(((da(k>>0|0,1,0,1)|0)&247|0)==(m|0)){c=an(a+428|0,b,g)|0;if(!c)h=0;else h=da(c+8|0,4,0,0)|0|0;g=0;do{if((da(h+(g*20|0)+4>>0|0,1,0,0)|0|0)==(da(k>>0|0,1,0,0)|0|0)){c=da(h+(g*20|0)+16|0,4,0,0)|0|0;if(c)bc[(fa(c|0,31|0)|0)&31](da(h+(g*20|0)+8|0,4,0,0)|0|0);ea(h+(g*20|0)+12|0,0|0,4,0)}g=g+1|0}while((g|0)!=3)}}c=Xn(a,l,b,1)|0;if(c){ea(c+12|0,e|0,4,0);ea(c+8|0,d|0,4,0);ea(c+16|0,f|0,4,0);ea(c+4>>0|0,m|n&8|0,1,0);ea(a+52|0,0|0,4,0);g=da(a+236|0,4,0,0)|0|0;if(g){c=g+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);g=0;break}else{ug(g);g=0;break}}else g=0}else g=7}while(0);i=o;return g|0}function Yh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=a+24|0;j=(da(i|0,4,0,0)|0)&2;k=a+145|0;ea(k>>0|0,1|0,1,0);h=a+16|0;f=da(h|0,4,0,0)|0|0;ea(a+62>>0|0,da((da(f+12|0,4,0,0)|0|0)+77>>0|0,1,0,0)|0|0|0,1,0);e=a+20|0;d=0;while(1){if((d|0)>=(da(e|0,4,0,0)|0|0)){d=f;f=6;break}if(!((d|0)==1?1:((da((da(f+(d<<4)+12|0,4,0,0)|0|0)+78|0,2,0,0)|0)&1)!=0)?(c=Yn(a,d,b)|0,(c|0)!=0):0){f=9;break}f=da(h|0,4,0,0)|0|0;d=d+1|0}if((f|0)==6)if(((da((da(d+28|0,4,0,0)|0|0)+78|0,2,0,0)|0)&1)==0?(g=Yn(a,1,b)|0,(g|0)!=0):0){pl(da((da(h|0,4,0,0)|0|0)+28|0,4,0,0)|0|0);c=g}else c=0;else if((f|0)==9)um(a,d);ea(k>>0|0,0|0,1,0);if(!(c|j))ea(i|0,(da(i|0,4,0,0)|0)&-3|0,4,0);return c|0}function Zh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();l=m;h=a+20|0;a:do if((da(h|0,4,0,0)|0|0)>0){k=(c|0)==0;f=a+16|0;g=0;a=0;do{e=(g|0)<2^g;d=da(f|0,4,0,0)|0|0;if(!(!k?(cd(c,da(d+(e<<4)|0,4,0,0)|0|0)|0)!=0:0)){a=an((da(d+(e<<4)+12|0,4,0,0)|0|0)+8|0,b,l)|0;if(a){a=da(a+8|0,4,0,0)|0|0;if(a)break a}else a=0}g=g+1|0}while((g|0)<(da(h|0,4,0,0)|0|0))}else a=0;while(0);i=m;return a|0}function _h(a){a=a|0;if((cd(a,12936)|0)!=0?(cd(a,12944)|0)!=0:0)a=(cd(a,12952)|0)==0&1;else a=1;return a|0}function $h(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=da(a+20|0,4,0,0)|0|0;a:do if((f|0)>0){c=da(a+16|0,4,0,0)|0|0;d=(b|0)==0;e=0;while(1){a=da(c+(e<<4)+4|0,4,0,0)|0|0;if(a){if(d)break a;if(!(cd(b,da(c+(e<<4)|0,4,0,0)|0|0)|0))break a}e=e+1|0;if((e|0)>=(f|0)){a=0;break}}}else a=0;while(0);return a|0}function ai(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:do if(!a)b=0;else{b=b+-1|0;b:do if((da(a|0,4,0,0)|0|0)>>>0>4e3){d=a;c=b;while(1){b=d+8|0;e=da(b|0,4,0,0)|0|0;if(!e){g=a;break}b=(c>>>0)%(e>>>0)|0;c=d+12+(((c>>>0)/(e>>>0)|0)<<2)|0;a=da(c|0,4,0,0)|0|0;if(!a){a=pg(512,0)|0;if(!a){b=a;i=21;break}ew(a|0,0,512)|0;ea(a|0,e|0,4,0);ea(c|0,a|0,4,0)}if((da(a|0,4,0,0)|0|0)>>>0>4e3){d=a;c=b}else break b}if((i|0)==21){ea(c|0,b|0,4,0);b=7;break a}h=c+1|0;c=(c>>>0)%125|0;f=d+12|0;a=da(d+(c<<2)+12|0,4,0,0)|0|0;if(!a){a=da(d+4|0,4,0,0)|0|0;if(a>>>0<124){b=d;i=20}}else{do{if((a|0)==(h|0)){b=0;break a}c=c+1|0;c=c>>>0>124?0:c;a=da(d+(c<<2)+12|0,4,0,0)|0|0}while((a|0)!=0);a=da(d+4|0,4,0,0)|0|0;if(a>>>0<=61){b=d;i=20}}if((i|0)==20){ea(d+4|0,a+1|0,4,0);ea(b+(c<<2)+12|0,h|0,4,0);b=0;break a}e=pg(500,0)|0;if(!e){b=7;break a}jw(e|0,f|0,500)|0;ew(f|0,0,500)|0;ea(b|0,(((da(g|0,4,0,0)|0|0)+124|0)>>>0)/125|0|0,4,0);a=0;b=ai(d,h)|0;do{c=da(e+(a<<2)|0,4,0,0)|0|0;if(c)b=ai(d,c)|0|b;a=a+1|0}while((a|0)!=125);Vc(e);break a}while(0);a=a+12+(b>>>3)|0;ea(a>>0|0,da(a>>0|0,1,0,1)|0|0|1<<(b&7)|0,1,0);b=0}while(0);return b|0}function bi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:do if(a){d=b+-1|0;while(1){b=da(a+8|0,4,0,0)|0|0;if(!b)break;a=da(a+12+(((d>>>0)/(b>>>0)|0)<<2)|0,4,0,0)|0|0;if(!a)break a;else d=(d>>>0)%(b>>>0)|0}if((da(a|0,4,0,0)|0|0)>>>0<4001){a=a+12+(d>>>3)|0;ea(a>>0|0,(da(a>>0|0,1,0,1)|0|0)&(1<<(d&7)^255)|0,1,0);break}h=a+12|0;jw(c|0,h|0,500)|0;ew(h|0,0,500)|0;h=a+4|0;ea(h|0,0|0,4,0);e=d+1|0;g=0;do{f=c+(g<<2)|0;b=da(f|0,4,0,0)|0|0;if(!((b|0)==0|(b|0)==(e|0))){d=((b+-1|0)>>>0)%125|0;ea(h|0,(da(h|0,4,0,0)|0|0)+1|0,4,0);b=a+(d<<2)+12|0;if(da(b|0,4,0,0)|0)do{b=d+1|0;d=b>>>0>124?0:b;b=a+(d<<2)+12|0}while((da(b|0,4,0,0)|0|0)!=0);ea(b|0,da(f|0,4,0,0)|0|0,4,0)}g=g+1|0}while((g|0)!=125)}while(0);return}function ci(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if((a|0)!=0?(c=b+-1|0,c>>>0<(da(a|0,4,0,0)|0|0)>>>0):0){while(1){b=da(a+8|0,4,0,0)|0|0;if(!b)break;a=da(a+12+(((c>>>0)/(b>>>0)|0)<<2)|0,4,0,0)|0|0;if(!a){c=0;break a}else c=(c>>>0)%(b>>>0)|0}if((da(a|0,4,0,0)|0|0)>>>0<4001){c=((da(a+12+(c>>>3)>>0|0,1,0,1)|0|0)&1<<(c&7)|0)!=0&1;break}d=c+1|0;c=(c>>>0)%125|0;b=da(a+(c<<2)+12|0,4,0,0)|0|0;if(b)while(1){if((b|0)==(d|0)){c=1;break a}c=((c+1|0)>>>0)%125|0;b=da(a+(c<<2)+12|0,4,0,0)|0|0;if(!b){c=0;break}}else c=0}else c=0;while(0);return c|0}function di(a){a=a|0;var b=0,c=0;if(a){if(da(a+8|0,4,0,0)|0){b=a+12|0;c=0;do{di(da(b+(c<<2)|0,4,0,0)|0|0);c=c+1|0}while((c|0)!=125)}Vc(a)}return}function ei(a,b){a=a|0;b=b|0;var c=0;a:do if((b|0)>=2?(c=da(11824+(((da(9328+(da(a>>0|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)<<2^b^(da(9328+(da(a+(b+-1)>>0|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)*3|0)%127|0)>>0|0,1,0,0)|0|0,c<<24>>24!=0):0){c=c&255;while(1){c=c+-1|0;if((da(12080+c>>0|0,1,0,1)|0|0|0)==(b|0)?(Ec(11264+(da(12208+(c<<1)|0,2,0,1)|0|0)|0,a,b)|0)==0:0)break;c=da(11952+c>>0|0,1,0,0)|0|0;if(!(c<<24>>24)){c=27;break a}else c=c&255}c=da(12456+c>>0|0,1,0,1)|0|0}else c=27;while(0);return c|0}function fi(a){a=a|0;var b=0,c=0,d=0;ea(2174*4|0,a|0,4,0);if((da(2184*4|0,4,0,0)|0|0)>>>0<a>>>0)ea(2184*4|0,a|0,4,0);c=da(2264*4|0,4,0,0)|0|0;if((c|0)==0|(da(2235*4|0,4,0,0)|0|0)<(a|0)){b=pg(a,((a|0)<0)<<31>>31)|0;if((da(2186*4|0,4,0,0)|0|0)!=0&(b|0)!=0?(d=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0,d=(da(2170*4|0,4,0,0)|0|0)+d|0,ea(2170*4|0,d|0,4,0),d>>>0>(da(2180*4|0,4,0,0)|0|0)>>>0):0)ea(2180*4|0,d|0,4,0)}else{b=da(2263*4|0,4,0,0)|0|0;ea(2263*4|0,da(b|0,4,0,0)|0|0,4,0);ea(2264*4|0,c+-1|0,4,0);a=(da(2169*4|0,4,0,0)|0|0)+1|0;ea(2169*4|0,a|0,4,0);if(a>>>0>(da(2179*4|0,4,0,0)|0|0)>>>0)ea(2179*4|0,a|0,4,0)}return b|0}function gi(a){a=a|0;var b=0;do if(a){if((da(2234*4|0,4,0,0)|0|0)>>>0<=a>>>0&(da(2262*4|0,4,0,0)|0|0)>>>0>a>>>0){ea(a|0,da(2263*4|0,4,0,0)|0|0,4,0);ea(2263*4|0,a|0,4,0);ea(2264*4|0,(da(2264*4|0,4,0,0)|0|0)+1|0,4,0);ea(2169*4|0,(da(2169*4|0,4,0,0)|0|0)+-1|0,4,0);break}if(!(da(2186*4|0,4,0,0)|0)){bc[(fa(da(8744+40|0,4,0,0)|0|0,31|0)|0)&31](a);break}else{b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0;ea(2170*4|0,(da(2170*4|0,4,0,0)|0|0)-b|0,4,0);ea(2166*4|0,(da(2166*4|0,4,0,0)|0|0)-b|0,4,0);ea(2175*4|0,(da(2175*4|0,4,0,0)|0|0)+-1|0,4,0);bc[(fa(da(8744+40|0,4,0,0)|0|0,31|0)|0)&31](a);break}}while(0);return}function hi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;d=da(a>>0|0,1,0,0)|0|0;a:do if(((d&255)+-48|0)>>>0>=10){f=d;d=a;while(1){e=d+1|0;if(!(f<<24>>24))break;f=da(e>>0|0,1,0,0)|0|0;d=e}f=d-a&1073741823;d=7-b|0;if((d|0)>0){e=0;while(1){if((da(11248+e>>0|0,1,0,1)|0|0|0)==(f|0)?(Ec(11216+(da(11240+e>>0|0,1,0,1)|0|0)|0,a,f)|0)==0:0){c=e;break}e=e+1|0;if((e|0)>=(d|0))break a}c=da(11256+c>>0|0,1,0,0)|0|0}}else{ea(e|0,0|0,4,0);Cn(a,e)|0;c=(da(e|0,4,0,0)|0)&255}while(0);i=g;return c|0}function ii(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=da(a>>0|0,1,0,0)|0|0;do if(c<<24>>24==48){d=da(a+1>>0|0,1,0,0)|0|0;if(!(d<<24>>24==88|d<<24>>24==120))if(!a){c=0;i=15;break}else{e=c;c=a;i=12;break}c=da(a+2>>0|0,1,0,0)|0|0;if(!((da(10368+(c&255)>>0|0,1,0,0)|0)&8)){e=48;c=a;i=12}else{e=2;while(1){d=e+1|0;if(c<<24>>24!=48)break;c=da(a+d>>0|0,1,0,0)|0|0;e=d}if(!((da(10368+(c&255)>>0|0,1,0,0)|0)&8)){f=a+e|0;g=0;c=0;d=e}else{g=0;f=0;d=e;while(1){g=hw(g|0,f|0,4)|0;h=C;f=c<<24>>24;g=(0-(f>>>6&1)&9)+f&15|g;d=d+1|0;f=a+d|0;c=da(f>>0|0,1,0,0)|0|0;if(!((da(10368+(c&255)>>0|0,1,0,0)|0)&8)){c=h;break}else f=h}}h=b;ea(h|0,g|0,4,0);ea(h+4|0,c|0,4,0);if(!(da(f>>0|0,1,0,0)|0))c=(d-e|0)<17;else c=0;c=c&1^1}}else{e=c;c=a;i=12}while(0);if((i|0)==12){while(1){d=c+1|0;if(!(e<<24>>24))break;e=da(d>>0|0,1,0,0)|0|0;c=d;i=12}c=c-a&1073741823;i=15}if((i|0)==15)c=Tl(a,b,c,1)|0;return c|0}function ji(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+1264|0;if((i|0)>=(j|0))ba();x=z;w=z+152|0;q=z+742|0;r=z+76|0;n=z+228|0;k=d&-256;o=d&16;v=d&8;p=d&4;h=d&1;s=d&2;if((p|0)!=0?(k|0)==524288|(k|0)==2048|(k|0)==16384:0)u=1;else u=0;t=da(12114*4|0,4,0,0)|0|0;if((t|0)!=(qb()|0)?(ea(12114*4|0,qb()|0|0,4,0),(Kc()|0)==0):0)ea(9064|0,0|0,1,0);l=c+0|0;m=l+44|0;do{ea(l|0,0|0,4,0);l=l+4|0}while((l|0)<(m|0));t=(k|0)==256;do if(t){a:do if((qc[(fa(da(47552+52|0,4,0,0)|0|0,127|0)|0)&127](b,x)|0)==0?(f=da(12178*4|0,4,0,0)|0|0,(f|0)!=0):0){k=da(x|0,4,0,0)|0|0;l=da(x+72|0,4,0,0)|0|0;while(1){if((da(f|0,4,0,0)|0|0)==(k|0)?(da(f+4|0,4,0,0)|0|0)==(l|0):0)break;f=da(f+32|0,4,0,0)|0|0;if(!f){y=18;break a}}k=f+28|0;f=da(k|0,4,0,0)|0|0;if(f){while(1){m=k;k=f+8|0;l=f;f=da(k|0,4,0,0)|0|0;if((da(l+4|0,4,0,0)|0|0)==(d|0)){k=m;break}if(!f){y=18;break a}}ea(k|0,f|0,4,0);n=da(l|0,4,0,0)|0|0;f=l}else y=18}else y=18;while(0);if((y|0)==18){f=Sc(12)|0;if(!f){f=7;break}else n=-1}ea(c+28|0,f|0,4,0);k=p<<4|s;f=(o|0)!=0;if((n|0)<0){p=f;o=f?k|131200:k;f=b;y=23}else{m=n;f=b;y=36}}else{if(!b){f=Zn(514,n)|0;if(!f)f=n;else break}else f=b;y=p<<4|s;o=(o|0)!=0;p=o;o=o?y|131200:y;y=23}while(0);b:do if((y|0)==23){if(!(d&526336)){k=(v|0)==0?0:384;n=0;m=0}else{if(!f)k=0;else{k=f;while(1)if(!(da(k>>0|0,1,0,0)|0))break;else k=k+1|0;k=k-f&1073741823}do k=k+-1|0;while((da(f+k>>0|0,1,0,0)|0|0)!=45);jw(q|0,f|0,k|0)|0;ea(q+k>>0|0,0|0,1,0);if(qc[(fa(da(47552+52|0,4,0,0)|0|0,127|0)|0)&127](q,r)|0){f=1802;break}k=(da(r+12|0,4,0,0)|0)&511;n=da(r+20|0,4,0,0)|0|0;m=da(r+24|0,4,0,0)|0|0}l=_n(f,o,k)|0;do if((l|0)<0){if(!(p|((s|0)==0|(da(Gb()|0|0,4,0,0)|0|0)==21))?(g=_n(f,o&131200,k)|0,(g|0)>=0):0){d=d&-8|1;h=1;break}ea(x|0,31186|0,4,0);ea(x+4|0,10788|0,4,0);ad(14,14848,x);f=bo(14,47896,f,31186)|0;if(!f){f=0;break b}g=c+28|0;y=70;break b}else g=l;while(0);if(!(d&526336)){m=g;y=36}else{$b[(fa(da(47552+244|0,4,0,0)|0|0,63|0)|0)&63](g,n,m)|0;m=g;y=36}}while(0);c:do if((y|0)==36){if(e)ea(e|0,d|0,4,0);n=c+28|0;g=da(n|0,4,0,0)|0|0;if(g){ea(g|0,m|0,4,0);ea(g+4|0,d|0,4,0)}if(v)kc[(fa(da(47552+196|0,4,0,0)|0|0,127|0)|0)&127](f)|0;f=v<<2;f=(h|0)==0?f:f|2;f=t?f:f|128;f=u?f|8:f;v=f|d&64;ea(c+12|0,m|0,4,0);ea(c+4|0,a|0,4,0);ea(c+32|0,b|0,4,0);g=c+18|0;ea(g|0,v&255|0,2,0);if(eg((v&64|0)!=0?b:0,48496,1)|0)ea(g|0,da(g|0,2,0,1)|0|16|0,2,0);if(!(Zv(da(a+16|0,4,0,0)|0|0,1e4)|0))ea(g|0,da(g|0,2,0,1)|0|1|0,2,0);d:do if(!(f&128)){f=qc[(fa(da(da(a+20|0,4,0,0)|0|0,4,0,0)|0|0,127|0)|0)&127](b,c)|0;if((f|0)!=48504){if((f|0)!=47472){y=64;break}g=(fw(b|0)|0)+6|0;f=Sc(g)|0;if(f){ea(x|0,b|0,4,0);$c(g,f,48584,x)|0;ea(c+24|0,f|0,4,0);ea(c+20|0,0|0,4,0);f=47472;break}ea(c+24|0,0|0,4,0);ea(c+20|0,0|0,4,0);if((m|0)<=-1){g=n;f=7;y=70;break c}$n(c,m,30794);g=n;f=7;y=70;break c}do if(!(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](da(c+12|0,4,0,0)|0|0,w)|0)){f=x;ea(f|0,0|0,4,0);ea(f+4|0,0|0,4,0);ea(x|0,da(w|0,4,0,0)|0|0,4,0);ea(x+4|0,da(w+72|0,4,0,0)|0|0,4,0);f=da(12178*4|0,4,0,0)|0|0;e:do if(!f)y=53;else{while(1){if(!(Yv(x,f,8)|0))break;f=da(f+32|0,4,0,0)|0|0;if(!f){y=53;break e}}x=f+16|0;ea(x|0,(da(x|0,4,0,0)|0|0)+1|0,4,0)}while(0);if((y|0)==53){g=Sc(40)|0;if(!g){f=7;g=c+20|0;break}l=g+0|0;m=l+40|0;do{ea(l|0,0|0,4,0);l=l+4|0}while((l|0)<(m|0));f=da(x+4|0,4,0,0)|0|0;y=g;ea(y|0,da(x|0,4,0,0)|0|0,4,0);ea(y+4|0,f|0,4,0);ea(g+16|0,1|0,4,0);ea(g+32|0,da(12178*4|0,4,0,0)|0|0,4,0);ea(g+36|0,0|0,4,0);f=da(12178*4|0,4,0,0)|0|0;if(f)ea(f+36|0,g|0,4,0);ea(12178*4|0,g|0,4,0);f=g}ea(c+8|0,f|0,4,0);f=48504;y=64;break d}else{f=da(Gb()|0|0,4,0,0)|0|0;g=c+20|0;ea(g|0,f|0,4,0);f=(f|0)==75?22:10}while(0);$n(c,m,30709);ea(g|0,0|0,4,0);g=n;y=70;break c}else{f=48376;y=64}while(0);if((y|0)==64)ea(c+20|0,0|0,4,0);ea(c|0,f|0,4,0);ao(c);f=0}while(0);if((y|0)==70)Vc(da(g|0,4,0,0)|0|0);i=z;return f|0}function ki(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;do if((kc[(fa(da(47552+196|0,4,0,0)|0|0,127|0)|0)&127](b)|0)==-1)if((da(Gb()|0|0,4,0,0)|0|0)==2)a=5898;else a=bo(2570,48032,b,31314)|0;else if(c&1){a=qc[(fa(da(47552+208|0,4,0,0)|0|0,127|0)|0)&127](b,d)|0;if((a|0)==14){a=0;break}else if(a)break;if(!(Fb(da(d|0,4,0,0)|0|0)|0))a=0;else a=bo(1290,48488,b,31329)|0;if(kc[(fa(da(47552+16|0,4,0,0)|0|0,127|0)|0)&127](da(d|0,4,0,0)|0|0)|0)bo(4106,47856,0,31331)|0}else a=0;while(0);i=e;return a|0}function li(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=i;i=i+80|0;if((i|0)>=(j|0))ba();e=f;if((c|0)==2)a=4;else if((c|0)==1)a=6;else a=0;a=(qc[(fa(da(47552+28|0,4,0,0)|0|0,127|0)|0)&127](b,a)|0)==0;ea(d|0,a&1|0,4,0);if((!((c|0)!=0|a^1)?(qc[(fa(da(47552+52|0,4,0,0)|0|0,127|0)|0)&127](b,e)|0)==0:0)?(da(e+36|0,4,0,0)|0|0)==0:0)ea(d|0,0|0,4,0);i=f;return 0}function mi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;a=c+-1|0;ea(d+a>>0|0,0|0,1,0);do if((da(b>>0|0,1,0,0)|0|0)!=47)if(!(qc[(fa(da(47552+40|0,4,0,0)|0|0,127|0)|0)&127](d,a)|0)){ea(e|0,31416|0,4,0);ea(e+4|0,10788|0,4,0);ad(14,14848,e);a=bo(14,47904,b,31416)|0;break}else{a=fw(d|0)|0;ea(e|0,b|0,4,0);$c(c-a|0,d+a|0,48480,e)|0;a=0;break}else{ea(e|0,b|0,4,0);$c(c,d,10344,e)|0;a=0}while(0);i=f;return a|0}function ni(a,b){a=a|0;b=b|0;return Cb(b|0,258)|0}function oi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;a=Wa()|0;if(a){ea(d|0,a|0,4,0);$c(b,c,10344,d)|0}i=e;return}function pi(a,b,c){a=a|0;b=b|0;c=c|0;return _a(b|0,c|0)|0}function qi(a,b){a=a|0;b=b|0;Db(b|0)|0;return}function ri(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;ew(c|0,0,b|0)|0;ea(12114*4|0,qb()|0|0,4,0);a=_n(48464,0,0)|0;if((a|0)>=0){do if(($b[(fa(da(47552+100|0,4,0,0)|0|0,63|0)|0)&63](a,c,b)|0)>=0)break;while((da(Gb()|0|0,4,0,0)|0|0)==4);if(kc[(fa(da(47552+16|0,4,0,0)|0|0,127|0)|0)&127](a)|0)bo(4106,47856,0,31521)|0}else{Ob(d|0)|0;a=da(d|0,4,0,0)|0|0;ea(c>>0|0,a|0,1,0);ea(c+1>>0|0,a>>8|0,1,0);ea(c+2>>0|0,a>>16|0,1,0);ea(c+3>>0|0,a>>24|0,1,0);a=c+4|0;b=da(12114*4|0,4,0,0)|0|0;ea(a>>0|0,b|0,1,0);ea(a+1>>0|0,b>>8|0,1,0);ea(a+2>>0|0,b>>16|0,1,0);ea(a+3>>0|0,b>>24|0,1,0);b=8}i=e;return b|0}function si(a,b){a=a|0;b=b|0;a=(b+999999|0)/1e6|0;Lb(a|0)|0;return a*1e6|0}function ti(a,b){a=a|0;b=b|0;var c=0,d=0;a=i;i=i+16|0;if((i|0)>=(j|0))ba();d=a;c=d;ea(c|0,0|0,4,0);ea(c+4|0,0|0,4,0);c=vi(0,d)|0;ea(b|0,+((+((da(d|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(d+4|0,4,0,0)|0|0))/864.0e5),8,1);i=a;return c|0}function ui(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function vi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();a=c;if(!(Rb(a|0,0)|0)){e=da(a|0,4,0,0)|0|0;e=rw(e|0,((e|0)<0)<<31>>31|0,1e3,0)|0;e=iw(e|0,C|0,1045635584,49096)|0;d=(da(a+4|0,4,0,0)|0|0)/1e3|0;d=iw(e|0,C|0,d|0,((d|0)<0)<<31>>31|0)|0;a=b;ea(a|0,d|0,4,0);ea(a+4|0,C|0,4,0);a=0}else a=1;i=c;return a|0}function wi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:do if(!b){a=0;do{b=da(47560+(a*12|0)|0,4,0,0)|0|0;if(b)ea(47556+(a*12|0)|0,b|0,4,0);a=a+1|0}while((a|0)!=25);b=0}else{a=0;while(1){if(!(Zv(b,da(47552+(a*12|0)|0,4,0,0)|0|0)|0)){d=a;break}a=a+1|0;if(a>>>0>=25){b=12;break a}}b=47560+(d*12|0)|0;a=da(b|0,4,0,0)|0|0;if(!a){a=da(47556+(d*12|0)|0,4,0,0)|0|0;ea(b|0,a|0,4,0)}ea(47556+(d*12|0)|0,((c|0)==0?a:c)|0,4,0);b=0}while(0);return b|0}function xi(a,b){a=a|0;b=b|0;var c=0;a=0;while(1){if(!(Zv(b,da(47552+(a*12|0)|0,4,0,0)|0|0)|0)){c=4;break}a=a+1|0;if(a>>>0>=25){a=0;break}}if((c|0)==4)a=da(47556+(a*12|0)|0,4,0,0)|0|0;return a|0}function yi(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if(!b)a=-1;else{c=0;while(1){a=c+1|0;if(!(Zv(b,da(47552+(c*12|0)|0,4,0,0)|0|0)|0)){a=c;break a}if((a|0)<24)c=a;else break}}while(0);while(1){a=a+1|0;if((a|0)>=25){a=0;break}if(da(47556+(a*12|0)|0,4,0,0)|0){d=6;break}}if((d|0)==6)a=da(47552+(a*12|0)|0,4,0,0)|0|0;return a|0}function zi(a,b){a=a|0;b=b|0;return 48504}function Ai(a,b){a=a|0;b=b|0;return 48376}function Bi(a,b){a=a|0;b=b|0;return 47472}function Ci(a){a=a|0;var b=0,c=0;b=da(a+4|0,4,0,0)|0|0;if(b)do{c=b;b=da(b|0,4,0,0)|0|0;Vc(c)}while((b|0)!=0);b=a+0|0;c=b+40|0;do{ea(b|0,0|0,4,0);b=b+4|0}while((b|0)<(c|0));ea(a|0,14696|0,4,0);return 0}function Di(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=a+24|0;f=k;if(((da(f|0,4,0,0)|0|0)!=(d|0)?1:(da(f+4|0,4,0,0)|0|0)!=(e|0))|(d|0)==0&(e|0)==0){f=da(a+4|0,4,0,0)|0|0;if(!((f|0)==0|((e|0)<0|(e|0)==0&d>>>0<1020))){g=1020;h=0;do{g=iw(g|0,h|0,1020,0)|0;h=C;f=da(f|0,4,0,0)|0|0}while(!((f|0)==0|((h|0)>(e|0)|(h|0)==(e|0)&g>>>0>d>>>0)))}}else f=da(a+32|0,4,0,0)|0|0;i=qw(d|0,e|0,1020,0)|0;j=c;g=b;while(1){b=1020-i|0;h=(j|0)<(b|0)?j:b;jw(g|0,f+i+4|0,h|0)|0;j=j-b|0;if((j|0)<=-1)break;f=da(f|0,4,0,0)|0|0;if(!((f|0)!=0&(j|0)>0))break;else{i=0;g=g+h|0}}e=iw(c|0,((c|0)<0)<<31>>31|0,d|0,e|0)|0;c=k;ea(c|0,e|0,4,0);ea(c+4|0,C|0,4,0);ea(a+32|0,f|0,4,0);return 0}function Ei(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:do if((c|0)>0){h=a+8|0;i=a+16|0;g=a+4|0;d=h;e=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;while(1){a=da(i|0,4,0,0)|0|0;d=qw(e|0,d|0,1020,0)|0;f=1020-d|0;f=(c|0)<(f|0)?c:f;if(!d){e=Sc(1024)|0;if(!e){d=3082;break a}ea(e|0,0|0,4,0);if(!a){ea(g|0,e|0,4,0);a=e}else{ea(a|0,e|0,4,0);a=e}ea(i|0,a|0,4,0)}jw(a+d+4|0,b|0,f|0)|0;c=c-f|0;e=h;e=iw(da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0,f|0,((f|0)<0)<<31>>31|0)|0;d=C;a=h;ea(a|0,e|0,4,0);ea(a+4|0,d|0,4,0);if((c|0)<=0){d=0;break}else b=b+f|0}}else d=0;while(0);return d|0}function Fi(a,b,c){a=a|0;b=b|0;c=c|0;b=da(a+4|0,4,0,0)|0|0;if(b)do{c=b;b=da(b|0,4,0,0)|0|0;Vc(c)}while((b|0)!=0);c=a+0|0;b=c+40|0;do{ea(c|0,0|0,4,0);c=c+4|0}while((c|0)<(b|0));ea(a|0,14696|0,4,0);return 0}function Gi(a,b){a=a|0;b=b|0;return 0}function Hi(a,b){a=a|0;b=b|0;var c=0;c=a+8|0;a=da(c+4|0,4,0,0)|0|0;ea(b|0,da(c|0,4,0,0)|0|0,4,0);ea(b+4|0,a|0,4,0);return 0}function Ii(a){a=a|0;var b=0;a=12584|0;b=a+68|0;do{ea(a|0,0|0,4,0);a=a+4|0}while((a|0)<(b|0));if(da(2187*4|0,4,0,0)|0){ea(3146*4|0,8|0,4,0);ea(3159*4|0,8|0,4,0)}ea(3149*4|0,10|0,4,0);ea(3153*4|0,1|0,4,0);return 0}function Ji(a){a=a|0;var b=0;a=12584|0;b=a+68|0;do{ea(a|0,0|0,4,0);a=a+4|0}while((a|0)<(b|0));return}function Ki(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=pg(48,0)|0;if(d){e=d+0|0;f=e+48|0;do{ea(e>>0|0,0|0,1,0);e=e+1|0}while((e|0)<(f|0));ea(d|0,12584|0,4,0);ea(d+4|0,a|0,4,0);ea(d+8|0,b|0,4,0);c=(c|0)!=0;ea(d+12|0,c&1|0,4,0);co(d);if(c){ea(d+16|0,10|0,4,0);c=da(3148*4|0,4,0,0)|0|0;ea(3148*4|0,c+10|0,4,0);ea(3149*4|0,(da(3147*4|0,4,0,0)|0|0)+10+(-10-c)|0,4,0)}if(!(da(d+40|0,4,0,0)|0)){Ri(d);d=0}}else d=0;return d|0}function Li(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(da(a+12|0,4,0,0)|0){c=da(a|0,4,0,0)|0|0;d=a+20|0;f=c+4|0;e=(da(f|0,4,0,0)|0|0)+(b-(da(d|0,4,0,0)|0|0))|0;ea(f|0,e|0,4,0);ea(c+12|0,e+10-(da(c+8|0,4,0,0)|0|0)|0,4,0);ea(d|0,b|0,4,0);ea(a+24|0,((b*9|0)>>>0)/10|0|0,4,0);eo(c)}return}function Mi(a){a=a|0;return da(a+36|0,4,0,0)|0|0}function Ni(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da((da(a+44|0,4,0,0)|0|0)+(((b>>>0)%((da(a+40|0,4,0,0)|0|0)>>>0)|0)<<2)|0,4,0,0)|0|0;a:do if(d){while(1){if((da(d+8|0,4,0,0)|0|0)==(b|0))break;d=da(d+16|0,4,0,0)|0|0;if(!d){e=6;break a}}if(!(da(d+12>>0|0,1,0,0)|0))fo(d)}else e=6;while(0);if((e|0)==6)if(!c)d=0;else d=go(a,b,c)|0;return d|0}function Oi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=da(a|0,4,0,0)|0|0;if((c|0)==0?(da(e+16|0,4,0,0)|0|0)>>>0<=(da(e+4|0,4,0,0)|0|0)>>>0:0){c=e+20|0;d=da(c|0,4,0,0)|0|0;if(!d)ea(e+24|0,b|0,4,0);else{ea(d+28|0,b|0,4,0);ea(b+24|0,d|0,4,0)}ea(c|0,b|0,4,0);d=a+32|0;ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0);ea(b+12>>0|0,0|0,1,0)}else{e=da(b+20|0,4,0,0)|0|0;c=(da(e+44|0,4,0,0)|0|0)+((((da(b+8|0,4,0,0)|0|0)>>>0)%((da(e+40|0,4,0,0)|0|0)>>>0)|0)<<2)|0;while(1){a=da(c|0,4,0,0)|0|0;d=a+16|0;if((a|0)==(b|0))break;else c=d}ea(c|0,da(d|0,4,0,0)|0|0,4,0);d=e+36|0;ea(d|0,(da(d|0,4,0,0)|0|0)+-1|0,4,0);ho(b)}return}function Pi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=da(a+40|0,4,0,0)|0|0;g=a+44|0;c=(da(g|0,4,0,0)|0|0)+(((c>>>0)%(f>>>0)|0)<<2)|0;while(1){e=da(c|0,4,0,0)|0|0;if((e|0)==(b|0))break;else c=e+16|0}e=b+16|0;ea(c|0,da(e|0,4,0,0)|0|0,4,0);ea(b+8|0,d|0,4,0);c=(da(g|0,4,0,0)|0|0)+(((d>>>0)%(f>>>0)|0)<<2)|0;ea(e|0,da(c|0,4,0,0)|0|0,4,0);ea(c|0,b|0,4,0);c=a+28|0;if((da(c|0,4,0,0)|0|0)>>>0<d>>>0)ea(c|0,d|0,4,0);return}function Qi(a,b){a=a|0;b=b|0;var c=0;c=a+28|0;if((da(c|0,4,0,0)|0|0)>>>0>=b>>>0){io(a,b);ea(c|0,b+-1|0,4,0)}return}function Ri(a){a=a|0;var b=0,c=0,d=0,e=0;b=da(a|0,4,0,0)|0|0;io(a,0);e=b+4|0;d=(da(e|0,4,0,0)|0|0)-(da(a+20|0,4,0,0)|0|0)|0;ea(e|0,d|0,4,0);e=b+8|0;c=(da(e|0,4,0,0)|0|0)-(da(a+16|0,4,0,0)|0|0)|0;ea(e|0,c|0,4,0);ea(b+12|0,d+10-c|0,4,0);eo(b);Vc(da(a+44|0,4,0,0)|0|0);Vc(a);return}function Si(a){a=a|0;var b=0,c=0;if(da(a+12|0,4,0,0)|0){c=da(a|0,4,0,0)|0|0;b=c+4|0;a=da(b|0,4,0,0)|0|0;ea(b|0,0|0,4,0);eo(c);ea(b|0,a|0,4,0)}return}function Ti(a){a=a|0;var b=0,c=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();c=d;b=a+7&-8;a=Vv(b+8|0)|0;if(!a){ea(c|0,b|0,4,0);ad(7,16568,c)}else{c=a;ea(c|0,b|0,4,0);ea(c+4|0,((b|0)<0)<<31>>31|0,4,0);a=a+8|0}i=d;return a|0}function Ui(a){a=a|0;Wv(a+-8|0);return}function Vi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;d=a+-8|0;c=Xv(d,b+8|0)|0;if(!c){if(!a)d=0;else d=da(d|0,4,0,0)|0|0;ea(e|0,d|0,4,0);ea(e+4|0,b|0,4,0);ad(7,16528,e)}else{d=c;ea(d|0,b|0,4,0);ea(d+4|0,((b|0)<0)<<31>>31|0,4,0);c=c+8|0}i=f;return c|0}function Wi(a){a=a|0;if(!a)a=0;else a=da(a+-8|0,4,0,0)|0|0;return a|0}function Xi(a){a=a|0;return a+7&-8|0}function Yi(a){a=a|0;return 0}function Zi(a){a=a|0;return}function _i(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=da(c|0,4,0,0)|0|0;do if((-1431655766>>>((da(e+8|0,2,0,1)|0)&31)&1|0)==0?(d=Rg(e,1)|0,(d|0)!=0):0){e=Sg(da(c|0,4,0,0)|0|0,1)|0;if((b|0)!=1){k=Rg(da(c+4|0,4,0,0)|0|0,1)|0;if(!k)break;b=da(k>>0|0,1,0,0)|0|0;if(b<<24>>24){c=0;f=k;while(1){g=f+1|0;if((b&255)>191)while(1){b=da(g>>0|0,1,0,0)|0|0;if((b&-64)<<24>>24==-128){j=g;g=f+2|0;f=j}else{f=g;break}}else{b=da(g>>0|0,1,0,0)|0|0;f=g}g=c+1|0;if(!(b<<24>>24)){b=g;break}else c=g}if((c|0)>-1){i=rw(b|0,((b|0)<0)<<31>>31|0,5,0)|0;i=jo(a,i,C)|0;if(!i)break;h=i+(b<<2)|0;if(da(k>>0|0,1,0,0)|0){b=k;c=0;while(1){ea(i+(c<<2)|0,b|0,4,0);g=b+1|0;if((da(b>>0|0,1,0,1)|0|0)>191){f=b;while(1)if(((da(g>>0|0,1,0,0)|0)&-64)<<24>>24==-128){j=g;g=f+2|0;f=j}else break}ea(h+c>>0|0,g-b|0,1,0);f=c+1|0;if(!(da(g>>0|0,1,0,0)|0))break;else{b=g;c=f}}if((c|0)>-1){j=f;l=17}}}}}else{h=20360;i=20368;j=1;k=0;l=17}if((l|0)==17){b=da((da(a+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;a:do if((b&1|0)!=0&(e|0)>0){c=(j|0)>0;do{if(c)f=0;else{l=24;break a}while(1){g=da(h+f>>0|0,1,0,1)|0|0;if((e|0)>=(g|0)?(Yv(d,da(i+(f<<2)|0,4,0,0)|0|0,g)|0)==0:0)break;f=f+1|0;if((f|0)>=(j|0)){l=24;break a}}d=d+g|0;e=e-g|0}while((e|0)>0)}else l=24;while(0);b:do if((l|0)==24)if((b&2|0)!=0&(e|0)>0){c=(j|0)>0;do{if(c)f=0;else break b;while(1){g=da(h+f>>0|0,1,0,1)|0|0;if((e|0)>=(g|0)?(m=e-g|0,(Yv(d+m|0,da(i+(f<<2)|0,4,0,0)|0|0,g)|0)==0):0){e=m;break}f=f+1|0;if((f|0)>=(j|0))break b}}while((e|0)>0)}while(0);if(k)Vc(i)}Vg(a,d,e,1,-1)}while(0);return}function $i(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=((da((da(a+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)!=0)<<31>>31;g=da((da((da(a+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(((da(a+16|0,4,0,0)|0|0)+-1|0)*20|0)+16|0,4,0,0)|0|0;d=da(c|0,4,0,0)|0|0;a:do if(!(-1431655766>>>((da(d+8|0,2,0,1)|0|0)&31)&1)){if((b|0)>1){f=1;d=0;do{e=da(c+(f<<2)|0,4,0,0)|0|0;if(-1431655766>>>((da(e+8|0,2,0,1)|0|0)&31)&1)break a;e=((gm(da(c+(d<<2)|0,4,0,0)|0|0,e,g)|0)^h|0)>-1;d=e?f:d;f=f+1|0}while((f|0)<(b|0));d=da(c+(d<<2)|0,4,0,0)|0|0}Zg(da(a|0,4,0,0)|0|0,d)|0}while(0);return}function aj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=da(c|0,4,0,0)|0|0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,40)|0;else b=da(b+16|0,4,0,0)|0|0;do if(b){d=(da(b+8|0,2,0,0)|0|0)!=0;if(-1431655766>>>((da((da(c|0,4,0,0)|0|0)+8|0,2,0,1)|0)&31)&1){if(!d)break;ea(a+24>>0|0,1|0,1,0);break}if(!d){ea(b+32|0,da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0,4,0);Zg(b,e)|0;break}d=(da((da(a+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)!=0;c=gm(b,e,da((da((da(a+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(((da(a+16|0,4,0,0)|0|0)+-1|0)*20|0)+16|0,4,0,0)|0|0)|0;if(!(d&(c|0)<0)?!((c|0)>0&(d^1)):0){ea(a+24>>0|0,1|0,1,0);break}Zg(b,e)|0}while(0);return}function bj(a){a=a|0;var b=0,c=0,d=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;do if(b){c=b+8|0;if(!((da(c|0,2,0,0)|0|0)!=0?(Zg(da(a|0,4,0,0)|0|0,b)|0,((da(c|0,2,0,0)|0)&9312)!=0):0))d=7;if((d|0)==7?(da(b+24|0,4,0,0)|0|0)==0:0)break;Pg(b)}while(0);return}function cj(a,b,c){a=a|0;b=b|0;c=c|0;b=da(10064+((da((da(c|0,4,0,0)|0|0)+8|0,2,0,1)|0|0)&31)>>0|0,1,0,1)|0|0;if((b|0)==4)b=20344;else if((b|0)==2)b=20336;else if((b|0)==3)b=20328;else if((b|0)==1)b=20320;else b=20352;Vg(a,b,-1,1,0);return}function dj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;b=da(c|0,4,0,0)|0|0;c=da(10064+((da(b+8|0,2,0,1)|0|0)&31)>>0|0,1,0,1)|0|0;do if((c|0)==3){d=Rg(b,1)|0;if(d){b=da(d>>0|0,1,0,0)|0|0;if(!(b<<24>>24)){e=0;d=0}else{c=b;b=0;do{b=b+1|0;e=d+1|0;if((c&255)>191)while(1){c=da(e>>0|0,1,0,0)|0|0;if((c&-64)<<24>>24==-128){c=e;e=d+2|0;d=c}else{d=e;break}}else{c=da(e>>0|0,1,0,0)|0|0;d=e}}while(c<<24>>24!=0);e=b;d=((b|0)<0)<<31>>31}b=da(a|0,4,0,0)|0|0;c=b+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(b|0,e|0,4,0);ea(b+4|0,d|0,4,0);ea(c|0,4|0,2,0);break}else{Yg(b,e,d);break}}}else if((c|0)==2|(c|0)==1|(c|0)==4){e=Sg(b,1)|0;d=da(a|0,4,0,0)|0|0;b=((e|0)<0)<<31>>31;c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(d|0,e|0,4,0);ea(d+4|0,b|0,4,0);ea(c|0,4|0,2,0);break}else{Yg(d,e,b);break}}else{c=da(a|0,4,0,0)|0|0;b=c+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(b|0,1|0,2,0);break}else{ug(c);break}}while(0);return}function ej(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=da(c|0,4,0,0)|0|0;e=da(d+8|0,2,0,0)|0|0;f=c+4|0;b=da((da(f|0,4,0,0)|0|0)+8|0,2,0,0)|0|0;do if(!((-1431655766>>>(b&31)|-1431655766>>>(e&31))&1)){g=Sg(d,1)|0;i=Sg(da(f|0,4,0,0)|0|0,1)|0;c=da(c|0,4,0,0)|0|0;if(!((b|e)&15)){b=od(c)|0;c=0;h=od(da(f|0,4,0,0)|0|0)|0}else{b=Rg(c,1)|0;c=1;h=Rg(da(f|0,4,0,0)|0|0,1)|0}a:do if((i|0)>(g|0)){b=1;d=1}else{d=1;e=g;while(1){if(!(Yv(b,h,i)|0)){b=0;break a}d=d+1|0;f=(c|0)==0;do{e=e+-1|0;b=b+1|0;if(f){c=0;break}}while(((da(b>>0|0,1,0,0)|0)&-64)<<24>>24==-128);if((i|0)>(e|0)){b=1;break}}}while(0);e=da(a|0,4,0,0)|0|0;c=b?0:d;b=b?0:((d|0)<0)<<31>>31;d=e+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(e|0,c|0,4,0);ea(e+4|0,b|0,4,0);ea(d|0,4|0,2,0);break}else{Yg(e,c,b);break}}while(0);return}function fj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=da(c+4|0,4,0,0)|0|0;do if(!(-1431655766>>>((da(d+8|0,2,0,1)|0|0)&31)&1)){k=(b|0)==3;if(k?(-1431655766>>>((da((da(c+8|0,4,0,0)|0|0)+8|0,2,0,1)|0|0)&31)&1|0)!=0:0)break;m=da((da(c|0,4,0,0)|0|0)+8|0,2,0,0)|0|0;g=Ug(d)|0;h=((g|0)<0)<<31>>31;m=(m&15)==0;e=da(c|0,4,0,0)|0|0;if(m){e=Sg(e,1)|0;f=od(da(c|0,4,0,0)|0|0)|0;if(!f)break;else l=e}else{f=Rg(e,1)|0;if(!f)break;if((g|0)<0?(i=da(f>>0|0,1,0,0)|0|0,i<<24>>24!=0):0){e=0;d=f;do{j=d+1|0;if((i&255)>191){b=d;d=j;while(1){i=da(d>>0|0,1,0,0)|0|0;if((i&-64)<<24>>24==-128){l=d;d=b+2|0;b=l}else break}}else{i=da(j>>0|0,1,0,0)|0|0;d=j}e=e+1|0}while(i<<24>>24!=0);l=e}else l=0}if(k){j=Ug(da(c+8|0,4,0,0)|0|0)|0;b=((j|0)<0)<<31>>31;k=(j|0)<0;d=cw(0,0,j|0,b|0)|0;d=k?d:j;b=k?C:b;j=j>>>31}else{b=da((da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0)+88|0,4,0,0)|0|0;d=b;b=((b|0)<0)<<31>>31;j=0}do if((g|0)<0){g=iw(l|0,((l|0)<0)<<31>>31|0,g|0,h|0)|0;h=C;if((h|0)<0){d=iw(d|0,b|0,g|0,h|0)|0;b=C;k=(b|0)<0;g=0;h=0;d=k?0:d;b=k?0:b}}else if((g|0)>0){g=iw(g|0,h|0,-1,-1)|0;h=C;break}else{k=((b|0)>0|(b|0)==0&d>>>0>0)<<31>>31;d=iw(k|0,((k|0)<0)<<31>>31|0,d|0,b|0)|0;b=C;break}while(0);if(!j){i=g;j=h}else{i=cw(g|0,h|0,d|0,b|0)|0;j=C;k=(j|0)<0;i=k?0:i;j=k?0:j;d=k?g:d;b=k?h:b}if(m){k=iw(d|0,b|0,i|0,j|0)|0;h=C;e=((l|0)<0)<<31>>31;if((h|0)>(e|0)|(h|0)==(e|0)&k>>>0>l>>>0){d=cw(l|0,e|0,i|0,j|0)|0;b=C;l=(b|0)<0;d=l?0:d;b=l?0:b}Ad(a,f+i|0,d,b,-1);break}e=da(f>>0|0,1,0,0)|0|0;if(((i|0)!=0|(j|0)!=0)&e<<24>>24!=0)do{h=f+1|0;if((e&255)>191){g=f;f=h;while(1){e=da(f>>0|0,1,0,0)|0|0;if((e&-64)<<24>>24==-128){l=f;f=g+2|0;g=l}else break}}else{e=da(h>>0|0,1,0,0)|0|0;f=h}i=iw(i|0,j|0,-1,-1)|0;j=C}while(((i|0)!=0|(j|0)!=0)&e<<24>>24!=0);if(e<<24>>24!=0&((d|0)!=0|(b|0)!=0)){i=b;b=f;do{g=b+1|0;if((e&255)>191)while(1){e=da(g>>0|0,1,0,0)|0|0;if((e&-64)<<24>>24==-128){l=g;g=b+2|0;b=l}else{b=g;break}}else{e=da(g>>0|0,1,0,0)|0|0;b=g}d=iw(d|0,i|0,-1,-1)|0;i=C}while(e<<24>>24!=0&((d|0)!=0|(i|0)!=0))}else b=f;l=b-f|0;Id(a,f,l,((l|0)<0)<<31>>31,-1,1)}while(0);return}function gj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+48|0;if((i|0)>=(j|0))ba();f=h;g=h+32|0;e=h+4|0;if((b|0)>0?(d=Rg(da(c|0,4,0,0)|0|0,1)|0,(d|0)!=0):0){ea(g|0,b+-1|0,4,0);ea(g+4|0,0|0,4,0);ea(g+8|0,c+4|0,4,0);ea(e+0|0,0|0,4,0);ea(e+4|0,0|0,4,0);ea(e+8|0,0|0,4,0);ea(e+12|0,0|0,4,0);ea(e+16|0,0|0,4,0);ea(e+20|0,1e9|0,4,0);ea(e+24>>0|0,1|0,1,0);ea(e+25>>0|0,0|0,1,0);ea(e|0,da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0,4,0);ea(f|0,g|0,4,0);Dn(e,2,d,f);d=da(e+12|0,4,0,0)|0|0;Vg(a,sg(e)|0,d,1,75)}i=h;return}function hj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();d=f;b=Rg(da(c|0,4,0,0)|0|0,1)|0;ea(d|0,b|0,4,0);do if((b|0)!=0?(da(b>>0|0,1,0,0)|0|0)!=0:0){e=Ln(d)|0;b=da(a|0,4,0,0)|0|0;d=((e|0)<0)<<31>>31;c=b+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(b|0,e|0,4,0);ea(b+4|0,d|0,4,0);ea(c|0,4|0,2,0);break}else{Yg(b,e,d);break}}while(0);i=f;return}function ij(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=Sc(b<<2|1)|0;if(!g)Qd(a);else{if((b|0)>0){f=0;d=g;do{e=Ug(da(c+(f<<2)|0,4,0,0)|0|0)|0;h=C;e=h>>>0>0|(h|0)==0&e>>>0>1114111?65533:e&2097151;do if(e>>>0>=128){if(e>>>0<2048){ea(d>>0|0,e>>>6&31|192|0,1,0);ea(d+1>>0|0,e&63|128|0,1,0);d=d+2|0;break}if(e>>>0<65536){ea(d>>0|0,e>>>12&15|224|0,1,0);ea(d+1>>0|0,e>>>6&63|128|0,1,0);ea(d+2>>0|0,e&63|128|0,1,0);d=d+3|0;break}else{ea(d>>0|0,e>>>18|240|0,1,0);ea(d+1>>0|0,e>>>12&63|128|0,1,0);ea(d+2>>0|0,e>>>6&63|128|0,1,0);ea(d+3>>0|0,e&63|128|0,1,0);d=d+4|0;break}}else{ea(d>>0|0,e|0,1,0);d=d+1|0}while(0);f=f+1|0}while((f|0)!=(b|0))}else d=g;d=d-g|0;Id(a,g,d,((d|0)<0)<<31>>31,1,1)}return}function jj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0;b=da(c|0,4,0,0)|0|0;c=da(10064+((da(b+8|0,2,0,1)|0|0)&31)>>0|0,1,0,1)|0|0;a:do if((c|0)==1){b=Ug(b)|0;e=C;do if((e|0)<0)if((b|0)==0&(e|0)==-2147483648){ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,20248,-1,1,-1)|0;break a}else{b=cw(0,0,b|0,e|0)|0;f=C;break}else f=e;while(0);c=da(a|0,4,0,0)|0|0;e=c+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(c|0,b|0,4,0);ea(c+4|0,f|0,4,0);ea(e|0,4|0,2,0);break}else{Yg(c,b,f);break}}else if((c|0)==5){c=da(a|0,4,0,0)|0|0;b=c+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(b|0,1|0,2,0);break}else{ug(c);break}}else{d=+Tg(b);if(d<0.0)d=-d;Xg(da(a|0,4,0,0)|0|0,d)}while(0);return}function kj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0,g=0,h=0,l=0,m=0;m=i;i=i+32|0;if((i|0)>=(j|0))ba();h=m+8|0;l=m;if((b|0)==2){b=da(c+4|0,4,0,0)|0|0;if(!(-1431655766>>>((da(b+8|0,2,0,1)|0)&31)&1)){g=Ug(b)|0;g=(g|0)>30?30:g;g=(g|0)<0?0:g;f=4}}else{g=0;f=4}a:do if((f|0)==4?(e=da(c|0,4,0,0)|0|0,(-1431655766>>>((da(e+8|0,2,0,1)|0)&31)&1|0)==0):0){d=+Tg(e);ea(l|0,+d,8,1);b=(g|0)==0;do if(b&d>=0.0&d<9223372036854775808.0){d=d+.5;d=+(~~d>>>0>>>0)+4294967296.0*+((+N(d)>=1.0?(d>0.0?~~+$(+M(d/4294967296.0),4294967295.0)>>>0:~~+Z((d-+(~~d>>>0))/4294967296.0)>>>0):0)|0);ea(l|0,+d,8,1)}else{if(b&d<0.0&d>-9223372036854775808.0){d=.5-d;d=-(+(~~d>>>0>>>0)+4294967296.0*+((+N(d)>=1.0?(d>0.0?~~+$(+M(d/4294967296.0),4294967295.0)>>>0:~~+Z((d-+(~~d>>>0))/4294967296.0)>>>0):0)|0));ea(l|0,+d,8,1);break}ea(h|0,g|0,4,0);b=h+4|0;ea(k|0,+d,8,1);ea(b|0,da(k|0,4,0,0)|0|0,4,0);ea(b+4|0,da(k+4|0,4,0,0)|0|0,4,0);b=Zc(20312,h)|0;if(!b){Qd(a);break a}else e=b;while(1)if(!(da(e>>0|0,1,0,0)|0))break;else e=e+1|0;Sl(b,l,e-b&1073741823,1)|0;Vc(b);d=+(+da(l|0,8,1,0))}while(0);Xg(da(a|0,4,0,0)|0|0,d)}while(0);i=m;return}function lj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Rg(da(c|0,4,0,0)|0|0,1)|0;b=Sg(da(c|0,4,0,0)|0|0,1)|0;if((d|0)!=0?(e=iw(b|0,((b|0)<0)<<31>>31|0,1,0)|0,e=jo(a,e,C)|0,(e|0)!=0):0){if((b|0)>0){c=0;do{f=da(d+c>>0|0,1,0,1)|0|0;ea(e+c>>0|0,((da(10368+f>>0|0,1,0,1)|0|0|223)^32)&f|0,1,0);c=c+1|0}while((c|0)!=(b|0))}Vg(a,e,b,1,1)}return}function mj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Rg(da(c|0,4,0,0)|0|0,1)|0;b=Sg(da(c|0,4,0,0)|0|0,1)|0;if((d|0)!=0?(e=iw(b|0,((b|0)<0)<<31>>31|0,1,0)|0,e=jo(a,e,C)|0,(e|0)!=0):0){if((b|0)>0){c=0;do{ea(e+c>>0|0,da(9328+(da(d+c>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0|0|0,1,0);c=c+1|0}while((c|0)!=(b|0))}Vg(a,e,b,1,1)}return}function nj(a,b,c){a=a|0;b=b|0;c=c|0;Vg(a,8632,-1,1,0);return}function oj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;b=od(da(c|0,4,0,0)|0|0)|0;f=Sg(da(c|0,4,0,0)|0|0,1)|0;g=hw(f|0,((f|0)<0)<<31>>31|0,1)|0;g=jo(a,g|1,C)|0;if(g){if((f|0)>0){d=f<<1;e=0;c=g;while(1){h=da(b>>0|0,1,0,1)|0|0;ea(c>>0|0,da(20288+(h>>>4)>>0|0,1,0,0)|0|0|0,1,0);ea(c+1>>0|0,da(20288+(h&15)>>0|0,1,0,0)|0|0|0,1,0);e=e+1|0;if((e|0)==(f|0))break;else{b=b+1|0;c=c+2|0}}c=g+d|0}else c=g;ea(c>>0|0,0|0,1,0);Vg(a,g,f<<1,1,1)}return}function pj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();b=f;bd(8,b);d=b;c=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;if((d|0)<0){e=cw(0,0,c|0,d&2147483647|0)|0;d=C;ea(b|0,e|0,4,0);ea(b+4|0,d|0,4,0)}else e=c;c=da(a|0,4,0,0)|0|0;b=c+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(c|0,e|0,4,0);ea(c+4|0,d|0,4,0);ea(b|0,4|0,2,0)}else Yg(c,e,d);i=f;return}function qj(a,b,c){a=a|0;b=b|0;c=c|0;c=Ug(da(c|0,4,0,0)|0|0)|0;c=(c|0)<1?1:c;b=jo(a,c,((c|0)<0)<<31>>31)|0;if(b){bd(c,b);Vg(a,b,c,0,1)}return}function rj(a,b,c){a=a|0;b=b|0;c=c|0;if(gm(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,da((da((da(a+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(((da(a+16|0,4,0,0)|0|0)+-1|0)*20|0)+16|0,4,0,0)|0|0)|0)Zg(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0)|0;return}function sj(a,b,c){a=a|0;b=b|0;c=c|0;Vg(a,10768,-1,1,0);return}function tj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=i;i=i+16|0;if((i|0)>=(j|0))ba();a=b;d=Ug(da(c|0,4,0,0)|0|0)|0;ea(a|0,Rg(da(c+4|0,4,0,0)|0|0,1)|0|0,4,0);ad(d,10344,a);i=b;return}function uj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=Rg(da(c|0,4,0,0)|0|0,1)|0;do if(b){d=Dc(b)|0;c=da(a|0,4,0,0)|0|0;b=((d|0)<0)<<31>>31;a=c+8|0;if(!((da(a|0,2,0,0)|0)&9312)){ea(c|0,d|0,4,0);ea(c+4|0,b|0,4,0);ea(a|0,4|0,2,0);break}else{Yg(c,d,b);break}}while(0);return}function vj(a,b,c){a=a|0;b=b|0;c=c|0;b=Ug(da(c|0,4,0,0)|0|0)|0;if(b>>>0<4)b=da(8648+(b<<2)|0,4,0,0)|0|0;else b=0;Vg(a,b,-1,1,0);return}function wj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,f=0,g=0,h=0,l=0,m=0,n=0;n=i;i=i+80|0;if((i|0)>=(j|0))ba();b=n+8|0;d=n;h=n+16|0;g=da(c|0,4,0,0)|0|0;f=da(10064+((da(g+8|0,2,0,1)|0)&31)>>0|0,1,0,1)|0|0;if((f|0)==1)Zg(da(a|0,4,0,0)|0|0,g)|0;else if((f|0)==4){g=od(g)|0;b=Sg(da(c|0,4,0,0)|0|0,1)|0;d=hw(b|0,((b|0)<0)<<31>>31|0,1)|0;d=iw(d|0,C|0,4,0)|0;d=jo(a,d,C)|0;if(d){if((b|0)>0){f=0;do{h=g+f|0;c=f<<1;ea(d+(c+2)>>0|0,da(20288+((da(h>>0|0,1,0,1)|0|0)>>>4)>>0|0,1,0,0)|0|0|0,1,0);ea(d+(c+3)>>0|0,da(20288+((da(h>>0|0,1,0,1)|0)&15)>>0|0,1,0,0)|0|0|0,1,0);f=f+1|0}while((f|0)!=(b|0))}b=b<<1;ea(d+(b+2)>>0|0,39|0,1,0);ea(d+(b+3)>>0|0,0|0,1,0);ea(d>>0|0,88|0,1,0);ea(d+1>>0|0,39|0,1,0);Vg(a,d,-1,1,-1);Vc(d)}}else if((f|0)==3){m=Rg(g,1)|0;if(m){b=0;d=0;f=0;while(1){g=da(m+f>>0|0,1,0,0)|0|0;if(g<<24>>24==39){g=iw(b|0,d|0,1,0)|0;d=C}else if(!(g<<24>>24)){g=d;break}else g=b;b=g;f=f+1|0}l=iw(b|0,g|0,3,0)|0;l=iw(l|0,C|0,f|0,((f|0)<0)<<31>>31|0)|0;l=jo(a,l,C)|0;if(l){ea(l>>0|0,39|0,1,0);d=da(m>>0|0,1,0,0)|0|0;b=l+1|0;if(!(d<<24>>24))f=2;else{h=m;f=2;g=0;c=1;do{ea(b>>0|0,d|0,1,0);if((da(h>>0|0,1,0,0)|0|0)==39){ea(l+f>>0|0,39|0,1,0);c=c+2|0}else c=f;g=g+1|0;h=m+g|0;d=da(h>>0|0,1,0,0)|0|0;f=c+1|0;b=l+c|0}while(d<<24>>24!=0)}ea(b>>0|0,39|0,1,0);ea(l+f>>0|0,0|0,1,0);Vg(a,l,f,1,1)}}}else if((f|0)==2){e=+Tg(g);ea(k|0,+e,8,1);ea(b|0,da(k|0,4,0,0)|0|0,4,0);ea(b+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(50,h,20272,b)|0;Sl(h,d,20,1)|0;if(e!=+(+da(d|0,8,1,0))){ea(k|0,+e,8,1);ea(b|0,da(k|0,4,0,0)|0|0,4,0);ea(b+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(50,h,20280,b)|0}Vg(a,h,-1,1,-1)}else Vg(a,20304,4,1,0);i=n;return}function xj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a|0,4,0,0)|0|0;d=(da(a+32|0,4,0,0)|0|0)+32|0;b=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;c=a+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(a|0,b|0,4,0);ea(a+4|0,d|0,4,0);ea(c|0,4|0,2,0)}else Yg(a,b,d);return}function yj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a|0,4,0,0)|0|0;c=da((da(a+32|0,4,0,0)|0|0)+80|0,4,0,0)|0|0;b=((c|0)<0)<<31>>31;d=a+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(a|0,c|0,4,0);ea(a+4|0,b|0,4,0);ea(d|0,4|0,2,0)}else Yg(a,c,b);return}function zj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a|0,4,0,0)|0|0;c=da((da(a+32|0,4,0,0)|0|0)+84|0,4,0,0)|0|0;b=((c|0)<0)<<31>>31;d=a+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(a|0,c|0,4,0);ea(a+4|0,b|0,4,0);ea(d|0,4|0,2,0)}else Yg(a,c,b);return}function Aj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;r=Rg(da(c|0,4,0,0)|0|0,1)|0;a:do if((r|0)!=0?(s=Sg(da(c|0,4,0,0)|0|0,1)|0,e=c+4|0,q=Rg(da(e|0,4,0,0)|0|0,1)|0,(q|0)!=0):0){if(!(da(q>>0|0,1,0,0)|0)){Zg(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0)|0;break}o=Sg(da(e|0,4,0,0)|0|0,1)|0;e=c+8|0;n=Rg(da(e|0,4,0,0)|0|0,1)|0;if((n|0)!=0?(p=Sg(da(e|0,4,0,0)|0|0,1)|0,f=s+1|0,g=((f|0)<0)<<31>>31,d=jo(a,f,g)|0,(d|0)!=0):0){j=s-o|0;b:do if((j|0)>=0){k=p-o|0;l=((k|0)<0)<<31>>31;m=o+-1|0;c=0;i=0;while(1){e=r+c|0;b=da(e>>0|0,1,0,0)|0|0;if(b<<24>>24==(da(q>>0|0,1,0,0)|0|0)?(Yv(e,q,o)|0)==0:0){b=da(a|0,4,0,0)|0|0;h=da(b+32|0,4,0,0)|0|0;f=iw(f|0,g|0,k|0,l|0)|0;g=C;e=iw(f|0,g|0,-1,-1)|0;u=C;h=da(h+88|0,4,0,0)|0|0;t=((h|0)<0)<<31>>31;if((u|0)>(t|0)|(u|0)==(t|0)&e>>>0>h>>>0){e=13;break}h=Wc(d,f)|0;if(!h){e=15;break}jw(h+i|0,n|0,p|0)|0;e=m+c|0;b=i+p|0;d=h}else{ea(d+i>>0|0,b|0,1,0);e=c;b=i+1|0}c=e+1|0;if((e|0)<(j|0))i=b;else break b}if((e|0)==13){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(b,10096,-1,1,0)|0;Vc(d);break a}else if((e|0)==15){Qd(a);Vc(d);break a}}else{c=0;b=0}while(0);k=s-c|0;jw(d+b|0,r+c|0,k|0)|0;k=b+k|0;ea(d+k>>0|0,0|0,1,0);Vg(a,d,k,1,1)}}while(0);return}function Bj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;b=Ug(da(c|0,4,0,0)|0|0)|0;e=C;c=da(d+88|0,4,0,0)|0|0;d=((c|0)<0)<<31>>31;if((e|0)>(d|0)|(e|0)==(d|0)&b>>>0>c>>>0){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,10096,-1,1,0)|0}else _g(da(a|0,4,0,0)|0|0,b);return}function Cj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;d=Rg(da(c|0,4,0,0)|0|0,1)|0;e=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;ea(f|0,0|0,4,0);if((b|0)==2)b=Rg(da(c+4|0,4,0,0)|0|0,1)|0;else b=0;if((d|0)!=0?(Se(e,d,b,f)|0)!=0:0){b=da(f|0,4,0,0)|0|0;ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,b,-1,1,-1)|0;Vc(da(f|0,4,0,0)|0|0)}i=g;return}function Dj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0.0,i=0,j=0,k=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))d=kh(a,32)|0;else d=da(b+16|0,4,0,0)|0|0;a=Ge(da(c|0,4,0,0)|0|0)|0;do if((d|0)!=0&(a|0)!=5){b=d+16|0;e=b;e=iw(da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0,1,0)|0;ea(b|0,e|0,4,0);ea(b+4|0,C|0,4,0);b=da(c|0,4,0,0)|0|0;if((a|0)!=1){h=+Tg(b);ea(d|0,+(h+ +(+da(d|0,8,1,0))),8,1);ea(d+25>>0|0,1|0,1,0);break}e=Ug(b)|0;f=C;ea(d|0,+(+(+da(d|0,8,1,0))+(+(e>>>0)+4294967296.0*+(f|0))),8,1);g=d+24|0;if(!((da(g>>0|0,1,0,0)|0|(da(d+25>>0|0,1,0,0)|0))<<24>>24)){d=d+8|0;a=d;c=da(a|0,4,0,0)|0|0;a=da(a+4|0,4,0,0)|0|0;if((f|0)>-1|(f|0)==-1&e>>>0>4294967295){b=cw(-1,2147483647,c|0,a|0)|0;i=C;if(((a|0)>0|(a|0)==0&c>>>0>0)&((i|0)<(f|0)|(i|0)==(f|0)&b>>>0<e>>>0))b=12;else b=11}else if((a|0)<0?(i=cw(1,-2147483648,c|0,a|0)|0,k=C,b=iw(e|0,f|0,1,0)|0,j=C,(k|0)>(j|0)|(k|0)==(j|0)&i>>>0>b>>>0):0)b=12;else b=11;if((b|0)==11){a=iw(c|0,a|0,e|0,f|0)|0;b=d;ea(b|0,a|0,4,0);ea(b+4|0,C|0,4,0);break}else if((b|0)==12){ea(g>>0|0,1|0,1,0);break}}}while(0);return}function Ej(a){a=a|0;var b=0,c=0,d=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;do if((b|0)!=0?(c=b+16|0,d=da(c+4|0,4,0,0)|0|0,(d|0)>0|(d|0)==0&(da(c|0,4,0,0)|0|0)>>>0>0):0){if(da(b+24>>0|0,1,0,0)|0){ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,20248,-1,1,-1)|0;break}if(da(b+25>>0|0,1,0,0)|0){Xg(da(a|0,4,0,0)|0|0,+(+da(b|0,8,1,0)));break}d=b+8|0;c=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;b=da(a|0,4,0,0)|0|0;a=b+8|0;if(!((da(a|0,2,0,0)|0)&9312)){ea(b|0,c|0,4,0);ea(b+4|0,d|0,4,0);ea(a|0,4|0,2,0);break}else{Yg(b,c,d);break}}while(0);return}function Fj(a){a=a|0;var b=0,c=0.0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;if(!b)c=0.0;else c=+(+da(b|0,8,1,0));Xg(da(a|0,4,0,0)|0|0,c);return}function Gj(a){a=a|0;var b=0,c=0,d=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;if((b|0)!=0?(d=b+16|0,c=da(d|0,4,0,0)|0|0,d=da(d+4|0,4,0,0)|0|0,(d|0)>0|(d|0)==0&c>>>0>0):0)Xg(da(a|0,4,0,0)|0|0,+(+da(b|0,8,1,0))/(+(c>>>0)+4294967296.0*+(d|0)));return}function Hj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da(a+8|0,4,0,0)|0|0;if(!((da(d+8|0,2,0,0)|0)&8192))d=kh(a,8)|0;else d=da(d+16|0,4,0,0)|0|0;if(!b){if(d)e=7}else if((d|0)!=0?(1431655765>>>((da((da(c|0,4,0,0)|0|0)+8|0,2,0,1)|0|0)&31)&1|0)!=0:0)e=7;if((e|0)==7){a=d;a=iw(da(a|0,4,0,0)|0|0,da(a+4|0,4,0,0)|0|0,1,0)|0;ea(d|0,a|0,4,0);ea(d+4|0,C|0,4,0)}return}function Ij(a){a=a|0;var b=0,c=0,d=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;if(!b){c=0;d=0}else{d=b;c=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0}b=da(a|0,4,0,0)|0|0;a=b+8|0;if(!((da(a|0,2,0,0)|0)&9312)){ea(b|0,c|0,4,0);ea(b+4|0,d|0,4,0);ea(a|0,4|0,2,0)}else Yg(b,c,d);return}function Jj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(!(-1431655766>>>((da((da(c|0,4,0,0)|0|0)+8|0,2,0,1)|0)&31)&1)){d=da(a+8|0,4,0,0)|0|0;if(!((da(d+8|0,2,0,0)|0)&8192))e=kh(a,28)|0;else e=da(d+16|0,4,0,0)|0|0;if(e){a=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;f=e+24|0;d=(da(f>>0|0,1,0,0)|0|0)==0;ea(f>>0|0,2|0,1,0);ea(e+20|0,da(a+88|0,4,0,0)|0|0,4,0);do if(!d){if((b|0)==2){b=c+4|0;d=Rg(da(b|0,4,0,0)|0|0,1)|0;b=Sg(da(b|0,4,0,0)|0|0,1)|0;if(!b)break}else{b=1;d=20240}Rk(e,d,b)}while(0);d=Rg(da(c|0,4,0,0)|0|0,1)|0;b=Sg(da(c|0,4,0,0)|0|0,1)|0;if(d)Rk(e,d,b)}}return}function Kj(a){a=a|0;var b=0,c=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;do if(b){c=da(b+25>>0|0,1,0,0)|0|0;if(c<<24>>24==2){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,10096,-1,1,0)|0;break}else if(c<<24>>24==1){Qd(a);break}else{Vg(a,sg(b)|0,-1,1,1);break}}while(0);return}function Lj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;h=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;d=Rg(da(c|0,4,0,0)|0|0,1)|0;f=Rg(da(c+4|0,4,0,0)|0|0,1)|0;k=Sg(da(c|0,4,0,0)|0|0,1)|0;a:do if((k|0)<=(da(h+120|0,4,0,0)|0|0)){do if((b|0)==3){c=Rg(da(c+8|0,4,0,0)|0|0,1)|0;ea(e|0,c|0,4,0);if(!c)break a;if((Mn(c,-1)|0)==1){c=Ln(e)|0;break}else{ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,20192,-1,1,-1)|0;break a}}else c=0;while(0);if((f|0)!=0&(d|0)!=0){b=Fh(d,f,da((da(a+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,c)|0;d=da(a|0,4,0,0)|0|0;e=((b|0)<0)<<31>>31;c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(d|0,b|0,4,0);ea(d+4|0,e|0,4,0);ea(c|0,4|0,2,0);break}else{Yg(d,b,e);break}}}else{ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,20152,-1,1,-1)|0}while(0);i=g;return}function Mj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+32|0;if((i|0)>=(j|0))ba();m=n;g=n+16|0;l=Rg(da(c|0,4,0,0)|0|0,1)|0;h=Rg(da(c+4|0,4,0,0)|0|0,1)|0;k=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;a:do if((l|0)!=0?(da(l>>0|0,1,0,0)|0|0)!=0:0){b=0;c=l;b:while(1){e=b;d=c;while(1){d=d+e|0;f=Bn(d,g)|0;e=da(g|0,4,0,0)|0|0;if((e|0)==151)e=f;else if((e|0)==22|(e|0)==125)break b;else{c=d;b=f;break}}if(!(da(c>>0|0,1,0,0)|0))break a}ea(m|0,c-l|0,4,0);ea(m+4|0,l|0,4,0);ea(m+8|0,h|0,4,0);ea(m+12|0,c+b|0,4,0);Vg(a,th(k,19464,m)|0,-1,1,75)}while(0);i=n;return}function Nj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+32|0;if((i|0)>=(j|0))ba();o=p;k=p+16|0;n=Rg(da(c|0,4,0,0)|0|0,1)|0;l=Rg(da(c+4|0,4,0,0)|0|0,1)|0;m=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;a:do if((n|0)!=0?(da(n>>0|0,1,0,0)|0|0)!=0:0){h=3;b=0;c=n;while(1){e=b;d=c;do{d=d+e|0;e=Bn(d,k)|0;f=da(k|0,4,0,0)|0|0}while((f|0)==151);g=e;e=(f|0)==122|(f|0)==107?0:h+1|0;if((e|0)==2)if((f|0)==5|(f|0)==46|(f|0)==137)break;else c=2;else c=e;if(!(da(d>>0|0,1,0,0)|0))break a;else{h=c;b=g;c=d}}ea(o|0,c-n|0,4,0);ea(o+4|0,n|0,4,0);ea(o+8|0,l|0,4,0);ea(o+12|0,c+b|0,4,0);Vg(a,th(m,19464,o)|0,-1,1,75)}while(0);i=p;return}function Oj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=i;i=i+32|0;if((i|0)>=(j|0))ba();o=p;m=p+16|0;n=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;d=Rg(da(c|0,4,0,0)|0|0,1)|0;l=Rg(da(c+4|0,4,0,0)|0|0,1)|0;k=Rg(da(c+8|0,4,0,0)|0|0,1)|0;if(!((d|0)==0|(l|0)==0)){a:do if(!(da(d>>0|0,1,0,0)|0))b=0;else{e=d;b=0;do{c=Bn(e,m)|0;if((da(m|0,4,0,0)|0|0)==105){g=e;while(1){e=g+c|0;f=Bn(e,m)|0;if((da(m|0,4,0,0)|0|0)==151){c=f;g=e}else break}if(!e)break a;h=iw(f|0,((f|0)<0)<<31>>31|0,1,0)|0;h=lh(n,h,C)|0;if(!h)break a;jw(h|0,e|0,f|0)|0;ea(h+f>>0|0,0|0,1,0);ko(h);if(!(cd(l,h)|0)){ea(o|0,((b|0)!=0?b:10360)|0,4,0);ea(o+4|0,e-d|0,4,0);ea(o+8|0,d|0,4,0);ea(o+12|0,k|0,4,0);q=th(n,19440,o)|0;lg(n,b);d=g+(f+c)|0;b=q}lg(n,h);c=f}e=e+c|0}while((da(e>>0|0,1,0,0)|0|0)!=0)}while(0);ea(o|0,((b|0)!=0?b:10360)|0,4,0);ea(o+4|0,d|0,4,0);Vg(a,th(n,19456,o)|0,-1,1,75);lg(n,b)}i=p;return}function Pj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+48|0;if((i|0)>=(j|0))ba();d=e;if(!(lo(a,b,c,d)|0)){mo(d);b=d;Xg(da(a|0,4,0,0)|0|0,(+((da(b|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(b+4|0,4,0,0)|0|0))/864.0e5)}i=e;return}function Qj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+160|0;if((i|0)>=(j|0))ba();d=g+48|0;e=g;f=g+60|0;if(!(lo(a,b,c,e)|0)){no(e);c=da(e+12|0,4,0,0)|0|0;b=da(e+16|0,4,0,0)|0|0;ea(d|0,da(e+8|0,4,0,0)|0|0,4,0);ea(d+4|0,c|0,4,0);ea(d+8|0,b|0,4,0);$c(100,f,20136,d)|0;Vg(a,f,-1,1,-1)}i=g;return}function Rj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+160|0;if((i|0)>=(j|0))ba();d=g+48|0;e=g;f=g+60|0;if(!(lo(a,b,c,e)|0)){oo(e);c=da(e+24|0,4,0,0)|0|0;b=~~+(+da(e+32|0,8,1,0));ea(d|0,da(e+20|0,4,0,0)|0|0,4,0);ea(d+4|0,c|0,4,0);ea(d+8|0,b|0,4,0);$c(100,f,20120,d)|0;Vg(a,f,-1,1,-1)}i=g;return}function Sj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0;g=i;i=i+176|0;if((i|0)>=(j|0))ba();d=g+48|0;e=g;f=g+72|0;if(!(lo(a,b,c,e)|0)){no(e);oo(e);l=da(e+12|0,4,0,0)|0|0;k=da(e+16|0,4,0,0)|0|0;h=da(e+20|0,4,0,0)|0|0;c=da(e+24|0,4,0,0)|0|0;b=~~+(+da(e+32|0,8,1,0));ea(d|0,da(e+8|0,4,0,0)|0|0,4,0);ea(d+4|0,l|0,4,0);ea(d+8|0,k|0,4,0);ea(d+12|0,h|0,4,0);ea(d+16|0,c|0,4,0);ea(d+20|0,b|0,4,0);$c(100,f,20088,d)|0;Vg(a,f,-1,1,-1)}i=g;return}function Tj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0,B=0;z=i;i=i+208|0;if((i|0)>=(j|0))ba();v=z+96|0;w=z+48|0;y=z+104|0;x=z;a:do if(((b|0)!=0?(u=Rg(da(c|0,4,0,0)|0|0,1)|0,(u|0)!=0):0)?(lo(a,b+-1|0,c+4|0,w)|0)==0:0){g=da(a|0,4,0,0)|0|0;f=da(g+32|0,4,0,0)|0|0;c=1;b=0;e=0;b:while(1){d=da(u+e>>0|0,1,0,0)|0|0;c:do if(d<<24>>24==37){d=e+1|0;switch(da(u+d>>0|0,1,0,0)|0|0){case 87:case 83:case 77:case 109:case 72:case 100:{c=iw(c|0,b|0,1,0)|0;b=C;break c}case 102:{c=iw(c|0,b|0,8,0)|0;b=C;break c}case 74:case 115:{c=iw(c|0,b|0,50,0)|0;b=C;break c}case 37:case 119:break c;case 106:{c=iw(c|0,b|0,3,0)|0;b=C;break c}case 89:{c=iw(c|0,b|0,8,0)|0;b=C;break c}default:break a}}else if(!(d<<24>>24))break b;else d=e;while(0);c=iw(c|0,b|0,1,0)|0;b=C;e=d+1|0}if(!(b>>>0<0|(b|0)==0&c>>>0<100)){t=da(f+88|0,4,0,0)|0|0;s=((t|0)<0)<<31>>31;if(b>>>0>s>>>0|(b|0)==(s|0)&c>>>0>t>>>0){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(g,10096,-1,1,0)|0;break}b=dw(0,c|0,32)|0;b=lh(f,b,C)|0;if(!b){Qd(a);break}else t=b}else t=y;mo(w);no(w);oo(w);h=w+16|0;l=w+32|0;m=w+20|0;n=x+42|0;o=x+12|0;p=x+16|0;q=w+12|0;r=w+24|0;s=w+8|0;f=0;b=0;d:while(1){g=da(u+f>>0|0,1,0,0)|0|0;e:do if(g<<24>>24==37){f=f+1|0;c=u+f|0;do switch(da(c>>0|0,1,0,0)|0|0){case 109:{ea(v|0,da(q|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 77:{ea(v|0,da(r|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 102:{A=+(+da(l|0,8,1,0));e=t+b|0;ea(k|0,+(A>59.999?59.999:A),8,1);ea(v|0,da(k|0,4,0,0)|0|0,4,0);ea(v+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(7,e,19896,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 100:{ea(v|0,da(h|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 83:{ea(v|0,~~+(+da(l|0,8,1,0))|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 119:{c=w;c=iw(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,1296e5,0)|0;c=pw(c|0,C|0,864e5,0)|0;c=qw(c|0,C|0,7,0)|0;ea(t+b>>0|0,c+48|0,1,0);b=b+1|0;break e}case 89:{e=t+b|0;ea(v|0,da(s|0,4,0,0)|0|0,4,0);$c(5,e,19928,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 106:case 87:{g=x+0|0;e=w+0|0;d=g+48|0;do{ea(g|0,da(e|0,4,0,0)|0|0,4,0);g=g+4|0;e=e+4|0}while((g|0)<(d|0));ea(n>>0|0,0|0,1,0);ea(o|0,1|0,4,0);ea(p|0,1|0,4,0);mo(x);g=w;d=x;B=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;g=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,432e5,0)|0;e=C;d=cw(g|0,e|0,B|0,d|0)|0;d=pw(d|0,C|0,864e5,0)|0;if((da(c>>0|0,1,0,0)|0|0)==87){c=pw(g|0,e|0,864e5,0)|0;c=qw(c|0,C|0,7,0)|0;ea(v|0,(d+7-c|0)/7|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}else{ea(v|0,d+1|0,4,0);$c(4,t+b|0,19904,v)|0;b=b+3|0;break e}}case 72:{ea(v|0,da(m|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 74:{e=t+b|0;c=w;ea(k|0,+((+((da(c|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(c+4|0,4,0,0)|0|0))/864.0e5),8,1);ea(v|0,da(k|0,4,0,0)|0|0,4,0);ea(v+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(20,e,19912,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 115:{e=t+b|0;d=w;d=pw(da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0,1e3,0)|0;d=iw(d|0,C|0,-413362496,-50)|0;c=v;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);$c(30,e,19920,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}default:{ea(t+b>>0|0,37|0,1,0);b=b+1|0;break e}}while(0)}else if(!(g<<24>>24))break d;else{ea(t+b>>0|0,g|0,1,0);b=b+1|0}while(0);f=f+1|0}ea(t+b>>0|0,0|0,1,0);Vg(a,t,-1,1,(t|0)==(y|0)?-1:75)}while(0);i=z;return}function Uj(a,b,c){a=a|0;b=b|0;c=c|0;Rj(a,0,0);return}function Vj(a,b,c){a=a|0;b=b|0;c=c|0;Sj(a,0,0);return}function Wj(a,b,c){a=a|0;b=b|0;c=c|0;Qj(a,0,0);return}function Xj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=Ug(da(c|0,4,0,0)|0|0)|0;g=f+1&-2;d=Ug(da(c+4|0,4,0,0)|0|0)|0;e=(g<<3)+56|0;c=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;b=lh(c,e,((e|0)<0)<<31>>31)|0;if(!b)Qd(a);else{ew(b|0,0,e|0)|0;ea(b+52|0,c|0,4,0);ea(b|0,0|0,4,0);ea(b+8|0,f|0,4,0);ea(b+12|0,d|0,4,0);c=b+56|0;ea(b+24|0,c|0,4,0);ea(b+20|0,c+(g<<2)|0,4,0);Vg(a,b,56,0,20)}return}function Yj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=od(da(c|0,4,0,0)|0|0)|0;e=Ug(da(c+4|0,4,0,0)|0|0)|0;if(!(da(f|0,4,0,0)|0)){a=f+8|0;if((da(a|0,4,0,0)|0|0)>0){b=da(f+20|0,4,0,0)|0|0;c=0;do{ea(b+(c<<2)|0,1|0,4,0);c=c+1|0}while((c|0)<(da(a|0,4,0,0)|0|0))}}else{if((e|0)>0){a=da(f+20|0,4,0,0)|0|0;c=0;do{b=a+(c<<2)|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);c=c+1|0}while((c|0)!=(e|0))}a=f+8|0;if((e|0)<(da(a|0,4,0,0)|0|0)){b=da(f+24|0,4,0,0)|0|0;d=da(f+20|0,4,0,0)|0|0;c=e;do{e=b+(c<<2)|0;ea(e|0,(da(e|0,4,0,0)|0|0)+1|0,4,0);ea(d+(c<<2)|0,1|0,4,0);c=c+1|0}while((c|0)<(da(a|0,4,0,0)|0|0))}}ea(f|0,(da(f|0,4,0,0)|0|0)+1|0,4,0);return}function Zj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;f=od(da(c|0,4,0,0)|0|0)|0;g=f+12|0;c=((da(g|0,4,0,0)|0|0)*25|0)+25|0;h=pg(c,((c|0)<0)<<31>>31)|0;if(!h)Qd(a);else{ew(h|0,0,c|0)|0;c=k;ea(c|0,da(f|0,4,0,0)|0|0,4,0);ea(c+4|0,0|0,4,0);$c(24,h,28696,k)|0;c=h;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;if((da(g|0,4,0,0)|0|0)>0){d=f+24|0;e=0;b=h+(c-h&1073741823)|0;while(1){m=(da((da(d|0,4,0,0)|0|0)+(e<<2)|0,4,0,0)|0|0)+1|0;c=da(f|0,4,0,0)|0|0;n=iw(m|0,0,-1,-1)|0;c=iw(n|0,C|0,c|0,0)|0;m=sw(c|0,C|0,m|0,0)|0;c=k;ea(c|0,m|0,4,0);ea(c+4|0,C|0,4,0);$c(24,b,28704,k)|0;if(!b)c=0;else{c=b;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;c=c-b&1073741823}e=e+1|0;if((e|0)>=(da(g|0,4,0,0)|0|0))break;else b=b+c|0}}Vg(a,h,-1,1,1)}i=l;return}function _j(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;l=i;i=i+144|0;if((i|0)>=(j|0))ba();h=l;k=l+8|0;f=Rg(da(c|0,4,0,0)|0|0,1)|0;g=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;f=(f|0)==0?10360:f;e=da(g+20|0,4,0,0)|0|0;a:do if((e|0)>0){b=da(g+16|0,4,0,0)|0|0;c=0;do{d=b+(c<<4)|0;if((da(b+(c<<4)+4|0,4,0,0)|0|0)!=0?(cd(da(d|0,4,0,0)|0|0,f)|0)==0:0)break a;c=c+1|0}while((c|0)<(e|0))}else{c=0;d=0}while(0);do if((c|0)<(e|0)){if((c|0)<2){ea(h|0,f|0,4,0);$c(128,k,29256,h)|0;m=16;break}if(!(da(g+63>>0|0,1,0,0)|0)){$c(128,k,29288,h)|0;m=16;break}c=d+4|0;b=da(c|0,4,0,0)|0|0;if((da(b+8>>0|0,1,0,0)|0|0)==0?(da(b+16|0,4,0,0)|0|0)==0:0){Ll(b);ea(c|0,0|0,4,0);ea(d+12|0,0|0,4,0);Dg(g);break}ea(h|0,f|0,4,0);$c(128,k,29336,h)|0;m=16}else{ea(h|0,f|0,4,0);$c(128,k,29232,h)|0;m=16}while(0);if((m|0)==16){ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,k,-1,1,-1)|0}i=l;return}function $j(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+32|0;if((i|0)>=(j|0))ba();s=w;b=w+20|0;f=w+16|0;g=w+12|0;v=w+8|0;h=w+4|0;u=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;ea(b|0,0|0,4,0);ea(f|0,0|0,4,0);ea(v|0,0|0,4,0);r=Rg(da(c|0,4,0,0)|0|0,1)|0;n=Rg(da(c+4|0,4,0,0)|0|0,1)|0;r=(r|0)==0?10360:r;n=(n|0)==0?10360:n;q=u+20|0;d=da(q|0,4,0,0)|0|0;e=da(u+116|0,4,0,0)|0|0;a:do if((d|0)<(e+2|0)){if(!(da(u+63>>0|0,1,0,0)|0)){d=th(u,29456,s)|0;ea(v|0,d|0,4,0);b=0;t=42;break}o=u+16|0;e=da(o|0,4,0,0)|0|0;b:do if((d|0)>0){c=0;while(1){if(!(cd(da(e+(c<<4)|0,4,0,0)|0|0,n)|0))break;c=c+1|0;if((c|0)>=(d|0))break b}ea(s|0,n|0,4,0);d=th(u,29504,s)|0;ea(v|0,d|0,4,0);b=0;t=42;break a}while(0);if((e|0)!=(u+456|0)){e=qo(u,e,(d<<4)+16|0,0)|0;if(!e)break;else m=e}else{e=lh(u,48,0)|0;if(!e)break;m=da(o|0,4,0,0)|0|0;ea(e+0|0,da(m+0|0,4,0,0)|0|0,4,0);ea(e+4|0,da(m+4|0,4,0,0)|0|0,4,0);ea(e+8|0,da(m+8|0,4,0,0)|0|0,4,0);ea(e+12|0,da(m+12|0,4,0,0)|0|0,4,0);ea(e+16|0,da(m+16|0,4,0,0)|0|0,4,0);ea(e+20|0,da(m+20|0,4,0,0)|0|0,4,0);ea(e+24|0,da(m+24|0,4,0,0)|0|0,4,0);ea(e+28|0,da(m+28|0,4,0,0)|0|0,4,0);m=e}ea(o|0,m|0,4,0);k=da(q|0,4,0,0)|0|0;l=m+(k<<4)|0;ea(l+0|0,0|0,4,0);ea(l+4|0,0|0,4,0);ea(l+8|0,0|0,4,0);ea(l+12|0,0|0,4,0);ea(g|0,da(u+48|0,4,0,0)|0|0,4,0);e=Vn(da((da(u|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,r,g,h,b,f)|0;if((e|0)==7)ea(u+65>>0|0,1|0,1,0);else if(!e){e=da(g|0,4,0,0)|0|256;ea(g|0,e|0,4,0);f=da(b|0,4,0,0)|0|0;g=m+(k<<4)+4|0;e=ym(da(h|0,4,0,0)|0|0,f,u,g,0,e)|0;Vc(f);ea(q|0,(da(q|0,4,0,0)|0|0)+1|0,4,0);if((e|0)==19){ea(v|0,th(u,29536,s)|0|0,4,0);e=1}else if(!e){e=Wn(u,da(g|0,4,0,0)|0|0)|0;ea(m+(k<<4)+12|0,e|0,4,0);if(e)if((da(e+76>>0|0,1,0,0)|0|0)!=0?(da(e+77>>0|0,1,0,0)|0|0)!=(da(u+62>>0|0,1,0,0)|0|0):0){ea(v|0,th(u,13232,s)|0|0,4,0);e=1}else e=0;else e=7;f=da(g|0,4,0,0)|0|0;c=da(f+4|0,4,0,0)|0|0;ea(c+4|0,da(f|0,4,0,0)|0|0,4,0);c=da(c|0,4,0,0)|0|0;d=da(u+66>>0|0,1,0,0)|0|0;do if(!(da(c+12>>0|0,1,0,0)|0)){b=da(c+208|0,4,0,0)|0|0;if((b|0)!=0?(da(b+43>>0|0,1,0,0)|0|0)==2:0)break;ea(c+4>>0|0,d|0,1,0)}while(0);c=da((da(o|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;if(!c)c=0;else{h=da(c+4|0,4,0,0)|0|0;ea(h+4|0,da(c|0,4,0,0)|0|0,4,0);c=(da(h+22|0,2,0,1)|0|0)>>>2&1}ro(f,c)|0;so(da(g|0,4,0,0)|0|0,(da(u+24|0,4,0,0)|0)&28|3)}ea(m+(k<<4)+8>>0|0,3|0,1,0);b=jh(u,n)|0;ea(l|0,b|0,4,0);b=(e|0)==0&(b|0)==0?7:e;if(!b){c=da(q|0,4,0,0)|0|0;if((c|0)>0){d=da(o|0,4,0,0)|0|0;e=0;do{b=da(d+(e<<4)+4|0,4,0,0)|0|0;if(b)ea((da(b+4|0,4,0,0)|0|0)+4|0,da(b|0,4,0,0)|0|0,4,0);e=e+1|0}while((e|0)!=(c|0))}b=Yh(u,v)|0;if(!b)break}d=(da(q|0,4,0,0)|0|0)+-1|0;c=da((da(o|0,4,0,0)|0|0)+(d<<4)+4|0,4,0,0)|0|0;if(c){Ll(c);m=da(o|0,4,0,0)|0|0;ea(m+(d<<4)+4|0,0|0,4,0);ea(m+(d<<4)+12|0,0|0,4,0)}Dg(u);ea(q|0,d|0,4,0);if((b|0)==7|(b|0)==3082){ea(u+65>>0|0,1|0,1,0);lg(u,da(v|0,4,0,0)|0|0);d=th(u,15776,s)|0;ea(v|0,d|0,4,0);t=42;break}d=da(v|0,4,0,0)|0|0;if(d){t=43;break}ea(s|0,r|0,4,0);d=th(u,29568,s)|0;ea(v|0,d|0,4,0);t=42;break}m=da(f|0,4,0,0)|0|0;ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,m,-1,1,-1)|0;Vc(m)}else{ea(s|0,e|0,4,0);d=th(u,29416,s)|0;ea(v|0,d|0,4,0);b=0;t=42}while(0);if((t|0)==42)if(!d){p=b;t=44}else t=43;if((t|0)==43){ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,d,-1,1,-1)|0;lg(u,da(v|0,4,0,0)|0|0);p=b;t=44}if((t|0)==44?(p|0)!=0:0)Od(a,p);i=w;return}function ak(a){a=a|0;if(a){hk(a,0)|0;Vc(da(a+24|0,4,0,0)|0|0);to(a)}return 0}function bk(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=a+12|0;f=c&131071;j=b;h=e;i=0;a:while(1){while(1){e=bb(da(k|0,4,0,0)|0|0,d|0,0)|0;if(!((e|0)==(d|0)&(((e|0)<0)<<31>>31|0)==(h|0))){d=4;break a}g=$b[(fa(da(47552+100|0,4,0,0)|0|0,63|0)|0)&63](da(k|0,4,0,0)|0|0,j,f)|0;if((f|0)==(g|0)){e=i;d=13;break a}if((g|0)>=0){e=g;break}e=da(Gb()|0|0,4,0,0)|0|0;if((e|0)!=4){f=g;d=10;break a}}if((e|0)<=0){f=0;e=i;d=13;break}g=iw(e|0,((e|0)<0)<<31>>31|0,d|0,h|0)|0;f=f-e|0;j=j+e|0;h=C;d=g;i=e+i|0}do if((d|0)==4)if((e|0)==-1){ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);e=-1;break}else{ea(a+20|0,0|0,4,0);e=-1;break}else if((d|0)==10){ea(a+20|0,e|0,4,0);e=0;d=13}while(0);if((d|0)==13)e=e+f|0;if((e|0)!=(c|0))if((e|0)<0)e=266;else{ea(a+20|0,0|0,4,0);ew(b+e|0,0,c-e|0)|0;e=522}else e=0;return e|0}function ck(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:do if((c|0)>0){g=a+12|0;h=a+20|0;f=c;while(1){c=uo(da(g|0,4,0,0)|0|0,d,e,b,f,h)|0;if((c|0)<=0)break;f=f-c|0;d=iw(c|0,((c|0)<0)<<31>>31|0,d|0,e|0)|0;if((f|0)<=0){c=0;break a}else{b=b+c|0;e=C}}if((c|0)<0?(da(h|0,4,0,0)|0|0)!=28:0){c=778;break}ea(a+20|0,0|0,4,0);c=13}else c=0;while(0);return c|0}function dk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da(a+40|0,4,0,0)|0|0;if((d|0)>0){e=((d|0)<0)<<31>>31;c=iw(b|0,c|0,-1,-1)|0;c=iw(c|0,C|0,d|0,e|0)|0;b=C;d=qw(c|0,b|0,d|0,e|0)|0;d=cw(c|0,b|0,d|0,C|0)|0}else d=b;c=da(a+12|0,4,0,0)|0|0;while(1){b=qc[(fa(da(47552+76|0,4,0,0)|0|0,127|0)|0)&127](c,d)|0;if((b|0)>=0){d=6;break}b=Gb()|0;if((da(b|0,4,0,0)|0|0)!=4){d=8;break}}if((d|0)==6)if(!b)b=0;else{b=Gb()|0;d=8}if((d|0)==8){ea(a+20|0,da(b|0,4,0,0)|0|0,4,0);b=bo(1546,47928,da(a+32|0,4,0,0)|0|0,29004)|0}return b|0}function ek(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();d=f;if(!(Fb(da(a+12|0,4,0,0)|0|0)|0)){e=a+18|0;if(!((da(e|0,2,0,0)|0)&8))b=0;else{b=qc[(fa(da(47552+208|0,4,0,0)|0|0,127|0)|0)&127](da(a+32|0,4,0,0)|0|0,d)|0;c=da(d|0,4,0,0)|0|0;if((b|0)==0&(c|0)>-1){Fb(c|0)|0;$n(a,da(d|0,4,0,0)|0|0,28974);b=0}else b=(b|0)==14?0:b;ea(e|0,(da(e|0,2,0,1)|0|0)&65527|0,2,0)}}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);b=bo(1034,48360,da(a+32|0,4,0,0)|0|0,28960)|0}i=f;return b|0}function fk(a,b){a=a|0;b=b|0;var c=0,d=0;d=i;i=i+80|0;if((i|0)>=(j|0))ba();c=d;if(!(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](da(a+12|0,4,0,0)|0|0,c)|0)){c=da(c+36|0,4,0,0)|0|0;a=(c|0)==1;ea(b|0,(a?0:c)|0,4,0);ea(b+4|0,(a?0:((c|0)<0)<<31>>31)|0,4,0);c=0}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);c=1802}i=d;return c|0}function gk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=da(a+24|0,4,0,0)|0|0;e=a+16|0;a:do if(!(da(e>>0|0,1,0,0)|0)){c=qc[(fa(da(47552+220|0,4,0,0)|0|0,127|0)|0)&127](d,511)|0;if((c|0)>=0){ea(e>>0|0,b|0,1,0);break}d=da(Gb()|0|0,4,0,0)|0|0;switch(d|0){case 13:case 37:case 4:case 16:case 110:case 11:case 17:{c=5;break a}case 1:{c=3;break}default:c=3850}ea(a+20|0,d|0,4,0)}else{ea(e>>0|0,b|0,1,0);Xa(d|0,0)|0;c=0}while(0);return c|0}function hk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=da(a+24|0,4,0,0)|0|0;e=a+16|0;a:do if((da(e>>0|0,1,0,1)|0|0|0)==(b|0))c=0;else{if((b|0)==1){ea(e>>0|0,1|0,1,0);c=0;break}do if((kc[(fa(da(47552+232|0,4,0,0)|0|0,127|0)|0)&127](d)|0)<0){c=Gb()|0;b=da(c|0,4,0,0)|0|0;if((b|0)==20){if((kc[(fa(da(47552+196|0,4,0,0)|0|0,127|0)|0)&127](d)|0)>=0)break;b=da(c|0,4,0,0)|0|0}d=(b|0)!=2;c=d?2058:0;if(!d)break a;ea(a+20|0,b|0,4,0);break a}while(0);ea(e>>0|0,0|0,1,0);c=0}while(0);return c|0}function ik(a,b){a=a|0;b=b|0;if((da(a+16>>0|0,1,0,1)|0|0)>1)a=1;else a=(qc[(fa(da(47552+28|0,4,0,0)|0|0,127|0)|0)&127](da(a+24|0,4,0,0)|0|0,0)|0)==0&1;ea(b|0,a|0,4,0);return 0}function jk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+80|0;if((i|0)>=(j|0))ba();e=l;a:do switch(b|0){case 4:{ea(c|0,da(a+20|0,4,0,0)|0|0,4,0);d=0;break}case 20:{ea(c|0,wo(a)|0|0,4,0);d=0;break}case 12:{ea(e|0,da((da(a+4|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,4,0);ea(c|0,Zc(10344,e)|0|0,4,0);d=0;break}case 10:{vo(a,4,c);d=0;break}case 6:{ea(a+40|0,da(c|0,4,0,0)|0|0,4,0);d=0;break}case 24:{d=0;break}case 5:{b=c;c=da(b|0,4,0,0)|0|0;b=da(b+4|0,4,0,0)|0|0;d=a+40|0;if((da(d|0,4,0,0)|0|0)>0){k=a+12|0;if(!(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](da(k|0,4,0,0)|0|0,e)|0)){d=da(d|0,4,0,0)|0|0;g=((d|0)<0)<<31>>31;c=iw(c|0,b|0,-1,-1)|0;c=iw(c|0,C|0,d|0,g|0)|0;h=C;g=qw(c|0,h|0,d|0,g|0)|0;g=cw(c|0,h|0,g|0,C|0)|0;h=C;c=da(e+36|0,4,0,0)|0|0;d=((c|0)<0)<<31>>31;do if((h|0)>(d|0)|(h|0)==(d|0)&g>>>0>c>>>0){f=da(e+40|0,4,0,0)|0|0;b=c+-1+(f<<1)|0;b=b+~((b|0)%(f|0)|0)|0;c=((b|0)<0)<<31>>31;d=a+20|0;if((c|0)<(h|0)|(c|0)==(h|0)&b>>>0<g>>>0){e=((f|0)<0)<<31>>31;do{a=(uo(da(k|0,4,0,0)|0|0,b,c,10360,1,d)|0)==1;b=iw(b|0,c|0,f|0,e|0)|0;c=C;if(!a){d=778;break a}}while((c|0)<(h|0)|(c|0)==(h|0)&b>>>0<g>>>0);b=qw(g|0,h|0,f|0,e|0)|0;if((b|0)==0&(C|0)==0)break}b=iw(g|0,h|0,-1,-1)|0;if((uo(da(k|0,4,0,0)|0|0,b,C,10360,1,d)|0)!=1){d=778;break a}}while(0);d=0}else d=1802}else d=0;break}case 16:{d=a+4|0;b=Sc(da((da(d|0,4,0,0)|0|0)+8|0,4,0,0)|0|0)|0;if(!b)d=0;else{Zn(da((da(d|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,b)|0;ea(c|0,b|0,4,0);d=0}break}case 13:{vo(a,16,c);d=0;break}case 1:{ea(c|0,da(a+16>>0|0,1,0,1)|0|0,4,0);d=0;break}default:d=12}while(0);i=l;return d|0}function kk(a){a=a|0;return 4096}function lk(a){a=a|0;return ((da(a+18|0,2,0,0)|0)&16)<<8|0}function mk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=da(a+36|0,4,0,0)|0|0;f=da(i|0,4,0,0)|0|0;j=(1<<c+b)-(1<<b)|0;a:do if(!(d&1)){g=da(f+32|0,4,0,0)|0|0;f=(g|0)==0;if(d&4){if(f)d=0;else{d=0;f=g;do{if(j&(da(f+12|0,2,0,1)|0|0)){e=5;break a}d=da(f+10|0,2,0,0)|0|d;f=da(f+4|0,4,0,0)|0|0}while((f|0)!=0)}if((j&(d&65535)|0)==0?(h=xo(a,0,b+120|0,c)|0,(h|0)!=0):0){e=h;break}e=i+10|0;ea(e|0,da(e|0,2,0,1)|0|0|j|0,2,0);e=0;break}if(!f){e=j&65535;d=g;do{if((da(d+12|0,2,0,1)|0|0)&e){e=5;break a}if((da(d+10|0,2,0,1)|0|0)&e){e=5;break a}d=da(d+4|0,4,0,0)|0|0}while((d|0)!=0)}e=xo(a,1,b+120|0,c)|0;if(!e){e=i+12|0;ea(e|0,da(e|0,2,0,1)|0|0|j|0,2,0);e=0}}else{f=da(f+32|0,4,0,0)|0|0;if(!f)d=0;else{d=0;do{if((f|0)!=(i|0))d=da(f+10|0,2,0,0)|0|d;f=da(f+4|0,4,0,0)|0|0}while((f|0)!=0)}if((d&65535&j|0)==0?(e=xo(a,2,b+120|0,c)|0,(e|0)!=0):0)break;e=(j|-65536)^65535;d=i+12|0;ea(d|0,(da(d|0,2,0,1)|0|0)&e|0,2,0);d=i+10|0;ea(d|0,(da(d|0,2,0,1)|0|0)&e|0,2,0);e=0}while(0);return e|0}function nk(a){a=a|0;return}function ok(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=a+36|0;f=da(e|0,4,0,0)|0|0;if(f){g=da(f|0,4,0,0)|0|0;c=g+32|0;while(1){d=da(c|0,4,0,0)|0|0;if((d|0)==(f|0))break;else c=d+4|0}ea(c|0,da(f+4|0,4,0,0)|0|0,4,0);Vc(f);ea(e|0,0|0,4,0);d=g+28|0;c=(da(d|0,4,0,0)|0|0)+-1|0;ea(d|0,c|0,4,0);if(!c){if((b|0)!=0?(da(g+12|0,4,0,0)|0|0)>-1:0)kc[(fa(da(47552+196|0,4,0,0)|0|0,127|0)|0)&127](da(g+8|0,4,0,0)|0|0)|0;yo(a)}}return 0}function pk(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ea(e|0,0|0,4,0);return 0}function qk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function rk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();e=d;ea(e|0,c|0,4,0);b=pb(a|0,b|0,e|0)|0;i=d;return b|0}function sk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+528|0;if((i|0)>=(j|0))ba();d=g;e=g+8|0;ea(d|0,a|0,4,0);$c(512,e,10344,d)|0;a=fw(e|0)|0;a:do if((a|0)>1)while(1){c=a+-1|0;if((da(e+a>>0|0,1,0,0)|0|0)==47)break a;if((c|0)>1)a=c;else{a=c;break}}while(0);if((a|0)>0){ea(e+a>>0|0,0|0,1,0);a=_n(e,0,0)|0;ea(b|0,a|0,4,0);if((a|0)>-1)a=0;else f=7}else{ea(b|0,-1|0,4,0);f=7}if((f|0)==7){ea(d|0,28919|0,4,0);ea(d+4|0,10788|0,4,0);ad(14,14848,d);a=bo(14,47896,e,28919)|0}i=g;return a|0}function tk(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Jb()|0))a=Pb(a|0,b|0,c|0)|0;else a=0;return a|0}function uk(){return vb(30)|0}function vk(a){a=a|0;to(a);return 0}function wk(a,b){a=a|0;b=b|0;return 0}function xk(a,b){a=a|0;b=b|0;return 0}function yk(a,b){a=a|0;b=b|0;ea(b|0,0|0,4,0);return 0}function zk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;ao(a);Bk(a,0)|0;e=da(a+8|0,4,0,0)|0|0;if(e){if(da(e+24|0,4,0,0)|0){b=a+28|0;c=da(b|0,4,0,0)|0|0;d=e+28|0;ea(c+8|0,da(d|0,4,0,0)|0|0,4,0);ea(d|0,c|0,4,0);ea(a+12|0,-1|0,4,0);ea(b|0,0|0,4,0)}c=e+16|0;b=(da(c|0,4,0,0)|0|0)+-1|0;ea(c|0,b|0,4,0);if(!b){zo(a);f=e+36|0;b=da(f|0,4,0,0)|0|0;c=e+32|0;d=da(c|0,4,0,0)|0|0;if(!b)ea(12178*4|0,d|0,4,0);else ea(b+32|0,d|0,4,0);b=da(c|0,4,0,0)|0|0;if(b)ea(b+36|0,da(f|0,4,0,0)|0|0,4,0);Vc(e)}}to(a);return 0}function Ak(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();h=n;l=a+16|0;c=da(l>>0|0,1,0,0)|0|0;a:do if((c&255|0)<(b|0)){g=da(a+8|0,4,0,0)|0|0;m=g+12|0;d=da(m>>0|0,1,0,0)|0|0;if(c<<24>>24!=d<<24>>24?(d&255)>2|(b|0)>1:0){c=5;break}e=(b|0)==1;do if(e)if((d+-1&255)<2){ea(l>>0|0,1|0,1,0);c=g+8|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=g+24|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=0;break a}else{d=h+8|0;ea(d|0,1|0,4,0);ea(h+2|0,0|0,2,0);k=10;break}else{d=h+8|0;ea(d|0,1|0,4,0);ea(h+2|0,0|0,2,0);if((b|0)==4)if((c&255)<3)k=10;else{f=d;k=14}else{e=d;k=24}}while(0);if((k|0)==10){ea(h|0,e&1^1|0,2,0);ea(h+4|0,da(2514*4|0,4,0,0)|0|0,4,0);if(!(Ao(a,h)|0)){f=d;k=14}else{d=da(Gb()|0|0,4,0,0)|0|0;switch(d|0){case 1:{c=3;break}case 13:case 37:case 4:case 16:case 110:case 11:{c=5;break a}default:c=3850}ea(a+20|0,d|0,4,0);break}}b:do if((k|0)==14)if(e){e=h+4|0;ea(e|0,(da(2514*4|0,4,0,0)|0|0)+2|0,4,0);ea(f|0,510|0,4,0);c:do if(!(Ao(a,h)|0)){c=0;d=0}else{d=da(Gb()|0|0,4,0,0)|0|0;switch(d|0){case 1:{c=3;d=1;break c}case 13:case 37:case 4:case 16:case 110:case 11:{c=5;break c}default:{c=3850;break c}}}while(0);ea(e|0,da(2514*4|0,4,0,0)|0|0,4,0);ea(f|0,1|0,4,0);ea(h|0,2|0,2,0);do if((Ao(a,h)|0)!=0&(c|0)==0){c=2058;d=da(Gb()|0|0,4,0,0)|0|0}else{if((c|0)==5){c=5;break a}else if(c)break;ea(l>>0|0,1|0,1,0);h=g+24|0;ea(h|0,(da(h|0,4,0,0)|0|0)+1|0,4,0);ea(g+8|0,1|0,4,0);break b}while(0);ea(a+20|0,d|0,4,0);break a}else{e=f;k=24}while(0);do if((k|0)==24){f=(b|0)==4;if(f)if((da(g+8|0,4,0,0)|0|0)>1)c=5;else{ea(h|0,1|0,2,0);d=da(2514*4|0,4,0,0)|0|0;k=29}else{ea(h|0,1|0,2,0);d=da(2514*4|0,4,0,0)|0|0;if((b|0)==2){ea(h+4|0,d+1|0,4,0);d=1;k=30}else k=29}if((k|0)==29){ea(h+4|0,d+2|0,4,0);d=510;k=30}if((k|0)==30){ea(e|0,d|0,4,0);if(!(Ao(a,h)|0))break;d=da(Gb()|0|0,4,0,0)|0|0;switch(d|0){case 1:{c=3;k=33;break}case 13:case 37:case 4:case 16:case 110:case 11:{c=5;break}default:{c=3850;k=33}}if((k|0)==33)ea(a+20|0,d|0,4,0);if(!f)break a}ea(l>>0|0,3|0,1,0);ea(m>>0|0,3|0,1,0);break a}while(0);c=b&255;ea(l>>0|0,c|0,1,0);ea(m>>0|0,c|0,1,0);c=0}else c=0;while(0);i=n;return c|0}function Bk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();f=k;g=a+16|0;c=da(g>>0|0,1,0,0)|0|0;a:do if((c&255|0)>(b|0)){h=da(a+8|0,4,0,0)|0|0;do if((c&255)>1){if((b|0)==1){ea(f|0,0|0,2,0);e=f+2|0;ea(e|0,0|0,2,0);c=f+4|0;ea(c|0,(da(2514*4|0,4,0,0)|0|0)+2|0,4,0);d=f+8|0;ea(d|0,510|0,4,0);if(Ao(a,f)|0){ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);c=2314;break a}}else{d=f+8|0;e=f+2|0;c=f+4|0}ea(f|0,2|0,2,0);ea(e|0,0|0,2,0);ea(c|0,da(2514*4|0,4,0,0)|0|0,4,0);ea(d|0,2|0,4,0);if(!(Ao(a,f)|0)){ea(h+12>>0|0,1|0,1,0);break}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);c=2058;break a}}while(0);if(!b){d=h+8|0;c=(da(d|0,4,0,0)|0|0)+-1|0;ea(d|0,c|0,4,0);do if(!c){ea(f|0,2|0,2,0);ea(f+2|0,0|0,2,0);ea(f+8|0,0|0,4,0);ea(f+4|0,0|0,4,0);if(!(Ao(a,f)|0)){ea(h+12>>0|0,0|0,1,0);c=0;break}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);ea(h+12>>0|0,0|0,1,0);ea(g>>0|0,0|0,1,0);c=2058;break}}else c=0;while(0);e=h+24|0;d=(da(e|0,4,0,0)|0|0)+-1|0;ea(e|0,d|0,4,0);if(!d)zo(a);if(c)break}ea(g>>0|0,b|0,1,0);c=0}else c=0;while(0);i=k;return c|0}function Ck(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=i;i=i+32|0;if((i|0)>=(j|0))ba();e=g;f=g+8|0;d=da(a+8|0,4,0,0)|0|0;h=(da(d+12>>0|0,1,0,1)|0|0)>1;c=h&1;do if(!h)if(!(da(d+13>>0|0,1,0,0)|0)){ea(f+2|0,0|0,2,0);ea(f+4|0,(da(2514*4|0,4,0,0)|0|0)+1|0,4,0);ea(f+8|0,1|0,4,0);ea(f|0,1|0,2,0);h=da(11910*4|0,4,0,0)|0|0;d=da(a+12|0,4,0,0)|0|0;ea(e|0,f|0,4,0);if(!($b[(fa(h|0,63|0)|0)&63](d,12,e)|0)){d=0;c=(da(f|0,2,0,0)|0|0)==2?c:1;break}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);d=3594;break}}else{d=0;c=0}else{d=0;c=1}while(0);ea(b|0,c|0,4,0);i=g;return d|0}function Dk(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+160|0;if((i|0)>=(j|0))ba();u=w;p=w+76|0;g=gc[(fa(da(47552+292|0,4,0,0)|0|0,7|0)|0)&7]()|0;if((g|0)<32768)v=1;else v=(g|0)/32768|0;s=a+36|0;g=da(s|0,4,0,0)|0|0;a:do if(!g){g=Sc(16)|0;if(!g)f=7;else{ea(g+0|0,0|0,4,0);ea(g+4|0,0|0,4,0);ea(g+8|0,0|0,4,0);ea(g+12|0,0|0,4,0);n=a+8|0;m=da(n|0,4,0,0)|0|0;f=da(m+20|0,4,0,0)|0|0;b:do if(!f){l=a+32|0;h=da(l|0,4,0,0)|0|0;if((qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](da(a+12|0,4,0,0)|0|0,p)|0)!=0?(da(m+13>>0|0,1,0,0)|0|0)==0:0)f=1802;else t=8;c:do if((t|0)==8){f=fw(h|0)|0;k=f+42|0;q=Sc(k)|0;if(q){ew(q|0,0,k|0)|0;o=q+36|0;ea(q+8|0,o|0,4,0);ea(u|0,h|0,4,0);$c(f+6|0,o,48720,u)|0;f=q+12|0;ea(f|0,-1|0,4,0);n=da(n|0,4,0,0)|0|0;ea(n+20|0,q|0,4,0);ea(q|0,n|0,4,0);ea(q+4|0,8|0,4,0);if(da(m+13>>0|0,1,0,0)|0){f=q;break b}if(!(eg(da(l|0,4,0,0)|0|0,48728,0)|0))k=66;else{ea(q+22>>0|0,1|0,1,0);k=0}h=_n(o,k,(da(p+12|0,4,0,0)|0)&511)|0;ea(f|0,h|0,4,0);if((h|0)<0){ea(u|0,29706|0,4,0);ea(u+4|0,10788|0,4,0);ad(14,14848,u);f=bo(14,47896,o,29706)|0;break}$b[(fa(da(47552+244|0,4,0,0)|0|0,63|0)|0)&63](h,da(p+20|0,4,0,0)|0|0,da(p+24|0,4,0,0)|0|0)|0;do if(!(xo(a,1,128,1)|0)){f=da(f|0,4,0,0)|0|0;do{h=qc[(fa(da(47552+76|0,4,0,0)|0|0,127|0)|0)&127](f,0)|0;if((h|0)>=0){r=h;t=18;break}}while((da(Gb()|0|0,4,0,0)|0|0)==4);if((t|0)==18?(r|0)==0:0)break;f=bo(4618,47928,o,29722)|0;if(f)break c}while(0);f=xo(a,0,128,1)|0;if(!f){f=q;break b}}else f=7}while(0);yo(a);Vc(g);if(f)break a;g=da(s|0,4,0,0)|0|0;t=24;break a}while(0);ea(g|0,f|0,4,0);t=f+28|0;ea(t|0,(da(t|0,4,0,0)|0|0)+1|0,4,0);ea(a+36|0,g|0,4,0);t=f+32|0;ea(g+4|0,da(t|0,4,0,0)|0|0,4,0);ea(t|0,g|0,4,0);t=24}}else t=24;while(0);if((t|0)==24){a=da(g|0,4,0,0)|0|0;s=v+b|0;s=s-((s|0)%(v|0)|0)|0;p=a+20|0;d:do if((da(p|0,2,0,1)|0|0)<(s|0)){f=_(s,c)|0;ea(a+16|0,c|0,4,0);r=a+12|0;g=da(r|0,4,0,0)|0|0;e:do if((g|0)>-1){if(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](g,u)|0){g=4874;break d}g=da(u+36|0,4,0,0)|0|0;if((g|0)<(f|0)){if(!d){g=0;break d}g=(g|0)/4096|0;f=(f|0)/4096|0;if((g|0)<(f|0)){while(1){q=g<<12|4095;g=g+1|0;if((uo(da(r|0,4,0,0)|0|0,q,((q|0)<0)<<31>>31,10360,1,0)|0)!=1)break;if((g|0)>=(f|0))break e}g=bo(4874,47976,da(a+8|0,4,0,0)|0|0,29853)|0;break d}}}while(0);o=a+24|0;g=Wc(da(o|0,4,0,0)|0|0,s<<2)|0;if(g){ea(o|0,g|0,4,0);g=da(p|0,2,0,1)|0|0;if((g|0)<(s|0)){m=_(v,c)|0;l=a+22|0;n=(v|0)>0;while(1){f=da(r|0,4,0,0)|0|0;if((f|0)>-1){g=_(g,c)|0;g=jc[(fa(da(47552+256|0,4,0,0)|0|0,7|0)|0)&7](0,m,(da(l>>0|0,1,0,0)|0|0)!=0?1:3,1,f,g)|0;if((g|0)==(-1|0))break}else{g=Sc(c)|0;if(!g){g=7;break d}ew(g|0,0,c|0)|0}h=da(p|0,2,0,0)|0|0;if(n){f=h&65535;k=0;do{q=g+(_(k,c)|0)|0;ea((da(o|0,4,0,0)|0|0)+(f+k<<2)|0,q|0,4,0);k=k+1|0}while((k|0)!=(v|0))}g=(h&65535)+v|0;ea(p|0,g|0,2,0);g=g&65535;if((g|0)>=(s|0)){g=0;break d}}g=bo(5386,48080,da(a+8|0,4,0,0)|0|0,29880)|0}else g=0}else g=3082}else g=0;while(0);if((da(p|0,2,0,1)|0|0)>(b|0))f=da((da(a+24|0,4,0,0)|0|0)+(b<<2)|0,4,0,0)|0|0;else f=0;ea(e|0,f|0,4,0);f=(da(a+22>>0|0,1,0,0)|0|0)!=0&(g|0)==0?8:g}i=w;return f|0}function Ek(a,b){a=a|0;b=b|0;var c=0;if(b)do{c=b;b=da(b+32|0,4,0,0)|0|0;Fk(a,da(c+20|0,4,0,0)|0|0);Mk(a,da(c+24|0,4,0,0)|0|0);Lk(a,da(c+8|0,4,0,0)|0|0,1);Gk(a,da(c+28|0,4,0,0)|0|0);lg(a,c)}while((b|0)!=0);return}function Fk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(b){e=b+4|0;do if(!((da(e|0,4,0,0)|0)&16384)){Fk(a,da(b+12|0,4,0,0)|0|0);Fk(a,da(b+16|0,4,0,0)|0|0);c=da(e|0,4,0,0)|0|0;if(c&65536){lg(a,da(b+8|0,4,0,0)|0|0);c=da(e|0,4,0,0)|0|0}d=b+20|0;if(!(c&2048)){Mk(a,da(d|0,4,0,0)|0|0);break}else{Lk(a,da(d|0,4,0,0)|0|0,1);break}}while(0);if(!((da(e|0,4,0,0)|0)&32768))lg(a,b)}return}function Gk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(b){e=b+4|0;c=da(b|0,4,0,0)|0|0;if((da(e|0,4,0,0)|0|0)>0){d=0;do{lg(a,da(c+(d<<3)|0,4,0,0)|0|0);d=d+1|0;c=da(b|0,4,0,0)|0|0}while((d|0)<(da(e|0,4,0,0)|0|0))}lg(a,c);lg(a,b)}return}function Hk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;h=an(a,b,m)|0;do if(!h)if(c){l=pg(16,0)|0;if(!l)d=c;else{ea(l+12|0,b|0,4,0);ea(l+8|0,c|0,4,0);k=a+4|0;f=(da(k|0,4,0,0)|0|0)+1|0;ea(k|0,f|0,4,0);if((f>>>0>9?(e=da(a|0,4,0,0)|0|0,f>>>0>e<<1>>>0):0)?(g=f<<4>>>0>1024?128:f<<1,(g|0)!=(e|0)):0){d=da(3164*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]();k=pg(g<<3,0)|0;d=da(3166*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]();if(k){h=a+12|0;Vc(da(h|0,4,0,0)|0|0);ea(h|0,k|0,4,0);h=(kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](k)|0)>>>3;ea(a|0,h|0,4,0);ew(k|0,0,h<<3|0)|0;c=a+8|0;f=da(c|0,4,0,0)|0|0;ea(c|0,0|0,4,0);if(f)do{g=da(f+12|0,4,0,0)|0|0;e=da(g>>0|0,1,0,0)|0|0;if(!(e<<24>>24))e=0;else{c=e;e=0;do{g=g+1|0;e=e<<3^e^(da(9328+(c&255)>>0|0,1,0,1)|0|0);c=da(g>>0|0,1,0,0)|0|0}while(c<<24>>24!=0)}c=f;f=da(f|0,4,0,0)|0|0;Bo(a,k+(((e>>>0)%(h>>>0)|0)<<3)|0,c)}while((f|0)!=0);d=da(b>>0|0,1,0,0)|0|0;if(!(d<<24>>24))d=0;else{f=d;d=0;do{b=b+1|0;d=d<<3^d^(da(9328+(f&255)>>0|0,1,0,1)|0|0);f=da(b>>0|0,1,0,0)|0|0}while(f<<24>>24!=0)}ea(m|0,(d>>>0)%((da(a|0,4,0,0)|0|0)>>>0)|0|0,4,0)}}d=da(a+12|0,4,0,0)|0|0;if(!d)d=0;else d=d+((da(m|0,4,0,0)|0)<<3)|0;Bo(a,d,l);d=0}}else d=0;else{f=h+8|0;d=da(f|0,4,0,0)|0|0;if(c){ea(f|0,c|0,4,0);ea(h+12|0,b|0,4,0);break}g=da(m|0,4,0,0)|0|0;f=da(h+4|0,4,0,0)|0|0;e=da(h|0,4,0,0)|0|0;if(!f)ea(a+8|0,e|0,4,0);else{ea(f|0,e|0,4,0);e=da(h|0,4,0,0)|0|0}if(e)ea(e+4|0,f|0,4,0);b=da(a+12|0,4,0,0)|0|0;if(b){f=b+(g<<3)+4|0;if((da(f|0,4,0,0)|0|0)==(h|0))ea(f|0,e|0,4,0);m=b+(g<<3)|0;ea(m|0,(da(m|0,4,0,0)|0|0)+-1|0,4,0)}Vc(h);l=a+4|0;m=(da(l|0,4,0,0)|0|0)+-1|0;ea(l|0,m|0,4,0);if(!m)Nl(a)}while(0);i=n;return d|0}function Ik(a,b){a=a|0;b=b|0;Fk(a,da(b+36|0,4,0,0)|0|0);lg(a,da(b+16|0,4,0,0)|0|0);if((da(b+51>>0|0,1,0,0)|0)&16)lg(a,da(b+32|0,4,0,0)|0|0);lg(a,b);return}function Jk(a,b){a=a|0;b=b|0;var c=0;if(b){c=da(b+28|0,4,0,0)|0|0;Fk(a,da(c+20|0,4,0,0)|0|0);Mk(a,da(c+24|0,4,0,0)|0|0);Lk(a,da(c+8|0,4,0,0)|0|0,1);Fk(a,da(b+12|0,4,0,0)|0|0);lg(a,b)}return}function Kk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=b+4|0;c=da(e|0,4,0,0)|0|0;if(c){b=b+38|0;if((da(b|0,2,0,0)|0|0)>0){d=0;while(1){lg(a,da(c|0,4,0,0)|0|0);Fk(a,da(c+4|0,4,0,0)|0|0);lg(a,da(c+8|0,4,0,0)|0|0);lg(a,da(c+12|0,4,0,0)|0|0);lg(a,da(c+16|0,4,0,0)|0|0);d=d+1|0;if((d|0)>=(da(b|0,2,0,0)|0|0))break;else c=c+24|0}c=da(e|0,4,0,0)|0|0}lg(a,c)}return}function Lk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(b){d=(c|0)==0;c=b;while(1){b=c;c=da(c+52|0,4,0,0)|0|0;Mk(a,da(b|0,4,0,0)|0|0);Co(a,da(b+32|0,4,0,0)|0|0);Fk(a,da(b+36|0,4,0,0)|0|0);Mk(a,da(b+40|0,4,0,0)|0|0);Fk(a,da(b+44|0,4,0,0)|0|0);Mk(a,da(b+48|0,4,0,0)|0|0);Fk(a,da(b+60|0,4,0,0)|0|0);Fk(a,da(b+64|0,4,0,0)|0|0);Pn(a,da(b+68|0,4,0,0)|0|0);if(!d)lg(a,b);if(!c)break;else d=0}}return}function Mk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(b){c=b+4|0;if((da(b|0,4,0,0)|0|0)>0){d=0;e=da(c|0,4,0,0)|0|0;while(1){Fk(a,da(e|0,4,0,0)|0|0);lg(a,da(e+4|0,4,0,0)|0|0);lg(a,da(e+8|0,4,0,0)|0|0);d=d+1|0;if((d|0)>=(da(b|0,4,0,0)|0|0))break;else e=e+20|0}}lg(a,da(c|0,4,0,0)|0|0);lg(a,b)}return}function Nk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=b+60|0;c=da(g|0,4,0,0)|0|0;ea(g|0,0|0,4,0);a:do if(!c)b=0;else{b=0;do{while(1){e=da(c|0,4,0,0)|0|0;d=c+24|0;f=c;c=da(d|0,4,0,0)|0|0;if((e|0)==(a|0)){b=f;break}e=e+332|0;ea(d|0,da(e|0,4,0,0)|0|0,4,0);ea(e|0,f|0,4,0);if(!c)break a}ea(g|0,b|0,4,0);ea(d|0,0|0,4,0)}while((c|0)!=0)}while(0);return b|0}function Ok(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)!=0?(d=b+(c*20|0)|0,(c|0)>0):0){c=b;do{Hn(a,da(c+1>>0|0,1,0,0)|0|0,da(c+16|0,4,0,0)|0|0);c=c+20|0}while(c>>>0<d>>>0)}lg(a,b);return}function Pk(a,b){a=a|0;b=b|0;do if(!a)b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0;else{if((da(a+276|0,4,0,0)|0|0)>>>0<=b>>>0?(da(a+280|0,4,0,0)|0|0)>>>0>b>>>0:0){b=da(a+248|0,2,0,1)|0|0;break}b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0}while(0);a=da(a+520|0,4,0,0)|0|0;ea(a|0,(da(a|0,4,0,0)|0|0)+b|0,4,0);return}function Qk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=da(a+(b<<2)|0,4,0,0)|0|0;a:do if(!a)a=0;else while(1){b=da(a+24|0,4,0,0)|0|0;if((Ec(b,c,d)|0)==0?(da(b+d>>0|0,1,0,0)|0|0)==0:0)break a;a=da(a+28|0,4,0,0)|0|0;if(!a){a=0;break}}while(0);return a|0}function Rk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=a+12|0;e=da(d|0,4,0,0)|0|0;f=e+c|0;if((f|0)<(da(a+16|0,4,0,0)|0|0)){ea(d|0,f|0,4,0);jw((da(a+8|0,4,0,0)|0|0)+e|0,b|0,c|0)|0}else Do(a,b,c);return}function Sk(a){a=a|0;var b=0,c=0;c=a+4|0;b=da(c|0,4,0,0)|0|0;if((da(a|0,4,0,0)|0|0)>(b|0)){ea(c|0,b+1|0,4,0);c=Ug(da((da(a+8|0,4,0,0)|0|0)+(b<<2)|0,4,0,0)|0|0)|0;b=C}else{b=0;c=0}C=b;return c|0}function Tk(a){a=a|0;var b=0,c=0;b=a+4|0;c=da(b|0,4,0,0)|0|0;if((da(a|0,4,0,0)|0|0)>(c|0)){ea(b|0,c+1|0,4,0);b=Rg(da((da(a+8|0,4,0,0)|0|0)+(c<<2)|0,4,0,0)|0|0,1)|0}else b=0;return b|0}function Uk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=a+12|0;g=da(e|0,4,0,0)|0|0;g=iw(g|0,((g|0)<0)<<31>>31|0,b|0,((b|0)<0)<<31>>31|0)|0;i=C;f=da(a+16|0,4,0,0)|0|0;h=((f|0)<0)<<31>>31;if((i|0)<(h|0)|(i|0)==(h|0)&g>>>0<f>>>0){if((b|0)>0)d=4}else{b=Eo(a,b)|0;if((b|0)>=1)d=4}if((d|0)==4){a=a+8|0;do{b=b+-1|0;d=da(e|0,4,0,0)|0|0;ea(e|0,d+1|0,4,0);ea((da(a|0,4,0,0)|0|0)+d>>0|0,c|0,1,0)}while((b|0)>0)}return}function Vk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=i;i=i+112|0;if((i|0)>=(j|0))ba();g=d+28|0;f=d;e=da(a+88|0,4,0,0)|0|0;ea(f+4|0,g|0,4,0);ea(f+8|0,g|0,4,0);ea(f+12|0,0|0,4,0);ea(f+16|0,70|0,4,0);ea(f+20|0,e|0,4,0);ea(f+24>>0|0,1|0,1,0);e=f+25|0;ea(e>>0|0,0|0,1,0);ea(f|0,a|0,4,0);rg(f,1,b,c);c=sg(f)|0;if((da(e>>0|0,1,0,0)|0|0)==1)ea(a+65>>0|0,1|0,1,0);i=d;return c|0}function Wk(a){a=a|0;return kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0}function Xk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+80|0;if((i|0)>=(j|0))ba();h=k+40|0;e=k;if((b|0)!=0?(d=da(b+20|0,4,0,0)|0|0,(d|0)!=0):0){ea(h+0|0,0|0,4,0);ea(h+4|0,0|0,4,0);ea(h+8|0,0|0,4,0);ea(h+12|0,0|0,4,0);ea(h+16|0,0|0,4,0);ea(h+20|0,0|0,4,0);ea(h+24|0,0|0,4,0);f=e+0|0;g=f+40|0;do{ea(f|0,0|0,4,0);f=f+4|0}while((f|0)<(g|0));ea(e+8|0,1|0,2,0);c=a+32|0;ea(e+32|0,da(c|0,4,0,0)|0|0,4,0);ea(h|0,e|0,4,0);ea(h+8|0,a|0,4,0);ea(h+4|0,b|0,4,0);bc[(fa(d|0,31|0)|0)&31](h);if((da(a+24|0,4,0,0)|0|0)>0)lg(da(c|0,4,0,0)|0|0,da(a+20|0,4,0,0)|0|0);f=a+0|0;c=e+0|0;g=f+40|0;do{ea(f|0,da(c|0,4,0,0)|0|0,4,0);f=f+4|0;c=c+4|0}while((f|0)<(g|0));c=da(h+20|0,4,0,0)|0|0}else c=0;i=k;return c|0}function Yk(a){a=a|0;var b=0,c=0,d=0;b=da(a|0,4,0,0)|0|0;if(b){c=a+4|0;do{d=b;b=da(b|0,4,0,0)|0|0;lg(da(c|0,4,0,0)|0|0,d)}while((b|0)!=0)}ea(a|0,0|0,4,0);ea(a+24|0,0|0,2,0);ea(a+8|0,0|0,4,0);ea(a+12|0,0|0,4,0);ea(a+20|0,0|0,4,0);ea(a+26|0,1|0,2,0);return}function Zk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;e=g+4|0;b=da(a|0,4,0,0)|0|0;c=b+16|0;do if((da((da(c|0,4,0,0)|0|0)+20|0,4,0,0)|0|0)==0?(da(a+450>>0|0,1,0,0)|0|0)==0:0){d=ym(da(b|0,4,0,0)|0|0,0,b,e,0,542)|0;if(d){sh(a,25496,f);ea(a+12|0,d|0,4,0);b=1;break}d=da(e|0,4,0,0)|0|0;ea((da(c|0,4,0,0)|0|0)+20|0,d|0,4,0);if((wg(d,da(b+72|0,4,0,0)|0|0,-1,0)|0)==7){ea(b+65>>0|0,1|0,1,0);b=1}else b=0}else b=0;while(0);i=g;return b|0}function _k(a){a=a|0;var b=0;do if(a)if((da(3157*4|0,4,0,0)|0|0)>>>0<=a>>>0&(da(3158*4|0,4,0,0)|0|0)>>>0>a>>>0){ea(2167*4|0,(da(2167*4|0,4,0,0)|0|0)+-1|0,4,0);ea(a|0,da(3160*4|0,4,0,0)|0|0,4,0);ea(3160*4|0,a|0,4,0);a=(da(3161*4|0,4,0,0)|0|0)+1|0;ea(3161*4|0,a|0,4,0);ea(3162*4|0,(a|0)<(da(3156*4|0,4,0,0)|0|0)&1|0,4,0);break}else{b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0;ea(2168*4|0,(da(2168*4|0,4,0,0)|0|0)-b|0,4,0);Vc(a);break}while(0);return}function $k(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();k=n;h=da(b|0,4,0,0)|0|0;if((da(a+15>>0|0,1,0,0)|0|0)!=0?(da(a+24|0,4,0,0)|0|0)!=0:0)m=12;else m=3;do if((m|0)==3){g=a+204|0;if(((h|0)!=0?(da((da(g|0,4,0,0)|0|0)+12|0,4,0,0)|0|0)==0:0)?(l=a+152|0,(h|0)!=(da(l|0,4,0,0)|0|0)):0){o=k;ea(o|0,0|0,4,0);ea(o+4|0,0|0,4,0);if(((da(a+16>>0|0,1,0,0)|0|0)!=0?(e=da(a+60|0,4,0,0)|0|0,d=da(e|0,4,0,0)|0|0,(d|0)!=0):0)?(f=qc[(fa(da(d+24|0,4,0,0)|0|0,127|0)|0)&127](e,k)|0,(f|0)!=0):0){d=0;c=f}else{d=Fo(h)|0;if(d){wn(a);e=Go(da(g|0,4,0,0)|0|0,h)|0;if(!e){m=a+200|0;_k(da(m|0,4,0,0)|0|0);ea(m|0,d|0,4,0);m=k;k=da(m|0,4,0,0)|0|0;m=da(m+4|0,4,0,0)|0|0;g=iw(h|0,0,-1,-1)|0;m=iw(g|0,C|0,k|0,m|0)|0;m=pw(m|0,C|0,h|0,0)|0;ea(a+24|0,m|0,4,0);ea(l|0,h|0,4,0);m=12;break}else c=e}else{d=0;c=7}}_k(d);ea(b|0,da(l|0,4,0,0)|0|0,4,0)}else m=12}while(0);if((m|0)==12){ea(b|0,da(a+152|0,4,0,0)|0|0,4,0);d=a+142|0;if((c|0)<0)c=da(d|0,2,0,0)|0|0;ea(d|0,c|0,2,0);c=0}i=n;return c|0}function al(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=da(a+4|0,4,0,0)|0|0;a:do if(da(a+9>>0|0,1,0,0)|0){if((da(e+76|0,4,0,0)|0|0)!=(a|0)?((da(e+22|0,2,0,0)|0)&32)!=0:0){d=262;break}d=da(e+72|0,4,0,0)|0|0;if(d){while(1){if(((da(d|0,4,0,0)|0|0)!=(a|0)?(da(d+4|0,4,0,0)|0|0)==(b|0):0)?(da(d+8>>0|0,1,0,0)|0|0)!=c<<24>>24:0)break;d=da(d+12|0,4,0,0)|0|0;if(!d){d=0;break a}}if(c<<24>>24==2){d=e+22|0;ea(d|0,da(d|0,2,0,1)|0|64|0,2,0);d=262}else d=262}else d=0}else d=0;while(0);return d|0}function bl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=i;i=i+64|0;if((i|0)>=(j|0))ba();B=C;y=C+28|0;x=C+24|0;h=C+20|0;o=C+48|0;q=C+16|0;r=C+12|0;v=C+8|0;w=C+32|0;if(!((da(a+15>>0|0,1,0,0)|0|0)!=0?(b=da(a+40|0,4,0,0)|0|0,(b|0)!=0):0))A=3;do if((A|0)==3){z=a+208|0;c=da(z|0,4,0,0)|0|0;a:do if(!c){u=a+16|0;do if(!(da(u>>0|0,1,0,0)|0)){e=a+176|0;d=a+180|0;while(1){b=el(a,1)|0;if(!b)break;else if((b|0)!=5)break a;if(!(kc[(fa(da(e|0,4,0,0)|0|0,127|0)|0)&127](da(d|0,4,0,0)|0|0)|0)){b=5;break a}}p=a+17|0;if((da(p>>0|0,1,0,1)|0|0)<2){c=da(a|0,4,0,0)|0|0;ea(B|0,1|0,4,0);f=a+64|0;g=(da(da(f|0,4,0,0)|0|0,4,0,0)|0|0)!=0;if(g){e=1;b=0}else{b=oc[(fa(da(c+32|0,4,0,0)|0|0,31|0)|0)&31](c,da(a+172|0,4,0,0)|0|0,0,B)|0;e=(da(B|0,4,0,0)|0|0)!=0}b:do if((b|0)==0&e){ea(y|0,0|0,4,0);d=a+60|0;b=da(d|0,4,0,0)|0|0;b=qc[(fa(da((da(b|0,4,0,0)|0|0)+36|0,4,0,0)|0|0,127|0)|0)&127](b,y)|0;if(!(da(y|0,4,0,0)|0|b)){b=Ho(a,x)|0;if(!b){if((da(x|0,4,0,0)|0|0)!=0|g){do if(!g){ea(h|0,2049|0,4,0);b=sc[(fa(da(c+24|0,4,0,0)|0|0,31|0)|0)&31](c,da(a+172|0,4,0,0)|0|0,da(f|0,4,0,0)|0|0,2049,h)|0;if(!b)break;else if((b|0)!=14){e=0;break b}e=1;b=0;break b}while(0);ea(o>>0|0,0|0,1,0);b=da(f|0,4,0,0)|0|0;b=sc[(fa(da((da(b|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](b,o,1,0,0)|0;b=(b|0)==522?0:b;if(!g?(m=da(f|0,4,0,0)|0|0,n=da(m|0,4,0,0)|0|0,(n|0)!=0):0){kc[(fa(da(n+4|0,4,0,0)|0|0,127|0)|0)&127](m)|0;ea(m|0,0|0,4,0)}e=(da(o>>0|0,1,0,0)|0|0)!=0&1;break}e=da(3164*4|0,4,0,0)|0|0;if(e)mc[(fa(e|0,3|0)|0)&3]();do if(((el(a,2)|0)==0?($b[(fa(da(c+28|0,4,0,0)|0|0,63|0)|0)&63](c,da(a+172|0,4,0,0)|0|0,0)|0,(da(a+4>>0|0,1,0,0)|0|0)==0):0)?(k=da(d|0,4,0,0)|0|0,l=da(k|0,4,0,0)|0|0,(l|0)!=0):0){if(!(da(a+13>>0|0,1,0,0)|0))qc[(fa(da(l+32|0,4,0,0)|0|0,127|0)|0)&127](k,1)|0;if((da(p>>0|0,1,0,0)|0|0)==5)break;ea(p>>0|0,1|0,1,0)}while(0);e=da(3166*4|0,4,0,0)|0|0;if(!e){e=0;b=0}else{mc[(fa(e|0,3|0)|0)&3]();e=0;b=0}}else e=0}else e=0}else e=0;while(0);if(b)break a;if(e)A=35}else A=35;do if((A|0)==35){if(da(a+14>>0|0,1,0,0)|0){b=776;break a}b=el(a,4)|0;if(b)break a;c=a+64|0;if(!(da(da(c|0,4,0,0)|0|0,4,0,0)|0)){e=da(a|0,4,0,0)|0|0;d=a+172|0;b=oc[(fa(da(e+32|0,4,0,0)|0|0,31|0)|0)&31](e,da(d|0,4,0,0)|0|0,0,q)|0;if((b|0)==0&(da(q|0,4,0,0)|0|0)!=0){ea(r|0,0|0,4,0);b=sc[(fa(da(e+24|0,4,0,0)|0|0,31|0)|0)&31](e,da(d|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0,2050,r)|0;if(!b)if((da(r|0,4,0,0)|0)&1){ea(B|0,46645|0,4,0);ea(B+4|0,10788|0,4,0);ad(14,14848,B);e=da(c|0,4,0,0)|0|0;d=da(e|0,4,0,0)|0|0;if(!d)b=14;else{kc[(fa(da(d+4|0,4,0,0)|0|0,127|0)|0)&127](e)|0;ea(e|0,0|0,4,0);b=14}}else b=0}}else b=0;if(!(da(da(c|0,4,0,0)|0|0,4,0,0)|0))if((da(a+4>>0|0,1,0,0)|0|0)==0?(s=da(a+60|0,4,0,0)|0|0,t=da(s|0,4,0,0)|0|0,(t|0)!=0):0){if(!(da(a+13>>0|0,1,0,0)|0))qc[(fa(da(t+32|0,4,0,0)|0|0,127|0)|0)&127](s,1)|0;if((da(p>>0|0,1,0,0)|0|0)!=5){ea(p>>0|0,1|0,1,0);A=52}else A=52}else A=52;else{b=Io(a)|0;if(!b){b=Jo(a,1)|0;ea(u>>0|0,0|0,1,0);A=52}}if((A|0)==52)if(!b)break;y=b&255;if(!((y|0)==10|(y|0)==13))break a;ea(a+40|0,b|0,4,0);ea(u>>0|0,6|0,1,0);break a}while(0);e=a+12|0;if((da(e>>0|0,1,0,0)|0|0)==0?(da(a+23>>0|0,1,0,0)|0|0)!=0:0){ea(v|0,0|0,4,0);b=Ho(a,v)|0;if(b)break a;if(da(v|0,4,0,0)|0){b=da(a+60|0,4,0,0)|0|0;b=sc[(fa(da((da(b|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](b,w,16,24,0)|0;if(!((b|0)==0|(b|0)==522))break a}else{d=w+0|0;c=d+16|0;do{ea(d>>0|0,0|0,1,0);d=d+1|0}while((d|0)<(c|0))}if(Yv(a+104|0,w,16)|0)wn(a)}if(!(da(e>>0|0,1,0,0)|0)){b=Ho(a,x)|0;if(!b){d=da(a|0,4,0,0)|0|0;c=da(a+212|0,4,0,0)|0|0;if(!(da(x|0,4,0,0)|0)){b=$b[(fa(da(d+28|0,4,0,0)|0|0,63|0)|0)&63](d,c,0)|0;ea(y|0,0|0,4,0);if((b|0)!=5898)A=68}else{b=oc[(fa(da(d+32|0,4,0,0)|0|0,31|0)|0)&31](d,c,0,y)|0;A=68}if((A|0)==68){if(b)break;if(da(y|0,4,0,0)|0){b=dl(a,0)|0;break}}b=a+5|0;if((da(b>>0|0,1,0,0)|0|0)==5){ea(b>>0|0,0|0,1,0);b=0}else b=0}}else b=0}else b=0;while(0);c=da(z|0,4,0,0)|0|0;if(!c)A=78;else A=74}else A=74;while(0);if((A|0)==74){ea(B|0,0|0,4,0);Ko(c);c=da(z|0,4,0,0)|0|0;d=0;do{d=d+1|0;b=Lo(c,B,0,d)|0}while((b|0)==-1);if(!(da(B|0,4,0,0)|0|b))A=78;else{wn(a);A=78}}if((A|0)==78){if((da(a+16>>0|0,1,0,0)|0|0)==0&(b|0)==0)b=Ho(a,a+24|0)|0;if(!b){ea(a+16>>0|0,1|0,1,0);b=0;break}}Mo(a)}while(0);i=C;return b|0}function cl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;d=yg(da(a|0,4,0,0)|0|0,b,e,d)|0;if(!d){e=da(e|0,4,0,0)|0|0;d=da(e+8|0,4,0,0)|0|0;ea(d+56|0,da(e+4|0,4,0,0)|0|0,4,0);ea(d+68|0,e|0,4,0);ea(d+52|0,a|0,4,0);ea(d+72|0,b|0,4,0);ea(d+6>>0|0,((b|0)==1?100:0)|0,1,0);ea(c|0,d|0,4,0);d=0}i=f;return d|0}function dl(a,b){a=a|0;b=b|0;var c=0,d=0;do if((da(a+12>>0|0,1,0,0)|0|0)==0?(da(a+208|0,4,0,0)|0|0)==0:0){b=da(da(a+60|0,4,0,0)|0|0,4,0,0)|0|0;if(!(da(a+4>>0|0,1,0,0)|0)){if((da(b|0,4,0,0)|0|0)<=1){b=14;break}if(!(da(b+52|0,4,0,0)|0)){b=14;break}}b=da(a+64|0,4,0,0)|0|0;c=da(b|0,4,0,0)|0|0;if(c){kc[(fa(da(c+4|0,4,0,0)|0|0,127|0)|0)&127](b)|0;ea(b|0,0|0,4,0)}b=on(a)|0;if(!b){ea(a+5>>0|0,5|0,1,0);ea(a+16>>0|0,0|0,1,0);b=0}}else d=10;while(0);if((d|0)==10){ea(b|0,1|0,4,0);b=0}return b|0}function el(a,b){a=a|0;b=b|0;var c=0,d=0;d=a+17|0;c=da(d>>0|0,1,0,0)|0|0;do if((c&255|0)<(b|0)|c<<24>>24==5){if(!(da(a+13>>0|0,1,0,0)|0)){c=da(a+60|0,4,0,0)|0|0;c=qc[(fa(da((da(c|0,4,0,0)|0|0)+28|0,4,0,0)|0|0,127|0)|0)&127](c,b)|0;if(c)break;c=da(d>>0|0,1,0,0)|0|0}if(c<<24>>24!=5|(b|0)==4){ea(d>>0|0,b|0,1,0);c=0}else c=0}else c=0;while(0);return c|0}function fl(a){a=a|0;var b=0,c=0,d=0;b=da(a+4|0,4,0,0)|0|0;a=da(b+444|0,4,0,0)|0|0;if((a|0)!=0?(d=b+452|0,c=da(d|0,4,0,0)|0|0,(c|0)>=0):0){a=qc[(fa(a|0,127|0)|0)&127](da(b+448|0,4,0,0)|0|0,c)|0;if(!a)b=-1;else b=(da(d|0,4,0,0)|0|0)+1|0;ea(d|0,b|0,4,0)}else a=0;return a|0}function gl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=a+96|0;c=da(l|0,4,0,0)|0|0;a:do if((c|0)<(b|0)?(da(a+6>>0|0,1,0,0)|0|0)!=0:0){d=a+92|0;o=qg(da(d|0,4,0,0)|0|0,b*48|0,0)|0;if(!o)c=7;else{ew(o+(c*48|0)|0,0,(b-c|0)*48|0)|0;ea(d|0,o|0,4,0);g=a+24|0;h=a+64|0;i=a+148|0;j=a+52|0;k=a+208|0;f=a+72|0;while(1){e=da(g|0,4,0,0)|0|0;a=o+(c*48|0)|0;ea(o+(c*48|0)+20|0,e|0,4,0);if((da(da(h|0,4,0,0)|0|0,4,0,0)|0|0)!=0?(n=f,m=da(n|0,4,0,0)|0|0,n=da(n+4|0,4,0,0)|0|0,(n|0)>0|(n|0)==0&m>>>0>0):0){ea(a|0,m|0,4,0);ea(a+4|0,n|0,4,0)}else{ea(a|0,da(i|0,4,0,0)|0|0,4,0);ea(a+4|0,0|0,4,0)}ea(o+(c*48|0)+24|0,da(j|0,4,0,0)|0|0,4,0);d=pg(512,0)|0;if(!d)break;ew(d|0,0,512)|0;ea(d|0,e|0,4,0);ea(o+(c*48|0)+16|0,d|0,4,0);d=da(k|0,4,0,0)|0|0;if(d){ea(o+(c*48|0)+28|0,da(d+68|0,4,0,0)|0|0,4,0);ea(o+(c*48|0)+32|0,da(d+76|0,4,0,0)|0|0,4,0);ea(o+(c*48|0)+36|0,da(d+80|0,4,0,0)|0|0,4,0);ea(o+(c*48|0)+40|0,da(d+104|0,4,0,0)|0|0,4,0)}c=c+1|0;ea(l|0,c|0,4,0);if((c|0)>=(b|0)){c=0;break a}}ea(o+(c*48|0)+16|0,d|0,4,0);c=7}}else c=0;while(0);return c|0}function hl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;do if(c){d=da(c+4|0,4,0,0)|0|0;if(!(da(d|0,4,0,0)|0)){d=No(a,b,c)|0;break}c=d+26|0;e=da(c|0,2,0,0)|0|0;if(!(e<<16>>16)){f=a+12|0;ea(f|0,(da(f|0,4,0,0)|0|0)+1|0,4,0)}ea(c|0,e+1<<16>>16|0,2,0);if((b|0)==1)ea(a+44|0,d|0,4,0)}else d=0;while(0);return d|0}function il(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=a+96|0;c=da(g|0,4,0,0)|0|0;if((c|0)>0){f=a+92|0;e=0;a=0;do{d=da(f|0,4,0,0)|0|0;if((da(d+(e*48|0)+20|0,4,0,0)|0|0)>>>0>=b>>>0){a=ai(da(d+(e*48|0)+16|0,4,0,0)|0|0,b)|0|a;c=da(g|0,4,0,0)|0|0}e=e+1|0}while((e|0)<(c|0))}else a=0;return a|0}function jl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+32|0;if((i|0)>=(j|0))ba();t=v;p=v+16|0;q=v+12|0;s=v+8|0;n=da(a+68|0,4,0,0)|0|0;a:do if((n|0)!=0?(da(a+40|0,2,0,0)|0|0)!=0:0){o=b*383&8191;r=(n+33|0)>>>12;b:while(1){d=Oo(a,r,p,q,s)|0;if(d)break a;d=(da(p|0,4,0,0)|0|0)+(o<<1)|0;if(!(da(d|0,2,0,0)|0))d=0;else{k=da(s|0,4,0,0)|0|0;l=da(p|0,4,0,0)|0|0;m=da(q|0,4,0,0)|0|0;f=d;g=o;d=0;h=8192;while(1){e=(da(f|0,2,0,1)|0|0)+k|0;if(e>>>0<=n>>>0)d=(da(m+((da(f|0,2,0,1)|0)<<2)|0,4,0,0)|0|0)==(b|0)?e:d;if(!h){u=11;break b}g=g+1&8191;f=l+(g<<1)|0;if(!(da(f|0,2,0,0)|0))break;else h=h+-1|0}}if((r|0)>0&(d|0)==0)r=r+-1|0;else{u=14;break}}if((u|0)==11){ea(t|0,51262|0,4,0);ea(t+4|0,10788|0,4,0);ad(11,13600,t);d=11;break}else if((u|0)==14){ea(c|0,d|0,4,0);d=0;break}}else u=3;while(0);if((u|0)==3){ea(c|0,0|0,4,0);d=0}i=v;return d|0}function kl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=da(a+16|0,4,0,0)|0|0;f=da(a+20|0,4,0,0)|0|0;c=da(e+152|0,4,0,0)|0|0;a=a+4|0;d=da(a|0,4,0,0)|0|0;if(!b){b=rw(f+-1|0,0,c|0,((c|0)<0)<<31>>31|0)|0;g=da(e+60|0,4,0,0)|0|0;b=sc[(fa(da((da(g|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](g,d,c,b,C)|0;b=(b|0)==522?0:b}else{h=da(e+208|0,4,0,0)|0|0;g=da(h+66|0,2,0,1)|0|0;g=g<<16&65536|g&65024;b=rw(g|24|0,0,b+-1|0,0)|0;b=iw(b|0,C|0,56,0)|0;h=da(h+8|0,4,0,0)|0|0;b=sc[(fa(da((da(h|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](h,d,(g|0)<(c|0)?g:c,b,C)|0}do if((f|0)==1)if(!b){d=e+104|0;c=(da(a|0,4,0,0)|0|0)+24|0;a=d+16|0;do{ea(d>>0|0,da(c>>0|0,1,0,0)|0|0|0,1,0);d=d+1|0;c=c+1|0}while((d|0)<(a|0));break}else{d=e+104|0;a=d+16|0;do{ea(d>>0|0,255|0,1,0);d=d+1|0}while((d|0)<(a|0));break}while(0);return b|0}function ll(a){a=a|0;var b=0,c=0;if((da(a+24|0,2,0,0)|0)&2)Po(a,1);b=da(a+28|0,4,0,0)|0|0;c=b+12|0;ea(c|0,(da(c|0,4,0,0)|0|0)+-1|0,4,0);if((da(a+20|0,4,0,0)|0|0)==1)ea(b+44|0,0|0,4,0);lc[(fa(da(8744+136|0,4,0,0)|0|0,63|0)|0)&63](da(b+40|0,4,0,0)|0|0,da(a|0,4,0,0)|0|0,1);return}function ml(a){a=a|0;var b=0;b=da(a+16>>0|0,1,0,0)|0|0;do if(!(b<<24>>24==0|b<<24>>24==6)){if((b&255)<=1){if(da(a+4>>0|0,1,0,0)|0)break;Bl(a,0,0)|0;break}b=da(3164*4|0,4,0,0)|0|0;if(b)mc[(fa(b|0,3|0)|0)&3]();Gl(a)|0;b=da(3166*4|0,4,0,0)|0|0;if(b)mc[(fa(b|0,3|0)|0)&3]()}while(0);Mo(a);return}function nl(a){a=a|0;var b=0,c=0;c=a+26|0;b=(da(c|0,2,0,0)|0|0)+-1<<16>>16;ea(c|0,b|0,2,0);do if(!(b<<16>>16)){b=da(a+28|0,4,0,0)|0|0;c=b+12|0;ea(c|0,(da(c|0,4,0,0)|0|0)+-1|0,4,0);if((da(a+24|0,2,0,0)|0)&2){if(!(da(a+36|0,4,0,0)|0))break;Po(a,3);break}if(da(b+28>>0|0,1,0,0)|0){if((da(a+20|0,4,0,0)|0|0)==1)ea(b+44|0,0|0,4,0);lc[(fa(da(8744+136|0,4,0,0)|0|0,63|0)|0)&63](da(b+40|0,4,0,0)|0|0,da(a|0,4,0,0)|0|0,0)}}while(0);return}function ol(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=da(a+56|0,4,0,0)|0|0;g=da(a+52|0,4,0,0)|0|0;c=da(a+6>>0|0,1,0,1)|0|0;d=f+c|0;e=g+36|0;if((da(g+22|0,2,0,0)|0)&4)ew(d|0,0,(da(e|0,4,0,0)|0|0)-c|0)|0;ea(d>>0|0,b|0,1,0);d=c+(b>>>1&4^12)|0;h=f+(c+1)|0;ea(h>>0|0,0|0,1,0);ea(h+1>>0|0,0|0,1,0);ea(h+2>>0|0,0|0,1,0);ea(h+3>>0|0,0|0,1,0);ea(f+(c+7)>>0|0,0|0,1,0);ea(f+(c+5)>>0|0,(da(e|0,4,0,0)|0|0)>>>8|0,1,0);ea(f+(c+6)>>0|0,da(e|0,4,0,0)|0|0,1,0);ea(a+16|0,(da(e|0,4,0,0)|0|0)-d|0,2,0);Qo(a,b)|0;ea(a+14|0,d|0,2,0);ea(a+60|0,f+(da(e|0,4,0,0)|0|0)|0,4,0);ea(a+64|0,f+(d&65535)|0,4,0);ea(a+1>>0|0,0|0,1,0);ea(a+20|0,(da(g+32|0,4,0,0)|0|0)+65535|0,2,0);ea(a+18|0,0|0,2,0);ea(a>>0|0,1|0,1,0);return}function pl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=i;i=i+32|0;if((i|0)>=(j|0))ba();e=f+16|0;d=f;b=a+8|0;ea(e+0|0,da(b+0|0,4,0,0)|0|0,4,0);ea(e+4|0,da(b+4|0,4,0,0)|0|0,4,0);ea(e+8|0,da(b+8|0,4,0,0)|0|0,4,0);ea(e+12|0,da(b+12|0,4,0,0)|0|0,4,0);c=a+40|0;ea(d+0|0,da(c+0|0,4,0,0)|0|0,4,0);ea(d+4|0,da(c+4|0,4,0,0)|0|0,4,0);ea(d+8|0,da(c+8|0,4,0,0)|0|0,4,0);ea(d+12|0,da(c+12|0,4,0,0)|0|0,4,0);ea(c+0|0,0|0,4,0);ea(c+4|0,0|0,4,0);ea(c+8|0,0|0,4,0);ea(c+12|0,0|0,4,0);Nl(a+24|0);c=da(d+8|0,4,0,0)|0|0;if(c)do{ig(0,da(c+8|0,4,0,0)|0|0);c=da(c|0,4,0,0)|0|0}while((c|0)!=0);Nl(d);ea(b+0|0,0|0,4,0);ea(b+4|0,0|0,4,0);ea(b+8|0,0|0,4,0);ea(b+12|0,0|0,4,0);b=da(e+8|0,4,0,0)|0|0;if(b)do{jg(0,da(b+8|0,4,0,0)|0|0);b=da(b|0,4,0,0)|0|0}while((b|0)!=0);Nl(e);Nl(a+56|0);ea(a+72|0,0|0,4,0);b=a+78|0;c=da(b|0,2,0,0)|0|0;if(c&1){d=a+4|0;ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0);ea(b|0,c&65534|0,2,0)}i=f;return}function ql(a){a=a|0;var b=0,c=0;c=a+332|0;b=da(c|0,4,0,0)|0|0;ea(c|0,0|0,4,0);if(b){a=da(a+4|0,4,0,0)|0|0;if(a)do{c=a+88|0;ea(c|0,da(c|0,2,0,0)|0|8|0,2,0);a=da(a+52|0,4,0,0)|0|0}while((a|0)!=0);do{a=b;b=da(b+24|0,4,0,0)|0|0;zn(a)}while((b|0)!=0)}return}function rl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=a+20|0;b=da(f|0,4,0,0)|0|0;i=a+16|0;c=da(i|0,4,0,0)|0|0;if((b|0)>2){e=2;d=2;do{b=c+(e<<4)|0;if(!(da(c+(e<<4)+4|0,4,0,0)|0)){lg(a,da(b|0,4,0,0)|0|0);ea(b|0,0|0,4,0)}else{if((d|0)<(e|0)){c=c+(d<<4)|0;ea(c+0|0,da(b+0|0,4,0,0)|0|0,4,0);ea(c+4|0,da(b+4|0,4,0,0)|0|0,4,0);ea(c+8|0,da(b+8|0,4,0,0)|0|0,4,0);ea(c+12|0,da(b+12|0,4,0,0)|0|0,4,0)}d=d+1|0}e=e+1|0;b=da(f|0,4,0,0)|0|0;c=da(i|0,4,0,0)|0|0}while((e|0)<(b|0))}else d=2;ew(c+(d<<4)|0,0,b-d<<4|0)|0;ea(f|0,d|0,4,0);if((d|0)<3?(g=da(i|0,4,0,0)|0|0,h=a+456|0,(g|0)!=(h|0)):0){ea(h+0|0,da(g+0|0,4,0,0)|0|0,4,0);ea(h+4|0,da(g+4|0,4,0,0)|0|0,4,0);ea(h+8|0,da(g+8|0,4,0,0)|0|0,4,0);ea(h+12|0,da(g+12|0,4,0,0)|0|0,4,0);ea(h+16|0,da(g+16|0,4,0,0)|0|0,4,0);ea(h+20|0,da(g+20|0,4,0,0)|0|0,4,0);ea(h+24|0,da(g+24|0,4,0,0)|0|0,4,0);ea(h+28|0,da(g+28|0,4,0,0)|0|0,4,0);lg(a,g);ea(i|0,h|0,4,0)}return}function sl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();n=q;k=da(a+16|0,4,0,0)|0|0;m=k+152|0;d=((da(k+148|0,4,0,0)|0|0)>>>0)/((da(m|0,4,0,0)|0|0)>>>0)|0;p=k+20|0;ea(p>>0|0,da(p>>0|0,1,0,1)|0|0|4|0,1,0);h=a+20|0;e=da(h|0,4,0,0)|0|0;a=e+-1&0-d;o=a+1|0;c=~a;b=da(k+24|0,4,0,0)|0|0;if(e>>>0<=b>>>0){if((a+d|0)>>>0>b>>>0)d=b+1+c|0}else d=e+1+c|0;a:do if((d|0)>0){g=k+56|0;l=k+204|0;f=0;a=0;while(1){c=f+o|0;if((c|0)!=(e|0)?(ci(da(g|0,4,0,0)|0|0,c)|0)!=0:0){e=$b[(fa(da(8744+132|0,4,0,0)|0|0,63|0)|0)&63](da((da(l|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,c,0)|0;c=hl(da(l|0,4,0,0)|0|0,c,e)|0;ea(n|0,c|0,4,0);if(!c)b=0;else{a=((da(c+24|0,2,0,0)|0)&4)==0?a:1;Ag(c);b=0}}else if((c|0)==(((da(2514*4|0,4,0,0)|0|0)/(da(m|0,4,0,0)|0|0)|0)+1|0))b=0;else{b=yg(k,c,n,0)|0;if(b)break a;c=da(n|0,4,0,0)|0|0;b=tl(c)|0;a=((da(c+24|0,2,0,0)|0)&4)==0?a:1;Ag(c)}f=f+1|0;c=(b|0)==0;if(!((f|0)<(d|0)&c))break;e=da(h|0,4,0,0)|0|0}if(c&(a|0)!=0){a=0;do{k=a+o|0;b=$b[(fa(da(8744+132|0,4,0,0)|0|0,63|0)|0)&63](da((da(l|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,k,0)|0;b=hl(da(l|0,4,0,0)|0|0,k,b)|0;if(b){k=b+24|0;ea(k|0,da(k|0,2,0,1)|0|0|4|0,2,0);Ag(b)}a=a+1|0}while((a|0)!=(d|0));b=0}}else b=0;while(0);ea(p>>0|0,(da(p>>0|0,1,0,1)|0|0)&251|0,1,0);i=q;return b|0}function tl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))ba();u=w+4|0;l=w;v=da(a+16|0,4,0,0)|0|0;p=v+16|0;a:do if((da(p>>0|0,1,0,0)|0|0)==2){k=da(v|0,4,0,0)|0|0;d=da(v+40|0,4,0,0)|0|0;if(!d){do if((da(v+208|0,4,0,0)|0|0)==0?(g=v+5|0,(da(g>>0|0,1,0,0)|0|0)!=2):0){h=v+24|0;d=da(h|0,4,0,0)|0|0;c=pg(512,0)|0;if(!c){ea(v+56|0,0|0,4,0);b=7;break a}ew(c|0,0,512)|0;ea(c|0,d|0,4,0);m=v+56|0;ea(m|0,c|0,4,0);e=v+64|0;f=da(e|0,4,0,0)|0|0;do if(!(da(f|0,4,0,0)|0)){if((da(g>>0|0,1,0,0)|0|0)==4){d=f+0|0;c=d+40|0;do{ea(d|0,0|0,4,0);d=d+4|0}while((d|0)<(c|0));ea(f|0,14696|0,4,0);o=17;break}c=da(v+12>>0|0,1,0,0)|0|0;ea(l|0,0|0,4,0);if((c<<24>>24==0?(da(h|0,4,0,0)|0|0)!=0:0)?(b=da(v+60|0,4,0,0)|0|0,b=$b[(fa(da((da(b|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,63|0)|0)&63](b,20,l)|0,(b|0)!=12):0){d=(b|0)==0;if(d&(da(l|0,4,0,0)|0|0)!=0){b=1032;break}if(d)o=15}else o=15;if((o|0)==15)b=sc[(fa(da(k+24|0,4,0,0)|0|0,31|0)|0)&31](k,da(v+172|0,4,0,0)|0|0,da(e|0,4,0,0)|0|0,c<<24>>24!=0?4110:2054,0)|0;if(!b)o=17}else o=17;while(0);if((o|0)==17){ea(v+44|0,0|0,4,0);b=v+72|0;ea(v+19>>0|0,0|0,1,0);ea(b+0|0,0|0,4,0);ea(b+4|0,0|0,4,0);ea(b+8|0,0|0,4,0);ea(b+12|0,0|0,4,0);b=Ro(v)|0;if(!b)break}di(da(m|0,4,0,0)|0|0);ea(m|0,0|0,4,0);if(!b){o=20;break a}else break a}while(0);ea(p>>0|0,3|0,1,0);o=20}else b=d}else o=20;while(0);b:do if((o|0)==20){So(a);q=v+56|0;r=a+20|0;f=da(r|0,4,0,0)|0|0;do if(!(ci(da(q|0,4,0,0)|0|0,f)|0))if(!(da(v+208|0,4,0,0)|0)){if(f>>>0<=(da(v+28|0,4,0,0)|0|0)>>>0?(t=v+64|0,s=da(t|0,4,0,0)|0|0,(da(s|0,4,0,0)|0|0)!=0):0){o=v+72|0;g=o;m=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;n=da(a+4|0,4,0,0)|0|0;d=da(v+48|0,4,0,0)|0|0;p=v+152|0;e=(da(p|0,4,0,0)|0|0)+-200|0;if((e|0)>0)do{d=(da(n+e>>0|0,1,0,1)|0|0)+d|0;e=e+-200|0}while((e|0)>0);l=a+24|0;ea(l|0,da(l|0,2,0,1)|0|4|0,2,0);ea(u>>0|0,f>>>24|0,1,0);l=u+1|0;ea(l>>0|0,f>>>16|0,1,0);k=u+2|0;ea(k>>0|0,f>>>8|0,1,0);h=u+3|0;ea(h>>0|0,f|0,1,0);b=sc[(fa(da((da(s|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](s,u,4,m,g)|0;if(b)break b;f=da(t|0,4,0,0)|0|0;b=da(p|0,4,0,0)|0|0;c=iw(m|0,g|0,4,0)|0;e=C;b=sc[(fa(da((da(f|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](f,n,b,c,e)|0;if(b)break b;m=da(t|0,4,0,0)|0|0;b=da(p|0,4,0,0)|0|0;b=iw(c|0,e|0,b|0,((b|0)<0)<<31>>31|0)|0;ea(u>>0|0,d>>>24|0,1,0);ea(l>>0|0,d>>>16|0,1,0);ea(k>>0|0,d>>>8|0,1,0);ea(h>>0|0,d|0,1,0);b=sc[(fa(da((da(m|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](m,u,4,b,C)|0;if(b)break b;b=(da(p|0,4,0,0)|0|0)+8|0;m=o;m=iw(b|0,((b|0)<0)<<31>>31|0,da(m|0,4,0,0)|0|0,da(m+4|0,4,0,0)|0|0)|0;b=o;ea(b|0,m|0,4,0);ea(b+4|0,C|0,4,0);b=v+44|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);b=ai(da(q|0,4,0,0)|0|0,da(r|0,4,0,0)|0|0)|0;b=il(v,da(r|0,4,0,0)|0|0)|0|b;if(!b){o=34;break}else break b}if((da(p>>0|0,1,0,0)|0|0)!=4){o=a+24|0;ea(o|0,da(o|0,2,0,1)|0|4|0,2,0);o=34}else o=34}else o=34;else if((da(v+96|0,4,0,0)|0|0)!=0?(To(a)|0)!=0:0)o=34;else b=0;while(0);if((o|0)==34)if((da(v+96|0,4,0,0)|0|0)>0?(To(a)|0)!=0:0)b=Uo(a)|0;else b=0;d=v+24|0;c=da(r|0,4,0,0)|0|0;if((da(d|0,4,0,0)|0|0)>>>0<c>>>0)ea(d|0,c|0,4,0)}while(0);i=w;return b|0}function ul(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+128|0;if((i|0)>=(j|0))ba();h=k;d=da(a|0,4,0,0)|0|0;c=(d|0)==0;if(!c){b=d;do{a=b;b=da(b+32|0,4,0,0)|0|0;ea(a+12|0,b|0,4,0)}while((b|0)!=0);b=h+0|0;a=b+128|0;do{ea(b|0,0|0,4,0);b=b+4|0}while((b|0)<(a|0));if(c)a=0;else{f=h+124|0;do{b=d+12|0;a=d;d=da(b|0,4,0,0)|0|0;ea(b|0,0|0,4,0);b=0;do{e=h+(b<<2)|0;c=da(e|0,4,0,0)|0|0;if(!c){c=e;g=8;break}a=Vo(c,a)|0;ea(e|0,0|0,4,0);b=b+1|0}while((b|0)<31);if((g|0)==8){g=0;ea(c|0,a|0,4,0)}if((b|0)==31)ea(f|0,Vo(da(f|0,4,0,0)|0|0,a)|0|0,4,0)}while((d|0)!=0);a=da(h|0,4,0,0)|0|0}}else{b=h+0|0;a=b+128|0;do{ea(b|0,0|0,4,0);b=b+4|0}while((b|0)<(a|0));a=0}b=1;do{a=Vo(a,da(h+(b<<2)|0,4,0,0)|0|0)|0;b=b+1|0}while((b|0)!=32);i=k;return a|0}function vl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0;F=i;i=i+80|0;if((i|0)>=(j|0))ba();l=F+32|0;m=F+28|0;v=F;o=F+40|0;D=F+24|0;ea(D|0,b|0,4,0);s=(d|0)==0;if(!s){ea(D|0,b|0,4,0);if(!b){b=0;h=0}else{h=0;g=D;do{t=(da(b+20|0,4,0,0)|0|0)>>>0>c>>>0;z=b+12|0;h=h+(t&1^1)|0;g=t?g:z;b=da(z|0,4,0,0)|0|0;ea(g|0,b|0,4,0)}while((b|0)!=0);b=da(D|0,4,0,0)|0|0}}else h=1;z=a+192|0;ea(z|0,(da(z|0,4,0,0)|0|0)+h|0,4,0);if((da(b+20|0,4,0,0)|0|0)==1)xl(b);A=da(a+208|0,4,0,0)|0|0;B=da(a+152|0,4,0,0)|0|0;n=da(a+10>>0|0,1,0,0)|0|0;t=n&255;f=A+40|0;if(!(da(f|0,2,0,0)|0)){do if(da((da(da(A+32|0,4,0,0)|0|0,4,0,0)|0|0)+96|0,4,0,0)|0){bd(4,l);g=A+43|0;if(!(da(g>>0|0,1,0,0)|0)){h=da(A+4|0,4,0,0)|0|0;h=oc[(fa(da((da(h|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](h,4,4,10)|0;if((h|0)==5){h=g;u=14;break}else if(h)break}Wo(A,da(l|0,4,0,0)|0|0);if(!(da(g>>0|0,1,0,0)|0)){h=da(A+4|0,4,0,0)|0|0;oc[(fa(da((da(h|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](h,4,4,9)|0;h=g;u=14}else{h=g;u=14}}else{h=A+43|0;u=14}while(0);if((u|0)==14){if(!(da(h>>0|0,1,0,0)|0)){z=da(A+4|0,4,0,0)|0|0;oc[(fa(da((da(z|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](z,3,1,5)|0}ea(f|0,-1|0,2,0);g=0;do{g=g+1|0;h=Lo(A,m,1,g)|0}while((h|0)==-1)}if(h)e=h;else u=19}else u=19;a:do if((u|0)==19){z=A+68|0;m=da(z|0,4,0,0)|0|0;if(!m){ea(o>>0|0,55|0,1,0);ea(o+1>>0|0,127|0,1,0);ea(o+2>>0|0,6|0,1,0);ea(o+3>>0|0,-126|0,1,0);ea(o+4>>0|0,0|0,1,0);ea(o+5>>0|0,45|0,1,0);ea(o+6>>0|0,-30|0,1,0);ea(o+7>>0|0,24|0,1,0);ea(o+8>>0|0,B>>>24|0,1,0);ea(o+9>>0|0,B>>>16|0,1,0);ea(o+10>>0|0,B>>>8|0,1,0);ea(o+11>>0|0,B|0,1,0);r=da(A+104|0,4,0,0)|0|0;ea(o+12>>0|0,r>>>24|0,1,0);ea(o+13>>0|0,r>>>16|0,1,0);ea(o+14>>0|0,r>>>8|0,1,0);ea(o+15>>0|0,r|0,1,0);if(!r)bd(8,A+84|0);l=A+84|0;g=l;g=da(g>>0|0,1,0,1)|0|(da(g+1>>0|0,1,0,1)|0)<<8|(da(g+2>>0|0,1,0,1)|0)<<16|(da(g+3>>0|0,1,0,1)|0)<<24;l=l+4|0;l=da(l>>0|0,1,0,1)|0|(da(l+1>>0|0,1,0,1)|0)<<8|(da(l+2>>0|0,1,0,1)|0)<<16|(da(l+3>>0|0,1,0,1)|0)<<24;f=o+16|0;h=f;ea(h>>0|0,g|0,1,0);ea(h+1>>0|0,g>>8|0,1,0);ea(h+2>>0|0,g>>16|0,1,0);ea(h+3>>0|0,g>>24|0,1,0);f=f+4|0;ea(f>>0|0,l|0,1,0);ea(f+1>>0|0,l>>8|0,1,0);ea(f+2>>0|0,l>>16|0,1,0);ea(f+3>>0|0,l>>24|0,1,0);l=o+24|0;f=o;g=0;h=0;do{g=g+h+(da(f|0,4,0,0)|0|0)|0;h=g+h+(da(f+4|0,4,0,0)|0|0)|0;f=f+8|0}while(f>>>0<l>>>0);ea(l>>0|0,g>>>24|0,1,0);ea(o+25>>0|0,g>>>16|0,1,0);ea(o+26>>0|0,g>>>8|0,1,0);ea(o+27>>0|0,g|0,1,0);ea(o+28>>0|0,h>>>24|0,1,0);ea(o+29>>0|0,h>>>16|0,1,0);ea(o+30>>0|0,h>>>8|0,1,0);ea(o+31>>0|0,h|0,1,0);ea(A+36|0,B|0,4,0);ea(A+65>>0|0,0|0,1,0);ea(A+76|0,g|0,4,0);ea(A+80|0,h|0,4,0);ea(A+47>>0|0,1|0,1,0);g=A+8|0;h=da(g|0,4,0,0)|0|0;h=sc[(fa(da((da(h|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](h,o,32,0,0)|0;if(h){e=h;break}if((da(A+48>>0|0,1,0,0)|0|0)!=0&n<<24>>24!=0?(e=da(g|0,4,0,0)|0|0,e=qc[(fa(da((da(e|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](e,t&19)|0,(e|0)!=0):0)break}else g=A+8|0;ea(v|0,A|0,4,0);o=da(g|0,4,0,0)|0|0;ea(v+4|0,o|0,4,0);p=v+8|0;q=p;ea(q|0,0|0,4,0);ea(q+4|0,0|0,4,0);ea(v+16|0,t|0,4,0);ea(v+20|0,B|0,4,0);q=B+24|0;r=((q|0)<0)<<31>>31;h=rw(m|0,0,q|0,r|0)|0;h=iw(h|0,C|0,32,0)|0;e=C;if(!b){f=h;n=0}else{k=e;f=m;n=b;while(1){m=f+1|0;if(s)f=0;else f=(da(n+12|0,4,0,0)|0|0)==0?c:0;e=Xo(v,n,f,h,k)|0;if(e)break a;h=iw(h|0,k|0,q|0,r|0)|0;e=C;l=da(n+12|0,4,0,0)|0|0;if(!l){f=h;break}else{k=e;f=m;n=l}}}s=(d|0)!=0;do if(!((t&32|0)==0|s^1)){if(!(da(A+49>>0|0,1,0,0)|0)){g=0;e=qc[(fa(da((da(o|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](o,t&19)|0;break}h=da(g|0,4,0,0)|0|0;g=da((da(h|0,4,0,0)|0|0)+44|0,4,0,0)|0|0;if(g){h=kc[(fa(g|0,127|0)|0)&127](h)|0;if((h|0)<32){g=512;h=0}else u=37}else{h=4096;u=37}if((u|0)==37){u=(h|0)>65536;g=u?65536:h;h=u?0:((h|0)<0)<<31>>31}u=iw(f|0,e|0,-1,-1)|0;u=iw(u|0,C|0,g|0,h|0)|0;l=C;k=qw(u|0,l|0,g|0,h|0)|0;k=cw(u|0,l|0,k|0,C|0)|0;l=C;u=p;ea(u|0,k|0,4,0);ea(u+4|0,l|0,4,0);if((e|0)<(l|0)|(e|0)==(l|0)&f>>>0<k>>>0){h=e;g=0;while(1){e=Xo(v,n,c,f,h)|0;if(e)break a;f=iw(f|0,h|0,q|0,r|0)|0;h=C;g=g+1|0;if(!((h|0)<(l|0)|(h|0)==(l|0)&f>>>0<k>>>0)){e=0;break}}}else{g=0;e=0}}else{g=0;e=0}while(0);if((s?(w=A+47|0,(da(w>>0|0,1,0,0)|0|0)!=0):0)?(y=A+16|0,x=da(y|0,4,0,0)|0|0,y=da(y+4|0,4,0,0)|0|0,(y|0)>-1|(y|0)==-1&x>>>0>4294967295):0){d=rw(g+m|0,0,q|0,r|0)|0;d=iw(d|0,C|0,32,0)|0;v=C;u=(v|0)>(y|0)|(v|0)==(y|0)&d>>>0>x>>>0;Yo(A,u?d:x,u?v:y);ea(w>>0|0,0|0,1,0)}f=da(z|0,4,0,0)|0|0;if((b|0)!=0&(e|0)==0)do{f=f+1|0;e=Zo(A,f,da(b+20|0,4,0,0)|0|0)|0;b=da(b+12|0,4,0,0)|0|0}while((b|0)!=0&(e|0)==0);b=(e|0)==0;if(b&(g|0)>0){h=n+20|0;do{f=f+1|0;g=g+-1|0;e=Zo(A,f,da(h|0,4,0,0)|0|0)|0;b=(e|0)==0}while(b&(g|0)>0)}if(b){ea(A+66|0,B&65280|B>>>16|0,2,0);ea(z|0,f|0,4,0);if(s){z=A+60|0;ea(z|0,(da(z|0,4,0,0)|0|0)+1|0,4,0);ea(A+72|0,c|0,4,0);_o(A);ea(A+12|0,f|0,4,0)}}else if(e)break;f=a+88|0;e=da(f|0,4,0,0)|0|0;if((e|0)!=0?(E=da(D|0,4,0,0)|0|0,(E|0)!=0):0){b=e;e=E;while(1){$o(b,da(e+20|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0);e=da(e+12|0,4,0,0)|0|0;if(!e){e=0;break a}b=da(f|0,4,0,0)|0|0}}else e=0}while(0);i=F;return e|0}function wl(a){a=a|0;var b=0,c=0;b=a+24|0;if((((da(b|0,2,0,0)|0)&2)!=0?(Po(a,1),ea(b|0,(da(b|0,2,0,1)|0)&65529|0,2,0),(da(a+26|0,2,0,0)|0|0)==0):0)?(c=da(a+28|0,4,0,0)|0|0,(da(c+28>>0|0,1,0,0)|0|0)!=0):0){if((da(a+20|0,4,0,0)|0|0)==1)ea(c+44|0,0|0,4,0);lc[(fa(da(8744+136|0,4,0,0)|0|0,63|0)|0)&63](da(c+40|0,4,0,0)|0|0,da(a|0,4,0,0)|0|0,0)}return}function xl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=da(a+16|0,4,0,0)|0|0;b=((da(b+105>>0|0,1,0,1)|0|0)<<16|(da(b+104>>0|0,1,0,1)|0|0)<<24|(da(b+106>>0|0,1,0,1)|0|0)<<8|(da(b+107>>0|0,1,0,1)|0|0))+1|0;a=a+4|0;c=da(a|0,4,0,0)|0|0;f=b>>>24&255;ea(c+24>>0|0,f|0,1,0);e=b>>>16&255;ea(c+25>>0|0,e|0,1,0);d=b>>>8&255;ea(c+26>>0|0,d|0,1,0);b=b&255;ea(c+27>>0|0,b|0,1,0);c=da(a|0,4,0,0)|0|0;ea(c+92>>0|0,f|0,1,0);ea(c+93>>0|0,e|0,1,0);ea(c+94>>0|0,d|0,1,0);ea(c+95>>0|0,b|0,1,0);a=da(a|0,4,0,0)|0|0;ea(a+96>>0|0,0|0,1,0);ea(a+97>>0|0,45|0,1,0);ea(a+98>>0|0,-26|0,1,0);ea(a+99>>0|0,9|0,1,0);return}function yl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+32|0;if((i|0)>=(j|0))ba();h=q+16|0;n=q;e=ap(a)|0;a:do if(!e){do if(!(da(a+7>>0|0,1,0,0)|0)){p=a+64|0;if((da(da(p|0,4,0,0)|0|0,4,0,0)|0|0)!=0?(da(a+5>>0|0,1,0,0)|0|0)!=4:0){g=da(a+60|0,4,0,0)|0|0;g=kc[(fa(da((da(g|0,4,0,0)|0|0)+48|0,4,0,0)|0|0,127|0)|0)&127](g)|0;o=(g&512|0)==0;if(o){d=n;ea(d|0,-117058087|0,4,0);ea(d+4|0,-681336544|0,4,0);d=da(a+44|0,4,0,0)|0|0;ea(n+8>>0|0,d>>>24|0,1,0);ea(n+9>>0|0,d>>>16|0,1,0);ea(n+10>>0|0,d>>>8|0,1,0);ea(n+11>>0|0,d|0,1,0);d=a+72|0;e=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;if((e|0)==0&(d|0)==0){e=0;d=0}else{d=iw(e|0,d|0,-1,-1)|0;e=da(a+148|0,4,0,0)|0|0;d=pw(d|0,C|0,e|0,0)|0;d=iw(d|0,C|0,1,0)|0;e=rw(d|0,C|0,e|0,0)|0;d=C}f=da(p|0,4,0,0)|0|0;f=sc[(fa(da((da(f|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](f,h,8,e,d)|0;if(!f){if(!(Yv(h,14808,8)|0)){k=da(p|0,4,0,0)|0|0;k=sc[(fa(da((da(k|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](k,14976,1,e,d)|0;l=12}}else{k=f;l=12}if((l|0)==12?!((k|0)==0|(k|0)==522):0){c=k;break a}d=g&1024;if((da(a+8>>0|0,1,0,0)|0|0)!=0&(d|0)==0?(m=da(p|0,4,0,0)|0|0,m=qc[(fa(da((da(m|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](m,da(a+11>>0|0,1,0,1)|0|0)|0,(m|0)!=0):0){c=m;break a}m=da(p|0,4,0,0)|0|0;e=a+80|0;e=sc[(fa(da((da(m|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](m,n,12,da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0)|0;if(e){c=e;break a}}else d=g&1024;if((d|0)==0?(n=da(p|0,4,0,0)|0|0,c=da(a+11>>0|0,1,0,0)|0|0,c=qc[(fa(da((da(n|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](n,(c<<24>>24==3?16:0)|c&255)|0,(c|0)!=0):0)break a;l=a+72|0;n=da(l+4|0,4,0,0)|0|0;m=a+80|0;ea(m|0,da(l|0,4,0,0)|0|0,4,0);ea(m+4|0,n|0,4,0);if((b|0)==0|o^1)break;ea(a+44|0,0|0,4,0);c=Ro(a)|0;if(!c)break;else break a}l=a+72|0;n=da(l+4|0,4,0,0)|0|0;m=a+80|0;ea(m|0,da(l|0,4,0,0)|0|0,4,0);ea(m+4|0,n|0,4,0)}while(0);d=da(a+204|0,4,0,0)|0|0;c=da(d|0,4,0,0)|0|0;if(c)do{n=c+24|0;ea(n|0,(da(n|0,2,0,1)|0)&65531|0,2,0);c=da(c+32|0,4,0,0)|0|0}while((c|0)!=0);ea(d+8|0,da(d+4|0,4,0,0)|0|0,4,0);ea(a+16>>0|0,4|0,1,0);c=0}else c=e;while(0);i=q;return c|0}function zl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))ba();g=s;r=a+60|0;d=da(r|0,4,0,0)|0|0;if(!((da(d|0,4,0,0)|0|0)==0?(c=da(a|0,4,0,0)|0|0,c=sc[(fa(da(c+24|0,4,0,0)|0|0,31|0)|0)&31](c,0,d,(da(a+144|0,4,0,0)|0)&556897|30,0)|0,(c|0)!=0):0)){d=a+36|0;c=da(d|0,4,0,0)|0|0;e=a+24|0;f=da(e|0,4,0,0)|0|0;do if(c>>>0<f>>>0){if((da(b+12|0,4,0,0)|0|0)==0?(da(b+20|0,4,0,0)|0|0)>>>0<=c>>>0:0)break;k=da(a+152|0,4,0,0)|0|0;k=rw(f|0,0,k|0,((k|0)<0)<<31>>31|0)|0;l=g;ea(l|0,k|0,4,0);ea(l+4|0,C|0,4,0);l=da(r|0,4,0,0)|0|0;$b[(fa(da((da(l|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,63|0)|0)&63](l,5,g)|0;ea(d|0,da(e|0,4,0,0)|0|0,4,0)}while(0);if(!b)c=0;else{m=a+24|0;n=a+152|0;o=a+104|0;p=a+32|0;q=a+192|0;l=a+88|0;do{k=da(b+20|0,4,0,0)|0|0;if(k>>>0<=(da(m|0,4,0,0)|0|0)>>>0?((da(b+24|0,2,0,0)|0)&32)==0:0){g=da(n|0,4,0,0)|0|0;a=rw(g|0,((g|0)<0)<<31>>31|0,k+-1|0,0)|0;f=C;e=(k|0)==1;if(e){xl(b);g=da(n|0,4,0,0)|0|0}h=b+4|0;d=da(h|0,4,0,0)|0|0;c=da(r|0,4,0,0)|0|0;c=sc[(fa(da((da(c|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](c,d,g,a,f)|0;if(e){a=o+0|0;g=d+24|0;f=a+16|0;do{ea(a>>0|0,da(g>>0|0,1,0,0)|0|0|0,1,0);a=a+1|0;g=g+1|0}while((a|0)<(f|0))}if(k>>>0>(da(p|0,4,0,0)|0|0)>>>0)ea(p|0,k|0,4,0);ea(q|0,(da(q|0,4,0,0)|0|0)+1|0,4,0);$o(da(l|0,4,0,0)|0|0,k,da(h|0,4,0,0)|0|0)}else c=0;b=da(b+12|0,4,0,0)|0|0}while((c|0)==0&(b|0)!=0)}}i=s;return c|0}function Al(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();k=o;l=a+60|0;d=da(l|0,4,0,0)|0|0;e=da(d|0,4,0,0)|0|0;do if((e|0)!=0?((da(a+16>>0|0,1,0,0)|0|0)+-1&255)>2:0){m=da(a+152|0,4,0,0)|0|0;e=qc[(fa(da(e+24|0,4,0,0)|0|0,127|0)|0)&127](d,k)|0;f=((m|0)<0)<<31>>31;g=rw(m|0,f|0,b|0,0)|0;h=C;if(!e){d=k;e=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;if((e|0)==(g|0)&(d|0)==(h|0))c=0;else{if(!((d|0)>(h|0)|(d|0)==(h|0)&e>>>0>g>>>0)){k=iw(e|0,d|0,m|0,f|0)|0;e=C;if(!((e|0)>(h|0)|(e|0)==(h|0)&k>>>0>g>>>0)){n=da(a+200|0,4,0,0)|0|0;ew(n|0,0,m|0)|0;l=da(l|0,4,0,0)|0|0;c=cw(g|0,h|0,m|0,f|0)|0;c=sc[(fa(da((da(l|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](l,n,m,c,C)|0;n=9}}else{c=da(l|0,4,0,0)|0|0;c=$b[(fa(da((da(c|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,63|0)|0)&63](c,g,h)|0;n=9}if((n|0)==9?(c|0)!=0:0)break;ea(a+32|0,b|0,4,0);c=0}}else c=e}else c=0;while(0);i=o;return c|0} 8 function Bl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();k=o;n=a+16|0;if((da(n>>0|0,1,0,1)|0|0)<2?(da(a+17>>0|0,1,0,1)|0|0)<2:0)d=0;else{bp(a);m=a+64|0;g=da(m|0,4,0,0)|0|0;e=da(g|0,4,0,0)|0|0;do if(!e)e=0;else{if((e|0)==14696){Fi(g,0,0)|0;ea(g|0,0|0,4,0);e=0;break}f=da(a+5>>0|0,1,0,0)|0|0;if(f<<24>>24==3){f=a+72|0;l=f;if(!((da(l|0,4,0,0)|0|0)==0&(da(l+4|0,4,0,0)|0|0)==0)){e=$b[(fa(da(e+16|0,4,0,0)|0|0,63|0)|0)&63](g,0,0)|0;if(!e)if(!(da(a+8>>0|0,1,0,0)|0))e=0;else{e=da(m|0,4,0,0)|0|0;e=qc[(fa(da((da(e|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](e,da(a+11>>0|0,1,0,1)|0|0)|0}}else e=0;m=f;ea(m|0,0|0,4,0);ea(m+4|0,0|0,4,0);break}else if(f<<24>>24!=1?(da(a+4>>0|0,1,0,0)|0|0)==0|f<<24>>24==5:0){m=(da(a+12>>0|0,1,0,0)|0|0)==0;kc[(fa(da(e+4|0,4,0,0)|0|0,127|0)|0)&127](g)|0;ea(g|0,0|0,4,0);if(!m){e=0;break}e=da(a|0,4,0,0)|0|0;e=$b[(fa(da(e+28|0,4,0,0)|0|0,63|0)|0)&63](e,da(a+172|0,4,0,0)|0|0,0)|0;break}l=a+72|0;h=l;if(!((da(h|0,4,0,0)|0|0)==0&(da(h+4|0,4,0,0)|0|0)==0)){h=a+160|0;d=da(h|0,4,0,0)|0|0;h=da(h+4|0,4,0,0)|0|0;if((b|0)!=0|(d|0)==0&(h|0)==0)e=$b[(fa(da(e+16|0,4,0,0)|0|0,63|0)|0)&63](g,0,0)|0;else e=sc[(fa(da(e+12|0,4,0,0)|0|0,31|0)|0)&31](g,14664,28,0,0)|0;if(!e){if(!(da(a+7>>0|0,1,0,0)|0)){e=da(m|0,4,0,0)|0|0;e=qc[(fa(da((da(e|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](e,da(a+11>>0|0,1,0,1)|0|16)|0}else e=0;if((e|0)==0&((h|0)>0|(h|0)==0&d>>>0>0)){e=da(m|0,4,0,0)|0|0;e=qc[(fa(da((da(e|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,127|0)|0)&127](e,k)|0;f=k;k=da(f+4|0,4,0,0)|0|0;if((e|0)==0&((k|0)>(h|0)|((k|0)==(h|0)?(da(f|0,4,0,0)|0|0)>>>0>d>>>0:0))){e=da(m|0,4,0,0)|0|0;e=$b[(fa(da((da(e|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,63|0)|0)&63](e,d,h)|0}}}}else e=0;m=l;ea(m|0,0|0,4,0);ea(m+4|0,0|0,4,0)}while(0);f=a+56|0;di(da(f|0,4,0,0)|0|0);ea(f|0,0|0,4,0);ea(a+44|0,0|0,4,0);f=a+204|0;d=da(f|0,4,0,0)|0|0;b=da(d|0,4,0,0)|0|0;if(b){do{wl(b);b=da(d|0,4,0,0)|0|0}while((b|0)!=0);d=da(f|0,4,0,0)|0|0}f=a+24|0;cp(d,da(f|0,4,0,0)|0|0);g=a+208|0;d=da(g|0,4,0,0)|0|0;if(!d){if((e|0)==0&(c|0)!=0){d=da(f|0,4,0,0)|0|0;if((da(a+32|0,4,0,0)|0|0)>>>0>d>>>0)e=Al(a,d)|0;else e=0}}else{b=d+44|0;if(da(b>>0|0,1,0,0)|0){if(!(da(d+43>>0|0,1,0,0)|0)){m=da(d+4|0,4,0,0)|0|0;oc[(fa(da((da(m|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](m,0,1,9)|0}ea(b>>0|0,0|0,1,0);ea(d+47>>0|0,0|0,1,0)}}if((e|0)==0&(c|0)!=0){d=da(a+60|0,4,0,0)|0|0;e=da(d|0,4,0,0)|0|0;if(!e)f=0;else{f=$b[(fa(da(e+40|0,4,0,0)|0|0,63|0)|0)&63](d,22,0)|0;f=(f|0)==12?0:f}}else f=e;do if(!(da(a+4>>0|0,1,0,0)|0)){d=da(g|0,4,0,0)|0|0;if((d|0)!=0?(dp(d,0)|0)==0:0){d=0;break}e=da(a+60|0,4,0,0)|0|0;d=da(e|0,4,0,0)|0|0;if(d){if(!(da(a+13>>0|0,1,0,0)|0))d=qc[(fa(da(d+32|0,4,0,0)|0|0,127|0)|0)&127](e,1)|0;else d=0;e=a+17|0;if((da(e>>0|0,1,0,0)|0|0)!=5)ea(e>>0|0,1|0,1,0)}else d=0;ea(a+18>>0|0,0|0,1,0)}else d=0;while(0);ea(n>>0|0,1|0,1,0);ea(a+19>>0|0,0|0,1,0);d=(f|0)==0?d:f}i=o;return d|0}function Cl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=da(a+4|0,4,0,0)|0|0;c=da(a|0,4,0,0)|0|0;ea(f+19>>0|0,0|0,1,0);g=a+8|0;do if(da(g>>0|0,1,0,0)|0){if((da(c+152|0,4,0,0)|0|0)>1){c=f+76|0;if((da(c|0,4,0,0)|0|0)==(a|0)?(ea(c|0,0|0,4,0),b=f+22|0,ea(b|0,(da(b|0,2,0,1)|0)&65439|0,2,0),b=da(f+72|0,4,0,0)|0|0,(b|0)!=0):0)do{ea(b+8>>0|0,1|0,1,0);b=da(b+12|0,4,0,0)|0|0}while((b|0)!=0);ea(g>>0|0,1|0,1,0);break}c=f+72|0;b=da(c|0,4,0,0)|0|0;a:do if(b)do while(1){d=b+12|0;e=da(d|0,4,0,0)|0|0;if((da(b|0,4,0,0)|0|0)!=(a|0)){c=d;b=e;break}ea(c|0,e|0,4,0);if((da(b+4|0,4,0,0)|0|0)==1)b=e;else{Vc(b);b=da(c|0,4,0,0)|0|0}if(!b)break a}while((b|0)!=0);while(0);b=f+76|0;if((da(b|0,4,0,0)|0|0)!=(a|0)){b=da(f+40|0,4,0,0)|0|0;if((b|0)==2){e=f+22|0;ea(e|0,(da(e|0,2,0,1)|0)&65471|0,2,0);ea(f+40|0,1|0,4,0);e=20;break}}else{ea(b|0,0|0,4,0);b=f+22|0;ea(b|0,(da(b|0,2,0,1)|0)&65439|0,2,0);b=da(f+40|0,4,0,0)|0|0}b=b+-1|0;ea(f+40|0,b|0,4,0);if(!b){ea(f+20>>0|0,0|0,1,0);e=20}else e=20}else e=20;while(0);if(((e|0)==20?(ea(g>>0|0,0|0,1,0),(da(f+20>>0|0,1,0,0)|0|0)==0):0)?(h=f+12|0,i=da(h|0,4,0,0)|0|0,(i|0)!=0):0){ea(h|0,0|0,4,0);Ag(da(i+68|0,4,0,0)|0|0)}return}function Dl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=((da(a+36|0,4,0,0)|0|0)>>>0)/5|0;if(b>>>0<2){d=0;e=da(a+32|0,4,0,0)|0|0;g=da(2514*4|0,4,0,0)|0|0}else{d=b+-2|0;d=d-((d>>>0)%((f+1|0)>>>0)|0)|0;g=da(2514*4|0,4,0,0)|0|0;e=da(a+32|0,4,0,0)|0|0;d=((d+1|0)==((g>>>0)/(e>>>0)|0|0)?3:2)+d|0}c=b-c-(((c-b+f+d|0)>>>0)/(f>>>0)|0)|0;a=a+32|0;d=((g>>>0)/(e>>>0)|0)+1|0;e=((g>>>0)/(e>>>0)|0)+1|0;c=((d>>>0<b>>>0&c>>>0<d>>>0)<<31>>31)+c|0;while(1){if(c>>>0<2)d=0;else{d=c+-2|0;d=d-((d>>>0)%((f+1|0)>>>0)|0)|0;d=((d+1|0)==((g>>>0)/((da(a|0,4,0,0)|0|0)>>>0)|0|0)?3:2)+d|0}if(!((d|0)==(c|0)|(c|0)==(e|0)))break;c=c+-1|0}return c|0}function El(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=(b|0)==0;d=a;a:while(1){do if((d|0)!=(c|0)){if(!e?(da(d+60|0,4,0,0)|0|0)!=(b|0):0)break;if(((da(d+73>>0|0,1,0,0)|0|0)+-1&255)<2){a=ep(d)|0;if(!a)break;else break a}else{fp(d);break}}while(0);d=da(d+8|0,4,0,0)|0|0;if(!d){a=0;break}}return a|0}function Fl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+48|0;if((i|0)>=(j|0))ba();f=s;h=s+32|0;p=s+28|0;g=s+24|0;l=s+20|0;n=s+16|0;q=s+12|0;o=s+8|0;if(c>>>0<2)k=0;else{k=c+-2|0;k=k-((k>>>0)%(((((da(a+36|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;k=((k+1|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(a+32|0,4,0,0)|0|0)>>>0)|0|0)?3:2)+k|0}do if((k|0)!=(c|0)?((((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(a+32|0,4,0,0)|0|0)>>>0)|0)+1|0)!=(c|0):0){m=da((da(a+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;if((da(m+37>>0|0,1,0,1)|0|0)<<16|(da(m+36>>0|0,1,0,1)|0|0)<<24|(da(m+38>>0|0,1,0,1)|0|0)<<8|(da(m+39>>0|0,1,0,1)|0|0)){e=gp(a,c,h,p)|0;if(!e){m=da(h>>0|0,1,0,0)|0|0;if(m<<24>>24==2){if(d){e=0;break}e=hp(a,l,g,c,1)|0;if(e)break;f=da(l|0,4,0,0)|0|0;if(!f){r=24;break}Ag(da(f+68|0,4,0,0)|0|0);r=24;break}else if(m<<24>>24!=1){e=cl(a,c,q,0)|0;if(e)break;f=(d|0)==0;h=f?2:0;f=f?b:0;g=(d|0)!=0;do{e=hp(a,o,n,f,h)|0;if(e){r=16;break}k=da(o|0,4,0,0)|0|0;if(k)Ag(da(k+68|0,4,0,0)|0|0);k=da(n|0,4,0,0)|0|0}while(g&k>>>0>b>>>0);if((r|0)==16){f=da(q|0,4,0,0)|0|0;if(!f)break;Ag(da(f+68|0,4,0,0)|0|0);break}h=da(q|0,4,0,0)|0|0;e=Ym(a,h,m,da(p|0,4,0,0)|0|0,k,d)|0;if(h)Ag(da(h+68|0,4,0,0)|0|0);if(!e){r=24;break}else break}else{ea(f|0,56228|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);e=11;break}}}else e=101}else r=24;while(0);if((r|0)==24)if(!d){g=((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(a+32|0,4,0,0)|0|0)>>>0)|0;h=g+1|0;k=a+36|0;f=c;while(1){e=f+-1|0;if((e|0)==(h|0)){f=e;continue}if(e>>>0<2)f=0;else{f=f+-3|0;f=f-((f>>>0)%(((((da(k|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;f=((f+1|0)==(g|0)?3:2)+f|0}if((f|0)==(e|0))f=e;else break}ea(a+19>>0|0,1|0,1,0);ea(a+44|0,e|0,4,0);e=0}else e=0;i=s;return e|0}function Gl(a){a=a|0;var b=0,c=0,d=0;d=a+16|0;c=da(d>>0|0,1,0,0)|0|0;a:do if(c<<24>>24!=6)if((c&255)>=2){do if(!(da(a+208|0,4,0,0)|0)){if(!(c<<24>>24==2?1:(da(da(a+64|0,4,0,0)|0|0,4,0,0)|0|0)==0)){b=Jo(a,0)|0;break}b=Bl(a,0,0)|0;if((da(a+15>>0|0,1,0,0)|0|0)==0&(c&255)>2){ea(a+40|0,4|0,4,0);ea(d>>0|0,6|0,1,0);break a}}else{b=ip(a,2,-1)|0;c=Bl(a,da(a+19>>0|0,1,0,1)|0|0,0)|0;b=(b|0)==0?c:b}while(0);c=b&255;if((c|0)==10|(c|0)==13){ea(a+40|0,b|0,4,0);ea(d>>0|0,6|0,1,0)}}else b=0;else b=da(a+40|0,4,0,0)|0|0;while(0);return b|0}function Hl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;a:do if((a|0)!=0?(e=da(a+4|0,4,0,0)|0|0,ea(e+4|0,da(a|0,4,0,0)|0|0,4,0),e=da(e+8|0,4,0,0)|0|0,(e|0)!=0):0){i=(c|0)==0;while(1){if(!i?((da(e+72>>0|0,1,0,0)|0)&1)==0:0){if(((da(e+73>>0|0,1,0,0)|0|0)+-1&255)<2?(d=ep(e)|0,(d|0)!=0):0)break}else{c=e+56|0;Vc(da(c|0,4,0,0)|0|0);ea(c|0,0|0,4,0);ea(e+73>>0|0,4|0,1,0);ea(e+68|0,b|0,4,0)}c=e+76|0;if((da(c|0,2,0,0)|0|0)>=0){h=0;while(1){f=e+(h<<2)+120|0;g=da(f|0,4,0,0)|0|0;if(g)Ag(da(g+68|0,4,0,0)|0|0);ea(f|0,0|0,4,0);if((h|0)<(da(c|0,2,0,0)|0|0))h=h+1|0;else break}}e=da(e+8|0,4,0,0)|0|0;if(!e)break a}Hl(a,d,0)|0;return d|0}while(0);return 0}function Il(a){a=a|0;var b=0,c=0,d=0;a:do if(!(da(a+4|0,4,0,0)|0)){d=da(a+20|0,4,0,0)|0|0;if((d|0)>0){a=da(a+16|0,4,0,0)|0|0;c=0;while(1){b=da(a+(c<<4)+4|0,4,0,0)|0|0;if((b|0)!=0?(da(b+16|0,4,0,0)|0|0)!=0:0){a=1;break a}c=c+1|0;if((c|0)>=(d|0)){a=0;break}}}else a=0}else a=1;while(0);return a|0}function Jl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=da(3164*4|0,4,0,0)|0|0;if(c)mc[(fa(c|0,3|0)|0)&3]();i=a+20|0;g=da(i|0,4,0,0)|0|0;f=(g|0)>0;if(f){c=da(a+16|0,4,0,0)|0|0;e=0;do{d=da(c+(e<<4)+4|0,4,0,0)|0|0;if(d)ea((da(d+4|0,4,0,0)|0|0)+4|0,da(d|0,4,0,0)|0|0,4,0);e=e+1|0}while((e|0)!=(g|0))}j=a+24|0;if(!((da(j|0,4,0,0)|0)&2))c=1;else c=(da(a+145>>0|0,1,0,0)|0|0)!=0;if(f){h=a+16|0;c=c&1;f=g;g=0;e=0;while(1){d=da((da(h|0,4,0,0)|0|0)+(g<<4)+4|0,4,0,0)|0|0;if(!d)d=f;else{e=(da(d+8>>0|0,1,0,0)|0|0)==2?1:e;Kg(d,b,c);d=da(i|0,4,0,0)|0|0}g=g+1|0;if((g|0)>=(d|0))break;else f=d}}else e=0;Qn(a,68);c=da(3166*4|0,4,0,0)|0|0;if(c)mc[(fa(c|0,3|0)|0)&3]();c=da(j|0,4,0,0)|0|0;if((c&2|0)!=0?(da(a+145>>0|0,1,0,0)|0|0)==0:0){c=da(a+4|0,4,0,0)|0|0;if(c)do{d=c+88|0;ea(d|0,da(d|0,2,0,0)|0|8|0,2,0);c=da(c+52|0,4,0,0)|0|0}while((c|0)!=0);Dg(a);c=da(j|0,4,0,0)|0|0}d=a+504|0;ea(d+0|0,0|0,4,0);ea(d+4|0,0|0,4,0);ea(d+8|0,0|0,4,0);ea(d+12|0,0|0,4,0);ea(j|0,c&-16777217|0,4,0);c=da(a+204|0,4,0,0)|0|0;do if(c){if((e|0)==0?(da(a+63>>0|0,1,0,0)|0|0)!=0:0)break;bc[(fa(c|0,31|0)|0)&31](da(a+200|0,4,0,0)|0|0)}while(0);return}function Kl(a){a=a|0;var b=0,c=0;c=a+488|0;b=da(c|0,4,0,0)|0|0;if(b)do{ea(c|0,da(b+24|0,4,0,0)|0|0,4,0);lg(a,b);b=da(c|0,4,0,0)|0|0}while((b|0)!=0);ea(a+496|0,0|0,4,0);ea(a+500|0,0|0,4,0);ea(a+70>>0|0,0|0,1,0);return}function Ll(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=da(a+4|0,4,0,0)|0|0;ea(f+4|0,da(a|0,4,0,0)|0|0,4,0);c=da(f+8|0,4,0,0)|0|0;if(c)do{b=c;c=da(c+8|0,4,0,0)|0|0;if((da(b|0,4,0,0)|0|0)==(a|0))jp(b)}while((c|0)!=0);Kg(a,0,0);a:do if(da(a+9>>0|0,1,0,0)|0){c=f+64|0;b=da(c|0,4,0,0)|0|0;ea(c|0,b+-1|0,4,0);if((b|0)<2){b=da(3664*4|0,4,0,0)|0|0;if((b|0)==(f|0)){ea(3664*4|0,da(f+68|0,4,0,0)|0|0,4,0);d=12;break}else c=b;do{if(!c){d=12;break a}b=c+68|0;c=da(b|0,4,0,0)|0|0}while((c|0)!=(f|0));ea(b|0,da(f+68|0,4,0,0)|0|0,4,0);d=12}}else d=12;while(0);if((d|0)==12){kp(da(f|0,4,0,0)|0|0);b=da(f+52|0,4,0,0)|0|0;c=f+48|0;if((b|0)!=0?(e=da(c|0,4,0,0)|0|0,(e|0)!=0):0)bc[(fa(b|0,31|0)|0)&31](e);b=da(c|0,4,0,0)|0|0;if(b)Vc(b);b=f+80|0;c=da(b|0,4,0,0)|0|0;if(c){c=c+-4|0;ea(b|0,c|0,4,0);_k(c);ea(b|0,0|0,4,0)}Vc(f)}c=da(a+28|0,4,0,0)|0|0;b=a+24|0;if(c)ea(c+24|0,da(b|0,4,0,0)|0|0,4,0);b=da(b|0,4,0,0)|0|0;if(b)ea(b+28|0,c|0,4,0);Vc(a);return}function Ml(a,b){a=a|0;b=b|0;var c=0;b=da(b+32|0,4,0,0)|0|0;if((b|0)!=0?(c=(da(b|0,4,0,0)|0|0)+-1|0,ea(b|0,c|0,4,0),(c|0)==0):0){bc[(fa(da(b+4|0,4,0,0)|0|0,31|0)|0)&31](da(b+8|0,4,0,0)|0|0);lg(a,b)}return}function Nl(a){a=a|0;var b=0,c=0;c=a+8|0;b=da(c|0,4,0,0)|0|0;ea(c|0,0|0,4,0);c=a+12|0;Vc(da(c|0,4,0,0)|0|0);ea(c|0,0|0,4,0);ea(a|0,0|0,4,0);if(b)do{c=b;b=da(b|0,4,0,0)|0|0;Vc(c)}while((b|0)!=0);ea(a+4|0,0|0,4,0);return}function Ol(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){d=da(a|0,4,0,0)|0|0;kg(d,a);e=da(a+48|0,4,0,0)|0|0;c=a+52|0;b=da(c|0,4,0,0)|0|0;if(!e)ea(d+4|0,b|0,4,0);else{ea(e+52|0,b|0,4,0);b=da(c|0,4,0,0)|0|0}if(b)ea(b+48|0,e|0,4,0);ea(a+40|0,-1241070648|0,4,0);ea(a|0,0|0,4,0);lg(d,a)}return}function Pl(a){a=a|0;var b=0;ea(a+65>>0|0,0|0,1,0);ea(a+52|0,7|0,4,0);a=da(a+236|0,4,0,0)|0|0;do if(a){b=a+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(b|0,1|0,2,0);break}else{ug(a);break}}while(0);return}function Ql(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+32|0;if((i|0)>=(j|0))ba();q=A;t=A+16|0;m=A+12|0;n=A+8|0;z=da(a|0,4,0,0)|0|0;if(da(z+65>>0|0,1,0,0)|0)ea(a+80|0,7|0,4,0);c=da(a+200|0,4,0,0)|0|0;if(c)ew(c|0,0,da(a+196|0,4,0,0)|0|0)|0;e=a+176|0;c=da(e|0,4,0,0)|0|0;if(c){while(1){d=da(c+4|0,4,0,0)|0|0;if(!d)break;else c=d}Wl(c)|0;ea(e|0,0|0,4,0);ea(a+184|0,0|0,4,0)}k=a+56|0;c=da(k|0,4,0,0)|0|0;a:do if((c|0)!=0?(l=a+36|0,b=da(l|0,4,0,0)|0|0,(b|0)>0):0){e=0;while(1){d=da(c+(e<<2)|0,4,0,0)|0|0;if(!d)d=b;else{Am(a,d);ea((da(k|0,4,0,0)|0|0)+(e<<2)|0,0|0,4,0);d=da(l|0,4,0,0)|0|0}e=e+1|0;if((e|0)>=(d|0))break a;c=da(k|0,4,0,0)|0|0;b=d}}while(0);c=da(a+8|0,4,0,0)|0|0;if(c)bh(c+40|0,da(a+28|0,4,0,0)|0|0);l=a+180|0;c=da(l|0,4,0,0)|0|0;if(c)do{ea(l|0,da(c+4|0,4,0,0)|0|0,4,0);k=c+80|0;b=c+60|0;d=da(b|0,4,0,0)|0|0;g=k+(d*40|0)|0;h=c+64|0;if((da(h|0,4,0,0)|0|0)>0){e=0;do{Am(da(c|0,4,0,0)|0|0,da(g+(e<<2)|0,4,0,0)|0|0);e=e+1|0}while((e|0)<(da(h|0,4,0,0)|0|0));d=da(b|0,4,0,0)|0|0}bh(k,d);lg(da(da(c|0,4,0,0)|0|0,4,0,0)|0|0,c);c=da(l|0,4,0,0)|0|0}while((c|0)!=0);if(da(a+204|0,4,0,0)|0)dm(a,-1,0);x=a+40|0;b:do if((da(x|0,4,0,0)|0|0)==-1108210269){v=a+76|0;if((da(v|0,4,0,0)|0|0)>-1){w=a+88|0;h=da(w|0,2,0,0)|0|0;if(h&128){u=a+80|0;e=da(u|0,4,0,0)|0|0;g=e&255;d=g+-7|0;do if(d>>>0<7?(f=(77>>>(d&127)&1)!=0,f):0)if((h&64)==0|(g|0)!=9){if((g|0)==7|(g|0)==13?(h&32)!=0:0){b=2;break}Jl(z,516);Kl(z);ea(z+63>>0|0,1|0,1,0);ea(a+92|0,0|0,4,0);e=da(u|0,4,0,0)|0|0;b=0}else{f=1;b=0}else{f=0;b=0}while(0);if((e|0)==0?(s=a+144|0,r=da(s+4|0,4,0,0)|0|0,(r|0)>0|(r|0)==0&(da(s|0,4,0,0)|0|0)>>>0>0):0){s=da(a|0,4,0,0)|0|0;ea(u|0,787|0,4,0);ea(a+86>>0|0,2|0,1,0);ch(a+44|0,s,34376,q)}g=z+304|0;if((da(g|0,4,0,0)|0|0)>0?(da(z+328|0,4,0,0)|0|0)==0:0)y=141;else if((da(z+63>>0|0,1,0,0)|0|0)!=0?(da(z+156|0,4,0,0)|0|0)==(((da(w|0,2,0,1)|0|0)>>>6&1^1)&65535|0):0){do if(!(da(u|0,4,0,0)|0))y=41;else{if(!((da(a+86>>0|0,1,0,0)|0|0)!=3|f)){y=41;break}Jl(z,0);ea(a+92|0,0|0,4,0)}while(0);c:do if((y|0)==41){d:do if(sm(a,1)|0)if(!((da(w|0,2,0,0)|0)&64))c=787;else{b=1;break b}else{f=z+328|0;d=da(f|0,4,0,0)|0|0;ea(f|0,0|0,4,0);e=da(g|0,4,0,0)|0|0;e:do if((e|0)>0){h=0;f:while(1){l=da((da(d+(h<<2)|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;do if(l){k=da((da(l|0,4,0,0)|0|0)+60|0,4,0,0)|0|0;if(!k)break;c=kc[(fa(k|0,127|0)|0)&127](l)|0;Lm(a,l);if(c)break f;e=da(g|0,4,0,0)|0|0}while(0);h=h+1|0;if((h|0)>=(e|0)){y=50;break e}}ea(f|0,d|0,4,0);y=135}else y=50;while(0);g:do if((y|0)==50){ea(f|0,d|0,4,0);r=z+20|0;s=z+16|0;k=0;e=0;h=0;h:while(1){g=da(r|0,4,0,0)|0|0;if((k|0)>=(g|0)){d=e;break}f=da(s|0,4,0,0)|0|0;l=k;while(1){k=da(f+(l<<4)+4|0,4,0,0)|0|0;if((k|0)!=0?(da(k+8>>0|0,1,0,0)|0|0)==2:0)break;l=l+1|0;if((l|0)>=(g|0)){d=e;break h}}c=da(k+4|0,4,0,0)|0|0;ea(c+4|0,da(k|0,4,0,0)|0|0,4,0);c=ap(da(c|0,4,0,0)|0|0)|0;if(!c){k=l+1|0;e=((l|0)!=1&1)+e|0;h=1}else{y=135;break g}}do if(h){f=da(z+196|0,4,0,0)|0|0;if(!f)break;if(kc[(fa(f|0,127|0)|0)&127](da(z+192|0,4,0,0)|0|0)|0){c=531;break d}}while(0);e=da((da(s|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;h=da(da(e+4|0,4,0,0)|0|0,4,0,0)|0|0;g=(da(h+15>>0|0,1,0,0)|0|0)==0;if(g){l=da(h+168|0,4,0,0)|0|0;if(l)y=62}else{l=10360;y=62}do if((y|0)==62){k=l;while(1)if(!(da(k>>0|0,1,0,0)|0))break;else k=k+1|0;if((k-l&1073741823|0)==0|(d|0)<2)break;p=da(z|0,4,0,0)|0|0;if(g){f=da(h+168|0,4,0,0)|0|0;ea(t|0,0|0,4,0);if(!f){l=0;f=0}else y=80}else{ea(t|0,0|0,4,0);f=10360;y=80}if((y|0)==80){h=f;while(1)if(!(da(h>>0|0,1,0,0)|0))break;else h=h+1|0;l=h-f&1073741823}ea(q|0,f|0,4,0);o=th(z,44696,q)|0;if(!o){c=7;break d}l=o+l|0;k=p+32|0;h=0;i:while(1){do if(h){if((h|0)>100){y=87;break i}if((h|0)!=1)break;ea(q|0,o|0,4,0);ad(13,44728,q)}while(0);bd(4,n);c=da(n|0,4,0,0)|0|0;ea(q|0,c>>>8|0,4,0);ea(q+4|0,c&255|0,4,0);$c(13,l,44744,q)|0;c=oc[(fa(da(k|0,4,0,0)|0|0,31|0)|0)&31](p,o,0,m)|0;g=(c|0)==0;if(g&(da(m|0,4,0,0)|0|0)!=0)h=h+1|0;else{y=91;break}}if((y|0)==87){ea(q|0,o|0,4,0);ad(13,44712,q);$b[(fa(da(p+28|0,4,0,0)|0|0,63|0)|0)&63](p,o,0)|0;y=92}else if((y|0)==91)if(g)y=92;do if((y|0)==92){c=lp(p,o,t,16406,0)|0;if(c)break;f=da(r|0,4,0,0)|0|0;j:do if((f|0)>0){m=0;k=0;n=0;h=0;k:while(1){l=da((da(s|0,4,0,0)|0|0)+(n<<4)+4|0,4,0,0)|0|0;do if(!l)l=m;else{if((da(l+8>>0|0,1,0,0)|0|0)!=2){l=m;break}g=da(l+4|0,4,0,0)|0|0;e=da(g|0,4,0,0)|0|0;d=da(e+172|0,4,0,0)|0|0;if(!d){l=m;break}if(!h){ea(g+4|0,da(l|0,4,0,0)|0|0,4,0);h=(da(e+7>>0|0,1,0,0)|0|0)==0&1}e=da(t|0,4,0,0)|0|0;l=d;while(1)if(!(da(l>>0|0,1,0,0)|0))break;else l=l+1|0;g=d;c=sc[(fa(da((da(e|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](e,d,(l-g&1073741823)+1|0,m,k)|0;l=d;while(1)if(!(da(l>>0|0,1,0,0)|0))break;else l=l+1|0;if(c){f=e;y=106;break k}l=iw((l-g&1073741823)+1|0,0,m|0,k|0)|0;f=da(r|0,4,0,0)|0|0;k=C}while(0);n=n+1|0;if((n|0)>=(f|0))break;else m=l}if((y|0)==106){d=da(f|0,4,0,0)|0|0;if(d){kc[(fa(da(d+4|0,4,0,0)|0|0,127|0)|0)&127](e)|0;ea(f|0,0|0,4,0)}Vc(e);$b[(fa(da(p+28|0,4,0,0)|0|0,63|0)|0)&63](p,o,0)|0;lg(z,o);y=135;break g}do if(!h)h=0;else{g=da(t|0,4,0,0)|0|0;if((kc[(fa(da((da(g|0,4,0,0)|0|0)+48|0,4,0,0)|0|0,127|0)|0)&127](g)|0)&1024)break;c=qc[(fa(da((da(g|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](g,2)|0;if(!c)break;d=da(g|0,4,0,0)|0|0;if(d){kc[(fa(da(d+4|0,4,0,0)|0|0,127|0)|0)&127](g)|0;ea(g|0,0|0,4,0)}Vc(g);$b[(fa(da(p+28|0,4,0,0)|0|0,63|0)|0)&63](p,o,0)|0;lg(z,o);y=135;break g}while(0);e=da(r|0,4,0,0)|0|0;if((e|0)>0)l=0;else{l=1;c=0;break}while(1){g=da((da(s|0,4,0,0)|0|0)+(l<<4)+4|0,4,0,0)|0|0;if(g){c=Jg(g,o)|0;if(c){l=0;break j}e=da(r|0,4,0,0)|0|0}l=l+1|0;if((l|0)>=(e|0)){l=1;c=0;break}}}else{l=1;h=0;c=0}while(0);g=da(t|0,4,0,0)|0|0;f=da(g|0,4,0,0)|0|0;if(f){kc[(fa(da(f+4|0,4,0,0)|0|0,127|0)|0)&127](g)|0;ea(g|0,0|0,4,0)}Vc(g);if(!l){lg(z,o);y=135;break g}c=$b[(fa(da(p+28|0,4,0,0)|0|0,63|0)|0)&63](p,o,h)|0;lg(z,o);if(c){y=135;break g}c=da(3164*4|0,4,0,0)|0|0;if(c)mc[(fa(c|0,3|0)|0)&3]();c=da(r|0,4,0,0)|0|0;if((c|0)>0){e=0;do{d=da((da(s|0,4,0,0)|0|0)+(e<<4)+4|0,4,0,0)|0|0;if(d){Ig(d,1)|0;c=da(r|0,4,0,0)|0|0}e=e+1|0}while((e|0)<(c|0))}c=da(3166*4|0,4,0,0)|0|0;if(c)mc[(fa(c|0,3|0)|0)&3]();Qn(z,64);break g}while(0);lg(z,o);y=135;break g}while(0);c=da(r|0,4,0,0)|0|0;do if((c|0)>0){d=1;while(1){if(e){c=Jg(e,0)|0;if(c){y=135;break g}c=da(r|0,4,0,0)|0|0}if((d|0)>=(c|0))break;e=da((da(s|0,4,0,0)|0|0)+(d<<4)+4|0,4,0,0)|0|0;d=d+1|0}if((c|0)>0)e=0;else break;do{d=da((da(s|0,4,0,0)|0|0)+(e<<4)+4|0,4,0,0)|0|0;if(d){c=Ig(d,0)|0;if(c){y=135;break g}c=da(r|0,4,0,0)|0|0}e=e+1|0}while((e|0)<(c|0))}while(0);Qn(z,64)}while(0);do if((y|0)==135){if(!c)break;else if((c|0)!=5)break d;if(!((da(w|0,2,0,0)|0)&64)){c=5;break d}else{b=5;break b}}while(0);t=z+504|0;y=z+24|0;ea(t+0|0,0|0,4,0);ea(t+4|0,0|0,4,0);ea(t+8|0,0|0,4,0);ea(t+12|0,0|0,4,0);ea(y|0,(da(y|0,4,0,0)|0)&-16777219|0,4,0);break c}while(0);ea(u|0,c|0,4,0);Jl(z,0);ea(a+92|0,0|0,4,0)}while(0);ea(z+500|0,0|0,4,0);y=146}else y=141;do if((y|0)==141)if(!b)if(da(u|0,4,0,0)|0){c=da(a+86>>0|0,1,0,0)|0|0;if(c<<24>>24==2){b=2;y=147;break}else if(c<<24>>24==3){b=1;y=147;break}else{Jl(z,516);Kl(z);ea(z+63>>0|0,1|0,1,0);ea(a+92|0,0|0,4,0);y=146;break}}else{b=1;y=147}else y=147;while(0);if((y|0)==146)if(!b)b=0;else y=147;if((y|0)==147){c=_l(a,b)|0;if(c){y=da(u|0,4,0,0)|0|0;if((y|0)==0|(y&255|0)==19){ea(u|0,c|0,4,0);y=a+44|0;lg(z,da(y|0,4,0,0)|0|0);ea(y|0,0|0,4,0)}Jl(z,516);Kl(z);ea(z+63>>0|0,1|0,1,0);ea(a+92|0,0|0,4,0)}}if((da(w|0,2,0,0)|0)&4){if((b|0)==2){ea(z+80|0,0|0,4,0);b=a+92|0}else{b=a+92|0;y=da(b|0,4,0,0)|0|0;ea(z+80|0,y|0,4,0);u=z+84|0;ea(u|0,(da(u|0,4,0,0)|0|0)+y|0,4,0)}ea(b|0,0|0,4,0)}}if((da(v|0,4,0,0)|0|0)>-1){b=z+148|0;ea(b|0,(da(b|0,4,0,0)|0|0)+-1|0,4,0);b=da(w|0,2,0,0)|0|0;if(!(b&64)){b=z+156|0;ea(b|0,(da(b|0,4,0,0)|0|0)+-1|0,4,0);b=da(w|0,2,0,0)|0|0}if(b&128){y=z+152|0;ea(y|0,(da(y|0,4,0,0)|0|0)+-1|0,4,0)}}}ea(x|0,1369188723|0,4,0);b=a+80|0;if(!(da((da(a|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)){b=(da(b|0,4,0,0)|0|0)==5?5:0;break}else{ea(b|0,7|0,4,0);b=0;break}}else b=0;while(0);i=A;return b|0}function Rl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=a+8|0;d=da(e|0,2,0,1)|0|0;do if(d&18){ea(e|0,d|2|0,2,0);if(d&16384)Qg(a)|0;c=a+10|0;b=b&255;d=b&247;if((da(c>>0|0,1,0,1)|0|0|0)!=(d|0))Xl(a,d)|0;if(((b&8|0)!=0?((da(a+16|0,4,0,0)|0)&1|0)!=0:0)?(Ul(a)|0)!=0:0){c=0;break}if(((da(e|0,2,0,0)|0)&514)==2){$l(a)|0;f=12}else f=12}else{am(a,b,0)|0;d=b&247;c=a+10|0;f=12}while(0);if((f|0)==12)if((da(c>>0|0,1,0,1)|0|0|0)==(d|0))c=da(a+16|0,4,0,0)|0|0;else c=0;return c|0}function Sl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0.0,g=0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;ea(b|0,+(0.0),8,1);g=d&255;if(d<<24>>24==1){d=a;e=c;m=1;p=0}else{e=3-g|0;a:do if((e|0)<(c|0))while(1){d=e+2|0;if(da(a+e>>0|0,1,0,0)|0){c=1;break a}if((d|0)<(c|0))e=d;else{c=0;e=d;break}}else c=0;while(0);d=a+(g&1)|0;e=g+-3+e|0;m=2;p=c}o=a+e|0;b:do if(d>>>0<o>>>0){while(1){e=da(d>>0|0,1,0,0)|0|0;if(!((da(10368+(e&255)>>0|0,1,0,0)|0)&1))break;d=d+m|0;if(d>>>0>=o>>>0){d=0;break b}}if(e<<24>>24==45){d=d+m|0;n=-1}else if(e<<24>>24==43){d=d+m|0;n=1}else n=1;c:do if(d>>>0<o>>>0){e=0;do{if((da(d>>0|0,1,0,0)|0|0)!=48)break c;d=d+m|0;e=e+1|0}while(d>>>0<o>>>0)}else e=0;while(0);d:do if(d>>>0<o>>>0){a=0;g=0;while(1){c=da(d>>0|0,1,0,0)|0|0;if(!(((c&255)+-48|0)>>>0<10&((a|0)<214748364|(a|0)==214748364&g>>>0<3435973835))){i=a;break d}g=rw(g|0,a|0,10,0)|0;a=(c<<24>>24)+-48|0;g=iw(a|0,((a|0)<0)<<31>>31|0,g|0,C|0)|0;a=C;d=d+m|0;e=e+1|0;if(d>>>0>=o>>>0){i=a;break}}}else{g=0;i=0}while(0);e:do if(d>>>0<o>>>0){c=0;while(1){a=da(d>>0|0,1,0,0)|0|0;if(((a&255)+-48|0)>>>0>=10){j=c;break}d=d+m|0;e=e+1|0;a=c+1|0;if(d>>>0<o>>>0)c=a;else{k=i;j=a;a=0;i=1;c=1;break e}}f:do if(a<<24>>24==46){c=d+m|0;g:do if(c>>>0<o>>>0){k=c;while(1){a=da(k>>0|0,1,0,0)|0|0;if(!(((a&255)+-48|0)>>>0<10&((i|0)<214748364|(i|0)==214748364&g>>>0<3435973835))){c=k;k=i;break g}g=rw(g|0,i|0,10,0)|0;i=(a<<24>>24)+-48|0;g=iw(i|0,((i|0)<0)<<31>>31|0,g|0,C|0)|0;i=C;e=e+1|0;a=j+-1|0;c=d+(m<<1)|0;if(c>>>0<o>>>0){d=k;k=c;j=a}else{d=k;k=i;j=a;break}}}else k=i;while(0);if(c>>>0<o>>>0){i=m<<1;while(1){if(((da(c>>0|0,1,0,1)|0|0)+-48|0)>>>0>=10)break f;a=d+i|0;e=e+1|0;if(a>>>0<o>>>0){d=c;c=a}else{c=a;break}}}}else{c=d;k=i}while(0);if(c>>>0<o>>>0){l=da(c>>0|0,1,0,0)|0|0;h:do if(l<<24>>24==69|l<<24>>24==101){d=c+m|0;if(d>>>0>=o>>>0){a=0;i=0;c=1;break e}a=da(d>>0|0,1,0,0)|0|0;if(a<<24>>24==45){d=c+(m<<1)|0;l=-1}else if(a<<24>>24==43){d=c+(m<<1)|0;l=1}else l=1;if(d>>>0<o>>>0){c=0;i=0}else{a=0;i=0;c=l;break e}while(1){a=da(d>>0|0,1,0,0)|0|0;if(((a&255)+-48|0)>>>0>=10){a=c;c=l;break h}if((c|0)<1e4)a=(c*10|0)+-48+(a<<24>>24)|0;else a=1e4;d=d+m|0;if(d>>>0<o>>>0){c=a;i=1}else{i=1;c=l;break}}}else{d=c;a=0;i=1;c=1}while(0);if((e|0)!=0&(i|0)!=0&d>>>0<o>>>0)do{if(!((da(10368+(da(d>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0)&1))break e;d=d+m|0}while(d>>>0<o>>>0)}else{d=c;a=0;i=1;c=1}}else{k=i;j=0;a=0;i=1;c=1}while(0);a=(_(a,c)|0)+j|0;l=(a|0)<0;c=l?0-a|0:a;do if((g|0)==0&(k|0)==0)if((n|0)<0)f=(e|0)!=0?-0.0:0.0;else f=0.0;else{if((a>>31|1|0)>0)if(((k|0)<214748364|(k|0)==214748364&g>>>0<3435973836)&(c|0)>0){a=k;do{c=c+-1|0;g=rw(g|0,a|0,10,0)|0;a=C}while(((a|0)<214748364|(a|0)==214748364&g>>>0<3435973836)&(c|0)>0)}else a=k;else{j=qw(g|0,k|0,10,0)|0;if((j|0)==0&(C|0)==0&(c|0)>0){a=k;do{c=c+-1|0;g=pw(g|0,a|0,10,0)|0;a=C;k=qw(g|0,a|0,10,0)|0}while((k|0)==0&(C|0)==0&(c|0)>0)}else a=k}k=(n|0)<0;j=cw(0,0,g|0,a|0)|0;j=k?j:g;k=k?C:a;if(!c){f=+(j>>>0)+4294967296.0*+(k|0);break}if((c+-308|0)>>>0<34){if(!((c|0)%308|0))h=1.0;else{f=1.0;do{f=f*10.0;c=c+-1|0}while(((c|0)%308|0|0)!=0);h=f}f=+(j>>>0)+4294967296.0*+(k|0);if(l){f=f/h/1.e+308;break}else{f=f*h*1.e+308;break}}if((c|0)>341){f=+(j>>>0)+4294967296.0*+(k|0);if(l){f=f*0.0;break}else{f=f*s;break}}if(!((c|0)%22|0)){g=c;f=1.0}else{g=c;f=1.0;do{f=f*10.0;g=g+-1|0}while(((g|0)%22|0|0)!=0)}if((g|0)>0){do{f=f*1.0e22;g=g+-22|0}while((g|0)>0);h=f}else h=f;f=+(j>>>0)+4294967296.0*+(k|0);if(l){f=f/h;break}else{f=f*h;break}}while(0);ea(b|0,+f,8,1);d=d>>>0>=o>>>0&(e|0)>0&(i|0)!=0&(p|0)==0&1}else d=0;while(0);return d|0}function Tl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=d&255;if(d<<24>>24==1){e=a;f=c;l=1;c=0}else{f=3-g|0;a:do if((f|0)<(c|0))while(1){d=f+2|0;if(da(a+f>>0|0,1,0,0)|0){c=1;break a}if((d|0)<(c|0))f=d;else{c=0;f=d;break}}else c=0;while(0);e=a+(g&1)|0;f=g+-3+f|0;l=2}i=a+f|0;b:do if(e>>>0<i>>>0){while(1){f=da(e>>0|0,1,0,0)|0|0;if(!((da(10368+(f&255)>>0|0,1,0,0)|0)&1))break;e=e+l|0;if(e>>>0>=i>>>0){j=0;break b}}if(f<<24>>24==43){e=e+l|0;j=0;break}else if(f<<24>>24==45){e=e+l|0;j=1;break}else{j=0;break}}else j=0;while(0);c:do if(e>>>0<i>>>0){f=e;while(1){if((da(f>>0|0,1,0,0)|0|0)!=48){k=f;break c}f=f+l|0;if(f>>>0>=i>>>0){k=f;break}}}else k=e;while(0);do if(k>>>0<i>>>0){a=k;h=0;g=0;f=0;while(1){d=da(a>>0|0,1,0,0)|0|0;if((d+-48&255)>=10){a=0;i=g;break}g=rw(h|0,g|0,10,0)|0;h=d<<24>>24;g=iw(g|0,C|0,-48,-1)|0;h=iw(g|0,C|0,h|0,((h|0)<0)<<31>>31|0)|0;g=C;f=f+l|0;a=k+f|0;if(a>>>0>=i>>>0){a=1;i=g;break}}g=d<<24>>24;d=(j|0)!=0;if((i|0)>=0)if(d){d=i;n=22;break}else{d=i;n=23;break}else{h=b;ea(h|0,(d?0:-1)|0,4,0);ea(h+4|0,(d?-2147483648:2147483647)|0,4,0);h=d?0:2;break}}else if(!j){a=1;h=0;d=0;g=0;f=0;n=23}else{a=1;h=0;d=0;g=0;f=0;n=22}while(0);if((n|0)==22){j=cw(0,0,h|0,d|0)|0;h=b;ea(h|0,j|0,4,0);ea(h+4|0,C|0,4,0);h=0}else if((n|0)==23){j=b;ea(j|0,h|0,4,0);ea(j+4|0,d|0,4,0);h=2}if(((g|0)==0|a?!((f|0)==0&(e|0)==(k|0)):0)?(m=l*19|0,!((f|0)>(m|0)|(c|0)!=0)):0)if((f|0)>=(m|0)){f=0;do{e=da(k+(_(f,l)|0)>>0|0,1,0,0)|0|0;c=da(11192+f>>0|0,1,0,0)|0|0;f=f+1|0;d=e<<24>>24==c<<24>>24}while(d&(f|0)<18);if(d)e=(da(k+(l*18|0)>>0|0,1,0,0)|0|0)+-56|0;else e=((e<<24>>24)-(c<<24>>24)|0)*10|0;if((e|0)>=0)return ((e|0)>0?1:h)|0;else e=0}else e=0;else e=1;return e|0}function Ul(a){a=a|0;var b=0,c=0;c=a+8|0;b=da(c|0,2,0,0)|0|0;if(b&16384){Qg(a)|0;b=da(c|0,2,0,0)|0|0}do if(b&18){if((da(a+24|0,4,0,0)|0|0)!=0?(da(a+16|0,4,0,0)|0|0)==(da(a+20|0,4,0,0)|0|0):0){b=0;break}b=a+12|0;if(!(dh(a,(da(b|0,4,0,0)|0|0)+2|0,1)|0)){a=a+16|0;ea((da(a|0,4,0,0)|0|0)+(da(b|0,4,0,0)|0|0)>>0|0,0|0,1,0);ea((da(a|0,4,0,0)|0|0)+((da(b|0,4,0,0)|0|0)+1)>>0|0,0|0,1,0);ea(c|0,da(c|0,2,0,1)|0|0|512|0,2,0);b=0}else b=7}else b=0;while(0);return b|0}function Vl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=qo(a,b,c,d)|0;if(!c)lg(a,b);return c|0}function Wl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=da(a|0,4,0,0)|0|0;ea(c+200|0,da(a+20|0,4,0,0)|0|0,4,0);ea(c+196|0,da(a+56|0,4,0,0)|0|0,4,0);ea(c+4|0,da(a+8|0,4,0,0)|0|0,4,0);ea(c+32|0,da(a+48|0,4,0,0)|0|0,4,0);ea(c+8|0,da(a+16|0,4,0,0)|0|0,4,0);ea(c+28|0,da(a+52|0,4,0,0)|0|0,4,0);ea(c+56|0,da(a+24|0,4,0,0)|0|0,4,0);ea(c+36|0,da(a+40|0,4,0,0)|0|0,4,0);f=a+32|0;d=da(f+4|0,4,0,0)|0|0;b=da(c|0,4,0,0)|0|0;e=b+32|0;ea(e|0,da(f|0,4,0,0)|0|0,4,0);ea(e+4|0,d|0,4,0);ea(c+92|0,da(a+68|0,4,0,0)|0|0,4,0);ea(b+80|0,da(a+72|0,4,0,0)|0|0,4,0);return da(a+44|0,4,0,0)|0|0}function Xl(a,b){a=a|0;b=b|0;if(((da(a+8|0,2,0,0)|0)&2)!=0?(da(a+10>>0|0,1,0,1)|0|0|0)!=(b|0):0)b=An(a,b&255)|0;else b=0;return b|0}function Yl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a+8|0;if((da(d|0,2,0,0)|0)&9312)ug(a);ea(a+0|0,da(b+0|0,4,0,0)|0|0,4,0);ea(a+4|0,da(b+4|0,4,0,0)|0|0,4,0);ea(a+8|0,da(b+8|0,4,0,0)|0|0,4,0);ea(a+12|0,da(b+12|0,4,0,0)|0|0,4,0);ea(a+16|0,da(b+16|0,4,0,0)|0|0,4,0);if(!((da(b+8|0,2,0,0)|0)&2048))ea(d|0,(da(d|0,2,0,1)|0|0)&58367|c|0,2,0);return}function Zl(a,b){a=a|0;b=b|0;var c=0,d=0;if(!(((da(a+8|0,2,0,0)|0)&9312)==0?(da(a+24|0,4,0,0)|0|0)==0:0))Pg(a);a=a+0|0;c=b+0|0;d=a+40|0;do{ea(a|0,da(c|0,4,0,0)|0|0,4,0);a=a+4|0;c=c+4|0}while((a|0)<(d|0));ea(b+8|0,1|0,2,0);ea(b+24|0,0|0,4,0);return}function _l(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=da(a|0,4,0,0)|0|0;l=o+500|0;e=da(l|0,4,0,0)|0|0;do if((e|0)!=0?(m=a+104|0,d=da(m|0,4,0,0)|0|0,(d|0)!=0):0){n=d+-1|0;j=o+20|0;d=da(j|0,4,0,0)|0|0;if((d|0)>0){h=o+16|0;i=(b|0)==2;f=d;g=0;d=0;do{e=da((da(h|0,4,0,0)|0|0)+(g<<4)+4|0,4,0,0)|0|0;if(e){if(i?(k=tm(e,2,n)|0,(k|0)!=0):0)e=k;else e=tm(e,1,n)|0;f=da(j|0,4,0,0)|0|0;d=(d|0)==0?e:d}g=g+1|0}while((g|0)<(f|0));ea(l|0,(da(l|0,4,0,0)|0|0)+-1|0,4,0);ea(m|0,0|0,4,0);if(!d)d=13;else{c=d;d=16}}else{ea(l|0,e+-1|0,4,0);ea(m|0,0|0,4,0);d=13}do if((d|0)==13){if((b|0)==2?(c=rm(o,2,n)|0,(c|0)!=0):0)break;c=rm(o,1,n)|0;d=16}while(0);if((d|0)==16)if((b|0)!=2)break;k=a+152|0;j=da(k+4|0,4,0,0)|0|0;l=o+504|0;ea(l|0,da(k|0,4,0,0)|0|0,4,0);ea(l+4|0,j|0,4,0);j=a+160|0;l=da(j+4|0,4,0,0)|0|0;k=o+512|0;ea(k|0,da(j|0,4,0,0)|0|0,4,0);ea(k+4|0,l|0,4,0)}else c=0;while(0);return c|0}function $l(a){a=a|0;var b=0,c=0;b=a+12|0;if(!(dh(a,(da(b|0,4,0,0)|0|0)+2|0,1)|0)){c=a+16|0;ea((da(c|0,4,0,0)|0|0)+(da(b|0,4,0,0)|0|0)>>0|0,0|0,1,0);ea((da(c|0,4,0,0)|0|0)+((da(b|0,4,0,0)|0|0)+1)>>0|0,0|0,1,0);b=a+8|0;ea(b|0,da(b|0,2,0,1)|0|0|512|0,2,0);b=0}else b=7;return b|0}function am(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();g=l;h=a+8|0;e=da(h|0,2,0,0)|0|0;if(!(eh(a,32)|0)){d=a+16|0;f=da(d|0,4,0,0)|0|0;if(!(e&4)){ea(k|0,+(+(+da(a|0,8,1,0))),8,1);ea(g|0,da(k|0,4,0,0)|0|0,4,0);ea(g+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(32,f,20272,g)|0}else{n=a;e=da(n+4|0,4,0,0)|0|0;m=g;ea(m|0,da(n|0,4,0,0)|0|0,4,0);ea(m+4|0,e|0,4,0);$c(32,f,19920,g)|0}e=da(d|0,4,0,0)|0|0;if(!e)d=0;else{d=e;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;d=d-e&1073741823}ea(a+12|0,d|0,4,0);ea(a+10>>0|0,1|0,1,0);d=da(h|0,2,0,1)|0|514;ea(h|0,(c<<24>>24==0?d:d&65523)|0,2,0);Xl(a,b&255)|0;d=0}else d=7;i=l;return d|0}function bm(a){a=a|0;var b=0,c=0;b=da(a+8|0,2,0,1)|0|0;c=b&12;if(!c)if(!(b&18))b=0;else b=mp(a)|0;else b=c&65535;return b|0}function cm(a){a=a|0;var b=0.0,c=0,d=0,e=0,f=0;b=+(+da(a|0,8,1,0));if(!(b<=-9223372036854775808.0)&!(b>=9223372036854775808.0)?(c=~~b>>>0,d=+N(b)>=1.0?(b>0.0?~~+$(+M(b/4294967296.0),4294967295.0)>>>0:~~+Z((b-+(~~b>>>0))/4294967296.0)>>>0):0,e=iw(c|0,d|0,1,-2147483648)|0,f=C,!(b!=+(c>>>0)+4294967296.0*+(d|0)|(f>>>0<0|(f|0)==0&e>>>0<2))):0){e=a;ea(e|0,c|0,4,0);ea(e+4|0,d|0,4,0);c=a+8|0;ea(c|0,(da(c|0,2,0,1)|0|0)&48640|4|0,2,0)}return}function dm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=a+204|0;d=da(e|0,4,0,0)|0|0;a:do if(d){g=(b|0)<0;do{while(1){if(!g){if((da(d|0,4,0,0)|0|0)!=(b|0))break;f=da(d+4|0,4,0,0)|0|0;if((f|0)<=31?(1<<f&c|0)!=0:0)break}f=da(d+12|0,4,0,0)|0|0;if(f)bc[(fa(f|0,31|0)|0)&31](da(d+8|0,4,0,0)|0|0);ea(e|0,da(d+16|0,4,0,0)|0|0,4,0);lg(da(a|0,4,0,0)|0|0,d);d=da(e|0,4,0,0)|0|0;if(!d)break a}e=d+16|0;d=da(e|0,4,0,0)|0|0}while((d|0)!=0)}while(0);return}function em(a,b,c){a=a|0;b=b|0;c=c|0;do if(b<<24>>24>66){b=da(a+8|0,2,0,1)|0|0;if(!(b&4)){if(b&8){cm(a);break}if(b&2)qh(a,1)}}else if(b<<24>>24==66?(b=da(a+8|0,2,0,1)|0|0,!((b&2|0)!=0|(b&12|0)==0)):0)am(a,c,1)|0;while(0);return}function fm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=a+8|0;d=da(f|0,2,0,0)|0|0;e=d&65535;do if(!(e&1)){b=b&255;if((b|0)==69){ea(a|0,+(+Tg(a)),8,1);ea(f|0,(da(f|0,2,0,1)|0|0)&48640|8|0,2,0);break}else if((b|0)==67){np(a);break}else if((b|0)==65){if(e&16){ea(f|0,e&65040|0,2,0);break}if(!((e&2|0)!=0|(e&12|0)==0)){am(a,c,1)|0;d=da(f|0,2,0,0)|0|0}ea(f|0,d&48640|16|0,2,0);break}else if((b|0)==68){b=Ug(a)|0;d=a;ea(d|0,b|0,4,0);ea(d+4|0,C|0,4,0);ea(f|0,(da(f|0,2,0,1)|0|0)&48640|4|0,2,0);break}else{b=e>>>3&2|e;d=b&65535;ea(f|0,d|0,2,0);if(!((b&2|0)!=0|(e&12|0)==0)){am(a,c,1)|0;d=da(f|0,2,0,0)|0|0}ea(f|0,d&49123|0,2,0);break}}while(0);return}function gm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,f=0,g=0.0,h=0,i=0,j=0;i=da(a+8|0,2,0,0)|0|0;h=i&65535;f=da(b+8|0,2,0,0)|0|0;j=f&65535;d=(f|i)&65535;do if(!(d&1)){if(!(d&12)){if(d&2){if(!(h&2)){d=1;break}if(!(j&2)){d=-1;break}if(c){d=op(a,b,c,0)|0;break}}d=pp(a,b)|0;break}if((i&4&f)<<16>>16){i=a;h=da(i|0,4,0,0)|0|0;i=da(i+4|0,4,0,0)|0|0;f=b;d=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;if((i|0)<(f|0)|(i|0)==(f|0)&h>>>0<d>>>0){d=-1;break}d=((i|0)>(f|0)|(i|0)==(f|0)&h>>>0>d>>>0)&1;break}if(!(h&8)){if(!(h&4)){d=1;break}d=a;g=+((da(d|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(d+4|0,4,0,0)|0|0)}else g=+(+da(a|0,8,1,0));if(!(j&8)){if(!(j&4)){d=-1;break}d=b;e=+((da(d|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(d+4|0,4,0,0)|0|0)}else e=+(+da(b|0,8,1,0));if(g<e)d=-1;else d=g>e&1}else d=(j&1)-(h&1)|0;while(0);return d|0}function hm(a){a=a|0;var b=0,c=0,d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;c=e+8|0;b=a+48|0;b=Bm(da(a|0,4,0,0)|0|0,0,da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0,0,c)|0;do if(!b)if(!(da(c|0,4,0,0)|0)){ea(a+26>>0|0,0|0,1,0);ea(a+60|0,0|0,4,0);b=0;break}else{ea(d|0,67421|0,4,0);ea(d+4|0,10788|0,4,0);ad(11,13600,d);b=11;break}while(0);i=e;return b|0}function im(a){a=a|0;var b=0,c=0,d=0;c=da(a|0,4,0,0)|0|0;d=c+73|0;b=da(d>>0|0,1,0,0)|0|0;do if((b&255)>2){b=Jn(c)|0;if(!b){b=da(d>>0|0,1,0,0)|0|0;d=5;break}else{ea(a+60|0,0|0,4,0);d=6;break}}else d=5;while(0);if((d|0)==5){ea(a+60|0,0|0,4,0);if(b<<24>>24==1)b=0;else{b=0;d=6}}if((d|0)==6)ea(a+25>>0|0,1|0,1,0);return b|0}function jm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=a+24|0;if(!(da(a+44|0,2,0,0)|0)){e=da(a+76|0,2,0,0)|0|0;d=da(a+(e<<2)+120|0,4,0,0)|0|0;e=(da(a+(e<<1)+78|0,2,0,1)|0)<<1;f=da(d+64|0,4,0,0)|0|0;qp(d,(da(d+56|0,4,0,0)|0|0)+(((da(f+e>>0|0,1,0,1)|0)<<8|(da(f+(e|1)>>0|0,1,0,1)|0))&(da(d+20|0,2,0,1)|0))|0,c);a=a+72|0;ea(a>>0|0,da(a>>0|0,1,0,1)|0|2|0,1,0)}d=c;c=da(d+4|0,4,0,0)|0|0;a=b;ea(a|0,da(d|0,4,0,0)|0|0,4,0);ea(a+4|0,c|0,4,0);return}function km(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(!(da(a+44|0,2,0,0)|0)){d=da(a+76|0,2,0,0)|0|0;c=da(a+(d<<2)+120|0,4,0,0)|0|0;d=(da(a+(d<<1)+78|0,2,0,1)|0)<<1;e=da(c+64|0,4,0,0)|0|0;qp(c,(da(c+56|0,4,0,0)|0|0)+(((da(e+d>>0|0,1,0,1)|0)<<8|(da(e+(d|1)>>0|0,1,0,1)|0))&(da(c+20|0,2,0,1)|0))|0,a+24|0);c=a+72|0;ea(c>>0|0,da(c>>0|0,1,0,1)|0|2|0,1,0)}ea(b|0,da(a+36|0,4,0,0)|0|0,4,0);return}function lm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();d=g;e=da(a>>0|0,1,0,1)|0|0;f=da(a+1>>0|0,1,0,1)|0|0;do if(f&128){c=da(a+2>>0|0,1,0,1)|0|0;if(!(c&128)){ea(b|0,(c|e<<14)&2080895|f<<7&16256|0,4,0);c=3;break}else{c=rp(a,d)|0;e=da(d|0,4,0,0)|0|0;ea(b|0,(((e|0)==(e|0)?0==(da(d+4|0,4,0,0)|0|0):0)?e:-1)|0,4,0);break}}else{ea(b|0,e<<7&16256|f|0,4,0);c=2}while(0);i=g;return c|0}function mm(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=(d|0)==0;do if((c+b|0)>>>0>(da(a+40|0,2,0,1)|0|0)>>>0){h=e+8|0;ea(h|0,1|0,2,0);d=eh(e,c+2|0)|0;if(!d){g=e+16|0;d=da(g|0,4,0,0)|0|0;if(f)d=Ch(a,b,c,d)|0;else d=Km(a,b,c,d,0)|0;if(!d){ea((da(g|0,4,0,0)|0|0)+c>>0|0,0|0,1,0);ea((da(g|0,4,0,0)|0|0)+(c+1)>>0|0,0|0,1,0);ea(h|0,528|0,2,0);ea(e+12|0,c|0,4,0);d=0;break}if(((da(h|0,2,0,0)|0)&9312)==0?(da(e+24|0,4,0,0)|0|0)==0:0)break;Pg(e)}}else{ea(e+16|0,(da(a+32|0,4,0,0)|0|0)+b|0,4,0);ea(e+8|0,4112|0,2,0);ea(e+12|0,c|0,4,0);d=0}while(0);return d|0}function nm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;switch(b|0){case 9:case 8:{a=c;ea(a|0,b+-8|0,4,0);ea(a+4|0,0|0,4,0);ea(c+8|0,4|0,2,0);a=0;break}case 4:{a=(da(a+1>>0|0,1,0,1)|0)<<16|(da(a>>0|0,1,0,0)|0)<<24|(da(a+2>>0|0,1,0,1)|0)<<8|(da(a+3>>0|0,1,0,1)|0);b=c;ea(b|0,a|0,4,0);ea(b+4|0,((a|0)<0)<<31>>31|0,4,0);ea(c+8|0,4|0,2,0);a=4;break}case 1:{a=da(a>>0|0,1,0,0)|0|0;b=c;ea(b|0,a|0,4,0);ea(b+4|0,((a|0)<0)<<31>>31|0,4,0);ea(c+8|0,4|0,2,0);a=1;break}case 5:{b=(da(a>>0|0,1,0,0)|0)<<8|(da(a+1>>0|0,1,0,1)|0);d=c;ea(d|0,(da(a+3>>0|0,1,0,1)|0)<<16|(da(a+2>>0|0,1,0,1)|0)<<24|(da(a+4>>0|0,1,0,1)|0)<<8|(da(a+5>>0|0,1,0,1)|0)|0,4,0);ea(d+4|0,b|0,4,0);ea(c+8|0,4|0,2,0);a=6;break}case 7:case 6:{sp(a,b,c);a=8;break}case 2:{a=(da(a>>0|0,1,0,0)|0)<<8|(da(a+1>>0|0,1,0,1)|0);b=c;ea(b|0,a|0,4,0);ea(b+4|0,((a|0)<0)<<31>>31|0,4,0);ea(c+8|0,4|0,2,0);a=2;break}case 3:{a=(da(a+1>>0|0,1,0,1)|0)<<8|(da(a>>0|0,1,0,0)|0)<<16|(da(a+2>>0|0,1,0,1)|0);b=c;ea(b|0,a|0,4,0);ea(b+4|0,((a|0)<0)<<31>>31|0,4,0);ea(c+8|0,4|0,2,0);a=3;break}case 0:case 11:case 10:{ea(c+8|0,1|0,2,0);a=0;break}default:{ea(c+16|0,a|0,4,0);a=(b+-12|0)>>>1;ea(c+12|0,a|0,4,0);ea(c+8|0,da(34328+((b&1)<<1)|0,2,0,0)|0|0|0,2,0)}}return a|0}function om(a,b,c){a=a|0;b=b|0;c=c|0;do if(!(c>>>0<0|(c|0)==0&b>>>0<128))if(c>>>0<0|(c|0)==0&b>>>0<16384){c=lw(b|0,c|0,7)|0;ea(a>>0|0,c|128|0,1,0);ea(a+1>>0|0,b&127|0,1,0);b=2;break}else{b=tp(a,b,c)|0;break}else{ea(a>>0|0,b&127|0,1,0);b=1}while(0);return b|0}function pm(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;e=a+73|0;b=da(e>>0|0,1,0,0)|0|0;do if((b&255)>2)if(b<<24>>24==4){b=da(a+68|0,4,0,0)|0|0;break}else{c=a+56|0;Vc(da(c|0,4,0,0)|0|0);ea(c|0,0|0,4,0);ea(e>>0|0,0|0,1,0);c=5;break}else c=5;while(0);a:do if((c|0)==5){d=a+76|0;b=da(d|0,2,0,0)|0|0;do if(b<<16>>16<=-1){b=da(a+60|0,4,0,0)|0|0;if(!b){ea(e>>0|0,0|0,1,0);b=0;break a}c=a+120|0;b=up(da((da(a|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,b,c,((da(a+72>>0|0,1,0,0)|0)&1)<<1^2)|0;if(!b){ea(d|0,0|0,2,0);b=c;break}else{ea(e>>0|0,0|0,1,0);break a}}else{if(b<<16>>16)do{c=b+-1<<16>>16;ea(d|0,c|0,2,0);b=da(a+(b<<16>>16<<2)+120|0,4,0,0)|0|0;if(!b)b=c;else{Ag(da(b+68|0,4,0,0)|0|0);b=da(d|0,2,0,0)|0|0}}while(b<<16>>16!=0);b=a+120|0}while(0);b=da(b|0,4,0,0)|0|0;if((da(b>>0|0,1,0,0)|0|0)!=0?((da(a+16|0,4,0,0)|0|0)==0|0)==(da(b+2>>0|0,1,0,1)|0|0):0){ea(a+78|0,0|0,2,0);ea(a+44|0,0|0,2,0);c=a+72|0;ea(c>>0|0,(da(c>>0|0,1,0,1)|0)&241|0,1,0);if(da(b+18|0,2,0,0)|0){ea(e>>0|0,1|0,1,0);b=0;break}if(da(b+5>>0|0,1,0,0)|0){ea(e>>0|0,0|0,1,0);b=0;break}if((da(b+72|0,4,0,0)|0|0)==1){c=da(b+6>>0|0,1,0,1)|0|0;b=da(b+56|0,4,0,0)|0|0;b=(da(b+(c+9)>>0|0,1,0,1)|0)<<16|(da(b+(c+8)>>0|0,1,0,1)|0)<<24|(da(b+(c+10)>>0|0,1,0,1)|0)<<8|(da(b+(c+11)>>0|0,1,0,1)|0);ea(e>>0|0,1|0,1,0);b=qm(a,b)|0;break}else{ea(f|0,57629|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);b=11;break}}ea(f|0,57618|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);b=11}while(0);i=g;return b|0}function qm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;c=h+8|0;d=a+76|0;f=da(d|0,2,0,0)|0|0;e=f<<16>>16;do if(f<<16>>16<=18){f=a+72|0;b=up(da(a+4|0,4,0,0)|0|0,b,c,((da(f>>0|0,1,0,0)|0)&1)<<1^2)|0;if(!b){b=da(c|0,4,0,0)|0|0;c=e+1|0;ea(a+(c<<2)+120|0,b|0,4,0);ea(a+(c<<1)+78|0,0|0,2,0);ea(d|0,(da(d|0,2,0,0)|0|0)+1<<16>>16|0,2,0);ea(a+44|0,0|0,2,0);ea(f>>0|0,(da(f>>0|0,1,0,1)|0)&249|0,1,0);if((da(b+18|0,2,0,0)|0|0)!=0?(da(b+2>>0|0,1,0,0)|0|0)==(da((da(a+(e<<2)+120|0,4,0,0)|0|0)+2>>0|0,1,0,0)|0|0):0){b=0;break}ea(g|0,57499|0,4,0);ea(g+4|0,10788|0,4,0);ad(11,13600,g);b=11}}else{ea(g|0,57487|0,4,0);ea(g+4|0,10788|0,4,0);ad(11,13600,g);b=11}while(0);i=h;return b|0}function rm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=a+328|0;a:do if(!(da(i|0,4,0,0)|0))a=0;else{f=a+304|0;g=c+1|0;h=0;while(1){if((h|0)>=(da(f|0,4,0,0)|0|0)){a=0;break a}e=da((da(i|0,4,0,0)|0|0)+(h<<2)|0,4,0,0)|0|0;a=da(da(e+4|0,4,0,0)|0|0,4,0,0)|0|0;d=da(e+8|0,4,0,0)|0|0;if((d|0)!=0?(da(a|0,4,0,0)|0|0)>1:0){if(!b){a=da(a+80|0,4,0,0)|0|0;ea(e+20|0,g|0,4,0)}else if((b|0)==2)a=da(a+88|0,4,0,0)|0|0;else a=da(a+84|0,4,0,0)|0|0;if((a|0)!=0?(da(e+20|0,4,0,0)|0|0)>(c|0):0){a=qc[(fa(a|0,127|0)|0)&127](d,c)|0;if(!a){h=h+1|0;continue}else break a}}h=h+1|0}}while(0);return a|0}function sm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();d=f;c=da(a|0,4,0,0)|0|0;if(!b){b=a+144|0;g=da(b+4|0,4,0,0)|0|0;if((g|0)>0|(g|0)==0&(da(b|0,4,0,0)|0|0)>>>0>0)e=4;else c=0}else{b=c+504|0;g=c+512|0;b=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0)|0;g=C;if((g|0)>0|(g|0)==0&b>>>0>0)e=4;else c=0}if((e|0)==4){ea(a+80|0,787|0,4,0);ea(a+86>>0|0,2|0,1,0);ch(a+44|0,c,34376,d);c=1}i=f;return c|0}function tm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((a|0)!=0?(da(a+8>>0|0,1,0,0)|0|0)==2:0){d=da(a+4|0,4,0,0)|0|0;ea(d+4|0,da(a|0,4,0,0)|0|0,4,0);b=ip(da(d|0,4,0,0)|0|0,b,c)|0;if(!b){if((c|0)<0?((da(d+22|0,2,0,0)|0)&8)!=0:0)ea(d+44|0,0|0,4,0);b=Bg(d)|0;a=da((da(d+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;ea(d+44|0,(da(a+29>>0|0,1,0,1)|0)<<16|(da(a+28>>0|0,1,0,1)|0)<<24|(da(a+30>>0|0,1,0,1)|0)<<8|(da(a+31>>0|0,1,0,1)|0)|0,4,0)}}else b=0;return b|0}function um(a,b){a=a|0;b=b|0;a=a+16|0;pl(da((da(a|0,4,0,0)|0|0)+(b<<4)+12|0,4,0,0)|0|0);if((b|0)!=1)pl(da((da(a|0,4,0,0)|0|0)+28|0,4,0,0)|0|0);return}function vm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=da(a+4|0,4,0,0)|0|0;ea(d+4|0,da(a|0,4,0,0)|0|0,4,0);if((b|0)==15)d=(da(a+20|0,4,0,0)|0|0)+(da((da(d|0,4,0,0)|0|0)+100|0,4,0,0)|0|0)|0;else{b=b<<2;d=da((da(d+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;d=(da(d+(b+37)>>0|0,1,0,1)|0|0)<<16|(da(d+(b+36)>>0|0,1,0,1)|0|0)<<24|(da(d+(b+38)>>0|0,1,0,1)|0|0)<<8|(da(d+(b+39)>>0|0,1,0,1)|0|0)}ea(c|0,d|0,4,0);return}function wm(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;h=(da(a+28|0,4,0,0)|0|0)-b|0;f=da(a+8|0,4,0,0)|0|0;k=(c<<3)+88|0;j=(e|0)!=0;i=a+56|0;g=da((da(i|0,4,0,0)|0|0)+(b<<2)|0,4,0,0)|0|0;if(g){Am(a,g);ea((da(i|0,4,0,0)|0|0)+(b<<2)|0,0|0,4,0)}if(!(eh(f+(h*40|0)|0,(j?200:0)+k|0)|0)){h=f+(h*40|0)+16|0;e=da(h|0,4,0,0)|0|0;ea((da(i|0,4,0,0)|0|0)+(b<<2)|0,e|0,4,0);f=e+0|0;g=f+88|0;do{ea(f|0,0|0,4,0);f=f+4|0}while((f|0)<(g|0));ea(e+24>>0|0,d|0,1,0);ea(e+20|0,c|0,2,0);ea(e+80|0,e+84+(c<<2)|0,4,0);if(j){f=(da(h|0,4,0,0)|0|0)+k|0;ea(e|0,f|0,4,0);f=f+0|0;g=f+76|0;do{ea(f|0,0|0,4,0);f=f+4|0}while((f|0)<(g|0))}}else e=0;return e|0}function xm(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=da(a+4|0,4,0,0)|0|0;ea(h+4|0,da(a|0,4,0,0)|0|0,4,0);if(c)if(!((da(h+22|0,2,0,0)|0)&1)){g=h+80|0;if(!(da(g|0,4,0,0)|0)){f=Fo(da(h+32|0,4,0,0)|0|0)|0;ea(g|0,f|0,4,0);if(!f)f=7;else{i=f;f=i;ea(f>>0|0,0|0,1,0);ea(f+1>>0|0,0|0,1,0);ea(f+2>>0|0,0|0,1,0);ea(f+3>>0|0,0|0,1,0);i=i+4|0;ea(i>>0|0,0|0,1,0);ea(i+1>>0|0,0|0,1,0);ea(i+2>>0|0,0|0,1,0);ea(i+3>>0|0,0|0,1,0);ea(g|0,(da(g|0,4,0,0)|0|0)+4|0,4,0);i=6}}else i=6}else f=8;else i=6;if((i|0)==6){if((b|0)==1)b=(da(h+44|0,4,0,0)|0|0)!=0&1;ea(e+60|0,b|0,4,0);ea(e+76|0,-1|0,2,0);ea(e+16|0,d|0,4,0);ea(e|0,a|0,4,0);ea(e+4|0,h|0,4,0);ea(e+72>>0|0,c|0,1,0);f=h+8|0;b=da(f|0,4,0,0)|0|0;ea(e+8|0,b|0,4,0);if(b)ea(b+12|0,e|0,4,0);ea(f|0,e|0,4,0);ea(e+73>>0|0,0|0,1,0);f=0}return f|0}function ym(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=i;i=i+128|0;if((i|0)>=(j|0))ba();v=K;C=K+12|0;z=K+8|0;H=K+16|0;F=(b|0)==0;if(!F){h=(da(b>>0|0,1,0,0)|0|0)==0;if(Zv(b,14640)|0)if(h)B=4;else{h=0;B=5}else G=1}else B=4;if((B|0)==4)if((da(c+64>>0|0,1,0,0)|0|0)==2){G=1;h=1}else{h=1;B=5}if((B|0)==5)G=(f&128|0)!=0;E=G?e|2:e;if((f&256|0)!=0&(G|h))f=f&-769|512;J=pg(48,0)|0;a:do if(J){p=J+0|0;o=p+48|0;do{ea(p>>0|0,0|0,1,0);p=p+1|0}while((p|0)<(o|0));ea(J|0,c|0,4,0);ea(J+32|0,J|0,4,0);ea(J+36|0,1|0,4,0);b:do if(!h?!(G&(f&64|0)==0|(f&131072|0)==0):0){if(F)h=1;else{h=b;while(1)if(!(da(h>>0|0,1,0,0)|0))break;else h=h+1|0;h=(h-b&1073741823)+1|0}e=(da(a+8|0,4,0,0)|0|0)+1|0;n=(e|0)>(h|0)?e:h;n=pg(n,((n|0)<0)<<31>>31)|0;m=J+9|0;ea(m>>0|0,1|0,1,0);if(!n){Vc(J);g=7;break a}if(!G){ea(n>>0|0,0|0,1,0);h=oc[(fa(da(a+36|0,4,0,0)|0|0,31|0)|0)&31](a,b,e,n)|0;if(h){Vc(n);Vc(J);g=h;break a}}else jw(n|0,b|0,h|0)|0;h=da(3664*4|0,4,0,0)|0|0;c:do if(h){while(1){e=da(h|0,4,0,0)|0|0;if((Zv(n,da(e+168|0,4,0,0)|0|0)|0)==0?(da(e|0,4,0,0)|0|0)==(a|0):0)break;h=da(h+68|0,4,0,0)|0|0;if(!h)break c}e=da(c+20|0,4,0,0)|0|0;d:do if((e|0)>0){l=da(c+16|0,4,0,0)|0|0;while(1){e=e+-1|0;k=da(l+(e<<4)+4|0,4,0,0)|0|0;if((k|0)!=0?(da(k+4|0,4,0,0)|0|0)==(h|0):0)break;if((e|0)<=0)break d}Vc(n);Vc(J);g=19;break a}while(0);ea(J+4|0,h|0,4,0);y=h+64|0;ea(y|0,(da(y|0,4,0,0)|0|0)+1|0,4,0);Vc(n);if(!h){B=32;break b}if(!(da(m>>0|0,1,0,0)|0))break b;else{B=105;break b}}while(0);Vc(n);B=32}else B=32;while(0);e:do if((B|0)==32){D=pg(84,0)|0;if(D){p=D+0|0;o=p+84|0;do{ea(p>>0|0,0|0,1,0);p=p+1|0}while((p|0)<(o|0));x=E&1;y=(x|0)==0;ea(C|0,1024|0,4,0);w=a+4|0;h=da(w|0,4,0,0)|0|0;if((h|0)>40)e=h+7&-8;else e=40;ea(D|0,0|0,4,0);do if(!(E&2))if(!F)if(da(b>>0|0,1,0,0)|0){q=a+8|0;l=(da(q|0,4,0,0)|0|0)+1|0;s=l<<1;s=pg(s,((s|0)<0)<<31>>31)|0;if(!s)g=7;else{ea(s>>0|0,0|0,1,0);h=oc[(fa(da(a+36|0,4,0,0)|0|0,31|0)|0)&31](a,b,l,s)|0;l=s;while(1)if(!(da(l>>0|0,1,0,0)|0))break;else l=l+1|0;p=l-s&1073741823;m=b;while(1)if(!(da(m>>0|0,1,0,0)|0))break;else m=m+1|0;o=(m-b&1073741823)+1|0;m=da(b+o>>0|0,1,0,0)|0|0;o=b+o|0;if(!(m<<24>>24))l=o;else{l=o;do{if(!(m<<24>>24))m=l;else{m=l;do m=m+1|0;while((da(m>>0|0,1,0,0)|0|0)!=0)}m=m-l&1073741823;k=l+(m+1)|0;n=k;while(1)if(!(da(n>>0|0,1,0,0)|0))break;else n=n+1|0;l=l+(m+2+(n-k&1073741823))|0;m=da(l>>0|0,1,0,0)|0|0}while(m<<24>>24!=0)}if(!h){if((p+8|0)<=(da(q|0,4,0,0)|0|0)){r=1;v=0;q=p;p=l+1-o|0;m=s;B=58;break}ea(v|0,46171|0,4,0);ea(v+4|0,10788|0,4,0);ad(14,14848,v);h=14}Vc(s);B=89}}else{r=1;v=0;q=0;p=0;m=0;o=0;B=58}else{b=0;r=0;v=0;q=0;p=0;m=0;o=0;B=58}else if(!F)if(da(b>>0|0,1,0,0)|0){m=jh(0,b)|0;if(!m)g=7;else{h=m;while(1)if(!(da(h>>0|0,1,0,0)|0))break;else h=h+1|0;b=0;r=0;v=1;q=h-m&1073741823;p=0;o=0;B=58}}else{r=1;v=1;q=0;p=0;m=0;o=0;B=58}else{b=0;r=0;v=1;q=0;p=0;m=0;o=0;B=58}while(0);do if((B|0)==58){l=(e<<1)+17+(q*3|0)+p+((da(w|0,4,0,0)|0|0)+271&-8)|0;u=pg(l,0)|0;if(!u){if(!m){g=7;break}Vc(m);g=7;break}ew(u|0,0,l|0)|0;s=u+204|0;ea(s|0,u+216|0,4,0);t=u+60|0;ea(t|0,u+264|0,4,0);n=(da(w|0,4,0,0)|0|0)+271&-8;ea(u+68|0,u+n|0,4,0);n=n+e|0;ea(u+64|0,u+n|0,4,0);n=n+e|0;l=u+n|0;h=u+168|0;ea(h|0,l|0,4,0);if(m){k=q+1|0;e=u+172|0;ea(e|0,u+(p+k+n)|0,4,0);jw(l|0,m|0,q|0)|0;if(p)jw((da(h|0,4,0,0)|0|0)+k|0,o|0,p|0)|0;jw(da(e|0,4,0,0)|0|0,m|0,q|0)|0;p=(da(e|0,4,0,0)|0|0)+q+0|0;n=14928;o=p+10|0;do{ea(p>>0|0,da(n>>0|0,1,0,0)|0|0|0,1,0);p=p+1|0;n=n+1|0}while((p|0)<(o|0));e=(da(e|0,4,0,0)|0|0)+(q+9)|0;w=u+212|0;ea(w|0,e|0,4,0);jw(e|0,m|0,q|0)|0;w=(da(w|0,4,0,0)|0|0)+q|0;ea(w+0>>0|0,da(14944|0,1,0,0)|0|0|0,1,0);ea(w+1>>0|0,da(14945|0,1,0,0)|0|0|0,1,0);ea(w+2>>0|0,da(14946|0,1,0,0)|0|0|0,1,0);ea(w+3>>0|0,da(14947|0,1,0,0)|0|0|0,1,0);ea(w+4>>0|0,da(14948|0,1,0,0)|0|0|0,1,0);Vc(m)}ea(u|0,a|0,4,0);ea(u+144|0,f|0,4,0);do if(r?(da(b>>0|0,1,0,0)|0|0)!=0:0){ea(z|0,0|0,4,0);h=sc[(fa(da(a+24|0,4,0,0)|0|0,31|0)|0)&31](a,da(h|0,4,0,0)|0|0,da(t|0,4,0,0)|0|0,f&556927,z)|0;k=(da(z|0,4,0,0)|0)&1;if(!h){h=da(t|0,4,0,0)|0|0;h=kc[(fa(da((da(h|0,4,0,0)|0|0)+48|0,4,0,0)|0|0,127|0)|0)&127](h)|0;do if((k|0)==0?(vp(u),A=da(u+148|0,4,0,0)|0|0,A>>>0>1024):0)if(A>>>0>8192){ea(C|0,8192|0,4,0);break}else{ea(C|0,A|0,4,0);break}while(0);ea(u+13>>0|0,eg(b,14952,0)|0|0,1,0);if((h&8192|0)==0?(eg(b,14960,0)|0)==0:0){n=0;B=77;break}h=f|1;B=76}}else{h=f;B=76}while(0);if((B|0)==76){ea(u+16>>0|0,1|0,1,0);ea(u+17>>0|0,4|0,1,0);ea(u+13>>0|0,1|0,1,0);k=h&1;n=1;B=77}if((B|0)==77){h=$k(u,C,-1)|0;if(!h){l=da(C|0,4,0,0)|0|0;m=(v|0)==0;e=v^1;f=m?75:0;h=da(s|0,4,0,0)|0|0;p=h+0|0;o=p+48|0;do{ea(p|0,0|0,4,0);p=p+4|0}while((p|0)<(o|0));ea(h+20|0,1|0,4,0);ea(h+24|0,80|0,4,0);ea(h+28>>0|0,e|0,1,0);ea(h+29>>0|0,2|0,1,0);ea(h+32|0,f|0,4,0);ea(h+36|0,u|0,4,0);ea(h+16|0,100|0,4,0);h=Go(h,l)|0;if(!h){ea(u+6>>0|0,x^1|0,1,0);ea(u+156|0,1073741823|0,4,0);ea(u+12>>0|0,n|0,1,0);ea(u+4>>0|0,n|0,1,0);ea(u+18>>0|0,n|0,1,0);ea(u+15>>0|0,v|0,1,0);ea(u+14>>0|0,k|0,1,0);ea(u+7>>0|0,n|0,1,0);if(!(n<<24>>24)){ea(u+8>>0|0,1|0,1,0);ea(u+11>>0|0,2|0,1,0);ea(u+10>>0|0,34|0,1,0);ea(u+9>>0|0,2|0,1,0)}ea(u+140|0,80|0,2,0);z=u+160|0;ea(z|0,-1|0,4,0);ea(z+4|0,-1|0,4,0);vp(u);do if(y){if(m)break;ea(u+5>>0|0,4|0,1,0)}else ea(u+5>>0|0,2|0,1,0);while(0);ea(u+196|0,21|0,4,0);ea(D|0,u|0,4,0);B=90;break}}}e=da(t|0,4,0,0)|0|0;f=da(e|0,4,0,0)|0|0;if(f){kc[(fa(da(f+4|0,4,0,0)|0|0,127|0)|0)&127](e)|0;ea(e|0,0|0,4,0)}_k(da(u+200|0,4,0,0)|0|0);Vc(u);B=89}while(0);if((B|0)==89)if(!h)B=90;else g=h;do if((B|0)==90){h=da(D|0,4,0,0)|0|0;z=c+40|0;p=da(z+4|0,4,0,0)|0|0;o=h+128|0;ea(o|0,da(z|0,4,0,0)|0|0,4,0);ea(o+4|0,p|0,4,0);p=H+0|0;o=p+100|0;do{ea(p>>0|0,0|0,1,0);p=p+1|0}while((p|0)<(o|0));h=da(h+60|0,4,0,0)|0|0;e=da(h|0,4,0,0)|0|0;if((e|0)!=0?(g=sc[(fa(da(e+8|0,4,0,0)|0|0,31|0)|0)&31](h,H,100,0,0)|0,!((g|0)==0|(g|0)==522)):0)break;ea(D+16>>0|0,E|0,1,0);ea(D+4|0,c|0,4,0);h=da(D|0,4,0,0)|0|0;e=h+176|0;ea(e|0,76|0,4,0);ea(h+180|0,D|0,4,0);f=da(h+60|0,4,0,0)|0|0;g=da(f|0,4,0,0)|0|0;if(!g)e=h;else{$b[(fa(da(g+40|0,4,0,0)|0|0,63|0)|0)&63](f,15,e)|0;e=da(D|0,4,0,0)|0|0}ea(J+4|0,D|0,4,0);ea(D+8|0,0|0,4,0);ea(D+12|0,0|0,4,0);if(da(e+14>>0|0,1,0,0)|0){z=D+22|0;ea(z|0,da(z|0,2,0,1)|0|1|0,2,0)}z=(da(H+17>>0|0,1,0,1)|0)<<16|(da(H+16>>0|0,1,0,1)|0)<<8;f=D+32|0;ea(f|0,z|0,4,0);if((z+-512|0)>>>0<=65024?(z+16777215&z|0)==0:0){h=da(H+20>>0|0,1,0,0)|0|0;z=D+22|0;ea(z|0,da(z|0,2,0,1)|0|2|0,2,0);ea(D+17>>0|0,((da(H+53>>0|0,1,0,1)|0)<<16|(da(H+52>>0|0,1,0,1)|0)<<24|(da(H+54>>0|0,1,0,1)|0)<<8|(da(H+55>>0|0,1,0,1)|0)|0)!=0&1|0,1,0);ea(D+18>>0|0,((da(H+65>>0|0,1,0,1)|0)<<16|(da(H+64>>0|0,1,0,1)|0)<<24|(da(H+66>>0|0,1,0,1)|0)<<8|(da(H+67>>0|0,1,0,1)|0)|0)!=0&1|0,1,0)}else{ea(f|0,0|0,4,0);if(F|G)h=0;else{ea(D+17>>0|0,0|0,1,0);ea(D+18>>0|0,0|0,1,0);h=0}}h=h&255;g=$k(e,f,h)|0;if(!g){ea(D+36|0,(da(f|0,4,0,0)|0|0)-h|0,4,0);if(!(da(J+9>>0|0,1,0,0)|0))break e;ea(D+64|0,1|0,4,0);ea(D+68|0,da(3664*4|0,4,0,0)|0|0,4,0);ea(3664*4|0,D|0,4,0);B=105;break e}}while(0);if(D){f=da(D|0,4,0,0)|0|0;if(!f)f=D;else{kp(f);f=D}}else f=0}else{f=0;g=7}Vc(f);Vc(J);ea(d|0,0|0,4,0);break a}while(0);f:do if((B|0)==105?(I=da(c+20|0,4,0,0)|0|0,(I|0)>0):0){f=da(c+16|0,4,0,0)|0|0;e=0;while(1){g=da(f+(e<<4)+4|0,4,0,0)|0|0;if((g|0)!=0?(da(g+9>>0|0,1,0,0)|0|0)!=0:0){e=g;break}e=e+1|0;if((e|0)>=(I|0))break f}while(1){g=e+28|0;f=da(g|0,4,0,0)|0|0;if(!f){f=e;break}else e=f}h=da(J+4|0,4,0,0)|0|0;if(h>>>0<(da(f+4|0,4,0,0)|0|0)>>>0){ea(J+24|0,f|0,4,0);ea(J+28|0,0|0,4,0);ea(g|0,J|0,4,0);break}while(1){g=f+24|0;e=da(g|0,4,0,0)|0|0;if(!e){B=113;break}if((da(e+4|0,4,0,0)|0|0)>>>0<h>>>0)f=e;else{B=115;break}}if((B|0)==113){ea(J+24|0,0|0,4,0);ea(J+28|0,f|0,4,0)}else if((B|0)==115){ea(J+24|0,e|0,4,0);ea(J+28|0,f|0,4,0);ea(e+28|0,J|0,4,0)}ea(g|0,J|0,4,0)}while(0);ea(d|0,J|0,4,0);g=da(J+4|0,4,0,0)|0|0;ea(g+4|0,da(J|0,4,0,0)|0|0,4,0);if(!(da(g+48|0,4,0,0)|0)){g=da((da(g|0,4,0,0)|0|0)+204|0,4,0,0)|0|0;ea(g+16|0,2e3|0,4,0);ic[(fa(da(8744+124|0,4,0,0)|0|0,15|0)|0)&15](da(g+40|0,4,0,0)|0|0,2e3);g=0}else g=0}else g=7;while(0);i=K;return g|0}function zm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+48|0;if((i|0)>=(j|0))ba();o=v;s=v+28|0;t=v+24|0;r=v+20|0;k=v+16|0;m=v+12|0;n=v+32|0;p=v+8|0;e=da(a|0,4,0,0)|0|0;q=da(a+4|0,4,0,0)|0|0;d=q+4|0;ea(d|0,e|0,4,0);a:do if(!(da(q+17>>0|0,1,0,0)|0)){d=hp(q,s,t,1,0)|0;ea(r|0,d|0,4,0);if(!d){e=da(s|0,4,0,0)|0|0;u=39}}else{l=q+8|0;f=da(l|0,4,0,0)|0|0;if(f)do{h=f+72|0;ea(h>>0|0,(da(h>>0|0,1,0,1)|0)&251|0,1,0);f=da(f+8|0,4,0,0)|0|0}while((f|0)!=0);ea(d|0,e|0,4,0);h=da((da(q+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;h=(da(h+53>>0|0,1,0,1)|0)<<16|(da(h+52>>0|0,1,0,1)|0)<<24|(da(h+54>>0|0,1,0,1)|0)<<8|(da(h+55>>0|0,1,0,1)|0);ea(t|0,h|0,4,0);e=((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(q+32|0,4,0,0)|0|0)>>>0)|0;d=q+36|0;while(1){g=h+1|0;if(g>>>0<2)f=0;else{f=h+-1|0;f=f-((f>>>0)%(((((da(d|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;f=((f+1|0)==(e|0)?3:2)+f|0}if((g|0)==(f|0)|(h|0)==(e|0))h=g;else break}ea(t|0,g|0,4,0);d=hp(q,m,k,g,1)|0;ea(r|0,d|0,4,0);if(!d){h=da(k|0,4,0,0)|0|0;do if((h|0)==(g|0)){e=da(m|0,4,0,0)|0|0;ea(s|0,e|0,4,0)}else{ea(n>>0|0,0|0,1,0);ea(p|0,0|0,4,0);f=da(l|0,4,0,0)|0|0;b:do if(!f)d=0;else{while(1){if(f)break;f=da(2*4|0,4,0,0)|0|0;if(!f){d=0;break b}}d=El(f,0,0)|0}while(0);ea(r|0,d|0,4,0);f=da(m|0,4,0,0)|0|0;if(f)Ag(da(f+68|0,4,0,0)|0|0);if(d)break a;d=cl(q,g,s,0)|0;ea(r|0,d|0,4,0);if(d)break a;d=gp(q,g,n,p)|0;ea(r|0,d|0,4,0);f=da(n>>0|0,1,0,0)|0|0;if((f+-1&255)>=2){e=da(s|0,4,0,0)|0|0;if(!d){d=Ym(q,e,f,da(p|0,4,0,0)|0|0,h,0)|0;ea(r|0,d|0,4,0);if(e)Ag(da(e+68|0,4,0,0)|0|0);if(d)break a;d=cl(q,g,s,0)|0;ea(r|0,d|0,4,0);if(d)break a;e=da(s|0,4,0,0)|0|0;f=e+68|0;d=Fg(da(f|0,4,0,0)|0|0)|0;ea(r|0,d|0,4,0);if(!d)break;if(!e)break a;Ag(da(f|0,4,0,0)|0|0);break a}}else{ea(o|0,60876|0,4,0);ea(o+4|0,10788|0,4,0);ad(11,13600,o);ea(r|0,11|0,4,0);d=11;e=da(s|0,4,0,0)|0|0}if(!e)break a;Ag(da(e+68|0,4,0,0)|0|0);break a}while(0);yp(q,g,1,0,r);d=da(r|0,4,0,0)|0|0;if(d){if(!e)break;Ag(da(e+68|0,4,0,0)|0|0);break}d=Cg(a,4,g)|0;ea(r|0,d|0,4,0);if(d){if(e)Ag(da(e+68|0,4,0,0)|0|0)}else u=39}}while(0);if((u|0)==39){ol(e,(c&1|0)==0?10:13);d=da((da(s|0,4,0,0)|0|0)+68|0,4,0,0)|0|0;if(d)Ag(d);ea(b|0,da(t|0,4,0,0)|0|0,4,0);d=0}i=v;return d|0}function Am(a,b){a=a|0;b=b|0;var c=0,d=0;do if(b){a=da(a|0,4,0,0)|0|0;c=b+56|0;d=da(c|0,4,0,0)|0|0;if(d){Zm(a,d);Vc(da(d+40|0,4,0,0)|0|0);lg(a,d);ea(c|0,0|0,4,0)}a=da(b+4|0,4,0,0)|0|0;if(a){Ll(a);break}a=da(b|0,4,0,0)|0|0;if(a){jp(a);break}a=da(b+32|0,4,0,0)|0|0;if(a){d=da(a|0,4,0,0)|0|0;c=da(d|0,4,0,0)|0|0;d=d+4|0;ea(d|0,(da(d|0,4,0,0)|0|0)+-1|0,4,0);kc[(fa(da(c+28|0,4,0,0)|0|0,127|0)|0)&127](a)|0}}while(0);return}function Bm(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;I=i;i=i+16|0;if((i|0)>=(j|0))ba();G=I+8|0;F=I;l=a+73|0;do if(((da(l>>0|0,1,0,0)|0|0)==1?(k=da(a+72>>0|0,1,0,1)|0|0,(k&2|0)!=0):0)?(da((da(a+120|0,4,0,0)|0|0)+2>>0|0,1,0,0)|0|0)!=0:0){g=a+24|0;h=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;if((h|0)==(c|0)&(g|0)==(d|0)){ea(f|0,0|0,4,0);g=0;break}if((k&8|0)!=0&((g|0)<(d|0)|(g|0)==(d|0)&h>>>0<c>>>0)){ea(f|0,-1|0,4,0);g=0}else H=8}else H=8;while(0);do if((H|0)==8){if(!b)B=0;else{h=da(b|0,4,0,0)|0|0;if(((da(h+8|0,2,0,1)|0|0)+(da(h+6|0,2,0,1)|0|0)|0)<14){g=da((da(b+8|0,4,0,0)|0|0)+8|0,2,0,1)|0|0;C=(da((da(h+16|0,4,0,0)|0)>>0|0,1,0,0)|0|0)==0;ea(b+12|0,(C?-1:1)|0,4,0);ea(b+16|0,(C?1:-1)|0,4,0);if(!(g&4))if((g&25|0)==0?(da(h+20|0,4,0,0)|0|0)==0:0)h=39;else H=13;else h=38}else H=13;if((H|0)==13)h=40;ea(b+7>>0|0,0|0,1,0);B=h}g=pm(a)|0;if(!g){if(!(da(l>>0|0,1,0,0)|0)){ea(f|0,-1|0,4,0);g=0;break}C=a+76|0;x=1-e|0;y=(B|0)==0;D=a+72|0;z=a+24|0;A=a+24|0;a:do{e=da(C|0,2,0,0)|0|0;v=da(a+(e<<2)+120|0,4,0,0)|0|0;w=v+18|0;k=(da(w|0,2,0,1)|0|0)+-1|0;h=k>>x;ea(a+(e<<1)+78|0,h|0,2,0);e=v+56|0;s=v+20|0;t=v+64|0;u=v+7|0;b:do if(y){n=v+3|0;m=v+60|0;l=0;o=k;while(1){k=h<<1;r=da(t|0,4,0,0)|0|0;k=(da(e|0,4,0,0)|0|0)+((((da(r+k>>0|0,1,0,1)|0)<<8|(da(r+(k|1)>>0|0,1,0,1)|0))&(da(s|0,2,0,1)|0))+(da(u>>0|0,1,0,1)|0|0))|0;c:do if(da(n>>0|0,1,0,0)|0)while(1){r=k;k=k+1|0;if((da(r>>0|0,1,0,0)|0|0)>=0)break c;if(k>>>0>=(da(m|0,4,0,0)|0|0)>>>0){H=25;break a}}while(0);rp(k,F)|0;g=F;k=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;if((g|0)<(d|0)|(g|0)==(d|0)&k>>>0<c>>>0){l=h+1|0;if((h|0)<(o|0))k=o;else{g=-1;H=49;break b}}else{if(!((g|0)>(d|0)|(g|0)==(d|0)&k>>>0>c>>>0)){l=g;break}k=h+-1|0;if((l|0)>(k|0)){g=1;H=49;break b}}h=k+l>>1;o=k}ea(D>>0|0,da(D>>0|0,1,0,1)|0|2|0,1,0);u=z;ea(u|0,k|0,4,0);ea(u+4|0,l|0,4,0);ea(a+((da(C|0,2,0,0)|0)<<1)+78|0,h|0,2,0);if(da(v+5>>0|0,1,0,0)|0){H=31;break a}}else{p=v+8|0;q=v+10|0;r=h;l=0;while(1){g=da(e|0,4,0,0)|0|0;n=r<<1;h=da(t|0,4,0,0)|0|0;n=((da(h+n>>0|0,1,0,1)|0)<<8|(da(h+(n|1)>>0|0,1,0,1)|0))&(da(s|0,2,0,1)|0);h=n+(da(u>>0|0,1,0,1)|0|0)|0;J=da(g+h>>0|0,1,0,0)|0|0;o=J&255;m=g+(h+1)|0;do if((J&255)>(da(p>>0|0,1,0,1)|0|0)){m=da(m>>0|0,1,0,1)|0|0;if((m&128|0)==0?(E=m+(o<<7&16256)|0,(E|0)<=(da(q|0,2,0,1)|0|0)):0){g=$b[(fa(B|0,63|0)|0)&63](E,g+(h+2)|0,b)|0;break}qp(v,g+n|0,A);m=da(A|0,4,0,0)|0|0;h=pg(m,((m|0)<0)<<31>>31)|0;if(!h){g=7;break a}ea(a+((da(C|0,2,0,0)|0)<<1)+78|0,r|0,2,0);g=Km(a,0,m,h,2)|0;if(g){H=40;break a}g=$b[(fa(B|0,63|0)|0)&63](m,h,b)|0;Vc(h)}else g=$b[(fa(B|0,63|0)|0)&63](o,m,b)|0;while(0);if((g|0)<0)l=r+1|0;else{if((g|0)<=0){h=r;H=46;break a}k=r+-1|0}if((l|0)>(k|0)){h=r;H=49;break b}r=k+l>>1}}while(0);if((H|0)==49){H=0;if(da(v+5>>0|0,1,0,0)|0){H=51;break}e=v+56|0;h=l}l=da(e|0,4,0,0)|0|0;if((h|0)<(da(w|0,2,0,1)|0|0)){k=h<<1;w=da(v+64|0,4,0,0)|0|0;k=((da(w+k>>0|0,1,0,1)|0)<<8|(da(w+(k|1)>>0|0,1,0,1)|0))&(da(v+20|0,2,0,1)|0);k=(da(l+(k+1)>>0|0,1,0,1)|0)<<16|(da(l+k>>0|0,1,0,1)|0)<<24|(da(l+(k+2)>>0|0,1,0,1)|0)<<8|(da(l+(k+3)>>0|0,1,0,1)|0)}else{k=da(v+6>>0|0,1,0,1)|0|0;k=(da(l+(k+9)>>0|0,1,0,1)|0)<<16|(da(l+(k+8)>>0|0,1,0,1)|0)<<24|(da(l+(k+10)>>0|0,1,0,1)|0)<<8|(da(l+(k+11)>>0|0,1,0,1)|0)}ea(a+((da(C|0,2,0,0)|0)<<1)+78|0,h|0,2,0);g=qm(a,k)|0}while((g|0)==0);if((H|0)==25){ea(G|0,57865|0,4,0);ea(G+4|0,10788|0,4,0);ad(11,13600,G);g=11;break}else if((H|0)==31){ea(f|0,0|0,4,0);g=0}else if((H|0)==40)Vc(h);else if((H|0)==46){ea(f|0,0|0,4,0);ea(a+((da(C|0,2,0,0)|0)<<1)+78|0,h|0,2,0);g=(da(b+7>>0|0,1,0,0)|0|0)==0?0:11}else if((H|0)==51){ea(a+((da(C|0,2,0,0)|0)<<1)+78|0,h|0,2,0);ea(f|0,g|0,4,0);g=0}ea(a+44|0,0|0,2,0);ea(D>>0|0,(da(D>>0|0,1,0,1)|0)&249|0,1,0)}}while(0);i=I;return g|0}function Cm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;ea(a+44|0,0|0,2,0);c=a+72|0;ea(c>>0|0,(da(c>>0|0,1,0,1)|0)&249|0,1,0);ea(b|0,0|0,4,0);do if((da(a+73>>0|0,1,0,0)|0|0)==1){c=a+76|0;f=da(c|0,2,0,0)|0|0;d=da(a+(f<<2)+120|0,4,0,0)|0|0;f=a+(f<<1)+78|0;e=(da(f|0,2,0,0)|0|0)+1<<16>>16;ea(f|0,e|0,2,0);if((e&65535)>=(da(d+18|0,2,0,1)|0|0)){c=a+((da(c|0,2,0,0)|0)<<1)+78|0;ea(c|0,(da(c|0,2,0,0)|0|0)+-1<<16>>16|0,2,0);c=Cp(a,b)|0;break}if(!(da(d+5>>0|0,1,0,0)|0))c=Um(a)|0;else c=0}else c=Cp(a,b)|0;while(0);return c|0}function Dm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;ea(b|0,0|0,4,0);f=a+72|0;ea(f>>0|0,(da(f>>0|0,1,0,1)|0)&241|0,1,0);ea(a+44|0,0|0,2,0);if(((da(a+73>>0|0,1,0,0)|0|0)==1?(c=da(a+76|0,2,0,0)|0|0,d=a+(c<<1)+78|0,e=da(d|0,2,0,0)|0|0,e<<16>>16!=0):0)?(da((da(a+(c<<2)+120|0,4,0,0)|0|0)+5>>0|0,1,0,0)|0|0)!=0:0){ea(d|0,e+-1<<16>>16|0,2,0);c=0}else c=Dp(a,b)|0;return c|0}function Em(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=0-b&7;h=a+6|0;f=da(h|0,2,0,0)|0|0;e=((f&65535)*40|0)+64|0;if((e|0)>(g+c|0)){e=lh(da(a+12|0,4,0,0)|0|0,e,0)|0;ea(d|0,e|0,4,0);if(!e)e=0;else{f=da(h|0,2,0,0)|0|0;i=5}}else{ea(d|0,0|0,4,0);e=b+g|0;i=5}if((i|0)==5){ea(e+8|0,e+24|0,4,0);ea(e|0,a|0,4,0);ea(e+4|0,(f&65535)+1|0,2,0)}return e|0}function Fm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();p=q+4|0;o=q;g=da(d+8|0,4,0,0)|0|0;ea(d+6>>0|0,0|0,1,0);e=da(c>>0|0,1,0,0)|0|0;if(e<<24>>24>-1){e=e&255;ea(p|0,e|0,4,0);f=1}else{f=lm(c,p)|0;e=da(p|0,4,0,0)|0|0}n=a+4|0;l=a+12|0;m=d+4|0;a=e;k=e;h=f&255;e=0;while(1){if(h>>>0>=a>>>0|(k|0)>(b|0))break;d=c+h|0;a=da(d>>0|0,1,0,0)|0|0;if(a<<24>>24>-1){ea(o|0,a&255|0,4,0);d=1}else d=lm(d,o)|0;ea(g+10>>0|0,da(n>>0|0,1,0,0)|0|0|0,1,0);ea(g+32|0,da(l|0,4,0,0)|0|0,4,0);ea(g+24|0,0|0,4,0);f=nm(c+k|0,da(o|0,4,0,0)|0|0,g)|0;e=e+1<<16>>16;if((e&65535)>=(da(m|0,2,0,1)|0|0))break;a=da(p|0,4,0,0)|0|0;k=f+k|0;h=(d&255)+h|0;g=g+40|0}ea(m|0,e|0,2,0);i=q;return}function Gm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=a+73|0;if((da(d>>0|0,1,0,0)|0|0)==1?((da(a+72>>0|0,1,0,0)|0)&8)!=0:0)c=0;else e=3;do if((e|0)==3){c=pm(a)|0;if(!c){if(!(da(d>>0|0,1,0,0)|0)){ea(b|0,1|0,4,0);c=0;break}ea(b|0,0|0,4,0);c=Ep(a)|0;b=a+72|0;d=da(b>>0|0,1,0,1)|0|0;if(!c){ea(b>>0|0,d|8|0,1,0);c=0;break}else{ea(b>>0|0,d&247|0,1,0);break}}}while(0);return c|0}function Hm(a,b,c,d,e,f,g,h,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0;G=i;i=i+32|0;if((i|0)>=(j|0))ba();q=G;v=G+24|0;w=G+20|0;u=G+16|0;F=G+12|0;B=G+8|0;D=G+28|0;ea(B|0,k|0,4,0);m=(da(a|0,4,0,0)|0|0)+4|0;o=da(m|0,4,0,0)|0|0;E=a+73|0;do if((da(E>>0|0,1,0,0)|0|0)!=4){n=Kn(o,da(a+60|0,4,0,0)|0|0,a)|0;ea(F|0,n|0,4,0);if(!n){if(!(da(a+16|0,4,0,0)|0)){n=da((da(m|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;if(n)do{if(((da(n+72>>0|0,1,0,0)|0)&16)!=0?(m=n+24|0,(da(m|0,4,0,0)|0|0)==(c|0)?(da(m+4|0,4,0,0)|0|0)==(d|0):0):0)ea(n+73>>0|0,0|0,1,0);n=da(n+8|0,4,0,0)|0|0}while((n|0)!=0);if(((da(a+72>>0|0,1,0,0)|0)&2)!=0&((d|0)>0|(d|0)==0&c>>>0>0)?(x=a+24|0,s=da(x|0,4,0,0)|0|0,x=da(x+4|0,4,0,0)|0|0,t=iw(c|0,d|0,-1,-1)|0,(s|0)==(t|0)&(x|0)==(C|0)):0)ea(B|0,-1|0,4,0);else y=13}else y=13;if(((y|0)==13?(k|0)==0:0)?(l=Fp(a,b,c,d,h,B)|0,ea(F|0,l|0,4,0),(l|0)!=0):0)break;z=a+76|0;A=da(a+((da(z|0,2,0,0)|0)<<2)+120|0,4,0,0)|0|0;x=da(o+80|0,4,0,0)|0|0;ea(w|0,0|0,4,0);o=A+52|0;t=da(o|0,4,0,0)|0|0;ea(u|0,0|0,4,0);n=da(A+7>>0|0,1,0,1)|0|0;h=g+f|0;if(da(A+3>>0|0,1,0,0)|0){if(h>>>0<128){ea(x+n>>0|0,h|0,1,0);m=1}else m=(om(x+n|0,h,((h|0)<0)<<31>>31)|0)&255;n=m+n|0}p=(om(x+n|0,c,d)|0)+n|0;do if(!(da(A+2>>0|0,1,0,0)|0))if((d|0)>0|(d|0)==0&c>>>0>2147483647|(b|0)==0){ea(q|0,58825|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);l=11;n=0;break}else{s=f;h=c;f=c;g=b;y=24;break}else{s=0;g=e;y=24}while(0);do if((y|0)==24){n=da(A+10|0,2,0,1)|0|0;if((h|0)>(n|0)){r=da(A+12|0,2,0,1)|0|0;m=(((h-r|0)>>>0)%(((da((da(o|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)+-4|0)>>>0)|0)+r|0;m=(m|0)>(n|0)?r:m;o=m+p|0;n=o+4|0;o=x+o|0}else{n=h+p|0;n=(n|0)<4?4:n;o=x;m=h}if((h|0)>0){c=t+17|0;q=t+36|0;r=t+32|0;b=f;p=x+p|0;d=o;k=0;f=m;while(1){if(!f){p=da(u|0,4,0,0)|0|0;if(!(da(c>>0|0,1,0,0)|0))m=p;else{l=((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(r|0,4,0,0)|0|0)>>>0)|0;f=p;while(1){m=f+1|0;if(m>>>0<2)o=0;else{o=f+-1|0;o=o-((o>>>0)%(((((da(q|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;o=((o+1|0)==(l|0)?3:2)+o|0}if((o|0)==(m|0)|(f|0)==(l|0))f=m;else break}ea(u|0,m|0,4,0)}l=hp(t,w,u,m,0)|0;ea(v|0,l|0,4,0);m=(l|0)==0;if((da(c>>0|0,1,0,0)|0|0)!=0&m){m=da(u|0,4,0,0)|0|0;yp(t,m,(p|0)!=0?4:3,p,v);l=da(v|0,4,0,0)|0|0;if(l){h=k;y=38;break}}else{if(!m)break;m=da(u|0,4,0,0)|0|0}ea(d>>0|0,m>>>24|0,1,0);ea(d+1>>0|0,m>>>16|0,1,0);ea(d+2>>0|0,m>>>8|0,1,0);ea(d+3>>0|0,m|0,1,0);if(k)Ag(da(k+68|0,4,0,0)|0|0);l=da(w|0,4,0,0)|0|0;p=l+56|0;d=da(p|0,4,0,0)|0|0;ea(d>>0|0,0|0,1,0);ea(d+1>>0|0,0|0,1,0);ea(d+2>>0|0,0|0,1,0);ea(d+3>>0|0,0|0,1,0);p=(da(p|0,4,0,0)|0|0)+4|0;f=(da(q|0,4,0,0)|0|0)+-4|0}else l=k;o=(h|0)>(f|0)?f:h;if((b|0)>0){o=(o|0)>(b|0)?b:o;jw(p|0,g|0,o|0)|0}else ew(p|0,0,o|0)|0;h=h-o|0;m=(b|0)==(o|0);if((h|0)<=0){y=51;break}else{b=m?s:b-o|0;p=p+o|0;g=m?e:g+o|0;k=l;f=f-o|0}}if((y|0)==38){k=da(w|0,4,0,0)|0|0;if(!k)k=h;else{Ag(da(k+68|0,4,0,0)|0|0);k=h}}else if((y|0)==51){if(!l){l=0;break}Ag(da(l+68|0,4,0,0)|0|0);l=0;break}if(k)Ag(da(k+68|0,4,0,0)|0|0)}else l=0}while(0);ea(F|0,l|0,4,0);if(!l){l=a+((da(z|0,2,0,0)|0)<<1)+78|0;h=da(l|0,2,0,0)|0|0;m=h&65535;k=da(B|0,4,0,0)|0|0;if(!k){l=Fg(da(A+68|0,4,0,0)|0|0)|0;ea(F|0,l|0,4,0);if(l)break;l=m<<1;y=da(A+64|0,4,0,0)|0|0;l=(da(A+56|0,4,0,0)|0|0)+(((da(y+l>>0|0,1,0,1)|0)<<8|(da(y+(l|1)>>0|0,1,0,1)|0))&(da(A+20|0,2,0,1)|0))|0;if(!(da(A+5>>0|0,1,0,0)|0)){y=da(l>>0|0,1,0,1)|0|(da(l+1>>0|0,1,0,1)|0)<<8|(da(l+2>>0|0,1,0,1)|0)<<16|(da(l+3>>0|0,1,0,1)|0)<<24;ea(x>>0|0,y|0,1,0);ea(x+1>>0|0,y>>8|0,1,0);ea(x+2>>0|0,y>>16|0,1,0);ea(x+3>>0|0,y>>24|0,1,0)}ea(F|0,Gp(A,l,D)|0|0,4,0);Hp(A,m,da(D|0,2,0,1)|0|0,F);l=da(F|0,4,0,0)|0|0;if(!l)l=m;else break}else if((k|0)<0?(da(A+18|0,2,0,0)|0|0)!=0:0){y=h+1<<16>>16;ea(l|0,y|0,2,0);l=y&65535}else l=m;Ip(A,l,x,n,0,0,F);ea(a+44|0,0|0,2,0);l=da(F|0,4,0,0)|0|0;if(!l)if(!(da(A+1>>0|0,1,0,0)|0))l=0;else{l=a+72|0;ea(l>>0|0,(da(l>>0|0,1,0,1)|0)&253|0,1,0);l=Jp(a)|0;ea(F|0,l|0,4,0);ea((da(a+((da(z|0,2,0,0)|0)<<2)+120|0,4,0,0)|0|0)+1>>0|0,0|0,1,0);ea(E>>0|0,0|0,1,0)}}}else l=n}else l=da(a+68|0,4,0,0)|0|0;while(0);i=G;return l|0}function Im(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+16|0;if((i|0)>=(j|0))ba();t=u+4|0;l=u+8|0;e=u;f=(da(a|0,4,0,0)|0|0)+4|0;n=da(f|0,4,0,0)|0|0;r=a+76|0;s=da(r|0,2,0,0)|0|0;p=s<<16>>16;k=da(a+(p<<1)+78|0,2,0,0)|0|0;q=k&65535;m=da(a+(p<<2)+120|0,4,0,0)|0|0;do if((k&65535)<(da(m+18|0,2,0,1)|0|0)?(da(a+73>>0|0,1,0,0)|0|0)==1:0){k=q<<1;o=da(m+64|0,4,0,0)|0|0;k=(da(m+56|0,4,0,0)|0|0)+(((da(o+k>>0|0,1,0,1)|0)<<8|(da(o+(k|1)>>0|0,1,0,1)|0))&(da(m+20|0,2,0,1)|0))|0;o=m+5|0;if((da(o>>0|0,1,0,0)|0|0)==0?(ea(e|0,0|0,4,0),c=Dm(a,e)|0,ea(t|0,c|0,4,0),(c|0)!=0):0){b=c;break}c=Kn(n,da(a+60|0,4,0,0)|0|0,a)|0;ea(t|0,c|0,4,0);if(!c){if((da(a+16|0,4,0,0)|0|0)==0?(h=a+24|0,g=da(h|0,4,0,0)|0|0,h=da(h+4|0,4,0,0)|0|0,d=da((da(f|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,(d|0)!=0):0)do{if(((da(d+72>>0|0,1,0,0)|0)&16)!=0?(c=d+24|0,(da(c|0,4,0,0)|0|0)==(g|0)?(da(c+4|0,4,0,0)|0|0)==(h|0):0):0)ea(d+73>>0|0,0|0,1,0);d=da(d+8|0,4,0,0)|0|0}while((d|0)!=0);c=Fg(da(m+68|0,4,0,0)|0|0)|0;ea(t|0,c|0,4,0);if(!c){ea(t|0,Gp(m,k,l)|0|0,4,0);Hp(m,q,da(l|0,2,0,1)|0|0,t);c=da(t|0,4,0,0)|0|0;if(!c){if((da(o>>0|0,1,0,0)|0|0)==0?(k=da(a+((da(r|0,2,0,0)|0)<<2)+120|0,4,0,0)|0|0,h=da((da(a+(p+1<<2)+120|0,4,0,0)|0|0)+72|0,4,0,0)|0|0,e=da(k+56|0,4,0,0)|0|0,l=k+18|0,f=(da(l|0,2,0,1)|0)<<1,b=da(k+64|0,4,0,0)|0|0,f=((da(b+(f+-2)>>0|0,1,0,1)|0)<<8|(da(b+(f+-1)>>0|0,1,0,1)|0))&(da(k+20|0,2,0,1)|0),b=(Kp(k,e+f|0)|0)&65535,g=da(n+80|0,4,0,0)|0|0,ea(t|0,Fg(da(k+68|0,4,0,0)|0|0)|0|0,4,0),Ip(m,q,e+(f+-4)|0,b+4|0,g,h,t),Hp(k,(da(l|0,2,0,1)|0|0)+-1|0,b,t),b=da(t|0,4,0,0)|0|0,(b|0)!=0):0)break;b=Jp(a)|0;ea(t|0,b|0,4,0);if(!b){b=da(r|0,2,0,0)|0|0;if(b<<16>>16>s<<16>>16){do{c=b+-1<<16>>16;ea(r|0,c|0,2,0);b=da(a+(b<<16>>16<<2)+120|0,4,0,0)|0|0;if(!b)b=c;else{Ag(da(b+68|0,4,0,0)|0|0);b=da(r|0,2,0,0)|0|0}}while(b<<16>>16>s<<16>>16);b=Jp(a)|0;ea(t|0,b|0,4,0);if(b)break}pm(a)|0;b=0}}else b=c}else b=c}else b=c}else b=1;while(0);i=u;return b|0}function Jm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0;F=i;i=i+64|0;if((i|0)>=(j|0))ba();D=F+40|0;h=F+56|0;A=F;f=F+52|0;B=F+48|0;m=da(c+8|0,4,0,0)|0|0;E=da(c|0,4,0,0)|0|0;do if(!d){d=da(b>>0|0,1,0,0)|0|0;if(d<<24>>24>-1){d=d&255;ea(h|0,d|0,4,0);e=1}else{e=lm(b,h)|0;d=da(h|0,4,0,0)|0|0}if(d>>>0>a>>>0){ea(D|0,68267|0,4,0);ea(D+4|0,10788|0,4,0);ad(11,13600,D);ea(c+7>>0|0,11|0,1,0);e=0;break}else{z=d;h=d;d=0;f=e&255;g=15;break}}else{d=b+1|0;e=da(d>>0|0,1,0,0)|0|0;if(e<<24>>24>-1){d=e&255;ea(f|0,d|0,4,0);g=1}else{g=lm(d,f)|0;d=da(f|0,4,0,0)|0|0}e=da(b>>0|0,1,0,1)|0|0;ea(h|0,e|0,4,0);if(d>>>0>11)d=(d+-12|0)>>>1;else d=da(34336+d>>0|0,1,0,1)|0|0;z=e;h=d+e|0;d=1;f=(g&255)+1|0;m=m+40|0;g=15}while(0);do if((g|0)==15){q=A+12|0;r=E+4|0;s=A+10|0;t=E+12|0;u=A+32|0;v=A+8|0;w=A+16|0;y=c+7|0;x=c+4|0;p=h;o=f;a:while(1){f=da(m+8|0,2,0,1)|0|0;do if(!(f&4)){if(f&8){g=da(b+o>>0|0,1,0,0)|0|0;h=g&255;ea(B|0,h|0,4,0);if((g&255)>11){e=1;g=62;break a}if(!(g<<24>>24)){e=-1;g=62;break a}k=+(+da(m|0,8,1,0));nm(b+p|0,h,A)|0;if(g<<24>>24==7)l=+(+da(A|0,8,1,0));else{e=A;l=+((da(e|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(e+4|0,4,0,0)|0|0)}if(l<k){e=-1;g=62;break a}if(l>k){e=1;g=62;break a}else break}do if(!(f&2)){g=b+o|0;n=da(g>>0|0,1,0,0)|0|0;h=n&255;if(!(f&16)){ea(B|0,h|0,4,0);e=n<<24>>24!=0&1;break}if(n<<24>>24>-1)ea(B|0,h|0,4,0);else{lm(g,B)|0;h=da(B|0,4,0,0)|0|0}if(!(h>>>0>11&(h&1|0)==0)){e=-1;g=62;break a}n=(h+-12|0)>>>1;if((n+p|0)>>>0>a>>>0){g=57;break a}g=da(m+12|0,4,0,0)|0|0;e=Yv(b+p|0,da(m+16|0,4,0,0)|0|0,(n|0)<(g|0)?n:g)|0;if(e){g=62;break a}e=n-g|0}else{h=b+o|0;g=da(h>>0|0,1,0,0)|0|0;if(g<<24>>24>-1){h=g&255;ea(B|0,h|0,4,0)}else{lm(h,B)|0;h=da(B|0,4,0,0)|0|0}if(h>>>0<12){e=-1;g=62;break a}if(!(h&1)){e=1;g=62;break a}f=(h+-12|0)>>>1;ea(q|0,f|0,4,0);if((f+p|0)>>>0>a>>>0){g=46;break a}g=da(E+(d<<2)+20|0,4,0,0)|0|0;if(g){ea(s>>0|0,da(r>>0|0,1,0,0)|0|0|0,1,0);ea(u|0,da(t|0,4,0,0)|0|0,4,0);ea(v|0,2|0,2,0);ea(w|0,b+p|0,4,0);e=op(A,m,g,y)|0;break}n=da(m+12|0,4,0,0)|0|0;e=Yv(b+p|0,da(m+16|0,4,0,0)|0|0,(f|0)<(n|0)?f:n)|0;if(e){g=62;break a}e=f-n|0}while(0);if(e){g=62;break a}}else{g=da(b+o>>0|0,1,0,0)|0|0;h=g&255;ea(B|0,h|0,4,0);if((g&255)>11){e=1;g=62;break a}if(g<<24>>24==7){e=m;k=+((da(e|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(e+4|0,4,0,0)|0|0);nm(b+p|0,h,A)|0;l=+(+da(A|0,8,1,0));if(l<k){e=-1;g=62;break a}if(l>k){e=1;g=62;break a}else break}else if(!(g<<24>>24)){e=-1;g=62;break a}g=b+p|0;switch(h|0){case 1:case 0:{n=da(g>>0|0,1,0,0)|0|0;e=((n|0)<0)<<31>>31;break}case 6:{e=(da(b+(p+1)>>0|0,1,0,1)|0)<<16|(da(g>>0|0,1,0,1)|0)<<24|(da(b+(p+2)>>0|0,1,0,1)|0)<<8|(da(b+(p+3)>>0|0,1,0,1)|0);n=(da(b+(p+5)>>0|0,1,0,1)|0)<<16|(da(b+(p+4)>>0|0,1,0,1)|0)<<24|(da(b+(p+6)>>0|0,1,0,1)|0)<<8|(da(b+(p+7)>>0|0,1,0,1)|0);break}case 2:{n=(da(g>>0|0,1,0,0)|0)<<8|(da(b+(p+1)>>0|0,1,0,1)|0);e=((n|0)<0)<<31>>31;break}case 4:{n=(da(b+(p+1)>>0|0,1,0,1)|0)<<16|(da(g>>0|0,1,0,1)|0)<<24|(da(b+(p+2)>>0|0,1,0,1)|0)<<8|(da(b+(p+3)>>0|0,1,0,1)|0);e=((n|0)<0)<<31>>31;break}case 5:{e=(da(g>>0|0,1,0,0)|0)<<8|(da(b+(p+1)>>0|0,1,0,1)|0);n=(da(b+(p+3)>>0|0,1,0,1)|0)<<16|(da(b+(p+2)>>0|0,1,0,1)|0)<<24|(da(b+(p+4)>>0|0,1,0,1)|0)<<8|(da(b+(p+5)>>0|0,1,0,1)|0);break}case 3:{n=(da(b+(p+1)>>0|0,1,0,1)|0)<<8|(da(g>>0|0,1,0,0)|0)<<16|(da(b+(p+2)>>0|0,1,0,1)|0);e=((n|0)<0)<<31>>31;break}default:{e=0;n=h+-8|0}}f=m;g=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;if((e|0)<(f|0)|(e|0)==(f|0)&n>>>0<g>>>0){e=-1;g=62;break a}if((e|0)>(f|0)|(e|0)==(f|0)&n>>>0>g>>>0){e=1;g=62;break a}}while(0);d=d+1|0;m=m+40|0;if(h>>>0>11)f=(h+-12|0)>>>1;else f=da(34336+h>>0|0,1,0,1)|0|0;n=h;g=0;h=0;do{h=h+1|0;n=lw(n|0,g|0,7)|0;g=C}while(((n|0)!=0|(g|0)!=0)&(h|0)<9);p=f+p|0;o=h+o|0;if(o>>>0>=z>>>0){g=70;break}if(p>>>0>a>>>0?1:(d|0)>=(da(x|0,2,0,1)|0|0)){g=70;break}}if((g|0)==46){ea(D|0,68346|0,4,0);ea(D+4|0,10788|0,4,0);ad(11,13600,D);ea(y>>0|0,11|0,1,0);e=0;break}else if((g|0)==57){ea(D|0,68375|0,4,0);ea(D+4|0,10788|0,4,0);ad(11,13600,D);ea(y>>0|0,11|0,1,0);e=0;break}else if((g|0)==62){e=(da((da(E+16|0,4,0,0)|0|0)+d>>0|0,1,0,0)|0|0)==0?e:0-e|0;break}else if((g|0)==70){e=da(c+6>>0|0,1,0,0)|0|0;break}}while(0);i=F;return e|0}function Km(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))ba();v=w;t=w+12|0;u=w+8|0;f=da(a+76|0,2,0,0)|0|0;h=da(a+(f<<2)+120|0,4,0,0)|0|0;s=da(a+4|0,4,0,0)|0|0;if(!(da(a+44|0,2,0,0)|0)){n=h+56|0;f=(da(a+(f<<1)+78|0,2,0,1)|0)<<1;m=da(h+64|0,4,0,0)|0|0;qp(h,(da(n|0,4,0,0)|0|0)+(((da(m+f>>0|0,1,0,1)|0)<<8|(da(m+(f|1)>>0|0,1,0,1)|0))&(da(h+20|0,2,0,1)|0))|0,a+24|0);f=a+72|0;ea(f>>0|0,da(f>>0|0,1,0,1)|0|2|0,1,0);f=n}else f=h+56|0;n=da(a+32|0,4,0,0)|0|0;l=a+40|0;g=da(l|0,2,0,1)|0|0;m=s+36|0;if((n+g|0)>>>0<=((da(f|0,4,0,0)|0|0)+(da(m|0,4,0,0)|0|0)|0)>>>0){if(g>>>0>b>>>0){k=(c+b|0)>>>0>g>>>0?g-b|0:c;g=n+b|0;if(e&1){f=Fg(da(h+68|0,4,0,0)|0|0)|0;if(!f){jw(g|0,d|0,k|0)|0;f=0}}else{jw(d|0,g|0,k|0)|0;f=0}d=d+k|0;o=0;c=c-k|0}else{o=b-g|0;f=0}a:do if((f|0)==0&(c|0)!=0){f=da(m|0,4,0,0)|0|0;r=f+-4|0;g=da(l|0,2,0,1)|0|0;l=(da(n+(g+1)>>0|0,1,0,1)|0)<<16|(da(n+g>>0|0,1,0,1)|0)<<24|(da(n+(g+2)>>0|0,1,0,1)|0)<<8|(da(n+(g+3)>>0|0,1,0,1)|0);ea(t|0,l|0,4,0);n=a+72|0;do if((e|0)!=2?((da(n>>0|0,1,0,0)|0)&4)==0:0){f=((f+-5+(da(a+36|0,4,0,0)|0|0)-g|0)>>>0)/(r>>>0)|0;b=a+64|0;if((f|0)>(da(b|0,4,0,0)|0|0)){h=a+20|0;g=qg(da(h|0,4,0,0)|0|0,f<<3,0)|0;if(!g){f=7;break}ea(b|0,f<<1|0,4,0);ea(h|0,g|0,4,0)}ew(da(a+20|0,4,0,0)|0|0,0,f<<2|0)|0;ea(n>>0|0,da(n>>0|0,1,0,1)|0|4|0,1,0);f=0}else f=0;while(0);b=da(n>>0|0,1,0,0)|0|0;if((b&4)!=0?(q=(o>>>0)/(r>>>0)|0,p=da((da(a+20|0,4,0,0)|0|0)+(q<<2)|0,4,0,0)|0|0,(p|0)!=0):0){ea(t|0,p|0,4,0);k=(o>>>0)%(r>>>0)|0;h=p;l=q}else{k=o;h=l;l=0}if((f|0)==0&(h|0)!=0){p=e&1;q=p<<1^2;p=(p|0)==0;e=a+20|0;while(1){if(b&4)ea((da(e|0,4,0,0)|0|0)+(l<<2)|0,h|0,4,0);if(k>>>0<r>>>0){m=(k+c|0)>>>0>r>>>0?r-k|0:c;f=yg(da(s|0,4,0,0)|0|0,h,u,q)|0;if(!f){b=da(u|0,4,0,0)|0|0;g=da(b+4|0,4,0,0)|0|0;h=(da(g+1>>0|0,1,0,1)|0)<<16|(da(g>>0|0,1,0,1)|0)<<24|(da(g+2>>0|0,1,0,1)|0)<<8|(da(g+3>>0|0,1,0,1)|0);ea(t|0,h|0,4,0);g=g+(k+4)|0;if(!p){f=Fg(b)|0;if(!f){jw(g|0,d|0,m|0)|0;f=0}}else{jw(d|0,g|0,m|0)|0;f=0}if(!b)k=0;else{Ag(b);k=0}}c=c-m|0;d=d+m|0;l=l+1|0}else{b=l+1|0;f=da((da(e|0,4,0,0)|0|0)+(b<<2)|0,4,0,0)|0|0;if(!f){f=Lp(s,h,0,t)|0;h=da(t|0,4,0,0)|0|0}else{ea(t|0,f|0,4,0);h=f;f=0}k=k-r|0;l=b}if(!((f|0)==0&(c|0)!=0&(h|0)!=0))break a;b=da(n>>0|0,1,0,0)|0|0}}}while(0);if((f|0)==0&(c|0)!=0){ea(v|0,57357|0,4,0);ea(v+4|0,10788|0,4,0);ad(11,13600,v);f=11}}else{ea(v|0,57202|0,4,0);ea(v+4|0,10788|0,4,0);ad(11,13600,v);f=11}i=w;return f|0}function Lm(a,b){a=a|0;b=b|0;var c=0,d=0;c=da(a|0,4,0,0)|0|0;d=a+44|0;lg(c,da(d|0,4,0,0)|0|0);a=b+8|0;ea(d|0,jh(c,da(a|0,4,0,0)|0|0)|0|0,4,0);Vc(da(a|0,4,0,0)|0|0);ea(a|0,0|0,4,0);return}function Mm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();e=n+4|0;l=n;m=a+12|0;if(!(da(m|0,4,0,0)|0)){d=a+8|0;c=Em(da((da(d|0,4,0,0)|0|0)+28|0,4,0,0)|0|0,0,0,e)|0;ea(m|0,c|0,4,0);if(!(da(e|0,4,0,0)|0))c=7;else{ea(c+4|0,da((da((da(d|0,4,0,0)|0|0)+28|0,4,0,0)|0|0)+6|0,2,0,0)|0|0|0,2,0);ea(c+7>>0|0,0|0,1,0);f=4}}else f=4;if((f|0)==4){k=pg(256,0)|0;if(!k)c=7;else{ew(k|0,0,256)|0;c=da(b|0,4,0,0)|0|0;ea(l|0,c|0,4,0);if(c){h=b+4|0;while(1){d=da(h|0,4,0,0)|0|0;if(d)if((c|0)==(d|0))g=0;else g=d+(da(c+4|0,4,0,0)|0|0)|0;else g=da(c+4|0,4,0,0)|0|0;ea(c+4|0,0|0,4,0);f=da(k|0,4,0,0)|0|0;e=da(l|0,4,0,0)|0|0;if(!f)f=k;else{d=k;c=0;do{Mp(a,e,f,l);ea(d|0,0|0,4,0);c=c+1|0;d=k+(c<<2)|0;f=da(d|0,4,0,0)|0|0;e=da(l|0,4,0,0)|0|0}while((f|0)!=0);f=d}ea(f|0,e|0,4,0);ea(l|0,g|0,4,0);if(!g)break;else c=g}}ea(l|0,0|0,4,0);c=0;d=0;do{Mp(a,c,da(k+(d<<2)|0,4,0,0)|0|0,l);d=d+1|0;c=da(l|0,4,0,0)|0|0}while((d|0)!=64);ea(b|0,c|0,4,0);Vc(k);c=da((da(m|0,4,0,0)|0|0)+7>>0|0,1,0,1)|0|0}}i=n;return c|0}function Nm(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+64|0;if((i|0)>=(j|0))ba();k=m+40|0;l=m;ea(a+56>>0|0,1|0,1,0);e=a+64|0;h=a+36|0;g=a+72|0;f=da((da(g|0,4,0,0)|0|0)+24|0,4,0,0)|0|0;d=l+0|0;c=d+40|0;do{ea(d|0,0|0,4,0);d=d+4|0}while((d|0)<(c|0));d=a+96|0;if(!((da(d|0,4,0,0)|0|0)==0?(b=Np(f,d)|0,(b|0)!=0):0)){b=Mm(e,h)|0;if(!b){e=a+104|0;b=e;Op(da(d|0,4,0,0)|0|0,l,da((da(g|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0);b=a+92|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);b=da(a+44|0,4,0,0)|0|0;Pp(l,k,om(k,b,((b|0)<0)<<31>>31)|0);b=da(h|0,4,0,0)|0|0;if(b){d=a+40|0;do{c=b;b=da(b+4|0,4,0,0)|0|0;a=da(c|0,4,0,0)|0|0;Pp(l,k,om(k,a,((a|0)<0)<<31>>31)|0);Pp(l,c+8|0,da(c|0,4,0,0)|0|0);if(!(da(d|0,4,0,0)|0))Vc(c)}while((b|0)!=0)}ea(h|0,0|0,4,0);b=Qp(l,e)|0}}i=m;return b|0}function Om(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();o=q;f=c;h=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;p=Pm(b)|0;ea(d|0,p|0,4,0);g=(p|0)==0;e=g?7:0;g=g^1;if((b|0)>0&g){n=p+12|0;m=a+32|0;l=0;do{g=da(n|0,4,0,0)|0|0;k=g+(l*56|0)|0;e=Rp(a,k,m,h,f)|0;if(!e){e=Sp(k,o)|0;f=k;h=o;f=iw(da(h|0,4,0,0)|0|0,da(h+4|0,4,0,0)|0|0,da(f|0,4,0,0)|0|0,da(f+4|0,4,0,0)|0|0)|0;h=g+(l*56|0)+8|0;g=h;ea(g|0,f|0,4,0);ea(g+4|0,C|0,4,0);if(!e)e=Tp(k)|0}else h=g+(l*56|0)+8|0;f=h;h=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;l=l+1|0;g=(e|0)==0}while((l|0)<(b|0)&g)}if(!g){Sm(p);ea(d|0,0|0,4,0)}b=c;ea(b|0,h|0,4,0);ea(b+4|0,f|0,4,0);i=q;return e|0}function Pm(a){a=a|0;var b=0,c=0;b=2;while(1)if((b|0)<(a|0))b=b<<1;else{c=b;break}b=da(2252*4|0,4,0,0)|0|0;if((b|0)!=0?(kc[(fa(b|0,127|0)|0)&127](100)|0)!=0:0)b=0;else{a=(c*60|0)+16|0;b=pg(a,((a|0)<0)<<31>>31)|0;if(!b)b=0;else{ew(b|0,0,a|0)|0;ea(b|0,c|0,4,0);ea(b+4|0,0|0,4,0);a=b+16|0;ea(b+12|0,a|0,4,0);ea(b+8|0,a+(c*56|0)|0,4,0)}}return b|0}function Qm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=da(2252*4|0,4,0,0)|0|0;if((d|0)!=0?(kc[(fa(d|0,127|0)|0)&127](100)|0)!=0:0){d=0;g=6}else g=3;do if((g|0)==3){d=pg(64,0)|0;if(!d){g=6;break}else{e=d+0|0;f=e+64|0;do{ea(e>>0|0,0|0,1,0);e=e+1|0}while((e|0)<(f|0));ea(c|0,d|0,4,0);ea(d+4|0,b|0,4,0);ea(d|0,a|0,4,0);f=da(a+8|0,4,0,0)|0|0;e=(da(f+8|0,4,0,0)|0|0)+9|0;f=(da(f+4|0,4,0,0)|0|0)/2|0;f=(e|0)>(f|0)?e:f;ea(d+16|0,f|0,4,0);d=a+56|0;e=d;e=iw(f|0,((f|0)<0)<<31>>31|0,da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0)|0;ea(d|0,e|0,4,0);ea(d+4|0,C|0,4,0);d=0;break}}while(0);if((g|0)==6){ea(c|0,d|0,4,0);Sm(b);d=7}return d|0}function Rm(a){a=a|0;if(a){Sm(da(a+4|0,4,0,0)|0|0);Vc(a)}return}function Sm(a){a=a|0;var b=0,c=0;if((a|0)!=0?(da(a|0,4,0,0)|0|0)>0:0){b=a+12|0;c=0;do{Up((da(b|0,4,0,0)|0|0)+(c*56|0)|0);c=c+1|0}while((c|0)<(da(a|0,4,0,0)|0|0))}Vc(a);return}function Tm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=da(b|0,4,0,0)|0|0;p=b+4|0;ea(p|0,a|0,4,0);a:do if((l|0)>0){m=b+12|0;n=0;do{j=da(m|0,4,0,0)|0|0;h=j+(n*56|0)|0;j=da(j+(n*56|0)+48|0,4,0,0)|0|0;if(j){k=da(j|0,4,0,0)|0|0;g=da((da(k+8|0,4,0,0)|0|0)+24|0,4,0,0)|0|0;c=Tm(k,da(j+4|0,4,0,0)|0|0)|0;if(c)break a;i=da(j+16|0,4,0,0)|0|0;e=k+48|0;f=da(e|0,4,0,0)|0|0;d=k+56|0;if(!f){c=Np(g,e)|0;g=d;ea(g|0,0|0,4,0);ea(g+4|0,0|0,4,0);if(c)break a;f=da(e|0,4,0,0)|0|0;e=0;d=0}else{e=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0}ea(j+48|0,f|0,4,0);j=j+8|0;ea(j|0,e|0,4,0);ea(j+4|0,d|0,4,0);j=iw(e|0,d|0,i|0,((i|0)<0)<<31>>31|0)|0;c=k+56|0;ea(c|0,j|0,4,0);ea(c+4|0,C|0,4,0);c=Tp(h)|0;if(c)break a}n=n+1|0}while((n|0)<(l|0));c=da(b|0,4,0,0)|0|0;o=12}else{c=l;o=12}while(0);if((o|0)==12){d=c+-1|0;b:do if((d|0)>0){h=b+12|0;i=b+8|0;f=c;e=c;g=d;while(1){c=(f|0)/2|0;if((e|0)>(c|0)){e=g-c<<1;c=e;e=e|1}else{e=g<<1;l=da(i|0,4,0,0)|0|0;c=da(l+(e<<2)|0,4,0,0)|0|0;e=da(l+((e|1)<<2)|0,4,0,0)|0|0}d=da(h|0,4,0,0)|0|0;if(da(d+(c*56|0)+24|0,4,0,0)|0){if(da(d+(e*56|0)+24|0,4,0,0)|0){l=(Vp(da(p|0,4,0,0)|0|0,da(d+(c*56|0)+32|0,4,0,0)|0|0,da(d+(c*56|0)+20|0,4,0,0)|0|0,da(d+(e*56|0)+32|0,4,0,0)|0|0,da(d+(e*56|0)+20|0,4,0,0)|0|0)|0)<1;c=l?c:e}}else c=e;ea((da(i|0,4,0,0)|0|0)+(g<<2)|0,c|0,4,0);c=g+-1|0;if((c|0)<=0)break b;e=g;f=da(b|0,4,0,0)|0|0;g=c}}while(0);c=da((da(a+12|0,4,0,0)|0|0)+7>>0|0,1,0,1)|0|0}return c|0}function Um(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=a+76|0;do{b=da(d|0,2,0,0)|0|0;c=da(a+(b<<2)+120|0,4,0,0)|0|0;if(da(c+5>>0|0,1,0,0)|0){b=0;break}e=da(c+56|0,4,0,0)|0|0;b=(da(a+(b<<1)+78|0,2,0,1)|0)<<1;f=da(c+64|0,4,0,0)|0|0;b=((da(f+b>>0|0,1,0,1)|0)<<8|(da(f+(b|1)>>0|0,1,0,1)|0))&(da(c+20|0,2,0,1)|0);b=qm(a,(da(e+(b+1)>>0|0,1,0,1)|0)<<16|(da(e+b>>0|0,1,0,1)|0)<<24|(da(e+(b+2)>>0|0,1,0,1)|0)<<8|(da(e+(b+3)>>0|0,1,0,1)|0))|0}while((b|0)==0);return b|0}function Vm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;o=a+8|0;e=da((da(o|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;s=da(a+4|0,4,0,0)|0|0;q=a+12|0;c=Tp((da(q|0,4,0,0)|0|0)+(e*56|0)|0)|0;if(!c){c=da(q|0,4,0,0)|0|0;d=e|1;a=(da(a|0,4,0,0)|0|0)+e|0;a:do if((a|0)>1){h=c;l=a;g=da(c+(d*56|0)+32|0,4,0,0)|0|0;m=c+((e&65534)*56|0)|0;e=c+(d*56|0)|0;while(1){n=m+24|0;i=m;j=m+32|0;k=m+20|0;f=l;a=g;while(1){d=f;f=(f|0)/2|0;if(!(da(n|0,4,0,0)|0)){c=h;g=a;break}if(((da(e+24|0,4,0,0)|0|0)!=0?(p=Vp(s,da(j|0,4,0,0)|0|0,da(k|0,4,0,0)|0|0,a,da(e+20|0,4,0,0)|0|0)|0,(p|0)>=0):0)?!((p|0)==0&m>>>0<e>>>0):0){r=10;break}c=da(q|0,4,0,0)|0|0;a=da(o|0,4,0,0)|0|0;ea(a+(f<<2)|0,(i-c|0)/56|0|0,4,0);e=da(a+((f^1)<<2)|0,4,0,0)|0|0;if((d|0)<=3)break a;else{h=c;a=da(c+(e*56|0)+32|0,4,0,0)|0|0;e=c+(e*56|0)|0}}if((r|0)==10){r=0;c=da(q|0,4,0,0)|0|0;g=(da(n|0,4,0,0)|0|0)==0?a:0}a=da(o|0,4,0,0)|0|0;ea(a+(f<<2)|0,(e-c|0)/56|0|0,4,0);if((d|0)>3){h=c;l=f;m=c+((da(a+((f^1)<<2)|0,4,0,0)|0|0)*56|0)|0}else break}}else a=da(o|0,4,0,0)|0|0;while(0);ea(b|0,(da(c+((da(a+4|0,4,0,0)|0|0)*56|0)+24|0,4,0,0)|0|0)==0&1|0,4,0);c=da((da(s+12|0,4,0,0)|0|0)+7>>0|0,1,0,1)|0|0}return c|0}function Wm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=a+4|0;e=da(d|0,4,0,0)|0|0;ea(e+4|0,da(a|0,4,0,0)|0|0,4,0);a=Kn(e,b,0)|0;if(!a){a=da((da(d|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;if(a)do{if((da(a+72>>0|0,1,0,0)|0)&16)ea(a+73>>0|0,0|0,1,0);a=da(a+8|0,4,0,0)|0|0}while((a|0)!=0);a=Wp(e,b,0,c)|0}return a|0}function Xm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;u=i;i=i+32|0;if((i|0)>=(j|0))ba();l=u;t=u+16|0;s=u+12|0;r=u+8|0;ea(t|0,0|0,4,0);e=da(a+12|0,4,0,0)|0|0;if(!b){b=Xp(a,c)|0;ea(s|0,b|0,4,0)}else{ea(s|0,b|0,4,0);m=(da(b+68|0,4,0,0)|0|0)+26|0;ea(m|0,(da(m|0,2,0,0)|0|0)+1<<16>>16|0,2,0)}d=Fg(da(e+68|0,4,0,0)|0|0)|0;ea(r|0,d|0,4,0);do if(!d){m=e+56|0;f=da(m|0,4,0,0)|0|0;v=f+36|0;d=f+37|0;e=f+38|0;f=f+39|0;g=(da(d>>0|0,1,0,1)|0)<<16|(da(v>>0|0,1,0,1)|0)<<24|(da(e>>0|0,1,0,1)|0)<<8|(da(f>>0|0,1,0,1)|0);k=g+1|0;ea(v>>0|0,k>>>24|0,1,0);ea(d>>0|0,k>>>16|0,1,0);ea(e>>0|0,k>>>8|0,1,0);ea(f>>0|0,k|0,1,0);k=a+22|0;if((da(k|0,2,0,0)|0)&4){if(!b){d=cl(a,c,s,0)|0;ea(r|0,d|0,4,0);if(d)break;b=da(s|0,4,0,0)|0|0}d=Fg(da(b+68|0,4,0,0)|0|0)|0;ea(r|0,d|0,4,0);if(d)break;ew(da(b+56|0,4,0,0)|0|0,0,da((da(b+52|0,4,0,0)|0|0)+32|0,4,0,0)|0|0)|0}if((da(a+17>>0|0,1,0,0)|0|0)!=0?(yp(a,c,2,0,r),h=da(r|0,4,0,0)|0|0,(h|0)!=0):0){d=h;break}if(g){e=da(m|0,4,0,0)|0|0;e=(da(e+33>>0|0,1,0,1)|0)<<16|(da(e+32>>0|0,1,0,1)|0)<<24|(da(e+34>>0|0,1,0,1)|0)<<8|(da(e+35>>0|0,1,0,1)|0);d=cl(a,e,t,0)|0;ea(r|0,d|0,4,0);if(d)break;f=da(t|0,4,0,0)|0|0;h=f+56|0;g=da(h|0,4,0,0)|0|0;g=(da(g+5>>0|0,1,0,1)|0)<<16|(da(g+4>>0|0,1,0,1)|0)<<24|(da(g+6>>0|0,1,0,1)|0)<<8|(da(g+7>>0|0,1,0,1)|0);d=(da(a+36|0,4,0,0)|0|0)>>>2;if(g>>>0>(d+-2|0)>>>0){ea(l|0,58627|0,4,0);ea(l+4|0,10788|0,4,0);ad(11,13600,l);ea(r|0,11|0,4,0);d=11;break}if(g>>>0<(d+-8|0)>>>0){d=Fg(da(f+68|0,4,0,0)|0|0)|0;ea(r|0,d|0,4,0);if(d)break;l=da(h|0,4,0,0)|0|0;m=g+1|0;ea(l+4>>0|0,m>>>24|0,1,0);ea(l+5>>0|0,m>>>16|0,1,0);ea(l+6>>0|0,m>>>8|0,1,0);ea(l+7>>0|0,m|0,1,0);m=g<<2;l=da(h|0,4,0,0)|0|0;ea(l+(m+8)>>0|0,c>>>24|0,1,0);ea(l+(m+9)>>0|0,c>>>16|0,1,0);ea(l+(m+10)>>0|0,c>>>8|0,1,0);ea(l+(m+11)>>0|0,c|0,1,0);if((((b|0)!=0?((da(k|0,2,0,0)|0)&4)==0:0)?(n=da(b+68|0,4,0,0)|0|0,o=n+24|0,p=da(o|0,2,0,1)|0|0,(p&2|0)!=0):0)?(da((da(n+16|0,4,0,0)|0|0)+96|0,4,0,0)|0|0)==0:0)ea(o|0,p|32|0,2,0);e=a+60|0;d=da(e|0,4,0,0)|0|0;do if(!d){b=da(a+44|0,4,0,0)|0|0;d=pg(512,0)|0;if(!d){ea(e|0,0|0,4,0);d=7;break}else{ew(d|0,0,512)|0;ea(d|0,b|0,4,0);ea(e|0,d|0,4,0);q=28;break}}else q=28;while(0);if((q|0)==28)if((da(d|0,4,0,0)|0|0)>>>0<c>>>0)d=0;else d=ai(d,c)|0;ea(r|0,d|0,4,0);break}}else e=0;if(!b){d=cl(a,c,s,0)|0;ea(r|0,d|0,4,0);if(d)break;b=da(s|0,4,0,0)|0|0}d=Fg(da(b+68|0,4,0,0)|0|0)|0;ea(r|0,d|0,4,0);if(!d){d=b+56|0;n=da(d|0,4,0,0)|0|0;ea(n>>0|0,e>>>24|0,1,0);ea(n+1>>0|0,e>>>16|0,1,0);ea(n+2>>0|0,e>>>8|0,1,0);ea(n+3>>0|0,e|0,1,0);d=(da(d|0,4,0,0)|0|0)+4|0;ea(d>>0|0,0|0,1,0);ea(d+1>>0|0,0|0,1,0);ea(d+2>>0|0,0|0,1,0);ea(d+3>>0|0,0|0,1,0);d=da(m|0,4,0,0)|0|0;ea(d+32>>0|0,c>>>24|0,1,0);ea(d+33>>0|0,c>>>16|0,1,0);ea(d+34>>0|0,c>>>8|0,1,0);ea(d+35>>0|0,c|0,1,0);d=0}}while(0);b=da(s|0,4,0,0)|0|0;if(b){ea(b>>0|0,0|0,1,0);Ag(da(b+68|0,4,0,0)|0|0)}b=da(t|0,4,0,0)|0|0;if(b)Ag(da(b+68|0,4,0,0)|0|0);i=u;return d|0}function Ym(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=i;i=i+48|0;if((i|0)>=(j|0))ba();H=K+24|0;y=K;r=K+36|0;I=K+32|0;o=b+72|0;G=da(o|0,4,0,0)|0|0;p=da(a|0,4,0,0)|0|0;m=da(b+68|0,4,0,0)|0|0;n=p+15|0;if((da(n>>0|0,1,0,0)|0|0)!=0?(g=Fg(m)|0,(g|0)!=0):0)J=20;else J=3;a:do if((J|0)==3){h=m+24|0;l=da(h|0,2,0,0)|0|0;if((l&2)!=0?(To(m)|0)!=0:0){g=Uo(m)|0;if(g){J=20;break}l=da(h|0,2,0,0)|0|0}if((l&4)==0|(f|0)!=0)k=0;else k=da(m+20|0,4,0,0)|0|0;ea(h|0,l&65531|0,2,0);v=p+204|0;f=$b[(fa(da(8744+132|0,4,0,0)|0|0,63|0)|0)&63](da((da(v|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,e,0)|0;f=hl(da(v|0,4,0,0)|0|0,e,f)|0;do if(f){ea(h|0,da(h|0,2,0,1)|0|(da(f+24|0,2,0,1)|0)&4|0,2,0);if(!(da(n>>0|0,1,0,0)|0)){ll(f);break}else{Yp(f,(da(p+24|0,4,0,0)|0|0)+1|0);break}}while(0);l=da(m+20|0,4,0,0)|0|0;Yp(m,e);So(m);if(da(n>>0|0,1,0,0)|0){Yp(f,l);Ag(f)}do if(k){g=yg(p,k,H,0)|0;if(!g){v=da(H|0,4,0,0)|0|0;u=v+24|0;ea(u|0,da(u|0,2,0,1)|0|4|0,2,0);So(v);Ag(v);break}if(k>>>0>(da(p+28|0,4,0,0)|0|0)>>>0){J=20;break a}bi(da(p+56|0,4,0,0)|0|0,k,da(p+200|0,4,0,0)|0|0);J=20;break a}while(0);ea(I|0,0|0,4,0);ea(o|0,e|0,4,0);if(c<<24>>24==1|c<<24>>24==5){g=Zp(b)|0;ea(I|0,g|0,4,0);if(!g)J=25;else break}else{f=da(b+56|0,4,0,0)|0|0;f=(da(f+1>>0|0,1,0,1)|0)<<16|(da(f>>0|0,1,0,1)|0)<<24|(da(f+2>>0|0,1,0,1)|0)<<8|(da(f+3>>0|0,1,0,1)|0);if(f){yp(a,f,4,e,I);g=da(I|0,4,0,0)|0|0;if(!g)J=25;else break}}if((J|0)==25?c<<24>>24==1:0){g=0;break}g=cl(a,d,r,0)|0;ea(I|0,g|0,4,0);if(!g){u=da(r|0,4,0,0)|0|0;v=u+68|0;g=Fg(da(v|0,4,0,0)|0|0)|0;ea(I|0,g|0,4,0);if(g){if(!u)break;Ag(da(v|0,4,0,0)|0|0);break}b:do if(c<<24>>24==4){g=da(u+56|0,4,0,0)|0|0;h=g+1|0;k=g+2|0;f=g+3|0;if(((da(h>>0|0,1,0,1)|0)<<16|(da(g>>0|0,1,0,1)|0)<<24|(da(k>>0|0,1,0,1)|0)<<8|(da(f>>0|0,1,0,1)|0)|0)==(G|0)){ea(g>>0|0,e>>>24|0,1,0);ea(h>>0|0,e>>>16|0,1,0);ea(k>>0|0,e>>>8|0,1,0);ea(f>>0|0,e|0,1,0);g=0;break}else{ea(H|0,56060|0,4,0);ea(H+4|0,10788|0,4,0);ad(11,13600,H);g=11;break}}else{s=da(u>>0|0,1,0,0)|0|0;_p(u)|0;r=da(u+18|0,2,0,0)|0|0;t=r&65535;c:do if(r<<16>>16){b=u+56|0;p=u+20|0;m=u+64|0;q=c<<24>>24==3;r=y+18|0;f=0;while(1){o=da(b|0,4,0,0)|0|0;n=f<<1;l=da(m|0,4,0,0)|0|0;n=((da(l+n>>0|0,1,0,1)|0)<<8|(da(l+(n|1)>>0|0,1,0,1)|0))&(da(p|0,2,0,1)|0);l=o+n|0;if(q){qp(u,l,y);l=da(r|0,2,0,0)|0|0;if((l<<16>>16!=0?(w=(l&65535)+n|0,x=o+(w+3)|0,x>>>0<=((da(b|0,4,0,0)|0|0)+(da(p|0,2,0,1)|0|0)|0)>>>0):0)?(z=o+w|0,A=o+(w+1)|0,B=o+(w+2)|0,((da(A>>0|0,1,0,1)|0)<<16|(da(z>>0|0,1,0,1)|0)<<24|(da(B>>0|0,1,0,1)|0)<<8|(da(x>>0|0,1,0,1)|0)|0)==(G|0)):0){l=x;g=z;h=A;k=B;J=40;break}}else{g=o+(n+1)|0;h=o+(n+2)|0;k=o+(n+3)|0;if(((da(g>>0|0,1,0,1)|0)<<16|(da(l>>0|0,1,0,1)|0)<<24|(da(h>>0|0,1,0,1)|0)<<8|(da(k>>0|0,1,0,1)|0)|0)==(G|0)){J=42;break}}f=f+1|0;if((f|0)>=(t|0))break c}if((J|0)==40){ea(g>>0|0,e>>>24|0,1,0);ea(h>>0|0,e>>>16|0,1,0);ea(k>>0|0,e>>>8|0,1,0);ea(l>>0|0,e|0,1,0);break}else if((J|0)==42){ea(l>>0|0,e>>>24|0,1,0);ea(g>>0|0,e>>>16|0,1,0);ea(h>>0|0,e>>>8|0,1,0);ea(k>>0|0,e|0,1,0);break}}else f=0;while(0);do if((f|0)==(t|0)){if(c<<24>>24==5?(F=da(u+6>>0|0,1,0,1)|0|0,B=da(u+56|0,4,0,0)|0|0,C=B+(F+8)|0,D=B+(F+9)|0,E=B+(F+10)|0,F=B+(F+11)|0,((da(D>>0|0,1,0,1)|0)<<16|(da(C>>0|0,1,0,1)|0)<<24|(da(E>>0|0,1,0,1)|0)<<8|(da(F>>0|0,1,0,1)|0)|0)==(G|0)):0){ea(C>>0|0,e>>>24|0,1,0);ea(D>>0|0,e>>>16|0,1,0);ea(E>>0|0,e>>>8|0,1,0);ea(F>>0|0,e|0,1,0);break}ea(H|0,56094|0,4,0);ea(H+4|0,10788|0,4,0);ad(11,13600,H);g=11;break b}while(0);ea(u>>0|0,s|0,1,0);g=0}while(0);ea(I|0,g|0,4,0);if(u)Ag(da(v|0,4,0,0)|0|0);if(!g){yp(a,e,c,d,I);g=da(I|0,4,0,0)|0|0}}}while(0);if((J|0)==20)ea(I|0,g|0,4,0);i=K;return g|0}function Zm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=b+20|0;Sm(da(g|0,4,0,0)|0|0);ea(g|0,0|0,4,0);g=b+59|0;if(da(g>>0|0,1,0,0)|0){h=0;do{d=b+(h<<6)+76|0;lg(a,da(d|0,4,0,0)|0|0);ea(d|0,0|0,4,0);d=b+(h<<6)+80|0;e=da(d|0,4,0,0)|0|0;if(e)do{f=e;e=da(e+4|0,4,0,0)|0|0;if(f)Vc(f)}while((e|0)!=0);ea(d|0,0|0,4,0);e=b+(h<<6)+96|0;d=da(e|0,4,0,0)|0|0;if(d){f=da(d|0,4,0,0)|0|0;if(f){kc[(fa(da(f+4|0,4,0,0)|0|0,127|0)|0)&127](d)|0;ea(d|0,0|0,4,0)}Vc(d);ea(e|0,0|0,4,0);d=b+(h<<6)+104|0;ea(d|0,0|0,4,0);ea(d+4|0,0|0,4,0)}f=b+(h<<6)+112|0;e=da(f|0,4,0,0)|0|0;if(e){d=da(e|0,4,0,0)|0|0;if(d){kc[(fa(da(d+4|0,4,0,0)|0|0,127|0)|0)&127](e)|0;ea(e|0,0|0,4,0)}Vc(e);ea(f|0,0|0,4,0);d=b+(h<<6)+120|0;ea(d|0,0|0,4,0);ea(d+4|0,0|0,4,0)}h=h+1|0}while((h|0)<(da(g>>0|0,1,0,1)|0|0))}e=b+36|0;if((da(b+40|0,4,0,0)|0|0)==0?(c=da(e|0,4,0,0)|0|0,(c|0)!=0):0)do{d=c;c=da(c+4|0,4,0,0)|0|0;if(d)Vc(d)}while((c|0)!=0);ea(e|0,0|0,4,0);ea(b+44|0,0|0,4,0);ea(b+56>>0|0,0|0,1,0);ea(b+48|0,0|0,4,0);ea(b+8|0,0|0,4,0);c=b+32|0;lg(a,da(c|0,4,0,0)|0|0);ea(c|0,0|0,4,0);return}function _m(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();f=o+4|0;m=o;n=da(a|0,4,0,0)|0|0;g=da(a+8|0,4,0,0)|0|0;h=da(n+16|0,4,0,0)|0|0;k=(da(h+(g<<4)+12|0,4,0,0)|0|0)+78|0;ea(k|0,(da(k|0,2,0,1)|0)&65531|0,2,0);k=n+65|0;do if(!(da(k>>0|0,1,0,0)|0))if(c){l=c+4|0;b=da(l|0,4,0,0)|0|0;if(!b){$p(a,da(c|0,4,0,0)|0|0,0);d=0;break}d=c+8|0;e=da(d|0,4,0,0)|0|0;if((e|0)!=0?(da(e>>0|0,1,0,0)|0|0)!=0:0){l=n+144|0;ea(l>>0|0,g|0,1,0);ea(f|0,0|0,4,0);Cn(b,f)|0;d=da(d|0,4,0,0)|0|0;ea(n+140|0,da(f|0,4,0,0)|0|0,4,0);b=n+146|0;ea(b>>0|0,0|0,1,0);hh(n,d,-1,0,0,m,0)|0;d=da(n+52|0,4,0,0)|0|0;ea(l>>0|0,0|0,1,0);do if((d|0)!=0?(da(b>>0|0,1,0,0)|0|0)==0:0){ea(a+12|0,d|0,4,0);if((d|0)==9)break;else if((d|0)==7){ea(k>>0|0,1|0,1,0);break}if((d&255|0)!=6){l=da(c|0,4,0,0)|0|0;$p(a,l,Re(n)|0)}}while(0);ld(da(m|0,4,0,0)|0|0)|0;d=0;break}b=da(c|0,4,0,0)|0|0;if(!b){$p(a,0,0);d=0;break}b=aq(n,b,da(h+(g<<4)|0,4,0,0)|0|0)|0;if((b|0)!=0?(Cn(da(l|0,4,0,0)|0|0,b+40|0)|0)==0:0){$p(a,da(c|0,4,0,0)|0|0,13528);d=0}else d=0}else d=0;else{$p(a,da(c|0,4,0,0)|0|0,0);d=1}while(0);i=o;return d|0}function $m(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();g=k;h=k+8|0;f=a+16|0;d=da(f|0,4,0,0)|0|0;e=da((da(d+(b<<4)+12|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;if(e){d=e;do{bq(da(d+8|0,4,0,0)|0|0);d=da(d|0,4,0,0)|0|0}while((d|0)!=0);d=da(f|0,4,0,0)|0|0}ea(h|0,a|0,4,0);d=da(d+(b<<4)|0,4,0,0)|0|0;ea(h+4|0,d|0,4,0);do if(!(Zh(a,13384,d)|0))c=1;else{ea(g|0,d|0,4,0);d=th(a,13400,g)|0;if((d|0)!=0?(c=Pe(a,d,23,h,0)|0,lg(a,d),(c|0)!=7):0)break;ea(a+65>>0|0,1|0,1,0);c=7}while(0);i=k;return c|0}function an(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=da(a+12|0,4,0,0)|0|0;if(!g){e=a+4|0;d=a+8|0;f=0}else{e=da(b>>0|0,1,0,0)|0|0;if(!(e<<24>>24))e=0;else{d=b;f=e;e=0;do{d=d+1|0;e=e<<3^e^(da(9328+(f&255)>>0|0,1,0,1)|0|0);f=da(d>>0|0,1,0,0)|0|0}while(f<<24>>24!=0)}f=(e>>>0)%((da(a|0,4,0,0)|0|0)>>>0)|0;e=g+(f<<3)|0;d=g+(f<<3)+4|0}e=da(e|0,4,0,0)|0|0;d=da(d|0,4,0,0)|0|0;ea(c|0,f|0,4,0);a:do if(!e)d=0;else while(1){e=e+-1|0;if(!(cd(da(d+12|0,4,0,0)|0|0,b)|0))break a;if(!e){d=0;break}else d=da(d|0,4,0,0)|0|0}while(0);return d|0}function bn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();q=r;p=r+12|0;a:do if((d|0)>0){n=a+16|0;o=a+4|0;m=(b|0)==0;e=c;b=d;while(1){h=b+-1|0;if(!(da(n|0,4,0,0)|0))break a;if((e|0)<1){e=b;b=5;break}if(dq(a,e)|0)break a;if(yg(da(o|0,4,0,0)|0|0,e,p,0)|0){b=8;break}k=da(p|0,4,0,0)|0|0;l=da(k+4|0,4,0,0)|0|0;do if(m)if((h|0)>0?(da((da(a|0,4,0,0)|0|0)+17>>0|0,1,0,0)|0|0)!=0:0){cn(a,(da(l+1>>0|0,1,0,1)|0)<<16|(da(l>>0|0,1,0,1)|0)<<24|(da(l+2>>0|0,1,0,1)|0)<<8|(da(l+3>>0|0,1,0,1)|0),4,e);b=h}else b=h;else{g=(da(l+5>>0|0,1,0,1)|0)<<16|(da(l+4>>0|0,1,0,1)|0)<<24|(da(l+6>>0|0,1,0,1)|0)<<8|(da(l+7>>0|0,1,0,1)|0);f=da(a|0,4,0,0)|0|0;if(da(f+17>>0|0,1,0,0)|0){cn(a,e,2,0);f=da(a|0,4,0,0)|0|0}if((g|0)>(((da(f+36|0,4,0,0)|0|0)/4|0)+-2|0)){ea(q|0,e|0,4,0);en(a,44640,q);b=b+-2|0;break}b:do if((g|0)>0){b=0;while(1){e=b<<2;e=(da(l+(e+9)>>0|0,1,0,1)|0)<<16|(da(l+(e+8)>>0|0,1,0,1)|0)<<24|(da(l+(e+10)>>0|0,1,0,1)|0)<<8|(da(l+(e+11)>>0|0,1,0,1)|0);if(da(f+17>>0|0,1,0,0)|0)cn(a,e,2,0);dq(a,e)|0;b=b+1|0;if((b|0)==(g|0))break b;f=da(a|0,4,0,0)|0|0}}while(0);b=h-g|0}while(0);e=(da(l+1>>0|0,1,0,1)|0)<<16|(da(l>>0|0,1,0,1)|0)<<24|(da(l+2>>0|0,1,0,1)|0)<<8|(da(l+3>>0|0,1,0,1)|0);if(k)Ag(k);if((b|0)<=0)break a}if((b|0)==5){ea(q|0,e|0,4,0);ea(q+4|0,d|0,4,0);ea(q+8|0,c|0,4,0);en(a,44552,q);break}else if((b|0)==8){ea(q|0,e|0,4,0);en(a,44616,q);break}}while(0);i=r;return}function cn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+32|0;if((i|0)>=(j|0))ba();h=l;f=l+24|0;g=l+20|0;e=gp(da(a|0,4,0,0)|0|0,b,f,g)|0;if((e|0)==7|(e|0)==3082){ea(a+24|0,1|0,4,0);k=3}else if(!e){f=da(f>>0|0,1,0,0)|0|0;e=da(g|0,4,0,0)|0|0;if(!((e|0)==(d|0)?f<<24>>24==c<<24>>24:0)){ea(h|0,b|0,4,0);ea(h+4|0,c&255|0,4,0);ea(h+8|0,d|0,4,0);ea(h+12|0,f&255|0,4,0);ea(h+16|0,e|0,4,0);en(a,44496,h)}}else k=3;if((k|0)==3){ea(h|0,b|0,4,0);en(a,44464,h)}i=l;return}function dn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;U=i;i=i+64|0;if((i|0)>=(j|0))ba();N=U+40|0;h=U+56|0;I=U+32|0;J=U+24|0;F=U;S=I;ea(S|0,0|0,4,0);ea(S+4|0,0|0,4,0);S=J;ea(S|0,0|0,4,0);ea(S+4|0,0|0,4,0);S=a+28|0;T=da(S|0,4,0,0)|0|0;O=a+32|0;P=da(O|0,4,0,0)|0|0;Q=a+36|0;R=da(Q|0,4,0,0)|0|0;K=da(a|0,4,0,0)|0|0;E=K+36|0;L=da(E|0,4,0,0)|0|0;if((b|0)!=0?(dq(a,b)|0)==0:0){ea(S|0,43768|0,4,0);ea(O|0,b|0,4,0);k=cl(K,b,h,0)|0;do if(!k){M=da(h|0,4,0,0)|0|0;ea(M>>0|0,0|0,1,0);k=_p(M)|0;if(k){ea(N|0,k|0,4,0);en(a,43824,N);if(!M){e=-1;break}Ag(da(M+68|0,4,0,0)|0|0);e=-1;break}r=a+16|0;G=M+18|0;k=da(G|0,2,0,0)|0|0;a:do if(!(k<<16>>16)){l=M+5|0;k=0;e=0}else{s=M+56|0;t=M+20|0;u=M+64|0;v=F+12|0;w=M+2|0;x=F+16|0;y=L+-5|0;z=L+-4|0;A=K+17|0;B=M+5|0;o=0;p=0;while(1){if(!(da(r|0,4,0,0)|0)){l=B;e=o;break a}ea(S|0,43864|0,4,0);ea(O|0,b|0,4,0);ea(Q|0,p|0,4,0);h=da(s|0,4,0,0)|0|0;k=p<<1;l=da(u|0,4,0,0)|0|0;k=((da(l+k>>0|0,1,0,1)|0)<<8|(da(l+(k|1)>>0|0,1,0,1)|0))&(da(t|0,2,0,1)|0);l=h+k|0;qp(M,l,F);m=da(v|0,4,0,0)|0|0;if(da(w>>0|0,1,0,0)|0){e=F;q=da(e|0,4,0,0)|0|0;e=da(e+4|0,4,0,0)|0|0;if(p){g=J;f=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;if(!((e|0)>(g|0)|(e|0)==(g|0)&q>>>0>f>>>0)){n=N;ea(n|0,q|0,4,0);ea(n+4|0,e|0,4,0);n=N+8|0;ea(n|0,f|0,4,0);ea(n+4|0,g|0,4,0);en(a,43896,N)}}else{f=J;ea(f|0,q|0,4,0);ea(f+4|0,e|0,4,0);f=I;ea(f|0,q|0,4,0);ea(f+4|0,e|0,4,0)}f=J;ea(f|0,q|0,4,0);ea(f+4|0,e|0,4,0)}q=da(x|0,4,0,0)|0|0;e=q&65535;if(m>>>0>e>>>0?(C=(q>>>16)+k|0,D=h+C|0,D>>>0<=((da(s|0,4,0,0)|0|0)+(da(E|0,4,0,0)|0|0)|0)>>>0):0){q=(da(h+(C+1)>>0|0,1,0,1)|0)<<16|(da(D>>0|0,1,0,1)|0)<<24|(da(h+(C+2)>>0|0,1,0,1)|0)<<8|(da(h+(C+3)>>0|0,1,0,1)|0);if(da(A>>0|0,1,0,0)|0)cn(a,q,3,b);bn(a,0,q,((y+m-e|0)>>>0)/(z>>>0)|0)}if(!(da(B>>0|0,1,0,0)|0)){n=(da(h+(k+1)>>0|0,1,0,1)|0)<<16|(da(l>>0|0,1,0,1)|0)<<24|(da(h+(k+2)>>0|0,1,0,1)|0)<<8|(da(h+(k+3)>>0|0,1,0,1)|0);if(da(A>>0|0,1,0,0)|0)cn(a,n,5,b);e=dn(a,n,I,(p|0)==0?0:J)|0;if(!((p|0)<1|(e|0)==(o|0)))en(a,43944,N)}else e=o;p=p+1|0;k=da(G|0,2,0,0)|0|0;if((p|0)>=(k&65535|0)){l=B;break}else o=e}}while(0);if(!(da(l>>0|0,1,0,0)|0)){h=da(M+6>>0|0,1,0,1)|0|0;B=da(M+56|0,4,0,0)|0|0;h=(da(B+(h+9)>>0|0,1,0,1)|0)<<16|(da(B+(h+8)>>0|0,1,0,1)|0)<<24|(da(B+(h+10)>>0|0,1,0,1)|0)<<8|(da(B+(h+11)>>0|0,1,0,1)|0);ea(S|0,43976|0,4,0);ea(O|0,b|0,4,0);if(da(K+17>>0|0,1,0,0)|0){cn(a,h,5,b);k=da(G|0,2,0,0)|0|0}dn(a,h,0,k<<16>>16!=0?J:0)|0;B=da(l>>0|0,1,0,0)|0|0;ea(S|0,43768|0,4,0);ea(O|0,b|0,4,0);if(B<<24>>24)H=34}else{ea(S|0,43768|0,4,0);ea(O|0,b|0,4,0);H=34}do if((H|0)==34?(da(M+2>>0|0,1,0,0)|0|0)!=0:0){h=(d|0)!=0;if(!c){if(!h)break;h=I;k=da(h|0,4,0,0)|0|0;h=da(h+4|0,4,0,0)|0|0;f=d;g=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;if((h|0)>(f|0)|(h|0)==(f|0)&k>>>0>g>>>0)break;B=N;ea(B|0,k|0,4,0);ea(B+4|0,h|0,4,0);B=N+8|0;ea(B|0,g|0,4,0);ea(B+4|0,f|0,4,0);en(a,44200,N);break}if(!h){k=J;h=da(k|0,4,0,0)|0|0;k=da(k+4|0,4,0,0)|0|0;f=c;g=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;if(!((k|0)>(f|0)|(k|0)==(f|0)&h>>>0>g>>>0))break;B=N;ea(B|0,h|0,4,0);ea(B+4|0,k|0,4,0);B=N+8|0;ea(B|0,g|0,4,0);ea(B+4|0,f|0,4,0);en(a,44008,N);break}h=I;k=da(h|0,4,0,0)|0|0;h=da(h+4|0,4,0,0)|0|0;f=c;g=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;if(!((h|0)>(f|0)|(h|0)==(f|0)&k>>>0>g>>>0)){B=N;ea(B|0,k|0,4,0);ea(B+4|0,h|0,4,0);B=N+8|0;ea(B|0,g|0,4,0);ea(B+4|0,f|0,4,0);en(a,44072,N)}g=J;f=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;h=d;k=da(h|0,4,0,0)|0|0;h=da(h+4|0,4,0,0)|0|0;if((g|0)>(h|0)|(g|0)==(h|0)&f>>>0>k>>>0){B=N;ea(B|0,f|0,4,0);ea(B+4|0,g|0,4,0);g=N+8|0;ea(g|0,k|0,4,0);ea(g+4|0,h|0,4,0);en(a,44136,N);g=J;f=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0}B=c;ea(B|0,f|0,4,0);ea(B+4|0,g|0,4,0)}while(0);o=da(M+56|0,4,0,0)|0|0;p=da(M+6>>0|0,1,0,1)|0|0;q=Fo(da(K+32|0,4,0,0)|0|0)|0;ea(S|0,0|0,4,0);if(q){n=(((da(o+(p+5)>>0|0,1,0,1)|0)<<8|(da(o+(p+6)>>0|0,1,0,1)|0))+65535&65535)+1|0;ew(q+n|0,0,L-n|0)|0;ew(q|0,1,n|0)|0;n=(da(o+(p+3)>>0|0,1,0,1)|0)<<8|(da(o+(p+4)>>0|0,1,0,1)|0);g=p+12-((da(l>>0|0,1,0,1)|0)<<2)|0;if(n){f=L+-4|0;m=0;do{l=g+(m<<1)|0;l=(da(o+l>>0|0,1,0,1)|0)<<8|(da(o+(l+1)>>0|0,1,0,1)|0);if((l|0)>(f|0))h=65536;else h=(Kp(M,o+l|0)|0)&65535;k=h+l|0;if((k|0)<=(L|0)){if(h)do{k=k+-1|0;B=q+k|0;ea(B>>0|0,(da(B>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0)}while((k|0)>(l|0))}else{ea(S|0,0|0,4,0);ea(N|0,m|0,4,0);ea(N+4|0,b|0,4,0);en(a,44264,N)}m=m+1|0}while((m|0)<(n|0))}f=(da(o+(p+1)>>0|0,1,0,1)|0)<<8|(da(o+(p+2)>>0|0,1,0,1)|0);if(f)do{g=(da(o+(f+2)>>0|0,1,0,1)|0)<<8|(da(o+(f+3)>>0|0,1,0,1)|0);if(g){g=g+f|0;do{g=g+-1|0;B=q+g|0;ea(B>>0|0,(da(B>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0)}while((g|0)>(f|0))}f=(da(o+f>>0|0,1,0,1)|0)<<8|(da(o+(f+1)>>0|0,1,0,1)|0)}while((f|0)!=0);b:do if((L|0)>0){g=0;f=0;while(1){h=da(q+f>>0|0,1,0,0)|0|0;if(h<<24>>24){if(h<<24>>24>1)break}else g=g+1|0;f=f+1|0;if((f|0)>=(L|0))break b}ea(N|0,f|0,4,0);ea(N+4|0,b|0,4,0);en(a,44312,N)}else g=0;while(0);f=da(o+(p+7)>>0|0,1,0,1)|0|0;if((g|0)!=(f|0)){ea(N|0,g|0,4,0);ea(N+4|0,f|0,4,0);ea(N+8|0,b|0,4,0);en(a,44352,N)}}else ea(a+24|0,1|0,4,0);_k(q);if(M)Ag(da(M+68|0,4,0,0)|0|0)}else{ea(N|0,k|0,4,0);en(a,43784,N);e=-1}while(0);ea(S|0,T|0,4,0);ea(O|0,P|0,4,0);ea(Q|0,R|0,4,0);e=e+1|0}else e=0;i=U;return e|0}function en(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+224|0;if((i|0)>=(j|0))ba();f=k;g=k+8|0;h=k+24|0;d=a+16|0;e=da(d|0,4,0,0)|0|0;if(e){ea(d|0,e+-1|0,4,0);d=a+20|0;ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0);ea(g|0,c|0,4,0);c=a+40|0;if(da(a+52|0,4,0,0)|0)Rk(c,43760,1);d=da(a+28|0,4,0,0)|0|0;if(d){e=da(a+36|0,4,0,0)|0|0;ea(f|0,da(a+32|0,4,0,0)|0|0,4,0);ea(f+4|0,e|0,4,0);$c(200,h,d,f)|0;d=h;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;Rk(c,h,d-h&1073741823)}rg(c,1,b,g);if((da(a+65>>0|0,1,0,0)|0|0)==1)ea(a+24|0,1|0,4,0)}i=k;return}function fn(a){a=a|0;var b=0,c=0;b=a+8|0;c=da(b|0,4,0,0)|0|0;do if((c|0)!=(da(a+4|0,4,0,0)|0|0))if((da(a+24>>0|0,1,0,0)|0|0)==1){lg(da(a|0,4,0,0)|0|0,c);break}else{Vc(c);break}while(0);ea(b|0,0|0,4,0);return}function gn(a){a=a|0;var b=0,c=0,d=0,e=0;c=da(a+32|0,4,0,0)|0|0;e=a+8|0;if(!(((da(e|0,2,0,0)|0)&9312)==0?(da(a+24|0,4,0,0)|0|0)==0:0))Pg(a);b=lh(c,64,0)|0;d=a+20|0;ea(d|0,b|0,4,0);if(!(da(c+65>>0|0,1,0,0)|0)){do if(!c)b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0;else{if((da(c+276|0,4,0,0)|0|0)>>>0<=b>>>0?(da(c+280|0,4,0,0)|0|0)>>>0>b>>>0:0){b=da(c+248|0,2,0,1)|0|0;break}b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0}while(0);ea(a+24|0,b|0,4,0);d=da(d|0,4,0,0)|0|0;ea(d|0,0|0,4,0);ea(d+4|0,c|0,4,0);ea(d+8|0,0|0,4,0);ea(d+12|0,0|0,4,0);ea(d+20|0,0|0,4,0);ea(d+16|0,d+32|0,4,0);ea(d+24|0,(b+1048544|0)>>>4|0,2,0);ea(d+26|0,1|0,2,0);ea(d+28|0,0|0,4,0);ea(a|0,d|0,4,0);ea(e|0,32|0,2,0)}else{ea(e|0,1|0,2,0);ea(a+24|0,0|0,4,0)}return}function hn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;g=nn(a)|0;if(g){h=g;ea(h|0,b|0,4,0);ea(h+4|0,c|0,4,0);ea(g+8|0,0|0,4,0);h=a+12|0;f=da(h|0,4,0,0)|0|0;if(!f)ea(a+8|0,g|0,4,0);else{a=a+26|0;d=da(a|0,2,0,1)|0|0;if((d&1|0)!=0?(e=f,i=da(e+4|0,4,0,0)|0|0,!((i|0)<(c|0)|((i|0)==(c|0)?(da(e|0,4,0,0)|0|0)>>>0<b>>>0:0))):0)ea(a|0,d&65534|0,2,0);ea(f+8|0,g|0,4,0)}ea(h|0,g|0,4,0)}return}function jn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=i;i=i+160|0;if((i|0)>=(j|0))ba();f=g;ew(f|0,0,160)|0;a:do if(!a){a=0;b=0}else{b=0;while(1){c=a+8|0;e=da(c|0,4,0,0)|0|0;ea(c|0,0|0,4,0);if(!b)b=f;else{c=b;b=f;d=0;do{a=ln(c,a)|0;ea(b|0,0|0,4,0);d=d+1|0;b=f+(d<<2)|0;c=da(b|0,4,0,0)|0|0}while((c|0)!=0)}ea(b|0,a|0,4,0);if(!e){a=0;b=0;break a}a=e;b=da(f|0,4,0,0)|0|0}}while(0);do{a=ln(a,da(f+(b<<2)|0,4,0,0)|0|0)|0;b=b+1|0}while((b|0)!=40);i=g;return a|0}function kn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();d=f;e=da(a+12|0,4,0,0)|0|0;if(!e)ea(b|0,a|0,4,0);else{kn(e,b,d);ea((da(d|0,4,0,0)|0|0)+8|0,a|0,4,0)}d=a+8|0;e=da(d|0,4,0,0)|0|0;if(!e)ea(c|0,a|0,4,0);else kn(e,d,c);i=f;return}function ln(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;c=(a|0)!=0;a:do if(c&(b|0)!=0){d=a;a=k;while(1){g=d;f=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;while(1){e=b;c=da(e|0,4,0,0)|0|0;e=da(e+4|0,4,0,0)|0|0;if((g|0)<(e|0)|(g|0)==(e|0)&f>>>0<c>>>0){h=4;break}if(!((e|0)<(g|0)|(e|0)==(g|0)&c>>>0<f>>>0))break;ea(a+8|0,b|0,4,0);c=da(b+8|0,4,0,0)|0|0;if(!c){e=0;c=1;break a}else{a=b;b=c}}if((h|0)==4){h=0;ea(a+8|0,d|0,4,0);a=d}d=da(d+8|0,4,0,0)|0|0;c=(d|0)!=0;if(!(c&(b|0)!=0)){e=b;b=a;break}}}else{e=b;d=a;b=k}while(0);ea(b+8|0,(c?d:e)|0,4,0);i=l;return da(k+8|0,4,0,0)|0|0}function mn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;c=a+8|0;b=da(c|0,4,0,0)|0|0;ea(d|0,b|0,4,0);ea(c|0,0|0,4,0);ea(a+12|0,0|0,4,0);if(!b)b=a;else{c=1;while(1){f=b+8|0;ea(d|0,da(f|0,4,0,0)|0|0,4,0);ea(b+12|0,a|0,4,0);ea(f|0,eq(d,c)|0|0,4,0);a=da(d|0,4,0,0)|0|0;if(!a)break;else{f=b;b=a;c=c+1|0;a=f}}}i=e;return b|0}function nn(a){a=a|0;var b=0,c=0,d=0,e=0;d=a+24|0;b=da(d|0,2,0,0)|0|0;if(!(b<<16>>16)){b=lh(da(a+4|0,4,0,0)|0|0,1016,0)|0;if(!b)b=0;else{ea(b|0,da(a|0,4,0,0)|0|0,4,0);ea(a|0,b|0,4,0);b=b+8|0;ea(a+16|0,b|0,4,0);ea(d|0,63|0,2,0);c=62;e=5}}else{c=b+-1<<16>>16;b=da(a+16|0,4,0,0)|0|0;e=5}if((e|0)==5){ea(d|0,c|0,2,0);ea(a+16|0,b+16|0,4,0)}return b|0}function on(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;d=a+4|0;if(da(d>>0|0,1,0,0)|0){b=pn(a)|0;if(!b){h=da(d>>0|0,1,0,0)|0|0;c=4}}else{h=0;c=4}do if((c|0)==4){e=da(a|0,4,0,0)|0|0;k=da(a+60|0,4,0,0)|0|0;f=da(a+212|0,4,0,0)|0|0;b=a+160|0;c=da(b|0,4,0,0)|0|0;b=da(b+4|0,4,0,0)|0|0;g=a+208|0;ea(g|0,0|0,4,0);d=(da(e+4|0,4,0,0)|0|0)+112|0;l=pg(d,0)|0;if(!l)b=7;else{ew(l|0,0,d|0)|0;ea(l|0,e|0,4,0);o=l+112|0;d=l+8|0;ea(d|0,o|0,4,0);ea(l+4|0,k|0,4,0);ea(l+40|0,-1|0,2,0);a=l+16|0;ea(a|0,c|0,4,0);ea(a+4|0,b|0,4,0);ea(l+100|0,f|0,4,0);a=l+48|0;ea(a>>0|0,1|0,1,0);c=l+49|0;ea(c>>0|0,1|0,1,0);ea(l+43>>0|0,(h<<24>>24!=0?2:0)|0,1,0);ea(m|0,524294|0,4,0);b=sc[(fa(da(e+24|0,4,0,0)|0|0,31|0)|0)&31](e,f,o,524294,m)|0;if(b){fq(l,0);c=da(d|0,4,0,0)|0|0;d=da(c|0,4,0,0)|0|0;if(d){kc[(fa(da(d+4|0,4,0,0)|0|0,127|0)|0)&127](c)|0;ea(c|0,0|0,4,0)}Vc(l);break}if((da(m|0,4,0,0)|0)&1)ea(l+46>>0|0,1|0,1,0);d=kc[(fa(da((da(k|0,4,0,0)|0|0)+48|0,4,0,0)|0|0,127|0)|0)&127](k)|0;if(d&1024)ea(a>>0|0,0|0,1,0);if(d&4096)ea(c>>0|0,0|0,1,0);ea(g|0,l|0,4,0);b=0}}while(0);i=n;return b|0}function pn(a){a=a|0;var b=0,c=0,d=0;d=el(a,4)|0;if((d|0)!=0?(b=da(a+60|0,4,0,0)|0|0,c=da(b|0,4,0,0)|0|0,(c|0)!=0):0){if(!(da(a+13>>0|0,1,0,0)|0))qc[(fa(da(c+32|0,4,0,0)|0|0,127|0)|0)&127](b,1)|0;b=a+17|0;if((da(b>>0|0,1,0,0)|0|0)!=5)ea(b>>0|0,1|0,1,0)}return d|0}function qn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;if(!a)e=0;else{g=a+4|0;e=da(g|0,4,0,0)|0|0;e=qc[(fa(da((da(e|0,4,0,0)|0|0)+28|0,4,0,0)|0|0,127|0)|0)&127](e,4)|0;if(!e){f=a+43|0;if(!(da(f>>0|0,1,0,0)|0))ea(f>>0|0,1|0,1,0);e=Sn(a,0,0,0,b,c,d,0,0)|0;if(!e){ea(h|0,-1|0,4,0);e=da(g|0,4,0,0)|0|0;$b[(fa(da((da(e|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,63|0)|0)&63](e,10,h)|0;if((da(h|0,4,0,0)|0|0)==1){e=a+16|0;b=da(e+4|0,4,0,0)|0|0;if((b|0)>-1|(b|0)==-1&(da(e|0,4,0,0)|0|0)>>>0>4294967295){Yo(a,0,0);c=0;e=0}else{c=0;e=0}}else{c=1;e=0}}else c=0}else c=0;fq(a,c);b=da(a+8|0,4,0,0)|0|0;f=da(b|0,4,0,0)|0|0;if(f){kc[(fa(da(f+4|0,4,0,0)|0|0,127|0)|0)&127](b)|0;ea(b|0,0|0,4,0)}if(c){b=da(3164*4|0,4,0,0)|0|0;if(b)mc[(fa(b|0,3|0)|0)&3]();b=da(a|0,4,0,0)|0|0;$b[(fa(da(b+28|0,4,0,0)|0|0,63|0)|0)&63](b,da(a+100|0,4,0,0)|0|0,0)|0;b=da(3166*4|0,4,0,0)|0|0;if(b)mc[(fa(b|0,3|0)|0)&3]()}Vc(da(a+32|0,4,0,0)|0|0);Vc(a)}i=k;return e|0}function rn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=a+5|0;d=da(h>>0|0,1,0,0)|0|0;if(!((da(a+15>>0|0,1,0,0)|0|0)!=0?!((b|0)==2|(b|0)==4):0))e=3;do if(((e|0)==3?(c=d&255,(c|0)!=(b|0)):0)?(ea(h>>0|0,b|0,1,0),(da(a+4>>0|0,1,0,0)|0|0)==0&(c&5|0)==1&(b&1|0)==0):0){c=da(a+64|0,4,0,0)|0|0;d=da(c|0,4,0,0)|0|0;if(d){kc[(fa(da(d+4|0,4,0,0)|0|0,127|0)|0)&127](c)|0;ea(c|0,0|0,4,0)}g=a+17|0;if((da(g>>0|0,1,0,1)|0|0)>1){c=da(a|0,4,0,0)|0|0;$b[(fa(da(c+28|0,4,0,0)|0|0,63|0)|0)&63](c,da(a+172|0,4,0,0)|0|0,0)|0;break}d=a+16|0;c=da(d>>0|0,1,0,0)|0|0;f=c<<24>>24==0;if(f){b=bl(a)|0;e=da(d>>0|0,1,0,0)|0|0}else{e=c;b=0}if(e<<24>>24==1)b=el(a,2)|0;if((b|0)==0?(d=da(a|0,4,0,0)|0|0,$b[(fa(da(d+28|0,4,0,0)|0|0,63|0)|0)&63](d,da(a+172|0,4,0,0)|0|0,0)|0,c<<24>>24==1):0){d=da(a+60|0,4,0,0)|0|0;c=da(d|0,4,0,0)|0|0;if(!c)break;if(!(da(a+13>>0|0,1,0,0)|0))qc[(fa(da(c+32|0,4,0,0)|0|0,127|0)|0)&127](d,1)|0;if((da(g>>0|0,1,0,0)|0|0)==5)break;ea(g>>0|0,1|0,1,0);break}if(f)Mo(a)}while(0);return da(h>>0|0,1,0,1)|0|0}function sn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;d=f+4|0;do if(c)if(!(hh(a,c,-1,0,0,d,0)|0)){d=da(d|0,4,0,0)|0|0;Rd(d)|0;a=gq(a,d,b)|0;break}else{ch(b,a,Re(a)|0,e);a=Mf(a)|0;break}else a=7;while(0);i=f;return a|0}function tn(a){a=a|0;var b=0;ea((da(a+4|0,4,0,0)|0|0)+4|0,da(a|0,4,0,0)|0|0,4,0);b=Jg(a,0)|0;if(!b)b=Ig(a,0)|0;return b|0}function un(a,b){a=a|0;b=b|0;var c=0,d=0;c=da(a+4|0,4,0,0)|0|0;ea(c+4|0,da(a|0,4,0,0)|0|0,4,0);a=b&255;if((da(c+22|0,2,0,0)|0)&2){b=c+17|0;if(((a|0)!=0|0)==(da(b>>0|0,1,0,1)|0|0|0))d=4;else b=8}else{b=c+17|0;d=4}if((d|0)==4){ea(b>>0|0,(a|0)!=0&1|0,1,0);ea(c+18>>0|0,(a|0)==2&1|0,1,0);b=0}return b|0}function vn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();d=f;c=hh(a,c,-1,0,0,d,0)|0;do if(!c){d=da(d|0,4,0,0)|0|0;while(1){if((Rd(d)|0)!=100){e=6;break}c=sn(a,b,ee(d,0)|0)|0;if(c){e=5;break}}if((e|0)==5){gq(a,d,b)|0;break}else if((e|0)==6){c=gq(a,d,b)|0;break}}while(0);i=f;return c|0}function wn(a){a=a|0;var b=0;b=a+100|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);b=da(a+88|0,4,0,0)|0|0;if(b)do{ea(b+16|0,1|0,4,0);b=da(b+44|0,4,0,0)|0|0}while((b|0)!=0);cp(da(a+204|0,4,0,0)|0|0,0);return}function xn(a){a=a|0;var b=0,c=0,d=0;d=a+304|0;b=da(d|0,4,0,0)|0|0;if(!((b|0)%5|0)){b=(b<<2)+20|0;c=a+328|0;b=qo(a,da(c|0,4,0,0)|0|0,b,((b|0)<0)<<31>>31)|0;if(!b)b=7;else{a=b+((da(d|0,4,0,0)|0)<<2)|0;ea(a+0|0,0|0,4,0);ea(a+4|0,0|0,4,0);ea(a+8|0,0|0,4,0);ea(a+12|0,0|0,4,0);ea(a+16|0,0|0,4,0);ea(c|0,b|0,4,0);b=0}}else b=0;return b|0}function yn(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();s=v;n=v+8|0;q=v+4|0;f=b+56|0;o=da(f|0,4,0,0)|0|0;p=da(b+52|0,4,0,0)|0|0;ea(q|0,0|0,4,0);ea(s|0,da(b|0,4,0,0)|0|0,4,0);u=th(a,10344,s)|0;do if(!u)f=7;else{r=lh(a,28,0)|0;if(!r){lg(a,u);f=7;break}l=r+0|0;k=l+28|0;do{ea(l>>0|0,0|0,1,0);l=l+1|0}while((l|0)<(k|0));ea(r|0,a|0,4,0);ea(r+4|0,c|0,4,0);m=da(b+68|0,4,0,0)|0|0;a:do if(m){l=da(a+20|0,4,0,0)|0|0;if((l|0)>0){h=da(a+16|0,4,0,0)|0|0;g=0;while(1){k=g+1|0;if((da(h+(g<<4)+12|0,4,0,0)|0|0)==(m|0)){k=g;break a}if((k|0)<(l|0))g=k;else break}}else k=0}else k=-1e6;while(0);ea((da(f|0,4,0,0)|0|0)+4|0,da((da(a+16|0,4,0,0)|0|0)+(k<<4)|0,4,0,0)|0|0,4,0);l=n+4|0;ea(l|0,b|0,4,0);ea(n|0,r|0,4,0);h=a+324|0;m=da(h|0,4,0,0)|0|0;ea(h|0,n|0,4,0);k=r+8|0;f=jc[(fa(d|0,7|0)|0)&7](a,da(c+8|0,4,0,0)|0|0,p,o,k,q)|0;ea(h|0,m|0,4,0);do if(!f){h=da(k|0,4,0,0)|0|0;if(h){ea(h+0|0,0|0,4,0);ea(h+4|0,0|0,4,0);ea(h+8|0,0|0,4,0);ea(da(k|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0,4,0);ea(r+12|0,1|0,4,0);if(da(l|0,4,0,0)|0){ea(s|0,da(b|0,4,0,0)|0|0,4,0);ea(e|0,th(a,28376,s)|0|0,4,0);zn(r);f=1;break}q=b+60|0;ea(r+24|0,da(q|0,4,0,0)|0|0,4,0);ea(q|0,r|0,4,0);q=b+38|0;f=da(q|0,2,0,0)|0|0;if(f<<16>>16>0){p=b+4|0;g=da(p|0,4,0,0)|0|0;d=0;while(1){n=da(g+(d*24|0)+12|0,4,0,0)|0|0;if(n){h=n;while(1)if(!(da(h>>0|0,1,0,0)|0))break;else h=h+1|0;k=h-n|0;m=k&1073741823;if((Ec(28424,n,6)|0)==0?(o=da(n+6>>0|0,1,0,0)|0|0,o<<24>>24==32|o<<24>>24==0):0)h=0;else t=24;b:do if((t|0)==24){t=0;if(!m)h=0;else{h=0;while(1){if((Ec(28432,n+h|0,7)|0)==0?(o=da(n+(h+7)>>0|0,1,0,0)|0|0,o<<24>>24==32|o<<24>>24==0):0)break;h=h+1|0;if((h|0)>=(m|0))break b}h=h+1|0}}while(0);if((h|0)<(m|0)){l=(da(n+(h+6)>>0|0,1,0,0)|0|0)!=0|6;g=h+l|0;if((g|0)<=(m|0)){k=(k&1073741823)+1-l|0;f=g;g=h;while(1){ea(n+g>>0|0,da(n+f>>0|0,1,0,0)|0|0|0,1,0);g=g+1|0;if((g|0)==(k|0))break;else f=g+l|0}}if((da(n+h>>0|0,1,0,0)|0|0)==0&(h|0)>0)ea(n+(h+-1)>>0|0,0|0,1,0);g=da(p|0,4,0,0)|0|0;f=g+(d*24|0)+23|0;ea(f>>0|0,da(f>>0|0,1,0,1)|0|2|0,1,0);f=da(q|0,2,0,0)|0|0}}d=d+1|0;if((d|0)>=(f<<16>>16|0)){f=0;break}}}else f=0}else f=0}else if((f|0)==7){ea(a+65>>0|0,1|0,1,0);t=11}else t=11;while(0);if((t|0)==11){g=da(q|0,4,0,0)|0|0;if(!g){ea(s|0,u|0,4,0);ea(e|0,th(a,28344,s)|0|0,4,0)}else{ea(s|0,g|0,4,0);ea(e|0,th(a,10344,s)|0|0,4,0);Vc(da(q|0,4,0,0)|0|0)}lg(a,r)}lg(a,u)}while(0);i=v;return f|0}function zn(a){a=a|0;var b=0,c=0,d=0;b=da(a|0,4,0,0)|0|0;d=a+12|0;c=(da(d|0,4,0,0)|0|0)+-1|0;ea(d|0,c|0,4,0);if(!c){c=da(a+8|0,4,0,0)|0|0;if(c)kc[(fa(da((da(c|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,127|0)|0)&127](c)|0;lg(b,a)}return}function An(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=a+10|0;d=b<<24>>24==1;if((da(n>>0|0,1,0,0)|0|0)==1|d){j=a+12|0;c=da(j|0,4,0,0)|0|0;if(d){d=c&-2;ea(j|0,d|0,4,0);g=d;d=d<<1|1}else{g=c;d=(c<<1)+2|0}k=a+16|0;c=da(k|0,4,0,0)|0|0;i=c+g|0;l=a+32|0;m=lh(da(l|0,4,0,0)|0|0,d,((d|0)<0)<<31>>31)|0;if(!m)c=7;else{d=da(n>>0|0,1,0,0)|0|0;if(d<<24>>24==2)if((g|0)>0){d=m;do{e=da(c>>0|0,1,0,1)|0|0;g=c+2|0;h=(da(c+1>>0|0,1,0,1)|0)<<8;f=h|e;if((h&63488|0)==55296&g>>>0<i>>>0){f=(f<<10&983040)+65536|e<<10&64512|(da(g>>0|0,1,0,1)|0)|(da(c+3>>0|0,1,0,1)|0)<<8&768;c=c+4|0}else c=g;do if(f>>>0>=128){if(f>>>0<2048){ea(d>>0|0,f>>>6&31|192|0,1,0);ea(d+1>>0|0,f&63|128|0,1,0);d=d+2|0;break}if(f>>>0<65536){ea(d>>0|0,f>>>12&15|224|0,1,0);ea(d+1>>0|0,f>>>6&63|128|0,1,0);ea(d+2>>0|0,f&63|128|0,1,0);d=d+3|0;break}else{ea(d>>0|0,f>>>18&7|240|0,1,0);ea(d+1>>0|0,f>>>12&63|128|0,1,0);ea(d+2>>0|0,f>>>6&63|128|0,1,0);ea(d+3>>0|0,f&63|128|0,1,0);d=d+4|0;break}}else{ea(d>>0|0,f|0,1,0);d=d+1|0}while(0)}while(c>>>0<i>>>0);h=55}else{d=m;h=55}else if(d<<24>>24!=1)if((g|0)>0){d=m;do{h=(da(c>>0|0,1,0,1)|0)<<8;g=c+2|0;f=da(c+1>>0|0,1,0,1)|0|0;e=h|f;if((h&63488|0)==55296&g>>>0<i>>>0){e=(e<<10&983040)+65536|f<<10&64512|(da(c+3>>0|0,1,0,1)|0)|(da(g>>0|0,1,0,1)|0)<<8&768;c=c+4|0}else c=g;do if(e>>>0>=128){if(e>>>0<2048){ea(d>>0|0,e>>>6&31|192|0,1,0);ea(d+1>>0|0,e&63|128|0,1,0);d=d+2|0;break}if(e>>>0<65536){ea(d>>0|0,e>>>12&15|224|0,1,0);ea(d+1>>0|0,e>>>6&63|128|0,1,0);ea(d+2>>0|0,e&63|128|0,1,0);d=d+3|0;break}else{ea(d>>0|0,e>>>18&7|240|0,1,0);ea(d+1>>0|0,e>>>12&63|128|0,1,0);ea(d+2>>0|0,e>>>6&63|128|0,1,0);ea(d+3>>0|0,e&63|128|0,1,0);d=d+4|0;break}}else{ea(d>>0|0,e|0,1,0);d=d+1|0}while(0)}while(c>>>0<i>>>0);h=55}else{d=m;h=55}else{d=(g|0)>0;if(b<<24>>24==2)if(d){d=m;g=c;while(1){c=g+1|0;e=da(g>>0|0,1,0,0)|0|0;f=e&255;if((e&255)>191){f=da(15360+(f+-192)>>0|0,1,0,1)|0|0;a:do if((c|0)==(i|0))c=i;else while(1){e=da(c>>0|0,1,0,0)|0|0;if((e&-64)<<24>>24!=-128)break a;g=g+2|0;f=e&63|f<<6;if((g|0)==(i|0)){c=i;break}else{e=c;c=g;g=e}}while(0);if(!(f>>>0<128|(f&-2048|0)==55296|(f&-2|0)==65534))if(f>>>0<65536)h=22;else{g=f+-65536|0;ea(d>>0|0,g>>>10&192|f>>>10&63|0,1,0);ea(d+1>>0|0,g>>>18&3|216|0,1,0);ea(d+2>>0|0,f|0,1,0);ea(d+3>>0|0,f>>>8&3|220|0,1,0);d=d+4|0}else{f=65533;h=22}}else h=22;if((h|0)==22){h=0;ea(d>>0|0,f|0,1,0);ea(d+1>>0|0,f>>>8|0,1,0);d=d+2|0}if(c>>>0<i>>>0)g=c;else break}}else d=m;else if(d){d=m;do{g=c+1|0;f=da(c>>0|0,1,0,0)|0|0;e=f&255;if((f&255)>191){e=da(15360+(e+-192)>>0|0,1,0,1)|0|0;b:do if((g|0)==(i|0))c=i;else{f=c;c=g;while(1){g=da(c>>0|0,1,0,0)|0|0;if((g&-64)<<24>>24!=-128)break b;f=f+2|0;e=g&63|e<<6;if((f|0)==(i|0)){c=i;break}else{g=c;c=f;f=g}}}while(0);if(!(e>>>0<128|(e&-2048|0)==55296|(e&-2|0)==65534))if(e>>>0<65536)h=31;else{g=e+-65536|0;ea(d>>0|0,g>>>18&3|216|0,1,0);ea(d+1>>0|0,g>>>10&192|e>>>10&63|0,1,0);ea(d+2>>0|0,e>>>8&3|220|0,1,0);ea(d+3>>0|0,e|0,1,0);d=d+4|0}else{e=65533;h=31}}else{c=g;h=31}if((h|0)==31){h=0;ea(d>>0|0,e>>>8|0,1,0);ea(d+1>>0|0,e|0,1,0);d=d+2|0}}while(c>>>0<i>>>0)}else d=m;ea(j|0,d-m|0,4,0);ea(d>>0|0,0|0,1,0);d=d+1|0}if((h|0)==55)ea(j|0,d-m|0,4,0);ea(d>>0|0,0|0,1,0);d=a+8|0;j=da(d|0,2,0,0)|0|0;c=j&65535;if(!((j&9312)==0?(da(a+24|0,4,0,0)|0|0)==0:0))Pg(a);ea(d|0,c&29|514|0,2,0);ea(n>>0|0,b|0,1,0);ea(k|0,m|0,4,0);ea(a+20|0,m|0,4,0);c=da(l|0,4,0,0)|0|0;do if(!c)c=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](m)|0;else{if((da(c+276|0,4,0,0)|0|0)>>>0<=m>>>0?(da(c+280|0,4,0,0)|0|0)>>>0>m>>>0:0){c=da(c+248|0,2,0,1)|0|0;break}c=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](m)|0}while(0);ea(a+24|0,c|0,4,0);c=0}}else if(!(Ul(a)|0)){c=da(a+16|0,4,0,0)|0|0;l=(da(a+12|0,4,0,0)|0)&-2;d=c+l|0;if((l|0)>0)do{l=da(c>>0|0,1,0,0)|0|0;k=c+1|0;ea(c>>0|0,da(k>>0|0,1,0,0)|0|0|0,1,0);c=c+2|0;ea(k>>0|0,l|0,1,0)}while(c>>>0<d>>>0);ea(n>>0|0,b|0,1,0);c=0}else c=7;return c|0}function Bn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=da(a>>0|0,1,0,0)|0|0;d=f&255;a:do switch(d|0){case 45:{if((da(a+1>>0|0,1,0,0)|0|0)==45)c=2;else{ea(b|0,90|0,4,0);c=1;break a}while(1){d=da(a+c>>0|0,1,0,0)|0|0;if(d<<24>>24==0|d<<24>>24==10)break;c=c+1|0}ea(b|0,151|0,4,0);break}case 46:{if(((da(a+1>>0|0,1,0,1)|0|0)+-48|0)>>>0<10)g=51;else{ea(b|0,122|0,4,0);c=1}break}case 62:{c=da(a+1>>0|0,1,0,0)|0|0;if(c<<24>>24==61){ea(b|0,83|0,4,0);c=2;break a}else if(c<<24>>24==62){ea(b|0,88|0,4,0);c=2;break a}else{ea(b|0,80|0,4,0);c=1;break a}}case 33:if((da(a+1>>0|0,1,0,0)|0|0)==61){ea(b|0,78|0,4,0);c=2;break a}else{ea(b|0,150|0,4,0);c=2;break a}case 38:{ea(b|0,85|0,4,0);c=1;break}case 126:{ea(b|0,96|0,4,0);c=1;break}case 34:case 39:case 96:{d=da(a+1>>0|0,1,0,0)|0|0;b:do if(d<<24>>24){c=1;while(1){if(d<<24>>24==f<<24>>24){c=c+1|0;if((da(a+c>>0|0,1,0,0)|0|0)!=f<<24>>24)break}c=c+1|0;d=da(a+c>>0|0,1,0,0)|0|0;if(!(d<<24>>24))break b}if(f<<24>>24==39){ea(b|0,97|0,4,0);break a}else{ea(b|0,27|0,4,0);break a}}else c=1;while(0);ea(b|0,150|0,4,0);break}case 42:{ea(b|0,91|0,4,0);c=1;break}case 47:{if((da(a+1>>0|0,1,0,0)|0|0)==42?(c=da(a+2>>0|0,1,0,0)|0|0,c<<24>>24!=0):0){c=c&255;d=3;while(1){f=da(a+d>>0|0,1,0,0)|0|0;if((c|0)==42&f<<24>>24==47){c=42;break}c=f&255;if(!(f<<24>>24))break;else d=d+1|0}ea(b|0,151|0,4,0);c=((c|0)!=0&1)+d|0;break a}ea(b|0,92|0,4,0);c=1;break}case 37:{ea(b|0,93|0,4,0);c=1;break}case 61:{ea(b|0,79|0,4,0);c=(da(a+1>>0|0,1,0,0)|0|0)==61?2:1;break}case 60:{c=da(a+1>>0|0,1,0,0)|0|0;if(c<<24>>24==61){ea(b|0,81|0,4,0);c=2;break a}else if(c<<24>>24==62){ea(b|0,78|0,4,0);c=2;break a}else if(c<<24>>24==60){ea(b|0,87|0,4,0);c=2;break a}else{ea(b|0,82|0,4,0);c=1;break a}}case 44:{ea(b|0,26|0,4,0);c=1;break}case 124:if((da(a+1>>0|0,1,0,0)|0|0)==124){ea(b|0,94|0,4,0);c=2;break a}else{ea(b|0,86|0,4,0);c=1;break a}case 91:{c=1;while(1){d=da(a+c>>0|0,1,0,0)|0|0;if(!(d<<24>>24)){d=d&255;break}c=c+1|0;if(d<<24>>24==93){d=93;break}}ea(b|0,((d|0)==93?27:150)|0,4,0);break}case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:{g=51;break}case 59:{ea(b|0,1|0,4,0);c=1;break}case 43:{ea(b|0,89|0,4,0);c=1;break}case 13:case 12:case 10:case 9:case 32:{c=1;while(1)if(!((da(10368+(da(a+c>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0)&1))break;else c=c+1|0;ea(b|0,151|0,4,0);break}case 88:case 120:{if((da(a+1>>0|0,1,0,0)|0|0)==39){ea(b|0,134|0,4,0);c=2;while(1){d=da(a+c>>0|0,1,0,0)|0|0;if(!((da(10368+(d&255)>>0|0,1,0,0)|0)&8))break;else c=c+1|0}if(d<<24>>24==39&(c&1|0)==0)d=1;else{ea(b|0,150|0,4,0);while(1){d=da(a+c>>0|0,1,0,0)|0|0;if(d<<24>>24==39|d<<24>>24==0)break;c=c+1|0}d=d<<24>>24!=0}c=(d&1)+c|0}else g=98;break}case 63:{ea(b|0,135|0,4,0);c=1;while(1)if(((da(a+c>>0|0,1,0,1)|0|0)+-48|0)>>>0<10)c=c+1|0;else break;break}case 58:case 35:case 64:case 36:{ea(b|0,135|0,4,0);d=da(a+1>>0|0,1,0,0)|0|0;if(d<<24>>24){c=1;f=0;while(1){if(!((da(10368+(d&255)>>0|0,1,0,0)|0)&70)){if(d<<24>>24==40&(f|0)>0){d=f;g=78;break}if(d<<24>>24!=58){d=f;break}d=c+1|0;if((da(a+d>>0|0,1,0,0)|0|0)==58)c=d;else{d=f;break}}else f=f+1|0;c=c+1|0;d=da(a+c>>0|0,1,0,0)|0|0;if(!(d<<24>>24)){d=f;break}}do if((g|0)==78){e=c;while(1){c=e+1|0;f=da(a+c>>0|0,1,0,0)|0|0;if(!(f<<24>>24))break;if(f<<24>>24!=41?((da(10368+(f&255)>>0|0,1,0,0)|0)&1)==0:0)e=c;else{g=81;break}}if((g|0)==81)if(f<<24>>24==41){c=e+2|0;break}ea(b|0,150|0,4,0)}while(0);if(d)break a}else c=1;ea(b|0,150|0,4,0);break}case 40:{ea(b|0,22|0,4,0);c=1;break}case 41:{ea(b|0,23|0,4,0);c=1;break}default:g=98}while(0);c:do if((g|0)==51){ea(b|0,132|0,4,0);c=da(a>>0|0,1,0,0)|0|0;if(c<<24>>24==48){d=da(a+1>>0|0,1,0,0)|0|0;if(d<<24>>24==88|d<<24>>24==120)if(!((da(10368+(da(a+2>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0)&8))e=0;else{c=3;while(1)if(!((da(10368+(da(a+c>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0)&8))break c;else c=c+1|0}else{c=48;e=0}}else e=0;while(1){d=e+1|0;if(((c&255)+-48|0)>>>0>=10){d=e;break}c=da(a+d>>0|0,1,0,0)|0|0;e=d}if(c<<24>>24==46){c=d;do{c=c+1|0;d=a+c|0}while(((da(d>>0|0,1,0,1)|0|0)+-48|0)>>>0<10);ea(b|0,133|0,4,0);e=da(d>>0|0,1,0,0)|0|0;f=c}else{e=c;f=d}do if(e<<24>>24==69|e<<24>>24==101){d=da(a+(f+1)>>0|0,1,0,0)|0|0;if(((d&255)+-48|0)>>>0>=10){if(!(d<<24>>24==45|d<<24>>24==43)){d=e;c=f;break}c=f+2|0;if(((da(a+c>>0|0,1,0,1)|0|0)+-48|0)>>>0>=10){d=e;c=f;break}}else c=f+2|0;while(1){d=a+c|0;if(((da(d>>0|0,1,0,1)|0|0)+-48|0)>>>0<10)c=c+1|0;else break}ea(b|0,133|0,4,0);d=da(d>>0|0,1,0,0)|0|0}else{d=e;c=f}while(0);if((da(10368+(d&255)>>0|0,1,0,0)|0)&70)do{ea(b|0,150|0,4,0);c=c+1|0}while(((da(10368+(da(a+c>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0)&70)!=0)}else if((g|0)==98){if(!((da(10368+d>>0|0,1,0,0)|0)&70)){ea(b|0,150|0,4,0);c=1;break}else c=1;while(1)if(!((da(10368+(da(a+c>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0)&70))break;else c=c+1|0;ea(b|0,ei(a,c)|0|0,4,0)}while(0);return c|0}function Cn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=da(a>>0|0,1,0,0)|0|0;if(d<<24>>24==48){d=da(a+1>>0|0,1,0,0)|0|0;if(d<<24>>24==88|d<<24>>24==120?(e=a+2|0,c=da(e>>0|0,1,0,0)|0|0,((da(10368+(c&255)>>0|0,1,0,0)|0)&8)!=0):0){while(1){d=e+1|0;if(c<<24>>24!=48)break;e=d;c=da(d>>0|0,1,0,0)|0|0}if(!((da(10368+(c&255)>>0|0,1,0,0)|0)&8)){c=0;d=0}else{f=c;a=0;d=0;do{c=f<<24>>24;d=(0-(c>>>6&1)&9)+c&15|d<<4;a=a+1|0;f=da(e+a>>0|0,1,0,0)|0|0;c=((da(10368+(f&255)>>0|0,1,0,0)|0)&8)==0}while((a|0)<8&(c^1));c=c^1}if((d|0)<0|c)c=0;else{ea(b|0,d|0,4,0);c=1}}else{g=0;h=13}}else if(d<<24>>24==43){a=a+1|0;g=0;h=13}else if(d<<24>>24==45){a=a+1|0;g=1;h=13}else{g=0;h=13}a:do if((h|0)==13){c=0;d=0;f=0;while(1){e=(da(a+f>>0|0,1,0,0)|0|0)+-48|0;if(e>>>0>=10)break;d=rw(c|0,d|0,10,0)|0;c=iw(e|0,((e|0)<0)<<31>>31|0,d|0,C|0)|0;f=f+1|0;if((f|0)>=11){c=0;break a}else d=C}e=cw(c|0,d|0,g|0,0)|0;a=C;if((a|0)>0|(a|0)==0&e>>>0>2147483647)c=0;else{if(g)c=cw(0,0,c|0,d|0)|0;ea(b|0,c|0,4,0);c=1}}while(0);return c|0}function Dn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();f=e;ea(f|0,d|0,4,0);rg(a,b,c,f);i=e;return}function En(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+16|0;if((i|0)>=(j|0))ba();y=A;w=A+4|0;ea(w|0,0|0,4,0);z=lh(a,536,0)|0;a:do if(z){ew(z|0,0,536)|0;ea(z+476|0,e|0,4,0);n=a+20|0;e=da(n|0,4,0,0)|0|0;b:do if((e|0)>0){o=a+16|0;l=0;while(1){m=da((da(o|0,4,0,0)|0|0)+(l<<4)+4|0,4,0,0)|0|0;if(m){ea((da(m+4|0,4,0,0)|0|0)+4|0,da(m|0,4,0,0)|0|0,4,0);h=al(m,1,1)|0;if(h)break;e=da(n|0,4,0,0)|0|0}l=l+1|0;if((l|0)>=(e|0))break b}ea(y|0,da((da(o|0,4,0,0)|0|0)+(l<<4)|0,4,0,0)|0|0,4,0);tg(a,h,40984,y);l=z;break a}while(0);ql(a);ea(z|0,a|0,4,0);ea(z+424|0,0|0,4,0);do if((c|0)>-1){if((c|0)!=0?(da(b+(c+-1)>>0|0,1,0,0)|0|0)==0:0){x=21;break}if((da(a+92|0,4,0,0)|0|0)<(c|0)){tg(a,18,41016,y);if(!a){l=z;h=18;break a}if(!(da(a+65>>0|0,1,0,0)|0)){l=z;h=(da(a+56|0,4,0,0)|0)&18;break a}else{Pl(a);l=z;h=7;break a}}else{if((b|0)!=0?(k=iw(c|0,((c|0)<0)<<31>>31|0,1,0)|0,k=lh(a,k,C)|0,(k|0)!=0):0){jw(k|0,b|0,c|0)|0;ea(k+c>>0|0,0|0,1,0);Kh(z,k,w)|0;lg(a,k);h=z+480|0;ea(h|0,b+((da(h|0,4,0,0)|0|0)-k)|0,4,0);break}ea(z+480|0,b+c|0,4,0);break}}else x=21;while(0);if((x|0)==21)Kh(z,b,w)|0;o=a+65|0;e=z+12|0;if(!(da(o>>0|0,1,0,0)|0)){l=z+12|0;if((da(e|0,4,0,0)|0|0)==101)ea(l|0,0|0,4,0)}else{ea(e|0,7|0,4,0);l=z+12|0}c:do if((da(z+17>>0|0,1,0,0)|0|0)!=0?(p=da(z|0,4,0,0)|0|0,q=p+20|0,(da(q|0,4,0,0)|0|0)>0):0){k=p+16|0;n=0;while(1){e=da(k|0,4,0,0)|0|0;h=da(e+(n<<4)+4|0,4,0,0)|0|0;if(h){if(!(da(h+8>>0|0,1,0,0)|0)){e=xg(h,0)|0;if((e|0)==7|(e|0)==3082)break;else if(e)break c;e=da(k|0,4,0,0)|0|0;m=1}else m=0;c=da(h+4|0,4,0,0)|0|0;ea(c+4|0,da(h|0,4,0,0)|0|0,4,0);c=da((da(c+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;if(((da(c+41>>0|0,1,0,1)|0)<<16|(da(c+40>>0|0,1,0,1)|0)<<24|(da(c+42>>0|0,1,0,1)|0)<<8|(da(c+43>>0|0,1,0,1)|0)|0)!=(da(da(e+(n<<4)+12|0,4,0,0)|0|0,4,0,0)|0|0)){um(p,n);ea(l|0,17|0,4,0)}if(m)tn(h)|0}n=n+1|0;if((n|0)>=(da(q|0,4,0,0)|0|0))break c}ea(p+65>>0|0,1|0,1,0)}while(0);if(da(o>>0|0,1,0,0)|0)ea(l|0,7|0,4,0);if(g)ea(g|0,da(z+480|0,4,0,0)|0|0,4,0);h=da(l|0,4,0,0)|0|0;m=(h|0)==0;do if(m?(s=z+8|0,r=da(s|0,4,0,0)|0|0,(r|0)!=0):0){l=da(z+450>>0|0,1,0,0)|0|0;if(l<<24>>24==2){hq(r,4);k=8;e=12}else if(!(l<<24>>24))break;else{hq(r,8);k=0;e=8}l=k;do{iq(da(s|0,4,0,0)|0|0,l-k|0,0,da(41040+(l<<2)|0,4,0,0)|0|0,0);l=l+1|0}while((l|0)<(e|0))}while(0);k=z+8|0;if((da(a+145>>0|0,1,0,0)|0|0)==0?(v=da(k|0,4,0,0)|0|0,t=(da(z+480|0,4,0,0)|0|0)-b|0,(v|0)!=0):0){if((b|0)!=0?(s=da(v|0,4,0,0)|0|0,u=iw(t|0,((t|0)<0)<<31>>31|0,1,0)|0,u=lh(s,u,C)|0,(u|0)!=0):0){jw(u|0,b|0,t|0)|0;ea(u+t>>0|0,0|0,1,0);l=u}else l=0;ea(v+168|0,l|0,4,0);v=v+88|0;ea(v|0,(da(v|0,2,0,0)|0)&-257|(d&65535)<<8&256|0,2,0)}l=da(k|0,4,0,0)|0|0;do if(!l)x=60;else{if(m?(da(o>>0|0,1,0,0)|0|0)==0:0){x=60;break}Mg(l)|0}while(0);if((x|0)==60)ea(f|0,l|0,4,0);k=da(w|0,4,0,0)|0|0;do if(!k){ea(a+52|0,h|0,4,0);k=da(a+236|0,4,0,0)|0|0;if(k){l=k+8|0;if(!((da(l|0,2,0,0)|0)&9312)){ea(l|0,1|0,2,0);break}else{ug(k);break}}}else{ea(y|0,k|0,4,0);tg(a,h,10344,y);lg(a,k)}while(0);k=z+528|0;l=da(k|0,4,0,0)|0|0;if(!l)l=z;else{do{ea(k|0,da(l+4|0,4,0,0)|0|0,4,0);lg(a,l);l=da(k|0,4,0,0)|0|0}while((l|0)!=0);l=z}}else{l=0;h=7}while(0);Bh(l);lg(a,z);y=Ng(a,h)|0;i=A;return y|0}function Fn(a){a=a|0;var b=0,c=0;c=da(a|0,4,0,0)|0|0;if((da(c+145>>0|0,1,0,0)|0|0)==0?(b=Yh(c,a+4|0)|0,(b|0)!=0):0){ea(a+12|0,b|0,4,0);c=a+64|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0)}else b=0;return b|0}function Gn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=da(a+24|0,4,0,0)|0|0;f=d+84|0;b=da(f|0,4,0,0)|0|0;if(!b){b=1020;c=0}else{b=b*40|0;c=0}e=a+4|0;a=qo(da(d|0,4,0,0)|0|0,da(e|0,4,0,0)|0|0,b,c)|0;c=(a|0)!=0;if(c){b=da(d|0,4,0,0)|0|0;do if(!b)b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0;else{if((da(b+276|0,4,0,0)|0|0)>>>0<=a>>>0?(da(b+280|0,4,0,0)|0|0)>>>0>a>>>0:0){b=da(b+248|0,2,0,1)|0|0;break}b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0}while(0);ea(f|0,(b>>>0)/20|0|0,4,0);ea(e|0,a|0,4,0)}return (c?0:7)|0}function Hn(a,b,c){a=a|0;b=b|0;c=c|0;a:do if(c)switch(b|0){case -5:{if(!((da(c+2|0,2,0,0)|0)&16))break a;lg(a,c);break a}case -8:{if(!(da(a+520|0,4,0,0)|0)){Lh(c);break a}if(da(c+24|0,4,0,0)|0)lg(a,da(c+20|0,4,0,0)|0|0);lg(a,c);break a}case -15:case -1:case -13:case -12:{lg(a,c);break a}case -11:{if(da(a+520|0,4,0,0)|0)break a;Vc(c);break a}case -10:{if(da(a+520|0,4,0,0)|0)break a;zn(c);break a}case -6:{if(da(a+520|0,4,0,0)|0)break a;a=(da(c|0,4,0,0)|0|0)+-1|0;ea(c|0,a|0,4,0);if(a)break a;Vc(c);break a}default:break a}while(0);return}function In(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;c=da(b|0,4,0,0)|0|0;l=da(a+24|0,4,0,0)|0|0;m=l+112|0;g=da(m|0,4,0,0)|0|0;j=a+88|0;ea(j|0,(da(j|0,2,0,0)|0)&-193|64|0,2,0);d=da(a+32|0,4,0,0)|0|0;a:do if((d|0)>0){f=da(a+4|0,4,0,0)|0|0;while(1){d=d+-1|0;e=da(f>>0|0,1,0,1)|0|0;switch(e|0){case 12:case 13:case 11:{ea(j|0,(da(j|0,2,0,0)|0)&-193|128|0,2,0);break}case 15:{n=da(f+8|0,4,0,0)|0|0;c=(n|0)>(c|0)?n:c;break}case 4:{if(!(da(f+8|0,4,0,0)|0))k=7;else{ea(j|0,(da(j|0,2,0,0)|0)&-65|0,2,0);k=7}break}case 6:case 8:{ea(f+16|0,77|0,4,0);ea(f+1>>0|0,-19|0,1,0);break}case 14:{n=da(f+-16|0,4,0,0)|0|0;c=(n|0)>(c|0)?n:c;break}case 10:case 1:{n=da(f+3>>0|0,1,0,1)|0|0;c=(n|0)>(c|0)?n:c;break}case 2:case 3:{k=7;break}case 5:case 7:case 9:{ea(f+16|0,76|0,4,0);ea(f+1>>0|0,-19|0,1,0);break}default:{}}if((k|0)==7){k=0;ea(j|0,da(j|0,2,0,0)|0|128|0,2,0)}e=da(34168+e>>0|0,1,0,0)|0|0;ea(f+2>>0|0,e|0,1,0);if((e&1)!=0?(h=f+8|0,i=da(h|0,4,0,0)|0|0,(i|0)<0):0)ea(h|0,da(g+(~i<<2)|0,4,0,0)|0|0,4,0);if((d|0)<=0)break a;else f=f+20|0}}while(0);lg(da(a|0,4,0,0)|0|0,da(m|0,4,0,0)|0|0);ea(m|0,0|0,4,0);ea(l+108|0,0|0,4,0);ea(b|0,c|0,4,0);return}function Jn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;c=a+73|0;if((da(c>>0|0,1,0,0)|0|0)!=4){ea(c>>0|0,0|0,1,0);d=a+56|0;b=a+48|0;b=Fp(a,da(d|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0,0,e)|0;if(!b){Vc(da(d|0,4,0,0)|0|0);ea(d|0,0|0,4,0);d=a+68|0;b=da(d|0,4,0,0)|0|(da(e|0,4,0,0)|0);ea(d|0,b|0,4,0);if((b|0)!=0?(da(c>>0|0,1,0,0)|0|0)==1:0){ea(c>>0|0,2|0,1,0);b=0}else b=0}}else b=da(a+68|0,4,0,0)|0|0;i=f;return b|0}function Kn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a+8|0,4,0,0)|0|0;a:do if(!a)a=0;else{d=(b|0)==0;while(1){if((a|0)!=(c|0)){if(d)break;if((da(a+60|0,4,0,0)|0|0)==(b|0))break}a=da(a+8|0,4,0,0)|0|0;if(!a){a=0;break a}}a=El(a,b,c)|0}while(0);return a|0}function Ln(a){a=a|0;var b=0,c=0,d=0,e=0;c=da(a|0,4,0,0)|0|0;d=c+1|0;ea(a|0,d|0,4,0);e=da(c>>0|0,1,0,0)|0|0;b=e&255;if((e&255)<=191)return b|0;b=da(15360+(b+-192)>>0|0,1,0,1)|0|0;if(((da(d>>0|0,1,0,0)|0)&-64)<<24>>24==-128)while(1){c=c+2|0;ea(a|0,c|0,4,0);b=(da(d>>0|0,1,0,1)|0|0)&63|b<<6;if(((da(c>>0|0,1,0,0)|0)&-64)<<24>>24==-128){e=d;d=c;c=e}else break}return (b>>>0<128|(b&-2048|0)==55296|(b&-2|0)==65534?65533:b)|0}function Mn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if((b|0)>-1)f=a+b|0;else f=-1;b=da(a>>0|0,1,0,0)|0|0;if(b<<24>>24!=0&f>>>0>a>>>0){c=b;b=0;do{e=a+1|0;if((c&255)>191){d=a;a=e;while(1){c=da(a>>0|0,1,0,0)|0|0;if((c&-64)<<24>>24==-128){c=a;a=d+2|0;d=c}else break}}else{c=da(e>>0|0,1,0,0)|0|0;a=e}b=b+1|0}while(c<<24>>24!=0&a>>>0<f>>>0)}else b=0;return b|0}function Nn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+48|0;if((i|0)>=(j|0))ba();p=t+32|0;q=t+16|0;r=t;e=da(a|0,4,0,0)|0|0;if((e|0)<0){ea(a|0,0|0,4,0);ea(a+4|0,-1|0,4,0);ea(a+12|0,0|0,2,0);ea(a+14>>0|0,0|0,1,0);e=0}l=c;m=da(l+4|0,4,0,0)|0|0;k=r;ea(k|0,da(l|0,4,0,0)|0|0,4,0);ea(k+4|0,m|0,4,0);m=a+8|0;ea(m|0,d|0,4,0);k=b&255;l=(b|0)==254;do{h=da(a+(e<<4)+12|0,2,0,0)|0|0;d=h&65535;c=37184+(d<<1)|0;a:do if((h&65535)>429)s=6;else{h=k;while(1){g=da(c|0,2,0,0)|0|0;f=g<<16>>16;if(g<<16>>16==-86){s=6;break a}g=h&255;e=f+g|0;if(e>>>0<=1496?(da(39336+e>>0|0,1,0,0)|0|0)==h<<24>>24:0){s=16;break}if(!(h<<24>>24))break;if((h&255)>=70){n=f;s=12;break}h=da(40840+g>>0|0,1,0,0)|0|0;if(!(h<<24>>24)){n=f;s=12;break}}if((s|0)==16){s=0;e=da(22184+(e<<1)|0,2,0,1)|0|0;break}if(((s|0)==12?(s=0,o=n+70|0,(o|0)>-1):0)?(da(39336+o>>0|0,1,0,0)|0|0)==70:0){e=da(22184+(o<<1)|0,2,0,1)|0|0;break}e=da(38048+(d<<1)|0,2,0,1)|0|0}while(0);if((s|0)==6){s=0;e=da(38048+(d<<1)|0,2,0,1)|0|0}if(e>>>0<642){s=18;break}if(e>>>0>=969){s=20;break}lq(a,e+-642|0);if(l)break;e=da(a|0,4,0,0)|0|0}while((e|0)>-1);if((s|0)==18){jq(a,e,b,r);n=a+4|0;ea(n|0,(da(n|0,4,0,0)|0|0)+-1|0,4,0)}else if((s|0)==20){ea(q+0|0,da(r+0|0,4,0,0)|0|0,4,0);ea(q+4|0,da(r+4|0,4,0,0)|0|0,4,0);ea(q+8|0,da(r+8|0,4,0,0)|0|0,4,0);n=da(m|0,4,0,0)|0|0;ea(p|0,q|0,4,0);sh(n,20432,p);ea(m|0,n|0,4,0);kq(a,k,r)}i=t;return}function On(a){a=a|0;var b=0;b=da(a|0,4,0,0)|0|0;if((b|0)>=0){kq(a,da(a+(b<<4)+14>>0|0,1,0,0)|0|0,a+(b<<4)+16|0);ea(a|0,(da(a|0,4,0,0)|0|0)+-1|0,4,0)}return}function Pn(a,b){a=a|0;b=b|0;var c=0;if(b){if((da(b|0,4,0,0)|0|0)>0){c=0;do{Mk(a,da(b+(c<<4)+12|0,4,0,0)|0|0);Lk(a,da(b+(c<<4)+16|0,4,0,0)|0|0,1);lg(a,da(b+(c<<4)+8|0,4,0,0)|0|0);c=c+1|0}while((c|0)<(da(b|0,4,0,0)|0|0))}lg(a,b)}return}function Qn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=a+328|0;c=da(g|0,4,0,0)|0|0;if(c){h=a+304|0;if((da(h|0,4,0,0)|0|0)>0){e=0;do{d=da(c+(e<<2)|0,4,0,0)|0|0;c=da(d+8|0,4,0,0)|0|0;if((c|0)!=0?(f=da((da(c|0,4,0,0)|0|0)+b|0,4,0,0)|0|0,(f|0)!=0):0)kc[(fa(f|0,127|0)|0)&127](c)|0;ea(d+20|0,0|0,4,0);zn(d);e=e+1|0;c=da(g|0,4,0,0)|0|0}while((e|0)<(da(h|0,4,0,0)|0|0))}lg(a,c);ea(h|0,0|0,4,0);ea(g|0,0|0,4,0)}return}function Rn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;do if((b|0)==-2)if(!(da(a+12|0,4,0,0)|0))b=(da(a+16|0,4,0,0)|0|0)==0?0:6;else b=6;else{e=da(a|0,2,0,0)|0|0;d=e<<16>>16;if(!((d|0)!=(b|0)&e<<16>>16>-1)){e=(d|0)==(b|0)?4:1;d=c&255;b=da(a+2|0,2,0,1)|0|0;if((d|0)==(b&3|0)){b=e|2;break}else return ((b&d)>>>1&1)+e|0}else b=0}while(0);return b|0} 9 function St(a,b){a=a|0;b=b|0;var c=0;if(b&1)if(!(da(a+12|0,4,0,0)|0))b=(da(a+20|0,4,0,0)|0|0)==0?12:28;else b=28;else b=48;if(((da(a+4|0,4,0,0)|0)&1024|0)==0?(c=da(a+8|0,4,0,0)|0|0,(c|0)!=0):0){a=c;while(1)if(!(da(a>>0|0,1,0,0)|0))break;else a=a+1|0;b=(b|1)+(a-c&1073741823)|0}return b+7&-8|0}function Tt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=da(a|0,4,0,0)|0|0;g=d+20|0;c=da(g|0,4,0,0)|0|0;if((c|0)>0){f=0;e=da(d+16|0,4,0,0)|0|0;while(1){d=da((da(e+12|0,4,0,0)|0|0)+16|0,4,0,0)|0|0;if(d){c=d;do{Ut(a,da(c+8|0,4,0,0)|0|0,b);c=da(c|0,4,0,0)|0|0}while((c|0)!=0);c=da(g|0,4,0,0)|0|0}f=f+1|0;if((f|0)>=(c|0))break;else e=e+16|0}}return}function Ut(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=da(b+8|0,4,0,0)|0|0;if(d){k=(c|0)==0;i=b+68|0;j=a+408|0;do{a:do if(!k){g=d+32|0;b=da(d+48|0,2,0,0)|0|0;if(b<<16>>16){f=da(d+4|0,4,0,0)|0|0;b=b&65535;e=0;do{if((da(f+(e<<1)|0,2,0,0)|0|0)>-1?(cd(da((da(g|0,4,0,0)|0|0)+(e<<2)|0,4,0,0)|0|0,c)|0)==0:0){l=9;break a}e=e+1|0}while((e|0)<(b|0))}}else l=9;while(0);if((l|0)==9){l=0;b=da(a|0,4,0,0)|0|0;e=da(i|0,4,0,0)|0|0;b:do if(e){h=da(b+20|0,4,0,0)|0|0;if((h|0)>0){f=da(b+16|0,4,0,0)|0|0;g=0;while(1){b=g+1|0;if((da(f+(g<<4)+12|0,4,0,0)|0|0)==(e|0)){b=g;break b}if((b|0)<(h|0))g=b;else break}}else b=0}else b=-1e6;while(0);h=da(j|0,4,0,0)|0|0;zr(a,b);h=((h|0)==0?a:h)+328|0;ea(h|0,da(h|0,4,0,0)|0|1<<b|0,4,0);us(a,d,-1)}d=da(d+20|0,4,0,0)|0|0}while((d|0)!=0)}return}function Vt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=da((da((da(a|0,4,0,0)|0|0)+16|0,4,0,0)|0|0)+(b<<4)+12|0,4,0,0)|0|0;f=da(a+408|0,4,0,0)|0|0;zr(a,b);f=((f|0)==0?a:f)+328|0;ea(f|0,da(f|0,4,0,0)|0|1<<b|0,4,0);f=a+68|0;d=da(f|0,4,0,0)|0|0;ea(f|0,d+3|0,4,0);gv(a,b,d,0,0);e=(da(a+72|0,4,0,0)|0|0)+1|0;f=da(f|0,4,0,0)|0|0;c=da(c+16|0,4,0,0)|0|0;if(c)do{hv(a,da(c+8|0,4,0,0)|0|0,0,d,e,f);c=da(c|0,4,0,0)|0|0}while((c|0)!=0);iv(a,b);return}function Wt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=da(a|0,4,0,0)|0|0;g=da(b+68|0,4,0,0)|0|0;a:do if(g){h=da(d+20|0,4,0,0)|0|0;if((h|0)>0){e=da(d+16|0,4,0,0)|0|0;d=0;while(1){f=d+1|0;if((da(e+(d<<4)+12|0,4,0,0)|0|0)==(g|0)){f=d;break a}if((f|0)<(h|0))d=f;else break}}else f=0}else f=-1e6;while(0);d=da(a+408|0,4,0,0)|0|0;zr(a,f);d=((d|0)==0?a:d)+328|0;ea(d|0,da(d|0,4,0,0)|0|1<<f|0,4,0);d=a+68|0;e=da(d|0,4,0,0)|0|0;ea(d|0,e+3|0,4,0);if(!c)gv(a,f,e,da(b|0,4,0,0)|0|0,28544);else gv(a,f,e,da(c|0,4,0,0)|0|0,28536);hv(a,b,c,e,(da(a+72|0,4,0,0)|0|0)+1|0,da(d|0,4,0,0)|0|0);iv(a,f);return}function Xt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=((c|0)/2|0)+1|0;e=lh(a,e,((e|0)<0)<<31>>31)|0;a=c+-1|0;if(e){if((a|0)>0){d=0;do{f=da(b+d>>0|0,1,0,0)|0|0;g=da(b+(d|1)>>0|0,1,0,0)|0|0;ea(e+((d|0)/2|0)>>0|0,(0-(g>>>6&1)&9)+g&15|(0-(f>>>6&1)&9)+f<<4|0,1,0);d=d+2|0}while((d|0)<(a|0));a=(c&-2|0)/2|0}else a=0;ea(e+a>>0|0,0|0,1,0)}return e|0}function Yt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();f=k+8|0;h=k;g=da(a+8|0,4,0,0)|0|0;e=b+8|0;do if(!((da(b+4|0,4,0,0)|0)&1024)){e=da(e|0,4,0,0)|0|0;b=ii(e,h)|0;if((b|0)!=0?!((b|0)==2&(c|0)!=0):0)if(!(Ec(e,29144,2)|0)){ea(f|0,e|0,4,0);sh(a,29152,f);break}else{Zt(g,e,c,d);break}if(c){if((b|0)==2){b=0;e=-2147483648}else{b=h;b=cw(0,0,da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0)|0;e=C}c=h;ea(c|0,b|0,4,0);ea(c+4|0,e|0,4,0)}b=lh(da(g|0,4,0,0)|0|0,8,0)|0;if(b){e=h;a=da(e|0,4,0,0)|0|0;e=da(e+4|0,4,0,0)|0|0;c=b;f=c;ea(f>>0|0,a|0,1,0);ea(f+1>>0|0,a>>8|0,1,0);ea(f+2>>0|0,a>>16|0,1,0);ea(f+3>>0|0,a>>24|0,1,0);c=c+4|0;ea(c>>0|0,e|0,1,0);ea(c+1>>0|0,e>>8|0,1,0);ea(c+2>>0|0,e>>16|0,1,0);ea(c+3>>0|0,e>>24|0,1,0)}wh(g,vh(g,26,0,d,0)|0,b,-13)}else{b=da(e|0,4,0,0)|0|0;vh(g,25,(c|0)==0?b:0-b|0,d,0)|0}while(0);i=k;return}function Zt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;if(b){e=b;while(1)if(!(da(e>>0|0,1,0,0)|0))break;else e=e+1|0;Sl(b,f,e-b&1073741823,1)|0;if(c)ea(f|0,+-+(+da(f|0,8,1,0)),8,1);e=lh(da(a|0,4,0,0)|0|0,8,0)|0;if(e){c=f;f=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;b=e;h=b;ea(h>>0|0,f|0,1,0);ea(h+1>>0|0,f>>8|0,1,0);ea(h+2>>0|0,f>>16|0,1,0);ea(h+3>>0|0,f>>24|0,1,0);b=b+4|0;ea(b>>0|0,c|0,1,0);ea(b+1>>0|0,c>>8|0,1,0);ea(b+2>>0|0,c>>16|0,1,0);ea(b+3>>0|0,c>>24|0,1,0)}wh(a,vh(a,133,0,d,0)|0,e,-12)}i=g;return}function _t(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+32|0;if((i|0)>=(j|0))ba();e=k;a:do if(!b)g=0;else while(1){d=da(b+4|0,4,0,0)|0|0;if(!(d&4096)){g=b;break a}if(!(d&262144))b=b+12|0;else b=da((da(b+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;b=da(b|0,4,0,0)|0|0;if(!b){g=0;break}}while(0);b:do if(((da(a+23>>0|0,1,0,0)|0|0)!=0?(da(g>>0|0,1,0,0)|0|0)!=-97:0)?(ea(e+0|0,0|0,4,0),ea(e+4|0,0|0,4,0),ea(e+8|0,0|0,4,0),ea(e+12|0,0|0,4,0),ea(e+16|0,0|0,4,0),ea(e+20|0,0|0,4,0),d=e+20|0,ea(d>>0|0,2|0,1,0),ea(e|0,78|0,4,0),ea(e+4|0,79|0,4,0),ea(e+24|0,0|0,4,0),qs(e,g)|0,(da(d>>0|0,1,0,0)|0|0)!=0):0){d=da(a+316|0,4,0,0)|0|0;ea(c|0,0|0,4,0);c:do if((d|0)!=0?(f=da(d|0,4,0,0)|0|0,(f|0)>0):0){b=f;d=da(d+4|0,4,0,0)|0|0;while(1){if(((da(d+13>>0|0,1,0,0)|0)&4)!=0?(Bu(da(d|0,4,0,0)|0|0,g,-1)|0)==0:0)break;b=b+-1|0;if((b|0)<=0)break c;else d=d+20|0}d=da(d+16|0,4,0,0)|0|0;break b}while(0);b=a+72|0;d=(da(b|0,4,0,0)|0|0)+1|0;ea(b|0,d|0,4,0);Ft(a,g,d,1)}else h=18;while(0);do if((h|0)==18){b=a+19|0;d=da(b>>0|0,1,0,0)|0|0;if(!(d<<24>>24)){b=a+72|0;d=(da(b|0,4,0,0)|0|0)+1|0;ea(b|0,d|0,4,0)}else{d=d+-1<<24>>24;ea(b>>0|0,d|0,1,0);d=da(a+((d&255)<<2)+24|0,4,0,0)|0|0}b=hs(a,g,d)|0;if((b|0)==(d|0)){ea(c|0,d|0,4,0);break}else{Zr(a,d);ea(c|0,0|0,4,0);d=b;break}}while(0);i=k;return d|0}function $t(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0;j=Nu(a,b,c)|0;i=Au(b,jv(c)|0)|0;c=a+8|0;b=da(c|0,4,0,0)|0|0;wh(b,vh(b,d,f,g,e)|0,j,-4);c=da(c|0,4,0,0)|0|0;b=da(c+4|0,4,0,0)|0|0;if(b)ea(b+(((da(c+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,i&255|h|0,1,0);return}function au(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=a+100|0;ea(b|0,(da(b|0,4,0,0)|0|0)+-1|0,4,0);e=a+19|0;h=0;i=a+116|0;while(1){f=i+12|0;g=da(f|0,4,0,0)|0|0;if((g|0)!=0?(da(i+8|0,4,0,0)|0|0)>(da(b|0,4,0,0)|0|0):0){c=i+6|0;if(da(c>>0|0,1,0,0)|0){d=da(e>>0|0,1,0,0)|0|0;if((d&255)<8){ea(e>>0|0,d+1<<24>>24|0,1,0);ea(a+((d&255)<<2)+24|0,g|0,4,0)}ea(c>>0|0,0|0,1,0)}ea(f|0,0|0,4,0)}h=h+1|0;if((h|0)==10)break;else i=i+20|0}return}function bu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=da(a|0,4,0,0)|0|0;a:do if(b){b:while(1){d=da(b+4|0,4,0,0)|0|0;if(d&512){b=0;h=21;break a}switch(da(b>>0|0,1,0,0)|0|0){case 62:case -102:case -100:{h=8;break}case -97:{if((da(b+38>>0|0,1,0,0)|0|0)==95){h=7;break b}else h=8;break}case 95:{h=7;break b}case 38:case -98:{b=da(b+12|0,4,0,0)|0|0;break}default:h=11}if((h|0)==8){c=da(b+44|0,4,0,0)|0|0;if(!c)h=11;else{h=9;break}}c:do if((h|0)==11){h=0;if(!(d&256)){b=0;h=21;break a}c=da(b+12|0,4,0,0)|0|0;if((c|0)!=0?((da(c+4|0,4,0,0)|0)&256|0)!=0:0){b=c;continue b}e=da(b+16|0,4,0,0)|0|0;c=da(b+20|0,4,0,0)|0|0;if((c|0)!=0&(d&2048|0)==0?(f=da(c|0,4,0,0)|0|0,(f|0)>0):0){c=da(c+4|0,4,0,0)|0|0;d=0;while(1){b=da(c+(d*20|0)|0,4,0,0)|0|0;d=d+1|0;if((da(b+4|0,4,0,0)|0)&256)break c;if((d|0)>=(f|0)){b=e;break}}}else b=e}while(0);if(!b){b=0;h=21;break a}}if((h|0)==7)b=vs(a,da(g+62>>0|0,1,0,0)|0|0,0,da(b+8|0,4,0,0)|0|0)|0;else if((h|0)==9){b=da(b+32|0,2,0,0)|0|0;if(b<<16>>16<=-1){b=0;h=21;break}b=Xn(g,da(g+62>>0|0,1,0,0)|0|0,da((da(c+4|0,4,0,0)|0|0)+((b<<16>>16)*24|0)+16|0,4,0,0)|0|0,0)|0}if(b)if(!(vs(a,da((da(a|0,4,0,0)|0|0)+62>>0|0,1,0,0)|0|0,b,da(b|0,4,0,0)|0|0)|0))b=0;else h=21;else{b=0;h=21}}else{b=0;h=21}while(0);return b|0}function cu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n+4|0;l=n;ea(m|0,0|0,4,0);ea(l|0,0|0,4,0);if((((d|0)!=0?(da(d>>0|0,1,0,0)|0|0)==-102:0)?(g=da(d+44|0,4,0,0)|0|0,(g|0)!=0):0)?((da(g+44>>0|0,1,0,0)|0)&16)!=0:0){d=g+60|0;while(1){d=da(d|0,4,0,0)|0|0;if((da(d|0,4,0,0)|0|0)==(a|0))break;else d=d+24|0}f=da(d+8|0,4,0,0)|0|0;e=(da(f|0,4,0,0)|0|0)+72|0;if((da(e|0,4,0,0)|0|0)!=0?(k=b+24|0,h=jh(a,da(k|0,4,0,0)|0|0)|0,(h|0)!=0):0){g=da(h>>0|0,1,0,0)|0|0;if(g<<24>>24){d=h;do{ea(d>>0|0,da(9328+(g&255)>>0|0,1,0,0)|0|0|0,1,0);d=d+1|0;g=da(d>>0|0,1,0,0)|0|0}while(g<<24>>24!=0)}c=sc[(fa(da(e|0,4,0,0)|0|0,31|0)|0)&31](f,c,h,m,l)|0;lg(a,h);if(c){d=da(k|0,4,0,0)|0|0;if(!d){d=37;f=0}else{f=d;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;d=(f-d&1073741823)+37|0;f=0}e=lh(a,d,f)|0;if(e){ew(e|0,0,d|0)|0;g=e+0|0;f=b+0|0;d=g+36|0;do{ea(g|0,da(f|0,4,0,0)|0|0,4,0);g=g+4|0;f=f+4|0}while((g|0)<(d|0));g=e+36|0;ea(e+24|0,g|0,4,0);d=da(k|0,4,0,0)|0|0;if(!d)f=1;else{f=d;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;f=(f-d&1073741823)+1|0}jw(g|0,d|0,f|0)|0;ea(e+12|0,da(m|0,4,0,0)|0|0,4,0);ea(e+4|0,da(l|0,4,0,0)|0|0,4,0);l=e+2|0;ea(l|0,da(l|0,2,0,1)|0|16|0,2,0)}else e=b}else e=b}else e=b}else e=b;i=n;return e|0}function du(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+80|0;if((i|0)>=(j|0))ba();w=y;u=y+72|0;m=y+52|0;v=y+48|0;l=y+28|0;x=Nq(a)|0;a:do if(!x)e=0;else{e=a+100|0;ea(e|0,(da(e|0,4,0,0)|0|0)+1|0,4,0);e=b+4|0;if(!((da(e|0,4,0,0)|0)&32)){t=Nq(a)|0;s=a+80|0;f=da(s|0,4,0,0)|0|0;ea(s|0,f+1|0,4,0);f=vh(t,44,f,0,0)|0}else f=-1;if((da(a+450>>0|0,1,0,0)|0|0)==2){h=da(a|0,4,0,0)|0|0;s=(da(b>>0|0,1,0,0)|0|0)==75?29104:29112;t=da(a+468|0,4,0,0)|0|0;ea(w|0,((f|0)>-1?10360:29088)|0,4,0);ea(w+4|0,s|0,4,0);ea(w+8|0,t|0,4,0);h=th(h,29056,w)|0;wh(x,vh(x,157,da(a+464|0,4,0,0)|0|0,0,0)|0,h,-1);h=b}else h=b;k=da(h>>0|0,1,0,0)|0|0;b:do if(k<<24>>24==75){l=b+12|0;g=jv(da(l|0,4,0,0)|0|0)|0;ea(u>>0|0,g|0,1,0);r=a+68|0;s=da(r|0,4,0,0)|0|0;ea(r|0,s+1|0,4,0);r=b+28|0;ea(r|0,s|0,4,0);q=(d|0)!=0;s=vh(x,57,s,q&1^1,0)|0;if(q)t=0;else t=Qs(da(a|0,4,0,0)|0|0,1,1)|0;k=b+20|0;do if(!((da(e|0,4,0,0)|0)&2048)){p=da(k|0,4,0,0)|0|0;if(p){if(!(g<<24>>24))ea(u>>0|0,65|0,1,0);if(t)ea(t+20|0,bu(a,da(l|0,4,0,0)|0|0)|0|0,4,0);d=a+19|0;g=da(d>>0|0,1,0,0)|0|0;if(g<<24>>24){e=g+-1<<24>>24;ea(d>>0|0,e|0,1,0);h=da(a+((e&255)<<2)+24|0,4,0,0)|0|0;if(!(e<<24>>24))n=24;else{o=g+-2<<24>>24;ea(d>>0|0,o|0,1,0);o=da(a+((o&255)<<2)+24|0,4,0,0)|0|0}}else{n=a+72|0;h=(da(n|0,4,0,0)|0|0)+1|0;ea(n|0,h|0,4,0);n=24}if((n|0)==24){e=a+72|0;o=(da(e|0,4,0,0)|0|0)+1|0;ea(e|0,o|0,4,0)}if(q)vh(x,28,0,o,0)|0;k=da(p|0,4,0,0)|0|0;if((k|0)>0){g=w+20|0;e=w+4|0;n=w+24|0;m=x+32|0;d=da(p+4|0,4,0,0)|0|0;while(1){l=da(d|0,4,0,0)|0|0;do if((f|0)>-1){ea(w+0|0,0|0,4,0);ea(w+4|0,0|0,4,0);ea(w+8|0,0|0,4,0);ea(w+12|0,0|0,4,0);ea(w+16|0,0|0,4,0);ea(w+20|0,0|0,4,0);ea(g>>0|0,1|0,1,0);ea(w|0,78|0,4,0);ea(e|0,79|0,4,0);ea(n|0,0|0,4,0);qs(w,l)|0;if(da(g>>0|0,1,0,0)|0)break;yh(x,f);f=-1}while(0);do if(q)if(!(Ls(l,v)|0)){p=hs(a,l,h)|0;vh(x,38,p,(da(m|0,4,0,0)|0|0)+2|0,0)|0;vh(x,75,da(r|0,4,0,0)|0|0,o,p)|0;break}else{vh(x,84,da(r|0,4,0,0)|0|0,o,da(v|0,4,0,0)|0|0)|0;break}else{p=hs(a,l,h)|0;wh(x,vh(x,49,p,1,o)|0,u,1);ct(a,p,1);vh(x,110,da(r|0,4,0,0)|0|0,o,0)|0}while(0);k=k+-1|0;if((k|0)<=0)break;else d=d+20|0}}Zr(a,h);Zr(a,o)}if(!t){g=f;e=0;break b}}else{h=da(k|0,4,0,0)|0|0;w=da(r|0,4,0,0)|0|0;ea(m>>0|0,11|0,1,0);ea(m+4|0,w|0,4,0);ea(m+8|0,0|0,4,0);ea(m+12|0,0|0,4,0);ea(m+1>>0|0,g|0,1,0);ea(h+8|0,0|0,4,0);if(!(hr(a,h,m)|0)){ea(t+20|0,Nu(a,da(l|0,4,0,0)|0|0,da(da((da(h|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0)|0|0,4,0);break}if(!t){e=0;break a}a=(da(t|0,4,0,0)|0|0)+-1|0;ea(t|0,a|0,4,0);if(a){e=0;break a}Vc(t);e=0;break a}while(0);wh(x,s,t,-6);g=f;e=0}else{g=da(b+20|0,4,0,0)|0|0;h=a+72|0;e=(da(h|0,4,0,0)|0|0)+1|0;ea(h|0,e|0,4,0);ea(l>>0|0,0|0,1,0);h=l+4|0;ea(h|0,e|0,4,0);ea(l+1>>0|0,0|0,1,0);d=l+8|0;ea(d|0,0|0,4,0);ea(l+12|0,0|0,4,0);if(k<<24>>24==119){ea(l>>0|0,10|0,1,0);ea(d|0,e|0,4,0);vh(x,28,0,e,0)|0}else{ea(l>>0|0,3|0,1,0);vh(x,25,0,e,0)|0}w=g+60|0;Fk(da(a|0,4,0,0)|0|0,da(w|0,4,0,0)|0|0);ea(w|0,Yq(a,132,0,0,20624)|0|0,4,0);ea(g+8|0,0|0,4,0);if(hr(a,g,l)|0){e=0;break a}g=f;e=da(h|0,4,0,0)|0|0}while(0);if(c)kv(x,da(b+28|0,4,0,0)|0|0,c);if((g|0)>-1){f=da(x+32|0,4,0,0)|0|0;if(f>>>0>g>>>0)ea((da(x+4|0,4,0,0)|0|0)+(g*20|0)+8|0,f|0,4,0);ea((da(x+24|0,4,0,0)|0|0)+88|0,f+-1|0,4,0)}au(a)}while(0);i=y;return e|0}function eu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();h=v+4|0;s=v+8|0;q=v;ea(h|0,0|0,4,0);u=da(a+8|0,4,0,0)|0|0;e=(c|0)==(d|0);g=lv(a,b,3,e?0:h)|0;ea(s>>0|0,mv(b)|0|0,1,0);k=a+100|0;ea(k|0,(da(k|0,4,0,0)|0|0)+1|0,4,0);k=a+19|0;f=da(k>>0|0,1,0,0)|0|0;if(!(f<<24>>24)){o=a+72|0;t=(da(o|0,4,0,0)|0|0)+1|0;ea(o|0,t|0,4,0)}else{t=f+-1<<24>>24;ea(k>>0|0,t|0,1,0);t=da(a+((t&255)<<2)+24|0,4,0,0)|0|0}f=b+12|0;Qq(a,da(f|0,4,0,0)|0|0,t);do if((g|0)==5){o=da(b+20|0,4,0,0)|0|0;m=bu(a,da(f|0,4,0,0)|0|0)|0;p=ws(u)|0;n=(d|0)!=(c|0);if(n){f=da(k>>0|0,1,0,0)|0|0;if(!(f<<24>>24)){l=a+72|0;f=(da(l|0,4,0,0)|0|0)+1|0;ea(l|0,f|0,4,0)}else{f=f+-1<<24>>24;ea(k>>0|0,f|0,1,0);f=da(a+((f&255)<<2)+24|0,4,0,0)|0|0}vh(u,85,t,t,f)|0;l=f}else l=0;if((da(o|0,4,0,0)|0|0)>0){k=o+4|0;h=(l|0)==0;g=u+4|0;f=u+32|0;e=0;do{b=_t(a,da((da(k|0,4,0,0)|0|0)+(e*20|0)|0,4,0,0)|0|0,q)|0;if(!h?(Tu(da((da(k|0,4,0,0)|0|0)+(e*20|0)|0,4,0,0)|0|0)|0)!=0:0)vh(u,85,l,b,l)|0;if((e|0)<((da(o|0,4,0,0)|0|0)+-1|0)|n){wh(u,vh(u,79,t,p,b)|0,m,-4);b=da(g|0,4,0,0)|0|0;if(b)ea(b+(((da(f|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,da(s>>0|0,1,0,0)|0|0|0,1,0)}else{wh(u,vh(u,78,t,c,b)|0,m,-4);b=da(g|0,4,0,0)|0|0;if(b)ea(b+(((da(f|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,da(s>>0|0,1,0,1)|0|0|16|0,1,0)}Zr(a,da(q|0,4,0,0)|0|0);e=e+1|0}while((e|0)<(da(o|0,4,0,0)|0|0))}if(l){vh(u,76,l,d,0)|0;vh(u,16,0,c,0)|0}f=da(u+24|0,4,0,0)|0|0;e=~p;if((p|0)<0?(r=da(f+112|0,4,0,0)|0|0,(r|0)!=0):0)ea(r+(e<<2)|0,da(u+32|0,4,0,0)|0|0,4,0);ea(f+88|0,(da(u+32|0,4,0,0)|0|0)+-1|0,4,0);Zr(a,l)}else{do if(Tu(da(f|0,4,0,0)|0|0)|0){if(e){vh(u,76,t,c,0)|0;break}f=vh(u,77,t,0,0)|0;vh(u,108,da(b+28|0,4,0,0)|0|0,c,0)|0;vh(u,16,0,d,0)|0;e=da(u+32|0,4,0,0)|0|0;if(e>>>0>f>>>0)ea((da(u+4|0,4,0,0)|0|0)+(f*20|0)+8|0,e|0,4,0);ea((da(u+24|0,4,0,0)|0|0)+88|0,e+-1|0,4,0)}while(0);if((g|0)==1){vh(u,38,t,c,0)|0;vh(u,70,da(b+28|0,4,0,0)|0|0,c,t)|0;break}wh(u,vh(u,48,t,1,0)|0,s,1);e=da(b+28|0,4,0,0)|0|0;if(!(da(h|0,4,0,0)|0)){wh(u,vh(u,68,e,c,t)|0,1,-14);break}f=vh(u,69,e,0,t)|0;wh(u,f,1,-14);vh(u,76,da(h|0,4,0,0)|0|0,d,0)|0;vh(u,16,0,c,0)|0;e=da(u+32|0,4,0,0)|0|0;if(e>>>0>f>>>0)ea((da(u+4|0,4,0,0)|0|0)+(f*20|0)+8|0,e|0,4,0);ea((da(u+24|0,4,0,0)|0|0)+88|0,e+-1|0,4,0)}while(0);Zr(a,t);au(a);i=v;return}function fu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+48|0;if((i|0)>=(j|0))ba();v=w;t=w+28|0;c=da(a+24|0,4,0,0)|0|0;u=da(c|0,4,0,0)|0|0;r=b+4|0;f=da(r|0,4,0,0)|0|0;a:do if(!(f&4)){ea(r|0,f|4|0,4,0);switch(da(b>>0|0,1,0,1)|0|0){case 135:{d=c+28|0;c=da(d|0,2,0,0)|0|0;if(c&4){ea(v|0,27456|0,4,0);sh(u,27472,v);c=da(d|0,2,0,0)|0|0}if(c&16){ea(v|0,27456|0,4,0);sh(u,27512,v)}break}case 153:{q=b+20|0;n=da(q|0,4,0,0)|0|0;if(!n)e=0;else e=da(n|0,4,0,0)|0|0;f=da((da(u|0,4,0,0)|0|0)+62>>0|0,1,0,0)|0|0;s=c+28|0;if((da(s|0,2,0,0)|0)&16){ea(v|0,27200|0,4,0);sh(u,27512,v)}o=da(b+8|0,4,0,0)|0|0;if(!o)l=0;else{g=o;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;l=g-o&1073741823}d=Rh(da(u|0,4,0,0)|0|0,o,l,e,f,0)|0;do if(!d){if(Rh(da(u|0,4,0,0)|0|0,o,l,-2,f,0)|0){ea(v|0,l|0,4,0);ea(v+4|0,o|0,4,0);sh(u,27392,v);o=c+24|0;ea(o|0,(da(o|0,4,0,0)|0|0)+1|0,4,0);break}if(!(da((da(u|0,4,0,0)|0|0)+145>>0|0,1,0,0)|0)){ea(v|0,l|0,4,0);ea(v+4|0,o|0,4,0);sh(u,27368,v);o=c+24|0;ea(o|0,(da(o|0,4,0,0)|0|0)+1|0,4,0)}}else{k=(da(d+12|0,4,0,0)|0|0)==0;p=d+2|0;do if((da(p|0,2,0,0)|0)&1024){ea(r|0,da(r|0,4,0,0)|0|266240|0,4,0);if((e|0)!=2){ea(b+28|0,((da((da(d+24|0,4,0,0)|0)>>0|0,1,0,0)|0|0)==117?8388608:125829120)|0,4,0);break}g=da((da(n+4|0,4,0,0)|0|0)+20|0,4,0,0)|0|0;ea(v|0,+(-1.0),8,1);if((da(g>>0|0,1,0,0)|0|0)==-123){f=da(g+8|0,4,0,0)|0|0;if(!f)g=0;else{g=f;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-f&1073741823}Sl(f,v,g,1)|0;h=+(+da(v|0,8,1,0));if(!(h>1.0)){g=~~(h*134217728.0);ea(b+28|0,g|0,4,0);if((g|0)>=0)break}else m=22}else m=22;if((m|0)==22)ea(b+28|0,-1|0,4,0);sh(u,27216,v);m=c+24|0;ea(m|0,(da(m|0,4,0,0)|0|0)+1|0,4,0)}while(0);g=d+24|0;f=Rq(u,31,0,da(g|0,4,0,0)|0|0,0)|0;if(!f){if((da(p|0,2,0,0)|0)&2048)ea(r|0,da(r|0,4,0,0)|0|524288|0,4,0);if(!k)break;g=da(s|0,2,0,0)|0|0;if(!(g&1)){ea(v|0,l|0,4,0);ea(v+4|0,o|0,4,0);sh(u,27328,v);o=c+24|0;ea(o|0,(da(o|0,4,0,0)|0|0)+1|0,4,0);break}ea(s|0,g&65534|0,2,0);ku(a,n)|0;ea(b>>0|0,-101|0,1,0);f=b+38|0;ea(f>>0|0,0|0,1,0);b:do if(c){e=v+24|0;d=t+4|0;g=t+8|0;while(1){o=da(c+4|0,4,0,0)|0|0;ea(v+0|0,0|0,4,0);ea(v+4|0,0|0,4,0);ea(v+8|0,0|0,4,0);ea(v+12|0,0|0,4,0);ea(v+16|0,0|0,4,0);ea(v+20|0,0|0,4,0);ea(v|0,87|0,4,0);ea(e|0,t|0,4,0);ea(t|0,o|0,4,0);ea(d|0,0|0,4,0);ea(g|0,0|0,4,0);ku(v,da(q|0,4,0,0)|0|0)|0;if((da(d|0,4,0,0)|0|0)>0)break;if(!(da(g|0,4,0,0)|0))break;ea(f>>0|0,(da(f>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0);c=da(c+16|0,4,0,0)|0|0;if(!c)break b}o=c+28|0;ea(o|0,(da(p|0,2,0,1)|0)&4096|(da(o|0,2,0,1)|0)|2|0,2,0)}while(0);ea(s|0,da(s|0,2,0,1)|0|1|0,2,0);c=1;break a}else if((f|0)==1){ea(v|0,da(g|0,4,0,0)|0|0,4,0);sh(u,27288,v);o=c+24|0;ea(o|0,(da(o|0,4,0,0)|0|0)+1|0,4,0)}ea(b>>0|0,101|0,1,0);c=1;break a}while(0);ku(a,n)|0;c=1;break a}case 27:{c=nv(u,0,0,da(b+8|0,4,0,0)|0|0,c,b)|0;break a}case 122:{d=da(b+16|0,4,0,0)|0|0;if((da(d>>0|0,1,0,0)|0|0)==27){f=d;d=b;e=0}else{f=da(d+16|0,4,0,0)|0|0;e=da((da(b+12|0,4,0,0)|0|0)+8|0,4,0,0)|0|0}c=nv(u,e,da((da(d+12|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,da(f+8|0,4,0,0)|0|0,c,b)|0;break a}case 75:case 20:case 119:{if(f&2048){g=c+20|0;d=da(g|0,4,0,0)|0|0;e=c+28|0;f=da(e|0,2,0,0)|0|0;if(f&4){ea(v|0,27440|0,4,0);sh(u,27472,v);f=da(e|0,2,0,0)|0|0}if(f&16){ea(v|0,27440|0,4,0);sh(u,27512,v)}ju(a,da(b+20|0,4,0,0)|0|0)|0;if((d|0)!=(da(g|0,4,0,0)|0|0))ea(r|0,da(r|0,4,0,0)|0|32|0,4,0)}break}default:{}}if(!(da(u+64|0,4,0,0)|0))c=(da((da(u|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)!=0?2:0;else c=2}else c=1;while(0);i=w;return c|0}function gu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;I=i;i=i+80|0;if((i|0)>=(j|0))ba();H=I;F=I+64|0;A=I+32|0;g=da(b+6|0,2,0,0)|0|0;d=g&65535;a:do if(!(d&2)){z=da(a+24|0,4,0,0)|0|0;G=da(a+12|0,4,0,0)|0|0;a=da(G|0,4,0,0)|0|0;if(!(d&16)){Cs(G,b,z);if(da(G+64|0,4,0,0)|0){c=2;break}c=(da(a+65>>0|0,1,0,0)|0|0)!=0?2:1;break}B=b+52|0;c=(da(B|0,4,0,0)|0|0)!=0;C=(b|0)==0;b:do if(!C){d=A+28|0;k=A+4|0;w=A+16|0;x=A+8|0;s=a+65|0;r=G+492|0;q=(z|0)==0;p=H+4|0;o=H+12|0;n=H+24|0;m=G+64|0;t=b;c:while(1){u=t+6|0;ea(u|0,g&65535|2|0,2,0);ea(A+0|0,0|0,4,0);ea(A+4|0,0|0,4,0);ea(A+8|0,0|0,4,0);ea(A+12|0,0|0,4,0);ea(A+16|0,0|0,4,0);ea(A+20|0,0|0,4,0);ea(A+24|0,0|0,4,0);ea(A+28|0,0|0,4,0);ea(A|0,G|0,4,0);if(ks(A,da(t+60|0,4,0,0)|0|0)|0){c=2;break a}if(ks(A,da(t+64|0,4,0,0)|0|0)|0){c=2;break a}g=da(t+32|0,4,0,0)|0|0;if((da(u|0,2,0,0)|0)&8192){v=t+48|0;ea((da(g+28|0,4,0,0)|0|0)+48|0,da(v|0,4,0,0)|0|0,4,0);ea(v|0,0|0,4,0)}v=t+32|0;if((da(g|0,4,0,0)|0|0)>0){l=0;do{e=da(g+(l*72|0)+28|0,4,0,0)|0|0;if(e){a=da(r|0,4,0,0)|0|0;if(q)h=0;else{h=0;f=z;do{h=(da(f+20|0,4,0,0)|0|0)+h|0;f=da(f+16|0,4,0,0)|0|0}while((f|0)!=0)}f=da(g+(l*72|0)+16|0,4,0,0)|0|0;if(f)ea(r|0,f|0,4,0);ea(H+0|0,0|0,4,0);ea(H+4|0,0|0,4,0);ea(H+8|0,0|0,4,0);ea(H+12|0,0|0,4,0);ea(H+16|0,0|0,4,0);ea(H+20|0,0|0,4,0);ea(H|0,82|0,4,0);ea(p|0,83|0,4,0);ea(o|0,G|0,4,0);ea(n|0,z|0,4,0);ju(H,e)|0;ea(r|0,a|0,4,0);if(da(m|0,4,0,0)|0){c=2;break a}if(da(s>>0|0,1,0,0)|0){c=2;break a}if(!q){f=z;do{h=h-(da(f+20|0,4,0,0)|0|0)|0;f=da(f+16|0,4,0,0)|0|0}while((f|0)!=0)}g=g+(l*72|0)+45|0;ea(g>>0|0,(da(g>>0|0,1,0,0)|0)&-3|((h|0)!=0&1)<<1&255|0,1,0);g=da(v|0,4,0,0)|0|0}l=l+1|0}while((l|0)<(da(g|0,4,0,0)|0|0))}ea(d|0,1|0,2,0);ea(k|0,g|0,4,0);ea(w|0,z|0,4,0);h=da(t|0,4,0,0)|0|0;if((da(h|0,4,0,0)|0|0)>0){g=h+4|0;f=0;do{if(ks(A,da((da(g|0,4,0,0)|0|0)+(f*20|0)|0,4,0,0)|0|0)|0){c=2;break a}f=f+1|0}while((f|0)<(da(h|0,4,0,0)|0|0))}e=da(t+40|0,4,0,0)|0|0;g=(e|0)!=0;h=da(d|0,2,0,0)|0|0;if(!g?(y=h&65535,(y&2|0)==0):0)ea(d|0,y&65534|0,2,0);else ea(u|0,h&4096|(da(u|0,2,0,1)|0)|4|0,2,0);h=da(t+44|0,4,0,0)|0|0;if(!((h|0)==0|g)){D=32;break}ea(x|0,da(t|0,4,0,0)|0|0,4,0);if(ks(A,h)|0){c=2;break a}if(ks(A,da(t+36|0,4,0,0)|0|0)|0){c=2;break a}ea(w|0,0|0,4,0);ea(d|0,da(d|0,2,0,1)|0|1|0,2,0);if((da(u|0,2,0,0)|0)&8192){v=(da((da(v|0,4,0,0)|0|0)+28|0,4,0,0)|0|0)+48|0;ea(t+48|0,da(v|0,4,0,0)|0|0,4,0);ea(v|0,0|0,4,0)}if(!c?(pv(A,t,da(t+48|0,4,0,0)|0|0,26880)|0)!=0:0){c=2;break a}if(da(s>>0|0,1,0,0)|0){c=2;break a}do if(g){if(pv(A,t,e,26888)|0){c=2;break a}if(da(s>>0|0,1,0,0)|0){c=2;break a}f=da(e|0,4,0,0)|0|0;if((f|0)<=0)break;h=0;g=da(e+4|0,4,0,0)|0|0;while(1){if((da((da(g|0,4,0,0)|0|0)+4|0,4,0,0)|0)&2){D=46;break c}h=h+1|0;if((h|0)>=(f|0))break;else g=g+20|0}}while(0);f=da(t+52|0,4,0,0)|0|0;if(!f)break b;t=f;g=da(f+6|0,2,0,0)|0|0}if((D|0)==32){sh(G,26832,H);c=2;break a}else if((D|0)==46){sh(G,26896,H);c=2;break a}}while(0);if(c?(E=da(b+48|0,4,0,0)|0|0,(E|0)!=0):0){y=da(G|0,4,0,0)|0|0;d=da(E|0,4,0,0)|0|0;if((d|0)>(da(y+96|0,4,0,0)|0|0)){sh(G,26960,H);c=2;break}if((d|0)>0){a=E+4|0;c=0;do{d=(da(a|0,4,0,0)|0|0)+(c*20|0)+13|0;ea(d>>0|0,(da(d>>0|0,1,0,0)|0)&-2|0,1,0);c=c+1|0;d=da(E|0,4,0,0)|0|0}while((c|0)<(d|0))}ea(b+56|0,0|0,4,0);c=da(B|0,4,0,0)|0|0;if(!c)if(C)a=E+4|0;else D=60;else while(1){ea(c+56|0,b|0,4,0);b=da(c+52|0,4,0,0)|0|0;if(!b){b=c;D=60;break}else{x=c;c=b;b=x}}d:do if((D|0)==60){a=E+4|0;q=y+65|0;r=H+4|0;s=H+8|0;t=H+28|0;u=H+24|0;v=H+4|0;p=b;e:while(1){o=da(p|0,4,0,0)|0|0;if((d|0)<=0)break d;m=p+32|0;c=0;l=0;n=da(a|0,4,0,0)|0|0;while(1){ea(F|0,-1|0,4,0);k=n+13|0;do if(!((da(k>>0|0,1,0,0)|0)&1)){d=da(n|0,4,0,0)|0|0;f:do if(!d)d=0;else while(1){b=da(d+4|0,4,0,0)|0|0;if(!(b&4096))break f;if(!(b&262144))d=d+12|0;else d=da((da(d+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;d=da(d|0,4,0,0)|0|0;if(!d){d=0;break}}while(0);if(!(Ls(d,F)|0)){b=qv(o,d)|0;ea(F|0,b|0,4,0);if(!b){h=Lr(y,d,0,0)|0;if(!(da(q>>0|0,1,0,0)|0)){e=da(p|0,4,0,0)|0|0;ea(H+0|0,0|0,4,0);ea(H+4|0,0|0,4,0);ea(H+8|0,0|0,4,0);ea(H+12|0,0|0,4,0);ea(H+16|0,0|0,4,0);ea(H+20|0,0|0,4,0);ea(H+24|0,0|0,4,0);ea(H+28|0,0|0,4,0);ea(H|0,G|0,4,0);ea(r|0,da(m|0,4,0,0)|0|0,4,0);ea(s|0,e|0,4,0);ea(t|0,1|0,2,0);ea(u|0,0|0,4,0);b=(da(G|0,4,0,0)|0|0)+68|0;w=da(b>>0|0,1,0,0)|0|0;ea(b>>0|0,1|0,1,0);x=ks(H,h)|0;ea(b>>0|0,w|0,1,0);g:do if(!x){g=e+4|0;f=da(e|0,4,0,0)|0|0;e=0;while(1){if((e|0)>=(f|0)){b=0;break g}b=e+1|0;if((Bu(da((da(g|0,4,0,0)|0|0)+(e*20|0)|0,4,0,0)|0|0,h,-1)|0)<2)break;else e=b}}else b=0;while(0);ea(F|0,b|0,4,0)}else b=0;Fk(y,h)}if((b|0)<=0){b=1;break}}else{e=da(F|0,4,0,0)|0|0;b=da(o|0,4,0,0)|0|0;if((e|0)<1|(e|0)>(b|0))break e;else b=e}ea(H|0,0|0,4,0);ea(v|0,0|0,4,0);e=mr(y,132,H,0)|0;if(!e){c=2;break a}f=e+4|0;ea(f|0,da(f|0,4,0,0)|0|1024|0,4,0);ea(e+8|0,b|0,4,0);f=da(n|0,4,0,0)|0|0;if((f|0)==(d|0))ea(n|0,e|0,4,0);else ea(f+12|0,e|0,4,0);Fk(y,d);ea(n+16|0,b|0,2,0);ea(k>>0|0,da(k>>0|0,1,0,0)|0|1|0,1,0);b=l}else b=l;while(0);c=c+1|0;d=da(E|0,4,0,0)|0|0;if((c|0)>=(d|0))break;else{l=b;n=n+20|0}}p=da(p+56|0,4,0,0)|0|0;if(!((p|0)!=0&(b|0)!=0))break d}ea(H|0,c+1|0,4,0);ea(H+4|0,26880|0,4,0);ea(H+8|0,b|0,4,0);sh(G,27064,H);c=2;break a}while(0);b=0;while(1){if((b|0)>=(d|0)){c=1;break a}c=b+1|0;if(!((da((da(a|0,4,0,0)|0|0)+(b*20|0)+13>>0|0,1,0,0)|0)&1))break;else b=c}ea(H|0,c|0,4,0);sh(G,27e3,H);c=2}else c=1}else c=1;while(0);i=I;return c|0}function hu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();s=v;t=da(a|0,4,0,0)|0|0;a:do if(b){o=da(b|0,4,0,0)|0|0;a=o*24|0;e=lh(t,a,0)|0;if(e)ew(e|0,0,a|0)|0;ea(c|0,o|0,2,0);ea(d|0,e|0,4,0);if((o|0)>0){m=b+4|0;p=t+65|0;a=0;n=e;while(1){k=da(m|0,4,0,0)|0|0;b=da(k+(a*20|0)|0,4,0,0)|0|0;b:do if(!b)b=0;else while(1){f=da(b+4|0,4,0,0)|0|0;if(!(f&4096))break b;if(!(f&262144))b=b+12|0;else b=da((da(b+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;b=da(b|0,4,0,0)|0|0;if(!b){b=0;break}}while(0);f=da(k+(a*20|0)+4|0,4,0,0)|0|0;do if(!f){while(1){f=da(b>>0|0,1,0,0)|0|0;if(f<<24>>24==27){u=24;break}else if(f<<24>>24==-102){r=b;u=18;break}else if(f<<24>>24!=122)break;b=da(b+16|0,4,0,0)|0|0}if((u|0)==24){u=0;ea(s|0,da(b+8|0,4,0,0)|0|0,4,0);b=th(t,10344,s)|0;break}if((u|0)==18?(u=0,q=da(r+44|0,4,0,0)|0|0,(q|0)!=0):0){b=da(r+32|0,2,0,0)|0|0;if(b<<16>>16<0)b=da(q+36|0,2,0,0)|0|0;else b=b<<16>>16;if((b|0)>-1)b=da((da(q+4|0,4,0,0)|0|0)+(b*24|0)|0,4,0,0)|0|0;else b=20456;ea(s|0,b|0,4,0);b=th(t,10344,s)|0;break}ea(s|0,da(k+(a*20|0)+8|0,4,0,0)|0|0,4,0);b=th(t,10344,s)|0}else b=jh(t,f)|0;while(0);if(da(p>>0|0,1,0,0)|0)break;if(!b){h=0;b=0}else{f=b;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;h=f-b&1073741823}c:do if((a|0)>0){f=0;k=0;l=h;while(1){if(!(cd(da(e+(k*24|0)|0,4,0,0)|0|0,b)|0)){g=l;while(1){h=g+-1|0;if((h|0)<=1)break;if(((da(b+h>>0|0,1,0,1)|0|0)+-48|0)>>>0<10)g=h;else break}if((g|0)>0)g=(da(b+h>>0|0,1,0,0)|0|0)==58?h:l;else g=l;ea(b+g>>0|0,0|0,1,0);f=f+1|0;ea(s|0,b|0,4,0);ea(s+4|0,f|0,4,0);h=th(t,26824,s)|0;lg(t,b);if(!h){b=0;break c}else{k=-1;b=h}}else g=l;k=k+1|0;if((k|0)>=(a|0))break;else l=g}}while(0);ea(n|0,b|0,4,0);a=a+1|0;if((a|0)<(o|0))n=n+24|0;else{b=p;break a}}lg(t,b);b=p}else u=6}else{ea(c|0,0|0,2,0);ea(d|0,0|0,4,0);e=0;u=6}while(0);if((u|0)==6){b=t+65|0;a=0}if(da(b>>0|0,1,0,0)|0){if((a|0)>0){b=0;do{lg(t,da(e+(b*24|0)|0,4,0,0)|0|0);b=b+1|0}while((b|0)!=(a|0))}lg(t,e);ea(d|0,0|0,4,0);ea(c|0,0|0,2,0)}i=v;return}function iu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+32|0;if((i|0)>=(j|0))ba();m=n;l=da(a|0,4,0,0)|0|0;if(!(da(l+65>>0|0,1,0,0)|0)){ea(m+0|0,0|0,4,0);ea(m+4|0,0|0,4,0);ea(m+8|0,0|0,4,0);ea(m+12|0,0|0,4,0);ea(m+16|0,0|0,4,0);ea(m+20|0,0|0,4,0);ea(m+24|0,0|0,4,0);ea(m+28|0,0|0,4,0);ea(m+4|0,da(c+32|0,4,0,0)|0|0,4,0);g=da((da(c|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;f=b+38|0;if((da(f|0,2,0,0)|0|0)>0){c=0;d=0;h=0;k=da(b+4|0,4,0,0)|0|0;while(1){e=da(g+(h*20|0)|0,4,0,0)|0|0;o=k+22|0;ea(k+12|0,jh(l,xu(m,e,o)|0)|0|0,4,0);c=iw(da(o>>0|0,1,0,1)|0|0,0,c|0,d|0)|0;d=C;o=jv(e)|0;ea(k+21>>0|0,(o<<24>>24==0?65:o)|0,1,0);e=bu(a,e)|0;if(e)ea(k+16|0,jh(l,da(e|0,4,0,0)|0|0)|0|0,4,0);h=h+1|0;if((h|0)>=(da(f|0,2,0,0)|0|0))break;else k=k+24|0}d=hw(c|0,d|0,2)|0;c=C}else{d=0;c=0}ea(b+42|0,es(d,c)|0|0,2,0)}i=n;return}function ju(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;do if(!b)c=0;else{f=a+4|0;d=da(f|0,4,0,0)|0|0;if((d|0)==0?(da(a+8|0,4,0,0)|0|0)==0:0){c=0;break}i=a+16|0;ea(i|0,(da(i|0,4,0,0)|0|0)+1|0,4,0);g=a+8|0;a:while(1){if((d|0)!=0?(c=qc[(fa(d|0,127|0)|0)&127](a,b)|0,(c|0)!=0):0){j=24;break}if(ku(a,da(b|0,4,0,0)|0|0)|0){j=19;break}if(qs(a,da(b+36|0,4,0,0)|0|0)|0){j=19;break}if(ku(a,da(b+40|0,4,0,0)|0|0)|0){j=19;break}if(qs(a,da(b+44|0,4,0,0)|0|0)|0){j=19;break}if(ku(a,da(b+48|0,4,0,0)|0|0)|0){j=19;break}if(qs(a,da(b+60|0,4,0,0)|0|0)|0){j=19;break}if(qs(a,da(b+64|0,4,0,0)|0|0)|0){j=19;break}d=da(b+32|0,4,0,0)|0|0;if((d|0)!=0?(h=da(d|0,4,0,0)|0|0,(h|0)>0):0){e=h;d=d+8|0;while(1){if(ju(a,da(d+20|0,4,0,0)|0|0)|0){j=19;break a}e=e+-1|0;if((e|0)<=0)break;else d=d+72|0}}d=da(g|0,4,0,0)|0|0;if(d)ic[(fa(d|0,15|0)|0)&15](a,b);b=da(b+52|0,4,0,0)|0|0;if(!b){c=0;break}d=da(f|0,4,0,0)|0|0}if((j|0)==19){ea(i|0,(da(i|0,4,0,0)|0|0)+-1|0,4,0);c=2;break}else if((j|0)==24)c=c&2;ea(i|0,(da(i|0,4,0,0)|0|0)+-1|0,4,0)}while(0);return c|0}function ku(a,b){a=a|0;b=b|0;var c=0;a:do if((b|0)!=0?(c=da(b|0,4,0,0)|0|0,(c|0)>0):0){b=da(b+4|0,4,0,0)|0|0;while(1){if(qs(a,da(b|0,4,0,0)|0|0)|0){c=2;break a}c=c+-1|0;if((c|0)<=0){c=0;break}else b=b+20|0}}else c=0;while(0);return c|0}function lu(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();b=c;ea(b|0,0|0,4,0);if(((da(a+4|0,4,0,0)|0)&1|0)==0?(Ls(a,b)|0)!=0:0)a=(da(b|0,4,0,0)|0|0)==0&1;else a=0;i=c;return a|0}function mu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+32|0;if((i|0)>=(j|0))ba();m=o;f=da(c+12|0,4,0,0)|0|0;ea(m+0|0,0|0,4,0);ea(m+4|0,0|0,4,0);ea(m+8|0,0|0,4,0);ea(m+12|0,0|0,4,0);ea(m+16|0,0|0,4,0);ea(m+20|0,200|0,4,0);ea(m+24>>0|0,1|0,1,0);ea(m+25>>0|0,0|0,1,0);ea(m|0,da(a|0,4,0,0)|0|0,4,0);k=c+46|0;if(da(k|0,2,0,0)|0){l=c+4|0;g=f+4|0;n=0;do{h=da((da(g|0,4,0,0)|0|0)+((da((da(l|0,4,0,0)|0|0)+(n<<1)|0,2,0,0)|0|0)*24|0)|0,4,0,0)|0|0;if(n)Rk(m,28920,2);e=da(f|0,4,0,0)|0|0;if(!e)d=0;else{d=e;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;d=d-e&1073741823}Rk(m,e,d);Rk(m,28928,1);if(!h)d=0;else{d=h;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;d=d-h&1073741823}Rk(m,h,d);n=n+1|0}while((n|0)<(da(k|0,2,0,1)|0|0))}d=sg(m)|0;ys(a,((da(c+51>>0|0,1,0,0)|0)&3)==2?1555:2067,b,d,-1,2);i=o;return}function nu(a,b){a=a|0;b=b|0;return 0}function ou(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n+8|0;k=n;l=b+52|0;a:do if((da(l|0,4,0,0)|0|0)!=0?(d=da(b+48|0,4,0,0)|0|0,!((d|0)==0|(b|0)==0)):0){c=b;while(1){h=da(c+4>>0|0,1,0,0)|0|0;if(!(h<<24>>24==119|h<<24>>24==116))break;c=da(c+52|0,4,0,0)|0|0;if(!c){c=0;break a}}e=da(d+4|0,4,0,0)|0|0;c=da(d|0,4,0,0)|0|0;while(1){d=c+-1|0;if((c|0)<=0){c=0;break a}if(!((da((da(e+(d*20|0)|0,4,0,0)|0|0)+4|0,4,0,0)|0)&256))c=d;else break}if((c|0)>=1){c=da(a+12|0,4,0,0)|0|0;f=da(c|0,4,0,0)|0|0;a=lh(f,72,0)|0;if(a){g=a+0|0;h=g+72|0;do{ea(g>>0|0,0|0,1,0);g=g+1|0}while((g|0)<(h|0));e=k;ea(e|0,0|0,4,0);ea(e+4|0,0|0,4,0);e=ir(c,0,0,0,k,a,0,0)|0;if(e){g=a+0|0;d=b+0|0;h=g+72|0;do{ea(g|0,da(d|0,4,0,0)|0|0,4,0);g=g+4|0;d=d+4|0}while((g|0)<(h|0));ea(b+32|0,e|0,4,0);ea(m|0,0|0,4,0);ea(m+4|0,0|0,4,0);ea(b|0,kr(c,0,mr(f,116,m,0)|0)|0|0,4,0);ea(b+4>>0|0,119|0,1,0);ea(b+36|0,0|0,4,0);ea(a+40|0,0|0,4,0);ea(a+44|0,0|0,4,0);ea(a+48|0,0|0,4,0);ea(l|0,0|0,4,0);ea(b+56|0,0|0,4,0);c=b+6|0;ea(c|0,(da(c|0,2,0,1)|0|0)&57279|8192|0,2,0);ea((da(a+52|0,4,0,0)|0|0)+56|0,a|0,4,0);ea(a+60|0,0|0,4,0);ea(a+64|0,0|0,4,0);c=0}else c=2}else c=2}else c=0}else c=0;while(0);i=n;return c|0}function pu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;S=i;i=i+32|0;if((i|0)>=(j|0))ba();R=S;O=S+16|0;B=a+12|0;Q=da(B|0,4,0,0)|0|0;P=da(Q|0,4,0,0)|0|0;M=b+6|0;g=da(M|0,2,0,1)|0|0;ea(M|0,g|16|0,2,0);N=P+65|0;a:do if(!(da(N>>0|0,1,0,0)|0)){A=b+32|0;K=da(A|0,4,0,0)|0|0;if((K|0)!=0&(g&16|0)==0){L=da(b|0,4,0,0)|0|0;if((da(a+8|0,4,0,0)|0|0)==9){g=b;while(1){f=da(g+56|0,4,0,0)|0|0;if(!f)break;else g=f}g=da(g+68|0,4,0,0)|0|0;if(g){x=Q+532|0;ea(g+4|0,da(x|0,4,0,0)|0|0,4,0);ea(x|0,g|0,4,0);ea(Q+449>>0|0,0|0,1,0)}}Bs(Q,K);J=K+8|0;g=da(K|0,4,0,0)|0|0;b:do if((g|0)>0){w=0;q=J;c:while(1){if(!((da(q+37>>0|0,1,0,0)|0)&8)){x=q+16|0;c=da(B|0,4,0,0)|0|0;if(da(x|0,4,0,0)|0){d=c;I=10;break}n=da(c|0,4,0,0)|0|0;f=c+532|0;h=da(f|0,4,0,0)|0|0;d:do if((da(q+4|0,4,0,0)|0|0)==0?(z=da(q+8|0,4,0,0)|0|0,!((z|0)==0|(h|0)==0)):0){e:while(1){k=da(h|0,4,0,0)|0|0;if((k|0)>0){e=0;do{g=h+(e<<4)+8|0;d=da(g|0,4,0,0)|0|0;if(!(cd(z,d)|0)){u=e;break e}e=e+1|0}while((e|0)<(k|0))}h=da(h+4|0,4,0,0)|0|0;if(!h){I=46;break d}}r=h+(u<<4)+20|0;k=da(r|0,4,0,0)|0|0;if(k){b=k;I=21;break c}t=lh(n,76,0)|0;if(!t){b=x;I=23;break c}l=t+0|0;k=l+76|0;do{ea(l>>0|0,0|0,1,0);l=l+1|0}while((l|0)<(k|0));ea(x|0,t|0,4,0);o=t+40|0;ea(o|0,1|0,2,0);ea(t|0,jh(n,da(g|0,4,0,0)|0|0)|0|0,4,0);ea(t+36|0,-1|0,2,0);ea(t+28|0,200|0,2,0);v=t+44|0;ea(v>>0|0,da(v>>0|0,1,0,1)|0|2|0,1,0);v=fr(n,da(h+(u<<4)+16|0,4,0,0)|0|0,0)|0;ea(q+20|0,v|0,4,0);if(da(n+65>>0|0,1,0,0)|0){b=2;break a}s=((da(v+4>>0|0,1,0,0)|0|0)+-115&255)<2;if(s?(p=da(v+32|0,4,0,0)|0|0,y=da(p|0,4,0,0)|0|0,(y|0)>0):0){k=v+6|0;l=y;n=0;do{do if(!(da(p+(n*72|0)+12|0,4,0,0)|0)){m=da(p+(n*72|0)+16|0,4,0,0)|0|0;if(!m)break;if(cd(m,da(g|0,4,0,0)|0|0)|0)break;ea(p+(n*72|0)+24|0,t|0,4,0);l=p+(n*72|0)+45|0;ea(l>>0|0,da(l>>0|0,1,0,0)|0|8|0,1,0);ea(o|0,(da(o|0,2,0,0)|0|0)+1<<16>>16|0,2,0);ea(k|0,da(k|0,2,0,1)|0|2048|0,2,0);l=da(p|0,4,0,0)|0|0}while(0);n=n+1|0}while((n|0)<(l|0))}if((da(o|0,2,0,1)|0|0)>2){b=g;I=34;break c}ea(r|0,28176|0,4,0);e=da(f|0,4,0,0)|0|0;ea(f|0,h|0,4,0);if(s)k=da(v+52|0,4,0,0)|0|0;else k=v;ju(a,k)|0;k=v;while(1){d=da(k+52|0,4,0,0)|0|0;if(!d)break;else k=d}d=da(k|0,4,0,0)|0|0;k=da(h+(u<<4)+12|0,4,0,0)|0|0;do if(k){if(!d)break;m=da(d|0,4,0,0)|0|0;d=da(k|0,4,0,0)|0|0;if((m|0)!=(d|0)){b=m;I=42;break c}}else k=d;while(0);hu(c,k,t+38|0,t+4|0);if(s){ea(r|0,(((da(v+6|0,2,0,0)|0)&2048)==0?28280:28240)|0,4,0);ju(a,v)|0}ea(r|0,0|0,4,0);ea(f|0,e|0,4,0);if(!(da(x|0,4,0,0)|0))I=46}else I=46;while(0);do if((I|0)==46){I=0;if(!(da(q+8|0,4,0,0)|0)){h=da(q+20|0,4,0,0)|0|0;if(ju(a,h)|0){b=2;break a}f=lh(P,76,0)|0;if(!f){b=x;I=49;break c}l=f+0|0;k=l+76|0;do{ea(l>>0|0,0|0,1,0);l=l+1|0}while((l|0)<(k|0));ea(x|0,f|0,4,0);ea(f+40|0,1|0,2,0);ea(R|0,f|0,4,0);ea(f|0,th(P,27760,R)|0|0,4,0);while(1){g=da(h+52|0,4,0,0)|0|0;if(!g)break;else h=g}hu(Q,da(h|0,4,0,0)|0|0,f+38|0,f+4|0);ea(f+36|0,-1|0,2,0);ea(f+28|0,200|0,2,0);x=f+44|0;ea(x>>0|0,da(x>>0|0,1,0,1)|0|2|0,1,0);break}c=Tr(Q,0,q)|0;ea(x|0,c|0,4,0);if(!c){b=2;break a}h=c+40|0;g=da(h|0,2,0,0)|0|0;if(g<<16>>16==-1){b=x;I=55;break c}ea(h|0,g+1<<16>>16|0,2,0);h=c+12|0;if((da(h|0,4,0,0)|0|0)==0?((da(c+44>>0|0,1,0,0)|0)&16)==0:0)break;if(gr(Q,c)|0){b=2;break a}x=fr(P,da(h|0,4,0,0)|0|0,0)|0;ea(q+20|0,x|0,4,0);ju(a,x)|0}while(0);if(Qt(Q,q)|0){b=2;break a}g=da(K|0,4,0,0)|0|0}w=w+1|0;if((w|0)>=(g|0))break b;else q=q+72|0}if((I|0)==10){while(1){c=da(b+56|0,4,0,0)|0|0;if(!c)break;else b=c}b=da(b+68|0,4,0,0)|0|0;if(!b){b=1;break a}ea(d+532|0,da(b+4|0,4,0,0)|0|0,4,0);b=1;break a}else if((I|0)==21){ea(R|0,d|0,4,0);sh(c,b,R);b=2;break a}else if((I|0)==23){ea(b|0,0|0,4,0);b=2;break a}else if((I|0)==34){ea(R|0,da(b|0,4,0,0)|0|0,4,0);sh(c,28128,R);b=2;break a}else if((I|0)==42){ea(R|0,da(g|0,4,0,0)|0|0,4,0);ea(R+4|0,b|0,4,0);ea(R+8|0,d|0,4,0);sh(c,28200,R);ea(f|0,e|0,4,0);b=2;break a}else if((I|0)==49){ea(b|0,0|0,4,0);b=2;break a}else if((I|0)==55){ea(R|0,da(c|0,4,0,0)|0|0,4,0);sh(Q,27776,R);ea(b|0,0|0,4,0);b=2;break a}}while(0);if(!(da(N>>0|0,1,0,0)|0)){q=da(A|0,4,0,0)|0|0;f:do if(((da(q|0,4,0,0)|0|0)+-1|0)>0){r=b+36|0;t=0;u=q+8|0;v=q+80|0;g:while(1){s=da(v+16|0,4,0,0)|0|0;if(!((da(u+16|0,4,0,0)|0|0)==0|(s|0)==0)){y=da(v+36>>0|0,1,0,1)|0|0;p=y&32;n=(p|0)==0;p=p>>>5;o=v+44|0;if(y&4){if(da(o|0,4,0,0)|0){I=73;break}g=v+48|0;if(da(g|0,4,0,0)|0){I=73;break}d=s+38|0;h=da(d|0,2,0,0)|0|0;if(h<<16>>16>0){c=s+4|0;m=t+1|0;l=0;do{f=da((da(c|0,4,0,0)|0|0)+(l*24|0)|0,4,0,0)|0|0;e=0;do{k=rv(da(q+(e*72|0)+24|0,4,0,0)|0|0,f)|0;if((k|0)>-1){h=e;I=77;break}e=e+1|0}while((e|0)<(m|0));if((I|0)==77){I=0;sv(Q,q,h,k,m,l,p,r);h=da(d|0,2,0,0)|0|0}l=l+1|0}while((l|0)<(h<<16>>16|0))}}else g=v+48|0;h=da(o|0,4,0,0)|0|0;if(h){if(da(g|0,4,0,0)|0){I=81;break}if(!n){tv(h,da(v+40|0,4,0,0)|0|0);h=da(o|0,4,0,0)|0|0}ea(r|0,rs(da(Q|0,4,0,0)|0|0,da(r|0,4,0,0)|0|0,h)|0|0,4,0);ea(o|0,0|0,4,0)}f=da(g|0,4,0,0)|0|0;if((f|0)!=0?(H=f+4|0,(da(H|0,4,0,0)|0|0)>0):0){e=t+1|0;k=0;do{c=da((da(f|0,4,0,0)|0|0)+(k<<3)|0,4,0,0)|0|0;d=rv(s,c)|0;if((d|0)<0){I=91;break g}else h=0;while(1){g=rv(da(q+(h*72|0)+24|0,4,0,0)|0|0,c)|0;if((g|0)>-1)break;h=h+1|0;if((h|0)>=(e|0)){I=91;break g}}sv(Q,q,h,g,e,d,p,r);k=k+1|0}while((k|0)<(da(H|0,4,0,0)|0|0))}}t=t+1|0;if((t|0)>=((da(q|0,4,0,0)|0|0)+-1|0))break f;else{u=u+72|0;v=v+72|0}}if((I|0)==73){ea(R|0,0|0,4,0);sh(Q,27928,R);b=2;break a}else if((I|0)==81){sh(Q,27984,R);b=2;break a}else if((I|0)==91){ea(R|0,c|0,4,0);sh(Q,28040,R);b=2;break a}}while(0);c=da(L|0,4,0,0)|0|0;h=(c|0)>0;h:do if(h){d=da(L+4|0,4,0,0)|0|0;g=0;do{f=da(d+(g*20|0)|0,4,0,0)|0|0;e=da(f>>0|0,1,0,0)|0|0;if(e<<24>>24==122){if((da((da(f+16|0,4,0,0)|0)>>0|0,1,0,0)|0|0)==116)break h}else if(e<<24>>24==116)break h;g=g+1|0}while((g|0)<(c|0))}else g=0;while(0);if((g|0)<(c|0)){H=da(L+4|0,4,0,0)|0|0;g=da((da(Q|0,4,0,0)|0|0)+24|0,4,0,0)|0|0;if(!(g&32))G=0;else G=(g&64|0)==0;if(h){C=P+20|0;D=P+16|0;E=O+4|0;F=0;c=0;do{f=H+(F*20|0)|0;h=da(f|0,4,0,0)|0|0;g=da(h>>0|0,1,0,0)|0|0;if(g<<24>>24==116){a=0;I=110}else if(g<<24>>24==122?(da((da(h+16|0,4,0,0)|0)>>0|0,1,0,0)|0|0)==116:0){a=da((da(h+12|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;I=110}else I=106;do if((I|0)==106){c=kr(Q,c,h)|0;if(c){x=H+(F*20|0)+4|0;w=(da(c|0,4,0,0)|0|0)+-1|0;v=da(c+4|0,4,0,0)|0|0;ea(v+(w*20|0)+4|0,da(x|0,4,0,0)|0|0,4,0);y=H+(F*20|0)+8|0;ea(v+(w*20|0)+8|0,da(y|0,4,0,0)|0|0,4,0);ea(x|0,0|0,4,0);ea(y|0,0|0,4,0)}ea(f|0,0|0,4,0)}else if((I|0)==110){if((da(K|0,4,0,0)|0|0)>0){y=(a|0)==0;z=(a|0)!=0;A=0;B=J;g=0;while(1){n=da(B+16|0,4,0,0)|0|0;f=da(B+20|0,4,0,0)|0|0;h=da(B+12|0,4,0,0)|0|0;if(!h)h=da(n|0,4,0,0)|0|0;if(da(N>>0|0,1,0,0)|0)break;if((f|0)!=0?((da(f+6|0,2,0,0)|0)&512)!=0:0){x=0;I=125}else I=117;do if((I|0)==117){I=0;if(!y?(cd(a,h)|0)!=0:0)break;k=da(n+68|0,4,0,0)|0|0;if(!k){f=0;x=27816;I=125;break}e=da(C|0,4,0,0)|0|0;l=da(D|0,4,0,0)|0|0;if((e|0)>0){d=0;while(1){f=d+1|0;if((da(l+(d<<4)+12|0,4,0,0)|0|0)==(k|0)){f=d;break}if((f|0)<(e|0))d=f;else break}if((f|0)>-1)e=f;else{f=0;x=27816;I=125;break}}else e=0;f=0;x=da(l+(e<<4)|0,4,0,0)|0|0;I=125}while(0);do if((I|0)==125){I=0;w=n+38|0;o=da(w|0,2,0,0)|0|0;if(o<<16>>16<=0)break;s=n+4|0;r=(f|0)!=0;l=z&r;t=(A|0)>0;m=t&y;q=B+36|0;t=t^1;p=B+48|0;k=(x|0)==0;u=0;do{n=da(s|0,4,0,0)|0|0;d=da(n+(u*24|0)|0,4,0,0)|0|0;if(!(l?(uv(da((da((da(f|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(u*20|0)+8|0,4,0,0)|0|0,0,a,0)|0)==0:0))I=129;i:do if((I|0)==129){I=0;if((da(n+(u*24|0)+23>>0|0,1,0,0)|0)&2)break;if(m){if(!(((da(q>>0|0,1,0,0)|0)&4)==0|t)){n=0;do{if((rv(da(K+(n*72|0)+24|0,4,0,0)|0|0,d)|0)>-1){g=1;break i}n=n+1|0}while((n|0)<(A|0))}if((vv(da(p|0,4,0,0)|0|0,d)|0)>-1){g=1;break}}o=st(P,27,d)|0;if(!G?(da(K|0,4,0,0)|0|0)<=1:0){e=d;v=0}else I=137;do if((I|0)==137){I=0;o=Yq(Q,122,st(P,27,h)|0,o,0)|0;if(!k)o=Yq(Q,122,st(P,27,x)|0,o,0)|0;if(!G){e=d;v=0;break}ea(R|0,h|0,4,0);ea(R+4|0,d|0,4,0);v=th(P,27824,R)|0;e=v}while(0);c=kr(Q,c,o)|0;ea(O|0,e|0,4,0);if(!e)o=0;else{o=e;while(1)if(!(da(o>>0|0,1,0,0)|0))break;else o=o+1|0;o=o-e&1073741823}ea(E|0,o|0,4,0);lr(Q,c,O,0);do if(c){if(!((da(M|0,2,0,0)|0)&512))break;n=(da(c|0,4,0,0)|0|0)+-1|0;d=da(c+4|0,4,0,0)|0|0;if(r)o=jh(P,da((da((da(f|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(u*20|0)+8|0,4,0,0)|0|0)|0;else{ea(R|0,x|0,4,0);ea(R+4|0,h|0,4,0);ea(R+8|0,e|0,4,0);o=th(P,27832,R)|0}ea(d+(n*20|0)+8|0,o|0,4,0);o=d+(n*20|0)+13|0;ea(o>>0|0,da(o>>0|0,1,0,0)|0|2|0,1,0)}while(0);lg(P,v);o=da(w|0,2,0,0)|0|0;g=1}while(0);u=u+1|0}while((u|0)<(o<<16>>16|0))}while(0);A=A+1|0;if((A|0)>=(da(K|0,4,0,0)|0|0))break;else B=B+72|0}if(g)break}if(!a){sh(Q,27872,R);break}else{ea(R|0,a|0,4,0);sh(Q,27848,R);break}}while(0);F=F+1|0}while((F|0)<(da(L|0,4,0,0)|0|0))}else c=0;Mk(P,L);ea(b|0,c|0,4,0)}else c=da(b|0,4,0,0)|0|0;if((c|0)!=0?(da(c|0,4,0,0)|0|0)>(da(P+96|0,4,0,0)|0|0):0){sh(Q,27896,R);b=0}else b=0}else b=2}else b=1}else b=2;while(0);i=S;return b|0}function qu(a,b){a=a|0;b=b|0;var c=0;c=da(a+12|0,4,0,0)|0|0;while(1){a=da(b+56|0,4,0,0)|0|0;if(!a)break;else b=a}b=da(b+68|0,4,0,0)|0|0;if(b)ea(c+532|0,da(b+4|0,4,0,0)|0|0,4,0);return}function ru(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=b+6|0;e=da(d|0,2,0,1)|0|0;if((e&32|0)==0?(ea(d|0,e|32|0,2,0),h=da(a+12|0,4,0,0)|0|0,f=da(b+32|0,4,0,0)|0|0,c=da(f|0,4,0,0)|0|0,(c|0)>0):0){b=0;d=f+8|0;while(1){a=da(d+16|0,4,0,0)|0|0;if(((a|0)!=0?((da(a+44>>0|0,1,0,0)|0)&2)!=0:0)?(g=da(d+20|0,4,0,0)|0|0,(g|0)!=0):0){c=g;while(1){e=da(c+52|0,4,0,0)|0|0;if(!e)break;else c=e}iu(h,a,c);c=da(f|0,4,0,0)|0|0}b=b+1|0;if((b|0)>=(c|0))break;else d=d+72|0}}return}function su(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if((a|0)!=0?(c=da(a|0,4,0,0)|0|0,(c|0)>0):0){f=da(a+4|0,4,0,0)|0|0;e=0;do{d=da(f+(e*20|0)|0,4,0,0)|0|0;if((d|0)!=0?(g=da(d+24|0,4,0,0)|0|0,(g|0)>(da(b|0,4,0,0)|0|0)):0){ea(b|0,g|0,4,0);c=da(a|0,4,0,0)|0|0}e=e+1|0}while((e|0)<(c|0))}return}function tu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;if(((b|0)!=0?(Fs(a,da(b|0,4,0,0)|0|0,c,d),Fs(a,da(b+40|0,4,0,0)|0|0,c,d),Fs(a,da(b+48|0,4,0,0)|0|0,c,d),f=b+44|0,ea(f|0,Gs(a,da(f|0,4,0,0)|0|0,c,d)|0|0,4,0),f=b+36|0,ea(f|0,Gs(a,da(f|0,4,0,0)|0|0,c,d)|0|0,4,0),tu(a,da(b+52|0,4,0,0)|0|0,c,d),f=da(b+32|0,4,0,0)|0|0,(f|0)!=0):0)?(e=da(f|0,4,0,0)|0|0,(e|0)>0):0){b=e;e=f+8|0;while(1){tu(a,da(e+20|0,4,0,0)|0|0,c,d);b=b+-1|0;if((b|0)<=0)break;else e=e+72|0}}return}function uu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=da(b+48|0,4,0,0)|0|0;i=da(c|0,4,0,0)|0|0;d=da(a|0,4,0,0)|0|0;j=Qs(d,i+1|0,1)|0;if((j|0)!=0&(i|0)>0){h=c+4|0;f=d+8|0;e=j+16|0;g=0;do{d=da(h|0,4,0,0)|0|0;c=da(d+(g*20|0)|0,4,0,0)|0|0;if(!((da(c+4|0,4,0,0)|0)&256)){d=Rs(a,b,(da(d+(g*20|0)+16|0,2,0,1)|0|0)+-1|0)|0;if(!d)d=da(f|0,4,0,0)|0|0;c=wv(a,c,da(d|0,4,0,0)|0|0)|0;ea((da(h|0,4,0,0)|0|0)+(g*20|0)|0,c|0,4,0)}else d=bu(a,c)|0;ea(j+(g<<2)+20|0,d|0,4,0);ea((da(e|0,4,0,0)|0|0)+g>>0|0,da((da(h|0,4,0,0)|0|0)+(g*20|0)+12>>0|0,1,0,0)|0|0|0,1,0);g=g+1|0}while((g|0)!=(i|0))}return j|0}function vu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;e=da(a|0,4,0,0)|0|0;a:do if((c|0)!=0?(da(e+65>>0|0,1,0,0)|0|0)==0:0){f=da(c|0,4,0,0)|0|0;if((f|0)>(da(e+96|0,4,0,0)|0|0)){ea(k|0,d|0,4,0);sh(a,27120,k);b=1;break}h=da(b|0,4,0,0)|0|0;if((f|0)>0){e=f;b=0;g=da(c+4|0,4,0,0)|0|0;while(1){f=da(g+16|0,2,0,0)|0|0;if(f<<16>>16){f=f&65535;e=da(h|0,4,0,0)|0|0;if((f|0)>(e|0))break;xv(a,h,f+-1|0,da(g|0,4,0,0)|0|0,d,0);e=da(c|0,4,0,0)|0|0}b=b+1|0;if((b|0)>=(e|0)){b=0;break a}else g=g+20|0}ea(k|0,b+1|0,4,0);ea(k+4|0,d|0,4,0);ea(k+8|0,e|0,4,0);sh(a,27064,k);b=1}else b=0}else b=0;while(0);i=l;return b|0}function wu(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;q=a+8|0;r=da(q|0,4,0,0)|0|0;t=r+32|0;i=da(t|0,4,0,0)|0|0;u=ws(r)|0;if(f){k=vh(r,46,f,0,0)|0;j=c+8|0;m=da(j|0,4,0,0)|0|0;o=f+1|0;l=c+12|0;n=da(l|0,4,0,0)|0|0;if(g)ea(g|0,(da(g|0,4,0,0)|0|0)+1|0,4,0);m=vh(r,42,m,o,n)|0;wh(r,m,g,-6);m=m+2|0;vh(r,43,m,u,m)|0;m=da(t|0,4,0,0)|0|0;if(m>>>0>k>>>0)ea((da(r+4|0,4,0,0)|0|0)+(k*20|0)+8|0,m|0,4,0);ea((da(r+24|0,4,0,0)|0|0)+88|0,m+-1|0,4,0);vh(r,33,da(j|0,4,0,0)|0|0,o,(da(l|0,4,0,0)|0|0)+-1|0)|0;vh(r,25,1,f,0)|0}if(!(da((da(a|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)){ht(r,da(b+12|0,4,0,0)|0|0,u);switch(da(d>>0|0,1,0,1)|0|0){case 12:case 14:{j=a+19|0;l=da(j>>0|0,1,0,0)|0|0;if(l<<24>>24){f=l+-1<<24>>24;ea(j>>0|0,f|0,1,0);k=da(a+((f&255)<<2)+24|0,4,0,0)|0|0;if(!(f<<24>>24))p=12;else{l=l+-2<<24>>24;ea(j>>0|0,l|0,1,0);l=da(a+((l&255)<<2)+24|0,4,0,0)|0|0;j=k}}else{p=a+72|0;k=(da(p|0,4,0,0)|0|0)+1|0;ea(p|0,k|0,4,0);p=12}if((p|0)==12){j=a+72|0;l=(da(j|0,4,0,0)|0|0)+1|0;ea(j|0,l|0,4,0);j=k}vh(r,49,da(c+8|0,4,0,0)|0|0,da(c+12|0,4,0,0)|0|0,j)|0;k=d+4|0;vh(r,74,da(k|0,4,0,0)|0|0,l,0)|0;vh(r,75,da(k|0,4,0,0)|0|0,j,l)|0;k=da(r+4|0,4,0,0)|0|0;if(k)ea(k+(((da(t|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0);Zr(a,l);Zr(a,j);break}case 11:{l=d+1|0;ea(l>>0|0,Au(da(da((da(b|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0,da(l>>0|0,1,0,0)|0|0)|0|0,1,0);k=a+19|0;j=da(k>>0|0,1,0,0)|0|0;if(!(j<<24>>24)){p=a+72|0;k=(da(p|0,4,0,0)|0|0)+1|0;ea(p|0,k|0,4,0)}else{p=j+-1<<24>>24;ea(k>>0|0,p|0,1,0);k=da(a+((p&255)<<2)+24|0,4,0,0)|0|0}p=c+8|0;wh(r,vh(r,49,da(p|0,4,0,0)|0|0,1,k)|0,l,1);ct(a,da(p|0,4,0,0)|0|0,1);vh(r,110,da(d+4|0,4,0,0)|0|0,k,0)|0;Zr(a,k);break}case 10:{p=da(c+8|0,4,0,0)|0|0;vh(da(q|0,4,0,0)|0|0,32,p,da(d+4|0,4,0,0)|0|0,1)|0;ct(a,p,1);break}case 13:{n=d+8|0;k=da(n|0,4,0,0)|0|0;if(!k){k=da(c+12|0,4,0,0)|0|0;l=a+60|0;j=da(l|0,4,0,0)|0|0;g=a+56|0;m=da(g|0,4,0,0)|0|0;if((m|0)<(k|0)){p=a+72|0;j=da(p|0,4,0,0)|0|0;ea(p|0,j+k|0,4,0);j=j+1|0}else{ea(l|0,j+k|0,4,0);ea(g|0,m-k|0,4,0)}ea(n|0,j|0,4,0);ea(d+12|0,k|0,4,0)}else{j=k;k=da(d+12|0,4,0,0)|0|0}p=da(c+8|0,4,0,0)|0|0;vh(da(q|0,4,0,0)|0|0,32,p,j,k)|0;ct(a,p,k);vh(r,22,da(d+4|0,4,0,0)|0|0,0,0)|0;break}default:{f=c+8|0;p=c+12|0;vh(r,35,da(f|0,4,0,0)|0|0,da(p|0,4,0,0)|0|0,0)|0;ct(a,da(f|0,4,0,0)|0|0,da(p|0,4,0,0)|0|0)}}j=da(b+8|0,4,0,0)|0|0;if(j)vh(r,140,j,h,0)|0;j=da(r+24|0,4,0,0)|0|0;k=~u;if((u|0)<0?(s=da(j+112|0,4,0,0)|0|0,(s|0)!=0):0)ea(s+(k<<2)|0,da(t|0,4,0,0)|0|0,4,0);ea(j+88|0,(da(t|0,4,0,0)|0|0)+-1|0,4,0);vh(r,18,e,0,0)|0}else i=0;return i|0}function xu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+80|0;if((i|0)>=(j|0))ba();n=o+64|0;m=o+32|0;d=o;ea(n>>0|0,1|0,1,0);if((b|0)!=0?(da(a+4|0,4,0,0)|0|0)!=0:0){e=da(b>>0|0,1,0,1)|0|0;a:do if((e|0)==154|(e|0)==156){l=da(b+32|0,2,0,0)|0|0;d=l<<16>>16;if(a){k=b+28|0;b:while(1){while(1){h=da(a+4|0,4,0,0)|0|0;g=da(h|0,4,0,0)|0|0;c:do if((g|0)>0){b=da(k|0,4,0,0)|0|0;e=0;while(1){f=e+1|0;if((da(h+(e*72|0)+48|0,4,0,0)|0|0)==(b|0)){f=e;break c}if((f|0)<(g|0))e=f;else break}}else f=0;while(0);if((f|0)>=(g|0))break;g=da(h+(f*72|0)+24|0,4,0,0)|0|0;f=da(h+(f*72|0)+28|0,4,0,0)|0|0;b=(g|0)==0;if(!((a|0)!=0&b))break b}a=da(a+16|0,4,0,0)|0|0;if(!a){d=0;break a}}if(!b){if(f){if(l<<16>>16<=-1){d=0;break}e=da(f|0,4,0,0)|0|0;if((d|0)>=(da(e|0,4,0,0)|0|0)){d=0;break}d=da((da(e+4|0,4,0,0)|0|0)+(d*20|0)|0,4,0,0)|0|0;ea(m+4|0,da(f+32|0,4,0,0)|0|0,4,0);ea(m+16|0,a|0,4,0);ea(m|0,da(a|0,4,0,0)|0|0,4,0);d=xu(m,d,n)|0;break}if(da(g+68|0,4,0,0)|0){if(l<<16>>16<0)d=da(g+36|0,2,0,0)|0|0;if((d|0)<0)d=11144;else{l=da(g+4|0,4,0,0)|0|0;m=da(l+(d*24|0)+12|0,4,0,0)|0|0;ea(n>>0|0,da(l+(d*24|0)+22>>0|0,1,0,0)|0|0|0,1,0);d=m}}else d=0}else d=0}else d=0}else if((e|0)==119){l=da(b+20|0,4,0,0)|0|0;m=da(da((da(l|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0;ea(d+4|0,da(l+32|0,4,0,0)|0|0,4,0);ea(d+16|0,a|0,4,0);ea(d|0,da(a|0,4,0,0)|0|0,4,0);d=xu(d,m,n)|0}else d=0;while(0);if(c)ea(c>>0|0,da(n>>0|0,1,0,0)|0|0|0,1,0)}else d=0;i=o;return d|0}function yu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=da(a+8|0,4,0,0)|0|0;f=a+19|0;g=da(f>>0|0,1,0,0)|0|0;if(!(g<<24>>24)){g=a+72|0;f=(da(g|0,4,0,0)|0|0)+1|0;ea(g|0,f|0,4,0)}else{g=g+-1<<24>>24;ea(f>>0|0,g|0,1,0);f=da(a+((g&255)<<2)+24|0,4,0,0)|0|0}wh(h,vh(h,69,b,c,e)|0,d,-14);vh(h,49,e,d,f)|0;vh(h,110,b,f,0)|0;Zr(a,f);return}function zu(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;r=a+8|0;w=da(r|0,4,0,0)|0|0;v=b+24|0;h=(da(v>>0|0,1,0,0)|0)&1;k=h<<24>>24==0;h=(h^1)&255;g=da(b|0,4,0,0)|0|0;l=da(g|0,4,0,0)|0|0;m=l+e+h|0;p=a+72|0;j=da(p|0,4,0,0)|0|0;u=j+1|0;ea(p|0,u|0,4,0);s=b+4|0;n=da(s|0,4,0,0)|0|0;f=(f|0)==0;if(f){ea(p|0,u+m|0,4,0);q=j+2|0}else q=d-l-h|0;at(a,g,q,1);if(k)vh(w,73,da(b+8|0,4,0,0)|0|0,q+l|0,0)|0;if(f){vh(da(r|0,4,0,0)|0|0,32,d,h+l+q|0,e)|0;ct(a,d,e)}vh(w,49,q+n|0,m-n|0,u)|0;if((n|0)>0){g=da(p|0,4,0,0)|0|0;e=g+1|0;f=da(s|0,4,0,0)|0|0;ea(p|0,f+g|0,4,0);if(k)d=vh(w,46,q+l|0,0,0)|0;else d=vh(w,59,da(b+8|0,4,0,0)|0|0,0,0)|0;vh(w,42,e,q,da(s|0,4,0,0)|0|0)|0;j=da(b+20|0,4,0,0)|0|0;if((j|0)<0)j=(da(w+32|0,4,0,0)|0|0)+-1|0;if(!(da((da(w|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))j=(da(w+4|0,4,0,0)|0|0)+(j*20|0)|0;else j=29120;if(!(da((da(a|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)){ea(j+8|0,m-f|0,4,0);f=j+16|0;j=da(f|0,4,0,0)|0|0;ew(da(j+16|0,4,0,0)|0|0,0,da(j+6|0,2,0,1)|0|0)|0;wh(w,-1,j,-6);ea(f|0,Ts(a,da(b|0,4,0,0)|0|0,n,(da(j+8|0,2,0,1)|0|0)+-1|0)|0|0,4,0);j=w+32|0;f=da(j|0,4,0,0)|0|0;i=f+1|0;vh(w,43,i,0,i)|0;i=ws(w)|0;ea(b+16|0,i|0,4,0);h=(da(p|0,4,0,0)|0|0)+1|0;ea(p|0,h|0,4,0);ea(b+12|0,h|0,4,0);vh(w,17,h,i,0)|0;i=b+8|0;vh(w,119,da(i|0,4,0,0)|0|0,0,0)|0;h=da(j|0,4,0,0)|0|0;if(h>>>0>d>>>0)ea((da(w+4|0,4,0,0)|0|0)+(d*20|0)+8|0,h|0,4,0);g=w+24|0;ea((da(g|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);h=da(s|0,4,0,0)|0|0;vh(da(r|0,4,0,0)|0|0,32,q,e,h)|0;ct(a,q,h);h=da(j|0,4,0,0)|0|0;if(h>>>0>f>>>0)ea((da(w+4|0,4,0,0)|0|0)+(f*20|0)+8|0,h|0,4,0);ea((da(g|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);o=23}}else{i=b+8|0;o=23}if((o|0)==23?(vh(w,110-((da(v>>0|0,1,0,0)|0)&1)|0,da(i|0,4,0,0)|0|0,u,0)|0,t=da(c+8|0,4,0,0)|0|0,(t|0)!=0):0){h=da(c+12|0,4,0,0)|0|0;h=vh(w,139,(h|0)==0?t:h+1|0,0,-1)|0;vh(w,105,da(i|0,4,0,0)|0|0,0,0)|0;vh(w,95,da(i|0,4,0,0)|0|0,0,0)|0;g=da(w+32|0,4,0,0)|0|0;if(g>>>0>h>>>0)ea((da(w+4|0,4,0,0)|0|0)+(h*20|0)+8|0,g|0,4,0);ea((da(w+24|0,4,0,0)|0|0)+88|0,g+-1|0,4,0)}return}function Au(a,b){a=a|0;b=b|0;a=jv(a)|0;if(!(a<<24>>24==0|b<<24>>24==0))return (a<<24>>24>66|b<<24>>24>66?67:65)|0;if(!((a|b)<<24>>24))a=65;else a=(b&255)+(a&255)&255;return a|0}function Bu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;do if(!((a|0)==0|(b|0)==0)){g=da(a+4|0,4,0,0)|0|0;h=da(b+4|0,4,0,0)|0|0;i=h|g;if(i&1024){if((g&1024&h|0)!=0?(da(a+8|0,4,0,0)|0|0)==(da(b+8|0,4,0,0)|0|0):0){d=0;break}d=2;break}d=da(a>>0|0,1,0,0)|0|0;e=da(b>>0|0,1,0,0)|0|0;if(d<<24>>24!=e<<24>>24){if(d<<24>>24==95?(Bu(da(a+12|0,4,0,0)|0|0,b,c)|0)<2:0){d=1;break}if(e<<24>>24==95?(Bu(a,da(b+12|0,4,0,0)|0|0,c)|0)<2:0){d=1;break}d=2;break}if((!(d<<24>>24==-100|d<<24>>24==-102)?(f=da(a+8|0,4,0,0)|0|0,(f|0)!=0):0)?(Zv(f,da(b+8|0,4,0,0)|0|0)|0)!=0:0){d=d<<24>>24==95?1:2;break}if(!((h^g)&16)){if(!(i&16384)){if(i&2048){d=2;break}if(Bu(da(a+12|0,4,0,0)|0|0,da(b+12|0,4,0,0)|0|0,c)|0){d=2;break}if(Bu(da(a+16|0,4,0,0)|0|0,da(b+16|0,4,0,0)|0|0,c)|0){d=2;break}if(Ss(da(a+20|0,4,0,0)|0|0,da(b+20|0,4,0,0)|0|0,c)|0){d=2;break}if(!(i&8192)){if((da(a+32|0,2,0,0)|0|0)!=(da(b+32|0,2,0,0)|0|0)){d=2;break}e=da(a+28|0,4,0,0)|0|0;d=da(b+28|0,4,0,0)|0|0;if((e|0)!=(d|0)?(e|0)!=(c|0)|(d|0)>-1:0){d=2;break}}}d=0}else d=2}else d=(b|0)==(a|0)?0:2;while(0);return d|0}function Cu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a+8|0;ea(d>>0|0,c|0,1,0);a:do if(b){while(1){if((da(b>>0|0,1,0,0)|0|0)!=c<<24>>24)break;Cu(a,da(b+12|0,4,0,0)|0|0,c);b=da(b+16|0,4,0,0)|0|0;ea(d>>0|0,c|0,1,0);if(!b)break a}yv(a,b,0)|0}while(0);return}function Du(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;x=da(a|0,4,0,0)|0|0;L=da(x|0,4,0,0)|0|0;N=da(L|0,4,0,0)|0|0;G=N+65|0;do if(!(da(G>>0|0,1,0,0)|0)){O=a+20|0;f=da(O|0,4,0,0)|0|0;c=f+(b*48|0)|0;V=x+68|0;M=da(c|0,4,0,0)|0|0;n=M+12|0;g=da(n|0,4,0,0)|0|0;s=zv(V,g)|0;r=C;e=da(M>>0|0,1,0,0)|0|0;p=e&255;do if(e<<24>>24==76){d=f+(b*48|0)+32|0;ea(d|0,0|0,4,0);ea(d+4|0,0|0,4,0);d=0;o=0}else if(e<<24>>24==75){h=M+20|0;if(!((da(M+4|0,4,0,0)|0)&2048)){d=Ku(V,da(h|0,4,0,0)|0|0)|0;o=C;K=f+(b*48|0)+32|0;ea(K|0,d|0,4,0);ea(K+4|0,o|0,4,0);break}else{d=Av(V,da(h|0,4,0,0)|0|0)|0;o=C;K=f+(b*48|0)+32|0;ea(K|0,d|0,4,0);ea(K+4|0,o|0,4,0);break}}else{d=zv(V,da(M+16|0,4,0,0)|0|0)|0;o=C;K=f+(b*48|0)+32|0;ea(K|0,d|0,4,0);ea(K+4|0,o|0,4,0)}while(0);l=zv(V,M)|0;h=C;I=M+4|0;if(!((da(I|0,4,0,0)|0)&1)){J=0;K=0;q=h}else{j=da(M+36|0,2,0,0)|0|0;i=da(V|0,4,0,0)|0|0;a:do if((i|0)>0){k=0;while(1){if((da(x+(k<<2)+72|0,4,0,0)|0|0)==(j|0))break;k=k+1|0;if((k|0)>=(i|0)){k=0;j=0;break a}}k=hw(1,0,k|0)|0;j=C}else{k=0;j=0}while(0);J=iw(k|0,j|0,-1,-1)|0;K=C;l=k|l;q=j|h}m=f+(b*48|0)+40|0;ea(m|0,l|0,4,0);ea(m+4|0,q|0,4,0);m=f+(b*48|0)+8|0;ea(m|0,-1|0,4,0);ea(f+(b*48|0)+4|0,-1|0,4,0);u=f+(b*48|0)+18|0;ea(u|0,0|0,2,0);k=p+-75|0;if(k>>>0<9?(499>>>(k&511)&1)!=0:0){b:do if(!g)g=0;else while(1){k=da(g+4|0,4,0,0)|0|0;if(!(k&4096))break b;if(!(k&262144))i=g+12|0;else i=da((da(g+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;g=da(i|0,4,0,0)|0|0;if(!g){g=0;break}}while(0);k=da(M+16|0,4,0,0)|0|0;c:do if(!k)k=0;else while(1){j=da(k+4|0,4,0,0)|0|0;if(!(j&4096))break c;if(!(j&262144))k=k+12|0;else k=da((da(k+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;k=da(k|0,4,0,0)|0|0;if(!k){k=0;break}}while(0);o=(d&s|0)==0&(o&r|0)==0?4095:1024;if((da(g>>0|0,1,0,0)|0|0)==-102){h=da(g+28|0,4,0,0)|0|0;ea(m|0,h|0,4,0);ea(f+(b*48|0)+12|0,da(g+32|0,2,0,0)|0|0,4,0);if((p|0)==75)i=1;else if((p|0)==76)i=128;else i=2<<p+-79&65535;ea(u|0,i&o|0,2,0)}else h=-1;if((k|0)!=0?(da(k>>0|0,1,0,0)|0|0)==-102:0){if((h|0)>-1){g=Lr(N,M,0,0)|0;if(da(G>>0|0,1,0,0)|0){Fk(N,g);break}h=yv(a,g,3)|0;if(!h)break;i=da(O|0,4,0,0)|0|0;f=i+(h*48|0)|0;ea(i+(h*48|0)+4|0,b|0,4,0);ea(i+(h*48|0)+16|0,da(i+(b*48|0)+16|0,2,0,0)|0|0|0,2,0);c=i+(b*48|0)+22|0;ea(c>>0|0,(da(c>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0);c=i+(b*48|0)|0;k=i+(b*48|0)+20|0;ea(k|0,da(k|0,2,0,1)|0|8|0,2,0);if(((da(M>>0|0,1,0,0)|0|0)==79?((da(I|0,4,0,0)|0)&1|0)==0:0)?((da(N+60|0,2,0,0)|0)&512)==0:0){n=i+(b*48|0)+18|0;ea(n|0,da(n|0,2,0,1)|0|1024|0,2,0);n=1024}else n=0}else{n=0;g=M;f=c}e=g+16|0;j=(da(e|0,4,0,0)|0|0)+4|0;i=da(j|0,4,0,0)|0|0;h=i&256;d=g+12|0;k=da(d|0,4,0,0)|0|0;do if((h|0)==((da(k+4|0,4,0,0)|0)&256|0)){if(h){ea(j|0,i&-257|0,4,0);break}k=(bu(L,k)|0)==0;i=da(d|0,4,0,0)|0|0;if(k)k=i;else{k=i+4|0;ea(k|0,da(k|0,4,0,0)|0|256|0,4,0);k=i}}while(0);i=da(e|0,4,0,0)|0|0;ea(e|0,k|0,4,0);ea(d|0,i|0,4,0);h=da(g>>0|0,1,0,0)|0|0;if((h&255)>79){h=((h&255)+176^2)+80&255;ea(g>>0|0,h|0,1,0)}g=da(i+4|0,4,0,0)|0|0;if(g&4096)do{if(!(g&262144))i=i+12|0;else i=da((da(i+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;i=da(i|0,4,0,0)|0|0;g=da(i+4|0,4,0,0)|0|0}while((g&4096|0)!=0);ea(f+8|0,da(i+28|0,4,0,0)|0|0,4,0);ea(f+12|0,da(i+32|0,2,0,0)|0|0,4,0);g=f+32|0;ea(g|0,J|s|0,4,0);ea(g+4|0,K|r|0,4,0);g=f+40|0;ea(g|0,l|0,4,0);ea(g+4|0,q|0,4,0);g=h&255;if((g|0)==75)g=1;else if((g|0)==76)g=128;else g=2<<g+-79&65535;ea(f+18|0,g+n&(o&65535)|0,2,0)}}else B=59;do if((B|0)==59){if(e<<24>>24==74){if((da(a+8>>0|0,1,0,0)|0|0)!=72)break;h=(da(M+20|0,4,0,0)|0|0)+4|0;d=M+36|0;e=0;while(1){l=da(34144+e>>0|0,1,0,1)|0|0;g=Lr(N,g,0,0)|0;g=Yq(L,l,g,Lr(N,da((da(h|0,4,0,0)|0|0)+(e*20|0)|0,4,0,0)|0|0,0,0)|0,0)|0;if(g){l=g+4|0;ea(l|0,da(l|0,4,0,0)|0|(da(I|0,4,0,0)|0)&1|0,4,0);ea(g+36|0,da(d|0,2,0,0)|0|0|0,2,0)}l=yv(a,g,3)|0;Du(a,l);f=da(O|0,4,0,0)|0|0;ea(f+(l*48|0)+4|0,b|0,4,0);ea(f+(l*48|0)+16|0,da(f+(b*48|0)+16|0,2,0,0)|0|0|0,2,0);l=f+(b*48|0)+22|0;ea(l>>0|0,(da(l>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0);e=e+1|0;if((e|0)==2)break;g=da(n|0,4,0,0)|0|0}c=f+(b*48|0)|0;break}else if(e<<24>>24!=71)break;s=lh(N,416,0)|0;d:do if(s){ew(s|0,0,416)|0;ea(f+(b*48|0)+12|0,s|0,4,0);v=f+(b*48|0)+20|0;ea(v|0,da(v|0,2,0,1)|0|16|0,2,0);ea(s|0,x|0,4,0);ea(s+4|0,0|0,4,0);v=s+12|0;ea(v|0,0|0,4,0);ea(s+16|0,8|0,4,0);w=s+20|0;ea(w|0,s+24|0,4,0);Cu(s,M,71);h=da(v|0,4,0,0)|0|0;if((h|0)>0)do{h=h+-1|0;Du(s,h)}while((h|0)>0);if(!(da(G>>0|0,1,0,0)|0)){k=da(v|0,4,0,0)|0|0;if((k|0)>0){r=x+68|0;q=-1;p=-1;d=-1;c=-1;o=da(w|0,4,0,0)|0|0;while(1){k=k+-1|0;j=o+18|0;n=da(j|0,2,0,0)|0|0;if(!(n&255)){g=lh(N,408,0)|0;if(!g){h=q;i=p;d=0;c=0}else{ea(o+12|0,g|0,4,0);i=o+20|0;ea(i|0,da(i|0,2,0,1)|0|32|0,2,0);ea(j|0,512|0,2,0);ea(g|0,da(a|0,4,0,0)|0|0,4,0);i=g+4|0;ea(i|0,0|0,4,0);h=g+12|0;ea(h|0,0|0,4,0);ea(g+16|0,8|0,4,0);l=g+20|0;ea(l|0,g+24|0,4,0);Cu(g,da(o|0,4,0,0)|0|0,72);j=da(h|0,4,0,0)|0|0;if((j|0)>0)do{j=j+-1|0;Du(g,j)}while((j|0)>0);ea(i|0,a|0,4,0);if((da(G>>0|0,1,0,0)|0|0)==0?(t=da(h|0,4,0,0)|0|0,(t|0)>0):0){j=0;i=0;c=0;m=da(l|0,4,0,0)|0|0;while(1){h=(da((da(m|0,4,0,0)|0)>>0|0,1,0,1)|0|0)+-75|0;do if(h>>>0<9){if(!(499>>>(h&511)&1))break;g=da(m+8|0,4,0,0)|0|0;e=da(r|0,4,0,0)|0|0;e:do if((e|0)>0){h=0;while(1){if((da(x+(h<<2)+72|0,4,0,0)|0|0)==(g|0))break;h=h+1|0;if((h|0)>=(e|0)){h=0;g=0;break e}}h=hw(1,0,h|0)|0;g=C}else{h=0;g=0}while(0);j=h|j;i=g|i}while(0);c=c+1|0;if((c|0)>=(t|0))break;else m=m+48|0}}else{j=0;i=0}h=j&q;i=i&p;d=0;c=0}}else{i=da(o+20|0,2,0,0)|0|0;if(!(i&8)){l=da(o+8|0,4,0,0)|0|0;g=da(r|0,4,0,0)|0|0;h=(g|0)>0;f:do if(h){j=0;while(1){if((da(x+(j<<2)+72|0,4,0,0)|0|0)==(l|0))break;j=j+1|0;if((j|0)>=(g|0)){e=0;m=0;break f}}e=hw(1,0,j|0)|0;m=C}else{e=0;m=0}while(0);if(!(i&2)){j=e;l=m}else{l=da((da(w|0,4,0,0)|0|0)+((da(o+4|0,4,0,0)|0|0)*48|0)+8|0,4,0,0)|0|0;g:do if(h){j=0;while(1){if((da(x+(j<<2)+72|0,4,0,0)|0|0)==(l|0))break;j=j+1|0;if((j|0)>=(g|0)){j=0;l=0;break g}}j=hw(1,0,j|0)|0;l=C}else{j=0;l=0}while(0);j=j|e;l=l|m}g=(n&2)==0;h=j&q;i=l&p;d=g?0:j&d;c=g?0:l&c}else{h=q;i=p}}j=(h|0)!=0|(i|0)!=0;if(!((k|0)>0&j))break;else{q=h;p=i;o=o+48|0}}l=s+408|0;ea(l|0,h|0,4,0);ea(l+4|0,i|0,4,0);ea(u|0,((h|0)==0&(i|0)==0?0:256)|0,2,0);if(j)B=104}else{d=s+408|0;ea(d|0,-1|0,4,0);ea(d+4|0,-1|0,4,0);ea(u|0,256|0,2,0);d=-1;c=-1;B=104}h:do if((B|0)==104)if((da(v|0,4,0,0)|0|0)==2){g=da(w|0,4,0,0)|0|0;h=0;i:while(1){e=h+1|0;if((da(g+18|0,2,0,0)|0|0)!=512)if(!h)j=g;else break h;else{i=da(g+12|0,4,0,0)|0|0;if((da(i+12|0,4,0,0)|0|0)<=(h|0))break h;j=(da(i+20|0,4,0,0)|0|0)+(h*48|0)|0}if(!j)break h;else k=0;while(1){if((da(g+66|0,2,0,0)|0|0)==512){i=da(g+60|0,4,0,0)|0|0;if((da(i+12|0,4,0,0)|0|0)<=(k|0)){h=e;continue i}i=(da(i+20|0,4,0,0)|0|0)+(k*48|0)|0;if(!i){h=e;continue i}}else if(!k)i=g+48|0;else{h=e;continue i}Bv(a,j,i);g=da(w|0,4,0,0)|0|0;k=k+1|0}}}while(0);if(!((d|0)==0&(c|0)==0)){m=x+68|0;l=-1;n=0;while(1){i=da(v|0,4,0,0)|0|0;if((i|0)<=0)break d;k=da(w|0,4,0,0)|0|0;while(1){e=i;i=i+-1|0;g=k+20|0;ea(g|0,(da(g|0,2,0,1)|0)&65471|0,2,0);g=da(k+8|0,4,0,0)|0|0;if((g|0)!=(l|0)){h=da(m|0,4,0,0)|0|0;j:do if((h|0)>0){j=0;while(1){if((da(x+(j<<2)+72|0,4,0,0)|0|0)==(g|0))break;j=j+1|0;if((j|0)>=(h|0)){j=0;h=0;break j}}j=hw(1,0,j|0)|0;h=C}else{j=0;h=0}while(0);if(!((j&d|0)==0&(h&c|0)==0)){j=e;break}}if((i|0)<=0)break d;else k=k+48|0}h=da(k+12|0,4,0,0)|0|0;if((j|0)<1)break d;else j=g;while(1){if((j|0)==(g|0)){if((da(k+12|0,4,0,0)|0|0)!=(h|0)){i=g;h=1;break}l=jv(da((da(k|0,4,0,0)|0|0)+16|0,4,0,0)|0|0)|0;if(!(l<<24>>24==0|l<<24>>24==(jv(da((da(k|0,4,0,0)|0|0)+12|0,4,0,0)|0|0)|0)<<24>>24)){i=g;h=1;break}l=k+20|0;ea(l|0,da(l|0,2,0,1)|0|64|0,2,0)}else{l=k+20|0;ea(l|0,(da(l|0,2,0,1)|0)&65471|0,2,0)}if((i|0)<=0){i=g;h=0;break}j=da(k+56|0,4,0,0)|0|0;i=i+-1|0;k=k+48|0}n=n+1|0;if(!((n|0)<2&h))break;else l=i}if(!h){g=da(v|0,4,0,0)|0|0;if((g|0)>0){h=0;d=0;e=da(w|0,4,0,0)|0|0;while(1){g=g+-1|0;if((da(e+20|0,2,0,0)|0)&64){h=Lr(N,da((da(e|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,0,0)|0;d=kr(da(x|0,4,0,0)|0|0,d,h)|0;h=da((da(e|0,4,0,0)|0|0)+12|0,4,0,0)|0|0}if((g|0)<=0){g=h;break}else e=e+48|0}}else{g=0;d=0}e=Yq(L,75,Lr(N,g,0,0)|0,0,0)|0;if(!e)Mk(N,d);else{l=e+4|0;ea(l|0,da(l|0,4,0,0)|0|(da(I|0,4,0,0)|0)&1|0,4,0);ea(e+36|0,da(M+36|0,2,0,0)|0|0|0,2,0);ea(e+20|0,d|0,4,0);l=yv(a,e,3)|0;Du(a,l);f=da(O|0,4,0,0)|0|0;ea(f+(l*48|0)+4|0,b|0,4,0);ea(f+(l*48|0)+16|0,da(f+(b*48|0)+16|0,2,0,0)|0|0|0,2,0);l=f+(b*48|0)+22|0;ea(l>>0|0,(da(l>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0)}ea(f+(b*48|0)+18|0,2048|0,2,0)}}}}else ea(f+(b*48|0)+12|0,0|0,4,0);while(0);c=(da(O|0,4,0,0)|0|0)+(b*48|0)|0}while(0);k:do if((da(a+8>>0|0,1,0,0)|0|0)==72){p=da(L|0,4,0,0)|0|0;if((da(M>>0|0,1,0,0)|0|0)==-103){o=M+20|0;g=da(o|0,4,0,0)|0|0;if((g|0)!=0?(da(g|0,4,0,0)|0|0)==2:0){h=da(M+8|0,4,0,0)|0|0;if(!h)g=0;else{g=h;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-h&1073741823}g=Rh(p,h,g,2,1,0)|0;if(((((g|0)!=0?(y=da(g+2|0,2,0,0)|0|0,(y&4)!=0):0)?(F=da(g+4|0,4,0,0)|0|0,D=da(F>>0|0,1,0,0)|0|0,E=da(F+1>>0|0,1,0,0)|0|0,F=da(F+2>>0|0,1,0,0)|0|0,H=(y&65535)>>>3&1,z=(da(o|0,4,0,0)|0|0)+4|0,A=da((da(z|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,(da(A>>0|0,1,0,0)|0|0)==-102):0)?(jv(A)|0)<<24>>24==66:0)?((da((da(A+44|0,4,0,0)|0|0)+44>>0|0,1,0,0)|0)&16)==0:0){f=da(da(z|0,4,0,0)|0|0,4,0,0)|0|0;l:do if(!f)f=0;else while(1){e=da(f+4|0,4,0,0)|0|0;if(!(e&4096))break l;if(!(e&262144))f=f+12|0;else f=da((da(f+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;f=da(f|0,4,0,0)|0|0;if(!f){f=0;break}}while(0);e=da(f>>0|0,1,0,0)|0|0;m=e<<24>>24==-121;do if(m){g=da(L+476|0,4,0,0)|0|0;j=da(f+32|0,2,0,0)|0|0;k=j<<16>>16;do if(!g){d=0;h=0}else{B=k+-1|0;A=da(g+60|0,4,0,0)|0|0;d=A+(B*40|0)|0;if((da(A+(B*40|0)+8|0,2,0,0)|0)&1){d=0;h=0;break}h=da(g|0,4,0,0)|0|0;i=lh(h,40,0)|0;if(!i){d=0;h=0;break}g=i+0|0;e=g+40|0;do{ea(g>>0|0,0|0,1,0);g=g+1|0}while((g|0)<(e|0));B=i+8|0;ea(B|0,1|0,2,0);ea(i+32|0,h|0,4,0);Zg(i,d)|0;if(((da(B|0,2,0,0)|0)&15)!=2){d=i;h=0;break}d=i;h=Rg(i,1)|0}while(0);g=da(L+8|0,4,0,0)|0|0;if(j<<16>>16>32){ea(g+188|0,-1|0,4,0);l=h;B=177;break}else{l=g+188|0;ea(l|0,da(l|0,4,0,0)|0|1<<k+-1|0,4,0);l=h;B=177;break}}else if(e<<24>>24==97){d=0;l=da(f+8|0,4,0,0)|0|0;B=177}else d=0;while(0);do if((B|0)==177)if(l){h=0;while(1){B=da(l+h>>0|0,1,0,0)|0|0;e=B<<24>>24==D<<24>>24;g=h+1|0;if(B<<24>>24!=F<<24>>24&((B<<24>>24==0|e|B<<24>>24==E<<24>>24)^1))h=g;else break}if(h){if((da(l+(h+-1)>>0|0,1,0,0)|0|0)==-1)break;if(e)g=(da(l+g>>0|0,1,0,0)|0|0)==0;else g=0;i=g&1;n=st(p,97,l)|0;if(n)ea((da(n+8|0,4,0,0)|0|0)+h>>0|0,0|0,1,0);do if(m){h=da(L+8|0,4,0,0)|0|0;e=da(f+32|0,2,0,0)|0|0;if(e<<16>>16>32)ea(h+188|0,-1|0,4,0);else{F=h+188|0;ea(F|0,da(F|0,4,0,0)|0|1<<(e<<16>>16)+-1|0,4,0)}if(!g){i=0;break}if(!(da((da(f+8|0,4,0,0)|0|0)+1>>0|0,1,0,0)|0))break;e=L+19|0;g=da(e>>0|0,1,0,0)|0|0;if(!(g<<24>>24)){F=L+72|0;e=(da(F|0,4,0,0)|0|0)+1|0;ea(F|0,e|0,4,0)}else{F=g+-1<<24>>24;ea(e>>0|0,F|0,1,0);e=da(L+((F&255)<<2)+24|0,4,0,0)|0|0}hs(L,f,e)|0;f=da(h+32|0,4,0,0)|0|0;if(f>>>0>0)ea((da(h+4|0,4,0,0)|0|0)+((f+-1|0)*20|0)+12|0,0|0,4,0);Zr(L,e)}while(0);Lh(d);if(!l){B=217;break k}j=da((da((da(o|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+20|0,4,0,0)|0|0;h=Lr(N,n,0,0)|0;k=H<<16>>16!=0;do if(!k){if(da((da(L|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;d=c+20|0;ea(d|0,da(d|0,2,0,1)|0|1024|0,2,0);d=n+8|0;g=da(d|0,4,0,0)|0|0;f=da(g>>0|0,1,0,0)|0|0;if(!(f<<24>>24))break;c=h+8|0;e=0;do{F=f&255;ea(g>>0|0,((da(10368+F>>0|0,1,0,1)|0|223)^32)&F|0,1,0);ea((da(c|0,4,0,0)|0|0)+e>>0|0,da(9328+F>>0|0,1,0,0)|0|0|0,1,0);e=e+1|0;g=(da(d|0,4,0,0)|0|0)+e|0;f=da(g>>0|0,1,0,0)|0|0}while(f<<24>>24!=0)}while(0);if(!(da(G>>0|0,1,0,0)|0)){f=da(h+8|0,4,0,0)|0|0;if(!f)e=-1;else{e=f;while(1)if(!(da(e>>0|0,1,0,0)|0))break;else e=e+1|0;e=(e-f&1073741823)+-1|0}f=f+e|0;e=da(f>>0|0,1,0,0)|0|0;if(k)d=i;else{d=e<<24>>24==64?0:i;e=da(9328+(e&255)>>0|0,1,0,0)|0|0}ea(f>>0|0,(e&255)+1|0,1,0);g=d}else g=i;d=H<<16>>16==0?13752:11152;e=Yq(L,83,wv(L,Lr(N,j,0,0)|0,d)|0,n,0)|0;if(e){H=e+4|0;ea(H|0,da(H|0,4,0,0)|0|(da(I|0,4,0,0)|0)&1|0,4,0);ea(e+36|0,da(M+36|0,2,0,0)|0|0|0,2,0)}f=yv(a,e,259)|0;Du(a,f);d=Yq(L,82,wv(L,Lr(N,j,0,0)|0,d)|0,h,0)|0;if(d){H=d+4|0;ea(H|0,da(H|0,4,0,0)|0|(da(I|0,4,0,0)|0)&1|0,4,0);ea(d+36|0,da(M+36|0,2,0,0)|0|0|0,2,0)}d=yv(a,d,259)|0;Du(a,d);e=da(O|0,4,0,0)|0|0;c=e+(b*48|0)|0;if(!g){B=217;break k}ea(e+(f*48|0)+4|0,b|0,4,0);I=e+(b*48|0)+16|0;ea(e+(f*48|0)+16|0,da(I|0,2,0,0)|0|0|0,2,0);B=e+(b*48|0)+22|0;ea(B>>0|0,(da(B>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0);ea(e+(d*48|0)+4|0,b|0,4,0);ea(e+(d*48|0)+16|0,da(I|0,2,0,0)|0|0|0,2,0);ea(B>>0|0,(da(B>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0);B=217;break k}}while(0);Lh(d);B=217}else B=217}else B=217}}else B=217;while(0);if((B|0)==217)if(((((da(M>>0|0,1,0,0)|0|0)==-103?(cd(da(M+8|0,4,0,0)|0|0,31416)|0)==0:0)?(P=da(M+20|0,4,0,0)|0|0,(da(P|0,4,0,0)|0|0)==2):0)?(Q=da(P+4|0,4,0,0)|0|0,R=da(Q+20|0,4,0,0)|0|0,(da(R>>0|0,1,0,0)|0|0)==-102):0)?(S=da(Q|0,4,0,0)|0|0,T=zv(V,S)|0,U=C,V=zv(V,R)|0,(V&T|0)==0&(C&U|0)==0):0){S=yv(a,Yq(L,51,0,Lr(N,S,0,0)|0,0)|0,3)|0;c=da(O|0,4,0,0)|0|0;V=c+(S*48|0)+32|0;ea(V|0,T|0,4,0);ea(V+4|0,U|0,4,0);ea(c+(S*48|0)+8|0,da(R+28|0,4,0,0)|0|0,4,0);ea(c+(S*48|0)+12|0,da(R+32|0,2,0,0)|0|0,4,0);ea(c+(S*48|0)+18|0,64|0,2,0);ea(c+(S*48|0)+4|0,b|0,4,0);ea(c+(S*48|0)+16|0,da(c+(b*48|0)+16|0,2,0,0)|0|0|0,2,0);T=c+(b*48|0)+22|0;ea(T>>0|0,(da(T>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0);T=c+(b*48|0)+20|0;ea(T|0,da(T|0,2,0,1)|0|8|0,2,0);T=c+(b*48|0)+40|0;V=da(T+4|0,4,0,0)|0|0;U=c+(S*48|0)+40|0;ea(U|0,da(T|0,4,0,0)|0|0,4,0);ea(U+4|0,V|0,4,0);c=c+(b*48|0)|0}V=c+32|0;U=V;b=da(U+4|0,4,0,0)|0|K;ea(V|0,da(U|0,4,0,0)|0|J|0,4,0);ea(V+4|0,b|0,4,0)}while(0);return}function Eu(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0;k=i;i=i+112|0;if((i|0)>=(j|0))ba();h=k;f=Cv(h,a,b,c,f,g)|0;a:do if(!f)f=0;else{g=f;f=0;do{b=g+32|0;c=da(b|0,4,0,0)|0|0;b=da(b+4|0,4,0,0)|0|0;if((c&d|0)==0&(b&e|0)==0){if((c|0)==0&(b|0)==0?((da(g+18|0,2,0,0)|0)&2)!=0:0){f=g;break a}f=(f|0)==0?g:f}g=Dv(h)|0}while((g|0)!=0)}while(0);i=k;return f|0}function Fu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,_=0,aa=0,ca=0,ga=0,ha=0,ia=0,ja=0,ka=0;ja=i;i=i+16|0;if((i|0)>=(j|0))ba();ga=ja;q=da(a|0,4,0,0)|0|0;aa=da(q|0,4,0,0)|0|0;ha=da(aa|0,4,0,0)|0|0;_=da(a+4|0,4,0,0)|0|0;ca=da(a+12|0,4,0,0)|0|0;p=da(ca+16>>0|0,1,0,1)|0|0;q=da(q+4|0,4,0,0)|0|0;X=da(q+(p*72|0)+24|0,4,0,0)|0|0;s=da(a+8|0,4,0,0)|0|0;Y=_+20|0;_=_+12|0;d=da(_|0,4,0,0)|0|0;if((d|0)>0){f=da(q+(p*72|0)+48|0,4,0,0)|0|0;g=0;e=0;h=da(Y|0,4,0,0)|0|0;while(1){if((da(h+8|0,4,0,0)|0|0)==(f|0))e=(((da(h+18|0,2,0,0)|0)&-1153)<<16>>16!=0&1)+e|0;g=g+1|0;if((g|0)==(d|0))break;else h=h+48|0}}else e=0;if(!s)o=0;else{m=da(s|0,4,0,0)|0|0;a:do if((m|0)>0){h=da(s+4|0,4,0,0)|0|0;g=q+(p*72|0)+48|0;l=0;while(1){f=da(h+(l*20|0)|0,4,0,0)|0|0;if((da(f>>0|0,1,0,0)|0|0)!=-102){d=l;break a}d=l+1|0;if((da(f+28|0,4,0,0)|0|0)!=(da(g|0,4,0,0)|0|0)){d=l;break a}if((d|0)<(m|0))l=d;else break}}else d=0;while(0);o=(d|0)==(m|0)?m:0}d=(e*20|0)+56+(o<<3)|0;W=lh(ha,d,0)|0;do if(!W){sh(aa,15776,ga);d=7}else{ew(W|0,0,d|0)|0;d=W+56|0;n=d+(e*12|0)|0;ea(W|0,e|0,4,0);T=W+8|0;ea(T|0,o|0,4,0);U=W+4|0;ea(U|0,d|0,4,0);ea(W+12|0,n|0,4,0);V=W+16|0;ea(V|0,n+(o<<3)|0,4,0);f=da(_|0,4,0,0)|0|0;if((f|0)>0){l=da(q+(p*72|0)+48|0,4,0,0)|0|0;h=0;m=0;g=da(Y|0,4,0,0)|0|0;while(1){if((da(g+8|0,4,0,0)|0|0)==(l|0)?(t=da(g+18|0,2,0,0)|0|0,(t&-1153)<<16>>16!=0):0){ea(d+(m*12|0)|0,da(g+12|0,4,0,0)|0|0,4,0);ea(d+(m*12|0)+8|0,h|0,4,0);ea(d+(m*12|0)+4>>0|0,((t&255)==1?2:t&255)|0,1,0);m=m+1|0}h=h+1|0;if((h|0)==(f|0))break;else g=g+48|0}}if((o|0)>0){d=da(s+4|0,4,0,0)|0|0;e=0;do{ea(n+(e<<3)|0,da((da(d+(e*20|0)|0,4,0,0)|0|0)+32|0,2,0,0)|0|0,4,0);ea(n+(e<<3)+4>>0|0,da(d+(e*20|0)+12>>0|0,1,0,0)|0|0|0,1,0);e=e+1|0}while((e|0)!=(o|0))}v=ca;ea(v|0,0|0,4,0);ea(v+4|0,0|0,4,0);v=ca+18|0;ea(v|0,0|0,2,0);ea(ca+36|0,1024|0,4,0);w=ca+40|0;ea(w|0,0|0,2,0);x=ca+28|0;ea(x>>0|0,0|0,1,0);y=da(V|0,4,0,0)|0|0;z=da(W|0,4,0,0)|0|0;if(Mu(ha,ca,z)|0){lg(ha,W);d=7;break}R=W+28|0;S=W+24|0;A=W+20|0;B=W+32|0;D=W+40|0;E=W+48|0;F=X+60|0;G=aa+64|0;H=(z|0)>0;I=ca+30|0;J=ca+24|0;K=ca+32|0;L=ca+29|0;O=ca+20|0;P=ca+22|0;Q=ca+48|0;q=0;t=0;s=0;b:while(1){if(!((t|0)!=0|(q&1|0)==0))if((q|0)>2){d=0;break}else u=q+1|0;else u=q;if((s|0)==0&(u|0)>1){d=0;break}h=da(W|0,4,0,0)|0|0;if((h|0)>0){e=da(Y|0,4,0,0)|0|0;f=0;g=da(U|0,4,0,0)|0|0;while(1){q=da(g+8|0,4,0,0)|0|0;if((u|0)==2)ea(g+5>>0|0,(da(e+(q*48|0)+18|0,2,0,0)|0)&1^1|0,1,0);else if(!u){d=g+5|0;ea(d>>0|0,0|0,1,0);p=((da(e+(q*48|0)+18|0,2,0,0)|0)&1)==0;t=p?t:1;q=e+(q*48|0)+32|0;q=(da(q|0,4,0,0)|0|0)!=0|(da(q+4|0,4,0,0)|0|0)!=0;if(q|p^1)s=q?1:s;else ea(d>>0|0,1|0,1,0)}else if((u|0)==1){p=e+(q*48|0)+32|0;ea(g+5>>0|0,(da(p|0,4,0,0)|0|0)==0&(da(p+4|0,4,0,0)|0|0)==0&1|0,1,0)}else ea(g+5>>0|0,1|0,1,0);f=f+1|0;if((f|0)>=(h|0)){p=t;break}else g=g+12|0}}else p=t;ew(y|0,0,h<<3|0)|0;if(da(R|0,4,0,0)|0)Vc(da(S|0,4,0,0)|0|0);ea(A+0|0,0|0,4,0);ea(A+4|0,0|0,4,0);ea(A+8|0,0|0,4,0);ea(A+12|0,0|0,4,0);ea(D|0,+(5.e+98),8,1);d=E;ea(d|0,25|0,4,0);ea(d+4|0,0|0,4,0);d=da(aa|0,4,0,0)|0|0;q=F;while(1){q=da(q|0,4,0,0)|0|0;if((da(q|0,4,0,0)|0|0)==(d|0))break;else q=q+24|0}t=da(q+8|0,4,0,0)|0|0;q=qc[(fa(da((da(t|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,127|0)|0)&127](t,W)|0;do if((q|0)==7)ea((da(aa|0,4,0,0)|0|0)+65>>0|0,1|0,1,0);else if(q){d=da(t+8|0,4,0,0)|0|0;if(d){ea(ga|0,d|0,4,0);sh(aa,10344,ga);break}if((q|0)!=516){q=q&255;if(q>>>0>26|(q|0)==2)q=16328;else q=da(15488+(q<<2)|0,4,0,0)|0|0}else q=16344;ea(ga|0,q|0,4,0);sh(aa,10344,ga)}while(0);q=t+8|0;Vc(da(q|0,4,0,0)|0|0);ea(q|0,0|0,4,0);q=da(W|0,4,0,0)|0|0;if((q|0)>0){d=0;do{if((da((da(U|0,4,0,0)|0|0)+(d*12|0)+5>>0|0,1,0,0)|0|0)==0?(da((da(V|0,4,0,0)|0|0)+(d<<3)|0,4,0,0)|0|0)>0:0){ea(ga|0,da(X|0,4,0,0)|0|0,4,0);sh(aa,34096,ga);q=da(W|0,4,0,0)|0|0}d=d+1|0}while((d|0)<(q|0))}d=da(G|0,4,0,0)|0|0;if(d)break;t=da(U|0,4,0,0)|0|0;o=ca;ea(o|0,b|0,4,0);ea(o+4|0,c|0,4,0);c:do if(H){q=0;do{ea((da(Q|0,4,0,0)|0|0)+(q<<2)|0,0|0,4,0);q=q+1|0}while((q|0)!=(z|0));ea(I|0,0|0,2,0);if(H){f=b;e=c;d=0;o=0;q=-1;while(1){h=da(y+(o<<3)|0,4,0,0)|0|0;l=h+-1|0;do if((h|0)>0){m=da(t+8|0,4,0,0)|0|0;if((h|0)>(z|0)|(m|0)<0){ia=65;break b}if((m|0)>=(da(_|0,4,0,0)|0|0)){ia=65;break b}g=(da(Q|0,4,0,0)|0|0)+(l<<2)|0;if(da(g|0,4,0,0)|0){ia=65;break b}n=da(Y|0,4,0,0)|0|0;ka=n+(m*48|0)+32|0;f=f|(da(ka|0,4,0,0)|0);e=e|(da(ka+4|0,4,0,0)|0);ka=ca;ea(ka|0,f|0,4,0);ea(ka+4|0,e|0,4,0);ea(g|0,n+(m*48|0)|0,4,0);q=(l|0)>(q|0)?l:q;do if((h|0)<17){if(!(da(y+(o<<3)+4>>0|0,1,0,0)|0))break;d=(d&65535|1<<l)&65535;ea(I|0,d|0,2,0)}while(0);if(!((da(n+(m*48|0)+18|0,2,0,0)|0)&1))break;if(!(da(y+(o<<3)+4>>0|0,1,0,0)|0))break c;ea(B|0,0|0,4,0)}while(0);o=o+1|0;if((o|0)>=(z|0)){ia=73;break}else t=t+12|0}}else{q=-1;ia=73}}else{ea(I|0,0|0,2,0);q=-1;ia=73}while(0);if((ia|0)==73){ia=0;ea(w|0,q+1|0,2,0);ea(J|0,da(A|0,4,0,0)|0|0,4,0);ea(x>>0|0,da(R|0,4,0,0)|0|0,1,0);ea(R|0,0|0,4,0);ea(K|0,da(S|0,4,0,0)|0|0,4,0);if(!(da(B|0,4,0,0)|0))q=0;else q=(da(T|0,4,0,0)|0)&255;ea(L>>0|0,q|0,1,0);ea(v|0,0|0,2,0);r=+(+da(D|0,8,1,0));ea(k|0,+r,8,1);q=da(k|0,4,0,0)|0|0;d=da(k+4|0,4,0,0)|0|0;do if(!(r<=1.0))if(!(r<=2.0e9)){q=lw(q|0,d|0,52)|0;q=iw(q|0,C|0,64514,0)|0;q=(q<<16>>16)*10&65535;break}else{q=es(~~r>>>0,+N(r)>=1.0?(r>0.0?~~+$(+M(r/4294967296.0),4294967295.0)>>>0:~~+Z((r-+(~~r>>>0))/4294967296.0)>>>0):0)|0;break}else q=0;while(0);ea(O|0,q|0,2,0);o=E;ea(P|0,es(da(o|0,4,0,0)|0|0,da(o+4|0,4,0,0)|0|0)|0|0,2,0);Ev(a,ca)|0;if(da(x>>0|0,1,0,0)|0){Vc(da(K|0,4,0,0)|0|0);ea(x>>0|0,0|0,1,0)}}q=u+1|0;if((q|0)>=4){d=0;break}else t=p}if((ia|0)==65){ea(ga|0,da(X|0,4,0,0)|0|0,4,0);sh(aa,34064,ga);d=1}if(da(R|0,4,0,0)|0)Vc(da(S|0,4,0,0)|0|0);lg(ha,W)}while(0);i=ja;return d|0}function Gu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;Y=i;i=i+64|0;if((i|0)>=(j|0))ba();k=Y;h=Y+56|0;g=Y+52|0;ea(g|0,-1|0,2,0);V=da(a+12|0,4,0,0)|0|0;W=da(a|0,4,0,0)|0|0;D=da(W+4|0,4,0,0)|0|0;E=da(V+16>>0|0,1,0,1)|0|0;Q=D+(E*72|0)+8|0;f=D+(E*72|0)+24|0;F=da(f|0,4,0,0)|0|0;R=da(a+4|0,4,0,0)|0|0;S=D+(E*72|0)+76|0;d=da(S|0,4,0,0)|0|0;do if(!d){if((da(F+44>>0|0,1,0,0)|0)&32){k=da(F+8|0,4,0,0)|0|0;break}d=k+0|0;e=d+52|0;do{ea(d|0,0|0,4,0);d=d+4|0}while((d|0)<(e|0));ea(k+46|0,1|0,2,0);ea(k+48|0,1|0,2,0);ea(k+4|0,g|0,4,0);ea(k+8|0,h|0,4,0);ea(k+50>>0|0,5|0,1,0);ea(k+12|0,F|0,4,0);ea(k+44|0,da(F+42|0,2,0,0)|0|0|0,2,0);ea(h|0,da(F+28|0,2,0,0)|0|0|0,2,0);ea(h+2|0,0|0,2,0);if(!((da(D+(E*72|0)+45>>0|0,1,0,0)|0)&1))ea(k+20|0,da((da(f|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,4,0)}else k=d;while(0);h=da(F+28|0,2,0,0)|0|0;if(h<<16>>16<11)y=0;else{y=h<<16>>16;y=((es(y,((y|0)<0)<<31>>31)|0)&65535)+65503&65535}if(((((((da(a+16|0,4,0,0)|0|0)==0?((da(W+34|0,2,0,0)|0)&128)==0:0)?((da((da(da(W|0,4,0,0)|0|0,4,0,0)|0|0)+24|0,4,0,0)|0)&1048576|0)!=0:0)?(da(S|0,4,0,0)|0|0)==0:0)?(l=da(D+(E*72|0)+45>>0|0,1,0,0)|0|0,(l&5)==0):0)?(B=F+44|0,(l&10|(da(B>>0|0,1,0,0)|0)&32)<<24>>24==0):0)?(z=da(R+20|0,4,0,0)|0|0,P=da(R+12|0,4,0,0)|0|0,A=z+(P*48|0)|0,(P|0)>0):0){s=V+8|0;t=V+24|0;u=V+42|0;v=V+28|0;w=V+40|0;x=V+48|0;o=(y&65535)+(h&65535)|0;e=o+4&65535;m=V+18|0;n=F+12|0;o=o+28&65535;p=V+22|0;q=V+20|0;r=V+36|0;f=z;do{l=f+32|0;h=l;g=s;if((((da(g|0,4,0,0)|0)&(da(h|0,4,0,0)|0)|0)==0?((da(g+4|0,4,0,0)|0)&(da(h+4|0,4,0,0)|0)|0)==0:0)?(Lu(f,Q,0,0)|0)!=0:0){ea(t|0,1|0,2,0);ea(u|0,0|0,2,0);ea(v|0,0|0,4,0);ea(w|0,1|0,2,0);ea(da(x|0,4,0,0)|0|0,f|0,4,0);ea(m|0,e|0,2,0);if((da(n|0,4,0,0)|0|0)==0?((da(B>>0|0,1,0,0)|0)&2)==0:0)ea(m|0,o|0,2,0);ea(p|0,43|0,2,0);ea(q|0,Fv(y,43)|0|0,2,0);ea(r|0,16384|0,4,0);O=l;d=da(O+4|0,4,0,0)|0|c;P=V;ea(P|0,da(O|0,4,0,0)|0|b|0,4,0);ea(P+4|0,d|0,4,0);d=Ev(a,V)|0}else d=0;f=f+48|0}while((d|0)==0&f>>>0<A>>>0)}else d=0;P=V+36|0;a:do if((d|0)==0&(k|0)!=0){G=V+24|0;H=V+42|0;I=V+40|0;J=V+17|0;K=V+18|0;L=V+22|0;M=V+28|0;N=D+(E*72|0)+48|0;O=V+20|0;u=D+(E*72|0)+64|0;A=F+42|0;D=F+44|0;p=W+34|0;q=R+12|0;s=R+20|0;t=1;while(1){l=da(k+36|0,4,0,0)|0|0;d=da(N|0,4,0,0)|0|0;b:do if(l){h=da(q|0,4,0,0)|0|0;if((h|0)>0){f=0;e=da(s|0,4,0,0)|0|0;while(1){g=da(e|0,4,0,0)|0|0;if(Gv(g,l,d)|0){if(!((da(g+4|0,4,0,0)|0)&1)){X=32;break b}if((da(g+36|0,2,0,0)|0|0)==(d|0)){X=32;break b}}f=f+1|0;if((f|0)>=(h|0)){d=0;break}else e=e+48|0}}else d=0}else X=32;while(0);if((X|0)==32){X=0;E=da(da(k+8|0,4,0,0)|0|0,2,0,0)|0|0;ea(G|0,0|0,2,0);ea(H|0,0|0,2,0);ea(I|0,0|0,2,0);ea(J>>0|0,0|0,1,0);ea(K|0,0|0,2,0);F=V;ea(F|0,b|0,4,0);ea(F+4|0,c|0,4,0);ea(L|0,E|0,2,0);ea(M|0,k|0,4,0);F=k+51|0;l=da(F>>0|0,1,0,0)|0|0;c:do if(((l&4)==0?(T=da((da(a|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,(T|0)!=0):0)?(U=da(T|0,4,0,0)|0|0,(U|0)>0):0){B=da(T+4|0,4,0,0)|0|0;o=k+46|0;n=k+4|0;m=0;while(1){r=da(B+(m*20|0)|0,4,0,0)|0|0;d:do if(!r)r=0;else while(1){y=da(r+4|0,4,0,0)|0|0;if(!(y&4096))break d;if(!(y&262144))r=r+12|0;else r=da((da(r+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;r=da(r|0,4,0,0)|0|0;if(!r){r=0;break}}while(0);if((da(r>>0|0,1,0,0)|0|0)!=-102){B=0;break c}if((da(r+28|0,4,0,0)|0|0)==(d|0)){x=da(r+32|0,2,0,0)|0|0;if(x<<16>>16<0){B=1;break c}y=da(o|0,2,0,0)|0|0;if(y<<16>>16){w=da(n|0,4,0,0)|0|0;y=y&65535;z=0;do{if(x<<16>>16==(da(w+(z<<1)|0,2,0,0)|0|0)){B=1;break c}z=z+1|0}while((z|0)<(y|0))}}m=m+1|0;if((m|0)>=(U|0)){B=0;break}}}else B=0;while(0);do if((da(k+40|0,4,0,0)|0|0)<1){ea(P|0,256|0,4,0);ea(J>>0|0,((B|0)!=0?t&255:0)|0,1,0);ea(O|0,(E&65535)+16|0,2,0);Hv(R,V,E);d=Ev(a,V)|0;ea(L|0,E|0,2,0);if(d)break a}else{if(!(l&32)){v=u;w=da(v|0,4,0,0)|0|0;v=da(v+4|0,4,0,0)|0|0;z=k+4|0;r=0;l=0;x=da(k+48|0,2,0,1)|0|0;e:while(1){y=x;while(1){x=y+-1|0;if((y|0)<=0)break e;y=da((da(z|0,4,0,0)|0|0)+(x<<1)|0,2,0,0)|0|0;if((y&65535)<63)break;else y=x}o=hw(1,0,y<<16>>16|0)|0;r=o|r;l=C|l}o=w&~r;l=v&~l;x=o;w=l;l=(o|0)==0&(l|0)==0?576:512}else{x=0;w=0;l=576}ea(P|0,l|0,4,0);l=(B|0)!=0;if(!l?((da(D>>0|0,1,0,0)|0)&32)==0:0){if(!((x|0)==0&(w|0)==0))break;if((da(F>>0|0,1,0,0)|0)&4)break;if((da(k+44|0,2,0,0)|0|0)>=(da(A|0,2,0,0)|0|0))break;if(!(((da(p|0,2,0,0)|0)&4)==0&(da(2190*4|0,4,0,0)|0|0)!=0))break;if((da((da(da(W|0,4,0,0)|0|0,4,0,0)|0|0)+60|0,2,0,0)|0)&64)break}ea(J>>0|0,(l?t&255:0)|0,1,0);h=E<<16>>16;l=h+1+(((da(k+44|0,2,0,0)|0|0)*15|0)/(da(A|0,2,0,0)|0|0)|0)&65535;if(!((x|0)==0&(w|0)==0))l=Fv(l,h+16&65535)|0;ea(O|0,l|0,2,0);Hv(R,V,E);d=Ev(a,V)|0;ea(L|0,E|0,2,0);if(d)break a}while(0);d=Iv(a,Q,k,0)|0;if(da(S|0,4,0,0)|0)break a}k=da(k+20|0,4,0,0)|0|0;if(!((d|0)==0&(k|0)!=0))break;else t=t+1|0}}while(0);i=Y;return d|0}function Hu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;W=i;i=i+608|0;if((i|0)>=(j|0))ba();U=W+168|0;S=W+576|0;T=W+112|0;Q=W+56|0;R=W;d=da(a|0,4,0,0)|0|0;N=da(a+4|0,4,0,0)|0|0;h=da(N+20|0,4,0,0)|0|0;g=da(N+12|0,4,0,0)|0|0;P=h+(g*48|0)|0;M=da(a+12|0,4,0,0)|0|0;e=T+0|0;f=e+56|0;do{ea(e|0,0|0,4,0);e=e+4|0}while((e|0)<(f|0));f=da(d+4|0,4,0,0)|0|0;e=da(M+16>>0|0,1,0,1)|0|0;L=da(f+(e*72|0)+48|0,4,0,0)|0|0;a:do if((g|0)>0){v=M+8|0;w=S+8|0;x=S+16|0;y=M+40|0;z=M+48|0;A=M+36|0;B=M+18|0;C=M+17|0;D=M+24|0;E=M+20|0;F=M+22|0;G=U+4|0;H=U+8|0;I=U+12|0;J=U+20|0;K=S+4|0;r=f+(e*72|0)+24|0;s=R+8|0;t=T+8|0;u=Q+8|0;while(1){b:do if(((da(h+18|0,2,0,0)|0)&256)!=0?(O=da(h+12|0,4,0,0)|0|0,g=O+408|0,f=v,!(((da(f|0,4,0,0)|0)&(da(g|0,4,0,0)|0)|0)==0?((da(f+4|0,4,0,0)|0)&(da(g+4|0,4,0,0)|0)|0)==0:0)):0){g=O+20|0;q=(da(g|0,4,0,0)|0|0)+((da(O+12|0,4,0,0)|0|0)*48|0)|0;ea(S+0|0,da(a+0|0,4,0,0)|0|0,4,0);ea(S+4|0,da(a+4|0,4,0,0)|0|0,4,0);ea(S+8|0,da(a+8|0,4,0,0)|0|0,4,0);ea(S+12|0,da(a+12|0,4,0,0)|0|0,4,0);ea(w|0,0|0,4,0);ea(x|0,Q|0,4,0);g=da(g|0,4,0,0)|0|0;c:do if(g>>>0<q>>>0){e=1;d=0;d:while(1){if(!((da(g+18|0,2,0,0)|0)&512))if((da(g+8|0,4,0,0)|0|0)==(L|0)){ea(U|0,da(N|0,4,0,0)|0|0,4,0);ea(G|0,N|0,4,0);ea(H>>0|0,72|0,1,0);ea(I|0,1|0,4,0);ea(J|0,g|0,4,0);f=U;V=10}else f=e;else{f=da(g+12|0,4,0,0)|0|0;V=10}do if((V|0)==10){V=0;ea(K|0,f|0,4,0);ea(Q|0,0|0,2,0);if(!((da((da(r|0,4,0,0)|0|0)+44>>0|0,1,0,0)|0)&16))d=Gu(S,b,c)|0;else d=Fu(S,b,c)|0;if(!d)d=Hu(S,b,c)|0;f=da(Q|0,2,0,0)|0|0;if(!(f<<16>>16))break d;if(e){ea(T|0,f|0,2,0);jw(t|0,u|0,(f&65535)<<4|0)|0;f=0;break}o=da(T|0,2,0,0)|0|0;ea(R|0,o|0,2,0);p=o&65535;jw(s|0,t|0,p<<4|0)|0;ea(T|0,0|0,2,0);if(!(o<<16>>16))f=0;else{o=0;do{if(!(f<<16>>16))f=0;else{k=R+(o<<4)+8|0;e=da(k|0,4,0,0)|0|0;k=da(k+4|0,4,0,0)|0|0;l=da(R+(o<<4)+16|0,2,0,0)|0|0;m=da(R+(o<<4)+18|0,2,0,0)|0|0;n=0;do{X=Q+(n<<4)+8|0;Y=da(X|0,4,0,0)|0|e;X=da(X+4|0,4,0,0)|0|k;f=Fv(l,da(Q+(n<<4)+16|0,2,0,0)|0|0)|0;Jv(T,Y,X,f,Fv(m,da(Q+(n<<4)+18|0,2,0,0)|0|0)|0);n=n+1|0;f=da(Q|0,2,0,0)|0|0}while((n|0)<(f&65535|0))}o=o+1|0}while((o|0)<(p|0));f=0}}while(0);g=g+48|0;if(g>>>0>=q>>>0)break c;else e=f}ea(T|0,0|0,2,0)}else d=0;while(0);ea(y|0,1|0,2,0);ea(da(z|0,4,0,0)|0|0,h|0,4,0);ea(A|0,8192|0,4,0);ea(B|0,0|0,2,0);ea(C>>0|0,0|0,1,0);ea(D+0|0,0|0,4,0);ea(D+4|0,0|0,4,0);ea(D+8|0,0|0,4,0);if(d)break a;g=da(T|0,2,0,1)|0|0;f=0;while(1){if((f|0)>=(g|0))break b;ea(E|0,(da(T+(f<<4)+16|0,2,0,1)|0|0)+1|0,2,0);ea(F|0,da(T+(f<<4)+18|0,2,0,0)|0|0|0,2,0);n=T+(f<<4)+8|0;d=da(n+4|0,4,0,0)|0|0;o=M;ea(o|0,da(n|0,4,0,0)|0|0,4,0);ea(o+4|0,d|0,4,0);d=Ev(a,M)|0;if(!d)f=f+1|0;else break a}}while(0);h=h+48|0;if(h>>>0>=P>>>0){d=0;break}}}else d=0;while(0);i=W;return d|0}function Iu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b+48|0;d=da(c|0,4,0,0)|0|0;e=b+56|0;if((d|0)!=(e|0))lg(a,d);Kv(a,b);ea(c|0,e|0,4,0);ea(b+40|0,0|0,2,0);ea(b+44|0,3|0,2,0);ea(b+36|0,0|0,4,0);return}function Ju(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,$=0,aa=0,ca=0,fa=0,ga=0,ha=0,ia=0,ja=0;ja=i;i=i+32|0;if((i|0)>=(j|0))ba();Y=ja+24|0;V=ja+16|0;aa=ja+8|0;ia=ja;X=da(a|0,4,0,0)|0|0;fa=da(X|0,4,0,0)|0|0;k=da(a+41>>0|0,1,0,0)|0|0;ga=k&255;if((k&255)<2)R=1;else R=k<<24>>24==2?5:10;ha=a+8|0;f=da(ha|0,4,0,0)|0|0;Z=b<<16>>16==0;if((f|0)==0|Z)Q=0;else Q=da(f|0,4,0,0)|0|0;g=Q<<1;ca=g+(_((ga<<3)+64|0,R)|0)|0;ca=lh(fa,ca,((ca|0)<0)<<31>>31)|0;do if(ca){f=ca+(R<<5)|0;ea(f+0|0,0|0,4,0);ea(f+4|0,0|0,4,0);ea(f+8|0,0|0,4,0);ea(f+12|0,0|0,4,0);ea(f+16|0,0|0,4,0);ea(f+20|0,0|0,4,0);ea(f+24|0,0|0,4,0);ea(f+28|0,0|0,4,0);c=R<<1;h=_(R,-2)|0;h=ca+((_((((h|0)>-1?h:1073741823)+(R<<1)<<2)+4|0,ga)|0)+(R<<6))|0;e=c;d=ca;c=ca+(c<<5)|0;while(1){ea(d+24|0,c|0,4,0);e=e+-1|0;if((e|0)<=0)break;else{d=d+32|0;c=c+(ga<<2)|0}}e=(Q|0)!=0;if(e)ew(h|0,0,g|0)|0;else h=0;P=da(X+424|0,4,0,0)|0|0;ea(ca+(R<<5)+16|0,(P>>>0<48?P&65535:48)|0,2,0);if(e)ea(ca+(R<<5)+22>>0|0,(k<<24>>24!=0?-1:Q&255)|0,1,0);P=k<<24>>24==0;if(!P){L=a+16|0;M=a+34|0;N=b<<16>>16<11;O=(b&65535)+16|0;I=b<<16>>16;J=((I|0)<0)<<31>>31;K=R>>>0>1;c=ca;H=0;g=0;k=0;b=0;d=1;while(1){if((d|0)>0){C=H&65535;D=H<<2;E=c+18|0;F=c+16|0;G=0;e=0;B=f;while(1){l=da(L|0,4,0,0)|0|0;if(l){w=B+22|0;x=B+16|0;y=B+20|0;z=B+24|0;A=B+8|0;v=e;while(1){o=da(w>>0|0,1,0,0)|0|0;e=V;ea(e|0,0|0,4,0);ea(e+4|0,0|0,4,0);e=l;n=B;m=da(n|0,4,0,0)|0|0;n=da(n+4|0,4,0,0)|0|0;a:do if((((da(e|0,4,0,0)|0)&~m|0)==0?((da(e+4|0,4,0,0)|0)&~n|0)==0:0)?(S=l+8|0,U=S,T=da(U|0,4,0,0)|0|0,U=da(U+4|0,4,0,0)|0|0,(T&m|0)==0&(U&n|0)==0):0){s=da(x|0,2,0,1)|0|0;t=Fv(da(l+18|0,2,0,0)|0|0,s+(da(l+20|0,2,0,1)|0|0)&65535)|0;t=Fv(t,da(y|0,2,0,0)|0|0)|0;s=(da(l+22|0,2,0,1)|0|0)+s|0;u=s&65535;r=T|m;q=U|n;if(o<<24>>24<0)o=Lv(a,da(ha|0,4,0,0)|0|0,B,da(M|0,2,0,0)|0|0,C,l,V)|0;else{n=A;m=da(n+4|0,4,0,0)|0|0;e=V;ea(e|0,da(n|0,4,0,0)|0|0,4,0);ea(e+4|0,m|0,4,0)}n=o<<24>>24;if(o<<24>>24>-1&(Q|0)>(n|0)){p=h+(n<<1)|0;m=da(p|0,2,0,0)|0|0;if(!(m<<16>>16)){n=((Q-n|0)*100|0)/(Q|0)|0;n=(es(n,((n|0)<0)<<31>>31)|0)&65535;if(N)e=0;else e=((es(I,J)|0)&65535)+65503&65535;n=O+(((n<<16)+-4325376|0)>>>16)+e|0;if((da(M|0,2,0,0)|0)&1024)n=(n&65535)+16|0;m=n&65535;ea(p|0,m|0,2,0)}p=Fv(t,m)|0}else p=t;b:do if((v|0)>0){e=0;m=c;while(1){n=m;if(((da(n|0,4,0,0)|0|0)==(r|0)?(da(n+4|0,4,0,0)|0|0)==(q|0):0)?((da(m+22>>0|0,1,0,0)|0)^o)<<24>>24>-1:0)break;e=e+1|0;if((e|0)>=(v|0)){W=35;break b}else m=m+32|0}e=da(m+18|0,2,0,0)|0|0;if(e<<16>>16<p<<16>>16){e=v;break a}if(e<<16>>16!=p<<16>>16){e=v;break}if((da(m+16|0,2,0,0)|0|0)>(s<<16>>16|0))e=v;else{e=v;break a}}else W=35;while(0);if((W|0)==35){W=0;m=(v|0)<(R|0);if(!m){if(p<<16>>16>g<<16>>16){e=v;break}if(!(p<<16>>16!=g<<16>>16?1:t<<16>>16<b<<16>>16)){e=v;break}}e=(m&1)+v|0;m=c+((m?v:k)<<5)|0}q=B;s=S;r=da(s+4|0,4,0,0)|0|(da(q+4|0,4,0,0)|0);n=m;ea(n|0,da(s|0,4,0,0)|0|(da(q|0,4,0,0)|0)|0,4,0);ea(n+4|0,r|0,4,0);r=V;n=da(r+4|0,4,0,0)|0|0;q=m+8|0;ea(q|0,da(r|0,4,0,0)|0|0,4,0);ea(q+4|0,n|0,4,0);ea(m+16|0,u|0,2,0);ea(m+18|0,p|0,2,0);ea(m+20|0,t|0,2,0);ea(m+22>>0|0,o|0,1,0);m=m+24|0;jw(da(m|0,4,0,0)|0|0,da(z|0,4,0,0)|0|0,D|0)|0;ea((da(m|0,4,0,0)|0|0)+(H<<2)|0,l|0,4,0);if((e|0)<(R|0))break;g=da(E|0,2,0,0)|0|0;b=da(F|0,2,0,0)|0|0;if(K){o=c;p=1;n=g;k=0;m=b}else{k=0;break}while(1){g=da(o+50|0,2,0,0)|0|0;do if(g<<16>>16<=n<<16>>16){if(g<<16>>16!=n<<16>>16){g=n;b=m;break}b=da(o+52|0,2,0,0)|0|0;if(b<<16>>16>m<<16>>16)W=48;else{g=n;b=m}}else{b=da(o+52|0,2,0,0)|0|0;W=48}while(0);o=o+32|0;if((W|0)==48){W=0;k=p}p=p+1|0;if((p|0)>=(R|0))break;else{n=g;m=b}}}else e=v;while(0);l=da(l+52|0,4,0,0)|0|0;if(!l)break;else v=e}}G=G+1|0;if((G|0)==(d|0)){d=e;break}else B=B+32|0}}else d=0;H=H+1|0;if((H|0)>=(ga|0))break;else{G=c;c=f;f=G}}if(!d){sh(X,34008,Y);lg(fa,ca);break}if((d|0)>1){e=1;f=c;do{if((da(f+18|0,2,0,0)|0|0)>(da(c+(e<<5)+18|0,2,0,0)|0|0))f=c+(e<<5)|0;e=e+1|0}while((e|0)!=(d|0))}else f=c;if(!P){d=a+4|0;e=da(f+24|0,4,0,0)|0|0;c=0;do{W=da(e+(c<<2)|0,4,0,0)|0|0;ea(a+(c*80|0)+800|0,W|0,4,0);W=da(W+16>>0|0,1,0,0)|0|0;ea(a+(c*80|0)+780>>0|0,W|0,1,0);ea(a+(c*80|0)+740|0,da((da(d|0,4,0,0)|0|0)+((W&255)*72|0)+48|0,4,0,0)|0|0,4,0);c=c+1|0}while((c|0)<(ga|0))}}d=a+34|0;if((((da(d|0,2,0,0)|0)&1536)==1024?($=a+40|0,!((da($>>0|0,1,0,0)|0|0)!=0|Z)):0)?(W=a+12|0,V=ga+-1|0,V=(Lv(a,da(W|0,4,0,0)|0|0,f,512,V&65535,da((da(f+24|0,4,0,0)|0|0)+(V<<2)|0,4,0,0)|0|0,aa)|0)<<24>>24,(V|0)==(da(da(W|0,4,0,0)|0|0,4,0,0)|0|0)):0)ea($>>0|0,2|0,1,0);e=da(ha|0,4,0,0)|0|0;if(e){c=da(d|0,2,0,0)|0|0;d=da(f+22>>0|0,1,0,0)|0|0;if(c&512){if((d<<24>>24|0)==(da(e|0,4,0,0)|0|0))ea(a+40>>0|0,2|0,1,0)}else{ea(a+36>>0|0,(d<<24>>24<0?0:d)|0,1,0);U=f+8|0;W=da(U+4|0,4,0,0)|0|0;V=a+24|0;ea(V|0,da(U|0,4,0,0)|0|0,4,0);ea(V+4|0,W|0,4,0)}if(((c&2048)!=0?(da(a+36>>0|0,1,0,0)|0|0)==(da(e|0,4,0,0)|0|0):0)?(W=ia,ea(W|0,0|0,4,0),ea(W+4|0,0|0,4,0),W=ga+-1|0,W=(Lv(a,e,f,0,W&65535,da((da(f+24|0,4,0,0)|0|0)+(W<<2)|0,4,0,0)|0|0,ia)|0)<<24>>24,(W|0)==(da(da(ha|0,4,0,0)|0|0,4,0,0)|0|0)):0){ea(a+37>>0|0,1|0,1,0);U=ia;W=da(U+4|0,4,0,0)|0|0;V=a+24|0;ea(V|0,da(U|0,4,0,0)|0|0,4,0);ea(V+4|0,W|0,4,0)}}ea(a+32|0,da(f+16|0,2,0,0)|0|0|0,2,0);lg(fa,ca)}while(0);i=ja;return}function Ku(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if((b|0)!=0?(f=da(b|0,4,0,0)|0|0,(f|0)>0):0){d=da(b+4|0,4,0,0)|0|0;c=0;b=0;e=0;do{g=zv(a,da(d+(e*20|0)|0,4,0,0)|0|0)|0;c=g|c;b=C|b;e=e+1|0}while((e|0)<(f|0))}else{b=0;c=0}C=b;return c|0}function Lu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;do if((((da(a+8|0,4,0,0)|0|0)==(da(b+40|0,4,0,0)|0|0)?((da(a+18|0,2,0,0)|0)&2)!=0:0)?(e=a+32|0,((da(e|0,4,0,0)|0)&c|0)==0?((da(e+4|0,4,0,0)|0)&d|0)==0:0):0)?(f=da(a+12|0,4,0,0)|0|0,(f|0)>=0):0){c=da((da((da(b+16|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(f*24|0)+21>>0|0,1,0,0)|0|0;d=(mv(da(a|0,4,0,0)|0|0)|0)<<24>>24;if((d|0)==66){d=c<<24>>24==66&1;break}else if((d|0)==65){d=1;break}else{d=c<<24>>24>66&1;break}}else d=0;while(0);return d|0}function Mu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=b+44|0;if((da(g|0,2,0,1)|0|0|0)<(c|0)){d=c+7&-8;e=lh(a,d<<2,0)|0;if(!e)c=7;else{f=b+48|0;jw(e|0,da(f|0,4,0,0)|0|0,(da(g|0,2,0,1)|0|0)<<2|0)|0;c=da(f|0,4,0,0)|0|0;if((c|0)!=(b+56|0))lg(a,c);ea(f|0,e|0,4,0);ea(g|0,d|0,2,0);c=0}}else c=0;return c|0}function Nu(a,b,c){a=a|0;b=b|0;c=c|0;do if(!((da(b+4|0,4,0,0)|0)&256)){if((c|0)!=0?((da(c+4|0,4,0,0)|0)&256|0)!=0:0){b=bu(a,c)|0;break}b=bu(a,b)|0;if(!b)b=bu(a,c)|0}else b=bu(a,b)|0;while(0);return b|0}function Ou(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+144|0;if((i|0)>=(j|0))ba();p=u;t=u+8|0;k=u+36|0;if(((da(a+450>>0|0,1,0,0)|0|0)==2?(m=da(c+44>>0|0,1,0,1)|0|0,s=da(a+8|0,4,0,0)|0|0,h=da(a|0,4,0,0)|0|0,r=da(a+464|0,4,0,0)|0|0,o=da(c+64|0,4,0,0)|0|0,q=o+36|0,n=da(q|0,4,0,0)|0|0,(n&8192|0)==0):0)?(g=f&65535,(g&64|0)==0):0){f=n&48;do if(!f){if((n&1024|0)==0?(da(o+24|0,2,0,0)|0|0)!=0:0){l=1;break}l=(g&3|0)!=0}else l=1;while(0);ea(t+4|0,k|0,4,0);ea(t+8|0,k|0,4,0);ea(t+12|0,0|0,4,0);ea(t+16|0,100|0,4,0);ea(t+20|0,1e9|0,4,0);ea(t+24>>0|0,1|0,1,0);ea(t+25>>0|0,0|0,1,0);ea(t|0,h|0,4,0);a=l?33576:33584;c=a;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;Rk(t,a,c-a&1073741823);if(!(da(b+(m*72|0)+28|0,4,0,0)|0)){ea(p|0,da(b+(m*72|0)+16|0,4,0,0)|0|0,4,0);Dn(t,0,33608,p)}else{ea(p|0,da(b+(m*72|0)+46>>0|0,1,0,1)|0|0,4,0);Dn(t,0,33592,p)}a=da(b+(m*72|0)+20|0,4,0,0)|0|0;if(a){ea(p|0,a|0,4,0);Dn(t,0,33624,p)}do if(!(n&1280)){g=o+28|0;c=da(g|0,4,0,0)|0|0;f=b+(m*72|0)+24|0;if(((da((da(f|0,4,0,0)|0|0)+44>>0|0,1,0,0)|0)&32)!=0?((da(c+51>>0|0,1,0,0)|0)&3)==2:0)if(l)a=33632;else break;else if(!(n&131072))if(!(n&16384))a=(n&64|0)==0?33744:33720;else a=33688;else a=33648;Rk(t,33760,7);ea(p|0,da(c|0,4,0,0)|0|0,4,0);Dn(t,0,a,p);n=da(o+24|0,2,0,0)|0|0;l=da((da(f|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;k=da((da(g|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;c=n&65535;if(!(n<<16>>16)){if(!((da(q|0,4,0,0)|0)&48))break;Rk(t,33904,2);g=0}else{f=da(o+42|0,2,0,0)|0|0;Rk(t,33904,2);f=f&65535;g=0;do{a=da(k+(g<<1)|0,2,0,0)|0|0;if(a<<16>>16<0)a=20456;else a=da(l+((a<<16>>16)*24|0)|0,4,0,0)|0|0;if((g|0)<(f|0)){if(g)Rk(t,33920,5);ea(p|0,a|0,4,0);Dn(t,0,33928,p)}else Mv(t,g,a,33912);g=g+1|0}while((g|0)<(c|0));g=c>>>0>1?c:1}f=da(q|0,4,0,0)|0|0;if(!(f&32))a=g;else{f=da(k+(g<<1)|0,2,0,0)|0|0;if(f<<16>>16<0)f=20456;else f=da(l+((f<<16>>16)*24|0)|0,4,0,0)|0|0;Mv(t,g,f,33936);f=da(q|0,4,0,0)|0|0;a=g+1|0}if(f&16){g=da(k+(g<<1)|0,2,0,0)|0|0;if(g<<16>>16<0)g=20456;else g=da(l+((g<<16>>16)*24|0)|0,4,0,0)|0|0;Mv(t,a,g,33944)}Rk(t,33952,1)}else{if((n&256|0)==0|(n&15|0)==0){if(!(n&1024))break;n=da(o+32|0,4,0,0)|0|0;ea(p|0,da(o+24|0,4,0,0)|0|0,4,0);ea(p+4|0,n|0,4,0);Dn(t,0,33872,p);break}if(!(n&5))if((f|0)==48)f=33784;else f=(n&32|0)==0?33824:33808;else f=33768;Rk(t,33840,27);g=f;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;Rk(t,f,g-f&1073741823)}while(0);n=sg(t)|0;wh(s,vh(s,157,r,d,e)|0,n,-1)}i=u;return}function Pu(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;j=da(b|0,4,0,0)|0|0;l=da(a+8|0,4,0,0)|0|0;g=da(j>>0|0,1,0,0)|0|0;do if(g<<24>>24==76)vh(l,28,0,f,0)|0;else if(g<<24>>24==79)f=hs(a,da(j+16|0,4,0,0)|0|0,f)|0;else{h=da(c+64|0,4,0,0)|0|0;g=h+36|0;if((((da(g|0,4,0,0)|0)&1024|0)==0?(i=da(h+28|0,4,0,0)|0|0,(i|0)!=0):0)?(da((da(i+28|0,4,0,0)|0|0)+d>>0|0,1,0,0)|0|0)!=0:0)e=(e|0)==0&1;k=lv(a,j,4,0)|0;if((k|0)==4)e=(e|0)==0&1;j=da(j+28|0,4,0,0)|0|0;d=(e|0)!=0;vh(l,d?105:108,j,0,0)|0;ea(g|0,da(g|0,4,0,0)|0|2048|0,4,0);i=c+56|0;g=da(i|0,4,0,0)|0|0;if(!g){ea(c+16|0,ws(l)|0|0,4,0);g=da(i|0,4,0,0)|0|0}h=g+1|0;ea(i|0,h|0,4,0);g=c+60|0;h=Vl(da(a|0,4,0,0)|0|0,da(g|0,4,0,0)|0|0,h*12|0,0)|0;ea(g|0,h|0,4,0);if(!h){ea(i|0,0|0,4,0);break}g=(da(i|0,4,0,0)|0|0)+-1|0;ea(h+(g*12|0)|0,j|0,4,0);if((k|0)==1)e=vh(l,103,j,f,0)|0;else e=vh(l,47,j,0,f)|0;ea(h+(g*12|0)+4|0,e|0,4,0);ea(h+(g*12|0)+8>>0|0,(d?6:7)|0,1,0);vh(l,76,f,0,0)|0}while(0);Qu(c,b);return f|0}function Qu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a:do if(b){h=a+72|0;g=0;while(1){d=b+20|0;f=da(d|0,2,0,0)|0|0;if(f&4)break a;if((da(a|0,4,0,0)|0|0)!=0?((da((da(b|0,4,0,0)|0|0)+4|0,4,0,0)|0)&1|0)==0:0)break a;c=h;e=b+40|0;if(!(((da(e|0,4,0,0)|0)&(da(c|0,4,0,0)|0)|0)==0?((da(e+4|0,4,0,0)|0)&(da(c+4|0,4,0,0)|0)|0)==0:0))break a;c=f&65535;ea(d|0,c|((g|0)==0|(c&1024|0)==0?4:512)|0,2,0);c=da(b+4|0,4,0,0)|0|0;if((c|0)<0)break a;b=da((da(b+24|0,4,0,0)|0|0)+20|0,4,0,0)|0|0;e=b+(c*48|0)+22|0;d=(da(e>>0|0,1,0,0)|0|0)+-1<<24>>24;ea(e>>0|0,d|0,1,0);if(d<<24>>24)break a;b=b+(c*48|0)|0;if(!b)break;else g=g+1|0}}while(0);return}function Ru(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;do if(!((da((da(a|0,4,0,0)|0|0)+60|0,2,0,0)|0)&2)){h=a+116|0;g=0;e=h;while(1){f=e+12|0;if(!(da(f|0,4,0,0)|0)){k=4;break}g=g+1|0;if((g|0)>=10){i=0;e=-1;j=2147483647;break}else e=e+20|0}if((k|0)==4){ea(e+8|0,da(a+100|0,4,0,0)|0|0,4,0);ea(e|0,b|0,4,0);ea(e+4|0,c|0,2,0);ea(f|0,d|0,4,0);ea(e+6>>0|0,0|0,1,0);d=a+104|0;b=da(d|0,4,0,0)|0|0;ea(d|0,b+1|0,4,0);ea(e+16|0,b|0,4,0);break}while(1){g=da(h+16|0,4,0,0)|0|0;f=(g|0)<(j|0);e=f?i:e;i=i+1|0;if((i|0)==10)break;else{j=f?g:j;h=h+20|0}}if((e|0)>-1){ea(a+(e*20|0)+124|0,da(a+100|0,4,0,0)|0|0,4,0);ea(a+(e*20|0)+116|0,b|0,4,0);ea(a+(e*20|0)+120|0,c|0,2,0);ea(a+(e*20|0)+128|0,d|0,4,0);ea(a+(e*20|0)+122>>0|0,0|0,1,0);d=a+104|0;b=da(d|0,4,0,0)|0|0;ea(d|0,b+1|0,4,0);ea(a+(e*20|0)+132|0,b|0,4,0)}}while(0);return}function Su(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=da(a+8|0,4,0,0)|0|0;j=da(b+64|0,4,0,0)|0|0;k=da(j+24|0,2,0,0)|0|0;m=da(j+42|0,2,0,0)|0|0;q=da(j+28|0,4,0,0)|0|0;i=a+72|0;n=da(i|0,4,0,0)|0|0;f=n+1|0;p=k&65535;l=p+d|0;ea(i|0,n+l|0,4,0);n=da(a|0,4,0,0)|0|0;q=jh(n,nt(o,q)|0)|0;n=(q|0)!=0;if(!n)ea((da(a|0,4,0,0)|0|0)+65>>0|0,1|0,1,0);if(m<<16>>16){d=da(b+8|0,4,0,0)|0|0;g=(c|0)!=0;vh(o,g?105:108,d,0,0)|0;h=vh(o,16,0,0,0)|0;i=m&65535;g=vh(o,g?62:65,d,0,f)|0;wh(o,g,i,-14);ea(b+20|0,g|0,4,0);g=da(o+32|0,4,0,0)|0|0;if(g>>>0>h>>>0)ea((da(o+4|0,4,0,0)|0|0)+(h*20|0)+8|0,g|0,4,0);ea((da(o+24|0,4,0,0)|0|0)+88|0,g+-1|0,4,0);h=0;do{vh(o,47,d,h,h+f|0)|0;h=h+1|0}while((h|0)<(i|0))}if((m&65535)<(k&65535)){j=j+48|0;i=b+12|0;k=(l|0)==1;l=m&65535;h=f;while(1){g=da((da(j|0,4,0,0)|0|0)+(l<<2)|0,4,0,0)|0|0;d=l+h|0;f=Pu(a,g,b,l,c,d)|0;do if((f|0)!=(d|0))if(k){Zr(a,h);break}else{vh(o,34,f,d,0)|0;f=h;break}else f=h;while(0);if(!((da(g+18|0,2,0,0)|0)&129)){d=da((da(g|0,4,0,0)|0|0)+16|0,4,0,0)|0|0;if(Tu(d)|0)vh(o,76,f+l|0,da(i|0,4,0,0)|0|0,0)|0;if(n){g=q+l|0;if((Au(d,da(g>>0|0,1,0,0)|0|0)|0)<<24>>24==65){ea(g>>0|0,65|0,1,0);h=65}else h=da(g>>0|0,1,0,0)|0|0;if(Uu(d,h)|0)ea(g>>0|0,65|0,1,0)}}l=l+1|0;if((l|0)>=(p|0))break;else h=f}}ea(e|0,q|0,4,0);return f|0}function Tu(a){a=a|0;var b=0;b=da(a>>0|0,1,0,0)|0|0;if((b+99&255)<2)do{a=da(a+12|0,4,0,0)|0|0;b=da(a>>0|0,1,0,0)|0|0}while((b+99&255)<2);if(b<<24>>24==-97)b=da(a+38>>0|0,1,0,0)|0|0;switch(b&255|0){case 134:case 133:case 97:case 132:{a=0;break}case 154:{if(!((da(a+4|0,4,0,0)|0)&1048576)){b=da(a+32|0,2,0,0)|0|0;if(b<<16>>16>-1)a=(da((da((da(a+44|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+((b<<16>>16)*24|0)+20>>0|0,1,0,0)|0|0)==0;else a=0}else a=1;a=a&1;break}default:a=1}return a|0}function Uu(a,b){a=a|0;b=b|0;var c=0;a:do if(b<<24>>24==65)a=1;else{c=da(a>>0|0,1,0,0)|0|0;if((c+99&255)<2)do{a=da(a+12|0,4,0,0)|0|0;c=da(a>>0|0,1,0,0)|0|0}while((c+99&255)<2);if(c<<24>>24==-97)c=da(a+38>>0|0,1,0,0)|0|0;switch(c&255|0){case 132:{a=(b+-67&255)<2&1;break a}case 133:{a=(b<<24>>24==69|b<<24>>24==67)&1;break a}case 154:{if((da(a+32|0,2,0,0)|0|0)<0)a=(b+-67&255)<2;else a=0;a=a&1;break a}case 134:{a=1;break a}case 97:{a=b<<24>>24==66&1;break a}default:{a=0;break a}}}while(0);return a|0}function Vu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=da(a+8|0,4,0,0)|0|0;do if(d){a:do if((c|0)>0)while(1){if((da(d>>0|0,1,0,0)|0|0)!=65){e=d;break a}c=c+-1|0;b=b+1|0;d=d+1|0;if((c|0)<=0){e=d;break}}else e=d;while(0);while(1){if((c|0)<=1){g=8;break}d=c+-1|0;if((da(e+d>>0|0,1,0,0)|0|0)==65)c=d;else break}if((g|0)==8)if((c|0)<=0)break;vh(f,48,b,c,0)|0;wh(f,-1,e,c);ct(a,b,c)}while(0);return}function Wu(a,b){a=a|0;b=b|0;var c=0,d=0;if(b){Nv(b+328|0);d=b+16|0;c=da(d|0,4,0,0)|0|0;if(c)do{ea(d|0,da(c+52|0,4,0,0)|0|0,4,0);Iu(a,c);lg(a,c);c=da(d|0,4,0,0)|0|0}while((c|0)!=0);lg(a,b)}return}function Xu(a,b){a=a|0;b=b|0;var c=0,d=0;c=i;i=i+32|0;if((i|0)>=(j|0))ba();d=c;ea(d+0|0,0|0,4,0);ea(d+4|0,0|0,4,0);ea(d+8|0,0|0,4,0);ea(d+12|0,0|0,4,0);ea(d+16|0,0|0,4,0);ea(d+20|0,0|0,4,0);ea(d|0,80|0,4,0);ea(d+4|0,81|0,4,0);ea(d+24|0,a|0,4,0);qs(d,b)|0;i=c;return}function Yu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();l=n+4|0;m=n;k=da(a+8|0,4,0,0)|0|0;ea(l|0,0|0,4,0);ea(m|0,0|0,4,0);if(!((k|0)==0|(b|0)==0)){f=da(b>>0|0,1,0,0)|0|0;e=f&255;a:do switch(e|0){case 79:case 78:case 83:case 80:case 81:case 82:{f=b+12|0;h=_t(a,da(f|0,4,0,0)|0|0,l)|0;g=b+16|0;k=_t(a,da(g|0,4,0,0)|0|0,m)|0;$t(a,da(f|0,4,0,0)|0|0,da(g|0,4,0,0)|0|0,e,h,k,c,d);break}case 71:{Yu(a,da(b+12|0,4,0,0)|0|0,c,d);k=a+100|0;ea(k|0,(da(k|0,4,0,0)|0|0)+1|0,4,0);Yu(a,da(b+16|0,4,0,0)|0|0,c,d);au(a);break}case 19:{ft(a,da(b+12|0,4,0,0)|0|0,c,d);break}case 72:{h=ws(k)|0;ft(a,da(b+12|0,4,0,0)|0|0,h,d^16);e=a+100|0;ea(e|0,(da(e|0,4,0,0)|0|0)+1|0,4,0);Yu(a,da(b+16|0,4,0,0)|0|0,c,d);e=da(k+24|0,4,0,0)|0|0;f=~h;if((h|0)<0?(g=da(e+112|0,4,0,0)|0|0,(g|0)!=0):0)ea(g+(f<<2)|0,da(k+32|0,4,0,0)|0|0,4,0);ea(e+88|0,(da(k+32|0,4,0,0)|0|0)+-1|0,4,0);au(a);break}case 148:case 73:{d=b+12|0;h=_t(a,da(d|0,4,0,0)|0|0,l)|0;g=b+16|0;k=_t(a,da(g|0,4,0,0)|0|0,m)|0;$t(a,da(d|0,4,0,0)|0|0,da(g|0,4,0,0)|0|0,f<<24>>24==73?79:78,h,k,c,128);break}case 77:case 76:{vh(k,e,_t(a,da(b+12|0,4,0,0)|0|0,l)|0,c,0)|0;break}case 74:{Zu(a,b,c,1,d);break}case 75:{g=ws(k)|0;eu(a,b,g,(d|0)!=0?c:g);vh(k,16,0,c,0)|0;f=da(k+24|0,4,0,0)|0|0;e=~g;if((g|0)<0?(h=da(f+112|0,4,0,0)|0|0,(h|0)!=0):0)ea(h+(e<<2)|0,da(k+32|0,4,0,0)|0|0,4,0);ea(f+88|0,(da(k+32|0,4,0,0)|0|0)+-1|0,4,0);break}default:{if(_u(b)|0){vh(k,16,0,c,0)|0;break a}if(!(lu(b)|0))vh(k,45,_t(a,b,l)|0,c,(d|0)!=0&1)|0}}while(0);Zr(a,da(l|0,4,0,0)|0|0);Zr(a,da(m|0,4,0,0)|0|0)}i=n;return}function Zu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;n=i;i=i+208|0;if((i|0)>=(j|0))ba();h=n+152|0;f=n+104|0;g=n+56|0;k=n+8|0;l=n;ea(l|0,0|0,4,0);m=k+0|0;o=(da(b+12|0,4,0,0)|0|0)+0|0;p=m+48|0;do{ea(m|0,da(o|0,4,0,0)|0|0,4,0);m=m+4|0;o=o+4|0}while((m|0)<(p|0));ea(h>>0|0,72|0,1,0);ea(h+12|0,f|0,4,0);ea(h+16|0,g|0,4,0);ea(f>>0|0,83|0,1,0);ea(f+12|0,k|0,4,0);b=da((da(b+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;ea(f+16|0,da(b|0,4,0,0)|0|0,4,0);ea(g>>0|0,81|0,1,0);ea(g+12|0,k|0,4,0);ea(g+16|0,da(b+20|0,4,0,0)|0|0,4,0);b=_t(a,k,l)|0;ea(k+38>>0|0,da(k>>0|0,1,0,0)|0|0|0,1,0);ea(k>>0|0,-97|0,1,0);ea(k+28|0,b|0,4,0);b=k+4|0;ea(b|0,(da(b|0,4,0,0)|0)&-4097|0,4,0);if(!d)ft(a,h,c,e);else Yu(a,h,c,e);Zr(a,da(l|0,4,0,0)|0|0);i=n;return}function _u(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();b=c;ea(b|0,0|0,4,0);if(((da(a+4|0,4,0,0)|0)&1|0)==0?(Ls(a,b)|0)!=0:0)a=(da(b|0,4,0,0)|0|0)!=0&1;else a=0;i=c;return a|0}function $u(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if(!((a|0)==0|(b|0)==0)){d=da(b|0,4,0,0)|0|0;if((d|0)>0){b=da(b+4|0,4,0,0)|0|0;c=0;while(1){if((vv(a,da(b+(c*20|0)+4|0,4,0,0)|0|0)|0)>-1){b=1;break a}c=c+1|0;if((c|0)>=(d|0)){b=0;break}}}else b=0}else b=1;while(0);return b|0}function av(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=da(b+20|0,4,0,0)|0|0;a:do if((j|0)>0){k=da(a+38|0,2,0,0)|0|0;l=k<<16>>16>0;m=a+4|0;i=a+36|0;f=(d|0)!=0;g=0;while(1){d=da(b+(g<<3)+40|0,4,0,0)|0|0;if(l){a=(d|0)==0;h=0;do{if(!((da(c+(h<<2)|0,4,0,0)|0|0)<=-1?!((h|0)==(da(i|0,2,0,0)|0|0)&f):0))n=7;do if((n|0)==7){n=0;e=da(m|0,4,0,0)|0|0;if(a)if(!((da(e+(h*24|0)+23>>0|0,1,0,0)|0)&1))break;else{a=1;break a}else if(!(cd(da(e+(h*24|0)|0,4,0,0)|0|0,d)|0)){a=1;break a}else break}while(0);h=h+1|0}while((h|0)<(k<<16>>16|0))}g=g+1|0;if((g|0)>=(j|0)){a=0;break}}}else a=0;while(0);return a|0}function bv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+48|0;if((i|0)>=(j|0))ba();k=t;o=t+8|0;s=da(a+408|0,4,0,0)|0|0;s=(s|0)==0?a:s;h=s+528|0;e=da(h|0,4,0,0)|0|0;a:do if(!e)g=5;else while(1){if((da(e|0,4,0,0)|0|0)==(b|0)?(da(e+12|0,4,0,0)|0|0)==(d|0):0)break a;e=da(e+4|0,4,0,0)|0|0;if(!e){g=5;break}}while(0);do if((g|0)==5){q=da(a|0,4,0,0)|0|0;e=lh(q,24,0)|0;if(e){g=e+0|0;f=g+24|0;do{ea(g>>0|0,0|0,1,0);g=g+1|0}while((g|0)<(f|0));ea(e+4|0,da(h|0,4,0,0)|0|0,4,0);ea(h|0,e|0,4,0);p=lh(q,28,0)|0;if(!p){ea(e+8|0,0|0,4,0);e=0;break}g=p+0|0;f=g+24|0;do{ea(g>>0|0,0|0,1,0);g=g+1|0}while((g|0)<(f|0));ea(e+8|0,p|0,4,0);l=(da(s+8|0,4,0,0)|0|0)+192|0;ea(p+24|0,da(l|0,4,0,0)|0|0,4,0);ea(l|0,p|0,4,0);ea(e|0,b|0,4,0);ea(e+12|0,d|0,4,0);l=e+16|0;ea(l|0,-1|0,4,0);m=e+20|0;ea(m|0,-1|0,4,0);n=lh(q,536,0)|0;if(n){ew(n|0,0,536)|0;ea(o+0|0,0|0,4,0);ea(o+4|0,0|0,4,0);ea(o+8|0,0|0,4,0);ea(o+12|0,0|0,4,0);ea(o+16|0,0|0,4,0);ea(o+20|0,0|0,4,0);ea(o+24|0,0|0,4,0);ea(o+28|0,0|0,4,0);ea(o|0,n|0,4,0);ea(n|0,q|0,4,0);ea(n+412|0,c|0,4,0);ea(n+408|0,s|0,4,0);ea(n+492|0,da(b|0,4,0,0)|0|0,4,0);ea(n+436>>0|0,da(b+8>>0|0,1,0,0)|0|0|0,1,0);ea(n+424|0,da(a+424|0,4,0,0)|0|0,4,0);c=Nq(n)|0;if(c){ea(k|0,da(b|0,4,0,0)|0|0,4,0);wh(c,-1,th(q,34152,k)|0,-1);g=da(b+12|0,4,0,0)|0|0;if(!g)h=0;else{f=Lr(q,g,0,0)|0;if((ks(o,f)|0)==0?(da(q+65>>0|0,1,0,0)|0|0)==0:0){g=ws(c)|0;ft(n,f,g,16)}else g=0;Fk(q,f);h=g}Ov(n,da(b+28|0,4,0,0)|0|0,d);if(h){g=da(c+24|0,4,0,0)|0|0;f=~h;if((h|0)<0?(r=da(g+112|0,4,0,0)|0|0,(r|0)!=0):0)ea(r+(f<<2)|0,da(c+32|0,4,0,0)|0|0,4,0);ea(g+88|0,(da(c+32|0,4,0,0)|0|0)+-1|0,4,0)}vh(c,24,0,0,0)|0;f=a+64|0;g=da(n+4|0,4,0,0)|0|0;if(!(da(f|0,4,0,0)|0)){ea(a+4|0,g|0,4,0);ea(f|0,da(n+64|0,4,0,0)|0|0,4,0)}else lg(da(n|0,4,0,0)|0|0,g);if(!(da(q+65>>0|0,1,0,0)|0)){k=c+4|0;o=da(k|0,4,0,0)|0|0;In(c,s+392|0);ea(p+4|0,da(c+32|0,4,0,0)|0|0,4,0);ea(k|0,0|0,4,0);ea(p|0,o|0,4,0)}ea(p+8|0,da(n+72|0,4,0,0)|0|0,4,0);ea(p+12|0,da(n+68|0,4,0,0)|0|0,4,0);ea(p+16|0,da(n+80|0,4,0,0)|0|0,4,0);ea(p+20|0,b|0,4,0);ea(l|0,da(n+428|0,4,0,0)|0|0,4,0);ea(m|0,da(n+432|0,4,0,0)|0|0,4,0);Ol(c)}Bh(n);lg(q,n)}else e=0}else e=0}while(0);i=t;return e|0}function cv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=Nq(a)|0;c=bv(a,b,c,e)|0;if(c){if(!(da(b|0,4,0,0)|0))e=0;else e=((da((da(a|0,4,0,0)|0|0)+24|0,4,0,0)|0|0)>>>18&1^1)&255;a=a+72|0;b=(da(a|0,4,0,0)|0|0)+1|0;ea(a|0,b|0,4,0);vh(g,131,d,f,b)|0;wh(g,-1,da(c+8|0,4,0,0)|0|0,-18);c=da(g+4|0,4,0,0)|0|0;if(c)ea(c+(((da(g+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,e|0,1,0)}return}function dv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;e=da(a|0,4,0,0)|0|0;g=da((da(e+16|0,4,0,0)|0|0)+(d<<4)|0,4,0,0)|0|0;f=jc[(fa(da(e+284|0,4,0,0)|0|0,7|0)|0)&7](da(e+288|0,4,0,0)|0|0,20,b,c,g,da(a+492|0,4,0,0)|0|0)|0;if((f|0)==1){if((d|0)!=0?1:(da(e+20|0,4,0,0)|0|0)>2){ea(h|0,g|0,4,0);ea(h+4|0,b|0,4,0);ea(h+8|0,c|0,4,0);sh(a,27688,h)}else{ea(h|0,b|0,4,0);ea(h+4|0,c|0,4,0);sh(a,27728,h)}ea(a+12|0,23|0,4,0)}else if(!((f|0)==0|(f|0)==2)){sh(a,25232,h);ea(a+12|0,1|0,4,0)}i=k;return f|0}function ev(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;u=Nq(a)|0;w=(da(a+68|0,4,0,0)|0|0)+-1|0;x=ws(u)|0;if((h|0)<0)vh(u,135,da(e+24>>0|0,1,0,1)|0|0,x,0)|0;j=e+20|0;k=da(j|0,4,0,0)|0|0;if((k|0)>0){m=g+1|0;l=0;do{vh(u,76,m+(da(f+(l<<2)|0,4,0,0)|0|0)|0,x,0)|0;l=l+1|0;k=da(j|0,4,0,0)|0|0}while((l|0)<(k|0))}do if(!i){if(!d){k=a+19|0;j=da(k>>0|0,1,0,0)|0|0;if(!(j<<24>>24)){d=a+72|0;m=(da(d|0,4,0,0)|0|0)+1|0;ea(d|0,m|0,4,0)}else{m=j+-1<<24>>24;ea(k>>0|0,m|0,1,0);m=da(a+((m&255)<<2)+24|0,4,0,0)|0|0}vh(u,34,g+1+(da(f|0,4,0,0)|0|0)|0,m,0)|0;l=vh(u,38,m,0,0)|0;if(((h|0)==1?(da(e|0,4,0,0)|0|0)==(c|0):0)?(vh(u,79,g,x,m)|0,n=da(u+4|0,4,0,0)|0|0,(n|0)!=0):0)ea(n+(((da(u+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,-112|0,1,0);Pq(a,w,b,c,54);vh(u,70,w,0,m)|0;vh(u,16,0,x,0)|0;j=da(u+32|0,4,0,0)|0|0;if(j>>>0>1)ea((da(u+4|0,4,0,0)|0|0)+((j+-2|0)*20|0)+8|0,j|0,4,0);i=j+-1|0;k=(da(u+24|0,4,0,0)|0|0)+88|0;ea(k|0,i|0,4,0);if(j>>>0>l>>>0)ea((da(u+4|0,4,0,0)|0|0)+(l*20|0)+8|0,j|0,4,0);ea(k|0,i|0,4,0);Zr(a,m);break}s=a+60|0;m=da(s|0,4,0,0)|0|0;t=a+56|0;l=da(t|0,4,0,0)|0|0;if((l|0)<(k|0)){r=a+72|0;m=da(r|0,4,0,0)|0|0;ea(r|0,m+k|0,4,0);m=m+1|0}else{ea(s|0,m+k|0,4,0);ea(t|0,l-k|0,4,0)}l=a+19|0;j=da(l>>0|0,1,0,0)|0|0;if(!(j<<24>>24)){i=a+72|0;r=(da(i|0,4,0,0)|0|0)+1|0;ea(i|0,r|0,4,0)}else{r=j+-1<<24>>24;ea(l>>0|0,r|0,1,0);r=da(a+((r&255)<<2)+24|0,4,0,0)|0|0}vh(u,54,w,da(d+40|0,4,0,0)|0|0,b)|0;i=da(a+8|0,4,0,0)|0|0;wh(i,-1,gs(a,d)|0,-6);i=(k|0)>0;if(i){l=g+1|0;j=0;do{vh(u,33,l+(da(f+(j<<2)|0,4,0,0)|0|0)|0,j+m|0,0)|0;j=j+1|0}while((j|0)!=(k|0))}if((h|0)==1?(da(e|0,4,0,0)|0|0)==(c|0):0){p=u+32|0;q=k+1+(da(p|0,4,0,0)|0|0)|0;if(i){b=g+1|0;o=d+4|0;j=c+36|0;i=u+4|0;n=0;do{l=da((da(o|0,4,0,0)|0|0)+(n<<1)|0,2,0,0)|0|0;vh(u,78,b+(da(f+(n<<2)|0,4,0,0)|0|0)|0,q,(l<<16>>16==(da(j|0,2,0,0)|0|0)?0:(l<<16>>16)+1|0)+g|0)|0;l=da(i|0,4,0,0)|0|0;if(l)ea(l+(((da(p|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,16|0,1,0);n=n+1|0}while((n|0)!=(k|0))}vh(u,16,0,x,0)|0}g=nt(u,d)|0;wh(u,vh(u,49,m,k,r)|0,g,k);wh(u,vh(u,69,w,x,r)|0,0,-14);Zr(a,r);ct(a,m,k);if((da(t|0,4,0,0)|0|0)<(k|0)){ea(t|0,k|0,4,0);ea(s|0,m|0,4,0)}}while(0);j=da(e+24>>0|0,1,0,0)|0|0;i=j<<24>>24==0;if(((i?((da((da(a|0,4,0,0)|0|0)+24|0,4,0,0)|0)&16777216|0)==0:0)?(da(a+408|0,4,0,0)|0|0)==0:0)?(da(a+20>>0|0,1,0,0)|0|0)==0:0)ys(a,787,2,0,-2,4);else{if(!((h|0)<1|i^1)){e=da(a+408|0,4,0,0)|0|0;ea(((e|0)==0?a:e)+21>>0|0,1|0,1,0)}vh(u,134,j&255,h,0)|0}i=da(u+24|0,4,0,0)|0|0;j=~x;if((x|0)<0?(v=da(i+112|0,4,0,0)|0|0,(v|0)!=0):0)ea(v+(j<<2)|0,da(u+32|0,4,0,0)|0|0,4,0);ea(i+88|0,(da(u+32|0,4,0,0)|0|0)+-1|0,4,0);vh(u,61,w,0,0)|0;return}function fv(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+48|0;if((i|0)>=(j|0))ba();t=y+32|0;u=y;v=da(a|0,4,0,0)|0|0;w=Nq(a)|0;if((h|0)<0)x=vh(w,135,da(e+24>>0|0,1,0,1)|0|0,0,0)|0;else x=0;s=e+20|0;if((da(s|0,4,0,0)|0|0)>0){r=(d|0)==0;q=(f|0)==0;p=e+36|0;o=d+4|0;n=0;k=0;do{if(r)m=-1;else m=da((da(o|0,4,0,0)|0|0)+(n<<1)|0,2,0,0)|0|0;l=Pv(a,c,g,m)|0;if(q)m=p;else m=f+(n<<2)|0;k=rs(v,k,Yq(a,79,l,st(v,27,da((da((da(e|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(((da(m|0,4,0,0)|0)<<16>>16)*24|0)|0,4,0,0)|0|0)|0,0)|0)|0;n=n+1|0}while((n|0)<(da(s|0,4,0,0)|0|0));m=e}else{m=e;k=0}if((h|0)>0?(da(m|0,4,0,0)|0|0)==(c|0):0){if(!((da(c+44>>0|0,1,0,0)|0)&32)){f=da(a|0,4,0,0)|0|0;ea(t|0,0|0,4,0);ea(t+4|0,0|0,4,0);f=mr(f,159,t,0)|0;if(!f)f=0;else{ea(f+28|0,g|0,4,0);ea(f+1>>0|0,68|0,1,0)}m=da(b+48|0,4,0,0)|0|0;ea(t|0,0|0,4,0);ea(t+4|0,0|0,4,0);l=mr(v,154,t,0)|0;if(l){ea(l+44|0,c|0,4,0);ea(l+28|0,m|0,4,0);ea(l+32|0,-1|0,2,0)}f=Yq(a,78,f,l,0)|0}else{m=c+8|0;while(1){m=da(m|0,4,0,0)|0|0;if(((da(m+51>>0|0,1,0,0)|0)&3)==2)break;m=m+20|0}s=m+46|0;if(!(da(s|0,2,0,0)|0))f=0;else{o=d+4|0;p=b+48|0;q=t+4|0;r=0;f=0;do{m=da((da(o|0,4,0,0)|0|0)+(r<<1)|0,2,0,0)|0|0;l=Pv(a,c,g,m)|0;n=da(p|0,4,0,0)|0|0;ea(t|0,0|0,4,0);ea(q|0,0|0,4,0);d=mr(v,154,t,0)|0;if(d){ea(d+44|0,c|0,4,0);ea(d+28|0,n|0,4,0);ea(d+32|0,m|0,2,0)}f=rs(v,f,Yq(a,79,l,d,0)|0)|0;r=r+1|0}while((r|0)<(da(s|0,2,0,1)|0|0))}f=Yq(a,19,f,0,0)|0}k=rs(v,k,f)|0};ea(u+0|0,0|0,4,0);ea(u+4|0,0|0,4,0);ea(u+8|0,0|0,4,0);ea(u+12|0,0|0,4,0);ea(u+16|0,0|0,4,0);ea(u+20|0,0|0,4,0);ea(u+24|0,0|0,4,0);ea(u+28|0,0|0,4,0);ea(u+4|0,b|0,4,0);ea(u|0,a|0,4,0);ks(u,k)|0;f=Us(a,b,k,0,0,0,0)|0;vh(w,134,da(e+24>>0|0,1,0,1)|0|0,h,0)|0;if(f)Ws(f);Fk(v,k);if(x){f=da(w+32|0,4,0,0)|0|0;if(f>>>0>x>>>0)ea((da(w+4|0,4,0,0)|0|0)+(x*20|0)+8|0,f|0,4,0);ea((da(w+24|0,4,0,0)|0|0)+88|0,f+-1|0,4,0)}i=y;return}function gv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+32|0;if((i|0)>=(j|0))ba();p=s;n=s+16|0;r=s+28|0;g=da(a|0,4,0,0)|0|0;q=Nq(a)|0;if(q){k=(da(g+16|0,4,0,0)|0|0)+(b<<4)|0;l=a+388|0;m=(d|0)==0;o=0;a:while(1){h=da(28744+(o<<3)|0,4,0,0)|0|0;f=Zh(g,h,da(k|0,4,0,0)|0|0)|0;do if(!f){if(!o){ea(p|0,da(k|0,4,0,0)|0|0,4,0);ea(p+4|0,h|0,4,0);ea(p+8|0,28768|0,4,0);Ar(a,28816,p);ea(n|0,da(l|0,4,0,0)|0|0,4,0);ea(r>>0|0,4|0,1,0);o=o+1|0;continue a}}else{f=da(f+32|0,4,0,0)|0|0;ea(n+(o<<2)|0,f|0,4,0);ea(r+o>>0|0,0|0,1,0);fs(a,b,f,1,h);if(m){vh(q,118,f,b,0)|0;break}else{ea(p|0,da(k|0,4,0,0)|0|0,4,0);ea(p+4|0,h|0,4,0);ea(p+8|0,e|0,4,0);ea(p+12|0,d|0,4,0);Ar(a,28840,p);break}}while(0);o=o+1|0;if((o|0)==3)break}wh(q,vh(q,55,c,da(n|0,4,0,0)|0|0,b)|0,3,-14);f=da(q+4|0,4,0,0)|0|0;if(f)ea(f+(((da(q+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,da(r>>0|0,1,0,0)|0|0|0,1,0)}i=s;return}function hv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;z=da(a|0,4,0,0)|0|0;A=e+1|0;B=e+2|0;F=e+3|0;G=e+4|0;H=e+5|0;E=e+6|0;C=e+7|0;D=a+72|0;I=da(D|0,4,0,0)|0|0;ea(D|0,((I|0)>(C|0)?I:C)|0,4,0);I=Nq(a)|0;if((!((I|0)==0|(b|0)==0)?(l=b+32|0,(da(l|0,4,0,0)|0|0)!=0):0)?(m=da(b|0,4,0,0)|0|0,(Ec(m,25568,7)|0)!=0):0){i=da(b+68|0,4,0,0)|0|0;a:do if(i){h=da(z+20|0,4,0,0)|0|0;if((h|0)>0){g=da(z+16|0,4,0,0)|0|0;k=0;while(1){j=k+1|0;if((da(g+(k<<4)+12|0,4,0,0)|0|0)==(i|0)){j=k;break a}if((j|0)<(h|0))k=j;else break}}else j=0}else j=-1e6;while(0);if(!(Rq(a,28,m,0,da((da(z+16|0,4,0,0)|0|0)+(j<<4)|0,4,0,0)|0|0)|0)){fs(a,j,da(l|0,4,0,0)|0|0,0,da(b|0,4,0,0)|0|0);s=f+1|0;m=f+2|0;x=a+68|0;y=da(x|0,4,0,0)|0|0;ea(x|0,((y|0)>(m|0)?y:m)|0,4,0);Pq(a,f,j,b,54);m=da(b|0,4,0,0)|0|0;wh(I,vh(I,97,0,G,0)|0,m,0);m=da(b+8|0,4,0,0)|0|0;y=(c|0)==0;if(!m)i=1;else{t=b+44|0;u=a+8|0;v=I+4|0;w=I+32|0;x=I+24|0;i=1;do{do if(y|(m|0)==(c|0)){i=(da(m+36|0,4,0,0)|0|0)==0?0:i;l=da(m+51>>0|0,1,0,0)|0|0;if(!(((da(t>>0|0,1,0,0)|0)&32)!=0&(l&3)==2)){g=da(m+48|0,2,0,1)|0|0;k=da(m|0,4,0,0)|0|0;h=m+46|0;if(!(l&8)){o=h;n=g;l=g}else{o=h;n=g;l=da(h|0,2,0,1)|0|0}}else{o=m+46|0;l=da(o|0,2,0,1)|0|0;n=l;k=da(b|0,4,0,0)|0|0}q=l+-1|0;wh(I,vh(I,97,0,H,0)|0,k,0);r=da(D|0,4,0,0)|0|0;l=q+C|0;ea(D|0,((r|0)>(l|0)?r:l)|0,4,0);vh(I,54,s,da(m+40|0,4,0,0)|0|0,j)|0;l=da(u|0,4,0,0)|0|0;wh(l,-1,gs(a,m)|0,-6);vh(I,25,n,B,0)|0;vh(I,25,da(o|0,2,0,1)|0|0,F,0)|0;vh(I,1,0,B,A)|0;wh(I,-1,28552,-5);l=da(v|0,4,0,0)|0|0;if(l)ea(l+(((da(w|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,2|0,1,0);r=vh(I,108,s,0,0)|0;vh(I,25,0,B,0)|0;k=da(w|0,4,0,0)|0|0;if((q|0)>0){n=ws(I)|0;p=lh(z,q<<2,0)|0;if(!p)break;vh(I,16,0,0,0)|0;k=da(w|0,4,0,0)|0|0;if(((q|0)==1?(da(o|0,2,0,0)|0|0)==1:0)?(da(m+50>>0|0,1,0,0)|0|0)!=0:0)vh(I,77,C,n,0)|0;l=m+32|0;g=0;do{o=br(a,da((da(l|0,4,0,0)|0|0)+(g<<2)|0,4,0,0)|0|0)|0;vh(I,25,g,B,0)|0;vh(I,47,s,g,F)|0;h=vh(I,78,F,0,g+C|0)|0;wh(I,h,o,-4);ea(p+(g<<2)|0,h|0,4,0);h=da(v|0,4,0,0)|0|0;if(h)ea(h+(((da(w|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,-128|0,1,0);g=g+1|0}while((g|0)!=(q|0));vh(I,25,q,B,0)|0;vh(I,16,0,n,0)|0;l=k+-1|0;h=da(w|0,4,0,0)|0|0;if(h>>>0>l>>>0)ea((da(v|0,4,0,0)|0|0)+(l*20|0)+8|0,h|0,4,0);ea((da(x|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);l=0;while(1){g=da(p+(l<<2)|0,4,0,0)|0|0;if(h>>>0>g>>>0)ea((da(v|0,4,0,0)|0|0)+(g*20|0)+8|0,h|0,4,0);ea((da(x|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);vh(I,47,s,l,l+C|0)|0;l=l+1|0;if((l|0)==(q|0))break;h=da(w|0,4,0,0)|0|0}h=da(x|0,4,0,0)|0|0;g=~n;do if((n|0)<0){l=da(h+112|0,4,0,0)|0|0;if(!l)break;ea(l+(g<<2)|0,da(w|0,4,0,0)|0|0,4,0)}while(0);ea(h+88|0,(da(w|0,4,0,0)|0|0)+-1|0,4,0);lg(z,p)}vh(I,1,1,A,F)|0;wh(I,-1,28592,-5);l=da(v|0,4,0,0)|0|0;if(l)ea(l+(((da(w|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,2|0,1,0);vh(I,9,s,k,0)|0;vh(I,1,0,A,E)|0;wh(I,-1,28640,-5);l=da(v|0,4,0,0)|0|0;if(l)ea(l+(((da(w|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,1|0,1,0);wh(I,vh(I,49,G,3,F)|0,28632,0);vh(I,74,d,e,0)|0;vh(I,75,d,F,e)|0;k=da(v|0,4,0,0)|0|0;l=da(w|0,4,0,0)|0|0;if(k)ea(k+((l+-1|0)*20|0)+3>>0|0,8|0,1,0);if(l>>>0>r>>>0)ea(k+(r*20|0)+8|0,l|0,4,0);ea((da(x|0,4,0,0)|0|0)+88|0,l+-1|0,4,0)}while(0);m=da(m+20|0,4,0,0)|0|0}while((m|0)!=0)}if(!(i<<24>>24==0|y^1)){vh(I,50,f,E,0)|0;i=vh(I,46,E,0,0)|0;vh(I,28,0,H,0)|0;wh(I,vh(I,49,G,3,F)|0,28632,0);vh(I,74,d,e,0)|0;vh(I,75,d,F,e)|0;h=da(I+4|0,4,0,0)|0|0;g=da(I+32|0,4,0,0)|0|0;if(h)ea(h+((g+-1|0)*20|0)+3>>0|0,8|0,1,0);if(g>>>0>i>>>0)ea(h+(i*20|0)+8|0,g|0,4,0);ea((da(I+24|0,4,0,0)|0|0)+88|0,g+-1|0,4,0)}}}return}function iv(a,b){a=a|0;b=b|0;a=Nq(a)|0;if(a)vh(a,123,b,0,0)|0;return}function jv(a){a=a|0;var b=0,c=0,d=0;a:while(1){b=da(a+4|0,4,0,0)|0|0;do if(b&4096)if(!(b&262144)){a=a+12|0;break}else{a=da((da(a+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;break}else{if(b&512){a=0;break a}switch(da(a>>0|0,1,0,0)|0|0){case -102:case -100:case -97:{d=11;break a}case 38:{d=10;break a}case 119:break;default:{d=14;break a}}a=da((da(da(a+20|0,4,0,0)|0|0,4,0,0)|0|0)+4|0,4,0,0)|0|0}while(0);a=da(a|0,4,0,0)|0|0}if((d|0)==10)a=Wq(da(a+8|0,4,0,0)|0|0,0)|0;else if((d|0)==11){c=da(a+44|0,4,0,0)|0|0;if(c){b=da(a+32|0,2,0,0)|0|0;if(b<<16>>16<0)a=68;else a=da((da(c+4|0,4,0,0)|0|0)+((b<<16>>16)*24|0)+21>>0|0,1,0,0)|0|0}else d=14}if((d|0)==14)a=da(a+1>>0|0,1,0,0)|0|0;return a|0}function kv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;vh(a,25,0,c,0)|0;d=vh(a,108,b,0,0)|0;vh(a,47,b,0,c)|0;b=da(a+4|0,4,0,0)|0|0;c=da(a+32|0,4,0,0)|0|0;if(b)ea(b+((c+-1|0)*20|0)+3>>0|0,-128|0,1,0);if(c>>>0>d>>>0)ea(b+(d*20|0)+8|0,c|0,4,0);ea((da(a+24|0,4,0,0)|0|0)+88|0,c+-1|0,4,0);return}function lv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+32|0;if((i|0)>=(j|0))ba();v=A;y=a+68|0;z=da(y|0,4,0,0)|0|0;ea(y|0,z+1|0,4,0);y=Nq(a)|0;w=(c&4|0)!=0;x=b+4|0;a:do if(((((((((((((da(x|0,4,0,0)|0)&2048|0)!=0?(h=da(b+20|0,4,0,0)|0|0,!((da(a+64|0,4,0,0)|0|0)!=0|(h|0)==0)):0)?(da(h+52|0,4,0,0)|0|0)==0:0)?((da(h+6|0,2,0,0)|0)&5)==0:0)?(da(h+60|0,4,0,0)|0|0)==0:0)?(da(h+36|0,4,0,0)|0|0)==0:0)?(g=da(h+32|0,4,0,0)|0|0,(da(g|0,4,0,0)|0|0)==1):0)?(da(g+28|0,4,0,0)|0|0)==0:0)?(p=da(g+24|0,4,0,0)|0|0,(p|0)!=0):0)?((da(p+44>>0|0,1,0,0)|0)&16)==0:0)?(f=da(h|0,4,0,0)|0|0,(da(f|0,4,0,0)|0|0)==1):0)?(l=da(da(f+4|0,4,0,0)|0|0,4,0,0)|0|0,(da(l>>0|0,1,0,0)|0|0)==-102):0){t=da(a|0,4,0,0)|0|0;u=da(l+32|0,2,0,0)|0|0;k=da(p+68|0,4,0,0)|0|0;b:do if(k){g=da(t+20|0,4,0,0)|0|0;if((g|0)>0){f=da(t+16|0,4,0,0)|0|0;e=0;while(1){h=e+1|0;if((da(f+(e<<4)+12|0,4,0,0)|0|0)==(k|0)){h=e;break b}if((h|0)<(g|0))e=h;else break}}else h=0}else h=-1e6;while(0);r=h<<16>>16;zr(a,r);fs(a,r,da(p+32|0,4,0,0)|0|0,0,da(p|0,4,0,0)|0|0);s=u<<16>>16;if(u<<16>>16<0){e=Nq(a)|0;d=a+80|0;f=da(d|0,4,0,0)|0|0;ea(d|0,f+1|0,4,0);f=vh(e,44,f,0,0)|0;Pq(a,z,r,p,54);e=da(y+32|0,4,0,0)|0|0;if(e>>>0>f>>>0)ea((da(y+4|0,4,0,0)|0|0)+(f*20|0)+8|0,e|0,4,0);ea((da(y+24|0,4,0,0)|0|0)+88|0,e+-1|0,4,0);e=1;k=49;break}e=Nu(a,da(b+12|0,4,0,0)|0|0,l)|0;q=p+4|0;k=da((da(q|0,4,0,0)|0|0)+(s*24|0)+21>>0|0,1,0,0)|0|0;h=(mv(b)|0)<<24>>24;if((h|0)==65)h=1;else if((h|0)==66)h=k<<24>>24==66&1;else h=k<<24>>24>66&1;k=da(p+8|0,4,0,0)|0|0;if((k|0)!=0&(h|0)!=0){l=t+62|0;h=a+80|0;g=a+8|0;f=(d|0)==0;m=y+32|0;o=y+4|0;p=y+24|0;n=a+72|0;c:while(1){do if((da(da(k+4|0,4,0,0)|0|0,2,0,0)|0|0)==u<<16>>16?(Xn(t,da(l>>0|0,1,0,0)|0|0,da(da(k+32|0,4,0,0)|0|0,4,0,0)|0|0,0)|0)==(e|0):0){if(!w)break c;if((da(k+46|0,2,0,0)|0|0)!=1)break;if(da(k+50>>0|0,1,0,0)|0)break c}while(0);k=da(k+20|0,4,0,0)|0|0;if(!k){k=38;break a}}x=Nq(a)|0;e=da(h|0,4,0,0)|0|0;ea(h|0,e+1|0,4,0);h=vh(x,44,e,0,0)|0;vh(y,54,z,da(k+40|0,4,0,0)|0|0,r)|0;e=da(g|0,4,0,0)|0|0;wh(e,-1,gs(a,k)|0,-6);e=(da((da(k+28|0,4,0,0)|0)>>0|0,1,0,1)|0|0)+3|0;if(!f?(da((da(q|0,4,0,0)|0|0)+(s*24|0)+20>>0|0,1,0,0)|0|0)==0:0){x=(da(n|0,4,0,0)|0|0)+1|0;ea(n|0,x|0,4,0);ea(d|0,x|0,4,0);kv(y,z,x)}f=da(m|0,4,0,0)|0|0;if(f>>>0>h>>>0)ea((da(o|0,4,0,0)|0|0)+(h*20|0)+8|0,f|0,4,0);ea((da(p|0,4,0,0)|0|0)+88|0,f+-1|0,4,0);k=49}else k=38}else k=38;while(0);do if((k|0)==38){if((c&1|0)!=0?((da(x|0,4,0,0)|0)&2048|0)==0:0){u=b+12|0;c=da(u|0,4,0,0)|0|0;ea(u|0,0|0,4,0);ea(v+0|0,0|0,4,0);ea(v+4|0,0|0,4,0);ea(v+8|0,0|0,4,0);ea(v+12|0,0|0,4,0);ea(v+16|0,0|0,4,0);ea(v+20|0,0|0,4,0);y=v+20|0;ea(y>>0|0,1|0,1,0);ea(v|0,78|0,4,0);ea(v+4|0,79|0,4,0);ea(v+24|0,0|0,4,0);qs(v,b)|0;y=da(y>>0|0,1,0,0)|0|0;ea(u|0,c|0,4,0);if(!(y<<24>>24)){e=5;k=49;break}if((da(da(b+20|0,4,0,0)|0|0,4,0,0)|0|0)<3){e=5;k=49;break}}g=a+424|0;h=da(g|0,4,0,0)|0|0;if(w){ea(g|0,0|0,4,0);if((da((da(b+12|0,4,0,0)|0|0)+32|0,2,0,0)|0|0)<0){e=((da(x|0,4,0,0)|0|0)>>>11&1)+1|0;f=0}else{e=2;f=0}}else if(!d){e=2;f=0}else{e=a+72|0;f=(da(e|0,4,0,0)|0|0)+1|0;ea(e|0,f|0,4,0);ea(d|0,f|0,4,0);e=2}du(a,b,f,(e|0)==1&1)|0;ea(g|0,h|0,4,0)}while(0);if((k|0)==49)ea(b+28|0,z|0,4,0);i=A;return e|0}function mv(a){a=a|0;var b=0,c=0;b=jv(da(a+12|0,4,0,0)|0|0)|0;c=da(a+16|0,4,0,0)|0|0;do if(!c)if(!((da(a+4|0,4,0,0)|0)&2048))return (b<<24>>24==0?65:b)|0;else{b=Au(da(da((da(da(a+20|0,4,0,0)|0|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0,b)|0;break}else b=Au(c,b)|0;while(0);return b|0}function nv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;W=i;i=i+16|0;if((i|0)>=(j|0))ba();T=W;R=da(a|0,4,0,0)|0|0;U=f+28|0;ea(U|0,-1|0,4,0);Q=f+44|0;ea(Q|0,0|0,4,0);a:do if((b|0)!=0?((da(e+28|0,2,0,0)|0)&20)==0:0){n=da(R+20|0,4,0,0)|0|0;if((n|0)>0){l=da(R+16|0,4,0,0)|0|0;m=0;while(1){if(!(cd(da(l+(m<<4)|0,4,0,0)|0|0,b)|0))break;m=m+1|0;if((m|0)>=(n|0)){P=b;b=0;break a}}P=b;b=da(l+(m<<4)+12|0,4,0,0)|0|0}else{P=b;b=0}}else{P=0;b=0}while(0);N=(P|0)==0;K=N&(c|0)!=0;h=a+412|0;G=a+436|0;H=f+1|0;V=f+32|0;I=a+428|0;J=a+432|0;O=(c|0)==0;M=f+4|0;g=e;o=0;k=0;n=0;m=0;b:while(1){F=(g|0)!=0;l=g+4|0;E=g+8|0;p=0;q=o;while(1){o=(p|0)==0;if(!(F&o)){S=82;break b}p=da(l|0,4,0,0)|0|0;if(p){D=da(p|0,4,0,0)|0|0;if((D|0)>0){o=0;B=0;A=p+8|0;while(1){z=da(A+16|0,4,0,0)|0|0;r=da(A+20|0,4,0,0)|0|0;if((r|0)!=0?((da(r+6|0,2,0,0)|0)&512)!=0:0){r=da(r|0,4,0,0)|0|0;w=da(r|0,4,0,0)|0|0;if((w|0)>0){x=da(r+4|0,4,0,0)|0|0;r=0;t=0;do{if(uv(da(x+(t*20|0)+8|0,4,0,0)|0|0,d,c,P)|0){ea(V|0,t|0,2,0);o=o+1|0;q=2;r=1;m=A}t=t+1|0}while((t|0)<(w|0))}else r=0;if(!((r|0)!=0|O))S=21}else S=21;c:do if((S|0)==21){S=0;if(!N?(da(z+68|0,4,0,0)|0|0)!=(b|0):0)break;if(!O){r=da(A+12|0,4,0,0)|0|0;if(!r)r=da(z|0,4,0,0)|0|0;if(cd(r,c)|0)break}y=q+1|0;m=(q|0)==0?A:m;r=da(z+38|0,2,0,0)|0|0;if(r<<16>>16>0){p=(o|0)==1;u=A+36|0;v=A+48|0;q=0;x=da(z+4|0,4,0,0)|0|0;d:while(1){e:do if(!(cd(da(x|0,4,0,0)|0|0,d)|0)){if(!p)break d;if(!((da(u>>0|0,1,0,0)|0)&4)){t=da(v|0,4,0,0)|0|0;if(!t)break d;w=da(t+4|0,4,0,0)|0|0;if((w|0)<=0)break d;t=da(t|0,4,0,0)|0|0;s=0;while(1){if(!(cd(da(t+(s<<3)|0,4,0,0)|0|0,d)|0))break e;s=s+1|0;if((s|0)>=(w|0))break d}}}while(0);q=q+1|0;if((q|0)>=(r<<16>>16|0)){q=y;break c}else x=x+24|0}ea(V|0,((q|0)==(da(z+36|0,2,0,0)|0|0)?-1:q&65535)|0,2,0);o=o+1|0;q=y;m=A}else q=y}while(0);B=B+1|0;if((B|0)>=(D|0))break;else A=A+72|0}}else o=0;if(!m)y=0;else{ea(U|0,da(m+40|0,4,0,0)|0|0,4,0);p=da(m+16|0,4,0,0)|0|0;ea(Q|0,p|0,4,0);if((da(m+36>>0|0,1,0,0)|0)&8)ea(M|0,da(M|0,4,0,0)|0|1048576|0,4,0);y=m;b=da(p+68|0,4,0,0)|0|0}}else{o=0;y=m}do if(K&(q|0)==0)if(da(h|0,4,0,0)|0){p=da(G>>0|0,1,0,0)|0|0;if(p<<24>>24!=109)if(cd(27560,c)|0)if(p<<24>>24==108){s=o;q=0;t=k;break}else S=49;else t=1;else S=49;if((S|0)==49){S=0;if(!(cd(27568,c)|0))t=0;else{s=o;q=0;t=k;break}}ea(U|0,t|0,4,0);s=da(h|0,4,0,0)|0|0;if(s){b=da(s+68|0,4,0,0)|0|0;r=da(s+38|0,2,0,0)|0|0;f:do if(r<<16>>16>0){p=0;q=da(s+4|0,4,0,0)|0|0;while(1){if(!(cd(da(q|0,4,0,0)|0|0,d)|0))break;p=p+1|0;if((p|0)<(r<<16>>16|0))q=q+24|0;else break f}p=(p|0)==(da(s+36|0,2,0,0)|0|0)?-1:p}else p=0;while(0);m=r<<16>>16;if((p|0)>=(m|0)?(_h(d)|0)!=0:0)q=((da(s+44>>0|0,1,0,0)|0)&32)==0?-1:p;else q=p;if((q|0)<(m|0)){o=o+1|0;do if((q|0)>=0){p=(q|0)>31?-1:1<<q;if(!t){ea(I|0,da(I|0,4,0,0)|0|p|0,4,0);break}else{ea(J|0,da(J|0,4,0,0)|0|p|0,4,0);break}}else ea(H>>0|0,68|0,1,0);while(0);ea(V|0,q|0,2,0);ea(Q|0,s|0,4,0);q=1;k=1;S=66}else{q=1;S=66}}else{s=o;q=0;t=k}}else{s=o;q=0;t=k}else S=66;while(0);if((S|0)==66){S=0;if((o|0)==0&(q|0)==1&(y|0)!=0)if((_h(d)|0)!=0?((da((da(y+16|0,4,0,0)|0|0)+44>>0|0,1,0,0)|0)&32)==0:0){ea(V|0,-1|0,2,0);ea(H>>0|0,68|0,1,0);p=1;m=y;continue}else{s=0;t=k}else{s=o;t=k}}o=da(E|0,4,0,0)|0|0;r=(s|0)==0;if((o|0)!=0&O&r?(L=da(o|0,4,0,0)|0|0,(L|0)>0):0){k=da(o+4|0,4,0,0)|0|0;m=0;do{p=da(k+(m*20|0)+4|0,4,0,0)|0|0;if((p|0)!=0?(cd(p,d)|0)==0:0){S=75;break b}m=m+1|0}while((m|0)<(L|0))}if(r){p=q;k=t;m=y;break}else{p=s;k=t;m=y}}g=da(g+16|0,4,0,0)|0|0;o=p;n=n+1|0}do if((S|0)==75){if(((da(g+28|0,2,0,0)|0)&1)==0?((da((da(k+(m*20|0)|0,4,0,0)|0|0)+4|0,4,0,0)|0)&2|0)!=0:0){ea(T|0,p|0,4,0);sh(a,27576,T);e=2;break}xv(a,o,m,f,10360,n);if((da(f>>0|0,1,0,0)|0|0)==24)S=115;else S=96}else if((S|0)==82){if(o&O?((da(M|0,4,0,0)|0)&64|0)!=0:0){ea(f>>0|0,97|0,1,0);ea(Q|0,0|0,4,0);e=1;break}p=(p|0)==1;if(!p){o=o?27608:27624;do if(N)if(O){ea(T|0,o|0,4,0);ea(T+4|0,d|0,4,0);sh(a,27680,T);break}else{ea(T|0,o|0,4,0);ea(T+4|0,c|0,4,0);ea(T+8|0,d|0,4,0);sh(a,27664,T);break}else{ea(T|0,o|0,4,0);ea(T+4|0,P|0,4,0);ea(T+8|0,c|0,4,0);ea(T+12|0,d|0,4,0);sh(a,27648,T)}while(0);ea(a+17>>0|0,1|0,1,0);B=e+24|0;ea(B|0,(da(B|0,4,0,0)|0|0)+1|0,4,0)}n=da(V|0,2,0,0)|0|0;if(n<<16>>16>-1&(m|0)!=0){y=n<<16>>16>63;z=hw(1,0,n<<16>>16|0)|0;A=m+56|0;x=A;B=da(x+4|0,4,0,0)|0|(y?-2147483648:C);ea(A|0,da(x|0,4,0,0)|0|(y?0:z)|0,4,0);ea(A+4|0,B|0,4,0)}B=f+12|0;Fk(R,da(B|0,4,0,0)|0|0);ea(B|0,0|0,4,0);B=f+16|0;Fk(R,da(B|0,4,0,0)|0|0);ea(B|0,0|0,4,0);ea(f>>0|0,((k|0)!=0?62:-102)|0,1,0);if(p)S=96;else e=2}while(0);g:do if((S|0)==96){o=da(l|0,4,0,0)|0|0;k=da(a|0,4,0,0)|0|0;if(!((da(k+284|0,4,0,0)|0|0)==0|(b|0)==0)){n=da(k+20|0,4,0,0)|0|0;if((n|0)>0){l=da(k+16|0,4,0,0)|0|0;m=0;while(1){k=m+1|0;if((da(l+(m<<4)+12|0,4,0,0)|0|0)==(b|0)){k=m;break}if((k|0)<(n|0))m=k;else break}if((k|0)<0){S=115;break}else b=k}else b=0;if((da(f>>0|0,1,0,0)|0|0)!=62){l=da(o|0,4,0,0)|0|0;if((l|0)<=0){S=115;break}h=da(U|0,4,0,0)|0|0;k=0;while(1){if((h|0)==(da(o+(k*72|0)+48|0,4,0,0)|0|0))break;k=k+1|0;if((k|0)>=(l|0)){S=115;break g}}h=o+(k*72|0)+24|0}l=da(h|0,4,0,0)|0|0;h=da(V|0,2,0,0)|0|0;k=h<<16>>16;if(l){if(h<<16>>16<=-1){h=da(l+36|0,2,0,0)|0|0;if(h<<16>>16>-1)h=da((da(l+4|0,4,0,0)|0|0)+((h<<16>>16)*24|0)|0,4,0,0)|0|0;else h=12944}else h=da((da(l+4|0,4,0,0)|0|0)+(k*24|0)|0,4,0,0)|0|0;if((dv(a,da(l|0,4,0,0)|0|0,h,b)|0)==2){ea(f>>0|0,101|0,1,0);S=115}else S=115}else S=115}else S=115}while(0);if((S|0)==115){B=e+20|0;ea(B|0,(da(B|0,4,0,0)|0|0)+1|0,4,0);if((g|0)==(e|0))e=1;else{do{e=da(e+16|0,4,0,0)|0|0;B=e+20|0;ea(B|0,(da(B|0,4,0,0)|0|0)+1|0,4,0)}while((e|0)!=(g|0));e=1}}i=W;return e|0}function ov(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=da(b>>0|0,1,0,0)|0|0;a:do if(c<<24>>24==-100|c<<24>>24==-102){c=da(a+24|0,4,0,0)|0|0;d=da(c|0,4,0,0)|0|0;b:do if((d|0)!=0?(e=da(d|0,4,0,0)|0|0,(e|0)>0):0){a=da(b+28|0,4,0,0)|0|0;b=0;while(1){if((a|0)==(da(d+(b*72|0)+48|0,4,0,0)|0|0))break;b=b+1|0;if((b|0)>=(e|0))break b}a=c+4|0;ea(a|0,(da(a|0,4,0,0)|0|0)+1|0,4,0);break a}while(0);a=c+8|0;ea(a|0,(da(a|0,4,0,0)|0|0)+1|0,4,0)}while(0);return 0}function pv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=i;i=i+16|0;if((i|0)>=(j|0))ba();s=t;n=t+12|0;a:do if(!c)e=0;else{q=da(da(b|0,4,0,0)|0|0,4,0,0)|0|0;r=da(a|0,4,0,0)|0|0;b:do if((da(c|0,4,0,0)|0|0)>0){e=0;o=da(c+4|0,4,0,0)|0|0;c:while(1){l=da(o|0,4,0,0)|0|0;d:do if(!l)f=0;else{f=l;while(1){g=da(f+4|0,4,0,0)|0|0;if(!(g&4096))break d;if(!(g&262144))f=f+12|0;else f=da((da(f+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;f=da(f|0,4,0,0)|0|0;if(!f){f=0;break}}}while(0);if((da(d>>0|0,1,0,0)|0|0)!=71?(m=qv(da(b|0,4,0,0)|0|0,f)|0,ea(n|0,m|0,4,0),(m|0)>0):0)ea(o+16|0,m|0,2,0);else p=13;do if((p|0)==13){p=0;if(Ls(f,n)|0){f=da(n|0,4,0,0)|0|0;if((f+-1|0)>>>0>65534)break c;ea(o+16|0,f|0,2,0);break}h=o+16|0;ea(h|0,0|0,2,0);if(ks(a,l)|0){e=1;break a}g=da(b|0,4,0,0)|0|0;k=da(g|0,4,0,0)|0|0;if((k|0)>0){g=da(g+4|0,4,0,0)|0|0;f=0;do{u=f;f=f+1|0;if(!(Bu(l,da(g+(u*20|0)|0,4,0,0)|0|0,-1)|0))ea(h|0,f|0,2,0)}while((f|0)<(k|0))}}while(0);e=e+1|0;if((e|0)>=(da(c|0,4,0,0)|0|0))break b;else o=o+20|0}ea(s|0,e+1|0,4,0);ea(s+4|0,d|0,4,0);ea(s+8|0,q|0,4,0);sh(r,27064,s);e=1;break a}while(0);e=vu(r,b,c,d)|0}while(0);i=t;return e|0}function qv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:do if((da(b>>0|0,1,0,0)|0|0)==27?(d=da(b+8|0,4,0,0)|0|0,e=da(a|0,4,0,0)|0|0,(e|0)>0):0){a=da(a+4|0,4,0,0)|0|0;b=0;while(1){c=da(a+(b*20|0)+4|0,4,0,0)|0|0;if((c|0)!=0?(cd(c,d)|0)==0:0)break;b=b+1|0;if((b|0)>=(e|0)){b=0;break a}}b=b+1|0}else b=0;while(0);return b|0}function rv(a,b){a=a|0;b=b|0;var c=0,d=0;c=da(a+38|0,2,0,0)|0|0;a:do if(c<<16>>16>0){d=da(a+4|0,4,0,0)|0|0;c=c<<16>>16;a=0;while(1){if(!(cd(da(d+(a*24|0)|0,4,0,0)|0|0,b)|0))break a;a=a+1|0;if((a|0)>=(c|0)){a=-1;break}}}else a=-1;while(0);return a|0}function sv(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;i=da(a|0,4,0,0)|0|0;c=Qv(i,b,c,d)|0;d=Qv(i,b,e,f)|0;f=Yq(a,79,c,d,0)|0;if((f|0)!=0&(g|0)!=0){c=f+4|0;ea(c|0,da(c|0,4,0,0)|0|1|0,4,0);ea(f+36|0,da(d+28|0,4,0,0)|0|0,2,0)}ea(h|0,rs(i,da(h|0,4,0,0)|0|0,f)|0|0,4,0);return}function tv(a,b){a=a|0;b=b|0;var c=0,d=0;if(a){c=b&65535;do{d=a+4|0;ea(d|0,da(d|0,4,0,0)|0|1|0,4,0);ea(a+36|0,c|0,2,0);tv(da(a+12|0,4,0,0)|0|0,b);a=da(a+16|0,4,0,0)|0|0}while((a|0)!=0)}return}function uv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=0;while(1){f=da(a+e>>0|0,1,0,0)|0|0;if(f<<24>>24==46|f<<24>>24==0)break;e=e+1|0}if(d)if((Ec(a,d,e)|0)==0?(da(d+e>>0|0,1,0,0)|0|0)==0:0)g=7;else e=0;else g=7;do if((g|0)==7){d=e+1|0;g=a+d|0;f=0;while(1){h=da(a+(f+d)>>0|0,1,0,0)|0|0;if(h<<24>>24==46|h<<24>>24==0)break;f=f+1|0}if(c){if(Ec(g,c,f)|0){e=0;break}if(da(c+f>>0|0,1,0,0)|0){e=0;break}}if((b|0)!=0?(cd(a+(e+2+f)|0,b)|0)!=0:0){e=0;break}e=1}while(0);return e|0}function vv(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if((a|0)!=0?(d=da(a+4|0,4,0,0)|0|0,(d|0)>0):0){c=da(a|0,4,0,0)|0|0;a=0;while(1){if(!(cd(da(c+(a<<3)|0,4,0,0)|0|0,b)|0))break a;a=a+1|0;if((a|0)>=(d|0)){a=-1;break}}}else a=-1;while(0);return a|0}function wv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;ea(e|0,c|0,4,0);if(!c)d=0;else{d=c;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;d=d-c&1073741823}ea(e+4|0,d|0,4,0);d=ur(a,b,e,0)|0;i=f;return d|0}function xv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+32|0;if((i|0)>=(j|0))ba();l=p;h=b+4|0;k=da((da(h|0,4,0,0)|0|0)+(c*20|0)|0,4,0,0)|0|0;m=da(a|0,4,0,0)|0|0;g=Lr(m,k,0,0)|0;do if(g){if((da(k>>0|0,1,0,0)|0|0)!=-102?(da(e>>0|0,1,0,0)|0|0)!=71:0){if((f|0)>0){ea(l+0|0,0|0,4,0);ea(l+4|0,0|0,4,0);ea(l+8|0,0|0,4,0);ea(l+12|0,0|0,4,0);ea(l+16|0,0|0,4,0);ea(l+20|0,0|0,4,0);ea(l|0,88|0,4,0);ea(l+24|0,f|0,4,0);qs(l,g)|0}g=Yq(a,24,g,0,0)|0;if(!g)break;b=g+4|0;ea(b|0,da(b|0,4,0,0)|0|4096|0,4,0);b=(da(h|0,4,0,0)|0|0)+(c*20|0)+18|0;f=da(b|0,2,0,0)|0|0;if(!(f<<16>>16)){c=a+456|0;f=(da(c|0,4,0,0)|0|0)+1|0;ea(c|0,f|0,4,0);f=f&65535;ea(b|0,f|0,2,0)}ea(g+28|0,f&65535|0,4,0)}if((da(d>>0|0,1,0,0)|0|0)==95)g=wv(a,g,da(d+8|0,4,0,0)|0|0)|0;b=d+4|0;ea(b|0,da(b|0,4,0,0)|0|32768|0,4,0);Fk(m,d);f=d+0|0;h=g+0|0;k=f+48|0;do{ea(f|0,da(h|0,4,0,0)|0|0,4,0);f=f+4|0;h=h+4|0}while((f|0)<(k|0));if(((da(b|0,4,0,0)|0)&1024|0)==0?(n=d+8|0,o=da(n|0,4,0,0)|0|0,(o|0)!=0):0){ea(n|0,jh(m,o)|0|0,4,0);ea(b|0,da(b|0,4,0,0)|0|65536|0,4,0)}lg(m,g)}while(0);i=p;return}function yv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=a+12|0;d=da(k|0,4,0,0)|0|0;h=a+16|0;f=da(h|0,4,0,0)|0|0;j=a+20|0;do if((d|0)<(f|0))i=15;else{d=da(j|0,4,0,0)|0|0;g=da(da(da(a|0,4,0,0)|0|0,4,0,0)|0|0,4,0,0)|0|0;e=lh(g,f*96|0,0)|0;ea(j|0,e|0,4,0);if(!e){if(c&1)Fk(g,b);ea(j|0,d|0,4,0);d=0;break}jw(e|0,d|0,(da(k|0,4,0,0)|0|0)*48|0)|0;if((d|0)!=(a+24|0))lg(g,d);e=da(j|0,4,0,0)|0|0;do if(!g)e=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](e)|0;else{if((da(g+276|0,4,0,0)|0|0)>>>0<=e>>>0?(da(g+280|0,4,0,0)|0|0)>>>0>e>>>0:0){e=da(g+248|0,2,0,1)|0|0;break}e=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](e)|0}while(0);i=(e>>>0)/48|0;ea(h|0,i|0,4,0);d=da(k|0,4,0,0)|0|0;ew((da(j|0,4,0,0)|0|0)+(d*48|0)|0,0,(i-d|0)*48|0)|0;d=da(k|0,4,0,0)|0|0;i=15}while(0);if((i|0)==15){ea(k|0,d+1|0,4,0);f=da(j|0,4,0,0)|0|0;a:do if(!b){ea(f+(d*48|0)+16|0,1|0,2,0);b=0}else{if(!((da(b+4|0,4,0,0)|0)&262144))e=1;else{e=da(b+28|0,4,0,0)|0|0;e=((es(e,((e|0)<0)<<31>>31)|0)&65535)+65266&65535}ea(f+(d*48|0)+16|0,e|0,2,0);while(1){e=da(b+4|0,4,0,0)|0|0;if(!(e&4096))break a;if(!(e&262144))b=b+12|0;else b=da((da(b+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;b=da(b|0,4,0,0)|0|0;if(!b){b=0;break}}}while(0);ea(f+(d*48|0)|0,b|0,4,0);ea(f+(d*48|0)+20|0,c|0,2,0);ea(f+(d*48|0)+24|0,a|0,4,0);ea(f+(d*48|0)+4|0,-1|0,4,0)}return d|0}function zv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:do if(b)if((da(b>>0|0,1,0,0)|0|0)==-102){b=da(b+28|0,4,0,0)|0|0;d=da(a|0,4,0,0)|0|0;if((d|0)>0)c=0;else{d=0;c=0;break}while(1){if((da(a+(c<<2)+4|0,4,0,0)|0|0)==(b|0))break;c=c+1|0;if((c|0)>=(d|0)){d=0;c=0;break a}}c=hw(1,0,c|0)|0;d=C;break}else{e=zv(a,da(b+16|0,4,0,0)|0|0)|0;c=C;f=zv(a,da(b+12|0,4,0,0)|0|0)|0;c=C|c;d=b+20|0;if(!((da(b+4|0,4,0,0)|0)&2048)){b=Ku(a,da(d|0,4,0,0)|0|0)|0;d=C}else{b=Av(a,da(d|0,4,0,0)|0|0)|0;d=C}d=c|d;c=f|e|b;break}else{d=0;c=0}while(0);C=d;return c|0}function Av(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!b){b=0;c=0}else{f=b;c=0;b=0;do{e=da(f+32|0,4,0,0)|0|0;k=Ku(a,da(f|0,4,0,0)|0|0)|0;b=C|b;j=Ku(a,da(f+40|0,4,0,0)|0|0)|0;b=b|C;i=Ku(a,da(f+48|0,4,0,0)|0|0)|0;b=b|C;h=zv(a,da(f+36|0,4,0,0)|0|0)|0;b=b|C;d=zv(a,da(f+44|0,4,0,0)|0|0)|0;c=k|c|j|i|h|d;b=b|C;if((e|0)!=0?(g=da(e|0,4,0,0)|0|0,(g|0)>0):0){d=0;do{i=Av(a,da(e+(d*72|0)+28|0,4,0,0)|0|0)|0;b=C|b;j=zv(a,da(e+(d*72|0)+52|0,4,0,0)|0|0)|0;c=i|c|j;b=b|C;d=d+1|0}while((d|0)<(g|0))}f=da(f+52|0,4,0,0)|0|0}while((f|0)!=0)}C=b;return c|0}function Bv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=da(b+18|0,2,0,0)|0|0;h=da(c+18|0,2,0,0)|0|0;e=h|i;if(((!((i&62)==0|(h&62)==0)?(d=e&65535,(d&26|0)==(d|0)|(d&38|0)==(d|0)):0)?(g=da(b|0,4,0,0)|0|0,f=da(c|0,4,0,0)|0|0,(Bu(da(g+12|0,4,0,0)|0|0,da(f+12|0,4,0,0)|0|0,-1)|0)==0):0)?(Bu(da(g+16|0,4,0,0)|0|0,da(f+16|0,4,0,0)|0|0,-1)|0)==0:0){if(d+65535&d)e=(d&24|0)==0?32:8;f=Lr(da(da(da(a|0,4,0,0)|0|0,4,0,0)|0|0,4,0,0)|0|0,g,0,0)|0;if(f){e=e&65535;d=79;while(1)if((e|0)==(2<<d+-79|0))break;else d=d+1|0;ea(f>>0|0,d|0,1,0);Du(a,yv(a,f,3)|0)}}return}function Cv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;ea(a|0,b|0,4,0);ea(a+4|0,b|0,4,0);a:do if((f|0)!=0&(d|0)>-1){ea(a+12>>0|0,da((da((da(f+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(d*24|0)+21>>0|0,1,0,0)|0|0|0,1,0);g=da(f+4|0,4,0,0)|0|0;if((da(g|0,2,0,0)|0|0)==(d|0))b=0;else{h=da(f+48|0,2,0,1)|0|0;i=0;while(1){b=i+1|0;if((i|0)>(h|0)){b=0;break a}if((da(g+(b<<1)|0,2,0,0)|0|0)==(d|0))break;else i=b}}ea(a+8|0,da((da(f+32|0,4,0,0)|0|0)+(b<<2)|0,4,0,0)|0|0,4,0);j=8}else{ea(a+12>>0|0,0|0,1,0);ea(a+8|0,0|0,4,0);j=8}while(0);if((j|0)==8){ea(a+16|0,e|0,4,0);ea(a+20|0,0|0,4,0);ea(a+24|0,c|0,4,0);ea(a+28|0,d|0,4,0);ea(a+13>>0|0,2|0,1,0);ea(a+14>>0|0,2|0,1,0);b=Dv(a)|0}return b|0} [all...] |
H A D | sqlite-change-heap.js | 9 function Hl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0;o=r;r=r+16|0;if((r|0)>=(s|0))ka();j=o;n=a+16|0;if((l[n>>0]|0)<2?(l[a+17>>0]|0)<2:0)d=0;else{hp(a);m=a+64|0;g=k[m>>2]|0;e=k[g>>2]|0;do if(!e)e=0;else{if((e|0)==14696){Li(g,0,0)|0;k[g>>2]=0;e=0;break}f=i[a+5>>0]|0;if(f<<24>>24==3){f=a+72|0;j=f;if(!((k[j>>2]|0)==0&(k[j+4>>2]|0)==0)){e=fc[k[e+16>>2]&63](g,0,0)|0;if(!e)if(!(i[a+8>>0]|0))e=0;else{e=k[m>>2]|0;e=wc[k[(k[e>>2]|0)+20>>2]&127](e,l[a+11>>0]|0)|0}}else e=0;m=f;k[m>>2]=0;k[m+4>>2]=0;break}else if(f<<24>>24!=1?(i[a+4>>0]|0)==0|f<<24>>24==5:0){m=(i[a+12>>0]|0)==0;qc[k[e+4>>2]&127](g)|0;k[g>>2]=0;if(!m){e=0;break}e=k[a>>2]|0;e=fc[k[e+28>>2]&63](e,k[a+172>>2]|0,0)|0;break}h=a+72|0;f=h;if(!((k[f>>2]|0)==0&(k[f+4>>2]|0)==0)){d=a+160|0;f=k[d>>2]|0;d=k[d+4>>2]|0;if((b|0)!=0|(f|0)==0&(d|0)==0)e=fc[k[e+16>>2]&63](g,0,0)|0;else e=yc[k[e+12>>2]&31](g,14664,28,0,0)|0;if(!e){if(!(i[a+7>>0]|0)){e=k[m>>2]|0;e=wc[k[(k[e>>2]|0)+20>>2]&127](e,l[a+11>>0]|16)|0}else e=0;if((e|0)==0&((d|0)>0|(d|0)==0&f>>>0>0)){e=k[m>>2]|0;e=wc[k[(k[e>>2]|0)+24>>2]&127](e,j)|0;g=k[j+4>>2]|0;if((e|0)==0&((g|0)>(d|0)|((g|0)==(d|0)?(k[j>>2]|0)>>>0>f>>>0:0))){e=k[m>>2]|0;e=fc[k[(k[e>>2]|0)+16>>2]&63](e,f,d)|0}}}}else e=0;m=h;k[m>>2]=0;k[m+4>>2]=0}while(0);f=a+56|0;ji(k[f>>2]|0);k[f>>2]=0;k[a+44>>2]=0;f=a+204|0;d=k[f>>2]|0;b=k[d>>2]|0;if(b){do{Cl(b);b=k[d>>2]|0}while((b|0)!=0);d=k[f>>2]|0}f=a+24|0;ip(d,k[f>>2]|0);g=a+208|0;d=k[g>>2]|0;if(!d){if((e|0)==0&(c|0)!=0){d=k[f>>2]|0;if((k[a+32>>2]|0)>>>0>d>>>0)e=Gl(a,d)|0;else e=0}}else{b=d+44|0;if(i[b>>0]|0){if(!(i[d+43>>0]|0)){m=k[d+4>>2]|0;uc[k[(k[m>>2]|0)+56>>2]&31](m,0,1,9)|0}i[b>>0]=0;i[d+47>>0]=0}}if((e|0)==0&(c|0)!=0){d=k[a+60>>2]|0;e=k[d>>2]|0;if(!e)f=0;else{f=fc[k[e+40>>2]&63](d,22,0)|0;f=(f|0)==12?0:f}}else f=e;do if(!(i[a+4>>0]|0)){d=k[g>>2]|0;if((d|0)!=0?(jp(d,0)|0)==0:0){d=0;break}e=k[a+60>>2]|0;d=k[e>>2]|0;if(d){if(!(i[a+13>>0]|0))d=wc[k[d+32>>2]&127](e,1)|0;else d=0;e=a+17|0;if((i[e>>0]|0)!=5)i[e>>0]=1}else d=0;i[a+18>>0]=0}else d=0;while(0);i[n>>0]=1;i[a+19>>0]=0;d=(f|0)==0?d:f}r=o;return d|0}function Il(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,l=0;f=k[a+4>>2]|0;c=k[a>>2]|0;i[f+19>>0]=0;g=a+8|0;do if(i[g>>0]|0){if((k[c+152>>2]|0)>1){c=f+76|0;if((k[c>>2]|0)==(a|0)?(k[c>>2]=0,b=f+22|0,j[b>>1]=m[b>>1]&65439,b=k[f+72>>2]|0,(b|0)!=0):0)do{i[b+8>>0]=1;b=k[b+12>>2]|0}while((b|0)!=0);i[g>>0]=1;break}c=f+72|0;b=k[c>>2]|0;a:do if(b)do while(1){d=b+12|0;e=k[d>>2]|0;if((k[b>>2]|0)!=(a|0)){c=d;b=e;break}k[c>>2]=e;if((k[b+4>>2]|0)==1)b=e;else{$c(b);b=k[c>>2]|0}if(!b)break a}while((b|0)!=0);while(0);b=f+76|0;if((k[b>>2]|0)!=(a|0)){b=k[f+40>>2]|0;if((b|0)==2){e=f+22|0;j[e>>1]=m[e>>1]&65471;k[f+40>>2]=1;e=20;break}}else{k[b>>2]=0;b=f+22|0;j[b>>1]=m[b>>1]&65439;b=k[f+40>>2]|0}b=b+-1|0;k[f+40>>2]=b;if(!b){i[f+20>>0]=0;e=20}else e=20}else e=20;while(0);if(((e|0)==20?(i[g>>0]=0,(i[f+20>>0]|0)==0):0)?(h=f+12|0,l=k[h>>2]|0,(l|0)!=0):0){k[h>>2]=0;Gg(k[l+68>>2]|0)}return}function Jl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=((k[a+36>>2]|0)>>>0)/5|0;if(b>>>0<2){d=0;f=k[a+32>>2]|0;h=k[2514]|0}else{d=b+-2|0;d=d-((d>>>0)%((g+1|0)>>>0)|0)|0;h=k[2514]|0;f=k[a+32>>2]|0;d=((d+1|0)==((h>>>0)/(f>>>0)|0|0)?3:2)+d|0}d=b-c-(((c-b+g+d|0)>>>0)/(g>>>0)|0)|0;e=a+32|0;a=((h>>>0)/(f>>>0)|0)+1|0;c=((h>>>0)/(f>>>0)|0)+1|0;a=((a>>>0<b>>>0&d>>>0<a>>>0)<<31>>31)+d|0;while(1){if(a>>>0<2)d=0;else{d=a+-2|0;d=d-((d>>>0)%((g+1|0)>>>0)|0)|0;d=((d+1|0)==((h>>>0)/((k[e>>2]|0)>>>0)|0|0)?3:2)+d|0}if(!((d|0)==(a|0)|(a|0)==(c|0)))break;a=a+-1|0}return a|0}function Kl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=(b|0)==0;d=a;a:while(1){do if((d|0)!=(c|0)){if(!e?(k[d+60>>2]|0)!=(b|0):0)break;if(((i[d+73>>0]|0)+-1&255)<2){a=kp(d)|0;if(!a)break;else break a}else{lp(d);break}}while(0);d=k[d+8>>2]|0;if(!d){a=0;break}}return a|0}function Ll(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0;v=r;r=r+48|0;if((r|0)>=(s|0))ka();f=v;h=v+32|0;q=v+28|0;g=v+24|0;m=v+20|0;o=v+16|0;t=v+12|0;p=v+8|0;if(c>>>0<2)j=0;else{j=c+-2|0;j=j-((j>>>0)%(((((k[a+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;j=((j+1|0)==(((k[2514]|0)>>>0)/((k[a+32>>2]|0)>>>0)|0|0)?3:2)+j|0}do if((j|0)!=(c|0)?((((k[2514]|0)>>>0)/((k[a+32>>2]|0)>>>0)|0)+1|0)!=(c|0):0){n=k[(k[a+12>>2]|0)+56>>2]|0;if((l[n+37>>0]|0)<<16|(l[n+36>>0]|0)<<24|(l[n+38>>0]|0)<<8|(l[n+39>>0]|0)){e=mp(a,c,h,q)|0;if(!e){n=i[h>>0]|0;if(n<<24>>24==2){if(d){e=0;break}e=np(a,m,g,c,1)|0;if(e)break;f=k[m>>2]|0;if(!f){u=24;break}Gg(k[f+68>>2]|0);u=24;break}else if(n<<24>>24!=1){e=il(a,c,t,0)|0;if(e)break;f=(d|0)==0;h=f?2:0;f=f?b:0;g=(d|0)!=0;do{e=np(a,p,o,f,h)|0;if(e){u=16;break}j=k[p>>2]|0;if(j)Gg(k[j+68>>2]|0);j=k[o>>2]|0}while(g&j>>>0>b>>>0);if((u|0)==16){f=k[t>>2]|0;if(!f)break;Gg(k[f+68>>2]|0);break}h=k[t>>2]|0;e=cn(a,h,n,k[q>>2]|0,j,d)|0;if(h)Gg(k[h+68>>2]|0);if(!e){u=24;break}else break}else{k[f>>2]=56228;k[f+4>>2]=10788;gd(11,13600,f);e=11;break}}}else e=101}else u=24;while(0);if((u|0)==24)if(!d){g=((k[2514]|0)>>>0)/((k[a+32>>2]|0)>>>0)|0;h=g+1|0;j=a+36|0;f=c;while(1){e=f+-1|0;if((e|0)==(h|0)){f=e;continue}if(e>>>0<2)f=0;else{f=f+-3|0;f=f-((f>>>0)%(((((k[j>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;f=((f+1|0)==(g|0)?3:2)+f|0}if((f|0)==(e|0))f=e;else break}i[a+19>>0]=1;k[a+44>>2]=e;e=0}else e=0;r=v;return e|0}function Ml(a){a=a|0;var b=0,c=0,d=0;d=a+16|0;c=i[d>>0]|0;a:do if(c<<24>>24!=6)if((c&255)>=2){do if(!(k[a+208>>2]|0)){if(!(c<<24>>24==2?1:(k[k[a+64>>2]>>2]|0)==0)){b=Po(a,0)|0;break}b=Hl(a,0,0)|0;if((i[a+15>>0]|0)==0&(c&255)>2){k[a+40>>2]=4;i[d>>0]=6;break a}}else{b=op(a,2,-1)|0;c=Hl(a,l[a+19>>0]|0,0)|0;b=(b|0)==0?c:b}while(0);c=b&255;if((c|0)==10|(c|0)==13){k[a+40>>2]=b;i[d>>0]=6}}else b=0;else b=k[a+40>>2]|0;while(0);return b|0}function Nl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0;a:do if((a|0)!=0?(e=k[a+4>>2]|0,k[e+4>>2]=k[a>>2],e=k[e+8>>2]|0,(e|0)!=0):0){l=(c|0)==0;while(1){if(!l?(i[e+72>>0]&1)==0:0){if(((i[e+73>>0]|0)+-1&255)<2?(d=kp(e)|0,(d|0)!=0):0)break}else{c=e+56|0;$c(k[c>>2]|0);k[c>>2]=0;i[e+73>>0]=4;k[e+68>>2]=b}c=e+76|0;if((j[c>>1]|0)>=0){h=0;while(1){f=e+(h<<2)+120|0;g=k[f>>2]|0;if(g)Gg(k[g+68>>2]|0);k[f>>2]=0;if((h|0)<(j[c>>1]|0))h=h+1|0;else break}}e=k[e+8>>2]|0;if(!e)break a}Nl(a,d,0)|0;return d|0}while(0);return 0}function Ol(a){a=a|0;var b=0,c=0,d=0;a:do if(!(k[a+4>>2]|0)){c=k[a+20>>2]|0;if((c|0)>0){a=k[a+16>>2]|0;b=0;while(1){d=k[a+(b<<4)+4>>2]|0;if((d|0)!=0?(k[d+16>>2]|0)!=0:0){a=1;break a}b=b+1|0;if((b|0)>=(c|0)){a=0;break}}}else a=0}else a=1;while(0);return a|0}function Pl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0;c=k[3164]|0;if(c)sc[c&3]();l=a+20|0;g=k[l>>2]|0;f=(g|0)>0;if(f){c=k[a+16>>2]|0;e=0;do{d=k[c+(e<<4)+4>>2]|0;if(d)k[(k[d+4>>2]|0)+4>>2]=k[d>>2];e=e+1|0}while((e|0)!=(g|0))}m=a+24|0;if(!(k[m>>2]&2))c=1;else c=(i[a+145>>0]|0)!=0;if(f){h=a+16|0;c=c&1;f=g;g=0;e=0;while(1){d=k[(k[h>>2]|0)+(g<<4)+4>>2]|0;if(!d)d=f;else{e=(i[d+8>>0]|0)==2?1:e;Qg(d,b,c);d=k[l>>2]|0}g=g+1|0;if((g|0)>=(d|0))break;else f=d}}else e=0;Wn(a,68);c=k[3166]|0;if(c)sc[c&3]();c=k[m>>2]|0;if((c&2|0)!=0?(i[a+145>>0]|0)==0:0){c=k[a+4>>2]|0;if(c)do{d=c+88|0;j[d>>1]=j[d>>1]|8;c=k[c+52>>2]|0}while((c|0)!=0);Jg(a);c=k[m>>2]|0}d=a+504|0;k[d+0>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;k[d+12>>2]=0;k[m>>2]=c&-16777217;c=k[a+204>>2]|0;do if(c){if((e|0)==0?(i[a+63>>0]|0)!=0:0)break;hc[c&31](k[a+200>>2]|0)}while(0);return}function Ql(a){a=a|0;var b=0,c=0;c=a+488|0;b=k[c>>2]|0;if(b)do{k[c>>2]=k[b+24>>2];rg(a,b);b=k[c>>2]|0}while((b|0)!=0);k[a+496>>2]=0;k[a+500>>2]=0;i[a+70>>0]=0;return}function Rl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=k[a+4>>2]|0;k[f+4>>2]=k[a>>2];c=k[f+8>>2]|0;if(c)do{b=c;c=k[c+8>>2]|0;if((k[b>>2]|0)==(a|0))pp(b)}while((c|0)!=0);Qg(a,0,0);a:do if(i[a+9>>0]|0){c=f+64|0;b=k[c>>2]|0;k[c>>2]=b+-1;if((b|0)<2){b=k[3664]|0;if((b|0)==(f|0)){k[3664]=k[f+68>>2];d=12;break}else c=b;do{if(!c){d=12;break a}b=c+68|0;c=k[b>>2]|0}while((c|0)!=(f|0));k[b>>2]=k[f+68>>2];d=12}}else d=12;while(0);if((d|0)==12){qp(k[f>>2]|0);b=k[f+52>>2]|0;c=f+48|0;if((b|0)!=0?(e=k[c>>2]|0,(e|0)!=0):0)hc[b&31](e);b=k[c>>2]|0;if(b)$c(b);b=f+80|0;c=k[b>>2]|0;if(c){c=c+-4|0;k[b>>2]=c;el(c);k[b>>2]=0}$c(f)}c=k[a+28>>2]|0;b=a+24|0;if(c)k[c+24>>2]=k[b>>2];b=k[b>>2]|0;if(b)k[b+28>>2]=c;$c(a);return}function Sl(a,b){a=a|0;b=b|0;var c=0;b=k[b+32>>2]|0;if((b|0)!=0?(c=(k[b>>2]|0)+-1|0,k[b>>2]=c,(c|0)==0):0){hc[k[b+4>>2]&31](k[b+8>>2]|0);rg(a,b)}return}function Tl(a){a=a|0;var b=0,c=0;c=a+8|0;b=k[c>>2]|0;k[c>>2]=0;c=a+12|0;$c(k[c>>2]|0);k[c>>2]=0;k[a>>2]=0;if(b)do{c=b;b=k[b>>2]|0;$c(c)}while((b|0)!=0);k[a+4>>2]=0;return}function Ul(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){d=k[a>>2]|0;qg(d,a);e=k[a+48>>2]|0;c=a+52|0;b=k[c>>2]|0;if(!e)k[d+4>>2]=b;else{k[e+52>>2]=b;b=k[c>>2]|0}if(b)k[b+48>>2]=e;k[a+40>>2]=-1241070648;k[a>>2]=0;rg(d,a)}return}function Vl(a){a=a|0;var b=0;i[a+65>>0]=0;k[a+52>>2]=7;a=k[a+236>>2]|0;do if(a){b=a+8|0;if(!(j[b>>1]&9312)){j[b>>1]=1;break}else{Ag(a);break}}while(0);return}function Wl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;E=r;r=r+32|0;if((r|0)>=(s|0))ka();u=E;x=E+16|0;o=E+12|0;p=E+8|0;D=k[a>>2]|0;if(i[D+65>>0]|0)k[a+80>>2]=7;c=k[a+200>>2]|0;if(c)kw(c|0,0,k[a+196>>2]|0)|0;e=a+176|0;c=k[e>>2]|0;if(c){while(1){d=k[c+4>>2]|0;if(!d)break;else c=d}am(c)|0;k[e>>2]=0;k[a+184>>2]=0}l=a+56|0;c=k[l>>2]|0;a:do if((c|0)!=0?(n=a+36|0,b=k[n>>2]|0,(b|0)>0):0){e=0;while(1){d=k[c+(e<<2)>>2]|0;if(!d)d=b;else{Gm(a,d);k[(k[l>>2]|0)+(e<<2)>>2]=0;d=k[n>>2]|0}e=e+1|0;if((e|0)>=(d|0))break a;c=k[l>>2]|0;b=d}}while(0);c=k[a+8>>2]|0;if(c)hh(c+40|0,k[a+28>>2]|0);n=a+180|0;c=k[n>>2]|0;if(c)do{k[n>>2]=k[c+4>>2];l=c+80|0;b=c+60|0;d=k[b>>2]|0;g=l+(d*40|0)|0;h=c+64|0;if((k[h>>2]|0)>0){e=0;do{Gm(k[c>>2]|0,k[g+(e<<2)>>2]|0);e=e+1|0}while((e|0)<(k[h>>2]|0));d=k[b>>2]|0}hh(l,d);rg(k[k[c>>2]>>2]|0,c);c=k[n>>2]|0}while((c|0)!=0);if(k[a+204>>2]|0)jm(a,-1,0);B=a+40|0;b:do if((k[B>>2]|0)==-1108210269){z=a+76|0;if((k[z>>2]|0)>-1){A=a+88|0;h=j[A>>1]|0;if(h&128){y=a+80|0;e=k[y>>2]|0;g=e&255;d=g+-7|0;do if(d>>>0<7?(f=(77>>>(d&127)&1)!=0,f):0)if((h&64)==0|(g|0)!=9){if((g|0)==7|(g|0)==13?(h&32)!=0:0){b=2;break}Pl(D,516);Ql(D);i[D+63>>0]=1;k[a+92>>2]=0;e=k[y>>2]|0;b=0}else{f=1;b=0}else{f=0;b=0}while(0);if((e|0)==0?(w=a+144|0,v=k[w+4>>2]|0,(v|0)>0|(v|0)==0&(k[w>>2]|0)>>>0>0):0){w=k[a>>2]|0;k[y>>2]=787;i[a+86>>0]=2;ih(a+44|0,w,34376,u)}g=D+304|0;if((k[g>>2]|0)>0?(k[D+328>>2]|0)==0:0)C=141;else if((i[D+63>>0]|0)!=0?(k[D+156>>2]|0)==(((m[A>>1]|0)>>>6&1^1)&65535|0):0){do if(!(k[y>>2]|0))C=41;else{if(!((i[a+86>>0]|0)!=3|f)){C=41;break}Pl(D,0);k[a+92>>2]=0}while(0);c:do if((C|0)==41){d:do if(ym(a,1)|0)if(!(j[A>>1]&64))c=787;else{b=1;break b}else{f=D+328|0;d=k[f>>2]|0;k[f>>2]=0;e=k[g>>2]|0;e:do if((e|0)>0){h=0;f:while(1){n=k[(k[d+(h<<2)>>2]|0)+8>>2]|0;do if(n){l=k[(k[n>>2]|0)+60>>2]|0;if(!l)break;c=qc[l&127](n)|0;Rm(a,n);if(c)break f;e=k[g>>2]|0}while(0);h=h+1|0;if((h|0)>=(e|0)){C=50;break e}}k[f>>2]=d;C=135}else C=50;while(0);g:do if((C|0)==50){k[f>>2]=d;v=D+20|0;w=D+16|0;l=0;e=0;h=0;h:while(1){g=k[v>>2]|0;if((l|0)>=(g|0)){d=e;break}f=k[w>>2]|0;n=l;while(1){l=k[f+(n<<4)+4>>2]|0;if((l|0)!=0?(i[l+8>>0]|0)==2:0)break;n=n+1|0;if((n|0)>=(g|0)){d=e;break h}}c=k[l+4>>2]|0;k[c+4>>2]=k[l>>2];c=gp(k[c>>2]|0)|0;if(!c){l=n+1|0;e=((n|0)!=1&1)+e|0;h=1}else{C=135;break g}}do if(h){f=k[D+196>>2]|0;if(!f)break;if(qc[f&127](k[D+192>>2]|0)|0){c=531;break d}}while(0);e=k[(k[w>>2]|0)+4>>2]|0;h=k[k[e+4>>2]>>2]|0;g=(i[h+15>>0]|0)==0;if(g){n=k[h+168>>2]|0;if(n)C=62}else{n=10360;C=62}do if((C|0)==62){l=n;while(1)if(!(i[l>>0]|0))break;else l=l+1|0;if((l-n&1073741823|0)==0|(d|0)<2)break;t=k[D>>2]|0;if(g){f=k[h+168>>2]|0;k[x>>2]=0;if(!f){n=0;f=0}else C=80}else{k[x>>2]=0;f=10360;C=80}if((C|0)==80){h=f;while(1)if(!(i[h>>0]|0))break;else h=h+1|0;n=h-f&1073741823}k[u>>2]=f;q=zh(D,44696,u)|0;if(!q){c=7;break d}n=q+n|0;l=t+32|0;h=0;i:while(1){do if(h){if((h|0)>100){C=87;break i}if((h|0)!=1)break;k[u>>2]=q;gd(13,44728,u)}while(0);hd(4,p);c=k[p>>2]|0;k[u>>2]=c>>>8;k[u+4>>2]=c&255;fd(13,n,44744,u)|0;c=uc[k[l>>2]&31](t,q,0,o)|0;g=(c|0)==0;if(g&(k[o>>2]|0)!=0)h=h+1|0;else{C=91;break}}if((C|0)==87){k[u>>2]=q;gd(13,44712,u);fc[k[t+28>>2]&63](t,q,0)|0;C=92}else if((C|0)==91)if(g)C=92;do if((C|0)==92){c=rp(t,q,x,16406,0)|0;if(c)break;f=k[v>>2]|0;j:do if((f|0)>0){o=0;l=0;p=0;h=0;k:while(1){n=k[(k[w>>2]|0)+(p<<4)+4>>2]|0;do if(!n)n=o;else{if((i[n+8>>0]|0)!=2){n=o;break}g=k[n+4>>2]|0;e=k[g>>2]|0;d=k[e+172>>2]|0;if(!d){n=o;break}if(!h){k[g+4>>2]=k[n>>2];h=(i[e+7>>0]|0)==0&1}e=k[x>>2]|0;n=d;while(1)if(!(i[n>>0]|0))break;else n=n+1|0;g=d;c=yc[k[(k[e>>2]|0)+12>>2]&31](e,d,(n-g&1073741823)+1|0,o,l)|0;n=d;while(1)if(!(i[n>>0]|0))break;else n=n+1|0;if(c){f=e;C=106;break k}n=ow((n-g&1073741823)+1|0,0,o|0,l|0)|0;f=k[v>>2]|0;l=L}while(0);p=p+1|0;if((p|0)>=(f|0))break;else o=n}if((C|0)==106){d=k[f>>2]|0;if(d){qc[k[d+4>>2]&127](e)|0;k[f>>2]=0}$c(e);fc[k[t+28>>2]&63](t,q,0)|0;rg(D,q);C=135;break g}do if(!h)h=0;else{g=k[x>>2]|0;if((qc[k[(k[g>>2]|0)+48>>2]&127](g)|0)&1024)break;c=wc[k[(k[g>>2]|0)+20>>2]&127](g,2)|0;if(!c)break;d=k[g>>2]|0;if(d){qc[k[d+4>>2]&127](g)|0;k[g>>2]=0}$c(g);fc[k[t+28>>2]&63](t,q,0)|0;rg(D,q);C=135;break g}while(0);e=k[v>>2]|0;if((e|0)>0)n=0;else{n=1;c=0;break}while(1){g=k[(k[w>>2]|0)+(n<<4)+4>>2]|0;if(g){c=Pg(g,q)|0;if(c){n=0;break j}e=k[v>>2]|0}n=n+1|0;if((n|0)>=(e|0)){n=1;c=0;break}}}else{n=1;h=0;c=0}while(0);g=k[x>>2]|0;f=k[g>>2]|0;if(f){qc[k[f+4>>2]&127](g)|0;k[g>>2]=0}$c(g);if(!n){rg(D,q);C=135;break g}c=fc[k[t+28>>2]&63](t,q,h)|0;rg(D,q);if(c){C=135;break g}c=k[3164]|0;if(c)sc[c&3]();c=k[v>>2]|0;if((c|0)>0){e=0;do{d=k[(k[w>>2]|0)+(e<<4)+4>>2]|0;if(d){Og(d,1)|0;c=k[v>>2]|0}e=e+1|0}while((e|0)<(c|0))}c=k[3166]|0;if(c)sc[c&3]();Wn(D,64);break g}while(0);rg(D,q);C=135;break g}while(0);c=k[v>>2]|0;do if((c|0)>0){d=1;while(1){if(e){c=Pg(e,0)|0;if(c){C=135;break g}c=k[v>>2]|0}if((d|0)>=(c|0))break;e=k[(k[w>>2]|0)+(d<<4)+4>>2]|0;d=d+1|0}if((c|0)>0)e=0;else break;do{d=k[(k[w>>2]|0)+(e<<4)+4>>2]|0;if(d){c=Og(d,0)|0;if(c){C=135;break g}c=k[v>>2]|0}e=e+1|0}while((e|0)<(c|0))}while(0);Wn(D,64)}while(0);do if((C|0)==135){if(!c)break;else if((c|0)!=5)break d;if(!(j[A>>1]&64)){c=5;break d}else{b=5;break b}}while(0);x=D+504|0;C=D+24|0;k[x+0>>2]=0;k[x+4>>2]=0;k[x+8>>2]=0;k[x+12>>2]=0;k[C>>2]=k[C>>2]&-16777219;break c}while(0);k[y>>2]=c;Pl(D,0);k[a+92>>2]=0}while(0);k[D+500>>2]=0;C=146}else C=141;do if((C|0)==141)if(!b)if(k[y>>2]|0){c=i[a+86>>0]|0;if(c<<24>>24==2){b=2;C=147;break}else if(c<<24>>24==3){b=1;C=147;break}else{Pl(D,516);Ql(D);i[D+63>>0]=1;k[a+92>>2]=0;C=146;break}}else{b=1;C=147}else C=147;while(0);if((C|0)==146)if(!b)b=0;else C=147;if((C|0)==147){c=em(a,b)|0;if(c){C=k[y>>2]|0;if((C|0)==0|(C&255|0)==19){k[y>>2]=c;C=a+44|0;rg(D,k[C>>2]|0);k[C>>2]=0}Pl(D,516);Ql(D);i[D+63>>0]=1;k[a+92>>2]=0}}if(j[A>>1]&4){if((b|0)==2){k[D+80>>2]=0;b=a+92|0}else{b=a+92|0;y=k[b>>2]|0;k[D+80>>2]=y;C=D+84|0;k[C>>2]=(k[C>>2]|0)+y}k[b>>2]=0}}if((k[z>>2]|0)>-1){b=D+148|0;k[b>>2]=(k[b>>2]|0)+-1;b=j[A>>1]|0;if(!(b&64)){b=D+156|0;k[b>>2]=(k[b>>2]|0)+-1;b=j[A>>1]|0}if(b&128){C=D+152|0;k[C>>2]=(k[C>>2]|0)+-1}}}k[B>>2]=1369188723;b=a+80|0;if(!(i[(k[a>>2]|0)+65>>0]|0)){b=(k[b>>2]|0)==5?5:0;break}else{k[b>>2]=7;b=0;break}}else b=0;while(0);r=E;return b|0}function Xl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=a+8|0;d=m[e>>1]|0;do if(d&18){j[e>>1]=d|2;if(d&16384)Wg(a)|0;c=a+10|0;b=b&255;d=b&247;if((l[c>>0]|0|0)!=(d|0))bm(a,d)|0;if(((b&8|0)!=0?(k[a+16>>2]&1|0)!=0:0)?(_l(a)|0)!=0:0){c=0;break}if((j[e>>1]&514)==2){fm(a)|0;f=12}else f=12}else{gm(a,b,0)|0;d=b&247;c=a+10|0;f=12}while(0);if((f|0)==12)if((l[c>>0]|0|0)==(d|0))c=k[a+16>>2]|0;else c=0;return c|0}function Yl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0.0,g=0,h=0.0,j=0,k=0,m=0,n=0,o=0,q=0,r=0,s=0;p[b>>3]=0.0;g=d&255;if(d<<24>>24==1){d=a;e=c;o=1;s=0}else{e=3-g|0;a:do if((e|0)<(c|0))while(1){d=e+2|0;if(i[a+e>>0]|0){c=1;break a}if((d|0)<(c|0))e=d;else{c=0;e=d;break}}else c=0;while(0);d=a+(g&1)|0;e=g+-3+e|0;o=2;s=c}r=a+e|0;b:do if(d>>>0<r>>>0){while(1){e=i[d>>0]|0;if(!(i[10368+(e&255)>>0]&1))break;d=d+o|0;if(d>>>0>=r>>>0){d=0;break b}}if(e<<24>>24==45){d=d+o|0;q=-1}else if(e<<24>>24==43){d=d+o|0;q=1}else q=1;c:do if(d>>>0<r>>>0){e=0;do{if((i[d>>0]|0)!=48)break c;d=d+o|0;e=e+1|0}while(d>>>0<r>>>0)}else e=0;while(0);d:do if(d>>>0<r>>>0){a=0;g=0;while(1){c=i[d>>0]|0;if(!(((c&255)+-48|0)>>>0<10&((a|0)<214748364|(a|0)==214748364&g>>>0<3435973835))){j=a;break d}g=xw(g|0,a|0,10,0)|0;a=(c<<24>>24)+-48|0;g=ow(a|0,((a|0)<0)<<31>>31|0,g|0,L|0)|0;a=L;d=d+o|0;e=e+1|0;if(d>>>0>=r>>>0){j=a;break}}}else{g=0;j=0}while(0);e:do if(d>>>0<r>>>0){c=0;while(1){a=i[d>>0]|0;if(((a&255)+-48|0)>>>0>=10){k=c;break}d=d+o|0;e=e+1|0;a=c+1|0;if(d>>>0<r>>>0)c=a;else{m=j;k=a;a=0;j=1;c=1;break e}}f:do if(a<<24>>24==46){c=d+o|0;g:do if(c>>>0<r>>>0){m=c;while(1){a=i[m>>0]|0;if(!(((a&255)+-48|0)>>>0<10&((j|0)<214748364|(j|0)==214748364&g>>>0<3435973835))){c=m;m=j;break g}g=xw(g|0,j|0,10,0)|0;j=(a<<24>>24)+-48|0;g=ow(j|0,((j|0)<0)<<31>>31|0,g|0,L|0)|0;j=L;e=e+1|0;a=k+-1|0;c=d+(o<<1)|0;if(c>>>0<r>>>0){d=m;m=c;k=a}else{d=m;m=j;k=a;break}}}else m=j;while(0);if(c>>>0<r>>>0){j=o<<1;while(1){if(((l[c>>0]|0)+-48|0)>>>0>=10)break f;a=d+j|0;e=e+1|0;if(a>>>0<r>>>0){d=c;c=a}else{c=a;break}}}}else{c=d;m=j}while(0);if(c>>>0<r>>>0){n=i[c>>0]|0;h:do if(n<<24>>24==69|n<<24>>24==101){d=c+o|0;if(d>>>0>=r>>>0){a=0;j=0;c=1;break e}a=i[d>>0]|0;if(a<<24>>24==45){d=c+(o<<1)|0;n=-1}else if(a<<24>>24==43){d=c+(o<<1)|0;n=1}else n=1;if(d>>>0<r>>>0){c=0;j=0}else{a=0;j=0;c=n;break e}while(1){a=i[d>>0]|0;if(((a&255)+-48|0)>>>0>=10){a=c;c=n;break h}if((c|0)<1e4)a=(c*10|0)+-48+(a<<24>>24)|0;else a=1e4;d=d+o|0;if(d>>>0<r>>>0){c=a;j=1}else{j=1;c=n;break}}}else{d=c;a=0;j=1;c=1}while(0);if((e|0)!=0&(j|0)!=0&d>>>0<r>>>0)do{if(!(i[10368+(l[d>>0]|0)>>0]&1))break e;d=d+o|0}while(d>>>0<r>>>0)}else{d=c;a=0;j=1;c=1}}else{m=j;k=0;a=0;j=1;c=1}while(0);a=(ha(a,c)|0)+k|0;n=(a|0)<0;c=n?0-a|0:a;do if((g|0)==0&(m|0)==0)if((q|0)<0)f=(e|0)!=0?-0.0:0.0;else f=0.0;else{if((a>>31|1|0)>0)if(((m|0)<214748364|(m|0)==214748364&g>>>0<3435973836)&(c|0)>0){a=m;do{c=c+-1|0;g=xw(g|0,a|0,10,0)|0;a=L}while(((a|0)<214748364|(a|0)==214748364&g>>>0<3435973836)&(c|0)>0)}else a=m;else{k=ww(g|0,m|0,10,0)|0;if((k|0)==0&(L|0)==0&(c|0)>0){a=m;do{c=c+-1|0;g=vw(g|0,a|0,10,0)|0;a=L;m=ww(g|0,a|0,10,0)|0}while((m|0)==0&(L|0)==0&(c|0)>0)}else a=m}m=(q|0)<0;k=iw(0,0,g|0,a|0)|0;k=m?k:g;m=m?L:a;if(!c){f=+(k>>>0)+4294967296.0*+(m|0);break}if((c+-308|0)>>>0<34){if(!((c|0)%308|0))h=1.0;else{f=1.0;do{f=f*10.0;c=c+-1|0}while(((c|0)%308|0|0)!=0);h=f}f=+(k>>>0)+4294967296.0*+(m|0);if(n){f=f/h/1.e+308;break}else{f=f*h*1.e+308;break}}if((c|0)>341){f=+(k>>>0)+4294967296.0*+(m|0);if(n){f=f*0.0;break}else{f=f*B;break}}if(!((c|0)%22|0)){g=c;f=1.0}else{g=c;f=1.0;do{f=f*10.0;g=g+-1|0}while(((g|0)%22|0|0)!=0)}if((g|0)>0){do{f=f*1.0e22;g=g+-22|0}while((g|0)>0);h=f}else h=f;f=+(k>>>0)+4294967296.0*+(m|0);if(n){f=f/h;break}else{f=f*h;break}}while(0);p[b>>3]=f;d=d>>>0>=r>>>0&(e|0)>0&(j|0)!=0&(s|0)==0&1}else d=0;while(0);return d|0}function Zl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0;g=d&255;if(d<<24>>24==1){e=a;f=c;n=1;c=0}else{f=3-g|0;a:do if((f|0)<(c|0))while(1){d=f+2|0;if(i[a+f>>0]|0){c=1;break a}if((d|0)<(c|0))f=d;else{c=0;f=d;break}}else c=0;while(0);e=a+(g&1)|0;f=g+-3+f|0;n=2}j=a+f|0;b:do if(e>>>0<j>>>0){while(1){f=i[e>>0]|0;if(!(i[10368+(f&255)>>0]&1))break;e=e+n|0;if(e>>>0>=j>>>0){l=0;break b}}if(f<<24>>24==45){e=e+n|0;l=1;break}else if(f<<24>>24==43){e=e+n|0;l=0;break}else{l=0;break}}else l=0;while(0);c:do if(e>>>0<j>>>0){f=e;while(1){if((i[f>>0]|0)!=48){m=f;break c}f=f+n|0;if(f>>>0>=j>>>0){m=f;break}}}else m=e;while(0);do if(m>>>0<j>>>0){a=m;h=0;g=0;f=0;while(1){d=i[a>>0]|0;if((d+-48&255)>=10){a=0;j=g;break}g=xw(h|0,g|0,10,0)|0;h=d<<24>>24;g=ow(g|0,L|0,-48,-1)|0;h=ow(g|0,L|0,h|0,((h|0)<0)<<31>>31|0)|0;g=L;f=f+n|0;a=m+f|0;if(a>>>0>=j>>>0){a=1;j=g;break}}g=d<<24>>24;d=(l|0)!=0;if((j|0)>=0)if(d){d=j;p=22;break}else{d=j;p=23;break}else{h=b;k[h>>2]=d?0:-1;k[h+4>>2]=d?-2147483648:2147483647;h=d?0:2;break}}else if(!l){a=1;h=0;d=0;g=0;f=0;p=23}else{a=1;h=0;d=0;g=0;f=0;p=22}while(0);if((p|0)==22){l=iw(0,0,h|0,d|0)|0;h=b;k[h>>2]=l;k[h+4>>2]=L;h=0}else if((p|0)==23){l=b;k[l>>2]=h;k[l+4>>2]=d;h=2}if(((g|0)==0|a?!((f|0)==0&(e|0)==(m|0)):0)?(o=n*19|0,!((f|0)>(o|0)|(c|0)!=0)):0)if((f|0)>=(o|0)){f=0;do{e=m+(ha(f,n)|0)|0;e=i[e>>0]|0;c=i[11192+f>>0]|0;f=f+1|0;d=e<<24>>24==c<<24>>24}while(d&(f|0)<18);if(d)e=(i[m+(n*18|0)>>0]|0)+-56|0;else e=((e<<24>>24)-(c<<24>>24)|0)*10|0;if((e|0)>=0)return ((e|0)>0?1:h)|0;else e=0}else e=0;else e=1;return e|0}function _l(a){a=a|0;var b=0,c=0;c=a+8|0;b=j[c>>1]|0;if(b&16384){Wg(a)|0;b=j[c>>1]|0}do if(b&18){if((k[a+24>>2]|0)!=0?(k[a+16>>2]|0)==(k[a+20>>2]|0):0){b=0;break}b=a+12|0;if(!(jh(a,(k[b>>2]|0)+2|0,1)|0)){a=a+16|0;i[(k[a>>2]|0)+(k[b>>2]|0)>>0]=0;i[(k[a>>2]|0)+((k[b>>2]|0)+1)>>0]=0;j[c>>1]=m[c>>1]|0|512;b=0}else b=7}else b=0;while(0);return b|0}function $l(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=wo(a,b,c,d)|0;if(!c)rg(a,b);return c|0}function am(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=k[a>>2]|0;k[c+200>>2]=k[a+20>>2];k[c+196>>2]=k[a+56>>2];k[c+4>>2]=k[a+8>>2];k[c+32>>2]=k[a+48>>2];k[c+8>>2]=k[a+16>>2];k[c+28>>2]=k[a+52>>2];k[c+56>>2]=k[a+24>>2];k[c+36>>2]=k[a+40>>2];f=a+32|0;e=k[f+4>>2]|0;b=k[c>>2]|0;d=b+32|0;k[d>>2]=k[f>>2];k[d+4>>2]=e;k[c+92>>2]=k[a+68>>2];k[b+80>>2]=k[a+72>>2];return k[a+44>>2]|0}function bm(a,b){a=a|0;b=b|0;if((j[a+8>>1]&2)!=0?(l[a+10>>0]|0|0)!=(b|0):0)b=Gn(a,b&255)|0;else b=0;return b|0}function cm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a+8|0;if(j[d>>1]&9312)Ag(a);k[a+0>>2]=k[b+0>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[a+12>>2]=k[b+12>>2];k[a+16>>2]=k[b+16>>2];if(!(j[b+8>>1]&2048))j[d>>1]=(m[d>>1]|0)&58367|c;return}function dm(a,b){a=a|0;b=b|0;var c=0,d=0;if(!((j[a+8>>1]&9312)==0?(k[a+24>>2]|0)==0:0))Vg(a);a=a+0|0;c=b+0|0;d=a+40|0;do{k[a>>2]=k[c>>2];a=a+4|0;c=c+4|0}while((a|0)<(d|0));j[b+8>>1]=1;k[b+24>>2]=0;return}function em(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0;p=k[a>>2]|0;m=p+500|0;e=k[m>>2]|0;do if((e|0)!=0?(n=a+104|0,d=k[n>>2]|0,(d|0)!=0):0){o=d+-1|0;j=p+20|0;d=k[j>>2]|0;if((d|0)>0){h=p+16|0;i=(b|0)==2;f=d;g=0;d=0;do{e=k[(k[h>>2]|0)+(g<<4)+4>>2]|0;if(e){if(i?(l=zm(e,2,o)|0,(l|0)!=0):0)e=l;else e=zm(e,1,o)|0;f=k[j>>2]|0;d=(d|0)==0?e:d}g=g+1|0}while((g|0)<(f|0));k[m>>2]=(k[m>>2]|0)+-1;k[n>>2]=0;if(!d)d=13;else{c=d;d=16}}else{k[m>>2]=e+-1;k[n>>2]=0;d=13}do if((d|0)==13){if((b|0)==2?(c=xm(p,2,o)|0,(c|0)!=0):0)break;c=xm(p,1,o)|0;d=16}while(0);if((d|0)==16)if((b|0)!=2)break;m=a+152|0;l=k[m+4>>2]|0;j=p+504|0;k[j>>2]=k[m>>2];k[j+4>>2]=l;j=a+160|0;l=k[j+4>>2]|0;m=p+512|0;k[m>>2]=k[j>>2];k[m+4>>2]=l}else c=0;while(0);return c|0}function fm(a){a=a|0;var b=0,c=0;b=a+12|0;if(!(jh(a,(k[b>>2]|0)+2|0,1)|0)){c=a+16|0;i[(k[c>>2]|0)+(k[b>>2]|0)>>0]=0;i[(k[c>>2]|0)+((k[b>>2]|0)+1)>>0]=0;b=a+8|0;j[b>>1]=m[b>>1]|0|512;b=0}else b=7;return b|0}function gm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,n=0,o=0;l=r;r=r+16|0;if((r|0)>=(s|0))ka();g=l;h=a+8|0;e=j[h>>1]|0;if(!(kh(a,32)|0)){d=a+16|0;f=k[d>>2]|0;if(!(e&4)){p[t>>3]=+p[a>>3];k[g>>2]=k[t>>2];k[g+4>>2]=k[t+4>>2];fd(32,f,20272,g)|0}else{o=a;n=k[o+4>>2]|0;e=g;k[e>>2]=k[o>>2];k[e+4>>2]=n;fd(32,f,19920,g)|0}e=k[d>>2]|0;if(!e)d=0;else{d=e;while(1)if(!(i[d>>0]|0))break;else d=d+1|0;d=d-e&1073741823}k[a+12>>2]=d;i[a+10>>0]=1;d=m[h>>1]|514;j[h>>1]=c<<24>>24==0?d:d&65523;bm(a,b&255)|0;d=0}else d=7;r=l;return d|0}function hm(a){a=a|0;var b=0,c=0;b=m[a+8>>1]|0;c=b&12;if(!c)if(!(b&18))b=0;else b=sp(a)|0;else b=c&65535;return b|0}function im(a){a=a|0;var b=0.0,c=0,d=0,e=0,f=0;b=+p[a>>3];if(!(b<=-9223372036854775808.0)&!(b>=9223372036854775808.0)?(c=~~b>>>0,d=+W(b)>=1.0?(b>0.0?~~+ia(+V(b/4294967296.0),4294967295.0)>>>0:~~+ga((b-+(~~b>>>0))/4294967296.0)>>>0):0,e=ow(c|0,d|0,1,-2147483648)|0,f=L,!(b!=+(c>>>0)+4294967296.0*+(d|0)|(f>>>0<0|(f|0)==0&e>>>0<2))):0){e=a;k[e>>2]=c;k[e+4>>2]=d;c=a+8|0;j[c>>1]=(m[c>>1]|0)&48640|4}return}function jm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=a+204|0;d=k[e>>2]|0;a:do if(d){g=(b|0)<0;do{while(1){if(!g){if((k[d>>2]|0)!=(b|0))break;f=k[d+4>>2]|0;if((f|0)<=31?(1<<f&c|0)!=0:0)break}f=k[d+12>>2]|0;if(f)hc[f&31](k[d+8>>2]|0);k[e>>2]=k[d+16>>2];rg(k[a>>2]|0,d);d=k[e>>2]|0;if(!d)break a}e=d+16|0;d=k[e>>2]|0}while((d|0)!=0)}while(0);return}function km(a,b,c){a=a|0;b=b|0;c=c|0;do if(b<<24>>24>66){b=m[a+8>>1]|0;if(!(b&4)){if(b&8){im(a);break}if(b&2)wh(a,1)}}else if(b<<24>>24==66?(b=m[a+8>>1]|0,!((b&2|0)!=0|(b&12|0)==0)):0)gm(a,c,1)|0;while(0);return}function lm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0.0;f=a+8|0;d=j[f>>1]|0;e=d&65535;do if(!(e&1)){b=b&255;if((b|0)==69){g=+Zg(a);p[a>>3]=g;j[f>>1]=(m[f>>1]|0)&48640|8;break}else if((b|0)==65){if(e&16){j[f>>1]=e&65040;break}if(!((e&2|0)!=0|(e&12|0)==0)){gm(a,c,1)|0;d=j[f>>1]|0}j[f>>1]=d&48640|16;break}else if((b|0)==67){tp(a);break}else if((b|0)==68){b=_g(a)|0;d=a;k[d>>2]=b;k[d+4>>2]=L;j[f>>1]=(m[f>>1]|0)&48640|4;break}else{b=e>>>3&2|e;d=b&65535;j[f>>1]=d;if(!((b&2|0)!=0|(e&12|0)==0)){gm(a,c,1)|0;d=j[f>>1]|0}j[f>>1]=d&49123;break}}while(0);return}function mm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,f=0,g=0.0,h=0,i=0,l=0;i=j[a+8>>1]|0;h=i&65535;f=j[b+8>>1]|0;l=f&65535;d=(f|i)&65535;do if(!(d&1)){if(!(d&12)){if(d&2){if(!(h&2)){d=1;break}if(!(l&2)){d=-1;break}if(c){d=up(a,b,c,0)|0;break}}d=vp(a,b)|0;break}if((i&4&f)<<16>>16){i=a;h=k[i>>2]|0;i=k[i+4>>2]|0;f=b;d=k[f>>2]|0;f=k[f+4>>2]|0;if((i|0)<(f|0)|(i|0)==(f|0)&h>>>0<d>>>0){d=-1;break}d=((i|0)>(f|0)|(i|0)==(f|0)&h>>>0>d>>>0)&1;break}if(!(h&8)){if(!(h&4)){d=1;break}d=a;g=+((k[d>>2]|0)>>>0)+4294967296.0*+(k[d+4>>2]|0)}else g=+p[a>>3];if(!(l&8)){if(!(l&4)){d=-1;break}d=b;e=+((k[d>>2]|0)>>>0)+4294967296.0*+(k[d+4>>2]|0)}else e=+p[b>>3];if(g<e)d=-1;else d=g>e&1}else d=(l&1)-(h&1)|0;while(0);return d|0}function nm(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;c=e+8|0;b=a+48|0;b=Hm(k[a>>2]|0,0,k[b>>2]|0,k[b+4>>2]|0,0,c)|0;do if(!b)if(!(k[c>>2]|0)){i[a+26>>0]=0;k[a+60>>2]=0;b=0;break}else{k[d>>2]=67421;k[d+4>>2]=10788;gd(11,13600,d);b=11;break}while(0);r=e;return b|0}function om(a){a=a|0;var b=0,c=0,d=0;c=k[a>>2]|0;d=c+73|0;b=i[d>>0]|0;do if((b&255)>2){b=Pn(c)|0;if(!b){b=i[d>>0]|0;d=5;break}else{k[a+60>>2]=0;d=6;break}}else d=5;while(0);if((d|0)==5){k[a+60>>2]=0;if(b<<24>>24==1)b=0;else{b=0;d=6}}if((d|0)==6)i[a+25>>0]=1;return b|0}function pm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=a+24|0;if(!(j[a+44>>1]|0)){e=j[a+76>>1]|0;d=k[a+(e<<2)+120>>2]|0;e=m[a+(e<<1)+78>>1]<<1;f=k[d+64>>2]|0;wp(d,(k[d+56>>2]|0)+((l[f+e>>0]<<8|l[f+(e|1)>>0])&m[d+20>>1])|0,c);a=a+72|0;i[a>>0]=l[a>>0]|2}d=c;a=k[d+4>>2]|0;c=b;k[c>>2]=k[d>>2];k[c+4>>2]=a;return}function qm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(!(j[a+44>>1]|0)){d=j[a+76>>1]|0;c=k[a+(d<<2)+120>>2]|0;d=m[a+(d<<1)+78>>1]<<1;e=k[c+64>>2]|0;wp(c,(k[c+56>>2]|0)+((l[e+d>>0]<<8|l[e+(d|1)>>0])&m[c+20>>1])|0,a+24|0);c=a+72|0;i[c>>0]=l[c>>0]|2}k[b>>2]=k[a+36>>2];return}function rm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();f=g;c=l[a>>0]|0;e=l[a+1>>0]|0;do if(e&128){d=l[a+2>>0]|0;if(!(d&128)){k[b>>2]=(d|c<<14)&2080895|e<<7&16256;c=3;break}else{c=xp(a,f)|0;e=f;d=k[e>>2]|0;k[b>>2]=((d|0)==(d|0)?0==(k[e+4>>2]|0):0)?d:-1;break}}else{k[b>>2]=c<<7&16256|e;c=2}while(0);r=g;return c|0}function sm(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=(d|0)==0;do if((c+b|0)>>>0>(m[a+40>>1]|0)>>>0){h=e+8|0;j[h>>1]=1;d=kh(e,c+2|0)|0;if(!d){g=e+16|0;d=k[g>>2]|0;if(f)d=Ih(a,b,c,d)|0;else d=Qm(a,b,c,d,0)|0;if(!d){i[(k[g>>2]|0)+c>>0]=0;i[(k[g>>2]|0)+(c+1)>>0]=0;j[h>>1]=528;k[e+12>>2]=c;d=0;break}if((j[h>>1]&9312)==0?(k[e+24>>2]|0)==0:0)break;Vg(e)}}else{k[e+16>>2]=(k[a+32>>2]|0)+b;j[e+8>>1]=4112;k[e+12>>2]=c;d=0}while(0);return d|0}function tm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;switch(b|0){case 9:case 8:{a=c;k[a>>2]=b+-8;k[a+4>>2]=0;j[c+8>>1]=4;a=0;break}case 4:{b=l[a+1>>0]<<16|i[a>>0]<<24|l[a+2>>0]<<8|l[a+3>>0];a=c;k[a>>2]=b;k[a+4>>2]=((b|0)<0)<<31>>31;j[c+8>>1]=4;a=4;break}case 1:{b=i[a>>0]|0;a=c;k[a>>2]=b;k[a+4>>2]=((b|0)<0)<<31>>31;j[c+8>>1]=4;a=1;break}case 3:{b=l[a+1>>0]<<8|i[a>>0]<<16|l[a+2>>0];a=c;k[a>>2]=b;k[a+4>>2]=((b|0)<0)<<31>>31;j[c+8>>1]=4;a=3;break}case 2:{b=i[a>>0]<<8|l[a+1>>0];a=c;k[a>>2]=b;k[a+4>>2]=((b|0)<0)<<31>>31;j[c+8>>1]=4;a=2;break}case 5:{d=i[a>>0]<<8|l[a+1>>0];b=c;k[b>>2]=l[a+3>>0]<<16|l[a+2>>0]<<24|l[a+4>>0]<<8|l[a+5>>0];k[b+4>>2]=d;j[c+8>>1]=4;a=6;break}case 7:case 6:{yp(a,b,c);a=8;break}case 0:case 11:case 10:{j[c+8>>1]=1;a=0;break}default:{k[c+16>>2]=a;a=(b+-12|0)>>>1;k[c+12>>2]=a;j[c+8>>1]=j[34328+((b&1)<<1)>>1]|0}}return a|0}function um(a,b,c){a=a|0;b=b|0;c=c|0;do if(!(c>>>0<0|(c|0)==0&b>>>0<128))if(c>>>0<0|(c|0)==0&b>>>0<16384){c=rw(b|0,c|0,7)|0;i[a>>0]=c|128;i[a+1>>0]=b&127;b=2;break}else{b=zp(a,b,c)|0;break}else{i[a>>0]=b&127;b=1}while(0);return b|0}function vm(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();f=g;e=a+73|0;b=i[e>>0]|0;do if((b&255)>2)if(b<<24>>24==4){b=k[a+68>>2]|0;break}else{c=a+56|0;$c(k[c>>2]|0);k[c>>2]=0;i[e>>0]=0;c=5;break}else c=5;while(0);a:do if((c|0)==5){d=a+76|0;b=j[d>>1]|0;do if(b<<16>>16<=-1){b=k[a+60>>2]|0;if(!b){i[e>>0]=0;b=0;break a}c=a+120|0;b=Ap(k[(k[a>>2]|0)+4>>2]|0,b,c,(i[a+72>>0]&1)<<1^2)|0;if(!b){j[d>>1]=0;b=c;break}else{i[e>>0]=0;break a}}else{if(b<<16>>16)do{c=b+-1<<16>>16;j[d>>1]=c;b=k[a+(b<<16>>16<<2)+120>>2]|0;if(!b)b=c;else{Gg(k[b+68>>2]|0);b=j[d>>1]|0}}while(b<<16>>16!=0);b=a+120|0}while(0);b=k[b>>2]|0;if((i[b>>0]|0)!=0?((k[a+16>>2]|0)==0|0)==(l[b+2>>0]|0):0){j[a+78>>1]=0;j[a+44>>1]=0;c=a+72|0;i[c>>0]=l[c>>0]&241;if(j[b+18>>1]|0){i[e>>0]=1;b=0;break}if(i[b+5>>0]|0){i[e>>0]=0;b=0;break}if((k[b+72>>2]|0)==1){c=l[b+6>>0]|0;b=k[b+56>>2]|0;b=l[b+(c+9)>>0]<<16|l[b+(c+8)>>0]<<24|l[b+(c+10)>>0]<<8|l[b+(c+11)>>0];i[e>>0]=1;b=wm(a,b)|0;break}else{k[f>>2]=57629;k[f+4>>2]=10788;gd(11,13600,f);b=11;break}}k[f>>2]=57618;k[f+4>>2]=10788;gd(11,13600,f);b=11}while(0);r=g;return b|0}function wm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;if((r|0)>=(s|0))ka();g=h;f=h+8|0;c=a+76|0;e=j[c>>1]|0;d=e<<16>>16;do if(e<<16>>16<=18){e=a+72|0;b=Ap(k[a+4>>2]|0,b,f,(i[e>>0]&1)<<1^2)|0;if(!b){b=k[f>>2]|0;f=d+1|0;k[a+(f<<2)+120>>2]=b;j[a+(f<<1)+78>>1]=0;j[c>>1]=(j[c>>1]|0)+1<<16>>16;j[a+44>>1]=0;i[e>>0]=l[e>>0]&249;if((j[b+18>>1]|0)!=0?(i[b+2>>0]|0)==(i[(k[a+(d<<2)+120>>2]|0)+2>>0]|0):0){b=0;break}k[g>>2]=57499;k[g+4>>2]=10788;gd(11,13600,g);b=11}}else{k[g>>2]=57487;k[g+4>>2]=10788;gd(11,13600,g);b=11}while(0);r=h;return b|0}function xm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=a+328|0;a:do if(!(k[i>>2]|0))a=0;else{f=a+304|0;g=c+1|0;h=0;while(1){if((h|0)>=(k[f>>2]|0)){a=0;break a}e=k[(k[i>>2]|0)+(h<<2)>>2]|0;a=k[k[e+4>>2]>>2]|0;d=k[e+8>>2]|0;if((d|0)!=0?(k[a>>2]|0)>1:0){if((b|0)==2)a=k[a+88>>2]|0;else if(!b){a=k[a+80>>2]|0;k[e+20>>2]=g}else a=k[a+84>>2]|0;if((a|0)!=0?(k[e+20>>2]|0)>(c|0):0){a=wc[a&127](d,c)|0;if(!a){h=h+1|0;continue}else break a}}h=h+1|0}}while(0);return a|0}function ym(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();d=f;c=k[a>>2]|0;if(!b){b=a+144|0;g=k[b+4>>2]|0;if((g|0)>0|(g|0)==0&(k[b>>2]|0)>>>0>0)e=4;else c=0}else{b=c+504|0;g=c+512|0;b=ow(k[g>>2]|0,k[g+4>>2]|0,k[b>>2]|0,k[b+4>>2]|0)|0;g=L;if((g|0)>0|(g|0)==0&b>>>0>0)e=4;else c=0}if((e|0)==4){k[a+80>>2]=787;i[a+86>>0]=2;ih(a+44|0,c,34376,d);c=1}r=f;return c|0}function zm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((a|0)!=0?(i[a+8>>0]|0)==2:0){d=k[a+4>>2]|0;k[d+4>>2]=k[a>>2];b=op(k[d>>2]|0,b,c)|0;if(!b){if((c|0)<0?(j[d+22>>1]&8)!=0:0)k[d+44>>2]=0;b=Hg(d)|0;a=k[(k[d+12>>2]|0)+56>>2]|0;k[d+44>>2]=l[a+29>>0]<<16|l[a+28>>0]<<24|l[a+30>>0]<<8|l[a+31>>0]}}else b=0;return b|0}function Am(a,b){a=a|0;b=b|0;a=a+16|0;vl(k[(k[a>>2]|0)+(b<<4)+12>>2]|0);if((b|0)!=1)vl(k[(k[a>>2]|0)+28>>2]|0);return}function Bm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[a+4>>2]|0;k[d+4>>2]=k[a>>2];if((b|0)==15)d=(k[a+20>>2]|0)+(k[(k[d>>2]|0)+100>>2]|0)|0;else{b=b<<2;d=k[(k[d+12>>2]|0)+56>>2]|0;d=(l[d+(b+37)>>0]|0)<<16|(l[d+(b+36)>>0]|0)<<24|(l[d+(b+38)>>0]|0)<<8|(l[d+(b+39)>>0]|0)}k[c>>2]=d;return}function Cm(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,m=0,n=0;h=(k[a+28>>2]|0)-b|0;f=k[a+8>>2]|0;n=(c<<3)+88|0;m=(e|0)!=0;l=a+56|0;g=k[(k[l>>2]|0)+(b<<2)>>2]|0;if(g){Gm(a,g);k[(k[l>>2]|0)+(b<<2)>>2]=0}if(!(kh(f+(h*40|0)|0,(m?200:0)+n|0)|0)){h=f+(h*40|0)+16|0;e=k[h>>2]|0;k[(k[l>>2]|0)+(b<<2)>>2]=e;f=e+0|0;g=f+88|0;do{k[f>>2]=0;f=f+4|0}while((f|0)<(g|0));i[e+24>>0]=d;j[e+20>>1]=c;k[e+80>>2]=e+84+(c<<2);if(m){f=(k[h>>2]|0)+n|0;k[e>>2]=f;f=f+0|0;g=f+76|0;do{k[f>>2]=0;f=f+4|0}while((f|0)<(g|0))}}else e=0;return e|0}function Dm(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0;h=k[a+4>>2]|0;k[h+4>>2]=k[a>>2];if(c)if(!(j[h+22>>1]&1)){g=h+80|0;if(!(k[g>>2]|0)){f=Lo(k[h+32>>2]|0)|0;k[g>>2]=f;if(!f)f=7;else{l=f;f=l;i[f>>0]=0;i[f+1>>0]=0;i[f+2>>0]=0;i[f+3>>0]=0;l=l+4|0;i[l>>0]=0;i[l+1>>0]=0;i[l+2>>0]=0;i[l+3>>0]=0;k[g>>2]=(k[g>>2]|0)+4;l=6}}else l=6}else f=8;else l=6;if((l|0)==6){if((b|0)==1)b=(k[h+44>>2]|0)!=0&1;k[e+60>>2]=b;j[e+76>>1]=-1;k[e+16>>2]=d;k[e>>2]=a;k[e+4>>2]=h;i[e+72>>0]=c;f=h+8|0;b=k[f>>2]|0;k[e+8>>2]=b;if(b)k[b+12>>2]=e;k[f>>2]=e;i[e+73>>0]=0;f=0}return f|0}function Em(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;P=r;r=r+128|0;if((r|0)>=(s|0))ka();A=P;H=P+12|0;E=P+8|0;M=P+16|0;K=(b|0)==0;if(!K){h=(i[b>>0]|0)==0;if(dw(b,14640)|0)if(h)G=4;else{h=0;G=5}else L=1}else G=4;if((G|0)==4)if((i[c+64>>0]|0)==2){L=1;h=1}else{h=1;G=5}if((G|0)==5)L=(f&128|0)!=0;J=L?e|2:e;if((f&256|0)!=0&(L|h))f=f&-769|512;O=vg(48,0)|0;a:do if(O){u=O+0|0;t=u+48|0;do{i[u>>0]=0;u=u+1|0}while((u|0)<(t|0));k[O>>2]=c;k[O+32>>2]=O;k[O+36>>2]=1;b:do if(!h?!(L&(f&64|0)==0|(f&131072|0)==0):0){if(K)h=1;else{h=b;while(1)if(!(i[h>>0]|0))break;else h=h+1|0;h=(h-b&1073741823)+1|0}e=(k[a+8>>2]|0)+1|0;p=(e|0)>(h|0)?e:h;p=vg(p,((p|0)<0)<<31>>31)|0;o=O+9|0;i[o>>0]=1;if(!p){$c(O);g=7;break a}if(!L){i[p>>0]=0;h=uc[k[a+36>>2]&31](a,b,e,p)|0;if(h){$c(p);$c(O);g=h;break a}}else pw(p|0,b|0,h|0)|0;h=k[3664]|0;c:do if(h){while(1){e=k[h>>2]|0;if((dw(p,k[e+168>>2]|0)|0)==0?(k[e>>2]|0)==(a|0):0)break;h=k[h+68>>2]|0;if(!h)break c}e=k[c+20>>2]|0;d:do if((e|0)>0){n=k[c+16>>2]|0;while(1){e=e+-1|0;D=k[n+(e<<4)+4>>2]|0;if((D|0)!=0?(k[D+4>>2]|0)==(h|0):0)break;if((e|0)<=0)break d}$c(p);$c(O);g=19;break a}while(0);k[O+4>>2]=h;D=h+64|0;k[D>>2]=(k[D>>2]|0)+1;$c(p);if(!h){G=32;break b}if(!(i[o>>0]|0))break b;else{G=105;break b}}while(0);$c(p);G=32}else G=32;while(0);e:do if((G|0)==32){I=vg(84,0)|0;if(I){u=I+0|0;t=u+84|0;do{i[u>>0]=0;u=u+1|0}while((u|0)<(t|0));C=J&1;D=(C|0)==0;k[H>>2]=1024;B=a+4|0;h=k[B>>2]|0;if((h|0)>40)e=h+7&-8;else e=40;k[I>>2]=0;do if(!(J&2))if(!K)if(i[b>>0]|0){v=a+8|0;o=(k[v>>2]|0)+1|0;x=o<<1;x=vg(x,((x|0)<0)<<31>>31)|0;if(!x)g=7;else{i[x>>0]=0;h=uc[k[a+36>>2]&31](a,b,o,x)|0;o=x;while(1)if(!(i[o>>0]|0))break;else o=o+1|0;u=o-x&1073741823;p=b;while(1)if(!(i[p>>0]|0))break;else p=p+1|0;t=(p-b&1073741823)+1|0;p=i[b+t>>0]|0;t=b+t|0;if(!(p<<24>>24))o=t;else{o=t;do{if(!(p<<24>>24))p=o;else{p=o;do p=p+1|0;while((i[p>>0]|0)!=0)}p=p-o&1073741823;n=o+(p+1)|0;q=n;while(1)if(!(i[q>>0]|0))break;else q=q+1|0;o=o+(p+2+(q-n&1073741823))|0;p=i[o>>0]|0}while(p<<24>>24!=0)}if(!h){if((u+8|0)<=(k[v>>2]|0)){w=1;A=0;v=u;u=o+1-t|0;p=x;G=58;break}k[A>>2]=46171;k[A+4>>2]=10788;gd(14,14848,A);h=14}$c(x);G=89}}else{w=1;A=0;v=0;u=0;p=0;t=0;G=58}else{b=0;w=0;A=0;v=0;u=0;p=0;t=0;G=58}else if(!K)if(i[b>>0]|0){p=ph(0,b)|0;if(!p)g=7;else{h=p;while(1)if(!(i[h>>0]|0))break;else h=h+1|0;b=0;w=0;A=1;v=h-p&1073741823;u=0;t=0;G=58}}else{w=1;A=1;v=0;u=0;p=0;t=0;G=58}else{b=0;w=0;A=1;v=0;u=0;p=0;t=0;G=58}while(0);do if((G|0)==58){o=(e<<1)+17+(v*3|0)+u+((k[B>>2]|0)+271&-8)|0;z=vg(o,0)|0;if(!z){if(!p){g=7;break}$c(p);g=7;break}kw(z|0,0,o|0)|0;x=z+204|0;k[x>>2]=z+216;y=z+60|0;k[y>>2]=z+264;q=(k[B>>2]|0)+271&-8;k[z+68>>2]=z+q;q=q+e|0;k[z+64>>2]=z+q;q=q+e|0;o=z+q|0;h=z+168|0;k[h>>2]=o;if(p){n=v+1|0;e=z+172|0;k[e>>2]=z+(u+n+q);pw(o|0,p|0,v|0)|0;if(u)pw((k[h>>2]|0)+n|0,t|0,u|0)|0;pw(k[e>>2]|0,p|0,v|0)|0;u=(k[e>>2]|0)+v+0|0;q=14928;t=u+10|0;do{i[u>>0]=i[q>>0]|0;u=u+1|0;q=q+1|0}while((u|0)<(t|0));e=(k[e>>2]|0)+(v+9)|0;B=z+212|0;k[B>>2]=e;pw(e|0,p|0,v|0)|0;B=(k[B>>2]|0)+v|0;i[B+0>>0]=i[14944]|0;i[B+1>>0]=i[14945]|0;i[B+2>>0]=i[14946]|0;i[B+3>>0]=i[14947]|0;i[B+4>>0]=i[14948]|0;$c(p)}k[z>>2]=a;k[z+144>>2]=f;do if(w?(i[b>>0]|0)!=0:0){k[E>>2]=0;h=yc[k[a+24>>2]&31](a,k[h>>2]|0,k[y>>2]|0,f&556927,E)|0;n=k[E>>2]&1;if(!h){h=k[y>>2]|0;h=qc[k[(k[h>>2]|0)+48>>2]&127](h)|0;do if((n|0)==0?(Bp(z),F=k[z+148>>2]|0,F>>>0>1024):0)if(F>>>0>8192){k[H>>2]=8192;break}else{k[H>>2]=F;break}while(0);E=(kg(b,14952,0)|0)&255;i[z+13>>0]=E;if((h&8192|0)==0?(kg(b,14960,0)|0)==0:0){q=0;G=77;break}h=f|1;G=76}}else{h=f;G=76}while(0);if((G|0)==76){i[z+16>>0]=1;i[z+17>>0]=4;i[z+13>>0]=1;n=h&1;q=1;G=77}if((G|0)==77){h=fl(z,H,-1)|0;if(!h){e=k[H>>2]|0;p=(A|0)==0;f=A^1;o=p?75:0;h=k[x>>2]|0;u=h+0|0;t=u+48|0;do{k[u>>2]=0;u=u+4|0}while((u|0)<(t|0));k[h+20>>2]=1;k[h+24>>2]=80;i[h+28>>0]=f;i[h+29>>0]=2;k[h+32>>2]=o;k[h+36>>2]=z;k[h+16>>2]=100;h=Mo(h,e)|0;if(!h){i[z+6>>0]=C^1;k[z+156>>2]=1073741823;i[z+12>>0]=q;i[z+4>>0]=q;i[z+18>>0]=q;i[z+15>>0]=A;i[z+14>>0]=n;i[z+7>>0]=q;if(!(q<<24>>24)){i[z+8>>0]=1;i[z+11>>0]=2;i[z+10>>0]=34;i[z+9>>0]=2}j[z+140>>1]=80;E=z+160|0;k[E>>2]=-1;k[E+4>>2]=-1;Bp(z);do if(D){if(p)break;i[z+5>>0]=4}else i[z+5>>0]=2;while(0);k[z+196>>2]=21;k[I>>2]=z;G=90;break}}}e=k[y>>2]|0;f=k[e>>2]|0;if(f){qc[k[f+4>>2]&127](e)|0;k[e>>2]=0}el(k[z+200>>2]|0);$c(z);G=89}while(0);if((G|0)==89)if(!h)G=90;else g=h;do if((G|0)==90){h=k[I>>2]|0;E=c+40|0;t=k[E+4>>2]|0;u=h+128|0;k[u>>2]=k[E>>2];k[u+4>>2]=t;u=M+0|0;t=u+100|0;do{i[u>>0]=0;u=u+1|0}while((u|0)<(t|0));h=k[h+60>>2]|0;e=k[h>>2]|0;if((e|0)!=0?(g=yc[k[e+8>>2]&31](h,M,100,0,0)|0,!((g|0)==0|(g|0)==522)):0)break;i[I+16>>0]=J;k[I+4>>2]=c;h=k[I>>2]|0;e=h+176|0;k[e>>2]=76;k[h+180>>2]=I;f=k[h+60>>2]|0;g=k[f>>2]|0;if(!g)e=h;else{fc[k[g+40>>2]&63](f,15,e)|0;e=k[I>>2]|0}k[O+4>>2]=I;k[I+8>>2]=0;k[I+12>>2]=0;if(i[e+14>>0]|0){E=I+22|0;j[E>>1]=m[E>>1]|1}E=l[M+17>>0]<<16|l[M+16>>0]<<8;f=I+32|0;k[f>>2]=E;if((E+-512|0)>>>0<=65024?(E+16777215&E|0)==0:0){h=i[M+20>>0]|0;E=I+22|0;j[E>>1]=m[E>>1]|2;i[I+17>>0]=(l[M+53>>0]<<16|l[M+52>>0]<<24|l[M+54>>0]<<8|l[M+55>>0]|0)!=0&1;i[I+18>>0]=(l[M+65>>0]<<16|l[M+64>>0]<<24|l[M+66>>0]<<8|l[M+67>>0]|0)!=0&1}else{k[f>>2]=0;if(K|L)h=0;else{i[I+17>>0]=0;i[I+18>>0]=0;h=0}}h=h&255;g=fl(e,f,h)|0;if(!g){k[I+36>>2]=(k[f>>2]|0)-h;if(!(i[O+9>>0]|0))break e;k[I+64>>2]=1;k[I+68>>2]=k[3664];k[3664]=I;G=105;break e}}while(0);if(I){f=k[I>>2]|0;if(!f)f=I;else{qp(f);f=I}}else f=0}else{f=0;g=7}$c(f);$c(O);k[d>>2]=0;break a}while(0);f:do if((G|0)==105?(N=k[c+20>>2]|0,(N|0)>0):0){f=k[c+16>>2]|0;e=0;while(1){g=k[f+(e<<4)+4>>2]|0;if((g|0)!=0?(i[g+9>>0]|0)!=0:0){e=g;break}e=e+1|0;if((e|0)>=(N|0))break f}while(1){g=e+28|0;f=k[g>>2]|0;if(!f){f=e;break}else e=f}h=k[O+4>>2]|0;if(h>>>0<(k[f+4>>2]|0)>>>0){k[O+24>>2]=f;k[O+28>>2]=0;k[g>>2]=O;break}while(1){g=f+24|0;e=k[g>>2]|0;if(!e){G=113;break}if((k[e+4>>2]|0)>>>0<h>>>0)f=e;else{G=115;break}}if((G|0)==113){k[O+24>>2]=0;k[O+28>>2]=f}else if((G|0)==115){k[O+24>>2]=e;k[O+28>>2]=f;k[e+28>>2]=O}k[g>>2]=O}while(0);k[d>>2]=O;g=k[O+4>>2]|0;k[g+4>>2]=k[O>>2];if(!(k[g+48>>2]|0)){g=k[(k[g>>2]|0)+204>>2]|0;k[g+16>>2]=2e3;oc[k[8744+124>>2]&15](k[g+40>>2]|0,2e3);g=0}else g=0}else g=7;while(0);r=P;return g|0}function Fm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0;y=r;r=r+48|0;if((r|0)>=(s|0))ka();p=y;v=y+28|0;w=y+24|0;u=y+20|0;j=y+16|0;n=y+12|0;o=y+32|0;q=y+8|0;e=k[a>>2]|0;t=k[a+4>>2]|0;d=t+4|0;k[d>>2]=e;a:do if(!(i[t+17>>0]|0)){d=np(t,v,w,1,0)|0;k[u>>2]=d;if(!d){e=k[v>>2]|0;x=39}}else{m=t+8|0;f=k[m>>2]|0;if(f)do{h=f+72|0;i[h>>0]=l[h>>0]&251;f=k[f+8>>2]|0}while((f|0)!=0);k[d>>2]=e;h=k[(k[t+12>>2]|0)+56>>2]|0;h=l[h+53>>0]<<16|l[h+52>>0]<<24|l[h+54>>0]<<8|l[h+55>>0];k[w>>2]=h;e=((k[2514]|0)>>>0)/((k[t+32>>2]|0)>>>0)|0;d=t+36|0;while(1){g=h+1|0;if(g>>>0<2)f=0;else{f=h+-1|0;f=f-((f>>>0)%(((((k[d>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;f=((f+1|0)==(e|0)?3:2)+f|0}if((g|0)==(f|0)|(h|0)==(e|0))h=g;else break}k[w>>2]=g;d=np(t,n,j,g,1)|0;k[u>>2]=d;if(!d){h=k[j>>2]|0;do if((h|0)==(g|0)){e=k[n>>2]|0;k[v>>2]=e}else{i[o>>0]=0;k[q>>2]=0;f=k[m>>2]|0;b:do if(!f)d=0;else{while(1){if(f)break;f=k[2]|0;if(!f){d=0;break b}}d=Kl(f,0,0)|0}while(0);k[u>>2]=d;f=k[n>>2]|0;if(f)Gg(k[f+68>>2]|0);if(d)break a;d=il(t,g,v,0)|0;k[u>>2]=d;if(d)break a;d=mp(t,g,o,q)|0;k[u>>2]=d;f=i[o>>0]|0;if((f+-1&255)>=2){e=k[v>>2]|0;if(!d){d=cn(t,e,f,k[q>>2]|0,h,0)|0;k[u>>2]=d;if(e)Gg(k[e+68>>2]|0);if(d)break a;d=il(t,g,v,0)|0;k[u>>2]=d;if(d)break a;e=k[v>>2]|0;f=e+68|0;d=Lg(k[f>>2]|0)|0;k[u>>2]=d;if(!d)break;if(!e)break a;Gg(k[f>>2]|0);break a}}else{k[p>>2]=60876;k[p+4>>2]=10788;gd(11,13600,p);k[u>>2]=11;d=11;e=k[v>>2]|0}if(!e)break a;Gg(k[e+68>>2]|0);break a}while(0);Ep(t,g,1,0,u);d=k[u>>2]|0;if(d){if(!e)break;Gg(k[e+68>>2]|0);break}d=Ig(a,4,g)|0;k[u>>2]=d;if(d){if(e)Gg(k[e+68>>2]|0)}else x=39}}while(0);if((x|0)==39){ul(e,(c&1|0)==0?10:13);d=k[(k[v>>2]|0)+68>>2]|0;if(d)Gg(d);k[b>>2]=k[w>>2];d=0}r=y;return d|0}function Gm(a,b){a=a|0;b=b|0;var c=0,d=0;do if(b){a=k[a>>2]|0;c=b+56|0;d=k[c>>2]|0;if(d){dn(a,d);$c(k[d+40>>2]|0);rg(a,d);k[c>>2]=0}a=k[b+4>>2]|0;if(a){Rl(a);break}a=k[b>>2]|0;if(a){pp(a);break}a=k[b+32>>2]|0;if(a){d=k[a>>2]|0;c=k[d>>2]|0;d=d+4|0;k[d>>2]=(k[d>>2]|0)+-1;qc[k[c+28>>2]&127](a)|0}}while(0);return}function Hm(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;N=r;r=r+16|0;if((r|0)>=(s|0))ka();L=N+8|0;K=N;o=a+73|0;do if(((i[o>>0]|0)==1?(n=l[a+72>>0]|0,(n&2|0)!=0):0)?(i[(k[a+120>>2]|0)+2>>0]|0)!=0:0){g=a+24|0;h=k[g>>2]|0;g=k[g+4>>2]|0;if((h|0)==(c|0)&(g|0)==(d|0)){k[f>>2]=0;g=0;break}if((n&8|0)!=0&((g|0)<(d|0)|(g|0)==(d|0)&h>>>0<c>>>0)){k[f>>2]=-1;g=0}else M=8}else M=8;while(0);do if((M|0)==8){if(!b)G=0;else{h=k[b>>2]|0;if(((m[h+8>>1]|0)+(m[h+6>>1]|0)|0)<14){g=m[(k[b+8>>2]|0)+8>>1]|0;H=(i[k[h+16>>2]>>0]|0)==0;k[b+12>>2]=H?-1:1;k[b+16>>2]=H?1:-1;if(!(g&4))if((g&25|0)==0?(k[h+20>>2]|0)==0:0)h=39;else M=13;else h=38}else M=13;if((M|0)==13)h=40;i[b+7>>0]=0;G=h}g=vm(a)|0;if(!g){if(!(i[o>>0]|0)){k[f>>2]=-1;g=0;break}H=a+76|0;C=1-e|0;D=(G|0)==0;I=a+72|0;E=a+24|0;F=a+24|0;a:do{e=j[H>>1]|0;A=k[a+(e<<2)+120>>2]|0;B=A+18|0;n=(m[B>>1]|0)+-1|0;h=n>>C;j[a+(e<<1)+78>>1]=h;e=A+56|0;x=A+20|0;y=A+64|0;z=A+7|0;b:do if(D){q=A+3|0;p=A+60|0;o=0;t=n;while(1){n=h<<1;w=k[y>>2]|0;n=(k[e>>2]|0)+(((l[w+n>>0]<<8|l[w+(n|1)>>0])&m[x>>1])+(l[z>>0]|0))|0;c:do if(i[q>>0]|0)while(1){w=n;n=n+1|0;if((i[w>>0]|0)>=0)break c;if(n>>>0>=(k[p>>2]|0)>>>0){M=25;break a}}while(0);xp(n,K)|0;g=K;n=k[g>>2]|0;g=k[g+4>>2]|0;if((g|0)<(d|0)|(g|0)==(d|0)&n>>>0<c>>>0){o=h+1|0;if((h|0)<(t|0))n=t;else{g=-1;M=49;break b}}else{if(!((g|0)>(d|0)|(g|0)==(d|0)&n>>>0>c>>>0)){o=g;break}n=h+-1|0;if((o|0)>(n|0)){g=1;M=49;break b}}h=n+o>>1;t=n}i[I>>0]=l[I>>0]|2;z=E;k[z>>2]=n;k[z+4>>2]=o;j[a+(j[H>>1]<<1)+78>>1]=h;if(i[A+5>>0]|0){M=31;break a}}else{u=A+8|0;v=A+10|0;w=h;o=0;while(1){g=k[e>>2]|0;q=w<<1;h=k[y>>2]|0;q=(l[h+q>>0]<<8|l[h+(q|1)>>0])&m[x>>1];h=q+(l[z>>0]|0)|0;O=i[g+h>>0]|0;t=O&255;p=g+(h+1)|0;do if((O&255)>(l[u>>0]|0)){p=l[p>>0]|0;if((p&128|0)==0?(J=p+(t<<7&16256)|0,(J|0)<=(m[v>>1]|0)):0){g=fc[G&63](J,g+(h+2)|0,b)|0;break}wp(A,g+q|0,F);p=k[F>>2]|0;h=vg(p,((p|0)<0)<<31>>31)|0;if(!h){g=7;break a}j[a+(j[H>>1]<<1)+78>>1]=w;g=Qm(a,0,p,h,2)|0;if(g){M=40;break a}g=fc[G&63](p,h,b)|0;$c(h)}else g=fc[G&63](t,p,b)|0;while(0);if((g|0)<0)o=w+1|0;else{if((g|0)<=0){h=w;M=46;break a}n=w+-1|0}if((o|0)>(n|0)){h=w;M=49;break b}w=n+o>>1}}while(0);if((M|0)==49){M=0;if(i[A+5>>0]|0){M=51;break}e=A+56|0;h=o}o=k[e>>2]|0;if((h|0)<(m[B>>1]|0)){n=h<<1;B=k[A+64>>2]|0;n=(l[B+n>>0]<<8|l[B+(n|1)>>0])&m[A+20>>1];n=l[o+(n+1)>>0]<<16|l[o+n>>0]<<24|l[o+(n+2)>>0]<<8|l[o+(n+3)>>0]}else{n=l[A+6>>0]|0;n=l[o+(n+9)>>0]<<16|l[o+(n+8)>>0]<<24|l[o+(n+10)>>0]<<8|l[o+(n+11)>>0]}j[a+(j[H>>1]<<1)+78>>1]=h;g=wm(a,n)|0}while((g|0)==0);if((M|0)==25){k[L>>2]=57865;k[L+4>>2]=10788;gd(11,13600,L);g=11;break}else if((M|0)==31){k[f>>2]=0;g=0}else if((M|0)==40)$c(h);else if((M|0)==46){k[f>>2]=0;j[a+(j[H>>1]<<1)+78>>1]=h;g=(i[b+7>>0]|0)==0?0:11}else if((M|0)==51){j[a+(j[H>>1]<<1)+78>>1]=h;k[f>>2]=g;g=0}j[a+44>>1]=0;i[I>>0]=l[I>>0]&249}}while(0);r=N;return g|0}function Im(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;j[a+44>>1]=0;c=a+72|0;i[c>>0]=l[c>>0]&249;k[b>>2]=0;do if((i[a+73>>0]|0)==1){c=a+76|0;f=j[c>>1]|0;d=k[a+(f<<2)+120>>2]|0;f=a+(f<<1)+78|0;e=(j[f>>1]|0)+1<<16>>16;j[f>>1]=e;if((e&65535)>=(m[d+18>>1]|0)){c=a+(j[c>>1]<<1)+78|0;j[c>>1]=(j[c>>1]|0)+-1<<16>>16;c=Ip(a,b)|0;break}if(!(i[d+5>>0]|0))c=_m(a)|0;else c=0}else c=Ip(a,b)|0;while(0);return c|0}function Jm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;k[b>>2]=0;f=a+72|0;i[f>>0]=l[f>>0]&241;j[a+44>>1]=0;if(((i[a+73>>0]|0)==1?(c=j[a+76>>1]|0,d=a+(c<<1)+78|0,e=j[d>>1]|0,e<<16>>16!=0):0)?(i[(k[a+(c<<2)+120>>2]|0)+5>>0]|0)!=0:0){j[d>>1]=e+-1<<16>>16;c=0}else c=Jp(a,b)|0;return c|0}function Km(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=0-b&7;h=a+6|0;f=j[h>>1]|0;e=((f&65535)*40|0)+64|0;if((e|0)>(g+c|0)){e=rh(k[a+12>>2]|0,e,0)|0;k[d>>2]=e;if(!e)e=0;else{f=j[h>>1]|0;i=5}}else{k[d>>2]=0;e=b+g|0;i=5}if((i|0)==5){k[e+8>>2]=e+24;k[e>>2]=a;j[e+4>>1]=(f&65535)+1}return e|0}function Lm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,t=0,u=0;u=r;r=r+16|0;if((r|0)>=(s|0))ka();t=u+4|0;q=u;g=k[d+8>>2]|0;i[d+6>>0]=0;e=i[c>>0]|0;if(e<<24>>24>-1){e=e&255;k[t>>2]=e;f=1}else{f=rm(c,t)|0;e=k[t>>2]|0}p=a+4|0;n=a+12|0;o=d+4|0;a=e;l=e;h=f&255;e=0;while(1){if(h>>>0>=a>>>0|(l|0)>(b|0))break;d=c+h|0;a=i[d>>0]|0;if(a<<24>>24>-1){k[q>>2]=a&255;d=1}else d=rm(d,q)|0;i[g+10>>0]=i[p>>0]|0;k[g+32>>2]=k[n>>2];k[g+24>>2]=0;f=tm(c+l|0,k[q>>2]|0,g)|0;e=e+1<<16>>16;if((e&65535)>=(m[o>>1]|0))break;a=k[t>>2]|0;l=f+l|0;h=(d&255)+h|0;g=g+40|0}j[o>>1]=e;r=u;return}function Mm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=a+73|0;if((i[d>>0]|0)==1?(i[a+72>>0]&8)!=0:0)c=0;else e=3;do if((e|0)==3){c=vm(a)|0;if(!c){if(!(i[d>>0]|0)){k[b>>2]=1;c=0;break}k[b>>2]=0;c=Kp(a)|0;b=a+72|0;d=l[b>>0]|0;if(!c){i[b>>0]=d|8;c=0;break}else{i[b>>0]=d&247;break}}}while(0);return c|0}function Nm(a,b,c,d,e,f,g,h,n){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;n=n|0;var o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=r;r=r+32|0;if((r|0)>=(s|0))ka();u=K;A=K+24|0;B=K+20|0;z=K+16|0;J=K+12|0;G=K+8|0;H=K+28|0;k[G>>2]=n;p=(k[a>>2]|0)+4|0;t=k[p>>2]|0;I=a+73|0;do if((i[I>>0]|0)!=4){q=Qn(t,k[a+60>>2]|0,a)|0;k[J>>2]=q;if(!q){if(!(k[a+16>>2]|0)){q=k[(k[p>>2]|0)+8>>2]|0;if(q)do{if((i[q+72>>0]&16)!=0?(D=q+24|0,(k[D>>2]|0)==(c|0)?(k[D+4>>2]|0)==(d|0):0):0)i[q+73>>0]=0;q=k[q+8>>2]|0}while((q|0)!=0);if((i[a+72>>0]&2)!=0&((d|0)>0|(d|0)==0&c>>>0>0)?(D=a+24|0,x=k[D>>2]|0,D=k[D+4>>2]|0,y=ow(c|0,d|0,-1,-1)|0,(x|0)==(y|0)&(D|0)==(L|0)):0)k[G>>2]=-1;else C=13}else C=13;if(((C|0)==13?(n|0)==0:0)?(o=Lp(a,b,c,d,h,G)|0,k[J>>2]=o,(o|0)!=0):0)break;E=a+76|0;F=k[a+(j[E>>1]<<2)+120>>2]|0;D=k[t+80>>2]|0;k[B>>2]=0;h=F+52|0;y=k[h>>2]|0;k[z>>2]=0;q=l[F+7>>0]|0;t=g+f|0;if(i[F+3>>0]|0){if(t>>>0<128){i[D+q>>0]=t;p=1}else p=(um(D+q|0,t,((t|0)<0)<<31>>31)|0)&255;q=p+q|0}n=(um(D+q|0,c,d)|0)+q|0;do if(!(i[F+2>>0]|0))if((d|0)>0|(d|0)==0&c>>>0>2147483647|(b|0)==0){k[u>>2]=58825;k[u+4>>2]=10788;gd(11,13600,u);o=11;q=0;break}else{x=f;t=c;f=c;g=b;C=24;break}else{x=0;g=e;C=24}while(0);do if((C|0)==24){q=m[F+10>>1]|0;if((t|0)>(q|0)){p=m[F+12>>1]|0;h=(((t-p|0)>>>0)%(((k[(k[h>>2]|0)+36>>2]|0)+-4|0)>>>0)|0)+p|0;h=(h|0)>(q|0)?p:h;p=h+n|0;q=p+4|0;p=D+p|0}else{q=t+n|0;q=(q|0)<4?4:q;p=D;h=t}if((t|0)>0){c=y+17|0;v=y+36|0;w=y+32|0;b=f;u=D+n|0;d=p;n=0;f=h;while(1){if(!f){u=k[z>>2]|0;if(!(i[c>>0]|0))p=u;else{o=((k[2514]|0)>>>0)/((k[w>>2]|0)>>>0)|0;f=u;while(1){p=f+1|0;if(p>>>0<2)h=0;else{h=f+-1|0;h=h-((h>>>0)%(((((k[v>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;h=((h+1|0)==(o|0)?3:2)+h|0}if((h|0)==(p|0)|(f|0)==(o|0))f=p;else break}k[z>>2]=p}o=np(y,B,z,p,0)|0;k[A>>2]=o;p=(o|0)==0;if((i[c>>0]|0)!=0&p){p=k[z>>2]|0;Ep(y,p,(u|0)!=0?4:3,u,A);o=k[A>>2]|0;if(o){h=n;C=38;break}}else{if(!p)break;p=k[z>>2]|0}i[d>>0]=p>>>24;i[d+1>>0]=p>>>16;i[d+2>>0]=p>>>8;i[d+3>>0]=p;if(n)Gg(k[n+68>>2]|0);o=k[B>>2]|0;u=o+56|0;d=k[u>>2]|0;i[d>>0]=0;i[d+1>>0]=0;i[d+2>>0]=0;i[d+3>>0]=0;u=(k[u>>2]|0)+4|0;f=(k[v>>2]|0)+-4|0}else o=n;p=(t|0)>(f|0)?f:t;if((b|0)>0){p=(p|0)>(b|0)?b:p;pw(u|0,g|0,p|0)|0}else kw(u|0,0,p|0)|0;t=t-p|0;h=(b|0)==(p|0);if((t|0)<=0){C=51;break}else{b=h?x:b-p|0;u=u+p|0;g=h?e:g+p|0;n=o;f=f-p|0}}if((C|0)==38){n=k[B>>2]|0;if(!n)n=h;else{Gg(k[n+68>>2]|0);n=h}}else if((C|0)==51){if(!o){o=0;break}Gg(k[o+68>>2]|0);o=0;break}if(n)Gg(k[n+68>>2]|0)}else o=0}while(0);k[J>>2]=o;if(!o){o=a+(j[E>>1]<<1)+78|0;h=j[o>>1]|0;p=h&65535;n=k[G>>2]|0;if(!n){o=Lg(k[F+68>>2]|0)|0;k[J>>2]=o;if(o)break;o=p<<1;C=k[F+64>>2]|0;o=(k[F+56>>2]|0)+((l[C+o>>0]<<8|l[C+(o|1)>>0])&m[F+20>>1])|0;if(!(i[F+5>>0]|0)){C=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24;i[D>>0]=C;i[D+1>>0]=C>>8;i[D+2>>0]=C>>16;i[D+3>>0]=C>>24}o=Mp(F,o,H)|0;k[J>>2]=o;Np(F,p,m[H>>1]|0,J);o=k[J>>2]|0;if(!o)o=p;else break}else if((n|0)<0?(j[F+18>>1]|0)!=0:0){C=h+1<<16>>16;j[o>>1]=C;o=C&65535}else o=p;Op(F,o,D,q,0,0,J);j[a+44>>1]=0;o=k[J>>2]|0;if(!o)if(!(i[F+1>>0]|0))o=0;else{o=a+72|0;i[o>>0]=l[o>>0]&253;o=Pp(a)|0;k[J>>2]=o;i[(k[a+(j[E>>1]<<2)+120>>2]|0)+1>>0]=0;i[I>>0]=0}}}else o=q}else o=k[a+68>>2]|0;while(0);r=K;return o|0}function Om(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=r;r=r+16|0;if((r|0)>=(s|0))ka();y=z+4|0;n=z+8|0;d=z;e=(k[a>>2]|0)+4|0;q=k[e>>2]|0;w=a+76|0;x=j[w>>1]|0;u=x<<16>>16;h=j[a+(u<<1)+78>>1]|0;v=h&65535;o=k[a+(u<<2)+120>>2]|0;do if((h&65535)<(m[o+18>>1]|0)?(i[a+73>>0]|0)==1:0){h=v<<1;t=k[o+64>>2]|0;h=(k[o+56>>2]|0)+((l[t+h>>0]<<8|l[t+(h|1)>>0])&m[o+20>>1])|0;t=o+5|0;if((i[t>>0]|0)==0?(k[d>>2]=0,b=Jm(a,d)|0,k[y>>2]=b,(b|0)!=0):0)break;b=Qn(q,k[a+60>>2]|0,a)|0;k[y>>2]=b;if(!b){if((k[a+16>>2]|0)==0?(g=a+24|0,f=k[g>>2]|0,g=k[g+4>>2]|0,c=k[(k[e>>2]|0)+8>>2]|0,(c|0)!=0):0)do{if((i[c+72>>0]&16)!=0?(e=c+24|0,(k[e>>2]|0)==(f|0)?(k[e+4>>2]|0)==(g|0):0):0)i[c+73>>0]=0;c=k[c+8>>2]|0}while((c|0)!=0);b=Lg(k[o+68>>2]|0)|0;k[y>>2]=b;if(!b){b=Mp(o,h,n)|0;k[y>>2]=b;Np(o,v,m[n>>1]|0,y);b=k[y>>2]|0;if(!b){if((i[t>>0]|0)==0?(h=k[a+(j[w>>1]<<2)+120>>2]|0,g=k[(k[a+(u+1<<2)+120>>2]|0)+72>>2]|0,d=k[h+56>>2]|0,n=h+18|0,e=m[n>>1]<<1,p=k[h+64>>2]|0,e=(l[p+(e+-2)>>0]<<8|l[p+(e+-1)>>0])&m[h+20>>1],p=(Qp(h,d+e|0)|0)&65535,f=k[q+80>>2]|0,c=Lg(k[h+68>>2]|0)|0,k[y>>2]=c,Op(o,v,d+(e+-4)|0,p+4|0,f,g,y),Np(h,(m[n>>1]|0)+-1|0,p,y),p=k[y>>2]|0,(p|0)!=0):0){b=p;break}b=Pp(a)|0;k[y>>2]=b;if(!b){b=j[w>>1]|0;if(b<<16>>16>x<<16>>16){do{c=b+-1<<16>>16;j[w>>1]=c;b=k[a+(b<<16>>16<<2)+120>>2]|0;if(!b)b=c;else{Gg(k[b+68>>2]|0);b=j[w>>1]|0}}while(b<<16>>16>x<<16>>16);b=Pp(a)|0;k[y>>2]=b;if(b)break}vm(a)|0;b=0}}}}}else b=1;while(0);r=z;return b|0}function Pm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,n=0.0,o=0.0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=r;r=r+64|0;if((r|0)>=(s|0))ka();I=K+40|0;h=K+56|0;G=K;f=K+52|0;H=K+48|0;q=k[c+8>>2]|0;J=k[c>>2]|0;do if(!d){d=i[b>>0]|0;if(d<<24>>24>-1){d=d&255;k[h>>2]=d;e=1}else{e=rm(b,h)|0;d=k[h>>2]|0}if(d>>>0>a>>>0){k[I>>2]=68267;k[I+4>>2]=10788;gd(11,13600,I);i[c+7>>0]=11;e=0;break}else{F=d;h=d;d=0;f=e&255;g=15;break}}else{d=b+1|0;e=i[d>>0]|0;if(e<<24>>24>-1){d=e&255;k[f>>2]=d;g=1}else{g=rm(d,f)|0;d=k[f>>2]|0}e=l[b>>0]|0;k[h>>2]=e;if(d>>>0>11)d=(d+-12|0)>>>1;else d=l[34336+d>>0]|0;F=e;h=d+e|0;d=1;f=(g&255)+1|0;q=q+40|0;g=15}while(0);do if((g|0)==15){w=G+12|0;x=J+4|0;y=G+10|0;z=J+12|0;A=G+32|0;B=G+8|0;C=G+16|0;E=c+7|0;D=c+4|0;v=h;u=f;a:while(1){f=m[q+8>>1]|0;do if(!(f&4)){if(f&8){g=i[b+u>>0]|0;h=g&255;k[H>>2]=h;if((g&255)>11){e=1;g=62;break a}if(!(g<<24>>24)){e=-1;g=62;break a}n=+p[q>>3];tm(b+v|0,h,G)|0;if(g<<24>>24==7)o=+p[G>>3];else{e=G;o=+((k[e>>2]|0)>>>0)+4294967296.0*+(k[e+4>>2]|0)}if(o<n){e=-1;g=62;break a}if(o>n){e=1;g=62;break a}else break}do if(!(f&2)){g=b+u|0;t=i[g>>0]|0;h=t&255;if(!(f&16)){k[H>>2]=h;e=t<<24>>24!=0&1;break}if(t<<24>>24>-1)k[H>>2]=h;else{rm(g,H)|0;h=k[H>>2]|0}if(!(h>>>0>11&(h&1|0)==0)){e=-1;g=62;break a}t=(h+-12|0)>>>1;if((t+v|0)>>>0>a>>>0){g=57;break a}g=k[q+12>>2]|0;e=cw(b+v|0,k[q+16>>2]|0,(t|0)<(g|0)?t:g)|0;if(e){g=62;break a}e=t-g|0}else{h=b+u|0;g=i[h>>0]|0;if(g<<24>>24>-1){h=g&255;k[H>>2]=h}else{rm(h,H)|0;h=k[H>>2]|0}if(h>>>0<12){e=-1;g=62;break a}if(!(h&1)){e=1;g=62;break a}f=(h+-12|0)>>>1;k[w>>2]=f;if((f+v|0)>>>0>a>>>0){g=46;break a}g=k[J+(d<<2)+20>>2]|0;if(g){i[y>>0]=i[x>>0]|0;k[A>>2]=k[z>>2];j[B>>1]=2;k[C>>2]=b+v;e=up(G,q,g,E)|0;break}t=k[q+12>>2]|0;e=cw(b+v|0,k[q+16>>2]|0,(f|0)<(t|0)?f:t)|0;if(e){g=62;break a}e=f-t|0}while(0);if(e){g=62;break a}}else{g=i[b+u>>0]|0;h=g&255;k[H>>2]=h;if((g&255)>11){e=1;g=62;break a}if(g<<24>>24==7){e=q;n=+((k[e>>2]|0)>>>0)+4294967296.0*+(k[e+4>>2]|0);tm(b+v|0,h,G)|0;o=+p[G>>3];if(o<n){e=-1;g=62;break a}if(o>n){e=1;g=62;break a}else break}else if(!(g<<24>>24)){e=-1;g=62;break a}g=b+v|0;switch(h|0){case 3:{t=l[b+(v+1)>>0]<<8|i[g>>0]<<16|l[b+(v+2)>>0];e=((t|0)<0)<<31>>31;break}case 1:case 0:{t=i[g>>0]|0;e=((t|0)<0)<<31>>31;break}case 5:{e=i[g>>0]<<8|l[b+(v+1)>>0];t=l[b+(v+3)>>0]<<16|l[b+(v+2)>>0]<<24|l[b+(v+4)>>0]<<8|l[b+(v+5)>>0];break}case 4:{t=l[b+(v+1)>>0]<<16|l[g>>0]<<24|l[b+(v+2)>>0]<<8|l[b+(v+3)>>0];e=((t|0)<0)<<31>>31;break}case 6:{e=l[b+(v+1)>>0]<<16|l[g>>0]<<24|l[b+(v+2)>>0]<<8|l[b+(v+3)>>0];t=l[b+(v+5)>>0]<<16|l[b+(v+4)>>0]<<24|l[b+(v+6)>>0]<<8|l[b+(v+7)>>0];break}case 2:{t=i[g>>0]<<8|l[b+(v+1)>>0];e=((t|0)<0)<<31>>31;break}default:{e=0;t=h+-8|0}}f=q;g=k[f>>2]|0;f=k[f+4>>2]|0;if((e|0)<(f|0)|(e|0)==(f|0)&t>>>0<g>>>0){e=-1;g=62;break a}if((e|0)>(f|0)|(e|0)==(f|0)&t>>>0>g>>>0){e=1;g=62;break a}}while(0);d=d+1|0;q=q+40|0;if(h>>>0>11)f=(h+-12|0)>>>1;else f=l[34336+h>>0]|0;t=h;g=0;h=0;do{h=h+1|0;t=rw(t|0,g|0,7)|0;g=L}while(((t|0)!=0|(g|0)!=0)&(h|0)<9);v=f+v|0;u=h+u|0;if(u>>>0>=F>>>0){g=70;break}if(v>>>0>a>>>0?1:(d|0)>=(m[D>>1]|0)){g=70;break}}if((g|0)==46){k[I>>2]=68346;k[I+4>>2]=10788;gd(11,13600,I);i[E>>0]=11;e=0;break}else if((g|0)==57){k[I>>2]=68375;k[I+4>>2]=10788;gd(11,13600,I);i[E>>0]=11;e=0;break}else if((g|0)==62){e=(i[(k[J+16>>2]|0)+d>>0]|0)==0?e:0-e|0;break}else if((g|0)==70){e=i[c+6>>0]|0;break}}while(0);r=K;return e|0}function Qm(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=r;r=r+16|0;if((r|0)>=(s|0))ka();A=B;y=B+12|0;z=B+8|0;f=j[a+76>>1]|0;h=k[a+(f<<2)+120>>2]|0;x=k[a+4>>2]|0;if(!(j[a+44>>1]|0)){q=h+56|0;f=m[a+(f<<1)+78>>1]<<1;p=k[h+64>>2]|0;wp(h,(k[q>>2]|0)+((l[p+f>>0]<<8|l[p+(f|1)>>0])&m[h+20>>1])|0,a+24|0);f=a+72|0;i[f>>0]=l[f>>0]|2;f=q}else f=h+56|0;q=k[a+32>>2]|0;o=a+40|0;g=m[o>>1]|0;p=x+36|0;if((q+g|0)>>>0<=((k[f>>2]|0)+(k[p>>2]|0)|0)>>>0){if(g>>>0>b>>>0){n=(c+b|0)>>>0>g>>>0?g-b|0:c;g=q+b|0;if(e&1){f=Lg(k[h+68>>2]|0)|0;if(!f){pw(g|0,d|0,n|0)|0;f=0}}else{pw(d|0,g|0,n|0)|0;f=0}d=d+n|0;t=0;c=c-n|0}else{t=b-g|0;f=0}a:do if((f|0)==0&(c|0)!=0){f=k[p>>2]|0;w=f+-4|0;g=m[o>>1]|0;o=l[q+(g+1)>>0]<<16|l[q+g>>0]<<24|l[q+(g+2)>>0]<<8|l[q+(g+3)>>0];k[y>>2]=o;q=a+72|0;do if((e|0)!=2?(i[q>>0]&4)==0:0){f=((f+-5+(k[a+36>>2]|0)-g|0)>>>0)/(w>>>0)|0;b=a+64|0;if((f|0)>(k[b>>2]|0)){h=a+20|0;g=wg(k[h>>2]|0,f<<3,0)|0;if(!g){f=7;break}k[b>>2]=f<<1;k[h>>2]=g}kw(k[a+20>>2]|0,0,f<<2|0)|0;i[q>>0]=l[q>>0]|4;f=0}else f=0;while(0);b=i[q>>0]|0;if((b&4)!=0?(v=(t>>>0)/(w>>>0)|0,u=k[(k[a+20>>2]|0)+(v<<2)>>2]|0,(u|0)!=0):0){k[y>>2]=u;n=(t>>>0)%(w>>>0)|0;h=u;o=v}else{n=t;h=o;o=0}if((f|0)==0&(h|0)!=0){u=e&1;v=u<<1^2;u=(u|0)==0;e=a+20|0;while(1){if(b&4)k[(k[e>>2]|0)+(o<<2)>>2]=h;if(n>>>0<w>>>0){p=(n+c|0)>>>0>w>>>0?w-n|0:c;f=Eg(k[x>>2]|0,h,z,v)|0;if(!f){b=k[z>>2]|0;g=k[b+4>>2]|0;h=l[g+1>>0]<<16|l[g>>0]<<24|l[g+2>>0]<<8|l[g+3>>0];k[y>>2]=h;g=g+(n+4)|0;if(!u){f=Lg(b)|0;if(!f){pw(g|0,d|0,p|0)|0;f=0}}else{pw(d|0,g|0,p|0)|0;f=0}if(!b)n=0;else{Gg(b);n=0}}c=c-p|0;d=d+p|0;o=o+1|0}else{b=o+1|0;f=k[(k[e>>2]|0)+(b<<2)>>2]|0;if(!f){f=Rp(x,h,0,y)|0;h=k[y>>2]|0}else{k[y>>2]=f;h=f;f=0}n=n-w|0;o=b}if(!((f|0)==0&(c|0)!=0&(h|0)!=0))break a;b=i[q>>0]|0}}}while(0);if((f|0)==0&(c|0)!=0){k[A>>2]=57357;k[A+4>>2]=10788;gd(11,13600,A);f=11}}else{k[A>>2]=57202;k[A+4>>2]=10788;gd(11,13600,A);f=11}r=B;return f|0}function Rm(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a>>2]|0;c=a+44|0;rg(d,k[c>>2]|0);a=b+8|0;b=ph(d,k[a>>2]|0)|0;k[c>>2]=b;$c(k[a>>2]|0);k[a>>2]=0;return}function Sm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0;p=r;r=r+16|0;if((r|0)>=(s|0))ka();e=p+4|0;n=p;o=a+12|0;if(!(k[o>>2]|0)){d=a+8|0;c=Km(k[(k[d>>2]|0)+28>>2]|0,0,0,e)|0;k[o>>2]=c;if(!(k[e>>2]|0))c=7;else{j[c+4>>1]=j[(k[(k[d>>2]|0)+28>>2]|0)+6>>1]|0;i[c+7>>0]=0;f=4}}else f=4;if((f|0)==4){m=vg(256,0)|0;if(!m)c=7;else{kw(m|0,0,256)|0;c=k[b>>2]|0;k[n>>2]=c;if(c){h=b+4|0;while(1){d=k[h>>2]|0;if(d)if((c|0)==(d|0))g=0;else g=d+(k[c+4>>2]|0)|0;else g=k[c+4>>2]|0;k[c+4>>2]=0;f=k[m>>2]|0;e=k[n>>2]|0;if(!f)f=m;else{d=m;c=0;do{Sp(a,e,f,n);k[d>>2]=0;c=c+1|0;d=m+(c<<2)|0;f=k[d>>2]|0;e=k[n>>2]|0}while((f|0)!=0);f=d}k[f>>2]=e;k[n>>2]=g;if(!g)break;else c=g}}k[n>>2]=0;c=0;d=0;do{Sp(a,c,k[m+(d<<2)>>2]|0,n);d=d+1|0;c=k[n>>2]|0}while((d|0)!=64);k[b>>2]=c;$c(m);c=l[(k[o>>2]|0)+7>>0]|0}}r=p;return c|0}function Tm(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+64|0;if((r|0)>=(s|0))ka();j=m+40|0;l=m;i[a+56>>0]=1;e=a+64|0;h=a+36|0;g=a+72|0;f=k[(k[g>>2]|0)+24>>2]|0;d=l+0|0;c=d+40|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(c|0));d=a+96|0;if(!((k[d>>2]|0)==0?(b=Tp(f,d)|0,(b|0)!=0):0)){b=Sm(e,h)|0;if(!b){e=a+104|0;b=e;Up(k[d>>2]|0,l,k[(k[g>>2]|0)+12>>2]|0,k[b>>2]|0,k[b+4>>2]|0);b=a+92|0;k[b>>2]=(k[b>>2]|0)+1;b=k[a+44>>2]|0;Vp(l,j,um(j,b,((b|0)<0)<<31>>31)|0);b=k[h>>2]|0;if(b){d=a+40|0;do{c=b;b=k[b+4>>2]|0;a=k[c>>2]|0;Vp(l,j,um(j,a,((a|0)<0)<<31>>31)|0);Vp(l,c+8|0,k[c>>2]|0);if(!(k[d>>2]|0))$c(c)}while((b|0)!=0)}k[h>>2]=0;b=Wp(l,e)|0}}r=m;return b|0}function Um(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0;p=r;r=r+16|0;if((r|0)>=(s|0))ka();n=p;f=c;h=k[f>>2]|0;f=k[f+4>>2]|0;o=Vm(b)|0;k[d>>2]=o;g=(o|0)==0;e=g?7:0;g=g^1;if((b|0)>0&g){m=o+12|0;l=a+32|0;j=0;do{g=k[m>>2]|0;i=g+(j*56|0)|0;e=Xp(a,i,l,h,f)|0;if(!e){e=Yp(i,n)|0;f=i;h=n;f=ow(k[h>>2]|0,k[h+4>>2]|0,k[f>>2]|0,k[f+4>>2]|0)|0;h=g+(j*56|0)+8|0;g=h;k[g>>2]=f;k[g+4>>2]=L;if(!e)e=Zp(i)|0}else h=g+(j*56|0)+8|0;f=h;h=k[f>>2]|0;f=k[f+4>>2]|0;j=j+1|0;g=(e|0)==0}while((j|0)<(b|0)&g)}if(!g){Ym(o);k[d>>2]=0}b=c;k[b>>2]=h;k[b+4>>2]=f;r=p;return e|0}function Vm(a){a=a|0;var b=0,c=0;b=2;while(1)if((b|0)<(a|0))b=b<<1;else{c=b;break}b=k[2252]|0;if((b|0)!=0?(qc[b&127](100)|0)!=0:0)b=0;else{a=(c*60|0)+16|0;b=vg(a,((a|0)<0)<<31>>31)|0;if(!b)b=0;else{kw(b|0,0,a|0)|0;k[b>>2]=c;k[b+4>>2]=0;a=b+16|0;k[b+12>>2]=a;k[b+8>>2]=a+(c*56|0)}}return b|0}function Wm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=k[2252]|0;if((d|0)!=0?(qc[d&127](100)|0)!=0:0){d=0;g=6}else g=3;do if((g|0)==3){d=vg(64,0)|0;if(!d){g=6;break}else{e=d+0|0;f=e+64|0;do{i[e>>0]=0;e=e+1|0}while((e|0)<(f|0));k[c>>2]=d;k[d+4>>2]=b;k[d>>2]=a;f=k[a+8>>2]|0;e=(k[f+8>>2]|0)+9|0;f=(k[f+4>>2]|0)/2|0;f=(e|0)>(f|0)?e:f;k[d+16>>2]=f;d=a+56|0;e=d;e=ow(f|0,((f|0)<0)<<31>>31|0,k[e>>2]|0,k[e+4>>2]|0)|0;k[d>>2]=e;k[d+4>>2]=L;d=0;break}}while(0);if((g|0)==6){k[c>>2]=d;Ym(b);d=7}return d|0}function Xm(a){a=a|0;if(a){Ym(k[a+4>>2]|0);$c(a)}return}function Ym(a){a=a|0;var b=0,c=0;if((a|0)!=0?(k[a>>2]|0)>0:0){b=a+12|0;c=0;do{_p((k[b>>2]|0)+(c*56|0)|0);c=c+1|0}while((c|0)<(k[a>>2]|0))}$c(a);return}function Zm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0;n=k[b>>2]|0;r=b+4|0;k[r>>2]=a;a:do if((n|0)>0){o=b+12|0;p=0;do{j=k[o>>2]|0;h=j+(p*56|0)|0;j=k[j+(p*56|0)+48>>2]|0;if(j){m=k[j>>2]|0;g=k[(k[m+8>>2]|0)+24>>2]|0;c=Zm(m,k[j+4>>2]|0)|0;if(c)break a;i=k[j+16>>2]|0;e=m+48|0;f=k[e>>2]|0;d=m+56|0;if(!f){c=Tp(g,e)|0;g=d;k[g>>2]=0;k[g+4>>2]=0;if(c)break a;f=k[e>>2]|0;e=0;d=0}else{e=k[d>>2]|0;d=k[d+4>>2]|0}k[j+48>>2]=f;j=j+8|0;k[j>>2]=e;k[j+4>>2]=d;j=ow(e|0,d|0,i|0,((i|0)<0)<<31>>31|0)|0;c=m+56|0;k[c>>2]=j;k[c+4>>2]=L;c=Zp(h)|0;if(c)break a}p=p+1|0}while((p|0)<(n|0));c=k[b>>2]|0;q=12}else{c=n;q=12}while(0);if((q|0)==12){d=c+-1|0;b:do if((d|0)>0){h=b+12|0;i=b+8|0;f=c;e=c;g=d;while(1){c=(f|0)/2|0;if((e|0)>(c|0)){e=g-c<<1;c=e;e=e|1}else{e=g<<1;n=k[i>>2]|0;c=k[n+(e<<2)>>2]|0;e=k[n+((e|1)<<2)>>2]|0}d=k[h>>2]|0;if(k[d+(c*56|0)+24>>2]|0){if(k[d+(e*56|0)+24>>2]|0){n=($p(k[r>>2]|0,k[d+(c*56|0)+32>>2]|0,k[d+(c*56|0)+20>>2]|0,k[d+(e*56|0)+32>>2]|0,k[d+(e*56|0)+20>>2]|0)|0)<1;c=n?c:e}}else c=e;k[(k[i>>2]|0)+(g<<2)>>2]=c;c=g+-1|0;if((c|0)<=0)break b;e=g;f=k[b>>2]|0;g=c}}while(0);c=l[(k[a+12>>2]|0)+7>>0]|0}return c|0}function _m(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=a+76|0;do{b=j[d>>1]|0;c=k[a+(b<<2)+120>>2]|0;if(i[c+5>>0]|0){b=0;break}e=k[c+56>>2]|0;b=m[a+(b<<1)+78>>1]<<1;f=k[c+64>>2]|0;b=(l[f+b>>0]<<8|l[f+(b|1)>>0])&m[c+20>>1];b=wm(a,l[e+(b+1)>>0]<<16|l[e+b>>0]<<24|l[e+(b+2)>>0]<<8|l[e+(b+3)>>0])|0}while((b|0)==0);return b|0}function $m(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;q=a+8|0;e=k[(k[q>>2]|0)+4>>2]|0;u=k[a+4>>2]|0;s=a+12|0;c=Zp((k[s>>2]|0)+(e*56|0)|0)|0;if(!c){c=k[s>>2]|0;d=e|1;a=(k[a>>2]|0)+e|0;a:do if((a|0)>1){m=c;n=a;g=k[c+(d*56|0)+32>>2]|0;o=c+((e&65534)*56|0)|0;e=c+(d*56|0)|0;while(1){p=o+24|0;h=o;i=o+32|0;j=o+20|0;c=m;f=n;a=g;while(1){d=f;f=(f|0)/2|0;if(!(k[p>>2]|0)){g=a;break}if(((k[e+24>>2]|0)!=0?(r=$p(u,k[i>>2]|0,k[j>>2]|0,a,k[e+20>>2]|0)|0,(r|0)>=0):0)?!((r|0)==0&o>>>0<e>>>0):0){t=10;break}g=k[s>>2]|0;a=k[q>>2]|0;k[a+(f<<2)>>2]=(h-g|0)/56|0;e=k[a+((f^1)<<2)>>2]|0;if((d|0)<=3){c=g;break a}else{c=g;a=k[g+(e*56|0)+32>>2]|0;e=g+(e*56|0)|0}}if((t|0)==10){t=0;c=k[s>>2]|0;g=(k[p>>2]|0)==0?a:0}a=k[q>>2]|0;k[a+(f<<2)>>2]=(e-c|0)/56|0;if((d|0)>3){m=c;n=f;o=c+((k[a+((f^1)<<2)>>2]|0)*56|0)|0}else break}}else a=k[q>>2]|0;while(0);k[b>>2]=(k[c+((k[a+4>>2]|0)*56|0)+24>>2]|0)==0&1;c=l[(k[u+12>>2]|0)+7>>0]|0}return c|0}function an(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=a+4|0;e=k[d>>2]|0;k[e+4>>2]=k[a>>2];a=Qn(e,b,0)|0;if(!a){a=k[(k[d>>2]|0)+8>>2]|0;if(a)do{if(i[a+72>>0]&16)i[a+73>>0]=0;a=k[a+8>>2]|0}while((a|0)!=0);a=aq(e,b,0,c)|0}return a|0}function bn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;z=r;r=r+32|0;if((r|0)>=(s|0))ka();o=z;y=z+16|0;x=z+12|0;w=z+8|0;k[y>>2]=0;f=k[a+12>>2]|0;if(!b){b=bq(a,c)|0;k[x>>2]=b}else{k[x>>2]=b;p=(k[b+68>>2]|0)+26|0;j[p>>1]=(j[p>>1]|0)+1<<16>>16}e=Lg(k[f+68>>2]|0)|0;k[w>>2]=e;do if(!e){p=f+56|0;n=k[p>>2]|0;A=n+36|0;e=n+37|0;f=n+38|0;n=n+39|0;g=l[e>>0]<<16|l[A>>0]<<24|l[f>>0]<<8|l[n>>0];h=g+1|0;i[A>>0]=h>>>24;i[e>>0]=h>>>16;i[f>>0]=h>>>8;i[n>>0]=h;n=a+22|0;if(j[n>>1]&4){if(!b){f=il(a,c,x,0)|0;k[w>>2]=f;if(f){d=f;break}b=k[x>>2]|0}f=Lg(k[b+68>>2]|0)|0;k[w>>2]=f;if(f){d=f;break}kw(k[b+56>>2]|0,0,k[(k[b+52>>2]|0)+32>>2]|0)|0}if((i[a+17>>0]|0)!=0?(Ep(a,c,2,0,w),d=k[w>>2]|0,(d|0)!=0):0)break;if(g){e=k[p>>2]|0;e=l[e+33>>0]<<16|l[e+32>>0]<<24|l[e+34>>0]<<8|l[e+35>>0];d=il(a,e,y,0)|0;k[w>>2]=d;if(d)break;d=k[y>>2]|0;h=d+56|0;g=k[h>>2]|0;g=l[g+5>>0]<<16|l[g+4>>0]<<24|l[g+6>>0]<<8|l[g+7>>0];f=(k[a+36>>2]|0)>>>2;if(g>>>0>(f+-2|0)>>>0){k[o>>2]=58627;k[o+4>>2]=10788;gd(11,13600,o);k[w>>2]=11;d=11;break}if(g>>>0<(f+-8|0)>>>0){d=Lg(k[d+68>>2]|0)|0;k[w>>2]=d;if(d)break;p=k[h>>2]|0;o=g+1|0;i[p+4>>0]=o>>>24;i[p+5>>0]=o>>>16;i[p+6>>0]=o>>>8;i[p+7>>0]=o;p=g<<2;o=k[h>>2]|0;i[o+(p+8)>>0]=c>>>24;i[o+(p+9)>>0]=c>>>16;i[o+(p+10)>>0]=c>>>8;i[o+(p+11)>>0]=c;if((((b|0)!=0?(j[n>>1]&4)==0:0)?(q=k[b+68>>2]|0,t=q+24|0,u=m[t>>1]|0,(u&2|0)!=0):0)?(k[(k[q+16>>2]|0)+96>>2]|0)==0:0)j[t>>1]=u|32;e=a+60|0;d=k[e>>2]|0;do if(!d){b=k[a+44>>2]|0;d=vg(512,0)|0;if(!d){k[e>>2]=0;d=7;break}else{kw(d|0,0,512)|0;k[d>>2]=b;k[e>>2]=d;v=28;break}}else v=28;while(0);if((v|0)==28)if((k[d>>2]|0)>>>0<c>>>0)d=0;else d=gi(d,c)|0;k[w>>2]=d;break}}else e=0;if(!b){d=il(a,c,x,0)|0;k[w>>2]=d;if(d)break;b=k[x>>2]|0}d=Lg(k[b+68>>2]|0)|0;k[w>>2]=d;if(!d){d=b+56|0;q=k[d>>2]|0;i[q>>0]=e>>>24;i[q+1>>0]=e>>>16;i[q+2>>0]=e>>>8;i[q+3>>0]=e;d=(k[d>>2]|0)+4|0;i[d>>0]=0;i[d+1>>0]=0;i[d+2>>0]=0;i[d+3>>0]=0;d=k[p>>2]|0;i[d+32>>0]=c>>>24;i[d+33>>0]=c>>>16;i[d+34>>0]=c>>>8;i[d+35>>0]=c;d=0}}else d=e;while(0);b=k[x>>2]|0;if(b){i[b>>0]=0;Gg(k[b+68>>2]|0)}b=k[y>>2]|0;if(b)Gg(k[b+68>>2]|0);r=z;return d|0}function cn(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;P=r;r=r+48|0;if((r|0)>=(s|0))ka();M=P+24|0;D=P;w=P+36|0;N=P+32|0;t=b+72|0;L=k[t>>2]|0;u=k[a>>2]|0;p=k[b+68>>2]|0;q=u+15|0;if((i[q>>0]|0)!=0?(g=Lg(p)|0,(g|0)!=0):0)O=20;else O=3;a:do if((O|0)==3){h=p+24|0;o=j[h>>1]|0;if((o&2)!=0?(Zo(p)|0)!=0:0){g=_o(p)|0;if(g){O=20;break}o=j[h>>1]|0}if((o&4)==0|(f|0)!=0)n=0;else n=k[p+20>>2]|0;j[h>>1]=o&65531;A=u+204|0;f=fc[k[8744+132>>2]&63](k[(k[A>>2]|0)+40>>2]|0,e,0)|0;f=nl(k[A>>2]|0,e,f)|0;do if(f){j[h>>1]=m[h>>1]|m[f+24>>1]&4;if(!(i[q>>0]|0)){rl(f);break}else{cq(f,(k[u+24>>2]|0)+1|0);break}}while(0);o=k[p+20>>2]|0;cq(p,e);Yo(p);if(i[q>>0]|0){cq(f,o);Gg(f)}do if(n){g=Eg(u,n,M,0)|0;if(!g){A=k[M>>2]|0;z=A+24|0;j[z>>1]=m[z>>1]|4;Yo(A);Gg(A);break}if(n>>>0>(k[u+28>>2]|0)>>>0){O=20;break a}hi(k[u+56>>2]|0,n,k[u+200>>2]|0);O=20;break a}while(0);k[N>>2]=0;k[t>>2]=e;if(c<<24>>24==1|c<<24>>24==5){g=dq(b)|0;k[N>>2]=g;if(!g)O=25;else break}else{f=k[b+56>>2]|0;f=l[f+1>>0]<<16|l[f>>0]<<24|l[f+2>>0]<<8|l[f+3>>0];if(f){Ep(a,f,4,e,N);g=k[N>>2]|0;if(!g)O=25;else break}}if((O|0)==25?c<<24>>24==1:0){g=0;break}g=il(a,d,w,0)|0;k[N>>2]=g;if(!g){z=k[w>>2]|0;A=z+68|0;g=Lg(k[A>>2]|0)|0;k[N>>2]=g;if(g){if(!z)break;Gg(k[A>>2]|0);break}b:do if(c<<24>>24==4){g=k[z+56>>2]|0;h=g+1|0;n=g+2|0;f=g+3|0;if((l[h>>0]<<16|l[g>>0]<<24|l[n>>0]<<8|l[f>>0]|0)==(L|0)){i[g>>0]=e>>>24;i[h>>0]=e>>>16;i[n>>0]=e>>>8;i[f>>0]=e;g=0;break}else{k[M>>2]=56060;k[M+4>>2]=10788;gd(11,13600,M);g=11;break}}else{x=i[z>>0]|0;eq(z)|0;w=j[z+18>>1]|0;y=w&65535;c:do if(w<<16>>16){b=z+56|0;u=z+20|0;p=z+64|0;v=c<<24>>24==3;w=D+18|0;f=0;while(1){t=k[b>>2]|0;q=f<<1;o=k[p>>2]|0;q=(l[o+q>>0]<<8|l[o+(q|1)>>0])&m[u>>1];o=t+q|0;if(v){wp(z,o,D);o=j[w>>1]|0;if((o<<16>>16!=0?(B=(o&65535)+q|0,C=t+(B+3)|0,C>>>0<=((k[b>>2]|0)+(m[u>>1]|0)|0)>>>0):0)?(E=t+B|0,F=t+(B+1)|0,G=t+(B+2)|0,(l[F>>0]<<16|l[E>>0]<<24|l[G>>0]<<8|l[C>>0]|0)==(L|0)):0){o=C;g=E;h=F;n=G;O=40;break}}else{g=t+(q+1)|0;h=t+(q+2)|0;n=t+(q+3)|0;if((l[g>>0]<<16|l[o>>0]<<24|l[h>>0]<<8|l[n>>0]|0)==(L|0)){O=42;break}}f=f+1|0;if((f|0)>=(y|0))break c}if((O|0)==40){i[g>>0]=e>>>24;i[h>>0]=e>>>16;i[n>>0]=e>>>8;i[o>>0]=e;break}else if((O|0)==42){i[o>>0]=e>>>24;i[g>>0]=e>>>16;i[h>>0]=e>>>8;i[n>>0]=e;break}}else f=0;while(0);do if((f|0)==(y|0)){if(c<<24>>24==5?(K=l[z+6>>0]|0,G=k[z+56>>2]|0,H=G+(K+8)|0,I=G+(K+9)|0,J=G+(K+10)|0,K=G+(K+11)|0,(l[I>>0]<<16|l[H>>0]<<24|l[J>>0]<<8|l[K>>0]|0)==(L|0)):0){i[H>>0]=e>>>24;i[I>>0]=e>>>16;i[J>>0]=e>>>8;i[K>>0]=e;break}k[M>>2]=56094;k[M+4>>2]=10788;gd(11,13600,M);g=11;break b}while(0);i[z>>0]=x;g=0}while(0);k[N>>2]=g;if(z)Gg(k[A>>2]|0);if(!g){Ep(a,e,c,d,N);g=k[N>>2]|0}}}while(0);if((O|0)==20)k[N>>2]=g;r=P;return g|0}function dn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=b+20|0;Ym(k[g>>2]|0);k[g>>2]=0;g=b+59|0;if(i[g>>0]|0){h=0;do{d=b+(h<<6)+76|0;rg(a,k[d>>2]|0);k[d>>2]=0;d=b+(h<<6)+80|0;e=k[d>>2]|0;if(e)do{f=e;e=k[e+4>>2]|0;if(f)$c(f)}while((e|0)!=0);k[d>>2]=0;e=b+(h<<6)+96|0;d=k[e>>2]|0;if(d){f=k[d>>2]|0;if(f){qc[k[f+4>>2]&127](d)|0;k[d>>2]=0}$c(d);k[e>>2]=0;d=b+(h<<6)+104|0;k[d>>2]=0;k[d+4>>2]=0}f=b+(h<<6)+112|0;e=k[f>>2]|0;if(e){d=k[e>>2]|0;if(d){qc[k[d+4>>2]&127](e)|0;k[e>>2]=0}$c(e);k[f>>2]=0;d=b+(h<<6)+120|0;k[d>>2]=0;k[d+4>>2]=0}h=h+1|0}while((h|0)<(l[g>>0]|0))}e=b+36|0;if((k[b+40>>2]|0)==0?(c=k[e>>2]|0,(c|0)!=0):0)do{d=c;c=k[c+4>>2]|0;if(d)$c(d)}while((c|0)!=0);k[e>>2]=0;k[b+44>>2]=0;i[b+56>>0]=0;k[b+48>>2]=0;k[b+8>>2]=0;c=b+32|0;rg(a,k[c>>2]|0);k[c>>2]=0;return}function en(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0;p=r;r=r+16|0;if((r|0)>=(s|0))ka();e=p+4|0;l=p;n=k[a>>2]|0;g=k[a+8>>2]|0;h=k[n+16>>2]|0;f=(k[h+(g<<4)+12>>2]|0)+78|0;j[f>>1]=m[f>>1]&65531;f=n+65|0;do if(!(i[f>>0]|0))if(c){o=c+4|0;b=k[o>>2]|0;if(!b){fq(a,k[c>>2]|0,0);d=0;break}d=c+8|0;q=k[d>>2]|0;if((q|0)!=0?(i[q>>0]|0)!=0:0){h=n+144|0;i[h>>0]=g;k[e>>2]=0;In(b,e)|0;b=k[d>>2]|0;k[n+140>>2]=k[e>>2];o=n+146|0;i[o>>0]=0;nh(n,b,-1,0,0,l,0)|0;b=k[n+52>>2]|0;i[h>>0]=0;do if((b|0)!=0?(i[o>>0]|0)==0:0){k[a+12>>2]=b;if((b|0)==7){i[f>>0]=1;break}else if((b|0)==9)break;if((b&255|0)!=6){o=k[c>>2]|0;fq(a,o,Xe(n)|0)}}while(0);rd(k[l>>2]|0)|0;d=0;break}b=k[c>>2]|0;if(!b){fq(a,0,0);d=0;break}b=gq(n,b,k[h+(g<<4)>>2]|0)|0;if((b|0)!=0?(In(k[o>>2]|0,b+40|0)|0)==0:0){fq(a,k[c>>2]|0,13528);d=0}else d=0}else d=0;else{fq(a,k[c>>2]|0,0);d=1}while(0);r=p;return d|0}function fn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0;j=r;r=r+16|0;if((r|0)>=(s|0))ka();g=j;h=j+8|0;f=a+16|0;d=k[f>>2]|0;e=k[(k[d+(b<<4)+12>>2]|0)+32>>2]|0;if(e){d=e;do{hq(k[d+8>>2]|0);d=k[d>>2]|0}while((d|0)!=0);d=k[f>>2]|0}k[h>>2]=a;d=k[d+(b<<4)>>2]|0;k[h+4>>2]=d;do if(!(di(a,13384,d)|0))c=1;else{k[g>>2]=d;d=zh(a,13400,g)|0;if((d|0)!=0?(c=Ve(a,d,23,h,0)|0,rg(a,d),(c|0)!=7):0)break;i[a+65>>0]=1;c=7}while(0);r=j;return c|0}function gn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=k[a+12>>2]|0;if(!g){e=a+4|0;d=a+8|0;f=0}else{e=i[b>>0]|0;if(!(e<<24>>24))e=0;else{d=b;f=e;e=0;do{d=d+1|0;e=e<<3^e^(l[9328+(f&255)>>0]|0);f=i[d>>0]|0}while(f<<24>>24!=0)}f=(e>>>0)%((k[a>>2]|0)>>>0)|0;e=g+(f<<3)|0;d=g+(f<<3)+4|0}e=k[e>>2]|0;d=k[d>>2]|0;k[c>>2]=f;a:do if(!e)d=0;else while(1){e=e+-1|0;if(!(id(k[d+12>>2]|0,b)|0))break a;if(!e){d=0;break}else d=k[d>>2]|0}while(0);return d|0}function hn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0;u=r;r=r+16|0;if((r|0)>=(s|0))ka();t=u;q=u+12|0;a:do if((d|0)>0){o=a+16|0;p=a+4|0;n=(b|0)==0;e=c;b=d;while(1){h=b+-1|0;if(!(k[o>>2]|0))break a;if((e|0)<1){e=b;b=5;break}if(jq(a,e)|0)break a;if(Eg(k[p>>2]|0,e,q,0)|0){b=8;break}j=k[q>>2]|0;m=k[j+4>>2]|0;do if(n)if((h|0)>0?(i[(k[a>>2]|0)+17>>0]|0)!=0:0){jn(a,l[m+1>>0]<<16|l[m>>0]<<24|l[m+2>>0]<<8|l[m+3>>0],4,e);b=h}else b=h;else{g=l[m+5>>0]<<16|l[m+4>>0]<<24|l[m+6>>0]<<8|l[m+7>>0];f=k[a>>2]|0;if(i[f+17>>0]|0){jn(a,e,2,0);f=k[a>>2]|0}if((g|0)>(((k[f+36>>2]|0)/4|0)+-2|0)){k[t>>2]=e;ln(a,44640,t);b=b+-2|0;break}b:do if((g|0)>0){b=0;while(1){e=b<<2;e=l[m+(e+9)>>0]<<16|l[m+(e+8)>>0]<<24|l[m+(e+10)>>0]<<8|l[m+(e+11)>>0];if(i[f+17>>0]|0)jn(a,e,2,0);jq(a,e)|0;b=b+1|0;if((b|0)==(g|0))break b;f=k[a>>2]|0}}while(0);b=h-g|0}while(0);e=l[m+1>>0]<<16|l[m>>0]<<24|l[m+2>>0]<<8|l[m+3>>0];if(j)Gg(j);if((b|0)<=0)break a}if((b|0)==5){k[t>>2]=e;k[t+4>>2]=d;k[t+8>>2]=c;ln(a,44552,t);break}else if((b|0)==8){k[t>>2]=e;ln(a,44616,t);break}}while(0);r=u;return}function jn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0;l=r;r=r+32|0;if((r|0)>=(s|0))ka();h=l;f=l+24|0;g=l+20|0;e=mp(k[a>>2]|0,b,f,g)|0;if((e|0)==7|(e|0)==3082){k[a+24>>2]=1;j=3}else if(!e){f=i[f>>0]|0;e=k[g>>2]|0;if(!((e|0)==(d|0)?f<<24>>24==c<<24>>24:0)){k[h>>2]=b;k[h+4>>2]=c&255;k[h+8>>2]=d;k[h+12>>2]=f&255;k[h+16>>2]=e;ln(a,44496,h)}}else j=3;if((j|0)==3){k[h>>2]=b;ln(a,44464,h)}r=l;return}function kn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;Z=r;r=r+64|0;if((r|0)>=(s|0))ka();S=Z+40|0;h=Z+56|0;N=Z+32|0;O=Z+24|0;K=Z;X=N;k[X>>2]=0;k[X+4>>2]=0;X=O;k[X>>2]=0;k[X+4>>2]=0;X=a+28|0;Y=k[X>>2]|0;T=a+32|0;U=k[T>>2]|0;V=a+36|0;W=k[V>>2]|0;P=k[a>>2]|0;J=P+36|0;Q=k[J>>2]|0;if((b|0)!=0?(jq(a,b)|0)==0:0){k[X>>2]=43768;k[T>>2]=b;n=il(P,b,h,0)|0;do if(!n){R=k[h>>2]|0;i[R>>0]=0;n=eq(R)|0;if(n){k[S>>2]=n;ln(a,43824,S);if(!R){e=-1;break}Gg(k[R+68>>2]|0);e=-1;break}w=a+16|0;L=R+18|0;n=j[L>>1]|0;a:do if(!(n<<16>>16)){o=R+5|0;n=0;e=0}else{x=R+56|0;y=R+20|0;z=R+64|0;A=K+12|0;B=R+2|0;C=K+16|0;D=Q+-5|0;E=Q+-4|0;F=P+17|0;G=R+5|0;t=0;u=0;while(1){if(!(k[w>>2]|0)){o=G;e=t;break a}k[X>>2]=43864;k[T>>2]=b;k[V>>2]=u;h=k[x>>2]|0;n=u<<1;o=k[z>>2]|0;n=(l[o+n>>0]<<8|l[o+(n|1)>>0])&m[y>>1];o=h+n|0;wp(R,o,K);p=k[A>>2]|0;if(i[B>>0]|0){e=K;v=k[e>>2]|0;e=k[e+4>>2]|0;if(u){g=O;f=k[g>>2]|0;g=k[g+4>>2]|0;if(!((e|0)>(g|0)|(e|0)==(g|0)&v>>>0>f>>>0)){q=S;k[q>>2]=v;k[q+4>>2]=e;q=S+8|0;k[q>>2]=f;k[q+4>>2]=g;ln(a,43896,S)}}else{f=O;k[f>>2]=v;k[f+4>>2]=e;f=N;k[f>>2]=v;k[f+4>>2]=e}f=O;k[f>>2]=v;k[f+4>>2]=e}v=k[C>>2]|0;e=v&65535;if(p>>>0>e>>>0?(H=(v>>>16)+n|0,I=h+H|0,I>>>0<=((k[x>>2]|0)+(k[J>>2]|0)|0)>>>0):0){v=l[h+(H+1)>>0]<<16|l[I>>0]<<24|l[h+(H+2)>>0]<<8|l[h+(H+3)>>0];if(i[F>>0]|0)jn(a,v,3,b);hn(a,0,v,((D+p-e|0)>>>0)/(E>>>0)|0)}if(!(i[G>>0]|0)){q=l[h+(n+1)>>0]<<16|l[o>>0]<<24|l[h+(n+2)>>0]<<8|l[h+(n+3)>>0];if(i[F>>0]|0)jn(a,q,5,b);e=kn(a,q,N,(u|0)==0?0:O)|0;if(!((u|0)<1|(e|0)==(t|0)))ln(a,43944,S)}else e=t;u=u+1|0;n=j[L>>1]|0;if((u|0)>=(n&65535|0)){o=G;break}else t=e}}while(0);if(!(i[o>>0]|0)){h=l[R+6>>0]|0;G=k[R+56>>2]|0;h=l[G+(h+9)>>0]<<16|l[G+(h+8)>>0]<<24|l[G+(h+10)>>0]<<8|l[G+(h+11)>>0];k[X>>2]=43976;k[T>>2]=b;if(i[P+17>>0]|0){jn(a,h,5,b);n=j[L>>1]|0}kn(a,h,0,n<<16>>16!=0?O:0)|0;G=i[o>>0]|0;k[X>>2]=43768;k[T>>2]=b;if(G<<24>>24)M=34}else{k[X>>2]=43768;k[T>>2]=b;M=34}do if((M|0)==34?(i[R+2>>0]|0)!=0:0){h=(d|0)!=0;if(!c){if(!h)break;h=N;n=k[h>>2]|0;h=k[h+4>>2]|0;f=d;g=k[f>>2]|0;f=k[f+4>>2]|0;if((h|0)>(f|0)|(h|0)==(f|0)&n>>>0>g>>>0)break;G=S;k[G>>2]=n;k[G+4>>2]=h;G=S+8|0;k[G>>2]=g;k[G+4>>2]=f;ln(a,44200,S);break}if(!h){n=O;h=k[n>>2]|0;n=k[n+4>>2]|0;f=c;g=k[f>>2]|0;f=k[f+4>>2]|0;if(!((n|0)>(f|0)|(n|0)==(f|0)&h>>>0>g>>>0))break;G=S;k[G>>2]=h;k[G+4>>2]=n;G=S+8|0;k[G>>2]=g;k[G+4>>2]=f;ln(a,44008,S);break}h=N;n=k[h>>2]|0;h=k[h+4>>2]|0;f=c;g=k[f>>2]|0;f=k[f+4>>2]|0;if(!((h|0)>(f|0)|(h|0)==(f|0)&n>>>0>g>>>0)){G=S;k[G>>2]=n;k[G+4>>2]=h;G=S+8|0;k[G>>2]=g;k[G+4>>2]=f;ln(a,44072,S)}g=O;f=k[g>>2]|0;g=k[g+4>>2]|0;h=d;n=k[h>>2]|0;h=k[h+4>>2]|0;if((g|0)>(h|0)|(g|0)==(h|0)&f>>>0>n>>>0){G=S;k[G>>2]=f;k[G+4>>2]=g;g=S+8|0;k[g>>2]=n;k[g+4>>2]=h;ln(a,44136,S);g=O;f=k[g>>2]|0;g=k[g+4>>2]|0}G=c;k[G>>2]=f;k[G+4>>2]=g}while(0);t=k[R+56>>2]|0;u=l[R+6>>0]|0;v=Lo(k[P+32>>2]|0)|0;k[X>>2]=0;if(v){q=((l[t+(u+5)>>0]<<8|l[t+(u+6)>>0])+65535&65535)+1|0;kw(v+q|0,0,Q-q|0)|0;kw(v|0,1,q|0)|0;q=l[t+(u+3)>>0]<<8|l[t+(u+4)>>0];g=u+12-(l[o>>0]<<2)|0;if(q){f=Q+-4|0;p=0;do{o=g+(p<<1)|0;o=l[t+o>>0]<<8|l[t+(o+1)>>0];if((o|0)>(f|0))h=65536;else h=(Qp(R,t+o|0)|0)&65535;n=h+o|0;if((n|0)<=(Q|0)){if(h)do{n=n+-1|0;G=v+n|0;i[G>>0]=(i[G>>0]|0)+1<<24>>24}while((n|0)>(o|0))}else{k[X>>2]=0;k[S>>2]=p;k[S+4>>2]=b;ln(a,44264,S)}p=p+1|0}while((p|0)<(q|0))}f=l[t+(u+1)>>0]<<8|l[t+(u+2)>>0];if(f)do{g=l[t+(f+2)>>0]<<8|l[t+(f+3)>>0];if(g){g=g+f|0;do{g=g+-1|0;G=v+g|0;i[G>>0]=(i[G>>0]|0)+1<<24>>24}while((g|0)>(f|0))}f=l[t+f>>0]<<8|l[t+(f+1)>>0]}while((f|0)!=0);b:do if((Q|0)>0){g=0;f=0;while(1){h=i[v+f>>0]|0;if(h<<24>>24){if(h<<24>>24>1)break}else g=g+1|0;f=f+1|0;if((f|0)>=(Q|0))break b}k[S>>2]=f;k[S+4>>2]=b;ln(a,44312,S)}else g=0;while(0);f=l[t+(u+7)>>0]|0;if((g|0)!=(f|0)){k[S>>2]=g;k[S+4>>2]=f;k[S+8>>2]=b;ln(a,44352,S)}}else k[a+24>>2]=1;el(v);if(R)Gg(k[R+68>>2]|0)}else{k[S>>2]=n;ln(a,43784,S);e=-1}while(0);k[X>>2]=Y;k[T>>2]=U;k[V>>2]=W;e=e+1|0}else e=0;r=Z;return e|0}function ln(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=r;r=r+224|0;if((r|0)>=(s|0))ka();f=j;g=j+8|0;h=j+24|0;d=a+16|0;e=k[d>>2]|0;if(e){k[d>>2]=e+-1;d=a+20|0;k[d>>2]=(k[d>>2]|0)+1;k[g>>2]=c;c=a+40|0;if(k[a+52>>2]|0)Xk(c,43760,1);d=k[a+28>>2]|0;if(d){e=k[a+36>>2]|0;k[f>>2]=k[a+32>>2];k[f+4>>2]=e;fd(200,h,d,f)|0;d=h;while(1)if(!(i[d>>0]|0))break;else d=d+1|0;Xk(c,h,d-h&1073741823)}xg(c,1,b,g);if((i[a+65>>0]|0)==1)k[a+24>>2]=1}r=j;return}function mn(a){a=a|0;var b=0,c=0;b=a+8|0;c=k[b>>2]|0;do if((c|0)!=(k[a+4>>2]|0))if((i[a+24>>0]|0)==1){rg(k[a>>2]|0,c);break}else{$c(c);break}while(0);k[b>>2]=0;return}function nn(a){a=a|0;var b=0,c=0,d=0,e=0;c=k[a+32>>2]|0;e=a+8|0;if(!((j[e>>1]&9312)==0?(k[a+24>>2]|0)==0:0))Vg(a);b=rh(c,64,0)|0;d=a+20|0;k[d>>2]=b;if(!(i[c+65>>0]|0)){do if(!c)b=qc[k[8744+48>>2]&127](b)|0;else{if((k[c+276>>2]|0)>>>0<=b>>>0?(k[c+280>>2]|0)>>>0>b>>>0:0){b=m[c+248>>1]|0;break}b=qc[k[8744+48>>2]&127](b)|0}while(0);k[a+24>>2]=b;d=k[d>>2]|0;k[d>>2]=0;k[d+4>>2]=c;k[d+8>>2]=0;k[d+12>>2]=0;k[d+20>>2]=0;k[d+16>>2]=d+32;j[d+24>>1]=(b+1048544|0)>>>4;j[d+26>>1]=1;k[d+28>>2]=0;k[a>>2]=d;j[e>>1]=32}else{j[e>>1]=1;k[a+24>>2]=0}return}function on(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=tn(a)|0;if(f){g=f;k[g>>2]=b;k[g+4>>2]=c;k[f+8>>2]=0;g=a+12|0;e=k[g>>2]|0;if(!e)k[a+8>>2]=f;else{a=a+26|0;d=m[a>>1]|0;if((d&1|0)!=0?(h=e,i=k[h+4>>2]|0,!((i|0)<(c|0)|((i|0)==(c|0)?(k[h>>2]|0)>>>0<b>>>0:0))):0)j[a>>1]=d&65534;k[e+8>>2]=f}k[g>>2]=f}return}function pn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+160|0;if((r|0)>=(s|0))ka();f=g;kw(f|0,0,160)|0;a:do if(!a){a=0;b=0}else{b=0;while(1){c=a+8|0;e=k[c>>2]|0;k[c>>2]=0;if(!b)b=f;else{c=b;b=f;d=0;do{a=rn(c,a)|0;k[b>>2]=0;d=d+1|0;b=f+(d<<2)|0;c=k[b>>2]|0}while((c|0)!=0)}k[b>>2]=a;if(!e){a=0;b=0;break a}a=e;b=k[f>>2]|0}}while(0);do{a=rn(a,k[f+(b<<2)>>2]|0)|0;b=b+1|0}while((b|0)!=40);r=g;return a|0}function qn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();d=f;e=k[a+12>>2]|0;if(!e)k[b>>2]=a;else{qn(e,b,d);k[(k[d>>2]|0)+8>>2]=a}d=a+8|0;e=k[d>>2]|0;if(!e)k[c>>2]=a;else qn(e,d,c);r=f;return}function rn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=r;r=r+16|0;if((r|0)>=(s|0))ka();i=j;c=(a|0)!=0;a:do if(c&(b|0)!=0){d=a;a=i;while(1){g=d;f=k[g>>2]|0;g=k[g+4>>2]|0;while(1){e=b;c=k[e>>2]|0;e=k[e+4>>2]|0;if((g|0)<(e|0)|(g|0)==(e|0)&f>>>0<c>>>0){h=4;break}if(!((e|0)<(g|0)|(e|0)==(g|0)&c>>>0<f>>>0))break;k[a+8>>2]=b;c=k[b+8>>2]|0;if(!c){e=0;c=1;break a}else{a=b;b=c}}if((h|0)==4){h=0;k[a+8>>2]=d;a=d}d=k[d+8>>2]|0;c=(d|0)!=0;if(!(c&(b|0)!=0)){e=b;b=a;break}}}else{e=b;d=a;b=i}while(0);k[b+8>>2]=c?d:e;r=j;return k[i+8>>2]|0}function sn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;c=a+8|0;b=k[c>>2]|0;k[d>>2]=b;k[c>>2]=0;k[a+12>>2]=0;if(!b)b=a;else{c=1;while(1){f=b+8|0;k[d>>2]=k[f>>2];k[b+12>>2]=a;a=kq(d,c)|0;k[f>>2]=a;a=k[d>>2]|0;if(!a)break;else{f=b;b=a;c=c+1|0;a=f}}}r=e;return b|0}function tn(a){a=a|0;var b=0,c=0,d=0,e=0;d=a+24|0;b=j[d>>1]|0;if(!(b<<16>>16)){b=rh(k[a+4>>2]|0,1016,0)|0;if(!b)b=0;else{k[b>>2]=k[a>>2];k[a>>2]=b;b=b+8|0;k[a+16>>2]=b;j[d>>1]=63;c=62;e=5}}else{c=b+-1<<16>>16;b=k[a+16>>2]|0;e=5}if((e|0)==5){j[d>>1]=c;k[a+16>>2]=b+16}return b|0}function un(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0;o=r;r=r+16|0;if((r|0)>=(s|0))ka();n=o;d=a+4|0;if(i[d>>0]|0){b=vn(a)|0;if(!b){h=i[d>>0]|0;c=4}}else{h=0;c=4}do if((c|0)==4){e=k[a>>2]|0;l=k[a+60>>2]|0;f=k[a+212>>2]|0;b=a+160|0;c=k[b>>2]|0;b=k[b+4>>2]|0;g=a+208|0;k[g>>2]=0;d=(k[e+4>>2]|0)+112|0;m=vg(d,0)|0;if(!m)b=7;else{kw(m|0,0,d|0)|0;k[m>>2]=e;p=m+112|0;d=m+8|0;k[d>>2]=p;k[m+4>>2]=l;j[m+40>>1]=-1;a=m+16|0;k[a>>2]=c;k[a+4>>2]=b;k[m+100>>2]=f;a=m+48|0;i[a>>0]=1;c=m+49|0;i[c>>0]=1;i[m+43>>0]=h<<24>>24!=0?2:0;k[n>>2]=524294;b=yc[k[e+24>>2]&31](e,f,p,524294,n)|0;if(b){lq(m,0);c=k[d>>2]|0;d=k[c>>2]|0;if(d){qc[k[d+4>>2]&127](c)|0;k[c>>2]=0}$c(m);break}if(k[n>>2]&1)i[m+46>>0]=1;d=qc[k[(k[l>>2]|0)+48>>2]&127](l)|0;if(d&1024)i[a>>0]=0;if(d&4096)i[c>>0]=0;k[g>>2]=m;b=0}}while(0);r=o;return b|0}function vn(a){a=a|0;var b=0,c=0,d=0;d=kl(a,4)|0;if((d|0)!=0?(b=k[a+60>>2]|0,c=k[b>>2]|0,(c|0)!=0):0){if(!(i[a+13>>0]|0))wc[k[c+32>>2]&127](b,1)|0;b=a+17|0;if((i[b>>0]|0)!=5)i[b>>0]=1}return d|0}function wn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=r;r=r+16|0;if((r|0)>=(s|0))ka();h=j;if(!a)e=0;else{g=a+4|0;e=k[g>>2]|0;e=wc[k[(k[e>>2]|0)+28>>2]&127](e,4)|0;if(!e){f=a+43|0;if(!(i[f>>0]|0))i[f>>0]=1;e=Yn(a,0,0,0,b,c,d,0,0)|0;if(!e){k[h>>2]=-1;e=k[g>>2]|0;fc[k[(k[e>>2]|0)+40>>2]&63](e,10,h)|0;if((k[h>>2]|0)==1){e=a+16|0;b=k[e+4>>2]|0;if((b|0)>-1|(b|0)==-1&(k[e>>2]|0)>>>0>4294967295){cp(a,0,0);c=0;e=0}else{c=0;e=0}}else{c=1;e=0}}else c=0}else c=0;lq(a,c);b=k[a+8>>2]|0;f=k[b>>2]|0;if(f){qc[k[f+4>>2]&127](b)|0;k[b>>2]=0}if(c){b=k[3164]|0;if(b)sc[b&3]();b=k[a>>2]|0;fc[k[b+28>>2]&63](b,k[a+100>>2]|0,0)|0;b=k[3166]|0;if(b)sc[b&3]()}$c(k[a+32>>2]|0);$c(a)}r=j;return e|0}function xn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=a+5|0;d=i[h>>0]|0;if(!((i[a+15>>0]|0)!=0?!((b|0)==2|(b|0)==4):0))e=3;do if(((e|0)==3?(c=d&255,(c|0)!=(b|0)):0)?(i[h>>0]=b,(i[a+4>>0]|0)==0&(c&5|0)==1&(b&1|0)==0):0){c=k[a+64>>2]|0;d=k[c>>2]|0;if(d){qc[k[d+4>>2]&127](c)|0;k[c>>2]=0}g=a+17|0;if((l[g>>0]|0)>1){c=k[a>>2]|0;fc[k[c+28>>2]&63](c,k[a+172>>2]|0,0)|0;break}d=a+16|0;c=i[d>>0]|0;f=c<<24>>24==0;if(f){b=hl(a)|0;e=i[d>>0]|0}else{e=c;b=0}if(e<<24>>24==1)b=kl(a,2)|0;if((b|0)==0?(d=k[a>>2]|0,fc[k[d+28>>2]&63](d,k[a+172>>2]|0,0)|0,c<<24>>24==1):0){d=k[a+60>>2]|0;c=k[d>>2]|0;if(!c)break;if(!(i[a+13>>0]|0))wc[k[c+32>>2]&127](d,1)|0;if((i[g>>0]|0)==5)break;i[g>>0]=1;break}if(f)So(a)}while(0);return l[h>>0]|0}function yn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();e=f;d=f+4|0;do if(c)if(!(nh(a,c,-1,0,0,d,0)|0)){d=k[d>>2]|0;Xd(d)|0;a=mq(a,d,b)|0;break}else{ih(b,a,Xe(a)|0,e);a=Sf(a)|0;break}else a=7;while(0);r=f;return a|0}function zn(a){a=a|0;var b=0;k[(k[a+4>>2]|0)+4>>2]=k[a>>2];b=Pg(a,0)|0;if(!b)b=Og(a,0)|0;return b|0}function An(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+4>>2]|0;k[c+4>>2]=k[a>>2];a=b&255;if(j[c+22>>1]&2){b=c+17|0;if(((a|0)!=0|0)==(l[b>>0]|0|0))d=4;else b=8}else{b=c+17|0;d=4}if((d|0)==4){i[b>>0]=(a|0)!=0&1;i[c+18>>0]=(a|0)==2&1;b=0}return b|0}function Bn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();d=f;c=nh(a,c,-1,0,0,d,0)|0;do if(!c){d=k[d>>2]|0;while(1){if((Xd(d)|0)!=100){e=6;break}c=yn(a,b,ke(d,0)|0)|0;if(c){e=5;break}}if((e|0)==5){mq(a,d,b)|0;break}else if((e|0)==6){c=mq(a,d,b)|0;break}}while(0);r=f;return c|0}function Cn(a){a=a|0;var b=0;b=a+100|0;k[b>>2]=(k[b>>2]|0)+1;b=k[a+88>>2]|0;if(b)do{k[b+16>>2]=1;b=k[b+44>>2]|0}while((b|0)!=0);ip(k[a+204>>2]|0,0);return}function Dn(a){a=a|0;var b=0,c=0,d=0;d=a+304|0;b=k[d>>2]|0;if(!((b|0)%5|0)){b=(b<<2)+20|0;c=a+328|0;b=wo(a,k[c>>2]|0,b,((b|0)<0)<<31>>31)|0;if(!b)b=7;else{a=b+(k[d>>2]<<2)|0;k[a+0>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[c>>2]=b;b=0}}else b=0;return b|0}function En(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=r;r=r+16|0;if((r|0)>=(s|0))ka();w=z;p=z+8|0;u=z+4|0;f=b+56|0;q=k[f>>2]|0;t=k[b+52>>2]|0;k[u>>2]=0;k[w>>2]=k[b>>2];y=zh(a,10344,w)|0;do if(!y)f=7;else{v=rh(a,28,0)|0;if(!v){rg(a,y);f=7;break}n=v+0|0;m=n+28|0;do{i[n>>0]=0;n=n+1|0}while((n|0)<(m|0));k[v>>2]=a;k[v+4>>2]=c;o=k[b+68>>2]|0;a:do if(o){n=k[a+20>>2]|0;if((n|0)>0){h=k[a+16>>2]|0;g=0;while(1){m=g+1|0;if((k[h+(g<<4)+12>>2]|0)==(o|0)){m=g;break a}if((m|0)<(n|0))g=m;else break}}else m=0}else m=-1e6;while(0);k[(k[f>>2]|0)+4>>2]=k[(k[a+16>>2]|0)+(m<<4)>>2];n=p+4|0;k[n>>2]=b;k[p>>2]=v;o=a+324|0;h=k[o>>2]|0;k[o>>2]=p;m=v+8|0;f=pc[d&7](a,k[c+8>>2]|0,t,q,m,u)|0;k[o>>2]=h;do if((f|0)==7){i[a+65>>0]=1;x=11}else if(!f){h=k[m>>2]|0;if(h){k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;k[k[m>>2]>>2]=k[c>>2];k[v+12>>2]=1;if(k[n>>2]|0){k[w>>2]=k[b>>2];f=zh(a,28376,w)|0;k[e>>2]=f;Fn(v);f=1;break}u=b+60|0;k[v+24>>2]=k[u>>2];k[u>>2]=v;u=b+38|0;f=j[u>>1]|0;if(f<<16>>16>0){t=b+4|0;g=k[t>>2]|0;d=0;while(1){p=k[g+(d*24|0)+12>>2]|0;if(p){h=p;while(1)if(!(i[h>>0]|0))break;else h=h+1|0;m=h-p|0;o=m&1073741823;if((Kc(28424,p,6)|0)==0?(q=i[p+6>>0]|0,q<<24>>24==32|q<<24>>24==0):0)h=0;else x=24;b:do if((x|0)==24){x=0;if(!o)h=0;else{h=0;while(1){if((Kc(28432,p+h|0,7)|0)==0?(q=i[p+(h+7)>>0]|0,q<<24>>24==32|q<<24>>24==0):0)break;h=h+1|0;if((h|0)>=(o|0))break b}h=h+1|0}}while(0);if((h|0)<(o|0)){n=(i[p+(h+6)>>0]|0)!=0|6;g=h+n|0;if((g|0)<=(o|0)){m=(m&1073741823)+1-n|0;f=g;g=h;while(1){i[p+g>>0]=i[p+f>>0]|0;g=g+1|0;if((g|0)==(m|0))break;else f=g+n|0}}if((i[p+h>>0]|0)==0&(h|0)>0)i[p+(h+-1)>>0]=0;g=k[t>>2]|0;f=g+(d*24|0)+23|0;i[f>>0]=l[f>>0]|2;f=j[u>>1]|0}}d=d+1|0;if((d|0)>=(f<<16>>16|0)){f=0;break}}}else f=0}else f=0}else x=11;while(0);if((x|0)==11){g=k[u>>2]|0;if(!g){k[w>>2]=y;d=zh(a,28344,w)|0;k[e>>2]=d}else{k[w>>2]=g;d=zh(a,10344,w)|0;k[e>>2]=d;$c(k[u>>2]|0)}rg(a,v)}rg(a,y)}while(0);r=z;return f|0}function Fn(a){a=a|0;var b=0,c=0,d=0;b=k[a>>2]|0;d=a+12|0;c=(k[d>>2]|0)+-1|0;k[d>>2]=c;if(!c){c=k[a+8>>2]|0;if(c)qc[k[(k[c>>2]|0)+16>>2]&127](c)|0;rg(b,a)}return}function Gn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0;s=a+10|0;d=b<<24>>24==1;if((i[s>>0]|0)==1|d){o=a+12|0;c=k[o>>2]|0;if(d){d=c&-2;k[o>>2]=d;g=d;d=d<<1|1}else{g=c;d=(c<<1)+2|0}p=a+16|0;c=k[p>>2]|0;n=c+g|0;q=a+32|0;r=rh(k[q>>2]|0,d,((d|0)<0)<<31>>31)|0;if(!r)c=7;else{d=i[s>>0]|0;if(d<<24>>24==2)if((g|0)>0){d=r;do{e=l[c>>0]|0;g=c+2|0;h=l[c+1>>0]<<8;f=h|e;if((h&63488|0)==55296&g>>>0<n>>>0){f=(f<<10&983040)+65536|e<<10&64512|l[g>>0]|l[c+3>>0]<<8&768;c=c+4|0}else c=g;do if(f>>>0>=128){if(f>>>0<2048){i[d>>0]=f>>>6&31|192;i[d+1>>0]=f&63|128;d=d+2|0;break}if(f>>>0<65536){i[d>>0]=f>>>12&15|224;i[d+1>>0]=f>>>6&63|128;i[d+2>>0]=f&63|128;d=d+3|0;break}else{i[d>>0]=f>>>18&7|240;i[d+1>>0]=f>>>12&63|128;i[d+2>>0]=f>>>6&63|128;i[d+3>>0]=f&63|128;d=d+4|0;break}}else{i[d>>0]=f;d=d+1|0}while(0)}while(c>>>0<n>>>0);h=55}else{d=r;h=55}else if(d<<24>>24!=1)if((g|0)>0){d=r;do{h=l[c>>0]<<8;g=c+2|0;f=l[c+1>>0]|0;e=h|f;if((h&63488|0)==55296&g>>>0<n>>>0){e=(e<<10&983040)+65536|f<<10&64512|l[c+3>>0]|l[g>>0]<<8&768;c=c+4|0}else c=g;do if(e>>>0>=128){if(e>>>0<2048){i[d>>0]=e>>>6&31|192;i[d+1>>0]=e&63|128;d=d+2|0;break}if(e>>>0<65536){i[d>>0]=e>>>12&15|224;i[d+1>>0]=e>>>6&63|128;i[d+2>>0]=e&63|128;d=d+3|0;break}else{i[d>>0]=e>>>18&7|240;i[d+1>>0]=e>>>12&63|128;i[d+2>>0]=e>>>6&63|128;i[d+3>>0]=e&63|128;d=d+4|0;break}}else{i[d>>0]=e;d=d+1|0}while(0)}while(c>>>0<n>>>0);h=55}else{d=r;h=55}else{d=(g|0)>0;if(b<<24>>24==2)if(d){d=r;g=c;while(1){c=g+1|0;e=i[g>>0]|0;f=e&255;if((e&255)>191){f=l[15360+(f+-192)>>0]|0;a:do if((c|0)==(n|0))c=n;else while(1){e=i[c>>0]|0;if((e&-64)<<24>>24!=-128)break a;g=g+2|0;f=e&63|f<<6;if((g|0)==(n|0)){c=n;break}else{e=c;c=g;g=e}}while(0);if(!(f>>>0<128|(f&-2048|0)==55296|(f&-2|0)==65534))if(f>>>0<65536)h=22;else{g=f+-65536|0;i[d>>0]=g>>>10&192|f>>>10&63;i[d+1>>0]=g>>>18&3|216;i[d+2>>0]=f;i[d+3>>0]=f>>>8&3|220;d=d+4|0}else{f=65533;h=22}}else h=22;if((h|0)==22){h=0;i[d>>0]=f;i[d+1>>0]=f>>>8;d=d+2|0}if(c>>>0<n>>>0)g=c;else break}}else d=r;else if(d){d=r;do{g=c+1|0;f=i[c>>0]|0;e=f&255;if((f&255)>191){e=l[15360+(e+-192)>>0]|0;b:do if((g|0)==(n|0))c=n;else{f=c;c=g;while(1){g=i[c>>0]|0;if((g&-64)<<24>>24!=-128)break b;f=f+2|0;e=g&63|e<<6;if((f|0)==(n|0)){c=n;break}else{g=c;c=f;f=g}}}while(0);if(!(e>>>0<128|(e&-2048|0)==55296|(e&-2|0)==65534))if(e>>>0<65536)h=31;else{g=e+-65536|0;i[d>>0]=g>>>18&3|216;i[d+1>>0]=g>>>10&192|e>>>10&63;i[d+2>>0]=e>>>8&3|220;i[d+3>>0]=e;d=d+4|0}else{e=65533;h=31}}else{c=g;h=31}if((h|0)==31){h=0;i[d>>0]=e>>>8;i[d+1>>0]=e;d=d+2|0}}while(c>>>0<n>>>0)}else d=r;k[o>>2]=d-r;i[d>>0]=0;d=d+1|0}if((h|0)==55)k[o>>2]=d-r;i[d>>0]=0;d=a+8|0;o=j[d>>1]|0;c=o&65535;if(!((o&9312)==0?(k[a+24>>2]|0)==0:0))Vg(a);j[d>>1]=c&29|514;i[s>>0]=b;k[p>>2]=r;k[a+20>>2]=r;c=k[q>>2]|0;do if(!c)c=qc[k[8744+48>>2]&127](r)|0;else{if((k[c+276>>2]|0)>>>0<=r>>>0?(k[c+280>>2]|0)>>>0>r>>>0:0){c=m[c+248>>1]|0;break}c=qc[k[8744+48>>2]&127](r)|0}while(0);k[a+24>>2]=c;c=0}}else if(!(_l(a)|0)){c=k[a+16>>2]|0;q=k[a+12>>2]&-2;d=c+q|0;if((q|0)>0)do{p=i[c>>0]|0;q=c+1|0;i[c>>0]=i[q>>0]|0;c=c+2|0;i[q>>0]=p}while(c>>>0<d>>>0);i[s>>0]=b;c=0}else c=7;return c|0}function Hn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=i[a>>0]|0;d=f&255;a:do switch(d|0){case 41:{k[b>>2]=23;c=1;break}case 58:case 35:case 64:case 36:{k[b>>2]=135;d=i[a+1>>0]|0;if(d<<24>>24){c=1;f=0;while(1){if(!(i[10368+(d&255)>>0]&70)){if(d<<24>>24==40&(f|0)>0){d=f;g=78;break}if(d<<24>>24!=58){d=f;break}d=c+1|0;if((i[a+d>>0]|0)==58)c=d;else{d=f;break}}else f=f+1|0;c=c+1|0;d=i[a+c>>0]|0;if(!(d<<24>>24)){d=f;break}}do if((g|0)==78){e=c;while(1){c=e+1|0;f=i[a+c>>0]|0;if(!(f<<24>>24))break;if(f<<24>>24!=41?(i[10368+(f&255)>>0]&1)==0:0)e=c;else{g=81;break}}if((g|0)==81)if(f<<24>>24==41){c=e+2|0;break}k[b>>2]=150}while(0);if(d)break a}else c=1;k[b>>2]=150;break}case 61:{k[b>>2]=79;c=(i[a+1>>0]|0)==61?2:1;break}case 60:{c=i[a+1>>0]|0;if(c<<24>>24==61){k[b>>2]=81;c=2;break a}else if(c<<24>>24==62){k[b>>2]=78;c=2;break a}else if(c<<24>>24==60){k[b>>2]=87;c=2;break a}else{k[b>>2]=82;c=1;break a}}case 43:{k[b>>2]=89;c=1;break}case 42:{k[b>>2]=91;c=1;break}case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:{g=51;break}case 46:{if(((l[a+1>>0]|0)+-48|0)>>>0<10)g=51;else{k[b>>2]=122;c=1}break}case 124:if((i[a+1>>0]|0)==124){k[b>>2]=94;c=2;break a}else{k[b>>2]=86;c=1;break a}case 59:{k[b>>2]=1;c=1;break}case 47:{if((i[a+1>>0]|0)==42?(c=i[a+2>>0]|0,c<<24>>24!=0):0){c=c&255;d=3;while(1){f=i[a+d>>0]|0;if((c|0)==42&f<<24>>24==47){c=42;break}c=f&255;if(!(f<<24>>24))break;else d=d+1|0}k[b>>2]=151;c=((c|0)!=0&1)+d|0;break a}k[b>>2]=92;c=1;break}case 44:{k[b>>2]=26;c=1;break}case 88:case 120:{if((i[a+1>>0]|0)==39){k[b>>2]=134;c=2;while(1){d=i[a+c>>0]|0;if(!(i[10368+(d&255)>>0]&8))break;else c=c+1|0}if(d<<24>>24==39&(c&1|0)==0)d=1;else{k[b>>2]=150;while(1){d=i[a+c>>0]|0;if(d<<24>>24==39|d<<24>>24==0)break;c=c+1|0}d=d<<24>>24!=0}c=(d&1)+c|0}else g=98;break}case 33:if((i[a+1>>0]|0)==61){k[b>>2]=78;c=2;break a}else{k[b>>2]=150;c=2;break a}case 37:{k[b>>2]=93;c=1;break}case 63:{k[b>>2]=135;c=1;while(1)if(((l[a+c>>0]|0)+-48|0)>>>0<10)c=c+1|0;else break;break}case 38:{k[b>>2]=85;c=1;break}case 126:{k[b>>2]=96;c=1;break}case 34:case 39:case 96:{d=i[a+1>>0]|0;b:do if(d<<24>>24){c=1;while(1){if(d<<24>>24==f<<24>>24){c=c+1|0;if((i[a+c>>0]|0)!=f<<24>>24)break}c=c+1|0;d=i[a+c>>0]|0;if(!(d<<24>>24))break b}if(f<<24>>24==39){k[b>>2]=97;break a}else{k[b>>2]=27;break a}}else c=1;while(0);k[b>>2]=150;break}case 62:{c=i[a+1>>0]|0;if(c<<24>>24==62){k[b>>2]=88;c=2;break a}else if(c<<24>>24==61){k[b>>2]=83;c=2;break a}else{k[b>>2]=80;c=1;break a}}case 91:{c=1;while(1){d=i[a+c>>0]|0;if(!(d<<24>>24)){d=d&255;break}c=c+1|0;if(d<<24>>24==93){d=93;break}}k[b>>2]=(d|0)==93?27:150;break}case 13:case 12:case 10:case 9:case 32:{c=1;while(1)if(!(i[10368+(l[a+c>>0]|0)>>0]&1))break;else c=c+1|0;k[b>>2]=151;break}case 40:{k[b>>2]=22;c=1;break}case 45:{if((i[a+1>>0]|0)==45)c=2;else{k[b>>2]=90;c=1;break a}while(1){d=i[a+c>>0]|0;if(d<<24>>24==0|d<<24>>24==10)break;c=c+1|0}k[b>>2]=151;break}default:g=98}while(0);c:do if((g|0)==51){k[b>>2]=132;c=i[a>>0]|0;if(c<<24>>24==48){d=i[a+1>>0]|0;if(d<<24>>24==88|d<<24>>24==120)if(!(i[10368+(l[a+2>>0]|0)>>0]&8))e=0;else{c=3;while(1)if(!(i[10368+(l[a+c>>0]|0)>>0]&8))break c;else c=c+1|0}else{c=48;e=0}}else e=0;while(1){d=e+1|0;if(((c&255)+-48|0)>>>0>=10){d=e;break}c=i[a+d>>0]|0;e=d}if(c<<24>>24==46){c=d;do{c=c+1|0;d=a+c|0}while(((l[d>>0]|0)+-48|0)>>>0<10);k[b>>2]=133;e=i[d>>0]|0;f=c}else{e=c;f=d}do if(e<<24>>24==69|e<<24>>24==101){d=i[a+(f+1)>>0]|0;if(((d&255)+-48|0)>>>0>=10){if(!(d<<24>>24==45|d<<24>>24==43)){d=e;c=f;break}c=f+2|0;if(((l[a+c>>0]|0)+-48|0)>>>0>=10){d=e;c=f;break}}else c=f+2|0;while(1){d=a+c|0;if(((l[d>>0]|0)+-48|0)>>>0<10)c=c+1|0;else break}k[b>>2]=133;d=i[d>>0]|0}else{d=e;c=f}while(0);if(i[10368+(d&255)>>0]&70)do{k[b>>2]=150;c=c+1|0}while((i[10368+(l[a+c>>0]|0)>>0]&70)!=0)}else if((g|0)==98){if(!(i[10368+d>>0]&70)){k[b>>2]=150;c=1;break}else c=1;while(1)if(!(i[10368+(l[a+c>>0]|0)>>0]&70))break;else c=c+1|0;d=ki(a,c)|0;k[b>>2]=d}while(0);return c|0}function In(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=i[a>>0]|0;if(d<<24>>24==43){a=a+1|0;g=0;h=13}else if(d<<24>>24==45){a=a+1|0;g=1;h=13}else if((d<<24>>24==48?(d=i[a+1>>0]|0,d<<24>>24==88|d<<24>>24==120):0)?(e=a+2|0,c=i[e>>0]|0,(i[10368+(c&255)>>0]&8)!=0):0){while(1){d=e+1|0;if(c<<24>>24!=48)break;e=d;c=i[d>>0]|0}if(!(i[10368+(c&255)>>0]&8)){c=0;d=0}else{f=c;a=0;d=0;do{c=f<<24>>24;d=(0-(c>>>6&1)&9)+c&15|d<<4;a=a+1|0;f=i[e+a>>0]|0;c=(i[10368+(f&255)>>0]&8)==0}while((a|0)<8&(c^1));c=c^1}if((d|0)<0|c)c=0;else{k[b>>2]=d;c=1}}else{g=0;h=13}a:do if((h|0)==13){c=0;d=0;f=0;while(1){e=(i[a+f>>0]|0)+-48|0;if(e>>>0>=10)break;d=xw(c|0,d|0,10,0)|0;c=ow(e|0,((e|0)<0)<<31>>31|0,d|0,L|0)|0;f=f+1|0;if((f|0)>=11){c=0;break a}else d=L}e=iw(c|0,d|0,g|0,0)|0;a=L;if((a|0)>0|(a|0)==0&e>>>0>2147483647)c=0;else{if(g)c=iw(0,0,c|0,d|0)|0;k[b>>2]=c;c=1}}while(0);return c|0}function Jn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();f=e;k[f>>2]=d;xg(a,b,c,f);r=e;return}function Kn(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;E=r;r=r+16|0;if((r|0)>=(s|0))ka();C=E;A=E+4|0;k[A>>2]=0;D=rh(a,536,0)|0;a:do if(D){kw(D|0,0,536)|0;k[D+476>>2]=e;p=a+20|0;e=k[p>>2]|0;b:do if((e|0)>0){q=a+16|0;n=0;while(1){o=k[(k[q>>2]|0)+(n<<4)+4>>2]|0;if(o){k[(k[o+4>>2]|0)+4>>2]=k[o>>2];h=gl(o,1,1)|0;if(h)break;e=k[p>>2]|0}n=n+1|0;if((n|0)>=(e|0))break b}k[C>>2]=k[(k[q>>2]|0)+(n<<4)>>2];zg(a,h,40984,C);n=D;break a}while(0);wl(a);k[D>>2]=a;k[D+424>>2]=0;do if((c|0)>-1){if((c|0)!=0?(i[b+(c+-1)>>0]|0)==0:0){B=21;break}if((k[a+92>>2]|0)<(c|0)){zg(a,18,41016,C);if(!a){n=D;h=18;break a}if(!(i[a+65>>0]|0)){n=D;h=k[a+56>>2]&18;break a}else{Vl(a);n=D;h=7;break a}}else{if((b|0)!=0?(m=ow(c|0,((c|0)<0)<<31>>31|0,1,0)|0,m=rh(a,m,L)|0,(m|0)!=0):0){pw(m|0,b|0,c|0)|0;i[m+c>>0]=0;Qh(D,m,A)|0;rg(a,m);h=D+480|0;k[h>>2]=b+((k[h>>2]|0)-m);break}k[D+480>>2]=b+c;break}}else B=21;while(0);if((B|0)==21)Qh(D,b,A)|0;q=a+65|0;e=D+12|0;if(!(i[q>>0]|0)){n=D+12|0;if((k[e>>2]|0)==101)k[n>>2]=0}else{k[e>>2]=7;n=D+12|0}c:do if((i[D+17>>0]|0)!=0?(t=k[D>>2]|0,u=t+20|0,(k[u>>2]|0)>0):0){m=t+16|0;p=0;while(1){e=k[m>>2]|0;h=k[e+(p<<4)+4>>2]|0;if(h){if(!(i[h+8>>0]|0)){e=Dg(h,0)|0;if((e|0)==7|(e|0)==3082)break;else if(e)break c;e=k[m>>2]|0;o=1}else o=0;c=k[h+4>>2]|0;k[c+4>>2]=k[h>>2];c=k[(k[c+12>>2]|0)+56>>2]|0;if((l[c+41>>0]<<16|l[c+40>>0]<<24|l[c+42>>0]<<8|l[c+43>>0]|0)!=(k[k[e+(p<<4)+12>>2]>>2]|0)){Am(t,p);k[n>>2]=17}if(o)zn(h)|0}p=p+1|0;if((p|0)>=(k[u>>2]|0))break c}i[t+65>>0]=1}while(0);if(i[q>>0]|0)k[n>>2]=7;if(g)k[g>>2]=k[D+480>>2];h=k[n>>2]|0;o=(h|0)==0;do if(o?(w=D+8|0,v=k[w>>2]|0,(v|0)!=0):0){n=i[D+450>>0]|0;if(n<<24>>24==2){nq(v,4);m=8;e=12}else if(!(n<<24>>24))break;else{nq(v,8);m=0;e=8}n=m;do{oq(k[w>>2]|0,n-m|0,0,k[41040+(n<<2)>>2]|0,0);n=n+1|0}while((n|0)<(e|0))}while(0);m=D+8|0;if((i[a+145>>0]|0)==0?(z=k[m>>2]|0,x=(k[D+480>>2]|0)-b|0,(z|0)!=0):0){if((b|0)!=0?(w=k[z>>2]|0,y=ow(x|0,((x|0)<0)<<31>>31|0,1,0)|0,y=rh(w,y,L)|0,(y|0)!=0):0){pw(y|0,b|0,x|0)|0;i[y+x>>0]=0;n=y}else n=0;k[z+168>>2]=n;z=z+88|0;j[z>>1]=j[z>>1]&-257|(d&65535)<<8&256}n=k[m>>2]|0;do if(!n)B=60;else{if(o?(i[q>>0]|0)==0:0){B=60;break}Sg(n)|0}while(0);if((B|0)==60)k[f>>2]=n;m=k[A>>2]|0;do if(!m){k[a+52>>2]=h;m=k[a+236>>2]|0;if(m){n=m+8|0;if(!(j[n>>1]&9312)){j[n>>1]=1;break}else{Ag(m);break}}}else{k[C>>2]=m;zg(a,h,10344,C);rg(a,m)}while(0);m=D+528|0;n=k[m>>2]|0;if(!n)n=D;else{do{k[m>>2]=k[n+4>>2];rg(a,n);n=k[m>>2]|0}while((n|0)!=0);n=D}}else{n=0;h=7}while(0);Hh(n);rg(a,D);C=Tg(a,h)|0;r=E;return C|0}function Ln(a){a=a|0;var b=0,c=0;c=k[a>>2]|0;if((i[c+145>>0]|0)==0?(b=ci(c,a+4|0)|0,(b|0)!=0):0){k[a+12>>2]=b;c=a+64|0;k[c>>2]=(k[c>>2]|0)+1}else b=0;return b|0}function Mn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=k[a+24>>2]|0;f=d+84|0;b=k[f>>2]|0;if(!b){b=1020;c=0}else{b=b*40|0;c=0}e=a+4|0;a=wo(k[d>>2]|0,k[e>>2]|0,b,c)|0;c=(a|0)!=0;if(c){b=k[d>>2]|0;do if(!b)b=qc[k[8744+48>>2]&127](a)|0;else{if((k[b+276>>2]|0)>>>0<=a>>>0?(k[b+280>>2]|0)>>>0>a>>>0:0){b=m[b+248>>1]|0;break}b=qc[k[8744+48>>2]&127](a)|0}while(0);k[f>>2]=(b>>>0)/20|0;k[e>>2]=a}return (c?0:7)|0}function Nn(a,b,c){a=a|0;b=b|0;c=c|0;a:do if(c)switch(b|0){case -11:{if(k[a+520>>2]|0)break a;$c(c);break a}case -5:{if(!(j[c+2>>1]&16))break a;rg(a,c);break a}case -10:{if(k[a+520>>2]|0)break a;Fn(c);break a}case -15:case -1:case -13:case -12:{rg(a,c);break a}case -8:{if(!(k[a+520>>2]|0)){Rh(c);break a}if(k[c+24>>2]|0)rg(a,k[c+20>>2]|0);rg(a,c);break a}case -6:{if(k[a+520>>2]|0)break a;a=(k[c>>2]|0)+-1|0;k[c>>2]=a;if(a)break a;$c(c);break a}default:break a}while(0);return}function On(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,r=0;c=k[b>>2]|0;p=k[a+24>>2]|0;q=p+112|0;g=k[q>>2]|0;n=a+88|0;j[n>>1]=j[n>>1]&-193|64;d=k[a+32>>2]|0;a:do if((d|0)>0){f=k[a+4>>2]|0;while(1){d=d+-1|0;e=l[f>>0]|0;switch(e|0){case 4:{if(!(k[f+8>>2]|0))o=7;else{j[n>>1]=j[n>>1]&-65;o=7}break}case 14:{r=k[f+-16>>2]|0;c=(r|0)>(c|0)?r:c;break}case 2:case 3:{o=7;break}case 5:case 7:case 9:{k[f+16>>2]=76;i[f+1>>0]=-19;break}case 12:case 13:case 11:{j[n>>1]=j[n>>1]&-193|128;break}case 6:case 8:{k[f+16>>2]=77;i[f+1>>0]=-19;break}case 15:{r=k[f+8>>2]|0;c=(r|0)>(c|0)?r:c;break}case 10:case 1:{r=l[f+3>>0]|0;c=(r|0)>(c|0)?r:c;break}default:{}}if((o|0)==7){o=0;j[n>>1]=j[n>>1]|128}e=i[34168+e>>0]|0;i[f+2>>0]=e;if((e&1)!=0?(h=f+8|0,m=k[h>>2]|0,(m|0)<0):0)k[h>>2]=k[g+(~m<<2)>>2];if((d|0)<=0)break a;else f=f+20|0}}while(0);rg(k[a>>2]|0,k[q>>2]|0);k[q>>2]=0;k[p+108>>2]=0;k[b>>2]=c;return}function Pn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();e=f;c=a+73|0;if((i[c>>0]|0)!=4){i[c>>0]=0;d=a+56|0;b=a+48|0;b=Lp(a,k[d>>2]|0,k[b>>2]|0,k[b+4>>2]|0,0,e)|0;if(!b){$c(k[d>>2]|0);k[d>>2]=0;d=a+68|0;b=k[d>>2]|k[e>>2];k[d>>2]=b;if((b|0)!=0?(i[c>>0]|0)==1:0){i[c>>0]=2;b=0}else b=0}}else b=k[a+68>>2]|0;r=f;return b|0}function Qn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=k[a+8>>2]|0;a:do if(!a)a=0;else{d=(b|0)==0;while(1){if((a|0)!=(c|0)){if(d)break;if((k[a+60>>2]|0)==(b|0))break}a=k[a+8>>2]|0;if(!a){a=0;break a}}a=Kl(a,b,c)|0}while(0);return a|0}function Rn(a){a=a|0;var b=0,c=0,d=0,e=0;c=k[a>>2]|0;d=c+1|0;k[a>>2]=d;e=i[c>>0]|0;b=e&255;if((e&255)<=191)return b|0;b=l[15360+(b+-192)>>0]|0;if((i[d>>0]&-64)<<24>>24==-128)while(1){c=c+2|0;k[a>>2]=c;b=(l[d>>0]|0)&63|b<<6;if((i[c>>0]&-64)<<24>>24==-128){e=d;d=c;c=e}else break}return (b>>>0<128|(b&-2048|0)==55296|(b&-2|0)==65534?65533:b)|0}function Sn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if((b|0)>-1)f=a+b|0;else f=-1;b=i[a>>0]|0;if(b<<24>>24!=0&f>>>0>a>>>0){c=b;b=0;do{e=a+1|0;if((c&255)>191){d=a;a=e;while(1){c=i[a>>0]|0;if((c&-64)<<24>>24==-128){c=a;a=d+2|0;d=c}else break}}else{c=i[e>>0]|0;a=e}b=b+1|0}while(c<<24>>24!=0&a>>>0<f>>>0)}else b=0;return b|0}function Tn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0;x=r;r=r+48|0;if((r|0)>=(s|0))ka();t=x+32|0;u=x+16|0;v=x;e=k[a>>2]|0;if((e|0)<0){k[a>>2]=0;k[a+4>>2]=-1;j[a+12>>1]=0;i[a+14>>0]=0;e=0}n=c;l=k[n+4>>2]|0;o=v;k[o>>2]=k[n>>2];k[o+4>>2]=l;o=a+8|0;k[o>>2]=d;l=b&255;n=(b|0)==254;do{h=j[a+(e<<4)+12>>1]|0;d=h&65535;c=37184+(d<<1)|0;a:do if((h&65535)>429)w=6;else{h=l;while(1){g=j[c>>1]|0;f=g<<16>>16;if(g<<16>>16==-86){w=6;break a}g=h&255;e=f+g|0;if(e>>>0<=1496?(i[39336+e>>0]|0)==h<<24>>24:0){w=16;break}if(!(h<<24>>24))break;if((h&255)>=70){p=f;w=12;break}h=i[40840+g>>0]|0;if(!(h<<24>>24)){p=f;w=12;break}}if((w|0)==16){w=0;e=m[22184+(e<<1)>>1]|0;break}if(((w|0)==12?(w=0,q=p+70|0,(q|0)>-1):0)?(i[39336+q>>0]|0)==70:0){e=m[22184+(q<<1)>>1]|0;break}e=m[38048+(d<<1)>>1]|0}while(0);if((w|0)==6){w=0;e=m[38048+(d<<1)>>1]|0}if(e>>>0<642){w=18;break}if(e>>>0>=969){w=20;break}rq(a,e+-642|0);if(n)break;e=k[a>>2]|0}while((e|0)>-1);if((w|0)==18){pq(a,e,b,v);p=a+4|0;k[p>>2]=(k[p>>2]|0)+-1}else if((w|0)==20){k[u+0>>2]=k[v+0>>2];k[u+4>>2]=k[v+4>>2];k[u+8>>2]=k[v+8>>2];p=k[o>>2]|0;k[t>>2]=u;yh(p,20432,t);k[o>>2]=p;qq(a,l,v)}r=x;return}function Un(a){a=a|0;var b=0;b=k[a>>2]|0;if((b|0)>=0){qq(a,i[a+(b<<4)+14>>0]|0,a+(b<<4)+16|0);k[a>>2]=(k[a>>2]|0)+-1}return}function Vn(a,b){a=a|0;b=b|0;var c=0;if(b){if((k[b>>2]|0)>0){c=0;do{Sk(a,k[b+(c<<4)+12>>2]|0);Rk(a,k[b+(c<<4)+16>>2]|0,1);rg(a,k[b+(c<<4)+8>>2]|0);c=c+1|0}while((c|0)<(k[b>>2]|0))}rg(a,b)}return}function Wn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=a+328|0;c=k[g>>2]|0;if(c){h=a+304|0;if((k[h>>2]|0)>0){e=0;do{d=k[c+(e<<2)>>2]|0;c=k[d+8>>2]|0;if((c|0)!=0?(f=k[(k[c>>2]|0)+b>>2]|0,(f|0)!=0):0)qc[f&127](c)|0;k[d+20>>2]=0;Fn(d);e=e+1|0;c=k[g>>2]|0}while((e|0)<(k[h>>2]|0))}rg(a,c);k[h>>2]=0;k[g>>2]=0}return}function Xn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;do if((b|0)==-2)if(!(k[a+12>>2]|0))b=(k[a+16>>2]|0)==0?0:6;else b=6;else{e=j[a>>1]|0;d=e<<16>>16;if(!((d|0)!=(b|0)&e<<16>>16>-1)){e=(d|0)==(b|0)?4:1;d=c&255;b=m[a+2>>1]|0;if((d|0)==(b&3|0)){b=e|2;break}else return ((b&d)>>>1&1)+e|0}else b=0}while(0);return b|0} [all...] |
H A D | sqlite.js | 5 function dh(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=c[d>>2]|0;l=c[d+80>>2]|0;h=d+44|0;do if(!(c[h>>2]|0)){c[k+52>>2]=l;e=c[k+236>>2]|0;if(e){d=e+8|0;if(!(b[d>>1]&9312)){b[d>>1]=1;break}else{rg(e);break}}}else{i=k+65|0;j=a[i>>0]|0;d=c[3164]|0;if(d)jc[d&3]();g=k+236|0;d=c[g>>2]|0;do if(!d){d=ih(k,40,0)|0;if(!d){c[g>>2]=d;break}else{e=d+0|0;f=e+40|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));b[d+8>>1]=1;c[d+32>>2]=k;c[g>>2]=d;f=8;break}}else f=8;while(0);if((f|0)==8)Tg(d,c[h>>2]|0,-1,1,-1)|0;d=c[3166]|0;if(d)jc[d&3]();a[i>>0]=j;c[k+52>>2]=l}while(0);return l|0}function eh(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();k=o;c[g>>2]=0;if(!((Dh(a)|0)==0|(b|0)==0)){k=c[a+20>>2]|0;if((k|0)>0){l=c[a+16>>2]|0;n=0;do{m=c[l+(n<<4)+4>>2]|0;if(m)c[(c[m+4>>2]|0)+4>>2]=c[m>>2];n=n+1|0}while((n|0)!=(k|0))}k=Bn(a,b,d,e,f,g,h)|0;if((k|0)==17){id(c[g>>2]|0)|0;k=Bn(a,b,d,e,f,g,h)|0}}else{c[k>>2]=105892;c[k+4>>2]=10788;Zc(21,13648,k);k=21}i=o;return k|0}function fh(a,d){a=a|0;d=d|0;var e=0,f=0;f=a+68|0;if((b[f>>1]|0)>0){e=d+60|0;d=a+60|0;a=0;do{Wl((c[e>>2]|0)+(a*40|0)|0,(c[d>>2]|0)+(a*40|0)|0);a=a+1|0}while((a|0)<(b[f>>1]|0))}return}function gh(b,c){b=b|0;c=c|0;var d=0,e=0;if(c){d=c;while(1)if(!(a[d>>0]|0))break;else d=d+1|0;e=(d-c&1073741823)+1|0;d=ih(b,e,0)|0;if(d)gw(d|0,c|0,e|0)|0;else d=0}else d=0;return d|0}function hh(a,d){a=a|0;d=d|0;var e=0,f=0;f=c[a+8>>2]|0;if((d|0)>=1){bh(f,d)|0;b[f+8>>1]=8192;c[f>>2]=c[a+4>>2];e=f+16|0;a=c[e>>2]|0;if(!a)e=0;else{bw(a|0,0,d|0)|0;e=c[e>>2]|0}}else{e=f+8|0;if(!(b[e>>1]&9312))b[e>>1]=1;else rg(f);c[f+16>>2]=0;e=0}return e|0}function ih(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0;a:do if(b){i=b+65|0;if(!(a[i>>0]|0)){do if(a[b+250>>0]|0){if(0<f>>>0|(0==(f|0)?(e[b+248>>1]|0)>>>0<d>>>0:0)){g=b+264|0;c[g>>2]=(c[g>>2]|0)+1;break}h=b+272|0;g=c[h>>2]|0;if(!g){g=b+268|0;c[g>>2]=(c[g>>2]|0)+1;break}c[h>>2]=c[g>>2];f=b+252|0;h=c[f>>2]|0;d=h+1|0;c[f>>2]=d;f=b+260|0;c[f>>2]=(c[f>>2]|0)+1;f=b+256|0;if((h|0)>=(c[f>>2]|0))c[f>>2]=d;break a}while(0);g=mg(d,f)|0;if(!g){a[i>>0]=1;g=0}}else g=0}else g=mg(d,f)|0;while(0);return g|0}function jh(a,d){a=a|0;d=d|0;var f=0,g=0;do if(a){f=c[a+20>>2]|0;if((f|0)!=0?((d|0)>-1?(e[a+84>>1]|0|0)>(d|0):0):0){f=f+(d*40|0)|0;break}f=c[a>>2]|0;if((f|0)!=0?(c[f+52>>2]=25,g=c[f+236>>2]|0,(g|0)!=0):0){f=g+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;f=41496;break}else{rg(g);f=41496;break}}else f=41496}else f=41496;while(0);return f|0}function kh(a,e,f,g,h,i){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;j=lh(a,e)|0;if(!j)if(!f)j=0;else{e=(c[a+60>>2]|0)+((e+-1|0)*40|0)|0;j=Tg(e,f,g,i,h)|0;if((j|0)!=0|i<<24>>24==0)e=j;else e=Ul(e,d[(c[a>>2]|0)+62>>0]|0)|0;j=c[a>>2]|0;c[j+52>>2]=e;h=c[j+236>>2]|0;do if(h){g=h+8|0;if(!(b[g>>1]&9312)){b[g>>1]=1;break}else{rg(h);j=c[a>>2]|0;break}}while(0);j=Kg(j,e)|0}else{g=h;if(!((g|0)==0|(g|0)==-1))_b[h&31](f)}return j|0}function lh(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();g=k;do if(!(Yg(a)|0)){if((c[a+40>>2]|0)==-1108210269?(c[a+76>>2]|0)<=-1:0){if((d|0)>=1?(b[a+68>>1]|0)>=(d|0):0){h=d+-1|0;g=c[a+60>>2]|0;f=g+(h*40|0)|0;e=g+(h*40|0)+8|0;if(!((b[e>>1]&9312)==0?(c[g+(h*40|0)+24>>2]|0)==0:0))Mg(f);b[e>>1]=1;f=c[a>>2]|0;c[f+52>>2]=0;f=c[f+236>>2]|0;do if(f){e=f+8|0;if(!(b[e>>1]&9312)){b[e>>1]=1;break}else{rg(f);break}}while(0);g=a+88|0;e=b[g>>1]|0;if(!(e&256)){e=0;break}f=c[a+188>>2]|0;if((d|0)<33){if(!((f&1<<h|0)!=0|(f|0)==-1)){e=0;break}}else if((f|0)!=-1){e=0;break}b[g>>1]=e|8;e=0;break}e=c[a>>2]|0;c[e+52>>2]=25;e=c[e+236>>2]|0;if(!e){e=25;break}f=e+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;e=25;break}else{rg(e);e=25;break}}f=c[a>>2]|0;c[f+52>>2]=21;f=c[f+236>>2]|0;do if(f){e=f+8|0;if(!(b[e>>1]&9312)){b[e>>1]=1;break}else{rg(f);break}}while(0);c[g>>2]=c[a+168>>2];Zc(21,41456,g);c[g>>2]=69987;c[g+4>>2]=10788;Zc(21,13648,g);e=21}else{c[g>>2]=69979;c[g+4>>2]=10788;Zc(21,13648,g);e=21}while(0);i=k;return e|0}function mh(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a:do if(!((d|0)==0|(e|0)==0)?(i=b[d+70>>1]|0,i<<16>>16>0):0){g=c[d+64>>2]|0;d=0;while(1){h=c[g+(d<<2)>>2]|0;if(((h|0)!=0?(Xv(h,e,f)|0)==0:0)?(a[h+f>>0]|0)==0:0)break;d=d+1|0;if((d|0)>=(i<<16>>16|0)){d=0;break a}}d=d+1|0}else d=0;while(0);return d|0}function nh(d,f){d=d|0;f=f|0;var g=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();n=o+8|0;m=o;g=a[d+10>>0]|0;k=d+16|0;l=d+12|0;do if(Pl(c[k>>2]|0,n,c[l>>2]|0,g)|0){if(!(Ql(c[k>>2]|0,m,c[l>>2]|0,g)|0)){l=m;k=c[l+4>>2]|0;g=d;c[g>>2]=c[l>>2];c[g+4>>2]=k;g=d+8|0;b[g>>1]=e[g>>1]|0|4;break}h[d>>3]=+h[n>>3];g=d+8|0;b[g>>1]=e[g>>1]|0|8;if(f)$l(d)}while(0);i=o;return}function oh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;if(!(Cn(b)|0)){g=Wh(c[b>>2]|0,e,f)|0;if(!g){g=(d|0)!=0?41368:41384;if(!f){c[h>>2]=g;c[h+4>>2]=e;ph(b,27680,h)}else{c[h>>2]=g;c[h+4>>2]=f;c[h+8>>2]=e;ph(b,27664,h)}a[b+17>>0]=1;g=0}}else g=0;i=k;return g|0}function ph(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();h=g;f=c[b>>2]|0;c[h>>2]=e;e=Sk(f,d,h)|0;if(!(a[f+68>>0]|0)){d=b+64|0;c[d>>2]=(c[d>>2]|0)+1;d=b+4|0;ig(f,c[d>>2]|0);c[d>>2]=e;c[b+12>>2]=1}else ig(f,e);i=g;return}function qh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();f=e;c[f>>2]=d;a=Sk(a,b,f)|0;i=e;return a|0}function rh(a){a=a|0;var b=0,d=0,e=0;d=c[a>>2]|0;b=ih(d,208,0)|0;if(!b)b=0;else{bw(b|0,0,208)|0;c[b>>2]=d;d=d+4|0;e=c[d>>2]|0;if(e)c[e+48>>2]=b;c[b+52>>2]=e;c[b+48>>2]=0;c[d>>2]=b;c[b+40>>2]=649915045;c[b+24>>2]=a}return b|0}function sh(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;i=b+32|0;h=c[i>>2]|0;if((c[(c[b+24>>2]|0)+84>>2]|0)<=(h|0))if(!(Dn(b)|0)){j=c[i>>2]|0;k=4}else h=1;else{j=h;k=4}if((k|0)==4){c[i>>2]=j+1;i=c[b+4>>2]|0;a[i+(h*20|0)>>0]=d;a[i+(h*20|0)+3>>0]=0;c[i+(h*20|0)+4>>2]=e;c[i+(h*20|0)+8>>2]=f;c[i+(h*20|0)+12>>2]=g;c[i+(h*20|0)+16>>2]=0;a[i+(h*20|0)+1>>0]=0}return h|0}function th(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;j=c[b>>2]|0;g=c[b+4>>2]|0;do if((g|0)!=0?(a[j+65>>0]|0)==0:0){if((d|0)<0)d=(c[b+32>>2]|0)+-1|0;i=g+(d*20|0)+1|0;h=g+(d*20|0)+16|0;En(j,a[i>>0]|0,c[h>>2]|0);c[h>>2]=0;if((f|0)==-14){c[h>>2]=e;a[i>>0]=-14;break}if(!e){c[h>>2]=0;a[i>>0]=0;break}if((f|0)==-6){c[h>>2]=e;a[i>>0]=-6;break}else if((f|0)==-10){c[h>>2]=e;a[i>>0]=-10;d=e+12|0;c[d>>2]=(c[d>>2]|0)+1;break}else{if((f|0)<0){c[h>>2]=e;a[i>>0]=f;break}if(!f){d=e;while(1)if(!(a[d>>0]|0))break;else d=d+1|0;g=d-e&1073741823}else g=f;b=c[b>>2]|0;d=fw(g|0,((g|0)<0)<<31>>31|0,1,0)|0;d=ih(b,d,C)|0;if(!d)d=0;else{gw(d|0,e|0,g|0)|0;a[d+g>>0]=0}c[h>>2]=d;a[i>>0]=-1;break}}else k=3;while(0);if((k|0)==3?(f|0)!=-10:0)En(j,f,e);return}function uh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=b+32|0;f=c[k>>2]|0;if((f+d|0)>(c[(c[b+24>>2]|0)+84>>2]|0))if(!(Dn(b)|0)){f=c[k>>2]|0;g=4}else f=0;else g=4;if((g|0)==4)if((d|0)>0){i=b+4|0;j=0;while(1){l=a[e+2>>0]|0;g=l<<24>>24;b=j+f|0;h=c[i>>2]|0;a[h+(b*20|0)>>0]=a[e>>0]|0;c[h+(b*20|0)+4>>2]=a[e+1>>0];if(l<<24>>24<0)g=f+~g|0;c[h+(b*20|0)+8>>2]=g;c[h+(b*20|0)+12>>2]=a[e+3>>0];a[h+(b*20|0)+1>>0]=0;c[h+(b*20|0)+16>>2]=0;a[h+(b*20|0)+3>>0]=0;j=j+1|0;if((j|0)==(d|0))break;else e=e+4|0}c[k>>2]=(c[k>>2]|0)+d}return f|0}function vh(b,d){b=b|0;d=d|0;var e=0,f=0;e=b+32|0;if((c[e>>2]|0)>(d|0)?(f=c[b+4>>2]|0,En(c[b>>2]|0,a[f+(d*20|0)+1>>0]|0,c[f+(d*20|0)+16>>2]|0),b=f+(d*20|0)|0,c[b+0>>2]=0,c[b+4>>2]=0,c[b+8>>2]=0,c[b+12>>2]=0,c[b+16>>2]=0,a[b>>0]=-100,((c[e>>2]|0)+-1|0)==(d|0)):0)c[e>>2]=d;return}function wh(e,f){e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;K=i;i=i+16|0;if((i|0)>=(j|0))ba();k=K;I=c[e>>2]|0;C=c[f+440>>2]|0;g=c[f+72>>2]|0;B=c[f+68>>2]|0;c[k>>2]=c[f+392>>2];A=c[f+80>>2]|0;A=(A|0)==0?1:A;g=B+g|0;m=c[e+4>>2]|0;l=m+((c[e+32>>2]|0)*20|0)|0;m=m+((c[f+84>>2]|0)*20|0)|0;Fn(e,k);if(!(a[f+20>>0]|0))h=0;else h=((a[f+21>>0]|0)!=0&1)<<5&65535;J=e+88|0;b[J>>1]=b[J>>1]&-33|h;H=f+450|0;E=(a[H>>0]|0)!=0&(g|0)<10?10:g;g=l;bw(l|0,0,m-g|0)|0;b[J>>1]=b[J>>1]&-9;D=e+8|0;v=E*40|0;w=e+60|0;x=C*40|0;y=e+12|0;n=(c[k>>2]<<2)+7&-8;z=e+64|0;o=(C<<2)+7&-8;p=e+56|0;q=(B<<2)+7&-8;r=e+200|0;s=A+7&-8;t=e+172|0;u=I+65|0;l=l+(g&7)|0;while(1){k=c[D>>2]|0;if(!k){h=l+v|0;g=h>>>0>m>>>0;k=g?0:l;l=g?l:h;g=g?v:0}else g=0;c[D>>2]=k;k=c[w>>2]|0;if(!k){L=l+x|0;h=L>>>0>m>>>0;k=h?0:l;l=h?l:L;g=(h?x:0)+g|0}c[w>>2]=k;k=c[y>>2]|0;if(!k){L=l+n|0;h=L>>>0>m>>>0;k=h?0:l;l=h?l:L;g=(h?n:0)+g|0}c[y>>2]=k;k=c[z>>2]|0;if(!k){L=l+o|0;h=L>>>0>m>>>0;k=h?0:l;l=h?l:L;g=(h?o:0)+g|0}c[z>>2]=k;k=c[p>>2]|0;if(!k){L=l+q|0;h=L>>>0>m>>>0;k=h?0:l;l=h?l:L;g=(h?q:0)+g|0}c[p>>2]=k;k=c[r>>2]|0;if(!k){h=(l+s|0)>>>0>m>>>0;k=h?0:l;g=(h?s:0)+g|0}c[r>>2]=k;if(!g)break;h=ih(I,g,((g|0)<0)<<31>>31)|0;if(!h)k=0;else{bw(h|0,0,g|0)|0;k=h}c[t>>2]=k;if(!(a[u>>0]|0)){l=h;m=h+g|0}else break}c[e+36>>2]=B;c[e+196>>2]=A;h=c[w>>2]|0;if((h|0)!=0?(b[e+68>>1]=C,(C|0)>0):0){g=0;do{b[h+(g*40|0)+8>>1]=1;c[h+(g*40|0)+32>>2]=I;g=g+1|0}while((g|0)!=(C|0))}h=c[z>>2]|0;if((h|0)!=0?(F=f+444|0,G=c[F>>2]|0,(G|0)>0):0){b[e+70>>1]=G;C=f+472|0;gw(h|0,c[C>>2]|0,G<<16>>14|0)|0;bw(c[C>>2]|0,0,c[F>>2]<<2|0)|0}h=c[D>>2]|0;if((h|0)!=0?(c[D>>2]=h+-40,c[e+28>>2]=E,(E|0)>=1):0){g=1;while(1){b[h+((g+-1|0)*40|0)+8>>1]=128;c[h+((g+-1|0)*40|0)+32>>2]=I;if((g|0)==(E|0))break;else g=g+1|0}}b[J>>1]=b[J>>1]&-4|d[H>>0]&3;c[e+76>>2]=-1;c[e+80>>2]=0;a[e+86>>0]=2;c[e+40>>2]=-1108210269;c[e+92>>2]=0;c[e+72>>2]=1;a[e+87>>0]=-1;c[e+104>>2]=0;D=e+144|0;c[D>>2]=0;c[D+4>>2]=0;i=K;return}function xh(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();o=p;n=e+20|0;m=c[n>>2]|0;l=c[m+60>>2]|0;c[l>>2]=f;c[l+4>>2]=g;l=Od(m)|0;do if((l|0)!=100){k=c[n>>2]|0;if(k){l=id(k)|0;c[n>>2]=0;k=c[e+24>>2]|0;if(!l){l=o;c[l>>2]=f;c[l+4>>2]=g;l=1;k=qh(k,41432,o)|0;break}else{c[o>>2]=Oe(k)|0;k=qh(k,10344,o)|0;break}}else k=0}else{l=c[c[m+56>>2]>>2]|0;k=c[e+12>>2]|0;m=c[l+(k<<2)+84>>2]|0;if(m>>>0>=12){c[e+8>>2]=c[l+((b[l+20>>1]|0)+k<<2)+84>>2];c[e+4>>2]=(m+-12|0)>>>1;l=c[l>>2]|0;c[e+16>>2]=l;l=l+72|0;a[l>>0]=d[l>>0]|16;l=0;k=0;break}l=c[e+24>>2]|0;if(!m)k=20352;else k=(m|0)==7?20336:20320;c[o>>2]=k;k=qh(l,41400,o)|0;id(c[n>>2]|0)|0;c[n>>2]=0;l=1}while(0);c[h>>2]=k;i=p;return l|0}function yh(a){a=a|0;var b=0;if(a){b=c[a>>2]|0;ig(b,c[a+112>>2]|0);Jk(b,c[a+316>>2]|0)}return}function zh(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=a[b+73>>0]|0;do if(!(g<<24>>24))f=4;else{if((g&255)>2?(f=Gn(b)|0,(f|0)!=0):0)break;f=Hm(b,c,d,e,0)|0}while(0);return f|0}function Ah(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();k=m;if(!a){c[k>>2]=77646;c[k+4>>2]=10788;Zc(21,13648,k);f=21}else{l=c[a+24>>2]|0;k=a+20|0;h=c[k>>2]|0;do if((f|e|0)>=0?(o=fw(f|0,((f|0)<0)<<31>>31|0,e|0,((e|0)<0)<<31>>31|0)|0,q=C,n=c[a+4>>2]|0,p=((n|0)<0)<<31>>31,!((q|0)>(p|0)|(q|0)==(p|0)&o>>>0>n>>>0)):0)if(h){f=lc[g&31](c[a+16>>2]|0,(c[a+8>>2]|0)+f|0,e,d)|0;if((f|0)==4){Jg(h)|0;c[k>>2]=0;f=4;break}else{c[h+80>>2]=f;break}}else f=4;else f=1;while(0);c[l+52>>2]=f;h=c[l+236>>2]|0;do if(h){k=h+8|0;if(!(b[k>>1]&9312)){b[k>>1]=1;break}else{rg(h);break}}while(0);f=Kg(l,f)|0}i=m;return f|0}function Bh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;h=b+73|0;g=a[h>>0]|0;if((g&255)>2){g=Gn(b)|0;if(!g){g=a[h>>0]|0;i=4}}else i=4;if((i|0)==4)if(g<<24>>24==1){Hn(c[b+4>>2]|0,c[b+60>>2]|0,b)|0;if(!(a[b+72>>0]&1))g=8;else g=Hm(b,d,e,f,1)|0}else g=4;return g|0}function Ch(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))ba();w=y+4|0;x=y;c[w>>2]=b;c[x>>2]=e;r=d[f+1>>0]|0;s=d[f>>0]|0;v=a[f+3>>0]|0;u=(g|0)!=0;if(u)t=g;else t=d[f+2>>0]|0;o=v<<24>>24!=0;m=0;a:while(1){while(1){k=In(w)|0;if(!k){q=60;break a}if((k|0)==(s|0)){q=7;break a}if((k|0)!=(t|0))break;if(u){q=40;break}e=In(x)|0;if(!e){h=0;break a}l=In(w)|0;if((l|0)==94){l=In(w)|0;h=1}else h=0;if((l|0)==93){l=In(w)|0;n=(e|0)==93&1}else n=0;k=(l|0)==0;if((l|0)!=93&(k^1)){k=0;while(1){if(((l|0)==45?(p=a[c[w>>2]>>0]|0,p<<24>>24!=93):0)?p<<24>>24!=0&(k|0)!=0:0){l=e>>>0<k>>>0|e>>>0>(In(w)|0)>>>0;b=0;n=l?n:1}else{b=l;n=(e|0)==(l|0)?1:n}l=In(w)|0;k=(l|0)==0;if(!((l|0)!=93&(k^1))){l=k;break}else k=b}}else l=k;if(l|(n|0)==(h|0)){h=0;break a}}if((q|0)==40){q=0;k=In(w)|0;if(!k){h=0;break}m=c[w>>2]|0}l=In(x)|0;if((k|0)==(l|0))continue;if(o&k>>>0<128&l>>>0<128?(a[9328+(k&255)>>0]|0)==(a[9328+(l&255)>>0]|0):0)continue;if((k|0)!=(r|0)){h=0;break}if(!((l|0)!=0?(c[w>>2]|0)!=(m|0):0)){h=0;break}}b:do if((q|0)==7){e=In(w)|0;b=(e|0)==(r|0);if((e|0)==(s|0)|b)do{if(b?(In(x)|0)==0:0){h=0;break b}e=In(w)|0;b=(e|0)==(r|0)}while((e|0)==(s|0)|b);if(e){do if((e|0)==(t|0)){if(u){e=In(w)|0;if(!e){h=0;break b}else break}h=c[x>>2]|0;c:do if(!(a[h>>0]|0))h=0;else{b=c[w>>2]|0;while(1){if(Ch(b+-1|0,h,f,0)|0)break;e=h+1|0;c[x>>2]=e;if((d[h>>0]|0)>191?(a[e>>0]&-64)<<24>>24==-128:0){while(1){h=h+2|0;if((a[h>>0]&-64)<<24>>24==-128){q=e;e=h;h=q}else break}c[x>>2]=h}else h=e;if(!(a[h>>0]|0)){h=0;break c}}h=(a[h>>0]|0)!=0}while(0);h=h&1;break b}while(0);if(e>>>0>=129){h=In(x)|0;if(!h){h=0;break}b=c[w>>2]|0;while(1){if((h|0)==(e|0)?(Ch(b,c[x>>2]|0,f,g)|0)!=0:0){h=1;break b}h=In(x)|0;if(!h){h=0;break b}}}if(!(v<<24>>24)){n=e;m=e}else{m=e&255;n=d[9328+m>>0]|0;m=((d[10368+m>>0]|-33)^32)&e}b=c[x>>2]|0;h=b+1|0;c[x>>2]=h;e=a[b>>0]|0;if(!(e<<24>>24))h=0;else{l=c[w>>2]|0;k=e&255;while(1){if((k|0)==(n|0)|(k|0)==(m|0)?(Ch(l,h,f,g)|0)!=0:0){h=1;break b}e=b+2|0;c[x>>2]=e;b=a[h>>0]|0;if(!(b<<24>>24)){h=0;break}else{q=h;k=b&255;h=e;b=q}}}}else h=1}else if((q|0)==60)h=(a[c[x>>2]>>0]|0)==0&1;while(0);i=y;return h|0}function Dh(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();b=d;do if(a){a=c[a+76>>2]|0;if((a|0)==-1607883113){a=1;break}else if((a|0)==1266094736|(a|0)==-264537850){c[b>>2]=41352;Zc(21,15256,b);a=0;break}else{c[b>>2]=15248;Zc(21,15256,b);a=0;break}}else{c[b>>2]=20304;Zc(21,15256,b);a=0}while(0);i=d;return a|0}function Eh(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();k=n;l=n+8|0;c[l>>2]=0;c[g>>2]=0;if((Dh(b)|0)==0|(d|0)==0){c[k>>2]=106003;c[k+4>>2]=10788;Zc(21,13648,k);f=21}else{a:do if((e|0)>-1)if((e|0)>0){k=0;do{if((a[d+k>>0]|0)==0?(a[d+(k|1)>>0]|0)==0:0)break a;k=k+2|0}while((k|0)<(e|0))}else k=0;else k=e;while(0);m=Nh(b,d,k)|0;if(m){f=eh(b,m,-1,f,0,g,l)|0;k=c[l>>2]|0;if((k|0)!=0&(h|0)!=0){g=Jn(m,k-m|0)|0;if((g|0)>0){e=0;k=d;do{k=(a[k+1>>0]&-8)<<24>>24==-40?k+4|0:k+2|0;e=e+1|0}while((e|0)!=(g|0))}else k=d;c[h>>2]=d+(k-d)}}else f=0;ig(b,m);f=Kg(b,f)|0}i=n;return f|0}function Fh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();o=r;p=b+12|0;h=c[p>>2]|0;n=(e|0)!=0;g=d<<((h|0)==0&n&1);q=b+20|0;l=b+8|0;k=c[l>>2]|0;if((g+(c[q>>2]|0)|0)>>>0>k>>>0){g=g+(k<<1)|0;c[l>>2]=g;h=c[b>>2]|0;if((Hc()|0)==0?(m=ng(h,g<<2,0)|0,(m|0)!=0):0){c[b>>2]=m;h=c[p>>2]|0;m=5}else m=21}else m=5;a:do if((m|0)==5){g=b+16|0;if(!h){c[g>>2]=d;if((d|0)>0){g=0;do{c[o>>2]=c[f+(g<<2)>>2];h=Wc(10344,o)|0;if(!h){m=21;break a}l=c[q>>2]|0;c[q>>2]=l+1;c[(c[b>>2]|0)+(l<<2)>>2]=h;g=g+1|0}while((g|0)<(d|0))}}else if((c[g>>2]|0)!=(d|0)){g=b+4|0;Sc(c[g>>2]|0);c[g>>2]=Wc(40912,o)|0;c[b+24>>2]=1;g=1;break}if(n){if((d|0)>0){l=0;do{k=e+(l<<2)|0;g=c[k>>2]|0;if(!g)g=0;else{h=g;while(1)if(!(a[h>>0]|0))break;else h=h+1|0;h=(h-g&1073741823)+1|0;g=Pc(h)|0;if(!g){m=21;break a}gw(g|0,c[k>>2]|0,h|0)|0}o=c[q>>2]|0;c[q>>2]=o+1;c[(c[b>>2]|0)+(o<<2)>>2]=g;l=l+1|0}while((l|0)<(d|0))}c[p>>2]=(c[p>>2]|0)+1;g=0}else g=0}while(0);if((m|0)==21){c[b+24>>2]=7;g=1}i=r;return g|0}function Gh(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();m=o;if(!d)k=0;else{h=d;while(1)if(!(a[h>>0]|0))break;else h=h+1|0;k=h-d&1073741823}l=b+308|0;h=Zm(l,d,m)|0;if((h|0)!=0?(c[h+8>>2]|0)!=0:0){c[m>>2]=114188;c[m+4>>2]=10788;Zc(21,13648,m);h=21}else{h=ih(b,k+17|0,0)|0;if((h|0)!=0?(n=h+16|0,gw(n|0,d|0,k+1|0)|0,c[h+4>>2]=n,c[h>>2]=e,c[h+8>>2]=f,c[h+12>>2]=g,n=Ek(l,n,h)|0,(n|0)!=0):0){a[b+65>>0]=1;ig(b,n);h=0}else h=0}h=Kg(b,h)|0;if((h|0)!=0&(g|0)!=0)_b[g&31](f);i=o;return h|0}function Hh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+16|0;if((i|0)>=(j|0))ba();x=A;n=A+8|0;y=c[b>>2]|0;l=c[y+92>>2]|0;if(!(c[y+148>>2]|0))c[y+240>>2]=0;z=b+12|0;c[z>>2]=0;p=b+480|0;c[p>>2]=d;t=mg(1612,0)|0;if(t){c[t>>2]=-1;q=y+250|0;r=a[q>>0]|0;if(c[y+276>>2]|0)a[q>>0]=1;s=y+65|0;o=b+504|0;f=b+508|0;m=y+240|0;k=0;h=-1;a:while(1){while(1){if(a[s>>0]|0){v=19;break a}g=d+k|0;if(!(a[g>>0]|0)){v=19;break a}c[o>>2]=g;g=yn(g,n)|0;c[f>>2]=g;k=g+k|0;if((k|0)>(l|0)){v=12;break a}g=c[n>>2]|0;if((g|0)==150){v=16;break a}else if((g|0)==1){h=g;v=17;break}else if((g|0)!=151){h=g;break}if(c[m>>2]|0){v=15;break a}}if((v|0)==17){v=0;c[p>>2]=d+k};c[x+0>>2]=c[o+0>>2];c[x+4>>2]=c[o+4>>2];Kn(t,h,x,b);h=c[n>>2]|0;if(c[z>>2]|0){v=19;break}}if((v|0)==12){c[z>>2]=18;v=19}else if((v|0)==15){ph(b,20384,x);c[z>>2]=9;v=19}else if((v|0)==16){ig(y,c[e>>2]|0);c[x>>2]=o;c[e>>2]=qh(y,20400,x)|0;f=1}if((v|0)==19){k=d+k|0;if((a[k>>0]|0)==0?(c[z>>2]|0)==0:0){if((h|0)!=1){c[x+0>>2]=c[o+0>>2];c[x+4>>2]=c[o+4>>2];Kn(t,1,x,b);c[p>>2]=k};c[x+0>>2]=c[o+0>>2];c[x+4>>2]=c[o+4>>2];Kn(t,0,x,b);f=0}else f=0}if((c[t>>2]|0)>-1)do Ln(t);while((c[t>>2]|0)>-1);Sc(t);a[q>>0]=r;if(!(a[s>>0]|0)){h=c[z>>2]|0;if(!((h|0)==101|(h|0)==0)){u=h;v=29}}else{c[z>>2]=7;u=7;v=29}if((v|0)==29?(w=b+4|0,(c[w>>2]|0)==0):0){if((u|0)!=516){h=u&255;if(h>>>0>26|(h|0)==2)h=16328;else h=c[15488+(h<<2)>>2]|0}else h=16344;c[x>>2]=h;$g(w,y,10344,x)}h=b+4|0;g=c[h>>2]|0;if(g){c[e>>2]=g;e=c[z>>2]|0;c[x>>2]=g;Zc(e,10344,x);c[h>>2]=0;f=f+1|0}h=b+8|0;g=c[h>>2]|0;if(((g|0)!=0?(c[b+64>>2]|0)>0:0)?(a[b+18>>0]|0)==0:0){Ll(g);c[h>>2]=0}if(!(a[b+18>>0]|0)){e=b+400|0;ig(y,c[e>>2]|0);c[e>>2]=0;c[b+396>>2]=0}Sc(c[b+520>>2]|0);if(!(a[b+451>>0]|0))gg(y,c[b+484>>2]|0);if(a[b+449>>0]|0)Mn(y,c[b+532>>2]|0);fg(y,c[b+488>>2]|0);h=c[b+444>>2]|0;k=b+472|0;g=c[k>>2]|0;if((h|0)>0)do{h=h+-1|0;ig(y,c[g+(h<<2)>>2]|0);g=c[k>>2]|0}while((h|0)>0);ig(y,g);h=b+404|0;g=c[h>>2]|0;if(g)do{c[h>>2]=c[g>>2];ig(y,g);g=c[h>>2]|0}while((g|0)!=0);h=b+524|0;g=c[h>>2]|0;if(g)do{c[h>>2]=c[g+72>>2];gg(y,g);g=c[h>>2]|0}while((g|0)!=0);if((f|0)>0?(c[z>>2]|0)==0:0)c[z>>2]=1}else{a[y+65>>0]=1;f=7}i=A;return f|0}function Ih(a){a=a|0;if(a){if(!((b[a+8>>1]&9312)==0?(c[a+24>>2]|0)==0:0))Mg(a);ig(c[a+32>>2]|0,a)}return}function Jh(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(!(c[d+252>>2]|0)){n=d+251|0;if(a[n>>0]|0)Sc(c[d+276>>2]|0);j=f&-8;h=(j|0)<5?0:j;i=(g|0)<0?0:g;if(!((h|0)==0|(i|0)==0))if(!e){f=c[3164]|0;if(f)jc[f&3]();f=_(h,i)|0;f=mg(f,((f|0)<0)<<31>>31)|0;g=c[3166]|0;if(g)jc[g&3]();if(!f)f=0;else i=(hc[c[8744+48>>2]&127](f)|0)/(j|0)|0}else f=e;else{h=0;f=0}g=d+276|0;c[g>>2]=f;m=d+272|0;c[m>>2]=0;b[d+248>>1]=h;if(!f){c[g>>2]=d;c[d+280>>2]=d;a[d+250>>0]=0;f=0}else{if((i|0)>0){g=_(h,i)|0;l=f+(_(h,i+-1|0)|0)|0;k=0;j=f;while(1){i=i+-1|0;c[j>>2]=k;if((i|0)<=0)break;else{k=j;j=j+h|0}}c[m>>2]=l;f=f+g|0}c[d+280>>2]=f;a[d+250>>0]=1;f=(e|0)==0&1}a[n>>0]=f;f=0}else f=5;return f|0}function Kh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();p=q;do if(!b)e=0;else{l=b+76|0;n=c[l>>2]|0;if(!((n|0)==1266094736|(n|0)==-1607883113|(n|0)==-264537850)){c[p>>2]=15248;Zc(21,15256,p);c[p>>2]=128509;c[p+4>>2]=10788;Zc(21,13648,p);e=21;break}m=b+20|0;e=c[m>>2]|0;a:do if((e|0)>0){n=b+16|0;f=c[n>>2]|0;h=0;do{g=c[f+(h<<4)+4>>2]|0;if(g)c[(c[g+4>>2]|0)+4>>2]=c[g>>2];h=h+1|0}while((h|0)!=(e|0));k=0;while(1){e=c[f+(k<<4)+12>>2]|0;if((e|0)!=0?(o=c[e+16>>2]|0,(o|0)!=0):0){e=o;do{f=c[e+8>>2]|0;b:do if(a[f+44>>0]&16){g=f+60|0;while(1){f=c[g>>2]|0;if(!f)break b;h=f+24|0;if((c[f>>2]|0)==(b|0))break;else g=h}c[g>>2]=c[h>>2];wn(f)}while(0);e=c[e>>2]|0}while((e|0)!=0)}e=k+1|0;if((e|0)>=(c[m>>2]|0))break a;f=c[n>>2]|0;k=e}}while(0);nl(b);Nn(b,68);if((d|0)==0?(Fl(b)|0)!=0:0){qg(b,5,16368,p);e=5;break}c[l>>2]=1691352191;Ig(b);e=0}while(0);i=q;return e|0}function Lh(a,b){a=a|0;b=b|0;if(((b*1e3|0)+1e3|0)>(c[a+492>>2]|0))b=0;else{b=c[a>>2]|0;nc[c[b+60>>2]&127](b,1e6)|0;b=1}return b|0}function Mh(d,f,g,h,k,l,m,n,o){d=d|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();t=v;do if(f){r=(l|0)!=0;p=(n|0)!=0;if(r)if(p|(m|0)!=0){u=8;break}else{p=0;q=0}else{q=(m|0)!=0;if(!(q|p^1)){u=8;break}}if(!(q&((r|p)^1)|(g|0)<-1|(g|0)>127)){p=f;while(1)if(!(a[p>>0]|0))break;else p=p+1|0;q=p-f&1073741823;if(q>>>0<=255){s=h&2048;p=h&7;if((p|0)!=4){if((p|0)==5){p=Mh(d,f,g,s|1,k,l,m,n,o)|0;if(p)break;p=Mh(d,f,g,s|2,k,l,m,n,o)|0;if(!p)p=3;else break}}else p=2;r=p&255;h=Oh(d,f,q,g,r,0)|0;if(((h|0)!=0?(e[h+2>>1]&3|0)==(p|0):0)?(b[h>>1]|0)==(g|0):0){if(c[d+148>>2]|0){qg(d,5,15424,t);p=5;break}p=c[d+4>>2]|0;if(p)do{t=p+88|0;b[t>>1]=b[t>>1]|8;p=c[p+52>>2]|0}while((p|0)!=0)}p=Oh(d,f,q,g,r,1)|0;if(!p)p=7;else{Jl(d,p);if(o)c[o>>2]=(c[o>>2]|0)+1;c[p+32>>2]=o;o=p+2|0;b[o>>1]=e[o>>1]&3|s;c[p+12>>2]=l;c[p+16>>2]=m;c[p+20>>2]=n;c[p+4>>2]=k;b[p>>1]=g;p=0}}else u=8}else u=8}else u=8;while(0);if((u|0)==8){c[t>>2]=129075;c[t+4>>2]=10788;Zc(21,13648,t);p=21}i=v;return p|0}function Nh(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0;l=i;i=i+48|0;if((i|0)>=(j|0))ba();k=l;g=k+0|0;h=g+40|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));c[k+32>>2]=d;Tg(k,e,f,2,0)|0;f=k+8|0;e=c[f>>2]|0;if(!((e&2|0)==0|(e&16711680|0)==65536))xn(k,1)|0;if(!(a[d+65>>0]|0))f=c[k+16>>2]|0;else{if(!((b[f>>1]&9312)==0?(c[k+24>>2]|0)==0:0))Mg(k);c[k+16>>2]=0;f=0}i=l;return f|0}function Oh(e,f,g,h,i,j){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=((d[9328+(d[f>>0]|0)>>0]|0)+g|0)%23|0;o=e+336|0;l=Nk(o,n,f,g)|0;if(!l){m=0;k=0}else{m=0;k=0;do{q=On(l,h,i)|0;p=(q|0)>(m|0);m=p?q:m;k=p?l:k;l=c[l+8>>2]|0}while((l|0)!=0)}do if(!(j<<24>>24)){if((k|0)!=0?(c[e+24>>2]&2097152|0)==0:0){l=0;n=12;break}l=Nk(10840,n,f,g)|0;if(!l){m=0;n=8}else{m=0;do{p=On(l,h,i)|0;n=(p|0)>(m|0);m=n?p:m;k=n?l:k;l=c[l+8>>2]|0}while((l|0)!=0);n=8}}else n=8;while(0);do if((n|0)==8){l=j<<24>>24!=0;if(l&(m|0)<6){l=g+37|0;k=ih(e,l,0)|0;if(!k){n=14;break}bw(k|0,0,l|0)|0;l=k+36|0;c[k+24>>2]=l;b[k>>1]=h;b[k+2>>1]=i&255;gw(l|0,f|0,g|0)|0;a[k+(g+36)>>0]=0;jg(o,k);l=1}if(!k)n=14;else n=12}while(0);if((n|0)==12)if((c[k+16>>2]|0)==0?!((c[k+12>>2]|0)!=0|l):0)n=14;if((n|0)==14)k=0;return k|0}function Ph(b,d,e){b=b|0;d=d|0;e=e|0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();e=d;c[e>>2]=c[(c[b+4>>2]|0)+24>>2];e=Wc(15304,e)|0;c[b+20>>2]=1;a[b+25>>0]=1;Tg(c[b>>2]|0,e,-1,1,-1)|0;Sc(e);i=d;return}function Qh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if((a|0)<=(e|0)){e=c[3164]|0;if(e)jc[e&3]();Gf(b,d,0,0,0)|0;e=c[3166]|0;if(e)jc[e&3]()}return 0}function Rh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;a:do if(d){e=d;while(1)if(!(a[e>>0]|0))break;else e=e+1|0;g=e-d&1073741823;f=c[b+20>>2]|0;e=f+-1|0;if((f|0)>0){h=e;f=(c[b+16>>2]|0)+(e<<4)|0;while(1){b=c[f>>2]|0;if(!b)e=0;else{e=b;while(1)if(!(a[e>>0]|0))break;else e=e+1|0;e=e-b&1073741823}if((g|0)==(e|0)?($c(b,d)|0)==0:0){e=h;break a}e=h+-1|0;if((h|0)>0){h=e;f=f+-16|0}else break}}}else e=-1;while(0);return e|0}function Sh(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=b+20|0;i=c[q>>2]|0;if((i|0)>0){r=(e|0)==10;o=b+16|0;p=(f|0)==0;m=g;b=i;g=0;n=0;while(1){if((n|0)==(e|0)|r){j=c[(c[o>>2]|0)+(n<<4)+4>>2]|0;if(j){i=c[j+4>>2]|0;c[i+4>>2]=c[j>>2];if(!(a[i+20>>0]|0)){j=c[i>>2]|0;k=c[j+208>>2]|0;if(!k)k=0;else{if(p)i=0;else i=c[j+176>>2]|0;k=Pn(k,f,i,c[j+180>>2]|0,d[j+9>>0]|0,c[j+152>>2]|0,c[j+200>>2]|0,m,h)|0;b=c[q>>2]|0}}else k=6}else k=0;h=(k|0)==5;l=0;j=0;i=b;g=h?1:g;h=h?0:k}else{l=h;j=m;i=b;h=0}n=n+1|0;b=(h|0)==0;if(!((n|0)<(i|0)&b))break;else{m=j;h=l;b=i}}}else{b=1;g=0;h=0}return (b&(g|0)!=0?5:h)|0}function Th(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+32|0;if((i|0)>=(j|0))ba();s=w;t=w+20|0;o=w+16|0;n=w+12|0;m=w+8|0;c[o>>2]=f;c[n>>2]=0;c[m>>2]=0;c[e>>2]=0;h=Hc()|0;do if(!h){if(!(1<<(f&7)&70)){c[s>>2]=130207;c[s+4>>2]=10788;Zc(21,13648,s);h=21;break}if((c[2187]|0)!=0&(f&32768|0)==0)l=(f&65536|0)==0?c[2188]|0:1;else l=0;if(!(f&262144)){if(c[2241]|0){f=f|131072;c[o>>2]=f}}else{f=f&-131073;c[o>>2]=f}f=f&-655129;c[o>>2]=f;v=mg(528,0)|0;a:do if(v){bw(v|0,0,528)|0;if(l)c[v+12>>2]=8;c[v+56>>2]=255;c[v+20>>2]=2;p=v+76|0;c[p>>2]=-264537850;q=v+16|0;c[q>>2]=v+456;k=v+88|0;l=11088;h=k+44|0;do{c[k>>2]=c[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(h|0));c[v+132>>2]=0;a[v+63>>0]=1;a[v+67>>0]=-1;k=8920;r=c[k+4>>2]|0;l=v+40|0;c[l>>2]=c[k>>2];c[l+4>>2]=r;c[v+72>>2]=0;c[v+136>>2]=2147483647;c[v+24>>2]=9437264;l=v+428|0;c[l+0>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;c[l+12>>2]=0;r=v+308|0;c[r+0>>2]=0;c[r+4>>2]=0;c[r+8>>2]=0;c[r+12>>2]=0;Uh(v,11152,1,0,21,0)|0;Uh(v,11152,3,0,21,0)|0;Uh(v,11152,2,0,21,0)|0;Uh(v,13752,1,0,22,0)|0;Uh(v,13760,1,1,21,0)|0;r=v+65|0;if(!(a[r>>0]|0)){l=Zm(l,11152,s)|0;if(!l)l=0;else l=c[l+8>>2]|0;c[v+8>>2]=l;c[v+48>>2]=f;l=Sn(g,d,o,v,n,m)|0;if((l|0)==7)a[r>>0]=1;else if(!l){d=c[n>>2]|0;h=vm(c[v>>2]|0,d,v,(c[q>>2]|0)+4|0,0,c[o>>2]|256)|0;if(!h){f=c[(c[q>>2]|0)+4>>2]|0;c[(c[f+4>>2]|0)+4>>2]=c[f>>2];f=Tn(v,f)|0;c[(c[q>>2]|0)+12>>2]=f;if(!(a[r>>0]|0))a[v+62>>0]=a[f+77>>0]|0;f=mg(84,0)|0;if(!f){a[r>>0]=1;f=0}else{k=f+0|0;h=k+84|0;do{a[k>>0]=0;k=k+1|0}while((k|0)<(h|0));l=f+77|0;k=f+8|0;h=k+64|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(h|0));a[l>>0]=1}o=c[q>>2]|0;c[o+28>>2]=f;c[o>>2]=13768;a[o+8>>0]=3;c[o+16>>2]=10728;a[o+24>>0]=1;c[p>>2]=-1607883113;if(a[r>>0]|0){h=v;break}k=v+52|0;c[k>>2]=0;l=v+236|0;f=c[l>>2]|0;do if(f){h=f+8|0;if(!(b[h>>1]&9312)){b[h>>1]=1;break}else{rg(f);break}}while(0);if((yf(v,14632,2)|0)==7)a[r>>0]=1;f=Jf(v)|0;do if(!f){f=c[2656]|0;if(f){b:do if((f|0)>0){k=0;while(1){f=c[(c[2658]|0)+(k<<2)>>2]|0;c[t>>2]=0;if(f){h=Yb[f&63](v,t,13776)|0;f=c[t>>2]|0;if(h)break}else f=0;Sc(f);k=k+1|0;if((k|0)>=(c[2656]|0)){u=40;break b}}c[s>>2]=f;qg(v,h,14592,s);h=c[t>>2]|0}else u=40;while(0);if((u|0)==40){c[t>>2]=0;h=0}Sc(h)}if(Jf(v)|0){h=v;break a}}else{c[k>>2]=f;h=c[l>>2]|0;if(h){f=h+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;break}else{rg(h);break}}}while(0);Jh(v,0,c[2193]|0,c[2194]|0)|0;c[v+216>>2]=21;c[v+220>>2]=1e3;h=v;break}else if((h|0)==3082)h=7;c[v+52>>2]=h;f=c[v+236>>2]|0;if(!f){h=v;break}h=f+8|0;if(!(b[h>>1]&9312)){b[h>>1]=1;h=v;break}else{rg(f);h=v;break}}d=c[m>>2]|0;c[s>>2]=d;qg(v,l,(d|0)!=0?10344:0,s);Sc(d);d=c[n>>2]|0;h=v}else{d=0;h=v}}else{d=0;h=0}while(0);Sc(d);f=Jf(h)|0;if((f|0)==7){Kh(h,0)|0;h=0}else if(f)c[v+76>>2]=1266094736;c[e>>2]=h;h=f&255}while(0);i=w;return h|0}function Uh(e,f,g,h,k,l){e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))ba();m=s;r=g&255;if(!(g<<24>>24==4|g<<24>>24==8))if((r+-1|0)>>>0>2){c[m>>2]=129758;c[m+4>>2]=10788;Zc(21,13648,m);m=21}else{q=r;n=4}else{q=2;n=4}do if((n|0)==4){p=q&255;n=Un(e,p,f,0)|0;if((n|0)!=0?(c[n+12>>2]|0)!=0:0){if(c[e+148>>2]|0){qg(e,5,13680,m);m=5;break}g=c[e+4>>2]|0;if(g)do{o=g+88|0;b[o>>1]=b[o>>1]|8;g=c[g+52>>2]|0}while((g|0)!=0);o=n+4|0;if((d[o>>0]&247|0)==(q|0)){g=Zm(e+428|0,f,m)|0;if(!g)n=0;else n=c[g+8>>2]|0;m=0;do{if((a[n+(m*20|0)+4>>0]|0)==(a[o>>0]|0)){g=c[n+(m*20|0)+16>>2]|0;if(g)_b[g&31](c[n+(m*20|0)+8>>2]|0);c[n+(m*20|0)+12>>2]=0}m=m+1|0}while((m|0)!=3)}}g=Un(e,p,f,1)|0;if(g){c[g+12>>2]=k;c[g+8>>2]=h;c[g+16>>2]=l;a[g+4>>0]=q|r&8;c[e+52>>2]=0;m=c[e+236>>2]|0;if(m){g=m+8|0;if(!(b[g>>1]&9312)){b[g>>1]=1;m=0;break}else{rg(m);m=0;break}}else m=0}else m=7}while(0);i=s;return m|0}function Vh(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=d+24|0;m=c[l>>2]&2;n=d+145|0;a[n>>0]=1;k=d+16|0;i=c[k>>2]|0;a[d+62>>0]=a[(c[i+12>>2]|0)+77>>0]|0;h=d+20|0;g=0;while(1){if((g|0)>=(c[h>>2]|0)){g=i;i=6;break}if(!((g|0)==1?1:(b[(c[i+(g<<4)+12>>2]|0)+78>>1]&1)!=0)?(f=Vn(d,g,e)|0,(f|0)!=0):0){i=9;break}i=c[k>>2]|0;g=g+1|0}if((i|0)==6)if((b[(c[g+28>>2]|0)+78>>1]&1)==0?(j=Vn(d,1,e)|0,(j|0)!=0):0){ml(c[(c[k>>2]|0)+28>>2]|0);f=j}else f=0;else if((i|0)==9)rm(d,g);a[n>>0]=0;if(!(f|m))c[l>>2]=c[l>>2]&-3;return f|0}function Wh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;k=a+20|0;a:do if((c[k>>2]|0)>0){l=(d|0)==0;g=a+16|0;h=0;a=0;do{f=(h|0)<2^h;e=c[g>>2]|0;if(!(!l?($c(d,c[e+(f<<4)>>2]|0)|0)!=0:0)){a=Zm((c[e+(f<<4)+12>>2]|0)+8|0,b,m)|0;if(a){a=c[a+8>>2]|0;if(a)break a}else a=0}h=h+1|0}while((h|0)<(c[k>>2]|0))}else a=0;while(0);i=n;return a|0}function Xh(a){a=a|0;if(($c(a,12936)|0)!=0?($c(a,12944)|0)!=0:0)a=($c(a,12952)|0)==0&1;else a=1;return a|0}function Yh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=c[a+20>>2]|0;a:do if((g|0)>0){d=c[a+16>>2]|0;e=(b|0)==0;f=0;while(1){a=c[d+(f<<4)+4>>2]|0;if(a){if(e)break a;if(!($c(b,c[d+(f<<4)>>2]|0)|0))break a}f=f+1|0;if((f|0)>=(g|0)){a=0;break}}}else a=0;while(0);return a|0}function Zh(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:do if(!b)e=0;else{e=e+-1|0;b:do if((c[b>>2]|0)>>>0>4e3){g=b;f=e;while(1){e=g+8|0;h=c[e>>2]|0;if(!h){j=b;break}e=(f>>>0)%(h>>>0)|0;f=g+12+(((f>>>0)/(h>>>0)|0)<<2)|0;b=c[f>>2]|0;if(!b){b=mg(512,0)|0;if(!b){e=b;l=21;break}bw(b|0,0,512)|0;c[b>>2]=h;c[f>>2]=b}if((c[b>>2]|0)>>>0>4e3){g=b;f=e}else break b}if((l|0)==21){c[f>>2]=e;e=7;break a}k=f+1|0;f=(f>>>0)%125|0;i=g+12|0;b=c[g+(f<<2)+12>>2]|0;if(!b){b=c[g+4>>2]|0;if(b>>>0<124){e=g;l=20}}else{do{if((b|0)==(k|0)){e=0;break a}f=f+1|0;f=f>>>0>124?0:f;b=c[g+(f<<2)+12>>2]|0}while((b|0)!=0);b=c[g+4>>2]|0;if(b>>>0<=61){e=g;l=20}}if((l|0)==20){c[g+4>>2]=b+1;c[e+(f<<2)+12>>2]=k;e=0;break a}h=mg(500,0)|0;if(!h){e=7;break a}gw(h|0,i|0,500)|0;bw(i|0,0,500)|0;c[e>>2]=(((c[j>>2]|0)+124|0)>>>0)/125|0;b=0;e=Zh(g,k)|0;do{f=c[h+(b<<2)>>2]|0;if(f)e=Zh(g,f)|0|e;b=b+1|0}while((b|0)!=125);Sc(h);break a}while(0);b=b+12+(e>>>3)|0;a[b>>0]=d[b>>0]|0|1<<(e&7);e=0}while(0);return e|0}function _h(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;a:do if(b){g=e+-1|0;while(1){e=c[b+8>>2]|0;if(!e)break;b=c[b+12+(((g>>>0)/(e>>>0)|0)<<2)>>2]|0;if(!b)break a;else g=(g>>>0)%(e>>>0)|0}if((c[b>>2]|0)>>>0<4001){b=b+12+(g>>>3)|0;a[b>>0]=(d[b>>0]|0)&(1<<(g&7)^255);break}k=b+12|0;gw(f|0,k|0,500)|0;bw(k|0,0,500)|0;k=b+4|0;c[k>>2]=0;h=g+1|0;j=0;do{i=f+(j<<2)|0;e=c[i>>2]|0;if(!((e|0)==0|(e|0)==(h|0))){g=((e+-1|0)>>>0)%125|0;c[k>>2]=(c[k>>2]|0)+1;e=b+(g<<2)+12|0;if(c[e>>2]|0)do{e=g+1|0;g=e>>>0>124?0:e;e=b+(g<<2)+12|0}while((c[e>>2]|0)!=0);c[e>>2]=c[i>>2]}j=j+1|0}while((j|0)!=125)}while(0);return}function $h(a,b){a=a|0;b=b|0;var e=0,f=0;a:do if((a|0)!=0?(e=b+-1|0,e>>>0<(c[a>>2]|0)>>>0):0){while(1){b=c[a+8>>2]|0;if(!b)break;a=c[a+12+(((e>>>0)/(b>>>0)|0)<<2)>>2]|0;if(!a){e=0;break a}else e=(e>>>0)%(b>>>0)|0}if((c[a>>2]|0)>>>0<4001){e=((d[a+12+(e>>>3)>>0]|0)&1<<(e&7)|0)!=0&1;break}f=e+1|0;e=(e>>>0)%125|0;b=c[a+(e<<2)+12>>2]|0;if(b)while(1){if((b|0)==(f|0)){e=1;break a}e=((e+1|0)>>>0)%125|0;b=c[a+(e<<2)+12>>2]|0;if(!b){e=0;break}}else e=0}else e=0;while(0);return e|0}function ai(a){a=a|0;var b=0,d=0;if(a){if(c[a+8>>2]|0){b=a+12|0;d=0;do{ai(c[b+(d<<2)>>2]|0);d=d+1|0}while((d|0)!=125)}Sc(a)}return}function bi(b,c){b=b|0;c=c|0;var f=0;a:do if((c|0)>=2?(f=a[11824+(((d[9328+(d[b>>0]|0)>>0]|0)<<2^c^(d[9328+(d[b+(c+-1)>>0]|0)>>0]|0)*3|0)%127|0)>>0]|0,f<<24>>24!=0):0){f=f&255;while(1){f=f+-1|0;if((d[12080+f>>0]|0|0)==(c|0)?(Bc(11264+(e[12208+(f<<1)>>1]|0)|0,b,c)|0)==0:0)break;f=a[11952+f>>0]|0;if(!(f<<24>>24)){f=27;break a}else f=f&255}f=d[12456+f>>0]|0}else f=27;while(0);return f|0}function ci(a){a=a|0;var b=0,d=0,e=0;c[2174]=a;if((c[2184]|0)>>>0<a>>>0)c[2184]=a;d=c[2264]|0;if((d|0)==0|(c[2235]|0)<(a|0)){b=mg(a,((a|0)<0)<<31>>31)|0;if((c[2186]|0)!=0&(b|0)!=0?(e=hc[c[8744+48>>2]&127](b)|0,e=(c[2170]|0)+e|0,c[2170]=e,e>>>0>(c[2180]|0)>>>0):0)c[2180]=e}else{b=c[2263]|0;c[2263]=c[b>>2];c[2264]=d+-1;a=(c[2169]|0)+1|0;c[2169]=a;if(a>>>0>(c[2179]|0)>>>0)c[2179]=a}return b|0}function di(a){a=a|0;var b=0;do if(a){if((c[2234]|0)>>>0<=a>>>0&(c[2262]|0)>>>0>a>>>0){c[a>>2]=c[2263];c[2263]=a;c[2264]=(c[2264]|0)+1;c[2169]=(c[2169]|0)+-1;break}if(!(c[2186]|0)){_b[c[8744+40>>2]&31](a);break}else{b=hc[c[8744+48>>2]&127](a)|0;c[2170]=(c[2170]|0)-b;c[2166]=(c[2166]|0)-b;c[2175]=(c[2175]|0)+-1;_b[c[8744+40>>2]&31](a);break}}while(0);return}function ei(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();h=l;g=a[b>>0]|0;a:do if(((g&255)+-48|0)>>>0>=10){k=g;g=b;while(1){h=g+1|0;if(!(k<<24>>24))break;k=a[h>>0]|0;g=h}k=g-b&1073741823;g=7-e|0;if((g|0)>0){h=0;while(1){if((d[11248+h>>0]|0|0)==(k|0)?(Bc(11216+(d[11240+h>>0]|0)|0,b,k)|0)==0:0){f=h;break}h=h+1|0;if((h|0)>=(g|0))break a}f=a[11256+f>>0]|0}}else{c[h>>2]=0;zn(b,h)|0;f=c[h>>2]&255}while(0);i=l;return f|0}function fi(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=a[b>>0]|0;do if(e<<24>>24==48){f=a[b+1>>0]|0;if(!(f<<24>>24==88|f<<24>>24==120))if(!b){e=0;k=15;break}else{g=e;e=b;k=12;break}e=a[b+2>>0]|0;if(!(a[10368+(e&255)>>0]&8)){g=48;e=b;k=12}else{g=2;while(1){f=g+1|0;if(e<<24>>24!=48)break;e=a[b+f>>0]|0;g=f}if(!(a[10368+(e&255)>>0]&8)){h=b+g|0;i=0;e=0;f=g}else{i=0;h=0;f=g;while(1){i=ew(i|0,h|0,4)|0;j=C;h=e<<24>>24;i=(0-(h>>>6&1)&9)+h&15|i;f=f+1|0;h=b+f|0;e=a[h>>0]|0;if(!(a[10368+(e&255)>>0]&8)){e=j;break}else h=j}}j=d;c[j>>2]=i;c[j+4>>2]=e;if(!(a[h>>0]|0))e=(f-g|0)<17;else e=0;e=e&1^1}}else{g=e;e=b;k=12}while(0);if((k|0)==12){while(1){f=e+1|0;if(!(g<<24>>24))break;g=a[f>>0]|0;e=f;k=12}e=e-b&1073741823;k=15}if((k|0)==15)e=Ql(b,d,e,1)|0;return e|0}function gi(d,f,g,h,k){d=d|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=i;i=i+1264|0;if((i|0)>=(j|0))ba();B=D;A=D+152|0;u=D+742|0;v=D+76|0;r=D+228|0;o=h&-256;s=h&16;z=h&8;t=h&4;n=h&1;w=h&2;if((t|0)!=0?(o|0)==524288|(o|0)==2048|(o|0)==16384:0)y=1;else y=0;x=c[12114]|0;if((x|0)!=(nb()|0)?(c[12114]=nb()|0,(Hc()|0)==0):0)a[9064]=0;p=g+0|0;q=p+44|0;do{c[p>>2]=0;p=p+4|0}while((p|0)<(q|0));x=(o|0)==256;do if(x){a:do if((nc[c[47552+52>>2]&127](f,B)|0)==0?(l=c[12178]|0,(l|0)!=0):0){o=c[B>>2]|0;p=c[B+72>>2]|0;while(1){if((c[l>>2]|0)==(o|0)?(c[l+4>>2]|0)==(p|0):0)break;l=c[l+32>>2]|0;if(!l){C=18;break a}}o=l+28|0;l=c[o>>2]|0;if(l){while(1){q=o;o=l+8|0;p=l;l=c[o>>2]|0;if((c[p+4>>2]|0)==(h|0)){o=q;break}if(!l){C=18;break a}}c[o>>2]=l;r=c[p>>2]|0;l=p}else C=18}else C=18;while(0);if((C|0)==18){l=Pc(12)|0;if(!l){l=7;break}else r=-1}c[g+28>>2]=l;o=t<<4|w;l=(s|0)!=0;if((r|0)<0){t=l;s=l?o|131200:o;l=f;C=23}else{q=r;l=f;C=36}}else{if(!f){l=Wn(514,r)|0;if(!l)l=r;else break}else l=f;C=t<<4|w;s=(s|0)!=0;t=s;s=s?C|131200:C;C=23}while(0);b:do if((C|0)==23){if(!(h&526336)){o=(z|0)==0?0:384;r=0;q=0}else{if(!l)o=0;else{o=l;while(1)if(!(a[o>>0]|0))break;else o=o+1|0;o=o-l&1073741823}do o=o+-1|0;while((a[l+o>>0]|0)!=45);gw(u|0,l|0,o|0)|0;a[u+o>>0]=0;if(nc[c[47552+52>>2]&127](u,v)|0){l=1802;break}o=c[v+12>>2]&511;r=c[v+20>>2]|0;q=c[v+24>>2]|0}p=Xn(l,s,o)|0;do if((p|0)<0){if(!(t|((w|0)==0|(c[(Db()|0)>>2]|0)==21))?(m=Xn(l,s&131200,o)|0,(m|0)>=0):0){h=h&-8|1;n=1;break}c[B>>2]=31186;c[B+4>>2]=10788;Zc(14,14848,B);l=_n(14,47896,l,31186)|0;if(!l){l=0;break b}m=g+28|0;C=70;break b}else m=p;while(0);if(!(h&526336)){q=m;C=36}else{Yb[c[47552+244>>2]&63](m,r,q)|0;q=m;C=36}}while(0);c:do if((C|0)==36){if(k)c[k>>2]=h;r=g+28|0;m=c[r>>2]|0;if(m){c[m>>2]=q;c[m+4>>2]=h}if(z)hc[c[47552+196>>2]&127](l)|0;l=z<<2;l=(n|0)==0?l:l|2;l=x?l:l|128;l=y?l|8:l;z=l|h&64;c[g+12>>2]=q;c[g+4>>2]=d;c[g+32>>2]=f;m=g+18|0;b[m>>1]=z&255;if(bg((z&64|0)!=0?f:0,48496,1)|0)b[m>>1]=e[m>>1]|16;if(!(Wv(c[d+16>>2]|0,1e4)|0))b[m>>1]=e[m>>1]|1;d:do if(!(l&128)){l=nc[c[c[d+20>>2]>>2]&127](f,g)|0;if((l|0)!=48504){if((l|0)!=47472){C=64;break}m=(cw(f|0)|0)+6|0;l=Pc(m)|0;if(l){c[B>>2]=f;Yc(m,l,48584,B)|0;c[g+24>>2]=l;c[g+20>>2]=0;l=47472;break}c[g+24>>2]=0;c[g+20>>2]=0;if((q|0)<=-1){m=r;l=7;C=70;break c}Yn(g,q,30794);m=r;l=7;C=70;break c}do if(!(nc[c[47552+64>>2]&127](c[g+12>>2]|0,A)|0)){l=B;c[l>>2]=0;c[l+4>>2]=0;c[B>>2]=c[A>>2];c[B+4>>2]=c[A+72>>2];l=c[12178]|0;e:do if(!l)C=53;else{while(1){if(!(Vv(B,l,8)|0))break;l=c[l+32>>2]|0;if(!l){C=53;break e}}B=l+16|0;c[B>>2]=(c[B>>2]|0)+1}while(0);if((C|0)==53){m=Pc(40)|0;if(!m){l=7;m=g+20|0;break}p=m+0|0;q=p+40|0;do{c[p>>2]=0;p=p+4|0}while((p|0)<(q|0));C=c[B+4>>2]|0;l=m;c[l>>2]=c[B>>2];c[l+4>>2]=C;c[m+16>>2]=1;c[m+32>>2]=c[12178];c[m+36>>2]=0;l=c[12178]|0;if(l)c[l+36>>2]=m;c[12178]=m;l=m}c[g+8>>2]=l;l=48504;C=64;break d}else{l=c[(Db()|0)>>2]|0;m=g+20|0;c[m>>2]=l;l=(l|0)==75?22:10}while(0);Yn(g,q,30709);c[m>>2]=0;m=r;C=70;break c}else{l=48376;C=64}while(0);if((C|0)==64)c[g+20>>2]=0;c[g>>2]=l;Zn(g);l=0}while(0);if((C|0)==70)Sc(c[m>>2]|0);i=D;return l|0}function hi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;do if((hc[c[47552+196>>2]&127](b)|0)==-1)if((c[(Db()|0)>>2]|0)==2)a=5898;else a=_n(2570,48032,b,31314)|0;else if(d&1){a=nc[c[47552+208>>2]&127](b,e)|0;if((a|0)==14){a=0;break}else if(a)break;if(!(Cb(c[e>>2]|0)|0))a=0;else a=_n(1290,48488,b,31329)|0;if(hc[c[47552+16>>2]&127](c[e>>2]|0)|0)_n(4106,47856,0,31331)|0}else a=0;while(0);i=f;return a|0}function ii(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+80|0;if((i|0)>=(j|0))ba();f=g;if((d|0)==2)a=4;else if((d|0)==1)a=6;else a=0;a=(nc[c[47552+28>>2]&127](b,a)|0)==0;c[e>>2]=a&1;if((!((d|0)!=0|a^1)?(nc[c[47552+52>>2]&127](b,f)|0)==0:0)?(c[f+36>>2]|0)==0:0)c[e>>2]=0;i=g;return 0}function ji(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;b=e+-1|0;a[f+b>>0]=0;do if((a[d>>0]|0)!=47)if(!(nc[c[47552+40>>2]&127](f,b)|0)){c[g>>2]=31416;c[g+4>>2]=10788;Zc(14,14848,g);b=_n(14,47904,d,31416)|0;break}else{b=cw(f|0)|0;c[g>>2]=d;Yc(e-b|0,f+b|0,48480,g)|0;b=0;break}else{c[g>>2]=d;Yc(e,f,10344,g)|0;b=0}while(0);i=h;return b|0}function ki(a,b){a=a|0;b=b|0;return zb(b|0,258)|0}function li(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;a=Ta()|0;if(a){c[e>>2]=a;Yc(b,d,10344,e)|0}i=f;return}function mi(a,b,c){a=a|0;b=b|0;c=c|0;return Xa(b|0,c|0)|0}function ni(a,b){a=a|0;b=b|0;Ab(b|0)|0;return}function oi(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;bw(e|0,0,d|0)|0;c[12114]=nb()|0;b=Xn(48464,0,0)|0;if((b|0)>=0){do if((Yb[c[47552+100>>2]&63](b,e,d)|0)>=0)break;while((c[(Db()|0)>>2]|0)==4);if(hc[c[47552+16>>2]&127](b)|0)_n(4106,47856,0,31521)|0}else{Lb(f|0)|0;d=c[f>>2]|0;a[e>>0]=d;a[e+1>>0]=d>>8;a[e+2>>0]=d>>16;a[e+3>>0]=d>>24;d=e+4|0;b=c[12114]|0;a[d>>0]=b;a[d+1>>0]=b>>8;a[d+2>>0]=b>>16;a[d+3>>0]=b>>24;d=8}i=g;return d|0}function pi(a,b){a=a|0;b=b|0;a=(b+999999|0)/1e6|0;Ib(a|0)|0;return a*1e6|0}function qi(a,b){a=a|0;b=b|0;var d=0,e=0;a=i;i=i+16|0;if((i|0)>=(j|0))ba();e=a;d=e;c[d>>2]=0;c[d+4>>2]=0;d=si(0,e)|0;h[b>>3]=(+((c[e>>2]|0)>>>0)+4294967296.0*+(c[e+4>>2]|0))/864.0e5;i=a;return d|0}function ri(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function si(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();a=d;if(!(Ob(a|0,0)|0)){f=c[a>>2]|0;f=ow(f|0,((f|0)<0)<<31>>31|0,1e3,0)|0;f=fw(f|0,C|0,1045635584,49096)|0;e=(c[a+4>>2]|0)/1e3|0;e=fw(f|0,C|0,e|0,((e|0)<0)<<31>>31|0)|0;a=b;c[a>>2]=e;c[a+4>>2]=C;a=0}else a=1;i=d;return a|0}function ti(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;a:do if(!b){a=0;do{b=c[47560+(a*12|0)>>2]|0;if(b)c[47556+(a*12|0)>>2]=b;a=a+1|0}while((a|0)!=25);b=0}else{a=0;while(1){if(!(Wv(b,c[47552+(a*12|0)>>2]|0)|0)){e=a;break}a=a+1|0;if(a>>>0>=25){b=12;break a}}b=47560+(e*12|0)|0;a=c[b>>2]|0;if(!a){a=c[47556+(e*12|0)>>2]|0;c[b>>2]=a}c[47556+(e*12|0)>>2]=(d|0)==0?a:d;b=0}while(0);return b|0}function ui(a,b){a=a|0;b=b|0;var d=0;a=0;while(1){if(!(Wv(b,c[47552+(a*12|0)>>2]|0)|0)){d=4;break}a=a+1|0;if(a>>>0>=25){a=0;break}}if((d|0)==4)a=c[47556+(a*12|0)>>2]|0;return a|0}function vi(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if(!b)a=-1;else{d=0;while(1){a=d+1|0;if(!(Wv(b,c[47552+(d*12|0)>>2]|0)|0)){a=d;break a}if((a|0)<24)d=a;else break}}while(0);while(1){a=a+1|0;if((a|0)>=25){a=0;break}if(c[47556+(a*12|0)>>2]|0){e=6;break}}if((e|0)==6)a=c[47552+(a*12|0)>>2]|0;return a|0}function wi(a,b){a=a|0;b=b|0;return 48504}function xi(a,b){a=a|0;b=b|0;return 48376}function yi(a,b){a=a|0;b=b|0;return 47472}function zi(a){a=a|0;var b=0,d=0;b=c[a+4>>2]|0;if(b)do{d=b;b=c[b>>2]|0;Sc(d)}while((b|0)!=0);b=a+0|0;d=b+40|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));c[a>>2]=14696;return 0}function Ai(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;l=a+24|0;k=l;if(((c[k>>2]|0)!=(e|0)?1:(c[k+4>>2]|0)!=(f|0))|(e|0)==0&(f|0)==0){g=c[a+4>>2]|0;if(!((g|0)==0|((f|0)<0|(f|0)==0&e>>>0<1020))){h=1020;i=0;do{h=fw(h|0,i|0,1020,0)|0;i=C;g=c[g>>2]|0}while(!((g|0)==0|((i|0)>(f|0)|(i|0)==(f|0)&h>>>0>e>>>0)))}}else g=c[a+32>>2]|0;j=nw(e|0,f|0,1020,0)|0;k=d;h=b;while(1){b=1020-j|0;i=(k|0)<(b|0)?k:b;gw(h|0,g+j+4|0,i|0)|0;k=k-b|0;if((k|0)<=-1)break;g=c[g>>2]|0;if(!((g|0)!=0&(k|0)>0))break;else{j=0;h=h+i|0}}f=fw(d|0,((d|0)<0)<<31>>31|0,e|0,f|0)|0;d=l;c[d>>2]=f;c[d+4>>2]=C;c[a+32>>2]=g;return 0}function Bi(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;a:do if((d|0)>0){i=a+8|0;j=a+16|0;h=a+4|0;e=i;f=c[e>>2]|0;e=c[e+4>>2]|0;while(1){a=c[j>>2]|0;e=nw(f|0,e|0,1020,0)|0;g=1020-e|0;g=(d|0)<(g|0)?d:g;if(!e){f=Pc(1024)|0;if(!f){e=3082;break a}c[f>>2]=0;if(!a){c[h>>2]=f;a=f}else{c[a>>2]=f;a=f}c[j>>2]=a}gw(a+e+4|0,b|0,g|0)|0;d=d-g|0;f=i;f=fw(c[f>>2]|0,c[f+4>>2]|0,g|0,((g|0)<0)<<31>>31|0)|0;e=C;a=i;c[a>>2]=f;c[a+4>>2]=e;if((d|0)<=0){e=0;break}else b=b+g|0}}else e=0;while(0);return e|0}function Ci(a,b,d){a=a|0;b=b|0;d=d|0;b=c[a+4>>2]|0;if(b)do{d=b;b=c[b>>2]|0;Sc(d)}while((b|0)!=0);d=a+0|0;b=d+40|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(b|0));c[a>>2]=14696;return 0}function Di(a,b){a=a|0;b=b|0;return 0}function Ei(a,b){a=a|0;b=b|0;var d=0,e=0;e=a+8|0;d=c[e+4>>2]|0;a=b;c[a>>2]=c[e>>2];c[a+4>>2]=d;return 0}function Fi(a){a=a|0;var b=0;a=12584|0;b=a+68|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));if(c[2187]|0){c[3146]=8;c[3159]=8}c[3149]=10;c[3153]=1;return 0}function Gi(a){a=a|0;var b=0;a=12584|0;b=a+68|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function Hi(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=mg(48,0)|0;if(f){g=f+0|0;h=g+48|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));c[f>>2]=12584;c[f+4>>2]=b;c[f+8>>2]=d;e=(e|0)!=0;c[f+12>>2]=e&1;$n(f);if(e){c[f+16>>2]=10;e=c[3148]|0;c[3148]=e+10;c[3149]=(c[3147]|0)+10+(-10-e)}if(!(c[f+40>>2]|0)){Oi(f);f=0}}else f=0;return f|0}function Ii(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(c[a+12>>2]|0){d=c[a>>2]|0;e=a+20|0;g=d+4|0;f=(c[g>>2]|0)+(b-(c[e>>2]|0))|0;c[g>>2]=f;c[d+12>>2]=f+10-(c[d+8>>2]|0);c[e>>2]=b;c[a+24>>2]=((b*9|0)>>>0)/10|0;ao(d)}return}function Ji(a){a=a|0;return c[a+36>>2]|0}function Ki(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=c[(c[b+44>>2]|0)+(((d>>>0)%((c[b+40>>2]|0)>>>0)|0)<<2)>>2]|0;a:do if(f){while(1){if((c[f+8>>2]|0)==(d|0))break;f=c[f+16>>2]|0;if(!f){g=6;break a}}if(!(a[f+12>>0]|0))bo(f)}else g=6;while(0);if((g|0)==6)if(!e)f=0;else f=co(b,d,e)|0;return f|0}function Li(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=c[b>>2]|0;if((e|0)==0?(c[g+16>>2]|0)>>>0<=(c[g+4>>2]|0)>>>0:0){e=g+20|0;f=c[e>>2]|0;if(!f)c[g+24>>2]=d;else{c[f+28>>2]=d;c[d+24>>2]=f}c[e>>2]=d;f=b+32|0;c[f>>2]=(c[f>>2]|0)+1;a[d+12>>0]=0}else{g=c[d+20>>2]|0;e=(c[g+44>>2]|0)+((((c[d+8>>2]|0)>>>0)%((c[g+40>>2]|0)>>>0)|0)<<2)|0;while(1){b=c[e>>2]|0;f=b+16|0;if((b|0)==(d|0))break;else e=f}c[e>>2]=c[f>>2];f=g+36|0;c[f>>2]=(c[f>>2]|0)+-1;eo(d)}return}function Mi(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=c[a+40>>2]|0;h=a+44|0;d=(c[h>>2]|0)+(((d>>>0)%(g>>>0)|0)<<2)|0;while(1){f=c[d>>2]|0;if((f|0)==(b|0))break;else d=f+16|0}f=b+16|0;c[d>>2]=c[f>>2];c[b+8>>2]=e;d=(c[h>>2]|0)+(((e>>>0)%(g>>>0)|0)<<2)|0;c[f>>2]=c[d>>2];c[d>>2]=b;d=a+28|0;if((c[d>>2]|0)>>>0<e>>>0)c[d>>2]=e;return}function Ni(a,b){a=a|0;b=b|0;var d=0;d=a+28|0;if((c[d>>2]|0)>>>0>=b>>>0){fo(a,b);c[d>>2]=b+-1}return}function Oi(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a>>2]|0;fo(a,0);f=b+4|0;e=(c[f>>2]|0)-(c[a+20>>2]|0)|0;c[f>>2]=e;f=b+8|0;d=(c[f>>2]|0)-(c[a+16>>2]|0)|0;c[f>>2]=d;c[b+12>>2]=e+10-d;ao(b);Sc(c[a+44>>2]|0);Sc(a);return}function Pi(a){a=a|0;var b=0,d=0;if(c[a+12>>2]|0){d=c[a>>2]|0;a=d+4|0;b=c[a>>2]|0;c[a>>2]=0;ao(d);c[a>>2]=b}return}function Qi(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;b=a+7&-8;a=Sv(b+8|0)|0;if(!a){c[d>>2]=b;Zc(7,16568,d)}else{d=a;c[d>>2]=b;c[d+4>>2]=((b|0)<0)<<31>>31;a=a+8|0}i=e;return a|0}function Ri(a){a=a|0;Tv(a+-8|0);return}function Si(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;e=a+-8|0;d=Uv(e,b+8|0)|0;if(!d){if(!a)e=0;else e=c[e>>2]|0;c[f>>2]=e;c[f+4>>2]=b;Zc(7,16528,f)}else{e=d;c[e>>2]=b;c[e+4>>2]=((b|0)<0)<<31>>31;d=d+8|0}i=g;return d|0}function Ti(a){a=a|0;if(!a)a=0;else a=c[a+-8>>2]|0;return a|0}function Ui(a){a=a|0;return a+7&-8|0}function Vi(a){a=a|0;return 0}function Wi(a){a=a|0;return}function Xi(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=c[g>>2]|0;do if((-1431655766>>>(e[i+8>>1]&31)&1|0)==0?(h=Og(i,1)|0,(h|0)!=0):0){i=Pg(c[g>>2]|0,1)|0;if((f|0)!=1){o=Og(c[g+4>>2]|0,1)|0;if(!o)break;f=a[o>>0]|0;if(f<<24>>24){g=0;j=o;while(1){k=j+1|0;if((f&255)>191)while(1){f=a[k>>0]|0;if((f&-64)<<24>>24==-128){n=k;k=j+2|0;j=n}else{j=k;break}}else{f=a[k>>0]|0;j=k}k=g+1|0;if(!(f<<24>>24)){f=k;break}else g=k}if((g|0)>-1){m=ow(f|0,((f|0)<0)<<31>>31|0,5,0)|0;m=go(b,m,C)|0;if(!m)break;l=m+(f<<2)|0;if(a[o>>0]|0){f=o;g=0;while(1){c[m+(g<<2)>>2]=f;k=f+1|0;if((d[f>>0]|0)>191){j=f;while(1)if((a[k>>0]&-64)<<24>>24==-128){n=k;k=j+2|0;j=n}else break}a[l+g>>0]=k-f;j=g+1|0;if(!(a[k>>0]|0))break;else{f=k;g=j}}if((g|0)>-1){n=j;p=17}}}}}else{l=20360;m=20368;n=1;o=0;p=17}if((p|0)==17){f=c[(c[b+4>>2]|0)+4>>2]|0;a:do if((f&1|0)!=0&(i|0)>0){g=(n|0)>0;do{if(g)j=0;else{p=24;break a}while(1){k=d[l+j>>0]|0;if((i|0)>=(k|0)?(Vv(h,c[m+(j<<2)>>2]|0,k)|0)==0:0)break;j=j+1|0;if((j|0)>=(n|0)){p=24;break a}}h=h+k|0;i=i-k|0}while((i|0)>0)}else p=24;while(0);b:do if((p|0)==24)if((f&2|0)!=0&(i|0)>0){g=(n|0)>0;do{if(g)j=0;else break b;while(1){k=d[l+j>>0]|0;if((i|0)>=(k|0)?(q=i-k|0,(Vv(h+q|0,c[m+(j<<2)>>2]|0,k)|0)==0):0){i=q;break}j=j+1|0;if((j|0)>=(n|0))break b}}while((i|0)>0)}while(0);if(o)Sc(m)}Sg(b,h,i,1,-1)}while(0);return}function Yi(a,b,d){a=a|0;b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0;j=((c[(c[a+4>>2]|0)+4>>2]|0)!=0)<<31>>31;i=c[(c[(c[a+12>>2]|0)+4>>2]|0)+(((c[a+16>>2]|0)+-1|0)*20|0)+16>>2]|0;f=c[d>>2]|0;a:do if(!(-1431655766>>>((e[f+8>>1]|0)&31)&1)){if((b|0)>1){h=1;f=0;do{g=c[d+(h<<2)>>2]|0;if(-1431655766>>>((e[g+8>>1]|0)&31)&1)break a;g=((dm(c[d+(f<<2)>>2]|0,g,i)|0)^j|0)>-1;f=g?h:f;h=h+1|0}while((h|0)<(b|0));f=c[d+(f<<2)>>2]|0}Wg(c[a>>2]|0,f)|0}while(0);return}function Zi(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0;i=c[g>>2]|0;f=c[d+8>>2]|0;if(!(b[f+8>>1]&8192))f=hh(d,40)|0;else f=c[f+16>>2]|0;do if(f){h=(b[f+8>>1]|0)!=0;if(-1431655766>>>(e[(c[g>>2]|0)+8>>1]&31)&1){if(!h)break;a[d+24>>0]=1;break}if(!h){c[f+32>>2]=c[(c[d>>2]|0)+32>>2];Wg(f,i)|0;break}h=(c[(c[d+4>>2]|0)+4>>2]|0)!=0;g=dm(f,i,c[(c[(c[d+12>>2]|0)+4>>2]|0)+(((c[d+16>>2]|0)+-1|0)*20|0)+16>>2]|0)|0;if(!(h&(g|0)<0)?!((g|0)>0&(h^1)):0){a[d+24>>0]=1;break}Wg(f,i)|0}while(0);return}function _i(a){a=a|0;var d=0,e=0,f=0;d=c[a+8>>2]|0;if(!(b[d+8>>1]&8192))d=hh(a,0)|0;else d=c[d+16>>2]|0;do if(d){e=d+8|0;if(!((b[e>>1]|0)!=0?(Wg(c[a>>2]|0,d)|0,(b[e>>1]&9312)!=0):0))f=7;if((f|0)==7?(c[d+24>>2]|0)==0:0)break;Mg(d)}while(0);return}function $i(a,b,f){a=a|0;b=b|0;f=f|0;b=d[10064+((e[(c[f>>2]|0)+8>>1]|0)&31)>>0]|0;if((b|0)==2)b=20336;else if((b|0)==4)b=20344;else if((b|0)==1)b=20320;else if((b|0)==3)b=20328;else b=20352;Sg(a,b,-1,1,0);return}function aj(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;g=c[h>>2]|0;h=d[10064+((e[g+8>>1]|0)&31)>>0]|0;do if((h|0)==2|(h|0)==1|(h|0)==4){j=Pg(g,1)|0;i=c[f>>2]|0;g=((j|0)<0)<<31>>31;h=i+8|0;if(!(b[h>>1]&9312)){c[i>>2]=j;c[i+4>>2]=g;b[h>>1]=4;break}else{Vg(i,j,g);break}}else if((h|0)==3){i=Og(g,1)|0;if(i){g=a[i>>0]|0;if(!(g<<24>>24)){j=0;i=0}else{h=g;g=0;do{g=g+1|0;k=i+1|0;if((h&255)>191){j=i;i=k;while(1){h=a[i>>0]|0;if((h&-64)<<24>>24==-128){h=i;i=j+2|0;j=h}else break}}else{h=a[k>>0]|0;i=k}}while(h<<24>>24!=0);j=g;i=((g|0)<0)<<31>>31}g=c[f>>2]|0;h=g+8|0;if(!(b[h>>1]&9312)){c[g>>2]=j;c[g+4>>2]=i;b[h>>1]=4;break}else{Vg(g,j,i);break}}}else{h=c[f>>2]|0;g=h+8|0;if(!(b[g>>1]&9312)){b[g>>1]=1;break}else{rg(h);break}}while(0);return}function bj(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;g=c[f>>2]|0;h=b[g+8>>1]|0;i=f+4|0;e=b[(c[i>>2]|0)+8>>1]|0;do if(!((-1431655766>>>(e&31)|-1431655766>>>(h&31))&1)){j=Pg(g,1)|0;l=Pg(c[i>>2]|0,1)|0;f=c[f>>2]|0;if(!((e|h)&15)){e=ld(f)|0;f=0;k=ld(c[i>>2]|0)|0}else{e=Og(f,1)|0;f=1;k=Og(c[i>>2]|0,1)|0}a:do if((l|0)>(j|0)){e=1;g=1}else{g=1;h=j;while(1){if(!(Vv(e,k,l)|0)){e=0;break a}g=g+1|0;i=(f|0)==0;do{h=h+-1|0;e=e+1|0;if(i){f=0;break}}while((a[e>>0]&-64)<<24>>24==-128);if((l|0)>(h|0)){e=1;break}}}while(0);h=c[d>>2]|0;f=e?0:g;e=e?0:((g|0)<0)<<31>>31;g=h+8|0;if(!(b[g>>1]&9312)){c[h>>2]=f;c[h+4>>2]=e;b[g>>1]=4;break}else{Vg(h,f,e);break}}while(0);return}function cj(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;h=c[g+4>>2]|0;do if(!(-1431655766>>>((e[h+8>>1]|0)&31)&1)){n=(f|0)==3;if(n?(-1431655766>>>((e[(c[g+8>>2]|0)+8>>1]|0)&31)&1|0)!=0:0)break;p=b[(c[g>>2]|0)+8>>1]|0;k=Rg(h)|0;l=((k|0)<0)<<31>>31;p=(p&15)==0;i=c[g>>2]|0;if(p){i=Pg(i,1)|0;j=ld(c[g>>2]|0)|0;if(!j)break;else o=i}else{j=Og(i,1)|0;if(!j)break;if((k|0)<0?(m=a[j>>0]|0,m<<24>>24!=0):0){i=0;h=j;do{f=h+1|0;if((m&255)>191)while(1){m=a[f>>0]|0;if((m&-64)<<24>>24==-128){o=f;f=h+2|0;h=o}else{h=f;break}}else{m=a[f>>0]|0;h=f}i=i+1|0}while(m<<24>>24!=0);o=i}else o=0}if(n){n=Rg(c[g+8>>2]|0)|0;f=((n|0)<0)<<31>>31;g=(n|0)<0;h=$v(0,0,n|0,f|0)|0;h=g?h:n;f=g?C:f;n=n>>>31}else{f=c[(c[(c[d>>2]|0)+32>>2]|0)+88>>2]|0;h=f;f=((f|0)<0)<<31>>31;n=0}do if((k|0)<0){k=fw(o|0,((o|0)<0)<<31>>31|0,k|0,l|0)|0;l=C;if((l|0)<0){h=fw(h|0,f|0,k|0,l|0)|0;f=C;g=(f|0)<0;k=0;l=0;h=g?0:h;f=g?0:f}}else if((k|0)>0){k=fw(k|0,l|0,-1,-1)|0;l=C;break}else{g=((f|0)>0|(f|0)==0&h>>>0>0)<<31>>31;h=fw(g|0,((g|0)<0)<<31>>31|0,h|0,f|0)|0;f=C;break}while(0);if(!n){n=k;m=l}else{n=$v(k|0,l|0,h|0,f|0)|0;m=C;g=(m|0)<0;n=g?0:n;m=g?0:m;h=g?k:h;f=g?l:f}if(p){g=fw(h|0,f|0,n|0,m|0)|0;l=C;i=((o|0)<0)<<31>>31;if((l|0)>(i|0)|(l|0)==(i|0)&g>>>0>o>>>0){h=$v(o|0,i|0,n|0,m|0)|0;f=C;g=(f|0)<0;h=g?0:h;f=g?0:f}xd(d,j+n|0,h,f,-1);break}i=a[j>>0]|0;if(((n|0)!=0|(m|0)!=0)&i<<24>>24!=0)do{l=j+1|0;if((i&255)>191){k=j;j=l;while(1){i=a[j>>0]|0;if((i&-64)<<24>>24==-128){g=j;j=k+2|0;k=g}else break}}else{i=a[l>>0]|0;j=l}n=fw(n|0,m|0,-1,-1)|0;m=C}while(((n|0)!=0|(m|0)!=0)&i<<24>>24!=0);if(i<<24>>24!=0&((h|0)!=0|(f|0)!=0)){m=f;f=j;do{k=f+1|0;if((i&255)>191)while(1){i=a[k>>0]|0;if((i&-64)<<24>>24==-128){g=k;k=f+2|0;f=g}else{f=k;break}}else{i=a[k>>0]|0;f=k}h=fw(h|0,m|0,-1,-1)|0;m=C}while(i<<24>>24!=0&((h|0)!=0|(m|0)!=0))}else f=j;g=f-j|0;Fd(d,j,g,((g|0)<0)<<31>>31,-1,1)}while(0);return}function dj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0;l=i;i=i+48|0;if((i|0)>=(j|0))ba();h=l;k=l+32|0;g=l+4|0;if((d|0)>0?(f=Og(c[e>>2]|0,1)|0,(f|0)!=0):0){c[k>>2]=d+-1;c[k+4>>2]=0;c[k+8>>2]=e+4;c[g+0>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;c[g+16>>2]=0;c[g+20>>2]=1e9;a[g+24>>0]=1;a[g+25>>0]=0;c[g>>2]=c[(c[b>>2]|0)+32>>2];c[h>>2]=k;An(g,2,f,h);f=c[g+12>>2]|0;Sg(b,pg(g)|0,f,1,75)}i=l;return}function ej(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();e=h;f=Og(c[f>>2]|0,1)|0;c[e>>2]=f;do if((f|0)!=0?(a[f>>0]|0)!=0:0){g=In(e)|0;e=c[d>>2]|0;d=((g|0)<0)<<31>>31;f=e+8|0;if(!(b[f>>1]&9312)){c[e>>2]=g;c[e+4>>2]=d;b[f>>1]=4;break}else{Vg(e,g,d);break}}while(0);i=h;return}function fj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;i=Pc(d<<2|1)|0;if(!i)Nd(b);else{if((d|0)>0){h=0;f=i;do{g=Rg(c[e+(h<<2)>>2]|0)|0;j=C;g=j>>>0>0|(j|0)==0&g>>>0>1114111?65533:g&2097151;do if(g>>>0>=128){if(g>>>0<2048){a[f>>0]=g>>>6&31|192;a[f+1>>0]=g&63|128;f=f+2|0;break}if(g>>>0<65536){a[f>>0]=g>>>12&15|224;a[f+1>>0]=g>>>6&63|128;a[f+2>>0]=g&63|128;f=f+3|0;break}else{a[f>>0]=g>>>18|240;a[f+1>>0]=g>>>12&63|128;a[f+2>>0]=g>>>6&63|128;a[f+3>>0]=g&63|128;f=f+4|0;break}}else{a[f>>0]=g;f=f+1|0}while(0);h=h+1|0}while((h|0)!=(d|0))}else f=i;f=f-i|0;Fd(b,i,f,((f|0)<0)<<31>>31,1,1)}return}function gj(f,g,h){f=f|0;g=g|0;h=h|0;var i=0.0,j=0,k=0;g=c[h>>2]|0;h=d[10064+((e[g+8>>1]|0)&31)>>0]|0;a:do if((h|0)==5){h=c[f>>2]|0;g=h+8|0;if(!(b[g>>1]&9312)){b[g>>1]=1;break}else{rg(h);break}}else if((h|0)==1){g=Rg(g)|0;j=C;do if((j|0)<0)if((g|0)==0&(j|0)==-2147483648){c[f+20>>2]=1;a[f+25>>0]=1;Tg(c[f>>2]|0,20248,-1,1,-1)|0;break a}else{g=$v(0,0,g|0,j|0)|0;k=C;break}else k=j;while(0);h=c[f>>2]|0;j=h+8|0;if(!(b[j>>1]&9312)){c[h>>2]=g;c[h+4>>2]=k;b[j>>1]=4;break}else{Vg(h,g,k);break}}else{i=+Qg(g);if(i<0.0)i=-i;Ug(c[f>>2]|0,i)}while(0);return}function hj(b,d,f){b=b|0;d=d|0;f=f|0;var g=0.0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+32|0;if((i|0)>=(j|0))ba();o=q+8|0;p=q;if((d|0)==2){d=c[f+4>>2]|0;if(!(-1431655766>>>(e[d+8>>1]&31)&1)){n=Rg(d)|0;n=(n|0)>30?30:n;n=(n|0)<0?0:n;m=4}}else{n=0;m=4}a:do if((m|0)==4?(l=c[f>>2]|0,(-1431655766>>>(e[l+8>>1]&31)&1|0)==0):0){g=+Qg(l);h[p>>3]=g;d=(n|0)==0;do if(d&g>=0.0&g<9223372036854775808.0){g=g+.5;g=+(~~g>>>0>>>0)+4294967296.0*+((+N(g)>=1.0?(g>0.0?~~+$(+M(g/4294967296.0),4294967295.0)>>>0:~~+Z((g-+(~~g>>>0))/4294967296.0)>>>0):0)|0);h[p>>3]=g}else{if(d&g<0.0&g>-9223372036854775808.0){g=.5-g;g=-(+(~~g>>>0>>>0)+4294967296.0*+((+N(g)>=1.0?(g>0.0?~~+$(+M(g/4294967296.0),4294967295.0)>>>0:~~+Z((g-+(~~g>>>0))/4294967296.0)>>>0):0)|0));h[p>>3]=g;break}c[o>>2]=n;d=o+4|0;h[k>>3]=g;c[d>>2]=c[k>>2];c[d+4>>2]=c[k+4>>2];d=Wc(20312,o)|0;if(!d){Nd(b);break a}else l=d;while(1)if(!(a[l>>0]|0))break;else l=l+1|0;Pl(d,p,l-d&1073741823,1)|0;Sc(d);g=+h[p>>3]}while(0);Ug(c[b>>2]|0,g)}while(0);i=q;return}function ij(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=Og(c[f>>2]|0,1)|0;e=Pg(c[f>>2]|0,1)|0;if((g|0)!=0?(h=fw(e|0,((e|0)<0)<<31>>31|0,1,0)|0,h=go(b,h,C)|0,(h|0)!=0):0){if((e|0)>0){f=0;do{i=d[g+f>>0]|0;a[h+f>>0]=((d[10368+i>>0]|0|223)^32)&i;f=f+1|0}while((f|0)!=(e|0))}Sg(b,h,e,1,1)}return}function jj(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0;g=Og(c[f>>2]|0,1)|0;e=Pg(c[f>>2]|0,1)|0;if((g|0)!=0?(h=fw(e|0,((e|0)<0)<<31>>31|0,1,0)|0,h=go(b,h,C)|0,(h|0)!=0):0){if((e|0)>0){f=0;do{a[h+f>>0]=a[9328+(d[g+f>>0]|0)>>0]|0;f=f+1|0}while((f|0)!=(e|0))}Sg(b,h,e,1,1)}return}function kj(a,b,c){a=a|0;b=b|0;c=c|0;Sg(a,8632,-1,1,0);return}function lj(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;e=ld(c[f>>2]|0)|0;i=Pg(c[f>>2]|0,1)|0;j=ew(i|0,((i|0)<0)<<31>>31|0,1)|0;j=go(b,j|1,C)|0;if(j){if((i|0)>0){g=i<<1;h=0;f=j;while(1){k=d[e>>0]|0;a[f>>0]=a[20288+(k>>>4)>>0]|0;a[f+1>>0]=a[20288+(k&15)>>0]|0;h=h+1|0;if((h|0)==(i|0))break;else{e=e+1|0;f=f+2|0}}f=j+g|0}else f=j;a[f>>0]=0;Sg(b,j,i<<1,1,1)}return}function mj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();d=h;_c(8,d);f=d;e=c[f>>2]|0;f=c[f+4>>2]|0;if((f|0)<0){g=$v(0,0,e|0,f&2147483647|0)|0;f=C;c[d>>2]=g;c[d+4>>2]=f}else g=e;e=c[a>>2]|0;d=e+8|0;if(!(b[d>>1]&9312)){c[e>>2]=g;c[e+4>>2]=f;b[d>>1]=4}else Vg(e,g,f);i=h;return}function nj(a,b,d){a=a|0;b=b|0;d=d|0;d=Rg(c[d>>2]|0)|0;d=(d|0)<1?1:d;b=go(a,d,((d|0)<0)<<31>>31)|0;if(b){_c(d,b);Sg(a,b,d,0,1)}return}function oj(a,b,d){a=a|0;b=b|0;d=d|0;if(dm(c[d>>2]|0,c[d+4>>2]|0,c[(c[(c[a+12>>2]|0)+4>>2]|0)+(((c[a+16>>2]|0)+-1|0)*20|0)+16>>2]|0)|0)Wg(c[a>>2]|0,c[d>>2]|0)|0;return}function pj(a,b,c){a=a|0;b=b|0;c=c|0;Sg(a,10768,-1,1,0);return}function qj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;b=i;i=i+16|0;if((i|0)>=(j|0))ba();a=b;e=Rg(c[d>>2]|0)|0;c[a>>2]=Og(c[d+4>>2]|0,1)|0;Zc(e,10344,a);i=b;return}function rj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;d=Og(c[e>>2]|0,1)|0;do if(d){f=Ac(d)|0;e=c[a>>2]|0;d=((f|0)<0)<<31>>31;a=e+8|0;if(!(b[a>>1]&9312)){c[e>>2]=f;c[e+4>>2]=d;b[a>>1]=4;break}else{Vg(e,f,d);break}}while(0);return}function sj(a,b,d){a=a|0;b=b|0;d=d|0;b=Rg(c[d>>2]|0)|0;if(b>>>0<4)b=c[8648+(b<<2)>>2]|0;else b=0;Sg(a,b,-1,1,0);return}function tj(b,f,g){b=b|0;f=f|0;g=g|0;var l=0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+80|0;if((i|0)>=(j|0))ba();f=s+8|0;l=s;p=s+16|0;o=c[g>>2]|0;n=d[10064+(e[o+8>>1]&31)>>0]|0;if((n|0)==3){r=Og(o,1)|0;if(r){f=0;l=0;n=0;while(1){o=a[r+n>>0]|0;if(o<<24>>24==39){o=fw(f|0,l|0,1,0)|0;l=C}else if(!(o<<24>>24)){o=l;break}else o=f;f=o;n=n+1|0}q=fw(f|0,o|0,3,0)|0;q=fw(q|0,C|0,n|0,((n|0)<0)<<31>>31|0)|0;q=go(b,q,C)|0;if(q){a[q>>0]=39;l=a[r>>0]|0;f=q+1|0;if(!(l<<24>>24))n=2;else{p=r;n=2;o=0;g=1;do{a[f>>0]=l;if((a[p>>0]|0)==39){a[q+n>>0]=39;g=g+2|0}else g=n;o=o+1|0;p=r+o|0;l=a[p>>0]|0;n=g+1|0;f=q+g|0}while(l<<24>>24!=0)}a[f>>0]=39;a[q+n>>0]=0;Sg(b,q,n,1,1)}}}else if((n|0)==1)Wg(c[b>>2]|0,o)|0;else if((n|0)==2){m=+Qg(o);h[k>>3]=m;c[f>>2]=c[k>>2];c[f+4>>2]=c[k+4>>2];Yc(50,p,20272,f)|0;Pl(p,l,20,1)|0;if(m!=+h[l>>3]){h[k>>3]=m;c[f>>2]=c[k>>2];c[f+4>>2]=c[k+4>>2];Yc(50,p,20280,f)|0}Sg(b,p,-1,1,-1)}else if((n|0)==4){o=ld(o)|0;f=Pg(c[g>>2]|0,1)|0;l=ew(f|0,((f|0)<0)<<31>>31|0,1)|0;l=fw(l|0,C|0,4,0)|0;l=go(b,l,C)|0;if(l){if((f|0)>0){n=0;do{g=o+n|0;p=n<<1;a[l+(p+2)>>0]=a[20288+((d[g>>0]|0)>>>4)>>0]|0;a[l+(p+3)>>0]=a[20288+(d[g>>0]&15)>>0]|0;n=n+1|0}while((n|0)!=(f|0))}f=f<<1;a[l+(f+2)>>0]=39;a[l+(f+3)>>0]=0;a[l>>0]=88;a[l+1>>0]=39;Sg(b,l,-1,1,-1);Sc(l)}}else Sg(b,20304,4,1,0);i=s;return}function uj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;a=c[a>>2]|0;f=(c[a+32>>2]|0)+32|0;d=c[f>>2]|0;f=c[f+4>>2]|0;e=a+8|0;if(!(b[e>>1]&9312)){c[a>>2]=d;c[a+4>>2]=f;b[e>>1]=4}else Vg(a,d,f);return}function vj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;a=c[a>>2]|0;e=c[(c[a+32>>2]|0)+80>>2]|0;d=((e|0)<0)<<31>>31;f=a+8|0;if(!(b[f>>1]&9312)){c[a>>2]=e;c[a+4>>2]=d;b[f>>1]=4}else Vg(a,e,d);return}function wj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;a=c[a>>2]|0;e=c[(c[a+32>>2]|0)+84>>2]|0;d=((e|0)<0)<<31>>31;f=a+8|0;if(!(b[f>>1]&9312)){c[a>>2]=e;c[a+4>>2]=d;b[f>>1]=4}else Vg(a,e,d);return}function xj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;t=Og(c[e>>2]|0,1)|0;a:do if((t|0)!=0?(u=Pg(c[e>>2]|0,1)|0,g=e+4|0,s=Og(c[g>>2]|0,1)|0,(s|0)!=0):0){if(!(a[s>>0]|0)){Wg(c[b>>2]|0,c[e>>2]|0)|0;break}q=Pg(c[g>>2]|0,1)|0;g=e+8|0;p=Og(c[g>>2]|0,1)|0;if((p|0)!=0?(r=Pg(c[g>>2]|0,1)|0,h=u+1|0,i=((h|0)<0)<<31>>31,f=go(b,h,i)|0,(f|0)!=0):0){l=u-q|0;b:do if((l|0)>=0){m=r-q|0;n=((m|0)<0)<<31>>31;o=q+-1|0;e=0;k=0;while(1){g=t+e|0;d=a[g>>0]|0;if(d<<24>>24==(a[s>>0]|0)?(Vv(g,s,q)|0)==0:0){d=c[b>>2]|0;j=c[d+32>>2]|0;h=fw(h|0,i|0,m|0,n|0)|0;i=C;g=fw(h|0,i|0,-1,-1)|0;w=C;j=c[j+88>>2]|0;v=((j|0)<0)<<31>>31;if((w|0)>(v|0)|(w|0)==(v|0)&g>>>0>j>>>0){g=13;break}j=Tc(f,h)|0;if(!j){g=15;break}gw(j+k|0,p|0,r|0)|0;g=o+e|0;d=k+r|0;f=j}else{a[f+k>>0]=d;g=e;d=k+1|0}e=g+1|0;if((g|0)<(l|0))k=d;else break b}if((g|0)==13){c[b+20>>2]=18;a[b+25>>0]=1;Tg(d,10096,-1,1,0)|0;Sc(f);break a}else if((g|0)==15){Nd(b);Sc(f);break a}}else{e=0;d=0}while(0);m=u-e|0;gw(f+d|0,t+e|0,m|0)|0;m=d+m|0;a[f+m>>0]=0;Sg(b,f,m,1,1)}}while(0);return}function yj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=c[(c[b>>2]|0)+32>>2]|0;d=Rg(c[e>>2]|0)|0;g=C;e=c[f+88>>2]|0;f=((e|0)<0)<<31>>31;if((g|0)>(f|0)|(g|0)==(f|0)&d>>>0>e>>>0){c[b+20>>2]=18;a[b+25>>0]=1;Tg(c[b>>2]|0,10096,-1,1,0)|0}else Xg(c[b>>2]|0,d);return}function zj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;f=Og(c[e>>2]|0,1)|0;g=c[(c[b>>2]|0)+32>>2]|0;c[h>>2]=0;if((d|0)==2)d=Og(c[e+4>>2]|0,1)|0;else d=0;if((f|0)!=0?(Pe(g,f,d,h)|0)!=0:0){d=c[h>>2]|0;c[b+20>>2]=1;a[b+25>>0]=1;Tg(c[b>>2]|0,d,-1,1,-1)|0;Sc(c[h>>2]|0)}i=k;return}function Aj(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,l=0.0,m=0,n=0,o=0;e=c[d+8>>2]|0;if(!(b[e+8>>1]&8192))g=hh(d,32)|0;else g=c[e+16>>2]|0;d=De(c[f>>2]|0)|0;do if((g|0)!=0&(d|0)!=5){e=g+16|0;i=e;i=fw(c[i>>2]|0,c[i+4>>2]|0,1,0)|0;c[e>>2]=i;c[e+4>>2]=C;e=c[f>>2]|0;if((d|0)!=1){l=+Qg(e);h[g>>3]=l+ +h[g>>3];a[g+25>>0]=1;break}i=Rg(e)|0;j=C;h[g>>3]=+h[g>>3]+(+(i>>>0)+4294967296.0*+(j|0));k=g+24|0;if(!((a[k>>0]|a[g+25>>0])<<24>>24)){g=g+8|0;d=g;f=c[d>>2]|0;d=c[d+4>>2]|0;if((j|0)>-1|(j|0)==-1&i>>>0>4294967295){e=$v(-1,2147483647,f|0,d|0)|0;m=C;if(((d|0)>0|(d|0)==0&f>>>0>0)&((m|0)<(j|0)|(m|0)==(j|0)&e>>>0<i>>>0))e=12;else e=11}else if((d|0)<0?(m=$v(1,-2147483648,f|0,d|0)|0,o=C,e=fw(i|0,j|0,1,0)|0,n=C,(o|0)>(n|0)|(o|0)==(n|0)&m>>>0>e>>>0):0)e=12;else e=11;if((e|0)==11){d=fw(f|0,d|0,i|0,j|0)|0;e=g;c[e>>2]=d;c[e+4>>2]=C;break}else if((e|0)==12){a[k>>0]=1;break}}}while(0);return}function Bj(d){d=d|0;var e=0,f=0,g=0;e=c[d+8>>2]|0;if(!(b[e+8>>1]&8192))e=hh(d,0)|0;else e=c[e+16>>2]|0;do if((e|0)!=0?(f=e+16|0,g=c[f+4>>2]|0,(g|0)>0|(g|0)==0&(c[f>>2]|0)>>>0>0):0){if(a[e+24>>0]|0){c[d+20>>2]=1;a[d+25>>0]=1;Tg(c[d>>2]|0,20248,-1,1,-1)|0;break}if(a[e+25>>0]|0){Ug(c[d>>2]|0,+h[e>>3]);break}g=e+8|0;f=c[g>>2]|0;g=c[g+4>>2]|0;e=c[d>>2]|0;d=e+8|0;if(!(b[d>>1]&9312)){c[e>>2]=f;c[e+4>>2]=g;b[d>>1]=4;break}else{Vg(e,f,g);break}}while(0);return}function Cj(a){a=a|0;var d=0,e=0.0;d=c[a+8>>2]|0;if(!(b[d+8>>1]&8192))d=hh(a,0)|0;else d=c[d+16>>2]|0;if(!d)e=0.0;else e=+h[d>>3];Ug(c[a>>2]|0,e);return}function Dj(a){a=a|0;var d=0,e=0,f=0;d=c[a+8>>2]|0;if(!(b[d+8>>1]&8192))d=hh(a,0)|0;else d=c[d+16>>2]|0;if((d|0)!=0?(f=d+16|0,e=c[f>>2]|0,f=c[f+4>>2]|0,(f|0)>0|(f|0)==0&e>>>0>0):0)Ug(c[a>>2]|0,+h[d>>3]/(+(e>>>0)+4294967296.0*+(f|0)));return}function Ej(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0;g=c[a+8>>2]|0;if(!(b[g+8>>1]&8192))g=hh(a,8)|0;else g=c[g+16>>2]|0;if(!d){if(g)h=7}else if((g|0)!=0?(1431655765>>>((e[(c[f>>2]|0)+8>>1]|0)&31)&1|0)!=0:0)h=7;if((h|0)==7){a=g;a=fw(c[a>>2]|0,c[a+4>>2]|0,1,0)|0;c[g>>2]=a;c[g+4>>2]=C}return}function Fj(a){a=a|0;var d=0,e=0,f=0;d=c[a+8>>2]|0;if(!(b[d+8>>1]&8192))d=hh(a,0)|0;else d=c[d+16>>2]|0;if(!d){e=0;f=0}else{f=d;e=c[f>>2]|0;f=c[f+4>>2]|0}d=c[a>>2]|0;a=d+8|0;if(!(b[a>>1]&9312)){c[d>>2]=e;c[d+4>>2]=f;b[a>>1]=4}else Vg(d,e,f);return}function Gj(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0;if(!(-1431655766>>>(e[(c[g>>2]|0)+8>>1]&31)&1)){h=c[d+8>>2]|0;if(!(b[h+8>>1]&8192))i=hh(d,28)|0;else i=c[h+16>>2]|0;if(i){d=c[(c[d>>2]|0)+32>>2]|0;j=i+24|0;h=(a[j>>0]|0)==0;a[j>>0]=2;c[i+20>>2]=c[d+88>>2];do if(!h){if((f|0)==2){f=g+4|0;h=Og(c[f>>2]|0,1)|0;f=Pg(c[f>>2]|0,1)|0;if(!f)break}else{f=1;h=20240}Ok(i,h,f)}while(0);h=Og(c[g>>2]|0,1)|0;f=Pg(c[g>>2]|0,1)|0;if(h)Ok(i,h,f)}}return}function Hj(d){d=d|0;var e=0,f=0;e=c[d+8>>2]|0;if(!(b[e+8>>1]&8192))e=hh(d,0)|0;else e=c[e+16>>2]|0;do if(e){f=a[e+25>>0]|0;if(f<<24>>24==2){c[d+20>>2]=18;a[d+25>>0]=1;Tg(c[d>>2]|0,10096,-1,1,0)|0;break}else if(f<<24>>24==1){Nd(d);break}else{Sg(d,pg(e)|0,-1,1,1);break}}while(0);return}function Ij(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();h=l;m=c[(c[d>>2]|0)+32>>2]|0;g=Og(c[f>>2]|0,1)|0;k=Og(c[f+4>>2]|0,1)|0;n=Pg(c[f>>2]|0,1)|0;a:do if((n|0)<=(c[m+120>>2]|0)){do if((e|0)==3){f=Og(c[f+8>>2]|0,1)|0;c[h>>2]=f;if(!f)break a;if((Jn(f,-1)|0)==1){f=In(h)|0;break}else{c[d+20>>2]=1;a[d+25>>0]=1;Tg(c[d>>2]|0,20192,-1,1,-1)|0;break a}}else f=0;while(0);if((k|0)!=0&(g|0)!=0){e=Ch(g,k,c[(c[d+4>>2]|0)+4>>2]|0,f)|0;g=c[d>>2]|0;h=((e|0)<0)<<31>>31;f=g+8|0;if(!(b[f>>1]&9312)){c[g>>2]=e;c[g+4>>2]=h;b[f>>1]=4;break}else{Vg(g,e,h);break}}}else{c[d+20>>2]=1;a[d+25>>0]=1;Tg(c[d>>2]|0,20152,-1,1,-1)|0}while(0);i=l;return}function Jj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+32|0;if((i|0)>=(j|0))ba();o=p;k=p+16|0;n=Og(c[e>>2]|0,1)|0;l=Og(c[e+4>>2]|0,1)|0;m=c[(c[b>>2]|0)+32>>2]|0;a:do if((n|0)!=0?(a[n>>0]|0)!=0:0){d=0;e=n;b:while(1){g=d;f=e;while(1){f=f+g|0;h=yn(f,k)|0;g=c[k>>2]|0;if((g|0)==22|(g|0)==125)break b;else if((g|0)==151)g=h;else{e=f;d=h;break}}if(!(a[e>>0]|0))break a}c[o>>2]=e-n;c[o+4>>2]=n;c[o+8>>2]=l;c[o+12>>2]=e+d;Sg(b,qh(m,19464,o)|0,-1,1,75)}while(0);i=p;return}function Kj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+32|0;if((i|0)>=(j|0))ba();q=r;m=r+16|0;p=Og(c[e>>2]|0,1)|0;n=Og(c[e+4>>2]|0,1)|0;o=c[(c[b>>2]|0)+32>>2]|0;a:do if((p|0)!=0?(a[p>>0]|0)!=0:0){l=3;d=0;e=p;while(1){g=d;f=e;do{f=f+g|0;g=yn(f,m)|0;h=c[m>>2]|0}while((h|0)==151);k=g;g=(h|0)==122|(h|0)==107?0:l+1|0;if((g|0)==2)if((h|0)==5|(h|0)==46|(h|0)==137)break;else e=2;else e=g;if(!(a[f>>0]|0))break a;else{l=e;d=k;e=f}}c[q>>2]=e-p;c[q+4>>2]=p;c[q+8>>2]=n;c[q+12>>2]=e+d;Sg(b,qh(o,19464,q)|0,-1,1,75)}while(0);i=r;return}function Lj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=i;i=i+32|0;if((i|0)>=(j|0))ba();q=r;o=r+16|0;p=c[(c[b>>2]|0)+32>>2]|0;f=Og(c[e>>2]|0,1)|0;n=Og(c[e+4>>2]|0,1)|0;m=Og(c[e+8>>2]|0,1)|0;if(!((f|0)==0|(n|0)==0)){a:do if(!(a[f>>0]|0))d=0;else{g=f;d=0;do{e=yn(g,o)|0;if((c[o>>2]|0)==105){k=g;while(1){g=k+e|0;h=yn(g,o)|0;if((c[o>>2]|0)==151){e=h;k=g}else break}if(!g)break a;l=fw(h|0,((h|0)<0)<<31>>31|0,1,0)|0;l=ih(p,l,C)|0;if(!l)break a;gw(l|0,g|0,h|0)|0;a[l+h>>0]=0;ho(l);if(!($c(n,l)|0)){c[q>>2]=(d|0)!=0?d:10360;c[q+4>>2]=g-f;c[q+8>>2]=f;c[q+12>>2]=m;s=qh(p,19440,q)|0;ig(p,d);f=k+(h+e)|0;d=s}ig(p,l);e=h}g=g+e|0}while((a[g>>0]|0)!=0)}while(0);c[q>>2]=(d|0)!=0?d:10360;c[q+4>>2]=f;Sg(b,qh(p,19456,q)|0,-1,1,75);ig(p,d)}i=r;return}function Mj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+48|0;if((i|0)>=(j|0))ba();e=f;if(!(io(a,b,d,e)|0)){jo(e);b=e;Ug(c[a>>2]|0,(+((c[b>>2]|0)>>>0)+4294967296.0*+(c[b+4>>2]|0))/864.0e5)}i=f;return}function Nj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+160|0;if((i|0)>=(j|0))ba();e=h+48|0;f=h;g=h+60|0;if(!(io(a,b,d,f)|0)){ko(f);d=c[f+12>>2]|0;b=c[f+16>>2]|0;c[e>>2]=c[f+8>>2];c[e+4>>2]=d;c[e+8>>2]=b;Yc(100,g,20136,e)|0;Sg(a,g,-1,1,-1)}i=h;return}function Oj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,k=0;k=i;i=i+160|0;if((i|0)>=(j|0))ba();e=k+48|0;f=k;g=k+60|0;if(!(io(a,b,d,f)|0)){lo(f);d=c[f+24>>2]|0;b=~~+h[f+32>>3];c[e>>2]=c[f+20>>2];c[e+4>>2]=d;c[e+8>>2]=b;Yc(100,g,20120,e)|0;Sg(a,g,-1,1,-1)}i=k;return}function Pj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,k=0,l=0,m=0,n=0;k=i;i=i+176|0;if((i|0)>=(j|0))ba();e=k+48|0;f=k;g=k+72|0;if(!(io(a,b,d,f)|0)){ko(f);lo(f);n=c[f+12>>2]|0;m=c[f+16>>2]|0;l=c[f+20>>2]|0;d=c[f+24>>2]|0;b=~~+h[f+32>>3];c[e>>2]=c[f+8>>2];c[e+4>>2]=n;c[e+8>>2]=m;c[e+12>>2]=l;c[e+16>>2]=d;c[e+20>>2]=b;Yc(100,g,20088,e)|0;Sg(a,g,-1,1,-1)}i=k;return}function Qj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0.0;D=i;i=i+208|0;if((i|0)>=(j|0))ba();y=D+96|0;z=D+48|0;B=D+104|0;A=D;a:do if(((d|0)!=0?(x=Og(c[e>>2]|0,1)|0,(x|0)!=0):0)?(io(b,d+-1|0,e+4|0,z)|0)==0:0){m=c[b>>2]|0;l=c[m+32>>2]|0;e=1;d=0;g=0;b:while(1){f=a[x+g>>0]|0;c:do if(f<<24>>24==37){f=g+1|0;switch(a[x+f>>0]|0){case 106:{e=fw(e|0,d|0,3,0)|0;d=C;break c}case 89:{e=fw(e|0,d|0,8,0)|0;d=C;break c}case 74:case 115:{e=fw(e|0,d|0,50,0)|0;d=C;break c}case 37:case 119:break c;case 87:case 83:case 77:case 109:case 72:case 100:{e=fw(e|0,d|0,1,0)|0;d=C;break c}case 102:{e=fw(e|0,d|0,8,0)|0;d=C;break c}default:break a}}else if(!(f<<24>>24))break b;else f=g;while(0);e=fw(e|0,d|0,1,0)|0;d=C;g=f+1|0}if(!(d>>>0<0|(d|0)==0&e>>>0<100)){w=c[l+88>>2]|0;v=((w|0)<0)<<31>>31;if(d>>>0>v>>>0|(d|0)==(v|0)&e>>>0>w>>>0){c[b+20>>2]=18;a[b+25>>0]=1;Tg(m,10096,-1,1,0)|0;break}d=aw(0,e|0,32)|0;d=ih(l,d,C)|0;if(!d){Nd(b);break}else w=d}else w=B;jo(z);ko(z);lo(z);n=z+16|0;o=z+32|0;p=z+20|0;q=A+42|0;r=A+12|0;s=A+16|0;t=z+12|0;u=z+24|0;v=z+8|0;l=0;d=0;d:while(1){m=a[x+l>>0]|0;e:do if(!(m<<24>>24))break d;else if(m<<24>>24==37){l=l+1|0;e=x+l|0;do switch(a[e>>0]|0){case 106:case 87:{m=A+0|0;g=z+0|0;f=m+48|0;do{c[m>>2]=c[g>>2];m=m+4|0;g=g+4|0}while((m|0)<(f|0));a[q>>0]=0;c[r>>2]=1;c[s>>2]=1;jo(A);m=z;f=A;E=c[f>>2]|0;f=c[f+4>>2]|0;m=fw(c[m>>2]|0,c[m+4>>2]|0,432e5,0)|0;g=C;f=mw($v(m|0,g|0,E|0,f|0)|0,C|0,864e5,0)|0;if((a[e>>0]|0)==87){e=mw(m|0,g|0,864e5,0)|0;e=nw(e|0,C|0,7,0)|0;c[y>>2]=(f+7-e|0)/7|0;Yc(3,w+d|0,19888,y)|0;d=d+2|0;break e}else{c[y>>2]=f+1;Yc(4,w+d|0,19904,y)|0;d=d+3|0;break e}}case 102:{F=+h[o>>3];g=w+d|0;h[k>>3]=F>59.999?59.999:F;c[y>>2]=c[k>>2];c[y+4>>2]=c[k+4>>2];Yc(7,g,19896,y)|0;if(!g)m=0;else{m=g;while(1)if(!(a[m>>0]|0))break;else m=m+1|0;m=m-g&1073741823}d=m+d|0;break e}case 100:{c[y>>2]=c[n>>2];Yc(3,w+d|0,19888,y)|0;d=d+2|0;break e}case 83:{c[y>>2]=~~+h[o>>3];Yc(3,w+d|0,19888,y)|0;d=d+2|0;break e}case 119:{e=z;e=fw(c[e>>2]|0,c[e+4>>2]|0,1296e5,0)|0;e=mw(e|0,C|0,864e5,0)|0;e=nw(e|0,C|0,7,0)|0;a[w+d>>0]=e+48;d=d+1|0;break e}case 89:{g=w+d|0;c[y>>2]=c[v>>2];Yc(5,g,19928,y)|0;if(!g)m=0;else{m=g;while(1)if(!(a[m>>0]|0))break;else m=m+1|0;m=m-g&1073741823}d=m+d|0;break e}case 72:{c[y>>2]=c[p>>2];Yc(3,w+d|0,19888,y)|0;d=d+2|0;break e}case 109:{c[y>>2]=c[t>>2];Yc(3,w+d|0,19888,y)|0;d=d+2|0;break e}case 77:{c[y>>2]=c[u>>2];Yc(3,w+d|0,19888,y)|0;d=d+2|0;break e}case 74:{g=w+d|0;e=z;h[k>>3]=(+((c[e>>2]|0)>>>0)+4294967296.0*+(c[e+4>>2]|0))/864.0e5;c[y>>2]=c[k>>2];c[y+4>>2]=c[k+4>>2];Yc(20,g,19912,y)|0;if(!g)m=0;else{m=g;while(1)if(!(a[m>>0]|0))break;else m=m+1|0;m=m-g&1073741823}d=m+d|0;break e}case 115:{g=w+d|0;f=z;f=mw(c[f>>2]|0,c[f+4>>2]|0,1e3,0)|0;f=fw(f|0,C|0,-413362496,-50)|0;e=y;c[e>>2]=f;c[e+4>>2]=C;Yc(30,g,19920,y)|0;if(!g)m=0;else{m=g;while(1)if(!(a[m>>0]|0))break;else m=m+1|0;m=m-g&1073741823}d=m+d|0;break e}default:{a[w+d>>0]=37;d=d+1|0;break e}}while(0)}else{a[w+d>>0]=m;d=d+1|0}while(0);l=l+1|0}a[w+d>>0]=0;Sg(b,w,-1,1,(w|0)==(B|0)?-1:75)}while(0);i=D;return}function Rj(a,b,c){a=a|0;b=b|0;c=c|0;Oj(a,0,0);return}function Sj(a,b,c){a=a|0;b=b|0;c=c|0;Pj(a,0,0);return}function Tj(a,b,c){a=a|0;b=b|0;c=c|0;Nj(a,0,0);return}function Uj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=Rg(c[d>>2]|0)|0;h=g+1&-2;e=Rg(c[d+4>>2]|0)|0;f=(h<<3)+56|0;d=c[(c[a>>2]|0)+32>>2]|0;b=ih(d,f,((f|0)<0)<<31>>31)|0;if(!b)Nd(a);else{bw(b|0,0,f|0)|0;c[b+52>>2]=d;c[b>>2]=0;c[b+8>>2]=g;c[b+12>>2]=e;d=b+56|0;c[b+24>>2]=d;c[b+20>>2]=d+(h<<2);Sg(a,b,56,0,20)}return}function Vj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=ld(c[d>>2]|0)|0;f=Rg(c[d+4>>2]|0)|0;if(!(c[g>>2]|0)){a=g+8|0;if((c[a>>2]|0)>0){b=c[g+20>>2]|0;d=0;do{c[b+(d<<2)>>2]=1;d=d+1|0}while((d|0)<(c[a>>2]|0))}}else{if((f|0)>0){a=c[g+20>>2]|0;d=0;do{b=a+(d<<2)|0;c[b>>2]=(c[b>>2]|0)+1;d=d+1|0}while((d|0)!=(f|0))}a=g+8|0;if((f|0)<(c[a>>2]|0)){b=c[g+24>>2]|0;e=c[g+20>>2]|0;d=f;do{f=b+(d<<2)|0;c[f>>2]=(c[f>>2]|0)+1;c[e+(d<<2)>>2]=1;d=d+1|0}while((d|0)<(c[a>>2]|0))}}c[g>>2]=(c[g>>2]|0)+1;return}function Wj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;h=ld(c[e>>2]|0)|0;k=h+12|0;e=((c[k>>2]|0)*25|0)+25|0;l=mg(e,((e|0)<0)<<31>>31)|0;if(!l)Nd(b);else{bw(l|0,0,e|0)|0;e=m;c[e>>2]=c[h>>2];c[e+4>>2]=0;Yc(24,l,28696,m)|0;e=l;while(1)if(!(a[e>>0]|0))break;else e=e+1|0;if((c[k>>2]|0)>0){f=h+24|0;g=0;d=l+(e-l&1073741823)|0;while(1){o=(c[(c[f>>2]|0)+(g<<2)>>2]|0)+1|0;e=c[h>>2]|0;p=fw(o|0,0,-1,-1)|0;e=fw(p|0,C|0,e|0,0)|0;o=pw(e|0,C|0,o|0,0)|0;e=m;c[e>>2]=o;c[e+4>>2]=C;Yc(24,d,28704,m)|0;if(!d)e=0;else{e=d;while(1)if(!(a[e>>0]|0))break;else e=e+1|0;e=e-d&1073741823}g=g+1|0;if((g|0)>=(c[k>>2]|0))break;else d=d+e|0}}Sg(b,l,-1,1,1)}i=n;return}function Xj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+144|0;if((i|0)>=(j|0))ba();l=n;m=n+8|0;h=Og(c[e>>2]|0,1)|0;k=c[(c[b>>2]|0)+32>>2]|0;h=(h|0)==0?10360:h;g=c[k+20>>2]|0;a:do if((g|0)>0){d=c[k+16>>2]|0;e=0;do{f=d+(e<<4)|0;if((c[d+(e<<4)+4>>2]|0)!=0?($c(c[f>>2]|0,h)|0)==0:0)break a;e=e+1|0}while((e|0)<(g|0))}else{e=0;f=0}while(0);do if((e|0)<(g|0)){if((e|0)<2){c[l>>2]=h;Yc(128,m,29256,l)|0;o=16;break}if(!(a[k+63>>0]|0)){Yc(128,m,29288,l)|0;o=16;break}e=f+4|0;d=c[e>>2]|0;if((a[d+8>>0]|0)==0?(c[d+16>>2]|0)==0:0){Il(d);c[e>>2]=0;c[f+12>>2]=0;Ag(k);break}c[l>>2]=h;Yc(128,m,29336,l)|0;o=16}else{c[l>>2]=h;Yc(128,m,29232,l)|0;o=16}while(0);if((o|0)==16){c[b+20>>2]=1;a[b+25>>0]=1;Tg(c[b>>2]|0,m,-1,1,-1)|0}i=n;return}function Yj(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+32|0;if((i|0)>=(j|0))ba();v=z;l=z+20|0;d=z+16|0;k=z+12|0;y=z+8|0;m=z+4|0;x=c[(c[b>>2]|0)+32>>2]|0;c[l>>2]=0;c[d>>2]=0;c[y>>2]=0;u=Og(c[f>>2]|0,1)|0;q=Og(c[f+4>>2]|0,1)|0;u=(u|0)==0?10360:u;q=(q|0)==0?10360:q;t=x+20|0;g=c[t>>2]|0;h=c[x+116>>2]|0;a:do if((g|0)<(h+2|0)){if(!(a[x+63>>0]|0)){g=qh(x,29456,v)|0;c[y>>2]=g;d=0;w=42;break}r=x+16|0;h=c[r>>2]|0;b:do if((g|0)>0){f=0;while(1){if(!($c(c[h+(f<<4)>>2]|0,q)|0))break;f=f+1|0;if((f|0)>=(g|0))break b}c[v>>2]=q;g=qh(x,29504,v)|0;c[y>>2]=g;d=0;w=42;break a}while(0);if((h|0)!=(x+456|0)){h=no(x,h,(g<<4)+16|0,0)|0;if(!h)break;else p=h}else{h=ih(x,48,0)|0;if(!h)break;p=c[r>>2]|0;c[h+0>>2]=c[p+0>>2];c[h+4>>2]=c[p+4>>2];c[h+8>>2]=c[p+8>>2];c[h+12>>2]=c[p+12>>2];c[h+16>>2]=c[p+16>>2];c[h+20>>2]=c[p+20>>2];c[h+24>>2]=c[p+24>>2];c[h+28>>2]=c[p+28>>2];p=h}c[r>>2]=p;n=c[t>>2]|0;o=p+(n<<4)|0;c[o+0>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;c[o+12>>2]=0;c[k>>2]=c[x+48>>2];h=Sn(c[(c[x>>2]|0)+16>>2]|0,u,k,m,l,d)|0;if(!h){h=c[k>>2]|256;c[k>>2]=h;l=c[l>>2]|0;k=p+(n<<4)+4|0;h=vm(c[m>>2]|0,l,x,k,0,h)|0;Sc(l);c[t>>2]=(c[t>>2]|0)+1;if((h|0)==19){c[y>>2]=qh(x,29536,v)|0;h=1}else if(!h){h=Tn(x,c[k>>2]|0)|0;c[p+(n<<4)+12>>2]=h;if(h)if((a[h+76>>0]|0)!=0?(a[h+77>>0]|0)!=(a[x+62>>0]|0):0){c[y>>2]=qh(x,13232,v)|0;h=1}else h=0;else h=7;d=c[k>>2]|0;f=c[d+4>>2]|0;c[f+4>>2]=c[d>>2];f=c[f>>2]|0;g=a[x+66>>0]|0;do if(!(a[f+12>>0]|0)){m=c[f+208>>2]|0;if((m|0)!=0?(a[m+43>>0]|0)==2:0)break;a[f+4>>0]=g}while(0);f=c[(c[r>>2]|0)+4>>2]|0;if(!f)f=0;else{m=c[f+4>>2]|0;c[m+4>>2]=c[f>>2];f=(e[m+22>>1]|0)>>>2&1}oo(d,f)|0;po(c[k>>2]|0,c[x+24>>2]&28|3)}a[p+(n<<4)+8>>0]=3;d=gh(x,q)|0;c[o>>2]=d;d=(h|0)==0&(d|0)==0?7:h;if(!d){f=c[t>>2]|0;if((f|0)>0){g=c[r>>2]|0;h=0;do{d=c[g+(h<<4)+4>>2]|0;if(d)c[(c[d+4>>2]|0)+4>>2]=c[d>>2];h=h+1|0}while((h|0)!=(f|0))}d=Vh(x,y)|0;if(!d)break}g=(c[t>>2]|0)+-1|0;f=c[(c[r>>2]|0)+(g<<4)+4>>2]|0;if(f){Il(f);p=c[r>>2]|0;c[p+(g<<4)+4>>2]=0;c[p+(g<<4)+12>>2]=0}Ag(x);c[t>>2]=g;if((d|0)==7|(d|0)==3082){a[x+65>>0]=1;ig(x,c[y>>2]|0);g=qh(x,15776,v)|0;c[y>>2]=g;w=42;break}g=c[y>>2]|0;if(g){w=43;break}c[v>>2]=u;g=qh(x,29568,v)|0;c[y>>2]=g;w=42;break}else if((h|0)==7)a[x+65>>0]=1;p=c[d>>2]|0;c[b+20>>2]=1;a[b+25>>0]=1;Tg(c[b>>2]|0,p,-1,1,-1)|0;Sc(p)}else{c[v>>2]=h;g=qh(x,29416,v)|0;c[y>>2]=g;d=0;w=42}while(0);if((w|0)==42)if(!g){s=d;w=44}else w=43;if((w|0)==43){c[b+20>>2]=1;a[b+25>>0]=1;Tg(c[b>>2]|0,g,-1,1,-1)|0;ig(x,c[y>>2]|0);s=d;w=44}if((w|0)==44?(s|0)!=0:0)Ld(b,s);i=z;return}function Zj(a){a=a|0;if(a){ek(a,0)|0;Sc(c[a+24>>2]|0);qo(a)}return 0}function _j(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;l=a+12|0;g=d&131071;k=b;i=f;j=0;a:while(1){while(1){f=_a(c[l>>2]|0,e|0,0)|0;if(!((f|0)==(e|0)&(((f|0)<0)<<31>>31|0)==(i|0))){e=4;break a}h=Yb[c[47552+100>>2]&63](c[l>>2]|0,k,g)|0;if((g|0)==(h|0)){f=j;e=13;break a}if((h|0)>=0){f=h;break}f=c[(Db()|0)>>2]|0;if((f|0)!=4){g=h;e=10;break a}}if((f|0)<=0){g=0;f=j;e=13;break}h=fw(f|0,((f|0)<0)<<31>>31|0,e|0,i|0)|0;g=g-f|0;k=k+f|0;i=C;e=h;j=f+j|0}do if((e|0)==4)if((f|0)==-1){c[a+20>>2]=c[(Db()|0)>>2];f=-1;break}else{c[a+20>>2]=0;f=-1;break}else if((e|0)==10){c[a+20>>2]=f;f=0;e=13}while(0);if((e|0)==13)f=f+g|0;if((f|0)!=(d|0))if((f|0)<0)f=266;else{c[a+20>>2]=0;bw(b+f|0,0,d-f|0)|0;f=522}else f=0;return f|0}function $j(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a:do if((d|0)>0){h=a+12|0;i=a+20|0;g=d;while(1){d=ro(c[h>>2]|0,e,f,b,g,i)|0;if((d|0)<=0)break;g=g-d|0;e=fw(d|0,((d|0)<0)<<31>>31|0,e|0,f|0)|0;if((g|0)<=0){d=0;break a}else{b=b+d|0;f=C}}if((d|0)<0?(c[i>>2]|0)!=28:0){d=778;break}c[a+20>>2]=0;d=13}else d=0;while(0);return d|0}function ak(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[a+40>>2]|0;if((e|0)>0){f=((e|0)<0)<<31>>31;d=fw(b|0,d|0,-1,-1)|0;d=fw(d|0,C|0,e|0,f|0)|0;b=C;e=nw(d|0,b|0,e|0,f|0)|0;e=$v(d|0,b|0,e|0,C|0)|0}else e=b;d=c[a+12>>2]|0;while(1){b=nc[c[47552+76>>2]&127](d,e)|0;if((b|0)>=0){e=6;break}b=Db()|0;if((c[b>>2]|0)!=4){e=8;break}}if((e|0)==6)if(!b)b=0;else{b=Db()|0;e=8}if((e|0)==8){c[a+20>>2]=c[b>>2];b=_n(1546,47928,c[a+32>>2]|0,29004)|0}return b|0}function bk(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();g=k;if(!(Cb(c[a+12>>2]|0)|0)){h=a+18|0;if(!(b[h>>1]&8))d=0;else{d=nc[c[47552+208>>2]&127](c[a+32>>2]|0,g)|0;f=c[g>>2]|0;if((d|0)==0&(f|0)>-1){Cb(f|0)|0;Yn(a,c[g>>2]|0,28974);d=0}else d=(d|0)==14?0:d;b[h>>1]=(e[h>>1]|0)&65527}}else{c[a+20>>2]=c[(Db()|0)>>2];d=_n(1034,48360,c[a+32>>2]|0,28960)|0}i=k;return d|0}function ck(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=i;i=i+80|0;if((i|0)>=(j|0))ba();d=e;if(!(nc[c[47552+64>>2]&127](c[a+12>>2]|0,d)|0)){a=c[d+36>>2]|0;f=(a|0)==1;d=b;c[d>>2]=f?0:a;c[d+4>>2]=f?0:((a|0)<0)<<31>>31;d=0}else{c[a+20>>2]=c[(Db()|0)>>2];d=1802}i=e;return d|0}function dk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;f=c[b+24>>2]|0;g=b+16|0;a:do if(!(a[g>>0]|0)){e=nc[c[47552+220>>2]&127](f,511)|0;if((e|0)>=0){a[g>>0]=d;break}f=c[(Db()|0)>>2]|0;switch(f|0){case 1:{e=3;break}case 13:case 37:case 4:case 16:case 110:case 11:case 17:{e=5;break a}default:e=3850}c[b+20>>2]=f}else{a[g>>0]=d;Ua(f|0,0)|0;e=0}while(0);return e|0}function ek(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;g=c[b+24>>2]|0;h=b+16|0;a:do if((d[h>>0]|0|0)==(e|0))f=0;else{if((e|0)==1){a[h>>0]=1;f=0;break}do if((hc[c[47552+232>>2]&127](g)|0)<0){f=Db()|0;e=c[f>>2]|0;if((e|0)==20){if((hc[c[47552+196>>2]&127](g)|0)>=0)break;e=c[f>>2]|0}g=(e|0)!=2;f=g?2058:0;if(!g)break a;c[b+20>>2]=e;break a}while(0);a[h>>0]=0;f=0}while(0);return f|0}function fk(a,b){a=a|0;b=b|0;if((d[a+16>>0]|0)>1)a=1;else a=(nc[c[47552+28>>2]&127](c[a+24>>2]|0,0)|0)==0&1;c[b>>2]=a;return 0}function gk(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+80|0;if((i|0)>=(j|0))ba();g=n;a:do switch(b|0){case 6:{c[a+40>>2]=c[e>>2];f=0;break}case 20:{c[e>>2]=to(a)|0;f=0;break}case 16:{f=a+4|0;b=Pc(c[(c[f>>2]|0)+8>>2]|0)|0;if(!b)f=0;else{Wn(c[(c[f>>2]|0)+8>>2]|0,b)|0;c[e>>2]=b;f=0}break}case 12:{c[g>>2]=c[(c[a+4>>2]|0)+16>>2];c[e>>2]=Wc(10344,g)|0;f=0;break}case 1:{c[e>>2]=d[a+16>>0];f=0;break}case 24:{f=0;break}case 10:{so(a,4,e);f=0;break}case 13:{so(a,16,e);f=0;break}case 5:{b=e;e=c[b>>2]|0;b=c[b+4>>2]|0;f=a+40|0;if((c[f>>2]|0)>0){m=a+12|0;if(!(nc[c[47552+64>>2]&127](c[m>>2]|0,g)|0)){f=c[f>>2]|0;k=((f|0)<0)<<31>>31;e=fw(e|0,b|0,-1,-1)|0;e=fw(e|0,C|0,f|0,k|0)|0;l=C;k=nw(e|0,l|0,f|0,k|0)|0;k=$v(e|0,l|0,k|0,C|0)|0;l=C;e=c[g+36>>2]|0;f=((e|0)<0)<<31>>31;do if((l|0)>(f|0)|(l|0)==(f|0)&k>>>0>e>>>0){h=c[g+40>>2]|0;b=e+-1+(h<<1)|0;b=b+~((b|0)%(h|0)|0)|0;e=((b|0)<0)<<31>>31;f=a+20|0;if((e|0)<(l|0)|(e|0)==(l|0)&b>>>0<k>>>0){g=((h|0)<0)<<31>>31;do{a=(ro(c[m>>2]|0,b,e,10360,1,f)|0)==1;b=fw(b|0,e|0,h|0,g|0)|0;e=C;if(!a){f=778;break a}}while((e|0)<(l|0)|(e|0)==(l|0)&b>>>0<k>>>0);b=nw(k|0,l|0,h|0,g|0)|0;if((b|0)==0&(C|0)==0)break}b=fw(k|0,l|0,-1,-1)|0;if((ro(c[m>>2]|0,b,C,10360,1,f)|0)!=1){f=778;break a}}while(0);f=0}else f=1802}else f=0;break}case 4:{c[e>>2]=c[a+20>>2];f=0;break}default:f=12}while(0);i=n;return f|0}function hk(a){a=a|0;return 4096}function ik(a){a=a|0;return (b[a+18>>1]&16)<<8|0}function jk(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;l=c[a+36>>2]|0;i=c[l>>2]|0;m=(1<<f+d)-(1<<d)|0;a:do if(!(g&1)){j=c[i+32>>2]|0;i=(j|0)==0;if(g&4){if(i)g=0;else{g=0;i=j;do{if(m&(e[i+12>>1]|0)){h=5;break a}g=b[i+10>>1]|g;i=c[i+4>>2]|0}while((i|0)!=0)}if((m&(g&65535)|0)==0?(k=uo(a,0,d+120|0,f)|0,(k|0)!=0):0){h=k;break}h=l+10|0;b[h>>1]=e[h>>1]|0|m;h=0;break}if(!i){h=m&65535;g=j;do{if((e[g+12>>1]|0)&h){h=5;break a}if((e[g+10>>1]|0)&h){h=5;break a}g=c[g+4>>2]|0}while((g|0)!=0)}h=uo(a,1,d+120|0,f)|0;if(!h){h=l+12|0;b[h>>1]=e[h>>1]|0|m;h=0}}else{i=c[i+32>>2]|0;if(!i)g=0;else{g=0;do{if((i|0)!=(l|0))g=b[i+10>>1]|g;i=c[i+4>>2]|0}while((i|0)!=0)}if((g&65535&m|0)==0?(h=uo(a,2,d+120|0,f)|0,(h|0)!=0):0)break;g=(m|-65536)^65535;h=l+12|0;b[h>>1]=(e[h>>1]|0)&g;h=l+10|0;b[h>>1]=(e[h>>1]|0)&g;h=0}while(0);return h|0}function kk(a){a=a|0;return}function lk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;f=a+36|0;g=c[f>>2]|0;if(g){h=c[g>>2]|0;d=h+32|0;while(1){e=c[d>>2]|0;if((e|0)==(g|0))break;else d=e+4|0}c[d>>2]=c[g+4>>2];Sc(g);c[f>>2]=0;e=h+28|0;d=(c[e>>2]|0)+-1|0;c[e>>2]=d;if(!d){if((b|0)!=0?(c[h+12>>2]|0)>-1:0)hc[c[47552+196>>2]&127](c[h+8>>2]|0)|0;vo(a)}}return 0}function mk(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=0;return 0}function nk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function ok(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();f=e;c[f>>2]=d;b=mb(a|0,b|0,f|0)|0;i=e;return b|0}function pk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+528|0;if((i|0)>=(j|0))ba();f=k;g=k+8|0;c[f>>2]=b;Yc(512,g,10344,f)|0;b=cw(g|0)|0;a:do if((b|0)>1)while(1){e=b+-1|0;if((a[g+b>>0]|0)==47)break a;if((e|0)>1)b=e;else{b=e;break}}while(0);if((b|0)>0){a[g+b>>0]=0;b=Xn(g,0,0)|0;c[d>>2]=b;if((b|0)>-1)b=0;else h=7}else{c[d>>2]=-1;h=7}if((h|0)==7){c[f>>2]=28919;c[f+4>>2]=10788;Zc(14,14848,f);b=_n(14,47896,g,28919)|0}i=k;return b|0}function qk(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Gb()|0))a=Mb(a|0,b|0,c|0)|0;else a=0;return a|0}function rk(){return sb(30)|0}function sk(a){a=a|0;qo(a);return 0}function tk(a,b){a=a|0;b=b|0;return 0}function uk(a,b){a=a|0;b=b|0;return 0}function vk(a,b){a=a|0;b=b|0;c[b>>2]=0;return 0}function wk(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;Zn(a);yk(a,0)|0;f=c[a+8>>2]|0;if(f){if(c[f+24>>2]|0){b=a+28|0;e=c[b>>2]|0;d=f+28|0;c[e+8>>2]=c[d>>2];c[d>>2]=e;c[a+12>>2]=-1;c[b>>2]=0}d=f+16|0;b=(c[d>>2]|0)+-1|0;c[d>>2]=b;if(!b){wo(a);g=f+36|0;b=c[g>>2]|0;d=f+32|0;e=c[d>>2]|0;if(!b)c[12178]=e;else c[b+32>>2]=e;b=c[d>>2]|0;if(b)c[b+36>>2]=c[g>>2];Sc(f)}}qo(a);return 0}function xk(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();m=q;o=d+16|0;f=a[o>>0]|0;a:do if((f&255|0)<(e|0)){l=c[d+8>>2]|0;p=l+12|0;g=a[p>>0]|0;if(f<<24>>24!=g<<24>>24?(g&255)>2|(e|0)>1:0){f=5;break}h=(e|0)==1;do if(h)if((g+-1&255)<2){a[o>>0]=1;f=l+8|0;c[f>>2]=(c[f>>2]|0)+1;f=l+24|0;c[f>>2]=(c[f>>2]|0)+1;f=0;break a}else{g=m+8|0;c[g>>2]=1;b[m+2>>1]=0;n=10;break}else{g=m+8|0;c[g>>2]=1;b[m+2>>1]=0;if((e|0)==4)if((f&255)<3)n=10;else{k=g;n=14}else{h=g;n=24}}while(0);if((n|0)==10){b[m>>1]=h&1^1;c[m+4>>2]=c[2514];if(!(xo(d,m)|0)){k=g;n=14}else{g=c[(Db()|0)>>2]|0;switch(g|0){case 13:case 37:case 4:case 16:case 110:case 11:{f=5;break a}case 1:{f=3;break}default:f=3850}c[d+20>>2]=g;break}}b:do if((n|0)==14)if(h){h=m+4|0;c[h>>2]=(c[2514]|0)+2;c[k>>2]=510;c:do if(!(xo(d,m)|0)){f=0;g=0}else{g=c[(Db()|0)>>2]|0;switch(g|0){case 1:{f=3;g=1;break c}case 13:case 37:case 4:case 16:case 110:case 11:{f=5;break c}default:{f=3850;break c}}}while(0);c[h>>2]=c[2514];c[k>>2]=1;b[m>>1]=2;do if((xo(d,m)|0)!=0&(f|0)==0){f=2058;g=c[(Db()|0)>>2]|0}else{if((f|0)==5){f=5;break a}else if(f)break;a[o>>0]=1;m=l+24|0;c[m>>2]=(c[m>>2]|0)+1;c[l+8>>2]=1;break b}while(0);c[d+20>>2]=g;break a}else{h=k;n=24}while(0);do if((n|0)==24){k=(e|0)==4;if(k)if((c[l+8>>2]|0)>1)f=5;else{b[m>>1]=1;g=c[2514]|0;n=29}else{b[m>>1]=1;g=c[2514]|0;if((e|0)==2){c[m+4>>2]=g+1;g=1;n=30}else n=29}if((n|0)==29){c[m+4>>2]=g+2;g=510;n=30}if((n|0)==30){c[h>>2]=g;if(!(xo(d,m)|0))break;g=c[(Db()|0)>>2]|0;switch(g|0){case 13:case 37:case 4:case 16:case 110:case 11:{f=5;break}case 1:{f=3;n=33;break}default:{f=3850;n=33}}if((n|0)==33)c[d+20>>2]=g;if(!k)break a}a[o>>0]=3;a[p>>0]=3;break a}while(0);f=e&255;a[o>>0]=f;a[p>>0]=f;f=0}else f=0;while(0);i=q;return f|0}function yk(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();k=n;l=d+16|0;f=a[l>>0]|0;a:do if((f&255|0)>(e|0)){m=c[d+8>>2]|0;do if((f&255)>1){if((e|0)==1){b[k>>1]=0;h=k+2|0;b[h>>1]=0;f=k+4|0;c[f>>2]=(c[2514]|0)+2;g=k+8|0;c[g>>2]=510;if(xo(d,k)|0){c[d+20>>2]=c[(Db()|0)>>2];f=2314;break a}}else{g=k+8|0;h=k+2|0;f=k+4|0}b[k>>1]=2;b[h>>1]=0;c[f>>2]=c[2514];c[g>>2]=2;if(!(xo(d,k)|0)){a[m+12>>0]=1;break}else{c[d+20>>2]=c[(Db()|0)>>2];f=2058;break a}}while(0);if(!e){g=m+8|0;f=(c[g>>2]|0)+-1|0;c[g>>2]=f;do if(!f){b[k>>1]=2;b[k+2>>1]=0;c[k+8>>2]=0;c[k+4>>2]=0;if(!(xo(d,k)|0)){a[m+12>>0]=0;f=0;break}else{c[d+20>>2]=c[(Db()|0)>>2];a[m+12>>0]=0;a[l>>0]=0;f=2058;break}}else f=0;while(0);h=m+24|0;g=(c[h>>2]|0)+-1|0;c[h>>2]=g;if(!g)wo(d);if(f)break}a[l>>0]=e;f=0}else f=0;while(0);i=n;return f|0}function zk(e,f){e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0;m=i;i=i+32|0;if((i|0)>=(j|0))ba();k=m;l=m+8|0;h=c[e+8>>2]|0;n=(d[h+12>>0]|0)>1;g=n&1;do if(!n)if(!(a[h+13>>0]|0)){b[l+2>>1]=0;c[l+4>>2]=(c[2514]|0)+1;c[l+8>>2]=1;b[l>>1]=1;n=c[11910]|0;h=c[e+12>>2]|0;c[k>>2]=l;if(!(Yb[n&63](h,12,k)|0)){h=0;g=(b[l>>1]|0)==2?g:1;break}else{c[e+20>>2]=c[(Db()|0)>>2];h=3594;break}}else{h=0;g=0}else{h=0;g=1}while(0);c[f>>2]=g;i=m;return h|0}function Ak(d,f,g,h,k){d=d|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+160|0;if((i|0)>=(j|0))ba();y=A;t=A+76|0;m=dc[c[47552+292>>2]&7]()|0;if((m|0)<32768)z=1;else z=(m|0)/32768|0;w=d+36|0;m=c[w>>2]|0;a:do if(!m){m=Pc(16)|0;if(!m)l=7;else{c[m+0>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;s=d+8|0;q=c[s>>2]|0;l=c[q+20>>2]|0;b:do if(!l){r=d+32|0;n=c[r>>2]|0;if((nc[c[47552+64>>2]&127](c[d+12>>2]|0,t)|0)!=0?(a[q+13>>0]|0)==0:0)l=1802;else x=8;c:do if((x|0)==8){l=cw(n|0)|0;o=l+42|0;u=Pc(o)|0;if(u){bw(u|0,0,o|0)|0;p=u+36|0;c[u+8>>2]=p;c[y>>2]=n;Yc(l+6|0,p,48720,y)|0;l=u+12|0;c[l>>2]=-1;s=c[s>>2]|0;c[s+20>>2]=u;c[u>>2]=s;c[u+4>>2]=8;if(a[q+13>>0]|0){l=u;break b}if(!(bg(c[r>>2]|0,48728,0)|0))o=66;else{a[u+22>>0]=1;o=0}n=Xn(p,o,c[t+12>>2]&511)|0;c[l>>2]=n;if((n|0)<0){c[y>>2]=29706;c[y+4>>2]=10788;Zc(14,14848,y);l=_n(14,47896,p,29706)|0;break}Yb[c[47552+244>>2]&63](n,c[t+20>>2]|0,c[t+24>>2]|0)|0;do if(!(uo(d,1,128,1)|0)){l=c[l>>2]|0;do{n=nc[c[47552+76>>2]&127](l,0)|0;if((n|0)>=0){v=n;x=18;break}}while((c[(Db()|0)>>2]|0)==4);if((x|0)==18?(v|0)==0:0)break;l=_n(4618,47928,p,29722)|0;if(l)break c}while(0);l=uo(d,0,128,1)|0;if(!l){l=u;break b}}else l=7}while(0);vo(d);Sc(m);if(l)break a;m=c[w>>2]|0;x=24;break a}while(0);c[m>>2]=l;x=l+28|0;c[x>>2]=(c[x>>2]|0)+1;c[d+36>>2]=m;x=l+32|0;c[m+4>>2]=c[x>>2];c[x>>2]=m;x=24}}else x=24;while(0);if((x|0)==24){u=c[m>>2]|0;w=z+f|0;w=w-((w|0)%(z|0)|0)|0;t=u+20|0;d:do if((e[t>>1]|0)<(w|0)){l=_(w,g)|0;c[u+16>>2]=g;v=u+12|0;m=c[v>>2]|0;e:do if((m|0)>-1){if(nc[c[47552+64>>2]&127](m,y)|0){m=4874;break d}m=c[y+36>>2]|0;if((m|0)<(l|0)){if(!h){m=0;break d}m=(m|0)/4096|0;l=(l|0)/4096|0;if((m|0)<(l|0)){while(1){s=m<<12|4095;m=m+1|0;if((ro(c[v>>2]|0,s,((s|0)<0)<<31>>31,10360,1,0)|0)!=1)break;if((m|0)>=(l|0))break e}m=_n(4874,47976,c[u+8>>2]|0,29853)|0;break d}}}while(0);s=u+24|0;m=Tc(c[s>>2]|0,w<<2)|0;if(m){c[s>>2]=m;m=e[t>>1]|0;if((m|0)<(w|0)){p=_(z,g)|0;q=u+22|0;r=(z|0)>0;while(1){l=c[v>>2]|0;if((l|0)>-1){m=_(m,g)|0;m=gc[c[47552+256>>2]&7](0,p,(a[q>>0]|0)!=0?1:3,1,l,m)|0;if((m|0)==(-1|0))break}else{m=Pc(g)|0;if(!m){m=7;break d}bw(m|0,0,g|0)|0}n=b[t>>1]|0;if(r){l=n&65535;o=0;do{d=m+(_(o,g)|0)|0;c[(c[s>>2]|0)+(l+o<<2)>>2]=d;o=o+1|0}while((o|0)!=(z|0))}m=(n&65535)+z|0;b[t>>1]=m;m=m&65535;if((m|0)>=(w|0)){m=0;break d}}m=_n(5386,48080,c[u+8>>2]|0,29880)|0}else m=0}else m=3082}else m=0;while(0);if((e[t>>1]|0)>(f|0))l=c[(c[u+24>>2]|0)+(f<<2)>>2]|0;else l=0;c[k>>2]=l;l=(a[u+22>>0]|0)!=0&(m|0)==0?8:m}i=A;return l|0}function Bk(a,b){a=a|0;b=b|0;var d=0;if(b)do{d=b;b=c[b+32>>2]|0;Ck(a,c[d+20>>2]|0);Jk(a,c[d+24>>2]|0);Ik(a,c[d+8>>2]|0,1);Dk(a,c[d+28>>2]|0);ig(a,d)}while((b|0)!=0);return}function Ck(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(b){f=b+4|0;do if(!(c[f>>2]&16384)){Ck(a,c[b+12>>2]|0);Ck(a,c[b+16>>2]|0);d=c[f>>2]|0;if(d&65536){ig(a,c[b+8>>2]|0);d=c[f>>2]|0}e=b+20|0;if(!(d&2048)){Jk(a,c[e>>2]|0);break}else{Ik(a,c[e>>2]|0,1);break}}while(0);if(!(c[f>>2]&32768))ig(a,b)}return}function Dk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(b){f=b+4|0;d=c[b>>2]|0;if((c[f>>2]|0)>0){e=0;do{ig(a,c[d+(e<<3)>>2]|0);e=e+1|0;d=c[b>>2]|0}while((e|0)<(c[f>>2]|0))}ig(a,d);ig(a,b)}return}function Ek(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();p=q;m=Zm(b,e,p)|0;do if(!m)if(f){o=mg(16,0)|0;if(!o)g=f;else{c[o+12>>2]=e;c[o+8>>2]=f;n=b+4|0;k=(c[n>>2]|0)+1|0;c[n>>2]=k;if((k>>>0>9?(h=c[b>>2]|0,k>>>0>h<<1>>>0):0)?(l=k<<4>>>0>1024?128:k<<1,(l|0)!=(h|0)):0){g=c[3164]|0;if(g)jc[g&3]();n=mg(l<<3,0)|0;g=c[3166]|0;if(g)jc[g&3]();if(n){m=b+12|0;Sc(c[m>>2]|0);c[m>>2]=n;m=(hc[c[8744+48>>2]&127](n)|0)>>>3;c[b>>2]=m;bw(n|0,0,m<<3|0)|0;f=b+8|0;k=c[f>>2]|0;c[f>>2]=0;if(k)do{l=c[k+12>>2]|0;h=a[l>>0]|0;if(!(h<<24>>24))h=0;else{f=h;h=0;do{l=l+1|0;h=h<<3^h^(d[9328+(f&255)>>0]|0);f=a[l>>0]|0}while(f<<24>>24!=0)}f=k;k=c[k>>2]|0;yo(b,n+(((h>>>0)%(m>>>0)|0)<<3)|0,f)}while((k|0)!=0);g=a[e>>0]|0;if(!(g<<24>>24))g=0;else{k=g;g=0;do{e=e+1|0;g=g<<3^g^(d[9328+(k&255)>>0]|0);k=a[e>>0]|0}while(k<<24>>24!=0)}c[p>>2]=(g>>>0)%((c[b>>2]|0)>>>0)|0}}g=c[b+12>>2]|0;if(!g)g=0;else g=g+(c[p>>2]<<3)|0;yo(b,g,o);g=0}}else g=0;else{k=m+8|0;g=c[k>>2]|0;if(f){c[k>>2]=f;c[m+12>>2]=e;break}l=c[p>>2]|0;k=c[m+4>>2]|0;h=c[m>>2]|0;if(!k)c[b+8>>2]=h;else{c[k>>2]=h;h=c[m>>2]|0}if(h)c[h+4>>2]=k;e=c[b+12>>2]|0;if(e){k=e+(l<<3)+4|0;if((c[k>>2]|0)==(m|0))c[k>>2]=h;p=e+(l<<3)|0;c[p>>2]=(c[p>>2]|0)+-1}Sc(m);o=b+4|0;p=(c[o>>2]|0)+-1|0;c[o>>2]=p;if(!p)Kl(b)}while(0);i=q;return g|0}function Fk(b,d){b=b|0;d=d|0;Ck(b,c[d+36>>2]|0);ig(b,c[d+16>>2]|0);if(a[d+51>>0]&16)ig(b,c[d+32>>2]|0);ig(b,d);return}function Gk(a,b){a=a|0;b=b|0;var d=0;if(b){d=c[b+28>>2]|0;Ck(a,c[d+20>>2]|0);Jk(a,c[d+24>>2]|0);Ik(a,c[d+8>>2]|0,1);Ck(a,c[b+12>>2]|0);ig(a,b)}return}function Hk(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;g=d+4|0;e=c[g>>2]|0;if(e){d=d+38|0;if((b[d>>1]|0)>0){f=0;while(1){ig(a,c[e>>2]|0);Ck(a,c[e+4>>2]|0);ig(a,c[e+8>>2]|0);ig(a,c[e+12>>2]|0);ig(a,c[e+16>>2]|0);f=f+1|0;if((f|0)>=(b[d>>1]|0))break;else e=e+24|0}e=c[g>>2]|0}ig(a,e)}return}function Ik(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(b){e=(d|0)==0;d=b;while(1){b=d;d=c[d+52>>2]|0;Jk(a,c[b>>2]|0);zo(a,c[b+32>>2]|0);Ck(a,c[b+36>>2]|0);Jk(a,c[b+40>>2]|0);Ck(a,c[b+44>>2]|0);Jk(a,c[b+48>>2]|0);Ck(a,c[b+60>>2]|0);Ck(a,c[b+64>>2]|0);Mn(a,c[b+68>>2]|0);if(!e)ig(a,b);if(!d)break;else e=0}}return}function Jk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(b){d=b+4|0;if((c[b>>2]|0)>0){e=0;f=c[d>>2]|0;while(1){Ck(a,c[f>>2]|0);ig(a,c[f+4>>2]|0);ig(a,c[f+8>>2]|0);e=e+1|0;if((e|0)>=(c[b>>2]|0))break;else f=f+20|0}}ig(a,c[d>>2]|0);ig(a,b)}return}function Kk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=b+60|0;d=c[h>>2]|0;c[h>>2]=0;a:do if(!d)b=0;else{b=0;do{while(1){f=c[d>>2]|0;e=d+24|0;g=d;d=c[e>>2]|0;if((f|0)==(a|0)){b=g;break}f=f+332|0;c[e>>2]=c[f>>2];c[f>>2]=g;if(!d)break a}c[h>>2]=b;c[e>>2]=0}while((d|0)!=0)}while(0);return b|0}function Lk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if((d|0)!=0?(f=d+(e*20|0)|0,(e|0)>0):0){e=d;do{En(b,a[e+1>>0]|0,c[e+16>>2]|0);e=e+20|0}while(e>>>0<f>>>0)}ig(b,d);return}function Mk(a,b){a=a|0;b=b|0;do if(!a)b=hc[c[8744+48>>2]&127](b)|0;else{if((c[a+276>>2]|0)>>>0<=b>>>0?(c[a+280>>2]|0)>>>0>b>>>0:0){b=e[a+248>>1]|0;break}b=hc[c[8744+48>>2]&127](b)|0}while(0);a=c[a+520>>2]|0;c[a>>2]=(c[a>>2]|0)+b;return}function Nk(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;b=c[b+(d<<2)>>2]|0;a:do if(!b)b=0;else while(1){d=c[b+24>>2]|0;if((Bc(d,e,f)|0)==0?(a[d+f>>0]|0)==0:0)break a;b=c[b+28>>2]|0;if(!b){b=0;break}}while(0);return b|0}function Ok(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=a+12|0;f=c[e>>2]|0;g=f+d|0;if((g|0)<(c[a+16>>2]|0)){c[e>>2]=g;gw((c[a+8>>2]|0)+f|0,b|0,d|0)|0}else Ao(a,b,d);return}function Pk(a){a=a|0;var b=0,d=0;d=a+4|0;b=c[d>>2]|0;if((c[a>>2]|0)>(b|0)){c[d>>2]=b+1;d=Rg(c[(c[a+8>>2]|0)+(b<<2)>>2]|0)|0;b=C}else{b=0;d=0}C=b;return d|0}function Qk(a){a=a|0;var b=0,d=0;b=a+4|0;d=c[b>>2]|0;if((c[a>>2]|0)>(d|0)){c[b>>2]=d+1;b=Og(c[(c[a+8>>2]|0)+(d<<2)>>2]|0,1)|0}else b=0;return b|0}function Rk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;g=b+12|0;i=c[g>>2]|0;i=fw(i|0,((i|0)<0)<<31>>31|0,d|0,((d|0)<0)<<31>>31|0)|0;k=C;h=c[b+16>>2]|0;j=((h|0)<0)<<31>>31;if((k|0)<(j|0)|(k|0)==(j|0)&i>>>0<h>>>0){if((d|0)>0)f=4}else{d=Bo(b,d)|0;if((d|0)>=1)f=4}if((f|0)==4){b=b+8|0;do{d=d+-1|0;f=c[g>>2]|0;c[g>>2]=f+1;a[(c[b>>2]|0)+f>>0]=e}while((d|0)>0)}return}function Sk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;f=i;i=i+112|0;if((i|0)>=(j|0))ba();k=f+28|0;h=f;g=c[b+88>>2]|0;c[h+4>>2]=k;c[h+8>>2]=k;c[h+12>>2]=0;c[h+16>>2]=70;c[h+20>>2]=g;a[h+24>>0]=1;g=h+25|0;a[g>>0]=0;c[h>>2]=b;og(h,1,d,e);e=pg(h)|0;if((a[g>>0]|0)==1)a[b+65>>0]=1;i=f;return e|0}function Tk(a){a=a|0;return hc[c[8744+48>>2]&127](a)|0}function Uk(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+80|0;if((i|0)>=(j|0))ba();l=m+40|0;g=m;if((d|0)!=0?(f=c[d+20>>2]|0,(f|0)!=0):0){c[l+0>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;c[l+12>>2]=0;c[l+16>>2]=0;c[l+20>>2]=0;c[l+24>>2]=0;h=g+0|0;k=h+40|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(k|0));b[g+8>>1]=1;e=a+32|0;c[g+32>>2]=c[e>>2];c[l>>2]=g;c[l+8>>2]=a;c[l+4>>2]=d;_b[f&31](l);if((c[a+24>>2]|0)>0)ig(c[e>>2]|0,c[a+20>>2]|0);h=a+0|0;e=g+0|0;k=h+40|0;do{c[h>>2]=c[e>>2];h=h+4|0;e=e+4|0}while((h|0)<(k|0));e=c[l+20>>2]|0}else e=0;i=m;return e|0}function Vk(a){a=a|0;var d=0,e=0,f=0;d=c[a>>2]|0;if(d){e=a+4|0;do{f=d;d=c[d>>2]|0;ig(c[e>>2]|0,f)}while((d|0)!=0)}c[a>>2]=0;b[a+24>>1]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+20>>2]=0;b[a+26>>1]=1;return}function Wk(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;g=k+4|0;d=c[b>>2]|0;e=d+16|0;do if((c[(c[e>>2]|0)+20>>2]|0)==0?(a[b+450>>0]|0)==0:0){f=vm(c[d>>2]|0,0,d,g,0,542)|0;if(f){ph(b,25496,h);c[b+12>>2]=f;d=1;break}f=c[g>>2]|0;c[(c[e>>2]|0)+20>>2]=f;if((tg(f,c[d+72>>2]|0,-1,0)|0)==7){a[d+65>>0]=1;d=1}else d=0}else d=0;while(0);i=k;return d|0}function Xk(a){a=a|0;var b=0;do if(a)if((c[3157]|0)>>>0<=a>>>0&(c[3158]|0)>>>0>a>>>0){c[2167]=(c[2167]|0)+-1;c[a>>2]=c[3160];c[3160]=a;a=(c[3161]|0)+1|0;c[3161]=a;c[3162]=(a|0)<(c[3156]|0)&1;break}else{b=hc[c[8744+48>>2]&127](a)|0;c[2168]=(c[2168]|0)-b;Sc(a);break}while(0);return}function Yk(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();n=q;m=c[e>>2]|0;if((a[d+15>>0]|0)!=0?(c[d+24>>2]|0)!=0:0)p=12;else p=3;do if((p|0)==3){l=d+204|0;if(((m|0)!=0?(c[(c[l>>2]|0)+12>>2]|0)==0:0)?(o=d+152|0,(m|0)!=(c[o>>2]|0)):0){r=n;c[r>>2]=0;c[r+4>>2]=0;if(((a[d+16>>0]|0)!=0?(h=c[d+60>>2]|0,g=c[h>>2]|0,(g|0)!=0):0)?(k=nc[c[g+24>>2]&127](h,n)|0,(k|0)!=0):0){g=0;f=k}else{g=Co(m)|0;if(g){tn(d);h=Do(c[l>>2]|0,m)|0;if(!h){p=d+200|0;Xk(c[p>>2]|0);c[p>>2]=g;p=n;n=c[p>>2]|0;p=c[p+4>>2]|0;l=fw(m|0,0,-1,-1)|0;p=fw(l|0,C|0,n|0,p|0)|0;p=mw(p|0,C|0,m|0,0)|0;c[d+24>>2]=p;c[o>>2]=m;p=12;break}else f=h}else{g=0;f=7}}Xk(g);c[e>>2]=c[o>>2]}else p=12}while(0);if((p|0)==12){c[e>>2]=c[d+152>>2];g=d+142|0;if((f|0)<0)f=b[g>>1]|0;b[g>>1]=f;f=0}i=q;return f|0}function Zk(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0;i=c[d+4>>2]|0;a:do if(a[d+9>>0]|0){if((c[i+76>>2]|0)!=(d|0)?(b[i+22>>1]&32)!=0:0){h=262;break}h=c[i+72>>2]|0;if(h){while(1){if(((c[h>>2]|0)!=(d|0)?(c[h+4>>2]|0)==(f|0):0)?(a[h+8>>0]|0)!=g<<24>>24:0)break;h=c[h+12>>2]|0;if(!h){h=0;break a}}if(g<<24>>24==2){h=i+22|0;b[h>>1]=e[h>>1]|64;h=262}else h=262}else h=0}else h=0;while(0);return h|0}function _k(b){b=b|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;F=i;i=i+64|0;if((i|0)>=(j|0))ba();E=F;B=F+28|0;A=F+24|0;m=F+20|0;r=F+48|0;t=F+16|0;u=F+12|0;y=F+8|0;z=F+32|0;if(!((a[b+15>>0]|0)!=0?(e=c[b+40>>2]|0,(e|0)!=0):0))D=3;do if((D|0)==3){C=b+208|0;f=c[C>>2]|0;a:do if(!f){x=b+16|0;do if(!(a[x>>0]|0)){h=b+176|0;g=b+180|0;while(1){e=bl(b,1)|0;if(!e)break;else if((e|0)!=5)break a;if(!(hc[c[h>>2]&127](c[g>>2]|0)|0)){e=5;break a}}s=b+17|0;if((d[s>>0]|0)<2){f=c[b>>2]|0;c[E>>2]=1;k=b+64|0;l=(c[c[k>>2]>>2]|0)!=0;if(l){h=1;e=0}else{e=lc[c[f+32>>2]&31](f,c[b+172>>2]|0,0,E)|0;h=(c[E>>2]|0)!=0}b:do if((e|0)==0&h){c[B>>2]=0;g=b+60|0;e=c[g>>2]|0;e=nc[c[(c[e>>2]|0)+36>>2]&127](e,B)|0;if(!(c[B>>2]|e)){e=Eo(b,A)|0;if(!e){if((c[A>>2]|0)!=0|l){do if(!l){c[m>>2]=2049;e=pc[c[f+24>>2]&31](f,c[b+172>>2]|0,c[k>>2]|0,2049,m)|0;if(!e)break;else if((e|0)!=14){h=0;break b}h=1;e=0;break b}while(0);a[r>>0]=0;e=c[k>>2]|0;e=pc[c[(c[e>>2]|0)+8>>2]&31](e,r,1,0,0)|0;e=(e|0)==522?0:e;if(!l?(p=c[k>>2]|0,q=c[p>>2]|0,(q|0)!=0):0){hc[c[q+4>>2]&127](p)|0;c[p>>2]=0}h=(a[r>>0]|0)!=0&1;break}h=c[3164]|0;if(h)jc[h&3]();do if(((bl(b,2)|0)==0?(Yb[c[f+28>>2]&63](f,c[b+172>>2]|0,0)|0,(a[b+4>>0]|0)==0):0)?(n=c[g>>2]|0,o=c[n>>2]|0,(o|0)!=0):0){if(!(a[b+13>>0]|0))nc[c[o+32>>2]&127](n,1)|0;if((a[s>>0]|0)==5)break;a[s>>0]=1}while(0);h=c[3166]|0;if(!h){h=0;e=0}else{jc[h&3]();h=0;e=0}}else h=0}else h=0}else h=0;while(0);if(e)break a;if(h)D=35}else D=35;do if((D|0)==35){if(a[b+14>>0]|0){e=776;break a}e=bl(b,4)|0;if(e)break a;f=b+64|0;if(!(c[c[f>>2]>>2]|0)){h=c[b>>2]|0;g=b+172|0;e=lc[c[h+32>>2]&31](h,c[g>>2]|0,0,t)|0;if((e|0)==0&(c[t>>2]|0)!=0){c[u>>2]=0;e=pc[c[h+24>>2]&31](h,c[g>>2]|0,c[f>>2]|0,2050,u)|0;if(!e)if(c[u>>2]&1){c[E>>2]=46645;c[E+4>>2]=10788;Zc(14,14848,E);h=c[f>>2]|0;g=c[h>>2]|0;if(!g)e=14;else{hc[c[g+4>>2]&127](h)|0;c[h>>2]=0;e=14}}else e=0}}else e=0;if(!(c[c[f>>2]>>2]|0))if((a[b+4>>0]|0)==0?(v=c[b+60>>2]|0,w=c[v>>2]|0,(w|0)!=0):0){if(!(a[b+13>>0]|0))nc[c[w+32>>2]&127](v,1)|0;if((a[s>>0]|0)!=5){a[s>>0]=1;D=52}else D=52}else D=52;else{e=Fo(b)|0;if(!e){e=Go(b,1)|0;a[x>>0]=0;D=52}}if((D|0)==52)if(!e)break;B=e&255;if(!((B|0)==10|(B|0)==13))break a;c[b+40>>2]=e;a[x>>0]=6;break a}while(0);h=b+12|0;if((a[h>>0]|0)==0?(a[b+23>>0]|0)!=0:0){c[y>>2]=0;e=Eo(b,y)|0;if(e)break a;if(c[y>>2]|0){e=c[b+60>>2]|0;e=pc[c[(c[e>>2]|0)+8>>2]&31](e,z,16,24,0)|0;if(!((e|0)==0|(e|0)==522))break a}else{g=z+0|0;f=g+16|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(f|0))}if(Vv(b+104|0,z,16)|0)tn(b)}if(!(a[h>>0]|0)){e=Eo(b,A)|0;if(!e){g=c[b>>2]|0;f=c[b+212>>2]|0;if(!(c[A>>2]|0)){e=Yb[c[g+28>>2]&63](g,f,0)|0;c[B>>2]=0;if((e|0)!=5898)D=68}else{e=lc[c[g+32>>2]&31](g,f,0,B)|0;D=68}if((D|0)==68){if(e)break;if(c[B>>2]|0){e=al(b,0)|0;break}}e=b+5|0;if((a[e>>0]|0)==5){a[e>>0]=0;e=0}else e=0}}else e=0}else e=0;while(0);f=c[C>>2]|0;if(!f)D=78;else D=74}else D=74;while(0);if((D|0)==74){c[E>>2]=0;Ho(f);f=c[C>>2]|0;g=0;do{g=g+1|0;e=Io(f,E,0,g)|0}while((e|0)==-1);if(!(c[E>>2]|e))D=78;else{tn(b);D=78}}if((D|0)==78){if((a[b+16>>0]|0)==0&(e|0)==0)e=Eo(b,b+24|0)|0;if(!e){a[b+16>>0]=1;e=0;break}}Jo(b)}while(0);i=F;return e|0}function $k(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;f=vg(c[b>>2]|0,d,g,f)|0;if(!f){g=c[g>>2]|0;f=c[g+8>>2]|0;c[f+56>>2]=c[g+4>>2];c[f+68>>2]=g;c[f+52>>2]=b;c[f+72>>2]=d;a[f+6>>0]=(d|0)==1?100:0;c[e>>2]=f;f=0}i=h;return f|0}function al(b,d){b=b|0;d=d|0;var e=0,f=0;do if((a[b+12>>0]|0)==0?(c[b+208>>2]|0)==0:0){d=c[c[b+60>>2]>>2]|0;if(!(a[b+4>>0]|0)){if((c[d>>2]|0)<=1){d=14;break}if(!(c[d+52>>2]|0)){d=14;break}}d=c[b+64>>2]|0;e=c[d>>2]|0;if(e){hc[c[e+4>>2]&127](d)|0;c[d>>2]=0}d=ln(b)|0;if(!d){a[b+5>>0]=5;a[b+16>>0]=0;d=0}}else f=10;while(0);if((f|0)==10){c[d>>2]=1;d=0}return d|0}function bl(b,d){b=b|0;d=d|0;var e=0,f=0;f=b+17|0;e=a[f>>0]|0;do if((e&255|0)<(d|0)|e<<24>>24==5){if(!(a[b+13>>0]|0)){e=c[b+60>>2]|0;e=nc[c[(c[e>>2]|0)+28>>2]&127](e,d)|0;if(e)break;e=a[f>>0]|0}if(e<<24>>24!=5|(d|0)==4){a[f>>0]=d;e=0}else e=0}else e=0;while(0);return e|0}function cl(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;a=c[b+444>>2]|0;if((a|0)!=0?(e=b+452|0,d=c[e>>2]|0,(d|0)>=0):0){a=nc[a&127](c[b+448>>2]|0,d)|0;if(!a)b=-1;else b=(c[e>>2]|0)+1|0;c[e>>2]=b}else a=0;return a|0}function dl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=b+96|0;e=c[n>>2]|0;a:do if((e|0)<(d|0)?(a[b+6>>0]|0)!=0:0){f=b+92|0;q=ng(c[f>>2]|0,d*48|0,0)|0;if(!q)e=7;else{bw(q+(e*48|0)|0,0,(d-e|0)*48|0)|0;c[f>>2]=q;i=b+24|0;j=b+64|0;k=b+148|0;l=b+52|0;m=b+208|0;h=b+72|0;while(1){g=c[i>>2]|0;b=q+(e*48|0)|0;c[q+(e*48|0)+20>>2]=g;if((c[c[j>>2]>>2]|0)!=0?(p=h,o=c[p>>2]|0,p=c[p+4>>2]|0,(p|0)>0|(p|0)==0&o>>>0>0):0){c[b>>2]=o;c[b+4>>2]=p}else{c[b>>2]=c[k>>2];c[b+4>>2]=0}c[q+(e*48|0)+24>>2]=c[l>>2];f=mg(512,0)|0;if(!f)break;bw(f|0,0,512)|0;c[f>>2]=g;c[q+(e*48|0)+16>>2]=f;f=c[m>>2]|0;if(f){c[q+(e*48|0)+28>>2]=c[f+68>>2];c[q+(e*48|0)+32>>2]=c[f+76>>2];c[q+(e*48|0)+36>>2]=c[f+80>>2];c[q+(e*48|0)+40>>2]=c[f+104>>2]}e=e+1|0;c[n>>2]=e;if((e|0)>=(d|0)){e=0;break a}}c[q+(e*48|0)+16>>2]=f;e=7}}else e=0;while(0);return e|0}function el(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0;do if(e){f=c[e+4>>2]|0;if(!(c[f>>2]|0)){f=Ko(a,d,e)|0;break}e=f+26|0;g=b[e>>1]|0;if(!(g<<16>>16)){h=a+12|0;c[h>>2]=(c[h>>2]|0)+1}b[e>>1]=g+1<<16>>16;if((d|0)==1)c[a+44>>2]=f}else f=0;while(0);return f|0}function fl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=a+96|0;d=c[h>>2]|0;if((d|0)>0){g=a+92|0;f=0;a=0;do{e=c[g>>2]|0;if((c[e+(f*48|0)+20>>2]|0)>>>0>=b>>>0){a=Zh(c[e+(f*48|0)+16>>2]|0,b)|0|a;d=c[h>>2]|0}f=f+1|0}while((f|0)<(d|0))}else a=0;return a|0}function gl(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+32|0;if((i|0)>=(j|0))ba();w=y;s=y+16|0;t=y+12|0;v=y+8|0;q=c[a+68>>2]|0;a:do if((q|0)!=0?(b[a+40>>1]|0)!=0:0){r=d*383&8191;u=(q+33|0)>>>12;b:while(1){g=Lo(a,u,s,t,v)|0;if(g)break a;g=(c[s>>2]|0)+(r<<1)|0;if(!(b[g>>1]|0))g=0;else{n=c[v>>2]|0;o=c[s>>2]|0;p=c[t>>2]|0;k=g;l=r;g=0;m=8192;while(1){h=(e[k>>1]|0)+n|0;if(h>>>0<=q>>>0)g=(c[p+(e[k>>1]<<2)>>2]|0)==(d|0)?h:g;if(!m){x=11;break b}l=l+1&8191;k=o+(l<<1)|0;if(!(b[k>>1]|0))break;else m=m+-1|0}}if((u|0)>0&(g|0)==0)u=u+-1|0;else{x=14;break}}if((x|0)==11){c[w>>2]=51262;c[w+4>>2]=10788;Zc(11,13600,w);g=11;break}else if((x|0)==14){c[f>>2]=g;g=0;break}}else x=3;while(0);if((x|0)==3){c[f>>2]=0;g=0}i=y;return g|0}function hl(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0;h=c[b+16>>2]|0;i=c[b+20>>2]|0;f=c[h+152>>2]|0;b=b+4|0;g=c[b>>2]|0;if(!d){d=ow(i+-1|0,0,f|0,((f|0)<0)<<31>>31|0)|0;j=c[h+60>>2]|0;d=pc[c[(c[j>>2]|0)+8>>2]&31](j,g,f,d,C)|0;d=(d|0)==522?0:d}else{k=c[h+208>>2]|0;j=e[k+66>>1]|0;j=j<<16&65536|j&65024;d=ow(j|24|0,0,d+-1|0,0)|0;d=fw(d|0,C|0,56,0)|0;k=c[k+8>>2]|0;d=pc[c[(c[k>>2]|0)+8>>2]&31](k,g,(j|0)<(f|0)?j:f,d,C)|0}do if((i|0)==1)if(!d){g=h+104|0;f=(c[b>>2]|0)+24|0;b=g+16|0;do{a[g>>0]=a[f>>0]|0;g=g+1|0;f=f+1|0}while((g|0)<(b|0));break}else{g=h+104|0;b=g+16|0;do{a[g>>0]=255;g=g+1|0}while((g|0)<(b|0));break}while(0);return d|0}function il(a){a=a|0;var d=0,e=0;if(b[a+24>>1]&2)Mo(a,1);d=c[a+28>>2]|0;e=d+12|0;c[e>>2]=(c[e>>2]|0)+-1;if((c[a+20>>2]|0)==1)c[d+44>>2]=0;ic[c[8744+136>>2]&63](c[d+40>>2]|0,c[a>>2]|0,1);return}function jl(b){b=b|0;var d=0;d=a[b+16>>0]|0;do if(!(d<<24>>24==0|d<<24>>24==6)){if((d&255)<=1){if(a[b+4>>0]|0)break;yl(b,0,0)|0;break}d=c[3164]|0;if(d)jc[d&3]();Dl(b)|0;d=c[3166]|0;if(d)jc[d&3]()}while(0);Jo(b);return}function kl(d){d=d|0;var e=0,f=0;f=d+26|0;e=(b[f>>1]|0)+-1<<16>>16;b[f>>1]=e;do if(!(e<<16>>16)){e=c[d+28>>2]|0;f=e+12|0;c[f>>2]=(c[f>>2]|0)+-1;if(b[d+24>>1]&2){if(!(c[d+36>>2]|0))break;Mo(d,3);break}if(a[e+28>>0]|0){if((c[d+20>>2]|0)==1)c[e+44>>2]=0;ic[c[8744+136>>2]&63](c[e+40>>2]|0,c[d>>2]|0,0)}}while(0);return}function ll(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;j=c[e+56>>2]|0;k=c[e+52>>2]|0;g=d[e+6>>0]|0;h=j+g|0;i=k+36|0;if(b[k+22>>1]&4)bw(h|0,0,(c[i>>2]|0)-g|0)|0;a[h>>0]=f;h=g+(f>>>1&4^12)|0;l=j+(g+1)|0;a[l>>0]=0;a[l+1>>0]=0;a[l+2>>0]=0;a[l+3>>0]=0;a[j+(g+7)>>0]=0;a[j+(g+5)>>0]=(c[i>>2]|0)>>>8;a[j+(g+6)>>0]=c[i>>2];b[e+16>>1]=(c[i>>2]|0)-h;No(e,f)|0;b[e+14>>1]=h;c[e+60>>2]=j+(c[i>>2]|0);c[e+64>>2]=j+(h&65535);a[e+1>>0]=0;b[e+20>>1]=(c[k+32>>2]|0)+65535;b[e+18>>1]=0;a[e>>0]=1;return}function ml(a){a=a|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+32|0;if((i|0)>=(j|0))ba();g=h+16|0;f=h;d=a+8|0;c[g+0>>2]=c[d+0>>2];c[g+4>>2]=c[d+4>>2];c[g+8>>2]=c[d+8>>2];c[g+12>>2]=c[d+12>>2];e=a+40|0;c[f+0>>2]=c[e+0>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];c[e+0>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;Kl(a+24|0);e=c[f+8>>2]|0;if(e)do{fg(0,c[e+8>>2]|0);e=c[e>>2]|0}while((e|0)!=0);Kl(f);c[d+0>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;d=c[g+8>>2]|0;if(d)do{gg(0,c[d+8>>2]|0);d=c[d>>2]|0}while((d|0)!=0);Kl(g);Kl(a+56|0);c[a+72>>2]=0;d=a+78|0;e=b[d>>1]|0;if(e&1){f=a+4|0;c[f>>2]=(c[f>>2]|0)+1;b[d>>1]=e&65534}i=h;return}function nl(a){a=a|0;var d=0,e=0;e=a+332|0;d=c[e>>2]|0;c[e>>2]=0;if(d){a=c[a+4>>2]|0;if(a)do{e=a+88|0;b[e>>1]=b[e>>1]|8;a=c[a+52>>2]|0}while((a|0)!=0);do{a=d;d=c[d+24>>2]|0;wn(a)}while((d|0)!=0)}return}function ol(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=a+20|0;b=c[g>>2]|0;j=a+16|0;d=c[j>>2]|0;if((b|0)>2){f=2;e=2;do{b=d+(f<<4)|0;if(!(c[d+(f<<4)+4>>2]|0)){ig(a,c[b>>2]|0);c[b>>2]=0}else{if((e|0)<(f|0)){d=d+(e<<4)|0;c[d+0>>2]=c[b+0>>2];c[d+4>>2]=c[b+4>>2];c[d+8>>2]=c[b+8>>2];c[d+12>>2]=c[b+12>>2]}e=e+1|0}f=f+1|0;b=c[g>>2]|0;d=c[j>>2]|0}while((f|0)<(b|0))}else e=2;bw(d+(e<<4)|0,0,b-e<<4|0)|0;c[g>>2]=e;if((e|0)<3?(h=c[j>>2]|0,i=a+456|0,(h|0)!=(i|0)):0){c[i+0>>2]=c[h+0>>2];c[i+4>>2]=c[h+4>>2];c[i+8>>2]=c[h+8>>2];c[i+12>>2]=c[h+12>>2];c[i+16>>2]=c[h+16>>2];c[i+20>>2]=c[h+20>>2];c[i+24>>2]=c[h+24>>2];c[i+28>>2]=c[h+28>>2];ig(a,h);c[j>>2]=i}return}function pl(f){f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();s=v;p=c[f+16>>2]|0;r=p+152|0;k=((c[p+148>>2]|0)>>>0)/((c[r>>2]|0)>>>0)|0;u=p+20|0;a[u>>0]=d[u>>0]|0|4;o=f+20|0;l=c[o>>2]|0;f=l+-1&0-k;t=f+1|0;h=~f;g=c[p+24>>2]|0;if(l>>>0<=g>>>0){if((f+k|0)>>>0>g>>>0)k=g+1+h|0}else k=l+1+h|0;a:do if((k|0)>0){n=p+56|0;q=p+204|0;m=0;f=0;while(1){h=m+t|0;if((h|0)!=(l|0)?($h(c[n>>2]|0,h)|0)!=0:0){l=Yb[c[8744+132>>2]&63](c[(c[q>>2]|0)+40>>2]|0,h,0)|0;h=el(c[q>>2]|0,h,l)|0;c[s>>2]=h;if(!h)g=0;else{f=(b[h+24>>1]&4)==0?f:1;xg(h);g=0}}else if((h|0)==(((c[2514]|0)/(c[r>>2]|0)|0)+1|0))g=0;else{g=vg(p,h,s,0)|0;if(g)break a;l=c[s>>2]|0;g=ql(l)|0;f=(b[l+24>>1]&4)==0?f:1;xg(l)}m=m+1|0;h=(g|0)==0;if(!((m|0)<(k|0)&h))break;l=c[o>>2]|0}if(h&(f|0)!=0){f=0;do{p=f+t|0;g=Yb[c[8744+132>>2]&63](c[(c[q>>2]|0)+40>>2]|0,p,0)|0;g=el(c[q>>2]|0,p,g)|0;if(g){p=g+24|0;b[p>>1]=e[p>>1]|0|4;xg(g)}f=f+1|0}while((f|0)!=(k|0));g=0}}else g=0;while(0);a[u>>0]=(d[u>>0]|0)&251;i=v;return g|0}function ql(f){f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=i;i=i+16|0;if((i|0)>=(j|0))ba();z=B+4|0;q=B;A=c[f+16>>2]|0;u=A+16|0;a:do if((a[u>>0]|0)==2){p=c[A>>2]|0;k=c[A+40>>2]|0;if(!k){do if((c[A+208>>2]|0)==0?(n=A+5|0,(a[n>>0]|0)!=2):0){o=A+24|0;k=c[o>>2]|0;h=mg(512,0)|0;if(!h){c[A+56>>2]=0;g=7;break a}bw(h|0,0,512)|0;c[h>>2]=k;r=A+56|0;c[r>>2]=h;l=A+64|0;m=c[l>>2]|0;do if(!(c[m>>2]|0)){if((a[n>>0]|0)==4){k=m+0|0;h=k+40|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(h|0));c[m>>2]=14696;t=17;break}h=a[A+12>>0]|0;c[q>>2]=0;if((h<<24>>24==0?(c[o>>2]|0)!=0:0)?(g=c[A+60>>2]|0,g=Yb[c[(c[g>>2]|0)+40>>2]&63](g,20,q)|0,(g|0)!=12):0){k=(g|0)==0;if(k&(c[q>>2]|0)!=0){g=1032;break}if(k)t=15}else t=15;if((t|0)==15)g=pc[c[p+24>>2]&31](p,c[A+172>>2]|0,c[l>>2]|0,h<<24>>24!=0?4110:2054,0)|0;if(!g)t=17}else t=17;while(0);if((t|0)==17){c[A+44>>2]=0;g=A+72|0;a[A+19>>0]=0;c[g+0>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;g=Oo(A)|0;if(!g)break}ai(c[r>>2]|0);c[r>>2]=0;if(!g){t=20;break a}else break a}while(0);a[u>>0]=3;t=20}else g=k}else t=20;while(0);b:do if((t|0)==20){Po(f);v=A+56|0;w=f+20|0;m=c[w>>2]|0;do if(!($h(c[v>>2]|0,m)|0))if(!(c[A+208>>2]|0)){if(m>>>0<=(c[A+28>>2]|0)>>>0?(y=A+64|0,x=c[y>>2]|0,(c[x>>2]|0)!=0):0){t=A+72|0;n=t;r=c[n>>2]|0;n=c[n+4>>2]|0;s=c[f+4>>2]|0;k=c[A+48>>2]|0;u=A+152|0;l=(c[u>>2]|0)+-200|0;if((l|0)>0)do{k=(d[s+l>>0]|0)+k|0;l=l+-200|0}while((l|0)>0);q=f+24|0;b[q>>1]=e[q>>1]|4;a[z>>0]=m>>>24;q=z+1|0;a[q>>0]=m>>>16;p=z+2|0;a[p>>0]=m>>>8;o=z+3|0;a[o>>0]=m;g=pc[c[(c[x>>2]|0)+12>>2]&31](x,z,4,r,n)|0;if(g)break b;m=c[y>>2]|0;g=c[u>>2]|0;h=fw(r|0,n|0,4,0)|0;l=C;g=pc[c[(c[m>>2]|0)+12>>2]&31](m,s,g,h,l)|0;if(g)break b;r=c[y>>2]|0;g=c[u>>2]|0;g=fw(h|0,l|0,g|0,((g|0)<0)<<31>>31|0)|0;a[z>>0]=k>>>24;a[q>>0]=k>>>16;a[p>>0]=k>>>8;a[o>>0]=k;g=pc[c[(c[r>>2]|0)+12>>2]&31](r,z,4,g,C)|0;if(g)break b;g=(c[u>>2]|0)+8|0;r=t;r=fw(g|0,((g|0)<0)<<31>>31|0,c[r>>2]|0,c[r+4>>2]|0)|0;g=t;c[g>>2]=r;c[g+4>>2]=C;g=A+44|0;c[g>>2]=(c[g>>2]|0)+1;g=Zh(c[v>>2]|0,c[w>>2]|0)|0;g=fl(A,c[w>>2]|0)|0|g;if(!g){t=34;break}else break b}if((a[u>>0]|0)!=4){t=f+24|0;b[t>>1]=e[t>>1]|4;t=34}else t=34}else t=34;else if((c[A+96>>2]|0)!=0?(Qo(f)|0)!=0:0)t=34;else g=0;while(0);if((t|0)==34)if((c[A+96>>2]|0)>0?(Qo(f)|0)!=0:0)g=Ro(f)|0;else g=0;k=A+24|0;h=c[w>>2]|0;if((c[k>>2]|0)>>>0<h>>>0)c[k>>2]=h}while(0);i=B;return g|0}function rl(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+128|0;if((i|0)>=(j|0))ba();k=l;e=c[a>>2]|0;d=(e|0)==0;if(!d){b=e;do{a=b;b=c[b+32>>2]|0;c[a+12>>2]=b}while((b|0)!=0);b=k+0|0;a=b+128|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(a|0));if(d)a=0;else{g=k+124|0;do{b=e+12|0;a=e;e=c[b>>2]|0;c[b>>2]=0;b=0;do{f=k+(b<<2)|0;d=c[f>>2]|0;if(!d){d=f;h=8;break}a=So(d,a)|0;c[f>>2]=0;b=b+1|0}while((b|0)<31);if((h|0)==8){h=0;c[d>>2]=a}if((b|0)==31)c[g>>2]=So(c[g>>2]|0,a)|0}while((e|0)!=0);a=c[k>>2]|0}}else{b=k+0|0;a=b+128|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(a|0));a=0}b=1;do{a=So(a,c[k+(b<<2)>>2]|0)|0;b=b+1|0}while((b|0)!=32);i=l;return a|0}function sl(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;J=i;i=i+80|0;if((i|0)>=(j|0))ba();p=J+32|0;q=J+28|0;z=J;s=J+40|0;H=J+24|0;c[H>>2]=f;w=(h|0)==0;if(!w){c[H>>2]=f;if(!f){f=0;n=0}else{n=0;m=H;do{x=(c[f+20>>2]|0)>>>0>g>>>0;E=f+12|0;n=n+(x&1^1)|0;m=x?m:E;f=c[E>>2]|0;c[m>>2]=f}while((f|0)!=0);f=c[H>>2]|0}}else n=1;E=e+192|0;c[E>>2]=(c[E>>2]|0)+n;if((c[f+20>>2]|0)==1)ul(f);F=c[e+208>>2]|0;G=c[e+152>>2]|0;r=a[e+10>>0]|0;x=r&255;l=F+40|0;if(!(b[l>>1]|0)){do if(c[(c[c[F+32>>2]>>2]|0)+96>>2]|0){_c(4,p);m=F+43|0;if(!(a[m>>0]|0)){n=c[F+4>>2]|0;n=lc[c[(c[n>>2]|0)+56>>2]&31](n,4,4,10)|0;if((n|0)==5){n=m;y=14;break}else if(n)break}To(F,c[p>>2]|0);if(!(a[m>>0]|0)){n=c[F+4>>2]|0;lc[c[(c[n>>2]|0)+56>>2]&31](n,4,4,9)|0;n=m;y=14}else{n=m;y=14}}else{n=F+43|0;y=14}while(0);if((y|0)==14){if(!(a[n>>0]|0)){E=c[F+4>>2]|0;lc[c[(c[E>>2]|0)+56>>2]&31](E,3,1,5)|0}b[l>>1]=-1;m=0;do{m=m+1|0;n=Io(F,q,1,m)|0}while((n|0)==-1)}if(n)k=n;else y=19}else y=19;a:do if((y|0)==19){E=F+68|0;q=c[E>>2]|0;if(!q){a[s>>0]=55;a[s+1>>0]=127;a[s+2>>0]=6;a[s+3>>0]=-126;a[s+4>>0]=0;a[s+5>>0]=45;a[s+6>>0]=-30;a[s+7>>0]=24;a[s+8>>0]=G>>>24;a[s+9>>0]=G>>>16;a[s+10>>0]=G>>>8;a[s+11>>0]=G;v=c[F+104>>2]|0;a[s+12>>0]=v>>>24;a[s+13>>0]=v>>>16;a[s+14>>0]=v>>>8;a[s+15>>0]=v;if(!v)_c(8,F+84|0);l=F+84|0;n=l;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;l=l+4|0;l=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;p=s+16|0;m=p;a[m>>0]=n;a[m+1>>0]=n>>8;a[m+2>>0]=n>>16;a[m+3>>0]=n>>24;p=p+4|0;a[p>>0]=l;a[p+1>>0]=l>>8;a[p+2>>0]=l>>16;a[p+3>>0]=l>>24;p=s+24|0;l=s;m=0;n=0;do{m=m+n+(c[l>>2]|0)|0;n=m+n+(c[l+4>>2]|0)|0;l=l+8|0}while(l>>>0<p>>>0);a[p>>0]=m>>>24;a[s+25>>0]=m>>>16;a[s+26>>0]=m>>>8;a[s+27>>0]=m;a[s+28>>0]=n>>>24;a[s+29>>0]=n>>>16;a[s+30>>0]=n>>>8;a[s+31>>0]=n;c[F+36>>2]=G;a[F+65>>0]=0;c[F+76>>2]=m;c[F+80>>2]=n;a[F+47>>0]=1;m=F+8|0;n=c[m>>2]|0;n=pc[c[(c[n>>2]|0)+12>>2]&31](n,s,32,0,0)|0;if(n){k=n;break}if((a[F+48>>0]|0)!=0&r<<24>>24!=0?(k=c[m>>2]|0,k=nc[c[(c[k>>2]|0)+20>>2]&127](k,x&19)|0,(k|0)!=0):0)break}else m=F+8|0;c[z>>2]=F;s=c[m>>2]|0;c[z+4>>2]=s;t=z+8|0;u=t;c[u>>2]=0;c[u+4>>2]=0;c[z+16>>2]=x;c[z+20>>2]=G;u=G+24|0;v=((u|0)<0)<<31>>31;n=ow(q|0,0,u|0,v|0)|0;n=fw(n|0,C|0,32,0)|0;k=C;if(!f){l=n;r=0}else{o=k;l=q;r=f;while(1){q=l+1|0;if(w)l=0;else l=(c[r+12>>2]|0)==0?g:0;k=Uo(z,r,l,n,o)|0;if(k)break a;n=fw(n|0,o|0,u|0,v|0)|0;k=C;p=c[r+12>>2]|0;if(!p){l=n;break}else{o=k;l=q;r=p}}}w=(h|0)!=0;do if(!((x&32|0)==0|w^1)){if(!(a[F+49>>0]|0)){m=0;k=nc[c[(c[s>>2]|0)+20>>2]&127](s,x&19)|0;break}n=c[m>>2]|0;m=c[(c[n>>2]|0)+44>>2]|0;if(m){n=hc[m&127](n)|0;if((n|0)<32){m=512;n=0}else y=37}else{n=4096;y=37}if((y|0)==37){y=(n|0)>65536;m=y?65536:n;n=y?0:((n|0)<0)<<31>>31}y=fw(l|0,k|0,-1,-1)|0;y=fw(y|0,C|0,m|0,n|0)|0;p=C;o=nw(y|0,p|0,m|0,n|0)|0;o=$v(y|0,p|0,o|0,C|0)|0;p=C;y=t;c[y>>2]=o;c[y+4>>2]=p;if((k|0)<(p|0)|(k|0)==(p|0)&l>>>0<o>>>0){n=k;m=0;while(1){k=Uo(z,r,g,l,n)|0;if(k)break a;l=fw(l|0,n|0,u|0,v|0)|0;n=C;m=m+1|0;if(!((n|0)<(p|0)|(n|0)==(p|0)&l>>>0<o>>>0)){k=0;break}}}else{m=0;k=0}}else{m=0;k=0}while(0);if((w?(A=F+47|0,(a[A>>0]|0)!=0):0)?(D=F+16|0,B=c[D>>2]|0,D=c[D+4>>2]|0,(D|0)>-1|(D|0)==-1&B>>>0>4294967295):0){h=ow(m+q|0,0,u|0,v|0)|0;h=fw(h|0,C|0,32,0)|0;z=C;y=(z|0)>(D|0)|(z|0)==(D|0)&h>>>0>B>>>0;Vo(F,y?h:B,y?z:D);a[A>>0]=0}l=c[E>>2]|0;if((f|0)!=0&(k|0)==0)do{l=l+1|0;k=Wo(F,l,c[f+20>>2]|0)|0;f=c[f+12>>2]|0}while((f|0)!=0&(k|0)==0);f=(k|0)==0;if(f&(m|0)>0){n=r+20|0;do{l=l+1|0;m=m+-1|0;k=Wo(F,l,c[n>>2]|0)|0;f=(k|0)==0}while(f&(m|0)>0)}if(f){b[F+66>>1]=G&65280|G>>>16;c[E>>2]=l;if(w){E=F+60|0;c[E>>2]=(c[E>>2]|0)+1;c[F+72>>2]=g;Xo(F);c[F+12>>2]=l}}else if(k)break;l=e+88|0;k=c[l>>2]|0;if((k|0)!=0?(I=c[H>>2]|0,(I|0)!=0):0){f=k;k=I;while(1){Yo(f,c[k+20>>2]|0,c[k+4>>2]|0);k=c[k+12>>2]|0;if(!k){k=0;break a}f=c[l>>2]|0}}else k=0}while(0);i=J;return k|0}function tl(d){d=d|0;var f=0,g=0;f=d+24|0;if(((b[f>>1]&2)!=0?(Mo(d,1),b[f>>1]=e[f>>1]&65529,(b[d+26>>1]|0)==0):0)?(g=c[d+28>>2]|0,(a[g+28>>0]|0)!=0):0){if((c[d+20>>2]|0)==1)c[g+44>>2]=0;ic[c[8744+136>>2]&63](c[g+40>>2]|0,c[d>>2]|0,0)}return}function ul(b){b=b|0;var e=0,f=0,g=0,h=0,i=0;f=c[b+16>>2]|0;f=((d[f+105>>0]|0)<<16|(d[f+104>>0]|0)<<24|(d[f+106>>0]|0)<<8|(d[f+107>>0]|0))+1|0;b=b+4|0;e=c[b>>2]|0;i=f>>>24&255;a[e+24>>0]=i;h=f>>>16&255;a[e+25>>0]=h;g=f>>>8&255;a[e+26>>0]=g;f=f&255;a[e+27>>0]=f;e=c[b>>2]|0;a[e+92>>0]=i;a[e+93>>0]=h;a[e+94>>0]=g;a[e+95>>0]=f;b=c[b>>2]|0;a[b+96>>0]=0;a[b+97>>0]=45;a[b+98>>0]=-26;a[b+99>>0]=9;return}function vl(f,g){f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+32|0;if((i|0)>=(j|0))ba();o=v+16|0;r=v;k=Zo(f)|0;a:do if(!k){do if(!(a[f+7>>0]|0)){t=f+64|0;if((c[c[t>>2]>>2]|0)!=0?(a[f+5>>0]|0)!=4:0){n=c[f+60>>2]|0;n=hc[c[(c[n>>2]|0)+48>>2]&127](n)|0;s=(n&512|0)==0;if(s){l=r;c[l>>2]=-117058087;c[l+4>>2]=-681336544;l=c[f+44>>2]|0;a[r+8>>0]=l>>>24;a[r+9>>0]=l>>>16;a[r+10>>0]=l>>>8;a[r+11>>0]=l;l=f+72|0;k=c[l>>2]|0;l=c[l+4>>2]|0;if((k|0)==0&(l|0)==0){l=0;k=0}else{k=fw(k|0,l|0,-1,-1)|0;l=c[f+148>>2]|0;k=mw(k|0,C|0,l|0,0)|0;k=fw(k|0,C|0,1,0)|0;l=ow(k|0,C|0,l|0,0)|0;k=C}m=c[t>>2]|0;m=pc[c[(c[m>>2]|0)+8>>2]&31](m,o,8,l,k)|0;if(!m){if(!(Vv(o,14808,8)|0)){p=c[t>>2]|0;p=pc[c[(c[p>>2]|0)+12>>2]&31](p,14976,1,l,k)|0;q=12}}else{p=m;q=12}if((q|0)==12?!((p|0)==0|(p|0)==522):0){h=p;break a}k=n&1024;if((a[f+8>>0]|0)!=0&(k|0)==0?(h=c[t>>2]|0,h=nc[c[(c[h>>2]|0)+20>>2]&127](h,d[f+11>>0]|0)|0,(h|0)!=0):0)break a;q=c[t>>2]|0;h=f+80|0;h=pc[c[(c[q>>2]|0)+12>>2]&31](q,r,12,c[h>>2]|0,c[h+4>>2]|0)|0;if(h)break a}else k=n&1024;if((k|0)==0?(r=c[t>>2]|0,u=a[f+11>>0]|0,u=nc[c[(c[r>>2]|0)+20>>2]&127](r,(u<<24>>24==3?16:0)|u&255)|0,(u|0)!=0):0){h=u;break a}p=f+72|0;q=c[p+4>>2]|0;r=f+80|0;c[r>>2]=c[p>>2];c[r+4>>2]=q;if((g|0)==0|s^1)break;c[f+44>>2]=0;h=Oo(f)|0;if(!h)break;else break a}q=f+72|0;r=c[q+4>>2]|0;s=f+80|0;c[s>>2]=c[q>>2];c[s+4>>2]=r}while(0);k=c[f+204>>2]|0;h=c[k>>2]|0;if(h)do{s=h+24|0;b[s>>1]=e[s>>1]&65531;h=c[h+32>>2]|0}while((h|0)!=0);c[k+8>>2]=c[k+4>>2];a[f+16>>0]=4;h=0}else h=k;while(0);i=v;return h|0}function wl(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();l=v;u=d+60|0;g=c[u>>2]|0;if(!((c[g>>2]|0)==0?(f=c[d>>2]|0,f=pc[c[f+24>>2]&31](f,0,g,c[d+144>>2]&556897|30,0)|0,(f|0)!=0):0)){g=d+36|0;f=c[g>>2]|0;h=d+24|0;k=c[h>>2]|0;do if(f>>>0<k>>>0){if((c[e+12>>2]|0)==0?(c[e+20>>2]|0)>>>0<=f>>>0:0)break;n=c[d+152>>2]|0;n=ow(k|0,0,n|0,((n|0)<0)<<31>>31|0)|0;o=l;c[o>>2]=n;c[o+4>>2]=C;o=c[u>>2]|0;Yb[c[(c[o>>2]|0)+40>>2]&63](o,5,l)|0;c[g>>2]=c[h>>2]}while(0);if(!e)f=0;else{p=d+24|0;q=d+152|0;r=d+104|0;s=d+32|0;t=d+192|0;o=d+88|0;do{n=c[e+20>>2]|0;if(n>>>0<=(c[p>>2]|0)>>>0?(b[e+24>>1]&32)==0:0){l=c[q>>2]|0;d=ow(l|0,((l|0)<0)<<31>>31|0,n+-1|0,0)|0;k=C;h=(n|0)==1;if(h){ul(e);l=c[q>>2]|0}m=e+4|0;g=c[m>>2]|0;f=c[u>>2]|0;f=pc[c[(c[f>>2]|0)+12>>2]&31](f,g,l,d,k)|0;if(h){d=r+0|0;l=g+24|0;k=d+16|0;do{a[d>>0]=a[l>>0]|0;d=d+1|0;l=l+1|0}while((d|0)<(k|0))}if(n>>>0>(c[s>>2]|0)>>>0)c[s>>2]=n;c[t>>2]=(c[t>>2]|0)+1;Yo(c[o>>2]|0,n,c[m>>2]|0)}else f=0;e=c[e+12>>2]|0}while((f|0)==0&(e|0)!=0)}}i=v;return f|0}function xl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();m=q;n=b+60|0;f=c[n>>2]|0;g=c[f>>2]|0;do if((g|0)!=0?((a[b+16>>0]|0)+-1&255)>2:0){o=c[b+152>>2]|0;g=nc[c[g+24>>2]&127](f,m)|0;h=((o|0)<0)<<31>>31;k=ow(o|0,h|0,d|0,0)|0;l=C;if(!g){f=m;g=c[f>>2]|0;f=c[f+4>>2]|0;if((g|0)==(k|0)&(f|0)==(l|0))e=0;else{if(!((f|0)>(l|0)|(f|0)==(l|0)&g>>>0>k>>>0)){m=fw(g|0,f|0,o|0,h|0)|0;g=C;if(!((g|0)>(l|0)|(g|0)==(l|0)&m>>>0>k>>>0)){p=c[b+200>>2]|0;bw(p|0,0,o|0)|0;n=c[n>>2]|0;e=$v(k|0,l|0,o|0,h|0)|0;e=pc[c[(c[n>>2]|0)+12>>2]&31](n,p,o,e,C)|0;p=9}}else{e=c[n>>2]|0;e=Yb[c[(c[e>>2]|0)+16>>2]&63](e,k,l)|0;p=9}if((p|0)==9?(e|0)!=0:0)break;c[b+32>>2]=d;e=0}}else e=g}else e=0;while(0);i=q;return e|0} 9 function yl(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();n=q;p=b+16|0;if((d[p>>0]|0)<2?(d[b+17>>0]|0)<2:0)g=0;else{_o(b);o=b+64|0;l=c[o>>2]|0;h=c[l>>2]|0;do if(!h)h=0;else{if((h|0)==14696){Ci(l,0,0)|0;c[l>>2]=0;h=0;break}k=a[b+5>>0]|0;if(k<<24>>24==3){k=b+72|0;n=k;if(!((c[n>>2]|0)==0&(c[n+4>>2]|0)==0)){h=Yb[c[h+16>>2]&63](l,0,0)|0;if(!h)if(!(a[b+8>>0]|0))h=0;else{h=c[o>>2]|0;h=nc[c[(c[h>>2]|0)+20>>2]&127](h,d[b+11>>0]|0)|0}}else h=0;o=k;c[o>>2]=0;c[o+4>>2]=0;break}else if(k<<24>>24!=1?(a[b+4>>0]|0)==0|k<<24>>24==5:0){o=(a[b+12>>0]|0)==0;hc[c[h+4>>2]&127](l)|0;c[l>>2]=0;if(!o){h=0;break}h=c[b>>2]|0;h=Yb[c[h+28>>2]&63](h,c[b+172>>2]|0,0)|0;break}m=b+72|0;k=m;if(!((c[k>>2]|0)==0&(c[k+4>>2]|0)==0)){g=b+160|0;k=c[g>>2]|0;g=c[g+4>>2]|0;if((e|0)!=0|(k|0)==0&(g|0)==0)h=Yb[c[h+16>>2]&63](l,0,0)|0;else h=pc[c[h+12>>2]&31](l,14664,28,0,0)|0;if(!h){if(!(a[b+7>>0]|0)){h=c[o>>2]|0;h=nc[c[(c[h>>2]|0)+20>>2]&127](h,d[b+11>>0]|16)|0}else h=0;if((h|0)==0&((g|0)>0|(g|0)==0&k>>>0>0)){h=c[o>>2]|0;h=nc[c[(c[h>>2]|0)+24>>2]&127](h,n)|0;l=c[n+4>>2]|0;if((h|0)==0&((l|0)>(g|0)|((l|0)==(g|0)?(c[n>>2]|0)>>>0>k>>>0:0))){h=c[o>>2]|0;h=Yb[c[(c[h>>2]|0)+16>>2]&63](h,k,g)|0}}}}else h=0;o=m;c[o>>2]=0;c[o+4>>2]=0}while(0);k=b+56|0;ai(c[k>>2]|0);c[k>>2]=0;c[b+44>>2]=0;k=b+204|0;g=c[k>>2]|0;e=c[g>>2]|0;if(e){do{tl(e);e=c[g>>2]|0}while((e|0)!=0);g=c[k>>2]|0}k=b+24|0;$o(g,c[k>>2]|0);l=b+208|0;g=c[l>>2]|0;if(!g){if((h|0)==0&(f|0)!=0){g=c[k>>2]|0;if((c[b+32>>2]|0)>>>0>g>>>0)h=xl(b,g)|0;else h=0}}else{e=g+44|0;if(a[e>>0]|0){if(!(a[g+43>>0]|0)){o=c[g+4>>2]|0;lc[c[(c[o>>2]|0)+56>>2]&31](o,0,1,9)|0}a[e>>0]=0;a[g+47>>0]=0}}if((h|0)==0&(f|0)!=0){g=c[b+60>>2]|0;h=c[g>>2]|0;if(!h)k=0;else{k=Yb[c[h+40>>2]&63](g,22,0)|0;k=(k|0)==12?0:k}}else k=h;do if(!(a[b+4>>0]|0)){g=c[l>>2]|0;if((g|0)!=0?(ap(g,0)|0)==0:0){g=0;break}h=c[b+60>>2]|0;g=c[h>>2]|0;if(g){if(!(a[b+13>>0]|0))g=nc[c[g+32>>2]&127](h,1)|0;else g=0;h=b+17|0;if((a[h>>0]|0)!=5)a[h>>0]=1}else g=0;a[b+18>>0]=0}else g=0;while(0);a[p>>0]=1;a[b+19>>0]=0;g=(k|0)==0?g:k}i=q;return g|0}function zl(d){d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=c[d+4>>2]|0;g=c[d>>2]|0;a[j+19>>0]=0;k=d+8|0;do if(a[k>>0]|0){if((c[g+152>>2]|0)>1){g=j+76|0;if((c[g>>2]|0)==(d|0)?(c[g>>2]=0,f=j+22|0,b[f>>1]=e[f>>1]&65439,f=c[j+72>>2]|0,(f|0)!=0):0)do{a[f+8>>0]=1;f=c[f+12>>2]|0}while((f|0)!=0);a[k>>0]=1;break}g=j+72|0;f=c[g>>2]|0;a:do if(f)do while(1){h=f+12|0;i=c[h>>2]|0;if((c[f>>2]|0)!=(d|0)){g=h;f=i;break}c[g>>2]=i;if((c[f+4>>2]|0)==1)f=i;else{Sc(f);f=c[g>>2]|0}if(!f)break a}while((f|0)!=0);while(0);f=j+76|0;if((c[f>>2]|0)!=(d|0)){f=c[j+40>>2]|0;if((f|0)==2){i=j+22|0;b[i>>1]=e[i>>1]&65471;c[j+40>>2]=1;i=20;break}}else{c[f>>2]=0;f=j+22|0;b[f>>1]=e[f>>1]&65439;f=c[j+40>>2]|0}f=f+-1|0;c[j+40>>2]=f;if(!f){a[j+20>>0]=0;i=20}else i=20}else i=20;while(0);if(((i|0)==20?(a[k>>0]=0,(a[j+20>>0]|0)==0):0)?(l=j+12|0,m=c[l>>2]|0,(m|0)!=0):0){c[l>>2]=0;xg(c[m+68>>2]|0)}return}function Al(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=((c[a+36>>2]|0)>>>0)/5|0;if(b>>>0<2){e=0;g=c[a+32>>2]|0;i=c[2514]|0}else{e=b+-2|0;e=e-((e>>>0)%((h+1|0)>>>0)|0)|0;i=c[2514]|0;g=c[a+32>>2]|0;e=((e+1|0)==((i>>>0)/(g>>>0)|0|0)?3:2)+e|0}e=b-d-(((d-b+h+e|0)>>>0)/(h>>>0)|0)|0;f=a+32|0;a=((i>>>0)/(g>>>0)|0)+1|0;d=((i>>>0)/(g>>>0)|0)+1|0;a=((a>>>0<b>>>0&e>>>0<a>>>0)<<31>>31)+e|0;while(1){if(a>>>0<2)e=0;else{e=a+-2|0;e=e-((e>>>0)%((h+1|0)>>>0)|0)|0;e=((e+1|0)==((i>>>0)/((c[f>>2]|0)>>>0)|0|0)?3:2)+e|0}if(!((e|0)==(a|0)|(a|0)==(d|0)))break;a=a+-1|0}return a|0}function Bl(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=(d|0)==0;f=b;a:while(1){do if((f|0)!=(e|0)){if(!g?(c[f+60>>2]|0)!=(d|0):0)break;if(((a[f+73>>0]|0)+-1&255)<2){b=bp(f)|0;if(!b)break;else break a}else{cp(f);break}}while(0);f=c[f+8>>2]|0;if(!f){b=0;break}}return b|0}function Cl(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+48|0;if((i|0)>=(j|0))ba();k=v;m=v+32|0;s=v+28|0;l=v+24|0;o=v+20|0;q=v+16|0;t=v+12|0;r=v+8|0;if(f>>>0<2)n=0;else{n=f+-2|0;n=n-((n>>>0)%(((((c[b+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;n=((n+1|0)==(((c[2514]|0)>>>0)/((c[b+32>>2]|0)>>>0)|0|0)?3:2)+n|0}do if((n|0)!=(f|0)?((((c[2514]|0)>>>0)/((c[b+32>>2]|0)>>>0)|0)+1|0)!=(f|0):0){p=c[(c[b+12>>2]|0)+56>>2]|0;if((d[p+37>>0]|0)<<16|(d[p+36>>0]|0)<<24|(d[p+38>>0]|0)<<8|(d[p+39>>0]|0)){h=dp(b,f,m,s)|0;if(!h){p=a[m>>0]|0;if(p<<24>>24==2){if(g){h=0;break}h=ep(b,o,l,f,1)|0;if(h)break;k=c[o>>2]|0;if(!k){u=24;break}xg(c[k+68>>2]|0);u=24;break}else if(p<<24>>24!=1){h=$k(b,f,t,0)|0;if(h)break;k=(g|0)==0;m=k?2:0;k=k?e:0;l=(g|0)!=0;do{h=ep(b,r,q,k,m)|0;if(h){u=16;break}n=c[r>>2]|0;if(n)xg(c[n+68>>2]|0);n=c[q>>2]|0}while(l&n>>>0>e>>>0);if((u|0)==16){k=c[t>>2]|0;if(!k)break;xg(c[k+68>>2]|0);break}m=c[t>>2]|0;h=Vm(b,m,p,c[s>>2]|0,n,g)|0;if(m)xg(c[m+68>>2]|0);if(!h){u=24;break}else break}else{c[k>>2]=56228;c[k+4>>2]=10788;Zc(11,13600,k);h=11;break}}}else h=101}else u=24;while(0);if((u|0)==24)if(!g){l=((c[2514]|0)>>>0)/((c[b+32>>2]|0)>>>0)|0;m=l+1|0;n=b+36|0;k=f;while(1){h=k+-1|0;if((h|0)==(m|0)){k=h;continue}if(h>>>0<2)k=0;else{k=k+-3|0;k=k-((k>>>0)%(((((c[n>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;k=((k+1|0)==(l|0)?3:2)+k|0}if((k|0)==(h|0))k=h;else break}a[b+19>>0]=1;c[b+44>>2]=h;h=0}else h=0;i=v;return h|0}function Dl(b){b=b|0;var e=0,f=0,g=0;g=b+16|0;f=a[g>>0]|0;a:do if(f<<24>>24!=6)if((f&255)>=2){do if(!(c[b+208>>2]|0)){if(!(f<<24>>24==2?1:(c[c[b+64>>2]>>2]|0)==0)){e=Go(b,0)|0;break}e=yl(b,0,0)|0;if((a[b+15>>0]|0)==0&(f&255)>2){c[b+40>>2]=4;a[g>>0]=6;break a}}else{e=fp(b,2,-1)|0;f=yl(b,d[b+19>>0]|0,0)|0;e=(e|0)==0?f:e}while(0);f=e&255;if((f|0)==10|(f|0)==13){c[b+40>>2]=e;a[g>>0]=6}}else e=0;else e=c[b+40>>2]|0;while(0);return e|0}function El(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;a:do if((d|0)!=0?(h=c[d+4>>2]|0,c[h+4>>2]=c[d>>2],h=c[h+8>>2]|0,(h|0)!=0):0){l=(f|0)==0;while(1){if(!l?(a[h+72>>0]&1)==0:0){if(((a[h+73>>0]|0)+-1&255)<2?(g=bp(h)|0,(g|0)!=0):0)break}else{f=h+56|0;Sc(c[f>>2]|0);c[f>>2]=0;a[h+73>>0]=4;c[h+68>>2]=e}f=h+76|0;if((b[f>>1]|0)>=0){k=0;while(1){i=h+(k<<2)+120|0;j=c[i>>2]|0;if(j)xg(c[j+68>>2]|0);c[i>>2]=0;if((k|0)<(b[f>>1]|0))k=k+1|0;else break}}h=c[h+8>>2]|0;if(!h)break a}El(d,g,0)|0;return g|0}while(0);return 0}function Fl(a){a=a|0;var b=0,d=0,e=0;a:do if(!(c[a+4>>2]|0)){d=c[a+20>>2]|0;if((d|0)>0){a=c[a+16>>2]|0;b=0;while(1){e=c[a+(b<<4)+4>>2]|0;if((e|0)!=0?(c[e+16>>2]|0)!=0:0){a=1;break a}b=b+1|0;if((b|0)>=(d|0)){a=0;break}}}else a=0}else a=1;while(0);return a|0}function Gl(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=c[3164]|0;if(f)jc[f&3]();l=d+20|0;j=c[l>>2]|0;i=(j|0)>0;if(i){f=c[d+16>>2]|0;h=0;do{g=c[f+(h<<4)+4>>2]|0;if(g)c[(c[g+4>>2]|0)+4>>2]=c[g>>2];h=h+1|0}while((h|0)!=(j|0))}m=d+24|0;if(!(c[m>>2]&2))f=1;else f=(a[d+145>>0]|0)!=0;if(i){k=d+16|0;f=f&1;i=j;j=0;h=0;while(1){g=c[(c[k>>2]|0)+(j<<4)+4>>2]|0;if(!g)g=i;else{h=(a[g+8>>0]|0)==2?1:h;Hg(g,e,f);g=c[l>>2]|0}j=j+1|0;if((j|0)>=(g|0))break;else i=g}}else h=0;Nn(d,68);f=c[3166]|0;if(f)jc[f&3]();f=c[m>>2]|0;if((f&2|0)!=0?(a[d+145>>0]|0)==0:0){f=c[d+4>>2]|0;if(f)do{g=f+88|0;b[g>>1]=b[g>>1]|8;f=c[f+52>>2]|0}while((f|0)!=0);Ag(d);f=c[m>>2]|0}g=d+504|0;c[g+0>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;c[m>>2]=f&-16777217;f=c[d+204>>2]|0;do if(f){if((h|0)==0?(a[d+63>>0]|0)!=0:0)break;_b[f&31](c[d+200>>2]|0)}while(0);return}function Hl(b){b=b|0;var d=0,e=0;e=b+488|0;d=c[e>>2]|0;if(d)do{c[e>>2]=c[d+24>>2];ig(b,d);d=c[e>>2]|0}while((d|0)!=0);c[b+496>>2]=0;c[b+500>>2]=0;a[b+70>>0]=0;return}function Il(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=c[b+4>>2]|0;c[h+4>>2]=c[b>>2];e=c[h+8>>2]|0;if(e)do{d=e;e=c[e+8>>2]|0;if((c[d>>2]|0)==(b|0))gp(d)}while((e|0)!=0);Hg(b,0,0);a:do if(a[b+9>>0]|0){e=h+64|0;d=c[e>>2]|0;c[e>>2]=d+-1;if((d|0)<2){d=c[3664]|0;if((d|0)==(h|0)){c[3664]=c[h+68>>2];f=12;break}else e=d;do{if(!e){f=12;break a}d=e+68|0;e=c[d>>2]|0}while((e|0)!=(h|0));c[d>>2]=c[h+68>>2];f=12}}else f=12;while(0);if((f|0)==12){hp(c[h>>2]|0);d=c[h+52>>2]|0;e=h+48|0;if((d|0)!=0?(g=c[e>>2]|0,(g|0)!=0):0)_b[d&31](g);d=c[e>>2]|0;if(d)Sc(d);d=h+80|0;e=c[d>>2]|0;if(e){e=e+-4|0;c[d>>2]=e;Xk(e);c[d>>2]=0}Sc(h)}e=c[b+28>>2]|0;d=b+24|0;if(e)c[e+24>>2]=c[d>>2];d=c[d>>2]|0;if(d)c[d+28>>2]=e;Sc(b);return}function Jl(a,b){a=a|0;b=b|0;var d=0;b=c[b+32>>2]|0;if((b|0)!=0?(d=(c[b>>2]|0)+-1|0,c[b>>2]=d,(d|0)==0):0){_b[c[b+4>>2]&31](c[b+8>>2]|0);ig(a,b)}return}function Kl(a){a=a|0;var b=0,d=0;d=a+8|0;b=c[d>>2]|0;c[d>>2]=0;d=a+12|0;Sc(c[d>>2]|0);c[d>>2]=0;c[a>>2]=0;if(b)do{d=b;b=c[b>>2]|0;Sc(d)}while((b|0)!=0);c[a+4>>2]=0;return}function Ll(a){a=a|0;var b=0,d=0,e=0,f=0;if(a){e=c[a>>2]|0;hg(e,a);f=c[a+48>>2]|0;d=a+52|0;b=c[d>>2]|0;if(!f)c[e+4>>2]=b;else{c[f+52>>2]=b;b=c[d>>2]|0}if(b)c[b+48>>2]=f;c[a+40>>2]=-1241070648;c[a>>2]=0;ig(e,a)}return}function Ml(d){d=d|0;var e=0;a[d+65>>0]=0;c[d+52>>2]=7;d=c[d+236>>2]|0;do if(d){e=d+8|0;if(!(b[e>>1]&9312)){b[e>>1]=1;break}else{rg(d);break}}while(0);return}function Nl(d){d=d|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0;F=i;i=i+32|0;if((i|0)>=(j|0))ba();u=F;x=F+16|0;q=F+12|0;r=F+8|0;E=c[d>>2]|0;if(a[E+65>>0]|0)c[d+80>>2]=7;g=c[d+200>>2]|0;if(g)bw(g|0,0,c[d+196>>2]|0)|0;k=d+176|0;g=c[k>>2]|0;if(g){while(1){h=c[g+4>>2]|0;if(!h)break;else g=h}Tl(g)|0;c[k>>2]=0;c[d+184>>2]=0}o=d+56|0;g=c[o>>2]|0;a:do if((g|0)!=0?(p=d+36|0,f=c[p>>2]|0,(f|0)>0):0){k=0;while(1){h=c[g+(k<<2)>>2]|0;if(!h)h=f;else{xm(d,h);c[(c[o>>2]|0)+(k<<2)>>2]=0;h=c[p>>2]|0}k=k+1|0;if((k|0)>=(h|0))break a;g=c[o>>2]|0;f=h}}while(0);g=c[d+8>>2]|0;if(g)_g(g+40|0,c[d+28>>2]|0);p=d+180|0;g=c[p>>2]|0;if(g)do{c[p>>2]=c[g+4>>2];o=g+80|0;f=g+60|0;h=c[f>>2]|0;m=o+(h*40|0)|0;n=g+64|0;if((c[n>>2]|0)>0){k=0;do{xm(c[g>>2]|0,c[m+(k<<2)>>2]|0);k=k+1|0}while((k|0)<(c[n>>2]|0));h=c[f>>2]|0}_g(o,h);ig(c[c[g>>2]>>2]|0,g);g=c[p>>2]|0}while((g|0)!=0);if(c[d+204>>2]|0)am(d,-1,0);B=d+40|0;b:do if((c[B>>2]|0)==-1108210269){z=d+76|0;if((c[z>>2]|0)>-1){A=d+88|0;n=b[A>>1]|0;if(n&128){y=d+80|0;k=c[y>>2]|0;m=k&255;h=m+-7|0;do if(h>>>0<7?(l=(77>>>(h&127)&1)!=0,l):0)if((n&64)==0|(m|0)!=9){if((m|0)==7|(m|0)==13?(n&32)!=0:0){f=2;break}Gl(E,516);Hl(E);a[E+63>>0]=1;c[d+92>>2]=0;k=c[y>>2]|0;f=0}else{l=1;f=0}else{l=0;f=0}while(0);if((k|0)==0?(w=d+144|0,v=c[w+4>>2]|0,(v|0)>0|(v|0)==0&(c[w>>2]|0)>>>0>0):0){w=c[d>>2]|0;c[y>>2]=787;a[d+86>>0]=2;$g(d+44|0,w,34376,u)}m=E+304|0;if((c[m>>2]|0)>0?(c[E+328>>2]|0)==0:0)D=141;else if((a[E+63>>0]|0)!=0?(c[E+156>>2]|0)==(((e[A>>1]|0)>>>6&1^1)&65535|0):0){do if(!(c[y>>2]|0))D=41;else{if(!((a[d+86>>0]|0)!=3|l)){D=41;break}Gl(E,0);c[d+92>>2]=0}while(0);c:do if((D|0)==41){d:do if(pm(d,1)|0)if(!(b[A>>1]&64))g=787;else{f=1;break b}else{l=E+328|0;h=c[l>>2]|0;c[l>>2]=0;k=c[m>>2]|0;e:do if((k|0)>0){n=0;f:while(1){p=c[(c[h+(n<<2)>>2]|0)+8>>2]|0;do if(p){o=c[(c[p>>2]|0)+60>>2]|0;if(!o)break;g=hc[o&127](p)|0;Im(d,p);if(g)break f;k=c[m>>2]|0}while(0);n=n+1|0;if((n|0)>=(k|0)){D=50;break e}}c[l>>2]=h;D=135}else D=50;while(0);g:do if((D|0)==50){c[l>>2]=h;v=E+20|0;w=E+16|0;o=0;k=0;n=0;h:while(1){m=c[v>>2]|0;if((o|0)>=(m|0)){h=k;break}l=c[w>>2]|0;p=o;while(1){o=c[l+(p<<4)+4>>2]|0;if((o|0)!=0?(a[o+8>>0]|0)==2:0)break;p=p+1|0;if((p|0)>=(m|0)){h=k;break h}}g=c[o+4>>2]|0;c[g+4>>2]=c[o>>2];g=Zo(c[g>>2]|0)|0;if(!g){o=p+1|0;k=((p|0)!=1&1)+k|0;n=1}else{D=135;break g}}do if(n){l=c[E+196>>2]|0;if(!l)break;if(hc[l&127](c[E+192>>2]|0)|0){g=531;break d}}while(0);k=c[(c[w>>2]|0)+4>>2]|0;n=c[c[k+4>>2]>>2]|0;m=(a[n+15>>0]|0)==0;if(m){p=c[n+168>>2]|0;if(p)D=62}else{p=10360;D=62}do if((D|0)==62){o=p;while(1)if(!(a[o>>0]|0))break;else o=o+1|0;if((o-p&1073741823|0)==0|(h|0)<2)break;t=c[E>>2]|0;if(m){l=c[n+168>>2]|0;c[x>>2]=0;if(!l){p=0;l=0}else D=80}else{c[x>>2]=0;l=10360;D=80}if((D|0)==80){n=l;while(1)if(!(a[n>>0]|0))break;else n=n+1|0;p=n-l&1073741823}c[u>>2]=l;s=qh(E,44696,u)|0;if(!s){g=7;break d}p=s+p|0;o=t+32|0;n=0;i:while(1){do if(n){if((n|0)>100){D=87;break i}if((n|0)!=1)break;c[u>>2]=s;Zc(13,44728,u)}while(0);_c(4,r);g=c[r>>2]|0;c[u>>2]=g>>>8;c[u+4>>2]=g&255;Yc(13,p,44744,u)|0;g=lc[c[o>>2]&31](t,s,0,q)|0;m=(g|0)==0;if(m&(c[q>>2]|0)!=0)n=n+1|0;else{D=91;break}}if((D|0)==87){c[u>>2]=s;Zc(13,44712,u);Yb[c[t+28>>2]&63](t,s,0)|0;D=92}else if((D|0)==91)if(m)D=92;do if((D|0)==92){g=ip(t,s,x,16406,0)|0;if(g)break;l=c[v>>2]|0;j:do if((l|0)>0){q=0;o=0;r=0;n=0;k:while(1){p=c[(c[w>>2]|0)+(r<<4)+4>>2]|0;do if(!p)p=q;else{if((a[p+8>>0]|0)!=2){p=q;break}m=c[p+4>>2]|0;k=c[m>>2]|0;h=c[k+172>>2]|0;if(!h){p=q;break}if(!n){c[m+4>>2]=c[p>>2];n=(a[k+7>>0]|0)==0&1}k=c[x>>2]|0;p=h;while(1)if(!(a[p>>0]|0))break;else p=p+1|0;m=h;g=pc[c[(c[k>>2]|0)+12>>2]&31](k,h,(p-m&1073741823)+1|0,q,o)|0;p=h;while(1)if(!(a[p>>0]|0))break;else p=p+1|0;if(g){l=k;D=106;break k}p=fw((p-m&1073741823)+1|0,0,q|0,o|0)|0;l=c[v>>2]|0;o=C}while(0);r=r+1|0;if((r|0)>=(l|0))break;else q=p}if((D|0)==106){h=c[l>>2]|0;if(h){hc[c[h+4>>2]&127](k)|0;c[l>>2]=0}Sc(k);Yb[c[t+28>>2]&63](t,s,0)|0;ig(E,s);D=135;break g}do if(!n)n=0;else{m=c[x>>2]|0;if((hc[c[(c[m>>2]|0)+48>>2]&127](m)|0)&1024)break;g=nc[c[(c[m>>2]|0)+20>>2]&127](m,2)|0;if(!g)break;h=c[m>>2]|0;if(h){hc[c[h+4>>2]&127](m)|0;c[m>>2]=0}Sc(m);Yb[c[t+28>>2]&63](t,s,0)|0;ig(E,s);D=135;break g}while(0);k=c[v>>2]|0;if((k|0)>0)p=0;else{p=1;g=0;break}while(1){m=c[(c[w>>2]|0)+(p<<4)+4>>2]|0;if(m){g=Gg(m,s)|0;if(g){p=0;break j}k=c[v>>2]|0}p=p+1|0;if((p|0)>=(k|0)){p=1;g=0;break}}}else{p=1;n=0;g=0}while(0);m=c[x>>2]|0;l=c[m>>2]|0;if(l){hc[c[l+4>>2]&127](m)|0;c[m>>2]=0}Sc(m);if(!p){ig(E,s);D=135;break g}g=Yb[c[t+28>>2]&63](t,s,n)|0;ig(E,s);if(g){D=135;break g}g=c[3164]|0;if(g)jc[g&3]();g=c[v>>2]|0;if((g|0)>0){k=0;do{h=c[(c[w>>2]|0)+(k<<4)+4>>2]|0;if(h){Fg(h,1)|0;g=c[v>>2]|0}k=k+1|0}while((k|0)<(g|0))}g=c[3166]|0;if(g)jc[g&3]();Nn(E,64);break g}while(0);ig(E,s);D=135;break g}while(0);g=c[v>>2]|0;do if((g|0)>0){h=1;while(1){if(k){g=Gg(k,0)|0;if(g){D=135;break g}g=c[v>>2]|0}if((h|0)>=(g|0))break;k=c[(c[w>>2]|0)+(h<<4)+4>>2]|0;h=h+1|0}if((g|0)>0)k=0;else break;do{h=c[(c[w>>2]|0)+(k<<4)+4>>2]|0;if(h){g=Fg(h,0)|0;if(g){D=135;break g}g=c[v>>2]|0}k=k+1|0}while((k|0)<(g|0))}while(0);Nn(E,64)}while(0);do if((D|0)==135){if(!g)break;else if((g|0)!=5)break d;if(!(b[A>>1]&64)){g=5;break d}else{f=5;break b}}while(0);x=E+504|0;D=E+24|0;c[x+0>>2]=0;c[x+4>>2]=0;c[x+8>>2]=0;c[x+12>>2]=0;c[D>>2]=c[D>>2]&-16777219;break c}while(0);c[y>>2]=g;Gl(E,0);c[d+92>>2]=0}while(0);c[E+500>>2]=0;D=146}else D=141;do if((D|0)==141)if(!f)if(c[y>>2]|0){g=a[d+86>>0]|0;if(g<<24>>24==2){f=2;D=147;break}else if(g<<24>>24==3){f=1;D=147;break}else{Gl(E,516);Hl(E);a[E+63>>0]=1;c[d+92>>2]=0;D=146;break}}else{f=1;D=147}else D=147;while(0);if((D|0)==146)if(!f)f=0;else D=147;if((D|0)==147){g=Xl(d,f)|0;if(g){D=c[y>>2]|0;if((D|0)==0|(D&255|0)==19){c[y>>2]=g;D=d+44|0;ig(E,c[D>>2]|0);c[D>>2]=0}Gl(E,516);Hl(E);a[E+63>>0]=1;c[d+92>>2]=0}}if(b[A>>1]&4){if((f|0)==2){c[E+80>>2]=0;f=d+92|0}else{f=d+92|0;y=c[f>>2]|0;c[E+80>>2]=y;D=E+84|0;c[D>>2]=(c[D>>2]|0)+y}c[f>>2]=0}}if((c[z>>2]|0)>-1){f=E+148|0;c[f>>2]=(c[f>>2]|0)+-1;f=b[A>>1]|0;if(!(f&64)){f=E+156|0;c[f>>2]=(c[f>>2]|0)+-1;f=b[A>>1]|0}if(f&128){D=E+152|0;c[D>>2]=(c[D>>2]|0)+-1}}}c[B>>2]=1369188723;f=d+80|0;if(!(a[(c[d>>2]|0)+65>>0]|0)){f=(c[f>>2]|0)==5?5:0;break}else{c[f>>2]=7;f=0;break}}else f=0;while(0);i=F;return f|0}function Ol(a,f){a=a|0;f=f|0;var g=0,h=0,i=0,j=0;i=a+8|0;h=e[i>>1]|0;do if(h&18){b[i>>1]=h|2;if(h&16384)Ng(a)|0;g=a+10|0;f=f&255;h=f&247;if((d[g>>0]|0|0)!=(h|0))Ul(a,h)|0;if(((f&8|0)!=0?(c[a+16>>2]&1|0)!=0:0)?(Rl(a)|0)!=0:0){g=0;break}if((b[i>>1]&514)==2){Yl(a)|0;j=12}else j=12}else{Zl(a,f,0)|0;h=f&247;g=a+10|0;j=12}while(0);if((j|0)==12)if((d[g>>0]|0|0)==(h|0))g=c[a+16>>2]|0;else g=0;return g|0}function Pl(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,i=0.0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0;h[c>>3]=0.0;j=f&255;if(f<<24>>24==1){f=b;g=e;p=1;t=0}else{g=3-j|0;a:do if((g|0)<(e|0))while(1){f=g+2|0;if(a[b+g>>0]|0){e=1;break a}if((f|0)<(e|0))g=f;else{e=0;g=f;break}}else e=0;while(0);f=b+(j&1)|0;g=j+-3+g|0;p=2;t=e}r=b+g|0;b:do if(f>>>0<r>>>0){while(1){g=a[f>>0]|0;if(!(a[10368+(g&255)>>0]&1))break;f=f+p|0;if(f>>>0>=r>>>0){f=0;break b}}if(g<<24>>24==43){f=f+p|0;q=1}else if(g<<24>>24==45){f=f+p|0;q=-1}else q=1;c:do if(f>>>0<r>>>0){g=0;do{if((a[f>>0]|0)!=48)break c;f=f+p|0;g=g+1|0}while(f>>>0<r>>>0)}else g=0;while(0);d:do if(f>>>0<r>>>0){b=0;j=0;while(1){e=a[f>>0]|0;if(!(((e&255)+-48|0)>>>0<10&((b|0)<214748364|(b|0)==214748364&j>>>0<3435973835))){l=b;break d}j=ow(j|0,b|0,10,0)|0;b=(e<<24>>24)+-48|0;j=fw(b|0,((b|0)<0)<<31>>31|0,j|0,C|0)|0;b=C;f=f+p|0;g=g+1|0;if(f>>>0>=r>>>0){l=b;break}}}else{j=0;l=0}while(0);e:do if(f>>>0<r>>>0){e=0;while(1){b=a[f>>0]|0;if(((b&255)+-48|0)>>>0>=10){m=e;break}f=f+p|0;g=g+1|0;b=e+1|0;if(f>>>0<r>>>0)e=b;else{n=l;m=b;b=0;l=1;e=1;break e}}f:do if(b<<24>>24==46){e=f+p|0;g:do if(e>>>0<r>>>0){n=e;while(1){b=a[n>>0]|0;if(!(((b&255)+-48|0)>>>0<10&((l|0)<214748364|(l|0)==214748364&j>>>0<3435973835))){e=n;n=l;break g}j=ow(j|0,l|0,10,0)|0;l=(b<<24>>24)+-48|0;j=fw(l|0,((l|0)<0)<<31>>31|0,j|0,C|0)|0;l=C;g=g+1|0;b=m+-1|0;e=f+(p<<1)|0;if(e>>>0<r>>>0){f=n;n=e;m=b}else{f=n;n=l;m=b;break}}}else n=l;while(0);if(e>>>0<r>>>0){l=p<<1;while(1){if(((d[e>>0]|0)+-48|0)>>>0>=10)break f;b=f+l|0;g=g+1|0;if(b>>>0<r>>>0){f=e;e=b}else{e=b;break}}}}else{e=f;n=l}while(0);if(e>>>0<r>>>0){o=a[e>>0]|0;h:do if(o<<24>>24==69|o<<24>>24==101){f=e+p|0;if(f>>>0>=r>>>0){b=0;l=0;e=1;break e}b=a[f>>0]|0;if(b<<24>>24==45){f=e+(p<<1)|0;o=-1}else if(b<<24>>24==43){f=e+(p<<1)|0;o=1}else o=1;if(f>>>0<r>>>0){e=0;l=0}else{b=0;l=0;e=o;break e}while(1){b=a[f>>0]|0;if(((b&255)+-48|0)>>>0>=10){b=e;e=o;break h}if((e|0)<1e4)b=(e*10|0)+-48+(b<<24>>24)|0;else b=1e4;f=f+p|0;if(f>>>0<r>>>0){e=b;l=1}else{l=1;e=o;break}}}else{f=e;b=0;l=1;e=1}while(0);if((g|0)!=0&(l|0)!=0&f>>>0<r>>>0)do{if(!(a[10368+(d[f>>0]|0)>>0]&1))break e;f=f+p|0}while(f>>>0<r>>>0)}else{f=e;b=0;l=1;e=1}}else{n=l;m=0;b=0;l=1;e=1}while(0);b=(_(b,e)|0)+m|0;o=(b|0)<0;e=o?0-b|0:b;do if((j|0)==0&(n|0)==0)if((q|0)<0)i=(g|0)!=0?-0.0:0.0;else i=0.0;else{if((b>>31|1|0)>0)if(((n|0)<214748364|(n|0)==214748364&j>>>0<3435973836)&(e|0)>0){b=n;do{e=e+-1|0;j=ow(j|0,b|0,10,0)|0;b=C}while(((b|0)<214748364|(b|0)==214748364&j>>>0<3435973836)&(e|0)>0)}else b=n;else{m=nw(j|0,n|0,10,0)|0;if((m|0)==0&(C|0)==0&(e|0)>0){b=n;do{e=e+-1|0;j=mw(j|0,b|0,10,0)|0;b=C;n=nw(j|0,b|0,10,0)|0}while((n|0)==0&(C|0)==0&(e|0)>0)}else b=n}n=(q|0)<0;m=$v(0,0,j|0,b|0)|0;m=n?m:j;n=n?C:b;if(!e){i=+(m>>>0)+4294967296.0*+(n|0);break}if((e+-308|0)>>>0<34){if(!((e|0)%308|0))k=1.0;else{i=1.0;do{i=i*10.0;e=e+-1|0}while(((e|0)%308|0|0)!=0);k=i}i=+(m>>>0)+4294967296.0*+(n|0);if(o){i=i/k/1.e+308;break}else{i=i*k*1.e+308;break}}if((e|0)>341){i=+(m>>>0)+4294967296.0*+(n|0);if(o){i=i*0.0;break}else{i=i*s;break}}if(!((e|0)%22|0)){j=e;i=1.0}else{j=e;i=1.0;do{i=i*10.0;j=j+-1|0}while(((j|0)%22|0|0)!=0)}if((j|0)>0){do{i=i*1.0e22;j=j+-22|0}while((j|0)>0);k=i}else k=i;i=+(m>>>0)+4294967296.0*+(n|0);if(o){i=i/k;break}else{i=i*k;break}}while(0);h[c>>3]=i;f=f>>>0>=r>>>0&(g|0)>0&(l|0)!=0&(t|0)==0&1}else f=0;while(0);return f|0}function Ql(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=f&255;if(f<<24>>24==1){g=b;h=e;n=1;e=0}else{h=3-i|0;a:do if((h|0)<(e|0))while(1){f=h+2|0;if(a[b+h>>0]|0){e=1;break a}if((f|0)<(e|0))h=f;else{e=0;h=f;break}}else e=0;while(0);g=b+(i&1)|0;h=i+-3+h|0;n=2}k=b+h|0;b:do if(g>>>0<k>>>0){while(1){h=a[g>>0]|0;if(!(a[10368+(h&255)>>0]&1))break;g=g+n|0;if(g>>>0>=k>>>0){l=0;break b}}if(h<<24>>24==45){g=g+n|0;l=1;break}else if(h<<24>>24==43){g=g+n|0;l=0;break}else{l=0;break}}else l=0;while(0);c:do if(g>>>0<k>>>0){h=g;while(1){if((a[h>>0]|0)!=48){m=h;break c}h=h+n|0;if(h>>>0>=k>>>0){m=h;break}}}else m=g;while(0);do if(m>>>0<k>>>0){b=m;j=0;i=0;h=0;while(1){f=a[b>>0]|0;if((f+-48&255)>=10){b=0;k=i;break}i=ow(j|0,i|0,10,0)|0;j=f<<24>>24;i=fw(i|0,C|0,-48,-1)|0;j=fw(i|0,C|0,j|0,((j|0)<0)<<31>>31|0)|0;i=C;h=h+n|0;b=m+h|0;if(b>>>0>=k>>>0){b=1;k=i;break}}i=f<<24>>24;f=(l|0)!=0;if((k|0)>=0)if(f){f=k;p=22;break}else{f=k;p=23;break}else{j=d;c[j>>2]=f?0:-1;c[j+4>>2]=f?-2147483648:2147483647;j=f?0:2;break}}else if(!l){b=1;j=0;f=0;i=0;h=0;p=23}else{b=1;j=0;f=0;i=0;h=0;p=22}while(0);if((p|0)==22){l=$v(0,0,j|0,f|0)|0;j=d;c[j>>2]=l;c[j+4>>2]=C;j=0}else if((p|0)==23){l=d;c[l>>2]=j;c[l+4>>2]=f;j=2}if(((i|0)==0|b?!((h|0)==0&(g|0)==(m|0)):0)?(o=n*19|0,!((h|0)>(o|0)|(e|0)!=0)):0)if((h|0)>=(o|0)){h=0;do{g=a[m+(_(h,n)|0)>>0]|0;e=a[11192+h>>0]|0;h=h+1|0;f=g<<24>>24==e<<24>>24}while(f&(h|0)<18);if(f)g=(a[m+(n*18|0)>>0]|0)+-56|0;else g=((g<<24>>24)-(e<<24>>24)|0)*10|0;if((g|0)>=0)return ((g|0)>0?1:j)|0;else g=0}else g=0;else g=1;return g|0}function Rl(d){d=d|0;var f=0,g=0;g=d+8|0;f=b[g>>1]|0;if(f&16384){Ng(d)|0;f=b[g>>1]|0}do if(f&18){if((c[d+24>>2]|0)!=0?(c[d+16>>2]|0)==(c[d+20>>2]|0):0){f=0;break}f=d+12|0;if(!(ah(d,(c[f>>2]|0)+2|0,1)|0)){d=d+16|0;a[(c[d>>2]|0)+(c[f>>2]|0)>>0]=0;a[(c[d>>2]|0)+((c[f>>2]|0)+1)>>0]=0;b[g>>1]=e[g>>1]|0|512;f=0}else f=7}else f=0;while(0);return f|0}function Sl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=no(a,b,c,d)|0;if(!c)ig(a,b);return c|0}function Tl(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;d=c[a>>2]|0;c[d+200>>2]=c[a+20>>2];c[d+196>>2]=c[a+56>>2];c[d+4>>2]=c[a+8>>2];c[d+32>>2]=c[a+48>>2];c[d+8>>2]=c[a+16>>2];c[d+28>>2]=c[a+52>>2];c[d+56>>2]=c[a+24>>2];c[d+36>>2]=c[a+40>>2];g=a+32|0;f=c[g+4>>2]|0;b=c[d>>2]|0;e=b+32|0;c[e>>2]=c[g>>2];c[e+4>>2]=f;c[d+92>>2]=c[a+68>>2];c[b+80>>2]=c[a+72>>2];return c[a+44>>2]|0}function Ul(a,c){a=a|0;c=c|0;if((b[a+8>>1]&2)!=0?(d[a+10>>0]|0|0)!=(c|0):0)c=xn(a,c&255)|0;else c=0;return c|0}function Vl(a,d,f){a=a|0;d=d|0;f=f|0;var g=0;g=a+8|0;if(b[g>>1]&9312)rg(a);c[a+0>>2]=c[d+0>>2];c[a+4>>2]=c[d+4>>2];c[a+8>>2]=c[d+8>>2];c[a+12>>2]=c[d+12>>2];c[a+16>>2]=c[d+16>>2];if(!(b[d+8>>1]&2048))b[g>>1]=(e[g>>1]|0)&58367|f;return}function Wl(a,d){a=a|0;d=d|0;var e=0,f=0;if(!((b[a+8>>1]&9312)==0?(c[a+24>>2]|0)==0:0))Mg(a);a=a+0|0;e=d+0|0;f=a+40|0;do{c[a>>2]=c[e>>2];a=a+4|0;e=e+4|0}while((a|0)<(f|0));b[d+8>>1]=1;c[d+24>>2]=0;return}function Xl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=c[a>>2]|0;m=p+500|0;f=c[m>>2]|0;do if((f|0)!=0?(n=a+104|0,e=c[n>>2]|0,(e|0)!=0):0){o=e+-1|0;k=p+20|0;e=c[k>>2]|0;if((e|0)>0){i=p+16|0;j=(b|0)==2;g=e;h=0;e=0;do{f=c[(c[i>>2]|0)+(h<<4)+4>>2]|0;if(f){if(j?(l=qm(f,2,o)|0,(l|0)!=0):0)f=l;else f=qm(f,1,o)|0;g=c[k>>2]|0;e=(e|0)==0?f:e}h=h+1|0}while((h|0)<(g|0));c[m>>2]=(c[m>>2]|0)+-1;c[n>>2]=0;if(!e)e=13;else{d=e;e=16}}else{c[m>>2]=f+-1;c[n>>2]=0;e=13}do if((e|0)==13){if((b|0)==2?(d=om(p,2,o)|0,(d|0)!=0):0)break;d=om(p,1,o)|0;e=16}while(0);if((e|0)==16)if((b|0)!=2)break;m=a+152|0;l=c[m+4>>2]|0;k=p+504|0;c[k>>2]=c[m>>2];c[k+4>>2]=l;k=a+160|0;l=c[k+4>>2]|0;m=p+512|0;c[m>>2]=c[k>>2];c[m+4>>2]=l}else d=0;while(0);return d|0}function Yl(d){d=d|0;var f=0,g=0;f=d+12|0;if(!(ah(d,(c[f>>2]|0)+2|0,1)|0)){g=d+16|0;a[(c[g>>2]|0)+(c[f>>2]|0)>>0]=0;a[(c[g>>2]|0)+((c[f>>2]|0)+1)>>0]=0;f=d+8|0;b[f>>1]=e[f>>1]|0|512;f=0}else f=7;return f|0}function Zl(d,f,g){d=d|0;f=f|0;g=g|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();o=q;p=d+8|0;m=b[p>>1]|0;if(!(bh(d,32)|0)){l=d+16|0;n=c[l>>2]|0;if(!(m&4)){h[k>>3]=+h[d>>3];c[o>>2]=c[k>>2];c[o+4>>2]=c[k+4>>2];Yc(32,n,20272,o)|0}else{s=d;r=c[s+4>>2]|0;m=o;c[m>>2]=c[s>>2];c[m+4>>2]=r;Yc(32,n,19920,o)|0}m=c[l>>2]|0;if(!m)l=0;else{l=m;while(1)if(!(a[l>>0]|0))break;else l=l+1|0;l=l-m&1073741823}c[d+12>>2]=l;a[d+10>>0]=1;l=e[p>>1]|514;b[p>>1]=g<<24>>24==0?l:l&65523;Ul(d,f&255)|0;l=0}else l=7;i=q;return l|0}function _l(a){a=a|0;var b=0,c=0;b=e[a+8>>1]|0;c=b&12;if(!c)if(!(b&18))b=0;else b=jp(a)|0;else b=c&65535;return b|0}function $l(a){a=a|0;var d=0.0,f=0,g=0,i=0,j=0;d=+h[a>>3];if(!(d<=-9223372036854775808.0)&!(d>=9223372036854775808.0)?(f=~~d>>>0,g=+N(d)>=1.0?(d>0.0?~~+$(+M(d/4294967296.0),4294967295.0)>>>0:~~+Z((d-+(~~d>>>0))/4294967296.0)>>>0):0,i=fw(f|0,g|0,1,-2147483648)|0,j=C,!(d!=+(f>>>0)+4294967296.0*+(g|0)|(j>>>0<0|(j|0)==0&i>>>0<2))):0){i=a;c[i>>2]=f;c[i+4>>2]=g;f=a+8|0;b[f>>1]=(e[f>>1]|0)&48640|4}return}function am(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=a+204|0;e=c[f>>2]|0;a:do if(e){h=(b|0)<0;do{while(1){if(!h){if((c[e>>2]|0)!=(b|0))break;g=c[e+4>>2]|0;if((g|0)<=31?(1<<g&d|0)!=0:0)break}g=c[e+12>>2]|0;if(g)_b[g&31](c[e+8>>2]|0);c[f>>2]=c[e+16>>2];ig(c[a>>2]|0,e);e=c[f>>2]|0;if(!e)break a}f=e+16|0;e=c[f>>2]|0}while((e|0)!=0)}while(0);return}function bm(a,b,c){a=a|0;b=b|0;c=c|0;do if(b<<24>>24>66){b=e[a+8>>1]|0;if(!(b&4)){if(b&8){$l(a);break}if(b&2)nh(a,1)}}else if(b<<24>>24==66?(b=e[a+8>>1]|0,!((b&2|0)!=0|(b&12|0)==0)):0)Zl(a,c,1)|0;while(0);return}function cm(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,i=0,j=0;j=a+8|0;g=b[j>>1]|0;i=g&65535;do if(!(i&1)){d=d&255;if((d|0)==67){kp(a);break}else if((d|0)==65){if(i&16){b[j>>1]=i&65040;break}if(!((i&2|0)!=0|(i&12|0)==0)){Zl(a,f,1)|0;g=b[j>>1]|0}b[j>>1]=g&48640|16;break}else if((d|0)==68){d=Rg(a)|0;g=a;c[g>>2]=d;c[g+4>>2]=C;b[j>>1]=(e[j>>1]|0)&48640|4;break}else if((d|0)==69){h[a>>3]=+Qg(a);b[j>>1]=(e[j>>1]|0)&48640|8;break}else{d=i>>>3&2|i;g=d&65535;b[j>>1]=g;if(!((d&2|0)!=0|(i&12|0)==0)){Zl(a,f,1)|0;g=b[j>>1]|0}b[j>>1]=g&49123;break}}while(0);return}function dm(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0.0,i=0,j=0.0,k=0,l=0,m=0;l=b[a+8>>1]|0;k=l&65535;i=b[d+8>>1]|0;m=i&65535;f=(i|l)&65535;do if(!(f&1)){if(!(f&12)){if(f&2){if(!(k&2)){f=1;break}if(!(m&2)){f=-1;break}if(e){f=lp(a,d,e,0)|0;break}}f=mp(a,d)|0;break}if((l&4&i)<<16>>16){l=a;k=c[l>>2]|0;l=c[l+4>>2]|0;i=d;f=c[i>>2]|0;i=c[i+4>>2]|0;if((l|0)<(i|0)|(l|0)==(i|0)&k>>>0<f>>>0){f=-1;break}f=((l|0)>(i|0)|(l|0)==(i|0)&k>>>0>f>>>0)&1;break}if(!(k&8)){if(!(k&4)){f=1;break}f=a;j=+((c[f>>2]|0)>>>0)+4294967296.0*+(c[f+4>>2]|0)}else j=+h[a>>3];if(!(m&8)){if(!(m&4)){f=-1;break}f=d;g=+((c[f>>2]|0)>>>0)+4294967296.0*+(c[f+4>>2]|0)}else g=+h[d>>3];if(j<g)f=-1;else f=j>g&1}else f=(m&1)-(k&1)|0;while(0);return f|0}function em(b){b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;e=g+8|0;d=b+48|0;d=ym(c[b>>2]|0,0,c[d>>2]|0,c[d+4>>2]|0,0,e)|0;do if(!d)if(!(c[e>>2]|0)){a[b+26>>0]=0;c[b+60>>2]=0;d=0;break}else{c[f>>2]=67421;c[f+4>>2]=10788;Zc(11,13600,f);d=11;break}while(0);i=g;return d|0}function fm(b){b=b|0;var d=0,e=0,f=0;e=c[b>>2]|0;f=e+73|0;d=a[f>>0]|0;do if((d&255)>2){d=Gn(e)|0;if(!d){d=a[f>>0]|0;f=5;break}else{c[b+60>>2]=0;f=6;break}}else f=5;while(0);if((f|0)==5){c[b+60>>2]=0;if(d<<24>>24==1)d=0;else{d=0;f=6}}if((f|0)==6)a[b+25>>0]=1;return d|0}function gm(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0;h=f+24|0;if(!(b[f+44>>1]|0)){j=b[f+76>>1]|0;i=c[f+(j<<2)+120>>2]|0;j=e[f+(j<<1)+78>>1]<<1;k=c[i+64>>2]|0;np(i,(c[i+56>>2]|0)+((d[k+j>>0]<<8|d[k+(j|1)>>0])&e[i+20>>1])|0,h);f=f+72|0;a[f>>0]=d[f>>0]|2}i=h;f=c[i+4>>2]|0;h=g;c[h>>2]=c[i>>2];c[h+4>>2]=f;return}function hm(f,g){f=f|0;g=g|0;var h=0,i=0,j=0;if(!(b[f+44>>1]|0)){i=b[f+76>>1]|0;h=c[f+(i<<2)+120>>2]|0;i=e[f+(i<<1)+78>>1]<<1;j=c[h+64>>2]|0;np(h,(c[h+56>>2]|0)+((d[j+i>>0]<<8|d[j+(i|1)>>0])&e[h+20>>1])|0,f+24|0);h=f+72|0;a[h>>0]=d[h>>0]|2}c[g>>2]=c[f+36>>2];return}function im(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;e=d[a>>0]|0;g=d[a+1>>0]|0;do if(g&128){f=d[a+2>>0]|0;if(!(f&128)){c[b>>2]=(f|e<<14)&2080895|g<<7&16256;e=3;break}else{e=op(a,h)|0;g=h;f=c[g>>2]|0;c[b>>2]=((f|0)==(f|0)?0==(c[g+4>>2]|0):0)?f:-1;break}}else{c[b>>2]=e<<7&16256|g;e=2}while(0);i=k;return e|0}function jm(d,f,g,h,i){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0;j=(h|0)==0;do if((g+f|0)>>>0>(e[d+40>>1]|0)>>>0){l=i+8|0;b[l>>1]=1;h=bh(i,g+2|0)|0;if(!h){k=i+16|0;h=c[k>>2]|0;if(j)h=zh(d,f,g,h)|0;else h=Hm(d,f,g,h,0)|0;if(!h){a[(c[k>>2]|0)+g>>0]=0;a[(c[k>>2]|0)+(g+1)>>0]=0;b[l>>1]=528;c[i+12>>2]=g;h=0;break}if((b[l>>1]&9312)==0?(c[i+24>>2]|0)==0:0)break;Mg(i)}}else{c[i+16>>2]=(c[d+32>>2]|0)+f;b[i+8>>1]=4112;c[i+12>>2]=g;h=0}while(0);return h|0}function km(e,f,g){e=e|0;f=f|0;g=g|0;var h=0;switch(f|0){case 3:{f=d[e+1>>0]<<8|a[e>>0]<<16|d[e+2>>0];e=g;c[e>>2]=f;c[e+4>>2]=((f|0)<0)<<31>>31;b[g+8>>1]=4;e=3;break}case 9:case 8:{e=g;c[e>>2]=f+-8;c[e+4>>2]=0;b[g+8>>1]=4;e=0;break}case 5:{h=a[e>>0]<<8|d[e+1>>0];f=g;c[f>>2]=d[e+3>>0]<<16|d[e+2>>0]<<24|d[e+4>>0]<<8|d[e+5>>0];c[f+4>>2]=h;b[g+8>>1]=4;e=6;break}case 7:case 6:{pp(e,f,g);e=8;break}case 2:{f=a[e>>0]<<8|d[e+1>>0];e=g;c[e>>2]=f;c[e+4>>2]=((f|0)<0)<<31>>31;b[g+8>>1]=4;e=2;break}case 4:{f=d[e+1>>0]<<16|a[e>>0]<<24|d[e+2>>0]<<8|d[e+3>>0];e=g;c[e>>2]=f;c[e+4>>2]=((f|0)<0)<<31>>31;b[g+8>>1]=4;e=4;break}case 0:case 11:case 10:{b[g+8>>1]=1;e=0;break}case 1:{f=a[e>>0]|0;e=g;c[e>>2]=f;c[e+4>>2]=((f|0)<0)<<31>>31;b[g+8>>1]=4;e=1;break}default:{c[g+16>>2]=e;e=(f+-12|0)>>>1;c[g+12>>2]=e;b[g+8>>1]=b[34328+((f&1)<<1)>>1]|0}}return e|0}function lm(b,c,d){b=b|0;c=c|0;d=d|0;do if(!(d>>>0<0|(d|0)==0&c>>>0<128))if(d>>>0<0|(d|0)==0&c>>>0<16384){d=iw(c|0,d|0,7)|0;a[b>>0]=d|128;a[b+1>>0]=c&127;c=2;break}else{c=qp(b,c,d)|0;break}else{a[b>>0]=c&127;c=1}while(0);return c|0}function mm(e){e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();l=m;k=e+73|0;f=a[k>>0]|0;do if((f&255)>2)if(f<<24>>24==4){f=c[e+68>>2]|0;break}else{g=e+56|0;Sc(c[g>>2]|0);c[g>>2]=0;a[k>>0]=0;g=5;break}else g=5;while(0);a:do if((g|0)==5){h=e+76|0;f=b[h>>1]|0;do if(f<<16>>16<=-1){f=c[e+60>>2]|0;if(!f){a[k>>0]=0;f=0;break a}g=e+120|0;f=rp(c[(c[e>>2]|0)+4>>2]|0,f,g,(a[e+72>>0]&1)<<1^2)|0;if(!f){b[h>>1]=0;f=g;break}else{a[k>>0]=0;break a}}else{if(f<<16>>16)do{g=f+-1<<16>>16;b[h>>1]=g;f=c[e+(f<<16>>16<<2)+120>>2]|0;if(!f)f=g;else{xg(c[f+68>>2]|0);f=b[h>>1]|0}}while(f<<16>>16!=0);f=e+120|0}while(0);f=c[f>>2]|0;if((a[f>>0]|0)!=0?((c[e+16>>2]|0)==0|0)==(d[f+2>>0]|0):0){b[e+78>>1]=0;b[e+44>>1]=0;g=e+72|0;a[g>>0]=d[g>>0]&241;if(b[f+18>>1]|0){a[k>>0]=1;f=0;break}if(a[f+5>>0]|0){a[k>>0]=0;f=0;break}if((c[f+72>>2]|0)==1){g=d[f+6>>0]|0;f=c[f+56>>2]|0;f=d[f+(g+9)>>0]<<16|d[f+(g+8)>>0]<<24|d[f+(g+10)>>0]<<8|d[f+(g+11)>>0];a[k>>0]=1;f=nm(e,f)|0;break}else{c[l>>2]=57629;c[l+4>>2]=10788;Zc(11,13600,l);f=11;break}}c[l>>2]=57618;c[l+4>>2]=10788;Zc(11,13600,l);f=11}while(0);i=m;return f|0}function nm(e,f){e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;l=n+8|0;g=e+76|0;k=b[g>>1]|0;h=k<<16>>16;do if(k<<16>>16<=18){k=e+72|0;f=rp(c[e+4>>2]|0,f,l,(a[k>>0]&1)<<1^2)|0;if(!f){f=c[l>>2]|0;l=h+1|0;c[e+(l<<2)+120>>2]=f;b[e+(l<<1)+78>>1]=0;b[g>>1]=(b[g>>1]|0)+1<<16>>16;b[e+44>>1]=0;a[k>>0]=d[k>>0]&249;if((b[f+18>>1]|0)!=0?(a[f+2>>0]|0)==(a[(c[e+(h<<2)+120>>2]|0)+2>>0]|0):0){f=0;break}c[m>>2]=57499;c[m+4>>2]=10788;Zc(11,13600,m);f=11}}else{c[m>>2]=57487;c[m+4>>2]=10788;Zc(11,13600,m);f=11}while(0);i=n;return f|0}function om(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=a+328|0;a:do if(!(c[j>>2]|0))a=0;else{g=a+304|0;h=d+1|0;i=0;while(1){if((i|0)>=(c[g>>2]|0)){a=0;break a}f=c[(c[j>>2]|0)+(i<<2)>>2]|0;a=c[c[f+4>>2]>>2]|0;e=c[f+8>>2]|0;if((e|0)!=0?(c[a>>2]|0)>1:0){if(!b){a=c[a+80>>2]|0;c[f+20>>2]=h}else if((b|0)==2)a=c[a+88>>2]|0;else a=c[a+84>>2]|0;if((a|0)!=0?(c[f+20>>2]|0)>(d|0):0){a=nc[a&127](e,d)|0;if(!a){i=i+1|0;continue}else break a}}i=i+1|0}}while(0);return a|0}function pm(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();f=h;e=c[b>>2]|0;if(!d){d=b+144|0;k=c[d+4>>2]|0;if((k|0)>0|(k|0)==0&(c[d>>2]|0)>>>0>0)g=4;else e=0}else{d=e+504|0;k=e+512|0;d=fw(c[k>>2]|0,c[k+4>>2]|0,c[d>>2]|0,c[d+4>>2]|0)|0;k=C;if((k|0)>0|(k|0)==0&d>>>0>0)g=4;else e=0}if((g|0)==4){c[b+80>>2]=787;a[b+86>>0]=2;$g(b+44|0,e,34376,f);e=1}i=h;return e|0}function qm(e,f,g){e=e|0;f=f|0;g=g|0;var h=0;if((e|0)!=0?(a[e+8>>0]|0)==2:0){h=c[e+4>>2]|0;c[h+4>>2]=c[e>>2];f=fp(c[h>>2]|0,f,g)|0;if(!f){if((g|0)<0?(b[h+22>>1]&8)!=0:0)c[h+44>>2]=0;f=yg(h)|0;e=c[(c[h+12>>2]|0)+56>>2]|0;c[h+44>>2]=d[e+29>>0]<<16|d[e+28>>0]<<24|d[e+30>>0]<<8|d[e+31>>0]}}else f=0;return f|0}function rm(a,b){a=a|0;b=b|0;a=a+16|0;ml(c[(c[a>>2]|0)+(b<<4)+12>>2]|0);if((b|0)!=1)ml(c[(c[a>>2]|0)+28>>2]|0);return}function sm(a,b,e){a=a|0;b=b|0;e=e|0;var f=0;f=c[a+4>>2]|0;c[f+4>>2]=c[a>>2];if((b|0)==15)f=(c[a+20>>2]|0)+(c[(c[f>>2]|0)+100>>2]|0)|0;else{b=b<<2;f=c[(c[f+12>>2]|0)+56>>2]|0;f=(d[f+(b+37)>>0]|0)<<16|(d[f+(b+36)>>0]|0)<<24|(d[f+(b+38)>>0]|0)<<8|(d[f+(b+39)>>0]|0)}c[e>>2]=f;return}function tm(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;k=(c[d+28>>2]|0)-e|0;i=c[d+8>>2]|0;n=(f<<3)+88|0;m=(h|0)!=0;l=d+56|0;j=c[(c[l>>2]|0)+(e<<2)>>2]|0;if(j){xm(d,j);c[(c[l>>2]|0)+(e<<2)>>2]=0}if(!(bh(i+(k*40|0)|0,(m?200:0)+n|0)|0)){k=i+(k*40|0)+16|0;h=c[k>>2]|0;c[(c[l>>2]|0)+(e<<2)>>2]=h;i=h+0|0;j=i+88|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(j|0));a[h+24>>0]=g;b[h+20>>1]=f;c[h+80>>2]=h+84+(f<<2);if(m){i=(c[k>>2]|0)+n|0;c[h>>2]=i;i=i+0|0;j=i+76|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(j|0))}}else h=0;return h|0}function um(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;k=c[d+4>>2]|0;c[k+4>>2]=c[d>>2];if(f)if(!(b[k+22>>1]&1)){j=k+80|0;if(!(c[j>>2]|0)){i=Co(c[k+32>>2]|0)|0;c[j>>2]=i;if(!i)i=7;else{l=i;i=l;a[i>>0]=0;a[i+1>>0]=0;a[i+2>>0]=0;a[i+3>>0]=0;l=l+4|0;a[l>>0]=0;a[l+1>>0]=0;a[l+2>>0]=0;a[l+3>>0]=0;c[j>>2]=(c[j>>2]|0)+4;l=6}}else l=6}else i=8;else l=6;if((l|0)==6){if((e|0)==1)e=(c[k+44>>2]|0)!=0&1;c[h+60>>2]=e;b[h+76>>1]=-1;c[h+16>>2]=g;c[h>>2]=d;c[h+4>>2]=k;a[h+72>>0]=f;i=k+8|0;e=c[i>>2]|0;c[h+8>>2]=e;if(e)c[e+12>>2]=h;c[i>>2]=h;a[h+73>>0]=0;i=0}return i|0}function vm(f,g,h,k,l,m){f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;P=i;i=i+128|0;if((i|0)>=(j|0))ba();A=P;H=P+12|0;E=P+8|0;M=P+16|0;K=(g|0)==0;if(!K){o=(a[g>>0]|0)==0;if(Wv(g,14640)|0)if(o)G=4;else{o=0;G=5}else L=1}else G=4;if((G|0)==4)if((a[h+64>>0]|0)==2){L=1;o=1}else{o=1;G=5}if((G|0)==5)L=(m&128|0)!=0;J=L?l|2:l;if((m&256|0)!=0&(L|o))m=m&-769|512;O=mg(48,0)|0;a:do if(O){u=O+0|0;t=u+48|0;do{a[u>>0]=0;u=u+1|0}while((u|0)<(t|0));c[O>>2]=h;c[O+32>>2]=O;c[O+36>>2]=1;b:do if(!o?!(L&(m&64|0)==0|(m&131072|0)==0):0){if(K)o=1;else{o=g;while(1)if(!(a[o>>0]|0))break;else o=o+1|0;o=(o-g&1073741823)+1|0}l=(c[f+8>>2]|0)+1|0;r=(l|0)>(o|0)?l:o;r=mg(r,((r|0)<0)<<31>>31)|0;q=O+9|0;a[q>>0]=1;if(!r){Sc(O);n=7;break a}if(!L){a[r>>0]=0;o=lc[c[f+36>>2]&31](f,g,l,r)|0;if(o){Sc(r);Sc(O);n=o;break a}}else gw(r|0,g|0,o|0)|0;o=c[3664]|0;c:do if(o){while(1){l=c[o>>2]|0;if((Wv(r,c[l+168>>2]|0)|0)==0?(c[l>>2]|0)==(f|0):0)break;o=c[o+68>>2]|0;if(!o)break c}l=c[h+20>>2]|0;d:do if((l|0)>0){p=c[h+16>>2]|0;while(1){l=l+-1|0;D=c[p+(l<<4)+4>>2]|0;if((D|0)!=0?(c[D+4>>2]|0)==(o|0):0)break;if((l|0)<=0)break d}Sc(r);Sc(O);n=19;break a}while(0);c[O+4>>2]=o;D=o+64|0;c[D>>2]=(c[D>>2]|0)+1;Sc(r);if(!o){G=32;break b}if(!(a[q>>0]|0))break b;else{G=105;break b}}while(0);Sc(r);G=32}else G=32;while(0);e:do if((G|0)==32){I=mg(84,0)|0;if(I){u=I+0|0;t=u+84|0;do{a[u>>0]=0;u=u+1|0}while((u|0)<(t|0));C=J&1;D=(C|0)==0;c[H>>2]=1024;B=f+4|0;o=c[B>>2]|0;if((o|0)>40)l=o+7&-8;else l=40;c[I>>2]=0;do if(!(J&2))if(!K)if(a[g>>0]|0){v=f+8|0;q=(c[v>>2]|0)+1|0;x=q<<1;x=mg(x,((x|0)<0)<<31>>31)|0;if(!x)n=7;else{a[x>>0]=0;o=lc[c[f+36>>2]&31](f,g,q,x)|0;q=x;while(1)if(!(a[q>>0]|0))break;else q=q+1|0;u=q-x&1073741823;r=g;while(1)if(!(a[r>>0]|0))break;else r=r+1|0;t=(r-g&1073741823)+1|0;r=a[g+t>>0]|0;t=g+t|0;if(!(r<<24>>24))q=t;else{q=t;do{if(!(r<<24>>24))r=q;else{r=q;do r=r+1|0;while((a[r>>0]|0)!=0)}r=r-q&1073741823;p=q+(r+1)|0;s=p;while(1)if(!(a[s>>0]|0))break;else s=s+1|0;q=q+(r+2+(s-p&1073741823))|0;r=a[q>>0]|0}while(r<<24>>24!=0)}if(!o){if((u+8|0)<=(c[v>>2]|0)){w=1;A=0;v=u;u=q+1-t|0;r=x;G=58;break}c[A>>2]=46171;c[A+4>>2]=10788;Zc(14,14848,A);o=14}Sc(x);G=89}}else{w=1;A=0;v=0;u=0;r=0;t=0;G=58}else{g=0;w=0;A=0;v=0;u=0;r=0;t=0;G=58}else if(!K)if(a[g>>0]|0){r=gh(0,g)|0;if(!r)n=7;else{o=r;while(1)if(!(a[o>>0]|0))break;else o=o+1|0;g=0;w=0;A=1;v=o-r&1073741823;u=0;t=0;G=58}}else{w=1;A=1;v=0;u=0;r=0;t=0;G=58}else{g=0;w=0;A=1;v=0;u=0;r=0;t=0;G=58}while(0);do if((G|0)==58){q=(l<<1)+17+(v*3|0)+u+((c[B>>2]|0)+271&-8)|0;z=mg(q,0)|0;if(!z){if(!r){n=7;break}Sc(r);n=7;break}bw(z|0,0,q|0)|0;x=z+204|0;c[x>>2]=z+216;y=z+60|0;c[y>>2]=z+264;s=(c[B>>2]|0)+271&-8;c[z+68>>2]=z+s;s=s+l|0;c[z+64>>2]=z+s;s=s+l|0;q=z+s|0;o=z+168|0;c[o>>2]=q;if(r){p=v+1|0;l=z+172|0;c[l>>2]=z+(u+p+s);gw(q|0,r|0,v|0)|0;if(u)gw((c[o>>2]|0)+p|0,t|0,u|0)|0;gw(c[l>>2]|0,r|0,v|0)|0;u=(c[l>>2]|0)+v+0|0;s=14928;t=u+10|0;do{a[u>>0]=a[s>>0]|0;u=u+1|0;s=s+1|0}while((u|0)<(t|0));l=(c[l>>2]|0)+(v+9)|0;B=z+212|0;c[B>>2]=l;gw(l|0,r|0,v|0)|0;B=(c[B>>2]|0)+v|0;a[B+0>>0]=a[14944]|0;a[B+1>>0]=a[14945]|0;a[B+2>>0]=a[14946]|0;a[B+3>>0]=a[14947]|0;a[B+4>>0]=a[14948]|0;Sc(r)}c[z>>2]=f;c[z+144>>2]=m;do if(w?(a[g>>0]|0)!=0:0){c[E>>2]=0;o=pc[c[f+24>>2]&31](f,c[o>>2]|0,c[y>>2]|0,m&556927,E)|0;p=c[E>>2]&1;if(!o){o=c[y>>2]|0;o=hc[c[(c[o>>2]|0)+48>>2]&127](o)|0;do if((p|0)==0?(sp(z),F=c[z+148>>2]|0,F>>>0>1024):0)if(F>>>0>8192){c[H>>2]=8192;break}else{c[H>>2]=F;break}while(0);a[z+13>>0]=bg(g,14952,0)|0;if((o&8192|0)==0?(bg(g,14960,0)|0)==0:0){s=0;G=77;break}o=m|1;G=76}}else{o=m;G=76}while(0);if((G|0)==76){a[z+16>>0]=1;a[z+17>>0]=4;a[z+13>>0]=1;p=o&1;s=1;G=77}if((G|0)==77){o=Yk(z,H,-1)|0;if(!o){l=c[H>>2]|0;r=(A|0)==0;m=A^1;q=r?75:0;o=c[x>>2]|0;u=o+0|0;t=u+48|0;do{c[u>>2]=0;u=u+4|0}while((u|0)<(t|0));c[o+20>>2]=1;c[o+24>>2]=80;a[o+28>>0]=m;a[o+29>>0]=2;c[o+32>>2]=q;c[o+36>>2]=z;c[o+16>>2]=100;o=Do(o,l)|0;if(!o){a[z+6>>0]=C^1;c[z+156>>2]=1073741823;a[z+12>>0]=s;a[z+4>>0]=s;a[z+18>>0]=s;a[z+15>>0]=A;a[z+14>>0]=p;a[z+7>>0]=s;if(!(s<<24>>24)){a[z+8>>0]=1;a[z+11>>0]=2;a[z+10>>0]=34;a[z+9>>0]=2}b[z+140>>1]=80;E=z+160|0;c[E>>2]=-1;c[E+4>>2]=-1;sp(z);do if(D){if(r)break;a[z+5>>0]=4}else a[z+5>>0]=2;while(0);c[z+196>>2]=21;c[I>>2]=z;G=90;break}}}l=c[y>>2]|0;m=c[l>>2]|0;if(m){hc[c[m+4>>2]&127](l)|0;c[l>>2]=0}Xk(c[z+200>>2]|0);Sc(z);G=89}while(0);if((G|0)==89)if(!o)G=90;else n=o;do if((G|0)==90){o=c[I>>2]|0;E=h+40|0;t=c[E+4>>2]|0;u=o+128|0;c[u>>2]=c[E>>2];c[u+4>>2]=t;u=M+0|0;t=u+100|0;do{a[u>>0]=0;u=u+1|0}while((u|0)<(t|0));o=c[o+60>>2]|0;l=c[o>>2]|0;if((l|0)!=0?(n=pc[c[l+8>>2]&31](o,M,100,0,0)|0,!((n|0)==0|(n|0)==522)):0)break;a[I+16>>0]=J;c[I+4>>2]=h;o=c[I>>2]|0;l=o+176|0;c[l>>2]=76;c[o+180>>2]=I;m=c[o+60>>2]|0;n=c[m>>2]|0;if(!n)l=o;else{Yb[c[n+40>>2]&63](m,15,l)|0;l=c[I>>2]|0}c[O+4>>2]=I;c[I+8>>2]=0;c[I+12>>2]=0;if(a[l+14>>0]|0){E=I+22|0;b[E>>1]=e[E>>1]|1}E=d[M+17>>0]<<16|d[M+16>>0]<<8;m=I+32|0;c[m>>2]=E;if((E+-512|0)>>>0<=65024?(E+16777215&E|0)==0:0){o=a[M+20>>0]|0;E=I+22|0;b[E>>1]=e[E>>1]|2;a[I+17>>0]=(d[M+53>>0]<<16|d[M+52>>0]<<24|d[M+54>>0]<<8|d[M+55>>0]|0)!=0&1;a[I+18>>0]=(d[M+65>>0]<<16|d[M+64>>0]<<24|d[M+66>>0]<<8|d[M+67>>0]|0)!=0&1}else{c[m>>2]=0;if(K|L)o=0;else{a[I+17>>0]=0;a[I+18>>0]=0;o=0}}o=o&255;n=Yk(l,m,o)|0;if(!n){c[I+36>>2]=(c[m>>2]|0)-o;if(!(a[O+9>>0]|0))break e;c[I+64>>2]=1;c[I+68>>2]=c[3664];c[3664]=I;G=105;break e}}while(0);if(I){m=c[I>>2]|0;if(!m)m=I;else{hp(m);m=I}}else m=0}else{m=0;n=7}Sc(m);Sc(O);c[k>>2]=0;break a}while(0);f:do if((G|0)==105?(N=c[h+20>>2]|0,(N|0)>0):0){m=c[h+16>>2]|0;l=0;while(1){n=c[m+(l<<4)+4>>2]|0;if((n|0)!=0?(a[n+9>>0]|0)!=0:0){l=n;break}l=l+1|0;if((l|0)>=(N|0))break f}while(1){n=l+28|0;m=c[n>>2]|0;if(!m){m=l;break}else l=m}o=c[O+4>>2]|0;if(o>>>0<(c[m+4>>2]|0)>>>0){c[O+24>>2]=m;c[O+28>>2]=0;c[n>>2]=O;break}while(1){n=m+24|0;l=c[n>>2]|0;if(!l){G=113;break}if((c[l+4>>2]|0)>>>0<o>>>0)m=l;else{G=115;break}}if((G|0)==113){c[O+24>>2]=0;c[O+28>>2]=m}else if((G|0)==115){c[O+24>>2]=l;c[O+28>>2]=m;c[l+28>>2]=O}c[n>>2]=O}while(0);c[k>>2]=O;n=c[O+4>>2]|0;c[n+4>>2]=c[O>>2];if(!(c[n+48>>2]|0)){n=c[(c[n>>2]|0)+204>>2]|0;c[n+16>>2]=2e3;fc[c[8744+124>>2]&15](c[n+40>>2]|0,2e3);n=0}else n=0}else n=7;while(0);i=P;return n|0}function wm(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+48|0;if((i|0)>=(j|0))ba();r=y;v=y+28|0;w=y+24|0;u=y+20|0;n=y+16|0;p=y+12|0;q=y+32|0;s=y+8|0;h=c[b>>2]|0;t=c[b+4>>2]|0;g=t+4|0;c[g>>2]=h;a:do if(!(a[t+17>>0]|0)){g=ep(t,v,w,1,0)|0;c[u>>2]=g;if(!g){h=c[v>>2]|0;x=39}}else{o=t+8|0;k=c[o>>2]|0;if(k)do{m=k+72|0;a[m>>0]=d[m>>0]&251;k=c[k+8>>2]|0}while((k|0)!=0);c[g>>2]=h;m=c[(c[t+12>>2]|0)+56>>2]|0;m=d[m+53>>0]<<16|d[m+52>>0]<<24|d[m+54>>0]<<8|d[m+55>>0];c[w>>2]=m;h=((c[2514]|0)>>>0)/((c[t+32>>2]|0)>>>0)|0;g=t+36|0;while(1){l=m+1|0;if(l>>>0<2)k=0;else{k=m+-1|0;k=k-((k>>>0)%(((((c[g>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;k=((k+1|0)==(h|0)?3:2)+k|0}if((l|0)==(k|0)|(m|0)==(h|0))m=l;else break}c[w>>2]=l;g=ep(t,p,n,l,1)|0;c[u>>2]=g;if(!g){m=c[n>>2]|0;do if((m|0)==(l|0)){h=c[p>>2]|0;c[v>>2]=h}else{a[q>>0]=0;c[s>>2]=0;k=c[o>>2]|0;b:do if(!k)g=0;else{while(1){if(k)break;k=c[2]|0;if(!k){g=0;break b}}g=Bl(k,0,0)|0}while(0);c[u>>2]=g;k=c[p>>2]|0;if(k)xg(c[k+68>>2]|0);if(g)break a;g=$k(t,l,v,0)|0;c[u>>2]=g;if(g)break a;g=dp(t,l,q,s)|0;c[u>>2]=g;k=a[q>>0]|0;if((k+-1&255)>=2){h=c[v>>2]|0;if(!g){g=Vm(t,h,k,c[s>>2]|0,m,0)|0;c[u>>2]=g;if(h)xg(c[h+68>>2]|0);if(g)break a;g=$k(t,l,v,0)|0;c[u>>2]=g;if(g)break a;h=c[v>>2]|0;k=h+68|0;g=Cg(c[k>>2]|0)|0;c[u>>2]=g;if(!g)break;if(!h)break a;xg(c[k>>2]|0);break a}}else{c[r>>2]=60876;c[r+4>>2]=10788;Zc(11,13600,r);c[u>>2]=11;g=11;h=c[v>>2]|0}if(!h)break a;xg(c[h+68>>2]|0);break a}while(0);vp(t,l,1,0,u);g=c[u>>2]|0;if(g){if(!h)break;xg(c[h+68>>2]|0);break}g=zg(b,4,l)|0;c[u>>2]=g;if(g){if(h)xg(c[h+68>>2]|0)}else x=39}}while(0);if((x|0)==39){ll(h,(f&1|0)==0?10:13);g=c[(c[v>>2]|0)+68>>2]|0;if(g)xg(g);c[e>>2]=c[w>>2];g=0}i=y;return g|0}function xm(a,b){a=a|0;b=b|0;var d=0,e=0;do if(b){a=c[a>>2]|0;d=b+56|0;e=c[d>>2]|0;if(e){Wm(a,e);Sc(c[e+40>>2]|0);ig(a,e);c[d>>2]=0}a=c[b+4>>2]|0;if(a){Il(a);break}a=c[b>>2]|0;if(a){gp(a);break}a=c[b+32>>2]|0;if(a){e=c[a>>2]|0;d=c[e>>2]|0;e=e+4|0;c[e>>2]=(c[e>>2]|0)+-1;hc[c[d+28>>2]&127](a)|0}}while(0);return}function ym(f,g,h,k,l,m){f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;N=i;i=i+16|0;if((i|0)>=(j|0))ba();L=N+8|0;K=N;q=f+73|0;do if(((a[q>>0]|0)==1?(p=d[f+72>>0]|0,(p&2|0)!=0):0)?(a[(c[f+120>>2]|0)+2>>0]|0)!=0:0){n=f+24|0;o=c[n>>2]|0;n=c[n+4>>2]|0;if((o|0)==(h|0)&(n|0)==(k|0)){c[m>>2]=0;n=0;break}if((p&8|0)!=0&((n|0)<(k|0)|(n|0)==(k|0)&o>>>0<h>>>0)){c[m>>2]=-1;n=0}else M=8}else M=8;while(0);do if((M|0)==8){if(!g)G=0;else{o=c[g>>2]|0;if(((e[o+8>>1]|0)+(e[o+6>>1]|0)|0)<14){n=e[(c[g+8>>2]|0)+8>>1]|0;H=(a[c[o+16>>2]>>0]|0)==0;c[g+12>>2]=H?-1:1;c[g+16>>2]=H?1:-1;if(!(n&4))if((n&25|0)==0?(c[o+20>>2]|0)==0:0)o=39;else M=13;else o=38}else M=13;if((M|0)==13)o=40;a[g+7>>0]=0;G=o}n=mm(f)|0;if(!n){if(!(a[q>>0]|0)){c[m>>2]=-1;n=0;break}H=f+76|0;C=1-l|0;D=(G|0)==0;I=f+72|0;E=f+24|0;F=f+24|0;a:do{l=b[H>>1]|0;A=c[f+(l<<2)+120>>2]|0;B=A+18|0;p=(e[B>>1]|0)+-1|0;o=p>>C;b[f+(l<<1)+78>>1]=o;l=A+56|0;x=A+20|0;y=A+64|0;z=A+7|0;b:do if(D){s=A+3|0;r=A+60|0;q=0;t=p;while(1){p=o<<1;w=c[y>>2]|0;p=(c[l>>2]|0)+(((d[w+p>>0]<<8|d[w+(p|1)>>0])&e[x>>1])+(d[z>>0]|0))|0;c:do if(a[s>>0]|0)while(1){w=p;p=p+1|0;if((a[w>>0]|0)>=0)break c;if(p>>>0>=(c[r>>2]|0)>>>0){M=25;break a}}while(0);op(p,K)|0;n=K;p=c[n>>2]|0;n=c[n+4>>2]|0;if((n|0)<(k|0)|(n|0)==(k|0)&p>>>0<h>>>0){q=o+1|0;if((o|0)<(t|0))p=t;else{n=-1;M=49;break b}}else{if(!((n|0)>(k|0)|(n|0)==(k|0)&p>>>0>h>>>0)){q=n;break}p=o+-1|0;if((q|0)>(p|0)){n=1;M=49;break b}}o=p+q>>1;t=p}a[I>>0]=d[I>>0]|2;z=E;c[z>>2]=p;c[z+4>>2]=q;b[f+(b[H>>1]<<1)+78>>1]=o;if(a[A+5>>0]|0){M=31;break a}}else{u=A+8|0;v=A+10|0;w=o;q=0;while(1){n=c[l>>2]|0;s=w<<1;o=c[y>>2]|0;s=(d[o+s>>0]<<8|d[o+(s|1)>>0])&e[x>>1];o=s+(d[z>>0]|0)|0;O=a[n+o>>0]|0;t=O&255;r=n+(o+1)|0;do if((O&255)>(d[u>>0]|0)){r=d[r>>0]|0;if((r&128|0)==0?(J=r+(t<<7&16256)|0,(J|0)<=(e[v>>1]|0)):0){n=Yb[G&63](J,n+(o+2)|0,g)|0;break}np(A,n+s|0,F);r=c[F>>2]|0;o=mg(r,((r|0)<0)<<31>>31)|0;if(!o){n=7;break a}b[f+(b[H>>1]<<1)+78>>1]=w;n=Hm(f,0,r,o,2)|0;if(n){M=40;break a}n=Yb[G&63](r,o,g)|0;Sc(o)}else n=Yb[G&63](t,r,g)|0;while(0);if((n|0)<0)q=w+1|0;else{if((n|0)<=0){o=w;M=46;break a}p=w+-1|0}if((q|0)>(p|0)){o=w;M=49;break b}w=p+q>>1}}while(0);if((M|0)==49){M=0;if(a[A+5>>0]|0){M=51;break}l=A+56|0;o=q}q=c[l>>2]|0;if((o|0)<(e[B>>1]|0)){p=o<<1;B=c[A+64>>2]|0;p=(d[B+p>>0]<<8|d[B+(p|1)>>0])&e[A+20>>1];p=d[q+(p+1)>>0]<<16|d[q+p>>0]<<24|d[q+(p+2)>>0]<<8|d[q+(p+3)>>0]}else{p=d[A+6>>0]|0;p=d[q+(p+9)>>0]<<16|d[q+(p+8)>>0]<<24|d[q+(p+10)>>0]<<8|d[q+(p+11)>>0]}b[f+(b[H>>1]<<1)+78>>1]=o;n=nm(f,p)|0}while((n|0)==0);if((M|0)==25){c[L>>2]=57865;c[L+4>>2]=10788;Zc(11,13600,L);n=11;break}else if((M|0)==31){c[m>>2]=0;n=0}else if((M|0)==40)Sc(o);else if((M|0)==46){c[m>>2]=0;b[f+(b[H>>1]<<1)+78>>1]=o;n=(a[g+7>>0]|0)==0?0:11}else if((M|0)==51){b[f+(b[H>>1]<<1)+78>>1]=o;c[m>>2]=n;n=0}b[f+44>>1]=0;a[I>>0]=d[I>>0]&249}}while(0);i=N;return n|0}function zm(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0;b[f+44>>1]=0;h=f+72|0;a[h>>0]=d[h>>0]&249;c[g>>2]=0;do if((a[f+73>>0]|0)==1){h=f+76|0;k=b[h>>1]|0;i=c[f+(k<<2)+120>>2]|0;k=f+(k<<1)+78|0;j=(b[k>>1]|0)+1<<16>>16;b[k>>1]=j;if((j&65535)>=(e[i+18>>1]|0)){h=f+(b[h>>1]<<1)+78|0;b[h>>1]=(b[h>>1]|0)+-1<<16>>16;h=zp(f,g)|0;break}if(!(a[i+5>>0]|0))h=Rm(f)|0;else h=0}else h=zp(f,g)|0;while(0);return h|0}function Am(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0;c[f>>2]=0;j=e+72|0;a[j>>0]=d[j>>0]&241;b[e+44>>1]=0;if(((a[e+73>>0]|0)==1?(g=b[e+76>>1]|0,h=e+(g<<1)+78|0,i=b[h>>1]|0,i<<16>>16!=0):0)?(a[(c[e+(g<<2)+120>>2]|0)+5>>0]|0)!=0:0){b[h>>1]=i+-1<<16>>16;g=0}else g=Ap(e,f)|0;return g|0}function Bm(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;i=0-d&7;j=a+6|0;h=b[j>>1]|0;g=((h&65535)*40|0)+64|0;if((g|0)>(i+e|0)){g=ih(c[a+12>>2]|0,g,0)|0;c[f>>2]=g;if(!g)g=0;else{h=b[j>>1]|0;k=5}}else{c[f>>2]=0;g=d+i|0;k=5}if((k|0)==5){c[g+8>>2]=g+24;c[g>>2]=a;b[g+4>>1]=(h&65535)+1}return g|0}function Cm(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+16|0;if((i|0)>=(j|0))ba();t=u+4|0;s=u;m=c[h+8>>2]|0;a[h+6>>0]=0;k=a[g>>0]|0;if(k<<24>>24>-1){k=k&255;c[t>>2]=k;l=1}else{l=im(g,t)|0;k=c[t>>2]|0}r=d+4|0;p=d+12|0;q=h+4|0;d=k;o=k;n=l&255;k=0;while(1){if(n>>>0>=d>>>0|(o|0)>(f|0))break;h=g+n|0;d=a[h>>0]|0;if(d<<24>>24>-1){c[s>>2]=d&255;h=1}else h=im(h,s)|0;a[m+10>>0]=a[r>>0]|0;c[m+32>>2]=c[p>>2];c[m+24>>2]=0;l=km(g+o|0,c[s>>2]|0,m)|0;k=k+1<<16>>16;if((k&65535)>=(e[q>>1]|0))break;d=c[t>>2]|0;o=l+o|0;n=(h&255)+n|0;m=m+40|0}b[q>>1]=k;i=u;return}function Dm(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;g=b+73|0;if((a[g>>0]|0)==1?(a[b+72>>0]&8)!=0:0)f=0;else h=3;do if((h|0)==3){f=mm(b)|0;if(!f){if(!(a[g>>0]|0)){c[e>>2]=1;f=0;break}c[e>>2]=0;f=Bp(b)|0;e=b+72|0;g=d[e>>0]|0;if(!f){a[e>>0]=g|8;f=0;break}else{a[e>>0]=g&247;break}}}while(0);return f|0}function Em(f,g,h,k,l,m,n,o,p){f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;L=i;i=i+32|0;if((i|0)>=(j|0))ba();u=L;A=L+24|0;B=L+20|0;z=L+16|0;K=L+12|0;H=L+8|0;I=L+28|0;c[H>>2]=p;r=(c[f>>2]|0)+4|0;t=c[r>>2]|0;J=f+73|0;do if((a[J>>0]|0)!=4){s=Hn(t,c[f+60>>2]|0,f)|0;c[K>>2]=s;if(!s){if(!(c[f+16>>2]|0)){s=c[(c[r>>2]|0)+8>>2]|0;if(s)do{if((a[s+72>>0]&16)!=0?(E=s+24|0,(c[E>>2]|0)==(h|0)?(c[E+4>>2]|0)==(k|0):0):0)a[s+73>>0]=0;s=c[s+8>>2]|0}while((s|0)!=0);if((a[f+72>>0]&2)!=0&((k|0)>0|(k|0)==0&h>>>0>0)?(E=f+24|0,x=c[E>>2]|0,E=c[E+4>>2]|0,y=fw(h|0,k|0,-1,-1)|0,(x|0)==(y|0)&(E|0)==(C|0)):0)c[H>>2]=-1;else D=13}else D=13;if(((D|0)==13?(p|0)==0:0)?(q=Cp(f,g,h,k,o,H)|0,c[K>>2]=q,(q|0)!=0):0)break;F=f+76|0;G=c[f+(b[F>>1]<<2)+120>>2]|0;E=c[t+80>>2]|0;c[B>>2]=0;o=G+52|0;y=c[o>>2]|0;c[z>>2]=0;s=d[G+7>>0]|0;t=n+m|0;if(a[G+3>>0]|0){if(t>>>0<128){a[E+s>>0]=t;r=1}else r=(lm(E+s|0,t,((t|0)<0)<<31>>31)|0)&255;s=r+s|0}p=(lm(E+s|0,h,k)|0)+s|0;do if(!(a[G+2>>0]|0))if((k|0)>0|(k|0)==0&h>>>0>2147483647|(g|0)==0){c[u>>2]=58825;c[u+4>>2]=10788;Zc(11,13600,u);q=11;s=0;break}else{x=m;t=h;m=h;n=g;D=24;break}else{x=0;n=l;D=24}while(0);do if((D|0)==24){s=e[G+10>>1]|0;if((t|0)>(s|0)){r=e[G+12>>1]|0;o=(((t-r|0)>>>0)%(((c[(c[o>>2]|0)+36>>2]|0)+-4|0)>>>0)|0)+r|0;o=(o|0)>(s|0)?r:o;r=o+p|0;s=r+4|0;r=E+r|0}else{s=t+p|0;s=(s|0)<4?4:s;r=E;o=t}if((t|0)>0){h=y+17|0;v=y+36|0;w=y+32|0;g=m;u=E+p|0;k=r;p=0;m=o;while(1){if(!m){u=c[z>>2]|0;if(!(a[h>>0]|0))r=u;else{q=((c[2514]|0)>>>0)/((c[w>>2]|0)>>>0)|0;m=u;while(1){r=m+1|0;if(r>>>0<2)o=0;else{o=m+-1|0;o=o-((o>>>0)%(((((c[v>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;o=((o+1|0)==(q|0)?3:2)+o|0}if((o|0)==(r|0)|(m|0)==(q|0))m=r;else break}c[z>>2]=r}q=ep(y,B,z,r,0)|0;c[A>>2]=q;r=(q|0)==0;if((a[h>>0]|0)!=0&r){r=c[z>>2]|0;vp(y,r,(u|0)!=0?4:3,u,A);q=c[A>>2]|0;if(q){o=p;D=38;break}}else{if(!r)break;r=c[z>>2]|0}a[k>>0]=r>>>24;a[k+1>>0]=r>>>16;a[k+2>>0]=r>>>8;a[k+3>>0]=r;if(p)xg(c[p+68>>2]|0);q=c[B>>2]|0;u=q+56|0;k=c[u>>2]|0;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;u=(c[u>>2]|0)+4|0;m=(c[v>>2]|0)+-4|0}else q=p;r=(t|0)>(m|0)?m:t;if((g|0)>0){r=(r|0)>(g|0)?g:r;gw(u|0,n|0,r|0)|0}else bw(u|0,0,r|0)|0;t=t-r|0;o=(g|0)==(r|0);if((t|0)<=0){D=51;break}else{g=o?x:g-r|0;u=u+r|0;n=o?l:n+r|0;p=q;m=m-r|0}}if((D|0)==38){p=c[B>>2]|0;if(!p)p=o;else{xg(c[p+68>>2]|0);p=o}}else if((D|0)==51){if(!q){q=0;break}xg(c[q+68>>2]|0);q=0;break}if(p)xg(c[p+68>>2]|0)}else q=0}while(0);c[K>>2]=q;if(!q){q=f+(b[F>>1]<<1)+78|0;o=b[q>>1]|0;r=o&65535;p=c[H>>2]|0;if(!p){q=Cg(c[G+68>>2]|0)|0;c[K>>2]=q;if(q)break;q=r<<1;D=c[G+64>>2]|0;q=(c[G+56>>2]|0)+((d[D+q>>0]<<8|d[D+(q|1)>>0])&e[G+20>>1])|0;if(!(a[G+5>>0]|0)){D=d[q>>0]|d[q+1>>0]<<8|d[q+2>>0]<<16|d[q+3>>0]<<24;a[E>>0]=D;a[E+1>>0]=D>>8;a[E+2>>0]=D>>16;a[E+3>>0]=D>>24}c[K>>2]=Dp(G,q,I)|0;Ep(G,r,e[I>>1]|0,K);q=c[K>>2]|0;if(!q)q=r;else break}else if((p|0)<0?(b[G+18>>1]|0)!=0:0){D=o+1<<16>>16;b[q>>1]=D;q=D&65535}else q=r;Fp(G,q,E,s,0,0,K);b[f+44>>1]=0;q=c[K>>2]|0;if(!q)if(!(a[G+1>>0]|0))q=0;else{q=f+72|0;a[q>>0]=d[q>>0]&253;q=Gp(f)|0;c[K>>2]=q;a[(c[f+(b[F>>1]<<2)+120>>2]|0)+1>>0]=0;a[J>>0]=0}}}else q=s}else q=c[f+68>>2]|0;while(0);i=L;return q|0}function Fm(f){f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+16|0;if((i|0)>=(j|0))ba();y=z+4|0;q=z+8|0;l=z;m=(c[f>>2]|0)+4|0;s=c[m>>2]|0;w=f+76|0;x=b[w>>1]|0;u=x<<16>>16;p=b[f+(u<<1)+78>>1]|0;v=p&65535;r=c[f+(u<<2)+120>>2]|0;do if((p&65535)<(e[r+18>>1]|0)?(a[f+73>>0]|0)==1:0){p=v<<1;t=c[r+64>>2]|0;p=(c[r+56>>2]|0)+((d[t+p>>0]<<8|d[t+(p|1)>>0])&e[r+20>>1])|0;t=r+5|0;if((a[t>>0]|0)==0?(c[l>>2]=0,k=Am(f,l)|0,c[y>>2]=k,(k|0)!=0):0){g=k;break}k=Hn(s,c[f+60>>2]|0,f)|0;c[y>>2]=k;if(!k){if((c[f+16>>2]|0)==0?(o=f+24|0,n=c[o>>2]|0,o=c[o+4>>2]|0,h=c[(c[m>>2]|0)+8>>2]|0,(h|0)!=0):0)do{if((a[h+72>>0]&16)!=0?(m=h+24|0,(c[m>>2]|0)==(n|0)?(c[m+4>>2]|0)==(o|0):0):0)a[h+73>>0]=0;h=c[h+8>>2]|0}while((h|0)!=0);h=Cg(c[r+68>>2]|0)|0;c[y>>2]=h;if(!h){c[y>>2]=Dp(r,p,q)|0;Ep(r,v,e[q>>1]|0,y);h=c[y>>2]|0;if(!h){if((a[t>>0]|0)==0?(p=c[f+(b[w>>1]<<2)+120>>2]|0,o=c[(c[f+(u+1<<2)+120>>2]|0)+72>>2]|0,l=c[p+56>>2]|0,q=p+18|0,m=e[q>>1]<<1,g=c[p+64>>2]|0,m=(d[g+(m+-2)>>0]<<8|d[g+(m+-1)>>0])&e[p+20>>1],g=(Hp(p,l+m|0)|0)&65535,n=c[s+80>>2]|0,c[y>>2]=Cg(c[p+68>>2]|0)|0,Fp(r,v,l+(m+-4)|0,g+4|0,n,o,y),Ep(p,(e[q>>1]|0)+-1|0,g,y),g=c[y>>2]|0,(g|0)!=0):0)break;g=Gp(f)|0;c[y>>2]=g;if(!g){g=b[w>>1]|0;if(g<<16>>16>x<<16>>16){do{h=g+-1<<16>>16;b[w>>1]=h;g=c[f+(g<<16>>16<<2)+120>>2]|0;if(!g)g=h;else{xg(c[g+68>>2]|0);g=b[w>>1]|0}}while(g<<16>>16>x<<16>>16);g=Gp(f)|0;c[y>>2]=g;if(g)break}mm(f)|0;g=0}}else g=h}else g=h}else g=k}else g=1;while(0);i=z;return g|0}function Gm(f,g,k,l){f=f|0;g=g|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0.0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;L=i;i=i+64|0;if((i|0)>=(j|0))ba();J=L+40|0;p=L+56|0;H=L;n=L+52|0;I=L+48|0;s=c[k+8>>2]|0;K=c[k>>2]|0;do if(!l){l=a[g>>0]|0;if(l<<24>>24>-1){l=l&255;c[p>>2]=l;m=1}else{m=im(g,p)|0;l=c[p>>2]|0}if(l>>>0>f>>>0){c[J>>2]=68267;c[J+4>>2]=10788;Zc(11,13600,J);a[k+7>>0]=11;m=0;break}else{G=l;p=l;l=0;n=m&255;o=15;break}}else{l=g+1|0;m=a[l>>0]|0;if(m<<24>>24>-1){l=m&255;c[n>>2]=l;o=1}else{o=im(l,n)|0;l=c[n>>2]|0}m=d[g>>0]|0;c[p>>2]=m;if(l>>>0>11)l=(l+-12|0)>>>1;else l=d[34336+l>>0]|0;G=m;p=l+m|0;l=1;n=(o&255)+1|0;s=s+40|0;o=15}while(0);do if((o|0)==15){w=H+12|0;x=K+4|0;y=H+10|0;z=K+12|0;A=H+32|0;B=H+8|0;D=H+16|0;F=k+7|0;E=k+4|0;v=p;u=n;a:while(1){n=e[s+8>>1]|0;do if(!(n&4)){if(n&8){o=a[g+u>>0]|0;p=o&255;c[I>>2]=p;if((o&255)>11){m=1;o=62;break a}if(!(o<<24>>24)){m=-1;o=62;break a}q=+h[s>>3];km(g+v|0,p,H)|0;if(o<<24>>24==7)r=+h[H>>3];else{m=H;r=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0)}if(r<q){m=-1;o=62;break a}if(r>q){m=1;o=62;break a}else break}do if(!(n&2)){o=g+u|0;t=a[o>>0]|0;p=t&255;if(!(n&16)){c[I>>2]=p;m=t<<24>>24!=0&1;break}if(t<<24>>24>-1)c[I>>2]=p;else{im(o,I)|0;p=c[I>>2]|0}if(!(p>>>0>11&(p&1|0)==0)){m=-1;o=62;break a}t=(p+-12|0)>>>1;if((t+v|0)>>>0>f>>>0){o=57;break a}o=c[s+12>>2]|0;m=Vv(g+v|0,c[s+16>>2]|0,(t|0)<(o|0)?t:o)|0;if(m){o=62;break a}m=t-o|0}else{p=g+u|0;o=a[p>>0]|0;if(o<<24>>24>-1){p=o&255;c[I>>2]=p}else{im(p,I)|0;p=c[I>>2]|0}if(p>>>0<12){m=-1;o=62;break a}if(!(p&1)){m=1;o=62;break a}n=(p+-12|0)>>>1;c[w>>2]=n;if((n+v|0)>>>0>f>>>0){o=46;break a}o=c[K+(l<<2)+20>>2]|0;if(o){a[y>>0]=a[x>>0]|0;c[A>>2]=c[z>>2];b[B>>1]=2;c[D>>2]=g+v;m=lp(H,s,o,F)|0;break}t=c[s+12>>2]|0;m=Vv(g+v|0,c[s+16>>2]|0,(n|0)<(t|0)?n:t)|0;if(m){o=62;break a}m=n-t|0}while(0);if(m){o=62;break a}}else{o=a[g+u>>0]|0;p=o&255;c[I>>2]=p;if((o&255)>11){m=1;o=62;break a}if(o<<24>>24==7){m=s;q=+((c[m>>2]|0)>>>0)+4294967296.0*+(c[m+4>>2]|0);km(g+v|0,p,H)|0;r=+h[H>>3];if(r<q){m=-1;o=62;break a}if(r>q){m=1;o=62;break a}else break}else if(!(o<<24>>24)){m=-1;o=62;break a}o=g+v|0;switch(p|0){case 1:case 0:{t=a[o>>0]|0;m=((t|0)<0)<<31>>31;break}case 4:{t=d[g+(v+1)>>0]<<16|d[o>>0]<<24|d[g+(v+2)>>0]<<8|d[g+(v+3)>>0];m=((t|0)<0)<<31>>31;break}case 3:{t=d[g+(v+1)>>0]<<8|a[o>>0]<<16|d[g+(v+2)>>0];m=((t|0)<0)<<31>>31;break}case 6:{m=d[g+(v+1)>>0]<<16|d[o>>0]<<24|d[g+(v+2)>>0]<<8|d[g+(v+3)>>0];t=d[g+(v+5)>>0]<<16|d[g+(v+4)>>0]<<24|d[g+(v+6)>>0]<<8|d[g+(v+7)>>0];break}case 2:{t=a[o>>0]<<8|d[g+(v+1)>>0];m=((t|0)<0)<<31>>31;break}case 5:{m=a[o>>0]<<8|d[g+(v+1)>>0];t=d[g+(v+3)>>0]<<16|d[g+(v+2)>>0]<<24|d[g+(v+4)>>0]<<8|d[g+(v+5)>>0];break}default:{m=0;t=p+-8|0}}n=s;o=c[n>>2]|0;n=c[n+4>>2]|0;if((m|0)<(n|0)|(m|0)==(n|0)&t>>>0<o>>>0){m=-1;o=62;break a}if((m|0)>(n|0)|(m|0)==(n|0)&t>>>0>o>>>0){m=1;o=62;break a}}while(0);l=l+1|0;s=s+40|0;if(p>>>0>11)n=(p+-12|0)>>>1;else n=d[34336+p>>0]|0;t=p;o=0;p=0;do{p=p+1|0;t=iw(t|0,o|0,7)|0;o=C}while(((t|0)!=0|(o|0)!=0)&(p|0)<9);v=n+v|0;u=p+u|0;if(u>>>0>=G>>>0){o=70;break}if(v>>>0>f>>>0?1:(l|0)>=(e[E>>1]|0)){o=70;break}}if((o|0)==46){c[J>>2]=68346;c[J+4>>2]=10788;Zc(11,13600,J);a[F>>0]=11;m=0;break}else if((o|0)==57){c[J>>2]=68375;c[J+4>>2]=10788;Zc(11,13600,J);a[F>>0]=11;m=0;break}else if((o|0)==62){m=(a[(c[K+16>>2]|0)+l>>0]|0)==0?m:0-m|0;break}else if((o|0)==70){m=a[k+6>>0]|0;break}}while(0);i=L;return m|0}function Hm(f,g,h,k,l){f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=i;i=i+16|0;if((i|0)>=(j|0))ba();A=B;y=B+12|0;z=B+8|0;m=b[f+76>>1]|0;o=c[f+(m<<2)+120>>2]|0;x=c[f+4>>2]|0;if(!(b[f+44>>1]|0)){s=o+56|0;m=e[f+(m<<1)+78>>1]<<1;r=c[o+64>>2]|0;np(o,(c[s>>2]|0)+((d[r+m>>0]<<8|d[r+(m|1)>>0])&e[o+20>>1])|0,f+24|0);m=f+72|0;a[m>>0]=d[m>>0]|2;m=s}else m=o+56|0;s=c[f+32>>2]|0;q=f+40|0;n=e[q>>1]|0;r=x+36|0;if((s+n|0)>>>0<=((c[m>>2]|0)+(c[r>>2]|0)|0)>>>0){if(n>>>0>g>>>0){p=(h+g|0)>>>0>n>>>0?n-g|0:h;n=s+g|0;if(l&1){m=Cg(c[o+68>>2]|0)|0;if(!m){gw(n|0,k|0,p|0)|0;m=0}}else{gw(k|0,n|0,p|0)|0;m=0}k=k+p|0;t=0;h=h-p|0}else{t=g-n|0;m=0}a:do if((m|0)==0&(h|0)!=0){m=c[r>>2]|0;w=m+-4|0;n=e[q>>1]|0;q=d[s+(n+1)>>0]<<16|d[s+n>>0]<<24|d[s+(n+2)>>0]<<8|d[s+(n+3)>>0];c[y>>2]=q;s=f+72|0;do if((l|0)!=2?(a[s>>0]&4)==0:0){m=((m+-5+(c[f+36>>2]|0)-n|0)>>>0)/(w>>>0)|0;g=f+64|0;if((m|0)>(c[g>>2]|0)){o=f+20|0;n=ng(c[o>>2]|0,m<<3,0)|0;if(!n){m=7;break}c[g>>2]=m<<1;c[o>>2]=n}bw(c[f+20>>2]|0,0,m<<2|0)|0;a[s>>0]=d[s>>0]|4;m=0}else m=0;while(0);g=a[s>>0]|0;if((g&4)!=0?(v=(t>>>0)/(w>>>0)|0,u=c[(c[f+20>>2]|0)+(v<<2)>>2]|0,(u|0)!=0):0){c[y>>2]=u;p=(t>>>0)%(w>>>0)|0;o=u;q=v}else{p=t;o=q;q=0}if((m|0)==0&(o|0)!=0){u=l&1;v=u<<1^2;u=(u|0)==0;l=f+20|0;while(1){if(g&4)c[(c[l>>2]|0)+(q<<2)>>2]=o;if(p>>>0<w>>>0){r=(p+h|0)>>>0>w>>>0?w-p|0:h;m=vg(c[x>>2]|0,o,z,v)|0;if(!m){g=c[z>>2]|0;n=c[g+4>>2]|0;o=d[n+1>>0]<<16|d[n>>0]<<24|d[n+2>>0]<<8|d[n+3>>0];c[y>>2]=o;n=n+(p+4)|0;if(!u){m=Cg(g)|0;if(!m){gw(n|0,k|0,r|0)|0;m=0}}else{gw(k|0,n|0,r|0)|0;m=0}if(!g)p=0;else{xg(g);p=0}}h=h-r|0;k=k+r|0;q=q+1|0}else{g=q+1|0;m=c[(c[l>>2]|0)+(g<<2)>>2]|0;if(!m){m=Ip(x,o,0,y)|0;o=c[y>>2]|0}else{c[y>>2]=m;o=m;m=0}p=p-w|0;q=g}if(!((m|0)==0&(h|0)!=0&(o|0)!=0))break a;g=a[s>>0]|0}}}while(0);if((m|0)==0&(h|0)!=0){c[A>>2]=57357;c[A+4>>2]=10788;Zc(11,13600,A);m=11}}else{c[A>>2]=57202;c[A+4>>2]=10788;Zc(11,13600,A);m=11}i=B;return m|0}function Im(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[a>>2]|0;d=a+44|0;ig(e,c[d>>2]|0);a=b+8|0;c[d>>2]=gh(e,c[a>>2]|0)|0;Sc(c[a>>2]|0);c[a>>2]=0;return}function Jm(e,f){e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();k=r+4|0;p=r;q=e+12|0;if(!(c[q>>2]|0)){h=e+8|0;g=Bm(c[(c[h>>2]|0)+28>>2]|0,0,0,k)|0;c[q>>2]=g;if(!(c[k>>2]|0))g=7;else{b[g+4>>1]=b[(c[(c[h>>2]|0)+28>>2]|0)+6>>1]|0;a[g+7>>0]=0;l=4}}else l=4;if((l|0)==4){o=mg(256,0)|0;if(!o)g=7;else{bw(o|0,0,256)|0;g=c[f>>2]|0;c[p>>2]=g;if(g){n=f+4|0;while(1){h=c[n>>2]|0;if(h)if((g|0)==(h|0))m=0;else m=h+(c[g+4>>2]|0)|0;else m=c[g+4>>2]|0;c[g+4>>2]=0;l=c[o>>2]|0;k=c[p>>2]|0;if(!l)l=o;else{h=o;g=0;do{Jp(e,k,l,p);c[h>>2]=0;g=g+1|0;h=o+(g<<2)|0;l=c[h>>2]|0;k=c[p>>2]|0}while((l|0)!=0);l=h}c[l>>2]=k;c[p>>2]=m;if(!m)break;else g=m}}c[p>>2]=0;g=0;h=0;do{Jp(e,g,c[o+(h<<2)>>2]|0,p);h=h+1|0;g=c[p>>2]|0}while((h|0)!=64);c[f>>2]=g;Sc(o);g=d[(c[q>>2]|0)+7>>0]|0}}i=r;return g|0}function Km(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+64|0;if((i|0)>=(j|0))ba();m=o+40|0;n=o;a[b+56>>0]=1;g=b+64|0;l=b+36|0;k=b+72|0;h=c[(c[k>>2]|0)+24>>2]|0;f=n+0|0;e=f+40|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(e|0));f=b+96|0;if(!((c[f>>2]|0)==0?(d=Kp(h,f)|0,(d|0)!=0):0)){d=Jm(g,l)|0;if(!d){g=b+104|0;d=g;Lp(c[f>>2]|0,n,c[(c[k>>2]|0)+12>>2]|0,c[d>>2]|0,c[d+4>>2]|0);d=b+92|0;c[d>>2]=(c[d>>2]|0)+1;d=c[b+44>>2]|0;Mp(n,m,lm(m,d,((d|0)<0)<<31>>31)|0);d=c[l>>2]|0;if(d){f=b+40|0;do{e=d;d=c[d+4>>2]|0;b=c[e>>2]|0;Mp(n,m,lm(m,b,((b|0)<0)<<31>>31)|0);Mp(n,e+8|0,c[e>>2]|0);if(!(c[f>>2]|0))Sc(e)}while((d|0)!=0)}c[l>>2]=0;d=Np(n,g)|0}}i=o;return d|0}function Lm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();p=r;g=d;k=c[g>>2]|0;g=c[g+4>>2]|0;q=Mm(b)|0;c[e>>2]=q;h=(q|0)==0;f=h?7:0;h=h^1;if((b|0)>0&h){o=q+12|0;n=a+32|0;m=0;do{h=c[o>>2]|0;l=h+(m*56|0)|0;f=Op(a,l,n,k,g)|0;if(!f){f=Pp(l,p)|0;g=l;k=p;g=fw(c[k>>2]|0,c[k+4>>2]|0,c[g>>2]|0,c[g+4>>2]|0)|0;k=h+(m*56|0)+8|0;h=k;c[h>>2]=g;c[h+4>>2]=C;if(!f)f=Qp(l)|0}else k=h+(m*56|0)+8|0;g=k;k=c[g>>2]|0;g=c[g+4>>2]|0;m=m+1|0;h=(f|0)==0}while((m|0)<(b|0)&h)}if(!h){Pm(q);c[e>>2]=0}b=d;c[b>>2]=k;c[b+4>>2]=g;i=r;return f|0}function Mm(a){a=a|0;var b=0,d=0;b=2;while(1)if((b|0)<(a|0))b=b<<1;else{d=b;break}b=c[2252]|0;if((b|0)!=0?(hc[b&127](100)|0)!=0:0)b=0;else{a=(d*60|0)+16|0;b=mg(a,((a|0)<0)<<31>>31)|0;if(!b)b=0;else{bw(b|0,0,a|0)|0;c[b>>2]=d;c[b+4>>2]=0;a=b+16|0;c[b+12>>2]=a;c[b+8>>2]=a+(d*56|0)}}return b|0}function Nm(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=c[2252]|0;if((f|0)!=0?(hc[f&127](100)|0)!=0:0){f=0;i=6}else i=3;do if((i|0)==3){f=mg(64,0)|0;if(!f){i=6;break}else{g=f+0|0;h=g+64|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));c[e>>2]=f;c[f+4>>2]=d;c[f>>2]=b;h=c[b+8>>2]|0;g=(c[h+8>>2]|0)+9|0;h=(c[h+4>>2]|0)/2|0;h=(g|0)>(h|0)?g:h;c[f+16>>2]=h;f=b+56|0;g=f;g=fw(h|0,((h|0)<0)<<31>>31|0,c[g>>2]|0,c[g+4>>2]|0)|0;c[f>>2]=g;c[f+4>>2]=C;f=0;break}}while(0);if((i|0)==6){c[e>>2]=f;Pm(d);f=7}return f|0}function Om(a){a=a|0;if(a){Pm(c[a+4>>2]|0);Sc(a)}return}function Pm(a){a=a|0;var b=0,d=0;if((a|0)!=0?(c[a>>2]|0)>0:0){b=a+12|0;d=0;do{Rp((c[b>>2]|0)+(d*56|0)|0);d=d+1|0}while((d|0)<(c[a>>2]|0))}Sc(a);return}function Qm(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;n=c[b>>2]|0;r=b+4|0;c[r>>2]=a;a:do if((n|0)>0){o=b+12|0;p=0;do{l=c[o>>2]|0;j=l+(p*56|0)|0;l=c[l+(p*56|0)+48>>2]|0;if(l){m=c[l>>2]|0;i=c[(c[m+8>>2]|0)+24>>2]|0;e=Qm(m,c[l+4>>2]|0)|0;if(e)break a;k=c[l+16>>2]|0;g=m+48|0;h=c[g>>2]|0;f=m+56|0;if(!h){e=Kp(i,g)|0;i=f;c[i>>2]=0;c[i+4>>2]=0;if(e)break a;h=c[g>>2]|0;g=0;f=0}else{g=c[f>>2]|0;f=c[f+4>>2]|0}c[l+48>>2]=h;l=l+8|0;c[l>>2]=g;c[l+4>>2]=f;l=fw(g|0,f|0,k|0,((k|0)<0)<<31>>31|0)|0;e=m+56|0;c[e>>2]=l;c[e+4>>2]=C;e=Qp(j)|0;if(e)break a}p=p+1|0}while((p|0)<(n|0));e=c[b>>2]|0;q=12}else{e=n;q=12}while(0);if((q|0)==12){f=e+-1|0;b:do if((f|0)>0){j=b+12|0;k=b+8|0;h=e;g=e;i=f;while(1){e=(h|0)/2|0;if((g|0)>(e|0)){g=i-e<<1;e=g;g=g|1}else{g=i<<1;n=c[k>>2]|0;e=c[n+(g<<2)>>2]|0;g=c[n+((g|1)<<2)>>2]|0}f=c[j>>2]|0;if(c[f+(e*56|0)+24>>2]|0){if(c[f+(g*56|0)+24>>2]|0){n=(Sp(c[r>>2]|0,c[f+(e*56|0)+32>>2]|0,c[f+(e*56|0)+20>>2]|0,c[f+(g*56|0)+32>>2]|0,c[f+(g*56|0)+20>>2]|0)|0)<1;e=n?e:g}}else e=g;c[(c[k>>2]|0)+(i<<2)>>2]=e;e=i+-1|0;if((e|0)<=0)break b;g=i;h=c[b>>2]|0;i=e}}while(0);e=d[(c[a+12>>2]|0)+7>>0]|0}return e|0}function Rm(f){f=f|0;var g=0,h=0,i=0,j=0,k=0;i=f+76|0;do{g=b[i>>1]|0;h=c[f+(g<<2)+120>>2]|0;if(a[h+5>>0]|0){g=0;break}j=c[h+56>>2]|0;g=e[f+(g<<1)+78>>1]<<1;k=c[h+64>>2]|0;g=(d[k+g>>0]<<8|d[k+(g|1)>>0])&e[h+20>>1];g=nm(f,d[j+(g+1)>>0]<<16|d[j+g>>0]<<24|d[j+(g+2)>>0]<<8|d[j+(g+3)>>0])|0}while((g|0)==0);return g|0}function Sm(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;q=a+8|0;g=c[(c[q>>2]|0)+4>>2]|0;u=c[a+4>>2]|0;s=a+12|0;e=Qp((c[s>>2]|0)+(g*56|0)|0)|0;if(!e){e=c[s>>2]|0;f=g|1;a=(c[a>>2]|0)+g|0;a:do if((a|0)>1){m=e;n=a;i=c[e+(f*56|0)+32>>2]|0;o=e+((g&65534)*56|0)|0;g=e+(f*56|0)|0;while(1){p=o+24|0;j=o;k=o+32|0;l=o+20|0;e=m;h=n;a=i;while(1){f=h;h=(h|0)/2|0;if(!(c[p>>2]|0)){i=a;break}if(((c[g+24>>2]|0)!=0?(r=Sp(u,c[k>>2]|0,c[l>>2]|0,a,c[g+20>>2]|0)|0,(r|0)>=0):0)?!((r|0)==0&o>>>0<g>>>0):0){t=10;break}i=c[s>>2]|0;a=c[q>>2]|0;c[a+(h<<2)>>2]=(j-i|0)/56|0;g=c[a+((h^1)<<2)>>2]|0;if((f|0)<=3){e=i;break a}else{e=i;a=c[i+(g*56|0)+32>>2]|0;g=i+(g*56|0)|0}}if((t|0)==10){t=0;e=c[s>>2]|0;i=(c[p>>2]|0)==0?a:0}a=c[q>>2]|0;c[a+(h<<2)>>2]=(g-e|0)/56|0;if((f|0)>3){m=e;n=h;o=e+((c[a+((h^1)<<2)>>2]|0)*56|0)|0}else break}}else a=c[q>>2]|0;while(0);c[b>>2]=(c[e+((c[a+4>>2]|0)*56|0)+24>>2]|0)==0&1;e=d[(c[u+12>>2]|0)+7>>0]|0}return e|0}function Tm(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=b+4|0;g=c[f>>2]|0;c[g+4>>2]=c[b>>2];b=Hn(g,d,0)|0;if(!b){b=c[(c[f>>2]|0)+8>>2]|0;if(b)do{if(a[b+72>>0]&16)a[b+73>>0]=0;b=c[b+8>>2]|0}while((b|0)!=0);b=Tp(g,d,0,e)|0}return b|0}function Um(f,g,h){f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;z=i;i=i+32|0;if((i|0)>=(j|0))ba();q=z;y=z+16|0;x=z+12|0;w=z+8|0;c[y>>2]=0;m=c[f+12>>2]|0;if(!g){g=Up(f,h)|0;c[x>>2]=g}else{c[x>>2]=g;r=(c[g+68>>2]|0)+26|0;b[r>>1]=(b[r>>1]|0)+1<<16>>16}l=Cg(c[m+68>>2]|0)|0;c[w>>2]=l;do if(!l){r=m+56|0;p=c[r>>2]|0;A=p+36|0;l=p+37|0;m=p+38|0;p=p+39|0;n=d[l>>0]<<16|d[A>>0]<<24|d[m>>0]<<8|d[p>>0];o=n+1|0;a[A>>0]=o>>>24;a[l>>0]=o>>>16;a[m>>0]=o>>>8;a[p>>0]=o;p=f+22|0;if(b[p>>1]&4){if(!g){m=$k(f,h,x,0)|0;c[w>>2]=m;if(m){k=m;break}g=c[x>>2]|0}m=Cg(c[g+68>>2]|0)|0;c[w>>2]=m;if(m){k=m;break}bw(c[g+56>>2]|0,0,c[(c[g+52>>2]|0)+32>>2]|0)|0}if((a[f+17>>0]|0)!=0?(vp(f,h,2,0,w),k=c[w>>2]|0,(k|0)!=0):0)break;if(n){l=c[r>>2]|0;l=d[l+33>>0]<<16|d[l+32>>0]<<24|d[l+34>>0]<<8|d[l+35>>0];k=$k(f,l,y,0)|0;c[w>>2]=k;if(k)break;k=c[y>>2]|0;o=k+56|0;n=c[o>>2]|0;n=d[n+5>>0]<<16|d[n+4>>0]<<24|d[n+6>>0]<<8|d[n+7>>0];m=(c[f+36>>2]|0)>>>2;if(n>>>0>(m+-2|0)>>>0){c[q>>2]=58627;c[q+4>>2]=10788;Zc(11,13600,q);c[w>>2]=11;k=11;break}if(n>>>0<(m+-8|0)>>>0){k=Cg(c[k+68>>2]|0)|0;c[w>>2]=k;if(k)break;r=c[o>>2]|0;q=n+1|0;a[r+4>>0]=q>>>24;a[r+5>>0]=q>>>16;a[r+6>>0]=q>>>8;a[r+7>>0]=q;r=n<<2;q=c[o>>2]|0;a[q+(r+8)>>0]=h>>>24;a[q+(r+9)>>0]=h>>>16;a[q+(r+10)>>0]=h>>>8;a[q+(r+11)>>0]=h;if((((g|0)!=0?(b[p>>1]&4)==0:0)?(s=c[g+68>>2]|0,t=s+24|0,u=e[t>>1]|0,(u&2|0)!=0):0)?(c[(c[s+16>>2]|0)+96>>2]|0)==0:0)b[t>>1]=u|32;l=f+60|0;k=c[l>>2]|0;do if(!k){g=c[f+44>>2]|0;k=mg(512,0)|0;if(!k){c[l>>2]=0;k=7;break}else{bw(k|0,0,512)|0;c[k>>2]=g;c[l>>2]=k;v=28;break}}else v=28;while(0);if((v|0)==28)if((c[k>>2]|0)>>>0<h>>>0)k=0;else k=Zh(k,h)|0;c[w>>2]=k;break}}else l=0;if(!g){k=$k(f,h,x,0)|0;c[w>>2]=k;if(k)break;g=c[x>>2]|0}k=Cg(c[g+68>>2]|0)|0;c[w>>2]=k;if(!k){k=g+56|0;s=c[k>>2]|0;a[s>>0]=l>>>24;a[s+1>>0]=l>>>16;a[s+2>>0]=l>>>8;a[s+3>>0]=l;k=(c[k>>2]|0)+4|0;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;k=c[r>>2]|0;a[k+32>>0]=h>>>24;a[k+33>>0]=h>>>16;a[k+34>>0]=h>>>8;a[k+35>>0]=h;k=0}}else k=l;while(0);g=c[x>>2]|0;if(g){a[g>>0]=0;xg(c[g+68>>2]|0)}g=c[y>>2]|0;if(g)xg(c[g+68>>2]|0);i=z;return k|0}function Vm(f,g,h,k,l,m){f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;P=i;i=i+48|0;if((i|0)>=(j|0))ba();M=P+24|0;D=P;w=P+36|0;N=P+32|0;t=g+72|0;L=c[t>>2]|0;u=c[f>>2]|0;r=c[g+68>>2]|0;s=u+15|0;if((a[s>>0]|0)!=0?(n=Cg(r)|0,(n|0)!=0):0)O=20;else O=3;a:do if((O|0)==3){o=r+24|0;q=b[o>>1]|0;if((q&2)!=0?(Qo(r)|0)!=0:0){n=Ro(r)|0;if(n){O=20;break}q=b[o>>1]|0}if((q&4)==0|(m|0)!=0)p=0;else p=c[r+20>>2]|0;b[o>>1]=q&65531;A=u+204|0;m=Yb[c[8744+132>>2]&63](c[(c[A>>2]|0)+40>>2]|0,l,0)|0;m=el(c[A>>2]|0,l,m)|0;do if(m){b[o>>1]=e[o>>1]|e[m+24>>1]&4;if(!(a[s>>0]|0)){il(m);break}else{Vp(m,(c[u+24>>2]|0)+1|0);break}}while(0);q=c[r+20>>2]|0;Vp(r,l);Po(r);if(a[s>>0]|0){Vp(m,q);xg(m)}do if(p){n=vg(u,p,M,0)|0;if(!n){A=c[M>>2]|0;z=A+24|0;b[z>>1]=e[z>>1]|4;Po(A);xg(A);break}if(p>>>0>(c[u+28>>2]|0)>>>0){O=20;break a}_h(c[u+56>>2]|0,p,c[u+200>>2]|0);O=20;break a}while(0);c[N>>2]=0;c[t>>2]=l;if(h<<24>>24==1|h<<24>>24==5){n=Wp(g)|0;c[N>>2]=n;if(!n)O=25;else break}else{m=c[g+56>>2]|0;m=d[m+1>>0]<<16|d[m>>0]<<24|d[m+2>>0]<<8|d[m+3>>0];if(m){vp(f,m,4,l,N);n=c[N>>2]|0;if(!n)O=25;else break}}if((O|0)==25?h<<24>>24==1:0){n=0;break}n=$k(f,k,w,0)|0;c[N>>2]=n;if(!n){z=c[w>>2]|0;A=z+68|0;n=Cg(c[A>>2]|0)|0;c[N>>2]=n;if(n){if(!z)break;xg(c[A>>2]|0);break}b:do if(h<<24>>24==4){n=c[z+56>>2]|0;o=n+1|0;p=n+2|0;m=n+3|0;if((d[o>>0]<<16|d[n>>0]<<24|d[p>>0]<<8|d[m>>0]|0)==(L|0)){a[n>>0]=l>>>24;a[o>>0]=l>>>16;a[p>>0]=l>>>8;a[m>>0]=l;n=0;break}else{c[M>>2]=56060;c[M+4>>2]=10788;Zc(11,13600,M);n=11;break}}else{x=a[z>>0]|0;Xp(z)|0;w=b[z+18>>1]|0;y=w&65535;c:do if(w<<16>>16){g=z+56|0;u=z+20|0;r=z+64|0;v=h<<24>>24==3;w=D+18|0;m=0;while(1){t=c[g>>2]|0;s=m<<1;q=c[r>>2]|0;s=(d[q+s>>0]<<8|d[q+(s|1)>>0])&e[u>>1];q=t+s|0;if(v){np(z,q,D);q=b[w>>1]|0;if((q<<16>>16!=0?(B=(q&65535)+s|0,C=t+(B+3)|0,C>>>0<=((c[g>>2]|0)+(e[u>>1]|0)|0)>>>0):0)?(E=t+B|0,F=t+(B+1)|0,G=t+(B+2)|0,(d[F>>0]<<16|d[E>>0]<<24|d[G>>0]<<8|d[C>>0]|0)==(L|0)):0){q=C;n=E;o=F;p=G;O=40;break}}else{n=t+(s+1)|0;o=t+(s+2)|0;p=t+(s+3)|0;if((d[n>>0]<<16|d[q>>0]<<24|d[o>>0]<<8|d[p>>0]|0)==(L|0)){O=42;break}}m=m+1|0;if((m|0)>=(y|0))break c}if((O|0)==40){a[n>>0]=l>>>24;a[o>>0]=l>>>16;a[p>>0]=l>>>8;a[q>>0]=l;break}else if((O|0)==42){a[q>>0]=l>>>24;a[n>>0]=l>>>16;a[o>>0]=l>>>8;a[p>>0]=l;break}}else m=0;while(0);do if((m|0)==(y|0)){if(h<<24>>24==5?(K=d[z+6>>0]|0,G=c[z+56>>2]|0,H=G+(K+8)|0,I=G+(K+9)|0,J=G+(K+10)|0,K=G+(K+11)|0,(d[I>>0]<<16|d[H>>0]<<24|d[J>>0]<<8|d[K>>0]|0)==(L|0)):0){a[H>>0]=l>>>24;a[I>>0]=l>>>16;a[J>>0]=l>>>8;a[K>>0]=l;break}c[M>>2]=56094;c[M+4>>2]=10788;Zc(11,13600,M);n=11;break b}while(0);a[z>>0]=x;n=0}while(0);c[N>>2]=n;if(z)xg(c[A>>2]|0);if(!n){vp(f,l,h,k,N);n=c[N>>2]|0}}}while(0);if((O|0)==20)c[N>>2]=n;i=P;return n|0}function Wm(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=e+20|0;Pm(c[j>>2]|0);c[j>>2]=0;j=e+59|0;if(a[j>>0]|0){k=0;do{g=e+(k<<6)+76|0;ig(b,c[g>>2]|0);c[g>>2]=0;g=e+(k<<6)+80|0;h=c[g>>2]|0;if(h)do{i=h;h=c[h+4>>2]|0;if(i)Sc(i)}while((h|0)!=0);c[g>>2]=0;h=e+(k<<6)+96|0;g=c[h>>2]|0;if(g){i=c[g>>2]|0;if(i){hc[c[i+4>>2]&127](g)|0;c[g>>2]=0}Sc(g);c[h>>2]=0;g=e+(k<<6)+104|0;c[g>>2]=0;c[g+4>>2]=0}i=e+(k<<6)+112|0;h=c[i>>2]|0;if(h){g=c[h>>2]|0;if(g){hc[c[g+4>>2]&127](h)|0;c[h>>2]=0}Sc(h);c[i>>2]=0;g=e+(k<<6)+120|0;c[g>>2]=0;c[g+4>>2]=0}k=k+1|0}while((k|0)<(d[j>>0]|0))}h=e+36|0;if((c[e+40>>2]|0)==0?(f=c[h>>2]|0,(f|0)!=0):0)do{g=f;f=c[f+4>>2]|0;if(g)Sc(g)}while((f|0)!=0);c[h>>2]=0;c[e+44>>2]=0;a[e+56>>0]=0;c[e+48>>2]=0;c[e+8>>2]=0;f=e+32|0;ig(b,c[f>>2]|0);c[f>>2]=0;return}function Xm(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();k=r+4|0;o=r;p=c[d>>2]|0;m=c[d+8>>2]|0;n=c[p+16>>2]|0;l=(c[n+(m<<4)+12>>2]|0)+78|0;b[l>>1]=e[l>>1]&65531;l=p+65|0;do if(!(a[l>>0]|0))if(g){q=g+4|0;f=c[q>>2]|0;if(!f){Yp(d,c[g>>2]|0,0);h=0;break}h=g+8|0;s=c[h>>2]|0;if((s|0)!=0?(a[s>>0]|0)!=0:0){n=p+144|0;a[n>>0]=m;c[k>>2]=0;zn(f,k)|0;f=c[h>>2]|0;c[p+140>>2]=c[k>>2];q=p+146|0;a[q>>0]=0;eh(p,f,-1,0,0,o,0)|0;f=c[p+52>>2]|0;a[n>>0]=0;do if((f|0)!=0?(a[q>>0]|0)==0:0){c[d+12>>2]=f;if((f|0)==7){a[l>>0]=1;break}else if((f|0)==9)break;if((f&255|0)!=6){q=c[g>>2]|0;Yp(d,q,Oe(p)|0)}}while(0);id(c[o>>2]|0)|0;h=0;break}f=c[g>>2]|0;if(!f){Yp(d,0,0);h=0;break}f=Zp(p,f,c[n+(m<<4)>>2]|0)|0;if((f|0)!=0?(zn(c[q>>2]|0,f+40|0)|0)==0:0){Yp(d,c[g>>2]|0,13528);h=0}else h=0}else h=0;else{Yp(d,c[g>>2]|0,0);h=1}while(0);i=r;return h|0}function Ym(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();k=m;l=m+8|0;h=b+16|0;f=c[h>>2]|0;g=c[(c[f+(d<<4)+12>>2]|0)+32>>2]|0;if(g){f=g;do{_p(c[f+8>>2]|0);f=c[f>>2]|0}while((f|0)!=0);f=c[h>>2]|0}c[l>>2]=b;f=c[f+(d<<4)>>2]|0;c[l+4>>2]=f;do if(!(Wh(b,13384,f)|0))e=1;else{c[k>>2]=f;f=qh(b,13400,k)|0;if((f|0)!=0?(e=Me(b,f,23,l,0)|0,ig(b,f),(e|0)!=7):0)break;a[b+65>>0]=1;e=7}while(0);i=m;return e|0}function Zm(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;j=c[b+12>>2]|0;if(!j){h=b+4|0;g=b+8|0;i=0}else{h=a[e>>0]|0;if(!(h<<24>>24))h=0;else{g=e;i=h;h=0;do{g=g+1|0;h=h<<3^h^(d[9328+(i&255)>>0]|0);i=a[g>>0]|0}while(i<<24>>24!=0)}i=(h>>>0)%((c[b>>2]|0)>>>0)|0;h=j+(i<<3)|0;g=j+(i<<3)+4|0}h=c[h>>2]|0;g=c[g>>2]|0;c[f>>2]=i;a:do if(!h)g=0;else while(1){h=h+-1|0;if(!($c(c[g+12>>2]|0,e)|0))break a;if(!h){g=0;break}else g=c[g>>2]|0}while(0);return g|0}function _m(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+16|0;if((i|0)>=(j|0))ba();t=u;s=u+12|0;a:do if((g|0)>0){q=b+16|0;r=b+4|0;p=(e|0)==0;h=f;e=g;while(1){m=e+-1|0;if(!(c[q>>2]|0))break a;if((h|0)<1){h=e;e=5;break}if(aq(b,h)|0)break a;if(vg(c[r>>2]|0,h,s,0)|0){e=8;break}n=c[s>>2]|0;o=c[n+4>>2]|0;do if(p)if((m|0)>0?(a[(c[b>>2]|0)+17>>0]|0)!=0:0){$m(b,d[o+1>>0]<<16|d[o>>0]<<24|d[o+2>>0]<<8|d[o+3>>0],4,h);e=m}else e=m;else{l=d[o+5>>0]<<16|d[o+4>>0]<<24|d[o+6>>0]<<8|d[o+7>>0];k=c[b>>2]|0;if(a[k+17>>0]|0){$m(b,h,2,0);k=c[b>>2]|0}if((l|0)>(((c[k+36>>2]|0)/4|0)+-2|0)){c[t>>2]=h;bn(b,44640,t);e=e+-2|0;break}b:do if((l|0)>0){e=0;while(1){h=e<<2;h=d[o+(h+9)>>0]<<16|d[o+(h+8)>>0]<<24|d[o+(h+10)>>0]<<8|d[o+(h+11)>>0];if(a[k+17>>0]|0)$m(b,h,2,0);aq(b,h)|0;e=e+1|0;if((e|0)==(l|0))break b;k=c[b>>2]|0}}while(0);e=m-l|0}while(0);h=d[o+1>>0]<<16|d[o>>0]<<24|d[o+2>>0]<<8|d[o+3>>0];if(n)xg(n);if((e|0)<=0)break a}if((e|0)==5){c[t>>2]=h;c[t+4>>2]=g;c[t+8>>2]=f;bn(b,44552,t);break}else if((e|0)==8){c[t>>2]=h;bn(b,44616,t);break}}while(0);i=u;return}function $m(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+32|0;if((i|0)>=(j|0))ba();l=n;h=n+24|0;k=n+20|0;g=dp(c[b>>2]|0,d,h,k)|0;if((g|0)==7|(g|0)==3082){c[b+24>>2]=1;m=3}else if(!g){h=a[h>>0]|0;g=c[k>>2]|0;if(!((g|0)==(f|0)?h<<24>>24==e<<24>>24:0)){c[l>>2]=d;c[l+4>>2]=e&255;c[l+8>>2]=f;c[l+12>>2]=h&255;c[l+16>>2]=g;bn(b,44496,l)}}else m=3;if((m|0)==3){c[l>>2]=d;bn(b,44464,l)}i=n;return}function an(f,g,h,k){f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;Z=i;i=i+64|0;if((i|0)>=(j|0))ba();S=Z+40|0;o=Z+56|0;N=Z+32|0;O=Z+24|0;K=Z;X=N;c[X>>2]=0;c[X+4>>2]=0;X=O;c[X>>2]=0;c[X+4>>2]=0;X=f+28|0;Y=c[X>>2]|0;T=f+32|0;U=c[T>>2]|0;V=f+36|0;W=c[V>>2]|0;P=c[f>>2]|0;J=P+36|0;Q=c[J>>2]|0;if((g|0)!=0?(aq(f,g)|0)==0:0){c[X>>2]=43768;c[T>>2]=g;p=$k(P,g,o,0)|0;do if(!p){R=c[o>>2]|0;a[R>>0]=0;p=Xp(R)|0;if(p){c[S>>2]=p;bn(f,43824,S);if(!R){l=-1;break}xg(c[R+68>>2]|0);l=-1;break}w=f+16|0;L=R+18|0;p=b[L>>1]|0;a:do if(!(p<<16>>16)){q=R+5|0;p=0;l=0}else{x=R+56|0;y=R+20|0;z=R+64|0;A=K+12|0;B=R+2|0;C=K+16|0;D=Q+-5|0;E=Q+-4|0;F=P+17|0;G=R+5|0;t=0;u=0;while(1){if(!(c[w>>2]|0)){q=G;l=t;break a}c[X>>2]=43864;c[T>>2]=g;c[V>>2]=u;o=c[x>>2]|0;p=u<<1;q=c[z>>2]|0;p=(d[q+p>>0]<<8|d[q+(p|1)>>0])&e[y>>1];q=o+p|0;np(R,q,K);r=c[A>>2]|0;if(a[B>>0]|0){l=K;v=c[l>>2]|0;l=c[l+4>>2]|0;if(u){n=O;m=c[n>>2]|0;n=c[n+4>>2]|0;if(!((l|0)>(n|0)|(l|0)==(n|0)&v>>>0>m>>>0)){s=S;c[s>>2]=v;c[s+4>>2]=l;s=S+8|0;c[s>>2]=m;c[s+4>>2]=n;bn(f,43896,S)}}else{m=O;c[m>>2]=v;c[m+4>>2]=l;m=N;c[m>>2]=v;c[m+4>>2]=l}m=O;c[m>>2]=v;c[m+4>>2]=l}v=c[C>>2]|0;l=v&65535;if(r>>>0>l>>>0?(H=(v>>>16)+p|0,I=o+H|0,I>>>0<=((c[x>>2]|0)+(c[J>>2]|0)|0)>>>0):0){v=d[o+(H+1)>>0]<<16|d[I>>0]<<24|d[o+(H+2)>>0]<<8|d[o+(H+3)>>0];if(a[F>>0]|0)$m(f,v,3,g);_m(f,0,v,((D+r-l|0)>>>0)/(E>>>0)|0)}if(!(a[G>>0]|0)){s=d[o+(p+1)>>0]<<16|d[q>>0]<<24|d[o+(p+2)>>0]<<8|d[o+(p+3)>>0];if(a[F>>0]|0)$m(f,s,5,g);l=an(f,s,N,(u|0)==0?0:O)|0;if(!((u|0)<1|(l|0)==(t|0)))bn(f,43944,S)}else l=t;u=u+1|0;p=b[L>>1]|0;if((u|0)>=(p&65535|0)){q=G;break}else t=l}}while(0);if(!(a[q>>0]|0)){o=d[R+6>>0]|0;G=c[R+56>>2]|0;o=d[G+(o+9)>>0]<<16|d[G+(o+8)>>0]<<24|d[G+(o+10)>>0]<<8|d[G+(o+11)>>0];c[X>>2]=43976;c[T>>2]=g;if(a[P+17>>0]|0){$m(f,o,5,g);p=b[L>>1]|0}an(f,o,0,p<<16>>16!=0?O:0)|0;G=a[q>>0]|0;c[X>>2]=43768;c[T>>2]=g;if(G<<24>>24)M=34}else{c[X>>2]=43768;c[T>>2]=g;M=34}do if((M|0)==34?(a[R+2>>0]|0)!=0:0){o=(k|0)!=0;if(!h){if(!o)break;o=N;p=c[o>>2]|0;o=c[o+4>>2]|0;m=k;n=c[m>>2]|0;m=c[m+4>>2]|0;if((o|0)>(m|0)|(o|0)==(m|0)&p>>>0>n>>>0)break;G=S;c[G>>2]=p;c[G+4>>2]=o;G=S+8|0;c[G>>2]=n;c[G+4>>2]=m;bn(f,44200,S);break}if(!o){p=O;o=c[p>>2]|0;p=c[p+4>>2]|0;m=h;n=c[m>>2]|0;m=c[m+4>>2]|0;if(!((p|0)>(m|0)|(p|0)==(m|0)&o>>>0>n>>>0))break;G=S;c[G>>2]=o;c[G+4>>2]=p;G=S+8|0;c[G>>2]=n;c[G+4>>2]=m;bn(f,44008,S);break}o=N;p=c[o>>2]|0;o=c[o+4>>2]|0;m=h;n=c[m>>2]|0;m=c[m+4>>2]|0;if(!((o|0)>(m|0)|(o|0)==(m|0)&p>>>0>n>>>0)){G=S;c[G>>2]=p;c[G+4>>2]=o;G=S+8|0;c[G>>2]=n;c[G+4>>2]=m;bn(f,44072,S)}n=O;m=c[n>>2]|0;n=c[n+4>>2]|0;o=k;p=c[o>>2]|0;o=c[o+4>>2]|0;if((n|0)>(o|0)|(n|0)==(o|0)&m>>>0>p>>>0){G=S;c[G>>2]=m;c[G+4>>2]=n;n=S+8|0;c[n>>2]=p;c[n+4>>2]=o;bn(f,44136,S);n=O;m=c[n>>2]|0;n=c[n+4>>2]|0}G=h;c[G>>2]=m;c[G+4>>2]=n}while(0);t=c[R+56>>2]|0;u=d[R+6>>0]|0;v=Co(c[P+32>>2]|0)|0;c[X>>2]=0;if(v){s=((d[t+(u+5)>>0]<<8|d[t+(u+6)>>0])+65535&65535)+1|0;bw(v+s|0,0,Q-s|0)|0;bw(v|0,1,s|0)|0;s=d[t+(u+3)>>0]<<8|d[t+(u+4)>>0];n=u+12-(d[q>>0]<<2)|0;if(s){m=Q+-4|0;r=0;do{q=n+(r<<1)|0;q=d[t+q>>0]<<8|d[t+(q+1)>>0];if((q|0)>(m|0))o=65536;else o=(Hp(R,t+q|0)|0)&65535;p=o+q|0;if((p|0)<=(Q|0)){if(o)do{p=p+-1|0;G=v+p|0;a[G>>0]=(a[G>>0]|0)+1<<24>>24}while((p|0)>(q|0))}else{c[X>>2]=0;c[S>>2]=r;c[S+4>>2]=g;bn(f,44264,S)}r=r+1|0}while((r|0)<(s|0))}m=d[t+(u+1)>>0]<<8|d[t+(u+2)>>0];if(m)do{n=d[t+(m+2)>>0]<<8|d[t+(m+3)>>0];if(n){n=n+m|0;do{n=n+-1|0;G=v+n|0;a[G>>0]=(a[G>>0]|0)+1<<24>>24}while((n|0)>(m|0))}m=d[t+m>>0]<<8|d[t+(m+1)>>0]}while((m|0)!=0);b:do if((Q|0)>0){n=0;m=0;while(1){o=a[v+m>>0]|0;if(o<<24>>24){if(o<<24>>24>1)break}else n=n+1|0;m=m+1|0;if((m|0)>=(Q|0))break b}c[S>>2]=m;c[S+4>>2]=g;bn(f,44312,S)}else n=0;while(0);m=d[t+(u+7)>>0]|0;if((n|0)!=(m|0)){c[S>>2]=n;c[S+4>>2]=m;c[S+8>>2]=g;bn(f,44352,S)}}else c[f+24>>2]=1;Xk(v);if(R)xg(c[R+68>>2]|0)}else{c[S>>2]=p;bn(f,43784,S);l=-1}while(0);c[X>>2]=Y;c[T>>2]=U;c[V>>2]=W;l=l+1|0}else l=0;i=Z;return l|0}function bn(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+224|0;if((i|0)>=(j|0))ba();h=m;k=m+8|0;l=m+24|0;f=b+16|0;g=c[f>>2]|0;if(g){c[f>>2]=g+-1;f=b+20|0;c[f>>2]=(c[f>>2]|0)+1;c[k>>2]=e;e=b+40|0;if(c[b+52>>2]|0)Ok(e,43760,1);f=c[b+28>>2]|0;if(f){g=c[b+36>>2]|0;c[h>>2]=c[b+32>>2];c[h+4>>2]=g;Yc(200,l,f,h)|0;f=l;while(1)if(!(a[f>>0]|0))break;else f=f+1|0;Ok(e,l,f-l&1073741823)}og(e,1,d,k);if((a[b+65>>0]|0)==1)c[b+24>>2]=1}i=m;return}function cn(b){b=b|0;var d=0,e=0;d=b+8|0;e=c[d>>2]|0;do if((e|0)!=(c[b+4>>2]|0))if((a[b+24>>0]|0)==1){ig(c[b>>2]|0,e);break}else{Sc(e);break}while(0);c[d>>2]=0;return}function dn(d){d=d|0;var f=0,g=0,h=0,i=0;g=c[d+32>>2]|0;i=d+8|0;if(!((b[i>>1]&9312)==0?(c[d+24>>2]|0)==0:0))Mg(d);f=ih(g,64,0)|0;h=d+20|0;c[h>>2]=f;if(!(a[g+65>>0]|0)){do if(!g)f=hc[c[8744+48>>2]&127](f)|0;else{if((c[g+276>>2]|0)>>>0<=f>>>0?(c[g+280>>2]|0)>>>0>f>>>0:0){f=e[g+248>>1]|0;break}f=hc[c[8744+48>>2]&127](f)|0}while(0);c[d+24>>2]=f;h=c[h>>2]|0;c[h>>2]=0;c[h+4>>2]=g;c[h+8>>2]=0;c[h+12>>2]=0;c[h+20>>2]=0;c[h+16>>2]=h+32;b[h+24>>1]=(f+1048544|0)>>>4;b[h+26>>1]=1;c[h+28>>2]=0;c[d>>2]=h;b[i>>1]=32}else{b[i>>1]=1;c[d+24>>2]=0}return}function en(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;i=kn(a)|0;if(i){j=i;c[j>>2]=d;c[j+4>>2]=f;c[i+8>>2]=0;j=a+12|0;h=c[j>>2]|0;if(!h)c[a+8>>2]=i;else{a=a+26|0;g=e[a>>1]|0;if((g&1|0)!=0?(k=h,l=c[k+4>>2]|0,!((l|0)<(f|0)|((l|0)==(f|0)?(c[k>>2]|0)>>>0<d>>>0:0))):0)b[a>>1]=g&65534;c[h+8>>2]=i}c[j>>2]=i}return}function fn(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+160|0;if((i|0)>=(j|0))ba();g=h;bw(g|0,0,160)|0;a:do if(!a){a=0;b=0}else{b=0;while(1){d=a+8|0;f=c[d>>2]|0;c[d>>2]=0;if(!b)b=g;else{d=b;b=g;e=0;do{a=hn(d,a)|0;c[b>>2]=0;e=e+1|0;b=g+(e<<2)|0;d=c[b>>2]|0}while((d|0)!=0)}c[b>>2]=a;if(!f){a=0;b=0;break a}a=f;b=c[g>>2]|0}}while(0);do{a=hn(a,c[g+(b<<2)>>2]|0)|0;b=b+1|0}while((b|0)!=40);i=h;return a|0}function gn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;f=c[a+12>>2]|0;if(!f)c[b>>2]=a;else{gn(f,b,e);c[(c[e>>2]|0)+8>>2]=a}e=a+8|0;f=c[e>>2]|0;if(!f)c[d>>2]=a;else gn(f,e,d);i=g;return}function hn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();l=m;d=(a|0)!=0;a:do if(d&(b|0)!=0){e=a;a=l;while(1){h=e;g=c[h>>2]|0;h=c[h+4>>2]|0;while(1){f=b;d=c[f>>2]|0;f=c[f+4>>2]|0;if((h|0)<(f|0)|(h|0)==(f|0)&g>>>0<d>>>0){k=4;break}if(!((f|0)<(h|0)|(f|0)==(h|0)&d>>>0<g>>>0))break;c[a+8>>2]=b;d=c[b+8>>2]|0;if(!d){f=0;d=1;break a}else{a=b;b=d}}if((k|0)==4){k=0;c[a+8>>2]=e;a=e}e=c[e+8>>2]|0;d=(e|0)!=0;if(!(d&(b|0)!=0)){f=b;b=a;break}}}else{f=b;e=a;b=l}while(0);c[b+8>>2]=d?e:f;i=m;return c[l+8>>2]|0}function jn(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;d=a+8|0;b=c[d>>2]|0;c[e>>2]=b;c[d>>2]=0;c[a+12>>2]=0;if(!b)b=a;else{d=1;while(1){g=b+8|0;c[e>>2]=c[g>>2];c[b+12>>2]=a;c[g>>2]=bq(e,d)|0;a=c[e>>2]|0;if(!a)break;else{g=b;b=a;d=d+1|0;a=g}}}i=f;return b|0}function kn(a){a=a|0;var d=0,e=0,f=0,g=0;f=a+24|0;d=b[f>>1]|0;if(!(d<<16>>16)){d=ih(c[a+4>>2]|0,1016,0)|0;if(!d)d=0;else{c[d>>2]=c[a>>2];c[a>>2]=d;d=d+8|0;c[a+16>>2]=d;b[f>>1]=63;e=62;g=5}}else{e=d+-1<<16>>16;d=c[a+16>>2]|0;g=5}if((g|0)==5){b[f>>1]=e;c[a+16>>2]=d+16}return d|0}function ln(d){d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();p=q;g=d+4|0;if(a[g>>0]|0){e=mn(d)|0;if(!e){m=a[g>>0]|0;f=4}}else{m=0;f=4}do if((f|0)==4){h=c[d>>2]|0;n=c[d+60>>2]|0;k=c[d+212>>2]|0;e=d+160|0;f=c[e>>2]|0;e=c[e+4>>2]|0;l=d+208|0;c[l>>2]=0;g=(c[h+4>>2]|0)+112|0;o=mg(g,0)|0;if(!o)e=7;else{bw(o|0,0,g|0)|0;c[o>>2]=h;r=o+112|0;g=o+8|0;c[g>>2]=r;c[o+4>>2]=n;b[o+40>>1]=-1;d=o+16|0;c[d>>2]=f;c[d+4>>2]=e;c[o+100>>2]=k;d=o+48|0;a[d>>0]=1;f=o+49|0;a[f>>0]=1;a[o+43>>0]=m<<24>>24!=0?2:0;c[p>>2]=524294;e=pc[c[h+24>>2]&31](h,k,r,524294,p)|0;if(e){cq(o,0);f=c[g>>2]|0;g=c[f>>2]|0;if(g){hc[c[g+4>>2]&127](f)|0;c[f>>2]=0}Sc(o);break}if(c[p>>2]&1)a[o+46>>0]=1;g=hc[c[(c[n>>2]|0)+48>>2]&127](n)|0;if(g&1024)a[d>>0]=0;if(g&4096)a[f>>0]=0;c[l>>2]=o;e=0}}while(0);i=q;return e|0}function mn(b){b=b|0;var d=0,e=0,f=0;f=bl(b,4)|0;if((f|0)!=0?(d=c[b+60>>2]|0,e=c[d>>2]|0,(e|0)!=0):0){if(!(a[b+13>>0]|0))nc[c[e+32>>2]&127](d,1)|0;d=b+17|0;if((a[d>>0]|0)!=5)a[d>>0]=1}return f|0}function nn(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();l=m;if(!b)g=0;else{k=b+4|0;g=c[k>>2]|0;g=nc[c[(c[g>>2]|0)+28>>2]&127](g,4)|0;if(!g){h=b+43|0;if(!(a[h>>0]|0))a[h>>0]=1;g=Pn(b,0,0,0,d,e,f,0,0)|0;if(!g){c[l>>2]=-1;g=c[k>>2]|0;Yb[c[(c[g>>2]|0)+40>>2]&63](g,10,l)|0;if((c[l>>2]|0)==1){g=b+16|0;d=c[g+4>>2]|0;if((d|0)>-1|(d|0)==-1&(c[g>>2]|0)>>>0>4294967295){Vo(b,0,0);e=0;g=0}else{e=0;g=0}}else{e=1;g=0}}else e=0}else e=0;cq(b,e);d=c[b+8>>2]|0;h=c[d>>2]|0;if(h){hc[c[h+4>>2]&127](d)|0;c[d>>2]=0}if(e){d=c[3164]|0;if(d)jc[d&3]();d=c[b>>2]|0;Yb[c[d+28>>2]&63](d,c[b+100>>2]|0,0)|0;d=c[3166]|0;if(d)jc[d&3]()}Sc(c[b+32>>2]|0);Sc(b)}i=m;return g|0}function on(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=b+5|0;g=a[k>>0]|0;if(!((a[b+15>>0]|0)!=0?!((e|0)==2|(e|0)==4):0))h=3;do if(((h|0)==3?(f=g&255,(f|0)!=(e|0)):0)?(a[k>>0]=e,(a[b+4>>0]|0)==0&(f&5|0)==1&(e&1|0)==0):0){f=c[b+64>>2]|0;g=c[f>>2]|0;if(g){hc[c[g+4>>2]&127](f)|0;c[f>>2]=0}j=b+17|0;if((d[j>>0]|0)>1){f=c[b>>2]|0;Yb[c[f+28>>2]&63](f,c[b+172>>2]|0,0)|0;break}g=b+16|0;f=a[g>>0]|0;i=f<<24>>24==0;if(i){e=_k(b)|0;h=a[g>>0]|0}else{h=f;e=0}if(h<<24>>24==1)e=bl(b,2)|0;if((e|0)==0?(g=c[b>>2]|0,Yb[c[g+28>>2]&63](g,c[b+172>>2]|0,0)|0,f<<24>>24==1):0){g=c[b+60>>2]|0;f=c[g>>2]|0;if(!f)break;if(!(a[b+13>>0]|0))nc[c[f+32>>2]&127](g,1)|0;if((a[j>>0]|0)==5)break;a[j>>0]=1;break}if(i)Jo(b)}while(0);return d[k>>0]|0}function pn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;e=g+4|0;do if(d)if(!(eh(a,d,-1,0,0,e,0)|0)){e=c[e>>2]|0;Od(e)|0;a=dq(a,e,b)|0;break}else{$g(b,a,Oe(a)|0,f);a=Jf(a)|0;break}else a=7;while(0);i=g;return a|0}function qn(a){a=a|0;var b=0;c[(c[a+4>>2]|0)+4>>2]=c[a>>2];b=Gg(a,0)|0;if(!b)b=Fg(a,0)|0;return b|0}function rn(e,f){e=e|0;f=f|0;var g=0,h=0;g=c[e+4>>2]|0;c[g+4>>2]=c[e>>2];e=f&255;if(b[g+22>>1]&2){f=g+17|0;if(((e|0)!=0|0)==(d[f>>0]|0|0))h=4;else f=8}else{f=g+17|0;h=4}if((h|0)==4){a[f>>0]=(e|0)!=0&1;a[g+18>>0]=(e|0)==2&1;f=0}return f|0}function sn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;d=eh(a,d,-1,0,0,e,0)|0;do if(!d){e=c[e>>2]|0;while(1){if((Od(e)|0)!=100){f=6;break}d=pn(a,b,be(e,0)|0)|0;if(d){f=5;break}}if((f|0)==5){dq(a,e,b)|0;break}else if((f|0)==6){d=dq(a,e,b)|0;break}}while(0);i=g;return d|0}function tn(a){a=a|0;var b=0;b=a+100|0;c[b>>2]=(c[b>>2]|0)+1;b=c[a+88>>2]|0;if(b)do{c[b+16>>2]=1;b=c[b+44>>2]|0}while((b|0)!=0);$o(c[a+204>>2]|0,0);return}function un(a){a=a|0;var b=0,d=0,e=0;e=a+304|0;b=c[e>>2]|0;if(!((b|0)%5|0)){b=(b<<2)+20|0;d=a+328|0;b=no(a,c[d>>2]|0,b,((b|0)<0)<<31>>31)|0;if(!b)b=7;else{a=b+(c[e>>2]<<2)|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[d>>2]=b;b=0}}else b=0;return b|0}function vn(e,f,g,h,k){e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+16|0;if((i|0)>=(j|0))ba();w=z;r=z+8|0;u=z+4|0;l=f+56|0;s=c[l>>2]|0;t=c[f+52>>2]|0;c[u>>2]=0;c[w>>2]=c[f>>2];y=qh(e,10344,w)|0;do if(!y)l=7;else{v=ih(e,28,0)|0;if(!v){ig(e,y);l=7;break}p=v+0|0;o=p+28|0;do{a[p>>0]=0;p=p+1|0}while((p|0)<(o|0));c[v>>2]=e;c[v+4>>2]=g;q=c[f+68>>2]|0;a:do if(q){p=c[e+20>>2]|0;if((p|0)>0){n=c[e+16>>2]|0;m=0;while(1){o=m+1|0;if((c[n+(m<<4)+12>>2]|0)==(q|0)){o=m;break a}if((o|0)<(p|0))m=o;else break}}else o=0}else o=-1e6;while(0);c[(c[l>>2]|0)+4>>2]=c[(c[e+16>>2]|0)+(o<<4)>>2];p=r+4|0;c[p>>2]=f;c[r>>2]=v;q=e+324|0;n=c[q>>2]|0;c[q>>2]=r;o=v+8|0;l=gc[h&7](e,c[g+8>>2]|0,t,s,o,u)|0;c[q>>2]=n;do if(!l){n=c[o>>2]|0;if(n){c[n+0>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;c[c[o>>2]>>2]=c[g>>2];c[v+12>>2]=1;if(c[p>>2]|0){c[w>>2]=c[f>>2];c[k>>2]=qh(e,28376,w)|0;wn(v);l=1;break}u=f+60|0;c[v+24>>2]=c[u>>2];c[u>>2]=v;u=f+38|0;l=b[u>>1]|0;if(l<<16>>16>0){t=f+4|0;m=c[t>>2]|0;h=0;while(1){r=c[m+(h*24|0)+12>>2]|0;if(r){n=r;while(1)if(!(a[n>>0]|0))break;else n=n+1|0;o=n-r|0;q=o&1073741823;if((Bc(28424,r,6)|0)==0?(s=a[r+6>>0]|0,s<<24>>24==32|s<<24>>24==0):0)n=0;else x=24;b:do if((x|0)==24){x=0;if(!q)n=0;else{n=0;while(1){if((Bc(28432,r+n|0,7)|0)==0?(s=a[r+(n+7)>>0]|0,s<<24>>24==32|s<<24>>24==0):0)break;n=n+1|0;if((n|0)>=(q|0))break b}n=n+1|0}}while(0);if((n|0)<(q|0)){p=(a[r+(n+6)>>0]|0)!=0|6;m=n+p|0;if((m|0)<=(q|0)){o=(o&1073741823)+1-p|0;l=m;m=n;while(1){a[r+m>>0]=a[r+l>>0]|0;m=m+1|0;if((m|0)==(o|0))break;else l=m+p|0}}if((a[r+n>>0]|0)==0&(n|0)>0)a[r+(n+-1)>>0]=0;m=c[t>>2]|0;l=m+(h*24|0)+23|0;a[l>>0]=d[l>>0]|2;l=b[u>>1]|0}}h=h+1|0;if((h|0)>=(l<<16>>16|0)){l=0;break}}}else l=0}else l=0}else if((l|0)==7){a[e+65>>0]=1;x=11}else x=11;while(0);if((x|0)==11){m=c[u>>2]|0;if(!m){c[w>>2]=y;c[k>>2]=qh(e,28344,w)|0}else{c[w>>2]=m;c[k>>2]=qh(e,10344,w)|0;Sc(c[u>>2]|0)}ig(e,v)}ig(e,y)}while(0);i=z;return l|0}function wn(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;e=a+12|0;d=(c[e>>2]|0)+-1|0;c[e>>2]=d;if(!d){d=c[a+8>>2]|0;if(d)hc[c[(c[d>>2]|0)+16>>2]&127](d)|0;ig(b,a)}return}function xn(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=f+10|0;i=g<<24>>24==1;if((a[s>>0]|0)==1|i){o=f+12|0;h=c[o>>2]|0;if(i){i=h&-2;c[o>>2]=i;l=i;i=i<<1|1}else{l=h;i=(h<<1)+2|0}p=f+16|0;h=c[p>>2]|0;n=h+l|0;q=f+32|0;r=ih(c[q>>2]|0,i,((i|0)<0)<<31>>31)|0;if(!r)h=7;else{i=a[s>>0]|0;if(i<<24>>24==2)if((l|0)>0){i=r;do{j=d[h>>0]|0;l=h+2|0;m=d[h+1>>0]<<8;k=m|j;if((m&63488|0)==55296&l>>>0<n>>>0){k=(k<<10&983040)+65536|j<<10&64512|d[l>>0]|d[h+3>>0]<<8&768;h=h+4|0}else h=l;do if(k>>>0>=128){if(k>>>0<2048){a[i>>0]=k>>>6&31|192;a[i+1>>0]=k&63|128;i=i+2|0;break}if(k>>>0<65536){a[i>>0]=k>>>12&15|224;a[i+1>>0]=k>>>6&63|128;a[i+2>>0]=k&63|128;i=i+3|0;break}else{a[i>>0]=k>>>18&7|240;a[i+1>>0]=k>>>12&63|128;a[i+2>>0]=k>>>6&63|128;a[i+3>>0]=k&63|128;i=i+4|0;break}}else{a[i>>0]=k;i=i+1|0}while(0)}while(h>>>0<n>>>0);m=55}else{i=r;m=55}else if(i<<24>>24!=1)if((l|0)>0){i=r;do{m=d[h>>0]<<8;l=h+2|0;k=d[h+1>>0]|0;j=m|k;if((m&63488|0)==55296&l>>>0<n>>>0){j=(j<<10&983040)+65536|k<<10&64512|d[h+3>>0]|d[l>>0]<<8&768;h=h+4|0}else h=l;do if(j>>>0>=128){if(j>>>0<2048){a[i>>0]=j>>>6&31|192;a[i+1>>0]=j&63|128;i=i+2|0;break}if(j>>>0<65536){a[i>>0]=j>>>12&15|224;a[i+1>>0]=j>>>6&63|128;a[i+2>>0]=j&63|128;i=i+3|0;break}else{a[i>>0]=j>>>18&7|240;a[i+1>>0]=j>>>12&63|128;a[i+2>>0]=j>>>6&63|128;a[i+3>>0]=j&63|128;i=i+4|0;break}}else{a[i>>0]=j;i=i+1|0}while(0)}while(h>>>0<n>>>0);m=55}else{i=r;m=55}else{i=(l|0)>0;if(g<<24>>24==2)if(i){i=r;l=h;while(1){h=l+1|0;j=a[l>>0]|0;k=j&255;if((j&255)>191){k=d[15360+(k+-192)>>0]|0;a:do if((h|0)==(n|0))h=n;else while(1){j=a[h>>0]|0;if((j&-64)<<24>>24!=-128)break a;l=l+2|0;k=j&63|k<<6;if((l|0)==(n|0)){h=n;break}else{j=h;h=l;l=j}}while(0);if(!(k>>>0<128|(k&-2048|0)==55296|(k&-2|0)==65534))if(k>>>0<65536)m=22;else{l=k+-65536|0;a[i>>0]=l>>>10&192|k>>>10&63;a[i+1>>0]=l>>>18&3|216;a[i+2>>0]=k;a[i+3>>0]=k>>>8&3|220;i=i+4|0}else{k=65533;m=22}}else m=22;if((m|0)==22){m=0;a[i>>0]=k;a[i+1>>0]=k>>>8;i=i+2|0}if(h>>>0<n>>>0)l=h;else break}}else i=r;else if(i){i=r;do{l=h+1|0;k=a[h>>0]|0;j=k&255;if((k&255)>191){j=d[15360+(j+-192)>>0]|0;b:do if((l|0)==(n|0))h=n;else{k=h;h=l;while(1){l=a[h>>0]|0;if((l&-64)<<24>>24!=-128)break b;k=k+2|0;j=l&63|j<<6;if((k|0)==(n|0)){h=n;break}else{l=h;h=k;k=l}}}while(0);if(!(j>>>0<128|(j&-2048|0)==55296|(j&-2|0)==65534))if(j>>>0<65536)m=31;else{l=j+-65536|0;a[i>>0]=l>>>18&3|216;a[i+1>>0]=l>>>10&192|j>>>10&63;a[i+2>>0]=j>>>8&3|220;a[i+3>>0]=j;i=i+4|0}else{j=65533;m=31}}else{h=l;m=31}if((m|0)==31){m=0;a[i>>0]=j>>>8;a[i+1>>0]=j;i=i+2|0}}while(h>>>0<n>>>0)}else i=r;c[o>>2]=i-r;a[i>>0]=0;i=i+1|0}if((m|0)==55)c[o>>2]=i-r;a[i>>0]=0;i=f+8|0;o=b[i>>1]|0;h=o&65535;if(!((o&9312)==0?(c[f+24>>2]|0)==0:0))Mg(f);b[i>>1]=h&29|514;a[s>>0]=g;c[p>>2]=r;c[f+20>>2]=r;h=c[q>>2]|0;do if(!h)h=hc[c[8744+48>>2]&127](r)|0;else{if((c[h+276>>2]|0)>>>0<=r>>>0?(c[h+280>>2]|0)>>>0>r>>>0:0){h=e[h+248>>1]|0;break}h=hc[c[8744+48>>2]&127](r)|0}while(0);c[f+24>>2]=h;h=0}}else if(!(Rl(f)|0)){h=c[f+16>>2]|0;q=c[f+12>>2]&-2;i=h+q|0;if((q|0)>0)do{p=a[h>>0]|0;q=h+1|0;a[h>>0]=a[q>>0]|0;h=h+2|0;a[q>>0]=p}while(h>>>0<i>>>0);a[s>>0]=g;h=0}else h=7;return h|0}function yn(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;i=a[b>>0]|0;g=i&255;a:do switch(g|0){case 13:case 12:case 10:case 9:case 32:{f=1;while(1)if(!(a[10368+(d[b+f>>0]|0)>>0]&1))break;else f=f+1|0;c[e>>2]=151;break}case 91:{f=1;while(1){g=a[b+f>>0]|0;if(!(g<<24>>24)){g=g&255;break}f=f+1|0;if(g<<24>>24==93){g=93;break}}c[e>>2]=(g|0)==93?27:150;break}case 37:{c[e>>2]=93;f=1;break}case 61:{c[e>>2]=79;f=(a[b+1>>0]|0)==61?2:1;break}case 62:{f=a[b+1>>0]|0;if(f<<24>>24==61){c[e>>2]=83;f=2;break a}else if(f<<24>>24==62){c[e>>2]=88;f=2;break a}else{c[e>>2]=80;f=1;break a}}case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:{j=51;break}case 40:{c[e>>2]=22;f=1;break}case 41:{c[e>>2]=23;f=1;break}case 34:case 39:case 96:{g=a[b+1>>0]|0;b:do if(g<<24>>24){f=1;while(1){if(g<<24>>24==i<<24>>24){f=f+1|0;if((a[b+f>>0]|0)!=i<<24>>24)break}f=f+1|0;g=a[b+f>>0]|0;if(!(g<<24>>24))break b}if(i<<24>>24==39){c[e>>2]=97;break a}else{c[e>>2]=27;break a}}else f=1;while(0);c[e>>2]=150;break}case 60:{f=a[b+1>>0]|0;if(f<<24>>24==60){c[e>>2]=87;f=2;break a}else if(f<<24>>24==61){c[e>>2]=81;f=2;break a}else if(f<<24>>24==62){c[e>>2]=78;f=2;break a}else{c[e>>2]=82;f=1;break a}}case 63:{c[e>>2]=135;f=1;while(1)if(((d[b+f>>0]|0)+-48|0)>>>0<10)f=f+1|0;else break;break}case 58:case 35:case 64:case 36:{c[e>>2]=135;g=a[b+1>>0]|0;if(g<<24>>24){f=1;i=0;while(1){if(!(a[10368+(g&255)>>0]&70)){if(g<<24>>24==40&(i|0)>0){g=i;j=78;break}if(g<<24>>24!=58){g=i;break}g=f+1|0;if((a[b+g>>0]|0)==58)f=g;else{g=i;break}}else i=i+1|0;f=f+1|0;g=a[b+f>>0]|0;if(!(g<<24>>24)){g=i;break}}do if((j|0)==78){h=f;while(1){f=h+1|0;i=a[b+f>>0]|0;if(!(i<<24>>24))break;if(i<<24>>24!=41?(a[10368+(i&255)>>0]&1)==0:0)h=f;else{j=81;break}}if((j|0)==81)if(i<<24>>24==41){f=h+2|0;break}c[e>>2]=150}while(0);if(g)break a}else f=1;c[e>>2]=150;break}case 44:{c[e>>2]=26;f=1;break}case 38:{c[e>>2]=85;f=1;break}case 126:{c[e>>2]=96;f=1;break}case 33:if((a[b+1>>0]|0)==61){c[e>>2]=78;f=2;break a}else{c[e>>2]=150;f=2;break a}case 45:{if((a[b+1>>0]|0)==45)f=2;else{c[e>>2]=90;f=1;break a}while(1){g=a[b+f>>0]|0;if(g<<24>>24==0|g<<24>>24==10)break;f=f+1|0}c[e>>2]=151;break}case 88:case 120:{if((a[b+1>>0]|0)==39){c[e>>2]=134;f=2;while(1){g=a[b+f>>0]|0;if(!(a[10368+(g&255)>>0]&8))break;else f=f+1|0}if(g<<24>>24==39&(f&1|0)==0)g=1;else{c[e>>2]=150;while(1){g=a[b+f>>0]|0;if(g<<24>>24==39|g<<24>>24==0)break;f=f+1|0}g=g<<24>>24!=0}f=(g&1)+f|0}else j=98;break}case 59:{c[e>>2]=1;f=1;break}case 43:{c[e>>2]=89;f=1;break}case 124:if((a[b+1>>0]|0)==124){c[e>>2]=94;f=2;break a}else{c[e>>2]=86;f=1;break a}case 42:{c[e>>2]=91;f=1;break}case 47:{if((a[b+1>>0]|0)==42?(f=a[b+2>>0]|0,f<<24>>24!=0):0){f=f&255;g=3;while(1){i=a[b+g>>0]|0;if((f|0)==42&i<<24>>24==47){f=42;break}f=i&255;if(!(i<<24>>24))break;else g=g+1|0}c[e>>2]=151;f=((f|0)!=0&1)+g|0;break a}c[e>>2]=92;f=1;break}case 46:{if(((d[b+1>>0]|0)+-48|0)>>>0<10)j=51;else{c[e>>2]=122;f=1}break}default:j=98}while(0);c:do if((j|0)==51){c[e>>2]=132;f=a[b>>0]|0;if(f<<24>>24==48){g=a[b+1>>0]|0;if(g<<24>>24==88|g<<24>>24==120)if(!(a[10368+(d[b+2>>0]|0)>>0]&8))h=0;else{f=3;while(1)if(!(a[10368+(d[b+f>>0]|0)>>0]&8))break c;else f=f+1|0}else{f=48;h=0}}else h=0;while(1){g=h+1|0;if(((f&255)+-48|0)>>>0>=10){g=h;break}f=a[b+g>>0]|0;h=g}if(f<<24>>24==46){f=g;do{f=f+1|0;g=b+f|0}while(((d[g>>0]|0)+-48|0)>>>0<10);c[e>>2]=133;h=a[g>>0]|0;i=f}else{h=f;i=g}do if(h<<24>>24==69|h<<24>>24==101){g=a[b+(i+1)>>0]|0;if(((g&255)+-48|0)>>>0>=10){if(!(g<<24>>24==45|g<<24>>24==43)){g=h;f=i;break}f=i+2|0;if(((d[b+f>>0]|0)+-48|0)>>>0>=10){g=h;f=i;break}}else f=i+2|0;while(1){g=b+f|0;if(((d[g>>0]|0)+-48|0)>>>0<10)f=f+1|0;else break}c[e>>2]=133;g=a[g>>0]|0}else{g=h;f=i}while(0);if(a[10368+(g&255)>>0]&70)do{c[e>>2]=150;f=f+1|0}while((a[10368+(d[b+f>>0]|0)>>0]&70)!=0)}else if((j|0)==98){if(!(a[10368+g>>0]&70)){c[e>>2]=150;f=1;break}else f=1;while(1)if(!(a[10368+(d[b+f>>0]|0)>>0]&70))break;else f=f+1|0;c[e>>2]=bi(b,f)|0}while(0);return f|0}function zn(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=a[b>>0]|0;if(f<<24>>24==45){b=b+1|0;i=1;j=13}else if(f<<24>>24==43){b=b+1|0;i=0;j=13}else if((f<<24>>24==48?(f=a[b+1>>0]|0,f<<24>>24==88|f<<24>>24==120):0)?(g=b+2|0,e=a[g>>0]|0,(a[10368+(e&255)>>0]&8)!=0):0){while(1){f=g+1|0;if(e<<24>>24!=48)break;g=f;e=a[f>>0]|0}if(!(a[10368+(e&255)>>0]&8)){e=0;f=0}else{h=e;b=0;f=0;do{e=h<<24>>24;f=(0-(e>>>6&1)&9)+e&15|f<<4;b=b+1|0;h=a[g+b>>0]|0;e=(a[10368+(h&255)>>0]&8)==0}while((b|0)<8&(e^1));e=e^1}if((f|0)<0|e)e=0;else{c[d>>2]=f;e=1}}else{i=0;j=13}a:do if((j|0)==13){e=0;f=0;h=0;while(1){g=(a[b+h>>0]|0)+-48|0;if(g>>>0>=10)break;f=ow(e|0,f|0,10,0)|0;e=fw(g|0,((g|0)<0)<<31>>31|0,f|0,C|0)|0;h=h+1|0;if((h|0)>=11){e=0;break a}else f=C}g=$v(e|0,f|0,i|0,0)|0;b=C;if((b|0)>0|(b|0)==0&g>>>0>2147483647)e=0;else{if(i)e=$v(0,0,e|0,f|0)|0;c[d>>2]=e;e=1}}while(0);return e|0}function An(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();g=f;c[g>>2]=e;og(a,b,d,g);i=f;return}function Bn(e,f,g,h,k,l,m){e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0;F=i;i=i+16|0;if((i|0)>=(j|0))ba();D=F;A=F+4|0;c[A>>2]=0;E=ih(e,536,0)|0;a:do if(E){bw(E|0,0,536)|0;c[E+476>>2]=k;r=e+20|0;k=c[r>>2]|0;b:do if((k|0)>0){s=e+16|0;p=0;while(1){q=c[(c[s>>2]|0)+(p<<4)+4>>2]|0;if(q){c[(c[q+4>>2]|0)+4>>2]=c[q>>2];n=Zk(q,1,1)|0;if(n)break;k=c[r>>2]|0}p=p+1|0;if((p|0)>=(k|0))break b}c[D>>2]=c[(c[s>>2]|0)+(p<<4)>>2];qg(e,n,40984,D);p=E;break a}while(0);nl(e);c[E>>2]=e;c[E+424>>2]=0;do if((g|0)>-1){if((g|0)!=0?(a[f+(g+-1)>>0]|0)==0:0){B=21;break}if((c[e+92>>2]|0)<(g|0)){qg(e,18,41016,D);if(!e){p=E;n=18;break a}if(!(a[e+65>>0]|0)){p=E;n=c[e+56>>2]&18;break a}else{Ml(e);p=E;n=7;break a}}else{if((f|0)!=0?(o=fw(g|0,((g|0)<0)<<31>>31|0,1,0)|0,o=ih(e,o,C)|0,(o|0)!=0):0){gw(o|0,f|0,g|0)|0;a[o+g>>0]=0;Hh(E,o,A)|0;ig(e,o);n=E+480|0;c[n>>2]=f+((c[n>>2]|0)-o);break}c[E+480>>2]=f+g;break}}else B=21;while(0);if((B|0)==21)Hh(E,f,A)|0;s=e+65|0;k=E+12|0;if(!(a[s>>0]|0)){p=E+12|0;if((c[k>>2]|0)==101)c[p>>2]=0}else{c[k>>2]=7;p=E+12|0}c:do if((a[E+17>>0]|0)!=0?(t=c[E>>2]|0,u=t+20|0,(c[u>>2]|0)>0):0){o=t+16|0;r=0;while(1){k=c[o>>2]|0;n=c[k+(r<<4)+4>>2]|0;if(n){if(!(a[n+8>>0]|0)){k=ug(n,0)|0;if((k|0)==7|(k|0)==3082)break;else if(k)break c;k=c[o>>2]|0;q=1}else q=0;g=c[n+4>>2]|0;c[g+4>>2]=c[n>>2];g=c[(c[g+12>>2]|0)+56>>2]|0;if((d[g+41>>0]<<16|d[g+40>>0]<<24|d[g+42>>0]<<8|d[g+43>>0]|0)!=(c[c[k+(r<<4)+12>>2]>>2]|0)){rm(t,r);c[p>>2]=17}if(q)qn(n)|0}r=r+1|0;if((r|0)>=(c[u>>2]|0))break c}a[t+65>>0]=1}while(0);if(a[s>>0]|0)c[p>>2]=7;if(m)c[m>>2]=c[E+480>>2];n=c[p>>2]|0;q=(n|0)==0;do if(q?(w=E+8|0,v=c[w>>2]|0,(v|0)!=0):0){p=a[E+450>>0]|0;if(!(p<<24>>24))break;else if(p<<24>>24==2){eq(v,4);o=8;k=12}else{eq(v,8);o=0;k=8}p=o;do{fq(c[w>>2]|0,p-o|0,0,c[41040+(p<<2)>>2]|0,0);p=p+1|0}while((p|0)<(k|0))}while(0);o=E+8|0;if((a[e+145>>0]|0)==0?(z=c[o>>2]|0,x=(c[E+480>>2]|0)-f|0,(z|0)!=0):0){if((f|0)!=0?(w=c[z>>2]|0,y=fw(x|0,((x|0)<0)<<31>>31|0,1,0)|0,y=ih(w,y,C)|0,(y|0)!=0):0){gw(y|0,f|0,x|0)|0;a[y+x>>0]=0;p=y}else p=0;c[z+168>>2]=p;z=z+88|0;b[z>>1]=b[z>>1]&-257|(h&65535)<<8&256}p=c[o>>2]|0;do if(!p)B=60;else{if(q?(a[s>>0]|0)==0:0){B=60;break}Jg(p)|0}while(0);if((B|0)==60)c[l>>2]=p;o=c[A>>2]|0;do if(!o){c[e+52>>2]=n;o=c[e+236>>2]|0;if(o){p=o+8|0;if(!(b[p>>1]&9312)){b[p>>1]=1;break}else{rg(o);break}}}else{c[D>>2]=o;qg(e,n,10344,D);ig(e,o)}while(0);o=E+528|0;p=c[o>>2]|0;if(!p)p=E;else{do{c[o>>2]=c[p+4>>2];ig(e,p);p=c[o>>2]|0}while((p|0)!=0);p=E}}else{p=0;n=7}while(0);yh(p);ig(e,E);D=Kg(e,n)|0;i=F;return D|0}function Cn(b){b=b|0;var d=0,e=0;e=c[b>>2]|0;if((a[e+145>>0]|0)==0?(d=Vh(e,b+4|0)|0,(d|0)!=0):0){c[b+12>>2]=d;e=b+64|0;c[e>>2]=(c[e>>2]|0)+1}else d=0;return d|0}function Dn(a){a=a|0;var b=0,d=0,f=0,g=0,h=0;f=c[a+24>>2]|0;h=f+84|0;b=c[h>>2]|0;if(!b){b=1020;d=0}else{b=b*40|0;d=0}g=a+4|0;a=no(c[f>>2]|0,c[g>>2]|0,b,d)|0;d=(a|0)!=0;if(d){b=c[f>>2]|0;do if(!b)b=hc[c[8744+48>>2]&127](a)|0;else{if((c[b+276>>2]|0)>>>0<=a>>>0?(c[b+280>>2]|0)>>>0>a>>>0:0){b=e[b+248>>1]|0;break}b=hc[c[8744+48>>2]&127](a)|0}while(0);c[h>>2]=(b>>>0)/20|0;c[g>>2]=a}return (d?0:7)|0}function En(a,d,e){a=a|0;d=d|0;e=e|0;a:do if(e)switch(d|0){case -10:{if(c[a+520>>2]|0)break a;wn(e);break a}case -11:{if(c[a+520>>2]|0)break a;Sc(e);break a}case -15:case -1:case -13:case -12:{ig(a,e);break a}case -5:{if(!(b[e+2>>1]&16))break a;ig(a,e);break a}case -6:{if(c[a+520>>2]|0)break a;a=(c[e>>2]|0)+-1|0;c[e>>2]=a;if(a)break a;Sc(e);break a}case -8:{if(!(c[a+520>>2]|0)){Ih(e);break a}if(c[e+24>>2]|0)ig(a,c[e+20>>2]|0);ig(a,e);break a}default:break a}while(0);return}function Fn(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=c[f>>2]|0;p=c[e+24>>2]|0;q=p+112|0;k=c[q>>2]|0;n=e+88|0;b[n>>1]=b[n>>1]&-193|64;h=c[e+32>>2]|0;a:do if((h|0)>0){j=c[e+4>>2]|0;while(1){h=h+-1|0;i=d[j>>0]|0;switch(i|0){case 2:case 3:{o=7;break}case 12:case 13:case 11:{b[n>>1]=b[n>>1]&-193|128;break}case 15:{r=c[j+8>>2]|0;g=(r|0)>(g|0)?r:g;break}case 6:case 8:{c[j+16>>2]=77;a[j+1>>0]=-19;break}case 5:case 7:case 9:{c[j+16>>2]=76;a[j+1>>0]=-19;break}case 10:case 1:{r=d[j+3>>0]|0;g=(r|0)>(g|0)?r:g;break}case 14:{r=c[j+-16>>2]|0;g=(r|0)>(g|0)?r:g;break}case 4:{if(!(c[j+8>>2]|0))o=7;else{b[n>>1]=b[n>>1]&-65;o=7}break}default:{}}if((o|0)==7){o=0;b[n>>1]=b[n>>1]|128}i=a[34168+i>>0]|0;a[j+2>>0]=i;if((i&1)!=0?(l=j+8|0,m=c[l>>2]|0,(m|0)<0):0)c[l>>2]=c[k+(~m<<2)>>2];if((h|0)<=0)break a;else j=j+20|0}}while(0);ig(c[e>>2]|0,c[q>>2]|0);c[q>>2]=0;c[p+108>>2]=0;c[f>>2]=g;return}function Gn(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;e=b+73|0;if((a[e>>0]|0)!=4){a[e>>0]=0;f=b+56|0;d=b+48|0;d=Cp(b,c[f>>2]|0,c[d>>2]|0,c[d+4>>2]|0,0,g)|0;if(!d){Sc(c[f>>2]|0);c[f>>2]=0;f=b+68|0;d=c[f>>2]|c[g>>2];c[f>>2]=d;if((d|0)!=0?(a[e>>0]|0)==1:0){a[e>>0]=2;d=0}else d=0}}else d=c[b+68>>2]|0;i=h;return d|0}function Hn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;a=c[a+8>>2]|0;a:do if(!a)a=0;else{e=(b|0)==0;while(1){if((a|0)!=(d|0)){if(e)break;if((c[a+60>>2]|0)==(b|0))break}a=c[a+8>>2]|0;if(!a){a=0;break a}}a=Bl(a,b,d)|0}while(0);return a|0}function In(b){b=b|0;var e=0,f=0,g=0,h=0;f=c[b>>2]|0;g=f+1|0;c[b>>2]=g;h=a[f>>0]|0;e=h&255;if((h&255)<=191)return e|0;e=d[15360+(e+-192)>>0]|0;if((a[g>>0]&-64)<<24>>24==-128)while(1){f=f+2|0;c[b>>2]=f;e=(d[g>>0]|0)&63|e<<6;if((a[f>>0]&-64)<<24>>24==-128){h=g;g=f;f=h}else break}return (e>>>0<128|(e&-2048|0)==55296|(e&-2|0)==65534?65533:e)|0}function Jn(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if((c|0)>-1)g=b+c|0;else g=-1;c=a[b>>0]|0;if(c<<24>>24!=0&g>>>0>b>>>0){d=c;c=0;do{f=b+1|0;if((d&255)>191){e=b;b=f;while(1){d=a[b>>0]|0;if((d&-64)<<24>>24==-128){d=b;b=e+2|0;e=d}else break}}else{d=a[f>>0]|0;b=f}c=c+1|0}while(d<<24>>24!=0&b>>>0<g>>>0)}else c=0;return c|0}function Kn(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+48|0;if((i|0)>=(j|0))ba();t=x+32|0;u=x+16|0;v=x;k=c[d>>2]|0;if((k|0)<0){c[d>>2]=0;c[d+4>>2]=-1;b[d+12>>1]=0;a[d+14>>0]=0;k=0}p=g;o=c[p+4>>2]|0;q=v;c[q>>2]=c[p>>2];c[q+4>>2]=o;q=d+8|0;c[q>>2]=h;o=f&255;p=(f|0)==254;do{n=b[d+(k<<4)+12>>1]|0;h=n&65535;g=37184+(h<<1)|0;a:do if((n&65535)>429)w=6;else{n=o;while(1){m=b[g>>1]|0;l=m<<16>>16;if(m<<16>>16==-86){w=6;break a}m=n&255;k=l+m|0;if(k>>>0<=1496?(a[39336+k>>0]|0)==n<<24>>24:0){w=16;break}if(!(n<<24>>24))break;if((n&255)>=70){r=l;w=12;break}n=a[40840+m>>0]|0;if(!(n<<24>>24)){r=l;w=12;break}}if((w|0)==16){w=0;k=e[22184+(k<<1)>>1]|0;break}if(((w|0)==12?(w=0,s=r+70|0,(s|0)>-1):0)?(a[39336+s>>0]|0)==70:0){k=e[22184+(s<<1)>>1]|0;break}k=e[38048+(h<<1)>>1]|0}while(0);if((w|0)==6){w=0;k=e[38048+(h<<1)>>1]|0}if(k>>>0<642){w=18;break}if(k>>>0>=969){w=20;break}iq(d,k+-642|0);if(p)break;k=c[d>>2]|0}while((k|0)>-1);if((w|0)==18){gq(d,k,f,v);r=d+4|0;c[r>>2]=(c[r>>2]|0)+-1}else if((w|0)==20){c[u+0>>2]=c[v+0>>2];c[u+4>>2]=c[v+4>>2];c[u+8>>2]=c[v+8>>2];r=c[q>>2]|0;c[t>>2]=u;ph(r,20432,t);c[q>>2]=r;hq(d,o,v)}i=x;return}function Ln(b){b=b|0;var d=0;d=c[b>>2]|0;if((d|0)>=0){hq(b,a[b+(d<<4)+14>>0]|0,b+(d<<4)+16|0);c[b>>2]=(c[b>>2]|0)+-1}return}function Mn(a,b){a=a|0;b=b|0;var d=0;if(b){if((c[b>>2]|0)>0){d=0;do{Jk(a,c[b+(d<<4)+12>>2]|0);Ik(a,c[b+(d<<4)+16>>2]|0,1);ig(a,c[b+(d<<4)+8>>2]|0);d=d+1|0}while((d|0)<(c[b>>2]|0))}ig(a,b)}return}function Nn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=a+328|0;d=c[h>>2]|0;if(d){i=a+304|0;if((c[i>>2]|0)>0){f=0;do{e=c[d+(f<<2)>>2]|0;d=c[e+8>>2]|0;if((d|0)!=0?(g=c[(c[d>>2]|0)+b>>2]|0,(g|0)!=0):0)hc[g&127](d)|0;c[e+20>>2]=0;wn(e);f=f+1|0;d=c[h>>2]|0}while((f|0)<(c[i>>2]|0))}ig(a,d);c[i>>2]=0;c[h>>2]=0}return}function On(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0;do if((d|0)==-2)if(!(c[a+12>>2]|0))d=(c[a+16>>2]|0)==0?0:6;else d=6;else{h=b[a>>1]|0;g=h<<16>>16;if(!((g|0)!=(d|0)&h<<16>>16>-1)){h=(g|0)==(d|0)?4:1;g=f&255;d=e[a+2>>1]|0;if((g|0)==(d&3|0)){d=h|2;break}else return ((d&g)>>>1&1)+h|0}else d=0}while(0);return d|0} [all...] |
/external/webrtc/data/voice_engine/stereo_rtp_files/ |
H A D | hrtf_g722_1C_48.rtp | 931 �F��$?�JAԥs�����,���A�)J��� �Ii�6�����%��� .XV|�ߟLL��9L� ��x�V�pjzIs �D��@ �W�?� <� � �}� ��EI��X��*v� q ���bU X��;U!�5�F�PK:lr
Qd���zWW$���
�L��Cx�� BpT(i*aX#��(d���wE���Y*-�<��DB�L8
�+rϦ�"MKz.�U��(B"!曧��kbHe�.���Y�#��d릪;��85V�W��,j�ML�DΡm6Ly&R.a(Dn�</A�YU�F�<�}}�Y52$�\B:� ,P�y�m��O[�� �
�}� ���I��X�^V��� ��-&���D�7��8ɞ^�v)$��.lո��p�V0�U�1� J�
���@,2��$�8��n�C�AH����kQ i'�n@�d��Ŧ�FNu)x�]���^R���O��|i�F�g�8N�� CG� ��^��*�R�C5�RJN���`�YH G撛\��-�2������� ��� 3654 ��"5���Pv�B�J�4�Ze�)Dn����y�ZRsl��B������?>��)@�B�,r� �� 3739 ��L> ��FU�k�#�Dn��Ֆ��<2Aw 3944 ����E]��+$J�Q���Z� ,�t��:41��! D,�rӗ4d`��N(�Tq�І�n���*��&�,ܲ� j
����� � 7��}� ��I��Xҿ�/����F�����)����H���Jʟ���s��w�Dn����r�&������5.�r���ဧ��;�3?�<��O��<���9�� ��=�� P� x���������������ұ�b!�P�P::��{�]�(Tu����N�IR 4045 �&��.Dn-`mQ����d�ǜ>� � � 5Ji8k��o凮yP�0 !@f�hV��^h��y:B�ahV2T7���s-%����_*�dqX#� 4066 �T�"�%��u��������ɠY�g/��^�4HC�8�A9Ib=����Zz��T3A2:08�~��KMvl��j*�!O X̹Df"(f�:�'j�j}���V4����"��¢�HR��kw$Rj¨������ � 9l�}� �?�I��X������F4�T'�.��ȯ5�Ak*�Zr����r����D�*T��8P�z�*�+B�W�"���}��\�y��#���~9)DnDŽB �[pkO"��)�5@^�#��ҏ���t70'�����L*�@Y��8��0~"�
<�Y��!��r�����S
|
H A D | hrtf_g722_1C_48_jitterT2.rtp | 922 �F��$?�JAԥs�����,���A�)J��� �Ii�6�����%��� .XV|�ߟLL��9L� ��x�V�pjzIs �D��@ �W�?� <� � ��}� ��EI��X��*v� q ���bU X��;U!�5�F�PK:lr
Qd���zWW$���
�L��Cx�� BpT(i*aX#��(d���wE���Y*-�<��DB�L8
�+rϦ�"MKz.�U��(B"!曧��kbHe�.���Y�#��d릪;��85V�W��,j�ML�DΡm6Ly&R.a(Dn�</A�YU�F�<�}}�Y52$�\B:� ,P�y�m��O[�� � ��}� ���I��X�^V��� ��-&���D�7��8ɞ^�v)$��.lո��p�V0�U�1� J�
���@,2��$�8��n�C�AH����kQ i'�n@�d��Ŧ�FNu)x�]���^R���O��|i�F�g�8N�� CG� ��^��*�R�C5�RJN���`�YH G撛\��-�2������� ��� 3618 ��"5���Pv�B�J�4�Ze�)Dn����y�ZRsl��B������?>��)@�B�,r� �� 3702 ��L> ��FU�k�#�Dn��Ֆ��<2Aw 3900 ����E]��+$J�Q���Z� ,�t��:41��! D,�rӗ4d`��N(�Tq�І�n���*��&�,ܲ� j
����� � 7Q�}� ��I��Xҿ�/����F�����)����H���Jʟ���s��w�Dn����r�&������5.�r���ဧ��;�3?�<��O��<���9�� ��=�� P� x���������������ұ�b!�P�P::��{�]�(Tu����N�IR 4001 �&��.Dn-`mQ����d�ǜ>� � � 5Ji8k��o凮yP�0 !@f�hV��^h��y:B�ahV2T7���s-%����_*�dqX#� 4022 �T�"�%��u��������ɠY�g/��^�4HC�8�A9Ib=����Zz��T3A2:08�~��KMvl��j*�!O X̹Df"(f�:�'j�j}���V4����"��¢�HR��kw$Rj¨������ � 9V�}� �?�I��X������F4�T'�.��ȯ5�Ak*�Zr����r����D�*T��8P�z�*�+B�W�"���}��\�y��#���~9)DnDŽB �[pkO"��)�5@^�#��ҏ���t70'�����L*�@Y��8��0~"�
<�Y��!��r�����S
|
H A D | stereo_pcmu_jitter.rtp | 6 �%I��X����~���������������~�����������~}�}�}��������������������������}�~�~�|����������������������~��|�}�}�~�����~�������}��������|�{�|~���������������}�{�{�~�~����������{��~~���������}~�{~����������|�~��~����������������|�{����}���}���~�{}�}��{�~�������������~���}�}����~���|�TL �} ��I��X������~�}|�~���}����������~}~�~�����������}~�������}~��~���~���������������������������~�|�{�|�|�~�������������}�}�}~������~~������~�����~���~�}�}��}����~�����������~����������~�~�~�����������~���~~���~����~������~�������������~��~���������TL W�} ��I��X�~���������������������}���}�������������������������������}�������~����������������������������������������������������������������������������������������������������������������~������������������������������������������������������������������������~���������~�TL W�} �eI��X��������������������~������~������}�~���~����~������~����}������������~��~��~~�~~����~�����������~��~�~�����~�}���������~��}�������������������~�����~������~�����~���������~���������}������������������~�~��~�|����}��}�����}�|��|��|�|���}TL W�}
�I��X��~��}��~��~��|��|��}��z��z��{��y~��|~������s~������������������[x]y[yh|Suf{[y������}|s~}j}a{XxVwXxZx]yYx_{a{j}`{b{}�i}g|c{_z[yy����������h}}|������v~t~l}k|����{~��m}����q~��wu~j}��u~��Xw_z������f|��g|��h|������l}����n}g|^z��������~��������r~����o}������j|��������n~����������}l}������\ya{g|l}y��TL W�} ��I��Xl}����t~��j}o}Xw������������Zy��o~_{l}������f|Yx[yq~������f|��o~y~c{b{y~v~����k}��n}������p~��v~��m}��k}����q~x~f}g|������������f|������e|��\y��l}`zs~^z������t~��zq~j}q~����]zd{��������������{Zxu~����g|c{\yz������������o~j}����x~|�\z]yj|t~}����m}�s~f|m}l}��k}~�l}����c{s~����������i|����]za{zm}{����k}��]yb{����TL b�} �EI��Xg|^z��������������j}~����`zk}������m~��o~x~����~�����]z`z{~����|k}}n}������������yx~sd{o}������k}xxh|������p}UwZy[yn}��������o~����y~w~��^{j}����d|n}��}�d|f|����������h|m}����o~g|k}u~�e|��z~����n~r~������������r}�}�x~��k}��}�xyi}i}_zt~v~o~k}h}l}����������we|i|������l}d|i}���������������|�g|g|[ya{q~��n}VwTL ��} ��I��X����������Yx?k8e4c2a4b3b5c6d:gCmm}��ߪ۩ڬܲ������QuAl9f8e;hDmUw������������Ww>j7e5c4c2a0_2a4b:gBle|���۩ڬܯ߹�����Ru@l9g9f<hCmQu�������߱��p~?l8e4b5d/^-].^7e9f8e@l��ܡԣթگߴ���Lq0_+\0_;hCmLq���߰ߵ�����Ns2a.^/^0_/_3a8fAl@l4c;g���۬ܫܪۮ���Ho;h;h:g7e:gRu������߹���[xCm:g0_/^3b8f9f6d8f7e6dTL ��} ��I��XRuTvTvXw\zd|t~l}����������������������~�r~����_{[x^z_zp~g|ZyOtLrKqLqKqLqHoGoLrVw����������������VwLqIoIoLrNtOtPuUv[yRvLrIoJpKqHoFnAlBmGn^z����߮ޯ߶������yQuEn@kAlHo]z������������m~XxIp?k;h;h:g8f9g;hCmh|���ܫܯ߸�������g|Go=i9f:gCmUw���������������Kq;h6c4b6d8f8f9f9g=iIo����ݬݯ������UwDm=i<i?kJp]z��TL ƀ} �%I��XOt��ި٩ڧجܺ���Al<i5c3b8fIo������������Dm8e.^2a5c6d8e5c>j8f3aUw���ܪۧحݸ���TvBm4c7d=i?k\y���������k}Gn<i6d3a3b6d5c8f:g8e8e}~���ޫ۩گߺ��xEn=j<h<i=jOt������������[yBm8f6d4c0_1`5c5c1`=j�����ܪ۪ۯ߳���a{Tv?k:g;h?lUwm}����������TvFn;h6d2`/_1`/_.^7eUw���ݫܫ۪ۮݷ�����Mr;h<i;h>kLrl}�����TL �} �eI��XOtXxDmGoNsLqZyo}��������[yZyFn>k;h4c5c;g>jOt���������������_{_zJpIpMrMrSu]zt~y~����^z\yJpDm=i8f6d;h>jIo���������������o~h|QuLrOtKqTvTw`{sj}��]yXxJpDn?k7e8f<i>jLr����������������r~t~TvLrPuMrNsWw\yb{n}p~\y[yKqFn?k:g9f<iAlMr����������������v~��XwLrVwKpOtVwWwf|e|o~ZyWwMrCm?k9f:g=i?kXx��������TL �} ��I��X��������RuAl:h5c/_/_/^,\5cPu^z��ݭݫܨ٭ݵ����NsAl@l9f=iGoPt��������������_{Fn=j4b2a0_,\/^:gGo����ݫ۫ۯ����]zIo>j=j?kCmRu��������������ZxJp=j5c4b/^-]7e>kOs����ݫۮް߶�����e|Fn?k@l@lDmYxh|������������XwFn;h:g0_/_4b:gEn�����߯ޯޯߵ������\yJpIoBmFnMrRvf|����������_{OtAl=i7e2a4c;h=je{�������߶��������TL �} � I��X����������x~SvQuMrMrLrUvZx\yw~a{\zZxIpEn?k8e<i>jAlm}������������������r~Ot]yMrMrPuQuUw[yp~Yx[yVwFnFn>j:g>jCmHo��������������������^y[ySvNtOtPuRvXx_z]zWxZyLrHoCm<i;hCmDmZy��������������������\y_{QuMsRuRuTvXx_zZyVwWwJpGo@l=j?kDnIo��������������������vZy\yOtLrWwOtXx^z_zWwXxRvGnGn?k=iFnGoYx������TL �} � �I��X����������������b{x~UvSvYxOtVwYx\yWwWw[yIoJpJpCm>jNsTvNt����������������������k}|��VwQu[yOtMr[yXxPtUvTvKqLrJpIoHoQu_zu~��������������������������s~��_{UwSvRvRvRuVw]zXxVwMrOsMrNsHoQuf|Sv����������������������������s~^zPtYxYxOtUvUw[yTwZx\yUvXxVwWwNsh|������������������������������y~_zf|[y^zRu^zb{Su^zx~_{Nse{e{Fne|TL �} �!EI��X��Xw}��������������������������l}��f|]yZyq}Ot]yi}a{Xxa{ZxQta{\yazq~��������������������������������f|����d{m}��p~]zf|`{[yh|Zyr~c{f|_zn}~�{��������������������������y������l}u|�q~k}r~k}j|\yj|j|j|^zo}Zx��p}��v~��z������s������g|��{����_{��f||����e|��g|��l}x\yvs~��]yw~��t~����������������������j|r~��n}r~l}��y~v~TL �} �!�I��X��yj|zn}��{~����m~��x~���v~����z~u~��������}��m}��{r~���m}n}������e|����t~��|���n~ym}��t~��j|��s~������w~��q}��k}��o~q}����k}����~v~��n}q~��l|��_z����e{��|~��}���l|������l}������i|��t~��v~��i}����n~l}����k}~����c{����z~����~��i}��o}|~����yl}����i|����|~j}~���f|��v~��m}��n}���m}u~uq~v~�����c{����n~����x��TL %�} �"�I��X����m}��o}��u~l}��{q~������f{����`z��e{��_z����m}����f{}��g|������j|��s~xl|��g|�~p~��b{��m}��m}����f{����^z����}b{����~��b{��u~��k|��h|��d{��}���m}��zu~����{�yr~��������f{��h|��~��~�n}��l}������i|x~����z~��j}������p}����t~����p~��y~��n}����q~��w~��~�{��||��m}���������p}��{~��y~��v��o~��l}������s~����z����TL 2�} �#%I��X��o~��y~��q}��x~��~�����n}��n}��z��������~�����v~����z��{�|���}�}������������}|����������{��x~��~�~���{��~�����~}��|z}�|�����~����������~����~��~���}��{��}~|��|~�{��{��|~{�|��}�}��|~|��{�~��}���}}��|��|��~~�����~��}��~��~��~������|����������~��}��~TL ��} �#�I��X������~�����}��~��~������|���}�������}��~�����~��~���}��~������~��}��}��~���}��}��~��~���������~�����}��{��|��|��}��|��~��|��~��~�}��}�}��|��}��}��}�����}��}���~��~��}�}��}��|��|����|��}��}���}��}��}��}��|��~��~��{��{��|��|��{��}��|��|��|��}��|TL ��} �%I��X����x~��k}��{��y~��m}|�e{��^z�������Io>j;hHoLq[y������������o}��Ptazh|^z��j}����g|��s~��m}}�zk}k|q~d{��b{ye|��q~����j}��������i|z~k|g|��l}��q~����������~�������n}��i}s~h|������j|��c{��g{}�^z��]ym}��j}��������z��p~����m}������������l}��o~n~a{a{��[yu~TvRuMrEnPtJp^z�������������������������f|\yVwQu[yVw\y^zZy]zNtHoGoTL ��} �$eI��X��}��|��|��|��|��{��z��{��z��{��{��}��~��{��|��|��|��|��|��z��|��{��{��{��|��|��z��z��{��z��|~��z��|��z��|��{~��z~��z~��z~��{~��z~��z~��y~��y~��x~��w~��y~��v~��v~��u~��v~��v~��s~��r~��r~��p~��o~��n}��l}��j|��h|��e{��az��������;hYxLre|_z~�������������m}��o}����o~��v~������l|��h|{�q~���TL ��} �%�I��X>j?kAl?lLr_z��������������xWwFnDmBlDmGoPt�����������������LrDm8f7e3a1_5c5c?k����߮ޯ߰߷�����f|Kp=j<i<i<iDmOti|�������������Jp>k6d5c4b1`7e9f8eBm�����ޭݮްߵ�����TwAl:h:g;h?kGod{��������������u~OtFn9f9f6d7e7e4b>k8fEn�����߬ܮ����a{Jp>j:g9f@lEnQu�����������������[yLr<i8f8e8e:g9f;hAl5cUv����TL ��} �&EI��X��߫ܰ߹����WwFn<h<i;hFnPu[y�������������������[yEn>j;h:g9g<i;h;g;h;hOt����ޭݰ�����PuAl<i;h=jIoQu|����������������xRvCm<h:g;h;h;h>j:g=j;hVw���߭ݭݲ����XwGn@l9g<h?kQul}����������������o~LqPt?k9f=i>j<i<i<i<i9f@l�����ߪ۰߸����IoCm=j:g<iLq_{~�����������������WwRuMr>j<i>j=i=i:g=i;h8eLq�����ۮް߷�TL �}! �'�I��XHoLqn~������������������a{KqBm=i9g:g8e5c=j8eBl������߲�����c{TvFnAlDmEnLqTvv����������������q~VvGo>j;h;h6d9f:g:gFnc|���������������_{VwLqGnIoJpNsZxf|����������������]zQtGo@lAl?kCmLqPup~������������������������uyt}��������������{�vp~p~to~o~{z�|������~��}�{�z�z�{�z�}��������������������������������TL �}" �(%I��X����|�vo~n~k}k~i|j}j}k}l}n~p~u~z������������������������������������������������}�|�{�wwv~u~t~t~r~q~t~t~v~w{�z�|�}���������������������������������������|�z�z�{�z�{�xy�v~t~u~v~u~t~u~v~y�{�z�}}��������������������������������������}�||�|�{�|�{{�z�y�x�y�w�x�xxxx{�{{�{}�}�~�������������������������TL �} �&�I��X����FnEn;h:gGnKq[x����������������j|OtTv?k=i=i=j=j9f>j<i7eEnq~���߭ݯ����SvCm?k<i>jIoWw������������������Yx^zCm<i@l<i;h>j9f>j:g=i_z�����ݮޱ����d{Ho=i=j=jEnNsw~�����������������d|c{Fn>j>j:g:h<i6d>k9g<hf|�����ޮ����h|RuGn<h>jCmJoVw�����������������{r~Dn?k=j:g9f;h7d<i9f?lWx�����ޭݸ���s~b{Lq?k>jCmTL �}$ �)eI��X�����������~��������~�~�~�~�������������������������������������������}�z�v~s~t~wz�~���������vp~o~o~w|�����~�{�yy{�z��������������������������������~����������~�~�}�}�}�~���}������������������������}��������������w~|����������y~�xyx��|�����~�������z�|}�}����������~���}�{��~������TL �}# �(�I��X����|�}{|�{{�zz�y�yzy�z{�z�zz�z�z�{�{�|�|�|�}���������������������������������}|�|�{�z�z�{�{{�vw~vv~v~z�}�}�{{|�|��������������y�u~r~wy�~�������������������~�}�{�{�zx�xz�z�|�|�~�{�~���������������������������������������������~�~}�}��}�}�|�}�}}�}{��}�}�~�~~�����������������������TL +�}% �*I��X{~������������}t~t~t~zv~{y{|zv}��������������������������~|w~�|x~~�r~q~ur~xy�vu~{�z~�{~�zx�����������������������������������~���|�x�s~n}l}i}f|f|b|`{^z^z^z^z_{`{f|~������������������������������w~j}d|_z[yWxTvPuNtMrLqLqKqKqMsPtTv^z����������������������������f|]zVwOtNrMrNtSuUwVwZx]z^z_z]zXwRuOtPtTL K�}& |