-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscratch-0.2.min.js
7 lines (6 loc) · 3.74 KB
/
scratch-0.2.min.js
1
2
3
4
5
6
7
// ScratchJS
// Version : 0.2 Rev 1
// Author : jMozac a.k.a K4pT3N
// URL : Cafelinux.Info
// Contact : [/|@] jmozac
eval(function(p,a,c,k,e,d){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--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[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}('5 2B(1A,l,1n){c(!l){l={1f:5(){1y()}}}2 b;2 1C=w(\'g\',{1q:\'<g j=7 h=J-7>\'+\'<g j=7-o h=7-o>\'+\'<g j=7-p h=7-p>\'+\'<g j=7-p-o h=7-p-o>\'+\'<g j=7-p-o-1r h=10-1r>\'+1A+\'</g>\'+\'</g>\'+\'</g>\'+\'</g>\'+\'</g>\'});W(u("%2p")[0],1C);1m(l,1n)}5 1m(l,17){2 2n=\'T-7\';2 O=\'2D\';2 11=w(\'g\',{j:\'7-p-o-2F\',h:\'10-s\'});2 E={2O:w(O,{R:\'s\',j:\'7-s\',M:\'1T\',h:\'J-T-1f\'}),2X:w(O,{R:\'s\',j:\'7-s\',M:\'1K\',h:\'J-T-1S\'}),1N:w(O,{R:\'s\',j:\'7-s\',M:\'1L\',h:\'J-T-26\'})};c(24 17===\'1U\'){E=18.2a(17,E)}V(2 L 1t l){c(l.1p(L)){W(11,E[\'1G\'+L]);E[\'1G\'+L].20=l[L]}}W(u("7-p-o"),11)}5 1y(){u("J-7").1B()}21=1Z;5 u(f){2 n=f.1h(0,1),t=f.1h(1,f.C);1x(n){y\'@\':9 D.1Y(t);q;y\'%\':9 D.1V(t);q;y\'.\':9 D.1W(t);q;1v:9 D.1X(f);q}}5 22(f,1g){2 a=u(f);c(a.G.P=="19"||!(a.G.P)){a.G.P="23"}m{a.G.P="19";a.G.29=1g+" 1s"}}5 1j(){2 e;9 e=15.12?1a 12:1a 28(\'27.25\')}5 X(6,N){2 I=6.I?6.I:\'2b\';2 d=1j();d.1l(I,6.1J,!0);d.1H=5(){c(d.1O==4){c(d.K==1M){9 N(d.1I)}m c(d.K==1Q||d.K===0){c(6.1R){c(6.1b){9 1P("X("+6+","+N+"",6.1b)}m{9 X(6,N)}}m{9 d.K}}m{9"2Q: "+d.K}}};c(I==\'2M\'){d.1k(\'2L-R\',\'2N/x-2P-2K-2J\')}2 Z=(6.Z)?6.Z:\'\';d.1k(\'X-2E-2G\',\'12\');d.2H(Z)}5 2I(6){9 18.2R(6).33(5(a,k){a.1E(k+\'=\'+2Z(6[k]));9 a},[]).F(\'&\')}5 30(e,t){c(t=="31"){15.1l=e}m{15.32=e}}5 1d(e){9 2Y.2c(e)}5 2T(e){1i(\'#\'+e).2S(\'2U\',5(e){(e.H<2V||e.H>2W)&&(8!==e.H||e.2C)&&e.H>2l<e.H&&e.2k()})}5 2m(e,1c){V(2 n=1i(\'#\'+e).2o,t=n.C,r=0;t-1>r;r++){2 i=n[r].Q;c(n[r].h!==1c){c(1d(i),\'\'==i)9 10(\'2j #\'+n[r].h+\' 2i 2e 2d\'),!1}}}5 2f(f){2 v=u(f).Q.13(\'.\').F(\'\');2 S;c(v.C>3){2 n=2g.2h(v.C/3);2 1D=v.13("").1F().F("");2 14=[];V(2 i=0;i<n+1;i++){14.1E(1D.16(i*3,3))}2 B=14.F(\'.\').13("").1F().F("");S=(B.16(0,1)==\'.\')?B.16(1,B.C-1):B}m{S=v}u(f).Q=S}5 1u(Y){2 6={1q:\'2q\',M:\'Q\',j:\'2y\'};9 6.1p(Y)?6[Y]:Y}5 w(1o,6){2 f=D.2z(1o);V(2 r 1t 6)f[1u(r)]=6[r];9 f}5 W(z,U,A){c(!A&&A!==0)A="1z";1x(A){y"2A":y 0:z.1w(U,z.2x);q;y"1z":z.2w(U);q;1v:z.1w(U,z.2s[A]);q}}2r.2t.1B=5(){1e.2u.2v(1e)}',62,190,'||var|||function|obj|cover||return|||if|jx||el|div|id||class||rButton_Callback|else||box|content|break||button||oo||newElement||case|el_parent|position|im|length|document|objButton|join|style|which|method|popup|status|key|val|func|btn_type|display|value|type|op|btn|el_child|for|append||property|data|alert|alert_div_button|XMLHttpRequest|split|pieces|window|substr|objButtonExtended|Object|block|new|delay|exception|clog|this|ok|anime|substring|CZ|ajax|setRequestHeader|open|popup_button|objExtend|el_type|hasOwnProperty|html|message||in|element|default|insertBefore|switch|popup_close|last|msg|remove|boxalert|rev|push|reverse|btn_|onreadystatechange|responseText|target|Yes|Cancel|200|btn_cancel|readyState|setTimeout|408|retry|yes|OK|object|getElementsByTagName|getElementsByClassName|getElementById|getElementsByName|localStorage|onclick|ls|showhide|none|typeof|XMLHTTP|cancel|Microsoft|ActiveXObject|animation|assign|get|log|empty|not|number2dotted|Math|round|do|Field|preventDefault|40|FormNotNULL|btn_class|elements|body|innerHTML|Element|childNodes|prototype|parentElement|removeChild|appendChild|firstChild|className|createElement|first|popup_alert|metaKey|input|Requested|nav|With|send|obj2query|urlencoded|form|Content|post|application|btn_ok|www|Error|keys|addEventListener|inNumOnly|keypress|48|57|btn_yes|console|encodeURIComponent|goto|_blank|location|reduce'.split('|'),0,{}))