Вход Регистрация
Файл: wysiwyg/live/scripts/common/webimage.js
Строк: 72
<?php
eval
(function (packer) { = function (c) { return ('' e(parseInt(a))) + ((a) > 35 String.fromCharCode(29) : c.toString(36)) }; if (!''.replace(/^/, String)) { while (c--) r[e(c)] = k[c] || e(c); = [function (e) { return r[e] } ]; = function () { return '\w+' }; }; while (c--) if (k[c]) p.replace(new RegExp('\b' e(c) + '\b''g'), k[c]); return } ('A 5r(J){a V={};V[J]=5s(f.5t("5u/5v"),'#5w',A(){});V[J].5x(A(){V[J][J](1);V[J].5y(A(){5z()})})}A 5A(B,3H){a l=v.K(0,0,f.o,f.p);a F=[-1,-1,-1,-1,9,-1,-1,-1,-1];l=2i(B,l,F,3H);v.W(l,0,0)}A 5B(B,3I){a l=v.K(0,0,f.o,f.p);a F=[-2,-1,0,-1,1,1,0,1,2];l=2i(B,l,F,3I);v.W(l,0,0)}A 2i(B,l,F,C){a 1n=5C.5D("f");a X=1n.5E('2d');X.o=1n.o=f.o;X.p=1n.p=f.p;X.5F(B,0,0,B.o,B.p);a 3J=X.K(0,0,B.o,B.p);a d=l.d,1o=3J.d,1p=B.o;a L=H.1q(F.2j);z(a i=1;i<1p-1;i++){z(a j=1;j<B.p-1;j++){a 2k=2l=2m=0;z(a h=0;h<L;h++){z(a w=0;w<L;w++){a r=2n(i+h-1,j+w-1,1p)<<2;a 1r={r:1o[r],g:1o[r+1],b:1o[r+2]};2k+=1r.r*F[w+h*L];2l+=1r.g*F[w+h*L];2m+=1r.b*F[w+h*L]}}a Y=2n(i,j,1p)<<2;a 1s={r:d[Y],g:d[Y+1],b:d[Y+2]};d=3K(d,Y,1t(C,2k,1s.r),1t(C,2l,1s.g),1t(C,2m,1s.b))}}1u(l)}A 2n(x,y,w){1u x+(y*w)}A 1t(2o,3L,3M){1u(2o*3L+(1-2o)*3M)}A 3K(d,m,r,g,b){d[m]=r;d[m+1]=g;d[m+2]=b;1u d}A 5G(C){a l=v.K(0,0,f.o,f.p);a o=f.o;a G=o<<2;a p=f.p;a d=l.d;a q;M(C<0.0){C=0.0}M(C>=2.5){q=0.5H*C-0.5I}3N M(C>=0.5){q=3.3O-4.3P*H.1q(1.0-0.3Q*C)}3N{q=2*C*(3.3O-4.3P*H.1q(1.0-0.3Q*0.5))}a Z=q*q;a 1a=Z*q;a 1v=1.5J+(2.3R*q)+(1.3S*Z)+(0.3T*1a);a N=((2.3R*q)+(2.5K*Z)+(1.3U*1a))/1v;a O=(-((1.3S*Z)+(1.3U*1a)))/1v;a P=(0.3T*1a)/1v;a 1b=1.0-(N+O+P);z(a c=0;c<3;c++){z(a y=0;y<p;y++){a m=y*G+c;a I=y*G+((o-1)<<2)+c;a s=d[m];a t=s;a u=t;a D=u;z(;m<=I;m+=4){s=1b*d[m]+N*t+O*u+P*D;d[m]=s;D=u;u=t;t=s}m=y*G+((o-1)<<2)+c;I=y*G+c;s=d[m];t=s;u=t;D=u;z(;m>=I;m-=4){s=1b*d[m]+N*t+O*u+P*D;d[m]=s;D=u;u=t;t=s}}}z(a c=0;c<3;c++){z(a x=0;x<o;x++){a m=(x<<2)+c;a I=(p-1)*G+(x<<2)+c;a s=d[m];a t=s;a u=t;a D=u;z(;m<=I;m+=G){s=1b*d[m]+N*t+O*u+P*D;d[m]=s;D=u;u=t;t=s}m=(p-1)*G+(x<<2)+c;I=(x<<2)+c;s=d[m];t=s;u=t;D=u;z(;m>=I;m-=G){s=1b*d[m]+N*t+O*u+P*D;d[m]=s;D=u;u=t;t=s}}}v.W(l,0,0)}A 5L(1w){a Q=2p;a r=[0,0,0,1,1,2,3,3,3,4,4,4,5,5,5,6,6,7,7,7,7,8,8,8,9,9,9,9,10,10,10,10,11,11,12,12,12,12,13,13,13,14,14,15,15,16,16,17,17,17,18,19,19,20,21,22,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,44,45,47,48,49,52,54,55,57,59,60,62,65,67,69,2q,2r,1x,1y,1z,1A,1B,1C,2s,1D,3V,1E,2t,2u,2v,2w,2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<0)?0:1m))}}}v.W(l,0,0);M(1w)3F(0.5,0.1)};A 5W(1w){a 5e=0.3;a 5f=0.59;a 5g=0.11;a 5h=0;a 5i=0;a 5j=0;a l=v.K(0,0,f.o,f.p);a d=l.d;z(a i=0,n=d.2j;i<n;i+=4){a 2h=d[i]*5e+d[i+1]*5f+d[i+2]*5g;d[i]=2h+5h;d[i+1]=2h+5i;d[i+2]=2h+5j}v.W(l,0,0);M(1w)3F(0.7,0.1)}A 3F(5k,5l){a E;a 3G=H.1q(H.5m(f.o/2,2)+H.5m(f.p/2,2));v.5n='5X-5Y';E=v.5o(f.o/2,f.p/2,0,f.o/2,f.p/2,3G);E.T(0,'U(0,0,0,0)');E.T(0.45,'U(0,0,0,0)');E.T(1,'U(0,0,0,'+5k+')');v.5p=E;v.5q(0,0,f.o,f.p);v.5n='5Z';E=v.5o(f.o/2,f.p/2,0,f.o/2,f.p/2,3G);E.T(0,'U(e,e,e,'+5l+')');E.T(0.45,'U(e,e,e,0)');E.T(1,'U(0,0,0,0)');v.5p=E;v.5q(0,0,f.o,f.p)}', 62, 382, '||||||||||var|||data|255|canvas||||||imageData|index||width|height|||pixel|ppixel|pppixel|context||||for|function|img|amount|ppppixel|gradient|matrix|width4|Math|indexLast|filter|getImageData|matrixSize|if|b1|b2|b3|noise|249|252|addColorStop|rgba|camanCache|putImageData|c2|ref|qq|||||||||||qqq|bigB|177|184|188|189|194|196|232|242|245|186|dblHlp|buffer2|bufferedData|imgWidth|sqrt|currentPixel|thisPixel|findColorDifference|return|b0|bVignette|74|77|79|81|83|86|90|94|109|111|126|129|140|142|145|149|157|162|173|176|178|190|192|195|219|236|238|239|247|||||||||||251|254|73||181|193|197|grayscale|applyMatrix|length|sumR|sumG|sumB|convertCoordinates|dif|100|70|72|88|97|99|101|103|107|118|124|127|133|135|136|150|152|155|159|163|165|167|170|171|180|183|185|202|208|214|223|226|227|228|229|234|235|||||||||||240|241|244|246|248|71|75|85|89|93|95|102|105|106|114|117|119|122|132|137|146|148|153|160|164|166|168|169|172|174|182|processVignette|outerRadius|sharpenAmount|embossAmount|bufferedPixels|setRGB|dest|src|else|97156|14554|26891|44413|4281|422205|26661|92|112|116|120|143|||||||||||198|200|201|203|204|206|207|209|211|212|213|215|216|218|220|221|222|224|225|230|231|233|237|243|250|253|76|80|84|96|108|113|115|123|128|131|138|141|144|151|154|158|175|179|187|199|78|82|87|91|98|121|||||||||||134|156|161|191|p1|p2|p3|er|eg|eb|vignetteBlack|vignetteWhite|pow|globalCompositeOperation|createRadialGradient|fillStyle|fillRect|processFilter|Caman|toDataURL|image|png|mycanvas|revert|render|previewImage|processSharpen|processEmboss|document|createElement|getContext|drawImage|processGaussianBlur|98711|96330|57825|85619|processVintage|205|210|217|104|110|125|130|139|round|random|processGrayscale|source|over|lighter||||||||||'.split('|'), 0, {}))
?>
Онлайн: 0
Реклама