12345678910111213141516171819202122232425262728293031 |
- var h=' \
- // Copyright 2011 Google Inc. \
- // \
- // This code is licensed under the same terms as WebM: \
- // Software License Agreement: http://www.webmproject.org/license/software/ \
- // Additional IP Rights Grant: http://www.webmproject.org/license/additional/ \
- // ----------------------------------------------------------------------------- \
- // \
- // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND \
- // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED \
- // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. \
- // IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, \
- // INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, \
- // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, \
- // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY \
- // OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING \
- // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, \
- // EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \
- // \
- // ----------------------------------------------------------------------------- \
- // \
- // Copyright 2011 Dominik Homberger \
- // WebPJS 0.0.2 & Libwebp JavaScript / libwebpjs - the libwebp implementation in JavaScript \
- // WebPJS 0.0.2 & Libwebp ActionScript / libwebpas - the libwebp implementation in ActionScript \
- // with alpha channel support (WEBP_EXPERIMENTAL_FEATURES) \
- // \
- // Author: Dominik Homberger (dominik.homberger@googlemail.com) \
- // \
- // Libwebp Decoder Library libwebpjs-0.1.3-smaller.min.js \
- // WebPJS CORE 0.0.2';
- eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('1b 7A=0,9k=0,1j=0,9l=0,7B=0;1b 5Y=7A;1b 1o=7A;1b 7C=9k;1b 5b=9k;1b 9m=1j;1b 2i=1j;1b 9n=9l;1b c8=9l;1b ha=0;1b 5Z=0;1b hb=0;1b hc=c8;1f 2z(a){}1f 1w(a){1g 9o.5c(9o.hd(a))}1f c9(a){1b b=1c 1d;1b c=a.1p;1h(i=0;i<c;++i)b.1t(a.6a(i));1g b}1f he(a,b){1b c=1c 1d;1b i;1h(i=0;i<b;++i)c[i]="0";d0=a.d1(2)+""+c.9p("");1g 4v(d0,2)}1f hf(a,b,c){1b i;1h(i=3;i>=0;--i)a[b+(3-i)]=c>>8*i&1a}1f hg(a,b){1g a[b+0]<<24|a[b+1]<<16|a[b+2]<<8|a[b+3]}1f hh(a){1b i,9q="";1h(i=3;i>=0;--i)9q+=" "+(a>>8*i&1a);2z(9q)}1f 7D(a){1g"hi"+a.d1(16)}1f 1G(a,b,c,d,e){if(5d a!="d2")1h(i=0;i<e;++i)a[b+i]=c[d+i];1l{if(b>0)2z("d2 hj is hk 0");a=c.6b(d,e);1g a}}1f hl(a,b,c,d,e){}1f hm(b,c,d,e,f){1h(i=0;i<f;++i){1b g=b[c+i].1p;1h(1b a=0;a<g;++a)b[c+i][a]=d[e+i][a]}}1f 6c(a){1b b=1c 1d;1b c=a.1p;1h(i=0;i<c;++i)b.1t(a[i]);1g b}1f 9r(a,b){1b c=1c 1d;c.1t(1w(a));1h(i=0;i<b;++i)c.1t(1w(a));c.1t(0);1g c}1f 4w(a,b){1b c=1c 1d;1h(i=0;i<b;++i)c.1t(a);c.1t(0);1g c}1f hn(a,b){1b c=1c 1d;c.1t(1w(a));1h(i=0;i<b;++i)c.1t(1w(a));c.1t(0);1g c}1f ho(a,b){1b c=1c 1d;1h(i=0;i<b;++i)c.1t(a);c.1t(0);1g c}1f 5e(a,b,c,d){1h(i=0;i<d;++i)a[b+i]=c}1f 9s(a,b){1b c=1c 1d;1h(i=0;i<a;++i)c.1t(b);c.1t(0);1g c}1f hp(a,b){1b c=1c 1d;1h(i=0;i<a;++i)c.1t(" ");1g c.9p("")}1f 1S(a){1g 1}1f 6d(a,b,s,c){1b w="";1h(i=0;i<c;++i)w+=6e.6f(a[b+i]);if(s==w)1g 0;1l 1g 1}1f 1v(a,b){1b c=1c 1d;1h(i=0;i<a;++i)c.1t(b);1g c}1f 9t(a,b){1b c=1c 1d;1h(i=0;i<a;++i)c.1t(1w(b));1g c}1f 9u(b,c){1b d,hq=1c 1d;1h(a=b.1p-1;a>=0;--a)c=1w(1v(b[a],c));1g c}1f 1K(a){if(!a)9v 1c hr("1K :P");}1f 9w(){1b ba=1f ba(){1b bb=1f(){1b D=4x;1b E=0;1b F=1;1b G=2;1b H=9;1b I=6;1b J=4x;1b K=64;1b L;1b M;1b N=1k;1b O;1b P,hs;1b Q;1b R;1b S;1b T;1b U;1b V;1b W,7E;1b X,3H;1b Y;1b Z;1b bc=1c 1d(0,1,3,7,15,31,63,1H,1a,ht,hu,hv,hw,hx,6g,hy,d3);1b bd=1c 1d(3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,3I,3J,3b,3c,3K,hz,0,0);1b be=1c 1d(0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,99,99);1b bf=1c 1d(1,2,3,4,5,7,9,13,17,25,33,49,65,97,2I,3L,6h,hA,hB,hC,hD,hE,hF,hG,hH,hI,hJ,hK,hL,hM);1b bg=1c 1d(0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13);1b bh=1c 1d(16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15);1b bi=1f(){1n.9x=1k;1n.6i=1k};1b bj=1f(){1n.e=0;1n.b=0;1n.n=0;1n.t=1k};1b bk=1f(b,n,s,d,e,l){1n.3M=16;1n.d4=7F;1n.1F=0;1n.3d=1k;1n.m=0;1b a;1b c=1c 1d(1n.3M+1);1b m;1b f;1b g;1b h;1b i;1b j;1b k;1b t=1c 1d(1n.3M+1);1b p;1b A;1b q;1b r=1c bj;1b u=1c 1d(1n.3M);1b v=1c 1d(1n.d4);1b w;1b x=1c 1d(1n.3M+1);1b B;1b y;1b z;1b o;1b C;C=1n.3d=1k;1h(i=0;i<c.1p;i++)c[i]=0;1h(i=0;i<t.1p;i++)t[i]=0;1h(i=0;i<u.1p;i++)u[i]=1k;1h(i=0;i<v.1p;i++)v[i]=0;1h(i=0;i<x.1p;i++)x[i]=0;m=n>1T?b[1T]:1n.3M;p=b;A=0;i=n;do{c[p[A]]++;A++}1y(--i>0);if(c[0]==n){1n.3d=1k;1n.m=0;1n.1F=0;1g}1h(j=1;j<=1n.3M;j++)if(c[j]!=0)2p;k=j;if(l<j)l=j;1h(i=1n.3M;i!=0;i--)if(c[i]!=0)2p;g=i;if(l>i)l=i;1h(y=1<<j;j<i;j++,y<<=1)if((y-=c[j])<0){1n.1F=2;1n.m=l;1g}if((y-=c[i])<0){1n.1F=2;1n.m=l;1g}c[i]+=y;x[1]=j=0;p=c;A=1;B=2;1y(--i>0)x[B++]=j+=p[A++];p=b;A=0;i=0;do if((j=p[A++])!=0)v[x[j]++]=i;1y(++i<n);n=x[g];x[0]=i=0;p=v;A=0;h=-1;w=t[0]=0;q=1k;z=0;1h(;k<=g;k++){a=c[k];1y(a-->0){1y(k>w+t[1+h]){w+=t[1+h];h++;z=(z=g-w)>l?l:z;if((f=1<<(j=k-w))>a+1){f-=a+1;B=k;1y(++j<z){if((f<<=1)<=c[++B])2p;f-=c[B]}}if(w+j>m&&w<m)j=m-w;z=1<<j;t[1+h]=j;q=1c 1d(z);1h(o=0;o<z;o++)q[o]=1c bj;if(C==1k)C=1n.3d=1c bi;1l C=C.9x=1c bi;C.9x=1k;C.6i=q;u[h]=q;if(h>0){x[h]=i;r.b=t[h];r.e=16+j;r.t=q;j=(i&(1<<w)-1)>>w-t[h];u[h-1][j].e=r.e;u[h-1][j].b=r.b;u[h-1][j].n=r.n;u[h-1][j].t=r.t}}r.b=k-w;if(A>=n)r.e=99;1l if(p[A]<s){r.e=p[A]<1T?16:15;r.n=p[A++]}1l{r.e=e[p[A]-s];r.n=d[p[A++]-s]}f=1<<k-w;1h(j=i>>w;j<z;j+=f){q[j].e=r.e;q[j].b=r.b;q[j].n=r.n;q[j].t=r.t}1h(j=1<<k-1;(i&j)!=0;j>>=1)i^=j;i^=j;1y((i&(1<<w)-1)!=x[h]){w-=t[h];h--}}}1n.m=t[1];1n.1F=y!=0&&g!=1?1:0};1b bl=1f(){if(Y.1p==Z)1g-1;1g Y[Z++]};1b bm=1f(n){1y(R<n){Q|=bl()<<R;R+=8}};1b bn=1f(n){1g Q&bc[n]};1b bo=1f(n){Q>>=n;R-=n};1b bp=1f(a,b,c){1b e;1b t;1b n;if(c==0)1g 0;n=0;1h(;;){bm(X);t=W.6i[bn(X)];e=t.e;1y(e>16){if(e==99)1g-1;bo(t.b);e-=16;bm(e);t=t.t[bn(e)];e=t.e}bo(t.b);if(e==16){M&=D-1;a[b+n++]=L[M++]=t.n;if(n==c)1g c;d5}if(e==15)2p;bm(e);U=t.n+bn(e);bo(e);bm(3H);t=7E.6i[bn(3H)];e=t.e;1y(e>16){if(e==99)1g-1;bo(t.b);e-=16;bm(e);t=t.t[bn(e)];e=t.e}bo(t.b);bm(e);V=M-t.n-bn(e);bo(e);1y(U>0&&n<c){U--;V&=D-1;M&=D-1;a[b+n++]=L[M++]=L[V++]}if(n==c)1g c}S=-1;1g n};1b bq=1f(a,b,c){1b n;n=R&7;bo(n);bm(16);n=bn(16);bo(16);bm(16);if(n!=(~Q&d3))1g-1;bo(16);U=n;n=0;1y(U>0&&n<c){U--;M&=D-1;bm(8);a[b+n++]=L[M++]=bn(8);bo(8)}if(U==0)S=-1;1g n};1b br=1f(a,b,c){if(N==1k){1b i;1b l=1c 1d(7F);1b h;1h(i=0;i<7G;i++)l[i]=8;1h(;i<1T;i++)l[i]=9;1h(;i<hN;i++)l[i]=7;1h(;i<7F;i++)l[i]=8;P=7;h=1c bk(l,7F,6h,bd,be,P);if(h.1F!=0){2z("d6 6j: "+h.1F);1g-1}N=h.3d;P=h.m;1h(i=0;i<30;i++)l[i]=5;1b d=5;h=1c bk(l,30,0,bf,bg,d);if(h.1F>1){N=1k;2z("d6 6j: "+h.1F);1g-1}O=h.3d;d=h.m}W=N;7E=O;X=P;3H=d;1g bp(a,b,c)};1b bs=1f(a,b,c){1b i;1b j;1b l;1b n;1b t;1b d;1b e;1b f;1b g=1c 1d(d7+30);1b h;1h(i=0;i<g.1p;i++)g[i]=0;bm(5);e=6h+bn(5);bo(5);bm(5);f=1+bn(5);bo(5);bm(4);d=4+bn(4);bo(4);if(e>d7||f>30)1g-1;1h(j=0;j<d;j++){bm(3);g[bh[j]]=bn(3);bo(3)}1h(;j<19;j++)g[bh[j]]=0;X=7;h=1c bk(g,19,19,1k,1k,X);if(h.1F!=0)1g-1;W=h.3d;X=h.m;n=e+f;i=l=0;1y(i<n){bm(X);t=W.6i[bn(X)];j=t.b;bo(j);j=t.n;if(j<16)g[i++]=l=j;1l if(j==16){bm(2);j=3+bn(2);bo(2);if(i+j>n)1g-1;1y(j-->0)g[i++]=l}1l if(j==17){bm(3);j=3+bn(3);bo(3);if(i+j>n)1g-1;1y(j-->0)g[i++]=0;l=0}1l{bm(7);j=11+bn(7);bo(7);if(i+j>n)1g-1;1y(j-->0)g[i++]=0;l=0}}X=H;h=1c bk(g,e,6h,bd,be,X);if(X==0)h.1F=1;if(h.1F!=0){if(h.1F==1);1g-1}W=h.3d;X=h.m;1h(i=0;i<f;i++)g[i]=g[i+e];3H=I;h=1c bk(g,f,0,bf,bg,3H);7E=h.3d;3H=h.m;if(3H==0&&e>6h)1g-1;if(h.1F==1);if(h.1F!=0)1g-1;1g bp(a,b,c)};1b bt=1f(){1b i;if(L==1k)L=1c 1d(2*D);M=0;Q=0;R=0;S=-1;T=4y;U=V=0;W=1k};1b bu=1f(a,b,c){1b n,i;n=0;1y(n<c){if(T&&S==-1)1g n;if(U>0){if(S!=E)1y(U>0&&n<c){U--;V&=D-1;M&=D-1;a[b+n++]=L[M++]=L[V++]}1l{1y(U>0&&n<c){U--;M&=D-1;bm(8);a[b+n++]=L[M++]=bn(8);bo(8)}if(U==0)S=-1}if(n==c)1g n}if(S==-1){if(T)2p;bm(1);if(bn(1)!=0)T=5f;bo(1);bm(2);S=bn(2);bo(2);W=1k;U=0}9y(S){4z 0:i=bq(a,b+n,c-n);2p;4z 1:if(W!=1k)i=bp(a,b+n,c-n);1l i=br(a,b+n,c-n);2p;4z 2:if(W!=1k)i=bp(a,b+n,c-n);1l i=bs(a,b+n,c-n);2p;hO:i=-1;2p}if(i==-1){if(T)1g 0;1g-1}n+=i}1g n};1b bv=1f(a){1b i,j;bt();Y=a;Z=0;1b b=[0];1b c=[];1y((i=bu(b,0,b.1p))>0)c.1t(b[0]);Y=1k;1g c};1g bv}();1b bw=1f(c){1b a=1,b=0;1b i;1b d=c.1p;1b e=9z;1h(i=0;i<d;i+=1){a=(a+c[i])%e;b=(b+a)%e}1g b<<16|a};1b bx=1f(a,b){1b i;1b c=bw(a);1b d=hP(a,b);a=d;a.hQ(6k,1);1h(i=0;i<4;++i)a.1t(c>>(3-i)*8&1a);1g a};1b by=1f(a){if(a.1p<6)9v"d8: 9A d9 6l";1b b=bb(a.6b(2,a.1p-4));if(a.1p>6&&b.1p===0)9v"d8: hR 9B dx hS 2A";1g b};1g{"dx":bb,"dy":by}}();1b bz=2;1b bA=0,9C=1,dz=2,9D=3,3e=4,6m=5,dA=6,4A=7,7H=8,7I=9;1n.9E={hT:0,9C:1,dz:2,9D:3,3e:4,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,aa:0,8v:5Z,ab:1o,ie:0,ed:1j,ee:1o,ig:0,8w:5Z};1f ac(a,b,c){1b d=a.ab;1b e=a.2T.4K;if(b<0||b+c>a.2T.3V)1g 1k;if(b==0){1b f=a.5G;1b g=a.aa;1b h=a.8v;1b i=e*a.2T.3V;d=ba.dy(f.6b(g,g+h))}1g b==0?d:+b*e}1b ci=1c 1d(3,4,3,4,4,2,2,1,1);1f ef(a){1b b=1;1b c=a.2q;1b d=a.1r;1b e=a.1q;if(c>=4A);1l{1b f=a.u.2r;b&=f.1Z*e<=f.5h;b&=f.1Z>=d*ci[c]}1g b?bE:2f}1f eg(a){1b w=a.1r;1b h=a.1q;if(w<=0||h<=0)1g 2f;if(!a.7L&&a.6n==1k){1b b=1o;1b c=0;1b d=a.2q;1b e=1j;1b f=0,7J=0;1b g=0;1b i=9n,7K=0,6T=9n;e=w*ci[d];i=e*h;if(d>=4A){f=4v((w+1)/2);g=f*4v((h+1)/2);if(d==7H){7J=w;7K=7J*h}}6T=i+2*g+7K;if(6T!=6T)1g 2f;a.6n=b=9s(6T,5Z);a.7M=c=0;if(b==1k)1g 7O;if(d>=4A);1l{1b j=a.u.2r;j.3N=b;j.5g=c;j.1Z=e;j.5h=i}}1g ef(a)}1f eh(w,h,a,b){if(b==1k||w<=0||h<=0)1g 2f;b.1r=w;b.1q=h;1g eg(b)}1f dC(a,b){if(b!=bz)1g 0;if(!a)1g 0;5e(a,0,0,1S(a)*a.1p);1g 1}1n.ei=1f(a){if(a){if(!a.7L)a.6n="";a.7M=0;a.6n=a.7M=1k}};1f ad(a,b){2z("ej: ad")}1f ek(a,b){2z("ej: ek")}1f em(a){1K(a);1K(a.8w>0);1g 1}1b cj=1v(1a+1a+1,1o);1b ck=1v(1a+1a+1,1o);1b cl=1v(4f+4f+1,5Y);1b cm=1v(1V+1V+1,5Y);1b cn=1v(1a+ih+1,1o);1b co=0;1f en(a){if(!co){1b i;1h(i=-1a;i<=1a;++i){cj[1a+i]=i<0?-i:i;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b+1*16])5H(a,b+1*16,c,d+4);if(a[b+2*16])5H(a,b+2*16,c,d+4*bR);if(a[b+3*16])5H(a,b+3*16,c,d+4*bR+4)}1f es(a,b){1b c=1v(16,1j);1b i=1j;1h(i=0;i<4;++i){1b d=a[0+i]+a[12+i];1b e=a[4+i]+a[8+i];1b f=a[4+i]-a[8+i];1b g=a[0+i]-a[12+i];c[0+i]=d+e;c[8+i]=d-e;c[4+i]=g+f;c[12+i]=g-f}1h(i=0;i<4;++i){1b h=b[b.1p-1];1b j=c[0+i*4]+3;1b d=j+c[3+i*4];1b e=c[1+i*4]+c[2+i*4];1b f=c[1+i*4]-c[2+i*4];1b g=j-c[3+i*4];b[h+0]=d+e>>3;b[h+16]=g+f>>3;b[h+32]=d-e>>3;b[h+48]=g-f>>3;b[b.1p-1]+=64}}1f et(a,b){es(a,b)}1f io(x,y){ae[x+y*bR]}1f 8x(a,b,c){1b d=a;1b e=b-bR;1b f=cn;1b g=+1a-d[e-1];1b y;1h(y=0;y<c;++y){1b h=f;1b i=g+a[b-1];1b x;1h(x=0;x<c;++x)a[b+x]=h[i+d[e+x]];b+=bR}}1f eu(a,b){8x(a,b,4)}1f ev(a,b){8x(a,b,8)}1f ew(a,b){8x(a,b,16)}1f ex(a,b){1b j;1h(j=0;j<16;++j)1G(a,b+j*bR,a,b-bR,16)}1f ey(a,b){1b j;1h(j=16;j>0;--j){5e(a,b+0,a[b-1],16);b+=bR}}1f 6U(v,a,b){1b j;1h(j=0;j<16;++j)1h(i=0;i<16;++i)a[b+j*bR+i]=v}1f ez(a,b){1b c=16;1b j;1h(j=0;j<16;++j)c+=a[b-1+j*bR]+a[b+j-bR];6U(c>>5,a,b)}1f eA(a,b){1b c=8;1b j;1h(j=0;j<16;++j)c+=a[b-1+j*bR];6U(c>>4,a,b)}1f eB(a,b){1b c=8;1b i;1h(i=0;i<16;++i)c+=a[b+i-bR];6U(c>>4,a,b)}1f eC(a,b){6U(1e,a,b)}1f 1s(a,b,c){1g a+2*b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i*bR];6V((c>>4)*1,a,b)}1f eP(a,b){1b c=4;1b i;1h(i=0;i<8;++i)c+=a[b+i-bR];6V((c>>3)*1,a,b)}1f eQ(a,b){1b c=4;1b i;1h(i=0;i<8;++i)c+=a[b-1+i*bR];6V((c>>3)*1,a,b)}1f eR(a,b){6V(1e,a,b)}1b cr=1c 1d(1f(v,o){eF(v,o)},1f(v,o){eu(v,o)},1f(v,o){eD(v,o)},1f(v,o){eE(v,o)},1f(v,o){eG(v,o)},1f(v,o){eI(v,o)},1f(v,o){eH(v,o)},1f(v,o){eJ(v,o)},1f(v,o){eL(v,o)},1f(v,o){eK(v,o)});1b cs=1c 1d(1f(v,o){ez(v,o)},1f(v,o){ew(v,o)},1f(v,o){ex(v,o)},1f(v,o){ey(v,o)},1f(v,o){eA(v,o)},1f(v,o){eB(v,o)},1f(v,o){eC(v,o)});1b ct=1c 1d(1f(v,o){eO(v,o)},1f(v,o){ev(v,o)},1f(v,o){eM(v,o)},1f(v,o){eN(v,o)},1f(v,o){eQ(v,o)},1f(v,o){eP(v,o)},1f(v,o){eR(v,o)});1f 6W(p,b,c){1b d=p[b-2*c],1Y=p[b-c],2V=p[b+0],2c=p[b+c];1b a=3*(2V-1Y)+cl[4f+d-2c];1b e=cm[1V+(a+4>>3)];1b f=cm[1V+(a+3>>3)];p[b-c]=cn[1a+1Y+f];p[b+0]=cn[1a+2V-e]}1f eS(p,b,c){1b d=p[b-2*c],1Y=p[b-c],2V=p[b+0],2c=p[b+c];1b a=3*(2V-1Y);1b e=cm[1V+(a+4>>3)];1b f=cm[1V+(a+3>>3)];1b g=e+1>>1;p[b-2*c]=cn[1a+d+g];p[b-c]=cn[1a+1Y+f];p[b+0]=cn[1a+2V-e];p[b+c]=cn[1a+2c-g]}1f eT(p,b,c){1b d=p[b-3*c],4T=p[b-2*c],1Y=p[b-c];1b e=p[b+0],2c=p[b+c],6X=p[b+2*c];1b a=cl[4f+3*(e-1Y)+cl[4f+4T-2c]];1b f=27*a+63>>7;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++j)b[c+j*bR-1]=2I;1h(j=0;j<8;++j){d[e+j*bR-1]=2I;f[g+j*bR-1]=2I}if(a.1D>0)b[c-1-bR]=d[e-1-bR]=f[g-1-bR]=2I}1b h=a.8r;1b k=+a.1N*16;1b l=a.8s;1b m=+a.1N*8;1b o=a.8t;1b p=+a.1N*8;1b q=a.2a;1b n;if(a.1D>0){1G(b,c-bR,h,k,16);1G(d,e-bR,l,m,8);1G(f,g-bR,o,p,8)}1l if(a.1N==0){1h(i=0;i<16+4+1;++i)b[c-bR-1+i]=1H;1h(i=0;i<8+1;++i)d[e-bR-1+i]=1H;1h(i=0;i<8+1;++i)f[g-bR-1+i]=1H}if(a.4e){1b r=b;1b s=c-bR+16;if(a.1D>0)if(a.1N>=a.4O-1)r[s+0]=r[s+1]=r[s+2]=r[s+3]=h[k+15];1l 1G(r,s+0,h,k+16,4);1h(ii=0;ii<4;++ii)r[ii+s+bR*4]=r[ii+s+1*bR*4]=r[ii+s+2*bR*4]=r[ii+s+3*bR*4]=r[ii+s+0*4];1h(n=0;n<16;n++){1b t=b;1b u=c+cO[n];cr[a.6R[n]](t,u);if(a.4R&1<<n)cu(q,+n*16,t,u,0);1l if(a.3u&1<<n)cw(q,+n*16,t,u)}}1l{1b v=ao(a,a.6R[0]);cs[v](b,c);if(a.3u)1h(n=0;n<16;n++){1b t=b;1b u=c+cO[n];if(a.4R&1<<n)cu(q,+n*16,t,u,0);1l if(a.3u&1<<n)cw(q,+n*16,t,u)}}1b v=ao(a,a.a9);ct[v](d,e);ct[v](f,g);if(a.3u&fm){1b w=a.2a;1b x=16*16;if(a.4R&fm)cv(w,x,d,e);1l cx(w,x,d,e)}if(a.3u&fn){1b y=a.2a;1b x=20*16;if(a.4R&fn)cv(y,x,f,g);1l cx(y,x,f,g)}if(a.1D<a.5E-1){1G(h,k,b,c+15*bR,16);1G(l,m,d,e+7*bR,8);1G(o,p,f,g+7*bR,8)}}1f 2W(v,M){1g v<0?0:v>M?M:v}1b cP=1c 1d(4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,1I,3w,1R,5I,6Y,ap,6Z,1V,2w,3x,7a,fo,5J,5K,1e,4W,8z,4X,7b,4g,5L,3k,6A,7c,5r,3y,3m);1b cQ=1c 1d(4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,1I,1R,5I,6Y,ap,6Z,1V,2w,3x,8A,fo,fp,1e,3J,4X,4I,5L,3k,4h,5v,5M,2P,fq,8b,aq,4E,4i,6B,6C,6D,6E,6F,3L,5x,3S,1M,2u,2h,6G,2E,3T,9N,2x,2O,3n,2k,1m,iA,iB,iC,iD,iE,iF);1f fr(a){1b b=a.6N;1b c=2L(b,7);1b d=1A(b)?2R(b,4):0;1b e=1A(b)?2R(b,4):0;1b f=1A(b)?2R(b,4):0;1b g=1A(b)?2R(b,4):0;1b h=1A(b)?2R(b,4):0;1b j=a.3Z;1b i=1j;1h(i=0;i<3o;++i){1b q=1j;if(j.5z){q=j.6I[i];if(!j.6H)q+=c}1l if(i>0){a.6P[i]=a.6P[0];d5}1l q=c;1b m=a.6P[i];m.8g[0]=cP[2W(q+d,1H)];m.8g[1]=cQ[2W(q+0,1H)];m.5D[0]=cP[2W(q+e,1H)]*2;m.5D[1]=4v(cQ[2W(q+f,1H)]*2P/1I);if(m.5D[1]<8)m.5D[1]=8;m.8h[0]=cP[2W(q+g,7d)];m.8h[1]=cQ[2W(q+h,1H)]}}1b cR=1c 1d(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,6F,17,13,5M),1c 1d(2w,26,17,3b,44,3c,21,10,6B),1c 1d(5R,24,80,3c,26,62,44,64,85),1c 1d(7G,71,10,38,1Q,2h,7G,34,26),1c 1d(4i,46,55,19,7b,4l,33,fv,71),1c 1d(63,20,8,2w,2w,ax,12,9,5O),1c 1d(81,40,11,96,5U,84,29,16,36)),1c 1d(1c 1d(4X,1U,89,4I,98,3w,6Y,5w,7c),1c 1d(72,5t,1I,4W,3m,7n,32,75,80),1c 1d(66,1R,4E,99,74,62,40,2x,1e),1c 1d(41,53,9,8F,2Q,4J,26,8,fw),1c 1d(74,43,26,4h,73,4n,49,23,3m),1c 1d(65,38,iG,4l,51,52,31,3I,1e),1c 1d(5I,79,12,27,6G,1a,87,17,7),1c 1d(87,68,71,44,2w,51,15,5T,23),1c 1d(47,41,14,6Z,5U,1U,21,17,av),1c 1d(66,45,25,1R,5x,6F,23,18,22)),1c 1d(1c 1d(88,88,9K,at,42,46,45,4k,1M),1c 1d(43,97,1U,7d,85,38,35,4H,61),1c 1d(39,53,ay,87,26,21,43,7l,1Q),1c 1d(56,34,51,5I,2w,1R,29,93,77),1c 1d(39,28,85,1Q,58,5w,90,98,64),1c 1d(34,22,3x,fv,23,34,43,4n,73),1c 1d(fw,54,32,26,51,1,81,43,31),1c 1d(68,25,6Y,22,64,1Q,36,3T,2w),1c 1d(34,19,21,1R,8z,7m,16,76,5J),1c 1d(62,18,78,95,85,57,50,48,51)),1c 1d(1c 1d(3L,3w,35,3R,5s,7n,89,46,7n),1c 1d(60,7c,31,aw,2g,5N,21,18,7n),1c 1d(1V,aC,77,85,4H,1a,38,6k,2w),1c 1d(40,42,1,4k,3n,2u,10,25,az),1c 1d(88,43,29,5L,4n,2h,37,43,3y),1c 1d(61,63,30,2P,67,45,68,1,2u),1c 1d(1I,80,8,43,3y,1,51,26,71),1c 1d(8I,78,78,16,1a,1e,34,5x,1Q),1c 1d(41,40,5,1R,3l,1U,4,1,2E),1c 1d(51,50,17,fu,2u,2G,23,25,82)),1c 1d(1c 1d(4g,31,36,1Q,27,4n,38,44,9N),1c 1d(67,87,58,9M,82,3I,26,59,4H),1c 1d(63,59,90,7g,59,4n,93,73,3y),1c 1d(40,40,21,3x,3k,2u,34,39,2N),1c 1d(47,15,16,1U,34,2j,49,45,1U),1c 1d(46,17,33,1U,6,98,15,32,1U),1c 1d(57,46,22,24,1e,1,54,17,37),1c 1d(65,32,73,3I,28,1e,23,1e,1M),1c 1d(40,3,9,3I,51,2G,18,6,2j),1c 1d(87,37,9,3I,59,77,64,21,47)),1c 1d(1c 1d(5I,55,44,5S,9,54,53,4W,5O),1c 1d(64,90,70,1M,40,41,23,26,57),1c 1d(54,57,1V,7h,5,41,38,4n,2h),1c 1d(30,34,26,6z,5M,3x,10,32,4X),1c 1d(39,19,53,2E,26,2w,32,73,1a),1c 1d(31,9,65,2x,2,15,1,7a,73),1c 1d(75,32,12,51,2G,1a,4l,43,51),1c 1d(88,31,35,67,1R,85,55,5T,85),1c 1d(56,21,23,7n,59,1M,45,37,2G),1c 1d(55,38,70,5J,73,1R,1,34,98)),1c 1d(1c 1d(fp,98,42,88,5I,85,7d,2N,82),1c 1d(95,84,53,89,1e,1I,aC,3w,45),1c 1d(75,79,aB,47,51,1e,81,1Q,1),1c 1d(57,17,5,71,1R,57,53,41,49),1c 1d(38,33,13,5R,57,73,26,1,85),1c 1d(41,10,67,4g,77,6Z,90,47,2w),1c 1d(3I,21,2,10,1R,1a,4n,23,6),1c 1d(3w,29,16,10,85,1e,3w,4k,26),1c 1d(57,18,10,1R,1R,2h,34,20,43),1c 1d(7d,20,15,36,3b,1e,68,1,26)),1c 1d(1c 1d(1R,61,71,37,34,53,31,2t,2G),1c 1d(69,60,71,38,73,8A,28,8E,37),1c 1d(68,45,1e,34,1,47,11,3n,1Q),1c 1d(62,17,19,70,4h,85,55,62,70),1c 1d(37,43,37,3y,1I,3b,85,4l,1),1c 1d(63,9,92,7b,28,64,32,3S,85),1c 1d(75,15,9,9,64,1a,7h,8A,16),1c 1d(86,6,28,5,64,1a,25,2n,1),1c 1d(56,8,17,8z,4I,1a,55,3x,1e),1c 1d(58,15,20,82,4D,57,26,5R,40)),1c 1d(1c 1d(aq,50,31,4I,3y,6z,25,35,5S),1c 1d(51,au,44,3J,3J,aB,31,6,fq),1c 1d(86,40,64,4D,7c,4j,45,1U,1e),1c 1d(22,26,17,3J,3z,3y,14,1,2u),1c 1d(45,16,21,91,64,8E,7,1,5x),1c 1d(56,21,39,2P,60,4g,23,1R,2h),1c 1d(83,12,13,54,2G,1a,68,47,28),1c 1d(85,26,85,85,1e,1e,32,4h,1Q),1c 1d(18,11,7,63,7G,1Q,4,4,4m),1c 1d(35,27,10,4h,8G,1Q,12,26,1e)),1c 1d(1c 1d(7k,80,35,99,7g,80,5K,54,45),1c 1d(85,5K,47,87,5Q,51,41,20,32),1c 1d(3w,75,1e,8a,7a,4h,3x,1e,85),1c 1d(56,41,15,5Q,2X,85,37,9,62),1c 1d(71,30,17,8A,7a,1a,17,18,4g),1c 1d(3w,38,60,4g,55,70,43,26,8I),1c 1d(4h,36,19,30,1Q,1a,97,27,20),1c 1d(4g,45,61,62,2g,1,81,7m,64),1c 1d(32,41,20,7d,5r,8I,20,21,3b),1c 1d(1V,19,12,61,3c,1e,48,4,24)));1f fx(a){1h(i=0;i<a.4L.1p;++i)a.4L[i]=1a;a.2a=1w(cS)}1f fy(a,b){1b c=b.8p;c[c.1p-1]=0+4*b.1N;1b d=b.8q;b.4e=!1x(a,6A);if(!b.4e){1b e=1x(a,iH)?1x(a,1e)?9V:9U:1x(a,3b)?9T:9S;b.6R[0]=e;1h(i=0;i<4;++i)c[i+c[c.1p-1]]=e;1h(i=0;i<4;++i)d[i]=e}1l{1b f=b.6R;1b g=0;1b y;1h(y=0;y<4;++y){1b e=d[y];1b x;1h(x=0;x<4;++x){1b h=cT[c[c[c.1p-1]+x]][e];1b i=0;do i=cR[2*i+1x(a,h[i])];1y(i>0);e=-i;c[c[c.1p-1]+x]=e;f[g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1h(t=0;t<9W;++t)1h(b=0;b<9X;++b)1h(c=0;c<8d;++c)1h(p=0;p<8e;++p)if(1x(a,cU[t][b][c][p]))e.2a[t][b][c][p]=2L(a,8);d.8o=1A(a);if(d.8o)d.a8=2L(a,8)}1b cV=12;1b cW=20;1n.iI=1f(a){1g bM<<16|bN<<8|bO};1f aD(a){a.6M="5i";a.a6="iJ"}1b cX;1f dR(a,b){if(b!=bz){2z("iK 6j");1g 0}if(a);1g 1}1f fA(a){1b b=1w(cg);if(b){aD(b);b.3Y=0}1g b}1f fB(a){if(a){aE(a);a=0}}1f 1z(a,b,c){a.6M=b;a.a6=c;a.3Y=0;2z(b+": "+c);1g 0}1f 4Y(a,b){1g a[b+0]|a[b+1]<<8|a[b+2]<<16|a[b+3]<<24}1f aF(a,b,c,d,e,f){if(!a||!c||!d||!e)1g 0;if(c.1i>=8)if(!6d(a,b.1i,"iL ",4)){d.1i=1;e.1i=4Y(a,b.1i+4);if(f.1i>=cV&&e.1i>f.1i-cV)1g 0;b.1i+=8;c.1i-=8}1l{d.1i=0;e.1i=0}1l{d.1i=-1;e.1i=0}1g 1}1f fC(a,b,c,d,e,f,g){if(c.1i<10)1g 0;if(a[b.1i+3]!=3m||a[b.1i+4]!=1||a[b.1i+5]!=42)1g 0;1l{1b i=a[b.1i+0]|a[b.1i+1]<<8|a[b.1i+2]<<16;1b j=!(i&1)+0;1b w=(a[b.1i+7]<<8|a[b.1i+6])&6g;1b h=(a[b.1i+9]<<8|a[b.1i+8])&6g;if(g){if(c.1i<11)1g 0;g.1i=!!(a[b.1i+10]&1e)}if(!j)1g 0;if((i>>1&7)>3)1g 0;if(!(i>>4&1))1g 0;if(i>>5>=d)1g 0;if(e)e.1i=w;if(f)f.1i=h;1g 1}}1f aG(a,b,c,d,e,f,g){if(!a||!c||!d)1g 0;if(c.1i>=cW)if(!6d(a,b.1i,"fD",4)){1b h=4Y(a,b.1i+4);d.1i=1;if(h.1i!=cW-8)1g 0;if(g)g.1i=4Y(a,b.1i+8);if(e)e.1i=4Y(a,b.1i+12);if(f)f.1i=4Y(a,b.1i+16);b.1i+=cW;c.1i-=cW}1l d.1i=0;1l d.1i=-1;1g 1}1f fE(a){1K(a);a.5z=0;a.5A=0;a.6H=1;1h(i=0;i<a.6I.1p;++i)a.6I[i]=0;1h(i=0;i<a.6J.1p;++i)a.6J[i]=0}1f fF(a,b,c){1K(a);1K(b);b.5z=1A(a);if(b.5z){b.5A=1A(a);if(1A(a)){1b s;b.6H=1A(a);1h(s=0;s<3o;++s)b.6I[s]=1A(a)?2R(a,7):0;1h(s=0;s<3o;++s)b.6J[s]=1A(a)?2R(a,6):0}if(b.5A){1b s;1h(s=0;s<bQ;++s)c.4L[s]=1A(a)?2L(a,8):1a}}1l b.5A=0;1g!a.4C}1f fG(a,b,c,d){1b e=a.6N;1b f=b;1b g=c;1b h=b,7o=c+d;1b i;1b j=0;1b k=1j;1b p=1j;a.8m=1<<2L(e,2);k=a.8m-1;i=b;1b j=c+k*3;if(7o<j)1g"3Q";1h(p=0;p<k;++p){1b l=f[g+0]|f[g+1]<<8|f[g+2]<<16;1b m=i;1b n=j+l;if(n>7o)m=h;7Z(a.8n[+p],i,j,n);i=m;j=n;g+=3}7Z(a.8n[+k],i,j,7o);1g j<7o?"5i":"9F"}1f fH(a,b){1b c=b.3p;c.a1=1A(a);c.6K=2L(a,6);c.5B=2L(a,3);c.8f=1A(a);if(c.8f)if(1A(a)){1b i;1h(i=0;i<8c;++i)if(1A(a))c.a2[i]=2R(a,6);1h(i=0;i<e7;++i)if(1A(a))c.a3[i]=2R(a,6)}b.2l=c.6K==0?0:c.a1?1:2;if(b.2l>0)if(b.3Z.5z){1b s;1h(s=0;s<3o;++s){1b d=b.3Z.6J[s];if(!b.3Z.6H)d+=c.6K;b.8u[s]=d}}1l b.8u[0]=c.6K;1g!a.4C}1f 8J(a,b){1b c={1i:0};1b d=1o;1b e={1i:2i};1b f={1i:2i};1b g={1i:2i};1b h={1i:0};1b i={1i:0};1b j=1w(bX);1b k=1w(bY);1b l=1w(bJ);1b m="6o";if(a==1k){2z("(iM == 1k)");1g 0}aD(a);if(b==1k)1g 1z(a,"2f","1k fI iN 9B 8J()");d=b.2A;c.1i=b.7U;e.1i=b.9G;if(d==1k||e.1i<=4)1g 1z(a,"3Q","9A d9 2A 9B 5c am 7p");if(!aH(d,c,e,f))1g 1z(a,1L,"4o: fJ 4o fK");if(!aG(d,c,e,h,1k,1k,1k))1g 1z(a,1L,"4o: fJ fD fK");if(!aF(d,c,e,i,g,f))1g 1z(a,1L,"4o: aI 5h aJ.");if(i.1i==-1)1g 1z(a,"1L","4o: aI 5h aJ.");if(e.1i<4)1g 1z(a,3Q,"4o: iO 7p.");c=c.1i;e=e.1i;1b n=d[c+0]|d[c+1]<<8|d[c+2]<<16;j=a.a7;j.5y=!(n&1)+0;j.9Y=n>>1&7;j.9Z=n>>4&1;j.3U=n>>5;if(j.9Y>3)1g 1z(a,"1L","iP iQ iR.");if(!j.9Z)1g 1z(a,"7P","fj fg iS.");c+=3;e-=3;k=a.2T;if(j.5y){if(e<7)1g 1z(a,"3Q","8K 5c iT 7p");if(7D(d[c+0])!=3m||7D(d[c+1])!=1||7D(d[c+2])!=42)1g 1z(a,"1L","iU iV iW");k.4K=(d[c+4]<<8|d[c+3])&6g;k.e9=d[c+4]>>6;k.3V=(d[c+6]<<8|d[c+5])&6g;k.ea=d[c+6]>>6;c+=7;e-=7;a.4O=k.4K+15>>4;a.5E=k.3V+15>>4;b.1r=k.4K;b.1q=k.3V;b.5k=0;b.5j=0;b.2C=0;b.2B=0;b.6s=b.1r;b.4B=b.1q;b.2D=b.1r;b.2J=b.1q;fx(a.2F);fE(a.3Z);a.6S=0}if(j.3U>e)1g 1z(a,"3Q","iX iY 1p");a.5G=1k;a.8v=0;1b l=a.6N;7Z(l,d,c,c+j.3U);c+=j.3U;e-=j.3U;if(j.5y){k.a0=1A(l);k.eb=1A(l)}if(!fF(l,a.3Z,a.2F))1g 1z(a,"1L","8K 5c iZ 7p");if(!fH(l,a))1g 1z(a,"1L","8K 5c j0 7p");m=fG(a,d,c,e);if(m!="5i")1g 1z(a,"1L","8K 5c j1");fr(a);if(!j.5y)1g 1z(a,7P,"9A a j2 am.");1l a.ec=3|1T;1A(l);fz(l,a);if(a.2T.a0){1b o=8;1b p=1;1b q=d;1b r=c-o;1b s=5Z;if(j.3U<o||q[r+o-1]!=p);s=q[r+4]<<0|q[r+5]<<8|q[r+6]<<16;if(j.3U<s+o)1g 1z(a,1L,"4o: aI j3 aJ.");a.5G=s>0?q:1k;a.aa=s>0?r-s:1k;a.8v=s;s=q[r+0]<<0|q[r+1]<<8|q[r+2]<<16;a.8w=s;a.ee=1k;a.ed=q[r+3]}a.3Y=1;1g 1}1b cY=1c 1d(0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0);1b cZ=1c 1d(6B,7c,5L,0);1b da=1c 1d(5Q,2P,5L,4D,0);1b db=1c 1d(7g,3m,4J,4X,4W,0);1b dc=1c 1d(1m,1m,2t,7i,4k,6C,9L,5L,6z,4W,2I,0);1b dd=1c 1d(cZ,da,db,dc);1b de=1c 1d(0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15);1b df=9u(1c 1d(8d,8e),"");1f 8L(a,b,c,d,n,e){1b p=b[cY[n]][c];if(!1x(a,p[0]))1g 0;1y(1){++n;if(!1x(a,p[1]))p=b[cY[n]][0];1l{1b v,j;if(!1x(a,p[2])){p=b[cY[n]][1];v=1}1l{if(!1x(a,p[3]))if(!1x(a,p[4]))v=2;1l v=3+1x(a,p[5]);1l if(!1x(a,p[6]))if(!1x(a,p[7]))v=5+1x(a,3R);1l{v=7+2*1x(a,5w);v+=1x(a,6A)}1l{1b f=1o;1b g=1x(a,p[8]);1b h=1x(a,p[9+g]);1b k=2*g+h;v=0;f=dd[k];1b l;1h(i=0;i<f.1p-1;++i)v+=v+1x(a,f[i]);v+=3+(8<<k)}p=b[cY[n]][2]}j=de[n-1];e[e[e.1p-1]+j]=dV(a,v)*d[(j>0)+0];if(n==16||!1x(a,p[0]))1g n}if(n==16)1g 16}}1b dg={i8:1v(4,1o),j4:2i};1b dh=1c 1d(1c 1d(0,0,0,0),1c 1d(1,0,0,0),1c 1d(0,1,0,0),1c 1d(1,1,0,0),1c 1d(0,0,1,0),1c 1d(1,0,1,0),1c 1d(0,1,1,0),1c 1d(1,1,1,0),1c 1d(0,0,0,1),1c 1d(1,0,0,1),1c 1d(0,1,0,1),1c 1d(1,1,0,1),1c 1d(0,0,1,1),1c 1d(1,0,1,1),1c 1d(0,1,1,1),1c 1d(1,1,1,1));1b di=j5;1f 3A(X,S){1g((X[0]*j6+X[1]*j7+X[2]*1T+X[3]*1)*di&j8)>>S}1f fL(a,b,c){1b d,8M,8N;1b e=df;1b q=a.6P[a.6S];1b f=a.2a;1b g=a.4P[1-1];1b h=1v(4,0),7q=1v(4,0);1b i=1v(4,0),3B=1v(4,0);1b j=0;1b k=0;1b x,y,ch;f=4w(0,f8*1S(f));if(!a.4e){1b m=1v(16,0);1b n=b.3W+g.3W;b.3W=g.3W=(8L(c,a.2F.2a[1],n,q.5D,0,m)>0)+0;8N=1;e=a.2F.2a[0];et(m,f);f[f.1p-1]=0}1l{8N=0;e=a.2F.2a[3]}i=6c(dh[b.2S&15]);3B=6c(dh[g.2S&15]);1h(y=0;y<4;++y){1b l=3B[y];1h(x=0;x<4;++x){1b n=l+i[x];1b o=8L(c,e,n,q.8g,8N,f);i[x]=l=(o>0)+0;7q[x]=(f[f[f.1p-1]+0]!=0)+0;h[x]=(o>1)+0;f[f.1p-1]+=16}3B[y]=l;k|=3A(7q,24-y*4);j|=3A(h,24-y*4)}d=3A(i,24);8M=3A(3B,24);i=6c(dh[b.2S>>4]);3B=6c(dh[g.2S>>4]);1h(ch=0;ch<4;ch+=2){1h(y=0;y<2;++y){1b l=3B[ch+y];1h(x=0;x<2;++x){1b n=l+i[ch+x];1b o=8L(c,a.2F.2a[2],n,q.8h,0,f);i[ch+x]=l=(o>0)+0;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:0};1b c={1i:c};1b h=1w(bI);1b i=1w(bD);7N(i);8Q(h);h.1P=i;i.2q=a;1b o={7U:{1i:0},1r:{1i:i.1r},1q:{1i:i.1q}};if(!g7(b,g,c,o.1r,o.1q))1g 1k;i.1r=o.1r.1i;i.1q=o.1q.1i;if(d)d.1i=i.1r.1i;if(e)e.1i=i.1q.1i;if(8R(b,g.1i,c.1i,h)!=bE)1g 1k;if(f)ad(i,f);1g a>=4A?i.u.dB.y:i.u.2r.3N}1n.jr=1f(a,b,c,d){1g g6(3e,a,b,c,d,1k)};1f aQ(a){1K(a);a.dE=0}1f 8S(a,b,c,d){1b e={1i:0};1b f={1i:0};1b g={1i:0};1b h={1i:0};1b i={1i:0};if(d==1k)1g 2f;aQ(d);if(a==1k||b==1k||c.1i==0)1g 2f;if(!aH(a,b,c,f))1g 1L;if(!aG(a,b,c,h,d.1r,d.1q,g))1g 1L;if(h.1i>0)1g bE;if(!aF(a,b,c,i,e,f))1g 1L;if(i.1i==-1)1g 1L;if(!i.1i)e.1i=c.1i;if(!fC(a,b,c,e,d.1r,d.1q,d.dD))1g 1L;1g bE}1f g7(a,b,c,d,e){1b f=1w(bF);if(8S(a,b,c,f)!=bE)1g 0;if(d)d.1i=f.1r;if(e)e.1i=f.1q;1g 1}1f dP(a,b){if(b!=bz)1g 0;if(a==1k)1g 0;aQ(a.6l);7N(a.1P);1g 1}1f dG(a,b,c,d){if(d!=bz)1g 2f;if(c==1k)1g 2f;1b e={1i:0};1b b={1i:b};1g 8S(a,e,b,c)}1n.g8=1f(a,b,c){1b d=1w(bI);1b e="6o";if(!c)1g 2f;1b f={1i:0};b={1i:b};e=8S(a,f,b,c.6l);if(e!=bE)1g e;8Q(d);d.1P=c.1P;d.7W=c.dN;e=8R(a,f.1i,b.1i,d);1g e}}if(!2y.4Z)2y.4Z=1f(c,d){1n.el=c;1n.2Y=1f(a){1b b=/(\\-([a-z]){1})/g;if(a=="jt")a="ju";if(b.7s(a))a=a.3D(b,1f(){1g 4p[2].jv()});1g c.2Z[a]?c.2Z[a]:1k};1g 1n};1b g9="<\\!-- aR --\\>\\r\\n"+"8T aR(7t)\\r\\n"+"\\jw = jx(7t)\\r\\n"+"ga 8T\\r\\n"+"8T gb(7t)\\r\\n"+"\\jy aS\\r\\n"+"\\jz = jA(7t)\\r\\n"+"\\jB aS jC 2 jD\\r\\n"+"\\t\\gc = jE( jF( jG( 7t, aS, 1 ) ) )\\r\\n"+"\\jH\\r\\n"+"\\t\\gc = "+\'""\'+"\\r\\n"+"\\jI jJ\\r\\n"+"ga 8T\\r\\n";1f gd(){1b a=1B.4q("aT");a.aU="aV/jK";1b s=1B.aW("aT")[0];a.5a=g9;s.aX.ge(a,s)}1f gf(b){1b c={};1h(1b i=0;i<1T;i++)1h(1b j=0;j<1T;j++)c[6e.6f(i+j*1T)]=6e.6f(i)+6e.6f(j);8U{1b d=aR(b);1b f=gb(b);1g d.3D(/[\\s\\S]/g,1f(a){1g c[a]})+f}8V(e){1g 1k}}1f gg(){1b D="gh-0.0.2.8W.js";1b E="gh-0.0.2.jL";1b F="";1b G=1B.aW("aT");1b H=G.1p;1h(1b i=0;i<H;++i)if(G[i].3E.2e(D)>=0){F=G[i].3E.3F(0,G[i].3E.gi("/")+1);2p}1b I=F+E;1f gj(){1b a=1c jM;a.gk=1f(){if(a.1r==2&&a.1q==2)8X();1l 8X()};a.jN=1f(){8X()};1b b="2A:8Y/gl;gm,jO/jP/jQ//jR";a.3E=b;a.aY("3E",b)}gj();1b J=4y;1f 8X(){if(J)1g;J=5f;1f gn(a){if(a.3F(a.1p-5,a.1p)==".gl")1g 1;1l 1g 0}1b p=1B.4q("8Z");1f go(a,b){if(b.2e("jS://")!=0)b=a+""+b;p.3E=b;b=p.3E;1g b}1f aZ(a,b,c,d){if(gn(b))gp(a,b,c,d)}1b q=[];1f gp(a,b,c,d){b=go(a,b);q.1t(1c 1d(b,c,d?d:0))}1f gq(a){1b c=(a.3F(a.2e("4r")+4).3F(0,1)==\'"\'||a.3F(a.2e("4r")+4).3F(0,1)=="\'")+0;1b b=a.3F(a.2e("4r")+4+c,a.gi(")")-c-(a.2e("4r")+4+c));1g b}1b r=1B.b0.aW("*");1h(1b i=0;i<1B.b1.1p;i++)aZ("",1B.b1[i].3E,1B.b1[i],1);1h(1b s=0;s<r.1p;s++){1b t=r[s];1b u=2y.4Z(t,1k).2Y("7u-8Y");if(u.jT("4r")){1b v=gq(u);aZ("",v,t)}}1b x=0;if(5d 9o!=="7v"&&!!1B.4q("b2").9a){1b z=5d gr!=="7v"?1c gr:2y.gs?1c gs("jU.jV"):1k;1b A=1c 9w}(1f(){1b d="jW+/";1f gt(a){1b b,i,7w;1b c,c2,c3;7w=a.1p;i=0;b="";1y(i<7w){c=a.6a(i++)&1a;if(i==7w){b+=d.3G(c>>2);b+=d.3G((c&3)<<4);b+="==";2p}c2=a.6a(i++);if(i==7w){b+=d.3G(c>>2);b+=d.3G((c&3)<<4|(c2&3z)>>4);b+=d.3G((c2&15)<<2);b+="=";2p}c3=a.6a(i++);b+=d.3G(c>>2);b+=d.3G((c&3)<<4|(c2&3z)>>4);b+=d.3G((c2&15)<<2|(c3&2G)>>6);b+=d.3G(c3&63)}1g b}if(!2y.b3)2y.b3=gt})();b4.1J.9b=1f(){1g 1n<0?1n+jX:1n};b4.1J.4s=1f(){1g[1n>>>24&1a,1n>>>16&1a,1n>>>8&1a,1n&1a]};b4.1J.b5=1f(){1g[1n&1a,1n>>>8&1a]};1d.1J.gu=1f(c,d){9y(4p.1p){4z 0:c=0;4z 1:d=1n.1p-c}1b a=1,b=0;1h(1b i=0;i<d;i++){a=(a+1n[c+i])%9z;b=(b+a)%9z}1g(b<<16|a).9b()};1d.1J.9c=1f(a,b){9y(4p.1p){4z 0:a=0;4z 1:b=1n.1p-a}1b d=4p.9d.gv;if(!d){d=[];1b c;1h(1b n=0;n<1T;n++){c=n;1h(1b k=0;k<8;k++)c=c&1?jY^c>>>1:c>>>1;d[n]=c.9b()}4p.9d.gv=d}1b c=gw;1h(1b i=0;i<b;i++)c=d[(c^1n[a+i])&1a]^c>>>8;1g(c^gw).9b()};(1f(){1b l=1f(){1b a=1d.1J.6b.jZ(1n.9a("2d").k0(0,0,1n.1r,1n.1q).2A);1b w=1n.1r;1b h=1n.1q;1b b=[4I,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82];1d.1J.1t.2H(b,w.4s());1d.1J.1t.2H(b,h.4s());b.1t(8,6,0,0,0);1d.1J.1t.2H(b,b.9c(12,17).4s());1b d=h*(w*4+1);1h(1b y=0;y<h;y++)a.k1(y*(w*4+1),0,0);1b e=gx.k2(d/4x);1d.1J.1t.2H(b,(d+5*e+6).4s());1b f=b.1p;1b g=d+5*e+6+4;b.1t(73,68,65,84,6k,1);1h(1b i=0;i<e;i++){1b j=gx.8W(4x,d-i*4x);b.1t(i==e-1?1:0);1d.1J.1t.2H(b,j.b5());1d.1J.1t.2H(b,(~j).b5());1b k=a.6b(i*4x,i*4x+j);1d.1J.1t.2H(b,k)}1d.1J.1t.2H(b,a.gu().4s());1d.1J.1t.2H(b,b.9c(f,g).4s());b.1t(0,0,0,0,73,69,78,68);1d.1J.1t.2H(b,b.9c(b.1p-4,4).4s());1g"2A:8Y/gy;gm,"+b3(b.gz(1f(c){1g 6e.6f(c)}).9p(""))};if(5d 7x!=="7v"){1b m=7x.1J.5V;7x.1J.5V=1f(a){1b b=m.2H(1n,4p);if(b=="2A:,"){7x.1J.5V=l;1g 1n.5V()}1l{7x.1J.5V=m;1g b}}}})();1f gA(a,b){if(a!=1k){1b c=b.1q.1i;1b d=b.1r.1i;1b e=1B.4q("b2");e.id="b6";e.5a="aV";1B.b0.gB(e);1b f=1B.9e("b6");f.1E.9f="gC";f.1q=c;f.1r=d;1b g=f.9a("2d");1b i=g.k3(f.1r,f.1q);1b j=i.2A;1h(1b h=0;h<c;h++)1h(1b w=0;w<d;w++){j[2+w*4+d*4*h]=a[3+w*4+d*4*h];j[1+w*4+d*4*h]=a[2+w*4+d*4*h];j[0+w*4+d*4*h]=a[1+w*4+d*4*h];j[3+w*4+d*4*h]=a[0+w*4+d*4*h]}g.k4(i,0,0);1b k=f.5V("8Y/gy");1B.b0.k5(1B.9e("b6"))}1l k=b.k6;1g k}1b B=[];1f gD(a,b){B.1t(1c 1d(a,b))}1f gE(a){1h(1b i=0;i<B.1p;i++)if(a===B[i][0])1g b7=B[i][1];1g 4y}1f 9g(a,b){if(a&&a.aU=="gF"){1b c=q[x][1];if(q[x][2])c.3E=a.b8;1l c.1E.k7="4r("+a.b8+")"}1l if(a==1k&&b=="as"){1b d=q[x][1];1b e=q[x][2];if(e==0){1b f;if(5d d.k8==="7v")gG(d,x,a)}1l if(e==1)gH(d,x,a)}}1f 5W(){9h(1f(){x++;if(x<q.1p)b9(x);if(x>=q.1p)B=[]},0)}1f b9(b){1b c=q[b][0];if(!!1B.4q("b2").9a)if(b7=gE(c)){9g(b7);5W()}1l{z.k9("ka",c);if(z.gI)z.gI("aV/kb; kc=x-gJ-gK");1l z.kd("ke-kf","x-gJ-gK");z.kg=1f(){if(z.c0==4)if(z.1F==ay)8U{if(5d z.gL=="7v")1b a=z.kh.9i("").gz(1f(e){1g e.6a(0)&1a});1l{gd();1b a=c9(gf(z.gL))}gM(c,a,"js")}8V(e){5W()}1l 5W()};z.ki()}1l 9g(1k,"as")}1f gN(o){1b e=1B.4q("4t");e.gB(o.kj(5f));1g e.5a}1f gH(a,b,c){1b d=2y.4Z(a,1k);1b e=q[b][0];1b f=a.5a;1b g=a.2Z?a.2Z["1r"]:2y.4Z(a,1k).2Y("1r");1b h=a.2Z?a.2Z["1q"]:2y.4Z(a,1k).2Y("1q");1b i=1B.4q("4t");i.1E.9f="gO";if(a.1E.c1!=="")i.1E.c1=a.1E.c1;if(a.c4!=="")i.c4=a.c4;if(a.id!=="")i.id=a.id+" ";1b j=/<8Z((\\s+\\w+=[^\\+]+))>/im.c5(gN(a))[1]+"";1b k=j.2e("1r=")>0?/(\\S+)=["\']?((?:.(?!["\']?\\s+(?:\\S+)=|["\']))+.)["\']?/.c5(j.3F(j.2e("1r=")))[2]:"";1b l=j.2e("1q=")>0?/(\\S+)=["\']?((?:.(?!["\']?\\s+(?:\\S+)=|["\']))+.)["\']?/.c5(j.3F(j.2e("1q=")))[2]:"";if((h+""+l).2e("%")>0&&gP(a)!==4y){l="";h="7y"}i.5a=\'<4t id="gQ\'+C+\'" 1E="9f:gO;1r:1I%;8W-1q: 1I%;1q:7y !gR;1q:1I%;"><9j 1E="" 1r="10" 1q="10" 4u="7z\'+C+\'" gS="7z\'+C+\'" gT="gU:gV-gW-gX-gY-gZ"><5X 4u="h0" 1i="4r=\'+e+"&h1=8Z&kk="+l.3D(/%/g,"%25")+"&kl="+k.3D(/%/g,"%25")+"&km="+h.3D(/%/g,"%25")+"&kn="+g.3D(/%/g,"%25")+"&id="+C+\'"/><5X 4u="h2" 1i="\'+I+\'"/><5X 4u="h3" 1i="h4"></9j></4t>\';a.1E.9f="gC";a.aX.ge(i,a.ko);C++}1f gG(a,b,c){1b d=2y.4Z(a,1k);1b e=q[b][0];1b f=a.5a;1b g=a.2Z?a.2Z["1r"]:d.2Y("1r");g=!!g&&g!="7y"?g:"1I%";1b h=a.2Z?a.2Z["1q"]:d.2Y("1q");h=!!h&&h!="7y"?h:"1I%";1b i=d.2Y("7u-h5");i=i?i:"h5";1b j=d.2Y("7u-3a");if(j==1k||j.9i(" ").1p<2)j=d.2Y("7u-3a-x")+" "+d.2Y("7u-3a-y");a.5a=\'<4t 1E="1r:1I%;8W-1q: 1I%;1q:7y !gR;1q:1I%; 3a:kp; z-kq:0"><9j 1E="3a:c6; c7:0; h6:0;" 1r="\'+g+\'" 1q="\'+h+\'" 4u="7z\'+C+\'" gS="7z\'+C+\'" gT="gU:gV-gW-gX-gY-gZ"><5X 4u="h0" 1i="4r=\'+e+"&h1=bg&kr="+i+"&ks="+j.3D(/%/g,"%25")+"&id="+C+\'"/><5X 4u="h2" 1i="\'+I+\'"/><5X 4u="h3" 1i="h4"></9j><4t 1E="3a:c6; c7:0; h6:0;">\'+f+"</4t></4t>";if(a.1E.3a!=""&&a.1E.h7=="")a.1E.h7="1";C++}1f gP(e){1b a=e.1E.3a;e.1E.3a="c6";1b b=e.1q;e.1E.3a=a;1g b!=e.1q?b:4y}1b C=0;2y["kt"]=1f(a,b){if(a=="1F"){b=b.9i("|");if(b[1]=="ku"||b[1]=="6j")5W()}1l if(a=="8Z"||a=="kv")if(b!=""){b=b.9i("|");1b c=1B.9e("gQ"+b[0]+"").aX;c.1E.1r=b[1];c.1E.1q=b[2];1b d=1B.9e("7z"+b[0]+"");d.aY("1r",b[1].2e("%")>0?"1I%":b[1].3D("h8",""));d.aY("1q",b[2].2e("%")>0?"1I%":b[2].3D("h8",""));d.1E.1r=b[1].2e("%")>0?"1I%":b[1];d.1E.1q=b[2].2e("%")>0?"1I%":b[2]}};1f gM(a,b,c){if(c="js"){8U{1b d={1r:{1i:0},1q:{1i:0}};1b e=1c 9w;1b f=4y;b=b;1b g=e.dM;1b h=g.1P;1b i=g.6l;if(!e.dO(g))f=5f;1b j=e.6o;1F=e.dF(b,b.1p,i);if(1F!=j.5i)f=5f;1b k=e.9E;h.2q=k.3e;1F=e.g8(b,b.1p,g);d.1r.1i=h.1r;d.1q.1i=h.1q;h9=1F==j.5i;if(!h9)f=5f;1b l=!f?h.u.2r.3N:1k}8V(kw){l=1k}1b m={b8:gA(l,d),aU:"gF"}}gD(a,m);9g(m);5W()}if(q.1p>0)b9(x)}}(1f(i){1b u=kx.ky.kz();1b b=4y;if(/kA/.7s(u))kB=9h(1f(){if(1B.c0=="kC"||1B.c0=="kD")i();1l 9h(4p.9d,10)},10);1l if(/kE/.7s(u)&&!/(kF)/.7s(u)||/kG/.7s(u))i();1l if(b)(1f(){1b a=1B.4q("1B:kH");8U{a.kI("c7");i();a=1k}8V(e){9h(4p.9d,0)}})();1l 2y.gk=i})(gg);',62,1285,'||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||255|var|new|Array|128|function|return|for|value|int_|null|else|254|this|uint8_t|length|height|width|AVG3|push|253|Arr|newObjectIt|VP8GetBit|while|VP8SetError|VP8Get|document|251|mb_y_|style|status|memcpy|127|100|prototype|assert|VP8_STATUS_BITSTREAM_ERROR|205|mb_x_|252|output|171|102|sizeof|256|183|112|tmp_off|AVG2|p0|stride|||||||||||coeffs_|cache_uv_stride_|q1||indexOf|VP8_STATUS_INVALID_PARAM|219|213|uint32_t|223|249|filter_type_|tmp|248|250|break|colorspace|RGBA|247|243|209|cache_y_stride_|114|234|window|alert2|data|crop_left|crop_top|mb_w|221|proba_|192|apply|129|mb_h|range_|VP8GetValue|191|175|239|155|241|VP8GetSignedValue|nz_|pic_hdr_|yuv_b_|q0|clip|236|getPropertyValue|currentStyle|||||||||||position|163|195|root|MODE_ARGB|y_off|u_off|v_off|mb_y|memory|143|211|157|245|NUM_MB_SEGMENTS|filter_hdr_|cache_y_|cache_u_|cache_y_off|cache_u_off|non_zero_|MUL|101|116|154|240|PACK|lnz|YUV_RANGE_MIN|replace|src|substr|charAt|zip_bd|115|131|227|193|BMAX|rgba|a_off|y_stride|VP8_STATUS_NOT_ENOUGH_DATA|159|201|225|partition_length_|height_|dc_nz_|id_|ready_|segment_hdr_|||||||||||use_threads_|thread_ctx_|cache_v_|cache_v_off|is_i4x4_|1020|138|146|170|224|196|160|246|166|RIFF|arguments|createElement|url|bytes32|div|name|parseInt|memset|32768|false|case|MODE_YUV|crop_bottom|eof_|135|167|199|231|179|137|141|width_|segments_|filter_row_|f_info_|mb_w_|mb_info_|mem_|non_zero_ac_|clip_8b|p1|FilterLoop26|FilterLoop24|130|134|get_le32|getComputedStyle|||||||||||innerHTML|uint16_t|parse|typeof|memset_|true|rgba_off|size|VP8_STATUS_OK|use_cropping|use_scaling|uv_stride|tmp_y|tmp_u|value_|missing_|207|151|215|187|235|149|165|197|key_frame_|use_segment_|update_map_|sharpness_|f_inner_|y2_mat_|mb_h_|br_mb_y_|alpha_data_|TransformDC|104|124|126|140|152|228|226|198|176|121|218|186|182|toDataURL|waitListNext|param|int8_t|size_t|||||||||||charCodeAt|slice|ArrCopy|memcmp|String|fromCharCode|16383|257|list|error|120|input|MODE_RGBA_4444|private_memory|VP8StatusCode|bypass_filtering|opaque|setup|crop_right|tmp_v|tmp_y_off|tmp_u_off|emit|emit_alpha|203|133|145|173|177|181|185|189|217|absolute_delta_|quantizer_|filter_strength_|level_|skip_|status_|br_|br_mb_x_|dqm_|mem_size_|imodes_|segment_|total_size|Put16|Put8x8uv|do_filter2|q2|106|110|||||||||||118|136|148|117|242|202|180|184|230|220|190|232|188|111|buf_end_off|header|nz_dc|LOAD_UV|test|Binary|background|undefined|len|HTMLCanvasElement|auto|fsWebPid_|char_|void_|int16_t|Byte2Hex|zip_td|288|144|MODE_YUVA|MODE_LAST|a_stride|a_size|is_external_memory|private_memory_off|WebPInitDecBuffer|VP8_STATUS_OUT_OF_MEMORY|VP8_STATUS_UNSUPPORTED_FEATURE|VP8_STATUS_USER_ABORT|put|teardown|fancy_upsampling|data_off|tmp_v_off|options_|buf_|buf_off|VP8InitBitReader|||||||||||139|161|NUM_REF_LF_DELTAS|NUM_CTX|NUM_PROBAS|use_lf_delta_|y1_mat_|uv_mat_|cache_id_|num_caches_|tl_mb_x_|tl_mb_y_|num_parts_|parts_|use_skip_proba_|intra_t_|intra_l_|y_t_|u_t_|v_t_|filter_levels_|alpha_data_size_|layer_data_size_|TrueMotion|Copy32b|132|119|238|216|162|222|178|174|244|142|VP8GetHeaders|cannot|GetCoeffs|out_l_nz|first|YUV_RANGE_MAX|131074|WebPResetDecParams|DecodeInto|GetFeatures|Function|try|catch|min|startDecoding|image|img|||||||||||getContext|toUInt|crc32|callee|getElementById|display|writeResultIntoElement|setTimeout|split|object|short_|long_|int32_t|uint64_t|JSON|join|str|memset_wl|malloc|Arr_nOI|ArrM|throw|WebPDecoder|next|switch|65521|Not|to|MODE_RGBA|MODE_BGRA|WEBP_CSP_MODE|VP8_STATUS_SUSPENDED|data_size|buf_end_|VP8BitUpdate|VP8Shift|147|153|169|229|B_TM_PRED|B_VE_PRED|B_HE_PRED|B_HU_PRED|DC_PRED|V_PRED|H_PRED|TM_PRED|NUM_TYPES|NUM_BANDS|profile_|show_|colorspace_|simple_|ref_lf_delta_|mode_lf_delta_|f_level_|f_ilevel_|error_msg_|frm_hdr_|skip_p_|uvmode_|alpha_data_off|alpha_plane_|VP8DecompressAlphaRows|WebPCopyDecBuffer|dst|TransformOne|hev|needs_filter|needs_filter2|p2|SimpleVFilter16|SimpleHFilter16|frame|MACROBLOCK_VPOS|CheckMode|108|164|214||150|103|194|172|208|200|109|212|123|113|SetOk|VP8Clear|VP8CheckAndSkipHeader|VP8XGetInfo|WebPCheckAndSkipRIFFHeader|Inconsistent|information|VP8Decode|VP8kUToG|VP8kUToB|VP8YuvToArgbKeepA|VP8YuvToArgb|FUNC_NAME|DefaultFeatures|IEBinaryToArray_ByteStr|lastIndex|script|type|text|getElementsByTagName|parentNode|setAttribute|checkAndAddToWaitList|body|images|canvas|btoa|Number|bytes16sw|webbpywebpcanvas|WebPData|Data|waitListProcess|||||||||||||||||||||||||||||||||||||||||||||||||||||readyState|cssText|||className|exec|absolute|left|int64_t|convertBinaryToArray|||||||||||||||||||||||||||||||||||||||||||||||||||||bits|toString|string|65535|N_MAX|continue|HufBuild|286|DataError|enough||||||||||||||||||||||||inflate|uncompress|MODE_BGR|MODE_RGB_565|YUVA|WebPInitDecBufferInternal|has_alpha|bitstream_version|WebPGetFeatures|WebPGetFeaturesInternal|no_fancy_upsampling|crop_width|crop_height|scaled_width|scaled_height|WebPDecoderConfig|options|WebPInitDecoderConfig|WebPInitDecoderConfigInternal|VP8InitIo|VP8InitIoInternal|last_y|OutputFunc|VP8GetByte|VP8GetSigned|233|237|B_RD_PRED|B_VR_PRED|B_LD_PRED|B_VL_PRED|B_HD_PRED|NUM_BMODES|B_DC_PRED_NOTOP|B_DC_PRED_NOLEFT|B_DC_PRED_NOTOPLEFT|NUM_MODE_LF_DELTAS|MAX_NUM_PARTITIONS|xscale_|yscale_|clamp_type_|buffer_flags_|layer_colorspace_|layer_data_|CheckDecBuffer|AllocateBuffer|WebPAllocateDecBuffer|WebPFreeDecBuffer|todo|WebPGrabDecBuffer||VP8DecodeLayer|VP8DspInitTables|dst_off|TransformTwo|TransformUV|TransformDCUV|TransformWHT|VP8TransformWHT|TM4|TM8uv|TM16|VE16|HE16|DC16|DC16NoTop|DC16NoLeft|DC16NoTopLeft|VE4|HE4|DC4|RD4|LD4|VR4|VL4|HU4|HD4|VE8uv|HE8uv|DC8uv|DC8uvNoLeft|DC8uvNoTop|DC8uvNoTopLeft|do_filter4|do_filter6|q3|SimpleVFilter16i|SimpleHFilter16i|VFilter16|HFilter16|VFilter16i|HFilter16i|VFilter8|HFilter8|VFilter8i|HFilter8i|VP8DspInit|InitThreadContext|AllocateMemory|384|InitIo|VP8InitFrame|hev_thresh_from_level|DoFilter|FilterRow|VP8StoreBlock|VP8FinishRow|not|VP8ProcessRow|VP8EnterCritical|Frame|VP8ExitCritical|VP8ReconstructBlock|983040|15728640|122|125|158|VP8ParseQuant|204|210|168|206|107|VP8ResetProba|VP8ParseIntraMode|VP8ParseProba|VP8New|VP8Delete|VP8GetInfo|VP8X|ResetSegmentHeader|ParseSegmentHeader|ParsePartitions|ParseFilterHeader|VP8Io|Invalid|container|ParseResiduals|VP8DecodeMB|VP8InitScanline|ParseFrame|VP8YuvToRgb|VP8YUVInit|UpsampleArgbLinePair|UpsampleArgbKeepAlphaLinePair|InitUpsamplers|FUNC_NAME_SAMPLE|SampleArgbLinePair|EmitSampledRGB|EmitFancyRGB|EmitAlphaRGB|IsAlphaMode|InitFromOptions|CustomSetup|CustomPut|CustomTeardown|WebPInitCustomIo|DecodeIntoRGBABuffer|Decode|WebPGetInfo|WebPDecode|IEBinaryToArray_ByteStr_Script|End|IEBinaryToArray_ByteStr_Last|tIEBinaryToArray_ByteStr_Last|vbscript_IEBinaryToArray_ByteStr|insertBefore|convertResponseBodyToText|WebPJSInit|webpjs|lastIndexOf|checkWebPSupport|onload|webp|base64|IsWebPFile|makeCacheValidUrl|addFilenameToWaitList|removeQuotes|XMLHttpRequest|ActiveXObject|base64encode|adler32|crctable|4294967295|Math|png|map|bitmapToPNGFromCanvas|appendChild|none|InsertIntoCacheList|in_cacheList|PNGDataBase64|addEmbedObjectBG|addEmbedObjectIMG|overrideMimeType|user|defined|responseBody|DecodeWebPImage|getOuterHTML|inline|checkElementHeight|divfsWebPid_|important|ID|classid|clsid|D27CDB6E|AE6D|11cf|96B8|444553540000|FlashVars|mode|movie|wmode|transparent|repeat|top|zIndex|px|ok|float_|double_|score_t|stringify|int64BitLeft|write32BitIn4Bytes|write4BytesIn32Bit|alert32BitIn4Bytes|0x|offset|over|memcpy2|memcpyArrM|membuild_wl|membuild|mallocStr|resStr|Error|fixed_bd|511|1023|2047|4095|8191|32767|258|385|513|769|1025|1537|2049|3073|4097|6145|8193|12289|16385|24577|280|default|Deflate|unshift|Unable|the|MODE_RGB|u_stride|v_stride|y_size|u_size|v_size|no_incremental_decoding|rotate|uv_sampling|force_rotation|no_enhancement|use_threads|B_PRED|NUM_B_DC_MODES|NUM_MV_PROBAS||io_|worker_|WebPWorker|imodes_offset_||alpha_plane_off||layer_data_off|510||STORE|20091|35468|||OUT|mem_offset|no|during||initialization|f_info_off|12851|Could|decode|alpha|failed|259|264|269|274|279|284|105|156|WebPGetDecoderVersion|OK|mismatch|VP8|dec|passed|Truncated|Incorrect|keyframe|parameters|displayable|picture|Bad|code|word|bad|partition|segment|filter|partitions|key|extra|i32|134480385|16777216|65536|4278190080|Premature|end|of|file|encountered|Output|aborted|NULL|parameter|89858|22014|45773|113618|76283|524296|MULT|WEBP|WebPDecodeARGBInto|WebPDecodeARGB||float|styleFloat|toUpperCase|tIEBinaryToArray_ByteStr|CStr|tDim|tlastIndex|LenB|tif|mod|Then|Chr|AscB|MidB|tElse|tEnd|If|vbscript|swf|Image|onerror|UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA|veff|0PP8bA|LwYAAA|http|match|MSXML2|XMLHTTP|ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789|4294967296|3988292384|call|getImageData|splice|ceil|createImageData|putImageData|removeChild|URL|backgroundImage|selectorText|open|get|plain|charset|setRequestHeader|Accept|Charset|onreadystatechange|responseText|send|cloneNode|imgHeight|imgWidth|styleHeight|styleWidth|nextSibling|relative|index|backgroundRepeat|backgroundPosition|webpFSCommand|finish|imgresize|err|navigator|userAgent|toLowerCase|webkit|timeout|loaded|complete|mozilla|compatible|opera|ready|doScroll'.split('|'),0,{}))
|