Searched refs:Sr (Results 1 - 15 of 15) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
H A DIdenticalExprChecker.cpp55 ArrayRef<SourceRange> Sr);
63 ArrayRef<SourceRange> Sr) {
75 Message, ELoc, Sr);
80 SourceRange Sr[2]; local
93 Sr[0] = RHS->getSourceRange();
94 Sr[1] = B2->getRHS()->getSourceRange();
95 reportIdenticalExpr(B, CheckBitwise, Sr);
101 Sr[0] = RHS->getSourceRange();
102 Sr[1] = LHS->getSourceRange();
103 reportIdenticalExpr(B, CheckBitwise, Sr);
61 reportIdenticalExpr(const BinaryOperator *B, bool CheckBitwise, ArrayRef<SourceRange> Sr) argument
142 SourceRange Sr = Cond1->getSourceRange(); local
280 SourceRange Sr[2]; local
[all...]
/external/skia/src/core/
H A DSkXfermode.cpp277 float Sr = sr; local
280 SetSat(&Sr, &Sg, &Sb, Sat(dr, dg, db) * sa);
281 SetLum(&Sr, &Sg, &Sb, sa * da, Lum(dr, dg, db) * sa);
283 return color_alpha(s * inv_alpha(d) + d * inv_alpha(s) + set_argb(0, Sr, Sg, Sb),
319 float Sr = sr; local
322 SetLum(&Sr, &Sg, &Sb, sa * da, Lum(dr, dg, db) * sa);
324 Sk4f res = color_alpha(s * inv_alpha(d) + d * inv_alpha(s) + set_argb(0, Sr, Sg, Sb),
796 int Sr, Sg, Sb; local
799 Sr = sr * sa;
802 SetSat(&Sr,
864 int Sr, Sg, Sb; local
[all...]
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
H A DDGMRES.h465 DenseMatrix Sr(it, nbrEig);
466 Sr.setZero();
469 Sr.col(j) = schurofH.matrixU().col(perm(it-j-1));
474 X = m_V.leftCols(it) * Sr;
/external/sl4a/ScriptingLayerForAndroid/src/de/mud/terminal/
H A Dvt320.java665 int Sc, Sr, Sa, Stm, Sbm; field in class:vt320
2083 Sr = R;
2097 R = Sr;
2984 Sr = R;
2992 R = Sr;
/external/ImageMagick/www/api/
H A Dquantize.php86 <p>Sr, Sg, Sb: Sums of the red, green, and blue component values for all pixels not classified at a lower depth. The combination of these sums and n2 will ultimately characterize the mean color of a set of pixels represented by this node.</p>
99 <dd> When a node to be pruned has offspring, the pruning procedure invokes itself recursively in order to prune the tree from the leaves upward. n2, Sr, Sg, and Sb in a node being pruned are always added to the corresponding data in that node's parent. This retains the pruned node's color characteristics for later averaging. </dd>
110 <dd> First, the assignment phase makes one pass over the pruned color description tree to establish the image's color map. For each node with n2 &gt; 0, it divides Sr, Sg, and Sb by n2 . This produces the mean color of all pixels that classify no lower than this node. Each of these colors becomes an entry in the color map. </dd>
/external/webrtc/webrtc/modules/rtp_rtcp/source/
H A Drtcp_packet_unittest.cc45 TEST(RtcpPacketTest, Sr) {
/external/webrtc/data/voice_engine/stereo_rtp_files/
H A Dstereo_g729.rtp73 ���[�T�؞�*��*���V�����jW<4T�P�D�I��Xp��Hs�g�hB� �1I��x�[g��׆�V�z�K\�qT^<4h�Q�E�I��X��3����bI�� x?��V�J��!����BI��;K��Kg[<4|�R�F%I��XyPT��T�KAsP���a��3(d_[A�^AHЁ�Sr^�[<4��S�F�I��X��y���
H A Dtoggling_stereo_g729_pt18_pt125.rtp661 �N�Z�I��XM��@-gϮ��i�O�Z�I��Xe7rp��]_i�P�[5I��Xmbr��=ȝi(�Q�[�I��X1�r��ln��i2�R�[�I��X�0�+}>��Xi<�S�\%I��X���}{�I�iF�T�\uI��X�"�� �m-iP�U�\�I��X0�����w:�iZ�V�]I��X�2��BI�!�id�W�]eI��X�fq�S��v�in�X�]�I��X��r�ij��( ix�}Y�^I��Xz��`X���pz��`X���p( i��}Z�^UI��XrK�ō�^rK�ō�^( i��}[�^�I��X�񄓥NbN�񄓥NbN( i��}\�^�I��X8���P8[8���P8[( i��}]�_EI��X63�Q�x5z63�Q�x5z( i��}^�_�I��Xr'�w-�pb�Sr'�w-�pb�S( i��}_�_�I��X`���n���`���n���( i��}`�`5I��Xr'�7�,2�>r'�7�,2�>( iȀ}a�`�I��X�����0�z�����0�z( iҀ}b�`�I��Xu����`<afu����`<af( i܀}c�a%I��Xx����bfx����bf( i�}d�auI��X��=�uB����=�uB��( i��}e�a�I��X�p������p�����( i�}f�bI��X#��_��^��#��_��^��( j�}g�beI��Xy嫵��@�y嫵��@�( j�}h�b�I��X��= ����= ��( j�}i�cI��X�b��#�� ���b��#�� ��( j"�}j�cUI��X�����HA��������HA���( j,�}k�c�I��X�r�hz�J1���r�hz�J1��( j6�}l�c�I��Xu�Gh��u�Gh��( j@�}m�dEI��X@�y�X2nX@�y�X2nX( jJ�}n�d�I��X��d*��T�K��d*��T�K( jT�}o�d�I��X�H�&OZ��V�H�&OZ��V( j^�}p�e5I��X@���Ϳt@���Ϳt( jh�}q�e�I��X�:�bO�*m��:�bO�*m�( jr�}r�e�I��X����ɭ�����ɭ�( j|�}s�f%I��X-t��
1017 �������w�I��X�������Ѐ��x�I��X���������y�I��X�s\���ԓm-����zI��X�f�;�ͱvZ�����zUI��X@��w�S�� ���z�I��Xx��6� ������z�I��XrnZ�6 *c� ���{EI��X��m[a�m;�*���{�I��X0vX���Q"��4���{�I��Xy`�j۩����>���|5I��X �5�9"�H���|�I��X���(���z#��R���|�I��X��3Sr�J[�\���}%I��XA��"�sD�s�f���}uI��XaJ�65SR;~��p���}�I��X1�c 3��[�z���~I��X`Ә�-Yr4[ �����~eI��Xi2�a{��������~�I��X��:�cQ ������I��X.X���k„Z�����UI��Xy0ز;S��������I��X0�U�3�z��������I��X�xN�{W�������EI��X*F�����ހ���5I��X�#��u�i/-������I��X����Y�M�w�������I��X���q�<�т�����%I��X��ք��������uI��X==���ik${������I��X8��f[�o�>I�����I��X8�4�^1�m;�$����eI��X8r����pݾa�.�����I��X8w�z7�Q�<��8����I��X8jІ��q4�C�B����UI��X��BwXs�`�L�����I��Xj�G� ��V�����I��X8bϾ*�0 ��`����EI��XHj�dd��|;�j�����I��X����\��t�����I��Xh�Nۿ?<H�~����5I��X��}"��|�������I��XysPUH��':�������I��X@z�Љ��������%I��XPGد aӥF������uI��X�sH�rI \�������I��Xp?��^�UxR�������I��Xp�� bʉ����Ā���eI��Xp"�����>��΀����I��Xx`
1264 �!���I��X�șc,�����!����I��X�SrB������!���5I��X���u��b6Q��(�!���I��Xu��jy����2�!����I��X����%`P��<�!���%I��XaF�Xx�Z:�F�!���uI��X� R��������P�!����I��X��L�/6��Z�!���I��XcÎEֲ���d�!���eI��XB��:�q|���n�!����I��Xa���1�'��x�!���I��XacN�s����܂�!���UI��Xc�ΈC��fT�܌�!����I��Xa�ΜM�p
2567 �E�n��̀4��ХI��XP$n?A�����ր4����I��X`��7�P�>0���4���EI��X�#Q/�M�A6��4��ѕI��Xur� �F������4����I��XPW�ѹH������4���5I��X@��&Р3D��4��҅I��Xr��$H]�Lr��4����I��X�b�/�^O߰��4���%I��X��mBnS�z�&�4���uI��Xp'{S��]ܦ��0�4����I��X@�~���L���:�4���I��Xxr�2����|��D�4���eI��Xpz�����a���N�4��ԵI��X���Jr ��X�4���I��XPS��� ����b�4���UI��X@#�Ef���l�4��եI��X�(���� �l�v�4����I��X�` �o�1�r�؀�4���EI��Xhb��o�p+Z�؊�4��֕I��XH㍇ ��<yؔ�4����I��Xy`�@�1Q�;؞�4���5I��X(p���2Sr�( ب�}4��ׅI��Xy����WQ�FKy����WQ�FK( ز�}4����I��X3{N9T&x3{N9T&x( ؼ�}4���%I��Xb������_ƺb������_ƺ( �ƀ}4���uI��Xy3�2�K4/FJy3�2�K4/FJ( �Ѐ}4����I��XkO��#��*�kO��#��*�( �ڀ}4���I��X}�PWˮqs��}�PWˮqs��( ��}4���eI��Xic�����B�Wic�����B�W( ��}4��ٵI��X>�P@ح� �U>�P@ح� �U( ��}4���I��XysP�5�~GysP�5�~G( ��}4���UI��X�r����x�� �r����x�� ( � �}4��ڥI��X�s�/�|����s�/�|���( ��}4����I��X��]�� ��f��]�� ��f( � �}4���EI��X�7>B�D0�V�7>B�D0�V( �*�}4��ەI��X�^rN����^rN����4�}4����I��X6�6��>�H�R�}4����I��X�H�H( �\�}4���%I��X�ka����#-�ka����#-( �f�}4���uI��X�cK�@
3304 ���( PN�}>x���I��X3�VF���11Q3�VF���11Q( PX�}>y��I��X/GWt�2ؙ/GWt�2ؙ( Pb�}>z��UI��X3LYV��mB3LYV��mB( Pl�}>{���I��Xc��m<o���c��m<o���( Pv�}>|���I��X3�Z��I�C3�Z��I�C( P��}>}��EI��X���R)�r!�K���R)�r!�K( P��}>~���I��X�ٜ�^�y�ٜ�^�y( P��}>���I��X.��Xd�p�S.��Xd�p�S( P��}>���5I��X�Y�QR����Y�QR���( P��}>����I��X.g�������.g�������( P��}>����I��X*b��2Yؐ_*b��2Yؐ_( P��}>���%I��X.��F�9 �.��F�9 �( Pƀ}>���uI��Xh�p,J��h�p,J��( PЀ}>����I��X8h\�HB�uP8h\�HB�uPPڀ}>���I��XX�X�P�P�P�}>���I��X��Q( Q �}>����I��X��� ^��ޭ��� ^��ޭ( Q�}>����I��X�#Ή@����#Ή@���( Q �}>���EI��X�czq={a�v�czq={a�v( Q*�}>����I��X��d���rzR��d���rzR( Q4�}>����I��X@�ע&�Yr��@�ע&�Yr��( Q>�}>���5I��Xf�t J�Sr��f�t J�Sr��( QH�}>����I��X���b
/external/chromium-trace/catapult/tracing/third_party/d3/
H A Dd3.min.js2 },t.clipExtent=function(n){return arguments.length?(w=n,_=n?Pe(n[0][0],n[0][1],n[1][0],n[1][1]):bt,u()):w},t.scale=function(n){return arguments.length?(h=+n,r()):h},t.translate=function(n){return arguments.length?(g=+n[0],p=+n[1],r()):[g,p]},t.center=function(n){return arguments.length?(v=n[0]%360*Na,d=n[1]%360*Na,r()):[v*La,d*La]},t.rotate=function(n){return arguments.length?(m=n[0]%360*Na,y=n[1]%360*Na,x=n.length>2?n[2]%360*Na:0,r()):[m*La,y*La,x*La]},Xo.rebind(t,f,"precision"),function(){return i=n.apply(this,arguments),t.invert=i.invert&&e,r()}}function tr(n){return Ke(n,function(t,e){n.point(t*Na,e*Na)})}function er(n,t){return[n,t]}function rr(n,t){return[n>Sa?n-ka:-Sa>n?n+ka:n,t]}function ur(n,t,e){return n?t||e?Ue(or(n),ar(t,e)):or(n):t||e?ar(t,e):rr}function ir(n){return function(t,e){return t+=n,[t>Sa?t-ka:-Sa>t?t+ka:t,e]}}function or(n){var t=ir(n);return t.invert=ir(-n),t}function ar(n,t){function e(n,t){var e=Math.cos(t),a=Math.cos(n)*e,c=Math.sin(n)*e,s=Math.sin(t),l=s*r+a*u;return[Math.atan2(c*i-l*o,a*r-s*u),X(l*i+c*o)]}var r=Math.cos(n),u=Math.sin(n),i=Math.cos(t),o=Math.sin(t);return e.invert=function(n,t){var e=Math.cos(t),a=Math.cos(n)*e,c=Math.sin(n)*e,s=Math.sin(t),l=s*i-c*o;return[Math.atan2(c*i+s*o,a*r+l*u),X(l*r-a*u)]},e}function cr(n,t){var e=Math.cos(n),r=Math.sin(n);return function(u,i,o,a){var c=o*t;null!=u?(u=sr(e,u),i=sr(e,i),(o>0?i>u:u>i)&&(u+=o*ka)):(u=n+o*ka,i=n-.5*c);for(var s,l=u;o>0?l>i:i>l;l-=c)a.point((s=ve([e,-r*Math.cos(l),-r*Math.sin(l)]))[0],s[1])}}function sr(n,t){var e=se(t);e[0]-=n,pe(e);var r=V(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Aa)%(2*Math.PI)}function lr(n,t,e){var r=Xo.range(n,t-Aa,e).concat(t);return function(n){return r.map(function(t){return[n,t]})}}function fr(n,t,e){var r=Xo.range(n,t-Aa,e).concat(t);return function(n){return r.map(function(t){return[t,n]})}}function hr(n){return n.source}function gr(n){return n.target}function pr(n,t,e,r){var u=Math.cos(t),i=Math.sin(t),o=Math.cos(r),a=Math.sin(r),c=u*Math.cos(n),s=u*Math.sin(n),l=o*Math.cos(e),f=o*Math.sin(e),h=2*Math.asin(Math.sqrt(J(r-t)+u*o*J(e-n))),g=1/Math.sin(h),p=h?function(n){var t=Math.sin(n*=h)*g,e=Math.sin(h-n)*g,r=e*c+t*l,u=e*s+t*f,o=e*i+t*a;return[Math.atan2(u,r)*La,Math.atan2(o,Math.sqrt(r*r+u*u))*La]}:function(){return[n*La,t*La]};return p.distance=h,p}function vr(){function n(n,u){var i=Math.sin(u*=Na),o=Math.cos(u),a=oa((n*=Na)-t),c=Math.cos(a);Uc+=Math.atan2(Math.sqrt((a=o*Math.sin(a))*a+(a=r*i-e*o*c)*a),e*i+r*o*c),t=n,e=i,r=o}var t,e,r;jc.point=function(u,i){t=u*Na,e=Math.sin(i*=Na),r=Math.cos(i),jc.point=n},jc.lineEnd=function(){jc.point=jc.lineEnd=g}}function dr(n,t){function e(t,e){var r=Math.cos(t),u=Math.cos(e),i=n(r*u);return[i*u*Math.sin(t),i*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),u=t(r),i=Math.sin(u),o=Math.cos(u);return[Math.atan2(n*i,r*o),Math.asin(r&&e*i/r)]},e}function mr(n,t){function e(n,t){var e=oa(oa(t)-Ea)<Aa?0:o/Math.pow(u(t),i);return[e*Math.sin(i*n),o-e*Math.cos(i*n)]}var r=Math.cos(n),u=function(n){return Math.tan(Sa/4+n/2)},i=n===t?Math.sin(n):Math.log(r/Math.cos(t))/Math.log(u(t)/u(n)),o=r*Math.pow(u(n),i)/i;return i?(e.invert=function(n,t){var e=o-t,r=I(i)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/i,2*Math.atan(Math.pow(o/r,1/i))-Ea]},e):xr}function yr(n,t){function e(n,t){var e=i-t;return[e*Math.sin(u*n),i-e*Math.cos(u*n)]}var r=Math.cos(n),u=n===t?Math.sin(n):(r-Math.cos(t))/(t-n),i=r/u+n;return oa(u)<Aa?er:(e.invert=function(n,t){var e=i-t;return[Math.atan2(n,e)/u,i-I(u)*Math.sqrt(n*n+e*e)]},e)}function xr(n,t){return[n,Math.log(Math.tan(Sa/4+t/2))]}function Mr(n){var t,e=Qe(n),r=e.scale,u=e.translate,i=e.clipExtent;return e.scale=function(){var n=r.apply(e,arguments);return n===e?t?e.clipExtent(null):e:n},e.translate=function(){var n=u.apply(e,arguments);return n===e?t?e.clipExtent(null):e:n},e.clipExtent=function(n){var o=i.apply(e,arguments);if(o===e){if(t=null==n){var a=Sa*r(),c=u();i([[c[0]-a,c[1]-a],[c[0]+a,c[1]+a]])}}else t&&(o=null);return o},e.clipExtent(null)}function _r(n,t){return[Math.log(Math.tan(Sa/4+t/2)),-n]}function br(n){return n[0]}function wr(n){return n[1]}function Sr(n){for(var t=n.length,e=[0,1],r=2,u=2;t>u;u++){for(;r>1&&Z(n[e[r-2]],n[e[r-1]],n[u])<=0;)--r;e[r++]=u}return e.slice(0,r)}function kr(n,t){return n[0]-t[0]||n[1]-t[1]}function Er(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function Ar(n,t,e,r){var u=n[0],i=e[0],o=t[0]-u,a=r[0]-i,c=n[1],s=e[1],l=t[1]-c,f=r[1]-s,h=(a*(c-s)-f*(u-i))/(f*o-a*l);return[u+h*o,c+h*l]}function Cr(n){var t=n[0],e=n[n.length-1];return!(t[0]-e[0]||t[1]-e[1])}function Nr(){Jr(this),this.edge=this.site=this.circle=null}function Lr(n){var t=Jc.pop()||new Nr;return t.site=n,t}function Tr(n){Or(n),$c.remove(n),Jc.push(n),Jr(n)}function qr(n){var t=n.circle,e=t.x,r=t.cy,u={x:e,y:r},i=n.P,o=n.N,a=[n];Tr(n);for(var c=i;c.circle&&oa(e-c.circle.x)<Aa&&oa(r-c.circle.cy)<Aa;)i=c.P,a.unshift(c),Tr(c),c=i;a.unshift(c),Or(c);for(var s=o;s.circle&&oa(e-s.circle.x)<Aa&&oa(r-s.circle.cy)<Aa;)o=s.N,a.push(s),Tr(s),s=o;a.push(s),Or(s);var l,f=a.length;for(l=1;f>l;++l)s=a[l],c=a[l-1],$r(s.edge,c.site,s.site,u);c=a[0],s=a[f-1],s.edge=Vr(c.site,s.site,null,u),Fr(c),Fr(s)}function zr(n){for(var t,e,r,u,i=n.x,o=n.y,a=$c._;a;)if(r=Rr(a,o)-i,r>Aa)a=a.L;else{if(u=i-Dr(a,o),!(u>Aa)){r>-Aa?(t=a.P,e=a):u>-Aa?(t=a,e=a.N):t=e=a;break}if(!a.R){t=a;break}a=a.R}var c=Lr(n);if($c.insert(t,c),t||e){if(t===e)return Or(t),e=Lr(t.site),$c.insert(c,e),c.edge=e.edge=Vr(t.site,c.site),Fr(t),Fr(e),void 0;if(!e)return c.edge=Vr(t.site,c.site),void 0;Or(t),Or(e);var s=t.site,l=s.x,f=s.y,h=n.x-l,g=n.y-f,p=e.site,v=p.x-l,d=p.y-f,m=2*(h*d-g*v),y=h*h+g*g,x=v*v+d*d,M={x:(d*y-g*x)/m+l,y:(h*x-v*y)/m+f};$r(e.edge,s,p,M),c.edge=Vr(s,n,null,M),e.edge=Vr(n,p,null,M),Fr(t),Fr(e)}}function Rr(n,t){var e=n.site,r=e.x,u=e.y,i=u-t;if(!i)return r;var o=n.P;if(!o)return-1/0;e=o.site;var a=e.x,c=e.y,s=c-t;if(!s)return a;var l=a-r,f=1/i-1/s,h=l/s;return f?(-h+Math.sqrt(h*h-2*f*(l*l/(-2*s)-c+s/2+u-i/2)))/f+r:(r+a)/2}function Dr(n,t){var e=n.N;if(e)return Rr(e,t);var r=n.site;return r.y===t?r.x:1/0}function Pr(n){this.site=n,this.edges=[]}function Ur(n){for(var t,e,r,u,i,o,a,c,s,l,f=n[0][0],h=n[1][0],g=n[0][1],p=n[1][1],v=Xc,d=v.length;d--;)if(i=v[d],i&&i.prepare())for(a=i.edges,c=a.length,o=0;c>o;)l=a[o].end(),r=l.x,u=l.y,s=a[++o%c].start(),t=s.x,e=s.y,(oa(r-t)>Aa||oa(u-e)>Aa)&&(a.splice(o,0,new Br(Xr(i.site,l,oa(r-f)<Aa&&p-u>Aa?{x:f,y:oa(t-f)<Aa?e:p}:oa(u-p)<Aa&&h-r>Aa?{x:oa(e-p)<Aa?t:h,y:p}:oa(r-h)<Aa&&u-g>Aa?{x:h,y:oa(t-h)<Aa?e:g}:oa(u-g)<Aa&&r-f>Aa?{x:oa(e-g)<Aa?t:f,y:g}:null),i.site,null)),++c)}function jr(n,t){return t.angle-n.angle}function Hr(){Jr(this),this.x=this.y=this.arc=this.site=this.cy=null}function Fr(n){var t=n.P,e=n.N;if(t&&e){var r=t.site,u=n.site,i=e.site;if(r!==i){var o=u.x,a=u.y,c=r.x-o,s=r.y-a,l=i.x-o,f=i.y-a,h=2*(c*f-s*l);if(!(h>=-Ca)){var g=c*c+s*s,p=l*l+f*f,v=(f*g-s*p)/h,d=(c*p-l*g)/h,f=d+a,m=Gc.pop()||new Hr;m.arc=n,m.site=u,m.x=v+o,m.y=f+Math.sqrt(v*v+d*d),m.cy=f,n.circle=m;for(var y=null,x=Wc._;x;)if(m.y<x.y||m.y===x.y&&m.x<=x.x){if(!x.L){y=x.P;break}x=x.L}else{if(!x.R){y=x;break}x=x.R}Wc.insert(y,m),y||(Bc=m)}}}}function Or(n){var t=n.circle;t&&(t.P||(Bc=t.N),Wc.remove(t),Gc.push(t),Jr(t),n.circle=null)}function Yr(n){for(var t,e=Vc,r=De(n[0][0],n[0][1],n[1][0],n[1][1]),u=e.length;u--;)t=e[u],(!Ir(t,n)||!r(t)||oa(t.a.x-t.b.x)<Aa&&oa(t.a.y-t.b.y)<Aa)&&(t.a=t.b=null,e.splice(u,1))}function Ir(n,t){var e=n.b;if(e)return!0;var r,u,i=n.a,o=t[0][0],a=t[1][0],c=t[0][1],s=t[1][1],l=n.l,f=n.r,h=l.x,g=l.y,p=f.x,v=f.y,d=(h+p)/2,m=(g+v)/2;if(v===g){if(o>d||d>=a)return;if(h>p){if(i){if(i.y>=s)return}else i={x:d,y:c};e={x:d,y:s}}else{if(i){if(i.y<c)return}else i={x:d,y:s};e={x:d,y:c}}}else if(r=(h-p)/(v-g),u=m-r*d,-1>r||r>1)if(h>p){if(i){if(i.y>=s)return}else i={x:(c-u)/r,y:c};e={x:(s-u)/r,y:s}}else{if(i){if(i.y<c)return}else i={x:(s-u)/r,y:s};e={x:(c-u)/r,y:c}}else if(v>g){if(i){if(i.x>=a)return}else i={x:o,y:r*o+u};e={x:a,y:r*a+u}}else{if(i){if(i.x<o)return}else i={x:a,y:r*a+u};e={x:o,y:r*o+u}}return n.a=i,n.b=e,!0}function Zr(n,t){this.l=n,this.r=t,this.a=this.b=null}function Vr(n,t,e,r){var u=new Zr(n,t);return Vc.push(u),e&&$r(u,n,t,e),r&&$r(u,t,n,r),Xc[n.i].edges.push(new Br(u,n,t)),Xc[t.i].edges.push(new Br(u,t,n)),u}function Xr(n,t,e){var r=new Zr(n,null);return r.a=t,r.b=e,Vc.push(r),r}function $r(n,t,e,r){n.a||n.b?n.l===e?n.b=r:n.a=r:(n.a=r,n.l=t,n.r=e)}function Br(n,t,e){var r=n.a,u=n.b;this.edge=n,this.site=t,this.angle=e?Math.atan2(e.y-t.y,e.x-t.x):n.l===t?Math.atan2(u.x-r.x,r.y-u.y):Math.atan2(r.x-u.x,u.y-r.y)}function Wr(){this._=null}function Jr(n){n.U=n.C=n.L=n.R=n.P=n.N=null}function Gr(n,t){var e=t,r=t.R,u=e.U;u?u.L===e?u.L=r:u.R=r:n._=r,r.U=u,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function Kr(n,t){var e=t,r=t.L,u=e.U;u?u.L===e?u.L=r:u.R=r:n._=r,r.U=u,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function Qr(n){for(;n.L;)n=n.L;return n}function nu(n,t){var e,r,u,i=n.sort(tu).pop();for(Vc=[],Xc=new Array(n.length),$c=new Wr,Wc=new Wr;;)if(u=Bc,i&&(!u||i.y<u.y||i.y===u.y&&i.x<u.x))(i.x!==e||i.y!==r)&&(Xc[i.i]=new Pr(i),zr(i),e=i.x,r=i.y),i=n.pop();else{if(!u)break;qr(u.arc)}t&&(Yr(t),Ur(t));var o={cells:Xc,edges:Vc};return $c=Wc=Vc=Xc=null,o}function tu(n,t){return t.y-n.y||t.x-n.x}function eu(n,t,e){return(n.x-e.x)*(t.y-n.y)-(n.x-t.x)*(e.y-n.y)}function ru(n){return n.x}function uu(n){return n.y}function iu(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function ou(n,t,e,r,u,i){if(!n(t,e,r,u,i)){var o=.5*(e+u),a=.5*(r+i),c=t.nodes;c[0]&&ou(n,c[0],e,r,o,a),c[1]&&ou(n,c[1],o,r,u,a),c[2]&&ou(n,c[2],e,a,o,i),c[3]&&ou(n,c[3],o,a,u,i)}}function au(n,t){n=Xo.rgb(n),t=Xo.rgb(t);var e=n.r,r=n.g,u=n.b,i=t.r-e,o=t.g-r,a=t.b-u;return function(n){return"#"+vt(Math.round(e+i*n))+vt(Math.round(r+o*n))+vt(Math.round(u+a*n))}}function cu(n,t){var e,r={},u={};for(e in n)e in t?r[e]=fu(n[e],t[e]):u[e]=n[e];for(e in t)e in n||(u[e]=t[e]);return function(n){for(e in r)u[e]=r[e](n);return u}}function su(n,t){return t-=n=+n,function(e){return n+t*e}}function lu(n,t){var e,r,u,i,o,a=0,c=0,s=[],l=[];for(n+="",t+="",Qc.lastIndex=0,r=0;e=Qc.exec(t);++r)e.index&&s.push(t.substring(a,c=e.index)),l.push({i:s.length,x:e[0]}),s.push(null),a=Qc.lastIndex;for(a<t.length&&s.push(t.substring(a)),r=0,i=l.length;(e=Qc.exec(n))&&i>r;++r)if(o=l[r],o.x==e[0]){if(o.i)if(null==s[o.i+1])for(s[o.i-1]+=o.x,s.splice(o.i,1),u=r+1;i>u;++u)l[u].i--;else for(s[o.i-1]+=o.x+s[o.i+1],s.splice(o.i,2),u=r+1;i>u;++u)l[u].i-=2;else if(null==s[o.i+1])s[o.i]=o.x;else for(s[o.i]=o.x+s[o.i+1],s.splice(o.i+1,1),u=r+1;i>u;++u)l[u].i--;l.splice(r,1),i--,r--}else o.x=su(parseFloat(e[0]),parseFloat(o.x));for(;i>r;)o=l.pop(),null==s[o.i+1]?s[o.i]=o.x:(s[o.i]=o.x+s[o.i+1],s.splice(o.i+1,1)),i--;return 1===s.length?null==s[0]?(o=l[0].x,function(n){return o(n)+""}):function(){return t}:function(n){for(r=0;i>r;++r)s[(o=l[r]).i]=o.x(n);return s.join("")}}function fu(n,t){for(var e,r=Xo.interpolators.length;--r>=0&&!(e=Xo.interpolators[r](n,t)););return e}function hu(n,t){var e,r=[],u=[],i=n.length,o=t.length,a=Math.min(n.length,t.length);for(e=0;a>e;++e)r.push(fu(n[e],t[e]));for(;i>e;++e)u[e]=n[e];for(;o>e;++e)u[e]=t[e];return function(n){for(e=0;a>e;++e)u[e]=r[e](n);return u}}function gu(n){return function(t){return 0>=t?0:t>=1?1:n(t)}}function pu(n){return function(t){return 1-n(1-t)}}function vu(n){return function(t){return.5*(.5>t?n(2*t):2-n(2-2*t))}}function du(n){return n*n}function mu(n){return n*n*n}function yu(n){if(0>=n)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(.5>n?e:3*(n-t)+e-.75)}function xu(n){return function(t){return Math.pow(t,n)}}function Mu(n){return 1-Math.cos(n*Ea)}function _u(n){return Math.pow(2,10*(n-1))}function bu(n){return 1-Math.sqrt(1-n*n)}function wu(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/ka*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,-10*r)*Math.sin((r-e)*ka/t)}}function Su(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}}function ku(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function Eu(n,t){n=Xo.hcl(n),t=Xo.hcl(t);var e=n.h,r=n.c,u=n.l,i=t.h-e,o=t.c-r,a=t.l-u;return isNaN(o)&&(o=0,r=isNaN(r)?t.c:r),isNaN(i)?(i=0,e=isNaN(e)?t.h:e):i>180?i-=360:-180>i&&(i+=360),function(n){return rt(e+i*n,r+o*n,u+a*n)+""}}function Au(n,t){n=Xo.hsl(n),t=Xo.hsl(t);var e=n.h,r=n.s,u=n.l,i=t.h-e,o=t.s-r,a=t.l-u;return isNaN(o)&&(o=0,r=isNaN(r)?t.s:r),isNaN(i)?(i=0,e=isNaN(e)?t.h:e):i>180?i-=360:-180>i&&(i+=360),function(n){return nt(e+i*n,r+o*n,u+a*n)+""}}function Cu(n,t){n=Xo.lab(n),t=Xo.lab(t);var e=n.l,r=n.a,u=n.b,i=t.l-e,o=t.a-r,a=t.b-u;return function(n){return ot(e+i*n,r+o*n,u+a*n)+""}}function Nu(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function Lu(n){var t=[n.a,n.b],e=[n.c,n.d],r=qu(t),u=Tu(t,e),i=qu(zu(e,t,-u))||0;t[0]*e[1]<e[0]*t[1]&&(t[0]*=-1,t[1]*=-1,r*=-1,u*=-1),this.rotate=(r?Math.atan2(t[1],t[0]):Math.atan2(-e[0],e[1]))*La,this.translate=[n.e,n.f],this.scale=[r,i],this.skew=i?Math.atan2(u,i)*La:0}function Tu(n,t){return n[0]*t[0]+n[1]*t[1]}function qu(n){var t=Math.sqrt(Tu(n,n));return t&&(n[0]/=t,n[1]/=t),t}function zu(n,t,e){return n[0]+=e*t[0],n[1]+=e*t[1],n}function Ru(n,t){var e,r=[],u=[],i=Xo.transform(n),o=Xo.transform(t),a=i.translate,c=o.translate,s=i.rotate,l=o.rotate,f=i.skew,h=o.skew,g=i.scale,p=o.scale;return a[0]!=c[0]||a[1]!=c[1]?(r.push("translate(",null,",",null,")"),u.push({i:1,x:su(a[0],c[0])},{i:3,x:su(a[1],c[1])})):c[0]||c[1]?r.push("translate("+c+")"):r.push(""),s!=l?(s-l>180?l+=360:l-s>180&&(s+=360),u.push({i:r.push(r.pop()+"rotate(",null,")")-2,x:su(s,l)})):l&&r.push(r.pop()+"rotate("+l+")"),f!=h?u.push({i:r.push(r.pop()+"skewX(",null,")")-2,x:su(f,h)}):h&&r.push(r.pop()+"skewX("+h+")"),g[0]!=p[0]||g[1]!=p[1]?(e=r.push(r.pop()+"scale(",null,",",null,")"),u.push({i:e-4,x:su(g[0],p[0])},{i:e-2,x:su(g[1],p[1])})):(1!=p[0]||1!=p[1])&&r.push(r.pop()+"scale("+p+")"),e=u.length,function(n){for(var t,i=-1;++i<e;)r[(t=u[i]).i]=t.x(n);return r.join("")}}function Du(n,t){return t=t-(n=+n)?1/(t-n):0,function(e){return(e-n)*t}}function Pu(n,t){return t=t-(n=+n)?1/(t-n):0,function(e){return Math.max(0,Math.min(1,(e-n)*t))}}function Uu(n){for(var t=n.source,e=n.target,r=Hu(t,e),u=[t];t!==r;)t=t.parent,u.push(t);for(var i=u.length;e!==r;)u.splice(i,0,e),e=e.parent;return u}function ju(n){for(var t=[],e=n.parent;null!=e;)t.push(n),n=e,e=e.parent;return t.push(n),t}function Hu(n,t){if(n===t)return n;for(var e=ju(n),r=ju(t),u=e.pop(),i=r.pop(),o=null;u===i;)o=u,u=e.pop(),i=r.pop();return o}function Fu(n){n.fixed|=2}function Ou(n){n.fixed&=-7}function Yu(n){n.fixed|=4,n.px=n.x,n.py=n.y}function Iu(n){n.fixed&=-5}function Zu(n,t,e){var r=0,u=0;if(n.charge=0,!n.leaf)for(var i,o=n.nodes,a=o.length,c=-1;++c<a;)i=o[c],null!=i&&(Zu(i,t,e),n.charge+=i.charge,r+=i.charge*i.cx,u+=i.charge*i.cy);if(n.point){n.leaf||(n.point.x+=Math.random()-.5,n.point.y+=Math.random()-.5);var s=t*e[n.point.index];n.charge+=n.pointCharge=s,r+=s*n.point.x,u+=s*n.point.y}n.cx=r/n.charge,n.cy=u/n.charge}function Vu(n,t){return Xo.rebind(n,t,"sort","children","value"),n.nodes=n,n.links=Wu,n}function Xu(n){return n.children}function $u(n){return n.value}function Bu(n,t){return t.value-n.value}function Wu(n){return Xo.merge(n.map(function(n){return(n.children||[]).map(function(t){return{source:n,target:t}})}))}function Ju(n){return n.x}function Gu(n){return n.y}function Ku(n,t,e){n.y0=t,n.y=e}function Qu(n){return Xo.range(n.length)}function ni(n){for(var t=-1,e=n[0].length,r=[];++t<e;)r[t]=0;return r}function ti(n){for(var t,e=1,r=0,u=n[0][1],i=n.length;i>e;++e)(t=n[e][1])>u&&(r=e,u=t);return r}function ei(n){return n.reduce(ri,0)}function ri(n,t){return n+t[1]}function ui(n,t){return ii(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function ii(n,t){for(var e=-1,r=+n[0],u=(n[1]-r)/t,i=[];++e<=t;)i[e]=u*e+r;return i}function oi(n){return[Xo.min(n),Xo.max(n)]}function ai(n,t){return n.parent==t.parent?1:2}function ci(n){var t=n.children;return t&&t.length?t[0]:n._tree.thread}function si(n){var t,e=n.children;return e&&(t=e.length)?e[t-1]:n._tree.thread}function li(n,t){var e=n.children;if(e&&(u=e.length))for(var r,u,i=-1;++i<u;)t(r=li(e[i],t),n)>0&&(n=r);return n}function fi(n,t){return n.x-t.x}function hi(n,t){return t.x-n.x}function gi(n,t){return n.depth-t.depth}function pi(n,t){function e(n,r){var u=n.children;if(u&&(o=u.length))for(var i,o,a=null,c=-1;++c<o;)i=u[c],e(i,a),a=i;t(n,r)}e(n,null)}function vi(n){for(var t,e=0,r=0,u=n.children,i=u.length;--i>=0;)t=u[i]._tree,t.prelim+=e,t.mod+=e,e+=t.shift+(r+=t.change)}function di(n,t,e){n=n._tree,t=t._tree;var r=e/(t.number-n.number);n.change+=r,t.change-=r,t.shift+=e,t.prelim+=e,t.mod+=e}function mi(n,t,e){return n._tree.ancestor.parent==t.parent?n._tree.ancestor:e}function yi(n,t){return n.value-t.value}function xi(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function Mi(n,t){n._pack_next=t,t._pack_prev=n}function _i(n,t){var e=t.x-n.x,r=t.y-n.y,u=n.r+t.r;return.999*u*u>e*e+r*r}function bi(n){function t(n){l=Math.min(n.x-n.r,l),f=Math.max(n.x+n.r,f),h=Math.min(n.y-n.r,h),g=Math.max(n.y+n.r,g)}if((e=n.children)&&(s=e.length)){var e,r,u,i,o,a,c,s,l=1/0,f=-1/0,h=1/0,g=-1/0;if(e.forEach(wi),r=e[0],r.x=-r.r,r.y=0,t(r),s>1&&(u=e[1],u.x=u.r,u.y=0,t(u),s>2))for(i=e[2],Ei(r,u,i),t(i),xi(r,i),r._pack_prev=i,xi(i,u),u=r._pack_next,o=3;s>o;o++){Ei(r,u,i=e[o]);var p=0,v=1,d=1;for(a=u._pack_next;a!==u;a=a._pack_next,v++)if(_i(a,i)){p=1;break}if(1==p)for(c=r._pack_prev;c!==a._pack_prev&&!_i(c,i);c=c._pack_prev,d++);p?(d>v||v==d&&u.r<r.r?Mi(r,u=a):Mi(r=c,u),o--):(xi(r,i),u=i,t(i))}var m=(l+f)/2,y=(h+g)/2,x=0;for(o=0;s>o;o++)i=e[o],i.x-=m,i.y-=y,x=Math.max(x,i.r+Math.sqrt(i.x*i.x+i.y*i.y));n.r=x,e.forEach(Si)}}function wi(n){n._pack_next=n._pack_prev=n}function Si(n){delete n._pack_next,delete n._pack_prev}function ki(n,t,e,r){var u=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,u)for(var i=-1,o=u.length;++i<o;)ki(u[i],t,e,r)}function Ei(n,t,e){var r=n.r+e.r,u=t.x-n.x,i=t.y-n.y;if(r&&(u||i)){var o=t.r+e.r,a=u*u+i*i;o*=o,r*=r;var c=.5+(r-o)/(2*a),s=Math.sqrt(Math.max(0,2*o*(r+a)-(r-=a)*r-o*o))/(2*a);e.x=n.x+c*u+s*i,e.y=n.y+c*i-s*u}else e.x=n.x+r,e.y=n.y}function Ai(n){return 1+Xo.max(n,function(n){return n.y})}function Ci(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}function Ni(n){var t=n.children;return t&&t.length?Ni(t[0]):n}function Li(n){var t,e=n.children;return e&&(t=e.length)?Li(e[t-1]):n}function Ti(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function qi(n,t){var e=n.x+t[3],r=n.y+t[0],u=n.dx-t[1]-t[3],i=n.dy-t[0]-t[2];return 0>u&&(e+=u/2,u=0),0>i&&(r+=i/2,i=0),{x:e,y:r,dx:u,dy:i}}function zi(n){var t=n[0],e=n[n.length-1];return e>t?[t,e]:[e,t]}function Ri(n){return n.rangeExtent?n.rangeExtent():zi(n.range())}function Di(n,t,e,r){var u=e(n[0],n[1]),i=r(t[0],t[1]);return function(n){return i(u(n))}}function Pi(n,t){var e,r=0,u=n.length-1,i=n[r],o=n[u];return i>o&&(e=r,r=u,u=e,e=i,i=o,o=e),n[r]=t.floor(i),n[u]=t.ceil(o),n}function Ui(n){return n?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:ls}function ji(n,t,e,r){var u=[],i=[],o=0,a=Math.min(n.length,t.length)-1;for(n[a]<n[0]&&(n=n.slice().reverse(),t=t.slice().reverse());++o<=a;)u.push(e(n[o-1],n[o])),i.push(r(t[o-1],t[o]));return function(t){var e=Xo.bisect(n,t,1,a)-1;return i[e](u[e](t))}}function Hi(n,t,e,r){function u(){var u=Math.min(n.length,t.length)>2?ji:Di,c=r?Pu:Du;return o=u(n,t,c,e),a=u(t,n,c,fu),i}function i(n){return o(n)}var o,a;return i.invert=function(n){return a(n)},i.domain=function(t){return arguments.length?(n=t.map(Number),u()):n},i.range=function(n){return arguments.length?(t=n,u()):t},i.rangeRound=function(n){return i.range(n).interpolate(Nu)},i.clamp=function(n){return arguments.length?(r=n,u()):r},i.interpolate=function(n){return arguments.length?(e=n,u()):e},i.ticks=function(t){return Ii(n,t)},i.tickFormat=function(t,e){return Zi(n,t,e)},i.nice=function(t){return Oi(n,t),u()},i.copy=function(){return Hi(n,t,e,r)},u()}function Fi(n,t){return Xo.rebind(n,t,"range","rangeRound","interpolate","clamp")}function Oi(n,t){return Pi(n,Ui(Yi(n,t)[2]))}function Yi(n,t){null==t&&(t=10);var e=zi(n),r=e[1]-e[0],u=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),i=t/r*u;return.15>=i?u*=10:.35>=i?u*=5:.75>=i&&(u*=2),e[0]=Math.ceil(e[0]/u)*u,e[1]=Math.floor(e[1]/u)*u+.5*u,e[2]=u,e}function Ii(n,t){return Xo.range.apply(Xo,Yi(n,t))}function Zi(n,t,e){var r=Yi(n,t);return Xo.format(e?e.replace(Qa,function(n,t,e,u,i,o,a,c,s,l){return[t,e,u,i,o,a,c,s||"."+Xi(l,r),l].join("")}):",."+Vi(r[2])+"f")}function Vi(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}function Xi(n,t){var e=Vi(t[2]);return n in fs?Math.abs(e-Vi(Math.max(Math.abs(t[0]),Math.abs(t[1]))))+ +("e"!==n):e-2*("%"===n)}function $i(n,t,e,r){function u(n){return(e?Math.log(0>n?0:n):-Math.log(n>0?0:-n))/Math.log(t)}function i(n){return e?Math.pow(t,n):-Math.pow(t,-n)}function o(t){return n(u(t))}return o.invert=function(t){return i(n.invert(t))},o.domain=function(t){return arguments.length?(e=t[0]>=0,n.domain((r=t.map(Number)).map(u)),o):r},o.base=function(e){return arguments.length?(t=+e,n.domain(r.map(u)),o):t},o.nice=function(){var t=Pi(r.map(u),e?Math:gs);return n.domain(t),r=t.map(i),o},o.ticks=function(){var n=zi(r),o=[],a=n[0],c=n[1],s=Math.floor(u(a)),l=Math.ceil(u(c)),f=t%1?2:t;if(isFinite(l-s)){if(e){for(;l>s;s++)for(var h=1;f>h;h++)o.push(i(s)*h);o.push(i(s))}else for(o.push(i(s));s++<l;)for(var h=f-1;h>0;h--)o.push(i(s)*h);for(s=0;o[s]<a;s++);for(l=o.length;o[l-1]>c;l--);o=o.slice(s,l)}return o},o.tickFormat=function(n,t){if(!arguments.length)return hs;arguments.length<2?t=hs:"function"!=typeof t&&(t=Xo.format(t));var r,a=Math.max(.1,n/o.ticks().length),c=e?(r=1e-12,Math.ceil):(r=-1e-12,Math.floor);return function(n){return n/i(c(u(n)+r))<=a?t(n):""}},o.copy=function(){return $i(n.copy(),t,e,r)},Fi(o,n)}function Bi(n,t,e){function r(t){return n(u(t))}var u=Wi(t),i=Wi(1/t);return r.invert=function(t){return i(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain((e=t.map(Number)).map(u)),r):e},r.ticks=function(n){return Ii(e,n)},r.tickFormat=function(n,t){return Zi(e,n,t)},r.nice=function(n){return r.domain(Oi(e,n))},r.exponent=function(o){return arguments.length?(u=Wi(t=o),i=Wi(1/t),n.domain(e.map(u)),r):t},r.copy=function(){return Bi(n.copy(),t,e)},Fi(r,n)}function Wi(n){return function(t){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}}function Ji(n,t){function e(e){return o[((i.get(e)||"range"===t.t&&i.set(e,n.push(e)))-1)%o.length]}function r(t,e){return Xo.range(n.length).map(function(n){return t+e*n})}var i,o,a;return e.domain=function(r){if(!arguments.length)return n;n=[],i=new u;for(var o,a=-1,c=r.length;++a<c;)i.has(o=r[a])||i.set(o,n.push(o));return e[t.t].apply(e,t.a)},e.range=function(n){return arguments.length?(o=n,a=0,t={t:"range",a:arguments},e):o},e.rangePoints=function(u,i){arguments.length<2&&(i=0);var c=u[0],s=u[1],l=(s-c)/(Math.max(1,n.length-1)+i);return o=r(n.length<2?(c+s)/2:c+l*i/2,l),a=0,t={t:"rangePoints",a:arguments},e},e.rangeBands=function(u,i,c){arguments.length<2&&(i=0),arguments.length<3&&(c=i);var s=u[1]<u[0],l=u[s-0],f=u[1-s],h=(f-l)/(n.length-i+2*c);return o=r(l+h*c,h),s&&o.reverse(),a=h*(1-i),t={t:"rangeBands",a:arguments},e},e.rangeRoundBands=function(u,i,c){arguments.length<2&&(i=0),arguments.length<3&&(c=i);var s=u[1]<u[0],l=u[s-0],f=u[1-s],h=Math.floor((f-l)/(n.length-i+2*c)),g=f-l-(n.length-i)*h;return o=r(l+Math.round(g/2),h),s&&o.reverse(),a=Math.round(h*(1-i)),t={t:"rangeRoundBands",a:arguments},e},e.rangeBand=function(){return a},e.rangeExtent=function(){return zi(t.a[0])},e.copy=function(){return Ji(n,t)},e.domain(n)}function Gi(n,t){function e(){var e=0,i=t.length;for(u=[];++e<i;)u[e-1]=Xo.quantile(n,e/i);return r}function r(n){return isNaN(n=+n)?void 0:t[Xo.bisect(u,n)]}var u;return r.domain=function(t){return arguments.length?(n=t.filter(function(n){return!isNaN(n)}).sort(Xo.ascending),e()):n},r.range=function(n){return arguments.length?(t=n,e()):t},r.quantiles=function(){return u},r.invertExtent=function(e){return e=t.indexOf(e),0>e?[0/0,0/0]:[e>0?u[e-1]:n[0],e<u.length?u[e]:n[n.length-1]]},r.copy=function(){return Gi(n,t)},e()}function Ki(n,t,e){function r(t){return e[Math.max(0,Math.min(o,Math.floor(i*(t-n))))]}function u(){return i=e.length/(t-n),o=e.length-1,r}var i,o;return r.domain=function(e){return arguments.length?(n=+e[0],t=+e[e.length-1],u()):[n,t]},r.range=function(n){return arguments.length?(e=n,u()):e},r.invertExtent=function(t){return t=e.indexOf(t),t=0>t?0/0:t/i+n,[t,t+1/i]},r.copy=function(){return Ki(n,t,e)},u()}function Qi(n,t){function e(e){return e>=e?t[Xo.bisect(n,e)]:void 0}return e.domain=function(t){return arguments.length?(n=t,e):n},e.range=function(n){return arguments.length?(t=n,e):t},e.invertExtent=function(e){return e=t.indexOf(e),[n[e-1],n[e]]},e.copy=function(){return Qi(n,t)},e}function no(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return Ii(n,t)},t.tickFormat=function(t,e){return Zi(n,t,e)},t.copy=function(){return no(n)},t}function to(n){return n.innerRadius}function eo(n){return n.outerRadius}function ro(n){return n.startAngle}function uo(n){return n.endAngle}function io(n){function t(t){function o(){s.push("M",i(n(l),a))}for(var c,s=[],l=[],f=-1,h=t.length,g=_t(e),p=_t(r);++f<h;)u.call(this,c=t[f],f)?l.push([+g.call(this,c,f),+p.call(this,c,f)]):l.length&&(o(),l=[]);return l.length&&o(),s.length?s.join(""):null}var e=br,r=wr,u=be,i=oo,o=i.key,a=.7;return t.x=function(n){return arguments.length?(e=n,t):e},t.y=function(n){return arguments.length?(r=n,t):r},t.defined=function(n){return arguments.length?(u=n,t):u},t.interpolate=function(n){return arguments.length?(o="function"==typeof n?i=n:(i=Ms.get(n)||oo).key,t):o},t.tension=function(n){return arguments.length?(a=n,t):a},t}function oo(n){return n.join("L")}function ao(n){return oo(n)+"Z"}function co(n){for(var t=0,e=n.length,r=n[0],u=[r[0],",",r[1]];++t<e;)u.push("H",(r[0]+(r=n[t])[0])/2,"V",r[1]);return e>1&&u.push("H",r[0]),u.join("")}function so(n){for(var t=0,e=n.length,r=n[0],u=[r[0],",",r[1]];++t<e;)u.push("V",(r=n[t])[1],"H",r[0]);return u.join("")}function lo(n){for(var t=0,e=n.length,r=n[0],u=[r[0],",",r[1]];++t<e;)u.push("H",(r=n[t])[0],"V",r[1]);return u.join("")}function fo(n,t){return n.length<4?oo(n):n[1]+po(n.slice(1,n.length-1),vo(n,t))}function ho(n,t){return n.length<3?oo(n):n[0]+po((n.push(n[0]),n),vo([n[n.length-2]].concat(n,[n[1]]),t))}function go(n,t){return n.length<3?oo(n):n[0]+po(n,vo(n,t))}function po(n,t){if(t.length<1||n.length!=t.length&&n.length!=t.length+2)return oo(n);var e=n.length!=t.length,r="",u=n[0],i=n[1],o=t[0],a=o,c=1;if(e&&(r+="Q"+(i[0]-2*o[0]/3)+","+(i[1]-2*o[1]/3)+","+i[0]+","+i[1],u=n[1],c=2),t.length>1){a=t[1],i=n[c],c++,r+="C"+(u[0]+o[0])+","+(u[1]+o[1])+","+(i[0]-a[0])+","+(i[1]-a[1])+","+i[0]+","+i[1];for(var s=2;s<t.length;s++,c++)i=n[c],a=t[s],r+="S"+(i[0]-a[0])+","+(i[1]-a[1])+","+i[0]+","+i[1]}if(e){var l=n[c];r+="Q"+(i[0]+2*a[0]/3)+","+(i[1]+2*a[1]/3)+","+l[0]+","+l[1]}return r}function vo(n,t){for(var e,r=[],u=(1-t)/2,i=n[0],o=n[1],a=1,c=n.length;++a<c;)e=i,i=o,o=n[a],r.push([u*(o[0]-e[0]),u*(o[1]-e[1])]);return r}function mo(n){if(n.length<3)return oo(n);var t=1,e=n.length,r=n[0],u=r[0],i=r[1],o=[u,u,u,(r=n[1])[0]],a=[i,i,i,r[1]],c=[u,",",i,"L",_o(ws,o),",",_o(ws,a)];for(n.push(n[e-1]);++t<=e;)r=n[t],o.shift(),o.push(r[0]),a.shift(),a.push(r[1]),bo(c,o,a);return n.pop(),c.push("L",r),c.join("")}function yo(n){if(n.length<4)return oo(n);for(var t,e=[],r=-1,u=n.length,i=[0],o=[0];++r<3;)t=n[r],i.push(t[0]),o.push(t[1]);for(e.push(_o(ws,i)+","+_o(ws,o)),--r;++r<u;)t=n[r],i.shift(),i.push(t[0]),o.shift(),o.push(t[1]),bo(e,i,o);return e.join("")}function xo(n){for(var t,e,r=-1,u=n.length,i=u+4,o=[],a=[];++r<4;)e=n[r%u],o.push(e[0]),a.push(e[1]);for(t=[_o(ws,o),",",_o(ws,a)],--r;++r<i;)e=n[r%u],o.shift(),o.push(e[0]),a.shift(),a.push(e[1]),bo(t,o,a);return t.join("")}function Mo(n,t){var e=n.length-1;if(e)for(var r,u,i=n[0][0],o=n[0][1],a=n[e][0]-i,c=n[e][1]-o,s=-1;++s<=e;)r=n[s],u=s/e,r[0]=t*r[0]+(1-t)*(i+u*a),r[1]=t*r[1]+(1-t)*(o+u*c);return mo(n)}function _o(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]+n[3]*t[3]}function bo(n,t,e){n.push("C",_o(_s,t),",",_o(_s,e),",",_o(bs,t),",",_o(bs,e),",",_o(ws,t),",",_o(ws,e))}function wo(n,t){return(t[1]-n[1])/(t[0]-n[0])}function So(n){for(var t=0,e=n.length-1,r=[],u=n[0],i=n[1],o=r[0]=wo(u,i);++t<e;)r[t]=(o+(o=wo(u=i,i=n[t+1])))/2;return r[t]=o,r}function ko(n){for(var t,e,r,u,i=[],o=So(n),a=-1,c=n.length-1;++a<c;)t=wo(n[a],n[a+1]),oa(t)<Aa?o[a]=o[a+1]=0:(e=o[a]/t,r=o[a+1]/t,u=e*e+r*r,u>9&&(u=3*t/Math.sqrt(u),o[a]=u*e,o[a+1]=u*r));for(a=-1;++a<=c;)u=(n[Math.min(c,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),i.push([u||0,o[a]*u||0]);return i}function Eo(n){return n.length<3?oo(n):n[0]+po(n,ko(n))}function Ao(n){for(var t,e,r,u=-1,i=n.length;++u<i;)t=n[u],e=t[0],r=t[1]+ys,t[0]=e*Math.cos(r),t[1]=e*Math.sin(r);return n}function Co(n){function t(t){function c(){v.push("M",a(n(m),f),l,s(n(d.reverse()),f),"Z")}for(var h,g,p,v=[],d=[],m=[],y=-1,x=t.length,M=_t(e),_=_t(u),b=e===r?function(){return g}:_t(r),w=u===i?function(){return p}:_t(i);++y<x;)o.call(this,h=t[y],y)?(d.push([g=+M.call(this,h,y),p=+_.call(this,h,y)]),m.push([+b.call(this,h,y),+w.call(this,h,y)])):d.length&&(c(),d=[],m=[]);return d.length&&c(),v.length?v.join(""):null}var e=br,r=br,u=0,i=wr,o=be,a=oo,c=a.key,s=a,l="L",f=.7;return t.x=function(n){return arguments.length?(e=r=n,t):r},t.x0=function(n){return arguments.length?(e=n,t):e},t.x1=function(n){return arguments.length?(r=n,t):r},t.y=function(n){return arguments.length?(u=i=n,t):i},t.y0=function(n){return arguments.length?(u=n,t):u},t.y1=function(n){return arguments.length?(i=n,t):i},t.defined=function(n){return arguments.length?(o=n,t):o},t.interpolate=function(n){return arguments.length?(c="function"==typeof n?a=n:(a=Ms.get(n)||oo).key,s=a.reverse||a,l=a.closed?"M":"L",t):c},t.tension=function(n){return arguments.length?(f=n,t):f},t}function No(n){return n.radius}function Lo(n){return[n.x,n.y]}function To(n){return function(){var t=n.apply(this,arguments),e=t[0],r=t[1]+ys;return[e*Math.cos(r),e*Math.sin(r)]}}function qo(){return 64}function zo(){return"circle"}function Ro(n){var t=Math.sqrt(n/Sa);return"M0,"+t+"A"+t+","+t+" 0 1,1 0,"+-t+"A"+t+","+t+" 0 1,1 0,"+t+"Z"}function Do(n,t){return fa(n,Ns),n.id=t,n}function Po(n,t,e,r){var u=n.id;return R(n,"function"==typeof e?function(n,i,o){n.__transition__[u].tween.set(t,r(e.call(n,n.__data__,i,o)))}:(e=r(e),function(n){n.__transition__[u].tween.set(t,e)}))}function Uo(n){return null==n&&(n=""),function(){this.textContent=n}}function jo(n,t,e,r){var i=n.__transition__||(n.__transition__={active:0,count:0}),o=i[e];if(!o){var a=r.time;o=i[e]={tween:new u,time:a,ease:r.ease,delay:r.delay,duration:r.duration},++i.count,Xo.timer(function(r){function u(r){return i.active>e?s():(i.active=e,o.event&&o.event.start.call(n,l,t),o.tween.forEach(function(e,r){(r=r.call(n,l,t))&&v.push(r)}),Xo.timer(function(){return p.c=c(r||1)?be:c,1},0,a),void 0)}function c(r){if(i.active!==e)return s();for(var u=r/g,a=f(u),c=v.length;c>0;)v[--c].call(n,a);return u>=1?(o.event&&o.event.end.call(n,l,t),s()):void 0}function s(){return--i.count?delete i[e]:delete n.__transition__,1}var l=n.__data__,f=o.ease,h=o.delay,g=o.duration,p=Ja,v=[];return p.t=h+a,r>=h?u(r-h):(p.c=u,void 0)},0,a)}}function Ho(n,t){n.attr("transform",function(n){return"translate("+t(n)+",0)"})}function Fo(n,t){n.attr("transform",function(n){return"translate(0,"+t(n)+")"})}function Oo(n){return n.toISOString()}function Yo(n,t,e){function r(t){return n(t)}function u(n,e){var r=n[1]-n[0],u=r/e,i=Xo.bisect(js,u);return i==js.length?[t.year,Yi(n.map(function(n){return n/31536e6}),e)[2]]:i?t[u/js[i-1]<js[i]/u?i-1:i]:[Os,Yi(n,e)[2]]
4 var t=x.length;if(t){x.sort(c);for(var e,r=1,u=x[0],i=[u];t>r;++r)e=x[r],s(e[0],u)||s(e[1],u)?(a(u[0],e[1])>a(u[0],u[1])&&(u[1]=e[1]),a(e[0],u[1])>a(u[0],u[1])&&(u[0]=e[0])):i.push(u=e);for(var o,e,p=-1/0,t=i.length-1,r=0,u=i[t];t>=r;u=e,++r)e=i[r],(o=a(u[1],e[0]))>p&&(p=o,l=e[0],h=u[1])}return x=M=null,1/0===l||1/0===f?[[0/0,0/0],[0/0,0/0]]:[[l,f],[h,g]]}}(),Xo.geo.centroid=function(n){pc=vc=dc=mc=yc=xc=Mc=_c=bc=wc=Sc=0,Xo.geo.stream(n,kc);var t=bc,e=wc,r=Sc,u=t*t+e*e+r*r;return Ca>u&&(t=xc,e=Mc,r=_c,Aa>vc&&(t=dc,e=mc,r=yc),u=t*t+e*e+r*r,Ca>u)?[0/0,0/0]:[Math.atan2(e,t)*La,X(r/Math.sqrt(u))*La]};var pc,vc,dc,mc,yc,xc,Mc,_c,bc,wc,Sc,kc={sphere:g,point:me,lineStart:xe,lineEnd:Me,polygonStart:function(){kc.lineStart=_e},polygonEnd:function(){kc.lineStart=xe}},Ec=Ee(be,Te,ze,[-Sa,-Sa/2]),Ac=1e9;Xo.geo.clipExtent=function(){var n,t,e,r,u,i,o={stream:function(n){return u&&(u.valid=!1),u=i(n),u.valid=!0,u},extent:function(a){return arguments.length?(i=Pe(n=+a[0][0],t=+a[0][1],e=+a[1][0],r=+a[1][1]),u&&(u.valid=!1,u=null),o):[[n,t],[e,r]]}};return o.extent([[0,0],[960,500]])},(Xo.geo.conicEqualArea=function(){return je(He)}).raw=He,Xo.geo.albers=function(){return Xo.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},Xo.geo.albersUsa=function(){function n(n){var i=n[0],o=n[1];return t=null,e(i,o),t||(r(i,o),t)||u(i,o),t}var t,e,r,u,i=Xo.geo.albers(),o=Xo.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=Xo.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),c={point:function(n,e){t=[n,e]}};return n.invert=function(n){var t=i.scale(),e=i.translate(),r=(n[0]-e[0])/t,u=(n[1]-e[1])/t;return(u>=.12&&.234>u&&r>=-.425&&-.214>r?o:u>=.166&&.234>u&&r>=-.214&&-.115>r?a:i).invert(n)},n.stream=function(n){var t=i.stream(n),e=o.stream(n),r=a.stream(n);return{point:function(n,u){t.point(n,u),e.point(n,u),r.point(n,u)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},n.precision=function(t){return arguments.length?(i.precision(t),o.precision(t),a.precision(t),n):i.precision()},n.scale=function(t){return arguments.length?(i.scale(t),o.scale(.35*t),a.scale(t),n.translate(i.translate())):i.scale()},n.translate=function(t){if(!arguments.length)return i.translate();var s=i.scale(),l=+t[0],f=+t[1];return e=i.translate(t).clipExtent([[l-.455*s,f-.238*s],[l+.455*s,f+.238*s]]).stream(c).point,r=o.translate([l-.307*s,f+.201*s]).clipExtent([[l-.425*s+Aa,f+.12*s+Aa],[l-.214*s-Aa,f+.234*s-Aa]]).stream(c).point,u=a.translate([l-.205*s,f+.212*s]).clipExtent([[l-.214*s+Aa,f+.166*s+Aa],[l-.115*s-Aa,f+.234*s-Aa]]).stream(c).point,n},n.scale(1070)};var Cc,Nc,Lc,Tc,qc,zc,Rc={point:g,lineStart:g,lineEnd:g,polygonStart:function(){Nc=0,Rc.lineStart=Fe},polygonEnd:function(){Rc.lineStart=Rc.lineEnd=Rc.point=g,Cc+=oa(Nc/2)}},Dc={point:Oe,lineStart:g,lineEnd:g,polygonStart:g,polygonEnd:g},Pc={point:Ze,lineStart:Ve,lineEnd:Xe,polygonStart:function(){Pc.lineStart=$e},polygonEnd:function(){Pc.point=Ze,Pc.lineStart=Ve,Pc.lineEnd=Xe}};Xo.geo.path=function(){function n(n){return n&&("function"==typeof a&&i.pointRadius(+a.apply(this,arguments)),o&&o.valid||(o=u(i)),Xo.geo.stream(n,o)),i.result()}function t(){return o=null,n}var e,r,u,i,o,a=4.5;return n.area=function(n){return Cc=0,Xo.geo.stream(n,u(Rc)),Cc},n.centroid=function(n){return dc=mc=yc=xc=Mc=_c=bc=wc=Sc=0,Xo.geo.stream(n,u(Pc)),Sc?[bc/Sc,wc/Sc]:_c?[xc/_c,Mc/_c]:yc?[dc/yc,mc/yc]:[0/0,0/0]},n.bounds=function(n){return qc=zc=-(Lc=Tc=1/0),Xo.geo.stream(n,u(Dc)),[[Lc,Tc],[qc,zc]]},n.projection=function(n){return arguments.length?(u=(e=n)?n.stream||Je(n):bt,t()):e},n.context=function(n){return arguments.length?(i=null==(r=n)?new Ye:new Be(n),"function"!=typeof a&&i.pointRadius(a),t()):r},n.pointRadius=function(t){return arguments.length?(a="function"==typeof t?t:(i.pointRadius(+t),+t),n):a},n.projection(Xo.geo.albersUsa()).context(null)},Xo.geo.transform=function(n){return{stream:function(t){var e=new Ge(t);for(var r in n)e[r]=n[r];return e}}},Ge.prototype={point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},Xo.geo.projection=Qe,Xo.geo.projectionMutator=nr,(Xo.geo.equirectangular=function(){return Qe(er)}).raw=er.invert=er,Xo.geo.rotation=function(n){function t(t){return t=n(t[0]*Na,t[1]*Na),t[0]*=La,t[1]*=La,t}return n=ur(n[0]%360*Na,n[1]*Na,n.length>2?n[2]*Na:0),t.invert=function(t){return t=n.invert(t[0]*Na,t[1]*Na),t[0]*=La,t[1]*=La,t},t},rr.invert=er,Xo.geo.circle=function(){function n(){var n="function"==typeof r?r.apply(this,arguments):r,t=ur(-n[0]*Na,-n[1]*Na,0).invert,u=[];return e(null,null,1,{point:function(n,e){u.push(n=t(n,e)),n[0]*=La,n[1]*=La}}),{type:"Polygon",coordinates:[u]}}var t,e,r=[0,0],u=6;return n.origin=function(t){return arguments.length?(r=t,n):r},n.angle=function(r){return arguments.length?(e=cr((t=+r)*Na,u*Na),n):t},n.precision=function(r){return arguments.length?(e=cr(t*Na,(u=+r)*Na),n):u},n.angle(90)},Xo.geo.distance=function(n,t){var e,r=(t[0]-n[0])*Na,u=n[1]*Na,i=t[1]*Na,o=Math.sin(r),a=Math.cos(r),c=Math.sin(u),s=Math.cos(u),l=Math.sin(i),f=Math.cos(i);return Math.atan2(Math.sqrt((e=f*o)*e+(e=s*l-c*f*a)*e),c*l+s*f*a)},Xo.geo.graticule=function(){function n(){return{type:"MultiLineString",coordinates:t()}}function t(){return Xo.range(Math.ceil(i/d)*d,u,d).map(h).concat(Xo.range(Math.ceil(s/m)*m,c,m).map(g)).concat(Xo.range(Math.ceil(r/p)*p,e,p).filter(function(n){return oa(n%d)>Aa}).map(l)).concat(Xo.range(Math.ceil(a/v)*v,o,v).filter(function(n){return oa(n%m)>Aa}).map(f))}var e,r,u,i,o,a,c,s,l,f,h,g,p=10,v=p,d=90,m=360,y=2.5;return n.lines=function(){return t().map(function(n){return{type:"LineString",coordinates:n}})},n.outline=function(){return{type:"Polygon",coordinates:[h(i).concat(g(c).slice(1),h(u).reverse().slice(1),g(s).reverse().slice(1))]}},n.extent=function(t){return arguments.length?n.majorExtent(t).minorExtent(t):n.minorExtent()},n.majorExtent=function(t){return arguments.length?(i=+t[0][0],u=+t[1][0],s=+t[0][1],c=+t[1][1],i>u&&(t=i,i=u,u=t),s>c&&(t=s,s=c,c=t),n.precision(y)):[[i,s],[u,c]]},n.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],o=+t[1][1],r>e&&(t=r,r=e,e=t),a>o&&(t=a,a=o,o=t),n.precision(y)):[[r,a],[e,o]]},n.step=function(t){return arguments.length?n.majorStep(t).minorStep(t):n.minorStep()},n.majorStep=function(t){return arguments.length?(d=+t[0],m=+t[1],n):[d,m]},n.minorStep=function(t){return arguments.length?(p=+t[0],v=+t[1],n):[p,v]},n.precision=function(t){return arguments.length?(y=+t,l=lr(a,o,90),f=fr(r,e,y),h=lr(s,c,90),g=fr(i,u,y),n):y},n.majorExtent([[-180,-90+Aa],[180,90-Aa]]).minorExtent([[-180,-80-Aa],[180,80+Aa]])},Xo.geo.greatArc=function(){function n(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),e||u.apply(this,arguments)]}}var t,e,r=hr,u=gr;return n.distance=function(){return Xo.geo.distance(t||r.apply(this,arguments),e||u.apply(this,arguments))},n.source=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,n):r},n.target=function(t){return arguments.length?(u=t,e="function"==typeof t?null:t,n):u},n.precision=function(){return arguments.length?n:0},n},Xo.geo.interpolate=function(n,t){return pr(n[0]*Na,n[1]*Na,t[0]*Na,t[1]*Na)},Xo.geo.length=function(n){return Uc=0,Xo.geo.stream(n,jc),Uc};var Uc,jc={sphere:g,point:g,lineStart:vr,lineEnd:g,polygonStart:g,polygonEnd:g},Hc=dr(function(n){return Math.sqrt(2/(1+n))},function(n){return 2*Math.asin(n/2)});(Xo.geo.azimuthalEqualArea=function(){return Qe(Hc)}).raw=Hc;var Fc=dr(function(n){var t=Math.acos(n);return t&&t/Math.sin(t)},bt);(Xo.geo.azimuthalEquidistant=function(){return Qe(Fc)}).raw=Fc,(Xo.geo.conicConformal=function(){return je(mr)}).raw=mr,(Xo.geo.conicEquidistant=function(){return je(yr)}).raw=yr;var Oc=dr(function(n){return 1/n},Math.atan);(Xo.geo.gnomonic=function(){return Qe(Oc)}).raw=Oc,xr.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Ea]},(Xo.geo.mercator=function(){return Mr(xr)}).raw=xr;var Yc=dr(function(){return 1},Math.asin);(Xo.geo.orthographic=function(){return Qe(Yc)}).raw=Yc;var Ic=dr(function(n){return 1/(1+n)},function(n){return 2*Math.atan(n)});(Xo.geo.stereographic=function(){return Qe(Ic)}).raw=Ic,_r.invert=function(n,t){return[-t,2*Math.atan(Math.exp(n))-Ea]},(Xo.geo.transverseMercator=function(){var n=Mr(_r),t=n.center,e=n.rotate;return n.center=function(n){return n?t([-n[1],n[0]]):(n=t(),[-n[1],n[0]])},n.rotate=function(n){return n?e([n[0],n[1],n.length>2?n[2]+90:90]):(n=e(),[n[0],n[1],n[2]-90])},n.rotate([0,0])}).raw=_r,Xo.geom={},Xo.geom.hull=function(n){function t(n){if(n.length<3)return[];var t,u=_t(e),i=_t(r),o=n.length,a=[],c=[];for(t=0;o>t;t++)a.push([+u.call(this,n[t],t),+i.call(this,n[t],t),t]);for(a.sort(kr),t=0;o>t;t++)c.push([a[t][0],-a[t][1]]);var s=Sr(a),l=Sr(c),f=l[0]===s[0],h=l[l.length-1]===s[s.length-1],g=[];for(t=s.length-1;t>=0;--t)g.push(n[a[s[t]][2]]);for(t=+f;t<l.length-h;++t)g.push(n[a[l[t]][2]]);return g}var e=br,r=wr;return arguments.length?t(n):(t.x=function(n){return arguments.length?(e=n,t):e},t.y=function(n){return arguments.length?(r=n,t):r},t)},Xo.geom.polygon=function(n){return fa(n,Zc),n};var Zc=Xo.geom.polygon.prototype=[];Zc.area=function(){for(var n,t=-1,e=this.length,r=this[e-1],u=0;++t<e;)n=r,r=this[t],u+=n[1]*r[0]-n[0]*r[1];return.5*u},Zc.centroid=function(n){var t,e,r=-1,u=this.length,i=0,o=0,a=this[u-1];for(arguments.length||(n=-1/(6*this.area()));++r<u;)t=a,a=this[r],e=t[0]*a[1]-a[0]*t[1],i+=(t[0]+a[0])*e,o+=(t[1]+a[1])*e;return[i*n,o*n]},Zc.clip=function(n){for(var t,e,r,u,i,o,a=Cr(n),c=-1,s=this.length-Cr(this),l=this[s-1];++c<s;){for(t=n.slice(),n.length=0,u=this[c],i=t[(r=t.length-a)-1],e=-1;++e<r;)o=t[e],Er(o,l,u)?(Er(i,l,u)||n.push(Ar(i,o,l,u)),n.push(o)):Er(i,l,u)&&n.push(Ar(i,o,l,u)),i=o;a&&n.push(n[0]),l=u}return n};var Vc,Xc,$c,Bc,Wc,Jc=[],Gc=[];Pr.prototype.prepare=function(){for(var n,t=this.edges,e=t.length;e--;)n=t[e].edge,n.b&&n.a||t.splice(e,1);return t.sort(jr),t.length},Br.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}},Wr.prototype={insert:function(n,t){var e,r,u;if(n){if(t.P=n,t.N=n.N,n.N&&(n.N.P=t),n.N=t,n.R){for(n=n.R;n.L;)n=n.L;n.L=t}else n.R=t;e=n}else this._?(n=Qr(this._),t.P=null,t.N=n,n.P=n.L=t,e=n):(t.P=t.N=null,this._=t,e=null);for(t.L=t.R=null,t.U=e,t.C=!0,n=t;e&&e.C;)r=e.U,e===r.L?(u=r.R,u&&u.C?(e.C=u.C=!1,r.C=!0,n=r):(n===e.R&&(Gr(this,e),n=e,e=n.U),e.C=!1,r.C=!0,Kr(this,r))):(u=r.L,u&&u.C?(e.C=u.C=!1,r.C=!0,n=r):(n===e.L&&(Kr(this,e),n=e,e=n.U),e.C=!1,r.C=!0,Gr(this,r))),e=n.U;this._.C=!1},remove:function(n){n.N&&(n.N.P=n.P),n.P&&(n.P.N=n.N),n.N=n.P=null;var t,e,r,u=n.U,i=n.L,o=n.R;if(e=i?o?Qr(o):i:o,u?u.L===n?u.L=e:u.R=e:this._=e,i&&o?(r=e.C,e.C=n.C,e.L=i,i.U=e,e!==o?(u=e.U,e.U=n.U,n=e.R,u.L=n,e.R=o,o.U=e):(e.U=u,u=e,n=e.R)):(r=n.C,n=e),n&&(n.U=u),!r){if(n&&n.C)return n.C=!1,void 0;do{if(n===this._)break;if(n===u.L){if(t=u.R,t.C&&(t.C=!1,u.C=!0,Gr(this,u),t=u.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,Kr(this,t),t=u.R),t.C=u.C,u.C=t.R.C=!1,Gr(this,u),n=this._;break}}else if(t=u.L,t.C&&(t.C=!1,u.C=!0,Kr(this,u),t=u.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,Gr(this,t),t=u.L),t.C=u.C,u.C=t.L.C=!1,Kr(this,u),n=this._;break}t.C=!0,n=u,u=u.U}while(!n.C);n&&(n.C=!1)}}},Xo.geom.voronoi=function(n){function t(n){var t=new Array(n.length),r=a[0][0],u=a[0][1],i=a[1][0],o=a[1][1];return nu(e(n),a).cells.forEach(function(e,a){var c=e.edges,s=e.site,l=t[a]=c.length?c.map(function(n){var t=n.start();return[t.x,t.y]}):s.x>=r&&s.x<=i&&s.y>=u&&s.y<=o?[[r,o],[i,o],[i,u],[r,u]]:[];l.point=n[a]}),t}function e(n){return n.map(function(n,t){return{x:Math.round(i(n,t)/Aa)*Aa,y:Math.round(o(n,t)/Aa)*Aa,i:t}})}var r=br,u=wr,i=r,o=u,a=Kc;return n?t(n):(t.links=function(n){return nu(e(n)).edges.filter(function(n){return n.l&&n.r}).map(function(t){return{source:n[t.l.i],target:n[t.r.i]}})},t.triangles=function(n){var t=[];return nu(e(n)).cells.forEach(function(e,r){for(var u,i,o=e.site,a=e.edges.sort(jr),c=-1,s=a.length,l=a[s-1].edge,f=l.l===o?l.r:l.l;++c<s;)u=l,i=f,l=a[c].edge,f=l.l===o?l.r:l.l,r<i.i&&r<f.i&&eu(o,i,f)<0&&t.push([n[r],n[i.i],n[f.i]])}),t},t.x=function(n){return arguments.length?(i=_t(r=n),t):r},t.y=function(n){return arguments.length?(o=_t(u=n),t):u},t.clipExtent=function(n){return arguments.length?(a=null==n?Kc:n,t):a===Kc?null:a},t.size=function(n){return arguments.length?t.clipExtent(n&&[[0,0],n]):a===Kc?null:a&&a[1]},t)};var Kc=[[-1e6,-1e6],[1e6,1e6]];Xo.geom.delaunay=function(n){return Xo.geom.voronoi().triangles(n)},Xo.geom.quadtree=function(n,t,e,r,u){function i(n){function i(n,t,e,r,u,i,o,a){if(!isNaN(e)&&!isNaN(r))if(n.leaf){var c=n.x,l=n.y;if(null!=c)if(oa(c-e)+oa(l-r)<.01)s(n,t,e,r,u,i,o,a);else{var f=n.point;n.x=n.y=n.point=null,s(n,f,c,l,u,i,o,a),s(n,t,e,r,u,i,o,a)}else n.x=e,n.y=r,n.point=t}else s(n,t,e,r,u,i,o,a)}function s(n,t,e,r,u,o,a,c){var s=.5*(u+a),l=.5*(o+c),f=e>=s,h=r>=l,g=(h<<1)+f;n.leaf=!1,n=n.nodes[g]||(n.nodes[g]=iu()),f?u=s:a=s,h?o=l:c=l,i(n,t,e,r,u,o,a,c)}var l,f,h,g,p,v,d,m,y,x=_t(a),M=_t(c);if(null!=t)v=t,d=e,m=r,y=u;else if(m=y=-(v=d=1/0),f=[],h=[],p=n.length,o)for(g=0;p>g;++g)l=n[g],l.x<v&&(v=l.x),l.y<d&&(d=l.y),l.x>m&&(m=l.x),l.y>y&&(y=l.y),f.push(l.x),h.push(l.y);else for(g=0;p>g;++g){var _=+x(l=n[g],g),b=+M(l,g);v>_&&(v=_),d>b&&(d=b),_>m&&(m=_),b>y&&(y=b),f.push(_),h.push(b)}var w=m-v,S=y-d;w>S?y=d+w:m=v+S;var k=iu();if(k.add=function(n){i(k,n,+x(n,++g),+M(n,g),v,d,m,y)},k.visit=function(n){ou(n,k,v,d,m,y)},g=-1,null==t){for(;++g<p;)i(k,n[g],f[g],h[g],v,d,m,y);--g}else n.forEach(k.add);return f=h=n=l=null,k}var o,a=br,c=wr;return(o=arguments.length)?(a=ru,c=uu,3===o&&(u=e,r=t,e=t=0),i(n)):(i.x=function(n){return arguments.length?(a=n,i):a},i.y=function(n){return arguments.length?(c=n,i):c},i.extent=function(n){return arguments.length?(null==n?t=e=r=u=null:(t=+n[0][0],e=+n[0][1],r=+n[1][0],u=+n[1][1]),i):null==t?null:[[t,e],[r,u]]},i.size=function(n){return arguments.length?(null==n?t=e=r=u=null:(t=e=0,r=+n[0],u=+n[1]),i):null==t?null:[r-t,u-e]},i)},Xo.interpolateRgb=au,Xo.interpolateObject=cu,Xo.interpolateNumber=su,Xo.interpolateString=lu;var Qc=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g;Xo.interpolate=fu,Xo.interpolators=[function(n,t){var e=typeof t;return("string"===e?Va.has(t)||/^(#|rgb\(|hsl\()/.test(t)?au:lu:t instanceof G?au:"object"===e?Array.isArray(t)?hu:cu:su)(n,t)}],Xo.interpolateArray=hu;var ns=function(){return bt},ts=Xo.map({linear:ns,poly:xu,quad:function(){return du},cubic:function(){return mu},sin:function(){return Mu},exp:function(){return _u},circle:function(){return bu},elastic:wu,back:Su,bounce:function(){return ku}}),es=Xo.map({"in":bt,out:pu,"in-out":vu,"out-in":function(n){return vu(pu(n))}});Xo.ease=function(n){var t=n.indexOf("-"),e=t>=0?n.substring(0,t):n,r=t>=0?n.substring(t+1):"in";return e=ts.get(e)||ns,r=es.get(r)||bt,gu(r(e.apply(null,$o.call(arguments,1))))},Xo.interpolateHcl=Eu,Xo.interpolateHsl=Au,Xo.interpolateLab=Cu,Xo.interpolateRound=Nu,Xo.transform=function(n){var t=Wo.createElementNS(Xo.ns.prefix.svg,"g");return(Xo.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new Lu(e?e.matrix:rs)})(n)},Lu.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var rs={a:1,b:0,c:0,d:1,e:0,f:0};Xo.interpolateTransform=Ru,Xo.layout={},Xo.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++e<r;)t.push(Uu(n[e]));return t}},Xo.layout.chord=function(){function n(){var n,s,f,h,g,p={},v=[],d=Xo.range(i),m=[];for(e=[],r=[],n=0,h=-1;++h<i;){for(s=0,g=-1;++g<i;)s+=u[h][g];v.push(s),m.push(Xo.range(i)),n+=s}for(o&&d.sort(function(n,t){return o(v[n],v[t])}),a&&m.forEach(function(n,t){n.sort(function(n,e){return a(u[t][n],u[t][e])})}),n=(ka-l*i)/n,s=0,h=-1;++h<i;){for(f=s,g=-1;++g<i;){var y=d[h],x=m[y][g],M=u[y][x],_=s,b=s+=M*n;p[y+"-"+x]={index:y,subindex:x,startAngle:_,endAngle:b,value:M}}r[y]={index:y,startAngle:f,endAngle:s,value:(s-f)/n},s+=l}for(h=-1;++h<i;)for(g=h-1;++g<i;){var w=p[h+"-"+g],S=p[g+"-"+h];(w.value||S.value)&&e.push(w.value<S.value?{source:S,target:w}:{source:w,target:S})}c&&t()}function t(){e.sort(function(n,t){return c((n.source.value+n.target.value)/2,(t.source.value+t.target.value)/2)})}var e,r,u,i,o,a,c,s={},l=0;return s.matrix=function(n){return arguments.length?(i=(u=n)&&u.length,e=r=null,s):u},s.padding=function(n){return arguments.length?(l=n,e=r=null,s):l},s.sortGroups=function(n){return arguments.length?(o=n,e=r=null,s):o},s.sortSubgroups=function(n){return arguments.length?(a=n,e=null,s):a},s.sortChords=function(n){return arguments.length?(c=n,e&&t(),s):c},s.chords=function(){return e||n(),e},s.groups=function(){return r||n(),r},s},Xo.layout.force=function(){function n(n){return function(t,e,r,u){if(t.point!==n){var i=t.cx-n.x,o=t.cy-n.y,a=u-e,c=i*i+o*o;if(c>a*a/d){if(p>c){var s=t.charge/c;n.px-=i*s,n.py-=o*s}return!0}if(t.point&&c&&p>c){var s=t.pointCharge/c;n.px-=i*s,n.py-=o*s}}return!t.charge}}function t(n){n.px=Xo.event.x,n.py=Xo.event.y,a.resume()}var e,r,u,i,o,a={},c=Xo.dispatch("start","tick","end"),s=[1,1],l=.9,f=us,h=is,g=-30,p=os,v=.1,d=.64,m=[],y=[];return a.tick=function(){if((r*=.99)<.005)return c.end({type:"end",alpha:r=0}),!0;var t,e,a,f,h,p,d,x,M,_=m.length,b=y.length;for(e=0;b>e;++e)a=y[e],f=a.source,h=a.target,x=h.x-f.x,M=h.y-f.y,(p=x*x+M*M)&&(p=r*i[e]*((p=Math.sqrt(p))-u[e])/p,x*=p,M*=p,h.x-=x*(d=f.weight/(h.weight+f.weight)),h.y-=M*d,f.x+=x*(d=1-d),f.y+=M*d);if((d=r*v)&&(x=s[0]/2,M=s[1]/2,e=-1,d))for(;++e<_;)a=m[e],a.x+=(x-a.x)*d,a.y+=(M-a.y)*d;if(g)for(Zu(t=Xo.geom.quadtree(m),r,o),e=-1;++e<_;)(a=m[e]).fixed||t.visit(n(a));for(e=-1;++e<_;)a=m[e],a.fixed?(a.x=a.px,a.y=a.py):(a.x-=(a.px-(a.px=a.x))*l,a.y-=(a.py-(a.py=a.y))*l);c.tick({type:"tick",alpha:r})},a.nodes=function(n){return arguments.length?(m=n,a):m},a.links=function(n){return arguments.length?(y=n,a):y},a.size=function(n){return arguments.length?(s=n,a):s},a.linkDistance=function(n){return arguments.length?(f="function"==typeof n?n:+n,a):f},a.distance=a.linkDistance,a.linkStrength=function(n){return arguments.length?(h="function"==typeof n?n:+n,a):h},a.friction=function(n){return arguments.length?(l=+n,a):l},a.charge=function(n){return arguments.length?(g="function"==typeof n?n:+n,a):g},a.chargeDistance=function(n){return arguments.length?(p=n*n,a):Math.sqrt(p)},a.gravity=function(n){return arguments.length?(v=+n,a):v},a.theta=function(n){return arguments.length?(d=n*n,a):Math.sqrt(d)},a.alpha=function(n){return arguments.length?(n=+n,r?r=n>0?n:0:n>0&&(c.start({type:"start",alpha:r=n}),Xo.timer(a.tick)),a):r},a.start=function(){function n(n,r){if(!e){for(e=new Array(c),a=0;c>a;++a)e[a]=[];for(a=0;s>a;++a){var u=y[a];e[u.source.index].push(u.target),e[u.target.index].push(u.source)}}for(var i,o=e[t],a=-1,s=o.length;++a<s;)if(!isNaN(i=o[a][n]))return i;return Math.random()*r}var t,e,r,c=m.length,l=y.length,p=s[0],v=s[1];for(t=0;c>t;++t)(r=m[t]).index=t,r.weight=0;for(t=0;l>t;++t)r=y[t],"number"==typeof r.source&&(r.source=m[r.source]),"number"==typeof r.target&&(r.target=m[r.target]),++r.source.weight,++r.target.weight;for(t=0;c>t;++t)r=m[t],isNaN(r.x)&&(r.x=n("x",p)),isNaN(r.y)&&(r.y=n("y",v)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(u=[],"function"==typeof f)for(t=0;l>t;++t)u[t]=+f.call(this,y[t],t);else for(t=0;l>t;++t)u[t]=f;if(i=[],"function"==typeof h)for(t=0;l>t;++t)i[t]=+h.call(this,y[t],t);else for(t=0;l>t;++t)i[t]=h;if(o=[],"function"==typeof g)for(t=0;c>t;++t)o[t]=+g.call(this,m[t],t);else for(t=0;c>t;++t)o[t]=g;return a.resume()},a.resume=function(){return a.alpha(.1)},a.stop=function(){return a.alpha(0)},a.drag=function(){return e||(e=Xo.behavior.drag().origin(bt).on("dragstart.force",Fu).on("drag.force",t).on("dragend.force",Ou)),arguments.length?(this.on("mouseover.force",Yu).on("mouseout.force",Iu).call(e),void 0):e},Xo.rebind(a,c,"on")};var us=20,is=1,os=1/0;Xo.layout.hierarchy=function(){function n(t,o,a){var c=u.call(e,t,o);if(t.depth=o,a.push(t),c&&(s=c.length)){for(var s,l,f=-1,h=t.children=new Array(s),g=0,p=o+1;++f<s;)l=h[f]=n(c[f],p,a),l.parent=t,g+=l.value;r&&h.sort(r),i&&(t.value=g)}else delete t.children,i&&(t.value=+i.call(e,t,o)||0);return t}function t(n,r){var u=n.children,o=0;if(u&&(a=u.length))for(var a,c=-1,s=r+1;++c<a;)o+=t(u[c],s);else i&&(o=+i.call(e,n,r)||0);return i&&(n.value=o),o}function e(t){var e=[];return n(t,0,e),e}var r=Bu,u=Xu,i=$u;return e.sort=function(n){return arguments.length?(r=n,e):r},e.children=function(n){return arguments.length?(u=n,e):u},e.value=function(n){return arguments.length?(i=n,e):i},e.revalue=function(n){return t(n,0),n},e},Xo.layout.partition=function(){function n(t,e,r,u){var i=t.children;if(t.x=e,t.y=t.depth*u,t.dx=r,t.dy=u,i&&(o=i.length)){var o,a,c,s=-1;for(r=t.value?r/t.value:0;++s<o;)n(a=i[s],e,c=a.value*r,u),e+=c}}function t(n){var e=n.children,r=0;if(e&&(u=e.length))for(var u,i=-1;++i<u;)r=Math.max(r,t(e[i]));return 1+r}function e(e,i){var o=r.call(this,e,i);return n(o[0],0,u[0],u[1]/t(o[0])),o}var r=Xo.layout.hierarchy(),u=[1,1];return e.size=function(n){return arguments.length?(u=n,e):u},Vu(e,r)},Xo.layout.pie=function(){function n(i){var o=i.map(function(e,r){return+t.call(n,e,r)}),a=+("function"==typeof r?r.apply(this,arguments):r),c=(("function"==typeof u?u.apply(this,arguments):u)-a)/Xo.sum(o),s=Xo.range(i.length);null!=e&&s.sort(e===as?function(n,t){return o[t]-o[n]}:function(n,t){return e(i[n],i[t])});var l=[];return s.forEach(function(n){var t;l[n]={data:i[n],value:t=o[n],startAngle:a,endAngle:a+=t*c}}),l}var t=Number,e=as,r=0,u=ka;return n.value=function(e){return arguments.length?(t=e,n):t},n.sort=function(t){return arguments.length?(e=t,n):e},n.startAngle=function(t){return arguments.length?(r=t,n):r},n.endAngle=function(t){return arguments.length?(u=t,n):u},n};var as={};Xo.layout.stack=function(){function n(a,c){var s=a.map(function(e,r){return t.call(n,e,r)}),l=s.map(function(t){return t.map(function(t,e){return[i.call(n,t,e),o.call(n,t,e)]})}),f=e.call(n,l,c);s=Xo.permute(s,f),l=Xo.permute(l,f);var h,g,p,v=r.call(n,l,c),d=s.length,m=s[0].length;for(g=0;m>g;++g)for(u.call(n,s[0][g],p=v[g],l[0][g][1]),h=1;d>h;++h)u.call(n,s[h][g],p+=l[h-1][g][1],l[h][g][1]);return a}var t=bt,e=Qu,r=ni,u=Ku,i=Ju,o=Gu;return n.values=function(e){return arguments.length?(t=e,n):t},n.order=function(t){return arguments.length?(e="function"==typeof t?t:cs.get(t)||Qu,n):e},n.offset=function(t){return arguments.length?(r="function"==typeof t?t:ss.get(t)||ni,n):r},n.x=function(t){return arguments.length?(i=t,n):i},n.y=function(t){return arguments.length?(o=t,n):o},n.out=function(t){return arguments.length?(u=t,n):u},n};var cs=Xo.map({"inside-out":function(n){var t,e,r=n.length,u=n.map(ti),i=n.map(ei),o=Xo.range(r).sort(function(n,t){return u[n]-u[t]}),a=0,c=0,s=[],l=[];for(t=0;r>t;++t)e=o[t],c>a?(a+=i[e],s.push(e)):(c+=i[e],l.push(e));return l.reverse().concat(s)},reverse:function(n){return Xo.range(n.length).reverse()},"default":Qu}),ss=Xo.map({silhouette:function(n){var t,e,r,u=n.length,i=n[0].length,o=[],a=0,c=[];for(e=0;i>e;++e){for(t=0,r=0;u>t;t++)r+=n[t][e][1];r>a&&(a=r),o.push(r)}for(e=0;i>e;++e)c[e]=(a-o[e])/2;return c},wiggle:function(n){var t,e,r,u,i,o,a,c,s,l=n.length,f=n[0],h=f.length,g=[];for(g[0]=c=s=0,e=1;h>e;++e){for(t=0,u=0;l>t;++t)u+=n[t][e][1];for(t=0,i=0,a=f[e][0]-f[e-1][0];l>t;++t){for(r=0,o=(n[t][e][1]-n[t][e-1][1])/(2*a);t>r;++r)o+=(n[r][e][1]-n[r][e-1][1])/a;i+=o*n[t][e][1]}g[e]=c-=u?i/u*a:0,s>c&&(s=c)}for(e=0;h>e;++e)g[e]-=s;return g},expand:function(n){var t,e,r,u=n.length,i=n[0].length,o=1/u,a=[];for(e=0;i>e;++e){for(t=0,r=0;u>t;t++)r+=n[t][e][1];if(r)for(t=0;u>t;t++)n[t][e][1]/=r;else for(t=0;u>t;t++)n[t][e][1]=o}for(e=0;i>e;++e)a[e]=0;return a},zero:ni});Xo.layout.histogram=function(){function n(n,i){for(var o,a,c=[],s=n.map(e,this),l=r.call(this,s,i),f=u.call(this,l,s,i),i=-1,h=s.length,g=f.length-1,p=t?1:1/h;++i<g;)o=c[i]=[],o.dx=f[i+1]-(o.x=f[i]),o.y=0;if(g>0)for(i=-1;++i<h;)a=s[i],a>=l[0]&&a<=l[1]&&(o=c[Xo.bisect(f,a,1,g)-1],o.y+=p,o.push(n[i]));return c}var t=!0,e=Number,r=oi,u=ui;return n.value=function(t){return arguments.length?(e=t,n):e},n.range=function(t){return arguments.length?(r=_t(t),n):r},n.bins=function(t){return arguments.length?(u="number"==typeof t?function(n){return ii(n,t)}:_t(t),n):u},n.frequency=function(e){return arguments.length?(t=!!e,n):t},n},Xo.layout.tree=function(){function n(n,i){function o(n,t){var r=n.children,u=n._tree;if(r&&(i=r.length)){for(var i,a,s,l=r[0],f=l,h=-1;++h<i;)s=r[h],o(s,a),f=c(s,a,f),a=s;vi(n);var g=.5*(l._tree.prelim+s._tree.prelim);t?(u.prelim=t._tree.prelim+e(n,t),u.mod=u.prelim-g):u.prelim=g}else t&&(u.prelim=t._tree.prelim+e(n,t))}function a(n,t){n.x=n._tree.prelim+t;var e=n.children;if(e&&(r=e.length)){var r,u=-1;for(t+=n._tree.mod;++u<r;)a(e[u],t)}}function c(n,t,r){if(t){for(var u,i=n,o=n,a=t,c=n.parent.children[0],s=i._tree.mod,l=o._tree.mod,f=a._tree.mod,h=c._tree.mod;a=si(a),i=ci(i),a&&i;)c=ci(c),o=si(o),o._tree.ancestor=n,u=a._tree.prelim+f-i._tree.prelim-s+e(a,i),u>0&&(di(mi(a,n,r),n,u),s+=u,l+=u),f+=a._tree.mod,s+=i._tree.mod,h+=c._tree.mod,l+=o._tree.mod;a&&!si(o)&&(o._tree.thread=a,o._tree.mod+=f-l),i&&!ci(c)&&(c._tree.thread=i,c._tree.mod+=s-h,r=n)}return r}var s=t.call(this,n,i),l=s[0];pi(l,function(n,t){n._tree={ancestor:n,prelim:0,mod:0,change:0,shift:0,number:t?t._tree.number+1:0}}),o(l),a(l,-l._tree.prelim);var f=li(l,hi),h=li(l,fi),g=li(l,gi),p=f.x-e(f,h)/2,v=h.x+e(h,f)/2,d=g.depth||1;return pi(l,u?function(n){n.x*=r[0],n.y=n.depth*r[1],delete n._tree}:function(n){n.x=(n.x-p)/(v-p)*r[0],n.y=n.depth/d*r[1],delete n._tree}),s}var t=Xo.layout.hierarchy().sort(null).value(null),e=ai,r=[1,1],u=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(u=null==(r=t),n):u?null:r},n.nodeSize=function(t){return arguments.length?(u=null!=(r=t),n):u?r:null},Vu(n,t)},Xo.layout.pack=function(){function n(n,i){var o=e.call(this,n,i),a=o[0],c=u[0],s=u[1],l=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(a.x=a.y=0,pi(a,function(n){n.r=+l(n.value)}),pi(a,bi),r){var f=r*(t?1:Math.max(2*a.r/c,2*a.r/s))/2;pi(a,function(n){n.r+=f}),pi(a,bi),pi(a,function(n){n.r-=f})}return ki(a,c/2,s/2,t?1:1/Math.max(2*a.r/c,2*a.r/s)),o}var t,e=Xo.layout.hierarchy().sort(yi),r=0,u=[1,1];return n.size=function(t){return arguments.length?(u=t,n):u},n.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,n):t},n.padding=function(t){return arguments.length?(r=+t,n):r},Vu(n,e)},Xo.layout.cluster=function(){function n(n,i){var o,a=t.call(this,n,i),c=a[0],s=0;pi(c,function(n){var t=n.children;t&&t.length?(n.x=Ci(t),n.y=Ai(t)):(n.x=o?s+=e(n,o):0,n.y=0,o=n)});var l=Ni(c),f=Li(c),h=l.x-e(l,f)/2,g=f.x+e(f,l)/2;return pi(c,u?function(n){n.x=(n.x-c.x)*r[0],n.y=(c.y-n.y)*r[1]}:function(n){n.x=(n.x-h)/(g-h)*r[0],n.y=(1-(c.y?n.y/c.y:1))*r[1]}),a}var t=Xo.layout.hierarchy().sort(null).value(null),e=ai,r=[1,1],u=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(u=null==(r=t),n):u?null:r},n.nodeSize=function(t){return arguments.length?(u=null!=(r=t),n):u?r:null},Vu(n,t)},Xo.layout.treemap=function(){function n(n,t){for(var e,r,u=-1,i=n.length;++u<i;)r=(e=n[u]).value*(0>t?0:t),e.area=isNaN(r)||0>=r?0:r}function t(e){var i=e.children;if(i&&i.length){var o,a,c,s=f(e),l=[],h=i.slice(),p=1/0,v="slice"===g?s.dx:"dice"===g?s.dy:"slice-dice"===g?1&e.depth?s.dy:s.dx:Math.min(s.dx,s.dy);for(n(h,s.dx*s.dy/e.value),l.area=0;(c=h.length)>0;)l.push(o=h[c-1]),l.area+=o.area,"squarify"!==g||(a=r(l,v))<=p?(h.pop(),p=a):(l.area-=l.pop().area,u(l,v,s,!1),v=Math.min(s.dx,s.dy),l.length=l.area=0,p=1/0);l.length&&(u(l,v,s,!0),l.length=l.area=0),i.forEach(t)}}function e(t){var r=t.children;if(r&&r.length){var i,o=f(t),a=r.slice(),c=[];for(n(a,o.dx*o.dy/t.value),c.area=0;i=a.pop();)c.push(i),c.area+=i.area,null!=i.z&&(u(c,i.z?o.dx:o.dy,o,!a.length),c.length=c.area=0);r.forEach(e)}}function r(n,t){for(var e,r=n.area,u=0,i=1/0,o=-1,a=n.length;++o<a;)(e=n[o].area)&&(i>e&&(i=e),e>u&&(u=e));return r*=r,t*=t,r?Math.max(t*u*p/r,r/(t*i*p)):1/0}function u(n,t,e,r){var u,i=-1,o=n.length,a=e.x,s=e.y,l=t?c(n.area/t):0;if(t==e.dx){for((r||l>e.dy)&&(l=e.dy);++i<o;)u=n[i],u.x=a,u.y=s,u.dy=l,a+=u.dx=Math.min(e.x+e.dx-a,l?c(u.area/l):0);u.z=!0,u.dx+=e.x+e.dx-a,e.y+=l,e.dy-=l}else{for((r||l>e.dx)&&(l=e.dx);++i<o;)u=n[i],u.x=a,u.y=s,u.dx=l,s+=u.dy=Math.min(e.y+e.dy-s,l?c(u.area/l):0);u.z=!1,u.dy+=e.y+e.dy-s,e.x+=l,e.dx-=l}}function i(r){var u=o||a(r),i=u[0];return i.x=0,i.y=0,i.dx=s[0],i.dy=s[1],o&&a.revalue(i),n([i],i.dx*i.dy/i.value),(o?e:t)(i),h&&(o=u),u}var o,a=Xo.layout.hierarchy(),c=Math.round,s=[1,1],l=null,f=Ti,h=!1,g="squarify",p=.5*(1+Math.sqrt(5));return i.size=function(n){return arguments.length?(s=n,i):s},i.padding=function(n){function t(t){var e=n.call(i,t,t.depth);return null==e?Ti(t):qi(t,"number"==typeof e?[e,e,e,e]:e)}function e(t){return qi(t,n)}if(!arguments.length)return l;var r;return f=null==(l=n)?Ti:"function"==(r=typeof n)?t:"number"===r?(n=[n,n,n,n],e):e,i},i.round=function(n){return arguments.length?(c=n?Math.round:Number,i):c!=Number},i.sticky=function(n){return arguments.length?(h=n,o=null,i):h},i.ratio=function(n){return arguments.length?(p=n,i):p},i.mode=function(n){return arguments.length?(g=n+"",i):g},Vu(i,a)},Xo.random={normal:function(n,t){var e=arguments.length;return 2>e&&(t=1),1>e&&(n=0),function(){var e,r,u;do e=2*Math.random()-1,r=2*Math.random()-1,u=e*e+r*r;while(!u||u>1);return n+t*e*Math.sqrt(-2*Math.log(u)/u)}},logNormal:function(){var n=Xo.random.normal.apply(Xo,arguments);return function(){return Math.exp(n())}},bates:function(n){var t=Xo.random.irwinHall(n);return function(){return t()/n}},irwinHall:function(n){return function(){for(var t=0,e=0;n>e;e++)t+=Math.random();return t}}},Xo.scale={};var ls={floor:bt,ceil:bt};Xo.scale.linear=function(){return Hi([0,1],[0,1],fu,!1)};var fs={s:1,g:1,p:1,r:1,e:1};Xo.scale.log=function(){return $i(Xo.scale.linear().domain([0,1]),10,!0,[1,10])};var hs=Xo.format(".0e"),gs={floor:function(n){return-Math.ceil(-n)},ceil:function(n){return-Math.floor(-n)}};Xo.scale.pow=function(){return Bi(Xo.scale.linear(),1,[0,1])},Xo.scale.sqrt=function(){return Xo.scale.pow().exponent(.5)},Xo.scale.ordinal=function(){return Ji([],{t:"range",a:[[]]})},Xo.scale.category10=function(){return Xo.scale.ordinal().range(ps)},Xo.scale.category20=function(){return Xo.scale.ordinal().range(vs)},Xo.scale.category20b=function(){return Xo.scale.ordinal().range(ds)},Xo.scale.category20c=function(){return Xo.scale.ordinal().range(ms)};var ps=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(ht),vs=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(ht),ds=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(ht),ms=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(ht);Xo.scale.quantile=function(){return Gi([],[])},Xo.scale.quantize=function(){return Ki(0,1,[0,1])},Xo.scale.threshold=function(){return Qi([.5],[0,1])
/external/webrtc/talk/media/testdata/
H A Dh264-svc-99-640x360.rtpdump810 `�4��Gh���� k�svx�^���;��.��I�K���h�0��}1�{)��?��� �^���B��E� �����> {6 dtz���%��|���œ>/g��TM�n�P�� ?>�LM�k��;/�E�=�^@��zw��d��O����'g���m���z�����Q:+����H�̑h�O|M� ��������G�>~ƾ7^5g�5�}.'J_��7e��/���d��x�=B�����n��h�٩�PJ��Y|�XX �� =�F�TM��/�j2��ؓy^˂]��#E���q���_��=?G��M�ɋ�t��ޡoJ��Z�M�'��:�KQ=�$���-?k�a�,��~X����k>`���'��b���'GƵ�)��x�/nO��T]-Bdο�z.'�����夑�֭�_?@�E�q1,���q;|z��z�>x'�|��z��n�~y���x�.%�ҧ�|Wo�,+ק��X�⻟����`�G~��F�}���Z6�d\Ȑc%�밉��f��f��֢rH��g����g �Or� 8��gA=������o-��C����n��@umאc%��A��f��f��ֹ5rI8>��G��.��G !�Or��x�h�\.��G $!A=��@A������,�"�&�f?�w�~|���א�%��A��f��f��ֹSrJ8>�G���4�GA2� �ז�%q6pZ|!+���v 8�w9K��u�C2��KP�\�cq�IL^=۩�W<�]�}l�vk����|�e�|K�-=OG�sђղ�fzj&0��O��)�f���V�xb7���n��i�F�v�1��������\��6d�Yq#�h�S�bbb�xF$`��˜�A��~����`�L�����)cO�4�t雨.����sX�|�@�4�G�܀nc^Xzi,�^O F�x�U���O����f�Uc�� ��o/�x#���J��gf��j5y?�@[9��#���TO5ĖOA�#BgF����|���xޘ�]Q��^x��c�#��5�]1|� e��C��5I
1441 �Z� �>����vRf��-x�/��U�Vo�RK4OG���=�1�?�G�m�_,���|��X�xU�x_��z�Ln�k��G��ǯ������NX�~/��h�Z���o���W��P�`#C����kr�<�����k�����KQ}�E�M����{��7�>�ix�..�"���C����y(��~Q�/�b�:.O~o@�����=��\m/�z-~��7����V������w�{y>���O�����O��^�}"E�.{^�r�~�|� >�/ ���/O��&��r�����G`U�M{;D+������E������񽚉���ɞ�ؾ iz|�_��u�u�>'����=l��;VMv�tM��f��\�axF���܅�'`�'���U�`l}O����E�Tz����:.x���� tu��z�c�.S����ខx�3/�xg��.߽��!!�^r�d6e'�Â^��'G��m�Qs���$O�f���a��bR�!�f� �ՎH���/���?���î>%�~��� ���D���_��}�ˇrkx� _|���K[6?����x7� N���cl�~��7��P?��^�H��w�Z�"�~���Y�>��>�c��SN�Rg�?��E���O�2;n�S��+�Y�2š�������񽄣w�v���!Sñ���]U��c%�����f��fI��<�r���g� ���g пh���8��gB�Z@W��F�Dw��@�z���%�����f��f("��T+r��g� � �g�/� ~B^X{����x�� 3�K��@(/�g��/� ~B^Xx.޷W�HĽ�"�F���t��0Q�W��k�̃c[��c%��a��f��f("��T9r�8>��G� �.��G !пh�KHl.��G !B�- &��MK7q�;�i���@�|���%��a��f��f("��TEr�8>�G� �q4�G�/� d%凂��4��J�5+�+�+J�/ �D�鼫�{{H*��y%d1<4�o�ݙk�@�$5q����8�/OӞxg^u������`I.PK��8"|u��B�p�4�G��/� d%凂����:�?�#����H�i���b8+��f+�%�[�V,h@��kN��֌����o�_��7���?�xe�����E��c�������M��� ��(�������p�����HM�60��p"���l�s��'�6���)��Jİ#��[�Aǯ� D��?��H�t /���^.���������j_�����g��]�6�����7� c<;)~V�z���v瞰�w��x~C�37s���ư-L���?u"#ağ�9��_�[ӡ�j| �߉����_��!��6i�x��Z&^�9�Ӂ��/4H��iWB���B�FF��l^C�xW��Z3�{<��ǯ��0$�����dh�}�|>�m6?N=��b�/马�U ��\�=K���v�t�����~vA�N��J$.a9\�X;',�����kSA�_W��c%����f��f���r���g� ���g���K���g/C��A4�.��s������%����f��f��Sr��g� ���g��1� ����O~���t�E��k0��~-qs�he�'~�#�{D�m�:8�_�x ����8i��d�΀p���2��z|��<���0�E�~6^�$<m��Sc�(����4������RE�ہ �"rKёp����Xټ�D�E�-Ϻ����D����9��J���~ OO�(�@�:%�6u1����$}���t@��g�1� �����G�!~}����zA��0Y�P0�^?<�P�nO�;�6��C �16�8��Ѩ��zs�7����񲰳�"�;��TJ���F,�kPG� ,���8Eq%2is>�"zh�_D��!���\��-�I�Ə��;���*�?�<4��c%�����f��f����lr�8>��� �.�� ]!��Jςv���C�/G�'�.�/&���.���|~�� ���I`�
2013 _� ��dgk�7��6=�j���?��P��1�Dat`���L�]���:/�籧�����)`pbxx<�� ��G�1�Ψ��h�� r�|���R#���O�p|����?w�Z�μ�”9����c&�q��f��f ���r�8>����.�� �!���+:�� y�Sr�o߹s���UZ�! �vSi��[��"���=x�����"���M>/�����'5����6N�UZ�ؾߎ$+nG�\�Q��.���ٿ��e���3'2�El&�Q�-�a5�A;���>H��:;���ͷ)�Q0���]�? �T �\�� �/��o�Ko�猯� O��f�>_�� ��_�gx�^�~�7ouS?�D��9o�nU4Ղ'�Ρs\��L��ʟ������?PD�z�E-7�J�G����;�7��T�=���߉�k�����5�_���Q���Rz�Or��#߫3&~+���Г��G6�%�[�p���� ��Ze揀y��~ ��w�������� �E�����s���_��Z��ӷ������
3931 �d%Ջ�3���)�](�w�Y�'��O�y�.��G T!F}������ީM�����_M=�x��Wt��E���u�+�W6F*Nz�?�_O��}k���p^L���,WX��ʪ|$F&sk^��&����f��fN� �rR8>�G��&4�GA2��b^X{m#j�V�i�t�xӉ���= @4�G�g� �ya���)!6�Z�V��tl^�c&���Q��f��fN� �SrS��g����g"Ѧ�@U��Q�D� �3�I`��vG��Z�^[�2��gF�?!=Z �f�w8g.�UM^��&���Q��f��fN� �drT�g���g��i��
5420 B:��Sr �]H�d�,��H{�F��/�:df~��m�D�0� ������x��Sm��� ���*���A��Ka��?0��I_&sw����hfSWr��WF̆r6����� �d"
5513 u����1�뺮��@����c'G�aI��f��fۦ'�r�8>�G�%��4�GF2%��0e凉�?�������OG��,���~�׉�X��'�N��&��pG���2۽+�3��f�rCc8*y�G�����YP+�b�<S��$Sr~O��H�KJ
6189 K|�Sr�������E�I���C�nV"~/����� &���1��6��� �_�5��{��ׂ�\�s 4�oϟ-x��$��4�� ����:���@̧�Y�a��s2*�i8�=<0ɇ� ,b���oI�˚��=yw~�ӥ�7Yr���g�ig��sLq5P������X�Vq㰖�Nm��! ���[�WA�(�����k7c�ؿO3���O��O�껂<�ֺ]�+\H���M��~:!Xl�N}U�WZ�7I���k��r��6*{W�ὁ�Xl�Q:Ѕ�����l��p;��œ�i�w ��&::w��Sw}�ⷸ@=[p�8
10193 趢���SaY+��c(�����f��f0�r�qr��g�C���g �?h������g�C����N��wV�N��^�3R@h`+���(�����f��f0�r�Mr��g�C���g�� ^ E净�].W=ML��}M�躎��i \l��ǯ|NO�&ȗ�Sr���� h�M� ��mUF�8Q� �m"���[i���U�z�[m�Bݞ'=1�%�s�9c��\�|y3h��� �H��gC�C���ya���i���+�ό󓴒7��4��$�;+�]Ɠ6�ǯ�+H]t��� �%�9��l�3����y#yp�3����F��+TKz��������tDX���
11185 �,qۄ}����Y�c�}��>��"0y������w����~��:����M���5�U��)���SX�7���$��C�\��١�?a���F�ܶ�#�e4s�r�?�����q�+�`J��o` �|$���{�w�} � �myz?ׯ�n�:Gs� xT��t��Sߍ�ߧ�Sr��x����&+���+���·|P' �t��!�g-#�-|U����{��|�p�#��Pp���9�H��/��c)?�XY��f��fئ�nhr�8>��J��4�ܧh���`�����P�;CCLX�Ē+��F���ৗ��X�#���d�����J�֝n����}ۉ������{]*[����t���t�G��|{b8�?6�� ��#J�
13140 4�I|o���F6���K�4g�íd' ������'���@G*�c�j~\4K=�u�#�s�w�����;߇��u�� >έ;W���g�ч�ҫ45;ᖚ\3҇B��o�E�c����C&s]���X�Pּ�:n�w|}��E�<2T�%��Y��;C排Sr
[all...]
/external/v8/test/mjsunit/asm/sqlite3/
H A Dsqlite-change-heap.js6 function cs(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,q=0,t=0,u=0,v=0,w=0,x=0;x=r;r=r+16|0;if((r|0)>=(s|0))ka();u=x;v=x+8|0;k[v>>2]=0;a:do if(!b){k[e>>2]=0;f=0}else{g=i[b>>0]|0;if(g<<24>>24==-98)do{b=k[b+12>>2]|0;g=i[b>>0]|0}while(g<<24>>24==-98);if(g<<24>>24==-97)n=l[b+38>>0]|0;else n=g&255;if((n|0)==157){b=k[b+12>>2]|0;n=i[b>>0]|0;if((n&-2)<<24>>24==-124){h=-1;g=-1;t=n&255;n=26016;w=12}else w=30}else if((n|0)==38){h=ar(k[b+8>>2]|0,0)|0;f=cs(a,k[b+12>>2]|0,c,h,e)|0;g=k[e>>2]|0;if(!g)break;lm(g,h,1);km(k[e>>2]|0,d,1);break}else{h=1;g=0;t=n;n=10360;w=12}b:do if((w|0)==12){c:do switch(t|0){case 97:case 132:case 133:{f=rh(a,40,0)|0;if(!f){k[v>>2]=f;break c}o=f+0|0;q=o+40|0;do{i[o>>0]=0;o=o+1|0}while((o|0)<(q|0));j[f+8>>1]=1;k[f+32>>2]=a;k[v>>2]=f;do if(!(k[b+4>>2]&1024)){h=k[b+8>>2]|0;k[u>>2]=n;k[u+4>>2]=h;h=zh(a,19456,u)|0;if(!h)break c;if(f)ah(f,h,-1,1,75)|0}else{n=k[b+8>>2]|0;n=xw(n|0,((n|0)<0)<<31>>31|0,h|0,g|0)|0;h=L;b=f+8|0;if(!(j[b>>1]&9312)){v=f;k[v>>2]=n;k[v+4>>2]=h;j[b>>1]=4;break}else{ch(f,n,h);break}}while(0);if((t&-2|0)==132&d<<24>>24==65)km(f,67,1);else km(f,d,1);g=f+8|0;b=m[g>>1]|0;if(b&12)j[g>>1]=b&65533;if(c<<24>>24==1){g=f;f=0;break b}g=f;f=bm(f,c&255)|0;break b}case 101:{f=rh(a,40,0)|0;if(!f){k[v>>2]=f;break c}else{o=f+0|0;q=o+40|0;do{i[o>>0]=0;o=o+1|0}while((o|0)<(q|0));j[f+8>>1]=1;k[f+32>>2]=a;k[v>>2]=f;g=f;f=0;break b}}case 157:{b=k[b+12>>2]|0;w=30;break b}case 134:{f=rh(a,40,0)|0;if(!f){k[v>>2]=f;break c}o=f+0|0;q=o+40|0;do{i[o>>0]=0;o=o+1|0}while((o|0)<(q|0));j[f+8>>1]=1;k[f+32>>2]=a;k[v>>2]=f;g=(k[b+8>>2]|0)+2|0;b=g;while(1)if(!(i[b>>0]|0))break;else b=b+1|0;v=(b-g&1073741823)+-1|0;ah(f,bu(a,g,v)|0,(v|0)/2|0,0,75)|0;g=f;f=0;break b}default:{g=0;f=0;break b}}while(0);i[a+65>>0]=1;rg(a,0);Rh(f);f=7;break a}while(0);if((w|0)==30){u=(cs(a,b,c,d,v)|0)==0;g=k[v>>2]|0;if(u&(g|0)!=0){tp(g);h=g+8|0;b=j[h>>1]|0;do if(!(b&8)){n=g;f=k[n>>2]|0;n=k[n+4>>2]|0;if((f|0)==0&(n|0)==-2147483648){p[g>>3]=9223372036854775808.0;j[h>>1]=b&48640|8;break}else{u=iw(0,0,f|0,n|0)|0;v=g;k[v>>2]=u;k[v+4>>2]=L;break}}else p[g>>3]=-+p[g>>3];while(0);km(g,d,c);f=0}else f=0}k[e>>2]=g}while(0);r=x;return f|0}function ds(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;do if((b|0)!=0?(e=a+19|0,f=i[e>>0]|0,(f&255)<8):0){d=0;c=a+116|0;while(1){if((k[c+12>>2]|0)==(b|0)){d=5;break}d=d+1|0;if((d|0)>=10){d=7;break}else c=c+20|0}if((d|0)==5){i[c+6>>0]=1;break}else if((d|0)==7){i[e>>0]=f+1<<24>>24;k[a+((f&255)<<2)+24>>2]=b;break}}while(0);return}function es(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+32|0;if((r|0)>=(s|0))ka();l=m;c=a+484|0;h=k[c>>2]|0;j=k[a>>2]|0;do if((h|0)!=0?(gs(a),k[a+512>>2]=0,(k[h+52>>2]|0)>=1):0){if(i[j+145>>0]|0)if(!(Nk((k[h+68>>2]|0)+8|0,k[h>>2]|0,h)|0)){k[c>>2]=0;break}else{i[j+65>>0]=1;break}if(b)k[a+500>>2]=(k[b>>2]|0)-(k[a+496>>2]|0)+(k[b+4>>2]|0);k[l>>2]=a+496;g=zh(j,25256,l)|0;b=k[h+68>>2]|0;a:do if(b){d=k[j+20>>2]|0;if((d|0)>0){e=k[j+16>>2]|0;f=0;while(1){c=f+1|0;if((k[e+(f<<4)+12>>2]|0)==(b|0)){c=f;break a}if((c|0)<(d|0))f=c;else break}}else c=0}else c=-1e6;while(0);e=k[h>>2]|0;f=k[a+384>>2]|0;k[l>>2]=k[(k[j+16>>2]|0)+(c<<4)>>2];k[l+4>>2]=(c|0)==1?13184:13208;k[l+8>>2]=e;k[l+12>>2]=e;k[l+16>>2]=g;k[l+20>>2]=f;Gr(a,25280,l);rg(j,g);g=Tq(a)|0;Ir(a,c);Bh(g,144,0,0,0)|0;k[l>>2]=k[h>>2];Nr(g,c,zh(j,25368,l)|0);a=a+72|0;l=(k[a>>2]|0)+1|0;k[a>>2]=l;a=k[h>>2]|0;Ch(g,Bh(g,97,0,l,0)|0,a,0);Bh(g,147,c,l,0)|0}while(0);r=m;return}function fs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=b+52|0;h=k[g>>2]|0;d=h+1|0;k[g>>2]=d;f=(h<<2)+8|0;e=b+56|0;f=wo(a,k[e>>2]|0,f,((f|0)<0)<<31>>31)|0;if(!f){if((h|0)>0){b=0;do{rg(a,k[(k[e>>2]|0)+(b<<2)>>2]|0);b=b+1|0}while((b|0)!=(h|0))}rg(a,c);rg(a,k[e>>2]|0);k[g>>2]=0}else{k[f+(h<<2)>>2]=c;k[f+(d<<2)>>2]=0}k[e>>2]=f;return}function gs(a){a=a|0;var b=0,c=0,d=0,e=0;b=k[a+512>>2]|0;if((b|0)!=0?(e=k[a+484>>2]|0,(e|0)!=0):0){c=k[a+516>>2]|0;d=k[a>>2]|0;a=ow(c|0,((c|0)<0)<<31>>31|0,1,0)|0;a=rh(d,a,L)|0;if(!a)a=0;else{pw(a|0,b|0,c|0)|0;i[a+c>>0]=0}fs(d,e,a)}return}function hs(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,j=0,l=0,m=0;m=r;r=r+16|0;if((r|0)>=(s|0))ka();h=m;j=k[a>>2]|0;l=$q(j,c)|0;g=(b|0)!=0;if((l|0)!=0&g?(f=k[b>>2]|0,(f|0)>0):0){c=f;f=0;do{if(!(id(l,k[b+(f<<4)+8>>2]|0)|0)){k[h>>2]=l;yh(a,25184,h);c=k[b>>2]|0}f=f+1|0}while((f|0)<(c|0))}if(g){f=(k[b>>2]<<4)+24|0;f=wo(j,b,f,((f|0)<0)<<31>>31)|0;if(!f)c=10;else{b=f;c=11}}else{c=rh(j,24,0)|0;if(!c)c=10;else{f=c+0|0;b=f+24|0;do{i[f>>0]=0;f=f+1|0}while((f|0)<(b|0));b=c;c=11}}if((c|0)==10){Sk(j,d);Rk(j,e,1);rg(j,l)}else if((c|0)==11){j=b+8|0;k[j+(k[b>>2]<<4)+8>>2]=e;e=k[b>>2]|0;k[j+(e<<4)+4>>2]=d;k[j+(e<<4)>>2]=l;k[j+(e<<4)+12>>2]=0;k[b>>2]=e+1}r=m;return b|0}function is(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+96|0;if((r|0)>=(s|0))ka();h=j+48|0;c=j;d=k[k[a+32>>2]>>2]|0;e=h+0|0;f=d+0|0;g=e+48|0;do{i[e>>0]=i[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));if((i[a+43>>0]|0)!=2){e=k[a+4>>2]|0;hc[k[(k[e>>2]|0)+60>>2]&31](e)}e=c+0|0;f=d+48|0;g=e+48|0;do{i[e>>0]=i[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));if((cw(h,c,48)|0)==0?(i[h+12>>0]|0)!=0:0){f=h+40|0;g=h;d=0;c=0;do{d=d+c+(k[g>>2]|0)|0;c=d+c+(k[g+4>>2]|0)|0;g=g+8|0}while(g>>>0<f>>>0);if((d|0)==(k[f>>2]|0)?(c|0)==(k[h+44>>2]|0):0){c=a+52|0;if(!(cw(c,h,48)|0))c=0;else{k[b>>2]=1;e=c+0|0;f=h+0|0;g=e+48|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(g|0));c=m[a+66>>1]|0;k[a+36>>2]=c<<16&65536|c&65024;c=0}}else c=1}else c=1;r=j;return c|0}function js(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();e=f;b=yc[k[(k[a>>2]|0)+8>>2]&31](a,e,4,b,c)|0;if(!b)k[d>>2]=(l[e+1>>0]|0)<<16|(l[e>>0]|0)<<24|(l[e+2>>0]|0)<<8|(l[e+3>>0]|0);r=f;return b|0}function ks(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(b>>>0<0|(b|0)==0&a>>>0<8)if(b>>>0<0|(b|0)==0&a>>>0<2)a=0;else{c=40;do{c=(c&65535)+65526|0;a=nw(a|0,b|0,1)|0;b=L}while(b>>>0<0|(b|0)==0&a>>>0<8);c=c&65535;e=11}else{if(b>>>0>0|(b|0)==0&a>>>0>255){d=b;c=40;while(1){c=(c&65535)+40|0;e=rw(a|0,d|0,4)|0;b=L;if(d>>>0>0|(d|0)==0&a>>>0>4095){a=e;d=b}else{a=e;break}}c=c&65535}else c=40;if(b>>>0>0|(b|0)==0&a>>>0>15){while(1){c=(c&65535)+10&65535;d=rw(a|0,b|0,1)|0;if(b>>>0>0|(b|0)==0&a>>>0>31){a=d;b=L}else{a=d;break}}e=11}else e=11}if((e|0)==11)a=(c&65535)+65526+(m[13496+((a&7)<<1)>>1]|0)&65535;return a|0}function ls(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,j=0,l=0;j=k[a+408>>2]|0;j=(j|0)==0?a:j;g=j+396|0;f=k[g>>2]|0;h=k[j+400>>2]|0;a:do if((f|0)>0){a=0;while(1){if((k[h+(a<<4)>>2]|0)==(b|0)?(k[h+(a<<4)+4>>2]|0)==(c|0):0)break;a=a+1|0;if((a|0)>=(f|0)){l=8;break a}}a=h+(a<<4)+8|0;if(!(i[a>>0]|0))f=d<<24>>24!=0&1;else f=1;i[a>>0]=f}else l=8;while(0);do if((l|0)==8){a=(f<<4)+16|0;a=$l(k[j>>2]|0,h,a,((a|0)<0)<<31>>31)|0;k[j+400>>2]=a;if(!a){k[g>>2]=0;i[(k[j>>2]|0)+65>>0]=1;break}else{f=k[g>>2]|0;k[g>>2]=f+1;k[a+(f<<4)>>2]=b;k[a+(f<<4)+4>>2]=c;i[a+(f<<4)+8>>0]=d;k[a+(f<<4)+12>>2]=e;break}}while(0);return}function ms(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0;e=j[b+48>>1]|0;h=e&65535;d=m[b+46>>1]|0;l=a+64|0;if(!(k[l>>2]|0)){c=k[a>>2]|0;if(!(i[b+51>>0]&8))g=Ws(c,h,0)|0;else g=Ws(c,d,h-d|0)|0;if(g){if(e<<16>>16){f=b+32|0;b=b+28|0;d=g+16|0;c=0;do{e=k[(k[f>>2]|0)+(c<<2)>>2]|0;if(!(dw(e,11152)|0))e=0;else e=hr(a,e)|0;k[g+(c<<2)+20>>2]=e;i[(k[d>>2]|0)+c>>0]=i[(k[b>>2]|0)+c>>0]|0;c=c+1|0}while((c|0)<(h|0))}c=(k[l>>2]|0)==0;if(!c){c=(k[g>>2]|0)+-1|0;k[g>>2]=c;if(!c){$c(g);c=0}else c=0}else c=c?g:0}else c=0}else c=0;return c|0}function ns(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,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;F=r;r=r+112|0;if((r|0)>=(s|0))ka();A=F;C=F+100|0;D=F+96|0;g=F+48|0;B=k[a+8>>2]|0;k[C>>2]=0;k[D>>2]=0;z=k[a>>2]|0;a:do if(!B)c=0;else{b:do if(!b)E=16;else{o=i[b>>0]|0;n=o&255;do switch(n|0){case 77:case 76:{Bh(B,25,1,c,0)|0;d=Bh(B,n,eu(a,k[b+12>>2]|0,C)|0,0,0)|0;Bh(B,25,0,c,0)|0;e=k[B+32>>2]|0;if(e>>>0>d>>>0)k[(k[B+4>>2]|0)+(d*20|0)+8>>2]=e;k[(k[B+24>>2]|0)+88>>2]=e+-1;break b}case 135:{e=b+32|0;Bh(B,31,j[e>>1]|0,c,0)|0;if(!(i[(k[b+8>>2]|0)+1>>0]|0))break b;Ch(B,-1,k[(k[a+472>>2]|0)+((j[e>>1]|0)+-1<<2)>>2]|0,-2);break b}case 148:case 73:{y=b+12|0;A=eu(a,k[y>>2]|0,C)|0;z=b+16|0;B=eu(a,k[z>>2]|0,D)|0;fu(a,k[y>>2]|0,k[z>>2]|0,o<<24>>24==73?79:78,A,B,c,160);break b}case 133:{du(B,k[b+8>>2]|0,0,c);break b}case 154:break;case 101:{E=16;break b}case 74:{o=k[b+12>>2]|0;h=k[(k[b+20>>2]|0)+4>>2]|0;d=k[h>>2]|0;l=eu(a,o,C)|0;n=eu(a,d,D)|0;g=a+19|0;e=i[g>>0]|0;if(e<<24>>24){A=e+-1<<24>>24;i[g>>0]=A;f=k[a+((A&255)<<2)+24>>2]|0;if(!(A<<24>>24))E=103;else{A=e+-2<<24>>24;i[g>>0]=A;g=k[a+((A&255)<<2)+24>>2]|0}}else{E=a+72|0;f=(k[E>>2]|0)+1|0;k[E>>2]=f;E=103}if((E|0)==103){A=a+72|0;g=(k[A>>2]|0)+1|0;k[A>>2]=g}fu(a,o,d,83,l,n,f,32);A=k[h+20>>2]|0;ds(a,k[D>>2]|0);fu(a,o,A,81,l,eu(a,A,D)|0,g,32);Bh(B,72,f,g,c)|0;ds(a,f);ds(a,g);break b}case 132:{cu(a,b,0,c);break b}case 79:case 78:case 83:case 80:case 81:case 82:{y=b+12|0;A=eu(a,k[y>>2]|0,C)|0;z=b+16|0;B=eu(a,k[z>>2]|0,D)|0;fu(a,k[y>>2]|0,k[z>>2]|0,n,A,B,c,32);break b}case 19:case 96:{Bh(B,n,eu(a,k[b+12>>2]|0,C)|0,c,0)|0;break b}case 158:case 95:{c=ns(a,k[b+12>>2]|0,c)|0;break b}case 62:{d=k[b+44>>2]|0;e=b+32|0;Bh(B,132,(ha((j[d+38>>1]|0)+1|0,k[b+28>>2]|0)|0)+((j[e>>1]|0)+1)|0,c,0)|0;e=j[e>>1]|0;if(e<<16>>16<=-1)break b;if((i[(k[d+4>>2]|0)+((e<<16>>16)*24|0)+21>>0]|0)!=69)break b;Bh(B,39,c,0,0)|0;break b}case 24:{c=ns(a,k[b+12>>2]|0,c)|0;break b}case 155:{e=k[b+40>>2]|0;if(!e){k[A>>2]=k[b+8>>2];yh(a,28936,A);break b}else{c=k[(k[e+40>>2]|0)+(j[b+34>>1]<<4)+8>>2]|0;break b}}case 94:case 88:case 87:case 92:case 86:case 85:case 93:case 90:case 91:case 89:case 71:case 72:{A=eu(a,k[b+12>>2]|0,C)|0;Bh(B,n,eu(a,k[b+16>>2]|0,D)|0,A,c)|0;break b}case 157:{e=b+12|0;d=k[e>>2]|0;f=i[d>>0]|0;if(f<<24>>24==-124){cu(a,d,1,c);break b}else if(f<<24>>24==-123){du(B,k[d+8>>2]|0,1,c);break b}else{i[g>>0]=-124;k[g+4>>2]=17408;k[g+8>>2]=0;A=eu(a,g,C)|0;Bh(B,90,eu(a,k[e>>2]|0,D)|0,A,c)|0;break b}}case 119:case 20:{c=ju(a,b,0,0)|0;break b}case 75:{A=Cs(B)|0;h=Cs(B)|0;Bh(B,28,0,c,0)|0;ku(a,b,A,h);Bh(B,25,1,c,0)|0;e=B+24|0;d=k[e>>2]|0;f=~A;if((A|0)<0?(l=k[d+112>>2]|0,(l|0)!=0):0)k[l+(f<<2)>>2]=k[B+32>>2];g=B+32|0;k[d+88>>2]=(k[g>>2]|0)+-1;Bh(B,37,c,0,0)|0;f=k[e>>2]|0;e=~h;if((h|0)<0?(p=k[f+112>>2]|0,(p|0)!=0):0)k[p+(e<<2)>>2]=k[g>>2];k[f+88>>2]=(k[g>>2]|0)+-1;break b}case 156:{d=k[b+40>>2]|0;e=j[b+34>>1]|0;f=k[d+28>>2]|0;if(!(i[d>>0]|0)){c=k[f+(e*24|0)+16>>2]|0;break b}if(i[d+1>>0]|0){Bh(B,47,k[d+8>>2]|0,k[f+(e*24|0)+12>>2]|0,c)|0;break b}break}case 38:{e=ns(a,k[b+12>>2]|0,c)|0;if((e|0)!=(c|0))Bh(B,34,e,c,0)|0;Bh(B,40,c,(ar(k[b+8>>2]|0,0)|0)<<24>>24,0)|0;it(a,c,1);break b}case 153:{l=i[z+62>>0]|0;x=b+4|0;if((k[x>>2]&16384|0)==0?(h=k[b+20>>2]|0,(h|0)!=0):0){y=k[h>>2]|0;v=1;w=h}else{y=0;v=0;w=0}o=k[b+8>>2]|0;if(!o)n=0;else{n=o;while(1)if(!(i[n>>0]|0))break;else n=n+1|0;n=n-o&1073741823}g=Xh(z,o,n,y,l,0)|0;if((g|0)!=0?(k[g+12>>2]|0)!=0:0){u=g+2|0;h=m[u>>1]|0;if(h&512){g=Cs(B)|0;f=w+4|0;Wq(a,k[k[f>>2]>>2]|0,c);if((y|0)>1){e=a+100|0;d=1;do{Bh(B,77,c,g,0)|0;it(a,c,1);k[e>>2]=(k[e>>2]|0)+1;Wq(a,k[(k[f>>2]|0)+(d*20|0)>>2]|0,c);gu(a);d=d+1|0}while((d|0)!=(y|0))}f=k[B+24>>2]|0;e=~g;if((g|0)<0?(t=k[f+112>>2]|0,(t|0)!=0):0)k[t+(e<<2)>>2]=k[B+32>>2];k[f+88>>2]=(k[B+32>>2]|0)+-1;break b}if(h&1024){Wq(a,k[k[w+4>>2]>>2]|0,c);break b}t=(y|0)>0;if(t){n=w+4|0;l=A+20|0;h=A+4|0;e=A+24|0;o=0;d=0;f=0;do{if((d|0)<32?(b=k[(k[n>>2]|0)+(d*20|0)>>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[A+20>>2]=0,i[l>>0]=1,k[A>>2]=78,k[h>>2]=79,k[e>>2]=0,ws(A,b)|0,(i[l>>0]|0)!=0):0)o=o|1<<d;if(!((j[u>>1]&32)==0|(f|0)!=0))f=hu(a,k[(k[n>>2]|0)+(d*20|0)>>2]|0)|0;d=d+1|0}while((d|0)!=(y|0));p=o}else{p=0;f=0}if(v){do if(!p){n=a+60|0;o=k[n>>2]|0;l=a+56|0;h=k[l>>2]|0;if((h|0)<(y|0)){A=a+72|0;o=k[A>>2]|0;k[A>>2]=o+y;o=o+1|0;break}else{k[n>>2]=o+y;k[l>>2]=h-y;break}}else{A=a+72|0;o=k[A>>2]|0;k[A>>2]=o+y;o=o+1|0}while(0);h=j[u>>1]|0;if((h&192)!=0?(q=k[k[w+4>>2]>>2]|0,A=i[q>>0]|0,A<<24>>24==-100|A<<24>>24==-102):0)i[q+38>>0]=h&192;A=a+100|0;k[A>>2]=(k[A>>2]|0)+1;gt(a,w,o,3);gu(a)}else o=0;if((y|0)>1?(k[x>>2]&128|0)!=0:0)g=iu(z,g,y,k[(k[w+4>>2]|0)+20>>2]|0)|0;else if(t)g=iu(z,g,y,k[k[w+4>>2]>>2]|0)|0;if(j[g+2>>1]&32){if(!f)f=k[z+8>>2]|0;Ch(B,Bh(B,36,0,0,0)|0,f,-4)}Ch(B,Bh(B,1,p,o,c)|0,g,-5);f=k[B+4>>2]|0;if(f)i[f+(((k[B+32>>2]|0)+-1|0)*20|0)+3>>0]=y;if(!((y|0)!=0&(p|0)==0))break b;it(a,o,y);e=a+56|0;if((k[e>>2]|0)>=(y|0))break b;k[e>>2]=y;k[a+60>>2]=o;break b}k[A>>2]=n;k[A+4>>2]=o;yh(a,28968,A);break b}case 159:{c=k[b+28>>2]|0;break b}case 134:{d=(k[b+8>>2]|0)+2|0;e=d;while(1)if(!(i[e>>0]|0))break;else e=e+1|0;z=(e-d&1073741823)+-1|0;A=bu(k[B>>2]|0,d,z)|0;Ch(B,Bh(B,30,(z|0)/2|0,c,0)|0,A,-1);break b}case 57:{if(!(k[a+412>>2]|0)){yh(a,29e3,A);c=0;break a}f=i[b+1>>0]|0;if(f<<24>>24!=2){d=k[b+8>>2]|0;if(f<<24>>24==4){Ch(B,Bh(B,24,0,4,0)|0,d,0);break b}}else{d=k[a+408>>2]|0;i[((d|0)==0?a:d)+21>>0]=1;d=k[b+8>>2]|0}Es(a,1811,f<<24>>24,d,0,0);break b}case 97:{A=k[b+8>>2]|0;Ch(B,Bh(B,97,0,c,0)|0,A,0);break b}default:{u=k[b+20>>2]|0;q=u+4|0;t=k[q>>2]|0;u=k[u>>2]|0;v=Cs(B)|0;o=k[b+12>>2]|0;b=(o|0)!=0;if(b){n=g+0|0;l=o+0|0;h=n+48|0;do{k[n>>2]=k[l>>2];n=n+4|0;l=l+4|0}while((n|0)<(h|0));o=eu(a,o,C)|0;i[g+38>>0]=i[g>>0]|0;i[g>>0]=-97;k[g+28>>2]=o;o=g+4|0;k[o>>2]=k[o>>2]&-4097;i[A>>0]=79;k[A+12>>2]=g;k[C>>2]=0;o=A}else o=0;p=u+-1|0;if((p|0)>0){d=a+100|0;h=A+16|0;g=B+24|0;f=B+32|0;e=0;n=o;while(1){k[d>>2]=(k[d>>2]|0)+1;o=k[t+(e*20|0)>>2]|0;if(b){k[h>>2]=o;o=n}A=Cs(B)|0;lt(a,o,A,16);Wq(a,k[t+((e|1)*20|0)>>2]|0,c);Bh(B,16,0,v,0)|0;gu(a);n=k[g>>2]|0;l=~A;if((A|0)<0?(w=k[n+112>>2]|0,(w|0)!=0):0)k[w+(l<<2)>>2]=k[f>>2];k[n+88>>2]=(k[f>>2]|0)+-1;e=e+2|0;if((e|0)>=(p|0))break;else n=o}}if(!(u&1))Bh(B,28,0,c,0)|0;else{A=a+100|0;k[A>>2]=(k[A>>2]|0)+1;Wq(a,k[(k[q>>2]|0)+(p*20|0)>>2]|0,c);gu(a)}f=k[B+24>>2]|0;e=~v;if((v|0)<0?(x=k[f+112>>2]|0,(x|0)!=0):0)k[x+(e<<2)>>2]=k[B+32>>2];k[f+88>>2]=(k[B+32>>2]|0)+-1;break b}}while(0);d=k[b+28>>2]|0;do if((d|0)<0){d=k[a+92>>2]|0;if((d|0)>0){c=(j[b+32>>1]|0)+d|0;break b}else{d=k[a+96>>2]|0;break}}while(0);c=ht(a,k[b+44>>2]|0,j[b+32>>1]|0,d,c,i[b+38>>0]|0)|0}while(0);if((E|0)==16)Bh(B,28,0,c,0)|0;ds(a,k[C>>2]|0);ds(a,k[D>>2]|0)}while(0);r=F;return c|0}function os(a,b){a=a|0;b=b|0;var c=0;c=Tq(a)|0;ls(a,b,1,1,(b|0)==1?13184:13208);Ch(c,Bh(c,55,0,1,b)|0,5,-14);b=a+68|0;if(!(k[b>>2]|0))k[b>>2]=1;return}function ps(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=b+48|0;if((m[d>>1]|0|0)<(c|0)){e=c*7|0;a=rh(a,e,((e|0)<0)<<31>>31)|0;if(!a)a=7;else{kw(a|0,0,e|0)|0;f=b+32|0;pw(a|0,k[f>>2]|0,(m[d>>1]|0)<<2|0)|0;k[f>>2]=a;f=a+(c<<2)|0;e=b+4|0;pw(f|0,k[e>>2]|0,(m[d>>1]|0)<<1|0)|0;k[e>>2]=f;e=a+(c*6|0)|0;a=b+28|0;pw(e|0,k[a>>2]|0,m[d>>1]|0|0)|0;k[a>>2]=e;j[d>>1]=c;a=b+51|0;i[a>>0]=i[a>>0]|16;a=0}}else a=0;return a|0}function qs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0;n=r;r=r+32|0;if((r|0)>=(s|0))ka();f=n;l=n+4|0;do if(!b)c=0;else{g=k[a>>2]|0;i=b+24|0;e=g+460|0;d=(k[e>>2]|0)+(k[i>>2]|0)|0;c=k[(k[g>>2]|0)+100>>2]|0;if((c|0)<(d|0)){k[f>>2]=c;yh(g,27152,f);c=1;break}k[e>>2]=d;f=a+28|0;e=m[f>>1]|0;h=e&4098;j[f>>1]=e&61437;k[l+0>>2]=0;k[l+4>>2]=0;k[l+8>>2]=0;k[l+12>>2]=0;k[l+16>>2]=0;k[l+20>>2]=0;k[l>>2]=82;k[l+4>>2]=83;e=l+12|0;k[e>>2]=g;k[l+24>>2]=a;ws(l,b)|0;l=(k[a>>2]|0)+460|0;k[l>>2]=(k[l>>2]|0)-(k[i>>2]|0);if(!((k[a+24>>2]|0)<=0?(k[(k[e>>2]|0)+64>>2]|0)<=0:0)){l=b+4|0;k[l>>2]=k[l>>2]|8}e=j[f>>1]|0;d=b+4|0;c=k[d>>2]|0;if(e&2){c=c|2;k[d>>2]=c}j[f>>1]=e&65535|h;c=c>>>3&1}while(0);r=n;return c|0}function rs(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=k[(k[a+12>>2]|0)+4>>2]|0;c=j[a+48>>1]|0;if(!(c<<16>>16)){b=0;c=0}else{g=k[a+4>>2]|0;d=c&65535;e=0;b=0;do{c=j[g+(e<<1)>>1]|0;if(c<<16>>16<0)c=1;else c=l[f+((c<<16>>16)*24|0)+22>>0]|0;b=c+b|0;e=e+1|0}while((e|0)<(d|0));b=b<<2;c=0}b=ks(b,c)|0;j[a+44>>1]=b;return}function ss(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=k[a>>2]|0;d=g+24|0;f=k[d>>2]|0;k[d>>2]=f&-97|64;Is(a,b,0);if(!(k[a+64>>2]|0)){while(1){c=k[b+52>>2]|0;if(!c){e=b;break}else b=c}k[d>>2]=f;b=rh(g,76,0)|0;if(b){c=b+0|0;d=c+76|0;do{i[c>>0]=0;c=c+1|0}while((c|0)<(d|0));j[b+40>>1]=1;k[b>>2]=0;j[b+28>>1]=200;nu(a,k[e>>2]|0,b+38|0,b+4|0);ou(a,b,e);j[b+36>>1]=-1;if(i[g+65>>0]|0){pg(g,b);b=0}}else b=0}else b=0;return b|0}function ts(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;d=k[b>>2]|0;e=i[c>>0]|0;a:do if(!(e<<24>>24)){g=0;f=0}else{g=e;h=0;while(1){f=h+1|0;if(!(g<<24>>24==95?1:(i[10368+(g&255)>>0]&6)!=0)){f=h;break a}g=i[c+f>>0]|0;if(!(g<<24>>24)){g=0;break}else h=f}}while(0);if((((e&255)+-48|0)>>>0>=10?(ki(c,f)|0)==27:0)?!((f|0)==0|g<<24>>24!=0):0)j=0;else{i[a+d>>0]=34;j=1;e=i[c>>0]|0;d=d+1|0}if(e<<24>>24){f=c;h=0;do{g=d+1|0;i[a+d>>0]=e;if((i[f>>0]|0)==34){i[a+g>>0]=34;d=d+2|0}else d=g;h=h+1|0;f=c+h|0;e=i[f>>0]|0}while(e<<24>>24!=0)}if(j){i[a+d>>0]=34;d=d+1|0}i[a+d>>0]=0;k[b>>2]=d;return}function us(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+20|0;d=i[c>>0]|0;if(d<<24>>24==2?(k[b+4>>2]&1|0)!=0:0){i[c>>0]=0;c=2}else e=4;a:do if((e|0)==4)switch(l[b>>0]|0|0){case 135:if(d<<24>>24==4){i[c>>0]=0;c=2;break a}else if(d<<24>>24==5){i[b>>0]=101;c=0;break a}else{c=0;break a}case 153:{if((d&255)>3){c=0;break a}if(k[b+4>>2]&524288){c=0;break a}i[c>>0]=0;c=2;break a}case 156:case 155:case 154:case 27:{if(d<<24>>24==3?(k[b+28>>2]|0)==(k[a+24>>2]|0):0){c=0;break a}i[c>>0]=0;c=2;break a}default:{c=0;break a}}while(0);return c|0}function vs(a,b){a=a|0;b=b|0;i[a+20>>0]=0;return 2}function ws(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if(!b)b=0;else{c=wc[k[a>>2]&127](a,b)|0;do if((c|0)==0?(d=b+4|0,(k[d>>2]&16384|0)==0):0){if(ws(a,k[b+12>>2]|0)|0){b=2;break a}if(ws(a,k[b+16>>2]|0)|0){b=2;break a}b=b+20|0;if(!(k[d>>2]&2048))if(!(qu(a,k[b>>2]|0)|0))break;else{b=2;break a}else if(!(pu(a,k[b>>2]|0)|0))break;else{b=2;break a}}while(0);b=c&2}while(0);return b|0}function xs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;do if(b){if(c){if((ru(b)|0)==0?(ru(c)|0)==0:0){d=rh(a,48,0)|0;if(d){e=d+0|0;f=e+48|0;do{i[e>>0]=0;e=e+1|0}while((e|0)<(f|0));i[d>>0]=72;j[d+34>>1]=-1;k[d+24>>2]=1}ys(a,d,b,c);b=d;break}Lk(a,b);Lk(a,c);b=sr(a,132,20616,0)|0}}else b=c;while(0);return b|0}function ys(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!b){Lk(a,c);Lk(a,d)}else{if(d){k[b+16>>2]=d;a=b+4|0;k[a>>2]=k[a>>2]|k[d+4>>2]&2097408}if(c){k[b+12>>2]=c;a=b+4|0;k[a>>2]=k[a>>2]|k[c+4>>2]&2097408}Nt(b)}return}function zs(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,l=0;f=b<<16>>16;h=(f<<2)+63&-8;i=f<<1;l=i+2|0;g=(f+7+i+l&-8)+h|0;e=g+c|0;c=rh(a,e,((e|0)<0)<<31>>31)|0;if(c){kw(c|0,0,e|0)|0;k[c+32>>2]=c+56;k[c+8>>2]=c+h;e=h+l|0;k[c+4>>2]=c+e;k[c+28>>2]=c+(e+i);j[c+48>>1]=b;j[c+46>>1]=f+65535;k[d>>2]=c+g}return c|0}function As(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,l=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();t=z;n=k[b+12>>2]|0;l=a+68|0;w=k[l>>2]|0;y=w+1|0;k[l>>2]=w+2;j=k[a>>2]|0;g=k[b+24>>2]|0;a:do if(g){e=k[j+20>>2]|0;if((e|0)>0){d=k[j+16>>2]|0;h=0;while(1){f=h+1|0;if((k[d+(h<<4)+12>>2]|0)==(g|0)){f=h;break a}if((f|0)<(e|0))h=f;else break}}else f=0}else f=-1e6;while(0);if((Xq(a,27,k[b>>2]|0,0,k[(k[j+16>>2]|0)+(f<<4)>>2]|0)|0)==0?(ls(a,f,k[n+32>>2]|0,1,k[n>>2]|0),x=Tq(a)|0,(x|0)!=0):0){if((c|0)>-1)o=c;else o=k[b+40>>2]|0;u=ms(a,b)|0;v=k[l>>2]|0;k[l>>2]=v+1;q=b+46|0;e=m[q>>1]|0;if(u)k[u>>2]=(k[u>>2]|0)+1;Ch(x,Bh(x,58,v,0,e)|0,u,-6);Vq(a,w,f,n,54);j=Bh(x,108,w,0,0)|0;e=a+19|0;d=i[e>>0]|0;if(!(d<<24>>24)){n=a+72|0;p=(k[n>>2]|0)+1|0;k[n>>2]=p}else{p=d+-1<<24>>24;i[e>>0]=p;p=k[a+((p&255)<<2)+24>>2]|0}Ut(a,b,w,p,0,t,0,0)|0;Bh(x,109,v,p,0)|0;Vt(a,k[t>>2]|0);Bh(x,9,w,j+1|0,0)|0;n=x+32|0;h=k[n>>2]|0;if(h>>>0>j>>>0)k[(k[x+4>>2]|0)+(j*20|0)+8>>2]=h;g=x+24|0;k[(k[g>>2]|0)+88>>2]=h+-1;if((c|0)<0)Bh(x,118,o,f,0)|0;Ch(x,Bh(x,55,y,o,f)|0,u,-6);l=x+4|0;e=k[l>>2]|0;if(e)i[e+(((k[n>>2]|0)+-1|0)*20|0)+3>>0]=(c>>31)+4&252|1;j=Bh(x,106,v,0,0)|0;e=k[n>>2]|0;if((i[b+50>>0]|0)!=0&(u|0)!=0){h=e+3|0;Bh(x,16,0,h,0)|0;e=k[n>>2]|0;o=m[q>>1]|0;Ch(x,Bh(x,99,v,h,p)|0,o,-14);su(a,2,b)}Bh(x,100,v,p,y)|0;Bh(x,110,y,p,1)|0;d=k[l>>2]|0;if(d)i[d+(((k[n>>2]|0)+-1|0)*20|0)+3>>0]=16;ds(a,p);Bh(x,5,v,e,0)|0;d=k[n>>2]|0;if(d>>>0>j>>>0)k[(k[l>>2]|0)+(j*20|0)+8>>2]=d;k[(k[g>>2]|0)+88>>2]=d+-1;Bh(x,61,w,0,0)|0;Bh(x,61,y,0,0)|0;Bh(x,61,v,0,0)|0}r=z;return}function Bs(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,m=0,n=0,o=0,p=0;p=r;r=r+16|0;if((r|0)>=(s|0))ka();o=p;n=k[a>>2]|0;if(!c){c=bo(n,b,d,0)|0;if(!c)h=4;else h=3}else h=3;if((h|0)==3)if(!(k[c+12>>2]|0))h=4;else h=14;if((h|0)==4){f=b&255;e=n+224|0;if(k[e>>2]|0){g=ph(n,d)|0;if(g){vc[k[e>>2]&15](k[n+232>>2]|0,n,f,g);rg(n,g);h=7}}else h=7;if((h|0)==7?(m=n+228|0,(k[m>>2]|0)!=0):0){e=rh(n,40,0)|0;if(!e)e=0;else{g=e+0|0;f=g+40|0;do{i[g>>0]=0;g=g+1|0}while((g|0)<(f|0));j[e+8>>1]=1;k[e+32>>2]=n;ah(e,d,-1,1,0)|0}c=Xg(e,2)|0;if(c)vc[k[m>>2]&15](k[n+232>>2]|0,n,l[n+62>>0]|0,c);Rh(e)}c=bo(n,b,d,0)|0;if(!c)h=19;else h=14}a:do if((h|0)==14)if(!(k[c+12>>2]|0)){f=k[c>>2]|0;g=0;while(1){e=bo(n,i[26816+g>>0]|0,f,0)|0;g=g+1|0;if(k[e+12>>2]|0)break;if((g|0)>=3){h=19;break a}}k[c+0>>2]=k[e+0>>2];k[c+4>>2]=k[e+4>>2];k[c+8>>2]=k[e+8>>2];k[c+12>>2]=k[e+12>>2];k[c+16>>2]=0}while(0);if((h|0)==19){k[o>>2]=d;yh(a,26784,o);c=0}r=p;return c|0}function Cs(a){a=a|0;var b=0,c=0;a=k[a+24>>2]|0;c=a+108|0;b=k[c>>2]|0;k[c>>2]=b+1;if(!(b+-1&b)){c=a+112|0;a=$l(k[a>>2]|0,k[c>>2]|0,b<<3|4,0)|0;k[c>>2]=a}else a=k[a+112>>2]|0;if(a)k[a+(b<<2)>>2]=-1;return ~b|0}function Ds(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;if(b){d=k[b>>2]|0;if((d|0)>0){e=(d*72|0)+8|0;d=e;e=((e|0)<0)<<31>>31}else{d=80;e=0}d=rh(a,d,e)|0;if(d){e=k[b>>2]|0;k[d+4>>2]=e;k[d>>2]=e;if((k[b>>2]|0)>0){e=d+8|0;g=0;do{k[e+(g*72|0)>>2]=k[b+(g*72|0)+8>>2];h=ph(a,k[b+(g*72|0)+12>>2]|0)|0;k[e+(g*72|0)+4>>2]=h;h=ph(a,k[b+(g*72|0)+16>>2]|0)|0;k[e+(g*72|0)+8>>2]=h;h=ph(a,k[b+(g*72|0)+20>>2]|0)|0;k[e+(g*72|0)+12>>2]=h;i[e+(g*72|0)+36>>0]=i[b+(g*72|0)+44>>0]|0;k[e+(g*72|0)+40>>2]=k[b+(g*72|0)+48>>2];k[e+(g*72|0)+24>>2]=k[b+(g*72|0)+32>>2];k[e+(g*72|0)+28>>2]=k[b+(g*72|0)+36>>2];h=b+(g*72|0)+45|0;f=e+(g*72|0)+37|0;l=i[f>>0]&-3|i[h>>0]&2;i[f>>0]=l;l=l&-5|i[h>>0]&4;i[f>>0]=l;i[f>>0]=l&-9|i[h>>0]&8;l=ph(a,k[b+(g*72|0)+72>>2]|0)|0;k[e+(g*72|0)+64>>2]=l;i[f>>0]=i[f>>0]&-2|i[h>>0]&1;k[e+(g*72|0)+68>>2]=k[b+(g*72|0)+76>>2];f=k[b+(g*72|0)+24>>2]|0;k[e+(g*72|0)+16>>2]=f;if(f){f=f+40|0;j[f>>1]=(j[f>>1]|0)+1<<16>>16}l=lr(a,k[b+(g*72|0)+28>>2]|0,c)|0;k[e+(g*72|0)+20>>2]=l;l=Rr(a,k[b+(g*72|0)+52>>2]|0,c,0)|0;k[e+(g*72|0)+44>>2]=l;l=Sr(a,k[b+(g*72|0)+56>>2]|0)|0;k[e+(g*72|0)+48>>2]=l;l=b+(g*72|0)+64|0;h=k[l+4>>2]|0;f=e+(g*72|0)+56|0;k[f>>2]=k[l>>2];k[f+4>>2]=h;g=g+1|0}while((g|0)<(k[b>>2]|0))}}else d=0}else d=0;return d|0}function Es(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,j=0;g=Tq(a)|0;if((c|0)==2){j=k[a+408>>2]|0;i[((j|0)==0?a:j)+21>>0]=1}Ch(g,Bh(g,24,b,c,0)|0,d,e<<24>>24);if(f<<24>>24!=0?(h=k[g+4>>2]|0,(h|0)!=0):0)i[h+(((k[g+32>>2]|0)+-1|0)*20|0)+3>>0]=f;return}function Fs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=k[(k[(k[a>>2]|0)+16>>2]|0)+28>>2]|0;do if(!(i[a+438>>0]|0)){f=k[b+68>>2]|0;if((c|0)!=(f|0)?(d=k[c+48>>2]|0,(d|0)!=0):0){e=b+64|0;c=0;while(1){a=k[d+8>>2]|0;if((k[a+24>>2]|0)==(f|0)?(id(k[a+4>>2]|0,k[b>>2]|0)|0)==0:0){if(!c)c=k[e>>2]|0;k[a+32>>2]=c}else a=c;d=k[d>>2]|0;if(!d)break;else c=a}if(a)break}a=k[b+64>>2]|0}else a=0;while(0);return a|0}function Gs(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;i=k[b+32>>2]|0;j=b+8|0;h=b+68|0;e=0;while(1){f=(e|0)==0;b=f|(i|0)<(e|0)?i:0;c=k[j>>2]|0;if(!c)g=b;else{do{d=k[c+40>>2]|0;b=(f|(d|0)<(e|0))&(d|0)>(b|0)?d:b;c=k[c+20>>2]|0}while((c|0)!=0);g=b}if(!g)break;b=k[a>>2]|0;e=k[h>>2]|0;a:do if(e){f=k[b+20>>2]|0;if((f|0)>0){c=k[b+16>>2]|0;d=0;while(1){b=d+1|0;if((k[c+(d<<4)+12>>2]|0)==(e|0)){b=d;break a}if((b|0)<(f|0))d=b;else break}}else b=0}else b=-1e6;while(0);Jr(a,g,b);e=g}return}function Hs(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|0)!=0?(c=k[b>>2]|0,(c|0)>0):0){g=a+68|0;e=0;f=b+8|0;while(1){d=f+40|0;if((k[d>>2]|0)>-1)break a;h=k[g>>2]|0;k[g>>2]=h+1;k[d>>2]=h;d=k[f+20>>2]|0;if(d){Hs(a,k[d+32>>2]|0);c=k[b>>2]|0}e=e+1|0;if((e|0)>=(c|0))break;else f=f+72|0}}while(0);return}function Is(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;l=r;r=r+32|0;if((r|0)>=(s|0))ka();h=l;if(((b|0)!=0?(g=(k[a>>2]|0)+65|0,(i[g>>0]|0)==0):0)?(e=b+6|0,d=j[e>>1]|0,(d&32)==0):0){k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;k[h+12>>2]=0;k[h+16>>2]=0;k[h+20>>2]=0;k[h+24>>2]=0;k[h>>2]=84;k[h+12>>2]=a;f=h+4|0;if(i[a+22>>0]|0){k[f>>2]=85;pu(h,b)|0;d=j[e>>1]|0}k[f>>2]=86;if(!(d&256))k[h+8>>2]=9;pu(h,b)|0;d=a+64|0;if((((k[d>>2]|0)==0?(i[g>>0]|0)==0:0)?(k[h+0>>2]=0,k[h+4>>2]=0,k[h+8>>2]=0,k[h+12>>2]=0,k[h+16>>2]=0,k[h+20>>2]=0,k[h>>2]=82,k[h+4>>2]=83,k[h+12>>2]=a,k[h+24>>2]=c,pu(h,b)|0,(k[d>>2]|0)==0):0)?(i[g>>0]|0)==0:0){k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;k[h+12>>2]=0;k[h+16>>2]=0;k[h+20>>2]=0;k[h+24>>2]=0;k[h+8>>2]=10;k[h>>2]=84;k[h+12>>2]=a;pu(h,b)|0}}r=l;return}function Js(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if(a)do{c=k[a+36>>2]|0;if((c|0)!=0?(g=k[c+24>>2]|0,(g|0)>(k[b>>2]|0)):0)k[b>>2]=g;c=k[a+44>>2]|0;if((c|0)!=0?(d=k[c+24>>2]|0,(d|0)>(k[b>>2]|0)):0)k[b>>2]=d;c=k[a+60>>2]|0;if((c|0)!=0?(e=k[c+24>>2]|0,(e|0)>(k[b>>2]|0)):0)k[b>>2]=e;c=k[a+64>>2]|0;if((c|0)!=0?(f=k[c+24>>2]|0,(f|0)>(k[b>>2]|0)):0)k[b>>2]=f;yu(k[a>>2]|0,b);yu(k[a+40>>2]|0,b);yu(k[a+48>>2]|0,b);a=k[a+52>>2]|0}while((a|0)!=0);return}function Ks(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=k[b>>2]|0;f=e+c|0;if(f>>>0>(k[b+4>>2]|0)>>>0){g=wo(a,b,(f*72|0)+8|0,0)|0;if(g){do if(!a)b=qc[k[8744+48>>2]&127](g)|0;else{if((k[a+276>>2]|0)>>>0<=g>>>0?(k[a+280>>2]|0)>>>0>g>>>0:0){b=m[a+248>>1]|0;break}b=qc[k[8744+48>>2]&127](g)|0}while(0);k[g+4>>2]=(((b+-80|0)>>>0)/72|0)+1;b=g;e=k[g>>2]|0;h=10}}else h=10;if((h|0)==10){if((e|0)>(d|0)){do{e=e+-1|0;f=b+((e+c|0)*72|0)+8|0;a=b+(e*72|0)+8|0;g=f+72|0;do{k[f>>2]=k[a>>2];f=f+4|0;a=a+4|0}while((f|0)<(g|0))}while((e|0)>(d|0));e=k[b>>2]|0}k[b>>2]=e+c;kw(b+(d*72|0)+8|0,0,c*72|0)|0;e=d+c|0;if((c|0)>0)do{k[b+(d*72|0)+48>>2]=-1;d=d+1|0}while((d|0)<(e|0))}return b|0}function Ls(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;if((b|0)!=0?(k[b>>2]|0)>0:0){e=b+4|0;f=k[e>>2]|0;g=0;do{h=Ms(a,k[f+(g*20|0)>>2]|0,c,d)|0;f=k[e>>2]|0;k[f+(g*20|0)>>2]=h;g=g+1|0}while((g|0)<(k[b>>2]|0))}return}function Ms(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;do if(b){if((i[b>>0]|0)==-102?(k[b+28>>2]|0)==(c|0):0){e=j[b+32>>1]|0;if(e<<16>>16<0){i[b>>0]=101;break}else{e=Rr(a,k[(k[d+4>>2]|0)+((e<<16>>16)*20|0)>>2]|0,0,0)|0;Lk(a,b);b=e;break}}e=b+12|0;f=Ms(a,k[e>>2]|0,c,d)|0;k[e>>2]=f;e=b+16|0;f=Ms(a,k[e>>2]|0,c,d)|0;k[e>>2]=f;e=b+20|0;if(!(k[b+4>>2]&2048)){Ls(a,k[e>>2]|0,c,d);break}else{zu(a,k[e>>2]|0,c,d);break}}else b=0;while(0);return b|0}function Ns(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=k[k[b>>2]>>2]|0;d=b;f=1;while(1){b=k[d+52>>2]|0;if(!b){e=5;break}if((k[k[b>>2]>>2]|0)==(e|0)){d=b;f=f+1|0}else{e=3;break}}a:do if((e|0)==3){Os(a,b);b=1}else if((e|0)==5)if(!d)b=0;else{g=((f|0)<0)<<31>>31;e=0;while(1){h=d+52|0;k[h>>2]=0;b=nr(a,d,c)|0;k[h>>2]=e;if(b)break a;b=d+24|0;k[b>>2]=f;k[b+4>>2]=g;b=k[d+56>>2]|0;if(!b){b=0;break a}d=b;e=k[b+52>>2]|0}}while(0);return b|0}function Os(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if((r|0)>=(s|0))ka();c=d;if(!(j[b+6>>1]&128)){b=l[b+4>>0]|0;if((b|0)==116)b=35320;else if((b|0)==118)b=35336;else if((b|0)==117)b=35352;else b=35360;k[c>>2]=b;yh(a,35232,c)}else yh(a,35184,c);r=d;return}function Ps(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,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;E=r;r=r+32|0;if((r|0)>=(s|0))ka();v=E;e=k[b+32>>2]|0;h=k[k[b>>2]>>2]|0;q=k[a+8>>2]|0;t=b+52|0;u=k[t>>2]|0;if(!(Xq(a,33,0,0,0)|0)){w=Cs(q)|0;Ts(a,b,w);x=b+60|0;y=k[x>>2]|0;z=b+64|0;A=k[z>>2]|0;B=b+8|0;n=k[B>>2]|0;C=b+12|0;o=k[C>>2]|0;k[z>>2]=0;k[x>>2]=0;k[C>>2]=0;k[B>>2]=0;B=b+48|0;C=k[B>>2]|0;f=k[e>>2]|0;a:do if((f|0)>0){g=0;while(1){if(i[e+(g*72|0)+45>>0]&8)break;g=g+1|0;if((g|0)>=(f|0)){l=0;break a}}l=k[e+(g*72|0)+48>>2]|0}else l=0;while(0);g=a+68|0;e=k[g>>2]|0;f=e+1|0;k[g>>2]=f;d=(C|0)!=0;if((i[b+4>>0]|0)==115){k[g>>2]=e+2;g=d?8:6}else{g=d?7:5;f=0}i[v>>0]=g;k[v+4>>2]=e;i[v+1>>0]=0;k[v+8>>2]=0;k[v+12>>2]=0;F=a+72|0;g=(k[F>>2]|0)+1|0;k[F>>2]=g;Bh(q,60,l,g,h)|0;if(d){h=Au(a,b)|0;Ch(q,Bh(q,57,e,(k[C>>2]|0)+2|0,0)|0,h,-6);k[v+16>>2]=C}else Bh(q,57,e,h,0)|0;if(f){f=Bh(q,57,f,0,0)|0;k[b+16>>2]=f;f=b+6|0;j[f>>1]=m[f>>1]|8}k[B>>2]=0;h=u+56|0;k[h>>2]=0;f=nr(a,u,v)|0;k[h>>2]=b;if(!f){h=Bh(q,108,e,w,0)|0;Bh(q,104,l,0,0)|0;if(d)Bh(q,47,e,(k[C>>2]|0)+1|0,g)|0;else Bh(q,102,e,g,0)|0;Bh(q,95,e,0,0)|0;f=Cs(q)|0;nt(q,o,f);Us(a,b,k[b>>2]|0,l,0,0,c,f,w);if(n)Bh(q,140,n,w,0)|0;d=q+24|0;g=k[d>>2]|0;e=~f;if((f|0)<0?(p=k[g+112>>2]|0,(p|0)!=0):0)k[p+(e<<2)>>2]=k[q+32>>2];f=q+32|0;k[g+88>>2]=(k[f>>2]|0)+-1;k[t>>2]=0;nr(a,b,v)|0;k[t>>2]=u;Bh(q,16,0,h,0)|0;d=k[d>>2]|0;e=~w;if((w|0)<0?(D=k[d+112>>2]|0,(D|0)!=0):0)k[D+(e<<2)>>2]=k[f>>2];k[d+88>>2]=(k[f>>2]|0)+-1}Sk(k[a>>2]|0,k[B>>2]|0);k[B>>2]=C;k[x>>2]=y;k[z>>2]=A}r=E;return}function Qs(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,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=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=r;r=r+48|0;if((r|0)>=(s|0))ka();p=X+40|0;I=X+20|0;J=X;T=k[a>>2]|0;Q=k[a+8>>2]|0;S=Cs(Q)|0;P=Cs(Q)|0;U=b+4|0;K=i[U>>0]|0;V=b+52|0;W=k[V>>2]|0;t=b+48|0;f=k[t>>2]|0;e=k[f>>2]|0;N=K<<24>>24==116;a:do if(!N?(n=T+65|0,(i[n>>0]|0)==0):0){g=p+4|0;o=1;while(1){if((o|0)>(k[k[b>>2]>>2]|0)){M=e;q=14;break a}b:do if((e|0)>0){d=0;h=k[f+4>>2]|0;while(1){if((m[h+16>>1]|0)==(o|0))break b;d=d+1|0;if((d|0)<(e|0))h=h+20|0;else break}}else d=0;while(0);if((d|0)==(e|0)){k[p>>2]=0;k[g>>2]=0;d=sr(T,132,p,0)|0;if(!d){d=7;break a}F=d+4|0;k[F>>2]=k[F>>2]|1024;k[d+8>>2]=o;f=qr(a,f,d)|0;if(!f)f=0;else{j[(k[f+4>>2]|0)+(e*20|0)+16>>1]=o;e=e+1|0}}if(!(i[n>>0]|0))o=o+1|0;else{M=e;q=14;break}}}else{M=e;q=14}while(0);if((q|0)==14){H=rh(T,M<<2,0)|0;if(!H)F=0;else{if((M|0)>0){e=0;d=k[f+4>>2]|0;while(1){k[H+(e<<2)>>2]=(m[d+16>>1]|0)+-1;e=e+1|0;if((e|0)==(M|0))break;else d=d+20|0}}F=Au(a,b)|0}k[t>>2]=f;E=Ur(k[a>>2]|0,f,0)|0;n=W+48|0;k[n>>2]=E;if(!N){f=k[k[b>>2]>>2]|0;e=a+72|0;E=k[e>>2]|0;h=E+1|0;k[e>>2]=f+1+E;Bh(Q,25,0,h,0)|0;e=Ws(T,f,1)|0;if(e){if((f|0)>0){d=e+16|0;g=0;do{E=Xs(a,b,g)|0;k[e+(g<<2)+20>>2]=E;i[(k[d>>2]|0)+g>>0]=0;g=g+1|0}while((g|0)!=(f|0))}}else e=0}else{e=0;h=0}k[V>>2]=0;G=W+56|0;k[G>>2]=0;Bu(a,b,k[t>>2]|0,26880)|0;if(!(k[W+52>>2]|0))Bu(a,W,k[n>>2]|0,26880)|0;Ts(a,b,S);g=b+8|0;f=k[g>>2]|0;n=a+72|0;if((f|0)!=0&N){q=k[n>>2]|0;o=q+1|0;q=q+2|0;k[n>>2]=q;E=k[b+12>>2]|0;Bh(Q,33,(E|0)==0?f:E+1|0,o,0)|0;Bh(Q,33,o,q,0)|0}else{o=0;q=0}w=b+60|0;Lk(T,k[w>>2]|0);k[w>>2]=0;w=b+64|0;Lk(T,k[w>>2]|0);k[w>>2]=0;w=k[n>>2]|0;x=w+1|0;y=w+2|0;u=w+3|0;w=w+4|0;k[n>>2]=w;i[I>>0]=13;k[I+4>>2]=x;i[I+1>>0]=0;A=I+8|0;k[A>>2]=0;k[I+12>>2]=0;i[J>>0]=13;k[J+4>>2]=y;i[J+1>>0]=0;B=J+8|0;k[B>>2]=0;k[J+12>>2]=0;D=Q+32|0;p=Bh(Q,20,x,0,(k[D>>2]|0)+1|0)|0;k[W+8>>2]=o;n=a+468|0;E=k[n>>2]|0;nr(a,W,I)|0;Bh(Q,21,x,0,0)|0;o=k[D>>2]|0;if(o>>>0>p>>>0)k[(k[Q+4>>2]|0)+(p*20|0)+8>>2]=o;z=Q+24|0;k[(k[z>>2]|0)+88>>2]=o+-1;v=Bh(Q,20,y,0,o+1|0)|0;d=k[g>>2]|0;f=b+12|0;t=k[f>>2]|0;k[g>>2]=q;k[f>>2]=0;C=k[n>>2]|0;nr(a,b,J)|0;k[g>>2]=d;k[f>>2]=t;Bh(Q,21,y,0,0)|0;f=Cu(a,b,I,c,u,h,e,S)|0;t=(K+-115&255)<2;if(t)d=Cu(a,b,J,c,w,h,e,S)|0;else d=0;if((e|0)!=0?(g=(k[e>>2]|0)+-1|0,k[e>>2]=g,(g|0)==0):0)$c(e);h=K<<24>>24==118;if((K+-117&255)<2){q=S;e=S}else{q=Bh(Q,17,w,d,0)|0;e=Bh(Q,22,y,S,0)|0;Bh(Q,16,0,q,0)|0;n=W+24|0;g=b+24|0;o=g;n=ow(k[o>>2]|0,k[o+4>>2]|0,k[n>>2]|0,k[n+4>>2]|0)|0;k[g>>2]=n;k[g+4>>2]=L}if(h){p=b+24|0;g=p;I=k[g+4>>2]|0;n=W+24|0;o=k[n>>2]|0;n=k[n+4>>2]|0;if(I>>>0>n>>>0|((I|0)==(n|0)?(k[g>>2]|0)>>>0>o>>>0:0)){g=p;k[g>>2]=o;k[g+4>>2]=n;g=q}else g=q}else{g=Bh(Q,17,u,f,0)|0;Bh(Q,22,x,S,0)|0;Bh(Q,16,0,g,0)|0}p=Bh(Q,17,u,f,0)|0;Bh(Q,22,x,q,0)|0;Bh(Q,16,0,P,0)|0;do if(!N)if(h){q=p;p=p+1|0;break}else{q=Bh(Q,22,x,q,0)|0;Bh(Q,16,0,P,0)|0;break}else q=p;while(0);o=k[D>>2]|0;if(t)Bh(Q,17,w,d,0)|0;Bh(Q,22,y,g,0)|0;Bh(Q,16,0,P,0)|0;n=k[D>>2]|0;if(n>>>0>v>>>0)k[(k[Q+4>>2]|0)+(v*20|0)+8>>2]=n;k[(k[z>>2]|0)+88>>2]=n+-1;Bh(Q,22,x,e,0)|0;Bh(Q,22,y,g,0)|0;g=k[z>>2]|0;f=~P;if((P|0)<0?(O=k[g+112>>2]|0,(O|0)!=0):0)k[O+(f<<2)>>2]=k[D>>2];k[g+88>>2]=(k[D>>2]|0)+-1;Ch(Q,Bh(Q,41,0,0,0)|0,H,-15);Ch(Q,Bh(Q,42,k[A>>2]|0,k[B>>2]|0,M)|0,F,-6);e=k[Q+4>>2]|0;if(e)i[e+(((k[D>>2]|0)+-1|0)*20|0)+3>>0]=1;Bh(Q,43,p,q,o)|0;e=k[z>>2]|0;d=~S;if((S|0)<0?(R=k[e+112>>2]|0,(R|0)!=0):0)k[R+(d<<2)>>2]=k[D>>2];k[e+88>>2]=(k[D>>2]|0)+-1;if((i[c>>0]|0)==9){d=W;while(1){e=k[d+52>>2]|0;if(!e)break;else d=e}Ss(a,0,k[d>>2]|0)}d=k[V>>2]|0;if(d)Rk(T,d,1);k[V>>2]=W;k[G>>2]=b;Vs(a,l[U>>0]|0,E,C,0);d=0}r=X;return d|0}function Rs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;do if(!(k[a+4>>2]&1024)){c=l[a>>0]|0;if((c|0)==158){c=Rs(k[a+12>>2]|0,b)|0;break}else if((c|0)!=157){c=0;break}if(!(Rs(k[a+12>>2]|0,d)|0))c=0;else{k[b>>2]=0-(k[d>>2]|0);c=1}}else{k[b>>2]=k[a+8>>2];c=1}while(0);r=e;return c|0}function Ss(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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=r;r=r+32|0;if((r|0)>=(s|0))ka();z=A;y=a+8|0;v=k[y>>2]|0;w=k[a>>2]|0;if(((i[a+450>>0]|0)==0?(f=a+16|0,!((i[f>>0]|0)!=0|(v|0)==0)):0)?(i[w+65>>0]|0)==0:0){i[f>>0]=1;f=k[w+24>>2]|0;u=(f&32|0)==0;nq(v,k[c>>2]|0);e=k[c>>2]|0;if((e|0)>0){t=c+4|0;q=(b|0)==0;n=(f&96|0)==0;o=(b|0)!=0;p=0;do{m=k[t>>2]|0;e=k[m+(p*20|0)>>2]|0;do if(e){f=k[m+(p*20|0)+4>>2]|0;if(f){oq(v,p,0,f,-1);break}f=i[e>>0]|0;if(f<<24>>24==-102){if(q)x=25}else if(!(f<<24>>24==-100&o))x=25;if((x|0)==25){x=0;f=k[m+(p*20|0)+8>>2]|0;if(!f){k[z>>2]=p+1;f=zh(w,34880,z)|0}else f=ph(w,f)|0;oq(v,p,0,f,75);break}l=j[e+32>>1]|0;f=l<<16>>16;h=k[b>>2]|0;a:do if((h|0)>0){d=k[e+28>>2]|0;g=0;while(1){e=g+1|0;if((k[b+(g*72|0)+48>>2]|0)==(d|0)){e=g;break a}if((e|0)<(h|0))g=e;else break}}else e=0;while(0);e=k[b+(e*72|0)+24>>2]|0;if(l<<16>>16<0)f=j[e+36>>1]|0;if((f|0)<0)f=20456;else f=k[(k[e+4>>2]|0)+(f*24|0)>>2]|0;if(n){oq(v,p,0,ph(w,k[m+(p*20|0)+8>>2]|0)|0,75);break}if(u){oq(v,p,0,f,-1);break}else{k[z>>2]=k[e>>2];k[z+4>>2]=f;oq(v,p,0,zh(w,27824,z)|0,75);break}}while(0);p=p+1|0;e=k[c>>2]|0}while((p|0)<(e|0))}f=k[y>>2]|0;k[z+4>>2]=b;k[z>>2]=a;if((e|0)>0){d=c+4|0;e=0;do{oq(f,e,1,Du(z,k[(k[d>>2]|0)+(e*20|0)>>2]|0,0)|0,-1);e=e+1|0}while((e|0)<(k[c>>2]|0))}}r=A;return}function Ts(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,l=0,m=0;m=r;r=r+16|0;if((r|0)>=(s|0))ka();e=m;g=b+8|0;if((k[g>>2]|0)==0?(ft(a),f=b+60|0,(k[f>>2]|0)!=0):0){i=a+72|0;j=(k[i>>2]|0)+1|0;k[i>>2]=j;k[g>>2]=j;l=Tq(a)|0;do if(Rs(k[f>>2]|0,e)|0){e=k[e>>2]|0;Bh(l,25,e,j,0)|0;if(!e){Bh(l,16,0,c,0)|0;break}if((e|0)>-1?(d=b+24|0,c=d,g=k[c+4>>2]|0,h=((e|0)<0)<<31>>31,g>>>0>h>>>0|((g|0)==(h|0)?(k[c>>2]|0)>>>0>e>>>0:0)):0){c=d;k[c>>2]=e;k[c+4>>2]=h}}else{Wq(a,k[f>>2]|0,j);Bh(l,38,j,0,0)|0;Bh(l,46,j,c,0)|0}while(0);e=k[b+64>>2]|0;if(e){h=k[i>>2]|0;c=h+1|0;k[b+12>>2]=c;k[i>>2]=h+2;Wq(a,e,c);Bh(l,38,c,0,0)|0;e=Bh(l,137,c,0,0)|0;Bh(l,25,0,c,0)|0;f=l+32|0;d=k[f>>2]|0;if(d>>>0>e>>>0)k[(k[l+4>>2]|0)+(e*20|0)+8>>2]=d;g=l+24|0;k[(k[g>>2]|0)+88>>2]=d+-1;d=h+2|0;Bh(l,89,j,c,d)|0;e=Bh(l,137,j,0,0)|0;Bh(l,25,-1,d,0)|0;d=k[f>>2]|0;if(d>>>0>e>>>0)k[(k[l+4>>2]|0)+(e*20|0)+8>>2]=d;k[(k[g>>2]|0)+88>>2]=d+-1}}r=m;return}function Us(a,b,c,d,e,f,g,h,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|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;F=k[a+8>>2]|0;A=i[g>>0]|0;u=A&255;w=g+4|0;D=k[w>>2]|0;if(!f)n=0;else n=l[f+1>>0]|0;if(!e)E=0;else E=(k[e>>2]|0)==0?0:e;z=(E|0)!=0;v=(n|0)!=0;if(!(z|v))nt(F,k[b+12>>2]|0,h);B=k[c>>2]|0;q=g+8|0;e=k[q>>2]|0;if(e){p=a+72|0;o=k[p>>2]|0;if((e+B|0)>(o|0)){k[p>>2]=o+B;C=e;x=0}else{C=e;x=0}}else{if(z){o=((i[E+24>>0]&1^1)&255)+(k[k[E>>2]>>2]|0)|0;C=a+72|0;p=o+(k[C>>2]|0)|0;k[C>>2]=p}else{p=k[a+72>>2]|0;o=0}C=p+1|0;k[q>>2]=C;k[a+72>>2]=p+B;x=o}k[g+12>>2]=B;do if((d|0)>-1){if((B|0)>0){p=0;do{Bh(F,47,d,p,p+C|0)|0;p=p+1|0}while((p|0)!=(B|0))}}else{if(A<<24>>24==9)o=1;else if(A<<24>>24==3)break;else o=A<<24>>24==13&1;gt(a,c,C,o)}while(0);if(v){o=l[f+1>>0]|0;if((o|0)==1)Eh(F,k[f+8>>2]|0);else if((o|0)==2){o=a+72|0;d=k[o>>2]|0;t=d+1|0;k[o>>2]=d+B;o=f+8|0;Eh(F,k[o>>2]|0);o=k[o>>2]|0;if((o|0)<0)o=(k[F+32>>2]|0)+-1|0;if(!(i[(k[F>>2]|0)+65>>0]|0))o=(k[F+4>>2]|0)+(o*20|0)|0;else o=29120;i[o>>0]=28;k[o+4>>2]=1;k[o+8>>2]=t;d=F+32|0;e=(k[d>>2]|0)+B|0;if((B|0)>0){p=c+4|0;o=B+-1|0;q=F+4|0;s=0;do{v=hu(a,k[(k[p>>2]|0)+(s*20|0)>>2]|0)|0;f=s+C|0;n=s+t|0;if((s|0)<(o|0))Bh(F,78,f,e,n)|0;else Bh(F,79,f,h,n)|0;Ch(F,-1,v,-4);r=k[q>>2]|0;if(r)i[r+(((k[d>>2]|0)+-1|0)*20|0)+3>>0]=-128;s=s+1|0}while((s|0)!=(B|0))}else o=B+-1|0;Bh(F,33,C,t,o)|0}else Eu(a,k[f+4>>2]|0,h,B,C);if(!E)nt(F,k[b+12>>2]|0,h)}a:do switch(u|0){case 12:case 14:case 6:case 5:{p=x+1|0;o=a+60|0;e=k[o>>2]|0;q=a+56|0;n=k[q>>2]|0;if((n|0)<(p|0)){y=a+72|0;e=k[y>>2]|0;k[y>>2]=e+p;e=e+1|0}else{k[o>>2]=e+p;k[q>>2]=n-p}n=e+x|0;Bh(F,49,C,B,n)|0;if(A<<24>>24==6){C=D+1|0;Ch(F,Bh(F,69,C,(k[F+32>>2]|0)+4|0,e)|0,0,-14);Bh(F,110,C,e,0)|0}if(z)Fu(a,E,b,n,1,x);else{n=a+19|0;f=i[n>>0]|0;if(!(f<<24>>24)){C=a+72|0;f=(k[C>>2]|0)+1|0;k[C>>2]=f}else{f=f+-1<<24>>24;i[n>>0]=f;f=k[a+((f&255)<<2)+24>>2]|0}Bh(F,74,D,f,0)|0;Bh(F,75,D,e,f)|0;n=k[F+4>>2]|0;if(n)i[n+(((k[F+32>>2]|0)+-1|0)*20|0)+3>>0]=8;ds(a,f)}it(a,e,p);if((k[q>>2]|0)<(p|0)){k[q>>2]=p;k[o>>2]=e;y=94}else y=94;break}case 11:{e=g+1|0;B=Gu(k[k[c+4>>2]>>2]|0,i[e>>0]|0)|0;i[e>>0]=B;if(z){Fu(a,E,b,C,1,x);break a}f=a+19|0;n=i[f>>0]|0;if(!(n<<24>>24)){B=a+72|0;f=(k[B>>2]|0)+1|0;k[B>>2]=f}else{B=n+-1<<24>>24;i[f>>0]=B;f=k[a+((B&255)<<2)+24>>2]|0}Ch(F,Bh(F,49,C,1,f)|0,e,1);it(a,C,1);Bh(F,110,D,f,0)|0;ds(a,f);y=94;break}case 2:{Bh(F,111,D,C,B)|0;y=94;break}case 3:{Bh(F,25,1,D,0)|0;y=94;break}case 10:{if(z)Fu(a,E,b,C,1,x);else y=95;break}case 9:case 13:{if(z){Fu(a,E,b,C,B,x);break a}if(A<<24>>24==13){Bh(F,22,k[w>>2]|0,0,0)|0;y=95;break a}else{Bh(F,35,C,B,0)|0;it(a,C,B);y=94;break a}}case 1:{n=a+19|0;f=i[n>>0]|0;if(!(f<<24>>24)){A=a+72|0;f=(k[A>>2]|0)+1|0;k[A>>2]=f}else{f=f+-1<<24>>24;i[n>>0]=f;f=k[a+((f&255)<<2)+24>>2]|0}Bh(F,49,C,B,f)|0;Bh(F,110,D,f,0)|0;ds(a,f);y=94;break}case 7:case 8:{r=k[g+16>>2]|0;d=k[r>>2]|0;n=a+19|0;f=i[n>>0]|0;if(!(f<<24>>24)){z=a+72|0;s=(k[z>>2]|0)+1|0;k[z>>2]=s}else{s=f+-1<<24>>24;i[n>>0]=s;s=k[a+((s&255)<<2)+24>>2]|0}t=d+2|0;u=a+60|0;e=k[u>>2]|0;v=a+56|0;n=k[v>>2]|0;if((n|0)<(t|0)){z=a+72|0;e=k[z>>2]|0;k[z>>2]=e+t;e=e+1|0}else{k[u>>2]=e+t;k[v>>2]=n-t}q=e+d|0;o=q+1|0;if(A<<24>>24==8){n=D+1|0;f=Bh(F,69,n,0,C)|0;Ch(F,f,B,-14);Bh(F,49,C,B,o)|0;Bh(F,110,n,o,0)|0;n=k[F+4>>2]|0;if(!n)p=f;else{i[n+(((k[F+32>>2]|0)+-1|0)*20|0)+3>>0]=16;p=f}}else{Bh(F,49,C,B,o)|0;p=0}if((d|0)>0){o=r+4|0;n=C+-1|0;f=0;do{Bh(F,34,n+(m[(k[o>>2]|0)+(f*20|0)+16>>1]|0)|0,f+e|0,0)|0;f=f+1|0}while((f|0)!=(d|0))}Bh(F,73,D,q,0)|0;Bh(F,49,e,t,s)|0;Bh(F,110,D,s,0)|0;if(p){n=k[F+32>>2]|0;if(n>>>0>p>>>0)k[(k[F+4>>2]|0)+(p*20|0)+8>>2]=n;k[(k[F+24>>2]|0)+88>>2]=n+-1}ds(a,s);it(a,e,t);if((k[v>>2]|0)<(t|0)){k[v>>2]=t;k[u>>2]=e;y=94}else y=94;break}default:y=94}while(0);if((y|0)==94?(E|0)==0:0)y=95;if((y|0)==95?(G=k[b+8>>2]|0,(G|0)!=0):0)Bh(F,140,G,j,0)|0;return}function Vs(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,j=0,l=0;l=r;r=r+16|0;if((r|0)>=(s|0))ka();j=l;if((i[a+450>>0]|0)==2){g=k[a+8>>2]|0;h=k[a>>2]|0;f=(e|0)!=0?35160:10360;if((b|0)==117)e=35352;else if((b|0)==116)e=35320;else if((b|0)==118)e=35336;else e=35360;k[j>>2]=c;k[j+4>>2]=d;k[j+8>>2]=f;k[j+12>>2]=e;e=zh(h,35120,j)|0;Ch(g,Bh(g,157,k[a+464>>2]|0,0,0)|0,e,-1)}r=l;return}function Ws(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=c+b|0;e=(d*5|0)+24|0;f=vg(e,0)|0;if(!f)i[a+65>>0]=1;else{kw(f|0,0,e|0)|0;k[f+16>>2]=f+20+(d<<2);j[f+6>>1]=b;j[f+8>>1]=c;i[f+4>>0]=i[a+62>>0]|0;k[f+12>>2]=a;k[f>>2]=1}return f|0}function Xs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=k[b+52>>2]|0;if(!((e|0)!=0?(d=Xs(a,e,c)|0,(d|0)!=0):0)){d=k[b>>2]|0;if((k[d>>2]|0)>(c|0))d=hu(a,k[(k[d+4>>2]|0)+(c*20|0)>>2]|0)|0;else d=0}return d|0}function Ys(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=(a|0)==0;d=(b|0)==0;a:do if(!(e&d))if(!(e|d)?(f=k[a>>2]|0,(f|0)==(k[b>>2]|0)):0)if((f|0)>0){a=k[a+4>>2]|0;d=k[b+4>>2]|0;e=0;while(1){if((i[a+(e*20|0)+12>>0]|0)!=(i[d+(e*20|0)+12>>0]|0)){d=1;break a}if(Hu(k[a+(e*20|0)>>2]|0,k[d+(e*20|0)>>2]|0,c)|0){d=1;break a}e=e+1|0;if((e|0)>=(f|0)){d=0;break}}}else d=0;else d=1;else d=0;while(0);return d|0}function Zs(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;e=k[a>>2]|0;l=k[b>>2]|0;j=Ws(e,l-c|0,d+1|0)|0;if((j|0)!=0&(l|0)>(c|0)){f=e+8|0;g=j+16|0;h=c;d=(k[b+4>>2]|0)+(c*20|0)|0;while(1){e=hu(a,k[d>>2]|0)|0;if(!e)e=k[f>>2]|0;b=h-c|0;k[j+(b<<2)+20>>2]=e;i[(k[g>>2]|0)+b>>0]=i[d+12>>0]|0;h=h+1|0;if((h|0)==(l|0))break;else d=d+20|0}}return j|0}function _s(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,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,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,fa=0,ga=0,ha=0,ia=0,ja=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0;Ma=r;r=r+64|0;if((r|0)>=(s|0))ka();Ka=Ma;La=Ma+48|0;Ja=Ma+52|0;Y=Ma+28|0;Ha=a+8|0;da=k[Ha>>2]|0;Ia=k[a>>2]|0;k[Y+0>>2]=0;k[Y+4>>2]=0;k[Y+8>>2]=0;k[Y+12>>2]=0;k[Y+16>>2]=0;if(!d)P=0;else P=(k[d>>2]|0)>63?0:d;Z=Y+8|0;k[Z>>2]=P;_=Ia+60|0;if(j[_>>1]&32)f=f&64511;d=k[b>>2]|0;a:do if((d|0)<=64){H=f&65535;K=(H&64|0)!=0;U=K?1:d;u=(U*80|0)+743&-16;h=u+72|0;d=rh(Ia,h,0)|0;Ga=(d|0)==0;if(!Ga)kw(d|0,0,h|0)|0;xa=Ia+65|0;if(i[xa>>0]|0){rg(Ia,d);d=0;break}ba=d+60|0;ca=d+64|0;k[ca>>2]=-1;k[ba>>2]=-1;ya=d+41|0;i[ya>>0]=U;k[d>>2]=a;za=d+4|0;k[za>>2]=b;$=d+8|0;k[$>>2]=P;k[d+12>>2]=e;Ba=Cs(da)|0;Aa=d+48|0;k[Aa>>2]=Ba;o=d+52|0;k[o>>2]=Ba;Ba=d+34|0;j[Ba>>1]=f;Ca=a+424|0;Da=d+56|0;k[Da>>2]=k[Ca>>2];Ea=d+68|0;k[Y>>2]=d;Fa=d+328|0;X=Y+4|0;k[X>>2]=Fa;S=Y+12|0;k[S>>2]=d+u;k[d+(u+48)>>2]=d+(u+56);j[d+(u+40)>>1]=0;j[d+(u+44)>>1]=3;k[d+(u+36)>>2]=0;k[Ea>>2]=0;k[Fa>>2]=d;k[d+332>>2]=0;va=d+340|0;k[va>>2]=0;k[d+344>>2]=8;wa=d+348|0;k[wa>>2]=d+352;Iu(Fa,c,72);y=(U|0)==0;if((k[d+340>>2]|0)>0){x=Ka+20|0;w=Ka+4|0;h=Ka+24|0;c=Fa;n=0;do{if(!y){c=k[(k[c+20>>2]|0)+(n*48|0)>>2]|0;k[Ka+0>>2]=0;k[Ka+4>>2]=0;k[Ka+8>>2]=0;k[Ka+12>>2]=0;k[Ka+16>>2]=0;k[Ka+20>>2]=0;i[x>>0]=2;k[Ka>>2]=78;k[w>>2]=79;k[h>>2]=0;ws(Ka,c)|0;c=k[X>>2]|0;if(i[x>>0]|0)ua=15}else ua=15;if((ua|0)==15){ua=0;lt(a,k[(k[c+20>>2]|0)+(n*48|0)>>2]|0,k[o>>2]|0,16);c=k[X>>2]|0;aa=(k[c+20>>2]|0)+(n*48|0)+20|0;j[aa>>1]=m[aa>>1]|4}n=n+1|0}while((n|0)<(k[c+12>>2]|0))}if(y){if(P)i[d+36>>0]=k[P>>2];if(H&1024)i[d+40>>0]=1}if((k[b>>2]|0)>0){u=0;do{O=k[b+(u*72|0)+48>>2]|0;aa=k[Ea>>2]|0;k[Ea>>2]=aa+1;k[Ea+(aa<<2)+4>>2]=O;u=u+1|0}while((u|0)<(k[b>>2]|0))}p=k[va>>2]|0;if((p|0)>0)do{p=p+-1|0;Ju(Fa,p)}while((p|0)>0);b:do if(!(i[xa>>0]|0)){aa=(H&1024|0)==0;c:do if(!aa){d:do if((k[b>>2]|0)==1){G=k[b+48>>2]|0;n=k[b+24>>2]|0;x=k[e>>2]|0;e:do if((x|0)>0){w=k[e+4>>2]|0;h=0;while(1){c=k[w+(h*20|0)>>2]|0;f:do if(!c)c=0;else while(1){y=k[c+4>>2]|0;if(!(y&4096))break f;if(!(y&262144))c=c+12|0;else c=k[(k[c+20>>2]|0)+4>>2]|0;c=k[c>>2]|0;if(!c){c=0;break}}while(0);do if((i[c>>0]|0)==-102){if((k[c+28>>2]|0)!=(G|0))break;if((j[c+32>>1]|0)<0)break e}while(0);h=h+1|0;if((h|0)>=(x|0)){ua=41;break}}}else ua=41;while(0);g:do if((ua|0)==41){c=k[n+8>>2]|0;if(!c)break d;o=e+4|0;n=n+4|0;while(1){if(i[c+50>>0]|0){C=c+46|0;h:do if(!(j[C>>1]|0))y=0;else{E=c+4|0;D=c+32|0;y=0;do{B=j[(k[E>>2]|0)+(y<<1)>>1]|0;if(!(Ku(Fa,G,B,-1,-1,2,c)|0)){h=k[(k[D>>2]|0)+(y<<2)>>2]|0;if((k[e>>2]|0)>0)x=0;else break h;i:while(1){z=k[(k[o>>2]|0)+(x*20|0)>>2]|0;j:do if(!z)w=0;else{w=z;while(1){A=k[w+4>>2]|0;if(!(A&4096))break j;if(!(A&262144))w=w+12|0;else w=k[(k[w+20>>2]|0)+4>>2]|0;w=k[w>>2]|0;if(!w){w=0;break}}}while(0);do if((i[w>>0]|0)==-102){if((j[w+32>>1]|0)!=(j[(k[E>>2]|0)+(y<<1)>>1]|0))break;if((k[w+28>>2]|0)!=(G|0))break;w=hu(a,z)|0;if(!w)break;if(!(id(k[w>>2]|0,h)|0))break i}while(0);x=x+1|0;if((x|0)>=(k[e>>2]|0))break h}if((x|0)<0)break h;if(!(i[(k[n>>2]|0)+(B*24|0)+20>>0]|0))break h}y=y+1|0}while((y|0)<(m[C>>1]|0))}while(0);if((y|0)==(m[C>>1]|0))break g}c=k[c+20>>2]|0;if(!c)break d}}while(0);i[d+40>>0]=1;break c}while(0);if(!P){j[Ba>>1]=m[Ba>>1]|512;k[$>>2]=e}}while(0);k:do if((((U|0)==1?(W=k[Y>>2]|0,V=W+34|0,(j[V>>1]&32)==0):0)?(R=k[W+4>>2]|0,N=k[R+24>>2]|0,(i[N+44>>0]&16)==0):0)?(k[R+72>>2]|0)==0:0){P=k[R+48>>2]|0;z=W+328|0;O=k[S>>2]|0;G=O+36|0;k[G>>2]=0;j[O+42>>1]=0;v=Ku(z,P,-1,0,0,2,0)|0;l:do if(!v){x=k[N+8>>2]|0;m:do if(x){A=O+48|0;n:while(1){do if(i[x+50>>0]|0){if(k[x+36>>2]|0)break;w=x+46|0;c=j[w>>1]|0;if((c&65535)>3)break;o=x+4|0;o:do if(!(c<<16>>16)){c=0;y=0}else{y=0;while(1){c=Ku(z,P,j[(k[o>>2]|0)+(y<<1)>>1]|0,0,0,2,x)|0;if(!c)break;k[(k[A>>2]|0)+(y<<2)>>2]=c;y=y+1|0;c=j[w>>1]|0;if((y|0)>=(c&65535|0))break o}c=j[w>>1]|0}while(0);if((y|0)==(c&65535|0)){A=y;break n}}while(0);x=k[x+20>>2]|0;if(!x)break m}k[G>>2]=4609;if(!(i[x+51>>0]&32)){n=R+64|0;h=k[n>>2]|0;n=k[n+4>>2]|0;w=0;v=0;c=m[x+48>>1]|0;p:while(1){y=c;while(1){c=y+-1|0;if((y|0)<=0)break p;y=j[(k[o>>2]|0)+(c<<1)>>1]|0;if((y&65535)<63)break;else y=c}Y=nw(1,0,y<<16>>16|0)|0;w=Y|w;v=L|v}if((h&~w|0)==0&(n&~v|0)==0)ua=91}else ua=91;if((ua|0)==91)k[G>>2]=4673;Y=A&65535;j[O+40>>1]=Y;j[O+24>>1]=Y;k[O+28>>2]=x;j[O+20>>1]=39;break l}while(0);if(!(k[G>>2]|0)){ua=103;break k}}else{k[G>>2]=4353;k[k[O+48>>2]>>2]=v;j[O+40>>1]=1;j[O+24>>1]=1;j[O+20>>1]=33}while(0);j[O+22>>1]=1;k[W+800>>2]=O;o=k[W+68>>2]|0;q:do if((o|0)>0){p=0;while(1){if((k[W+(p<<2)+72>>2]|0)==(P|0))break;p=p+1|0;if((p|0)>=(o|0)){p=0;o=0;break q}}p=nw(1,0,p|0)|0;o=L}else{p=0;o=0}while(0);n=O+8|0;k[n>>2]=p;k[n+4>>2]=o;k[W+740>>2]=P;j[W+32>>1]=1;n=k[W+8>>2]|0;if(n)i[W+36>>0]=k[n>>2];if(!(j[V>>1]&1024)){ua=120;break}i[W+40>>0]=1;ua=120}else ua=103;while(0);if((ua|0)==103){C=k[Y>>2]|0;c=k[C+4>>2]|0;D=k[k[C>>2]>>2]|0;W=i[C+41>>0]|0;E=W&255;w=k[S>>2]|0;k[w+48>>2]=w+56;j[w+40>>1]=0;j[w+44>>1]=3;k[w+36>>2]=0;h=D+65|0;r:do if(W<<24>>24){n=w+16|0;o=C+68|0;p=w+8|0;q=0;t=0;u=0;v=0;B=0;A=c+8|0;z=0;while(1){i[n>>0]=B;y=k[A+40>>2]|0;x=k[o>>2]|0;s:do if((x|0)>0){c=0;while(1){if((k[C+(c<<2)+72>>2]|0)==(y|0))break;c=c+1|0;if((c|0)>=(x|0)){c=0;y=0;break s}}c=nw(1,0,c|0)|0;y=L}else{c=0;y=0}while(0);W=p;k[W>>2]=c;k[W+4>>2]=y;W=z;z=i[A+36>>0]|0;W=((z|W)&10)==0;t=W?t:q;v=W?v:u;if(!(i[(k[A+16>>2]|0)+44>>0]&16))c=Mu(Y,t,v)|0;else c=Lu(Y,t,v)|0;if(c)break;W=Nu(Y,t,v)|0;c=p;if(W)break;if(i[h>>0]|0)break r;B=B+1|0;if((B|0)>=(E|0))break r;else{q=k[c>>2]|q;u=k[c+4>>2]|u;A=A+72|0}}Ou(D,w);break b}while(0);Ou(D,w);Pu(d,0);if(i[xa>>0]|0)break;if(k[$>>2]|0){Pu(d,(m[d+32>>1]|0)+1&65535);if(!(i[xa>>0]|0))ua=120;else break}else ua=121}if((ua|0)==120?(k[$>>2]|0)==0:0)ua=121;if((ua|0)==121?(k[Ia+24>>2]&131072|0)!=0:0){$=d+24|0;k[$>>2]=-1;k[$+4>>2]=-1}if((k[a+64>>2]|0)==0?(i[xa>>0]|0)==0:0){u=i[ya>>0]|0;t:do if((u&255)>1&(e|0)!=0?(j[_>>1]&1024)==0:0){n=Qu(Ea,e)|0;o=L;h=k[Z>>2]|0;if(h){$=Qu(Ea,h)|0;n=$|n;o=L|o}y=d+736|0;c=k[za>>2]|0;x=k[X>>2]|0;w=x+20|0;x=x+12|0;v=u;h=U;do{p=k[y+(((v&255)+-1|0)*80|0)+64>>2]|0;if(!(i[c+((l[p+16>>0]|0)*72|0)+44>>0]&8))break t;if(aa?(k[p+36>>2]&4096|0)==0:0)break t;t=p+8|0;q=k[t>>2]|0;t=k[t+4>>2]|0;if(!((q&n|0)==0&(t&o|0)==0))break t;p=k[w>>2]|0;$=k[x>>2]|0;u=p+($*48|0)|0;if(($|0)>0)do{$=p+40|0;if(!((q&k[$>>2]|0)==0?(t&k[$+4>>2]|0)==0:0)?(k[(k[p>>2]|0)+4>>2]&1|0)==0:0)break t;p=p+48|0}while(p>>>0<u>>>0);v=v+-1<<24>>24;i[ya>>0]=v;h=h+-1|0}while((v&255)>1)}else h=U;while(0);aa=(k[d>>2]|0)+424|0;k[aa>>2]=(k[aa>>2]|0)+(j[d+32>>1]|0);do if((H&4|0)!=0?(T=(k[d+800>>2]|0)+36|0,Q=k[T>>2]|0,(Q&4096|0)!=0):0){i[d+38>>0]=1;if(i[(k[b+24>>2]|0)+44>>0]&32)break;k[T>>2]=Q&-65}while(0);ta=d+736|0;P=(h|0)>0;if(P){M=H&16;N=d+38|0;O=da+32|0;I=K^1;K=(g|0)==0|I;J=a+68|0;G=54-(H>>>12&1)|0;F=da+4|0;B=Ia+20|0;z=Ia+16|0;q=0;H=ta;while(1){A=l[H+44>>0]|0;C=b+(A*72|0)+24|0;o=k[C>>2]|0;c=k[o+68>>2]|0;u:do if(!c)w=-1e6;else{y=k[B>>2]|0;if((y|0)<=0){w=0;break}x=k[z>>2]|0;n=0;while(1){w=n+1|0;if((k[x+(n<<4)+12>>2]|0)==(c|0)){w=n;break u}if((w|0)<(y|0))n=w;else break}}while(0);E=k[H+64>>2]|0;D=o+44|0;c=l[D>>0]|0;do if(!(c&2)){if(k[o+12>>2]|0)break;y=k[E+36>>2]|0;if(y&1024){v=k[o+60>>2]|0;v:do if(!v)v=0;else while(1){if((k[v>>2]|0)==(Ia|0))break v;v=k[v+24>>2]|0;if(!v){v=0;break}}while(0);Ch(da,Bh(da,149,k[b+(A*72|0)+48>>2]|0,0,0)|0,v,-10);break}if(c&16)break;if(y&64|M){ls(a,w,k[o+32>>2]|0,0,k[o>>2]|0);break}x=b+(A*72|0)+48|0;if(!(i[N>>0]|0))c=54;else{k[ba>>2]=k[x>>2];c=55}Vq(a,k[x>>2]|0,w,o,c);if(i[N>>0]|0)break;if((j[o+38>>1]|0)>=64)break;if(i[D>>0]&32)break;x=b+(A*72|0)+64|0;v=k[x>>2]|0;x=k[x+4>>2]|0;if((v|0)==0&(x|0)==0)u=0;else{u=0;do{v=rw(v|0,x|0,1)|0;x=L;u=u+1|0}while(!((v|0)==0&(x|0)==0))}Ch(da,(k[O>>2]|0)+-1|0,u,-14)}while(0);y=E+36|0;w:do if(k[y>>2]&512){c=k[E+28>>2]|0;do if(i[D>>0]&32){if((i[c+51>>0]&3)!=2|I)break;k[H+8>>2]=k[H+4>>2];break w}while(0);do if(!(i[N>>0]|0)){if(!K){u=g;t=G;break}u=k[J>>2]|0;k[J>>2]=u+1;t=54}else{t=k[(k[C>>2]|0)+8>>2]|0;if((t|0)==0|(t|0)==(c|0))u=g;else{u=g;do{u=u+1|0;t=k[t+20>>2]|0}while(!((t|0)==0|(t|0)==(c|0)))}k[ca>>2]=u;t=55}while(0);k[H+8>>2]=u;Bh(da,t,u,k[c+40>>2]|0,w)|0;aa=k[Ha>>2]|0;Ch(aa,-1,ms(a,c)|0,-6);aa=k[y>>2]|0;if(!((aa&15|0)!=0&(aa&32770|0)==0))break;if(j[Ba>>1]&1)break;p=k[F>>2]|0;if(!p)break;i[p+(((k[O>>2]|0)+-1|0)*20|0)+3>>0]=2}while(0);if((w|0)>-1)Fr(a,w);q=q+1|0;if((q|0)==(h|0))break;else H=H+80|0}ca=(i[xa>>0]|0)==0;k[d+44>>2]=k[O>>2];if(!ca)break}else{O=da+32|0;k[d+44>>2]=k[O>>2]}if(!P)break a;ga=d+24|0;ha=d+36|0;ia=d+39|0;ja=a+80|0;la=a+68|0;ma=a+100|0;na=a+19|0;oa=a+72|0;pa=Ka+20|0;qa=Ka+4|0;ra=Ka+24|0;o=-1;n=-1;sa=0;while(1){V=ta+(sa*80|0)|0;c=ta+(sa*80|0)+64|0;X=ta+(sa*80|0)+44|0;if(k[(k[c>>2]|0)+36>>2]&16384){G=l[X>>0]|0;R=b+(G*72|0)+8|0;W=k[Ha>>2]|0;v=Tq(a)|0;Y=k[ja>>2]|0;k[ja>>2]=Y+1;Y=Bh(v,44,Y,0,0)|0;v=k[b+(G*72|0)+24>>2]|0;ca=k[va>>2]|0;y=k[wa>>2]|0;Q=y+(ca*48|0)|0;I=k[c>>2]|0;x:do if((ca|0)>0){w=b+(G*72|0)+48|0;q=v+4|0;t=I+48|0;C=0;z=0;x=0;p=0;B=0;while(1){A=k[y>>2]|0;ca=I;do if((k[ca>>2]|0)==0&(k[ca+4>>2]|0)==0){if(j[y+20>>1]&2)break;if(k[A+4>>2]&1)break;ca=k[w>>2]|0;k[Ka+0>>2]=0;k[Ka+4>>2]=0;k[Ka+8>>2]=0;k[Ka+12>>2]=0;k[Ka+16>>2]=0;k[Ka+20>>2]=0;i[pa>>0]=3;k[Ka>>2]=78;k[qa>>2]=79;k[ra>>2]=ca;ws(Ka,A)|0;if(!(i[pa>>0]|0))break;ca=k[a>>2]|0;p=xs(ca,p,Rr(ca,A,0,0)|0)|0}while(0);do if(!(Ru(y,R,o,n)|0)){E=C;A=z;c=x}else{A=k[y+12>>2]|0;if((A|0)>63){E=0;D=-2147483648}else{E=nw(1,0,A|0)|0;D=L}if(!(B<<24>>24)){B=k[(k[q>>2]|0)+(A*24|0)>>2]|0;k[Ka>>2]=k[v>>2];k[Ka+4>>2]=B;gd(284,33960,Ka);B=1}if(!((E&C|0)==0&(D&z|0)==0)){E=C;A=z;c=x;break}c=x+1|0;if(Su(k[a>>2]|0,I,c)|0)break x;k[(k[t>>2]|0)+(x<<2)>>2]=y;E=E|C;A=D|z}while(0);y=y+48|0;if(y>>>0>=Q>>>0){y=E;ua=207;break}else{C=E;z=A;x=c}}}else{A=0;y=0;c=0;p=0;ua=207}while(0);do if((ua|0)==207){ua=0;q=c&65535;j[I+40>>1]=q;j[I+24>>1]=q;q=I+36|0;k[q>>2]=16961;H=b+(G*72|0)+64|0;J=H;D=k[J+4>>2]|0;J=k[J>>2]&~y;M=D&((A|-2147483648)^2147483647);u=v+38|0;N=j[u>>1]|0;E=N<<16>>16;N=N<<16>>16>63?63:E;P=(N|0)>0;if(P){A=0;do{ca=nw(1,0,A|0)|0;c=(((ca&J|0)!=0|(L&M|0)!=0)&1)+c|0;A=A+1|0}while((A|0)!=(N|0))}if((D|0)<0)c=c+-63+E|0;K=c+1|0;F=zs(k[a>>2]|0,K&65535,0,La)|0;if(!F)break;k[I+28>>2]=F;k[F>>2]=33992;k[F+12>>2]=v;A=k[wa>>2]|0;if(A>>>0<Q>>>0){c=F+4|0;y=F+32|0;D=0;E=0;x=0;do{do if(Ru(A,R,o,n)|0){C=k[A+12>>2]|0;if((C|0)>63){B=0;z=-2147483648}else{B=nw(1,0,C|0)|0;z=L}if(!((B&D|0)==0&(z&E|0)==0))break;ca=k[A>>2]|0;j[(k[c>>2]|0)+(x<<1)>>1]=C;C=Tu(a,k[ca+12>>2]|0,k[ca+16>>2]|0)|0;if(!C)C=11152;else C=k[C>>2]|0;k[(k[y>>2]|0)+(x<<2)>>2]=C;D=B|D;E=z|E;x=x+1|0}while(0);A=A+48|0}while(A>>>0<Q>>>0)}else x=0;if(P){A=F+4|0;z=F+32|0;c=0;do{ca=nw(1,0,c|0)|0;if(!((ca&J|0)==0&(L&M|0)==0)){j[(k[A>>2]|0)+(x<<1)>>1]=c;k[(k[z>>2]|0)+(x<<2)>>2]=11152;x=x+1|0}c=c+1|0}while((c|0)!=(N|0))}do if((k[H+4>>2]|0)<0){if((j[u>>1]|0)<=63)break;c=F+4|0;y=F+32|0;w=63;do{j[(k[c>>2]|0)+(x<<1)>>1]=w;k[(k[y>>2]|0)+(x<<2)>>2]=11152;x=x+1|0;w=w+1|0}while((w|0)<(j[u>>1]|0))}while(0);j[(k[F+4>>2]|0)+(x<<1)>>1]=-1;k[(k[F+32>>2]|0)+(x<<2)>>2]=11152;A=k[la>>2]|0;k[la>>2]=A+1;y=ta+(sa*80|0)+8|0;k[y>>2]=A;Bh(W,56,A,K,0)|0;A=k[Ha>>2]|0;Ch(A,-1,ms(a,F)|0,-6);k[ma>>2]=(k[ma>>2]|0)+1;A=ta+(sa*80|0)+4|0;t=Bh(W,108,k[A>>2]|0,0,0)|0;x=(p|0)!=0;if(x){w=Cs(W)|0;lt(a,p,w,16);k[q>>2]=k[q>>2]|131072}else w=0;c=i[na>>0]|0;if(!(c<<24>>24)){q=(k[oa>>2]|0)+1|0;k[oa>>2]=q}else{q=c+-1<<24>>24;i[na>>0]=q;q=k[a+((q&255)<<2)+24>>2]|0}Ut(a,F,k[A>>2]|0,q,0,0,0,0)|0;Bh(W,110,k[y>>2]|0,q,0)|0;z=W+4|0;c=k[z>>2]|0;if(c)i[c+(((k[W+32>>2]|0)+-1|0)*20|0)+3>>0]=16;if(x){y=k[W+24>>2]|0;x=~w;do if((w|0)<0){c=k[y+112>>2]|0;if(!c)break;k[c+(x<<2)>>2]=k[W+32>>2]}while(0);k[y+88>>2]=(k[W+32>>2]|0)+-1}Bh(W,9,k[A>>2]|0,t+1|0,0)|0;c=k[z>>2]|0;y=k[W+32>>2]|0;if(c)i[c+((y+-1|0)*20|0)+3>>0]=3;if(y>>>0>t>>>0)k[c+(t*20|0)+8>>2]=y;c=W+24|0;k[(k[c>>2]|0)+88>>2]=y+-1;ds(a,q);gu(a);u=k[W+32>>2]|0;if(u>>>0>Y>>>0)k[(k[z>>2]|0)+(Y*20|0)+8>>2]=u;k[(k[c>>2]|0)+88>>2]=u+-1}while(0);Lk(k[a>>2]|0,p);if(i[xa>>0]|0)break b}Uu(a,b,V,sa,l[X>>0]|0,f);k[ta+(sa*80|0)+32>>2]=k[O>>2];fa=k[d>>2]|0;K=fa+8|0;ba=k[K>>2]|0;da=k[fa>>2]|0;p=d+(sa*80|0)+736|0;J=k[d+(sa*80|0)+800>>2]|0;$=d+(sa*80|0)+780|0;G=l[$>>0]|0;E=k[za>>2]|0;N=E+(G*72|0)+8|0;g=k[E+(G*72|0)+48>>2]|0;y=k[Ea>>2]|0;y:do if((y|0)>0){c=0;while(1){if((k[Ea+(c<<2)+4>>2]|0)==(g|0))break;c=c+1|0;if((c|0)>=(y|0)){c=-1;y=-1;break y}}c=nw(1,0,c|0)|0;c=~c;y=~L}else{c=-1;y=-1}while(0);ea=d+(sa*80|0)+808|0;M=ea;k[M>>2]=c&o;k[M+4>>2]=y&n;M=ga;M=rw(k[M>>2]|0,k[M+4>>2]|0,sa|0)|0;_=M&1;T=J+36|0;if(!(k[T>>2]&64))v=0;else v=(j[Ba>>1]&32)==0;F=Cs(ba)|0;P=d+(sa*80|0)+752|0;k[P>>2]=F;aa=d+(sa*80|0)+748|0;k[aa>>2]=F;ca=Cs(ba)|0;k[d+(sa*80|0)+760>>2]=ca;do if(i[$>>0]|0){if(!(i[E+(G*72|0)+44>>0]&8))break;Z=fa+72|0;e=(k[Z>>2]|0)+1|0;k[Z>>2]=e;k[p>>2]=e;Bh(ba,25,0,e,0)|0}while(0);A=i[E+(G*72|0)+45>>0]|0;z:do if(!(A&4)){C=k[T>>2]|0;if(C&1024){q=j[J+40>>1]|0;t=q&65535;v=fa+100|0;k[v>>2]=(k[v>>2]|0)+1;v=t+2|0;F=fa+60|0;c=k[F>>2]|0;G=fa+56|0;y=k[G>>2]|0;if((y|0)<(v|0)){$=fa+72|0;u=k[$>>2]|0;k[$>>2]=u+v;u=u+1|0}else{k[F>>2]=c+v;k[G>>2]=y-v;u=c}c=k[aa>>2]|0;B=q<<16>>16==0;if(!B){D=u+2|0;C=J+48|0;E=0;do{A=D+E|0;z=k[(k[C>>2]|0)+(E<<2)>>2]|0;do if(z)if(!(j[z+18>>1]&1)){Wq(fa,k[(k[z>>2]|0)+16>>2]|0,A);break}else{Vu(fa,z,p,E,_,A)|0;c=k[P>>2]|0;break}while(0);E=E+1|0}while((E|0)<(t|0))}Bh(ba,25,k[J+24>>2]|0,u,0)|0;Bh(ba,25,t,u+1|0,0)|0;_=k[J+32>>2]|0;aa=J+28|0;$=(i[aa>>0]|0)!=0?-11:-2;Ch(ba,Bh(ba,14,g,c,u)|0,_,$);i[aa>>0]=0;if(!B){w=J+30|0;x=J+48|0;c=(q&65535)>1?0-t|0:-1;c=c>>>0>4294967280?0-c|0:16;y=0;do{if(m[w>>1]&1<<y)Wu(p,k[(k[x>>2]|0)+(y<<2)>>2]|0);y=y+1|0}while((y|0)!=(c|0))}i[d+(sa*80|0)+781>>0]=-105;k[d+(sa*80|0)+784>>2]=g;k[d+(sa*80|0)+788>>2]=k[ba+32>>2];it(fa,u,v);if((k[G>>2]|0)<(v|0)){k[G>>2]=v;k[F>>2]=u}gu(fa);ua=459;break}if(!((C&256|0)==0|(C&5|0)==0)){v=k[k[J+48>>2]>>2]|0;aa=fa+72|0;x=(k[aa>>2]|0)+1|0;k[aa>>2]=x;v=Vu(fa,v,p,0,_,x)|0;if((v|0)!=(x|0))ds(fa,x);ua=k[P>>2]|0;Bh(ba,38,v,ua,0)|0;Bh(ba,70,g,ua,v)|0;it(fa,v,1);Xu(fa,g,-1,v);i[d+(sa*80|0)+781>>0]=-100;ua=459;break}if((C&258|0)==258){if(!(C&32)){c=0;x=0}else{c=1;x=k[k[J+48>>2]>>2]|0}if(!(C&16))c=0;else c=k[(k[J+48>>2]|0)+(c<<2)>>2]|0;y=(_|0)!=0;w=y?x:c;c=y?c:x;if(!c)Bh(ba,y?105:108,g,F,0)|0;else{$=k[c>>2]|0;aa=eu(fa,k[$+16>>2]|0,Ka)|0;Bh(ba,l[33536+((l[$>>0]|0)+-80)>>0]|0,g,F,aa)|0;it(fa,aa,1);ds(fa,k[Ka>>2]|0);Wu(p,c)}if(!w){c=0;y=156}else{aa=k[w>>2]|0;$=fa+72|0;c=(k[$>>2]|0)+1|0;k[$>>2]=c;Wq(fa,k[aa+16>>2]|0,c);aa=i[aa>>0]|0;if(aa<<24>>24==80|aa<<24>>24==82)y=_<<1^83;else y=_<<1|80;Wu(p,w)}x=ba+32|0;aa=k[x>>2]|0;i[d+(sa*80|0)+781>>0]=_^9;k[d+(sa*80|0)+784>>2]=g;k[d+(sa*80|0)+788>>2]=aa;if((y|0)==156){ua=459;break}aa=fa+72|0;u=(k[aa>>2]|0)+1|0;k[aa>>2]=u;Bh(ba,103,g,u,0)|0;Xu(fa,g,-1,u);Bh(ba,y,c,F,u)|0;u=k[ba+4>>2]|0;if(!u){ua=459;break}i[u+(((k[x>>2]|0)+-1|0)*20|0)+3>>0]=83;ua=459;break}if(C&512){K=j[J+24>>1]|0;i[Ja>>0]=0;S=k[J+28>>2]|0;U=k[d+(sa*80|0)+744>>2]|0;do if(!(j[Ba>>1]&1)){D=0;A=0}else{if((i[ha>>0]|0)<=0){D=0;A=0;break}A=(m[S+46>>1]|0)>(K&65535);D=A&1;A=A&1}while(0);c=K&65535;if(!(C&32)){E=c;G=0}else{E=c+1|0;A=1;G=k[(k[J+48>>2]|0)+(c<<2)>>2]|0}do if(!(C&16))z=0;else{z=k[(k[J+48>>2]|0)+(E<<2)>>2]|0;if(j[z+20>>1]&256){$=fa+72|0;aa=(k[$>>2]|0)+1|0;k[$>>2]=aa;k[d+(sa*80|0)+772>>2]=aa;Bh(ba,25,(i[(k[S+28>>2]|0)+c>>0]|0)==1^_,aa,0)|0;k[d+(sa*80|0)+776>>2]=k[ba+32>>2]}if(G){A=1;break}A=j[(k[S+4>>2]|0)+(c<<1)>>1]|0;if(A<<16>>16<=-1){A=1;break}D=(i[(k[(k[S+12>>2]|0)+4>>2]|0)+((A<<16>>16)*24|0)+20>>0]|0)==0?1:D;A=1}while(0);I=Yu(fa,p,_,A,La)|0;H=k[La>>2]|0;F=(H|0)==0;if(!F)i[Ja>>0]=i[H+c>>0]|0;J=k[P>>2]|0;B=j[S+46>>1]|0;if((K&65535)<(B&65535)?!((i[(k[S+28>>2]|0)+c>>0]|0)==0^((M&1|0)!=0|0!=0)):0)ua=318;else if((_|0)!=0?B<<16>>16==K<<16>>16:0)ua=318;else{N=D;D=0;M=z;P=G}if((ua|0)==318){N=0;M=G;P=z}z=(P|0)!=0;if(z)B=(j[P+18>>1]&40)!=0;else B=1;C=B&1;G=(M|0)!=0;if(G)E=(j[M+18>>1]&40)!=0;else E=1;A=E&1;E=(z|K<<16>>16!=0)&1;do if(z){y=k[(k[P>>2]|0)+16>>2]|0;z=I+c|0;Wq(fa,y,z);if(j[P+20>>1]&256){if(!(i[(k[ba>>2]|0)+65>>0]|0))B=(k[ba+4>>2]|0)+(((k[ba+32>>2]|0)+-1|0)*20|0)|0;else B=29120;k[B+12>>2]=k[d+(sa*80|0)+772>>2];i[B+3>>0]=1}if(Zu(y)|0)Bh(ba,76,z,J,0)|0;do if(!F){B=H+c|0;if((Gu(y,i[B>>0]|0)|0)<<24>>24==65){i[B>>0]=65;z=65}else z=i[B>>0]|0;if(!(_u(y,z)|0))break;i[B>>0]=65}while(0);B=c+1|0}else{if(!(N<<24>>24)){B=c;break}Bh(ba,28,0,I+c|0,0)|0;B=c+1|0;C=0;E=1}while(0);$u(fa,I,B-(N&255)|0,H);Ch(ba,Bh(ba,l[33544+(E<<2|_|C<<1)>>0]|0,U,J,I)|0,B,-14);do if(G){y=k[(k[M>>2]|0)+16>>2]|0;x=I+c|0;it(fa,x,1);Wq(fa,y,x);if(j[M+20>>1]&256){if(!(i[(k[ba>>2]|0)+65>>0]|0))z=(k[ba+4>>2]|0)+(((k[ba+32>>2]|0)+-1|0)*20|0)|0;else z=29120;k[z+12>>2]=k[d+(sa*80|0)+772>>2];i[z+3>>0]=1}if(Zu(y)|0)Bh(ba,76,x,J,0)|0;do if((Gu(y,i[Ja>>0]|0)|0)<<24>>24!=65){if(_u(y,i[Ja>>0]|0)|0)break;$u(fa,x,1,Ja)}while(0);c=c+1|0}else{if(!(D<<24>>24))break;Bh(ba,28,0,I+c|0,0)|0;A=0;c=c+1|0}while(0);rg(da,H);k[d+(sa*80|0)+788>>2]=k[ba+32>>2];if(c)Ch(ba,Bh(ba,l[33552+(A|_<<1)>>0]|0,U,J,I)|0,c,-14);Wu(p,P);Wu(p,M);do if(!v){c=k[S+12>>2]|0;if(!(i[c+44>>0]&32)){$=fa+72|0;aa=(k[$>>2]|0)+1|0;k[$>>2]=aa;Bh(ba,112,U,aa,0)|0;Xu(fa,g,-1,aa);Bh(ba,66,g,aa,0)|0;break}if((g|0)==(U|0))break;c=k[c+8>>2]|0;A:do if(!c)A=0;else while(1){if((i[c+51>>0]&3)==2){A=c;break A}c=k[c+20>>2]|0;if(!c){A=0;break}}while(0);E=A+46|0;t=j[E>>1]|0;c=t&65535;y=fa+60|0;x=k[y>>2]|0;w=fa+56|0;q=k[w>>2]|0;if((q|0)<(c|0)){aa=fa+72|0;x=k[aa>>2]|0;k[aa>>2]=x+c;x=x+1|0}else{k[y>>2]=x+c;k[w>>2]=q-c}if(t<<16>>16){q=A+4|0;t=S+48|0;w=S+4|0;B=0;do{A=j[(k[q>>2]|0)+(B<<1)>>1]|0;c=j[t>>1]|0;B:do if(!(c<<16>>16))c=-1;else{z=k[w>>2]|0;y=c&65535;c=0;while(1){if((j[z+(c<<1)>>1]|0)==A<<16>>16)break B;c=c+1|0;if((c|0)>=(y|0)){c=-1;break}}}while(0);Bh(ba,47,U,c<<16>>16,B+x|0)|0;B=B+1|0;c=m[E>>1]|0}while((B|0)<(c|0))}Ch(ba,Bh(ba,68,g,ca,x)|0,c,-14)}while(0);x=k[T>>2]|0;do if(!(x&4096)){w=d+(sa*80|0)+781|0;if(!_){i[w>>0]=9;break}else{i[w>>0]=8;break}}else i[d+(sa*80|0)+781>>0]=-100;while(0);k[d+(sa*80|0)+784>>2]=U;i[d+(sa*80|0)+782>>0]=x>>>16&1;if(x&15){ua=459;break}i[d+(sa*80|0)+783>>0]=1;ua=459;break}if(!(C&8192))if(!(A&8)){i[d+(sa*80|0)+781>>0]=i[33560+_>>0]|0;k[d+(sa*80|0)+784>>2]=g;ua=(Bh(ba,l[33568+_>>0]|0,g,F,0)|0)+1|0;k[d+(sa*80|0)+788>>2]=ua;i[d+(sa*80|0)+783>>0]=1;ua=459;break}else{i[d+(sa*80|0)+781>>0]=-100;ua=459;break}F=fa+68|0;Z=k[F>>2]|0;k[F>>2]=Z+1;X=fa+72|0;Y=(k[X>>2]|0)+1|0;k[X>>2]=Y;_=Cs(ba)|0;W=k[E+(G*72|0)+24>>2]|0;e=k[k[J+48>>2]>>2]|0;P=k[e+12>>2]|0;i[d+(sa*80|0)+781>>0]=18;k[d+(sa*80|0)+784>>2]=Y;A=i[ya>>0]|0;do if((A&255)>1){E=(A&255)-sa|0;C=E+-1|0;B=rh(da,(C*72|0)+80|0,0)|0;if(!B)break z;A=E&255;k[B+4>>2]=A;k[B>>2]=A;A=B+8|0;G=A+0|0;z=N+0|0;c=G+72|0;do{k[G>>2]=k[z>>2];G=G+4|0;z=z+4|0}while((G|0)<(c|0));D=k[za>>2]|0;if((E|0)<2){V=B;break}else E=1;while(1){G=A+(E*72|0)+0|0;z=D+((l[d+((E+sa|0)*80|0)+780>>0]|0)*72|0)+8|0;c=G+72|0;do{k[G>>2]=k[z>>2];G=G+4|0;z=z+4|0}while((G|0)<(c|0));if((E|0)<(C|0))E=E+1|0;else{V=B;break}}}else V=k[za>>2]|0;while(0);if(!(j[Ba>>1]&8)){if(!(i[W+44>>0]&32)){A=(k[X>>2]|0)+1|0;k[X>>2]=A;Bh(ba,28,0,A,0)|0}else{A=k[W+8>>2]|0;C:do if(!A)A=0;else while(1){if((i[A+51>>0]&3)==2)break C;A=k[A+20>>2]|0;if(!A){A=0;break}}while(0);U=k[F>>2]|0;k[F>>2]=U+1;Bh(ba,57,U,m[A+46>>1]|0,0)|0;T=k[K>>2]|0;Ch(T,-1,ms(fa,A)|0,-6);A=U}T=(k[X>>2]|0)+1|0;k[X>>2]=T}else{T=0;A=0}U=Bh(ba,25,0,Y,0)|0;z=k[va>>2]|0;do if((z|0)>1){B=0;E=0;do{D=k[wa>>2]|0;S=D+(B*48|0)|0;C=k[S>>2]|0;do if((S|0)!=(e|0)){if(k[C+4>>2]&1)break;if(j[D+(B*48|0)+20>>1]&2)break;if(!(j[D+(B*48|0)+18>>1]&4095))break;E=xs(da,E,Rr(da,C,0,0)|0)|0;z=k[va>>2]|0}while(0);B=B+1|0}while((B|0)<(z|0));z=E;if(!z){S=0;break}S=cr(fa,72,0,z,0)|0}else S=0;while(0);R=P+12|0;do if((k[R>>2]|0)>0){u=P+20|0;t=(S|0)==0;q=W+44|0;w=ba+32|0;x=ba+4|0;z=ba+24|0;B=W+8|0;C=fa+60|0;D=fa+56|0;E=S+12|0;Q=0;y=0;c=0;v=240;while(1){G=k[u>>2]|0;if((k[G+(Q*48|0)+8>>2]|0)!=(g|0)?(j[G+(Q*48|0)+18>>1]&512)==0:0)G=v;else ua=407;do if((ua|0)==407){ua=0;G=k[G+(Q*48|0)>>2]|0;do if(!t){if(k[G+4>>2]&1)break;k[E>>2]=G;G=S}while(0);H=_s(fa,V,G,0,0,v,Z)|0;if(!H){G=v;break}Uu(fa,V,H+736|0,sa,l[$>>0]|0,0);do if(!(j[Ba>>1]&8)){K=(Q|0)==((k[R>>2]|0)+-1|0)?-1:Q;do if(!(i[q>>0]&32)){F=Bh(ba,130,A,0,ht(fa,W,-1,g,T,0)|0)|0;Ch(ba,F,K,-14)}else{G=k[B>>2]|0;D:do if(!G)G=0;else while(1){if((i[G+51>>0]&3)==2)break D;G=k[G+20>>2]|0;if(!G){G=0;break}}while(0);M=j[G+46>>1]|0;I=M&65535;P=k[C>>2]|0;N=k[D>>2]|0;if((N|0)<(I|0)){J=k[X>>2]|0;k[X>>2]=J+I;J=J+1|0}else{k[C>>2]=P+I;k[D>>2]=N-I;J=P}if(M<<16>>16){N=G+4|0;P=0;do{ht(fa,W,j[(k[N>>2]|0)+(P<<1)>>1]|0,g,P+J|0,0)|0;P=P+1|0}while((P|0)<(I|0))}P=(K|0)!=0;if(P){F=Bh(ba,69,A,0,J)|0;Ch(ba,F,I,-14);if((K|0)>-1)ua=426}else{F=0;ua=426}do if((ua|0)==426){ua=0;Bh(ba,49,J,I,T)|0;Bh(ba,110,A,T,0)|0;if(!P)break;K=k[x>>2]|0;if(!K)break;i[K+(((k[w>>2]|0)+-1|0)*20|0)+3>>0]=16}while(0);it(fa,J,I);if((k[D>>2]|0)>=(I|0))break;k[D>>2]=I;k[C>>2]=J}while(0);Bh(ba,17,Y,_,0)|0;if(!F)break;G=k[w>>2]|0;if(G>>>0>F>>>0)k[(k[x>>2]|0)+(F*20|0)+8>>2]=G;k[(k[z>>2]|0)+88>>2]=G+-1}else Bh(ba,17,Y,_,0)|0;while(0);c=(i[H+39>>0]|0)==0?c:1;G=k[H+800>>2]|0;do if(!(k[G+36>>2]&512)){y=0;G=v}else{if((Q|0)!=0?(k[G+28>>2]|0)!=(y|0):0){y=0;G=v;break}y=k[G+28>>2]|0;if((i[q>>0]&32)!=0?(i[y+51>>0]&3)==2:0){y=0;G=v;break}G=(v&65535|4096)&65535}while(0);at(H)}while(0);Q=Q+1|0;if((Q|0)>=(k[R>>2]|0))break;else v=G}k[d+(sa*80|0)+792>>2]=y;if(!y){q=c;break}k[d+(sa*80|0)+744>>2]=Z;q=c}else{k[d+(sa*80|0)+792>>2]=0;q=0}while(0);if(S){k[S+12>>2]=0;Lk(da,S)}w=ba+32|0;c=k[w>>2]|0;if(c>>>0>U>>>0)k[(k[ba+4>>2]|0)+(U*20|0)+4>>2]=c;Bh(ba,16,0,k[aa>>2]|0,0)|0;y=k[ba+24>>2]|0;x=~_;do if((_|0)<0){c=k[y+112>>2]|0;if(!c)break;k[c+(x<<2)>>2]=k[w>>2]}while(0);k[y+88>>2]=(k[w>>2]|0)+-1;if((l[ya>>0]|0)>1)rg(da,V);if(q){ua=459;break}Wu(p,e);ua=459}else{ua=k[E+(G*72|0)+36>>2]|0;Bh(ba,20,ua,0,k[E+(G*72|0)+32>>2]|0)|0;ua=Bh(ba,22,ua,F,0)|0;k[d+(sa*80|0)+788>>2]=ua;i[d+(sa*80|0)+781>>0]=16;ua=459}while(0);if((ua|0)==459){ua=0;c=k[va>>2]|0;do if((c|0)>0){u=d+(sa*80|0)+772|0;v=ba+32|0;z=ba+4|0;A=ba+24|0;t=k[wa>>2]|0;while(1){q=t+20|0;y=j[q>>1]|0;do if(!(y&6)){aa=t+40|0;$=ea;if(!((k[$>>2]&k[aa>>2]|0)==0?(k[$+4>>2]&k[aa+4>>2]|0)==0:0)){i[ia>>0]=1;break}x=k[t>>2]|0;if((k[p>>2]|0)!=0?(k[x+4>>2]&1|0)==0:0)break;do if(!(y&512))lt(fa,x,ca,16);else{w=Bh(ba,46,k[u>>2]|0,0,0)|0;lt(fa,x,ca,16);if(!w)break;y=k[v>>2]|0;if(y>>>0>w>>>0)k[(k[z>>2]|0)+(w*20|0)+8>>2]=y;k[(k[A>>2]|0)+88>>2]=y+-1}while(0);j[q>>1]=m[q>>1]|4}while(0);c=c+-1|0;if((c|0)<=0)break;else t=t+48|0}u=k[va>>2]|0;if((u|0)<=0){ua=475;break}w=k[wa>>2]|0;while(1){do if(!(j[w+20>>1]&6)){if((j[w+18>>1]|0)!=1026)break;if((k[w+8>>2]|0)!=(g|0))break;if(k[p>>2]|0)break;y=k[w>>2]|0;c=Ku(Fa,g,k[w+12>>2]|0,o,n,3,0)|0;if(!c)break;if(j[c+20>>1]&4)break;x=rh(da,48,0)|0;if(!x)break;G=x+0|0;z=(k[c>>2]|0)+0|0;c=G+48|0;do{k[G>>2]=k[z>>2];G=G+4|0;z=z+4|0}while((G|0)<(c|0));k[x+12>>2]=k[y+12>>2];lt(fa,x,ca,16);rg(da,x)}while(0);u=u+-1|0;if((u|0)<=0)break;else w=w+48|0}}else ua=475;while(0);if((ua|0)==475)ua=0;p=k[p>>2]|0;do if(p){k[d+(sa*80|0)+764>>2]=k[ba+32>>2];Bh(ba,25,1,p,0)|0;ft(fa);p=k[va>>2]|0;if((p|0)<=0)break;u=0;t=k[wa>>2]|0;while(1){o=t+20|0;do if(!(j[o>>1]&6)){ba=t+40|0;aa=ea;if(!((k[aa>>2]&k[ba>>2]|0)==0?(k[aa+4>>2]&k[ba+4>>2]|0)==0:0))break;lt(fa,k[t>>2]|0,ca,16);j[o>>1]=m[o>>1]|4;p=k[va>>2]|0}while(0);u=u+1|0;if((u|0)>=(p|0))break;else t=t+48|0}}while(0);n=ea;o=k[n>>2]|0;n=k[n+4>>2]|0}k[Aa>>2]=k[ta+(sa*80|0)+24>>2];sa=sa+1|0;if((sa|0)>=(h|0))break a}}}while(0);if(Ga)d=0;else{k[Ca>>2]=k[Da>>2];av(Ia,d);d=0}}else{k[Ka>>2]=64;yh(a,33504,Ka);d=0}while(0);r=Ma;return d|0}function $s(a){a=a|0;var b=0,c=0,d=0,e=0;e=a<<16>>16;do if(a<<16>>16>=10){a=(e|0)%10|0;b=((a|0)<0)<<31>>31;if(a>>>0>4){c=ow(a|0,b|0,-2,-1)|0;d=L}else{c=((a|0)!=0)<<31>>31;c=ow(c|0,((c|0)<0)<<31>>31|0,a|0,b|0)|0;d=L}b=((e|0)/10|0)<<16;a=b>>16;if((b|0)<=131072){b=ow(c|0,d|0,8,0)|0;a=rw(b|0,L|0,3-a|0)|0;b=L;break}if((b|0)>3932160){b=2147483647;a=-1}else{b=ow(c|0,d|0,8,0)|0;a=nw(b|0,L|0,a+-3|0)|0;b=L}}else{b=0;a=1}while(0);L=b;return a|0}function at(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=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;C=k[a>>2]|0;D=k[C+8>>2]|0;F=k[a+4>>2]|0;G=k[C>>2]|0;ft(C);H=a+41|0;c=i[H>>0]|0;if(!(c<<24>>24))b=D+24|0;else{b=D+24|0;p=D+32|0;r=D+4|0;o=c&255;do{o=o+-1|0;e=k[a+(o*80|0)+800>>2]|0;A=k[a+(o*80|0)+760>>2]|0;c=k[b>>2]|0;d=~A;if((A|0)<0?(s=k[c+112>>2]|0,(s|0)!=0):0)k[s+(d<<2)>>2]=k[p>>2];k[c+88>>2]=(k[p>>2]|0)+-1;B=a+(o*80|0)+781|0;d=i[B>>0]|0;if(d<<24>>24!=-100?(Bh(D,d&255,k[a+(o*80|0)+784>>2]|0,k[a+(o*80|0)+788>>2]|0,l[a+(o*80|0)+782>>0]|0)|0,u=k[r>>2]|0,(u|0)!=0):0)i[u+(((k[p>>2]|0)+-1|0)*20|0)+3>>0]=i[a+(o*80|0)+783>>0]|0;t=e+36|0;if((k[t>>2]&2048|0)!=0?(v=a+(o*80|0)+792|0,w=k[v>>2]|0,(w|0)>0):0){A=k[a+(o*80|0)+752>>2]|0;g=k[b>>2]|0;d=~A;if((A|0)<0?(x=k[g+112>>2]|0,(x|0)!=0):0){k[x+(d<<2)>>2]=k[p>>2];h=k[v>>2]|0;f=k[p>>2]|0;k[g+88>>2]=f+-1;c=a+(o*80|0)+796|0;if((h|0)>0)I=16}else{f=k[p>>2]|0;k[g+88>>2]=f+-1;c=a+(o*80|0)+796|0;h=w;I=16}if((I|0)==16){I=0;d=g;n=h;m=(k[c>>2]|0)+((h+-1|0)*12|0)|0;while(1){h=m+4|0;g=k[h>>2]|0;e=g+1|0;if(f>>>0>e>>>0)k[(k[r>>2]|0)+(e*20|0)+8>>2]=f;k[d+88>>2]=f+-1;Bh(D,l[m+8>>0]|0,k[m>>2]|0,g,0)|0;h=(k[h>>2]|0)+-1|0;f=k[p>>2]|0;if(f>>>0>h>>>0)k[(k[r>>2]|0)+(h*20|0)+8>>2]=f;d=k[b>>2]|0;k[d+88>>2]=f+-1;n=n+-1|0;if((n|0)<=0)break;else m=m+-12|0}}rg(G,k[c>>2]|0)}A=k[a+(o*80|0)+748>>2]|0;e=k[b>>2]|0;d=~A;if((A|0)<0?(q=k[e+112>>2]|0,(q|0)!=0):0)k[q+(d<<2)>>2]=k[p>>2];d=k[p>>2]|0;k[e+88>>2]=d+-1;e=a+(o*80|0)+756|0;c=k[e>>2]|0;if(c){Bh(D,16,0,c,0)|0;e=k[e>>2]|0;d=k[p>>2]|0;if(d>>>0>e>>>0)k[(k[r>>2]|0)+(e*20|0)+8>>2]=d;f=d+-1|0;c=(k[b>>2]|0)+88|0;k[c>>2]=f;e=e+-2|0;if(d>>>0>e>>>0)k[(k[r>>2]|0)+(e*20|0)+8>>2]=d;k[c>>2]=f}e=k[a+(o*80|0)+776>>2]|0;if(e){if(!(i[(k[D>>2]|0)+65>>0]|0))d=(k[r>>2]|0)+((((e|0)<1?d:e)+-1|0)*20|0)|0;else d=29120;Bh(D,(k[d+4>>2]|0)==0?141:140,k[a+(o*80|0)+772>>2]|0,e,0)|0}c=k[a+(o*80|0)+736>>2]|0;if(c){f=Bh(D,137,c,0,0)|0;c=k[t>>2]|0;if(!(c&64)){Bh(D,104,k[F+(o*72|0)+48>>2]|0,0,0)|0;c=k[t>>2]|0}if(c&512)Bh(D,104,k[a+(o*80|0)+744>>2]|0,0,0)|0;c=k[a+(o*80|0)+764>>2]|0;if((i[B>>0]|0)==18)Bh(D,17,k[a+(o*80|0)+784>>2]|0,c,0)|0;else Bh(D,16,0,c,0)|0;c=k[p>>2]|0;if(c>>>0>f>>>0)k[(k[r>>2]|0)+(f*20|0)+8>>2]=c;k[(k[b>>2]|0)+88>>2]=c+-1}}while((o|0)>0)}A=k[a+52>>2]|0;c=k[b>>2]|0;b=~A;if((A|0)<0?(y=k[c+112>>2]|0,(y|0)!=0):0)k[y+(b<<2)>>2]=k[D+32>>2];B=D+32|0;k[c+88>>2]=(k[B>>2]|0)+-1;if(i[H>>0]|0){u=a+34|0;v=a+38|0;w=a+64|0;x=G+65|0;y=D+4|0;z=0;A=a+736|0;while(1){e=l[A+44>>0]|0;f=k[F+(e*72|0)+24>>2]|0;d=k[A+64>>2]|0;if((i[F+(e*72|0)+45>>0]&4)!=0?(i[x>>0]|0)==0:0){g=k[B>>2]|0;d=k[A+32>>2]|0;if(!(i[(k[D>>2]|0)+65>>0]|0))c=(k[y>>2]|0)+(((d|0)<0?g+-1|0:d)*20|0)|0;else c=29120;if((d|0)<(g|0)){h=k[A+4>>2]|0;f=F+(e*72|0)+40|0;e=c;while(1){c=e+4|0;do if((k[c>>2]|0)==(h|0)){b=i[e>>0]|0;if(b<<24>>24==47){i[e>>0]=33;s=e+8|0;k[c>>2]=(k[f>>2]|0)+(k[s>>2]|0);t=e+12|0;k[s>>2]=k[t>>2];k[t>>2]=0;break}else if(b<<24>>24==103){i[e>>0]=28;k[c>>2]=0;k[e+12>>2]=0;break}else break}while(0);d=d+1|0;if((d|0)==(g|0))break;else e=e+20|0}}}else I=64;do if((I|0)==64){I=0;t=f+44|0;if(((i[t>>0]&2)==0?(k[f+12>>2]|0)==0:0)?(j[u>>1]&16)==0:0){c=k[d+36>>2]|0;if((i[v>>0]|0)==0&(c&64|0)==0)Bh(D,61,k[F+(e*72|0)+48>>2]|0,0,0)|0;if((c&17152|0)==512?(E=k[A+8>>2]|0,(E|0)!=(k[w>>2]|0)):0)Bh(D,61,E,0,0)|0}c=k[d+36>>2]|0;if(!(c&576)){if(!(c&8192))break;c=A+56|0}else c=d+28|0;d=k[c>>2]|0;if((d|0)!=0?(i[x>>0]|0)==0:0){r=k[B>>2]|0;h=k[A+32>>2]|0;if(!(i[(k[D>>2]|0)+65>>0]|0))g=(k[y>>2]|0)+(((h|0)<0?r+-1|0:h)*20|0)|0;else g=29120;if((h|0)<(r|0)){s=d+48|0;p=d+4|0;q=A+8|0;o=f+8|0;b=k[A+4>>2]|0;c=g;while(1){d=c+4|0;a:do if((k[d>>2]|0)==(b|0)){g=i[c>>0]|0;if(g<<24>>24==103){k[d>>2]=k[q>>2];i[c>>0]=112;break}else if(g<<24>>24!=47)break;e=c+8|0;g=k[e>>2]|0;if(i[t>>0]&32){f=o;while(1){f=k[f>>2]|0;if((i[f+51>>0]&3)==2)break;else f=f+20|0}g=j[(k[f+4>>2]|0)+(g<<1)>>1]|0}n=g&65535;g=j[s>>1]|0;if(g<<16>>16){f=k[p>>2]|0;m=g&65535;g=0;while(1){if((j[f+(g<<1)>>1]|0)==n<<16>>16)break;g=g+1|0;if((g|0)>=(m|0))break a}if((g&65535)<<16>>16>-1){k[e>>2]=g<<16>>16;k[d>>2]=k[q>>2]}}}while(0);h=h+1|0;if((h|0)==(r|0))break;else c=c+20|0}}}}while(0);z=z+1|0;if((z|0)>=(l[H>>0]|0))break;else A=A+80|0}}k[C+424>>2]=k[a+56>>2];av(G,a);return}function bt(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)!=0?(k[b>>2]|0)>0:0){c=0;d=k[b+4>>2]|0;while(1){bv(a,k[d>>2]|0);c=c+1|0;if((c|0)>=(k[b>>2]|0))break;else d=d+20|0}}return}function ct(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,t=0,u=0;u=r;r=r+16|0;if((r|0)>=(s|0))ka();p=u;d=k[a+24>>2]|0;q=k[d>>2]|0;g=k[d+4>>2]|0;t=k[d+12>>2]|0;c=l[b>>0]|0;a:do if((c|0)==154|(c|0)==156)if((g|0)!=0?(f=k[g>>2]|0,(f|0)>0):0){n=b+28|0;m=k[n>>2]|0;c=0;d=g+8|0;while(1){if((m|0)==(k[d+40>>2]|0))break;c=c+1|0;if((c|0)>=(f|0)){a=1;break a}else d=d+72|0}h=t+28|0;e=t+32|0;d=k[e>>2]|0;b:do if((d|0)>0){g=b+32|0;a=0;f=k[h>>2]|0;while(1){if((k[f+4>>2]|0)==(m|0)?(k[f+8>>2]|0)==(j[g>>1]|0):0)break b;a=a+1|0;if((a|0)<(d|0))f=f+24|0;else break}}else a=0;while(0);c:do if((a|0)>=(d|0)){d=Mt(k[q>>2]|0,k[h>>2]|0,24,e,p)|0;k[h>>2]=d;a=k[p>>2]|0;if((a|0)>-1){k[d+(a*24|0)>>2]=k[b+44>>2];e=k[n>>2]|0;k[d+(a*24|0)+4>>2]=e;f=j[b+32>>1]|0;k[d+(a*24|0)+8>>2]=f<<16>>16;n=q+72|0;g=(k[n>>2]|0)+1|0;k[n>>2]=g;k[d+(a*24|0)+16>>2]=g;g=d+(a*24|0)+12|0;k[g>>2]=-1;k[d+(a*24|0)+20>>2]=b;d=k[t+24>>2]|0;d:do if((d|0)!=0?(o=k[d>>2]|0,(o|0)>0):0){c=0;d=k[d+4>>2]|0;while(1){n=k[d>>2]|0;if(((i[n>>0]|0)==-102?(k[n+28>>2]|0)==(e|0):0)?(j[n+32>>1]|0)==f<<16>>16:0)break;c=c+1|0;if((c|0)>=(o|0))break d;else d=d+20|0}k[g>>2]=c;if((c|0)>=0)break c}while(0);n=t+12|0;o=k[n>>2]|0;k[n>>2]=o+1;k[g>>2]=o}}while(0);k[b+40>>2]=t;i[b>>0]=-100;j[b+34>>1]=a;a=1}else a=1;else if(((c|0)==155?(j[d+28>>1]&8)==0:0)?(k[a+16>>2]|0)==(l[b+38>>0]|0):0){f=t+40|0;g=t+44|0;c=k[g>>2]|0;e:do if((c|0)>0){a=0;d=k[f>>2]|0;while(1){if(!(Hu(k[d>>2]|0,b,-1)|0))break e;a=a+1|0;if((a|0)<(c|0))d=d+16|0;else break}}else a=0;while(0);do if((a|0)>=(c|0)){e=k[q>>2]|0;h=i[e+62>>0]|0;e=Mt(e,k[f>>2]|0,16,g,p)|0;k[f>>2]=e;a=k[p>>2]|0;if((a|0)>-1){k[e+(a<<4)>>2]=b;f=q+72|0;g=(k[f>>2]|0)+1|0;k[f>>2]=g;k[e+(a<<4)+8>>2]=g;g=k[q>>2]|0;f=k[b+8>>2]|0;if(!f)c=0;else{d=f;while(1)if(!(i[d>>0]|0))break;else d=d+1|0;c=d-f&1073741823}d=k[b+20>>2]|0;if(!d)d=0;else d=k[d>>2]|0;o=Xh(g,f,c,d,h,0)|0;k[e+(a<<4)+4>>2]=o;if(!(k[b+4>>2]&16)){k[e+(a<<4)+12>>2]=-1;break}else{n=q+68|0;o=k[n>>2]|0;k[n>>2]=o+1;k[e+(a<<4)+12>>2]=o;break}}}while(0);j[b+34>>1]=a;k[b+40>>2]=t;a=1}else a=0;while(0);r=u;return a|0}function dt(a,b){a=a|0;b=b|0;return 0}function et(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=r;r=r+16|0;if((r|0)>=(s|0))ka();c=d;if((i[a+450>>0]|0)==2){e=k[a+8>>2]|0;f=k[a>>2]|0;k[c>>2]=b;c=zh(f,35e3,c)|0;Ch(e,Bh(e,157,k[a+464>>2]|0,0,0)|0,c,-1)}r=d;return}function ft(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=a+19|0;g=0;h=a+116|0;while(1){c=h+12|0;d=k[c>>2]|0;if(d){e=h+6|0;if(i[e>>0]|0){f=i[b>>0]|0;if((f&255)<8){i[b>>0]=f+1<<24>>24;k[a+((f&255)<<2)+24>>2]=d}i[e>>0]=0}k[c>>2]=0}g=g+1|0;if((g|0)==10)break;else h=h+20|0}return}function gt(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,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=r;r=r+32|0;if((r|0)>=(s|0))ka();x=z;e=d&255;o=34-(e&1)|0;t=k[b>>2]|0;if(!(i[a+23>>0]|0))d=e&253;if((t|0)>0){f=(d&2)==0;g=a+8|0;h=(o|0)==33;j=x+20|0;l=x+4|0;m=x+24|0;n=0;b=k[b+4>>2]|0;while(1){e=k[b>>2]|0;if(!f?(k[x+0>>2]=0,k[x+4>>2]=0,k[x+8>>2]=0,k[x+12>>2]=0,k[x+16>>2]=0,k[x+20>>2]=0,i[j>>0]=1,k[x>>2]=78,k[l>>2]=79,k[m>>2]=0,ws(x,e)|0,(i[j>>0]|0)!=0):0)Lt(a,e,n+c|0,0);else y=8;do if((y|0)==8?(y=0,p=n+c|0,q=ns(a,e,p)|0,(q|0)!=(p|0)):0){d=k[g>>2]|0;if(h){if(!(i[(k[d>>2]|0)+65>>0]|0))e=(k[d+4>>2]|0)+(((k[d+32>>2]|0)+-1|0)*20|0)|0;else e=29120;if(((i[e>>0]|0)==33?(u=e+12|0,v=k[u>>2]|0,((k[e+4>>2]|0)+1+v|0)==(q|0)):0)?(w=v+1|0,(w+(k[e+8>>2]|0)|0)==(p|0)):0){k[u>>2]=w;break}}Bh(d,o,q,p,0)|0}while(0);n=n+1|0;if((n|0)==(t|0))break;else b=b+20|0}}r=z;return}function ht(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,l=0,m=0,n=0;n=k[a+8>>2]|0;g=a+116|0;m=0;h=g;while(1){l=k[h+12>>2]|0;if(((l|0)>0?(k[h>>2]|0)==(d|0):0)?(j[h+4>>1]|0)==(c|0):0){e=l;m=5;break}m=m+1|0;if((m|0)>=10){m=10;break}else h=h+20|0}do if((m|0)==5){n=a+104|0;f=k[n>>2]|0;k[n>>2]=f+1;k[h+16>>2]=f;h=0;while(1){if((k[g+12>>2]|0)==(e|0))i[g+6>>0]=0;h=h+1|0;if((h|0)==10)break;else g=g+20|0}}else if((m|0)==10){st(n,b,d,c,e);if(!(f<<24>>24)){Xu(a,d,c,e);break}g=k[n+4>>2]|0;if(g)i[g+(((k[n+32>>2]|0)+-1|0)*20|0)+3>>0]=f}while(0);return e|0}function it(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,l=0;c=b+-1+c|0;e=a+19|0;j=0;l=a+116|0;while(1){f=l+12|0;g=k[f>>2]|0;if(!((g|0)<(b|0)|(g|0)>(c|0))){h=l+6|0;if(i[h>>0]|0){d=i[e>>0]|0;if((d&255)<8){i[e>>0]=d+1<<24>>24;k[a+((d&255)<<2)+24>>2]=g}i[h>>0]=0}k[f>>2]=0}j=j+1|0;if((j|0)==10)break;else l=l+20|0}return}function jt(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,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=k[a+8>>2]|0;i[b>>0]=1;s=b+44|0;if((k[s>>2]|0)>0){t=A+4|0;v=a+56|0;w=a+60|0;o=A+24|0;p=A+32|0;q=b+36|0;r=a+72|0;x=0;y=k[b+40>>2]|0;c=0;while(1){h=k[(k[y>>2]|0)+20>>2]|0;if(!h){d=0;f=0}else{d=k[h>>2]|0;f=k[w>>2]|0;e=k[v>>2]|0;if((e|0)<(d|0)){f=k[r>>2]|0;k[r>>2]=f+d;f=f+1|0}else{k[w>>2]=f+d;k[v>>2]=e-d}gt(a,h,f,1)}e=y+12|0;if((k[e>>2]|0)>-1){n=Cs(A)|0;Eu(a,k[e>>2]|0,n,1,f)}else n=0;m=y+4|0;e=k[m>>2]|0;if(j[e+2>>1]&32){if((d|0)>0){l=0;h=k[h+4>>2]|0;while(1){e=hu(a,k[h>>2]|0)|0;l=l+1|0;g=(e|0)!=0;if(!((l|0)<(d|0)&(g^1)))break;else h=h+20|0}if(!g)z=15}else z=15;if((z|0)==15){z=0;e=k[(k[a>>2]|0)+8>>2]|0}if(!c)if(!(k[q>>2]|0))c=0;else{c=(k[r>>2]|0)+1|0;k[r>>2]=c}Ch(A,Bh(A,36,c,0,0)|0,e,-4);e=k[m>>2]|0}Ch(A,Bh(A,10,0,f,k[y+8>>2]|0)|0,e,-5);e=k[t>>2]|0;if(e)i[e+(((k[p>>2]|0)+-1|0)*20|0)+3>>0]=d;it(a,f,d);it(a,f,d);if((k[v>>2]|0)<(d|0)){k[v>>2]=d;k[w>>2]=f}if(n){f=k[o>>2]|0;e=~n;if((n|0)<0?(u=k[f+112>>2]|0,(u|0)!=0):0)k[u+(e<<2)>>2]=k[p>>2];k[f+88>>2]=(k[p>>2]|0)+-1;ft(a)}x=x+1|0;if((x|0)>=(k[s>>2]|0))break;else y=y+16|0}if(c)f=Bh(A,45,c,0,0)|0;else f=0}else f=0;ft(a);c=b+36|0;if((k[c>>2]|0)>0){d=0;e=k[b+28>>2]|0;while(1){Wq(a,k[e+20>>2]|0,k[e+16>>2]|0);d=d+1|0;if((d|0)>=(k[c>>2]|0))break;else e=e+24|0}}i[b>>0]=0;ft(a);if(f){c=k[A+32>>2]|0;if(c>>>0>f>>>0)k[(k[A+4>>2]|0)+(f*20|0)+8>>2]=c;k[(k[A+24>>2]|0)+88>>2]=c+-1}return}function kt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=k[a+8>>2]|0;d=b+44|0;if((k[d>>2]|0)>0){e=0;b=k[b+40>>2]|0;while(1){a=k[(k[b>>2]|0)+20>>2]|0;if(!a)a=0;else a=k[a>>2]|0;f=k[b+4>>2]|0;Ch(c,Bh(c,142,k[b+8>>2]|0,a,0)|0,f,-5);e=e+1|0;if((e|0)>=(k[d>>2]|0))break;else b=b+16|0}}return}function lt(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;n=r;r=r+16|0;if((r|0)>=(s|0))ka();j=n+4|0;m=n;h=k[a+8>>2]|0;k[j>>2]=0;k[m>>2]=0;if(!((h|0)==0|(b|0)==0)){o=l[b>>0]|0;e=o^1;a:do switch(o|0){case 19:{cv(a,k[b+12>>2]|0,c,d);break}case 77:case 76:{Bh(h,e,eu(a,k[b+12>>2]|0,j)|0,c,0)|0;break}case 148:case 73:{d=b+12|0;g=eu(a,k[d>>2]|0,j)|0;f=b+16|0;h=eu(a,k[f>>2]|0,m)|0;fu(a,k[d>>2]|0,k[f>>2]|0,(i[b>>0]|0)==73?78:79,g,h,c,128);break}case 79:case 78:case 83:case 80:case 81:case 82:{o=b+12|0;g=eu(a,k[o>>2]|0,j)|0;f=b+16|0;h=eu(a,k[f>>2]|0,m)|0;fu(a,k[o>>2]|0,k[f>>2]|0,e,g,h,c,d);break}case 75:{if(d){ku(a,b,c,c);break a}f=Cs(h)|0;ku(a,b,c,f);e=k[h+24>>2]|0;c=~f;if((f|0)<0?(g=k[e+112>>2]|0,(g|0)!=0):0)k[g+(c<<2)>>2]=k[h+32>>2];k[e+88>>2]=(k[h+32>>2]|0)+-1;break}case 71:{g=Cs(h)|0;cv(a,k[b+12>>2]|0,g,d^16);e=a+100|0;k[e>>2]=(k[e>>2]|0)+1;lt(a,k[b+16>>2]|0,c,d);c=k[h+24>>2]|0;e=~g;if((g|0)<0?(f=k[c+112>>2]|0,(f|0)!=0):0)k[f+(e<<2)>>2]=k[h+32>>2];k[c+88>>2]=(k[h+32>>2]|0)+-1;gu(a);break}case 72:{lt(a,k[b+12>>2]|0,c,d);h=a+100|0;k[h>>2]=(k[h>>2]|0)+1;lt(a,k[b+16>>2]|0,c,d);gu(a);break}case 74:{dv(a,b,c,0,d);break}default:{if(ru(b)|0){Bh(h,16,0,c,0)|0;break a}if(!(ev(b)|0))Bh(h,46,eu(a,b,j)|0,c,(d|0)!=0&1)|0}}while(0);ds(a,k[j>>2]|0);ds(a,k[m>>2]|0)}r=n;return}function mt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+16|0;if((r|0)>=(s|0))ka();h=i;e=k[a+8>>2]|0;f=b+44|0;if((k[f>>2]|0)!=(0-(k[b+32>>2]|0)|0)?(Bh(e,28,0,k[b+16>>2]|0,k[b+20>>2]|0)|0,(k[f>>2]|0)>0):0){g=0;d=k[b+40>>2]|0;while(1){b=d+12|0;do if((k[b>>2]|0)>-1){c=k[(k[d>>2]|0)+20>>2]|0;if((c|0)!=0?(k[c>>2]|0)==1:0){c=Zs(a,c,0,0)|0;Ch(e,Bh(e,57,k[b>>2]|0,0,0)|0,c,-6);break}yh(a,34944,h);k[b>>2]=-1}while(0);g=g+1|0;if((g|0)>=(k[f>>2]|0))break;else d=d+16|0}}r=i;return}function nt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)>0){d=Bh(a,138,b,0,-1)|0;Bh(a,16,0,c,0)|0;b=k[a+32>>2]|0;if(b>>>0>d>>>0)k[(k[a+4>>2]|0)+(d*20|0)+8>>2]=b;k[(k[a+24>>2]|0)+88>>2]=b+-1}return}function ot(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;if((k[(k[a>>2]|0)+24>>2]&8388608|0)!=0?(f=Fs(a,b)|0,(f|0)!=0):0){a=0;b=f;do{if((l[b+8>>0]|0|0)==(c|0)?(fv(k[b+16>>2]|0,d)|0)!=0:0)a=l[b+9>>0]|0|a;b=k[b+32>>2]|0}while((b|0)!=0)}else{a=0;f=0}if(e)k[e>>2]=a;return ((a|0)!=0?f:0)|0}function pt(a,b,c){a=a|0;b=b|0;c=c|0;var 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=i[b+44>>0]|0;if(f&16){e=k[a>>2]|0;d=b+60|0;while(1){d=k[d>>2]|0;if((k[d>>2]|0)==(e|0))break;else d=d+24|0}if(!(k[(k[k[d+4>>2]>>2]|0)+52>>2]|0))e=8;else e=5}else e=5;do if((e|0)==5){if(((f&1)!=0?(k[(k[a>>2]|0)+24>>2]&2048|0)==0:0)?(i[a+18>>0]|0)==0:0){e=8;break}if((c|0)==0?(k[b+12>>2]|0)!=0:0){k[g>>2]=k[b>>2];yh(a,34456,g);d=1}else d=0}while(0);if((e|0)==8){k[g>>2]=k[b>>2];yh(a,34424,g);d=1}r=h;return d|0}function qt(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;n=r;r=r+32|0;if((r|0)>=(s|0))ka();m=n;l=k[a>>2]|0;f=k[b+68>>2]|0;a:do if(f){e=k[l+20>>2]|0;if((e|0)>0){h=k[l+16>>2]|0;j=0;while(1){g=j+1|0;if((k[h+(j<<4)+12>>2]|0)==(f|0)){g=j;break a}if((g|0)<(e|0))j=g;else break}}else g=0}else g=-1e6;while(0);e=Rr(l,c,0,0)|0;f=ur(l,0,0,0)|0;if(f){c=ph(l,k[b>>2]|0)|0;k[f+16>>2]=c;c=ph(l,k[(k[l+16>>2]|0)+(g<<4)>>2]|0)|0;k[f+12>>2]=c}c=pr(a,0,f,e,0,0,0,0,0,0)|0;i[m>>0]=12;k[m+4>>2]=d;i[m+1>>0]=0;k[m+8>>2]=0;k[m+12>>2]=0;nr(a,c,m)|0;Rk(l,c,1);r=n;return}function rt(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,l=0,m=0,n=0;n=r;r=r+16|0;if((r|0)>=(s|0))ka();m=n+4|0;f=n;a:do if(k[(k[a>>2]|0)+24>>2]&524288){if(!c){d=gn((k[b+68>>2]|0)+56|0,k[b>>2]|0,f)|0;if((d|0)!=0?(k[d+8>>2]|0)!=0:0)e=1;else e=(k[b+16>>2]|0)!=0;e=e&1;break}a=k[b+16>>2]|0;if(a){i=b+36|0;l=(d|0)!=0;do{f=k[a+20>>2]|0;if((f|0)>0){h=0;do{g=k[a+(h<<3)+36>>2]|0;if((k[c+(g<<2)>>2]|0)>-1){e=1;break a}h=h+1|0;if((g|0)==(j[i>>1]|0)&l){e=1;break a}}while((h|0)<(f|0))}a=k[a+4>>2]|0}while((a|0)!=0)}f=gn((k[b+68>>2]|0)+56|0,k[b>>2]|0,m)|0;if((f|0)!=0?(e=k[f+8>>2]|0,(e|0)!=0):0)while(1){if(gv(b,e,c,d)|0){e=1;break a}e=k[e+12>>2]|0;if(!e){e=0;break}}else e=0}else e=0;while(0);r=n;return e|0}function st(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;if((d|0)>=0?(j[b+36>>1]|0)!=(d|0):0){f=l[b+44>>0]|0;n=(f&16|0)!=0?150:47;if(!(f&32))f=d;else{f=k[b+8>>2]|0;a:do if(!f)f=0;else while(1){if((i[f+51>>0]&3)==2)break a;f=k[f+20>>2]|0;if(!f){f=0;break}}while(0);m=d&65535;g=j[f+48>>1]|0;b:do if(!(g<<16>>16))f=-1;else{h=k[f+4>>2]|0;g=g&65535;f=0;while(1){if((j[h+(f<<1)>>1]|0)==m<<16>>16)break b;f=f+1|0;if((f|0)>=(g|0)){f=-1;break}}}while(0);f=f<<16>>16}Bh(a,n,c,f,e)|0}else Bh(a,103,c,e,0)|0;if((d|0)>-1)St(a,b,d,e);return}function tt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=b+16|0;c=k[f>>2]|0;do if(!c){d=k[b+12>>2]|0;c=k[a>>2]|0;e=b+48|0;a=vg((m[e>>1]|0)+1|0,0)|0;k[f>>2]=a;if(!a){i[c+65>>0]=1;c=0;break}if(!(j[e>>1]|0))c=0;else{b=b+4|0;d=d+4|0;c=0;do{a=j[(k[b>>2]|0)+(c<<1)>>1]|0;if(a<<16>>16<0)a=68;else a=i[(k[d>>2]|0)+((a<<16>>16)*24|0)+21>>0]|0;i[(k[f>>2]|0)+c>>0]=a;c=c+1|0}while((c|0)<(m[e>>1]|0));a=k[f>>2]|0}i[a+c>>0]=0;c=k[f>>2]|0}while(0);return c|0}function ut(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,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=b+44|0;if(!(i[r>>0]&16)){j=k[a>>2]|0;m=k[b+68>>2]|0;a:do if(m){n=k[j+20>>2]|0;if((n|0)>0){j=k[j+16>>2]|0;l=0;while(1){h=l+1|0;if((k[j+(l<<4)+12>>2]|0)==(m|0))break a;if((h|0)<(n|0))l=h;else{l=h;break}}}else l=0}else l=-1e6;while(0);q=Tq(a)|0;if((d|0)<0)d=k[a+68>>2]|0;j=d+1|0;p=(f|0)!=0;if(p)k[f>>2]=d;do if(!(i[r>>0]&32)){if((e|0)!=0?(i[e>>0]|0)==0:0){o=15;break}Vq(a,d,l,b,c)}else o=15;while(0);if((o|0)==15)ls(a,l,k[b+32>>2]|0,(c|0)==55&1,k[b>>2]|0);if(g)k[g>>2]=j;d=k[b+8>>2]|0;if(!d)h=0;else{m=(e|0)==0;b=a+8|0;n=j;h=0;while(1){j=n+1|0;if((i[d+51>>0]&3)==2?(i[r>>0]&32)!=0&p:0)k[f>>2]=n;h=h+1|0;if(!(!m?(i[e+h>>0]|0)==0:0)){Bh(q,c,n,k[d+40>>2]|0,l)|0;o=k[b>>2]|0;Ch(o,-1,ms(a,d)|0,-6)}d=k[d+20>>2]|0;if(!d)break;else n=j}}d=a+68|0;if((j|0)>(k[d>>2]|0))k[d>>2]=j}else h=0;return h|0}function vt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=k[a+408>>2]|0;f=(f|0)==0?a:f;e=f+452|0;a=k[e>>2]|0;c=k[f+520>>2]|0;a:do if((a|0)>0){d=0;while(1){if((k[c+(d<<2)>>2]|0)==(b|0))break a;d=d+1|0;if((d|0)>=(a|0)){g=4;break}}}else g=4;while(0);do if((g|0)==4){a=ad(c,(a<<2)+4|0)|0;if(!a){i[(k[f>>2]|0)+65>>0]=1;break}else{k[f+520>>2]=a;c=k[e>>2]|0;k[e>>2]=c+1;k[a+(c<<2)>>2]=b;break}}while(0);return}function wt(a,b,c,d,e,f,g,h,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|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;w=k[a+8>>2]|0;x=Cs(w)|0;u=(i[b+44>>0]&32)>>>4^70;if(!(m<<24>>24))Ch(w,Bh(w,u,d,x,f)|0,g<<16>>16,-14);if((rt(a,b,0,0)|0)!=0|(c|0)!=0){q=l&255;r=At(a,c,0,0,3,b,q)|0;r=zt(a,b)|0|r;o=a+72|0;n=k[o>>2]|0;m=n+1|0;s=b+38|0;k[o>>2]=m+(j[s>>1]|0);Bh(w,33,f,m,0)|0;o=j[s>>1]|0;if(o<<16>>16>0){t=(r|0)==-1;p=n+2|0;n=0;do{if(!t){if((n|0)<32?(1<<n&r|0)!=0:0)v=9}else v=9;if((v|0)==9){v=0;st(w,b,d,n,p+n|0);o=j[s>>1]|0}n=n+1|0}while((n|0)<(o<<16>>16|0))}t=w+32|0;s=k[t>>2]|0;Ct(a,c,109,0,1,b,m,q,x);if((s|0)<(k[t>>2]|0))Ch(w,Bh(w,u,d,x,f)|0,g<<16>>16,-14);Et(a,b,m,0,0,0)}else m=0;if((k[b+12>>2]|0)==0?(Ft(a,b,d,e,0),Bh(w,95,d,h<<24>>24!=0&1,0)|0,h<<24>>24!=0):0)Ch(w,-1,k[b>>2]|0,0);Ht(a,b,0,m,0,0);Ct(a,c,109,0,2,b,m,l&255,x);n=k[w+24>>2]|0;m=~x;if((x|0)<0?(y=k[n+112>>2]|0,(y|0)!=0):0)k[y+(m<<2)>>2]=k[w+32>>2];k[n+88>>2]=(k[w+32>>2]|0)+-1;return}function xt(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,n=0,o=0,p=0;h=k[a+8>>2]|0;b=k[a+404>>2]|0;if(b){l=(k[a>>2]|0)+16|0;m=a+19|0;n=a+72|0;o=h+32|0;p=h+4|0;j=h+24|0;do{d=k[b+8>>2]|0;e=k[l>>2]|0;g=k[b+12>>2]|0;c=i[m>>0]|0;if(!(c<<24>>24)){f=(k[n>>2]|0)+1|0;k[n>>2]=f}else{f=c+-1<<24>>24;i[m>>0]=f;f=k[a+((f&255)<<2)+24>>2]|0}Vq(a,0,d,k[(k[e+(d<<4)+12>>2]|0)+72>>2]|0,55);e=g+1|0;d=Bh(h,77,e,0,0)|0;Bh(h,74,0,e,0)|0;c=k[o>>2]|0;if(c>>>0>d>>>0)k[(k[p>>2]|0)+(d*20|0)+8>>2]=c;k[(k[j>>2]|0)+88>>2]=c+-1;Bh(h,49,g+-1|0,2,f)|0;Bh(h,75,0,f,e)|0;c=k[p>>2]|0;if(c)i[c+(((k[o>>2]|0)+-1|0)*20|0)+3>>0]=8;Bh(h,61,0,0,0)|0;ds(a,f);b=k[b>>2]|0}while((b|0)!=0)}return}function yt(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;k[e>>2]=c;if(!c)d=0;else{d=c;while(1)if(!(i[d>>0]|0))break;else d=d+1|0;d=d-c&1073741823}k[e+4>>2]=d;d=sr(a,b,e,0)|0;r=f;return d|0}function zt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0;m=r;r=r+16|0;if((r|0)>=(s|0))ka();g=m+4|0;l=m;if(k[(k[a>>2]|0)+24>>2]&524288){d=k[b+16>>2]|0;if(!d)c=0;else{c=0;do{e=k[d+20>>2]|0;if((e|0)>0){f=0;do{n=k[d+(f<<3)+36>>2]|0;c=((n|0)>31?-1:1<<n)|c;f=f+1|0}while((f|0)<(e|0))}d=k[d+4>>2]|0}while((d|0)!=0)}d=gn((k[b+68>>2]|0)+56|0,k[b>>2]|0,g)|0;if((d|0)!=0?(h=k[d+8>>2]|0,(h|0)!=0):0)do{k[l>>2]=0;Rt(a,b,h,l,0)|0;d=k[l>>2]|0;if((d|0)!=0?(i=j[d+46>>1]|0,i<<16>>16!=0):0){g=i&65535;f=k[d+4>>2]|0;e=0;do{d=j[f+(e<<1)>>1]|0;if(d<<16>>16>31)d=-1;else d=1<<(d<<16>>16);c=d|c;e=e+1|0}while((e|0)<(g|0))}h=k[h+12>>2]|0}while((h|0)!=0)}else c=0;r=m;return c|0}function At(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,i=0,j=0;i=(c|0)!=0?110:109;if(!b)h=0;else{h=0;do{if((((l[b+8>>0]|0|0)==(i|0)?((l[b+9>>0]|0)&e|0)!=0:0)?(fv(k[b+16>>2]|0,c)|0)!=0:0)?(j=hv(a,b,f,g)|0,(j|0)!=0):0)h=k[j+(d<<2)+16>>2]|h;b=k[b+32>>2]|0}while((b|0)!=0)}return h|0}function Bt(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;l=b+20|0;d=k[l>>2]|0;do if(!d){f=k[a>>2]|0;h=b+38|0;e=(j[h>>1]|0)+1|0;e=vg(e,((e|0)<0)<<31>>31)|0;if(!e){i[f+65>>0]=1;break}if((j[h>>1]|0)>0){f=b+4|0;d=0;do{i[e+d>>0]=i[(k[f>>2]|0)+(d*24|0)+21>>0]|0;d=d+1|0}while((d|0)<(j[h>>1]|0))}else d=0;do{i[e+d>>0]=0;if((d|0)<=0)break;d=d+-1|0}while((i[e+d>>0]|0)==65);k[l>>2]=e;g=10}else{e=d;g=10}while(0);do if((g|0)==10){d=e;while(1)if(!(i[d>>0]|0))break;else d=d+1|0;d=d-e&1073741823;if(d)if(!c){Ch(a,-1,e,d);break}else{Ch(a,Bh(a,48,c,d,0)|0,e,d);break}}while(0);return}function Ct(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;if(b)do{if(((l[b+8>>0]|0|0)==(c|0)?(l[b+9>>0]|0|0)==(e|0):0)?(fv(k[b+16>>2]|0,d)|0)!=0:0)iv(a,b,f,g,h,i);b=k[b+32>>2]|0}while((b|0)!=0);return}function Dt(a,b,c,d,e,f,g,h,l,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;l=l|0;n=n|0;o=o|0;var 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,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,la=0;la=r;r=r+16|0;if((r|0)>=(s|0))ka();I=la;ea=(g|0)!=0;N=k[a>>2]|0;ja=Tq(a)|0;A=j[b+38>>1]|0;ha=b+44|0;if(!(i[ha>>0]&32)){da=1;ca=0}else{u=b+8|0;while(1){u=k[u>>2]|0;if((i[u+51>>0]&3)==2)break;else u=u+20|0}da=m[u+46>>1]|0;ca=u}if(A<<16>>16>0){w=b+36|0;v=b+4|0;u=l<<24>>24==10;t=a+408|0;q=f+1|0;B=ja+4|0;C=ja+32|0;D=ja+24|0;E=l&255;y=A<<16>>16;x=0;do{a:do if((x|0)!=(j[w>>1]|0)?(F=k[v>>2]|0,G=i[F+(x*24|0)+20>>0]|0,H=G&255,G<<24>>24!=0):0){if(u)if(G<<24>>24==10)ia=14;else{A=H;ia=11}else{A=E;ia=11}do if((ia|0)==11){ia=0;if((A|0)==5)A=(k[F+(x*24|0)+4>>2]|0)==0?2:5;if((A|0)==2){ia=14;break}else if((A|0)==3|(A|0)==1)break;else if((A|0)==4){Bh(ja,76,q+x|0,n,0)|0;break a}z=q+x|0;A=Bh(ja,77,z,0,0)|0;Wq(a,k[(k[v>>2]|0)+(x*24|0)+4>>2]|0,z);z=k[C>>2]|0;if(z>>>0>A>>>0)k[(k[B>>2]|0)+(A*20|0)+8>>2]=z;k[(k[D>>2]|0)+88>>2]=z+-1;break a}while(0);if((ia|0)==14){ia=0;A=k[t>>2]|0;i[((A|0)==0?a:A)+21>>0]=1;A=2}ba=k[F+(x*24|0)>>2]|0;k[I>>2]=k[b>>2];k[I+4>>2]=ba;ba=zh(N,27824,I)|0;Ch(ja,Bh(ja,23,1299,A,q+x|0)|0,ba,-1);A=k[B>>2]|0;if(A)i[A+(((k[C>>2]|0)+-1|0)*20|0)+3>>0]=1}while(0);x=x+1|0}while((x|0)!=(y|0))}x=k[b+24>>2]|0;if(((x|0)!=0?(k[N+24>>2]&8192|0)==0:0)?(k[a+92>>2]=f+1,(k[x>>2]|0)>0):0){w=x+4|0;q=ja+24|0;y=ja+32|0;A=0;u=l<<24>>24==10?2:l&255;while(1){z=Cs(ja)|0;cv(a,k[(k[w>>2]|0)+(A*20|0)>>2]|0,z,16);if((u|0)==4){Bh(ja,16,0,n,0)|0;t=4}else{v=k[(k[w>>2]|0)+(A*20|0)+4>>2]|0;if(!v)v=k[b>>2]|0;t=(u|0)==5?2:u;Es(a,275,t,v,0,3)}v=k[q>>2]|0;u=~z;if((z|0)<0?(J=k[v+112>>2]|0,(J|0)!=0):0)k[J+(u<<2)>>2]=k[y>>2];k[v+88>>2]=(k[y>>2]|0)+-1;A=A+1|0;if((A|0)>=(k[x>>2]|0))break;else u=t}}if(h<<24>>24!=0&(ca|0)==0){w=Cs(ja)|0;q=i[b+45>>0]|0;if(l<<24>>24==10)q=q<<24>>24==10?2:q&255;else q=l&255;if(ea?(Bh(ja,79,f,w,g)|0,K=k[ja+4>>2]|0,(K|0)!=0):0)i[K+(((k[ja+32>>2]|0)+-1|0)*20|0)+3>>0]=-112;b:do if(!((q|0)!=5|l<<24>>24==5)?(p=k[b+8>>2]|0,(p|0)!=0):0){while(1){if(((i[p+50>>0]|0)+-3&255)<2)break;p=k[p+20>>2]|0;if(!p){x=0;break b}}x=Bh(ja,16,0,0,0)|0}else x=0;while(0);Bh(ja,70,d,w,f)|0;c:do switch(q|0){case 4:{Bh(ja,16,0,n,0)|0;q=0;break}case 5:{if((k[N+24>>2]&262144|0)!=0?(L=ot(a,b,109,0,0)|0,(L|0)!=0):0)q=L;else if(!(rt(a,b,0,0)|0)){if(!(k[b+8>>2]|0)){q=1;break c}q=k[a+408>>2]|0;i[((q|0)==0?a:q)+20>>0]=1;Ft(a,b,d,e,0);q=1;break c}else q=0;ba=k[a+408>>2]|0;i[((ba|0)==0?a:ba)+20>>0]=1;wt(a,b,q,d,e,f,1,0,5,1);q=1;break}case 3:case 2:case 1:{ia=49;break}default:{q=2;ia=49}}while(0);if((ia|0)==49){Kt(a,q,b);q=0}v=ja+24|0;u=k[v>>2]|0;t=~w;if((w|0)<0?(M=k[u+112>>2]|0,(M|0)!=0):0)k[M+(t<<2)>>2]=k[ja+32>>2];p=ja+32|0;k[u+88>>2]=(k[p>>2]|0)+-1;if(!x){t=0;x=0}else{t=Bh(ja,16,0,0,0)|0;p=k[p>>2]|0;if(p>>>0>x>>>0)k[(k[ja+4>>2]|0)+(x*20|0)+8>>2]=p;k[(k[v>>2]|0)+88>>2]=p+-1}}else{t=0;x=0;q=0}A=k[b+8>>2]|0;if(A){_=f+1|0;$=a+60|0;aa=a+56|0;ba=a+72|0;Q=h<<24>>24==0;R=ja+24|0;S=ja+32|0;T=l<<24>>24==10;U=ja+4|0;V=ca+46|0;W=ca+32|0;X=ca+4|0;Y=g+1|0;Z=a+408|0;O=N+24|0;P=da&65535;w=l&255;v=b+36|0;u=a+92|0;E=0;p=0;z=-1;while(1){L=c+(p<<2)|0;do if(k[L>>2]|0){if(!(E<<24>>24)){Bt(ja,b,_);E=1}M=p+e|0;l=Cs(ja)|0;K=A+36|0;if(k[K>>2]|0){Bh(ja,28,0,k[L>>2]|0,0)|0;k[u>>2]=_;lt(a,k[K>>2]|0,l,16);k[u>>2]=0}N=A+48|0;F=j[N>>1]|0;I=F&65535;H=k[$>>2]|0;G=k[aa>>2]|0;if((G|0)<(I|0)){h=k[ba>>2]|0;k[ba>>2]=h+I;h=h+1|0}else{k[$>>2]=H+I;k[aa>>2]=G-I;h=H}if(!(F<<16>>16))J=z;else{J=A+4|0;G=0;do{y=j[(k[J>>2]|0)+(G<<1)>>1]|0;I=y<<16>>16;if(y<<16>>16>=0?y<<16>>16!=(j[v>>1]|0):0){H=G+h|0;I=_+I|0;ia=81}else{I=G+h|0;if((z|0)!=(I|0)){H=I;z=(k[K>>2]|0)==0?I:-1;I=f;ia=81}}if((ia|0)==81){ia=0;Bh(ja,34,I,H,0)|0;F=j[N>>1]|0}G=G+1|0;I=F&65535}while((G|0)<(I|0));J=z}Bh(ja,49,h,I,k[L>>2]|0)|0;it(a,h,m[N>>1]|0);K=(ca|0)==(A|0);if(ea&K&Q){z=k[R>>2]|0;y=~l;if((l|0)<0?(fa=k[z+112>>2]|0,(fa|0)!=0):0)k[fa+(y<<2)>>2]=k[S>>2];k[z+88>>2]=(k[S>>2]|0)+-1;z=J;break}D=i[A+50>>0]|0;C=D&255;if(!(D<<24>>24)){z=m[N>>1]|0;it(a,h,z);if((k[aa>>2]|0)<(z|0)){k[aa>>2]=z;k[$>>2]=h}z=k[R>>2]|0;y=~l;if((l|0)<0?(ga=k[z+112>>2]|0,(ga|0)!=0):0)k[ga+(y<<2)>>2]=k[S>>2];k[z+88>>2]=(k[S>>2]|0)+-1;z=J;break}if(T)L=D<<24>>24==10?2:C;else L=w;z=m[A+46>>1]|0;Ch(ja,Bh(ja,67,M,l,h)|0,z,-14);do if(!K){I=k[$>>2]|0;H=k[aa>>2]|0;if((H|0)<(da|0)){I=k[ba>>2]|0;k[ba>>2]=I+da;I=I+1|0;break}else{k[$>>2]=I+da;k[aa>>2]=H-da;break}}else I=h;while(0);do if(ea|(L|0)==5){if(!(i[ha>>0]&32)){Bh(ja,112,M,I,0)|0;if(!ea)break;Bh(ja,79,I,l,g)|0;D=k[U>>2]|0;if(!D)break;i[D+(((k[S>>2]|0)+-1|0)*20|0)+3>>0]=-112;break}do if(!K){if(!(j[V>>1]|0))break;C=A+4|0;B=0;do{F=j[(k[X>>2]|0)+(B<<1)>>1]|0;H=j[N>>1]|0;d:do if(!(H<<16>>16))H=-1;else{D=k[C>>2]|0;G=H&65535;H=0;while(1){if((j[D+(H<<1)>>1]|0)==F<<16>>16)break d;H=H+1|0;if((H|0)>=(G|0)){H=-1;break}}}while(0);Bh(ja,47,M,H<<16>>16,B+I|0)|0;B=B+1|0}while((B|0)<(m[V>>1]|0))}while(0);if(!ea)break;C=(i[A+51>>0]&3)==2?h:I;H=j[V>>1]|0;if(!(H<<16>>16))break;G=(H&65535)+(k[S>>2]|0)|0;F=0;D=78;do{H=hr(a,k[(k[W>>2]|0)+(F<<2)>>2]|0)|0;z=(F|0)==((m[V>>1]|0)+-1|0);G=z?l:G;D=z?79:D;Ch(ja,Bh(ja,D,Y+(j[(k[X>>2]|0)+(F<<1)>>1]|0)|0,G,F+C|0)|0,H,-4);H=k[U>>2]|0;if(H)i[H+(((k[S>>2]|0)+-1|0)*20|0)+3>>0]=-112;F=F+1|0}while((F|0)<(m[V>>1]|0))}while(0);if((L|0)==3|(L|0)==2|(L|0)==1)su(a,L,A);else if((L|0)==4)Bh(ja,16,0,n,0)|0;else{z=k[Z>>2]|0;i[((z|0)==0?a:z)+20>>0]=1;if(!(k[O>>2]&262144))D=0;else D=ot(a,b,109,0,0)|0;wt(a,b,D,d,e,I,P,0,5,K&1);q=1}H=k[R>>2]|0;G=~l;do if((l|0)<0){D=k[H+112>>2]|0;if(!D)break;k[D+(G<<2)>>2]=k[S>>2]}while(0);k[H+88>>2]=(k[S>>2]|0)+-1;z=m[N>>1]|0;it(a,h,z);if((k[aa>>2]|0)<(z|0)){k[aa>>2]=z;k[$>>2]=h}if((I|0)==(h|0)){z=J;break}it(a,I,da);if((k[aa>>2]|0)>=(da|0)){z=J;break}k[aa>>2]=da;k[$>>2]=I;z=J}while(0);A=k[A+20>>2]|0;if(!A)break;else p=p+1|0}}if(x){Bh(ja,16,0,x+1|0,0)|0;p=k[ja+32>>2]|0;if(p>>>0>t>>>0)k[(k[ja+4>>2]|0)+(t*20|0)+8>>2]=p;k[(k[ja+24>>2]|0)+88>>2]=p+-1}k[o>>2]=q;r=la;return}function Et(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,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,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+32|0;if((r|0)>=(s|0))ka();Q=Z+20|0;O=Z+16|0;M=Z+12|0;N=Z+8|0;X=Z+4|0;W=Z;S=k[a>>2]|0;L=a+438|0;R=i[L>>0]|0;V=S+24|0;a:do if(k[V>>2]&524288){P=b+68|0;g=k[P>>2]|0;b:do if(g){m=k[S+20>>2]|0;if((m|0)>0){h=k[S+16>>2]|0;p=0;while(1){o=p+1|0;if((k[h+(p<<4)+12>>2]|0)==(g|0)){o=p;break b}if((o|0)<(m|0))p=o;else break}}else o=0}else o=-1e6;while(0);K=k[(k[S+16>>2]|0)+(o<<4)>>2]|0;x=k[b+16>>2]|0;if(!x)h=b;else{z=(e|0)==0;A=R<<24>>24==0;B=S+65|0;C=c+1|0;D=a+68|0;E=(c|0)==0;F=(d|0)==0;G=a+408|0;H=b+36|0;I=S+284|0;J=(f|0)!=0;y=x;do{k[O>>2]=0;k[M>>2]=0;c:do if(!z){x=k[y+8>>2]|0;if(id(k[b>>2]|0,x)|0){w=k[y+20>>2]|0;if((w|0)>0){h=0;do{g=k[y+(h<<3)+36>>2]|0;if((k[e+(g<<2)>>2]|0)>-1){Y=17;break c}h=h+1|0;if((g|0)==(j[H>>1]|0)&J){Y=17;break c}}while((h|0)<(w|0))}}else Y=17}else{x=k[y+8>>2]|0;Y=17}while(0);do if((Y|0)==17){Y=0;if(!(i[L>>0]|0))v=xh(a,0,x,K)|0;else v=di(S,x,K)|0;x=(v|0)==0;if(!x?(Rt(a,v,y,O,M)|0)==0:0){x=k[M>>2]|0;if(!x){k[N>>2]=k[y+36>>2];x=N}h=y+20|0;if((k[h>>2]|0)>0){t=k[O>>2]|0;m=(t|0)==0;p=v+36|0;q=v+4|0;t=t+4|0;g=0;u=0;do{w=x+(u<<2)|0;if((k[w>>2]|0)==(j[H>>1]|0))k[w>>2]=-1;if(k[I>>2]|0){if(m)w=p;else w=(k[t>>2]|0)+(u<<1)|0;g=(jv(a,k[v>>2]|0,k[(k[q>>2]|0)+((j[w>>1]|0)*24|0)>>2]|0,o)|0)==2&1}u=u+1|0}while((u|0)<(k[h>>2]|0));w=v}else{w=v;g=0}ls(a,o,k[v+32>>2]|0,0,k[w>>2]|0);k[D>>2]=(k[D>>2]|0)+1;if(!E)kv(a,o,v,k[O>>2]|0,y,x,c,-1,g);d:do if(!F){w=k[G>>2]|0;w=k[((w|0)==0?a:w)+528>>2]|0;do if(w){w=k[w>>2]|0;if((w|0)==(k[y+28>>2]|0)?(i[y+25>>0]|0)==7:0)break d;if((w|0)!=(k[y+32>>2]|0))break;if((i[y+26>>0]|0)==7)break d}while(0);kv(a,o,v,k[O>>2]|0,y,x,d,1,g)}while(0);rg(S,k[M>>2]|0);break}if(A)break a;if(i[B>>0]|0)break a;if(x){x=Tq(a)|0;w=y+20|0;h=k[w>>2]|0;g=(k[x+32>>2]|0)+1+h|0;if((h|0)>0){h=0;do{Bh(x,76,C+(k[y+(h<<3)+36>>2]|0)|0,g,0)|0;h=h+1|0}while((h|0)<(k[w>>2]|0))}Bh(x,134,l[y+24>>0]|0,-1,0)|0}}while(0);y=k[y+4>>2]|0}while((y|0)!=0);h=b;g=k[P>>2]|0}g=gn(g+56|0,k[h>>2]|0,Q)|0;if((g|0)!=0?(n=k[g+8>>2]|0,T=S+65|0,(n|0)!=0):0){p=(e|0)!=0;q=a+408|0;t=a+20|0;u=a+68|0;v=(d|0)==0;w=(c|0)==0;x=p&1;o=R<<24>>24==0;do{k[X>>2]=0;k[W>>2]=0;if(!(p?(gv(b,n,e,f)|0)==0:0))Y=57;do if((Y|0)==57){Y=0;h=n+24|0;if((((i[h>>0]|0)==0?(k[V>>2]&16777216|0)==0:0)?(k[q>>2]|0)==0:0)?(i[t>>0]|0)==0:0)break;if(Rt(a,b,n,X,W)|0){if(o)break a;if(!(i[T>>0]|0))break;else break a}g=ur(S,0,0,0)|0;if(g){H=k[n>>2]|0;k[g+24>>2]=H;m=g+16|0;k[m>>2]=k[H>>2];H=H+40|0;j[H>>1]=(j[H>>1]|0)+1<<16>>16;H=k[u>>2]|0;k[u>>2]=H+1;k[g+48>>2]=H;if(!v)lv(a,g,b,k[X>>2]|0,n,k[W>>2]|0,d,-1);if((!w?(U=i[n+x+25>>0]|0,lv(a,g,b,k[X>>2]|0,n,k[W>>2]|0,c,1),(i[h>>0]|0)==0):0)?!(U<<24>>24==7|U<<24>>24==9):0){H=k[q>>2]|0;i[((H|0)==0?a:H)+21>>0]=1}k[m>>2]=0;Io(S,g)}rg(S,k[W>>2]|0)}while(0);n=k[n+12>>2]|0}while((n|0)!=0)}}while(0);r=Z;return}function Ft(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,j=0,l=0,n=0,o=0,p=0,q=0;q=r;r=r+16|0;if((r|0)>=(s|0))ka();p=q;o=k[a+8>>2]|0;g=k[b+8>>2]|0;a:do if(i[b+44>>0]&32){if(g){f=g;while(1){if((i[f+51>>0]&3)==2){n=5;break a}f=k[f+20>>2]|0;if(!f){f=0;n=5;break}}}}else{f=0;n=5}while(0);if((n|0)==5?(g|0)!=0:0){j=(e|0)==0;l=0;b=0;h=-1;while(1){if(j){if((g|0)!=(f|0))n=10}else if(!((g|0)==(f|0)?1:(k[e+(l<<2)>>2]|0)==0))n=10;if((n|0)==10){n=0;h=Ut(a,g,c,0,1,p,b,h)|0;Bh(o,111,l+d|0,h,m[((i[g+51>>0]&8)==0?g+48|0:g+46|0)>>1]|0)|0;Vt(a,k[p>>2]|0);b=g}g=k[g+20>>2]|0;if(!g)break;else l=l+1|0}}r=q;return}function Gt(a,b,c,d,e,f,g,h,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|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;w=Tq(a)|0;q=k[b+8>>2]|0;if(!q){n=b+44|0;p=0}else{r=(l|0)!=0;n=b+44|0;s=r?17:1;t=w+4|0;u=w+32|0;p=0;v=0;m=q;while(1){o=f+(v<<2)|0;q=k[o>>2]|0;do if(q){if(k[m+36>>2]|0){Bh(w,76,q,(k[u>>2]|0)+2|0,0)|0;q=k[o>>2]|0}Bh(w,110,v+d|0,q,0)|0;if((i[m+51>>0]&3)==2){q=(i[n>>0]&32)!=0;if(q|r)p=q?s:16;else{p=1;break}}else if(r)p=16;else{p=1;break}q=k[t>>2]|0;if(!q)p=1;else{i[q+(((k[u>>2]|0)+-1|0)*20|0)+3>>0]=p;p=1}}while(0);m=k[m+20>>2]|0;if(!m)break;else v=v+1|0}}if(!(i[n>>0]&32)){o=e+1|0;n=a+19|0;m=i[n>>0]|0;if(!(m<<24>>24)){f=a+72|0;q=(k[f>>2]|0)+1|0;k[f>>2]=q}else{q=m+-1<<24>>24;i[n>>0]=q;q=k[a+((q&255)<<2)+24>>2]|0}n=b+38|0;Bh(w,49,o,j[n>>1]|0,q)|0;if(!(p<<24>>24))Bt(w,b,0);it(a,o,j[n>>1]|0);o=a+18|0;if(!(i[o>>0]|0))m=(g|0)!=0?5:3;else m=0;if(h)m=(m&255|8)&255;if(!l)n=m;else n=(m&255|16)&255;Bh(w,75,c,q,e)|0;if(!(i[o>>0]|0))Ch(w,-1,k[b>>2]|0,0);m=k[w+4>>2]|0;if(m)i[m+(((k[w+32>>2]|0)+-1|0)*20|0)+3>>0]=n}return}function Ht(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,l=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,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=r;r=r+64|0;if((r|0)>=(s|0))ka();R=Y+52|0;Q=Y+48|0;V=Y+8|0;U=Y;T=Y+40|0;W=Y+32|0;S=Y+24|0;if(((k[(k[a>>2]|0)+24>>2]&524288|0)!=0?(P=b+68|0,g=gn((k[P>>2]|0)+56|0,k[b>>2]|0,Y+16|0)|0,(g|0)!=0):0)?(h=k[g+8>>2]|0,(h|0)!=0):0){O=(e|0)==0;H=(c|0)!=0;I=H&1;J=W+4|0;K=T+4|0;L=b+4|0;M=S+4|0;N=H?110:109;do{if(!(!O?(gv(b,h,e,f)|0)==0:0)){E=k[a>>2]|0;D=i[h+I+25>>0]|0;F=D&255;G=h+(I<<2)+28|0;c=k[G>>2]|0;do if(!(D<<24>>24==0|(c|0)!=0)){k[R>>2]=0;k[Q>>2]=0;if(!(Rt(a,b,h,R,Q)|0)){p=h+20|0;if((k[p>>2]|0)>0){x=34352;w=k[x>>2]|0;x=k[x+4>>2]|0;z=34360;y=k[z>>2]|0;z=k[z+4>>2]|0;A=h+36|0;C=D<<24>>24!=6&(D<<24>>24!=9|H);B=0;m=0;g=0;l=0;do{c=V;k[c>>2]=w;k[c+4>>2]=x;c=U;k[c>>2]=y;k[c+4>>2]=z;c=k[Q>>2]|0;if(!c)c=A;else c=c+(B<<2)|0;o=k[c>>2]|0;q=k[R>>2]|0;if(!q)u=34368;else u=k[(k[L>>2]|0)+((j[(k[q+4>>2]|0)+(B<<1)>>1]|0)*24|0)>>2]|0;k[W>>2]=u;c=k[(k[(k[h>>2]|0)+4>>2]|0)+(o*24|0)>>2]|0;k[T>>2]=c;if(!u)t=0;else{v=u;while(1)if(!(i[v>>0]|0))break;else v=v+1|0;t=v-u&1073741823}k[J>>2]=t;if(!c)n=0;else{u=c;while(1)if(!(i[u>>0]|0))break;else u=u+1|0;n=u-c&1073741823}k[K>>2]=n;v=cr(a,27,0,0,V)|0;v=cr(a,122,v,cr(a,27,0,0,W)|0,0)|0;l=xs(E,l,cr(a,79,v,cr(a,27,0,0,T)|0,0)|0)|0;if(H){u=cr(a,27,0,0,V)|0;u=cr(a,122,u,cr(a,27,0,0,W)|0,0)|0;v=cr(a,27,0,0,U)|0;g=xs(E,g,cr(a,73,u,cr(a,122,v,cr(a,27,0,0,W)|0,0)|0,0)|0)|0}if(C){do if(D<<24>>24==9){c=cr(a,27,0,0,U)|0;c=cr(a,122,c,cr(a,27,0,0,W)|0,0)|0}else if(D<<24>>24==8){c=k[(k[(k[h>>2]|0)+4>>2]|0)+(o*24|0)+4>>2]|0;if(!c){c=cr(a,101,0,0,0)|0;break}else{c=Rr(E,c,0,0)|0;break}}else c=cr(a,101,0,0,0)|0;while(0);m=qr(a,m,c)|0;rr(a,m,T,0)}B=B+1|0}while((B|0)<(k[p>>2]|0));c=h}else{c=h;m=0;g=0;l=0}rg(E,k[Q>>2]|0);v=k[k[c>>2]>>2]|0;if(!v)n=0;else{c=v;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;n=c-v&1073741823}if(D<<24>>24==6){k[S>>2]=v;k[M>>2]=n;c=yt(E,57,34376)|0;if(c)i[c+1>>0]=2;u=qr(a,0,c)|0;u=pr(a,u,ur(E,0,S,0)|0,l,0,0,0,0,0,0)|0;t=0}else{u=0;t=l}o=E+250|0;p=i[o>>0]|0;i[o>>0]=0;c=n+77|0;q=rh(E,c,0)|0;if(q){kw(q|0,0,c|0)|0;l=q+36|0;k[q+28>>2]=l;D=q+76|0;k[q+48>>2]=D;k[q+52>>2]=n;pw(D|0,v|0,n|0)|0;D=Rr(E,t,1,0)|0;k[q+56>>2]=D;D=Ur(E,m,1)|0;k[q+60>>2]=D;D=lr(E,u,1)|0;k[q+44>>2]=D;if(!g){c=q;g=0}else{g=cr(a,19,g,0,0)|0;c=Rr(E,g,1,0)|0;k[q+12>>2]=c;c=q}}else{c=0;l=0}i[o>>0]=p;Lk(E,t);Lk(E,g);Sk(E,m);Rk(E,u,1);if((i[E+65>>0]|0)==1){Pk(E,c);c=0;break}if((F|0)==6)i[l>>0]=119;else if((F|0)==9?!H:0)i[l>>0]=109;else X=49;if((X|0)==49){X=0;i[l>>0]=110}k[l+4>>2]=c;F=k[P>>2]|0;k[q+20>>2]=F;k[q+24>>2]=F;k[G>>2]=c;i[q+8>>0]=N}else c=0}while(0);if(c)iv(a,c,b,d,2,0)}h=k[h+12>>2]|0}while((h|0)!=0)}r=Y;return}function It(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,n=0,o=0,p=0;c=j[a+46>>1]|0;a:do if(c<<16>>16==(j[b+46>>1]|0)?(i[a+50>>0]|0)==(i[b+50>>0]|0):0){if(c<<16>>16){d=k[b+4>>2]|0;e=k[a+4>>2]|0;f=b+28|0;g=a+28|0;h=b+32|0;l=a+32|0;p=0;do{if((j[d+(p<<1)>>1]|0)!=(j[e+(p<<1)>>1]|0)){c=0;break a}if((i[(k[f>>2]|0)+p>>0]|0)!=(i[(k[g>>2]|0)+p>>0]|0)){c=0;break a}m=k[(k[h>>2]|0)+(p<<2)>>2]|0;n=k[(k[l>>2]|0)+(p<<2)>>2]|0;o=(n|0)==0;if(!m){if(!o){c=0;break a}}else{if(o){c=0;break a}if(id(m,n)|0){c=0;break a}}p=p+1|0}while((p|0)<(c&65535|0))}c=(Hu(k[b+36>>2]|0,k[a+36>>2]|0,-1)|0)==0&1}else c=0;while(0);return c|0}function Jt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;do if(!(i[c+44>>0]&8))d=0;else{f=k[a+408>>2]|0;f=(f|0)==0?a:f;e=f+404|0;d=k[e>>2]|0;a:do if(!d)g=5;else while(1){if((k[d+4>>2]|0)==(c|0))break a;d=k[d>>2]|0;if(!d){g=5;break}}while(0);if((g|0)==5){d=rh(k[a>>2]|0,16,0)|0;if(!d){d=0;break}k[d>>2]=k[e>>2];k[e>>2]=d;k[d+4>>2]=c;k[d+8>>2]=b;a=f+72|0;e=k[a>>2]|0;k[d+12>>2]=e+2;k[a>>2]=e+3}d=k[d+12>>2]|0}while(0);return d|0}function Kt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;if((r|0)>=(s|0))ka();g=h;e=j[c+36>>1]|0;f=k[a>>2]|0;d=k[c>>2]|0;if(e<<16>>16>-1){e=k[(k[c+4>>2]|0)+((e<<16>>16)*24|0)>>2]|0;k[g>>2]=d;k[g+4>>2]=e;e=1555;d=zh(f,27824,g)|0}else{k[g>>2]=d;e=2579;d=zh(f,34408,g)|0}Es(a,e,b,d,-1,2);r=h;return}function Lt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a+316|0;f=k[e>>2]|0;b=qr(a,f,Rr(k[a>>2]|0,b,0,0)|0)|0;if(b){a=(k[b>>2]|0)+-1|0;f=k[b+4>>2]|0;k[f+(a*20|0)+16>>2]=c;a=f+(a*20|0)+13|0;i[a>>0]=i[a>>0]&-5|d<<2&4}k[e>>2]=b;return}function Mt(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=k[d>>2]|0;if(!(f+-1&f)){h=ha((f|0)==0?1:f<<1,c)|0;a=wo(a,b,h,((h|0)<0)<<31>>31)|0;if(!a){k[e>>2]=-1;a=b}else g=4}else{a=b;g=4}if((g|0)==4){kw(a+(ha(f,c)|0)|0,0,c|0)|0;k[e>>2]=f;k[d>>2]=(k[d>>2]|0)+1}return a|0}function Nt(a){a=a|0;var b=0,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;k[g>>2]=0;b=k[a+12>>2]|0;if((b|0)!=0?(c=k[b+24>>2]|0,(c|0)>0):0){k[g>>2]=c;b=c}else b=0;c=k[a+16>>2]|0;if((c|0)!=0?(d=k[c+24>>2]|0,(d|0)>(b|0)):0)k[g>>2]=d;e=a+4|0;b=a+20|0;if(!(k[e>>2]&2048)){c=k[b>>2]|0;if(c){yu(c,g);b=k[b>>2]|0;if((b|0)!=0?(f=k[b>>2]|0,(f|0)>0):0){d=k[b+4>>2]|0;c=0;b=0;do{b=k[(k[d+(c*20|0)>>2]|0)+4>>2]|b;c=c+1|0}while((c|0)!=(f|0));b=b&2097408}else b=0;k[e>>2]=k[e>>2]|b}}else Js(k[b>>2]|0,g);k[a+24>>2]=(k[g>>2]|0)+1;r=h;return}function Ot(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Tq(a)|0;g=a+72|0;f=(k[g>>2]|0)+1|0;k[g>>2]=f;a=rh(k[a>>2]|0,8,0)|0;if(a){g=a;k[g>>2]=c;k[g+4>>2]=d}Ch(e,Bh(e,26,0,f,0)|0,a,-13);nq(e,1);if(!(i[(k[e>>2]|0)+65>>0]|0))ah(k[e+16>>2]|0,b,-1,1,0)|0;Bh(e,35,f,1,0)|0;return}function Pt(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;b=k[a>>2]|0;c=b+16|0;d=k[(k[c>>2]|0)+20>>2]|0;do if(!d)b=0;else{if((i[b+63>>0]|0)!=0?(i[d+8>>0]|0)==0:0){Rl(d);k[(k[c>>2]|0)+20>>2]=0;Jg(b);b=0;break}yh(a,32128,e);b=1}while(0);r=f;return b|0}function Qt(a){a=a|0;var b=0,c=0,d=0;if((i[a+63>>0]|0)!=0?(b=k[a+20>>2]|0,(b|0)>0):0){d=a+24|0;c=k[a+16>>2]|0;while(1){b=b+-1|0;a=k[c+4>>2]|0;if(a)yo(a,k[d>>2]&28|l[c+8>>0]);if((b|0)<=0)break;else c=c+16|0}}return}function Rt(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,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;x=k[c+20>>2]|0;g=k[c+40>>2]|0;if((x|0)==1){q=j[b+36>>1]|0;f=q<<16>>16;if(q<<16>>16>-1)if((g|0)!=0?(id(k[(k[b+4>>2]|0)+(f*24|0)>>2]|0,g)|0)!=0:0){v=0;y=8}else e=0;else{v=0;y=8}}else if(e){f=rh(k[a>>2]|0,x<<2,0)|0;if(!f)e=1;else{k[e>>2]=f;v=f;y=8}}else{v=0;y=8}a:do if((y|0)==8){e=k[b+8>>2]|0;b:do if(e){q=(g|0)==0;u=(x|0)>0;p=b+4|0;t=(v|0)==0;c:while(1){do if((m[e+46>>1]|0)==(x|0)?(i[e+50>>0]|0)!=0:0){if(q)if((i[e+51>>0]&3)==2){y=16;break c}else break;d:do if(u){h=k[e+4>>2]|0;l=k[p>>2]|0;n=k[e+32>>2]|0;o=0;while(1){b=j[h+(o<<1)>>1]|0;g=k[l+(b*24|0)+16>>2]|0;if(id(k[n+(o<<2)>>2]|0,(g|0)!=0?g:11152)|0){g=o;break d}g=k[l+(b*24|0)>>2]|0;f=0;while(1){b=f+1|0;if(!(id(k[c+(f<<3)+40>>2]|0,g)|0)){b=f;y=23;break}if((b|0)<(x|0))f=b;else break}if((y|0)==23){y=0;if(!t)k[v+(o<<2)>>2]=k[c+(b<<3)+36>>2]}g=o+1|0;if((b|0)==(x|0)){g=o;break d}if((g|0)<(x|0))o=g;else break}}else g=0;while(0);if((g|0)==(x|0))break c}while(0);e=k[e+20>>2]|0;if(!e)break b}if((y|0)==16)if(!(t|u^1)){f=0;do{k[v+(f<<2)>>2]=k[c+(f<<3)+36>>2];f=f+1|0}while((f|0)!=(x|0))}k[d>>2]=e;e=0;break a}while(0);if(!(i[a+438>>0]|0)){q=k[c+8>>2]|0;k[w>>2]=k[k[c>>2]>>2];k[w+4>>2]=q;yh(a,32008,w)}rg(k[a>>2]|0,v);e=1}while(0);r=z;return e|0}function St(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=r;r=r+16|0;if((r|0)>=(s|0))ka();f=g;if(!(k[b+12>>2]|0)){k[f>>2]=0;h=k[a>>2]|0;e=b+4|0;b=k[e>>2]|0;cs(h,k[b+(c*24|0)+4>>2]|0,i[h+62>>0]|0,i[b+(c*24|0)+21>>0]|0,f)|0;b=k[f>>2]|0;if(b)Ch(a,-1,b,-8);if((i[(k[e>>2]|0)+(c*24|0)+21>>0]|0)==69)Bh(a,39,d,0,0)|0}r=g;return}function Tt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!b)d=0;else{d=b;while(1)if(!(i[d>>0]|0))break;else d=d+1|0;d=d-b&1073741823}d=Xh(a,b,d,2,1,0)|0;if(d){d=d+2|0;j[d>>1]=m[d>>1]|c&255}return}function Ut(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 l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=k[a+8>>2]|0;r=k[b+12>>2]|0;do if(f){l=b+36|0;if(!(k[l>>2]|0)){k[f>>2]=0;break}else{p=Cs(q)|0;k[f>>2]=p;k[a+96>>2]=c;p=a+100|0;k[p>>2]=(k[p>>2]|0)+1;lt(a,k[l>>2]|0,k[f>>2]|0,16);break}}while(0);if((e|0)!=0?(i[b+51>>0]&8)!=0:0)l=b+46|0;else l=b+48|0;l=j[l>>1]|0;n=l&65535;o=a+60|0;e=k[o>>2]|0;p=a+56|0;f=k[p>>2]|0;if((f|0)<(n|0)){e=a+72|0;m=k[e>>2]|0;k[e>>2]=m+n;m=m+1|0}else{k[o>>2]=e+n;k[p>>2]=f-n;m=e}do if(!g)e=0;else{if((m|0)==(h|0)?(k[g+36>>2]|0)==0:0){e=g;break}e=0}while(0);if(l<<16>>16){g=(e|0)==0;h=b+4|0;f=e+4|0;l=0;do{if(!g){e=j[(k[h>>2]|0)+(l<<1)>>1]|0;if((j[(k[f>>2]|0)+(l<<1)>>1]|0)!=e<<16>>16)s=21}else{e=j[(k[h>>2]|0)+(l<<1)>>1]|0;s=21}if((s|0)==21){s=0;st(q,r,c,e<<16>>16,l+m|0);Uq(q,39)|0}l=l+1|0}while((l|0)<(n|0))}if(d)Bh(q,49,m,n,d)|0;it(a,m,n);if((k[p>>2]|0)<(n|0)){k[p>>2]=n;k[o>>2]=m}return m|0}function Vt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(b){c=k[a+8>>2]|0;d=k[c+24>>2]|0;e=~b;if((b|0)<0?(f=k[d+112>>2]|0,(f|0)!=0):0)k[f+(e<<2)>>2]=k[c+32>>2];k[d+88>>2]=(k[c+32>>2]|0)+-1;gu(a)}return}function Wt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();e=f;c=k[b+16>>2]|0;a:do if((c|0)!=0?(d=k[b+64>>2]|0,(d|0)!=0):0){c=k[c+8>>2]|0;b:do if(c){while(1){if(!(id(k[c>>2]|0,d)|0))break;c=k[c+20>>2]|0;if(!c)break b}k[b+68>>2]=c;c=0;break a}while(0);k[e>>2]=d;k[e+4>>2]=0;yh(a,28104,e);i[a+17>>0]=1;c=1}else c=0;while(0);r=f;return c|0}function Xt(a,b){a=a|0;b=b|0;var c=0,d=0;if(a){c=Yt(a,b)|0;if(b&1){d=Xt(k[a+12>>2]|0,b)|0;return d+c+(Xt(k[a+16>>2]|0,b)|0)|0}}else c=0;return c|0}
11 function rq(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,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,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;da=r;r=r+192|0;if((r|0)>=(s|0))ka();_=da+48|0;Y=da+24|0;X=da+160|0;E=da+156|0;P=da+152|0;H=da+148|0;S=da+144|0;K=da+140|0;D=da+16|0;ba=da;v=da+128|0;u=da+116|0;w=da+96|0;e=da+88|0;ca=a+8|0;$=k[ca>>2]|0;aa=k[a>>2]|0;k[ba+0>>2]=k[9286];k[ba+4>>2]=k[9287];k[ba+8>>2]=k[9288];a:do switch(b|0){case 8:{v=k[$>>2]|0;z=v+65|0;if(((i[z>>0]|0)==0?(i[$+18>>0]|0)==0:0)?(V=$+64|0,(k[V>>2]|0)==0):0){y=Tq($)|0;if(y){do{}while((Uq(y,61)|0)!=0);Bh(y,24,0,0,0)|0;do if(!(i[z>>0]|0)){h=$+332|0;q=k[h>>2]|0;if((q|0)==0?(k[$+316>>2]|0)==0:0)break;n=y+32|0;o=k[n>>2]|0;if(o)k[(k[y+4>>2]|0)+8>>2]=o;k[(k[y+24>>2]|0)+88>>2]=o+-1;t=v+20|0;b:do if((k[t>>2]|0)>0){c=y+96|0;d=$+328|0;e=v+16|0;f=v+145|0;g=y+4|0;p=0;while(1){u=1<<p;if(((u&q|0)!=0?(k[c>>2]=k[c>>2]|u,_=k[(k[(k[e>>2]|0)+(p<<4)+12>>2]|0)+4>>2]|0,Ch(y,Bh(y,4,p,(k[d>>2]&u|0)!=0&1,k[$+(p<<2)+336>>2]|0)|0,_,-14),(i[f>>0]|0)==0):0)?(J=k[g>>2]|0,(J|0)!=0):0)i[J+(((k[n>>2]|0)+-1|0)*20|0)+3>>0]=1;p=p+1|0;if((p|0)>=(k[t>>2]|0))break b;q=k[h>>2]|0}}while(0);n=$+452|0;if((k[n>>2]|0)>0){h=$+520|0;g=0;do{o=k[(k[(k[h>>2]|0)+(g<<2)>>2]|0)+60>>2]|0;c:do if(!o)o=0;else while(1){if((k[o>>2]|0)==(v|0))break c;o=k[o+24>>2]|0;if(!o){o=0;break}}while(0);Ch(y,Bh(y,146,0,0,0)|0,o,-10);g=g+1|0}while((g|0)<(k[n>>2]|0))}k[n>>2]=0;n=Tq($)|0;h=$+396|0;if((k[h>>2]|0)>0){g=$+400|0;f=0;do{Y=k[g>>2]|0;_=k[Y+(f<<4)+12>>2]|0;Ch(n,Bh(n,145,k[Y+(f<<4)>>2]|0,k[Y+(f<<4)+4>>2]|0,l[Y+(f<<4)+8>>0]|0)|0,_,-2);f=f+1|0}while((f|0)<(k[h>>2]|0))}d=k[$+8>>2]|0;o=k[$+404>>2]|0;if(o){c=(k[$>>2]|0)+16|0;p=d+32|0;q=d+4|0;do{h=k[o+8>>2]|0;n=k[o+12>>2]|0;Vq($,0,h,k[(k[(k[c>>2]|0)+(h<<4)+12>>2]|0)+72>>2]|0,54);h=n+1|0;Bh(d,28,0,n,h)|0;g=k[p>>2]|0;e=n+-1|0;f=k[k[o+4>>2]>>2]|0;Ch(d,Bh(d,97,0,e,0)|0,f,0);f=g+9|0;Bh(d,108,0,f,0)|0;Bh(d,47,0,0,n)|0;Bh(d,78,e,g+7|0,n)|0;e=k[q>>2]|0;if(e)i[e+(((k[p>>2]|0)+-1|0)*20|0)+3>>0]=16;Bh(d,103,0,h,0)|0;Bh(d,47,0,1,n)|0;Bh(d,16,0,f,0)|0;Bh(d,9,0,g+2|0,0)|0;Bh(d,25,0,n,0)|0;Bh(d,61,0,0,0)|0;o=k[o>>2]|0}while((o|0)!=0)}n=k[$+316>>2]|0;if((n|0)!=0?(i[$+23>>0]=0,(k[n>>2]|0)>0):0){h=n+4|0;g=0;do{_=k[h>>2]|0;Wq($,k[_+(g*20|0)>>2]|0,k[_+(g*20|0)+16>>2]|0);g=g+1|0}while((g|0)<(k[n>>2]|0))}Bh(y,16,0,1,0)|0}while(0);if((k[V>>2]|0)==0?(i[z>>0]|0)==0:0){if((k[$+404>>2]|0)!=0?(W=$+68|0,(k[W>>2]|0)==0):0)k[W>>2]=1;Fh(y,$);k[$+12>>2]=101;i[$+16>>0]=0}else Z=48}else Z=48;if((Z|0)==48)k[$+12>>2]=1;k[$+68>>2]=0;k[$+72>>2]=0;k[$+76>>2]=0;k[$+440>>2]=0;k[$+332>>2]=0}break}case 33:{_=a+(aa<<4)+16|0;_q($,0,0,0,k[_>>2]|0);Rk(k[$>>2]|0,k[_>>2]|0,1);break}case 35:{e=k[a+(aa<<4)+20>>2]|0;d=k[a+(aa<<4)+16>>2]|0;if((e|0)==5?(Kc(d,20456,5)|0)==0:0){i[ba>>0]=32;break a}i[ba>>0]=0;k[_>>2]=e;k[_+4>>2]=d;yh($,20464,_);break}case 26:{Zq($,a+(aa+-1<<4)+16|0,a+(aa<<4)+16|0,k[a+(aa+-4<<4)+16>>2]|0,0,0,k[a+(aa+-2<<4)+16>>2]|0);break}case 221:case 218:case 108:case 97:case 85:case 83:case 81:case 68:case 31:case 28:{k[ba>>2]=0;break}case 27:{i[(k[$>>2]|0)+250>>0]=0;Z=a+(aa<<4)+16|0;_=k[Z+4>>2]|0;$=ba;k[$>>2]=k[Z>>2];k[$+4>>2]=_;break}case 222:case 219:case 107:case 84:case 69:case 30:case 29:{k[ba>>2]=1;break}case 32:{_q($,a+(aa+-2<<4)+16|0,a+(aa+-1<<4)+16|0,i[a+(aa<<4)+16>>0]|0,0);break}case 34:{i[ba>>0]=0;break}case 62:{dr($,0,k[a+(aa+-1<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0,k[a+(aa+-2<<4)+16>>2]|0);break}case 63:{er($,0,0,0,0,k[a+(aa<<4)+16>>2]|0,0,0,0,0)|0;break}case 70:{k[ba>>2]=0;break}case 71:{k[ba>>2]=k[a+(aa+-1<<4)+16>>2]&~k[a+(aa<<4)+20>>2]|k[a+(aa<<4)+16>>2];break}case 73:case 72:{k[ba>>2]=0;k[ba+4>>2]=0;break}case 74:{k[ba>>2]=k[a+(aa<<4)+16>>2];k[ba+4>>2]=255;break}case 76:{k[ba>>2]=7;break}case 75:{k[ba>>2]=k[a+(aa<<4)+16>>2]<<8;k[ba+4>>2]=65280;break}case 6:{i[$+450>>0]=1;k[$+440>>2]=0;break}case 5:{i[$+450>>0]=0;k[$+440>>2]=0;break}case 9:{e=k[a+(aa+-1<<4)+16>>2]|0;d=k[$>>2]|0;if((Xq($,22,37104,0,0)|0)==0?(B=Tq($)|0,(B|0)!=0):0){if((e|0)!=7?(C=d+20|0,(k[C>>2]|0)>0):0){e=(e|0)==9?2:1;d=B+96|0;g=0;do{Bh(B,4,g,e,0)|0;k[d>>2]=k[d>>2]|1<<g;g=g+1|0}while((g|0)<(k[C>>2]|0))}Bh(B,3,0,0,0)|0}break}case 46:{$=k[a+(aa+-3<<4)+16>>2]|0;k[ba>>2]=$;k[ba+4>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>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:{Z=a+(aa<<4)+16|0;_=k[Z+4>>2]|0;$=ba;k[$>>2]=k[Z>>2];k[$+4>>2]=_;break}case 44:{e=a+(aa<<4)+16|0;d=k[$+484>>2]|0;if((d|0)!=0?(F=j[d+38>>1]|0,F<<16>>16>=1):0){_=(F<<16>>16)+-1|0;Z=k[d+4>>2]|0;$=$q(k[$>>2]|0,e)|0;k[Z+(_*24|0)+12>>2]=$;$=ar($,Z+(_*24|0)+22|0)|0;i[Z+(_*24|0)+21>>0]=$}break}case 58:{_=cr($,157,k[a+(aa<<4)+16>>2]|0,0,0)|0;k[v>>2]=_;k[v+4>>2]=k[a+(aa+-1<<4)+16>>2];k[v+8>>2]=k[a+(aa<<4)+24>>2];br($,v);break}case 59:{_=a+(aa<<4)+16|0;Z=cr($,97,0,0,_)|0;k[u>>2]=Z;_=k[_>>2]|0;k[u+4>>2]=_;k[u+8>>2]=_+(k[a+(aa<<4)+20>>2]|0);br($,u);break}case 61:{d=k[a+(aa<<4)+16>>2]|0;e=k[$+484>>2]|0;if((e|0)!=0?(q=j[e+38>>1]|0,q<<16>>16>=1):0)i[(k[e+4>>2]|0)+(((q<<16>>16)+-1|0)*24|0)+20>>0]=d;break}case 7:{i[$+450>>0]=2;k[$+440>>2]=0;break}case 13:{k[ba>>2]=7;break}case 117:case 115:case 16:case 15:case 14:{k[ba>>2]=l[a+(aa<<4)+14>>0];break}case 18:case 17:{if((Xq($,22,37136,0,0)|0)==0?(y=Tq($)|0,(y|0)!=0):0)Bh(y,3,1,0,0)|0;break}case 38:{_=k[a+(aa+-2<<4)+16>>2]|0;k[ba>>2]=_;k[ba+4>>2]=(k[$+504>>2]|0)-_+(k[$+508>>2]|0);break}case 39:{u=a+(aa<<4)+16|0;q=k[$>>2]|0;d=k[$+484>>2]|0;d:do if(d){t=d+38|0;if((j[t>>1]|0)>=(k[q+96>>2]|0)){k[_>>2]=k[d>>2];yh($,36528,_);break}p=$q(q,u)|0;if(p){n=j[t>>1]|0;c=n<<16>>16;e:do if(n<<16>>16>0){o=i[9328+(l[p>>0]|0)>>0]|0;g=k[d+4>>2]|0;h=p+1|0;e=0;while(1){f=k[g+(e*24|0)>>2]|0;if(o<<24>>24==(i[9328+(l[f>>0]|0)>>0]|0)?(id(h,f+1|0)|0)==0:0)break;e=e+1|0;if((e|0)>=(c|0))break e}k[_>>2]=p;yh($,36552,_);rg(q,p);break d}else g=k[d+4>>2]|0;while(0);h=d+4|0;do if(!(c&7)){g=wo(q,g,(c*24|0)+192|0,0)|0;if(!g){rg(q,p);break d}else{k[h>>2]=g;n=j[t>>1]|0;break}}while(0);_=n<<16>>16;Z=g+(_*24|0)|0;k[Z+0>>2]=0;k[Z+4>>2]=0;k[Z+8>>2]=0;k[Z+12>>2]=0;k[Z+16>>2]=0;k[Z+20>>2]=0;k[Z>>2]=p;i[g+(_*24|0)+21>>0]=65;i[g+(_*24|0)+22>>0]=1;j[t>>1]=(j[t>>1]|0)+1<<16>>16}}while(0);Y=u;Z=k[Y+4>>2]|0;_=ba;k[_>>2]=k[Y>>2];k[_+4>>2]=Z;k[$+324>>2]=0;break}case 47:{$=k[a+(aa+-5<<4)+16>>2]|0;k[ba>>2]=$;k[ba+4>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0)-$;break}case 49:{$=k[a+(aa+-1<<4)+16>>2]|0;k[ba>>2]=$;k[ba+4>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0)-$;break}case 92:case 54:{Z=a+(aa<<4)+16|0;_=k[Z+4>>2]|0;$=$+320|0;k[$>>2]=k[Z>>2];k[$+4>>2]=_;break}case 57:case 55:{br($,a+(aa<<4)+16|0);break}case 64:{fr($,k[a+(aa+-1<<4)+16>>2]|0);break}case 65:{gr($,0,a+(aa+-2<<4)+16|0,k[a+(aa+-1<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0);break}case 66:{d=k[a+(aa<<4)+16>>2]|0;e=k[$+484>>2]|0;if((e|0)!=0?(p=k[e+16>>2]|0,(p|0)!=0):0)i[p+24>>0]=d;break}case 67:{g=k[$+484>>2]|0;if((g|0)!=0?(A=(j[g+38>>1]|0)+-1|0,h=k[$>>2]|0,f=$q(h,a+(aa<<4)+16|0)|0,(f|0)!=0):0){if(!(hr($,f)|0)){rg(h,f);break a}n=g+4|0;rg(h,k[(k[n>>2]|0)+(A*24|0)+16>>2]|0);k[(k[n>>2]|0)+(A*24|0)+16>>2]=f;e=k[g+8>>2]|0;if(e)do{if((j[k[e+4>>2]>>1]|0)==(A|0))k[k[e+32>>2]>>2]=k[(k[n>>2]|0)+(A*24|0)+16>>2];e=k[e+20>>2]|0}while((e|0)!=0)}break}case 56:{br($,a+(aa+-1<<4)+16|0);break}case 226:{e=aa+-1|0;d=a+(e<<4)+16|0;h=a+(aa<<4)+16|0;g=ur(k[$>>2]|0,0,d,h)|0;n=aa+-3|0;f=cr($,75,k[a+(n<<4)+16>>2]|0,0,0)|0;k[ba>>2]=f;if(!f){Io(k[$>>2]|0,g);g=0}else{g=pr($,0,g,0,0,0,0,0,0,0)|0;k[f+20>>2]=g;g=k[ba>>2]|0;_=g+4|0;k[_>>2]=k[_>>2]|2099200;Dr($,g)}if(k[a+(aa+-2<<4)+16>>2]|0){$=cr($,19,g,0,0)|0;k[ba>>2]=$}k[ba+4>>2]=k[a+(n<<4)+20>>2];c=k[h>>2]|0;if(!c)c=(k[d>>2]|0)+(k[a+(e<<4)+20>>2]|0)|0;else c=c+(k[a+(aa<<4)+20>>2]|0)|0;k[ba+8>>2]=c;break}case 225:{e=aa+-4|0;c=cr($,75,k[a+(e<<4)+16>>2]|0,0,0)|0;k[ba>>2]=c;if(!c){Rk(k[$>>2]|0,k[a+(aa+-1<<4)+16>>2]|0,1);c=0}else{k[c+20>>2]=k[a+(aa+-1<<4)+16>>2];c=k[ba>>2]|0;_=c+4|0;k[_>>2]=k[_>>2]|2099200;Dr($,c)}if(k[a+(aa+-3<<4)+16>>2]|0){$=cr($,19,c,0,0)|0;k[ba>>2]=$}k[ba+4>>2]=k[a+(e<<4)+20>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 227:{c=cr($,20,0,0,0)|0;k[ba>>2]=c;if(!c)Rk(k[$>>2]|0,k[a+(aa+-1<<4)+16>>2]|0,1);else{k[c+20>>2]=k[a+(aa+-1<<4)+16>>2];_=c+4|0;k[_>>2]=k[_>>2]|2099200;Dr($,c)}k[ba+4>>2]=k[a+(aa+-3<<4)+16>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 228:{d=cr($,136,k[a+(aa+-3<<4)+16>>2]|0,0,0)|0;k[ba>>2]=d;if(!d){Sk(k[$>>2]|0,k[a+(aa+-2<<4)+16>>2]|0);Lk(k[$>>2]|0,k[a+(aa+-1<<4)+16>>2]|0)}else{e=k[a+(aa+-1<<4)+16>>2]|0;c=k[a+(aa+-2<<4)+16>>2]|0;if(e)c=qr($,c,e)|0;k[d+20>>2]=c;Dr($,k[ba>>2]|0)}k[ba+4>>2]=k[a+(aa+-4<<4)+16>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 291:case 240:{k[ba>>2]=2;break}case 241:{k[ba>>2]=0;break}case 239:{er($,a+(aa+-7<<4)+16|0,a+(aa+-6<<4)+16|0,ur(k[$>>2]|0,0,a+(aa+-4<<4)+16|0,0)|0,k[a+(aa+-2<<4)+16>>2]|0,k[a+(aa+-10<<4)+16>>2]|0,a+(aa+-11<<4)+16|0,k[a+(aa<<4)+16>>2]|0,0,k[a+(aa+-8<<4)+16>>2]|0)|0;break}case 229:{$=qr($,qr($,k[a+(aa+-4<<4)+16>>2]|0,k[a+(aa+-2<<4)+16>>2]|0)|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 230:{$=qr($,qr($,0,k[a+(aa+-2<<4)+16>>2]|0)|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 237:{$=qr($,k[a+(aa+-2<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 238:{$=qr($,0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 245:{c=qr($,0,Ar($,0,a+(aa+-1<<4)+16|0,1)|0)|0;k[ba>>2]=c;rr($,c,a+(aa+-2<<4)+16|0,1);if(c){if((k[c>>2]|0)>(k[(k[$>>2]|0)+96>>2]|0)){k[_>>2]=20632;yh($,34544,_)}i[(k[c+4>>2]|0)+(((k[c>>2]|0)+-1|0)*20|0)+12>>0]=k[a+(aa<<4)+16>>2]}break}case 244:{c=Ar($,0,a+(aa+-1<<4)+16|0,1)|0;c=qr($,k[a+(aa+-4<<4)+16>>2]|0,c)|0;k[ba>>2]=c;rr($,c,a+(aa+-2<<4)+16|0,1);if(c){if((k[c>>2]|0)>(k[(k[$>>2]|0)+96>>2]|0)){k[_>>2]=20632;yh($,34544,_)}i[(k[c+4>>2]|0)+(((k[c>>2]|0)+-1|0)*20|0)+12>>0]=k[a+(aa<<4)+16>>2]}break}case 248:{q=k[a+(aa<<4)+16>>2]|0;n=k[a+(aa+-1<<4)+16>>2]|0;p=k[$>>2]|0;do if((i[p+65>>0]|0)==0?(Ln($)|0)==0:0){h=q+12|0;d=gq(p,k[q+16>>2]|0,k[h>>2]|0)|0;if(!d){if(!n){k[_>>2]=q;k[_+4>>2]=0;yh($,33056,_)}else Er($,k[h>>2]|0);i[$+17>>0]=1;break}if(i[d+51>>0]&3){k[_>>2]=0;yh($,33080,_);break}n=k[d+24>>2]|0;f:do if(n){h=k[p+20>>2]|0;if((h|0)>0){g=k[p+16>>2]|0;o=0;while(1){f=o+1|0;if((k[g+(o<<4)+12>>2]|0)==(n|0)){f=o;break f}if((f|0)<(h|0))o=f;else break}}else f=0}else f=-1e6;while(0);n=k[d+12>>2]|0;h=p+16|0;g=k[(k[h>>2]|0)+(f<<4)>>2]|0;e=(f|0)==1?13184:13208;if(((Xq($,9,e,0,g)|0)==0?(Xq($,(f|0)==0?10:12,k[d>>2]|0,k[n>>2]|0,g)|0)==0:0)?(G=Tq($)|0,(G|0)!=0):0){Z=k[$+408>>2]|0;Z=(Z|0)==0?$:Z;Fr($,f);Y=Z+328|0;k[Y>>2]=k[Y>>2]|1<<f;Z=Z+20|0;i[Z>>0]=l[Z>>0]|1;Z=k[d>>2]|0;k[_>>2]=k[(k[h>>2]|0)+(f<<4)>>2];k[_+4>>2]=e;k[_+8>>2]=Z;Gr($,33160,_);Hr($,f,28536,k[d>>2]|0);Ir($,f);Jr($,k[d+40>>2]|0,f);$=k[d>>2]|0;Ch(G,Bh(G,125,f,0,0)|0,$,0)}}while(0);Io(p,q);break}case 246:{k[ba>>2]=0;k[ba+4>>2]=0;break}case 250:case 249:{c=Tq($)|0;if(c){Bh(c,13,0,0,0)|0;$=c+96|0;k[$>>2]=k[$>>2]|1}break}case 251:{Kr($,a+(aa+-1<<4)+16|0,a+(aa<<4)+16|0,0,0);break}case 252:{Kr($,a+(aa+-3<<4)+16|0,a+(aa+-2<<4)+16|0,a+(aa<<4)+16|0,0);break}case 253:{Kr($,a+(aa+-4<<4)+16|0,a+(aa+-3<<4)+16|0,a+(aa+-1<<4)+16|0,0);break}case 254:{Kr($,a+(aa+-3<<4)+16|0,a+(aa+-2<<4)+16|0,a+(aa<<4)+16|0,1);break}case 255:{Kr($,a+(aa+-4<<4)+16|0,a+(aa+-3<<4)+16|0,a+(aa+-1<<4)+16|0,1);break}case 264:{c=k[a+(aa+-3<<4)+16>>2]|0;e=(k[a+(aa<<4)+16>>2]|0)-c+(k[a+(aa<<4)+20>>2]|0)|0;d=k[a+(aa+-1<<4)+16>>2]|0;Z=$+488|0;w=k[Z>>2]|0;x=k[$>>2]|0;k[Z>>2]=0;g:do if((k[$+64>>2]|0)==0&(w|0)!=0){v=k[w>>2]|0;f=w+20|0;q=k[f>>2]|0;h:do if(q){p=k[x+20>>2]|0;if((p|0)>0){n=k[x+16>>2]|0;g=0;while(1){h=g+1|0;if((k[n+(g<<4)+12>>2]|0)==(q|0))break h;if((h|0)<(p|0))g=h;else{g=h;break}}}else g=0}else g=-1e6;while(0);k[w+28>>2]=d;u=(d|0)==0;if(!u){n=d;do{k[n+4>>2]=w;n=k[n+32>>2]|0}while((n|0)!=0)}k[X>>2]=v;if(!v)n=0;else{n=v;while(1)if(!(i[n>>0]|0))break;else n=n+1|0;n=n-v&1073741823}k[X+4>>2]=n;k[Y>>2]=$;t=x+16|0;q=k[t>>2]|0;k[Y+12>>2]=k[q+(g<<4)>>2];k[Y+4>>2]=k[q+(g<<4)+12>>2];k[Y+16>>2]=10720;k[Y+20>>2]=X;q=(g|0)==1;k[Y+8>>2]=q&1;if(!u)do{if(kr(Y,k[d+8>>2]|0)|0){d=0;e=w;break g}if(Lr(Y,k[d+20>>2]|0)|0){d=0;e=w;break g}if(Mr(Y,k[d+24>>2]|0)|0){d=0;e=w;break g}d=k[d+32>>2]|0}while((d|0)!=0);if(!(Lr(Y,k[w+12>>2]|0)|0)){n=x+145|0;if(!(i[n>>0]|0)){h=Tq($)|0;if(!h){d=0;e=w;break}Z=k[$+408>>2]|0;Fr($,g);Z=((Z|0)==0?$:Z)+328|0;k[Z>>2]=k[Z>>2]|1<<g;if((c|0)!=0?(o=ow(e|0,0,1,0)|0,o=rh(x,o,L)|0,(o|0)!=0):0){pw(o|0,c|0,e|0)|0;i[o+e>>0]=0}else o=0;Z=k[w+4>>2]|0;k[_>>2]=k[(k[t>>2]|0)+(g<<4)>>2];k[_+4>>2]=q?13184:13208;k[_+8>>2]=v;k[_+12>>2]=Z;k[_+16>>2]=o;Gr($,30008,_);rg(x,o);Ir($,g);k[_>>2]=v;Nr(h,g,zh(x,30072,_)|0);if(!(i[n>>0]|0)){d=0;e=w;break}}e=Nk((k[(k[t>>2]|0)+(g<<4)+12>>2]|0)+40|0,v,w)|0;if(e){i[x+65>>0]=1;d=0;break}d=k[f>>2]|0;if((d|0)==(k[w+24>>2]|0)){d=gn(d+8|0,k[w+4>>2]|0,_)|0;if(!d)d=0;else d=k[d+8>>2]|0;d=d+64|0;k[w+32>>2]=k[d>>2];k[d>>2]=w;d=0}else d=0}else{d=0;e=w}}else e=w;while(0);og(x,e);Kk(x,d);break}case 265:{A=a+(aa+-7<<4)+16|0;z=aa+-6|0;B=a+(z<<4)+16|0;h=k[a+(aa+-5<<4)+16>>2]|0;C=aa+-4|0;y=k[a+(C<<4)+16>>2]|0;C=k[a+(C<<4)+20>>2]|0;D=k[a+(aa+-2<<4)+16>>2]|0;E=k[a+(aa<<4)+16>>2]|0;d=k[a+(aa+-8<<4)+16>>2]|0;F=k[$>>2]|0;w=(k[a+(aa+-10<<4)+16>>2]|0)!=0;do if(w)if(!(k[a+(z<<4)+20>>2]|0)){k[Y>>2]=A;if(!D){n=0;o=0;break}else{q=1;Z=483;break}}else{yh($,29664,_);n=0;o=0;break}else{q=jr($,A,B,Y)|0;if((q|0)>-1&(D|0)!=0)Z=483;else{n=0;o=0}}while(0);do if((Z|0)==483){c=F+65|0;if(!(i[c>>0]|0)){u=F+145|0;if((i[u>>0]|0)!=0&(q|0)!=1){Z=D+12|0;rg(F,k[Z>>2]|0);k[Z>>2]=0}t=Or($,D)|0;if((i[u>>0]|0)==0?((t|0)!=0?(k[a+(z<<4)+20>>2]|0)==0:0):0)q=(k[t+68>>2]|0)==(k[(k[F+16>>2]|0)+28>>2]|0)?1:q;if((i[c>>0]|0)==0?(O=k[Y>>2]|0,Z=k[$>>2]|0,k[X>>2]=$,Z=k[Z+16>>2]|0,k[X+12>>2]=k[Z+(q<<4)>>2],k[X+4>>2]=k[Z+(q<<4)+12>>2],k[X+16>>2]=10720,k[X+20>>2]=O,k[X+8>>2]=(q|0)==1&1,(Pr(X,D)|0)==0):0){u=Or($,D)|0;if(!u){if((i[F+144>>0]|0)!=1){n=0;o=0;break}i[F+146>>0]=1;n=0;o=0;break}if(i[u+44>>0]&16){yh($,29712,_);n=0;o=0;break}o=$q(F,O)|0;if(o)if(!(Qr($,o)|0)){x=F+16|0;Z=gn((k[(k[x>>2]|0)+(q<<4)+12>>2]|0)+40|0,o,P)|0;if((Z|0)!=0?(k[Z+8>>2]|0)!=0:0)if(!d){k[_>>2]=O;yh($,29760,_);n=0;break}else{Fr($,q);n=0;break}v=k[u>>2]|0;if(!(Kc(v,25568,7)|0)){yh($,29792,_);n=$+64|0;k[n>>2]=(k[n>>2]|0)+1;n=0;break}p=k[u+12>>2]|0;if((p|0)!=0&(h|0)!=49){k[_>>2]=(h|0)==35?29872:29880;k[_+4>>2]=D;k[_+8>>2]=0;yh($,29832,_);n=0;break}g=(h|0)==49;if((p|0)==0&g){k[_>>2]=D;k[_+4>>2]=0;yh($,29888,_);n=0;break}f=u+68|0;u=k[f>>2]|0;i:do if(u){t=k[F+20>>2]|0;if((t|0)>0){d=k[x>>2]|0;e=0;while(1){c=e+1|0;if((k[d+(e<<4)+12>>2]|0)==(u|0)){c=e;break i}if((c|0)<(t|0))e=c;else break}}else c=0}else c=-1e6;while(0);u=k[x>>2]|0;d=k[u+(c<<4)>>2]|0;if(w)t=k[u+16>>2]|0;else t=d;u=(c|0)==1;if((Xq($,u|w?5:7,o,v,t)|0)==0?(Xq($,18,u?13184:13208,0,d)|0)==0:0){n=rh(F,36,0)|0;if(!n){n=0;break}v=n+0|0;d=v+36|0;do{i[v>>0]=0;v=v+1|0}while((v|0)<(d|0));k[n>>2]=o;o=ph(F,k[D+16>>2]|0)|0;k[n+4>>2]=o;k[n+20>>2]=k[(k[x>>2]|0)+(q<<4)+12>>2];k[n+24>>2]=k[f>>2];i[n+8>>0]=y;i[n+9>>0]=g|(h|0)==35?1:2;o=Rr(F,E,1,0)|0;k[n+12>>2]=o;o=Sr(F,C)|0;k[n+16>>2]=o;k[$+488>>2]=n;o=0}else n=0}else n=0;else{n=0;o=0}}else{n=0;o=0}}else{n=0;o=0}}while(0);rg(F,o);Io(F,D);Mk(F,C);Lk(F,E);if(!(k[$+488>>2]|0))og(F,n);if(!(k[a+(z<<4)+20>>2]|0)){Z=A;_=k[Z+4>>2]|0;$=ba;k[$>>2]=k[Z>>2];k[$+4>>2]=_;break a}else{Z=B;_=k[Z+4>>2]|0;$=ba;k[$>>2]=k[Z>>2];k[$+4>>2]=_;break a}}case 269:case 266:{k[ba>>2]=35;break}case 267:{k[ba>>2]=31;break}case 268:{k[ba>>2]=49;break}case 284:{e=k[$>>2]|0;d=k[a+(aa+-1<<4)+16>>2]|0;c=k[a+(aa<<4)+16>>2]|0;f=i[a+(aa+-5<<4)+16>>0]|0;g=Tr(e,110,a+(aa+-4<<4)+16|0)|0;if(g){$=Ur(e,d,1)|0;k[g+24>>2]=$;$=Rr(e,c,1,0)|0;k[g+20>>2]=$;i[g+1>>0]=f}Sk(e,d);Lk(e,c);k[ba>>2]=g;break}case 271:case 270:{k[ba>>2]=l[a+(aa<<4)+14>>0];k[ba+4>>2]=0;break}case 272:{k[ba>>2]=110;k[ba+4>>2]=k[a+(aa<<4)+16>>2];break}case 296:case 275:{k[ba>>2]=0;break}case 297:case 276:{k[ba>>2]=k[a+(aa<<4)+16>>2];break}case 277:{_=a+(aa+-1<<4)+16|0;$=a+(aa+-2<<4)+16|0;k[(k[(k[$>>2]|0)+36>>2]|0)+32>>2]=k[_>>2];k[(k[$>>2]|0)+36>>2]=k[_>>2];k[ba>>2]=k[$>>2];break}case 278:{$=a+(aa+-1<<4)+16|0;_=k[$>>2]|0;k[_+36>>2]=_;k[ba>>2]=k[$>>2];break}case 282:{yh($,20736,_);break}case 280:{X=a+(aa<<4)+16|0;Y=k[X+4>>2]|0;Z=ba;k[Z>>2]=k[X>>2];k[Z+4>>2]=Y;yh($,20640,_);break}case 283:{yh($,20824,_);break}case 286:{c=k[$>>2]|0;d=k[a+(aa<<4)+16>>2]|0;e=Tr(c,109,a+(aa+-2<<4)+16|0)|0;if(e){$=Rr(c,d,1,0)|0;k[e+20>>2]=$;i[e+1>>0]=10}Lk(c,d);k[ba>>2]=e;break}case 287:{e=k[$>>2]|0;g=k[a+(aa<<4)+16>>2]|0;c=rh(e,40,0)|0;if(!c){Rk(e,g,1);c=0}else{v=c+0|0;d=v+40|0;do{i[v>>0]=0;v=v+1|0}while((v|0)<(d|0));i[c>>0]=119;k[c+8>>2]=g;i[c+1>>0]=10}k[ba>>2]=c;break}case 285:{g=k[$>>2]|0;f=k[a+(aa+-1<<4)+16>>2]|0;e=k[a+(aa<<4)+16>>2]|0;d=i[a+(aa+-4<<4)+16>>0]|0;c=Tr(g,108,a+(aa+-2<<4)+16|0)|0;if(!c)Mk(g,f);else{$=lr(g,e,1)|0;k[c+8>>2]=$;k[c+28>>2]=f;i[c+1>>0]=d}Rk(g,e,1);k[ba>>2]=c;break}case 288:{c=cr($,57,0,0,0)|0;k[ba>>2]=c;if(c)i[c+1>>0]=4;k[ba+4>>2]=k[a+(aa+-3<<4)+16>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 289:{c=cr($,57,0,0,a+(aa+-1<<4)+16|0)|0;k[ba>>2]=c;if(c)i[c+1>>0]=k[a+(aa+-3<<4)+16>>2];k[ba+4>>2]=k[a+(aa+-5<<4)+16>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 290:{k[ba>>2]=1;break}case 292:{k[ba>>2]=3;break}case 293:{d=k[a+(aa<<4)+16>>2]|0;c=k[a+(aa+-1<<4)+16>>2]|0;t=k[$>>2]|0;do if((i[t+65>>0]|0)==0?(Ln($)|0)==0:0){u=k[d+12>>2]|0;q=k[d+16>>2]|0;p=t+20|0;if((k[p>>2]|0)>0){g=(u|0)==0;f=t+16|0;e=0;n=0;do{h=(e|0)<2^e;o=k[f>>2]|0;if(!(!g?(id(k[o+(h<<4)>>2]|0,u)|0)!=0:0)){o=gn((k[o+(h<<4)+12>>2]|0)+40|0,q,H)|0;if(o){n=k[o+8>>2]|0;if(n)break}else n=0}e=e+1|0}while((e|0)<(k[p>>2]|0));if(n){Vr($,n);break}}if(!c){k[_>>2]=d;k[_+4>>2]=0;yh($,29600,_)}else Er($,u);i[$+17>>0]=1}while(0);Io(t,d);break}case 294:{_=k[a+(aa+-3<<4)+16>>2]|0;Wr($,24,29360,_,_,k[a+(aa+-1<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0);break}case 303:{Yr($,a+(aa+-1<<4)+16|0,a+(aa<<4)+16|0);break}case 304:{w=k[a+(aa+-3<<4)+16>>2]|0;u=a+(aa<<4)+16|0;v=k[$>>2]|0;d=v+24|0;e=k[d>>2]|0;do if((i[v+65>>0]|0)==0?(U=Zr($,0,w+8|0)|0,(U|0)!=0):0){o=k[$>>2]|0;x=U+68|0;q=k[x>>2]|0;j:do if(q){p=k[o+20>>2]|0;if((p|0)>0){o=k[o+16>>2]|0;h=0;while(1){n=h+1|0;if((k[o+(h<<4)+12>>2]|0)==(q|0)){n=h;break j}if((n|0)<(p|0))h=n;else break}}else n=0}else n=-1e6;while(0);c=k[(k[v+16>>2]|0)+(n<<4)>>2]|0;k[d>>2]=k[d>>2]|2097152;g=$q(v,u)|0;if(g){if((di(v,g,c)|0)==0?(gq(v,g,c)|0)==0:0){if(_r($,k[U>>2]|0)|0)break;if(Qr($,g)|0)break;o=k[U>>2]|0;if(k[U+12>>2]|0){k[_>>2]=o;yh($,26088,_);break}if(Xq($,26,c,o,0)|0)break;if(mr($,U)|0)break;if(!(i[U+44>>0]&16))f=0;else{o=k[U+60>>2]|0;k:do if(!o)o=0;else while(1){if((k[o>>2]|0)==(v|0))break k;o=k[o+24>>2]|0;if(!o){o=0;break}}while(0);f=(k[(k[k[o+8>>2]>>2]|0)+76>>2]|0)==0?0:o}o=Tq($)|0;if(!o)break;Z=(f|0)!=0;h=$+408|0;Y=k[h>>2]|0;Y=(Y|0)==0?$:Y;Fr($,n);X=Y+328|0;k[X>>2]=k[X>>2]|1<<n;Y=Y+20|0;i[Y>>0]=l[Y>>0]|Z&1;Ir($,n);if(Z){Y=$+72|0;Z=(k[Y>>2]|0)+1|0;k[Y>>2]=Z;Ch(o,Bh(o,97,0,Z,0)|0,g,0);Ch(o,Bh(o,152,Z,0,0)|0,f,-10);Z=k[h>>2]|0;i[((Z|0)==0?$:Z)+21>>0]=1}u=k[U>>2]|0;t=Sn(u,-1)|0;do if((k[d>>2]&524288|0)!=0?(Q=gn((k[x>>2]|0)+56|0,u,S)|0,(Q|0)!=0):0){o=k[Q+8>>2]|0;if(!o)break;h=o;o=0;do{o=$r(k[$>>2]|0,o,k[k[h>>2]>>2]|0)|0;h=k[h+12>>2]|0}while((h|0)!=0);if(!o)break;k[_>>2]=c;k[_+4>>2]=(n|0)==1?13184:13208;k[_+8>>2]=u;k[_+12>>2]=g;k[_+16>>2]=o;Gr($,26120,_);rg(v,o)}while(0);k[_>>2]=c;k[_+4>>2]=(n|0)==1?13184:13208;k[_+8>>2]=g;k[_+12>>2]=g;k[_+16>>2]=g;k[_+20>>2]=g;k[_+24>>2]=g;k[_+28>>2]=t;k[_+32>>2]=u;Gr($,26192,_);if(di(v,26576,c)|0){Z=k[U>>2]|0;k[_>>2]=c;k[_+4>>2]=g;k[_+8>>2]=Z;Gr($,26592,_)}n=as($,U)|0;if(n){k[_>>2]=g;k[_+4>>2]=g;k[_+8>>2]=n;Gr($,26656,_);rg(v,n)}do if(k[d>>2]&524288){n=gn((k[x>>2]|0)+56|0,k[U>>2]|0,_)|0;if(!n)break;n=k[n+8>>2]|0;if(!n)break;do{h=k[n>>2]|0;if((h|0)!=(U|0))bs($,h,k[h>>2]|0);n=k[n+12>>2]|0}while((n|0)!=0)}while(0);bs($,U,g);break}k[_>>2]=g;yh($,26024,_)}else g=0}else g=0;while(0);Io(v,w);rg(v,g);k[d>>2]=e;break}case 295:{_=k[a+(aa<<4)+16>>2]|0;Wr($,25,29176,_,0,0,_);break}case 300:{Xr($,0,0);break}case 302:{Yr($,0,0);break}case 301:{Xr($,a+(aa+-1<<4)+16|0,a+(aa<<4)+16|0);break}case 305:{v=k[$>>2]|0;if((k[$+64>>2]|0)==0?(I=v+65|0,(i[I>>0]|0)==0):0){e=k[$+484>>2]|0;o=k[e+68>>2]|0;l:do if(o){n=k[v+20>>2]|0;if((n|0)>0){h=k[v+16>>2]|0;f=0;while(1){g=f+1|0;if((k[h+(f<<4)+12>>2]|0)==(o|0)){x=f;break l}if((g|0)<(n|0))f=g;else{x=g;break}}}else x=0}else x=-1e6;while(0);c=k[(k[v+16>>2]|0)+(x<<4)>>2]|0;d=(k[e>>2]|0)+16|0;p=(j[e+38>>1]|0)+-1|0;n=k[e+4>>2]|0;o=k[n+(p*24|0)+4>>2]|0;w=di(v,d,c)|0;if(!(Xq($,26,c,k[w>>2]|0,0)|0)){if(!o)q=0;else q=(i[o>>0]|0)==101?0:o;if(i[n+(p*24|0)+23>>0]&1){yh($,25608,_);break a}if(k[e+8>>2]|0){yh($,25640,_);break a}u=v+24|0;if((k[u>>2]&524288|0)!=0?(k[e+16>>2]|0)!=0&(q|0)!=0:0){yh($,25672,_);break a}t=(q|0)!=0;if(!((i[n+(p*24|0)+20>>0]|0)==0|t)){yh($,25736,_);break a}do if(t){k[K>>2]=0;if(cs(v,q,1,65,K)|0){i[I>>0]=1;break a}o=k[K>>2]|0;if(!o){yh($,25792,_);break a}else{Rh(o);break}}while(0);o=k[a+(aa<<4)+16>>2]|0;n=a+(aa<<4)+20|0;h=k[n>>2]|0;if((o|0)!=0?(R=ow(h|0,0,1,0)|0,R=rh(v,R,L)|0,(R|0)!=0):0){pw(R|0,o|0,h|0)|0;i[R+h>>0]=0;o=(k[n>>2]|0)+-1|0;n=k[u>>2]|0;m:do if((o|0)>0){o=R+o|0;do{Y=i[o>>0]|0;if(Y<<24>>24!=59?(i[10368+(Y&255)>>0]&1)==0:0)break m;i[o>>0]=0;o=o+-1|0}while(o>>>0>R>>>0)}while(0);k[u>>2]=k[u>>2]|2097152;Y=k[e+48>>2]|0;k[_>>2]=c;k[_+4>>2]=(x|0)==1?13184:13208;k[_+8>>2]=Y;k[_+12>>2]=R;k[_+16>>2]=Y+1;k[_+20>>2]=d;Gr($,25840,_);rg(v,R);k[u>>2]=n}o=t?3:2;q=Tq($)|0;if(q){n=$+19|0;g=i[n>>0]|0;do if(g<<24>>24){_=g+-1<<24>>24;i[n>>0]=_;h=k[$+((_&255)<<2)+24>>2]|0;if(!(_<<24>>24)){n=k[$+72>>2]|0;Z=663;break}else{d=g+-2<<24>>24;i[n>>0]=d;d=k[$+((d&255)<<2)+24>>2]|0;break}}else{h=$+72|0;n=(k[h>>2]|0)+1|0;k[h>>2]=n;h=n;Z=663}while(0);if((Z|0)==663){d=n+1|0;k[$+72>>2]=d}Bh(q,51,x,h,2)|0;f=q+96|0;k[f>>2]=k[f>>2]|1<<x;Bh(q,25,o,d,0)|0;f=Bh(q,83,d,0,h)|0;e=q+4|0;g=k[e>>2]|0;n=q+32|0;if(g)i[g+(((k[n>>2]|0)+-1|0)*20|0)+3>>0]=-112;Bh(q,52,x,2,d)|0;n=k[n>>2]|0;if(n>>>0>f>>>0)k[(k[e>>2]|0)+(f*20|0)+8>>2]=n;k[(k[q+24>>2]|0)+88>>2]=n+-1;ds($,h);ds($,d)}bs($,w,k[w>>2]|0)}}break}case 306:{t=k[$>>2]|0;i[t+250>>0]=0;c=k[a+(aa<<4)+16>>2]|0;u=t+65|0;do if((i[u>>0]|0)==0?(N=Zr($,0,c+8|0)|0,(N|0)!=0):0){if(i[N+44>>0]&16){yh($,25400,_);break}if(k[N+12>>2]|0){yh($,25440,_);break}if(!(_r($,k[N>>2]|0)|0)){n=k[N+68>>2]|0;n:do if(n){h=k[t+20>>2]|0;if((h|0)>0){g=k[t+16>>2]|0;o=0;while(1){f=o+1|0;if((k[g+(o<<4)+12>>2]|0)==(n|0)){f=o;break n}if((f|0)<(h|0))o=f;else break}}else f=0}else f=-1e6;while(0);q=rh(t,76,0)|0;if(q){v=q+0|0;d=v+76|0;do{i[v>>0]=0;v=v+1|0}while((v|0)<(d|0));k[$+484>>2]=q;h=q+40|0;j[h>>1]=1;o=j[N+38>>1]|0;g=q+38|0;j[g>>1]=o;o=((((o<<16>>16)+-1|0)/8|0)*192|0)+192|0;n=rh(t,o,0)|0;if(n)kw(n|0,0,o|0)|0;o=q+4|0;k[o>>2]=n;k[_>>2]=k[N>>2];_=zh(t,25472,_)|0;k[q>>2]=_;n=k[o>>2]|0;if((n|0)==0|(_|0)==0){i[u>>0]=1;break}pw(n|0,k[N+4>>2]|0,(j[g>>1]|0)*24|0)|0;if((j[g>>1]|0)>0){n=0;do{_=k[o>>2]|0;Z=_+(n*24|0)|0;Y=ph(t,k[Z>>2]|0)|0;k[Z>>2]=Y;_=_+(n*24|0)+4|0;n=n+1|0;k[_+0>>2]=0;k[_+4>>2]=0;k[_+8>>2]=0;k[_+12>>2]=0}while((n|0)<(j[g>>1]|0))}k[q+68>>2]=k[(k[t+16>>2]|0)+(f<<4)+12>>2];k[q+48>>2]=k[N+48>>2];j[h>>1]=1;_=k[$+408>>2]|0;Fr($,f);_=((_|0)==0?$:_)+328|0;k[_>>2]=k[_>>2]|1<<f;if(Tq($)|0)Ir($,f)}}}while(0);Io(t,c);break}case 309:{es($,0);break}case 310:{es($,a+(aa<<4)+16|0);break}case 311:{d=a+(aa<<4)+16|0;Zq($,a+(aa+-3<<4)+16|0,a+(aa+-2<<4)+16|0,0,0,1,k[a+(aa+-4<<4)+16>>2]|0);o=k[$+484>>2]|0;if(o){c=k[$>>2]|0;n=k[o+68>>2]|0;o:do if(n){h=k[c+20>>2]|0;if((h|0)>0){f=k[c+16>>2]|0;e=0;while(1){g=e+1|0;if((k[f+(e<<4)+12>>2]|0)==(n|0)){g=e;break o}if((g|0)<(h|0))e=g;else break}}else g=0}else g=-1e6;while(0);e=o+44|0;i[e>>0]=l[e>>0]|16;k[o+52>>2]=0;fs(c,o,$q(c,d)|0);fs(c,o,0);fs(c,o,ph(c,k[o>>2]|0)|0);k[$+500>>2]=(k[d>>2]|0)+(k[a+(aa<<4)+20>>2]|0)-(k[$+496>>2]|0);e=k[o+56>>2]|0;if(e)Xq($,29,k[o>>2]|0,k[e>>2]|0,k[(k[(k[$>>2]|0)+16>>2]|0)+(g<<4)>>2]|0)|0}break}case 322:{k[ba>>2]=0;break}case 324:case 323:{k[ba>>2]=k[a+(aa<<4)+16>>2];break}case 325:{$=hs($,0,a+(aa+-5<<4)+16|0,k[a+(aa+-4<<4)+16>>2]|0,k[a+(aa+-1<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 326:{$=hs($,k[a+(aa+-7<<4)+16>>2]|0,a+(aa+-5<<4)+16|0,k[a+(aa+-4<<4)+16>>2]|0,k[a+(aa+-1<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 314:{gs($);k[$+512>>2]=0;k[$+516>>2]=0;break}case 318:case 317:case 316:{e=$+512|0;d=k[e>>2]|0;c=k[a+(aa<<4)+16>>2]|0;if(!d){k[e>>2]=c;c=k[a+(aa<<4)+20>>2]|0}else c=c+(k[a+(aa<<4)+20>>2]|0)-d|0;k[$+516>>2]=c;break}case 77:{k[ba>>2]=8;break}case 78:{k[ba>>2]=9;break}case 79:{k[ba>>2]=6;break}case 80:{k[ba>>2]=0;break}case 103:case 100:case 98:case 82:{k[ba>>2]=k[a+(aa<<4)+16>>2];break}case 86:{k[ba+4>>2]=0;k[ba>>2]=0;break}case 87:{Z=a+(aa+-1<<4)+16|0;_=k[Z+4>>2]|0;$=ba;k[$>>2]=k[Z>>2];k[$+4>>2]=_;break}case 90:{k[$+324>>2]=0;break}case 99:{k[ba>>2]=10;break}case 101:{i[ba>>0]=10;break}case 102:{i[ba>>0]=k[a+(aa<<4)+16>>2];break}case 104:{k[ba>>2]=4;break}case 105:{k[ba>>2]=5;break}case 106:{ir($,k[a+(aa<<4)+16>>2]|0,0,k[a+(aa+-1<<4)+16>>2]|0);break}case 93:{dr($,k[a+(aa+-3<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0,k[a+(aa+-2<<4)+16>>2]|0,0);break}case 94:{er($,0,0,0,k[a+(aa+-2<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0,0,0,0,0)|0;break}case 95:{fr($,k[a+(aa+-2<<4)+16>>2]|0);break}case 96:{gr($,k[a+(aa+-6<<4)+16>>2]|0,a+(aa+-3<<4)+16|0,k[a+(aa+-2<<4)+16>>2]|0,k[a+(aa+-1<<4)+16>>2]|0);d=k[a+(aa<<4)+16>>2]|0;e=k[$+484>>2]|0;if((e|0)!=0?(g=k[e+16>>2]|0,(g|0)!=0):0)i[g+24>>0]=d;break}case 109:{c=aa+-7|0;h=a+(aa+-3<<4)+16|0;g=a+(aa+-2<<4)+16|0;u=k[a+(aa<<4)+16>>2]|0;o=k[a+(aa+-6<<4)+16>>2]|0;n=k[a+(aa+-4<<4)+16>>2]|0;k[E>>2]=0;t=k[$>>2]|0;if((k[$+440>>2]|0)>0){yh($,35440,_);Rk(t,u,1);break a}Zq($,h,g,o,1,0,n);e=k[$+484>>2]|0;if((e|0)!=0?(k[$+64>>2]|0)==0:0){jr($,h,g,E)|0;o=k[e+68>>2]|0;p:do if(o){h=k[t+20>>2]|0;if((h|0)>0){g=k[t+16>>2]|0;f=0;while(1){n=f+1|0;if((k[g+(f<<4)+12>>2]|0)==(o|0)){n=f;break p}if((n|0)<(h|0))f=n;else break}}else n=0}else n=-1e6;while(0);_=k[E>>2]|0;Z=k[$>>2]|0;k[X>>2]=$;Z=k[Z+16>>2]|0;k[X+12>>2]=k[Z+(n<<4)>>2];k[X+4>>2]=k[Z+(n<<4)+12>>2];k[X+16>>2]=35480;k[X+20>>2]=_;k[X+8>>2]=(n|0)==1&1;if(kr(X,u)|0){Rk(t,u,1);break a}_=lr(t,u,1)|0;k[e+12>>2]=_;Rk(t,u,1);if(i[t+65>>0]|0)break a;if(!(i[t+145>>0]|0))mr($,e)|0;g=$+504|0;f=k[g>>2]|0;g=k[g+4>>2]|0;_=Y;k[_>>2]=f;k[_+4>>2]=g;_=i[f>>0]|0;if(!(_<<24>>24==59|_<<24>>24==0)){f=f+g|0;k[Y>>2]=f}h=Y+4|0;k[h>>2]=0;n=k[a+(c<<4)+16>>2]|0;g=f-n|0;do{_=g;g=g+-1|0;e=n+g|0;if((_|0)<=0)break}while((i[10368+(l[e>>0]|0)>>0]&1)!=0);k[Y>>2]=e;k[h>>2]=1;_q($,0,Y,0,0);break a}Rk(t,u,1);break}case 110:{ir($,k[a+(aa<<4)+16>>2]|0,1,k[a+(aa+-1<<4)+16>>2]|0);break}case 111:{k[w+0>>2]=k[5124];k[w+4>>2]=k[5125];k[w+8>>2]=k[5126];k[w+12>>2]=k[5127];k[w+16>>2]=k[5128];_=a+(aa<<4)+16|0;nr($,k[_>>2]|0,w)|0;Rk(k[$>>2]|0,k[_>>2]|0,1);break}case 112:{o=k[a+(aa<<4)+16>>2]|0;do if(o){k[o+68>>2]=k[a+(aa+-1<<4)+16>>2];e=k[o+52>>2]|0;if(e){f=128;g=1;h=o;n=0;while(1){k[h+56>>2]=n;Y=h+6|0;Z=m[Y>>1]|64;j[Y>>1]=Z;f=Z&f;if(!e)break;Z=e;e=k[e+52>>2]|0;g=g+1|0;n=h;h=Z}if(f){$=o+6|0;j[$>>1]=m[$>>1]|256;break}Z=k[(k[$>>2]|0)+104>>2]|0;if((Z|0)>0&(g|0)>(Z|0))yh($,20520,_)}}else Vn(k[$>>2]|0,k[a+(aa+-1<<4)+16>>2]|0);while(0);k[ba>>2]=o;break}case 119:case 113:{k[ba>>2]=k[a+(aa<<4)+16>>2];break}case 114:{c=k[a+(aa<<4)+16>>2]|0;do if(c){if(k[c+52>>2]|0){k[e+4>>2]=0;c=pr($,0,or($,0,0,0,e,c,0,0)|0,0,0,0,0,0,0,0)|0;if(!c){Z=192;break}}_=k[a+(aa+-1<<4)+16>>2]|0;i[c+4>>0]=_;k[c+52>>2]=k[a+(aa+-2<<4)+16>>2];if((_|0)!=116)i[$+22>>0]=1}else Z=192;while(0);if((Z|0)==192){Rk(k[$>>2]|0,k[a+(aa+-2<<4)+16>>2]|0,1);c=0}k[ba>>2]=c;break}case 116:{k[ba>>2]=116;break}case 169:{c=k[a+(aa+-5<<4)+16>>2]|0;if(c){_=$+532|0;k[c+4>>2]=k[_>>2];k[_>>2]=c;i[$+449>>0]=1}_=a+(aa+-2<<4)+16|0;tr($,k[_>>2]|0,a+(aa+-1<<4)+16|0);wr($,k[_>>2]|0,k[a+(aa<<4)+16>>2]|0);break}case 172:{e=k[a+(aa+-7<<4)+16>>2]|0;if(e){Z=$+532|0;k[e+4>>2]=k[Z>>2];k[Z>>2]=e;i[$+449>>0]=1}f=a+(aa+-4<<4)+16|0;tr($,k[f>>2]|0,a+(aa+-3<<4)+16|0);g=a+(aa+-1<<4)+16|0;e=k[g>>2]|0;if(e){if((k[e>>2]|0)>(k[(k[$>>2]|0)+96>>2]|0)){k[_>>2]=20560;yh($,34544,_);e=k[g>>2]|0}}else e=0;xr($,k[f>>2]|0,e,k[a+(aa<<4)+16>>2]|0,l[a+(aa+-5<<4)+16>>0]|0);break}case 176:{c=k[a+(aa+-6<<4)+16>>2]|0;if(c){_=$+532|0;k[c+4>>2]=k[_>>2];k[_>>2]=c;i[$+449>>0]=1}yr($,k[a+(aa+-3<<4)+16>>2]|0,0,k[a+(aa+-2<<4)+16>>2]|0,l[a+(aa+-5<<4)+16>>0]|0);break}case 173:{_=qr($,k[a+(aa+-4<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=_;rr($,_,a+(aa+-2<<4)+16|0,1);break}case 174:{_=qr($,0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=_;rr($,_,a+(aa+-2<<4)+16|0,1);break}case 175:{c=k[a+(aa+-5<<4)+16>>2]|0;if(c){_=$+532|0;k[c+4>>2]=k[_>>2];k[_>>2]=c;i[$+449>>0]=1}yr($,k[a+(aa+-2<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0,k[a+(aa+-1<<4)+16>>2]|0,l[a+(aa+-4<<4)+16>>0]|0);break}case 181:{$=zr(k[$>>2]|0,k[a+(aa+-2<<4)+16>>2]|0,a+(aa<<4)+16|0)|0;k[ba>>2]=$;break}case 182:{$=zr(k[$>>2]|0,0,a+(aa<<4)+16|0)|0;k[ba>>2]=$;break}case 183:{$=a+(aa<<4)+16|0;k[ba+0>>2]=k[$+0>>2];k[ba+4>>2]=k[$+4>>2];k[ba+8>>2]=k[$+8>>2];break}case 177:{i[ba>>0]=i[a+(aa<<4)+16>>0]|0;break}case 178:{i[ba>>0]=5;break}case 184:{k[ba>>2]=k[a+(aa+-1<<4)+16>>2];k[ba+4>>2]=k[a+(aa+-2<<4)+16>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 191:case 190:case 185:{_=a+(aa<<4)+16|0;$=cr($,l[a+(aa<<4)+14>>0]|0,0,0,_)|0;k[ba>>2]=$;$=k[_>>2]|0;k[ba+4>>2]=$;k[ba+8>>2]=$+(k[a+(aa<<4)+20>>2]|0);break}case 187:case 186:{_=a+(aa<<4)+16|0;$=cr($,27,0,0,_)|0;k[ba>>2]=$;$=k[_>>2]|0;k[ba+4>>2]=$;k[ba+8>>2]=$+(k[a+(aa<<4)+20>>2]|0);break}case 188:{Z=a+(aa+-2<<4)+16|0;_=a+(aa<<4)+16|0;$=cr($,122,cr($,27,0,0,Z)|0,cr($,27,0,0,_)|0,0)|0;k[ba>>2]=$;k[ba+4>>2]=k[Z>>2];k[ba+8>>2]=(k[_>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 189:{Z=a+(aa+-4<<4)+16|0;_=a+(aa<<4)+16|0;$=cr($,122,cr($,27,0,0,Z)|0,cr($,122,cr($,27,0,0,a+(aa+-2<<4)+16|0)|0,cr($,27,0,0,_)|0,0)|0,0)|0;k[ba>>2]=$;k[ba+4>>2]=k[Z>>2];k[ba+8>>2]=(k[_>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 192:{u=a+(aa<<4)+16|0;t=a+(aa<<4)+20|0;do if(((k[t>>2]|0)>>>0>1?(z=k[u>>2]|0,(i[z>>0]|0)==35):0)?((l[z+1>>0]|0)+-48|0)>>>0<10:0){if(!(i[$+18>>0]|0)){k[_>>2]=u;yh($,20432,_);k[ba>>2]=0;break}h=cr($,159,0,0,u)|0;k[ba>>2]=h;if(h)In((k[u>>2]|0)+1|0,h+28|0)|0}else Z=298;while(0);q:do if((Z|0)==298?(M=cr($,135,0,0,u)|0,k[ba>>2]=M,T=k[u>>2]|0,k[ba+4>>2]=T,k[ba+8>>2]=T+(k[t>>2]|0),T=k[$>>2]|0,(M|0)!=0):0){w=k[M+8>>2]|0;h=w+1|0;do if(i[h>>0]|0){v=(w|0)==0;if(v)x=0;else{o=w;while(1)if(!(i[o>>0]|0))break;else o=o+1|0;x=o-w&1073741823}r:do if((i[w>>0]|0)==63){Y=Zl(h,D,x+-1|0,1)|0;f=D;g=k[f>>2]|0;f=k[f+4>>2]|0;o=g&65535;j[M+32>>1]=o;h=k[T+124>>2]|0;Z=((h|0)<0)<<31>>31;if((f|0)<0|(f|0)==0&g>>>0<1|(Y|0)!=0|((f|0)>(Z|0)|(f|0)==(Z|0)&g>>>0>h>>>0)){k[_>>2]=h;yh($,33296,_);o=0}h=$+440|0;Z=k[h>>2]|0;Y=((Z|0)<0)<<31>>31;if((f|0)>(Y|0)|(f|0)==(Y|0)&g>>>0>Z>>>0)k[h>>2]=g}else{h=k[$+444>>2]|0;s:do if((h|0)>0){g=k[$+472>>2]|0;o=0;e=0;while(1){f=k[g+(o<<2)>>2]|0;if((f|0)!=0?(dw(f,w)|0)==0:0)break;e=e+1<<16>>16;o=e<<16>>16;if((o|0)>=(h|0)){Z=315;break s}}o=o+1&65535;h=M+32|0;j[h>>1]=o;if(o<<16>>16)break r}else Z=315;while(0);if((Z|0)==315)h=M+32|0;Z=$+440|0;o=(k[Z>>2]|0)+1|0;k[Z>>2]=o;o=o&65535;j[h>>1]=o}while(0);f=o<<16>>16;if(o<<16>>16>0){o=$+444|0;if((f|0)>(k[o>>2]|0)){h=$+472|0;g=wo(T,k[h>>2]|0,f<<2,0)|0;if(!g)break q;k[h>>2]=g;Z=k[o>>2]|0;kw(g+(Z<<2)|0,0,f-Z<<2|0)|0;k[o>>2]=f}if((i[w>>0]|0)==63){h=f+-1|0;if(!(k[(k[$+472>>2]|0)+(h<<2)>>2]|0))o=0;else break}else{o=f+-1|0;h=o;o=k[(k[$+472>>2]|0)+(o<<2)>>2]|0}g=$+472|0;rg(T,o);if(!v?(n=ow(x|0,0,1,0)|0,n=rh(T,n,L)|0,(n|0)!=0):0){pw(n|0,w|0,x|0)|0;i[n+x>>0]=0}else n=0;k[(k[g>>2]|0)+(h<<2)>>2]=n}}else{Y=$+440|0;Z=(k[Y>>2]|0)+1|0;k[Y>>2]=Z;j[M+32>>1]=Z}while(0);if((k[$+64>>2]|0)==0?(k[$+440>>2]|0)>(k[T+124>>2]|0):0)yh($,33344,_)}while(0);$=k[u>>2]|0;k[ba+4>>2]=$;k[ba+8>>2]=$+(k[t>>2]|0);break}case 196:{_=a+(aa+-3<<4)+16|0;$=Br($,0,_)|0;k[ba>>2]=$;k[ba+4>>2]=k[_>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 197:{_=a+(aa<<4)+16|0;$=Br($,0,_)|0;k[ba>>2]=$;$=k[_>>2]|0;k[ba+4>>2]=$;k[ba+8>>2]=$+(k[a+(aa<<4)+20>>2]|0);break}case 193:{Z=aa+-2|0;_=a+(aa<<4)+16|0;$=Ar($,k[a+(Z<<4)+16>>2]|0,_,1)|0;k[ba>>2]=$;k[ba+4>>2]=k[a+(Z<<4)+20>>2];k[ba+8>>2]=(k[_>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 194:{$=cr($,38,k[a+(aa+-3<<4)+16>>2]|0,0,a+(aa+-1<<4)+16|0)|0;k[ba>>2]=$;k[ba+4>>2]=k[a+(aa+-5<<4)+16>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 195:{e=a+(aa+-1<<4)+16|0;c=k[e>>2]|0;if(c){if((k[c>>2]|0)>(k[(k[$>>2]|0)+112>>2]|0)){k[_>>2]=a+(aa+-4<<4)+16;yh($,20576,_);c=k[e>>2]|0}}else c=0;_=a+(aa+-4<<4)+16|0;c=Br($,c,_)|0;k[ba>>2]=c;k[ba+4>>2]=k[_>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);if(!((c|0)==0?1:(j[a+(aa+-2<<4)+16>>1]|0)==0)){$=c+4|0;k[$>>2]=k[$>>2]|16}break}case 205:case 204:case 203:case 202:case 201:case 200:case 199:case 198:{_=aa+-2|0;$=cr($,l[a+(aa+-1<<4)+14>>0]|0,k[a+(_<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0,0)|0;k[ba>>2]=$;k[ba+4>>2]=k[a+(_<<4)+20>>2];k[ba+8>>2]=k[a+(aa<<4)+24>>2];break}case 206:{Z=a+(aa<<4)+16|0;_=k[Z+4>>2]|0;$=ba;k[$>>2]=k[Z>>2];k[$+4>>2]=_;k[ba+8>>2]=0;break}case 207:{Z=a+(aa<<4)+16|0;_=k[Z+4>>2]|0;$=ba;k[$>>2]=k[Z>>2];k[$+4>>2]=_;k[ba+8>>2]=1;break}case 208:{e=aa+-2|0;_=aa+-1|0;c=Br($,qr($,qr($,0,k[a+(aa<<4)+16>>2]|0)|0,k[a+(e<<4)+16>>2]|0)|0,a+(_<<4)+16|0)|0;k[ba>>2]=c;if(k[a+(_<<4)+24>>2]|0){c=cr($,19,c,0,0)|0;k[ba>>2]=c}k[ba+4>>2]=k[a+(e<<4)+20>>2];k[ba+8>>2]=k[a+(aa<<4)+24>>2];if(c){$=c+4|0;k[$>>2]=k[$>>2]|128}break}case 210:{_=aa+-1|0;$=cr($,l[a+(aa<<4)+14>>0]|0,k[a+(_<<4)+16>>2]|0,0,0)|0;k[ba>>2]=$;k[ba+4>>2]=k[a+(_<<4)+20>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 209:{e=aa+-4|0;_=aa+-3|0;c=Br($,qr($,qr($,qr($,0,k[a+(aa+-2<<4)+16>>2]|0)|0,k[a+(e<<4)+16>>2]|0)|0,k[a+(aa<<4)+16>>2]|0)|0,a+(_<<4)+16|0)|0;k[ba>>2]=c;if(k[a+(_<<4)+24>>2]|0){c=cr($,19,c,0,0)|0;k[ba>>2]=c}k[ba+4>>2]=k[a+(e<<4)+20>>2];k[ba+8>>2]=k[a+(aa<<4)+24>>2];if(c){$=c+4|0;k[$>>2]=k[$>>2]|128}break}case 223:{e=a+(aa+-1<<4)+16|0;c=k[e>>2]|0;do if(c){if((k[c>>2]|0)==1){_=k[c+4>>2]|0;c=k[_>>2]|0;k[_>>2]=0;Sk(k[$>>2]|0,k[e>>2]|0);if(c){_=c+4|0;k[_>>2]=k[_>>2]&-769|512}$=cr($,(k[a+(aa+-3<<4)+16>>2]|0)!=0?78:79,k[a+(aa+-4<<4)+16>>2]|0,c,0)|0;k[ba>>2]=$;break}c=cr($,75,k[a+(aa+-4<<4)+16>>2]|0,0,0)|0;k[ba>>2]=c;if(!c){Sk(k[$>>2]|0,k[e>>2]|0);c=0}else{k[c+20>>2]=k[e>>2];c=k[ba>>2]|0;Dr($,c)}if(k[a+(aa+-3<<4)+16>>2]|0){$=cr($,19,c,0,0)|0;k[ba>>2]=$}}else{_=cr($,132,0,0,20616+(k[a+(aa+-3<<4)+16>>2]<<3)|0)|0;k[ba>>2]=_;Lk(k[$>>2]|0,k[a+(aa+-4<<4)+16>>2]|0)}while(0);k[ba+4>>2]=k[a+(aa+-4<<4)+20>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 211:{_=aa+-2|0;$=cr($,77,k[a+(_<<4)+16>>2]|0,0,0)|0;k[ba>>2]=$;k[ba+4>>2]=k[a+(_<<4)+20>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 212:{Y=aa+-2|0;Z=a+(aa<<4)+16|0;_=cr($,73,k[a+(Y<<4)+16>>2]|0,k[Z>>2]|0,0)|0;k[ba>>2]=_;k[ba+4>>2]=k[a+(Y<<4)+20>>2];k[ba+8>>2]=k[a+(aa<<4)+24>>2];Cr($,k[Z>>2]|0,_,76);break}case 213:{Y=aa+-3|0;Z=a+(aa<<4)+16|0;_=cr($,148,k[a+(Y<<4)+16>>2]|0,k[Z>>2]|0,0)|0;k[ba>>2]=_;k[ba+4>>2]=k[a+(Y<<4)+20>>2];k[ba+8>>2]=k[a+(aa<<4)+24>>2];Cr($,k[Z>>2]|0,_,77);break}case 215:case 214:{_=aa+-1|0;$=cr($,l[a+(_<<4)+14>>0]|0,k[a+(aa<<4)+16>>2]|0,0,0)|0;k[ba>>2]=$;k[ba+4>>2]=k[a+(_<<4)+16>>2];k[ba+8>>2]=k[a+(aa<<4)+24>>2];break}case 216:{$=cr($,157,k[a+(aa<<4)+16>>2]|0,0,0)|0;k[ba>>2]=$;k[ba+4>>2]=k[a+(aa+-1<<4)+16>>2];k[ba+8>>2]=k[a+(aa<<4)+24>>2];break}case 217:{$=cr($,158,k[a+(aa<<4)+16>>2]|0,0,0)|0;k[ba>>2]=$;k[ba+4>>2]=k[a+(aa+-1<<4)+16>>2];k[ba+8>>2]=k[a+(aa<<4)+24>>2];break}case 220:{d=qr($,qr($,0,k[a+(aa+-2<<4)+16>>2]|0)|0,k[a+(aa<<4)+16>>2]|0)|0;e=aa+-4|0;c=cr($,74,k[a+(e<<4)+16>>2]|0,0,0)|0;k[ba>>2]=c;if(!c)Sk(k[$>>2]|0,d);else k[c+20>>2]=d;if(k[a+(aa+-3<<4)+16>>2]|0){$=cr($,19,k[ba>>2]|0,0,0)|0;k[ba>>2]=$}k[ba+4>>2]=k[a+(e<<4)+20>>2];k[ba+8>>2]=k[a+(aa<<4)+24>>2];break}case 224:{c=cr($,119,0,0,0)|0;k[ba>>2]=c;if(!c)Rk(k[$>>2]|0,k[a+(aa+-1<<4)+16>>2]|0,1);else{k[c+20>>2]=k[a+(aa+-1<<4)+16>>2];_=k[ba>>2]|0;Z=_+4|0;k[Z>>2]=k[Z>>2]|2099200;Dr($,_)}k[ba+4>>2]=k[a+(aa+-2<<4)+16>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 118:{$=pr($,k[a+(aa+-6<<4)+16>>2]|0,k[a+(aa+-5<<4)+16>>2]|0,k[a+(aa+-4<<4)+16>>2]|0,k[a+(aa+-3<<4)+16>>2]|0,k[a+(aa+-2<<4)+16>>2]|0,k[a+(aa+-1<<4)+16>>2]|0,j[a+(aa+-7<<4)+16>>1]|0,k[a+(aa<<4)+16>>2]|0,k[a+(aa<<4)+20>>2]|0)|0;k[ba>>2]=$;break}case 120:{$=pr($,k[a+(aa+-1<<4)+16>>2]|0,0,0,0,0,0,128,0,0)|0;k[ba>>2]=$;break}case 121:{c=pr($,k[a+(aa+-1<<4)+16>>2]|0,0,0,0,0,0,128,0,0)|0;if(!c){k[ba>>2]=k[a+(aa+-4<<4)+16>>2];break a}else{i[c+4>>0]=116;k[c+52>>2]=k[a+(aa+-4<<4)+16>>2];k[ba>>2]=c;break a}}case 122:{j[ba>>1]=1;break}case 124:case 123:{j[ba>>1]=0;break}case 243:case 125:{k[ba>>2]=k[a+(aa+-1<<4)+16>>2];break}case 242:case 236:case 161:case 154:case 126:{k[ba>>2]=0;break}case 127:{e=aa+-1|0;g=qr($,k[a+(aa+-2<<4)+16>>2]|0,k[a+(e<<4)+16>>2]|0)|0;k[ba>>2]=g;if(k[a+(aa<<4)+20>>2]|0)rr($,g,a+(aa<<4)+16|0,1);n=k[$>>2]|0;if(g){h=(k[g+4>>2]|0)+(((k[g>>2]|0)+-1|0)*20|0)+8|0;rg(n,k[h>>2]|0);f=k[a+(e<<4)+20>>2]|0;g=(k[a+(e<<4)+24>>2]|0)-f|0;if((f|0)!=0?(c=ow(g|0,((g|0)<0)<<31>>31|0,1,0)|0,c=rh(n,c,L)|0,(c|0)!=0):0){pw(c|0,f|0,g|0)|0;i[c+g>>0]=0}else c=0;k[h>>2]=c}break}case 133:{e=rh(k[$>>2]|0,80,0)|0;if(e){v=e+0|0;d=v+80|0;do{i[v>>0]=0;v=v+1|0}while((v|0)<(d|0))}k[ba>>2]=e;break}case 134:{g=k[a+(aa<<4)+16>>2]|0;k[ba>>2]=g;if(g){e=k[g>>2]|0;d=e+-1|0;if((d|0)>0)while(1){i[g+(d*72|0)+44>>0]=i[g+((e+-2|0)*72|0)+44>>0]|0;e=d+-1|0;if((e|0)>0){$=d;d=e;e=$}else break}i[g+44>>0]=0}break}case 128:{Z=k[$>>2]|0;k[_>>2]=0;k[_+4>>2]=0;_=sr(Z,116,_,0)|0;$=qr($,k[a+(aa+-1<<4)+16>>2]|0,_)|0;k[ba>>2]=$;break}case 132:{k[ba+4>>2]=0;break}case 129:{_=cr($,116,0,0,a+(aa<<4)+16|0)|0;_=cr($,122,cr($,27,0,0,a+(aa+-2<<4)+16|0)|0,_,0)|0;$=qr($,k[a+(aa+-3<<4)+16>>2]|0,_)|0;k[ba>>2]=$;break}case 136:{k[ba>>2]=0;break}case 137:{_=or($,k[a+(aa+-6<<4)+16>>2]|0,a+(aa+-5<<4)+16|0,a+(aa+-4<<4)+16|0,a+(aa+-3<<4)+16|0,0,k[a+(aa+-1<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=_;tr($,_,a+(aa+-2<<4)+16|0);break}case 135:{c=k[a+(aa+-1<<4)+16>>2]|0;k[ba>>2]=c;if((c|0)!=0?(t=k[c>>2]|0,(t|0)>0):0)i[c+((t+-1|0)*72|0)+44>>0]=k[a+(aa<<4)+16>>2];break}case 138:{$=or($,k[a+(aa+-6<<4)+16>>2]|0,0,0,a+(aa+-2<<4)+16|0,k[a+(aa+-4<<4)+16>>2]|0,k[a+(aa+-1<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 139:{e=a+(aa+-6<<4)+16|0;g=k[e>>2]|0;if((((g|0)==0?(k[a+(aa+-2<<4)+20>>2]|0)==0:0)?(k[a+(aa+-1<<4)+16>>2]|0)==0:0)?(k[a+(aa<<4)+16>>2]|0)==0:0){k[ba>>2]=k[a+(aa+-4<<4)+16>>2];break a}n=a+(aa+-4<<4)+16|0;d=k[n>>2]|0;h=k[d>>2]|0;if((h|0)==1){e=or($,g,0,0,a+(aa+-2<<4)+16|0,0,k[a+(aa+-1<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=e;if(e){X=(k[e>>2]|0)+-1|0;_=k[n>>2]|0;Z=_+16|0;k[e+(X*72|0)+16>>2]=k[Z>>2];Y=_+12|0;k[e+(X*72|0)+12>>2]=k[Y>>2];_=_+28|0;k[e+(X*72|0)+28>>2]=k[_>>2];k[Y>>2]=0;k[Z>>2]=0;k[_>>2]=0}Io(k[$>>2]|0,k[n>>2]|0);break a}if(d){f=h+-1|0;if((f|0)>0){g=h;while(1){i[d+(f*72|0)+44>>0]=i[d+((g+-2|0)*72|0)+44>>0]|0;g=f+-1|0;if((g|0)>0){_=f;f=g;g=_}else break}}i[d+44>>0]=0}_=pr($,0,d,0,0,0,0,512,0,0)|0;$=or($,k[e>>2]|0,0,0,a+(aa+-2<<4)+16|0,_,k[a+(aa+-1<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 149:case 140:{k[ba>>2]=0;k[ba+4>>2]=0;break}case 144:{$=vr($,a+(aa+-1<<4)+16|0,0,0)|0;k[ba>>2]=$;break}case 145:{$=vr($,a+(aa+-2<<4)+16|0,a+(aa+-1<<4)+16|0,0)|0;k[ba>>2]=$;break}case 146:{$=vr($,a+(aa+-3<<4)+16|0,a+(aa+-2<<4)+16|0,a+(aa+-1<<4)+16|0)|0;k[ba>>2]=$;break}case 233:case 231:case 171:case 164:case 147:{k[ba>>2]=k[a+(aa<<4)+16>>2];break}case 234:case 232:case 170:case 163:case 148:{k[ba>>2]=0;break}case 151:{k[ba>>2]=0;k[ba+4>>2]=1;break}case 143:{k[ba>>2]=1;break}case 142:{$=ur(k[$>>2]|0,0,a+(aa+-1<<4)+16|0,a+(aa<<4)+16|0)|0;k[ba>>2]=$;break}case 235:case 162:case 155:{k[ba>>2]=k[a+(aa<<4)+16>>2];break}case 156:{c=qr($,k[a+(aa+-3<<4)+16>>2]|0,k[a+(aa+-1<<4)+16>>2]|0)|0;k[ba>>2]=c;if(c)i[(k[c+4>>2]|0)+(((k[c>>2]|0)+-1|0)*20|0)+12>>0]=k[a+(aa<<4)+16>>2];break}case 157:{c=qr($,0,k[a+(aa+-1<<4)+16>>2]|0)|0;k[ba>>2]=c;if((c|0)!=0?(d=k[c+4>>2]|0,(d|0)!=0):0)i[d+12>>0]=k[a+(aa<<4)+16>>2];break}case 179:case 153:{k[ba>>2]=0;break}case 180:case 152:{k[ba>>2]=k[a+(aa+-1<<4)+16>>2];break}case 160:case 158:{k[ba>>2]=0;break}case 159:{k[ba>>2]=1;break}case 165:{k[ba>>2]=0;k[ba+4>>2]=0;break}case 166:{k[ba>>2]=k[a+(aa<<4)+16>>2];k[ba+4>>2]=0;break}case 167:{k[ba>>2]=k[a+(aa+-2<<4)+16>>2];k[ba+4>>2]=k[a+(aa<<4)+16>>2];break}case 168:{k[ba+4>>2]=k[a+(aa+-2<<4)+16>>2];k[ba>>2]=k[a+(aa<<4)+16>>2];break}case 19:{if((Xq($,22,37120,0,0)|0)==0?(x=Tq($)|0,(x|0)!=0):0)Bh(x,3,1,1,0)|0;break}case 22:{Yq($,0,a+(aa<<4)+16|0);break}case 23:{Yq($,1,a+(aa<<4)+16|0);break}case 24:{Yq($,2,a+(aa<<4)+16|0);break}default:{}}while(0);c=i[20912+(b<<1)>>0]|0;h=c&255;g=i[20913+(b<<1)>>0]|0;f=g&255;n=(k[a>>2]|0)-f|0;k[a>>2]=n;e=j[22184+((j[21568+(m[a+(aa-f<<4)+12>>1]<<1)>>1]|0)+h<<1)>>1]|0;d=e&65535;do if((e&65535)<642)if(!(g<<24>>24)){pq(a,d,h,ba);break}else{k[a>>2]=n+1;aa=1-f+aa|0;j[a+(aa<<4)+12>>1]=e;i[a+(aa<<4)+14>>0]=c;aa=a+(aa<<4)+16|0;k[aa+0>>2]=k[ba+0>>2];k[aa+4>>2]=k[ba+4>>2];k[aa+8>>2]=k[ba+8>>2];break}else{c=k[ca>>2]|0;if((n|0)>-1)do Un(a);while((k[a>>2]|0)>-1);k[ca>>2]=c}while(0);r=da;return}function sq(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,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,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;aa=r;r=r+64|0;if((r|0)>=(s|0))ka();$=aa+8|0;W=aa;h=aa+24|0;d=aa+16|0;f=Cq(a,0,d)|0;do if(!f){if(k[d>>2]|0){f=is(a,b)|0;if(!f)c=0;else e=4}else{f=1;e=4}if((e|0)==4){_=a+43|0;e=(i[_>>0]|0)==0;do if(!(i[a+46>>0]&2)){if(e?(g=a+4|0,Z=k[g>>2]|0,fc[k[(k[Z>>2]|0)+40>>2]&63](Z,24,0)|0,g=k[g>>2]|0,g=uc[k[(k[g>>2]|0)+56>>2]&31](g,0,1,10)|0,(g|0)!=0):0){d=f;c=g;break}Z=a+44|0;i[Z>>0]=1;e=Cq(a,0,d)|0;if(!e){d=is(a,b)|0;if(!d){d=0;c=0}else{Y=l[a+45>>0]|0;X=Y+1|0;Y=7-Y|0;if(!((i[_>>0]|0)==0?(c=k[a+4>>2]|0,c=uc[k[(k[c>>2]|0)+56>>2]&31](c,X,Y,10)|0,(c|0)!=0):0)){f=a+52|0;e=f+48|0;do{k[f>>2]=0;f=f+4|0}while((f|0)<(e|0));Q=a+8|0;c=k[Q>>2]|0;c=wc[k[(k[c>>2]|0)+24>>2]&127](c,W)|0;a:do if(!c){R=W;P=k[R+4>>2]|0;b:do if((P|0)>0|(P|0)==0&(k[R>>2]|0)>>>0>32){c=k[Q>>2]|0;c=yc[k[(k[c>>2]|0)+8>>2]&31](c,h,32,0,0)|0;if(c)break a;g=l[h+3>>0]|0;e=l[h+9>>0]<<16|l[h+8>>0]<<24;c=l[h+10>>0]<<8;f=e|c|l[h+11>>0];if(((l[h+1>>0]<<16|l[h>>0]<<24|l[h+2>>0]<<8|g&254|0)==931071618?!((f+-1&f|0)!=0|(f|0)>65536|(f|0)<512):0)?(R=g&1,S=a+65|0,i[S>>0]=R,T=a+36|0,k[T>>2]=f,k[a+104>>2]=l[h+13>>0]<<16|l[h+12>>0]<<24|l[h+14>>0]<<8|l[h+15>>0],U=a+84|0,P=h+16|0,N=P,N=l[N>>0]|l[N+1>>0]<<8|l[N+2>>0]<<16|l[N+3>>0]<<24,P=P+4|0,P=l[P>>0]|l[P+1>>0]<<8|l[P+2>>0]<<16|l[P+3>>0]<<24,V=U,O=V,i[O>>0]=N,i[O+1>>0]=N>>8,i[O+2>>0]=N>>16,i[O+3>>0]=N>>24,V=V+4|0,i[V>>0]=P,i[V+1>>0]=P>>8,i[V+2>>0]=P>>16,i[V+3>>0]=P>>24,V=a+76|0,Dq(R^1,h,24,0,V),(k[V>>2]|0)==(l[h+25>>0]<<16|l[h+24>>0]<<24|l[h+26>>0]<<8|l[h+27>>0]|0)):0){P=a+80|0;if((k[P>>2]|0)!=(l[h+29>>0]<<16|l[h+28>>0]<<24|l[h+30>>0]<<8|l[h+31>>0]|0)){f=0;c=0;break}if((l[h+5>>0]<<16|l[h+4>>0]<<24|l[h+6>>0]<<8|l[h+7>>0]|0)!=3007e3){k[$>>2]=49983;k[$+4>>2]=10788;gd(14,14848,$);c=14;break a}t=f+24|0;R=Yc(t)|0;if(!R){c=7;break a}u=R+24|0;v=((t|0)<0)<<31>>31;h=ow(t|0,v|0,32,0)|0;g=L;O=W;N=k[O+4>>2]|0;c:do if(!((g|0)>(N|0)|((g|0)==(N|0)?h>>>0>(k[O>>2]|0)>>>0:0))){w=R+8|0;x=R+1|0;y=R+2|0;z=R+3|0;A=R+16|0;B=R+17|0;C=R+18|0;D=R+19|0;E=R+20|0;F=R+21|0;G=R+22|0;H=R+23|0;I=R+4|0;J=R+5|0;K=R+6|0;M=R+7|0;N=a+68|0;O=a+72|0;p=(e>>>16|c)&65535;q=a+66|0;m=32;e=0;f=0;n=0;o=1;while(1){c=k[Q>>2]|0;c=yc[k[(k[c>>2]|0)+8>>2]&31](c,R,t,m,e)|0;if(c){e=36;break}if(cw(U,w,8)|0){c=n;e=37;break}e=l[x>>0]<<16|l[R>>0]<<24|l[y>>0]<<8|l[z>>0];if(!e){c=n;e=37;break}m=(i[S>>0]|0)==0&1;Dq(m,R,8,V,V);Dq(m,u,k[T>>2]|0,V,V);if((k[V>>2]|0)!=(l[B>>0]<<16|l[A>>0]<<24|l[C>>0]<<8|l[D>>0]|0)){c=n;e=37;break}if((k[P>>2]|0)!=(l[F>>0]<<16|l[E>>0]<<24|l[G>>0]<<8|l[H>>0]|0)){c=n;break c}m=l[J>>0]<<16|l[I>>0]<<24|l[K>>0]<<8|l[M>>0];c=dp(a,o,e)|0;if(c){e=36;break}if(!m)c=n;else{k[N>>2]=o;k[O>>2]=m;j[q>>1]=p;f=k[V>>2]|0;c=k[P>>2]|0}e=ow(h|0,g|0,t|0,v|0)|0;m=L;n=W;ba=k[n+4>>2]|0;if((m|0)>(ba|0)|((m|0)==(ba|0)?e>>>0>(k[n>>2]|0)>>>0:0))break c;else{ca=g;ba=h;h=e;g=m;n=c;o=o+1|0;e=ca;m=ba}}if((e|0)==36){$c(R);break a}else if((e|0)==37){$c(R);break b}}else{f=0;c=0}while(0);$c(R)}else{f=0;c=0}}else{f=0;c=0}while(0);k[a+76>>2]=f;k[a+80>>2]=c;ep(a);e=k[k[a+32>>2]>>2]|0;k[e+96>>2]=0;k[e+100>>2]=0;c=e+104|0;k[c>>2]=-1;k[e+108>>2]=-1;k[e+112>>2]=-1;k[e+116>>2]=-1;e=a+68|0;f=k[e>>2]|0;if(f)k[c>>2]=f;if(!(k[a+72>>2]|0))c=0;else{c=k[a+100>>2]|0;k[$>>2]=k[e>>2];k[$+4>>2]=c;gd(283,14888,$);c=0}}while(0);if(!(i[_>>0]|0)){W=k[a+4>>2]|0;uc[k[(k[W>>2]|0)+56>>2]&31](W,X,Y,9)|0}}k[b>>2]=1}}else{d=f;c=e}i[Z>>0]=0;if(!(i[_>>0]|0)){_=k[a+4>>2]|0;uc[k[(k[_>>2]|0)+56>>2]&31](_,0,1,9)|0}}else if(e){d=a+4|0;c=k[d>>2]|0;c=uc[k[(k[c>>2]|0)+56>>2]&31](c,0,1,6)|0;if(!c)if(!(i[_>>0]|0)){d=k[d>>2]|0;uc[k[(k[d>>2]|0)+56>>2]&31](d,0,1,5)|0;d=f;c=264}else{d=f;c=264}else d=f}else{d=f;c=264}while(0);if(d)break}if((k[a+52>>2]|0)!=3007e3){k[$>>2]=50909;k[$+4>>2]=10788;gd(14,14848,$);c=14}}else c=f;while(0);r=aa;return c|0}function tq(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,l=0,n=0,o=0,p=0,q=0,r=0,s=0;p=k[e>>2]|0;q=k[d>>2]|0;h=(p|0)>0;g=(c|0)>0;if(h|g){n=g;i=0;o=0;l=0;while(1){do if(n){g=b+(i<<1)|0;if(h?(r=q+(l<<1)|0,(k[a+((m[g>>1]|0)<<2)>>2]|0)>>>0>=(k[a+((m[r>>1]|0)<<2)>>2]|0)>>>0):0){h=r;s=7;break}i=i+1|0;h=g}else{h=q+(l<<1)|0;s=7}while(0);if((s|0)==7){s=0;l=l+1|0}n=j[h>>1]|0;h=k[a+((n&65535)<<2)>>2]|0;g=o+1|0;j[f+(o<<1)>>1]=n;if((i|0)<(c|0))i=((k[a+((m[b+(i<<1)>>1]|0)<<2)>>2]|0)==(h|0)&1)+i|0;h=(l|0)<(p|0);n=(i|0)<(c|0);if(!(h|n))break;else o=g}}else g=0;k[d>>2]=b;k[e>>2]=g;pw(b|0,f|0,g<<1|0)|0;return}function uq(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a+4>>2]|0;k[d+4>>2]=k[a>>2];a=k[(k[d>>2]|0)+204>>2]|0;k[a+16>>2]=b;d=k[2217]|0;c=k[a+40>>2]|0;if((b|0)>-1)a=b;else{b=xw(b|0,((b|0)<0)<<31>>31|0,-1024,-1)|0;a=(k[a+24>>2]|0)+(k[a+20>>2]|0)|0;a=vw(b|0,L|0,a|0,((a|0)<0)<<31>>31|0)|0}oc[d&15](c,a);return}function vq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=(k[a+12>>2]|0)+136|0;c=e;d=k[c>>2]|0;c=k[c+4>>2]|0;do if((d|0)==0&(c|0)==0)if(!(gh(k[k[(k[a>>2]|0)+32>>2]>>2]|0,e)|0)){c=e;d=k[c>>2]|0;c=k[c+4>>2]|0;f=5;break}else{c=e;k[c>>2]=0;k[c+4>>2]=0;c=b;k[c>>2]=0;k[c+4>>2]=0;c=1;break}else f=5;while(0);if((f|0)==5){e=b;k[e>>2]=d;k[e+4>>2]=c;if((c|0)>0|(c|0)==0&d>>>0>0){i[b+42>>0]=1;c=0}else c=1}return c|0}function wq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;n=r;r=r+16|0;if((r|0)>=(s|0))ka();l=n;k[l>>2]=b;b=a;a=0;a:while(1){f=k[l>>2]|0;e=k[f>>2]|0;k[l>>2]=f+4;f=k[l>>2]|0;g=k[f>>2]|0;k[l>>2]=f+4;f=k[l>>2]|0;h=k[f>>2]|0;k[l>>2]=f+4;f=k[l>>2]|0;j=k[f>>2]|0;k[l>>2]=f+4;f=k[l>>2]|0;c=k[f>>2]|0;k[l>>2]=f+4;if(!e){d=b;b=0}else{d=b;b=0;do{e=e+-1|0;f=i[d>>0]|0;if(((f&255)+-48|0)>>>0>=10)break a;b=(b*10|0)+-48+(f<<24>>24)|0;d=d+1|0}while((e|0)!=0)}if((b|0)<(g|0)|(b|0)>(h|0))break;if(!j){m=9;break}if((j|0)!=(i[d>>0]|0))break;k[c>>2]=b;b=d+1|0;a=a+1|0}if((m|0)==9){k[c>>2]=b;a=a+1|0}r=n;return a|0}function xq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0,g=0,h=0.0,j=0,m=0,n=0,o=0,q=0,t=0,u=0;u=r;r=r+64|0;if((r|0)>=(s|0))ka();q=u;n=u+56|0;o=u+52|0;c=u+48|0;j=u+44|0;m=u+40|0;k[q>>2]=2;k[q+4>>2]=0;k[q+8>>2]=24;k[q+12>>2]=58;k[q+16>>2]=c;k[q+20>>2]=2;k[q+24>>2]=0;k[q+28>>2]=59;k[q+32>>2]=0;k[q+36>>2]=j;do if((wq(a,q)|0)==2){g=a+5|0;if((i[g>>0]|0)==58){k[q>>2]=2;k[q+4>>2]=0;k[q+8>>2]=59;k[q+12>>2]=0;k[q+16>>2]=m;if((wq(a+6|0,q)|0)!=1){c=1;break}g=a+8|0;if((i[g>>0]|0)==46?(d=a+9|0,e=i[d>>0]|0,((e&255)+-48|0)>>>0<10):0){h=0.0;f=1.0;do{h=h*10.0+ +(e<<24>>24)+-48.0;f=f*10.0;d=d+1|0;e=i[d>>0]|0}while(((e&255)+-48|0)>>>0<10);f=h/f}else{d=g;f=0.0}}else{k[m>>2]=0;d=g;f=0.0}i[b+42>>0]=0;i[b+41>>0]=1;k[b+20>>2]=k[c>>2];k[b+24>>2]=k[j>>2];p[b+32>>3]=f+ +(k[m>>2]|0);while(1){c=d+1|0;if(!(i[10368+(l[d>>0]|0)>>0]&1)){g=d;break}else d=c}a=b+28|0;k[a>>2]=0;d=i[g>>0]|0;if(d<<24>>24==45){e=-1;t=14}else if(d<<24>>24!=43)if((d&-33)<<24>>24==90){e=0;t=16}else c=0;else{e=1;t=14}if((t|0)==14){k[q>>2]=2;k[q+4>>2]=0;k[q+8>>2]=14;k[q+12>>2]=58;k[q+16>>2]=n;k[q+20>>2]=2;k[q+24>>2]=0;k[q+28>>2]=59;k[q+32>>2]=0;k[q+36>>2]=o;if((wq(c,q)|0)!=2){c=1;break}e=ha(((k[n>>2]|0)*60|0)+(k[o>>2]|0)|0,e)|0;k[a>>2]=e;c=g+6|0;t=16}if((t|0)==16)while(1){d=i[c>>0]|0;if(!(i[10368+(d&255)>>0]&1)){c=e;break}else c=c+1|0}if(!(d<<24>>24)){i[b+43>>0]=(c|0)!=0&1;c=0}else c=1}else c=1;while(0);r=u;return c|0}function yq(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,l=0.0,m=0;j=r;r=r+112|0;if((r|0)>=(s|0))ka();f=j+48|0;h=j;g=j+96|0;d=f+0|0;a=a+0|0;e=d+48|0;do{k[d>>2]=k[a>>2];d=d+4|0;a=a+4|0}while((d|0)<(e|0));to(f);uo(f);e=f+8|0;if(((k[e>>2]|0)+-1971|0)>>>0>66){k[e>>2]=2e3;k[f+12>>2]=1;k[f+16>>2]=1;k[f+20>>2]=0;k[f+24>>2]=0;p[f+32>>3]=0.0}else{d=f+32|0;p[d>>3]=+(~~(+p[d>>3]+.5)|0)}k[f+28>>2]=0;i[f+42>>0]=0;so(f);a=f;d=k[a>>2]|0;a=k[a+4>>2]|0;e=vw(d|0,a|0,1e3,0)|0;e=ow(e|0,L|0,-413362496,0)|0;k[g>>2]=e;e=_b(g|0)|0;e=(k[2253]|0)!=0?0:e;if(!e){k[b+20>>2]=1;i[b+25>>0]=1;ah(k[b>>2]|0,20056,-1,1,-1)|0;k[c>>2]=1;d=0;e=0}else{f=k[e+4>>2]|0;g=k[e+8>>2]|0;b=k[e+12>>2]|0;m=(k[e+16>>2]|0)+1|0;l=+(k[e>>2]|0);k[h+8>>2]=(k[e+20>>2]|0)+1900;k[h+12>>2]=m;k[h+16>>2]=b;k[h+20>>2]=g;k[h+24>>2]=f;p[h+32>>3]=l;i[h+40>>0]=1;i[h+41>>0]=1;i[h+42>>0]=0;i[h+43>>0]=0;so(h);k[c>>2]=0;e=h;e=iw(k[e>>2]|0,k[e+4>>2]|0,d|0,a|0)|0;d=L}L=d;r=j;return e|0}function zq(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,l=0,m=0,n=0;n=r;r=r+32|0;if((r|0)>=(s|0))ka();m=n+12|0;h=n;l=n+8|0;g=n+16|0;i[b>>0]=0;d=wc[k[(k[a>>2]|0)+24>>2]&127](a,h)|0;f=h;e=k[f>>2]|0;f=k[f+4>>2]|0;if(!((d|0)!=0|((f|0)<0|(f|0)==0&e>>>0<16))){d=ow(e|0,f|0,-16,-1)|0;d=js(a,d,L,m)|0;if(!d){j=k[m>>2]|0;if(!(j>>>0>=c>>>0|(j|0)==0)){d=h;d=ow(k[d>>2]|0,k[d+4>>2]|0,-12,-1)|0;d=js(a,d,L,l)|0;if(!d){d=h;d=ow(k[d>>2]|0,k[d+4>>2]|0,-8,-1)|0;d=yc[k[(k[a>>2]|0)+8>>2]&31](a,g,8,d,L)|0;if(!d)if(!(cw(g,14808,8)|0)){d=h;d=ow(k[d>>2]|0,k[d+4>>2]|0,-16,-1)|0;d=iw(d|0,L|0,j|0,0)|0;d=yc[k[(k[a>>2]|0)+8>>2]&31](a,b,j,d,L)|0;if(!d){e=k[l>>2]|0;f=0;while(1){c=i[b+f>>0]|0;d=e-c|0;f=f+1|0;if(f>>>0>=j>>>0)break;else e=d}k[l>>2]=d;if((e|0)==(c|0))d=j;else{k[m>>2]=0;d=0}i[b+d>>0]=0;d=0}}else d=0}}else d=0}}r=n;return d|0}function Aq(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,l=0,m=0,n=0,o=0,p=0,q=0;q=r;r=r+16|0;if((r|0)>=(s|0))ka();i=q+8|0;o=q+4|0;m=q;p=a+72|0;g=p;h=k[g>>2]|0;g=k[g+4>>2]|0;if((h|0)==0&(g|0)==0){j=0;l=0;h=k[a+148>>2]|0}else{j=ow(h|0,g|0,-1,-1)|0;h=k[a+148>>2]|0;j=vw(j|0,L|0,h|0,0)|0;j=ow(j|0,L|0,1,0)|0;j=xw(j|0,L|0,h|0,0)|0;l=L}n=p;k[n>>2]=j;k[n+4>>2]=l;n=a+148|0;h=ow(h|0,0,j|0,l|0)|0;g=L;do if(!((g|0)>(d|0)|(g|0)==(d|0)&h>>>0>c>>>0)){if((b|0)==0?(b=a+80|0,(j|0)==(k[b>>2]|0)?(l|0)==(k[b+4>>2]|0):0):0)c=a+64|0;else{h=a+64|0;d=k[h>>2]|0;d=yc[k[(k[d>>2]|0)+8>>2]&31](d,i,8,j,l)|0;if(d)break;if(!(cw(i,14808,8)|0))c=h;else{d=101;break}}i=k[c>>2]|0;d=ow(j|0,l|0,8,0)|0;d=js(i,d,L,e)|0;if(!d){e=k[c>>2]|0;d=ow(j|0,l|0,12,0)|0;d=js(e,d,L,a+48|0)|0;if(!d){e=k[c>>2]|0;d=ow(j|0,l|0,16,0)|0;d=js(e,d,L,f)|0;if(!d){g=p;h=k[g>>2]|0;g=k[g+4>>2]|0;if((h|0)==0&(g|0)==0){f=k[c>>2]|0;d=ow(j|0,l|0,20,0)|0;d=js(f,d,L,m)|0;if(d)break;f=k[c>>2]|0;d=ow(j|0,l|0,24,0)|0;d=js(f,d,L,o)|0;if(d)break;c=k[o>>2]|0;if(!c){g=k[a+152>>2]|0;k[o>>2]=g}else g=c;c=k[m>>2]|0;if(g>>>0<512|c>>>0<32|g>>>0>65536|c>>>0>65536){d=101;break}if(g+-1&g){d=101;break}if(c+-1&c){d=101;break}d=fl(a,o,-1)|0;k[n>>2]=c;g=p;h=k[g>>2]|0;g=k[g+4>>2]|0}else{c=k[n>>2]|0;d=0}j=ow(h|0,g|0,c|0,0)|0;l=p;k[l>>2]=j;k[l+4>>2]=L}}}}else d=101;while(0);r=q;return d|0}function Bq(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;A=r;r=r+16|0;if((r|0)>=(s|0))ka();v=A+8|0;h=A+4|0;p=A;y=k[a+200>>2]|0;z=(d|0)!=0;g=k[(z?a+64|0:a+68|0)>>2]|0;o=b;o=js(g,k[o>>2]|0,k[o+4>>2]|0,h)|0;do if(!o){x=a+152|0;u=k[x>>2]|0;o=b;o=ow(k[o>>2]|0,k[o+4>>2]|0,4,0)|0;o=yc[k[(k[g>>2]|0)+8>>2]&31](g,y,u,o,L)|0;if(!o){B=k[x>>2]|0;n=(d<<2)+4+B|0;o=b;o=ow(n|0,((n|0)<0)<<31>>31|0,k[o>>2]|0,k[o+4>>2]|0)|0;n=L;u=b;k[u>>2]=o;k[u+4>>2]=n;u=k[h>>2]|0;if((u|0)!=0?(u|0)!=(((k[2514]|0)/(B|0)|0)+1|0):0)if(u>>>0<=(k[a+24>>2]|0)>>>0?(ii(c,u)|0)==0:0){if(z){o=ow(o|0,n|0,-4,-1)|0;o=js(g,o,L,p)|0;if(o){f=o;break}if(!e){o=k[a+48>>2]|0;n=(k[x>>2]|0)+-200|0;if((n|0)>0)do{o=(l[y+n>>0]|0)+o|0;n=n+-200|0}while((n|0)>0);if((o|0)!=(k[p>>2]|0)){f=101;break}}}if((c|0)!=0?(f=gi(c,u)|0,(f|0)!=0):0)break;p=(u|0)==1;if(p?(q=a+142|0,t=i[y+20>>0]|0,(j[q>>1]|0)!=(t&255|0)):0)j[q>>1]=t&255;if(!(k[a+208>>2]|0)){t=a+204|0;o=fc[k[8744+132>>2]&63](k[(k[t>>2]|0)+40>>2]|0,u,0)|0;o=nl(k[t>>2]|0,u,o)|0}else o=0;k[v>>2]=o;if(z)if(!(i[a+7>>0]|0)){t=b;c=k[t+4>>2]|0;n=a+80|0;q=k[n+4>>2]|0;n=(c|0)<(q|0)|((c|0)==(q|0)?(k[t>>2]|0)>>>0<=(k[n>>2]|0)>>>0:0)}else n=1;else if(!o)n=1;else n=(j[o+24>>1]&4)==0;h=k[a+60>>2]|0;g=k[h>>2]|0;do if(g){f=i[a+16>>0]|0;if((f&255)>3){if(!n){w=33;break}}else if(!(f<<24>>24==0&n)){w=33;break}n=k[x>>2]|0;f=xw(n|0,((n|0)<0)<<31>>31|0,u+-1|0,0)|0;f=yc[k[g+12>>2]&31](h,y,n,f,L)|0;n=a+32|0;if(u>>>0>(k[n>>2]|0)>>>0)k[n>>2]=u;n=k[a+88>>2]|0;if(n)fp(n,u,y)}else w=33;while(0);if((w|0)==33)if((d|0)==0&(o|0)==0){t=a+20|0;i[t>>0]=l[t>>0]|2;f=Eg(a,u,v,1)|0;i[t>>0]=l[t>>0]&253;if(f)break;o=k[v>>2]|0;f=o+24|0;j[f>>1]=m[f>>1]&65527;Yo(o);f=0}else f=0;if(o){h=k[o+4>>2]|0;pw(h|0,y|0,k[x>>2]|0)|0;hc[k[a+196>>2]&31](o);do if(z){if((e|0)!=0?(t=b,c=k[t+4>>2]|0,u=a+80|0,q=k[u+4>>2]|0,(c|0)>(q|0)|((c|0)==(q|0)?(k[t>>2]|0)>>>0>(k[u>>2]|0)>>>0:0)):0)break;Cl(o)}while(0);if(p){n=a+104|0;g=h+24|0;h=n+16|0;do{i[n>>0]=i[g>>0]|0;n=n+1|0;g=g+1|0}while((n|0)<(h|0))}tl(o)}}else f=0;else f=101}else f=o}else f=o;while(0);r=A;return f|0}function Cq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=a+24|0;if((k[d>>2]|0)<=(b|0)){f=b+1|0;g=a+32|0;e=ad(k[g>>2]|0,f<<2)|0;if(!e){d=7;e=0}else{h=k[d>>2]|0;kw(e+(h<<2)|0,0,f-h<<2|0)|0;k[g>>2]=e;k[d>>2]=f;h=5}}else{e=k[a+32>>2]|0;h=5}if((h|0)==5){g=a+32|0;e=e+(b<<2)|0;do if(!(k[e>>2]|0)){if((i[a+43>>0]|0)!=2){d=k[a+4>>2]|0;d=yc[k[(k[d>>2]|0)+52>>2]&31](d,b,32768,l[a+44>>0]|0,e)|0;if((d|0)!=8)break;d=a+46|0;i[d>>0]=l[d>>0]|2;d=0;break}d=vg(32768,0)|0;if(d)kw(d|0,0,32768)|0;k[(k[g>>2]|0)+(b<<2)>>2]=d;d=(k[(k[g>>2]|0)+(b<<2)>>2]|0)==0?7:0}else d=0;while(0);e=k[(k[g>>2]|0)+(b<<2)>>2]|0}k[c>>2]=e;return d|0}function Dq(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;g=b+c|0;if(!d){f=0;c=0}else{f=k[d>>2]|0;c=k[d+4>>2]|0}if(!a)do{f=f+c+(sw(k[b>>2]|0)|0)|0;c=f+c+(sw(k[b+4>>2]|0)|0)|0;b=b+8|0}while(b>>>0<g>>>0);else do{f=f+c+(k[b>>2]|0)|0;c=f+c+(k[b+4>>2]|0)|0;b=b+8|0}while(b>>>0<g>>>0);k[e>>2]=f;k[e+4>>2]=c;return}function Eq(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;g=a+8|0;f=k[g>>2]|0;g=k[g+4>>2]|0;if((g|0)>(e|0)|(g|0)==(e|0)&f>>>0>d>>>0?(h=ow(c|0,((c|0)<0)<<31>>31|0,d|0,e|0)|0,j=L,!((j|0)<(g|0)|(j|0)==(g|0)&h>>>0<f>>>0)):0){h=iw(f|0,g|0,d|0,e|0)|0;g=a+4|0;f=k[g>>2]|0;f=yc[k[(k[f>>2]|0)+12>>2]&31](f,b,h,d,e)|0;if(!f){d=ow(h|0,((h|0)<0)<<31>>31|0,d|0,e|0)|0;e=L;f=k[g>>2]|0;f=wc[k[(k[f>>2]|0)+20>>2]&127](f,k[a+16>>2]&19)|0;if(!((h|0)==(c|0)|(f|0)!=0)){c=c-h|0;g=b+h|0;f=e;i=5}}}else{g=b;f=e;i=5}if((i|0)==5){e=k[a+4>>2]|0;f=yc[k[(k[e>>2]|0)+12>>2]&31](e,g,c,d,f)|0}return f|0}function Fq(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();e=g+8|0;f=g+4|0;d=g;k[e>>2]=0;k[f>>2]=0;k[d>>2]=0;c=a+68|0;b=k[c>>2]|0;if(b){Uo(a,(b+33|0)>>>12,e,f,d)|0;d=(k[c>>2]|0)-(k[d>>2]|0)|0;a=k[e>>2]|0;c=0;do{b=a+(c<<1)|0;if((m[b>>1]|0|0)>(d|0))j[b>>1]=0;c=c+1|0}while((c|0)!=8192);b=(k[f>>2]|0)+(d+1<<2)|0;kw(b|0,0,a-b|0)|0}r=g;return}function Gq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();c=e;f=a+204|0;d=fc[k[8744+132>>2]&63](k[(k[f>>2]|0)+40>>2]|0,b,0)|0;d=nl(k[f>>2]|0,b,d)|0;do if(!d)c=0;else{if((j[d+26>>1]|0)==1){rl(d);c=0;break}k[c>>2]=0;b=pl(k[a+208>>2]|0,k[d+20>>2]|0,c)|0;if(!b){b=ql(d,k[c>>2]|0)|0;if(!b){hc[k[a+196>>2]&31](d);b=0}}Gg(d);c=b}while(0);b=k[a+88>>2]|0;if(b)do{k[b+16>>2]=1;b=k[b+44>>2]|0}while((b|0)!=0);r=e;return c|0}function Hq(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,B=0,C=0,D=0;D=r;r=r+16|0;if((r|0)>=(s|0))ka();C=D;z=k[a+52>>2]|0;o=(k[z+36>>2]|0)+-4|0;v=b&65535;A=c&65535;u=A+v|0;B=k[a+56>>2]|0;if(j[z+22>>1]&4)kw(B+v|0,0,A|0)|0;y=l[a+6>>0]|0;z=y+1|0;g=z&65535;x=z&65535;if((i[B+(x+1)>>0]|0)==0?(i[B+x>>0]|0)==0:0){q=c&255;o=(c&65535)>>>8&255;p=u;n=0;h=0;x=23}else{q=g;x=6}a:do if((x|0)==6){while(1){x=0;f=q&65535;h=i[B+(f+1)>>0]|0;e=h&255;p=l[B+f>>0]<<8|e;g=q;q=p&65535;if(!(p>>>0<v>>>0&(p|0)!=0)){n=h;t=p;break}if(p>>>0<(f+4|0)>>>0){x=8;break}else x=6}if((x|0)==8){k[C>>2]=54420;k[C+4>>2]=10788;gd(11,13600,C);d=11;break}if(t>>>0>o>>>0){k[C>>2]=54423;k[C+4>>2]=10788;gd(11,13600,C);d=11;break}d=c&255;o=(c&65535)>>>8&255;h=(q&65535)>>>8&255;do if((t+-1|0)>>>0<(u+3|0)>>>0)if(u>>>0>t>>>0){k[C>>2]=54434;k[C+4>>2]=10788;gd(11,13600,C);d=11;break a}else{p=(l[B+(t+2)>>0]<<8|l[B+(t+3)>>0])+t|0;o=p-v|0;q=o&255;o=(o&65535)>>>8&255;n=i[B+(t+1)>>0]|0;h=i[B+t>>0]|0;d=e-u&255;break}else{q=d;p=u;d=0}while(0);do if(f>>>0>z>>>0?(w=(l[B+(f+2)>>0]<<8|l[B+(f+3)>>0])+f|0,(w+3|0)>=(v|0)):0)if((v|0)<(w|0)){k[C>>2]=54447;k[C+4>>2]=10788;gd(11,13600,C);d=11;break a}else{o=p-f|0;b=g;q=o&255;o=(o&65535)>>>8&255;d=(d&255)+v-w&255;break}while(0);f=B+(y+7)|0;e=i[f>>0]|0;if((e&255)<(d&255)){k[C>>2]=54453;k[C+4>>2]=10788;gd(11,13600,C);d=11;break}else{i[f>>0]=(e&255)-(d&255);x=23;break}}while(0);b:do if((x|0)==23){d=b&65535;e=B+(y+5)|0;f=B+(y+6)|0;do if((d|0)==(l[e>>0]<<8|l[f>>0]|0))if((g&65535|0)==(z|0)){i[B+z>>0]=h;i[B+(y+2)>>0]=n;i[e>>0]=p>>>8;i[f>>0]=p;break}else{k[C>>2]=54460;k[C+4>>2]=10788;gd(11,13600,C);d=11;break b}else{C=g&65535;i[B+C>>0]=(b&65535)>>>8;i[B+(C+1)>>0]=b;i[B+d>>0]=h;i[B+(d+1)>>0]=n;i[B+(d+2)>>0]=o;i[B+(d+3)>>0]=q}while(0);d=a+16|0;j[d>>1]=(m[d>>1]|0)+A;d=0}while(0);r=D;return d|0}function Iq(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();p=u;o=l[a+6>>0]|0;t=k[a+56>>2]|0;n=k[(k[a+52>>2]|0)+36>>2]|0;g=n+-4|0;a=o+1|0;while(1){h=t+a|0;j=(l[h>>0]|0)<<8|(l[t+(a+1)>>0]|0);if(!j){a=0;break}if((j|0)>(g|0)|(j|0)<(a+4|0)){q=4;break}e=t+(j+2)|0;f=t+(j+3)|0;a=(l[e>>0]|0)<<8|(l[f>>0]|0);if((a|0)<(b|0))a=j;else{m=e;g=j;q=6;break}}a:do if((q|0)==4){k[p>>2]=54252;k[p+4>>2]=10788;gd(11,13600,p);k[c>>2]=11;a=0}else if((q|0)==6){e=a-b|0;do if((e|0)>=4)if((a+g|0)>(n|0)){k[p>>2]=54275;k[p+4>>2]=10788;gd(11,13600,p);k[c>>2]=11;a=0;break a}else{i[m>>0]=e>>>8;i[f>>0]=e;break}else{a=t+(o+7)|0;if((l[a>>0]|0)<=59){o=t+g|0;o=l[o>>0]|l[o+1>>0]<<8;i[h>>0]=o;i[h+1>>0]=o>>8;i[a>>0]=(l[a>>0]|0)+e;break}if(!d){a=0;break a}k[d>>2]=1;a=0;break a}while(0);a=t+(e+g)|0}while(0);r=u;return a|0}function Jq(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,A=0,B=0,C=0,D=0;D=r;r=r+16|0;if((r|0)>=(s|0))ka();B=D;y=k[a+56>>2]|0;A=l[a+6>>0]|0;u=m[a+14>>1]|0;v=j[a+18>>1]|0;o=v&65535;p=a+52|0;q=k[(k[p>>2]|0)+36>>2]|0;z=(o<<1)+u|0;t=q+-4|0;w=y+(A+5)|0;x=y+(A+6)|0;a:do if(v<<16>>16){n=q;v=0;c=y;d=0;while(1){f=(v<<1)+u|0;e=y+f|0;f=y+(f+1)|0;g=(l[e>>0]|0)<<8|(l[f>>0]|0);if((g|0)<(z|0)|(g|0)>(t|0)){C=3;break}h=(Qp(a,c+g|0)|0)&65535;b=n-h|0;if((b|0)<(z|0)|(h+g|0)>(q|0)){C=5;break}i[e>>0]=b>>>8;i[f>>0]=b;if(!d)if((b|0)==(g|0))d=0;else{d=k[(k[k[p>>2]>>2]|0)+200>>2]|0;c=(l[w>>0]|0)<<8|(l[x>>0]|0);pw(d+c|0,y+c|0,n-c|0)|0;c=d;C=9}else C=9;if((C|0)==9){C=0;pw(y+b|0,c+g|0,h|0)|0}v=v+1|0;if((v|0)>=(o|0)){C=11;break a}else n=b}if((C|0)==3){k[B>>2]=54184;k[B+4>>2]=10788;gd(11,13600,B);b=11;break}else if((C|0)==5){k[B>>2]=54196;k[B+4>>2]=10788;gd(11,13600,B);b=11;break}}else{b=q;C=11}while(0);if((C|0)==11){i[w>>0]=b>>>8;i[x>>0]=b;i[y+(A+1)>>0]=0;i[y+(A+2)>>0]=0;i[y+(A+7)>>0]=0;C=b-z|0;kw(y+z|0,0,C|0)|0;if((C|0)==(m[a+16>>1]|0|0))b=0;else{k[B>>2]=54221;k[B+4>>2]=10788;gd(11,13600,B);b=11}}r=D;return b|0}function Kq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+32|0;if((r|0)>=(s|0))ka();e=f;if((k[c>>2]|0)==0?(wp(a,b,e),d=j[e+18>>1]|0,d<<16>>16!=0):0){d=d&65535;Ep(k[a+52>>2]|0,(l[b+(d+1)>>0]|0)<<16|(l[b+d>>0]|0)<<24|(l[b+(d+2)>>0]|0)<<8|(l[b+(d+3)>>0]|0),3,k[a+72>>2]|0,c)}r=f;return}function Lq(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;do if(!(k[c>>2]|0)){d=k[a+52>>2]|0;f=k[a+56>>2]|0;h=k[b+56>>2]|0;e=l[a+6>>0]|0;g=(k[b+72>>2]|0)==1?100:0;j=l[f+(e+5)>>0]<<8|l[f+(e+6)>>0];pw(h+j|0,f+j|0,(k[d+36>>2]|0)-j|0)|0;pw(h+g|0,f+e|0,(m[a+18>>1]<<1)+(m[a+14>>1]|0)|0)|0;i[b>>0]=0;a=eq(b)|0;if(a){k[c>>2]=a;break}if(i[d+17>>0]|0){a=dq(b)|0;k[c>>2]=a}}while(0);return}function Mq(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,r=0,s=0,t=0,u=0;q=l[a+6>>0]|0;t=k[a+56>>2]|0;h=k[a+52>>2]|0;o=k[h+36>>2]|0;n=t+o|0;e=k[a+64>>2]|0;h=k[(k[h>>2]|0)+200>>2]|0;p=t+(q+5)|0;r=t+(q+6)|0;s=(l[p>>0]|0)<<8|(l[r>>0]|0);pw(h+s|0,t+s|0,o-s|0)|0;s=t;if((b|0)>0){o=0;g=e;e=n;while(1){f=k[c+(o<<2)>>2]|0;if(f>>>0>t>>>0&f>>>0<n>>>0)f=h+(f-s)|0;u=m[d+(o<<1)>>1]|0;e=e+(0-u)|0;pw(e|0,f|0,u|0)|0;f=e-s|0;i[g>>0]=f>>>8;i[g+1>>0]=f;o=o+1|0;if((o|0)==(b|0))break;else g=g+2|0}}else e=n;d=a+18|0;j[d>>1]=b;i[a+1>>0]=0;i[t+(q+1)>>0]=0;i[t+(q+2)>>0]=0;i[t+(q+3)>>0]=(m[d>>1]|0)>>>8;i[t+(q+4)>>0]=j[d>>1];d=e-s|0;i[p>>0]=d>>>8;i[r>>0]=d;i[t+(q+7)>>0]=0;return}function Nq(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,n=0,o=0,p=0,q=0,r=0;r=k[a+56>>2]|0;p=r+(k[(k[a+52>>2]|0)+36>>2]|0)|0;n=r+((l[a+6>>0]|0)+8+(l[a+7>>0]|0))|0;a:do if((b|0)>0){o=r;q=0;e=0;i=0;j=0;while(1){g=k[c+(q<<2)>>2]|0;if(g>>>0>=n>>>0&g>>>0<p>>>0){f=m[d+(q<<1)>>1]|0;h=g+f|0;if((i|0)!=(h|0)){if(i)Hq(a,i-o&65535,j&65535)|0;if(h>>>0>p>>>0){e=0;break a}}else f=f+j|0;e=e+1|0}else{g=i;f=j}q=q+1|0;if((q|0)>=(b|0))break;else{i=g;j=f}}if(g)Hq(a,g-r&65535,f&65535)|0}else e=0;while(0);return e|0}function Oq(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,j=0,l=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0;v=r;r=r+16|0;if((r|0)>=(s|0))ka();t=v;j=k[a+56>>2]|0;h=k[c>>2]|0;if(!(i[j+1>>0]|0))q=(i[j+2>>0]|0)!=0;else q=1;a:do if((e|0)>0){o=0;while(1){n=m[g+(o<<1)>>1]|0;if(q?(p=Iq(a,n,t,0)|0,(p|0)!=0):0)l=p;else{l=h+(0-n)|0;if(l>>>0<b>>>0){h=1;break a}else h=l}pw(l|0,k[f+(o<<2)>>2]|0,n|0)|0;n=l-j|0;i[d>>0]=n>>>8;i[d+1>>0]=n;o=o+1|0;if((o|0)>=(e|0)){u=9;break}else d=d+2|0}}else u=9;while(0);if((u|0)==9){k[c>>2]=h;h=0}r=v;return h|0}function Pq(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,l=0,m=0,n=0,o=0;m=r;r=r+16|0;if((r|0)>=(s|0))ka();l=m;d=k[a+44>>2]|0;g=a;e=k[g>>2]|0;g=k[g+4>>2]|0;a:do if(!d){j=a+40|0;d=k[j>>2]|0;f=((d|0)<0)<<31>>31;i=ww(e|0,g|0,d|0,f|0)|0;if(!i){h=a+8|0;h=iw(k[h>>2]|0,k[h+4>>2]|0,e|0,g|0)|0;n=L;o=k[a+24>>2]|0;d=yc[k[(k[o>>2]|0)+8>>2]&31](o,k[a+36>>2]|0,(n|0)>(f|0)|(n|0)==(f|0)&h>>>0>d>>>0?d:h,e,g)|0;if(d)break;d=k[j>>2]|0}h=d-i|0;if((h|0)>=(b|0)){k[c>>2]=(k[a+36>>2]|0)+i;d=a;b=ow(k[d>>2]|0,k[d+4>>2]|0,b|0,((b|0)<0)<<31>>31|0)|0;d=a;k[d>>2]=b;k[d+4>>2]=L;d=0;break}d=a+16|0;e=k[d>>2]|0;if((e|0)<(b|0)){e=e<<1;e=(e|0)<128?128:e;while(1)if((e|0)<(b|0))e=e<<1;else{g=e;break}f=a+28|0;e=wg(k[f>>2]|0,g,((g|0)<0)<<31>>31)|0;if(!e){d=7;break}k[d>>2]=g;k[f>>2]=e}else e=k[a+28>>2]|0;g=a+28|0;pw(e|0,(k[a+36>>2]|0)+i|0,h|0)|0;i=a;i=ow(k[i>>2]|0,k[i+4>>2]|0,h|0,((h|0)<0)<<31>>31|0)|0;d=a;k[d>>2]=i;k[d+4>>2]=L;d=b-h|0;if((d|0)>0){f=d;do{e=k[j>>2]|0;e=(f|0)>(e|0)?e:f;d=Pq(a,e,l)|0;if(d)break a;pw((k[g>>2]|0)+(b-f)|0,k[l>>2]|0,e|0)|0;f=f-e|0}while((f|0)>0)}k[c>>2]=k[g>>2];d=0}else{k[c>>2]=d+e;b=ow(e|0,g|0,b|0,((b|0)<0)<<31>>31|0)|0;d=a;k[d>>2]=b;k[d+4>>2]=L;d=0}while(0);r=m;return d|0}function Qq(a){a=a|0;var b=0,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,q=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();w=z+44|0;y=z;x=z+40|0;u=a+8|0;t=k[u>>2]|0;u=k[u+4>>2]|0;v=a+4|0;n=k[v>>2]|0;Up(k[a+48>>2]|0,y,k[(k[(k[a>>2]|0)+8>>2]|0)+12>>2]|0,t,u);m=n+8|0;n=n+12|0;o=y+24|0;p=y+16|0;q=a+16|0;while(1){e=k[(k[m>>2]|0)+4>>2]|0;f=k[n>>2]|0;g=k[f+(e*56|0)+20>>2]|0;if(!(k[f+(e*56|0)+24>>2]|0)){c=1;b=0;break}i=o;h=k[i>>2]|0;i=k[i+4>>2]|0;j=k[p>>2]|0;l=((g|0)<0)<<31>>31;b=g;d=l;c=0;do{c=c+1|0;b=rw(b|0,d|0,7)|0;d=L}while(((b|0)!=0|(d|0)!=0)&(c|0)<9);h=ow(h|0,i|0,g|0,l|0)|0;h=ow(h|0,L|0,j|0,((j|0)<0)<<31>>31|0)|0;c=ow(h|0,L|0,c|0,((c|0)<0)<<31>>31|0)|0;h=L;b=k[q>>2]|0;b=ow(b|0,((b|0)<0)<<31>>31|0,t|0,u|0)|0;d=L;if((h|0)>(d|0)|(h|0)==(d|0)&c>>>0>b>>>0){c=1;b=0;break}Vp(y,w,um(w,g,l)|0);Vp(y,k[f+(e*56|0)+32>>2]|0,g);b=$m(k[v>>2]|0,x)|0;if(b){c=0;break}}y=Wp(y,a+56|0)|0;r=z;return (c?y:b)|0}function Rq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();e=c;k[e>>2]=d;d=$k(a,13592,e)|0;rg(a,b);r=c;return d|0}function Sq(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;l=r;r=r+16|0;if((r|0)>=(s|0))ka();h=l;e=i[a>>0]|0;if(e<<24>>24!=0&(b|0)>0){g=0;do{if((e+-48&255)<10){f=0;do{f=(f*10|0)+-48+(e<<24>>24)|0;a=a+1|0;e=i[a>>0]|0}while((e+-48&255)<10);e=0}else{f=0;e=0}e=ks(f,e)|0;j[c+(g<<1)>>1]=e;a=(i[a>>0]|0)==32?a+1|0:a;g=g+1|0;e=i[a>>0]|0}while(e<<24>>24!=0&(g|0)<(b|0))}g=d+51|0;i[g>>0]=i[g>>0]&-69;a:do if(i[a>>0]|0){c=d+44|0;b:while(1){do if(!(Lh(13448,a,10352,0)|0)){if(Lh(13464,a,10352,0)|0){k[h>>2]=0;In(a+3|0,h)|0;e=k[h>>2]|0;e=ks(e,((e|0)<0)<<31>>31)|0;j[c>>1]=e;break}if(Lh(13480,a,10352,0)|0)i[g>>0]=i[g>>0]|64}else i[g>>0]=i[g>>0]|4;while(0);while(1){e=i[a>>0]|0;if(e<<24>>24==32|e<<24>>24==0)break;a=a+1|0}while(1){f=a+1|0;if(!(e<<24>>24))break a;else if(e<<24>>24!=32)continue b;e=i[f>>0]|0;a=f}}}while(0);r=l;return}function Tq(a){a=a|0;var b=0,c=0;c=a+8|0;b=k[c>>2]|0;if(!b){b=Ah(a)|0;k[c>>2]=b;if(b)Bh(b,155,0,0,0)|0;if((k[a+408>>2]|0)==0?(j[(k[a>>2]|0)+60>>1]&8)==0:0)i[a+23>>0]=1}return b|0}function Uq(a,b){a=a|0;b=b|0;var c=0;c=(k[a+32>>2]|0)+-1|0;if((c|0)>(k[(k[a+24>>2]|0)+88>>2]|0)?(i[(k[a+4>>2]|0)+(c*20|0)>>0]|0)==b<<24>>24:0){Eh(a,c);c=1}else c=0;return c|0}function Vq(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;g=Tq(a)|0;f=d+32|0;ls(a,c,k[f>>2]|0,(e|0)==55&1,k[d>>2]|0);if(!(i[d+44>>0]&32)){d=j[d+38>>1]|0;Ch(g,Bh(g,e,b,k[f>>2]|0,c)|0,d,-14)}else{f=k[d+8>>2]|0;a:do if(!f)f=0;else while(1){if((i[f+51>>0]&3)==2)break a;f=k[f+20>>2]|0;if(!f){f=0;break}}while(0);Bh(g,e,b,k[f+40>>2]|0,c)|0;d=k[a+8>>2]|0;Ch(d,-1,ms(a,f)|0,-6)}return}function Wq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((b|0)!=0?(i[b>>0]|0)==-97:0)Bh(k[a+8>>2]|0,33,k[b+28>>2]|0,c,0)|0;else f=4;if(((f|0)==4?(e=ns(a,b,c)|0,(e|0)!=(c|0)):0)?(d=k[a+8>>2]|0,(d|0)!=0):0)Bh(d,34,e,c,0)|0;return}function Xq(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,j=0;j=r;r=r+16|0;if((r|0)>=(s|0))ka();h=j;f=k[a>>2]|0;do if(((i[f+145>>0]|0)==0?(i[a+451>>0]|0)==0:0)?(g=k[f+284>>2]|0,(g|0)!=0):0){f=pc[g&7](k[f+288>>2]|0,b,c,d,e,k[a+492>>2]|0)|0;if((f|0)==0|(f|0)==2)break;else if((f|0)==1){yh(a,25216,h);k[a+12>>2]=23;f=1;break}else{yh(a,25232,h);k[a+12>>2]=1;f=1;break}}else f=0;while(0);r=j;return f|0}function Yq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=$q(k[a>>2]|0,c)|0;do if(c){d=Tq(a)|0;if((d|0)!=0?(Xq(a,32,k[37088+(b<<2)>>2]|0,c,0)|0)==0:0){Ch(d,Bh(d,2,b,0,0)|0,c,-1);break}rg(k[a>>2]|0,c)}while(0);return}function Zq(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;v=r;r=r+16|0;if((r|0)>=(s|0))ka();p=v;n=v+4|0;u=k[a>>2]|0;b=jr(a,b,c,n)|0;a:do if((b|0)>=0){o=(d|0)!=0;if(o?(k[c+4>>2]|0)!=0&(b|0)!=1:0){yh(a,36976,p);break}t=o?1:b;c=k[n>>2]|0;o=c;b=k[o+4>>2]|0;n=a+496|0;k[n>>2]=k[o>>2];k[n+4>>2]=b;n=$q(u,c)|0;if(n){b:do if((Qr(a,n)|0)==0?(m=(i[u+144>>0]|0)==1?1:d,q=u+16|0,h=k[(k[q>>2]|0)+(t<<4)>>2]|0,(Xq(a,18,(m|0)==1?13184:13208,0,h)|0)==0):0){d=(m|0)!=0;if(!e)b=d?4:2;else b=d?6:8;o=(f|0)!=0;if(!o?(Xq(a,b,n,0,h)|0)!=0:0)break;do if(!(i[a+451>>0]|0)){d=k[(k[q>>2]|0)+(t<<4)>>2]|0;if(Ln(a)|0)break b;if(!(di(u,n,d)|0)){if(!(gq(u,n,d)|0))break;k[p>>2]=n;yh(a,37048,p);break b}if(!g){k[p>>2]=c;yh(a,37024,p);break b}else{Fr(a,t);break b}}while(0);m=rh(u,76,0)|0;if(!m){i[u+65>>0]=1;k[a+12>>2]=7;q=a+64|0;k[q>>2]=(k[q>>2]|0)+1;break}h=m+0|0;d=h+76|0;do{i[h>>0]=0;h=h+1|0}while((h|0)<(d|0));k[m>>2]=n;j[m+36>>1]=-1;h=k[(k[q>>2]|0)+(t<<4)+12>>2]|0;k[m+68>>2]=h;j[m+40>>1]=1;j[m+28>>1]=200;k[a+484>>2]=m;if((i[a+18>>0]|0)==0?(dw(n,26576)|0)==0:0)k[h+72>>2]=m;if(i[u+145>>0]|0)break a;c=Tq(a)|0;if(!c)break a;q=k[a+408>>2]|0;Fr(a,t);h=1<<t;q=((q|0)==0?a:q)+328|0;k[q>>2]=k[q>>2]|h;if(o)Bh(c,146,0,0,0)|0;m=a+72|0;b=k[m>>2]|0;n=b+1|0;k[a+384>>2]=n;o=b+2|0;k[a+388>>2]=o;b=b+3|0;k[m>>2]=b;Bh(c,51,t,b,2)|0;m=c+96|0;k[m>>2]=k[m>>2]|h;m=Bh(c,45,b,0,0)|0;Bh(c,25,(k[u+24>>2]&32768|0)!=0?1:4,b,0)|0;Bh(c,52,t,2,b)|0;Bh(c,25,l[u+62>>0]|0,b,0)|0;Bh(c,52,t,5,b)|0;d=c+32|0;h=k[d>>2]|0;if(h>>>0>m>>>0)k[(k[c+4>>2]|0)+(m*20|0)+8>>2]=h;k[(k[c+24>>2]|0)+88>>2]=h+-1;if(!(f|e)){q=Bh(c,121,t,o,0)|0;k[a+416>>2]=q}else Bh(c,25,0,o,0)|0;os(a,t);Bh(c,74,0,n,0)|0;Bh(c,28,0,b,0)|0;Bh(c,75,0,b,n)|0;h=k[c+4>>2]|0;if(h)i[h+(((k[d>>2]|0)+-1|0)*20|0)+3>>0]=8;Bh(c,61,0,0,0)|0;break a}while(0);rg(u,n)}}while(0);r=v;return}function _q(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,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=r;r=r+176|0;if((r|0)>=(s|0))ka();J=O+80|0;G=O+168|0;D=O;E=O+136|0;F=O+112|0;K=k[a>>2]|0;a:do if((!((c|0)==0&(e|0)==0)?(L=K+65|0,(i[L>>0]|0)==0):0)?(M=a+484|0,N=k[M>>2]|0,(N|0)!=0):0){I=K+145|0;if(i[I>>0]|0)k[N+32>>2]=k[K+140>>2];b:do if(d&32){n=N+44|0;h=l[n>>0]|0;if(h&8){yh(a,36584,J);break a}if(!(h&4)){k[J>>2]=k[N>>2];yh(a,36640,J);break}i[n>>0]=h|32;o=k[a+8>>2]|0;n=k[a+416>>2]|0;if(n){if((n|0)<0)n=(k[o+32>>2]|0)+-1|0;if(!(i[(k[o>>2]|0)+65>>0]|0))n=(k[o+4>>2]|0)+(n*20|0)|0;else n=29120;i[n>>0]=120}n=k[a+420>>2]|0;if(n){if((n|0)<0)n=(k[o+32>>2]|0)+-1|0;if(!(i[(k[o>>2]|0)+65>>0]|0))h=(k[o+4>>2]|0)+(n*20|0)|0;else h=29120;i[h>>0]=16}h=N+36|0;if((j[h>>1]|0)>-1){n=qr(a,0,0)|0;if(!n)break;z=ph(k[a>>2]|0,k[(k[N+4>>2]|0)+((j[h>>1]|0)*24|0)>>2]|0)|0;A=k[n+4>>2]|0;k[A+4>>2]=z;i[A+12>>0]=i[a+448>>0]|0;n=er(a,0,0,0,n,l[N+45>>0]|0,0,0,0,0)|0;if(!n)break;u=n+51|0;i[u>>0]=i[u>>0]&-4|2;j[h>>1]=-1;u=j[n+46>>1]|0}else{n=k[N+8>>2]|0;c:do if(!n)n=0;else while(1){if((i[n+51>>0]&3)==2)break c;n=k[n+20>>2]|0;if(!n){n=0;break}}while(0);v=n+46|0;o=j[v>>1]|0;if((o&65535)>1){t=k[n+4>>2]|0;q=n+48|0;u=1;h=1;do{f=j[t+(u<<1)>>1]|0;p=h;g=t;while(1){if((p|0)<=0){C=36;break}if((j[g>>1]|0)==f<<16>>16){C=35;break}else{p=p+-1|0;g=g+2|0}}if((C|0)==35){C=0;j[q>>1]=(j[q>>1]|0)+-1<<16>>16}else if((C|0)==36){C=0;j[t+(h<<1)>>1]=f;o=j[v>>1]|0;h=h+1|0}u=u+1|0}while((u|0)<(o&65535|0))}else h=1;u=h&65535;j[v>>1]=u}p=n+51|0;o=i[p>>0]|32;i[p>>0]=o;A=u&65535;if(!(i[K+147>>0]|0)){if(u<<16>>16){o=k[n+4>>2]|0;h=k[N+4>>2]|0;g=0;do{i[h+((j[o+(g<<1)>>1]|0)*24|0)+20>>0]=1;g=g+1|0}while((g|0)<(A|0));o=i[p>>0]|0}i[p>>0]=o|8}k[n+40>>2]=k[N+32>>2];p=k[N+8>>2]|0;if(p){x=u<<16>>16==0;y=n+4|0;z=n+32|0;do{d:do if((i[p+51>>0]&3)!=2){do if(x)o=j[p+46>>1]|0;else{q=k[p+4>>2]|0;o=j[p+46>>1]|0;g=o&65535;f=k[y>>2]|0;w=0;h=0;do{t=j[f+(w<<1)>>1]|0;v=g;u=q;while(1){if((v|0)<=0){u=1;break}if((j[u>>1]|0)==t<<16>>16){u=0;break}else{v=v+-1|0;u=u+2|0}}h=u+h|0;w=w+1|0}while((w|0)<(A|0));g=p+46|0;if(!h)break;if(ps(K,p,(o&65535)+h|0)|0)break b;if(x)break d;t=j[g>>1]|0;w=p+4|0;f=p+32|0;v=t;u=0;t=t&65535;while(1){o=k[w>>2]|0;h=j[(k[y>>2]|0)+(u<<1)>>1]|0;v=v&65535;q=o;while(1){if((v|0)<=0){C=63;break}if((j[q>>1]|0)==h<<16>>16)break;else{v=v+-1|0;q=q+2|0}}if((C|0)==63){C=0;j[o+(t<<1)>>1]=h;k[(k[f>>2]|0)+(t<<2)>>2]=k[(k[z>>2]|0)+(u<<2)>>2];t=t+1|0}u=u+1|0;if((u|0)>=(A|0))break d;v=j[g>>1]|0}}while(0);j[p+48>>1]=o}while(0);p=k[p+20>>2]|0}while((p|0)!=0)}v=N+38|0;o=j[v>>1]|0;h=o<<16>>16;if((A|0)>=(h|0)){j[n+48>>1]=o;break}if((ps(K,n,h)|0)==0?(B=j[v>>1]|0,B<<16>>16>0):0){q=n+4|0;u=n+32|0;o=B;t=0;n=A;do{g=k[q>>2]|0;p=n;h=g;while(1){if((p|0)<=0){C=74;break}if((j[h>>1]|0)==(t|0))break;else{p=p+-1|0;h=h+2|0}}if((C|0)==74){C=0;j[g+(n<<1)>>1]=t;k[(k[u>>2]|0)+(n<<2)>>2]=11152;o=j[v>>1]|0;n=n+1|0}t=t+1|0}while((t|0)<(o<<16>>16|0))}}while(0);C=N+68|0;n=k[C>>2]|0;e:do if(n){h=k[K+20>>2]|0;if((h|0)>0){g=k[K+16>>2]|0;o=0;while(1){f=o+1|0;if((k[g+(o<<4)+12>>2]|0)==(n|0))break e;if((f|0)<(h|0))o=f;else{o=f;break}}}else o=0}else o=-1e6;while(0);g=k[N+24>>2]|0;f:do if(g){k[E+0>>2]=0;k[E+4>>2]=0;k[E+8>>2]=0;k[E+12>>2]=0;k[E+16>>2]=0;k[E+20>>2]=0;k[E+24>>2]=0;k[E+28>>2]=0;n=D+0|0;h=n+80|0;do{k[n>>2]=0;n=n+4|0}while((n|0)<(h|0));k[D>>2]=1;k[D+16>>2]=k[N>>2];k[D+24>>2]=N;k[D+48>>2]=-1;k[E>>2]=a;k[E+4>>2]=D;j[E+28>>1]=4;n=g+4|0;if((k[g>>2]|0)>0){h=0;do{if(qs(E,k[(k[n>>2]|0)+(h*20|0)>>2]|0)|0)break f;h=h+1|0}while((h|0)<(k[g>>2]|0))}}while(0);A=N+38|0;f=j[A>>1]|0;if(f<<16>>16>0){n=f<<16>>16;h=k[N+4>>2]|0;g=0;while(1){g=(l[h+22>>0]|0)+g|0;n=n+-1|0;if((n|0)<=0)break;else h=h+24|0}}else g=0;g=ks(((m[N+36>>1]|0)>>>15&65535)+g<<2,0)|0;j[N+42>>1]=g;g=k[N+8>>2]|0;if(g)do{rs(g);g=k[g+20>>2]|0}while((g|0)!=0);if(!(i[I>>0]|0)){B=Tq(a)|0;if(!B)break;Bh(B,61,0,0,0)|0;y=(k[N+12>>2]|0)==0;h=y?36672:36680;y=y?31232:35480;do if(!e){g=d<<24>>24==0?c:a+504|0;e=k[g>>2]|0;n=k[a+496>>2]|0;f=e-n|0;if((i[e>>0]|0)!=59)f=(k[g+4>>2]|0)+f|0;k[J>>2]=h;k[J+4>>2]=f;k[J+8>>2]=n;n=a+388|0;f=N;h=zh(K,36688,J)|0}else{n=a+388|0;Bh(B,55,1,k[n>>2]|0,o)|0;h=k[B+4>>2]|0;if(h)i[h+(((k[B+32>>2]|0)+-1|0)*20|0)+3>>0]=4;k[a+68>>2]=2;i[F>>0]=14;k[F+4>>2]=1;i[F+1>>0]=0;k[F+8>>2]=0;k[F+12>>2]=0;nr(a,e,F)|0;Bh(B,61,1,0,0)|0;if(!(k[a+64>>2]|0)){f=ss(a,e)|0;if(!f)break a;F=f+38|0;j[A>>1]=j[F>>1]|0;e=f+4|0;k[N+4>>2]=k[e>>2];j[F>>1]=0;k[e>>2]=0;pg(K,f)}z=N+4|0;w=j[A>>1]|0;if(w<<16>>16>0){q=w<<16>>16;t=0;h=0;u=k[z>>2]|0;while(1){f=k[u>>2]|0;g=0;while(1){p=i[f>>0]|0;if(p<<24>>24==34)g=g+1|0;else if(!(p<<24>>24))break;f=f+1|0;g=g+1|0}h=h+7+g|0;t=t+1|0;if((t|0)==(q|0))break;else u=u+24|0}p=h+2|0}else p=2;f=k[N>>2]|0;h=0;while(1){g=i[f>>0]|0;if(!(g<<24>>24))break;else if(g<<24>>24==34)h=h+1|0;f=f+1|0;h=h+1|0}u=h+p|0;x=(u|0)<50;p=x?10360:36880;v=x?20240:36888;x=x?33952:36896;u=((w<<16>>16)*6|0)+35+u|0;h=vg(u,((u|0)<0)<<31>>31)|0;if(!h){i[L>>0]=1;f=N;h=0;break}fd(u,h,36904,J)|0;g=h;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;k[G>>2]=g-h&1073741823;ts(h,G,k[N>>2]|0);f=k[G>>2]|0;q=f+1|0;k[G>>2]=q;i[h+f>>0]=40;f=u-q|0;g=h+q|0;if((j[A>>1]|0)>0){w=0;t=k[z>>2]|0;while(1){fd(f,g,p,J)|0;g=h+q|0;if(!g)g=0;else{p=g;while(1)if(!(i[p>>0]|0))break;else p=p+1|0;g=p-g&1073741823}k[G>>2]=g+q;ts(h,G,k[t>>2]|0);g=k[36920+((i[t+21>>0]|0)+-65<<2)>>2]|0;p=g;while(1)if(!(i[p>>0]|0))break;else p=p+1|0;q=p-g&1073741823;p=k[G>>2]|0;pw(h+p|0,g|0,q|0)|0;q=p+q|0;k[G>>2]=q;p=w+1|0;f=u-q|0;g=h+q|0;if((p|0)<(j[A>>1]|0)){w=p;t=t+24|0;p=v}else break}}k[J>>2]=x;fd(f,g,10344,J)|0;f=N}while(0);g=K+16|0;d=k[f>>2]|0;F=k[n>>2]|0;e=k[a+384>>2]|0;k[J>>2]=k[(k[g>>2]|0)+(o<<4)>>2];k[J+4>>2]=(o|0)==1?13184:13208;k[J+8>>2]=y;k[J+12>>2]=d;k[J+16>>2]=d;k[J+20>>2]=F;k[J+24>>2]=h;k[J+28>>2]=e;Gr(a,36704,J);rg(K,h);Ir(a,o);if((i[N+44>>0]&8)!=0?(H=k[g>>2]|0,(k[(k[H+(o<<4)+12>>2]|0)+72>>2]|0)==0):0){k[J>>2]=k[H+(o<<4)>>2];Gr(a,36792,J)}k[J>>2]=k[f>>2];Nr(B,o,zh(K,36840,J)|0);if(!(i[I>>0]|0))break}else f=N;if(Nk((k[C>>2]|0)+8|0,k[f>>2]|0,N)|0){i[L>>0]=1;break}k[M>>2]=0;e=K+24|0;k[e>>2]=k[e>>2]|2;if(!(k[N+12>>2]|0)){e=k[a+496>>2]|0;e=(Sn(e,(k[((k[b>>2]|0)==0?c:b)>>2]|0)-e|0)|0)+13|0;k[N+48>>2]=e}}while(0);r=O;return}function $q(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)c=0;else{d=k[b>>2]|0;b=k[b+4>>2]|0;if((d|0)!=0?(c=ow(b|0,0,1,0)|0,c=rh(a,c,L)|0,(c|0)!=0):0){pw(c|0,d|0,b|0)|0;i[c+b>>0]=0}else c=0;qo(c)}return c|0}function ar(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0;j=r;r=r+16|0;if((r|0)>=(s|0))ka();h=j;a:do if(a){d=i[a>>0]|0;b:do if(!(d<<24>>24)){c=67;d=0}else{f=d;c=67;e=0;d=0;do{e=l[9328+(f&255)>>0]|0|e<<8;a=a+1|0;if((e|0)==1651273570)if(c<<24>>24==69|c<<24>>24==67){m=i[a>>0]|0;f=m;c=65;e=1651273570;d=m<<24>>24==40?a:d}else g=14;else if((e|0)==1718382433)if(c<<24>>24==67){c=69;e=1718382433;g=5}else g=13;else if((e|0)==1667785074){c=66;e=1667785074;d=a;g=5}else if((e|0)==1952807028){c=66;g=5}else if((e|0)==1685026146)if(c<<24>>24==67){c=69;e=1685026146;g=5}else g=13;else if((e|0)==1919246700)if(c<<24>>24==67){c=69;e=1919246700;g=5}else g=14;else if((e|0)!=1668050786)if((e&16777215|0)==6909556){c=68;break b}else g=5;else{c=66;g=5}if((g|0)==13)g=5;else if((g|0)==14)g=5;if((g|0)==5){g=0;f=i[a>>0]|0}}while(f<<24>>24!=0)}while(0);if((b|0)!=0?(i[b>>0]=1,c<<24>>24<67):0){if(!d){i[b>>0]=5;break}a=i[d>>0]|0;if(a<<24>>24){while(1){if(((a&255)+-48|0)>>>0<10)break;d=d+1|0;a=i[d>>0]|0;if(!(a<<24>>24))break a}k[h>>2]=0;In(d,h)|0;d=((k[h>>2]|0)/4|0)+1|0;d=(d|0)>255?255:d;k[h>>2]=d;i[b>>0]=d}}}else c=67;while(0);r=j;return c|0}function br(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;m=r;r=r+32|0;if((r|0)>=(s|0))ka();g=m;h=k[a>>2]|0;e=k[a+484>>2]|0;do if(e){d=(j[e+38>>1]|0)+-1|0;f=k[e+4>>2]|0;n=k[b>>2]|0;o=(l[h+145>>0]|0)+4|0;k[g+0>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[g+16>>2]=0;k[g+20>>2]=0;e=g+20|0;i[e>>0]=o;k[g>>2]=78;k[g+4>>2]=79;k[g+24>>2]=0;ws(g,n)|0;if(!(i[e>>0]|0)){k[g>>2]=k[f+(d*24|0)>>2];yh(a,36480,g);break}e=f+(d*24|0)+4|0;Lk(h,k[e>>2]|0);n=Rr(h,k[b>>2]|0,1,0)|0;k[e>>2]=n;f=f+(d*24|0)+8|0;rg(h,k[f>>2]|0);d=k[b+4>>2]|0;e=(k[b+8>>2]|0)-d|0;if((d|0)!=0?(c=ow(e|0,((e|0)<0)<<31>>31|0,1,0)|0,c=rh(h,c,L)|0,(c|0)!=0):0){pw(c|0,d|0,e|0)|0;i[c+e>>0]=0}else c=0;k[f>>2]=c}while(0);Lk(h,k[b>>2]|0);r=m;return}function cr(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=r;r=r+16|0;if((r|0)>=(s|0))ka();g=h;if((b|0)==72&(c|0)!=0&(d|0)!=0?(k[a+64>>2]|0)==0:0)b=xs(k[a>>2]|0,c,d)|0;else{b=sr(k[a>>2]|0,b,e,1)|0;ys(k[a>>2]|0,b,c,d)}if((b|0)!=0?(f=k[(k[a>>2]|0)+100>>2]|0,(f|0)<(k[b+24>>2]|0)):0){k[g>>2]=f;yh(a,27152,g)}r=h;return b|0}function dr(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,A=0;A=r;r=r+16|0;if((r|0)>=(s|0))ka();z=A;x=k[a+484>>2]|0;do if((x|0)!=0?(i[a+451>>0]|0)==0:0){y=x+44|0;g=l[y>>0]|0;if(g&4){k[z>>2]=k[x>>2];yh(a,36376,z);break}v=g|4;i[y>>0]=v;w=(b|0)==0;if(w){g=(j[x+38>>1]|0)+-1|0;t=k[x+4>>2]|0;f=t+(g*24|0)+23|0;i[f>>0]=l[f>>0]|1;f=g;h=1;g=k[t+(g*24|0)+12>>2]|0}else{u=k[b>>2]|0;if((u|0)>0){p=b+4|0;q=x+4|0;o=j[x+38>>1]|0;t=0;g=0;do{a:do if(o<<16>>16>0){m=k[(k[p>>2]|0)+(t*20|0)+4>>2]|0;n=k[q>>2]|0;h=0;while(1){f=h+1|0;if(!(id(m,k[n+(h*24|0)>>2]|0)|0))break;if((f|0)<(o<<16>>16|0))h=f;else break a}f=n+(h*24|0)+23|0;i[f>>0]=l[f>>0]|1;f=h;g=k[n+(h*24|0)+12>>2]|0}else f=0;while(0);t=t+1|0}while((t|0)!=(u|0))}else{f=-1;g=0}h=(u|0)==1}if(h&(g|0)!=0?(id(g,11144)|0|e|0)==0:0){j[x+36>>1]=f;i[x+45>>0]=c;i[y>>0]=v|d<<3;if(w){b=0;break}i[a+448>>0]=i[(k[b+4>>2]|0)+12>>0]|0;break}if(d){yh(a,36424,z);break}g=k[a+8>>2]|0;f=(g|0)!=0;if(f){t=Bh(g,156,0,0,0)|0;k[a+420>>2]=t}b=er(a,0,0,0,b,c,0,0,e,0)|0;if((b|0)!=0?(t=b+51|0,i[t>>0]=i[t>>0]&-4|2,f):0){b=k[a+420>>2]|0;f=k[g+32>>2]|0;if(f>>>0>b>>>0)k[(k[g+4>>2]|0)+(b*20|0)+8>>2]=f;k[(k[g+24>>2]|0)+88>>2]=f+-1;b=0}else b=0}while(0);Sk(k[a>>2]|0,b);r=A;return}function er(a,b,c,d,e,f,g,h,n,o){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;o=o|0;var 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;V=r;r=r+144|0;if((r|0)>=(s|0))ka();S=V;B=V+112|0;u=V+88|0;Q=V+84|0;K=V+80|0;U=k[a>>2]|0;k[Q>>2]=0;k[K>>2]=0;P=U+65|0;a:do if(((i[P>>0]|0)==0?(i[a+451>>0]|0)==0:0)?(Ln(a)|0)==0:0){R=(d|0)!=0;b:do if(R){b=jr(a,b,c,Q)|0;if((b|0)<0){p=0;c=0;break a}if((i[U+145>>0]|0)==0?(p=Or(a,d)|0,(k[c+4>>2]|0)==0&(p|0)!=0):0)b=(k[p+68>>2]|0)==(k[(k[U+16>>2]|0)+28>>2]|0)?1:b;c=k[Q>>2]|0;p=k[a>>2]|0;k[u>>2]=a;p=k[p+16>>2]|0;k[u+12>>2]=k[p+(b<<4)>>2];k[u+4>>2]=k[p+(b<<4)+12>>2];k[u+16>>2]=20632;k[u+20>>2]=c;p=(b|0)==1;k[u+8>>2]=p&1;Pr(u,d)|0;t=Zr(a,0,d+8|0)|0;if(!t){p=0;c=0;break a}if(p?(k[(k[U+16>>2]|0)+28>>2]|0)!=(k[t+68>>2]|0):0){k[S>>2]=k[t>>2];yh(a,35920,S);p=0;c=0;break a}if((i[t+44>>0]&32)!=0?(q=k[t+8>>2]|0,(q|0)!=0):0){p=q;while(1){if((i[p+51>>0]&3)==2){q=b;J=p;u=t;break b}p=k[p+20>>2]|0;if(!p){q=b;J=0;u=t;break}}}else{q=b;J=0;u=t}}else{u=k[a+484>>2]|0;if(!u){p=0;c=0;break a}b=k[u+68>>2]|0;if(b){p=k[U+20>>2]|0;if((p|0)>0){c=k[U+16>>2]|0;t=0;while(1){q=t+1|0;if((k[c+(t<<4)+12>>2]|0)==(b|0)){c=0;q=t;J=0;break b}if((q|0)<(p|0))t=q;else{c=0;J=0;break}}}else{c=0;q=0;J=0}}else{c=0;q=-1e6;J=0}}while(0);O=U+16|0;C=k[O>>2]|0;b=C+(q<<4)|0;x=k[u>>2]|0;if(((Kc(x,25568,7)|0)==0?(i[U+145>>0]|0)==0:0)?(Kc(x+7|0,35976,9)|0)!=0:0){k[S>>2]=x;yh(a,35992,S);p=0;c=0;break}if(k[u+12>>2]|0){yh(a,36024,S);p=0;c=0;break}N=u+44|0;if(i[N>>0]&16){yh(a,36056,S);p=0;c=0;break}D=(c|0)==0;if(!D){c=$q(U,c)|0;if(!c){p=0;c=0;break}if(Qr(a,c)|0){p=0;break}if((i[U+145>>0]|0)==0?(di(U,c,0)|0)!=0:0){k[S>>2]=c;yh(a,36096,S);p=0;break}if(gq(U,c,k[b>>2]|0)|0)if(!o){k[S>>2]=c;yh(a,36136,S);p=0;break}else{Fr(a,q);p=0;break}else t=c}else{p=k[u+8>>2]|0;if(!p)t=1;else{t=1;do{t=t+1|0;p=k[p+20>>2]|0}while((p|0)!=0)}k[S>>2]=x;k[S+4>>2]=t;t=zh(U,36160,S)|0;if(!t){p=0;c=0;break}}b=k[b>>2]|0;p=(q|0)==1;L=p?13184:13208;if((Xq(a,18,L,0,b)|0)==0?(Xq(a,p?3:1,t,k[u>>2]|0,b)|0)==0:0){if(!e){e=qr(a,0,0)|0;if(!e){e=0;p=0;c=t;break}F=ph(k[a>>2]|0,k[(k[u+4>>2]|0)+(((j[u+38>>1]|0)+-1|0)*24|0)>>2]|0)|0;G=k[e+4>>2]|0;k[G+4>>2]=F;i[G+12>>0]=n}A=k[e>>2]|0;if((A|0)>0){x=k[e+4>>2]|0;v=0;b=0;do{p=k[x+(v*20|0)>>2]|0;if(p){c=k[p+8>>2]|0;if(!c)p=1;else{p=c;while(1)if(!(i[p>>0]|0))break;else p=p+1|0;p=(p-c&1073741823)+1|0}b=p+b|0}v=v+1|0}while((v|0)<(A|0));c=b}else c=0;if(!t)p=0;else{b=t;while(1)if(!(i[b>>0]|0))break;else b=b+1|0;p=b-t&1073741823}F=(J|0)!=0;if(F)b=m[J+46>>1]|0;else b=1;M=zs(U,A+b&65535,c+1+p|0,K)|0;c:do if(!(i[P>>0]|0)){E=k[K>>2]|0;k[M>>2]=E;I=p+1|0;z=E+I|0;k[K>>2]=z;pw(E|0,t|0,I|0)|0;k[M+12>>2]=u;I=M+50|0;i[I>>0]=f;E=M+51|0;i[E>>0]=i[E>>0]&-12|((f|0)!=0&1)<<3&255|D&1;H=M+24|0;k[H>>2]=k[(k[O>>2]|0)+(q<<4)+12>>2];b=k[e>>2]|0;G=M+46|0;j[G>>1]=b;if(h){k[B+0>>2]=0;k[B+4>>2]=0;k[B+8>>2]=0;k[B+12>>2]=0;k[B+16>>2]=0;k[B+20>>2]=0;k[B+24>>2]=0;k[B+28>>2]=0;x=S+0|0;c=x+80|0;do{k[x>>2]=0;x=x+4|0}while((x|0)<(c|0));k[S>>2]=1;k[S+16>>2]=k[u>>2];k[S+24>>2]=u;k[S+48>>2]=-1;k[B>>2]=a;k[B+4>>2]=S;j[B+28>>1]=16;qs(B,h)|0;k[M+36>>2]=h;b=k[e>>2]|0}w=(l[(k[C+(q<<4)+12>>2]|0)+76>>0]|0)>3;d:do if((b|0)>0){D=u+4|0;C=u+38|0;B=M+4|0;h=U+145|0;b=M+32|0;v=M+28|0;c=0;n=k[e+4>>2]|0;while(1){p=k[n+4>>2]|0;x=j[C>>1]|0;e:do if(x<<16>>16>0){A=0;y=k[D>>2]|0;while(1){if(!(id(p,k[y>>2]|0)|0)){o=A;break e}A=A+1|0;if((A|0)<(x<<16>>16|0))y=y+24|0;else{o=A;break}}}else o=0;while(0);if((o|0)>=(x<<16>>16|0))break;j[(k[B>>2]|0)+(c<<1)>>1]=o;A=k[n>>2]|0;if(!A){A=k[(k[D>>2]|0)+(o*24|0)+16>>2]|0;A=(A|0)!=0?A:11152}else{y=k[A+8>>2]|0;if(!y)A=1;else{A=y;while(1)if(!(i[A>>0]|0))break;else A=A+1|0;A=(A-y&1073741823)+1|0}pw(z|0,y|0,A|0)|0;y=k[K>>2]|0;z=y+A|0;k[K>>2]=z;A=y}if((i[h>>0]|0)==0?(hr(a,A)|0)==0:0){c=0;p=0;T=134;break c}k[(k[b>>2]|0)+(c<<2)>>2]=A;i[(k[v>>2]|0)+c>>0]=w?i[n+12>>0]|0:0;if(!(i[(k[D>>2]|0)+(o*24|0)+20>>0]|0))i[E>>0]=i[E>>0]&-9;c=c+1|0;if((c|0)<(k[e>>2]|0))n=n+20|0;else break d}k[S>>2]=k[u>>2];k[S+4>>2]=p;yh(a,36184,S);i[a+17>>0]=1;c=0;p=0;T=134;break c}else c=0;while(0);do if(F){w=J+46|0;x=j[w>>1]|0;if(!(x<<16>>16))break;B=J+4|0;C=M+4|0;D=M+48|0;n=J+32|0;o=M+32|0;b=J+28|0;v=M+28|0;h=0;do{y=j[(k[B>>2]|0)+(h<<1)>>1]|0;p=k[C>>2]|0;A=m[G>>1]|0;z=p;while(1){if((A|0)<=0){T=92;break}if((j[z>>1]|0)==y<<16>>16){T=91;break}else{A=A+-1|0;z=z+2|0}}if((T|0)==91){T=0;j[D>>1]=(j[D>>1]|0)+-1<<16>>16}else if((T|0)==92){T=0;j[p+(c<<1)>>1]=y;k[(k[o>>2]|0)+(c<<2)>>2]=k[(k[n>>2]|0)+(h<<2)>>2];i[(k[v>>2]|0)+c>>0]=i[(k[b>>2]|0)+h>>0]|0;x=j[w>>1]|0;c=c+1|0}h=h+1|0}while((h|0)<(x&65535|0))}else{j[(k[M+4>>2]|0)+(c<<1)>>1]=-1;k[(k[M+32>>2]|0)+(c<<2)>>2]=11152}while(0);hq(M);h=a+484|0;b=k[h>>2]|0;if(!b){rs(M);b=k[h>>2]|0}f:do if((u|0)==(b|0)){p=k[u+8>>2]|0;if(!p)break;y=j[G>>1]|0;z=M+4|0;A=M+32|0;while(1){if((j[p+46>>1]|0)==y<<16>>16){g:do if(!(y<<16>>16)){h=0;b=0}else{v=k[p+4>>2]|0;w=k[z>>2]|0;x=p+32|0;b=0;while(1){if((j[v+(b<<1)>>1]|0)!=(j[w+(b<<1)>>1]|0)){h=y;break g}h=k[(k[x>>2]|0)+(b<<2)>>2]|0;c=k[(k[A>>2]|0)+(b<<2)>>2]|0;if((h|0)!=(c|0)?(id(h,c)|0)!=0:0){h=y;break g}b=b+1|0;if((b|0)>=(y&65535|0)){h=y;break}}}while(0);if((b|0)==(h&65535|0))break}p=k[p+20>>2]|0;if(!p)break f}b=p+50|0;c=i[b>>0]|0;h=i[I>>0]|0;if(c<<24>>24==h<<24>>24){c=0;break c}if(!(c<<24>>24==10|h<<24>>24==10)){k[S>>2]=0;yh(a,36216,S);c=i[b>>0]|0}if(c<<24>>24!=10){c=0;T=134;break c}i[b>>0]=i[I>>0]|0;c=0;break c}while(0);c=U+145|0;do if(!(i[c>>0]|0)){if(k[a+64>>2]|0){T=126;break}if(!((i[N>>0]&32)==0|R)){T=126;break}p=a+72|0;h=(k[p>>2]|0)+1|0;k[p>>2]=h;p=Tq(a)|0;if(!p){c=0;p=0;T=134;break c}G=k[a+408>>2]|0;G=(G|0)==0?a:G;Fr(a,q);F=G+328|0;k[F>>2]=k[F>>2]|1<<q;G=G+20|0;i[G>>0]=l[G>>0]|1;Bh(p,120,q,h,0)|0;if(!g)b=0;else{b=k[k[Q>>2]>>2]|0;G=(k[a+504>>2]|0)-b+(k[a+508>>2]|0)|0;F=G+-1|0;G=(i[b+F>>0]|0)==59?F:G;k[S>>2]=(f|0)==0?10360:36288;k[S+4>>2]=G;k[S+8>>2]=b;b=zh(U,36264,S)|0}F=k[M>>2]|0;G=k[u>>2]|0;k[S>>2]=k[(k[O>>2]|0)+(q<<4)>>2];k[S+4>>2]=L;k[S+8>>2]=F;k[S+12>>2]=G;k[S+16>>2]=h;k[S+20>>2]=b;Gr(a,36296,S);rg(U,b);if(!R)break;As(a,M,h);Ir(a,q);k[S>>2]=k[M>>2];Nr(p,q,zh(U,36344,S)|0);Bh(p,144,0,0,0)|0;T=126}else{if(Nk((k[H>>2]|0)+24|0,k[M>>2]|0,M)|0){i[P>>0]=1;c=0;p=0;T=134;break c}G=U+24|0;k[G>>2]=k[G>>2]|2;if(!R)break;k[M+40>>2]=k[U+140>>2];T=126}while(0);if((T|0)==126?!((i[c>>0]|0)!=0|(d|0)==0):0){c=0;p=0;T=134;break}c=k[u+8>>2]|0;do if((f|0)==5){if(!c){c=0;break}if((i[c+50>>0]|0)==5)break;do{p=c+20|0;c=k[p>>2]|0;if(!c){c=0;break}}while((i[c+50>>0]|0)!=5);k[M+20>>2]=c;k[p>>2]=M;h=0;p=M;c=t;break a}while(0);k[M+20>>2]=c;k[u+8>>2]=M;h=0;p=M;c=t;break a}else{c=h;p=0;T=134}while(0);if((T|0)==134)if(!M){h=c;c=t;break}Ok(U,M);h=c;c=t}else{p=0;c=t}}else{p=0;c=0}while(0);Lk(U,h);Sk(U,e);Io(U,d);rg(U,c);r=V;return p|0}function fr(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+484>>2]|0;d=k[a>>2]|0;if(((c|0)!=0?(i[a+451>>0]|0)==0:0)?(j[(k[(k[(k[d+16>>2]|0)+(l[d+144>>0]<<4)+4>>2]|0)+4>>2]|0)+22>>1]&1)==0:0){d=c+24|0;c=qr(a,k[d>>2]|0,b)|0;k[d>>2]=c;if(k[a+324>>2]|0)rr(a,c,a+320|0,1)}else Lk(d,b);return}function gr(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,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;C=r;r=r+16|0;if((r|0)>=(s|0))ka();z=C;B=k[a>>2]|0;A=k[a+484>>2]|0;a:do if((A|0)!=0?(i[a+451>>0]|0)==0:0){w=(b|0)==0;do if(w){y=j[A+38>>1]|0;g=(y<<16>>16)+-1|0;if(y<<16>>16<1){f=0;break a}if(d)if((k[d>>2]|0)==1){g=1;f=13}else{k[z>>2]=k[(k[A+4>>2]|0)+(g*24|0)>>2];k[z+4>>2]=c;yh(a,35712,z);f=0;break a}else{g=1;f=12}}else{if(!d){g=k[b>>2]|0;f=12;break}g=k[d>>2]|0;if((g|0)==(k[b>>2]|0))f=13;else{yh(a,35776,z);f=0;break a}}while(0);if((f|0)==12){h=c+4|0;n=h;t=0;h=(g<<3)+37+(k[h>>2]|0)|0;y=g}else if((f|0)==13){n=c+4|0;h=(g<<3)+37+(k[n>>2]|0)|0;o=k[d>>2]|0;if((o|0)>0){p=k[d+4>>2]|0;q=0;do{m=k[p+(q*20|0)+4>>2]|0;if(!m)f=1;else{l=m;while(1)if(!(i[l>>0]|0))break;else l=l+1|0;f=(l-m&1073741823)+1|0}h=f+h|0;q=q+1|0}while((q|0)<(o|0));t=1;y=g}else{t=1;y=g}}f=rh(B,h,((h|0)<0)<<31>>31)|0;if(f){kw(f|0,0,h|0)|0;k[f>>2]=A;x=A+16|0;k[f+4>>2]=k[x>>2];u=f+36|0;l=u+(y<<3)|0;v=f+8|0;k[v>>2]=l;pw(l|0,k[c>>2]|0,k[n>>2]|0)|0;i[l+(k[n>>2]|0)>>0]=0;qo(l);l=l+((k[n>>2]|0)+1)|0;k[f+20>>2]=y;b:do if(!w){if((y|0)>0){h=A+4|0;c=b+4|0;m=j[A+38>>1]|0;g=0;while(1){c:do if(m<<16>>16>0){q=k[h>>2]|0;p=k[(k[c>>2]|0)+(g*20|0)+4>>2]|0;o=0;while(1){n=o+1|0;if(!(id(k[q+(o*24|0)>>2]|0,p)|0)){n=o;break}if((n|0)<(m<<16>>16|0))o=n;else break c}k[u+(g<<3)>>2]=n}else n=0;while(0);if((n|0)>=(m<<16>>16|0))break;g=g+1|0;if((g|0)>=(y|0))break b}k[z>>2]=k[(k[c>>2]|0)+(g*20|0)+4>>2];yh(a,35872,z);break a}}else k[u>>2]=(j[A+38>>1]|0)+-1;while(0);if(t&(y|0)>0){m=d+4|0;n=0;while(1){h=k[(k[m>>2]|0)+(n*20|0)+4>>2]|0;if(!h)g=0;else{g=h;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;g=g-h&1073741823}k[u+(n<<3)+4>>2]=l;pw(l|0,h|0,g|0)|0;i[l+g>>0]=0;n=n+1|0;if((n|0)==(y|0))break;else l=l+(g+1)|0}}i[f+24>>0]=0;i[f+25>>0]=e;i[f+26>>0]=e>>>8;g=Nk((k[A+68>>2]|0)+56|0,k[v>>2]|0,f)|0;if((g|0)==(f|0)){i[B+65>>0]=1;break}if(g){k[f+12>>2]=g;k[g+16>>2]=f}k[x>>2]=f;f=0}else f=0}else f=0;while(0);rg(B,f);Sk(B,b);Sk(B,d);r=C;return}function hr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=k[a>>2]|0;d=i[c+62>>0]|0;e=i[c+145>>0]|0;c=bo(c,d,b,e&255)|0;do if(!(e<<24>>24)){if((c|0)!=0?(k[c+12>>2]|0)!=0:0)break;c=Bs(a,d,c,b)|0}while(0);return c|0}function ir(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,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+16|0;if((r|0)>=(s|0))ka();w=y;q=y+12|0;x=k[a>>2]|0;do if(!(i[x+65>>0]|0)){d=(d|0)!=0;if(d){p=x+68|0;i[p>>0]=(i[p>>0]|0)+1<<24>>24;v=Zr(a,c,b+8|0)|0;i[p>>0]=(i[p>>0]|0)+-1<<24>>24}else v=Zr(a,c,b+8|0)|0;if(!v){if(!d)break;Er(a,k[b+12>>2]|0);break}n=v+68|0;f=k[n>>2]|0;a:do if(f){d=k[x+20>>2]|0;if((d|0)>0){e=k[x+16>>2]|0;h=0;while(1){g=h+1|0;if((k[e+(h<<4)+12>>2]|0)==(f|0)){g=h;break a}if((g|0)<(d|0))h=g;else break}}else g=0}else g=-1e6;while(0);t=v+44|0;if((i[t>>0]&16)!=0?(mr(a,v)|0)!=0:0)break;h=(g|0)==1;u=h?13184:13208;d=k[(k[x+16>>2]|0)+(g<<4)>>2]|0;if(!(Xq(a,9,u,0,d)|0)){e=(c|0)!=0;do if(e){f=h?15:17;h=0}else{if(!(i[t>>0]&16)){f=h?13:11;h=0;break}h=v+60|0;while(1){h=k[h>>2]|0;if((k[h>>2]|0)==(x|0))break;else h=h+24|0}f=30;h=k[(k[h+4>>2]|0)+4>>2]|0}while(0);if((Xq(a,f,k[v>>2]|0,h,d)|0)==0?(Xq(a,9,k[v>>2]|0,0,d)|0)==0:0){h=k[v>>2]|0;if((Kc(h,25568,7)|0)==0?(Kc(h,35488,11)|0)!=0:0){k[w>>2]=h;yh(a,35504,w);break}d=v+12|0;f=(k[d>>2]|0)==0;if(e){if(f){k[w>>2]=h;yh(a,35536,w);break}}else if(!f){k[w>>2]=h;yh(a,35576,w);break}if(Tq(a)|0){o=a+408|0;f=k[o>>2]|0;f=(f|0)==0?a:f;Fr(a,g);p=1<<g;e=f+328|0;k[e>>2]=k[e>>2]|p;f=f+20|0;i[f>>0]=l[f>>0]|1;Hr(a,g,28544,k[v>>2]|0);f=k[a>>2]|0;e=f+24|0;b:do if(((k[e>>2]&524288|0)!=0?(i[t>>0]&16)==0:0)?(k[d>>2]|0)==0:0){m=Tq(a)|0;q=gn((k[n>>2]|0)+56|0,k[v>>2]|0,q)|0;if((q|0)!=0?(k[q+8>>2]|0)!=0:0)h=0;else{h=k[v+16>>2]|0;if(!h)break;while(1){if(i[h+24>>0]|0)break;if(k[e>>2]&16777216)break;h=k[h+4>>2]|0;if(!h)break b}h=Cs(m)|0;Bh(m,135,1,h,0)|0}q=a+438|0;i[q>>0]=1;wr(a,Ds(f,b,0)|0,0);i[q>>0]=0;if(!(k[e>>2]&16777216)){Bh(m,135,0,(k[m+32>>2]|0)+2|0,0)|0;Es(a,787,2,0,-2,4)}if(h){f=k[m+24>>2]|0;d=~h;do if((h|0)<0){h=k[f+112>>2]|0;if(!h)break;k[h+(d<<2)>>2]=k[m+32>>2]}while(0);k[f+88>>2]=(k[m+32>>2]|0)+-1}}while(0);m=k[a>>2]|0;n=m+16|0;f=k[n>>2]|0;d=Tq(a)|0;q=k[o>>2]|0;q=(q|0)==0?a:q;Fr(a,g);o=q+328|0;k[o>>2]=k[o>>2]|p;q=q+20|0;i[q>>0]=l[q>>0]|1;if(i[t>>0]&16)Bh(d,146,0,0,0)|0;h=Fs(a,v)|0;if(h)do{Vr(a,h);h=k[h+32>>2]|0}while((h|0)!=0);f=f+(g<<4)|0;if(i[t>>0]&8){q=k[v>>2]|0;k[w>>2]=k[f>>2];k[w+4>>2]=q;Gr(a,35608,w)}q=k[v>>2]|0;k[w>>2]=k[f>>2];k[w+4>>2]=u;k[w+8>>2]=q;Gr(a,35656,w);if((c|0)==0?(i[t>>0]&16)==0:0)Gs(a,v);if(i[t>>0]&16){q=k[v>>2]|0;Ch(d,Bh(d,148,g,0,0)|0,q,0)}e=k[v>>2]|0;Ch(d,Bh(d,124,g,0,0)|0,e,0);Ir(a,g);d=k[(k[n>>2]|0)+(g<<4)+12>>2]|0;e=j[d+78>>1]|0;if(e&2){f=k[d+16>>2]|0;if(f){e=f;do{d=k[e+8>>2]|0;if(k[d+12>>2]|0){Qk(m,d);k[d+4>>2]=0;j[d+38>>1]=0}e=k[e>>2]|0}while((e|0)!=0);e=k[(k[n>>2]|0)+(g<<4)+12>>2]|0;d=e;e=j[e+78>>1]|0}j[d+78>>1]=e&65533}}}}}while(0);Io(x,b);r=y;return}function jr(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;h=r;r=r+16|0;if((r|0)>=(s|0))ka();f=h;e=k[a>>2]|0;do if((c|0)!=0?(k[c+4>>2]|0)!=0:0){if(i[e+145>>0]|0){yh(a,28488,f);c=a+64|0;k[c>>2]=(k[c>>2]|0)+1;c=-1;break}k[d>>2]=c;d=$q(e,b)|0;c=_h(e,d)|0;rg(e,d);if((c|0)<0){k[f>>2]=b;yh(a,28512,f);c=a+64|0;k[c>>2]=(k[c>>2]|0)+1;c=-1}}else g=7;while(0);if((g|0)==7){c=l[e+144>>0]|0;k[d>>2]=b}r=h;return c|0}function kr(a,b){a=a|0;b=b|0;a:do if(!b)b=0;else while(1){if(Mr(a,k[b>>2]|0)|0){b=1;break a}if(Pr(a,k[b+32>>2]|0)|0){b=1;break a}if(Lr(a,k[b+36>>2]|0)|0){b=1;break a}if(Mr(a,k[b+40>>2]|0)|0){b=1;break a}if(Lr(a,k[b+44>>2]|0)|0){b=1;break a}if(Mr(a,k[b+48>>2]|0)|0){b=1;break a}if(Lr(a,k[b+60>>2]|0)|0){b=1;break a}if(Lr(a,k[b+64>>2]|0)|0){b=1;break a}b=k[b+52>>2]|0;if(!b){b=0;break}}while(0);return b|0}function lr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if((b|0)!=0?(d=rh(a,72,0)|0,(d|0)!=0):0){f=Ur(a,k[b>>2]|0,c)|0;k[d>>2]=f;f=Ds(a,k[b+32>>2]|0,c)|0;k[d+32>>2]=f;f=Rr(a,k[b+36>>2]|0,c,0)|0;k[d+36>>2]=f;f=Ur(a,k[b+40>>2]|0,c)|0;k[d+40>>2]=f;f=Rr(a,k[b+44>>2]|0,c,0)|0;k[d+44>>2]=f;f=Ur(a,k[b+48>>2]|0,c)|0;k[d+48>>2]=f;i[d+4>>0]=i[b+4>>0]|0;f=lr(a,k[b+52>>2]|0,c)|0;k[d+52>>2]=f;if(f)k[f+56>>2]=d;k[d+56>>2]=0;h=Rr(a,k[b+60>>2]|0,c,0)|0;k[d+60>>2]=h;h=Rr(a,k[b+64>>2]|0,c,0)|0;k[d+64>>2]=h;k[d+8>>2]=0;k[d+12>>2]=0;j[d+6>>1]=(m[b+6>>1]|0)&65527;k[d+16>>2]=-1;k[d+20>>2]=-1;h=b+24|0;f=k[h+4>>2]|0;c=d+24|0;k[c>>2]=k[h>>2];k[c+4>>2]=f;c=k[b+68>>2]|0;if((c|0)!=0?(g=k[c>>2]<<4|8,e=rh(a,g,((g|0)<0)<<31>>31)|0,(e|0)!=0):0){kw(e|0,0,g|0)|0;k[e>>2]=k[c>>2];if((k[c>>2]|0)>0){b=e+8|0;f=0;do{g=lr(a,k[c+(f<<4)+16>>2]|0,0)|0;k[b+(f<<4)+8>>2]=g;g=Ur(a,k[c+(f<<4)+12>>2]|0,0)|0;k[b+(f<<4)+4>>2]=g;g=ph(a,k[c+(f<<4)+8>>2]|0)|0;k[b+(f<<4)>>2]=g;f=f+1|0}while((f|0)<(k[c>>2]|0))}}else e=0;k[d+68>>2]=e}else d=0;return d|0}function mr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,t=0;t=r;r=r+16|0;if((r|0)>=(s|0))ka();n=t;e=t+8|0;g=t+4|0;q=k[a>>2]|0;h=b+44|0;d=i[h>>0]|0;a:do if(!(d&16))o=11;else{c=k[b+60>>2]|0;if(c)do{if((k[c>>2]|0)==(q|0)){o=11;break a}c=k[c+24>>2]|0}while((c|0)!=0);c=b+56|0;d=gn(q+308|0,k[k[c>>2]>>2]|0,e)|0;if((d|0)!=0?(f=k[d+8>>2]|0,(f|0)!=0):0){k[g>>2]=0;f=(En(q,b,f,k[(k[f>>2]|0)+8>>2]|0,g)|0)==0;d=k[g>>2]|0;if(f){rg(q,d);d=i[h>>0]|0;o=11;break}else{k[n>>2]=d;yh(a,10344,n);rg(q,d);c=1;break}}k[n>>2]=k[k[c>>2]>>2];yh(a,28320,n);c=1}while(0);do if((o|0)==11)if((d&16)==0?(p=b+38|0,l=j[p>>1]|0,l<<16>>16<=0):0){if(l<<16>>16<0){k[n>>2]=k[b>>2];yh(a,26752,n);c=1;break}d=lr(q,k[b+12>>2]|0,0)|0;if(!d)c=1;else{l=q+250|0;h=i[l>>0]|0;o=a+68|0;n=k[o>>2]|0;Hs(a,k[d+32>>2]|0);j[p>>1]=-1;i[l>>0]=0;g=q+284|0;f=k[g>>2]|0;k[g>>2]=0;c=ss(a,d)|0;k[g>>2]=f;i[l>>0]=h;k[o>>2]=n;if(!c){j[p>>1]=0;c=1}else{a=c+38|0;j[p>>1]=j[a>>1]|0;o=c+4|0;k[b+4>>2]=k[o>>2];j[a>>1]=0;k[o>>2]=0;pg(q,c);c=(k[b+68>>2]|0)+78|0;j[c>>1]=m[c>>1]|0|2;c=0}Rk(q,d,1)}}else c=0;while(0);r=t;return c|0}
[all...]
H A Dsqlite-pointer-masking.js11 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 (…)
[all...]
H A Dsqlite-safe-heap.js[all...]
H A Dsqlite.js11 function iq(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,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,Z=0,_=0,$=0,aa=0,ca=0,da=0,ea=0;ea=i;i=i+192|0;if((i|0)>=(j|0))ba();_=ea+48|0;Y=ea+24|0;X=ea+160|0;F=ea+156|0;P=ea+152|0;I=ea+148|0;S=ea+144|0;L=ea+140|0;E=ea+16|0;ca=ea;v=ea+128|0;u=ea+116|0;w=ea+96|0;l=ea+88|0;da=f+8|0;$=c[da>>2]|0;aa=c[f>>2]|0;c[ca+0>>2]=c[9286];c[ca+4>>2]=c[9287];c[ca+8>>2]=c[9288];a:do switch(g|0){case 5:{a[$+450>>0]=0;c[$+440>>2]=0;break}case 7:{a[$+450>>0]=2;c[$+440>>2]=0;break}case 6:{a[$+450>>0]=1;c[$+440>>2]=0;break}case 38:{_=c[f+(aa+-2<<4)+16>>2]|0;c[ca>>2]=_;c[ca+4>>2]=(c[$+504>>2]|0)-_+(c[$+508>>2]|0);break}case 39:{u=f+(aa<<4)+16|0;s=c[$>>2]|0;k=c[$+484>>2]|0;b:do if(k){t=k+38|0;if((b[t>>1]|0)>=(c[s+96>>2]|0)){c[_>>2]=c[k>>2];ph($,36528,_);break}r=Sq(s,u)|0;if(r){p=b[t>>1]|0;h=p<<16>>16;c:do if(p<<16>>16>0){q=a[9328+(d[r>>0]|0)>>0]|0;n=c[k+4>>2]|0;o=r+1|0;l=0;while(1){m=c[n+(l*24|0)>>2]|0;if(q<<24>>24==(a[9328+(d[m>>0]|0)>>0]|0)?($c(o,m+1|0)|0)==0:0)break;l=l+1|0;if((l|0)>=(h|0))break c}c[_>>2]=r;ph($,36552,_);ig(s,r);break b}else n=c[k+4>>2]|0;while(0);o=k+4|0;do if(!(h&7)){n=no(s,n,(h*24|0)+192|0,0)|0;if(!n){ig(s,r);break b}else{c[o>>2]=n;p=b[t>>1]|0;break}}while(0);_=p<<16>>16;Z=n+(_*24|0)|0;c[Z+0>>2]=0;c[Z+4>>2]=0;c[Z+8>>2]=0;c[Z+12>>2]=0;c[Z+16>>2]=0;c[Z+20>>2]=0;c[Z>>2]=r;a[n+(_*24|0)+21>>0]=65;a[n+(_*24|0)+22>>0]=1;b[t>>1]=(b[t>>1]|0)+1<<16>>16}}while(0);Y=u;Z=c[Y+4>>2]|0;_=ca;c[_>>2]=c[Y>>2];c[_+4>>2]=Z;c[$+324>>2]=0;break}case 22:{Pq($,0,f+(aa<<4)+16|0);break}case 23:{Pq($,1,f+(aa<<4)+16|0);break}case 8:{v=c[$>>2]|0;z=v+65|0;if(((a[z>>0]|0)==0?(a[$+18>>0]|0)==0:0)?(V=$+64|0,(c[V>>2]|0)==0):0){y=Kq($)|0;if(y){do{}while((Lq(y,61)|0)!=0);sh(y,24,0,0,0)|0;do if(!(a[z>>0]|0)){o=$+332|0;s=c[o>>2]|0;if((s|0)==0?(c[$+316>>2]|0)==0:0)break;p=y+32|0;q=c[p>>2]|0;if(q)c[(c[y+4>>2]|0)+8>>2]=q;c[(c[y+24>>2]|0)+88>>2]=q+-1;t=v+20|0;d:do if((c[t>>2]|0)>0){h=y+96|0;k=$+328|0;l=v+16|0;m=v+145|0;n=y+4|0;r=0;while(1){u=1<<r;if(((u&s|0)!=0?(c[h>>2]=c[h>>2]|u,_=c[(c[(c[l>>2]|0)+(r<<4)+12>>2]|0)+4>>2]|0,th(y,sh(y,4,r,(c[k>>2]&u|0)!=0&1,c[$+(r<<2)+336>>2]|0)|0,_,-14),(a[m>>0]|0)==0):0)?(K=c[n>>2]|0,(K|0)!=0):0)a[K+(((c[p>>2]|0)+-1|0)*20|0)+3>>0]=1;r=r+1|0;if((r|0)>=(c[t>>2]|0))break d;s=c[o>>2]|0}}while(0);p=$+452|0;if((c[p>>2]|0)>0){o=$+520|0;n=0;do{q=c[(c[(c[o>>2]|0)+(n<<2)>>2]|0)+60>>2]|0;e:do if(!q)q=0;else while(1){if((c[q>>2]|0)==(v|0))break e;q=c[q+24>>2]|0;if(!q){q=0;break}}while(0);th(y,sh(y,146,0,0,0)|0,q,-10);n=n+1|0}while((n|0)<(c[p>>2]|0))}c[p>>2]=0;p=Kq($)|0;o=$+396|0;if((c[o>>2]|0)>0){n=$+400|0;m=0;do{Y=c[n>>2]|0;_=c[Y+(m<<4)+12>>2]|0;th(p,sh(p,145,c[Y+(m<<4)>>2]|0,c[Y+(m<<4)+4>>2]|0,d[Y+(m<<4)+8>>0]|0)|0,_,-2);m=m+1|0}while((m|0)<(c[o>>2]|0))}k=c[$+8>>2]|0;q=c[$+404>>2]|0;if(q){h=(c[$>>2]|0)+16|0;r=k+32|0;s=k+4|0;do{o=c[q+8>>2]|0;p=c[q+12>>2]|0;Mq($,0,o,c[(c[(c[h>>2]|0)+(o<<4)+12>>2]|0)+72>>2]|0,54);o=p+1|0;sh(k,28,0,p,o)|0;n=c[r>>2]|0;l=p+-1|0;m=c[c[q+4>>2]>>2]|0;th(k,sh(k,97,0,l,0)|0,m,0);m=n+9|0;sh(k,108,0,m,0)|0;sh(k,47,0,0,p)|0;sh(k,78,l,n+7|0,p)|0;l=c[s>>2]|0;if(l)a[l+(((c[r>>2]|0)+-1|0)*20|0)+3>>0]=16;sh(k,103,0,o,0)|0;sh(k,47,0,1,p)|0;sh(k,16,0,m,0)|0;sh(k,9,0,n+2|0,0)|0;sh(k,25,0,p,0)|0;sh(k,61,0,0,0)|0;q=c[q>>2]|0}while((q|0)!=0)}p=c[$+316>>2]|0;if((p|0)!=0?(a[$+23>>0]=0,(c[p>>2]|0)>0):0){o=p+4|0;n=0;do{_=c[o>>2]|0;Nq($,c[_+(n*20|0)>>2]|0,c[_+(n*20|0)+16>>2]|0);n=n+1|0}while((n|0)<(c[p>>2]|0))}sh(y,16,0,1,0)|0}while(0);if((c[V>>2]|0)==0?(a[z>>0]|0)==0:0){if((c[$+404>>2]|0)!=0?(W=$+68|0,(c[W>>2]|0)==0):0)c[W>>2]=1;wh(y,$);c[$+12>>2]=101;a[$+16>>0]=0}else Z=48}else Z=48;if((Z|0)==48)c[$+12>>2]=1;c[$+68>>2]=0;c[$+72>>2]=0;c[$+76>>2]=0;c[$+440>>2]=0;c[$+332>>2]=0}break}case 58:{c[v>>2]=Vq($,157,c[f+(aa<<4)+16>>2]|0,0,0)|0;c[v+4>>2]=c[f+(aa+-1<<4)+16>>2];c[v+8>>2]=c[f+(aa<<4)+24>>2];Uq($,v);break}case 59:{_=f+(aa<<4)+16|0;c[u>>2]=Vq($,97,0,0,_)|0;_=c[_>>2]|0;c[u+4>>2]=_;c[u+8>>2]=_+(c[f+(aa<<4)+20>>2]|0);Uq($,u);break}case 61:{k=c[f+(aa<<4)+16>>2]|0;l=c[$+484>>2]|0;if((l|0)!=0?(s=b[l+38>>1]|0,s<<16>>16>=1):0)a[(c[l+4>>2]|0)+(((s<<16>>16)+-1|0)*24|0)+20>>0]=k;break}case 70:{c[ca>>2]=0;break}case 62:{Wq($,0,c[f+(aa+-1<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0,c[f+(aa+-2<<4)+16>>2]|0);break}case 63:{Xq($,0,0,0,0,c[f+(aa<<4)+16>>2]|0,0,0,0,0)|0;break}case 64:{Yq($,c[f+(aa+-1<<4)+16>>2]|0);break}case 9:{l=c[f+(aa+-1<<4)+16>>2]|0;k=c[$>>2]|0;if((Oq($,22,37104,0,0)|0)==0?(B=Kq($)|0,(B|0)!=0):0){if((l|0)!=7?(D=k+20|0,(c[D>>2]|0)>0):0){l=(l|0)==9?2:1;k=B+96|0;n=0;do{sh(B,4,n,l,0)|0;c[k>>2]=c[k>>2]|1<<n;n=n+1|0}while((n|0)<(c[D>>2]|0))}sh(B,3,0,0,0)|0}break}case 24:{Pq($,2,f+(aa<<4)+16|0);break}case 26:{Qq($,f+(aa+-1<<4)+16|0,f+(aa<<4)+16|0,c[f+(aa+-4<<4)+16>>2]|0,0,0,c[f+(aa+-2<<4)+16>>2]|0);break}case 221:case 218:case 108:case 97:case 85:case 83:case 81:case 68:case 31:case 28:{c[ca>>2]=0;break}case 27:{a[(c[$>>2]|0)+250>>0]=0;Z=f+(aa<<4)+16|0;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;break}case 222:case 219:case 107:case 84:case 69:case 30:case 29:{c[ca>>2]=1;break}case 32:{Rq($,f+(aa+-2<<4)+16|0,f+(aa+-1<<4)+16|0,a[f+(aa<<4)+16>>0]|0,0);break}case 33:{_=f+(aa<<4)+16|0;Rq($,0,0,0,c[_>>2]|0);Ik(c[$>>2]|0,c[_>>2]|0,1);break}case 34:{a[ca>>0]=0;break}case 35:{l=c[f+(aa<<4)+20>>2]|0;k=c[f+(aa<<4)+16>>2]|0;if((l|0)==5?(Bc(k,20456,5)|0)==0:0){a[ca>>0]=32;break a}a[ca>>0]=0;c[_>>2]=l;c[_+4>>2]=k;ph($,20464,_);break}case 44:{l=f+(aa<<4)+16|0;k=c[$+484>>2]|0;if((k|0)!=0?(G=b[k+38>>1]|0,G<<16>>16>=1):0){_=(G<<16>>16)+-1|0;Z=c[k+4>>2]|0;$=Sq(c[$>>2]|0,l)|0;c[Z+(_*24|0)+12>>2]=$;a[Z+(_*24|0)+21>>0]=Tq($,Z+(_*24|0)+22|0)|0}break}case 65:{Zq($,0,f+(aa+-2<<4)+16|0,c[f+(aa+-1<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0);break}case 66:{k=c[f+(aa<<4)+16>>2]|0;l=c[$+484>>2]|0;if((l|0)!=0?(r=c[l+16>>2]|0,(r|0)!=0):0)a[r+24>>0]=k;break}case 67:{n=c[$+484>>2]|0;if((n|0)!=0?(A=(b[n+38>>1]|0)+-1|0,o=c[$>>2]|0,m=Sq(o,f+(aa<<4)+16|0)|0,(m|0)!=0):0){if(!(_q($,m)|0)){ig(o,m);break a}p=n+4|0;ig(o,c[(c[p>>2]|0)+(A*24|0)+16>>2]|0);c[(c[p>>2]|0)+(A*24|0)+16>>2]=m;l=c[n+8>>2]|0;if(l)do{if((b[c[l+4>>2]>>1]|0)==(A|0))c[c[l+32>>2]>>2]=c[(c[p>>2]|0)+(A*24|0)+16>>2];l=c[l+20>>2]|0}while((l|0)!=0)}break}case 47:{$=c[f+(aa+-5<<4)+16>>2]|0;c[ca>>2]=$;c[ca+4>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0)-$;break}case 49:{$=c[f+(aa+-1<<4)+16>>2]|0;c[ca>>2]=$;c[ca+4>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0)-$;break}case 92:case 54:{Z=f+(aa<<4)+16|0;_=c[Z+4>>2]|0;$=$+320|0;c[$>>2]=c[Z>>2];c[$+4>>2]=_;break}case 57:case 55:{Uq($,f+(aa<<4)+16|0);break}case 56:{Uq($,f+(aa+-1<<4)+16|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:{Z=f+(aa<<4)+16|0;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;break}case 46:{$=c[f+(aa+-3<<4)+16>>2]|0;c[ca>>2]=$;c[ca+4>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0)-$;break}case 224:{h=Vq($,119,0,0,0)|0;c[ca>>2]=h;if(!h)Ik(c[$>>2]|0,c[f+(aa+-1<<4)+16>>2]|0,1);else{c[h+20>>2]=c[f+(aa+-1<<4)+16>>2];_=c[ca>>2]|0;Z=_+4|0;c[Z>>2]=c[Z>>2]|2099200;ur($,_)}c[ca+4>>2]=c[f+(aa+-2<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 226:{l=aa+-1|0;k=f+(l<<4)+16|0;o=f+(aa<<4)+16|0;n=lr(c[$>>2]|0,0,k,o)|0;p=aa+-3|0;m=Vq($,75,c[f+(p<<4)+16>>2]|0,0,0)|0;c[ca>>2]=m;if(!m){zo(c[$>>2]|0,n);n=0}else{c[m+20>>2]=gr($,0,n,0,0,0,0,0,0,0)|0;n=c[ca>>2]|0;_=n+4|0;c[_>>2]=c[_>>2]|2099200;ur($,n)}if(c[f+(aa+-2<<4)+16>>2]|0)c[ca>>2]=Vq($,19,n,0,0)|0;c[ca+4>>2]=c[f+(p<<4)+20>>2];h=c[o>>2]|0;if(!h)h=(c[k>>2]|0)+(c[f+(l<<4)+20>>2]|0)|0;else h=h+(c[f+(aa<<4)+20>>2]|0)|0;c[ca+8>>2]=h;break}case 225:{l=aa+-4|0;h=Vq($,75,c[f+(l<<4)+16>>2]|0,0,0)|0;c[ca>>2]=h;if(!h){Ik(c[$>>2]|0,c[f+(aa+-1<<4)+16>>2]|0,1);h=0}else{c[h+20>>2]=c[f+(aa+-1<<4)+16>>2];h=c[ca>>2]|0;_=h+4|0;c[_>>2]=c[_>>2]|2099200;ur($,h)}if(c[f+(aa+-3<<4)+16>>2]|0)c[ca>>2]=Vq($,19,h,0,0)|0;c[ca+4>>2]=c[f+(l<<4)+20>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 227:{h=Vq($,20,0,0,0)|0;c[ca>>2]=h;if(!h)Ik(c[$>>2]|0,c[f+(aa+-1<<4)+16>>2]|0,1);else{c[h+20>>2]=c[f+(aa+-1<<4)+16>>2];_=h+4|0;c[_>>2]=c[_>>2]|2099200;ur($,h)}c[ca+4>>2]=c[f+(aa+-3<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 228:{k=Vq($,136,c[f+(aa+-3<<4)+16>>2]|0,0,0)|0;c[ca>>2]=k;if(!k){Jk(c[$>>2]|0,c[f+(aa+-2<<4)+16>>2]|0);Ck(c[$>>2]|0,c[f+(aa+-1<<4)+16>>2]|0)}else{l=c[f+(aa+-1<<4)+16>>2]|0;h=c[f+(aa+-2<<4)+16>>2]|0;if(l)h=hr($,h,l)|0;c[k+20>>2]=h;ur($,c[ca>>2]|0)}c[ca+4>>2]=c[f+(aa+-4<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 291:case 240:{c[ca>>2]=2;break}case 241:{c[ca>>2]=0;break}case 239:{Xq($,f+(aa+-7<<4)+16|0,f+(aa+-6<<4)+16|0,lr(c[$>>2]|0,0,f+(aa+-4<<4)+16|0,0)|0,c[f+(aa+-2<<4)+16>>2]|0,c[f+(aa+-10<<4)+16>>2]|0,f+(aa+-11<<4)+16|0,c[f+(aa<<4)+16>>2]|0,0,c[f+(aa+-8<<4)+16>>2]|0)|0;break}case 229:{c[ca>>2]=hr($,hr($,c[f+(aa+-4<<4)+16>>2]|0,c[f+(aa+-2<<4)+16>>2]|0)|0,c[f+(aa<<4)+16>>2]|0)|0;break}case 230:{c[ca>>2]=hr($,hr($,0,c[f+(aa+-2<<4)+16>>2]|0)|0,c[f+(aa<<4)+16>>2]|0)|0;break}case 237:{c[ca>>2]=hr($,c[f+(aa+-2<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0)|0;break}case 238:{c[ca>>2]=hr($,0,c[f+(aa<<4)+16>>2]|0)|0;break}case 245:{h=hr($,0,rr($,0,f+(aa+-1<<4)+16|0,1)|0)|0;c[ca>>2]=h;ir($,h,f+(aa+-2<<4)+16|0,1);if(h){if((c[h>>2]|0)>(c[(c[$>>2]|0)+96>>2]|0)){c[_>>2]=20632;ph($,34544,_)}a[(c[h+4>>2]|0)+(((c[h>>2]|0)+-1|0)*20|0)+12>>0]=c[f+(aa<<4)+16>>2]}break}case 244:{h=rr($,0,f+(aa+-1<<4)+16|0,1)|0;h=hr($,c[f+(aa+-4<<4)+16>>2]|0,h)|0;c[ca>>2]=h;ir($,h,f+(aa+-2<<4)+16|0,1);if(h){if((c[h>>2]|0)>(c[(c[$>>2]|0)+96>>2]|0)){c[_>>2]=20632;ph($,34544,_)}a[(c[h+4>>2]|0)+(((c[h>>2]|0)+-1|0)*20|0)+12>>0]=c[f+(aa<<4)+16>>2]}break}case 248:{s=c[f+(aa<<4)+16>>2]|0;p=c[f+(aa+-1<<4)+16>>2]|0;r=c[$>>2]|0;do if((a[r+65>>0]|0)==0?(Cn($)|0)==0:0){o=s+12|0;k=Zp(r,c[s+16>>2]|0,c[o>>2]|0)|0;if(!k){if(!p){c[_>>2]=s;c[_+4>>2]=0;ph($,33056,_)}else vr($,c[o>>2]|0);a[$+17>>0]=1;break}if(a[k+51>>0]&3){c[_>>2]=0;ph($,33080,_);break}p=c[k+24>>2]|0;f:do if(p){o=c[r+20>>2]|0;if((o|0)>0){n=c[r+16>>2]|0;q=0;while(1){m=q+1|0;if((c[n+(q<<4)+12>>2]|0)==(p|0)){m=q;break f}if((m|0)<(o|0))q=m;else break}}else m=0}else m=-1e6;while(0);p=c[k+12>>2]|0;o=r+16|0;n=c[(c[o>>2]|0)+(m<<4)>>2]|0;l=(m|0)==1?13184:13208;if(((Oq($,9,l,0,n)|0)==0?(Oq($,(m|0)==0?10:12,c[k>>2]|0,c[p>>2]|0,n)|0)==0:0)?(H=Kq($)|0,(H|0)!=0):0){Z=c[$+408>>2]|0;Z=(Z|0)==0?$:Z;wr($,m);Y=Z+328|0;c[Y>>2]=c[Y>>2]|1<<m;Z=Z+20|0;a[Z>>0]=d[Z>>0]|1;Z=c[k>>2]|0;c[_>>2]=c[(c[o>>2]|0)+(m<<4)>>2];c[_+4>>2]=l;c[_+8>>2]=Z;xr($,33160,_);yr($,m,28536,c[k>>2]|0);zr($,m);Ar($,c[k+40>>2]|0,m);$=c[k>>2]|0;th(H,sh(H,125,m,0,0)|0,$,0)}}while(0);zo(r,s);break}case 246:{c[ca>>2]=0;c[ca+4>>2]=0;break}case 250:case 249:{h=Kq($)|0;if(h){sh(h,13,0,0,0)|0;$=h+96|0;c[$>>2]=c[$>>2]|1}break}case 251:{Br($,f+(aa+-1<<4)+16|0,f+(aa<<4)+16|0,0,0);break}case 252:{Br($,f+(aa+-3<<4)+16|0,f+(aa+-2<<4)+16|0,f+(aa<<4)+16|0,0);break}case 253:{Br($,f+(aa+-4<<4)+16|0,f+(aa+-3<<4)+16|0,f+(aa+-1<<4)+16|0,0);break}case 254:{Br($,f+(aa+-3<<4)+16|0,f+(aa+-2<<4)+16|0,f+(aa<<4)+16|0,1);break}case 255:{Br($,f+(aa+-4<<4)+16|0,f+(aa+-3<<4)+16|0,f+(aa+-1<<4)+16|0,1);break}case 264:{h=c[f+(aa+-3<<4)+16>>2]|0;l=(c[f+(aa<<4)+16>>2]|0)-h+(c[f+(aa<<4)+20>>2]|0)|0;k=c[f+(aa+-1<<4)+16>>2]|0;Z=$+488|0;w=c[Z>>2]|0;x=c[$>>2]|0;c[Z>>2]=0;g:do if((c[$+64>>2]|0)==0&(w|0)!=0){v=c[w>>2]|0;m=w+20|0;s=c[m>>2]|0;h:do if(s){r=c[x+20>>2]|0;if((r|0)>0){p=c[x+16>>2]|0;n=0;while(1){o=n+1|0;if((c[p+(n<<4)+12>>2]|0)==(s|0))break h;if((o|0)<(r|0))n=o;else{n=o;break}}}else n=0}else n=-1e6;while(0);c[w+28>>2]=k;u=(k|0)==0;if(!u){p=k;do{c[p+4>>2]=w;p=c[p+32>>2]|0}while((p|0)!=0)}c[X>>2]=v;if(!v)p=0;else{p=v;while(1)if(!(a[p>>0]|0))break;else p=p+1|0;p=p-v&1073741823}c[X+4>>2]=p;c[Y>>2]=$;t=x+16|0;s=c[t>>2]|0;c[Y+12>>2]=c[s+(n<<4)>>2];c[Y+4>>2]=c[s+(n<<4)+12>>2];c[Y+16>>2]=10720;c[Y+20>>2]=X;s=(n|0)==1;c[Y+8>>2]=s&1;if(!u)do{if(br(Y,c[k+8>>2]|0)|0){k=0;l=w;break g}if(Cr(Y,c[k+20>>2]|0)|0){k=0;l=w;break g}if(Dr(Y,c[k+24>>2]|0)|0){k=0;l=w;break g}k=c[k+32>>2]|0}while((k|0)!=0);if(!(Cr(Y,c[w+12>>2]|0)|0)){p=x+145|0;if(!(a[p>>0]|0)){o=Kq($)|0;if(!o){k=0;l=w;break}Z=c[$+408>>2]|0;wr($,n);Z=((Z|0)==0?$:Z)+328|0;c[Z>>2]=c[Z>>2]|1<<n;if((h|0)!=0?(q=fw(l|0,0,1,0)|0,q=ih(x,q,C)|0,(q|0)!=0):0){gw(q|0,h|0,l|0)|0;a[q+l>>0]=0}else q=0;Z=c[w+4>>2]|0;c[_>>2]=c[(c[t>>2]|0)+(n<<4)>>2];c[_+4>>2]=s?13184:13208;c[_+8>>2]=v;c[_+12>>2]=Z;c[_+16>>2]=q;xr($,30008,_);ig(x,q);zr($,n);c[_>>2]=v;Er(o,n,qh(x,30072,_)|0);if(!(a[p>>0]|0)){k=0;l=w;break}}l=Ek((c[(c[t>>2]|0)+(n<<4)+12>>2]|0)+40|0,v,w)|0;if(l){a[x+65>>0]=1;k=0;break}k=c[m>>2]|0;if((k|0)==(c[w+24>>2]|0)){k=Zm(k+8|0,c[w+4>>2]|0,_)|0;if(!k)k=0;else k=c[k+8>>2]|0;k=k+64|0;c[w+32>>2]=c[k>>2];c[k>>2]=w;k=0}else k=0}else{k=0;l=w}}else l=w;while(0);fg(x,l);Bk(x,k);break}case 265:{A=f+(aa+-7<<4)+16|0;z=aa+-6|0;B=f+(z<<4)+16|0;o=c[f+(aa+-5<<4)+16>>2]|0;D=aa+-4|0;y=c[f+(D<<4)+16>>2]|0;D=c[f+(D<<4)+20>>2]|0;E=c[f+(aa+-2<<4)+16>>2]|0;F=c[f+(aa<<4)+16>>2]|0;k=c[f+(aa+-8<<4)+16>>2]|0;G=c[$>>2]|0;w=(c[f+(aa+-10<<4)+16>>2]|0)!=0;do if(w)if(!(c[f+(z<<4)+20>>2]|0)){c[Y>>2]=A;if(!E){p=0;q=0;break}else{s=1;Z=483;break}}else{ph($,29664,_);p=0;q=0;break}else{s=ar($,A,B,Y)|0;if((s|0)>-1&(E|0)!=0)Z=483;else{p=0;q=0}}while(0);do if((Z|0)==483){h=G+65|0;if(!(a[h>>0]|0)){u=G+145|0;if((a[u>>0]|0)!=0&(s|0)!=1){Z=E+12|0;ig(G,c[Z>>2]|0);c[Z>>2]=0}t=Fr($,E)|0;if((a[u>>0]|0)==0?((t|0)!=0?(c[f+(z<<4)+20>>2]|0)==0:0):0)s=(c[t+68>>2]|0)==(c[(c[G+16>>2]|0)+28>>2]|0)?1:s;if((a[h>>0]|0)==0?(O=c[Y>>2]|0,Z=c[$>>2]|0,c[X>>2]=$,Z=c[Z+16>>2]|0,c[X+12>>2]=c[Z+(s<<4)>>2],c[X+4>>2]=c[Z+(s<<4)+12>>2],c[X+16>>2]=10720,c[X+20>>2]=O,c[X+8>>2]=(s|0)==1&1,(Gr(X,E)|0)==0):0){u=Fr($,E)|0;if(!u){if((a[G+144>>0]|0)!=1){p=0;q=0;break}a[G+146>>0]=1;p=0;q=0;break}if(a[u+44>>0]&16){ph($,29712,_);p=0;q=0;break}q=Sq(G,O)|0;if(q)if(!(Hr($,q)|0)){x=G+16|0;Z=Zm((c[(c[x>>2]|0)+(s<<4)+12>>2]|0)+40|0,q,P)|0;if((Z|0)!=0?(c[Z+8>>2]|0)!=0:0)if(!k){c[_>>2]=O;ph($,29760,_);p=0;break}else{wr($,s);p=0;break}v=c[u>>2]|0;if(!(Bc(v,25568,7)|0)){ph($,29792,_);p=$+64|0;c[p>>2]=(c[p>>2]|0)+1;p=0;break}r=c[u+12>>2]|0;if((r|0)!=0&(o|0)!=49){c[_>>2]=(o|0)==35?29872:29880;c[_+4>>2]=E;c[_+8>>2]=0;ph($,29832,_);p=0;break}n=(o|0)==49;if((r|0)==0&n){c[_>>2]=E;c[_+4>>2]=0;ph($,29888,_);p=0;break}m=u+68|0;u=c[m>>2]|0;i:do if(u){t=c[G+20>>2]|0;if((t|0)>0){k=c[x>>2]|0;l=0;while(1){h=l+1|0;if((c[k+(l<<4)+12>>2]|0)==(u|0)){h=l;break i}if((h|0)<(t|0))l=h;else break}}else h=0}else h=-1e6;while(0);u=c[x>>2]|0;k=c[u+(h<<4)>>2]|0;if(w)t=c[u+16>>2]|0;else t=k;u=(h|0)==1;if((Oq($,u|w?5:7,q,v,t)|0)==0?(Oq($,18,u?13184:13208,0,k)|0)==0:0){p=ih(G,36,0)|0;if(!p){p=0;break}v=p+0|0;k=v+36|0;do{a[v>>0]=0;v=v+1|0}while((v|0)<(k|0));c[p>>2]=q;c[p+4>>2]=gh(G,c[E+16>>2]|0)|0;c[p+20>>2]=c[(c[x>>2]|0)+(s<<4)+12>>2];c[p+24>>2]=c[m>>2];a[p+8>>0]=y;a[p+9>>0]=n|(o|0)==35?1:2;c[p+12>>2]=Ir(G,F,1,0)|0;c[p+16>>2]=Jr(G,D)|0;c[$+488>>2]=p;q=0}else p=0}else p=0;else{p=0;q=0}}else{p=0;q=0}}else{p=0;q=0}}while(0);ig(G,q);zo(G,E);Dk(G,D);Ck(G,F);if(!(c[$+488>>2]|0))fg(G,p);if(!(c[f+(z<<4)+20>>2]|0)){Z=A;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;break a}else{Z=B;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;break a}}case 269:case 266:{c[ca>>2]=35;break}case 267:{c[ca>>2]=31;break}case 268:{c[ca>>2]=49;break}case 284:{l=c[$>>2]|0;k=c[f+(aa+-1<<4)+16>>2]|0;h=c[f+(aa<<4)+16>>2]|0;m=a[f+(aa+-5<<4)+16>>0]|0;n=Kr(l,110,f+(aa+-4<<4)+16|0)|0;if(n){c[n+24>>2]=Lr(l,k,1)|0;c[n+20>>2]=Ir(l,h,1,0)|0;a[n+1>>0]=m}Jk(l,k);Ck(l,h);c[ca>>2]=n;break}case 271:case 270:{c[ca>>2]=d[f+(aa<<4)+14>>0];c[ca+4>>2]=0;break}case 272:{c[ca>>2]=110;c[ca+4>>2]=c[f+(aa<<4)+16>>2];break}case 296:case 275:{c[ca>>2]=0;break}case 297:case 276:{c[ca>>2]=c[f+(aa<<4)+16>>2];break}case 277:{_=f+(aa+-1<<4)+16|0;$=f+(aa+-2<<4)+16|0;c[(c[(c[$>>2]|0)+36>>2]|0)+32>>2]=c[_>>2];c[(c[$>>2]|0)+36>>2]=c[_>>2];c[ca>>2]=c[$>>2];break}case 278:{$=f+(aa+-1<<4)+16|0;_=c[$>>2]|0;c[_+36>>2]=_;c[ca>>2]=c[$>>2];break}case 282:{ph($,20736,_);break}case 280:{X=f+(aa<<4)+16|0;Y=c[X+4>>2]|0;Z=ca;c[Z>>2]=c[X>>2];c[Z+4>>2]=Y;ph($,20640,_);break}case 283:{ph($,20824,_);break}case 286:{h=c[$>>2]|0;k=c[f+(aa<<4)+16>>2]|0;l=Kr(h,109,f+(aa+-2<<4)+16|0)|0;if(l){c[l+20>>2]=Ir(h,k,1,0)|0;a[l+1>>0]=10}Ck(h,k);c[ca>>2]=l;break}case 287:{l=c[$>>2]|0;n=c[f+(aa<<4)+16>>2]|0;h=ih(l,40,0)|0;if(!h){Ik(l,n,1);h=0}else{v=h+0|0;k=v+40|0;do{a[v>>0]=0;v=v+1|0}while((v|0)<(k|0));a[h>>0]=119;c[h+8>>2]=n;a[h+1>>0]=10}c[ca>>2]=h;break}case 285:{n=c[$>>2]|0;m=c[f+(aa+-1<<4)+16>>2]|0;l=c[f+(aa<<4)+16>>2]|0;k=a[f+(aa+-4<<4)+16>>0]|0;h=Kr(n,108,f+(aa+-2<<4)+16|0)|0;if(!h)Dk(n,m);else{c[h+8>>2]=cr(n,l,1)|0;c[h+28>>2]=m;a[h+1>>0]=k}Ik(n,l,1);c[ca>>2]=h;break}case 288:{h=Vq($,57,0,0,0)|0;c[ca>>2]=h;if(h)a[h+1>>0]=4;c[ca+4>>2]=c[f+(aa+-3<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 289:{h=Vq($,57,0,0,f+(aa+-1<<4)+16|0)|0;c[ca>>2]=h;if(h)a[h+1>>0]=c[f+(aa+-3<<4)+16>>2];c[ca+4>>2]=c[f+(aa+-5<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 290:{c[ca>>2]=1;break}case 292:{c[ca>>2]=3;break}case 293:{k=c[f+(aa<<4)+16>>2]|0;h=c[f+(aa+-1<<4)+16>>2]|0;t=c[$>>2]|0;do if((a[t+65>>0]|0)==0?(Cn($)|0)==0:0){u=c[k+12>>2]|0;s=c[k+16>>2]|0;r=t+20|0;if((c[r>>2]|0)>0){n=(u|0)==0;m=t+16|0;l=0;p=0;do{o=(l|0)<2^l;q=c[m>>2]|0;if(!(!n?($c(c[q+(o<<4)>>2]|0,u)|0)!=0:0)){q=Zm((c[q+(o<<4)+12>>2]|0)+40|0,s,I)|0;if(q){p=c[q+8>>2]|0;if(p)break}else p=0}l=l+1|0}while((l|0)<(c[r>>2]|0));if(p){Mr($,p);break}}if(!h){c[_>>2]=k;c[_+4>>2]=0;ph($,29600,_)}else vr($,u);a[$+17>>0]=1}while(0);zo(t,k);break}case 294:{_=c[f+(aa+-3<<4)+16>>2]|0;Nr($,24,29360,_,_,c[f+(aa+-1<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0);break}case 303:{Pr($,f+(aa+-1<<4)+16|0,f+(aa<<4)+16|0);break}case 304:{w=c[f+(aa+-3<<4)+16>>2]|0;u=f+(aa<<4)+16|0;v=c[$>>2]|0;k=v+24|0;l=c[k>>2]|0;do if((a[v+65>>0]|0)==0?(U=Qr($,0,w+8|0)|0,(U|0)!=0):0){q=c[$>>2]|0;x=U+68|0;s=c[x>>2]|0;j:do if(s){r=c[q+20>>2]|0;if((r|0)>0){q=c[q+16>>2]|0;o=0;while(1){p=o+1|0;if((c[q+(o<<4)+12>>2]|0)==(s|0)){p=o;break j}if((p|0)<(r|0))o=p;else break}}else p=0}else p=-1e6;while(0);h=c[(c[v+16>>2]|0)+(p<<4)>>2]|0;c[k>>2]=c[k>>2]|2097152;n=Sq(v,u)|0;if(n){if((Wh(v,n,h)|0)==0?(Zp(v,n,h)|0)==0:0){if(Rr($,c[U>>2]|0)|0)break;if(Hr($,n)|0)break;q=c[U>>2]|0;if(c[U+12>>2]|0){c[_>>2]=q;ph($,26088,_);break}if(Oq($,26,h,q,0)|0)break;if(dr($,U)|0)break;if(!(a[U+44>>0]&16))m=0;else{q=c[U+60>>2]|0;k:do if(!q)q=0;else while(1){if((c[q>>2]|0)==(v|0))break k;q=c[q+24>>2]|0;if(!q){q=0;break}}while(0);m=(c[(c[c[q+8>>2]>>2]|0)+76>>2]|0)==0?0:q}q=Kq($)|0;if(!q)break;Z=(m|0)!=0;o=$+408|0;Y=c[o>>2]|0;Y=(Y|0)==0?$:Y;wr($,p);X=Y+328|0;c[X>>2]=c[X>>2]|1<<p;Y=Y+20|0;a[Y>>0]=d[Y>>0]|Z&1;zr($,p);if(Z){Y=$+72|0;Z=(c[Y>>2]|0)+1|0;c[Y>>2]=Z;th(q,sh(q,97,0,Z,0)|0,n,0);th(q,sh(q,152,Z,0,0)|0,m,-10);Z=c[o>>2]|0;a[((Z|0)==0?$:Z)+21>>0]=1}u=c[U>>2]|0;t=Jn(u,-1)|0;do if((c[k>>2]&524288|0)!=0?(Q=Zm((c[x>>2]|0)+56|0,u,S)|0,(Q|0)!=0):0){q=c[Q+8>>2]|0;if(!q)break;o=q;q=0;do{q=Sr(c[$>>2]|0,q,c[c[o>>2]>>2]|0)|0;o=c[o+12>>2]|0}while((o|0)!=0);if(!q)break;c[_>>2]=h;c[_+4>>2]=(p|0)==1?13184:13208;c[_+8>>2]=u;c[_+12>>2]=n;c[_+16>>2]=q;xr($,26120,_);ig(v,q)}while(0);c[_>>2]=h;c[_+4>>2]=(p|0)==1?13184:13208;c[_+8>>2]=n;c[_+12>>2]=n;c[_+16>>2]=n;c[_+20>>2]=n;c[_+24>>2]=n;c[_+28>>2]=t;c[_+32>>2]=u;xr($,26192,_);if(Wh(v,26576,h)|0){Z=c[U>>2]|0;c[_>>2]=h;c[_+4>>2]=n;c[_+8>>2]=Z;xr($,26592,_)}p=Tr($,U)|0;if(p){c[_>>2]=n;c[_+4>>2]=n;c[_+8>>2]=p;xr($,26656,_);ig(v,p)}do if(c[k>>2]&524288){p=Zm((c[x>>2]|0)+56|0,c[U>>2]|0,_)|0;if(!p)break;p=c[p+8>>2]|0;if(!p)break;do{o=c[p>>2]|0;if((o|0)!=(U|0))Ur($,o,c[o>>2]|0);p=c[p+12>>2]|0}while((p|0)!=0)}while(0);Ur($,U,n);break}c[_>>2]=n;ph($,26024,_)}else n=0}else n=0;while(0);zo(v,w);ig(v,n);c[k>>2]=l;break}case 295:{_=c[f+(aa<<4)+16>>2]|0;Nr($,25,29176,_,0,0,_);break}case 300:{Or($,0,0);break}case 302:{Pr($,0,0);break}case 301:{Or($,f+(aa+-1<<4)+16|0,f+(aa<<4)+16|0);break}case 305:{v=c[$>>2]|0;if((c[$+64>>2]|0)==0?(J=v+65|0,(a[J>>0]|0)==0):0){l=c[$+484>>2]|0;q=c[l+68>>2]|0;l:do if(q){p=c[v+20>>2]|0;if((p|0)>0){o=c[v+16>>2]|0;m=0;while(1){n=m+1|0;if((c[o+(m<<4)+12>>2]|0)==(q|0)){x=m;break l}if((n|0)<(p|0))m=n;else{x=n;break}}}else x=0}else x=-1e6;while(0);h=c[(c[v+16>>2]|0)+(x<<4)>>2]|0;k=(c[l>>2]|0)+16|0;r=(b[l+38>>1]|0)+-1|0;p=c[l+4>>2]|0;q=c[p+(r*24|0)+4>>2]|0;w=Wh(v,k,h)|0;if(!(Oq($,26,h,c[w>>2]|0,0)|0)){if(!q)s=0;else s=(a[q>>0]|0)==101?0:q;if(a[p+(r*24|0)+23>>0]&1){ph($,25608,_);break a}if(c[l+8>>2]|0){ph($,25640,_);break a}u=v+24|0;if((c[u>>2]&524288|0)!=0?(c[l+16>>2]|0)!=0&(s|0)!=0:0){ph($,25672,_);break a}t=(s|0)!=0;if(!((a[p+(r*24|0)+20>>0]|0)==0|t)){ph($,25736,_);break a}do if(t){c[L>>2]=0;if(Vr(v,s,1,65,L)|0){a[J>>0]=1;break a}q=c[L>>2]|0;if(!q){ph($,25792,_);break a}else{Ih(q);break}}while(0);q=c[f+(aa<<4)+16>>2]|0;p=f+(aa<<4)+20|0;o=c[p>>2]|0;if((q|0)!=0?(R=fw(o|0,0,1,0)|0,R=ih(v,R,C)|0,(R|0)!=0):0){gw(R|0,q|0,o|0)|0;a[R+o>>0]=0;q=(c[p>>2]|0)+-1|0;p=c[u>>2]|0;m:do if((q|0)>0){q=R+q|0;do{Y=a[q>>0]|0;if(Y<<24>>24!=59?(a[10368+(Y&255)>>0]&1)==0:0)break m;a[q>>0]=0;q=q+-1|0}while(q>>>0>R>>>0)}while(0);c[u>>2]=c[u>>2]|2097152;Y=c[l+48>>2]|0;c[_>>2]=h;c[_+4>>2]=(x|0)==1?13184:13208;c[_+8>>2]=Y;c[_+12>>2]=R;c[_+16>>2]=Y+1;c[_+20>>2]=k;xr($,25840,_);ig(v,R);c[u>>2]=p}q=t?3:2;s=Kq($)|0;if(s){p=$+19|0;n=a[p>>0]|0;do if(n<<24>>24){_=n+-1<<24>>24;a[p>>0]=_;o=c[$+((_&255)<<2)+24>>2]|0;if(!(_<<24>>24)){p=c[$+72>>2]|0;Z=663;break}else{k=n+-2<<24>>24;a[p>>0]=k;k=c[$+((k&255)<<2)+24>>2]|0;break}}else{o=$+72|0;p=(c[o>>2]|0)+1|0;c[o>>2]=p;o=p;Z=663}while(0);if((Z|0)==663){k=p+1|0;c[$+72>>2]=k}sh(s,51,x,o,2)|0;m=s+96|0;c[m>>2]=c[m>>2]|1<<x;sh(s,25,q,k,0)|0;m=sh(s,83,k,0,o)|0;l=s+4|0;n=c[l>>2]|0;p=s+32|0;if(n)a[n+(((c[p>>2]|0)+-1|0)*20|0)+3>>0]=-112;sh(s,52,x,2,k)|0;p=c[p>>2]|0;if(p>>>0>m>>>0)c[(c[l>>2]|0)+(m*20|0)+8>>2]=p;c[(c[s+24>>2]|0)+88>>2]=p+-1;Wr($,o);Wr($,k)}Ur($,w,c[w>>2]|0)}}break}case 306:{t=c[$>>2]|0;a[t+250>>0]=0;h=c[f+(aa<<4)+16>>2]|0;u=t+65|0;do if((a[u>>0]|0)==0?(N=Qr($,0,h+8|0)|0,(N|0)!=0):0){if(a[N+44>>0]&16){ph($,25400,_);break}if(c[N+12>>2]|0){ph($,25440,_);break}if(!(Rr($,c[N>>2]|0)|0)){p=c[N+68>>2]|0;n:do if(p){o=c[t+20>>2]|0;if((o|0)>0){n=c[t+16>>2]|0;q=0;while(1){m=q+1|0;if((c[n+(q<<4)+12>>2]|0)==(p|0)){m=q;break n}if((m|0)<(o|0))q=m;else break}}else m=0}else m=-1e6;while(0);s=ih(t,76,0)|0;if(s){v=s+0|0;k=v+76|0;do{a[v>>0]=0;v=v+1|0}while((v|0)<(k|0));c[$+484>>2]=s;o=s+40|0;b[o>>1]=1;q=b[N+38>>1]|0;n=s+38|0;b[n>>1]=q;q=((((q<<16>>16)+-1|0)/8|0)*192|0)+192|0;p=ih(t,q,0)|0;if(p)bw(p|0,0,q|0)|0;q=s+4|0;c[q>>2]=p;c[_>>2]=c[N>>2];_=qh(t,25472,_)|0;c[s>>2]=_;p=c[q>>2]|0;if((p|0)==0|(_|0)==0){a[u>>0]=1;break}gw(p|0,c[N+4>>2]|0,(b[n>>1]|0)*24|0)|0;if((b[n>>1]|0)>0){p=0;do{_=c[q>>2]|0;Z=_+(p*24|0)|0;c[Z>>2]=gh(t,c[Z>>2]|0)|0;_=_+(p*24|0)+4|0;p=p+1|0;c[_+0>>2]=0;c[_+4>>2]=0;c[_+8>>2]=0;c[_+12>>2]=0}while((p|0)<(b[n>>1]|0))}c[s+68>>2]=c[(c[t+16>>2]|0)+(m<<4)+12>>2];c[s+48>>2]=c[N+48>>2];b[o>>1]=1;_=c[$+408>>2]|0;wr($,m);_=((_|0)==0?$:_)+328|0;c[_>>2]=c[_>>2]|1<<m;if(Kq($)|0)zr($,m)}}}while(0);zo(t,h);break}case 309:{Xr($,0);break}case 310:{Xr($,f+(aa<<4)+16|0);break}case 311:{k=f+(aa<<4)+16|0;Qq($,f+(aa+-3<<4)+16|0,f+(aa+-2<<4)+16|0,0,0,1,c[f+(aa+-4<<4)+16>>2]|0);q=c[$+484>>2]|0;if(q){h=c[$>>2]|0;p=c[q+68>>2]|0;o:do if(p){o=c[h+20>>2]|0;if((o|0)>0){m=c[h+16>>2]|0;l=0;while(1){n=l+1|0;if((c[m+(l<<4)+12>>2]|0)==(p|0)){n=l;break o}if((n|0)<(o|0))l=n;else break}}else n=0}else n=-1e6;while(0);l=q+44|0;a[l>>0]=d[l>>0]|16;c[q+52>>2]=0;Yr(h,q,Sq(h,k)|0);Yr(h,q,0);Yr(h,q,gh(h,c[q>>2]|0)|0);c[$+500>>2]=(c[k>>2]|0)+(c[f+(aa<<4)+20>>2]|0)-(c[$+496>>2]|0);l=c[q+56>>2]|0;if(l)Oq($,29,c[q>>2]|0,c[l>>2]|0,c[(c[(c[$>>2]|0)+16>>2]|0)+(n<<4)>>2]|0)|0}break}case 322:{c[ca>>2]=0;break}case 324:case 323:{c[ca>>2]=c[f+(aa<<4)+16>>2];break}case 325:{c[ca>>2]=_r($,0,f+(aa+-5<<4)+16|0,c[f+(aa+-4<<4)+16>>2]|0,c[f+(aa+-1<<4)+16>>2]|0)|0;break}case 326:{c[ca>>2]=_r($,c[f+(aa+-7<<4)+16>>2]|0,f+(aa+-5<<4)+16|0,c[f+(aa+-4<<4)+16>>2]|0,c[f+(aa+-1<<4)+16>>2]|0)|0;break}case 314:{Zr($);c[$+512>>2]=0;c[$+516>>2]=0;break}case 318:case 317:case 316:{l=$+512|0;k=c[l>>2]|0;h=c[f+(aa<<4)+16>>2]|0;if(!k){c[l>>2]=h;h=c[f+(aa<<4)+20>>2]|0}else h=h+(c[f+(aa<<4)+20>>2]|0)-k|0;c[$+516>>2]=h;break}case 13:{c[ca>>2]=7;break}case 117:case 115:case 16:case 15:case 14:{c[ca>>2]=d[f+(aa<<4)+14>>0];break}case 18:case 17:{if((Oq($,22,37136,0,0)|0)==0?(y=Kq($)|0,(y|0)!=0):0)sh(y,3,1,0,0)|0;break}case 19:{if((Oq($,22,37120,0,0)|0)==0?(x=Kq($)|0,(x|0)!=0):0)sh(x,3,1,1,0)|0;break}case 74:{c[ca>>2]=c[f+(aa<<4)+16>>2];c[ca+4>>2]=255;break}case 76:{c[ca>>2]=7;break}case 75:{c[ca>>2]=c[f+(aa<<4)+16>>2]<<8;c[ca+4>>2]=65280;break}case 77:{c[ca>>2]=8;break}case 78:{c[ca>>2]=9;break}case 79:{c[ca>>2]=6;break}case 80:{c[ca>>2]=0;break}case 103:case 100:case 98:case 82:{c[ca>>2]=c[f+(aa<<4)+16>>2];break}case 86:{c[ca+4>>2]=0;c[ca>>2]=0;break}case 71:{c[ca>>2]=c[f+(aa+-1<<4)+16>>2]&~c[f+(aa<<4)+20>>2]|c[f+(aa<<4)+16>>2];break}case 73:case 72:{c[ca>>2]=0;c[ca+4>>2]=0;break}case 93:{Wq($,c[f+(aa+-3<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0,c[f+(aa+-2<<4)+16>>2]|0,0);break}case 94:{Xq($,0,0,0,c[f+(aa+-2<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0,0,0,0,0)|0;break}case 95:{Yq($,c[f+(aa+-2<<4)+16>>2]|0);break}case 87:{Z=f+(aa+-1<<4)+16|0;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;break}case 90:{c[$+324>>2]=0;break}case 104:{c[ca>>2]=4;break}case 105:{c[ca>>2]=5;break}case 106:{$q($,c[f+(aa<<4)+16>>2]|0,0,c[f+(aa+-1<<4)+16>>2]|0);break}case 109:{h=aa+-7|0;o=f+(aa+-3<<4)+16|0;n=f+(aa+-2<<4)+16|0;u=c[f+(aa<<4)+16>>2]|0;q=c[f+(aa+-6<<4)+16>>2]|0;p=c[f+(aa+-4<<4)+16>>2]|0;c[F>>2]=0;t=c[$>>2]|0;if((c[$+440>>2]|0)>0){ph($,35440,_);Ik(t,u,1);break a}Qq($,o,n,q,1,0,p);l=c[$+484>>2]|0;if((l|0)!=0?(c[$+64>>2]|0)==0:0){ar($,o,n,F)|0;q=c[l+68>>2]|0;p:do if(q){o=c[t+20>>2]|0;if((o|0)>0){n=c[t+16>>2]|0;m=0;while(1){p=m+1|0;if((c[n+(m<<4)+12>>2]|0)==(q|0)){p=m;break p}if((p|0)<(o|0))m=p;else break}}else p=0}else p=-1e6;while(0);_=c[F>>2]|0;Z=c[$>>2]|0;c[X>>2]=$;Z=c[Z+16>>2]|0;c[X+12>>2]=c[Z+(p<<4)>>2];c[X+4>>2]=c[Z+(p<<4)+12>>2];c[X+16>>2]=35480;c[X+20>>2]=_;c[X+8>>2]=(p|0)==1&1;if(br(X,u)|0){Ik(t,u,1);break a}c[l+12>>2]=cr(t,u,1)|0;Ik(t,u,1);if(a[t+65>>0]|0)break a;if(!(a[t+145>>0]|0))dr($,l)|0;n=$+504|0;m=c[n>>2]|0;n=c[n+4>>2]|0;_=Y;c[_>>2]=m;c[_+4>>2]=n;_=a[m>>0]|0;if(!(_<<24>>24==59|_<<24>>24==0)){m=m+n|0;c[Y>>2]=m}o=Y+4|0;c[o>>2]=0;p=c[f+(h<<4)+16>>2]|0;n=m-p|0;do{_=n;n=n+-1|0;l=p+n|0;if((_|0)<=0)break}while((a[10368+(d[l>>0]|0)>>0]&1)!=0);c[Y>>2]=l;c[o>>2]=1;Rq($,0,Y,0,0);break a}Ik(t,u,1);break}case 96:{Zq($,c[f+(aa+-6<<4)+16>>2]|0,f+(aa+-3<<4)+16|0,c[f+(aa+-2<<4)+16>>2]|0,c[f+(aa+-1<<4)+16>>2]|0);k=c[f+(aa<<4)+16>>2]|0;l=c[$+484>>2]|0;if((l|0)!=0?(n=c[l+16>>2]|0,(n|0)!=0):0)a[n+24>>0]=k;break}case 99:{c[ca>>2]=10;break}case 101:{a[ca>>0]=10;break}case 102:{a[ca>>0]=c[f+(aa<<4)+16>>2];break}case 110:{$q($,c[f+(aa<<4)+16>>2]|0,1,c[f+(aa+-1<<4)+16>>2]|0);break}case 111:{c[w+0>>2]=c[5124];c[w+4>>2]=c[5125];c[w+8>>2]=c[5126];c[w+12>>2]=c[5127];c[w+16>>2]=c[5128];_=f+(aa<<4)+16|0;er($,c[_>>2]|0,w)|0;Ik(c[$>>2]|0,c[_>>2]|0,1);break}case 112:{q=c[f+(aa<<4)+16>>2]|0;do if(q){c[q+68>>2]=c[f+(aa+-1<<4)+16>>2];l=c[q+52>>2]|0;if(l){m=128;n=1;o=q;p=0;while(1){c[o+56>>2]=p;Y=o+6|0;Z=e[Y>>1]|64;b[Y>>1]=Z;m=Z&m;if(!l)break;Z=l;l=c[l+52>>2]|0;n=n+1|0;p=o;o=Z}if(m){$=q+6|0;b[$>>1]=e[$>>1]|256;break}Z=c[(c[$>>2]|0)+104>>2]|0;if((Z|0)>0&(n|0)>(Z|0))ph($,20520,_)}}else Mn(c[$>>2]|0,c[f+(aa+-1<<4)+16>>2]|0);while(0);c[ca>>2]=q;break}case 120:{c[ca>>2]=gr($,c[f+(aa+-1<<4)+16>>2]|0,0,0,0,0,0,128,0,0)|0;break}case 118:{c[ca>>2]=gr($,c[f+(aa+-6<<4)+16>>2]|0,c[f+(aa+-5<<4)+16>>2]|0,c[f+(aa+-4<<4)+16>>2]|0,c[f+(aa+-3<<4)+16>>2]|0,c[f+(aa+-2<<4)+16>>2]|0,c[f+(aa+-1<<4)+16>>2]|0,b[f+(aa+-7<<4)+16>>1]|0,c[f+(aa<<4)+16>>2]|0,c[f+(aa<<4)+20>>2]|0)|0;break}case 119:case 113:{c[ca>>2]=c[f+(aa<<4)+16>>2];break}case 114:{h=c[f+(aa<<4)+16>>2]|0;do if(h){if(c[h+52>>2]|0){c[l+4>>2]=0;h=gr($,0,fr($,0,0,0,l,h,0,0)|0,0,0,0,0,0,0,0)|0;if(!h){Z=192;break}}_=c[f+(aa+-1<<4)+16>>2]|0;a[h+4>>0]=_;c[h+52>>2]=c[f+(aa+-2<<4)+16>>2];if((_|0)!=116)a[$+22>>0]=1}else Z=192;while(0);if((Z|0)==192){Ik(c[$>>2]|0,c[f+(aa+-2<<4)+16>>2]|0,1);h=0}c[ca>>2]=h;break}case 160:case 158:{c[ca>>2]=0;break}case 159:{c[ca>>2]=1;break}case 165:{c[ca>>2]=0;c[ca+4>>2]=0;break}case 172:{l=c[f+(aa+-7<<4)+16>>2]|0;if(l){Z=$+532|0;c[l+4>>2]=c[Z>>2];c[Z>>2]=l;a[$+449>>0]=1}m=f+(aa+-4<<4)+16|0;kr($,c[m>>2]|0,f+(aa+-3<<4)+16|0);n=f+(aa+-1<<4)+16|0;l=c[n>>2]|0;if(l){if((c[l>>2]|0)>(c[(c[$>>2]|0)+96>>2]|0)){c[_>>2]=20560;ph($,34544,_);l=c[n>>2]|0}}else l=0;or($,c[m>>2]|0,l,c[f+(aa<<4)+16>>2]|0,d[f+(aa+-5<<4)+16>>0]|0);break}case 176:{h=c[f+(aa+-6<<4)+16>>2]|0;if(h){_=$+532|0;c[h+4>>2]=c[_>>2];c[_>>2]=h;a[$+449>>0]=1}pr($,c[f+(aa+-3<<4)+16>>2]|0,0,c[f+(aa+-2<<4)+16>>2]|0,d[f+(aa+-5<<4)+16>>0]|0);break}case 173:{_=hr($,c[f+(aa+-4<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0)|0;c[ca>>2]=_;ir($,_,f+(aa+-2<<4)+16|0,1);break}case 174:{_=hr($,0,c[f+(aa<<4)+16>>2]|0)|0;c[ca>>2]=_;ir($,_,f+(aa+-2<<4)+16|0,1);break}case 175:{h=c[f+(aa+-5<<4)+16>>2]|0;if(h){_=$+532|0;c[h+4>>2]=c[_>>2];c[_>>2]=h;a[$+449>>0]=1}pr($,c[f+(aa+-2<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0,c[f+(aa+-1<<4)+16>>2]|0,d[f+(aa+-4<<4)+16>>0]|0);break}case 181:{c[ca>>2]=qr(c[$>>2]|0,c[f+(aa+-2<<4)+16>>2]|0,f+(aa<<4)+16|0)|0;break}case 182:{c[ca>>2]=qr(c[$>>2]|0,0,f+(aa<<4)+16|0)|0;break}case 183:{$=f+(aa<<4)+16|0;c[ca+0>>2]=c[$+0>>2];c[ca+4>>2]=c[$+4>>2];c[ca+8>>2]=c[$+8>>2];break}case 177:{a[ca>>0]=a[f+(aa<<4)+16>>0]|0;break}case 178:{a[ca>>0]=5;break}case 184:{c[ca>>2]=c[f+(aa+-1<<4)+16>>2];c[ca+4>>2]=c[f+(aa+-2<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 191:case 190:case 185:{_=f+(aa<<4)+16|0;c[ca>>2]=Vq($,d[f+(aa<<4)+14>>0]|0,0,0,_)|0;$=c[_>>2]|0;c[ca+4>>2]=$;c[ca+8>>2]=$+(c[f+(aa<<4)+20>>2]|0);break}case 187:case 186:{_=f+(aa<<4)+16|0;c[ca>>2]=Vq($,27,0,0,_)|0;$=c[_>>2]|0;c[ca+4>>2]=$;c[ca+8>>2]=$+(c[f+(aa<<4)+20>>2]|0);break}case 188:{Z=f+(aa+-2<<4)+16|0;_=f+(aa<<4)+16|0;c[ca>>2]=Vq($,122,Vq($,27,0,0,Z)|0,Vq($,27,0,0,_)|0,0)|0;c[ca+4>>2]=c[Z>>2];c[ca+8>>2]=(c[_>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 189:{Z=f+(aa+-4<<4)+16|0;_=f+(aa<<4)+16|0;c[ca>>2]=Vq($,122,Vq($,27,0,0,Z)|0,Vq($,122,Vq($,27,0,0,f+(aa+-2<<4)+16|0)|0,Vq($,27,0,0,_)|0,0)|0,0)|0;c[ca+4>>2]=c[Z>>2];c[ca+8>>2]=(c[_>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 192:{u=f+(aa<<4)+16|0;t=f+(aa<<4)+20|0;do if(((c[t>>2]|0)>>>0>1?(z=c[u>>2]|0,(a[z>>0]|0)==35):0)?((d[z+1>>0]|0)+-48|0)>>>0<10:0){if(!(a[$+18>>0]|0)){c[_>>2]=u;ph($,20432,_);c[ca>>2]=0;break}o=Vq($,159,0,0,u)|0;c[ca>>2]=o;if(o)zn((c[u>>2]|0)+1|0,o+28|0)|0}else Z=298;while(0);q:do if((Z|0)==298?(M=Vq($,135,0,0,u)|0,c[ca>>2]=M,T=c[u>>2]|0,c[ca+4>>2]=T,c[ca+8>>2]=T+(c[t>>2]|0),T=c[$>>2]|0,(M|0)!=0):0){w=c[M+8>>2]|0;o=w+1|0;do if(a[o>>0]|0){v=(w|0)==0;if(v)x=0;else{q=w;while(1)if(!(a[q>>0]|0))break;else q=q+1|0;x=q-w&1073741823}r:do if((a[w>>0]|0)==63){Y=Ql(o,E,x+-1|0,1)|0;m=E;n=c[m>>2]|0;m=c[m+4>>2]|0;q=n&65535;b[M+32>>1]=q;o=c[T+124>>2]|0;Z=((o|0)<0)<<31>>31;if((m|0)<0|(m|0)==0&n>>>0<1|(Y|0)!=0|((m|0)>(Z|0)|(m|0)==(Z|0)&n>>>0>o>>>0)){c[_>>2]=o;ph($,33296,_);q=0}o=$+440|0;Z=c[o>>2]|0;Y=((Z|0)<0)<<31>>31;if((m|0)>(Y|0)|(m|0)==(Y|0)&n>>>0>Z>>>0)c[o>>2]=n}else{o=c[$+444>>2]|0;s:do if((o|0)>0){n=c[$+472>>2]|0;q=0;l=0;while(1){m=c[n+(q<<2)>>2]|0;if((m|0)!=0?(Wv(m,w)|0)==0:0)break;l=l+1<<16>>16;q=l<<16>>16;if((q|0)>=(o|0)){Z=315;break s}}q=q+1&65535;o=M+32|0;b[o>>1]=q;if(q<<16>>16)break r}else Z=315;while(0);if((Z|0)==315)o=M+32|0;Z=$+440|0;q=(c[Z>>2]|0)+1|0;c[Z>>2]=q;q=q&65535;b[o>>1]=q}while(0);m=q<<16>>16;if(q<<16>>16>0){q=$+444|0;if((m|0)>(c[q>>2]|0)){o=$+472|0;n=no(T,c[o>>2]|0,m<<2,0)|0;if(!n)break q;c[o>>2]=n;Z=c[q>>2]|0;bw(n+(Z<<2)|0,0,m-Z<<2|0)|0;c[q>>2]=m}if((a[w>>0]|0)==63){o=m+-1|0;if(!(c[(c[$+472>>2]|0)+(o<<2)>>2]|0))q=0;else break}else{q=m+-1|0;o=q;q=c[(c[$+472>>2]|0)+(q<<2)>>2]|0}n=$+472|0;ig(T,q);if(!v?(p=fw(x|0,0,1,0)|0,p=ih(T,p,C)|0,(p|0)!=0):0){gw(p|0,w|0,x|0)|0;a[p+x>>0]=0}else p=0;c[(c[n>>2]|0)+(o<<2)>>2]=p}}else{Y=$+440|0;Z=(c[Y>>2]|0)+1|0;c[Y>>2]=Z;b[M+32>>1]=Z}while(0);if((c[$+64>>2]|0)==0?(c[$+440>>2]|0)>(c[T+124>>2]|0):0)ph($,33344,_)}while(0);$=c[u>>2]|0;c[ca+4>>2]=$;c[ca+8>>2]=$+(c[t>>2]|0);break}case 196:{_=f+(aa+-3<<4)+16|0;c[ca>>2]=sr($,0,_)|0;c[ca+4>>2]=c[_>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 197:{_=f+(aa<<4)+16|0;c[ca>>2]=sr($,0,_)|0;$=c[_>>2]|0;c[ca+4>>2]=$;c[ca+8>>2]=$+(c[f+(aa<<4)+20>>2]|0);break}case 193:{Z=aa+-2|0;_=f+(aa<<4)+16|0;c[ca>>2]=rr($,c[f+(Z<<4)+16>>2]|0,_,1)|0;c[ca+4>>2]=c[f+(Z<<4)+20>>2];c[ca+8>>2]=(c[_>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 194:{c[ca>>2]=Vq($,38,c[f+(aa+-3<<4)+16>>2]|0,0,f+(aa+-1<<4)+16|0)|0;c[ca+4>>2]=c[f+(aa+-5<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 195:{l=f+(aa+-1<<4)+16|0;h=c[l>>2]|0;if(h){if((c[h>>2]|0)>(c[(c[$>>2]|0)+112>>2]|0)){c[_>>2]=f+(aa+-4<<4)+16;ph($,20576,_);h=c[l>>2]|0}}else h=0;_=f+(aa+-4<<4)+16|0;h=sr($,h,_)|0;c[ca>>2]=h;c[ca+4>>2]=c[_>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);if(!((h|0)==0?1:(b[f+(aa+-2<<4)+16>>1]|0)==0)){$=h+4|0;c[$>>2]=c[$>>2]|16}break}case 205:case 204:case 203:case 202:case 201:case 200:case 199:case 198:{_=aa+-2|0;c[ca>>2]=Vq($,d[f+(aa+-1<<4)+14>>0]|0,c[f+(_<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0,0)|0;c[ca+4>>2]=c[f+(_<<4)+20>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];break}case 206:{Z=f+(aa<<4)+16|0;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;c[ca+8>>2]=0;break}case 207:{Z=f+(aa<<4)+16|0;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;c[ca+8>>2]=1;break}case 208:{l=aa+-2|0;_=aa+-1|0;h=sr($,hr($,hr($,0,c[f+(aa<<4)+16>>2]|0)|0,c[f+(l<<4)+16>>2]|0)|0,f+(_<<4)+16|0)|0;c[ca>>2]=h;if(c[f+(_<<4)+24>>2]|0){h=Vq($,19,h,0,0)|0;c[ca>>2]=h}c[ca+4>>2]=c[f+(l<<4)+20>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];if(h){$=h+4|0;c[$>>2]=c[$>>2]|128}break}case 210:{_=aa+-1|0;c[ca>>2]=Vq($,d[f+(aa<<4)+14>>0]|0,c[f+(_<<4)+16>>2]|0,0,0)|0;c[ca+4>>2]=c[f+(_<<4)+20>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 209:{l=aa+-4|0;_=aa+-3|0;h=sr($,hr($,hr($,hr($,0,c[f+(aa+-2<<4)+16>>2]|0)|0,c[f+(l<<4)+16>>2]|0)|0,c[f+(aa<<4)+16>>2]|0)|0,f+(_<<4)+16|0)|0;c[ca>>2]=h;if(c[f+(_<<4)+24>>2]|0){h=Vq($,19,h,0,0)|0;c[ca>>2]=h}c[ca+4>>2]=c[f+(l<<4)+20>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];if(h){$=h+4|0;c[$>>2]=c[$>>2]|128}break}case 223:{l=f+(aa+-1<<4)+16|0;h=c[l>>2]|0;do if(h){if((c[h>>2]|0)==1){_=c[h+4>>2]|0;h=c[_>>2]|0;c[_>>2]=0;Jk(c[$>>2]|0,c[l>>2]|0);if(h){_=h+4|0;c[_>>2]=c[_>>2]&-769|512}c[ca>>2]=Vq($,(c[f+(aa+-3<<4)+16>>2]|0)!=0?78:79,c[f+(aa+-4<<4)+16>>2]|0,h,0)|0;break}h=Vq($,75,c[f+(aa+-4<<4)+16>>2]|0,0,0)|0;c[ca>>2]=h;if(!h){Jk(c[$>>2]|0,c[l>>2]|0);h=0}else{c[h+20>>2]=c[l>>2];h=c[ca>>2]|0;ur($,h)}if(c[f+(aa+-3<<4)+16>>2]|0)c[ca>>2]=Vq($,19,h,0,0)|0}else{c[ca>>2]=Vq($,132,0,0,20616+(c[f+(aa+-3<<4)+16>>2]<<3)|0)|0;Ck(c[$>>2]|0,c[f+(aa+-4<<4)+16>>2]|0)}while(0);c[ca+4>>2]=c[f+(aa+-4<<4)+20>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 211:{_=aa+-2|0;c[ca>>2]=Vq($,77,c[f+(_<<4)+16>>2]|0,0,0)|0;c[ca+4>>2]=c[f+(_<<4)+20>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 212:{Y=aa+-2|0;Z=f+(aa<<4)+16|0;_=Vq($,73,c[f+(Y<<4)+16>>2]|0,c[Z>>2]|0,0)|0;c[ca>>2]=_;c[ca+4>>2]=c[f+(Y<<4)+20>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];tr($,c[Z>>2]|0,_,76);break}case 213:{Y=aa+-3|0;Z=f+(aa<<4)+16|0;_=Vq($,148,c[f+(Y<<4)+16>>2]|0,c[Z>>2]|0,0)|0;c[ca>>2]=_;c[ca+4>>2]=c[f+(Y<<4)+20>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];tr($,c[Z>>2]|0,_,77);break}case 215:case 214:{_=aa+-1|0;c[ca>>2]=Vq($,d[f+(_<<4)+14>>0]|0,c[f+(aa<<4)+16>>2]|0,0,0)|0;c[ca+4>>2]=c[f+(_<<4)+16>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];break}case 216:{c[ca>>2]=Vq($,157,c[f+(aa<<4)+16>>2]|0,0,0)|0;c[ca+4>>2]=c[f+(aa+-1<<4)+16>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];break}case 217:{c[ca>>2]=Vq($,158,c[f+(aa<<4)+16>>2]|0,0,0)|0;c[ca+4>>2]=c[f+(aa+-1<<4)+16>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];break}case 220:{k=hr($,hr($,0,c[f+(aa+-2<<4)+16>>2]|0)|0,c[f+(aa<<4)+16>>2]|0)|0;l=aa+-4|0;h=Vq($,74,c[f+(l<<4)+16>>2]|0,0,0)|0;c[ca>>2]=h;if(!h)Jk(c[$>>2]|0,k);else c[h+20>>2]=k;if(c[f+(aa+-3<<4)+16>>2]|0)c[ca>>2]=Vq($,19,c[ca>>2]|0,0,0)|0;c[ca+4>>2]=c[f+(l<<4)+20>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];break}case 116:{c[ca>>2]=116;break}case 121:{h=gr($,c[f+(aa+-1<<4)+16>>2]|0,0,0,0,0,0,128,0,0)|0;if(!h){c[ca>>2]=c[f+(aa+-4<<4)+16>>2];break a}else{a[h+4>>0]=116;c[h+52>>2]=c[f+(aa+-4<<4)+16>>2];c[ca>>2]=h;break a}}case 122:{b[ca>>1]=1;break}case 124:case 123:{b[ca>>1]=0;break}case 243:case 125:{c[ca>>2]=c[f+(aa+-1<<4)+16>>2];break}case 242:case 236:case 161:case 154:case 126:{c[ca>>2]=0;break}case 127:{l=aa+-1|0;n=hr($,c[f+(aa+-2<<4)+16>>2]|0,c[f+(l<<4)+16>>2]|0)|0;c[ca>>2]=n;if(c[f+(aa<<4)+20>>2]|0)ir($,n,f+(aa<<4)+16|0,1);p=c[$>>2]|0;if(n){o=(c[n+4>>2]|0)+(((c[n>>2]|0)+-1|0)*20|0)+8|0;ig(p,c[o>>2]|0);m=c[f+(l<<4)+20>>2]|0;n=(c[f+(l<<4)+24>>2]|0)-m|0;if((m|0)!=0?(h=fw(n|0,((n|0)<0)<<31>>31|0,1,0)|0,h=ih(p,h,C)|0,(h|0)!=0):0){gw(h|0,m|0,n|0)|0;a[h+n>>0]=0}else h=0;c[o>>2]=h}break}case 133:{l=ih(c[$>>2]|0,80,0)|0;if(l){v=l+0|0;k=v+80|0;do{a[v>>0]=0;v=v+1|0}while((v|0)<(k|0))}c[ca>>2]=l;break}case 134:{n=c[f+(aa<<4)+16>>2]|0;c[ca>>2]=n;if(n){l=c[n>>2]|0;k=l+-1|0;if((k|0)>0)while(1){a[n+(k*72|0)+44>>0]=a[n+((l+-2|0)*72|0)+44>>0]|0;l=k+-1|0;if((l|0)>0){$=k;k=l;l=$}else break}a[n+44>>0]=0}break}case 128:{Z=c[$>>2]|0;c[_>>2]=0;c[_+4>>2]=0;_=jr(Z,116,_,0)|0;c[ca>>2]=hr($,c[f+(aa+-1<<4)+16>>2]|0,_)|0;break}case 132:{c[ca+4>>2]=0;break}case 129:{_=Vq($,116,0,0,f+(aa<<4)+16|0)|0;_=Vq($,122,Vq($,27,0,0,f+(aa+-2<<4)+16|0)|0,_,0)|0;c[ca>>2]=hr($,c[f+(aa+-3<<4)+16>>2]|0,_)|0;break}case 136:{c[ca>>2]=0;break}case 137:{_=fr($,c[f+(aa+-6<<4)+16>>2]|0,f+(aa+-5<<4)+16|0,f+(aa+-4<<4)+16|0,f+(aa+-3<<4)+16|0,0,c[f+(aa+-1<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0)|0;c[ca>>2]=_;kr($,_,f+(aa+-2<<4)+16|0);break}case 135:{h=c[f+(aa+-1<<4)+16>>2]|0;c[ca>>2]=h;if((h|0)!=0?(t=c[h>>2]|0,(t|0)>0):0)a[h+((t+-1|0)*72|0)+44>>0]=c[f+(aa<<4)+16>>2];break}case 138:{c[ca>>2]=fr($,c[f+(aa+-6<<4)+16>>2]|0,0,0,f+(aa+-2<<4)+16|0,c[f+(aa+-4<<4)+16>>2]|0,c[f+(aa+-1<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0)|0;break}case 139:{l=f+(aa+-6<<4)+16|0;n=c[l>>2]|0;if((((n|0)==0?(c[f+(aa+-2<<4)+20>>2]|0)==0:0)?(c[f+(aa+-1<<4)+16>>2]|0)==0:0)?(c[f+(aa<<4)+16>>2]|0)==0:0){c[ca>>2]=c[f+(aa+-4<<4)+16>>2];break a}p=f+(aa+-4<<4)+16|0;k=c[p>>2]|0;o=c[k>>2]|0;if((o|0)==1){l=fr($,n,0,0,f+(aa+-2<<4)+16|0,0,c[f+(aa+-1<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0)|0;c[ca>>2]=l;if(l){X=(c[l>>2]|0)+-1|0;_=c[p>>2]|0;Z=_+16|0;c[l+(X*72|0)+16>>2]=c[Z>>2];Y=_+12|0;c[l+(X*72|0)+12>>2]=c[Y>>2];_=_+28|0;c[l+(X*72|0)+28>>2]=c[_>>2];c[Y>>2]=0;c[Z>>2]=0;c[_>>2]=0}zo(c[$>>2]|0,c[p>>2]|0);break a}if(k){m=o+-1|0;if((m|0)>0){n=o;while(1){a[k+(m*72|0)+44>>0]=a[k+((n+-2|0)*72|0)+44>>0]|0;n=m+-1|0;if((n|0)>0){_=m;m=n;n=_}else break}}a[k+44>>0]=0}_=gr($,0,k,0,0,0,0,512,0,0)|0;c[ca>>2]=fr($,c[l>>2]|0,0,0,f+(aa+-2<<4)+16|0,_,c[f+(aa+-1<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0)|0;break}case 149:case 140:{c[ca>>2]=0;c[ca+4>>2]=0;break}case 144:{c[ca>>2]=mr($,f+(aa+-1<<4)+16|0,0,0)|0;break}case 145:{c[ca>>2]=mr($,f+(aa+-2<<4)+16|0,f+(aa+-1<<4)+16|0,0)|0;break}case 146:{c[ca>>2]=mr($,f+(aa+-3<<4)+16|0,f+(aa+-2<<4)+16|0,f+(aa+-1<<4)+16|0)|0;break}case 233:case 231:case 171:case 164:case 147:{c[ca>>2]=c[f+(aa<<4)+16>>2];break}case 234:case 232:case 170:case 163:case 148:{c[ca>>2]=0;break}case 151:{c[ca>>2]=0;c[ca+4>>2]=1;break}case 143:{c[ca>>2]=1;break}case 142:{c[ca>>2]=lr(c[$>>2]|0,0,f+(aa+-1<<4)+16|0,f+(aa<<4)+16|0)|0;break}case 156:{h=hr($,c[f+(aa+-3<<4)+16>>2]|0,c[f+(aa+-1<<4)+16>>2]|0)|0;c[ca>>2]=h;if(h)a[(c[h+4>>2]|0)+(((c[h>>2]|0)+-1|0)*20|0)+12>>0]=c[f+(aa<<4)+16>>2];break}case 157:{h=hr($,0,c[f+(aa+-1<<4)+16>>2]|0)|0;c[ca>>2]=h;if((h|0)!=0?(k=c[h+4>>2]|0,(k|0)!=0):0)a[k+12>>0]=c[f+(aa<<4)+16>>2];break}case 179:case 153:{c[ca>>2]=0;break}case 180:case 152:{c[ca>>2]=c[f+(aa+-1<<4)+16>>2];break}case 166:{c[ca>>2]=c[f+(aa<<4)+16>>2];c[ca+4>>2]=0;break}case 167:{c[ca>>2]=c[f+(aa+-2<<4)+16>>2];c[ca+4>>2]=c[f+(aa<<4)+16>>2];break}case 168:{c[ca+4>>2]=c[f+(aa+-2<<4)+16>>2];c[ca>>2]=c[f+(aa<<4)+16>>2];break}case 169:{h=c[f+(aa+-5<<4)+16>>2]|0;if(h){_=$+532|0;c[h+4>>2]=c[_>>2];c[_>>2]=h;a[$+449>>0]=1}_=f+(aa+-2<<4)+16|0;kr($,c[_>>2]|0,f+(aa+-1<<4)+16|0);nr($,c[_>>2]|0,c[f+(aa<<4)+16>>2]|0);break}case 235:case 162:case 155:{c[ca>>2]=c[f+(aa<<4)+16>>2];break}default:{}}while(0);h=a[20912+(g<<1)>>0]|0;o=h&255;n=a[20913+(g<<1)>>0]|0;m=n&255;p=(c[f>>2]|0)-m|0;c[f>>2]=p;l=b[22184+((b[21568+(e[f+(aa-m<<4)+12>>1]<<1)>>1]|0)+o<<1)>>1]|0;k=l&65535;do if((l&65535)<642)if(!(n<<24>>24)){gq(f,k,o,ca);break}else{c[f>>2]=p+1;aa=1-m+aa|0;b[f+(aa<<4)+12>>1]=l;a[f+(aa<<4)+14>>0]=h;aa=f+(aa<<4)+16|0;c[aa+0>>2]=c[ca+0>>2];c[aa+4>>2]=c[ca+4>>2];c[aa+8>>2]=c[ca+8>>2];break}else{h=c[da>>2]|0;if((p|0)>-1)do Ln(f);while((c[f>>2]|0)>-1);c[da>>2]=h}while(0);i=ea;return}function jq(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,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,ca=0,da=0;aa=i;i=i+64|0;if((i|0)>=(j|0))ba();$=aa+8|0;W=aa;n=aa+24|0;h=aa+16|0;l=tq(e,0,h)|0;do if(!l){if(c[h>>2]|0){l=$r(e,f)|0;if(!l)g=0;else k=4}else{l=1;k=4}if((k|0)==4){_=e+43|0;k=(a[_>>0]|0)==0;do if(!(a[e+46>>0]&2)){if(k?(m=e+4|0,Z=c[m>>2]|0,Yb[c[(c[Z>>2]|0)+40>>2]&63](Z,24,0)|0,m=c[m>>2]|0,m=lc[c[(c[m>>2]|0)+56>>2]&31](m,0,1,10)|0,(m|0)!=0):0){h=l;g=m;break}Z=e+44|0;a[Z>>0]=1;k=tq(e,0,h)|0;if(!k){h=$r(e,f)|0;if(!h){h=0;g=0}else{Y=d[e+45>>0]|0;X=Y+1|0;Y=7-Y|0;if(!((a[_>>0]|0)==0?(g=c[e+4>>2]|0,g=lc[c[(c[g>>2]|0)+56>>2]&31](g,X,Y,10)|0,(g|0)!=0):0)){l=e+52|0;k=l+48|0;do{c[l>>2]=0;l=l+4|0}while((l|0)<(k|0));Q=e+8|0;g=c[Q>>2]|0;g=nc[c[(c[g>>2]|0)+24>>2]&127](g,W)|0;a:do if(!g){R=W;P=c[R+4>>2]|0;b:do if((P|0)>0|(P|0)==0&(c[R>>2]|0)>>>0>32){g=c[Q>>2]|0;g=pc[c[(c[g>>2]|0)+8>>2]&31](g,n,32,0,0)|0;if(g)break a;m=d[n+3>>0]|0;k=d[n+9>>0]<<16|d[n+8>>0]<<24;g=d[n+10>>0]<<8;l=k|g|d[n+11>>0];if(((d[n+1>>0]<<16|d[n>>0]<<24|d[n+2>>0]<<8|m&254|0)==931071618?!((l+-1&l|0)!=0|(l|0)>65536|(l|0)<512):0)?(R=m&1,S=e+65|0,a[S>>0]=R,T=e+36|0,c[T>>2]=l,c[e+104>>2]=d[n+13>>0]<<16|d[n+12>>0]<<24|d[n+14>>0]<<8|d[n+15>>0],U=e+84|0,P=n+16|0,N=P,N=d[N>>0]|d[N+1>>0]<<8|d[N+2>>0]<<16|d[N+3>>0]<<24,P=P+4|0,P=d[P>>0]|d[P+1>>0]<<8|d[P+2>>0]<<16|d[P+3>>0]<<24,V=U,O=V,a[O>>0]=N,a[O+1>>0]=N>>8,a[O+2>>0]=N>>16,a[O+3>>0]=N>>24,V=V+4|0,a[V>>0]=P,a[V+1>>0]=P>>8,a[V+2>>0]=P>>16,a[V+3>>0]=P>>24,V=e+76|0,uq(R^1,n,24,0,V),(c[V>>2]|0)==(d[n+25>>0]<<16|d[n+24>>0]<<24|d[n+26>>0]<<8|d[n+27>>0]|0)):0){P=e+80|0;if((c[P>>2]|0)!=(d[n+29>>0]<<16|d[n+28>>0]<<24|d[n+30>>0]<<8|d[n+31>>0]|0)){l=0;g=0;break}if((d[n+5>>0]<<16|d[n+4>>0]<<24|d[n+6>>0]<<8|d[n+7>>0]|0)!=3007e3){c[$>>2]=49983;c[$+4>>2]=10788;Zc(14,14848,$);g=14;break a}t=l+24|0;R=Pc(t)|0;if(!R){g=7;break a}u=R+24|0;v=((t|0)<0)<<31>>31;n=fw(t|0,v|0,32,0)|0;m=C;O=W;N=c[O+4>>2]|0;c:do if(!((m|0)>(N|0)|((m|0)==(N|0)?n>>>0>(c[O>>2]|0)>>>0:0))){w=R+8|0;x=R+1|0;y=R+2|0;z=R+3|0;A=R+16|0;B=R+17|0;D=R+18|0;E=R+19|0;F=R+20|0;G=R+21|0;H=R+22|0;I=R+23|0;J=R+4|0;K=R+5|0;L=R+6|0;M=R+7|0;N=e+68|0;O=e+72|0;r=(k>>>16|g)&65535;s=e+66|0;o=32;k=0;l=0;p=0;q=1;while(1){g=c[Q>>2]|0;g=pc[c[(c[g>>2]|0)+8>>2]&31](g,R,t,o,k)|0;if(g){k=36;break}if(Vv(U,w,8)|0){g=p;k=37;break}k=d[x>>0]<<16|d[R>>0]<<24|d[y>>0]<<8|d[z>>0];if(!k){g=p;k=37;break}o=(a[S>>0]|0)==0&1;uq(o,R,8,V,V);uq(o,u,c[T>>2]|0,V,V);if((c[V>>2]|0)!=(d[B>>0]<<16|d[A>>0]<<24|d[D>>0]<<8|d[E>>0]|0)){g=p;k=37;break}if((c[P>>2]|0)!=(d[G>>0]<<16|d[F>>0]<<24|d[H>>0]<<8|d[I>>0]|0)){g=p;break c}o=d[K>>0]<<16|d[J>>0]<<24|d[L>>0]<<8|d[M>>0];g=Wo(e,q,k)|0;if(g){k=36;break}if(!o)g=p;else{c[N>>2]=q;c[O>>2]=o;b[s>>1]=r;l=c[V>>2]|0;g=c[P>>2]|0}k=fw(n|0,m|0,t|0,v|0)|0;o=C;p=W;ca=c[p+4>>2]|0;if((o|0)>(ca|0)|((o|0)==(ca|0)?k>>>0>(c[p>>2]|0)>>>0:0))break c;else{da=m;ca=n;n=k;m=o;p=g;q=q+1|0;k=da;o=ca}}if((k|0)==36){Sc(R);break a}else if((k|0)==37){Sc(R);break b}}else{l=0;g=0}while(0);Sc(R)}else{l=0;g=0}}else{l=0;g=0}while(0);c[e+76>>2]=l;c[e+80>>2]=g;Xo(e);k=c[c[e+32>>2]>>2]|0;c[k+96>>2]=0;c[k+100>>2]=0;g=k+104|0;c[g>>2]=-1;c[k+108>>2]=-1;c[k+112>>2]=-1;c[k+116>>2]=-1;k=e+68|0;l=c[k>>2]|0;if(l)c[g>>2]=l;if(!(c[e+72>>2]|0))g=0;else{g=c[e+100>>2]|0;c[$>>2]=c[k>>2];c[$+4>>2]=g;Zc(283,14888,$);g=0}}while(0);if(!(a[_>>0]|0)){W=c[e+4>>2]|0;lc[c[(c[W>>2]|0)+56>>2]&31](W,X,Y,9)|0}}c[f>>2]=1}}else{h=l;g=k}a[Z>>0]=0;if(!(a[_>>0]|0)){_=c[e+4>>2]|0;lc[c[(c[_>>2]|0)+56>>2]&31](_,0,1,9)|0}}else if(k){h=e+4|0;g=c[h>>2]|0;g=lc[c[(c[g>>2]|0)+56>>2]&31](g,0,1,6)|0;if(!g)if(!(a[_>>0]|0)){h=c[h>>2]|0;lc[c[(c[h>>2]|0)+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+52>>2]|0)!=3007e3){c[$>>2]=50909;c[$+4>>2]=10788;Zc(14,14848,$);g=14}}else g=l;while(0);i=aa;return g|0}function kq(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,o=0,p=0,q=0,r=0,s=0;p=c[h>>2]|0;q=c[g>>2]|0;k=(p|0)>0;j=(f|0)>0;if(k|j){n=j;l=0;o=0;m=0;while(1){do if(n){j=d+(l<<1)|0;if(k?(r=q+(m<<1)|0,(c[a+((e[j>>1]|0)<<2)>>2]|0)>>>0>=(c[a+((e[r>>1]|0)<<2)>>2]|0)>>>0):0){k=r;s=7;break}l=l+1|0;k=j}else{k=q+(m<<1)|0;s=7}while(0);if((s|0)==7){s=0;m=m+1|0}n=b[k>>1]|0;k=c[a+((n&65535)<<2)>>2]|0;j=o+1|0;b[i+(o<<1)>>1]=n;if((l|0)<(f|0))l=((c[a+((e[d+(l<<1)>>1]|0)<<2)>>2]|0)==(k|0)&1)+l|0;k=(m|0)<(p|0);n=(l|0)<(f|0);if(!(k|n))break;else o=j}}else j=0;c[g>>2]=d;c[h>>2]=j;gw(d|0,i|0,j<<1|0)|0;return}function lq(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[a+4>>2]|0;c[e+4>>2]=c[a>>2];a=c[(c[e>>2]|0)+204>>2]|0;c[a+16>>2]=b;e=c[2217]|0;d=c[a+40>>2]|0;if((b|0)>-1)a=b;else{b=ow(b|0,((b|0)<0)<<31>>31|0,-1024,-1)|0;a=(c[a+24>>2]|0)+(c[a+20>>2]|0)|0;a=mw(b|0,C|0,a|0,((a|0)<0)<<31>>31|0)|0}fc[e&15](d,a);return}function mq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=(c[b+12>>2]|0)+136|0;e=g;f=c[e>>2]|0;e=c[e+4>>2]|0;do if((f|0)==0&(e|0)==0)if(!(Zg(c[c[(c[b>>2]|0)+32>>2]>>2]|0,g)|0)){e=g;f=c[e>>2]|0;e=c[e+4>>2]|0;h=5;break}else{e=g;c[e>>2]=0;c[e+4>>2]=0;e=d;c[e>>2]=0;c[e+4>>2]=0;e=1;break}else h=5;while(0);if((h|0)==5){g=d;c[g>>2]=f;c[g+4>>2]=e;if((e|0)>0|(e|0)==0&f>>>0>0){a[d+42>>0]=1;e=0}else e=1}return e|0}function nq(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;p=i;i=i+16|0;if((i|0)>=(j|0))ba();n=p;c[n>>2]=d;d=b;b=0;a:while(1){h=c[n>>2]|0;g=c[h>>2]|0;c[n>>2]=h+4;h=c[n>>2]|0;k=c[h>>2]|0;c[n>>2]=h+4;h=c[n>>2]|0;l=c[h>>2]|0;c[n>>2]=h+4;h=c[n>>2]|0;m=c[h>>2]|0;c[n>>2]=h+4;h=c[n>>2]|0;e=c[h>>2]|0;c[n>>2]=h+4;if(!g){f=d;d=0}else{f=d;d=0;do{g=g+-1|0;h=a[f>>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){o=9;break}if((m|0)!=(a[f>>0]|0))break;c[e>>2]=d;d=f+1|0;b=b+1|0}if((o|0)==9){c[e>>2]=d;b=b+1|0}i=p;return b|0}function oq(b,e){b=b|0;e=e|0;var f=0,g=0,k=0,l=0.0,m=0,n=0.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();s=u;q=u+56|0;r=u+52|0;f=u+48|0;o=u+44|0;p=u+40|0;c[s>>2]=2;c[s+4>>2]=0;c[s+8>>2]=24;c[s+12>>2]=58;c[s+16>>2]=f;c[s+20>>2]=2;c[s+24>>2]=0;c[s+28>>2]=59;c[s+32>>2]=0;c[s+36>>2]=o;do if((nq(b,s)|0)==2){m=b+5|0;if((a[m>>0]|0)==58){c[s>>2]=2;c[s+4>>2]=0;c[s+8>>2]=59;c[s+12>>2]=0;c[s+16>>2]=p;if((nq(b+6|0,s)|0)!=1){f=1;break}m=b+8|0;if((a[m>>0]|0)==46?(g=b+9|0,k=a[g>>0]|0,((k&255)+-48|0)>>>0<10):0){n=0.0;l=1.0;do{n=n*10.0+ +(k<<24>>24)+-48.0;l=l*10.0;g=g+1|0;k=a[g>>0]|0}while(((k&255)+-48|0)>>>0<10);l=n/l}else{g=m;l=0.0}}else{c[p>>2]=0;g=m;l=0.0}a[e+42>>0]=0;a[e+41>>0]=1;c[e+20>>2]=c[f>>2];c[e+24>>2]=c[o>>2];h[e+32>>3]=l+ +(c[p>>2]|0);while(1){f=g+1|0;if(!(a[10368+(d[g>>0]|0)>>0]&1)){m=g;break}else g=f}b=e+28|0;c[b>>2]=0;g=a[m>>0]|0;if(g<<24>>24==43){k=1;t=14}else if(g<<24>>24!=45)if((g&-33)<<24>>24==90){k=0;t=16}else f=0;else{k=-1;t=14}if((t|0)==14){c[s>>2]=2;c[s+4>>2]=0;c[s+8>>2]=14;c[s+12>>2]=58;c[s+16>>2]=q;c[s+20>>2]=2;c[s+24>>2]=0;c[s+28>>2]=59;c[s+32>>2]=0;c[s+36>>2]=r;if((nq(f,s)|0)!=2){f=1;break}k=_(((c[q>>2]|0)*60|0)+(c[r>>2]|0)|0,k)|0;c[b>>2]=k;f=m+6|0;t=16}if((t|0)==16)while(1){g=a[f>>0]|0;if(!(a[10368+(g&255)>>0]&1)){f=k;break}else f=f+1|0}if(!(g<<24>>24)){a[e+43>>0]=(f|0)!=0&1;f=0}else f=1}else f=1;while(0);i=u;return f|0}function pq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,k=0,l=0,m=0,n=0,o=0.0,p=0;n=i;i=i+112|0;if((i|0)>=(j|0))ba();k=n+48|0;m=n;l=n+96|0;f=k+0|0;b=b+0|0;g=f+48|0;do{c[f>>2]=c[b>>2];f=f+4|0;b=b+4|0}while((f|0)<(g|0));ko(k);lo(k);g=k+8|0;if(((c[g>>2]|0)+-1971|0)>>>0>66){c[g>>2]=2e3;c[k+12>>2]=1;c[k+16>>2]=1;c[k+20>>2]=0;c[k+24>>2]=0;h[k+32>>3]=0.0}else{f=k+32|0;h[f>>3]=+(~~(+h[f>>3]+.5)|0)}c[k+28>>2]=0;a[k+42>>0]=0;jo(k);b=k;f=c[b>>2]|0;b=c[b+4>>2]|0;g=mw(f|0,b|0,1e3,0)|0;g=fw(g|0,C|0,-413362496,0)|0;c[l>>2]=g;g=Rb(l|0)|0;g=(c[2253]|0)!=0?0:g;if(!g){c[d+20>>2]=1;a[d+25>>0]=1;Tg(c[d>>2]|0,20056,-1,1,-1)|0;c[e>>2]=1;f=0;g=0}else{k=c[g+4>>2]|0;l=c[g+8>>2]|0;d=c[g+12>>2]|0;p=(c[g+16>>2]|0)+1|0;o=+(c[g>>2]|0);c[m+8>>2]=(c[g+20>>2]|0)+1900;c[m+12>>2]=p;c[m+16>>2]=d;c[m+20>>2]=l;c[m+24>>2]=k;h[m+32>>3]=o;a[m+40>>0]=1;a[m+41>>0]=1;a[m+42>>0]=0;a[m+43>>0]=0;jo(m);c[e>>2]=0;g=m;g=$v(c[g>>2]|0,c[g+4>>2]|0,f|0,b|0)|0;f=C}C=f;i=n;return g|0}function qq(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+12|0;l=p;n=p+8|0;k=p+16|0;a[d>>0]=0;f=nc[c[(c[b>>2]|0)+24>>2]&127](b,l)|0;h=l;g=c[h>>2]|0;h=c[h+4>>2]|0;if(!((f|0)!=0|((h|0)<0|(h|0)==0&g>>>0<16))){f=fw(g|0,h|0,-16,-1)|0;f=as(b,f,C,o)|0;if(!f){m=c[o>>2]|0;if(!(m>>>0>=e>>>0|(m|0)==0)){f=l;f=fw(c[f>>2]|0,c[f+4>>2]|0,-12,-1)|0;f=as(b,f,C,n)|0;if(!f){f=l;f=fw(c[f>>2]|0,c[f+4>>2]|0,-8,-1)|0;f=pc[c[(c[b>>2]|0)+8>>2]&31](b,k,8,f,C)|0;if(!f)if(!(Vv(k,14808,8)|0)){f=l;f=fw(c[f>>2]|0,c[f+4>>2]|0,-16,-1)|0;f=$v(f|0,C|0,m|0,0)|0;f=pc[c[(c[b>>2]|0)+8>>2]&31](b,d,m,f,C)|0;if(!f){g=c[n>>2]|0;h=0;while(1){e=a[d+h>>0]|0;f=g-e|0;h=h+1|0;if(h>>>0>=m>>>0)break;else g=f}c[n>>2]=f;if((g|0)==(e|0))f=m;else{c[o>>2]=0;f=0}a[d+f>>0]=0;f=0}}else f=0}}else f=0}}i=p;return f|0}function rq(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,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))ba();l=s+8|0;q=s+4|0;o=s;r=a+72|0;h=r;k=c[h>>2]|0;h=c[h+4>>2]|0;if((k|0)==0&(h|0)==0){m=0;n=0;k=c[a+148>>2]|0}else{m=fw(k|0,h|0,-1,-1)|0;k=c[a+148>>2]|0;m=mw(m|0,C|0,k|0,0)|0;m=fw(m|0,C|0,1,0)|0;m=ow(m|0,C|0,k|0,0)|0;n=C}p=r;c[p>>2]=m;c[p+4>>2]=n;p=a+148|0;k=fw(k|0,0,m|0,n|0)|0;h=C;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>>2]|0)?(n|0)==(c[b+4>>2]|0):0):0)d=a+64|0;else{k=a+64|0;e=c[k>>2]|0;e=pc[c[(c[e>>2]|0)+8>>2]&31](e,l,8,m,n)|0;if(e)break;if(!(Vv(l,14808,8)|0))d=k;else{e=101;break}}l=c[d>>2]|0;e=fw(m|0,n|0,8,0)|0;e=as(l,e,C,f)|0;if(!e){f=c[d>>2]|0;e=fw(m|0,n|0,12,0)|0;e=as(f,e,C,a+48|0)|0;if(!e){f=c[d>>2]|0;e=fw(m|0,n|0,16,0)|0;e=as(f,e,C,g)|0;if(!e){h=r;k=c[h>>2]|0;h=c[h+4>>2]|0;if((k|0)==0&(h|0)==0){g=c[d>>2]|0;e=fw(m|0,n|0,20,0)|0;e=as(g,e,C,o)|0;if(e)break;g=c[d>>2]|0;e=fw(m|0,n|0,24,0)|0;e=as(g,e,C,q)|0;if(e)break;d=c[q>>2]|0;if(!d){h=c[a+152>>2]|0;c[q>>2]=h}else h=d;d=c[o>>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=Yk(a,q,-1)|0;c[p>>2]=d;h=r;k=c[h>>2]|0;h=c[h+4>>2]|0}else{d=c[p>>2]|0;e=0}m=fw(k|0,h|0,d|0,0)|0;n=r;c[n>>2]=m;c[n+4>>2]=C}}}}else e=101;while(0);i=s;return e|0}function sq(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;A=i;i=i+16|0;if((i|0)>=(j|0))ba();v=A+8|0;o=A+4|0;r=A;y=c[f+200>>2]|0;z=(k|0)!=0;n=c[(z?f+64|0:f+68|0)>>2]|0;q=g;q=as(n,c[q>>2]|0,c[q+4>>2]|0,o)|0;do if(!q){x=f+152|0;u=c[x>>2]|0;q=g;q=fw(c[q>>2]|0,c[q+4>>2]|0,4,0)|0;q=pc[c[(c[n>>2]|0)+8>>2]&31](n,y,u,q,C)|0;if(!q){B=c[x>>2]|0;p=(k<<2)+4+B|0;q=g;q=fw(p|0,((p|0)<0)<<31>>31|0,c[q>>2]|0,c[q+4>>2]|0)|0;p=C;u=g;c[u>>2]=q;c[u+4>>2]=p;u=c[o>>2]|0;if((u|0)!=0?(u|0)!=(((c[2514]|0)/(B|0)|0)+1|0):0)if(u>>>0<=(c[f+24>>2]|0)>>>0?($h(h,u)|0)==0:0){if(z){q=fw(q|0,p|0,-4,-1)|0;q=as(n,q,C,r)|0;if(q){m=q;break}if(!l){q=c[f+48>>2]|0;p=(c[x>>2]|0)+-200|0;if((p|0)>0)do{q=(d[y+p>>0]|0)+q|0;p=p+-200|0}while((p|0)>0);if((q|0)!=(c[r>>2]|0)){m=101;break}}}if((h|0)!=0?(m=Zh(h,u)|0,(m|0)!=0):0)break;r=(u|0)==1;if(r?(s=f+142|0,t=a[y+20>>0]|0,(b[s>>1]|0)!=(t&255|0)):0)b[s>>1]=t&255;if(!(c[f+208>>2]|0)){t=f+204|0;q=Yb[c[8744+132>>2]&63](c[(c[t>>2]|0)+40>>2]|0,u,0)|0;q=el(c[t>>2]|0,u,q)|0}else q=0;c[v>>2]=q;if(z)if(!(a[f+7>>0]|0)){t=g;h=c[t+4>>2]|0;p=f+80|0;s=c[p+4>>2]|0;p=(h|0)<(s|0)|((h|0)==(s|0)?(c[t>>2]|0)>>>0<=(c[p>>2]|0)>>>0:0)}else p=1;else if(!q)p=1;else p=(b[q+24>>1]&4)==0;o=c[f+60>>2]|0;n=c[o>>2]|0;do if(n){m=a[f+16>>0]|0;if((m&255)>3){if(!p){w=33;break}}else if(!(m<<24>>24==0&p)){w=33;break}p=c[x>>2]|0;m=ow(p|0,((p|0)<0)<<31>>31|0,u+-1|0,0)|0;m=pc[c[n+12>>2]&31](o,y,p,m,C)|0;p=f+32|0;if(u>>>0>(c[p>>2]|0)>>>0)c[p>>2]=u;p=c[f+88>>2]|0;if(p)Yo(p,u,y)}else w=33;while(0);if((w|0)==33)if((k|0)==0&(q|0)==0){t=f+20|0;a[t>>0]=d[t>>0]|2;m=vg(f,u,v,1)|0;a[t>>0]=d[t>>0]&253;if(m)break;q=c[v>>2]|0;m=q+24|0;b[m>>1]=e[m>>1]&65527;Po(q);m=0}else m=0;if(q){o=c[q+4>>2]|0;gw(o|0,y|0,c[x>>2]|0)|0;_b[c[f+196>>2]&31](q);do if(z){if((l|0)!=0?(t=g,h=c[t+4>>2]|0,u=f+80|0,s=c[u+4>>2]|0,(h|0)>(s|0)|((h|0)==(s|0)?(c[t>>2]|0)>>>0>(c[u>>2]|0)>>>0:0)):0)break;tl(q)}while(0);if(r){p=f+104|0;n=o+24|0;o=p+16|0;do{a[p>>0]=a[n>>0]|0;p=p+1|0;n=n+1|0}while((p|0)<(o|0))}kl(q)}}else m=0;else m=101}else m=q}else m=q;while(0);i=A;return m|0}function tq(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>>2]|0)<=(e|0)){i=e+1|0;j=b+32|0;h=Tc(c[j>>2]|0,i<<2)|0;if(!h){g=7;h=0}else{k=c[g>>2]|0;bw(h+(k<<2)|0,0,i-k<<2|0)|0;c[j>>2]=h;c[g>>2]=i;k=5}}else{h=c[b+32>>2]|0;k=5}if((k|0)==5){j=b+32|0;h=h+(e<<2)|0;do if(!(c[h>>2]|0)){if((a[b+43>>0]|0)!=2){g=c[b+4>>2]|0;g=pc[c[(c[g>>2]|0)+52>>2]&31](g,e,32768,d[b+44>>0]|0,h)|0;if((g|0)!=8)break;g=b+46|0;a[g>>0]=d[g>>0]|2;g=0;break}g=mg(32768,0)|0;if(g)bw(g|0,0,32768)|0;c[(c[j>>2]|0)+(e<<2)>>2]=g;g=(c[(c[j>>2]|0)+(e<<2)>>2]|0)==0?7:0}else g=0;while(0);h=c[(c[j>>2]|0)+(e<<2)>>2]|0}c[f>>2]=h;return g|0}function uq(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>>2]|0;d=c[e+4>>2]|0}if(!a)do{g=g+d+(jw(c[b>>2]|0)|0)|0;d=g+d+(jw(c[b+4>>2]|0)|0)|0;b=b+8|0}while(b>>>0<h>>>0);else do{g=g+d+(c[b>>2]|0)|0;d=g+d+(c[b+4>>2]|0)|0;b=b+8|0}while(b>>>0<h>>>0);c[f>>2]=g;c[f+4>>2]=d;return}function vq(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>>2]|0;h=c[h+4>>2]|0;if((h|0)>(f|0)|(h|0)==(f|0)&g>>>0>e>>>0?(i=fw(d|0,((d|0)<0)<<31>>31|0,e|0,f|0)|0,k=C,!((k|0)<(h|0)|(k|0)==(h|0)&i>>>0<g>>>0)):0){i=$v(g|0,h|0,e|0,f|0)|0;h=a+4|0;g=c[h>>2]|0;g=pc[c[(c[g>>2]|0)+12>>2]&31](g,b,i,e,f)|0;if(!g){e=fw(i|0,((i|0)<0)<<31>>31|0,e|0,f|0)|0;f=C;g=c[h>>2]|0;g=nc[c[(c[g>>2]|0)+20>>2]&127](g,c[a+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+4>>2]|0;g=pc[c[(c[f>>2]|0)+12>>2]&31](f,h,d,e,g)|0}return g|0}function wq(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))ba();h=l+8|0;k=l+4|0;g=l;c[h>>2]=0;c[k>>2]=0;c[g>>2]=0;f=a+68|0;d=c[f>>2]|0;if(d){Lo(a,(d+33|0)>>>12,h,k,g)|0;g=(c[f>>2]|0)-(c[g>>2]|0)|0;a=c[h>>2]|0;f=0;do{d=a+(f<<1)|0;if((e[d>>1]|0|0)>(g|0))b[d>>1]=0;f=f+1|0}while((f|0)!=8192);d=(c[k>>2]|0)+(g+1<<2)|0;bw(d|0,0,a-d|0)|0}i=l;return}function xq(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))ba();e=g;h=a+204|0;f=Yb[c[8744+132>>2]&63](c[(c[h>>2]|0)+40>>2]|0,d,0)|0;f=el(c[h>>2]|0,d,f)|0;do if(!f)e=0;else{if((b[f+26>>1]|0)==1){il(f);e=0;break}c[e>>2]=0;d=gl(c[a+208>>2]|0,c[f+20>>2]|0,e)|0;if(!d){d=hl(f,c[e>>2]|0)|0;if(!d){_b[c[a+196>>2]&31](f);d=0}}xg(f);e=d}while(0);d=c[a+88>>2]|0;if(d)do{c[d+16>>2]=1;d=c[d+44>>2]|0}while((d|0)!=0);i=g;return e|0}function yq(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,B=0,C=0,D=0;D=i;i=i+16|0;if((i|0)>=(j|0))ba();C=D;z=c[f+52>>2]|0;q=(c[z+36>>2]|0)+-4|0;v=g&65535;A=h&65535;u=A+v|0;B=c[f+56>>2]|0;if(b[z+22>>1]&4)bw(B+v|0,0,A|0)|0;y=d[f+6>>0]|0;z=y+1|0;n=z&65535;x=z&65535;if((a[B+(x+1)>>0]|0)==0?(a[B+x>>0]|0)==0:0){s=h&255;q=(h&65535)>>>8&255;r=u;p=0;o=0;x=23}else{s=n;x=6}a:do if((x|0)==6){while(1){x=0;m=s&65535;o=a[B+(m+1)>>0]|0;l=o&255;r=d[B+m>>0]<<8|l;n=s;s=r&65535;if(!(r>>>0<v>>>0&(r|0)!=0)){p=o;t=r;break}if(r>>>0<(m+4|0)>>>0){x=8;break}else x=6}if((x|0)==8){c[C>>2]=54420;c[C+4>>2]=10788;Zc(11,13600,C);k=11;break}if(t>>>0>q>>>0){c[C>>2]=54423;c[C+4>>2]=10788;Zc(11,13600,C);k=11;break}k=h&255;q=(h&65535)>>>8&255;o=(s&65535)>>>8&255;do if((t+-1|0)>>>0<(u+3|0)>>>0)if(u>>>0>t>>>0){c[C>>2]=54434;c[C+4>>2]=10788;Zc(11,13600,C);k=11;break a}else{r=(d[B+(t+2)>>0]<<8|d[B+(t+3)>>0])+t|0;q=r-v|0;s=q&255;q=(q&65535)>>>8&255;p=a[B+(t+1)>>0]|0;o=a[B+t>>0]|0;k=l-u&255;break}else{s=k;r=u;k=0}while(0);do if(m>>>0>z>>>0?(w=(d[B+(m+2)>>0]<<8|d[B+(m+3)>>0])+m|0,(w+3|0)>=(v|0)):0)if((v|0)<(w|0)){c[C>>2]=54447;c[C+4>>2]=10788;Zc(11,13600,C);k=11;break a}else{q=r-m|0;g=n;s=q&255;q=(q&65535)>>>8&255;k=(k&255)+v-w&255;break}while(0);m=B+(y+7)|0;l=a[m>>0]|0;if((l&255)<(k&255)){c[C>>2]=54453;c[C+4>>2]=10788;Zc(11,13600,C);k=11;break}else{a[m>>0]=(l&255)-(k&255);x=23;break}}while(0);b:do if((x|0)==23){k=g&65535;l=B+(y+5)|0;m=B+(y+6)|0;do if((k|0)==(d[l>>0]<<8|d[m>>0]|0))if((n&65535|0)==(z|0)){a[B+z>>0]=o;a[B+(y+2)>>0]=p;a[l>>0]=r>>>8;a[m>>0]=r;break}else{c[C>>2]=54460;c[C+4>>2]=10788;Zc(11,13600,C);k=11;break b}else{C=n&65535;a[B+C>>0]=(g&65535)>>>8;a[B+(C+1)>>0]=g;a[B+k>>0]=o;a[B+(k+1)>>0]=p;a[B+(k+2)>>0]=q;a[B+(k+3)>>0]=s}while(0);k=f+16|0;b[k>>1]=(e[k>>1]|0)+A;k=0}while(0);i=D;return k|0}function zq(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();r=u;q=d[b+6>>0]|0;t=c[b+56>>2]|0;p=c[(c[b+52>>2]|0)+36>>2]|0;l=p+-4|0;b=q+1|0;while(1){m=t+b|0;n=(d[m>>0]|0)<<8|(d[t+(b+1)>>0]|0);if(!n){b=0;break}if((n|0)>(l|0)|(n|0)<(b+4|0)){s=4;break}h=t+(n+2)|0;k=t+(n+3)|0;b=(d[h>>0]|0)<<8|(d[k>>0]|0);if((b|0)<(e|0))b=n;else{o=h;l=n;s=6;break}}a:do if((s|0)==4){c[r>>2]=54252;c[r+4>>2]=10788;Zc(11,13600,r);c[f>>2]=11;b=0}else if((s|0)==6){h=b-e|0;do if((h|0)>=4)if((b+l|0)>(p|0)){c[r>>2]=54275;c[r+4>>2]=10788;Zc(11,13600,r);c[f>>2]=11;b=0;break a}else{a[o>>0]=h>>>8;a[k>>0]=h;break}else{b=t+(q+7)|0;if((d[b>>0]|0)<=59){q=t+l|0;q=d[q>>0]|d[q+1>>0]<<8;a[m>>0]=q;a[m+1>>0]=q>>8;a[b>>0]=(d[b>>0]|0)+h;break}if(!g){b=0;break a}c[g>>2]=1;b=0;break a}while(0);b=t+(h+l)|0}while(0);i=u;return b|0}function Aq(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,C=0,D=0;D=i;i=i+16|0;if((i|0)>=(j|0))ba();B=D;y=c[f+56>>2]|0;A=d[f+6>>0]|0;u=e[f+14>>1]|0;v=b[f+18>>1]|0;q=v&65535;r=f+52|0;s=c[(c[r>>2]|0)+36>>2]|0;z=(q<<1)+u|0;t=s+-4|0;w=y+(A+5)|0;x=y+(A+6)|0;a:do if(v<<16>>16){p=s;v=0;h=y;k=0;while(1){m=(v<<1)+u|0;l=y+m|0;m=y+(m+1)|0;n=(d[l>>0]|0)<<8|(d[m>>0]|0);if((n|0)<(z|0)|(n|0)>(t|0)){C=3;break}o=(Hp(f,h+n|0)|0)&65535;g=p-o|0;if((g|0)<(z|0)|(o+n|0)>(s|0)){C=5;break}a[l>>0]=g>>>8;a[m>>0]=g;if(!k)if((g|0)==(n|0))k=0;else{k=c[(c[c[r>>2]>>2]|0)+200>>2]|0;h=(d[w>>0]|0)<<8|(d[x>>0]|0);gw(k+h|0,y+h|0,p-h|0)|0;h=k;C=9}else C=9;if((C|0)==9){C=0;gw(y+g|0,h+n|0,o|0)|0}v=v+1|0;if((v|0)>=(q|0)){C=11;break a}else p=g}if((C|0)==3){c[B>>2]=54184;c[B+4>>2]=10788;Zc(11,13600,B);g=11;break}else if((C|0)==5){c[B>>2]=54196;c[B+4>>2]=10788;Zc(11,13600,B);g=11;break}}else{g=s;C=11}while(0);if((C|0)==11){a[w>>0]=g>>>8;a[x>>0]=g;a[y+(A+1)>>0]=0;a[y+(A+2)>>0]=0;a[y+(A+7)>>0]=0;C=g-z|0;bw(y+z|0,0,C|0)|0;if((C|0)==(e[f+16>>1]|0|0))g=0;else{c[B>>2]=54221;c[B+4>>2]=10788;Zc(11,13600,B);g=11}}i=D;return g|0}function Bq(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))ba();h=k;if((c[f>>2]|0)==0?(np(a,e,h),g=b[h+18>>1]|0,g<<16>>16!=0):0){g=g&65535;vp(c[a+52>>2]|0,(d[e+(g+1)>>0]|0)<<16|(d[e+g>>0]|0)<<24|(d[e+(g+2)>>0]|0)<<8|(d[e+(g+3)>>0]|0),3,c[a+72>>2]|0,f)}i=k;return}function Cq(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>>2]|0)){h=c[b+52>>2]|0;j=c[b+56>>2]|0;l=c[f+56>>2]|0;i=d[b+6>>0]|0;k=(c[f+72>>2]|0)==1?100:0;m=d[j+(i+5)>>0]<<8|d[j+(i+6)>>0];gw(l+m|0,j+m|0,(c[h+36>>2]|0)-m|0)|0;gw(l+k|0,j+i|0,(e[b+18>>1]<<1)+(e[b+14>>1]|0)|0)|0;a[f>>0]=0;b=Xp(f)|0;if(b){c[g>>2]=b;break}if(a[h+17>>0]|0)c[g>>2]=Wp(f)|0}while(0);return}function Dq(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,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;q=d[f+6>>0]|0;t=c[f+56>>2]|0;m=c[f+52>>2]|0;o=c[m+36>>2]|0;n=t+o|0;j=c[f+64>>2]|0;m=c[(c[m>>2]|0)+200>>2]|0;p=t+(q+5)|0;r=t+(q+6)|0;s=(d[p>>0]|0)<<8|(d[r>>0]|0);gw(m+s|0,t+s|0,o-s|0)|0;s=t;if((g|0)>0){o=0;l=j;j=n;while(1){k=c[h+(o<<2)>>2]|0;if(k>>>0>t>>>0&k>>>0<n>>>0)k=m+(k-s)|0;u=e[i+(o<<1)>>1]|0;j=j+(0-u)|0;gw(j|0,k|0,u|0)|0;k=j-s|0;a[l>>0]=k>>>8;a[l+1>>0]=k;o=o+1|0;if((o|0)==(g|0))break;else l=l+2|0}}else j=n;i=f+18|0;b[i>>1]=g;a[f+1>>0]=0;a[t+(q+1)>>0]=0;a[t+(q+2)>>0]=0;a[t+(q+3)>>0]=(e[i>>1]|0)>>>8;a[t+(q+4)>>0]=b[i>>1];i=j-s|0;a[p>>0]=i>>>8;a[r>>0]=i;a[t+(q+7)>>0]=0;return}function Eq(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,n=0,o=0,p=0,q=0,r=0;r=c[a+56>>2]|0;p=r+(c[(c[a+52>>2]|0)+36>>2]|0)|0;n=r+((d[a+6>>0]|0)+8+(d[a+7>>0]|0))|0;a:do if((b|0)>0){o=r;q=0;h=0;l=0;m=0;while(1){j=c[f+(q<<2)>>2]|0;if(j>>>0>=n>>>0&j>>>0<p>>>0){i=e[g+(q<<1)>>1]|0;k=j+i|0;if((l|0)!=(k|0)){if(l)yq(a,l-o&65535,m&65535)|0;if(k>>>0>p>>>0){h=0;break a}}else i=i+m|0;h=h+1|0}else{j=l;i=m}q=q+1|0;if((q|0)>=(b|0))break;else{l=j;m=i}}if(j)yq(a,j-r&65535,i&65535)|0}else h=0;while(0);return h|0}function Fq(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,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;n=c[b+56>>2]|0;m=c[f>>2]|0;if(!(a[n+1>>0]|0))s=(a[n+2>>0]|0)!=0;else s=1;a:do if((h|0)>0){q=0;while(1){p=e[l+(q<<1)>>1]|0;if(s?(r=zq(b,p,t,0)|0,(r|0)!=0):0)o=r;else{o=m+(0-p)|0;if(o>>>0<d>>>0){m=1;break a}else m=o}gw(o|0,c[k+(q<<2)>>2]|0,p|0)|0;p=o-n|0;a[g>>0]=p>>>8;a[g+1>>0]=p;q=q+1|0;if((q|0)>=(h|0)){u=9;break}else g=g+2|0}}else u=9;while(0);if((u|0)==9){c[f>>2]=m;m=0}i=v;return m|0}function Gq(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,p=0,q=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();n=o;e=c[a+44>>2]|0;h=a;f=c[h>>2]|0;h=c[h+4>>2]|0;a:do if(!e){m=a+40|0;e=c[m>>2]|0;g=((e|0)<0)<<31>>31;l=nw(f|0,h|0,e|0,g|0)|0;if(!l){k=a+8|0;k=$v(c[k>>2]|0,c[k+4>>2]|0,f|0,h|0)|0;p=C;q=c[a+24>>2]|0;e=pc[c[(c[q>>2]|0)+8>>2]&31](q,c[a+36>>2]|0,(p|0)>(g|0)|(p|0)==(g|0)&k>>>0>e>>>0?e:k,f,h)|0;if(e)break;e=c[m>>2]|0}k=e-l|0;if((k|0)>=(b|0)){c[d>>2]=(c[a+36>>2]|0)+l;e=a;b=fw(c[e>>2]|0,c[e+4>>2]|0,b|0,((b|0)<0)<<31>>31|0)|0;e=a;c[e>>2]=b;c[e+4>>2]=C;e=0;break}e=a+16|0;f=c[e>>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=ng(c[g>>2]|0,h,((h|0)<0)<<31>>31)|0;if(!f){e=7;break}c[e>>2]=h;c[g>>2]=f}else f=c[a+28>>2]|0;h=a+28|0;gw(f|0,(c[a+36>>2]|0)+l|0,k|0)|0;l=a;l=fw(c[l>>2]|0,c[l+4>>2]|0,k|0,((k|0)<0)<<31>>31|0)|0;e=a;c[e>>2]=l;c[e+4>>2]=C;e=b-k|0;if((e|0)>0){g=e;do{f=c[m>>2]|0;f=(g|0)>(f|0)?f:g;e=Gq(a,f,n)|0;if(e)break a;gw((c[h>>2]|0)+(b-g)|0,c[n>>2]|0,f|0)|0;g=g-f|0}while((g|0)>0)}c[d>>2]=c[h>>2];e=0}else{c[d>>2]=e+f;b=fw(f|0,h|0,b|0,((b|0)<0)<<31>>31|0)|0;e=a;c[e>>2]=b;c[e+4>>2]=C;e=0}while(0);i=o;return e|0}function Hq(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,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();w=z+44|0;y=z;x=z+40|0;u=a+8|0;t=c[u>>2]|0;u=c[u+4>>2]|0;v=a+4|0;p=c[v>>2]|0;Lp(c[a+48>>2]|0,y,c[(c[(c[a>>2]|0)+8>>2]|0)+12>>2]|0,t,u);o=p+8|0;p=p+12|0;q=y+24|0;r=y+16|0;s=a+16|0;while(1){f=c[(c[o>>2]|0)+4>>2]|0;g=c[p>>2]|0;h=c[g+(f*56|0)+20>>2]|0;if(!(c[g+(f*56|0)+24>>2]|0)){d=1;b=0;break}l=q;k=c[l>>2]|0;l=c[l+4>>2]|0;m=c[r>>2]|0;n=((h|0)<0)<<31>>31;b=h;e=n;d=0;do{d=d+1|0;b=iw(b|0,e|0,7)|0;e=C}while(((b|0)!=0|(e|0)!=0)&(d|0)<9);k=fw(k|0,l|0,h|0,n|0)|0;k=fw(k|0,C|0,m|0,((m|0)<0)<<31>>31|0)|0;d=fw(k|0,C|0,d|0,((d|0)<0)<<31>>31|0)|0;k=C;b=c[s>>2]|0;b=fw(b|0,((b|0)<0)<<31>>31|0,t|0,u|0)|0;e=C;if((k|0)>(e|0)|(k|0)==(e|0)&d>>>0>b>>>0){d=1;b=0;break}Mp(y,w,lm(w,h,n)|0);Mp(y,c[g+(f*56|0)+32>>2]|0,h);b=Sm(c[v>>2]|0,x)|0;if(b){d=0;break}}y=Np(y,a+56|0)|0;i=z;return (d?y:b)|0}function Iq(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))ba();f=d;c[f>>2]=e;e=Sk(a,13592,f)|0;ig(a,b);i=d;return e|0}function Jq(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;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;h=a[d>>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>>0]|0}while((h+-48&255)<10);h=0}else{k=0;h=0}b[f+(l<<1)>>1]=bs(k,h)|0;d=(a[d>>0]|0)==32?d+1|0:d;l=l+1|0;h=a[d>>0]|0}while(h<<24>>24!=0&(l|0)<(e|0))}l=g+51|0;a[l>>0]=a[l>>0]&-69;a:do if(a[d>>0]|0){f=g+44|0;b:while(1){do if(!(Ch(13448,d,10352,0)|0)){if(Ch(13464,d,10352,0)|0){c[m>>2]=0;zn(d+3|0,m)|0;h=c[m>>2]|0;b[f>>1]=bs(h,((h|0)<0)<<31>>31)|0;break}if(Ch(13480,d,10352,0)|0)a[l>>0]=a[l>>0]|64}else a[l>>0]=a[l>>0]|4;while(0);while(1){h=a[d>>0]|0;if(h<<24>>24==32|h<<24>>24==0)break;d=d+1|0}while(1){k=d+1|0;if(!(h<<24>>24))break a;else if(h<<24>>24!=32)continue b;h=a[k>>0]|0;d=k}}}while(0);i=n;return}function Kq(d){d=d|0;var e=0,f=0;f=d+8|0;e=c[f>>2]|0;if(!e){e=rh(d)|0;c[f>>2]=e;if(e)sh(e,155,0,0,0)|0;if((c[d+408>>2]|0)==0?(b[(c[d>>2]|0)+60>>1]&8)==0:0)a[d+23>>0]=1}return e|0}function Lq(b,d){b=b|0;d=d|0;var e=0;e=(c[b+32>>2]|0)+-1|0;if((e|0)>(c[(c[b+24>>2]|0)+88>>2]|0)?(a[(c[b+4>>2]|0)+(e*20|0)>>0]|0)==d<<24>>24:0){vh(b,e);e=1}else e=0;return e|0}function Mq(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;j=Kq(d)|0;i=g+32|0;cs(d,f,c[i>>2]|0,(h|0)==55&1,c[g>>2]|0);if(!(a[g+44>>0]&32)){g=b[g+38>>1]|0;th(j,sh(j,h,e,c[i>>2]|0,f)|0,g,-14)}else{i=c[g+8>>2]|0;a:do if(!i)i=0;else while(1){if((a[i+51>>0]&3)==2)break a;i=c[i+20>>2]|0;if(!i){i=0;break}}while(0);sh(j,h,e,c[i+40>>2]|0,f)|0;g=c[d+8>>2]|0;th(g,-1,ds(d,i)|0,-6)}return}function Nq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((d|0)!=0?(a[d>>0]|0)==-97:0)sh(c[b+8>>2]|0,33,c[d+28>>2]|0,e,0)|0;else h=4;if(((h|0)==4?(g=es(b,d,e)|0,(g|0)!=(e|0)):0)?(f=c[b+8>>2]|0,(f|0)!=0):0)sh(f,34,g,e,0)|0;return}function Oq(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;m=i;i=i+16|0;if((i|0)>=(j|0))ba();l=m;h=c[b>>2]|0;do if(((a[h+145>>0]|0)==0?(a[b+451>>0]|0)==0:0)?(k=c[h+284>>2]|0,(k|0)!=0):0){h=gc[k&7](c[h+288>>2]|0,d,e,f,g,c[b+492>>2]|0)|0;if((h|0)==0|(h|0)==2)break;else if((h|0)==1){ph(b,25216,l);c[b+12>>2]=23;h=1;break}else{ph(b,25232,l);c[b+12>>2]=1;h=1;break}}else h=0;while(0);i=m;return h|0}function Pq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;d=Sq(c[a>>2]|0,d)|0;do if(d){e=Kq(a)|0;if((e|0)!=0?(Oq(a,32,c[37088+(b<<2)>>2]|0,d,0)|0)==0:0){th(e,sh(e,2,b,0,0)|0,d,-1);break}ig(c[a>>2]|0,d)}while(0);return}function Qq(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;v=i;i=i+16|0;if((i|0)>=(j|0))ba();r=v;p=v+4|0;u=c[e>>2]|0;f=ar(e,f,g,p)|0;a:do if((f|0)>=0){q=(h|0)!=0;if(q?(c[g+4>>2]|0)!=0&(f|0)!=1:0){ph(e,36976,r);break}t=q?1:f;g=c[p>>2]|0;q=g;f=c[q+4>>2]|0;p=e+496|0;c[p>>2]=c[q>>2];c[p+4>>2]=f;p=Sq(u,g)|0;if(p){b:do if((Hr(e,p)|0)==0?(o=(a[u+144>>0]|0)==1?1:h,s=u+16|0,n=c[(c[s>>2]|0)+(t<<4)>>2]|0,(Oq(e,18,(o|0)==1?13184:13208,0,n)|0)==0):0){h=(o|0)!=0;if(!k)f=h?4:2;else f=h?6:8;q=(l|0)!=0;if(!q?(Oq(e,f,p,0,n)|0)!=0:0)break;do if(!(a[e+451>>0]|0)){h=c[(c[s>>2]|0)+(t<<4)>>2]|0;if(Cn(e)|0)break b;if(!(Wh(u,p,h)|0)){if(!(Zp(u,p,h)|0))break;c[r>>2]=p;ph(e,37048,r);break b}if(!m){c[r>>2]=g;ph(e,37024,r);break b}else{wr(e,t);break b}}while(0);o=ih(u,76,0)|0;if(!o){a[u+65>>0]=1;c[e+12>>2]=7;s=e+64|0;c[s>>2]=(c[s>>2]|0)+1;break}n=o+0|0;h=n+76|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(h|0));c[o>>2]=p;b[o+36>>1]=-1;n=c[(c[s>>2]|0)+(t<<4)+12>>2]|0;c[o+68>>2]=n;b[o+40>>1]=1;b[o+28>>1]=200;c[e+484>>2]=o;if((a[e+18>>0]|0)==0?(Wv(p,26576)|0)==0:0)c[n+72>>2]=o;if(a[u+145>>0]|0)break a;g=Kq(e)|0;if(!g)break a;s=c[e+408>>2]|0;wr(e,t);n=1<<t;s=((s|0)==0?e:s)+328|0;c[s>>2]=c[s>>2]|n;if(q)sh(g,146,0,0,0)|0;o=e+72|0;f=c[o>>2]|0;p=f+1|0;c[e+384>>2]=p;q=f+2|0;c[e+388>>2]=q;f=f+3|0;c[o>>2]=f;sh(g,51,t,f,2)|0;o=g+96|0;c[o>>2]=c[o>>2]|n;o=sh(g,45,f,0,0)|0;sh(g,25,(c[u+24>>2]&32768|0)!=0?1:4,f,0)|0;sh(g,52,t,2,f)|0;sh(g,25,d[u+62>>0]|0,f,0)|0;sh(g,52,t,5,f)|0;h=g+32|0;n=c[h>>2]|0;if(n>>>0>o>>>0)c[(c[g+4>>2]|0)+(o*20|0)+8>>2]=n;c[(c[g+24>>2]|0)+88>>2]=n+-1;if(!(l|k))c[e+416>>2]=sh(g,121,t,q,0)|0;else sh(g,25,0,q,0)|0;fs(e,t);sh(g,74,0,p,0)|0;sh(g,28,0,f,0)|0;sh(g,75,0,f,p)|0;n=c[g+4>>2]|0;if(n)a[n+(((c[h>>2]|0)+-1|0)*20|0)+3>>0]=8;sh(g,61,0,0,0)|0;break a}while(0);ig(u,p)}}while(0);i=v;return}function Rq(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,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=i;i=i+176|0;if((i|0)>=(j|0))ba();J=O+80|0;G=O+168|0;D=O;E=O+136|0;F=O+112|0;K=c[f>>2]|0;a:do if((!((h|0)==0&(l|0)==0)?(L=K+65|0,(a[L>>0]|0)==0):0)?(M=f+484|0,N=c[M>>2]|0,(N|0)!=0):0){I=K+145|0;if(a[I>>0]|0)c[N+32>>2]=c[K+140>>2];b:do if(k&32){p=N+44|0;o=d[p>>0]|0;if(o&8){ph(f,36584,J);break a}if(!(o&4)){c[J>>2]=c[N>>2];ph(f,36640,J);break}a[p>>0]=o|32;q=c[f+8>>2]|0;p=c[f+416>>2]|0;if(p){if((p|0)<0)p=(c[q+32>>2]|0)+-1|0;if(!(a[(c[q>>2]|0)+65>>0]|0))p=(c[q+4>>2]|0)+(p*20|0)|0;else p=29120;a[p>>0]=120}p=c[f+420>>2]|0;if(p){if((p|0)<0)p=(c[q+32>>2]|0)+-1|0;if(!(a[(c[q>>2]|0)+65>>0]|0))o=(c[q+4>>2]|0)+(p*20|0)|0;else o=29120;a[o>>0]=16}o=N+36|0;if((b[o>>1]|0)>-1){p=hr(f,0,0)|0;if(!p)break;z=gh(c[f>>2]|0,c[(c[N+4>>2]|0)+((b[o>>1]|0)*24|0)>>2]|0)|0;A=c[p+4>>2]|0;c[A+4>>2]=z;a[A+12>>0]=a[f+448>>0]|0;p=Xq(f,0,0,0,p,d[N+45>>0]|0,0,0,0,0)|0;if(!p)break;u=p+51|0;a[u>>0]=a[u>>0]&-4|2;b[o>>1]=-1;u=b[p+46>>1]|0}else{p=c[N+8>>2]|0;c:do if(!p)p=0;else while(1){if((a[p+51>>0]&3)==2)break c;p=c[p+20>>2]|0;if(!p){p=0;break}}while(0);v=p+46|0;q=b[v>>1]|0;if((q&65535)>1){t=c[p+4>>2]|0;s=p+48|0;u=1;o=1;do{m=b[t+(u<<1)>>1]|0;r=o;n=t;while(1){if((r|0)<=0){C=36;break}if((b[n>>1]|0)==m<<16>>16){C=35;break}else{r=r+-1|0;n=n+2|0}}if((C|0)==35){C=0;b[s>>1]=(b[s>>1]|0)+-1<<16>>16}else if((C|0)==36){C=0;b[t+(o<<1)>>1]=m;q=b[v>>1]|0;o=o+1|0}u=u+1|0}while((u|0)<(q&65535|0))}else o=1;u=o&65535;b[v>>1]=u}r=p+51|0;q=a[r>>0]|32;a[r>>0]=q;A=u&65535;if(!(a[K+147>>0]|0)){if(u<<16>>16){q=c[p+4>>2]|0;o=c[N+4>>2]|0;n=0;do{a[o+((b[q+(n<<1)>>1]|0)*24|0)+20>>0]=1;n=n+1|0}while((n|0)<(A|0));q=a[r>>0]|0}a[r>>0]=q|8}c[p+40>>2]=c[N+32>>2];r=c[N+8>>2]|0;if(r){x=u<<16>>16==0;y=p+4|0;z=p+32|0;do{d:do if((a[r+51>>0]&3)!=2){do if(x)q=b[r+46>>1]|0;else{s=c[r+4>>2]|0;q=b[r+46>>1]|0;n=q&65535;m=c[y>>2]|0;w=0;o=0;do{t=b[m+(w<<1)>>1]|0;v=n;u=s;while(1){if((v|0)<=0){u=1;break}if((b[u>>1]|0)==t<<16>>16){u=0;break}else{v=v+-1|0;u=u+2|0}}o=u+o|0;w=w+1|0}while((w|0)<(A|0));n=r+46|0;if(!o)break;if(gs(K,r,(q&65535)+o|0)|0)break b;if(x)break d;t=b[n>>1]|0;w=r+4|0;m=r+32|0;v=t;u=0;t=t&65535;while(1){q=c[w>>2]|0;o=b[(c[y>>2]|0)+(u<<1)>>1]|0;v=v&65535;s=q;while(1){if((v|0)<=0){C=63;break}if((b[s>>1]|0)==o<<16>>16)break;else{v=v+-1|0;s=s+2|0}}if((C|0)==63){C=0;b[q+(t<<1)>>1]=o;c[(c[m>>2]|0)+(t<<2)>>2]=c[(c[z>>2]|0)+(u<<2)>>2];t=t+1|0}u=u+1|0;if((u|0)>=(A|0))break d;v=b[n>>1]|0}}while(0);b[r+48>>1]=q}while(0);r=c[r+20>>2]|0}while((r|0)!=0)}v=N+38|0;q=b[v>>1]|0;o=q<<16>>16;if((A|0)>=(o|0)){b[p+48>>1]=q;break}if((gs(K,p,o)|0)==0?(B=b[v>>1]|0,B<<16>>16>0):0){s=p+4|0;u=p+32|0;q=B;t=0;p=A;do{n=c[s>>2]|0;r=p;o=n;while(1){if((r|0)<=0){C=74;break}if((b[o>>1]|0)==(t|0))break;else{r=r+-1|0;o=o+2|0}}if((C|0)==74){C=0;b[n+(p<<1)>>1]=t;c[(c[u>>2]|0)+(p<<2)>>2]=11152;q=b[v>>1]|0;p=p+1|0}t=t+1|0}while((t|0)<(q<<16>>16|0))}}while(0);C=N+68|0;p=c[C>>2]|0;e:do if(p){o=c[K+20>>2]|0;if((o|0)>0){n=c[K+16>>2]|0;q=0;while(1){m=q+1|0;if((c[n+(q<<4)+12>>2]|0)==(p|0))break e;if((m|0)<(o|0))q=m;else{q=m;break}}}else q=0}else q=-1e6;while(0);n=c[N+24>>2]|0;f:do if(n){c[E+0>>2]=0;c[E+4>>2]=0;c[E+8>>2]=0;c[E+12>>2]=0;c[E+16>>2]=0;c[E+20>>2]=0;c[E+24>>2]=0;c[E+28>>2]=0;p=D+0|0;o=p+80|0;do{c[p>>2]=0;p=p+4|0}while((p|0)<(o|0));c[D>>2]=1;c[D+16>>2]=c[N>>2];c[D+24>>2]=N;c[D+48>>2]=-1;c[E>>2]=f;c[E+4>>2]=D;b[E+28>>1]=4;p=n+4|0;if((c[n>>2]|0)>0){o=0;do{if(hs(E,c[(c[p>>2]|0)+(o*20|0)>>2]|0)|0)break f;o=o+1|0}while((o|0)<(c[n>>2]|0))}}while(0);A=N+38|0;m=b[A>>1]|0;if(m<<16>>16>0){p=m<<16>>16;o=c[N+4>>2]|0;n=0;while(1){n=(d[o+22>>0]|0)+n|0;p=p+-1|0;if((p|0)<=0)break;else o=o+24|0}}else n=0;b[N+42>>1]=bs(((e[N+36>>1]|0)>>>15&65535)+n<<2,0)|0;n=c[N+8>>2]|0;if(n)do{is(n);n=c[n+20>>2]|0}while((n|0)!=0);if(!(a[I>>0]|0)){B=Kq(f)|0;if(!B)break;sh(B,61,0,0,0)|0;y=(c[N+12>>2]|0)==0;o=y?36672:36680;y=y?31232:35480;do if(!l){n=k<<24>>24==0?h:f+504|0;l=c[n>>2]|0;p=c[f+496>>2]|0;m=l-p|0;if((a[l>>0]|0)!=59)m=(c[n+4>>2]|0)+m|0;c[J>>2]=o;c[J+4>>2]=m;c[J+8>>2]=p;p=f+388|0;m=N;o=qh(K,36688,J)|0}else{p=f+388|0;sh(B,55,1,c[p>>2]|0,q)|0;o=c[B+4>>2]|0;if(o)a[o+(((c[B+32>>2]|0)+-1|0)*20|0)+3>>0]=4;c[f+68>>2]=2;a[F>>0]=14;c[F+4>>2]=1;a[F+1>>0]=0;c[F+8>>2]=0;c[F+12>>2]=0;er(f,l,F)|0;sh(B,61,1,0,0)|0;if(!(c[f+64>>2]|0)){m=js(f,l)|0;if(!m)break a;F=m+38|0;b[A>>1]=b[F>>1]|0;l=m+4|0;c[N+4>>2]=c[l>>2];b[F>>1]=0;c[l>>2]=0;gg(K,m)}z=N+4|0;w=b[A>>1]|0;if(w<<16>>16>0){s=w<<16>>16;t=0;o=0;u=c[z>>2]|0;while(1){m=c[u>>2]|0;n=0;while(1){r=a[m>>0]|0;if(!(r<<24>>24))break;else if(r<<24>>24==34)n=n+1|0;m=m+1|0;n=n+1|0}o=o+7+n|0;t=t+1|0;if((t|0)==(s|0))break;else u=u+24|0}r=o+2|0}else r=2;m=c[N>>2]|0;o=0;while(1){n=a[m>>0]|0;if(n<<24>>24==34)o=o+1|0;else if(!(n<<24>>24))break;m=m+1|0;o=o+1|0}u=o+r|0;x=(u|0)<50;r=x?10360:36880;v=x?20240:36888;x=x?33952:36896;u=((w<<16>>16)*6|0)+35+u|0;o=mg(u,((u|0)<0)<<31>>31)|0;if(!o){a[L>>0]=1;m=N;o=0;break}Yc(u,o,36904,J)|0;n=o;while(1)if(!(a[n>>0]|0))break;else n=n+1|0;c[G>>2]=n-o&1073741823;ks(o,G,c[N>>2]|0);m=c[G>>2]|0;s=m+1|0;c[G>>2]=s;a[o+m>>0]=40;m=u-s|0;n=o+s|0;if((b[A>>1]|0)>0){w=0;t=c[z>>2]|0;while(1){Yc(m,n,r,J)|0;n=o+s|0;if(!n)n=0;else{r=n;while(1)if(!(a[r>>0]|0))break;else r=r+1|0;n=r-n&1073741823}c[G>>2]=n+s;ks(o,G,c[t>>2]|0);n=c[36920+((a[t+21>>0]|0)+-65<<2)>>2]|0;r=n;while(1)if(!(a[r>>0]|0))break;else r=r+1|0;s=r-n&1073741823;r=c[G>>2]|0;gw(o+r|0,n|0,s|0)|0;s=r+s|0;c[G>>2]=s;r=w+1|0;m=u-s|0;n=o+s|0;if((r|0)<(b[A>>1]|0)){w=r;t=t+24|0;r=v}else break}}c[J>>2]=x;Yc(m,n,10344,J)|0;m=N}while(0);n=K+16|0;k=c[m>>2]|0;F=c[p>>2]|0;l=c[f+384>>2]|0;c[J>>2]=c[(c[n>>2]|0)+(q<<4)>>2];c[J+4>>2]=(q|0)==1?13184:13208;c[J+8>>2]=y;c[J+12>>2]=k;c[J+16>>2]=k;c[J+20>>2]=F;c[J+24>>2]=o;c[J+28>>2]=l;xr(f,36704,J);ig(K,o);zr(f,q);if((a[N+44>>0]&8)!=0?(H=c[n>>2]|0,(c[(c[H+(q<<4)+12>>2]|0)+72>>2]|0)==0):0){c[J>>2]=c[H+(q<<4)>>2];xr(f,36792,J)}c[J>>2]=c[m>>2];Er(B,q,qh(K,36840,J)|0);if(!(a[I>>0]|0))break}else m=N;if(Ek((c[C>>2]|0)+8|0,c[m>>2]|0,N)|0){a[L>>0]=1;break}c[M>>2]=0;l=K+24|0;c[l>>2]=c[l>>2]|2;if(!(c[N+12>>2]|0)){l=c[f+496>>2]|0;c[N+48>>2]=(Jn(l,(c[((c[g>>2]|0)==0?h:g)>>2]|0)-l|0)|0)+13}}while(0);i=O;return}function Sq(b,d){b=b|0;d=d|0;var e=0,f=0;if(!d)e=0;else{f=c[d>>2]|0;d=c[d+4>>2]|0;if((f|0)!=0?(e=fw(d|0,0,1,0)|0,e=ih(b,e,C)|0,(e|0)!=0):0){gw(e|0,f|0,d|0)|0;a[e+d>>0]=0}else e=0;ho(e)}return e|0}function Tq(b,e){b=b|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+16|0;if((i|0)>=(j|0))ba();m=n;a:do if(b){g=a[b>>0]|0;b:do if(!(g<<24>>24)){f=67;g=0}else{k=g;f=67;h=0;g=0;do{h=d[9328+(k&255)>>0]|0|h<<8;b=b+1|0;if((h|0)==1919246700)if(f<<24>>24==67){f=69;h=1919246700;l=5}else l=14;else if((h|0)==1952807028){f=66;l=5}else if((h|0)==1668050786){f=66;l=5}else if((h|0)==1718382433)if(f<<24>>24==67){f=69;h=1718382433;l=5}else l=13;else if((h|0)==1667785074){f=66;h=1667785074;g=b;l=5}else if((h|0)==1651273570)if(f<<24>>24==69|f<<24>>24==67){o=a[b>>0]|0;k=o;f=65;h=1651273570;g=o<<24>>24==40?b:g}else l=14;else if((h|0)==1685026146)if(f<<24>>24==67){f=69;h=1685026146;l=5}else l=13;else if((h&16777215|0)==6909556){f=68;break b}else l=5;if((l|0)==13)l=5;else if((l|0)==14)l=5;if((l|0)==5){l=0;k=a[b>>0]|0}}while(k<<24>>24!=0)}while(0);if((e|0)!=0?(a[e>>0]=1,f<<24>>24<67):0){if(!g){a[e>>0]=5;break}b=a[g>>0]|0;if(b<<24>>24){while(1){if(((b&255)+-48|0)>>>0<10)break;g=g+1|0;b=a[g>>0]|0;if(!(b<<24>>24))break a}c[m>>2]=0;zn(g,m)|0;g=((c[m>>2]|0)/4|0)+1|0;g=(g|0)>255?255:g;c[m>>2]=g;a[e>>0]=g}}}else f=67;while(0);i=n;return f|0}function Uq(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;o=i;i=i+32|0;if((i|0)>=(j|0))ba();m=o;n=c[e>>2]|0;k=c[e+484>>2]|0;do if(k){h=(b[k+38>>1]|0)+-1|0;l=c[k+4>>2]|0;p=c[f>>2]|0;q=(d[n+145>>0]|0)+4|0;c[m+0>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;c[m+16>>2]=0;c[m+20>>2]=0;k=m+20|0;a[k>>0]=q;c[m>>2]=78;c[m+4>>2]=79;c[m+24>>2]=0;ns(m,p)|0;if(!(a[k>>0]|0)){c[m>>2]=c[l+(h*24|0)>>2];ph(e,36480,m);break}k=l+(h*24|0)+4|0;Ck(n,c[k>>2]|0);c[k>>2]=Ir(n,c[f>>2]|0,1,0)|0;l=l+(h*24|0)+8|0;ig(n,c[l>>2]|0);h=c[f+4>>2]|0;k=(c[f+8>>2]|0)-h|0;if((h|0)!=0?(g=fw(k|0,((k|0)<0)<<31>>31|0,1,0)|0,g=ih(n,g,C)|0,(g|0)!=0):0){gw(g|0,h|0,k|0)|0;a[g+k>>0]=0}else g=0;c[l>>2]=g}while(0);Ck(n,c[f>>2]|0);i=o;return}function Vq(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,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;if((b|0)==72&(d|0)!=0&(e|0)!=0?(c[a+64>>2]|0)==0:0)b=os(c[a>>2]|0,d,e)|0;else{b=jr(c[a>>2]|0,b,f,1)|0;ps(c[a>>2]|0,b,d,e)}if((b|0)!=0?(g=c[(c[a>>2]|0)+100>>2]|0,(g|0)<(c[b+24>>2]|0)):0){c[h>>2]=g;ph(a,27152,h)}i=k;return b|0}function Wq(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,A=0;A=i;i=i+16|0;if((i|0)>=(j|0))ba();z=A;x=c[e+484>>2]|0;do if((x|0)!=0?(a[e+451>>0]|0)==0:0){y=x+44|0;m=d[y>>0]|0;if(m&4){c[z>>2]=c[x>>2];ph(e,36376,z);break}v=m|4;a[y>>0]=v;w=(f|0)==0;if(w){m=(b[x+38>>1]|0)+-1|0;t=c[x+4>>2]|0;l=t+(m*24|0)+23|0;a[l>>0]=d[l>>0]|1;l=m;n=1;m=c[t+(m*24|0)+12>>2]|0}else{u=c[f>>2]|0;if((u|0)>0){r=f+4|0;s=x+4|0;q=b[x+38>>1]|0;t=0;m=0;do{a:do if(q<<16>>16>0){o=c[(c[r>>2]|0)+(t*20|0)+4>>2]|0;p=c[s>>2]|0;n=0;while(1){l=n+1|0;if(!($c(o,c[p+(n*24|0)>>2]|0)|0))break;if((l|0)<(q<<16>>16|0))n=l;else break a}l=p+(n*24|0)+23|0;a[l>>0]=d[l>>0]|1;l=n;m=c[p+(n*24|0)+12>>2]|0}else l=0;while(0);t=t+1|0}while((t|0)!=(u|0))}else{l=-1;m=0}n=(u|0)==1}if(n&(m|0)!=0?($c(m,11144)|0|k|0)==0:0){b[x+36>>1]=l;a[x+45>>0]=g;a[y>>0]=v|h<<3;if(w){f=0;break}a[e+448>>0]=a[(c[f+4>>2]|0)+12>>0]|0;break}if(h){ph(e,36424,z);break}m=c[e+8>>2]|0;l=(m|0)!=0;if(l)c[e+420>>2]=sh(m,156,0,0,0)|0;f=Xq(e,0,0,0,f,g,0,0,k,0)|0;if((f|0)!=0?(t=f+51|0,a[t>>0]=a[t>>0]&-4|2,l):0){f=c[e+420>>2]|0;l=c[m+32>>2]|0;if(l>>>0>f>>>0)c[(c[m+4>>2]|0)+(f*20|0)+8>>2]=l;c[(c[m+24>>2]|0)+88>>2]=l+-1;f=0}else f=0}while(0);Jk(c[e>>2]|0,f);i=A;return}function Xq(f,g,h,k,l,m,n,o,p,q){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;q=q|0;var 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;V=i;i=i+144|0;if((i|0)>=(j|0))ba();S=V;B=V+112|0;u=V+88|0;Q=V+84|0;K=V+80|0;U=c[f>>2]|0;c[Q>>2]=0;c[K>>2]=0;P=U+65|0;a:do if(((a[P>>0]|0)==0?(a[f+451>>0]|0)==0:0)?(Cn(f)|0)==0:0){R=(k|0)!=0;b:do if(R){g=ar(f,g,h,Q)|0;if((g|0)<0){r=0;h=0;break a}if((a[U+145>>0]|0)==0?(r=Fr(f,k)|0,(c[h+4>>2]|0)==0&(r|0)!=0):0)g=(c[r+68>>2]|0)==(c[(c[U+16>>2]|0)+28>>2]|0)?1:g;h=c[Q>>2]|0;r=c[f>>2]|0;c[u>>2]=f;r=c[r+16>>2]|0;c[u+12>>2]=c[r+(g<<4)>>2];c[u+4>>2]=c[r+(g<<4)+12>>2];c[u+16>>2]=20632;c[u+20>>2]=h;r=(g|0)==1;c[u+8>>2]=r&1;Gr(u,k)|0;t=Qr(f,0,k+8|0)|0;if(!t){r=0;h=0;break a}if(r?(c[(c[U+16>>2]|0)+28>>2]|0)!=(c[t+68>>2]|0):0){c[S>>2]=c[t>>2];ph(f,35920,S);r=0;h=0;break a}if((a[t+44>>0]&32)!=0?(s=c[t+8>>2]|0,(s|0)!=0):0){r=s;while(1){if((a[r+51>>0]&3)==2){s=g;J=r;u=t;break b}r=c[r+20>>2]|0;if(!r){s=g;J=0;u=t;break}}}else{s=g;J=0;u=t}}else{u=c[f+484>>2]|0;if(!u){r=0;h=0;break a}g=c[u+68>>2]|0;if(g){r=c[U+20>>2]|0;if((r|0)>0){h=c[U+16>>2]|0;t=0;while(1){s=t+1|0;if((c[h+(t<<4)+12>>2]|0)==(g|0)){h=0;s=t;J=0;break b}if((s|0)<(r|0))t=s;else{h=0;J=0;break}}}else{h=0;s=0;J=0}}else{h=0;s=-1e6;J=0}}while(0);O=U+16|0;C=c[O>>2]|0;g=C+(s<<4)|0;x=c[u>>2]|0;if(((Bc(x,25568,7)|0)==0?(a[U+145>>0]|0)==0:0)?(Bc(x+7|0,35976,9)|0)!=0:0){c[S>>2]=x;ph(f,35992,S);r=0;h=0;break}if(c[u+12>>2]|0){ph(f,36024,S);r=0;h=0;break}N=u+44|0;if(a[N>>0]&16){ph(f,36056,S);r=0;h=0;break}D=(h|0)==0;if(!D){h=Sq(U,h)|0;if(!h){r=0;h=0;break}if(Hr(f,h)|0){r=0;break}if((a[U+145>>0]|0)==0?(Wh(U,h,0)|0)!=0:0){c[S>>2]=h;ph(f,36096,S);r=0;break}if(Zp(U,h,c[g>>2]|0)|0)if(!q){c[S>>2]=h;ph(f,36136,S);r=0;break}else{wr(f,s);r=0;break}else t=h}else{r=c[u+8>>2]|0;if(!r)t=1;else{t=1;do{t=t+1|0;r=c[r+20>>2]|0}while((r|0)!=0)}c[S>>2]=x;c[S+4>>2]=t;t=qh(U,36160,S)|0;if(!t){r=0;h=0;break}}g=c[g>>2]|0;r=(s|0)==1;L=r?13184:13208;if((Oq(f,18,L,0,g)|0)==0?(Oq(f,r?3:1,t,c[u>>2]|0,g)|0)==0:0){if(!l){l=hr(f,0,0)|0;if(!l){l=0;r=0;h=t;break}F=gh(c[f>>2]|0,c[(c[u+4>>2]|0)+(((b[u+38>>1]|0)+-1|0)*24|0)>>2]|0)|0;G=c[l+4>>2]|0;c[G+4>>2]=F;a[G+12>>0]=p}A=c[l>>2]|0;if((A|0)>0){x=c[l+4>>2]|0;v=0;g=0;do{r=c[x+(v*20|0)>>2]|0;if(r){h=c[r+8>>2]|0;if(!h)r=1;else{r=h;while(1)if(!(a[r>>0]|0))break;else r=r+1|0;r=(r-h&1073741823)+1|0}g=r+g|0}v=v+1|0}while((v|0)<(A|0));h=g}else h=0;if(!t)r=0;else{g=t;while(1)if(!(a[g>>0]|0))break;else g=g+1|0;r=g-t&1073741823}F=(J|0)!=0;if(F)g=e[J+46>>1]|0;else g=1;M=qs(U,A+g&65535,h+1+r|0,K)|0;c:do if(!(a[P>>0]|0)){E=c[K>>2]|0;c[M>>2]=E;I=r+1|0;z=E+I|0;c[K>>2]=z;gw(E|0,t|0,I|0)|0;c[M+12>>2]=u;I=M+50|0;a[I>>0]=m;E=M+51|0;a[E>>0]=a[E>>0]&-12|((m|0)!=0&1)<<3&255|D&1;H=M+24|0;c[H>>2]=c[(c[O>>2]|0)+(s<<4)+12>>2];g=c[l>>2]|0;G=M+46|0;b[G>>1]=g;if(o){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;c[B+20>>2]=0;c[B+24>>2]=0;c[B+28>>2]=0;x=S+0|0;h=x+80|0;do{c[x>>2]=0;x=x+4|0}while((x|0)<(h|0));c[S>>2]=1;c[S+16>>2]=c[u>>2];c[S+24>>2]=u;c[S+48>>2]=-1;c[B>>2]=f;c[B+4>>2]=S;b[B+28>>1]=16;hs(B,o)|0;c[M+36>>2]=o;g=c[l>>2]|0}w=(d[(c[C+(s<<4)+12>>2]|0)+76>>0]|0)>3;d:do if((g|0)>0){D=u+4|0;C=u+38|0;B=M+4|0;o=U+145|0;g=M+32|0;v=M+28|0;h=0;p=c[l+4>>2]|0;while(1){r=c[p+4>>2]|0;x=b[C>>1]|0;e:do if(x<<16>>16>0){A=0;y=c[D>>2]|0;while(1){if(!($c(r,c[y>>2]|0)|0)){q=A;break e}A=A+1|0;if((A|0)<(x<<16>>16|0))y=y+24|0;else{q=A;break}}}else q=0;while(0);if((q|0)>=(x<<16>>16|0))break;b[(c[B>>2]|0)+(h<<1)>>1]=q;A=c[p>>2]|0;if(!A){A=c[(c[D>>2]|0)+(q*24|0)+16>>2]|0;A=(A|0)!=0?A:11152}else{y=c[A+8>>2]|0;if(!y)A=1;else{A=y;while(1)if(!(a[A>>0]|0))break;else A=A+1|0;A=(A-y&1073741823)+1|0}gw(z|0,y|0,A|0)|0;y=c[K>>2]|0;z=y+A|0;c[K>>2]=z;A=y}if((a[o>>0]|0)==0?(_q(f,A)|0)==0:0){h=0;r=0;T=134;break c}c[(c[g>>2]|0)+(h<<2)>>2]=A;a[(c[v>>2]|0)+h>>0]=w?a[p+12>>0]|0:0;if(!(a[(c[D>>2]|0)+(q*24|0)+20>>0]|0))a[E>>0]=a[E>>0]&-9;h=h+1|0;if((h|0)<(c[l>>2]|0))p=p+20|0;else break d}c[S>>2]=c[u>>2];c[S+4>>2]=r;ph(f,36184,S);a[f+17>>0]=1;h=0;r=0;T=134;break c}else h=0;while(0);do if(F){w=J+46|0;x=b[w>>1]|0;if(!(x<<16>>16))break;B=J+4|0;C=M+4|0;D=M+48|0;p=J+32|0;q=M+32|0;g=J+28|0;v=M+28|0;o=0;do{y=b[(c[B>>2]|0)+(o<<1)>>1]|0;r=c[C>>2]|0;A=e[G>>1]|0;z=r;while(1){if((A|0)<=0){T=92;break}if((b[z>>1]|0)==y<<16>>16){T=91;break}else{A=A+-1|0;z=z+2|0}}if((T|0)==91){T=0;b[D>>1]=(b[D>>1]|0)+-1<<16>>16}else if((T|0)==92){T=0;b[r+(h<<1)>>1]=y;c[(c[q>>2]|0)+(h<<2)>>2]=c[(c[p>>2]|0)+(o<<2)>>2];a[(c[v>>2]|0)+h>>0]=a[(c[g>>2]|0)+o>>0]|0;x=b[w>>1]|0;h=h+1|0}o=o+1|0}while((o|0)<(x&65535|0))}else{b[(c[M+4>>2]|0)+(h<<1)>>1]=-1;c[(c[M+32>>2]|0)+(h<<2)>>2]=11152}while(0);_p(M);o=f+484|0;g=c[o>>2]|0;if(!g){is(M);g=c[o>>2]|0}f:do if((u|0)==(g|0)){r=c[u+8>>2]|0;if(!r)break;y=b[G>>1]|0;z=M+4|0;A=M+32|0;while(1){if((b[r+46>>1]|0)==y<<16>>16){g:do if(!(y<<16>>16)){o=0;g=0}else{v=c[r+4>>2]|0;w=c[z>>2]|0;x=r+32|0;g=0;while(1){if((b[v+(g<<1)>>1]|0)!=(b[w+(g<<1)>>1]|0)){o=y;break g}o=c[(c[x>>2]|0)+(g<<2)>>2]|0;h=c[(c[A>>2]|0)+(g<<2)>>2]|0;if((o|0)!=(h|0)?($c(o,h)|0)!=0:0){o=y;break g}g=g+1|0;if((g|0)>=(y&65535|0)){o=y;break}}}while(0);if((g|0)==(o&65535|0))break}r=c[r+20>>2]|0;if(!r)break f}g=r+50|0;h=a[g>>0]|0;o=a[I>>0]|0;if(h<<24>>24==o<<24>>24){h=0;break c}if(!(h<<24>>24==10|o<<24>>24==10)){c[S>>2]=0;ph(f,36216,S);h=a[g>>0]|0}if(h<<24>>24!=10){h=0;T=134;break c}a[g>>0]=a[I>>0]|0;h=0;break c}while(0);h=U+145|0;do if(!(a[h>>0]|0)){if(c[f+64>>2]|0){T=126;break}if(!((a[N>>0]&32)==0|R)){T=126;break}r=f+72|0;o=(c[r>>2]|0)+1|0;c[r>>2]=o;r=Kq(f)|0;if(!r){h=0;r=0;T=134;break c}G=c[f+408>>2]|0;G=(G|0)==0?f:G;wr(f,s);F=G+328|0;c[F>>2]=c[F>>2]|1<<s;G=G+20|0;a[G>>0]=d[G>>0]|1;sh(r,120,s,o,0)|0;if(!n)g=0;else{g=c[c[Q>>2]>>2]|0;G=(c[f+504>>2]|0)-g+(c[f+508>>2]|0)|0;F=G+-1|0;G=(a[g+F>>0]|0)==59?F:G;c[S>>2]=(m|0)==0?10360:36288;c[S+4>>2]=G;c[S+8>>2]=g;g=qh(U,36264,S)|0}F=c[M>>2]|0;G=c[u>>2]|0;c[S>>2]=c[(c[O>>2]|0)+(s<<4)>>2];c[S+4>>2]=L;c[S+8>>2]=F;c[S+12>>2]=G;c[S+16>>2]=o;c[S+20>>2]=g;xr(f,36296,S);ig(U,g);if(!R)break;rs(f,M,o);zr(f,s);c[S>>2]=c[M>>2];Er(r,s,qh(U,36344,S)|0);sh(r,144,0,0,0)|0;T=126}else{if(Ek((c[H>>2]|0)+24|0,c[M>>2]|0,M)|0){a[P>>0]=1;h=0;r=0;T=134;break c}G=U+24|0;c[G>>2]=c[G>>2]|2;if(!R)break;c[M+40>>2]=c[U+140>>2];T=126}while(0);if((T|0)==126?!((a[h>>0]|0)!=0|(k|0)==0):0){h=0;r=0;T=134;break}h=c[u+8>>2]|0;do if((m|0)==5){if(!h){h=0;break}if((a[h+50>>0]|0)==5)break;do{r=h+20|0;h=c[r>>2]|0;if(!h){h=0;break}}while((a[h+50>>0]|0)!=5);c[M+20>>2]=h;c[r>>2]=M;o=0;r=M;h=t;break a}while(0);c[M+20>>2]=h;c[u+8>>2]=M;o=0;r=M;h=t;break a}else{h=o;r=0;T=134}while(0);if((T|0)==134)if(!M){o=h;h=t;break}Fk(U,M);o=h;h=t}else{r=0;h=t}}else{r=0;h=0}while(0);Ck(U,o);Jk(U,l);zo(U,k);ig(U,h);i=V;return r|0}function Yq(e,f){e=e|0;f=f|0;var g=0,h=0;g=c[e+484>>2]|0;h=c[e>>2]|0;if(((g|0)!=0?(a[e+451>>0]|0)==0:0)?(b[(c[(c[(c[h+16>>2]|0)+(d[h+144>>0]<<4)+4>>2]|0)+4>>2]|0)+22>>1]&1)==0:0){h=g+24|0;g=hr(e,c[h>>2]|0,f)|0;c[h>>2]=g;if(c[e+324>>2]|0)ir(e,g,e+320|0,1)}else Ck(h,f);return}function Zq(d,e,f,g,h){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,z=0,A=0,B=0,C=0;C=i;i=i+16|0;if((i|0)>=(j|0))ba();z=C;B=c[d>>2]|0;A=c[d+484>>2]|0;a:do if((A|0)!=0?(a[d+451>>0]|0)==0:0){w=(e|0)==0;do if(w){y=b[A+38>>1]|0;l=(y<<16>>16)+-1|0;if(y<<16>>16<1){k=0;break a}if(g)if((c[g>>2]|0)==1){l=1;k=13}else{c[z>>2]=c[(c[A+4>>2]|0)+(l*24|0)>>2];c[z+4>>2]=f;ph(d,35712,z);k=0;break a}else{l=1;k=12}}else{if(!g){l=c[e>>2]|0;k=12;break}l=c[g>>2]|0;if((l|0)==(c[e>>2]|0))k=13;else{ph(d,35776,z);k=0;break a}}while(0);if((k|0)==12){m=f+4|0;p=m;t=0;m=(l<<3)+37+(c[m>>2]|0)|0;y=l}else if((k|0)==13){p=f+4|0;m=(l<<3)+37+(c[p>>2]|0)|0;q=c[g>>2]|0;if((q|0)>0){r=c[g+4>>2]|0;s=0;do{o=c[r+(s*20|0)+4>>2]|0;if(!o)k=1;else{n=o;while(1)if(!(a[n>>0]|0))break;else n=n+1|0;k=(n-o&1073741823)+1|0}m=k+m|0;s=s+1|0}while((s|0)<(q|0));t=1;y=l}else{t=1;y=l}}k=ih(B,m,((m|0)<0)<<31>>31)|0;if(k){bw(k|0,0,m|0)|0;c[k>>2]=A;x=A+16|0;c[k+4>>2]=c[x>>2];u=k+36|0;n=u+(y<<3)|0;v=k+8|0;c[v>>2]=n;gw(n|0,c[f>>2]|0,c[p>>2]|0)|0;a[n+(c[p>>2]|0)>>0]=0;ho(n);n=n+((c[p>>2]|0)+1)|0;c[k+20>>2]=y;b:do if(!w){if((y|0)>0){m=A+4|0;f=e+4|0;o=b[A+38>>1]|0;l=0;while(1){c:do if(o<<16>>16>0){s=c[m>>2]|0;r=c[(c[f>>2]|0)+(l*20|0)+4>>2]|0;q=0;while(1){p=q+1|0;if(!($c(c[s+(q*24|0)>>2]|0,r)|0)){p=q;break}if((p|0)<(o<<16>>16|0))q=p;else break c}c[u+(l<<3)>>2]=p}else p=0;while(0);if((p|0)>=(o<<16>>16|0))break;l=l+1|0;if((l|0)>=(y|0))break b}c[z>>2]=c[(c[f>>2]|0)+(l*20|0)+4>>2];ph(d,35872,z);break a}}else c[u>>2]=(b[A+38>>1]|0)+-1;while(0);if(t&(y|0)>0){o=g+4|0;p=0;while(1){m=c[(c[o>>2]|0)+(p*20|0)+4>>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[u+(p<<3)+4>>2]=n;gw(n|0,m|0,l|0)|0;a[n+l>>0]=0;p=p+1|0;if((p|0)==(y|0))break;else n=n+(l+1)|0}}a[k+24>>0]=0;a[k+25>>0]=h;a[k+26>>0]=h>>>8;l=Ek((c[A+68>>2]|0)+56|0,c[v>>2]|0,k)|0;if((l|0)==(k|0)){a[B+65>>0]=1;break}if(l){c[k+12>>2]=l;c[l+16>>2]=k}c[x>>2]=k;k=0}else k=0}else k=0;while(0);ig(B,k);Jk(B,e);Jk(B,g);i=C;return}function _q(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=c[b>>2]|0;f=a[e+62>>0]|0;g=a[e+145>>0]|0;e=Un(e,f,d,g&255)|0;do if(!(g<<24>>24)){if((e|0)!=0?(c[e+12>>2]|0)!=0:0)break;e=ss(b,f,e,d)|0}while(0);return e|0}function $q(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;y=i;i=i+16|0;if((i|0)>=(j|0))ba();w=y;s=y+12|0;x=c[e>>2]|0;do if(!(a[x+65>>0]|0)){h=(h|0)!=0;if(h){r=x+68|0;a[r>>0]=(a[r>>0]|0)+1<<24>>24;v=Qr(e,g,f+8|0)|0;a[r>>0]=(a[r>>0]|0)+-1<<24>>24}else v=Qr(e,g,f+8|0)|0;if(!v){if(!h)break;vr(e,c[f+12>>2]|0);break}p=v+68|0;l=c[p>>2]|0;a:do if(l){h=c[x+20>>2]|0;if((h|0)>0){k=c[x+16>>2]|0;n=0;while(1){m=n+1|0;if((c[k+(n<<4)+12>>2]|0)==(l|0)){m=n;break a}if((m|0)<(h|0))n=m;else break}}else m=0}else m=-1e6;while(0);t=v+44|0;if((a[t>>0]&16)!=0?(dr(e,v)|0)!=0:0)break;n=(m|0)==1;u=n?13184:13208;h=c[(c[x+16>>2]|0)+(m<<4)>>2]|0;if(!(Oq(e,9,u,0,h)|0)){k=(g|0)!=0;do if(k){l=n?15:17;n=0}else{if(!(a[t>>0]&16)){l=n?13:11;n=0;break}n=v+60|0;while(1){n=c[n>>2]|0;if((c[n>>2]|0)==(x|0))break;else n=n+24|0}l=30;n=c[(c[n+4>>2]|0)+4>>2]|0}while(0);if((Oq(e,l,c[v>>2]|0,n,h)|0)==0?(Oq(e,9,c[v>>2]|0,0,h)|0)==0:0){n=c[v>>2]|0;if((Bc(n,25568,7)|0)==0?(Bc(n,35488,11)|0)!=0:0){c[w>>2]=n;ph(e,35504,w);break}h=v+12|0;l=(c[h>>2]|0)==0;if(k){if(l){c[w>>2]=n;ph(e,35536,w);break}}else if(!l){c[w>>2]=n;ph(e,35576,w);break}if(Kq(e)|0){q=e+408|0;l=c[q>>2]|0;l=(l|0)==0?e:l;wr(e,m);r=1<<m;k=l+328|0;c[k>>2]=c[k>>2]|r;l=l+20|0;a[l>>0]=d[l>>0]|1;yr(e,m,28544,c[v>>2]|0);l=c[e>>2]|0;k=l+24|0;b:do if(((c[k>>2]&524288|0)!=0?(a[t>>0]&16)==0:0)?(c[h>>2]|0)==0:0){o=Kq(e)|0;s=Zm((c[p>>2]|0)+56|0,c[v>>2]|0,s)|0;if((s|0)!=0?(c[s+8>>2]|0)!=0:0)n=0;else{n=c[v+16>>2]|0;if(!n)break;while(1){if(a[n+24>>0]|0)break;if(c[k>>2]&16777216)break;n=c[n+4>>2]|0;if(!n)break b}n=ts(o)|0;sh(o,135,1,n,0)|0}s=e+438|0;a[s>>0]=1;nr(e,us(l,f,0)|0,0);a[s>>0]=0;if(!(c[k>>2]&16777216)){sh(o,135,0,(c[o+32>>2]|0)+2|0,0)|0;vs(e,787,2,0,-2,4)}if(n){l=c[o+24>>2]|0;h=~n;do if((n|0)<0){n=c[l+112>>2]|0;if(!n)break;c[n+(h<<2)>>2]=c[o+32>>2]}while(0);c[l+88>>2]=(c[o+32>>2]|0)+-1}}while(0);o=c[e>>2]|0;p=o+16|0;l=c[p>>2]|0;h=Kq(e)|0;s=c[q>>2]|0;s=(s|0)==0?e:s;wr(e,m);q=s+328|0;c[q>>2]=c[q>>2]|r;s=s+20|0;a[s>>0]=d[s>>0]|1;if(a[t>>0]&16)sh(h,146,0,0,0)|0;n=ws(e,v)|0;if(n)do{Mr(e,n);n=c[n+32>>2]|0}while((n|0)!=0);l=l+(m<<4)|0;if(a[t>>0]&8){s=c[v>>2]|0;c[w>>2]=c[l>>2];c[w+4>>2]=s;xr(e,35608,w)}s=c[v>>2]|0;c[w>>2]=c[l>>2];c[w+4>>2]=u;c[w+8>>2]=s;xr(e,35656,w);if((g|0)==0?(a[t>>0]&16)==0:0)xs(e,v);if(a[t>>0]&16){s=c[v>>2]|0;th(h,sh(h,148,m,0,0)|0,s,0)}k=c[v>>2]|0;th(h,sh(h,124,m,0,0)|0,k,0);zr(e,m);h=c[(c[p>>2]|0)+(m<<4)+12>>2]|0;k=b[h+78>>1]|0;if(k&2){l=c[h+16>>2]|0;if(l){k=l;do{h=c[k+8>>2]|0;if(c[h+12>>2]|0){Hk(o,h);c[h+4>>2]=0;b[h+38>>1]=0}k=c[k>>2]|0}while((k|0)!=0);k=c[(c[p>>2]|0)+(m<<4)+12>>2]|0;h=k;k=b[k+78>>1]|0}b[h+78>>1]=k&65533}}}}}while(0);zo(x,f);i=y;return}function ar(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;m=i;i=i+16|0;if((i|0)>=(j|0))ba();k=m;h=c[b>>2]|0;do if((f|0)!=0?(c[f+4>>2]|0)!=0:0){if(a[h+145>>0]|0){ph(b,28488,k);f=b+64|0;c[f>>2]=(c[f>>2]|0)+1;f=-1;break}c[g>>2]=f;g=Sq(h,e)|0;f=Rh(h,g)|0;ig(h,g);if((f|0)<0){c[k>>2]=e;ph(b,28512,k);f=b+64|0;c[f>>2]=(c[f>>2]|0)+1;f=-1}}else l=7;while(0);if((l|0)==7){f=d[h+144>>0]|0;c[g>>2]=e}i=m;return f|0}function br(a,b){a=a|0;b=b|0;a:do if(!b)b=0;else while(1){if(Dr(a,c[b>>2]|0)|0){b=1;break a}if(Gr(a,c[b+32>>2]|0)|0){b=1;break a}if(Cr(a,c[b+36>>2]|0)|0){b=1;break a}if(Dr(a,c[b+40>>2]|0)|0){b=1;break a}if(Cr(a,c[b+44>>2]|0)|0){b=1;break a}if(Dr(a,c[b+48>>2]|0)|0){b=1;break a}if(Cr(a,c[b+60>>2]|0)|0){b=1;break a}if(Cr(a,c[b+64>>2]|0)|0){b=1;break a}b=c[b+52>>2]|0;if(!b){b=0;break}}while(0);return b|0}function cr(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;if((f|0)!=0?(h=ih(d,72,0)|0,(h|0)!=0):0){c[h>>2]=Lr(d,c[f>>2]|0,g)|0;c[h+32>>2]=us(d,c[f+32>>2]|0,g)|0;c[h+36>>2]=Ir(d,c[f+36>>2]|0,g,0)|0;c[h+40>>2]=Lr(d,c[f+40>>2]|0,g)|0;c[h+44>>2]=Ir(d,c[f+44>>2]|0,g,0)|0;c[h+48>>2]=Lr(d,c[f+48>>2]|0,g)|0;a[h+4>>0]=a[f+4>>0]|0;j=cr(d,c[f+52>>2]|0,g)|0;c[h+52>>2]=j;if(j)c[j+56>>2]=h;c[h+56>>2]=0;c[h+60>>2]=Ir(d,c[f+60>>2]|0,g,0)|0;c[h+64>>2]=Ir(d,c[f+64>>2]|0,g,0)|0;c[h+8>>2]=0;c[h+12>>2]=0;b[h+6>>1]=(e[f+6>>1]|0)&65527;c[h+16>>2]=-1;c[h+20>>2]=-1;l=f+24|0;j=c[l+4>>2]|0;g=h+24|0;c[g>>2]=c[l>>2];c[g+4>>2]=j;g=c[f+68>>2]|0;if((g|0)!=0?(k=c[g>>2]<<4|8,i=ih(d,k,((k|0)<0)<<31>>31)|0,(i|0)!=0):0){bw(i|0,0,k|0)|0;c[i>>2]=c[g>>2];if((c[g>>2]|0)>0){f=i+8|0;j=0;do{c[f+(j<<4)+8>>2]=cr(d,c[g+(j<<4)+16>>2]|0,0)|0;c[f+(j<<4)+4>>2]=Lr(d,c[g+(j<<4)+12>>2]|0,0)|0;c[f+(j<<4)>>2]=gh(d,c[g+(j<<4)+8>>2]|0)|0;j=j+1|0}while((j|0)<(c[g>>2]|0))}}else i=0;c[h+68>>2]=i}else h=0;return h|0}function dr(d,f){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;t=i;i=i+16|0;if((i|0)>=(j|0))ba();p=t;k=t+8|0;m=t+4|0;s=c[d>>2]|0;n=f+44|0;h=a[n>>0]|0;a:do if(!(h&16))q=11;else{g=c[f+60>>2]|0;if(g)do{if((c[g>>2]|0)==(s|0)){q=11;break a}g=c[g+24>>2]|0}while((g|0)!=0);g=f+56|0;h=Zm(s+308|0,c[c[g>>2]>>2]|0,k)|0;if((h|0)!=0?(l=c[h+8>>2]|0,(l|0)!=0):0){c[m>>2]=0;l=(vn(s,f,l,c[(c[l>>2]|0)+8>>2]|0,m)|0)==0;h=c[m>>2]|0;if(l){ig(s,h);h=a[n>>0]|0;q=11;break}else{c[p>>2]=h;ph(d,10344,p);ig(s,h);g=1;break}}c[p>>2]=c[c[g>>2]>>2];ph(d,28320,p);g=1}while(0);do if((q|0)==11)if((h&16)==0?(r=f+38|0,o=b[r>>1]|0,o<<16>>16<=0):0){if(o<<16>>16<0){c[p>>2]=c[f>>2];ph(d,26752,p);g=1;break}h=cr(s,c[f+12>>2]|0,0)|0;if(!h)g=1;else{o=s+250|0;n=a[o>>0]|0;q=d+68|0;p=c[q>>2]|0;ys(d,c[h+32>>2]|0);b[r>>1]=-1;a[o>>0]=0;m=s+284|0;l=c[m>>2]|0;c[m>>2]=0;g=js(d,h)|0;c[m>>2]=l;a[o>>0]=n;c[q>>2]=p;if(!g){b[r>>1]=0;g=1}else{d=g+38|0;b[r>>1]=b[d>>1]|0;q=g+4|0;c[f+4>>2]=c[q>>2];b[d>>1]=0;c[q>>2]=0;gg(s,g);g=(c[f+68>>2]|0)+78|0;b[g>>1]=e[g>>1]|0|2;g=0}Ik(s,h,1)}}else g=0;while(0);i=t;return g|0}
[all...]
/external/v8/test/mjsunit/asm/poppler/
H A Dpoppler.js[all...]

Completed in 1166 milliseconds