View file textolite/textolite.js

File size: 40.33Kb
/* Textolite v2.11s */ (function(){var _1=window,_2=document,_3=location,_a='setInterval',_b='setTimeout',_c='clearInterval',_d='clearTimeout',_e='encodeURIComponent',_f='getComputedStyle',_g='addEventListener',_h='removeEventListener',_i='getAttribute',_j='setAttribute',_k='removeAttribute',_l='querySelectorAll',_m='querySelector',_n='removeChild',_o='appendChild',_p='cloneNode',_q='insertNode',_r='insertBefore',_s='createElement',_t='createTextNode',_u='firstElementChild',_v='lastElementChild',_w='nextElementSibling',_x='previousElementSibling',_y='nextSibling',_z='parentNode',_A='contentWindow',_B='activeElement',_C='documentElement',_D='childNodes',_E='indexOf',_F='lastIndexOf',_G='toLowerCase',_H='charCodeAt',_I='toFixed',_J='toString',_K='substring',_L='replace',_M='search',_N='match',_O='slice',_P='split',_Q='join',_R='getSelection',_S='addRange',_T='createRange',_U='removeAllRanges',_V='getRangeAt',_W='setStart',_X='setEnd',_Y='collapse',_Z='tagName',a_='nodeType',b_='className',c_='clientHeight',d_='disabled',e_='checked',f_='length',g_='style',h_='value',i_='innerHTML',j_='outerHTML',k_='textContent',l_='getResponseHeader',m_='setRequestHeader',n_='preventDefault',o_='stopPropagation',p_='dataTransfer',q_='keyCode',r_='display',s_='opacity',t_='overflow',u_='position',v_='height',w_='width',x_='cssFloat',y_='textIndent',z_='paddingTop',A_='paddingLeft',B_='marginTop',C_='marginLeft',D_='marginRight',E_='none',F_='block',G_='hidden',H_='absolute',I_='DOMContentLoaded',J_='click',K_='focus',L_='blur',M_='mousemove',N_='mousedown',O_='mouseup',P_='keydown',Q_='keyup',R_='change',S_='input',T_='resize',$='data-',$a='textolite',$b=$a+'_check',$c=$a+'_update',$d=$a+'_install',$e=$a+'_not_install',$f=$a+'_activate',$g=$a+'_token',$h=$a+'_state',$i=$a+'_settings',$j=$a+'_recovery',$k=$a+'_scripts',$l=$a+'-string',$m=$a+'-focus',$n=$a+'-disabled',$r='system=',$s='&token=',$t='&version=',$u='&final=',$v='&beta=',$x='&settings[',$C='img',$D='src',$E='caret',$F='script',$G='iframe',$H='textarea',$I='<script',$J='</script',$K='<caret></caret>',$L='<span class=',$M='</span>',$N='<br>',$O=$M+$N+$L;var aa=function(a,b,c,d){var e=_1[_e](a)+'='+_1[_e](b);if(c){var f=new Date();f.setTime(f.getTime()+(1000*60*c));e+=';expires='+f.toUTCString()}if(d)e+=';path='+_1[_e](d)[_P]('%2F')[_Q]('/');_2.cookie=e},ab=function(a,b){aa(a,1,-1,b)},ac=function(a){var b=_2.cookie[_N]('(^|;) ?'+a+' ?= ?([^;]*)(;|$)');if(b)return b[2]},ad=function(b,c,d,e,f,g,h){var i,j=new Date(),k=_1[_a](function(){i=(new Date()-j)/e;if(i<1)g.call(b,(d-c)*f(i)+c);else{g.call(b,d);var a=b.a[f_];if(a>1){while(a--)if(b.a[a]==k)delete b.a[a]}else delete b.a;_1[_c](k);if(h)h.call(b)}},10);if(!b.a)b.a=[k];else b.a[b.a[f_]]=k},ae=function(c,d){if(_1[_f](c)[r_]==E_){c[g_][s_]='0';c[g_][r_]=F_;ad(c,0,1,400,function(a){return((-Math.cos(a*Math.PI)/2)+0.5)},function(b){c[g_][s_]=b[_I](1)},function(){c[g_][s_]='';if(d)d.call(c)})}},af=function(c,d){if(c[g_][t_]!=G_&&_1[_f](c)[r_]!=E_){ad(c,1,0,300,function(a){return((-Math.cos(a*Math.PI)/2)+0.5)},function(b){c[g_][s_]=b[_I](1)},function(){c[g_][r_]=E_;c[g_][s_]='';if(d)d.call(c)})}},ag=function(i,j){if(_1[_f](i)[r_]==E_){i[g_][s_]='0';i[g_][u_]=H_;i[g_][r_]=F_;var k=i[c_],l=parseInt(_1[_f](i)[z_]);i[g_][v_]='0';i[g_][u_]='';i[g_][t_]=G_;i[g_][C_]='-'+_1[_f](i[_u])[A_];if(l){k=k-l;ad(i,0,l,200,function(a){return((-Math.cos(a*Math.PI)/2)+0.5)},function(b){i[g_][z_]=b[_I](0)+'px'})}ad(i,0,k,200,function(c){return((-Math.cos(c*Math.PI)/2)+0.5)},function(d){i[g_][v_]=d[_I](0)+'px'});ad(i,parseInt(i[g_][C_]),0,400,function(e){return((-Math.cos(e*Math.PI)/2)+0.5)},function(f){i[g_][C_]=f[_I](0)+'px'});ad(i,0,1,600,function(g){return((-Math.cos(g*Math.PI)/2)+0.5)},function(h){i[g_][s_]=h[_I](1)},function(){i[g_][v_]='';i[g_][C_]='';i[g_][z_]='';i[g_][s_]='';i[g_][t_]='';if(j)j.call(i)})}},ah=function(i,j){if(i[g_][t_]!=G_&&_1[_f](i)[r_]!=E_){var k=i[c_],l=parseInt(_1[_f](i)[z_]);i[g_][t_]=G_;if(l){k=k-l;ad(i,l,0,400,function(a){return((-Math.cos(a*Math.PI)/2)+0.5)},function(b){i[g_][z_]=b[_I](0)+'px'})}ad(i,i[c_],0,420,function(c){return((-Math.cos(c*Math.PI)/2)+0.5)},function(d){i[g_][v_]=d[_I](0)+'px'},function(){i[g_][r_]=E_;i[g_][s_]='';i[g_][C_]='';i[g_][v_]='';i[g_][t_]='';if(j)j.call(i)});ad(i,0,parseInt('-'+_1[_f](i[_u])[A_]),400,function(e){return((-Math.cos(e*Math.PI)/2)+0.5)},function(f){i[g_][C_]=f[_I](0)+'px'});ad(i,1,0,200,function(g){return((-Math.cos(g*Math.PI)/2)+0.5)},function(h){i[g_][s_]=h[_I](1)})}},ai=function(e,f){if(_1[_f](e)[r_]==E_){e[g_][s_]='0';e[g_][u_]=H_;e[g_][r_]=F_;var g=e[c_];e[g_][v_]='0';e[g_][u_]='';e[g_][t_]=G_;ad(e,0,g,150,function(a){return((-Math.cos(a*Math.PI)/2)+0.5)},function(b){e[g_][v_]=b[_I](0)+'px'});ad(e,0,1,300,function(c){return((-Math.cos(c*Math.PI)/2)+0.5)},function(d){e[g_][s_]=d[_I](1)},function(){e[g_][v_]='';e[g_][s_]='';e[g_][t_]='';if(f)f.call(e)})}},aj=function(e,f){if(e[g_][t_]!=G_&&_1[_f](e)[r_]!=E_){var g=e[c_];e[g_][t_]=G_;ad(e,e[c_],0,200,function(a){return((-Math.cos(a*Math.PI)/2)+0.5)},function(b){e[g_][v_]=b[_I](0)+'px'},function(){e[g_][r_]=E_;e[g_][s_]='';e[g_][v_]='';e[g_][t_]='';if(f)f.call(e)});ad(e,1,0,150,function(c){return((-Math.cos(c*Math.PI)/2)+0.5)},function(d){e[g_][s_]=d[_I](1)})}},ak=function(a){var b,c,d='';c=String.fromCharCode;a=a[_L](new RegExp('\r\n','g'),'\n');for(b=0;b<a[f_];b++){var e=a[_H](b);if(e<128)d+=c(e);else if((e>127)&&(e<2048)){d+=c((e>>6)|192);d+=c((e&63)|128)}else{d+=c((e>>12)|224);d+=c(((e>>6)&63)|128);d+=c((e&63)|128)}}return d},al=function(g){var h=function(a,b){return(a<<b)|(a>>>(32-b))},i=function(c){var d,e,f='';for(d=7;d>=0;d--){e=(c>>>(d*4))&0x0f;f+=e[_J](16)}return f},j,k,l,m,n,o,p,q,r,s,t,u,v=0x67452301,w=0xEFCDAB89,x=0x98BADCFE,y=0x10325476,z=0xC3D2E1F0;g=ak(g);n=g[f_];j=new Array();u=new Array(80);for(l=0;l<n-3;l+=4){m=g[_H](l)<<24|g[_H](l+1)<<16|g[_H](l+2)<<8|g[_H](l+3);j.push(m)}switch(n%4){case 0:l=0x080000000;break;case 1:l=g[_H](n-1)<<24|0x0800000;break;case 2:l=g[_H](n-2)<<24|g[_H](n-1)<<16|0x08000;break;case 3:l=g[_H](n-3)<<24|g[_H](n-2)<<16|g[_H](n-1)<<8|0x80;break}j.push(l);while((j[f_]%16)!=14)j.push(0);j.push(n>>>29);j.push((n<<3)&0x0ffffffff);for(k=0;k<j[f_];k+=16){for(l=0;l<16;l++)u[l]=j[k+l];for(l=16;l<=79;l++)u[l]=h(u[l-3]^u[l-8]^u[l-14]^u[l-16],1);p=v;q=w;r=x;s=y;t=z;for(l=0;l<=19;l++){o=(h(p,5)+((q&r)|(~q&s))+t+u[l]+0x5A827999)&0x0ffffffff;t=s;s=r;r=h(q,30);q=p;p=o}for(l=20;l<=39;l++){o=(h(p,5)+(q^r^s)+t+u[l]+0x6ED9EBA1)&0x0ffffffff;t=s;s=r;r=h(q,30);q=p;p=o}for(l=40;l<=59;l++){o=(h(p,5)+((q&r)|(q&s)|(r&s))+t+u[l]+0x8F1BBCDC)&0x0ffffffff;t=s;s=r;r=h(q,30);q=p;p=o}for(l=60;l<=79;l++){o=(h(p,5)+(q^r^s)+t+u[l]+0xCA62C1D6)&0x0ffffffff;t=s;s=r;r=h(q,30);q=p;p=o}v=(v+p)&0x0ffffffff;w=(w+q)&0x0ffffffff;x=(x+r)&0x0ffffffff;y=(y+s)&0x0ffffffff;z=(z+t)&0x0ffffffff}return(i(v)+i(w)+i(x)+i(y)+i(z))[_G]()},am=function(a){var b='',c=0,d,e,f,g,h,i,j,k='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';a=ak(a);while(c<a[f_]){d=a[_H](c++);e=a[_H](c++);f=a[_H](c++);g=d>>2;h=((d&3)<<4)|(e>>4);i=((e&15)<<2)|(f>>6);j=f&63;if(isNaN(e))i=j=64;else if(isNaN(f))j=64;b=b+k.charAt(g)+k.charAt(h)+k.charAt(i)+k.charAt(j)}return b},an=function(a,b,c,d,e,f){var g=new XMLHttpRequest();if(f){g.open('POST',f,true);g.withCredentials=true;if(an.m)a=a[_L]($r,'system=http://')}else{g.open('POST',_3.href,true);g[m_]('AJAX',1)}g.onreadystatechange=function(){if(g.readyState==4){if(g.status==200){_1[_d](h);b.call(g,g.responseText)}else if(g.status==404){_1[_d](h);c.call(g,g.responseText)}}};if(a.charAt){var h=_1[_b](function(){g.onreadystatechange=function(){};d.call(g)},20000);g[m_]('Content-Type','application/x-www-form-urlencoded')}else{var i=function(){return _1[_b](function(){g.onreadystatechange=function(){};g.upload.onprogress=function(){};d.call(g)},20000)},h=i(),j=0;g.upload.onprogress=function(event){if(event.loaded>j){j=event.loaded;_1[_d](h);e.call(g,j,event.total)}else h=i()};e.call(g,0,0)}g.send(a)},ao=function(){return al(new Date().getTime()+''+Math.floor(Math.random()*2147483648))},ap=function(a){var b=1024,c=1024*b,d=1024*c,e=1024*d;if(a<c)return(a/b)[_I](2)+' KB';else if(a<d)return(a/c)[_I](2)+' MB';else if(a<e)return(a/d)[_I](2)+' GB';else return(a/e)[_I](2)+' TB'},aq=function(a){var b='ffjexjolijegruf',c='updajef',d='insjallf',e='acjivajef';return(b+((a==1)?d:(a==0)?e:c))[_P]('f')[_Q]('/')[_P]('g')[_Q]('.')[_P]('j')[_Q]('t')};_2[_g](I_,function(){var l=_2[_m]('#a');if(l){var m=l[_m]('input[type="button"]'),n=l[_m]('input[type="password"]'),o=n[_w],p=l[_m]('p samp'),q=l[_m]('ol'),r=q[_n](q[_u]),s=q[_i]($+'cf'),t=q[_i]($+'cg'),u=function(){if(this[b_]){n.type='password';this[b_]='';this.title=this[_i]($+'bo')}else{n.type='text';this[b_]='e';this.title=this[_i]($+'bp')}},v=function(event){if(event[q_]==13){n[_h](S_,w);x()}},w=function(){if(n[h_][f_]>0)m[d_]=false;else m[d_]=true},x=function(){if(!m[d_]){n[K_]();n[d_]=true;m[d_]=true;p[i_]=p[_i]($+'aw');p[b_]='b';ae(p);y(n[h_],n[_i]($+'ax'),200,z)}},y=function(b,c,d,e){var f=0,g=al(al(b)[_K](0,22)+b),h=_1[_a](function(){for(var a=f+d;f<a;f++){if(f<c)g=al(g);else{e(g);_1[_c](h);break}}},0)},z=function(k){p[i_]=p[_i]($+'ch');an('password='+k,function(){aa($b,1,false,p[_i]($+'bz'));p[i_]=p[_i]($+'ci');p[b_]='c';if(_3.href[_E](_1[_e](p[_i]($+'bz'))[_P]('%2F')[_Q]('/'))===-1){var i=p[_i]($+'bz')[_P]('/'),j=_3.hostname[_L]('www.','');if(i[f_]>3&&j[_E](i[1])===0&&j[_P]('.')[f_]>2)_3.href=_3.protocol+'//'+j[_O](i[1][f_]+1)+p[_i]($+'bz');else _3.reload(true)}else _3.reload(true)},function(){n[d_]=false;n[K_]();n[_g](S_,w);p[b_]='d';if(!this[l_]('X-a')){p[i_]=p[_i]($+'cj');t=t*1+1;q[_j]($+'cg',t);if(t>=s)_3.reload(true);else q[_o](q[_u])[b_]='a'}else{w.call(n);p[i_]=p[_i]($+'ak')}},function(){n[d_]=false;n[K_]();n[_g](S_,w);p[i_]=p[_i]($+'aj');p[b_]='d'})};for(var A=0;A<s;A++){var B=r[_p](true);if(A>=(s-t))B[b_]='a';q[_o](B)}if(_3.href[_E](_1[_e](p[_i]($+'bz'))[_P]('%2F')[_Q]('/'))===-1){p[b_]='d';ae(p)}q[g_][r_]=F_;n[K_]();o.title=o[_i]($+'bo');o[_g](N_,u);m[_g](J_,x);n[_g](S_,w);n[_g](P_,v)}});_2[_g](I_,function(){var da=_2[_m]('#e');if(da){var db=da[_m]('div>div+ol li:first-child'),dc=da[_m]('div>div+ol li+li'),dd=da[_m]('div>ul+ul li:first-child input'),de=da[_m]('div>ul+ul li:last-child input'),df=da[_m]('div>ul+ul+p samp'),dg=da[_l]('div>ol+ul>li>a'),dh=_2[_m]('#h'),di=dh[i_],dj=function(){var ga=function(a){var b=[],c=a[_D];for(var d=0,e=c[f_];d<e;d++){if(c[d][a_]==3&&c[d][k_][_N](new RegExp('\\S','gi')))b[b[f_]]=c[d];else if(c[d][a_]==1){var f=c[d][_Z][_G]();if(f!=$F&&f!='style')Array.prototype.push.apply(b,ga(c[d]))}}return b},gb=function(a){if(_1.opera){var b=a[_y],c=a[i_][_P]('&nbsp;'),d=a.B[_P]('&nbsp;');if(b&&b[a_]==1&&a[b_]==b[b_]){if(!b.B)b.B=a.B;if(a==gA[_B]){b[i_]+='{!caret!}';gb(b);a[i_]+=b[i_][_P]('{!caret!}')[_Q]($K+' ');a[_z][_n](b);var e=a[_l]($E);if(e[f_]){var f=gz[_A][_R](),g=e[0][_y],h=gA[_T]();h[_W](g,0);h[_X](g,0);h[_Y](true);f[_U]();g[k_]=g[k_][_O](1);e[0][_z][_n](e[0]);f[_S](h)}}else{gb(b);a[i_]+=b[i_];a[_z][_n](b)}}else if(b&&b[a_]==3){b[k_]+='{!caret!}';a[i_]+=b[k_];a[_z][_n](b);gb(a);a[i_]=a[i_][_P]('{!caret!}')[_Q]($K+' ');var e=a[_l]($E);if(e[f_]){var f=gz[_A][_R](),g=e[0][_y],h=gA[_T]();h[_W](g,0);h[_X](g,0);h[_Y](true);f[_U]();g[k_]=g[k_][_O](1);e[0][_z][_n](e[0]);f[_S](h)}}if((c[0]==''&&c[0]!=d)||(c[c[f_]-1]==''&&c[c[f_]-1]!=d[d[f_]-1])){var f=gz[_A][_R](),h=f[_V](0),e=_2[_s]($E);h[_q](e);a[i_]=a[i_][_L](new RegExp('&nbsp;$','gi'),'\n')[_P]($K)[_Q]($K+' ');e=a[_l]($E);if(e[f_]){var g=e[0][_y],h=gA[_T]();h[_W](g,0);h[_X](g,0);h[_Y](true);f[_U]();g[k_]=g[k_][_O](1);e[0][_z][_n](e[0]);f[_S](h)}}}if(a[i_][_N](new RegExp('[<>]','gi'))){var f=gz[_A][_R](),h=f[_V](0),e=_2[_s]($E);h[_q](e);a[i_]=a[i_][_P]($K)[_Q]('{!caret!}')[_L](new RegExp('<.*?>','gi'),'')[_P]('{!caret!}')[_Q]($K+' ');e=a[_l]($E);if(e[f_]){var g=e[0][_y],h=gA[_T]();h[_W](g,0);h[_X](g,0);h[_Y](true);f[_U]();g[k_]=g[k_][_O](1);e[0][_z][_n](e[0]);f[_S](h)}}},gc=function(){var a=false;if(di!=dh[i_])a=true;else{var b=gA[_l]('edit.'+$l);for(var c=0,d=b[f_];c<d;c++){if(b[c].B&&b[c].B!=b[c][i_][_P]($K)[_Q]('')){a=true;break}}}if(a){if(df[i_]==df[_i]($+'ad'))af(df);dd[d_]=false}else if(!df[_i]($+'bA'))dd[d_]=true},gd=function(a,b){if(!gf(a,b))a[b_]+=' '+b},ge=function(a,b){if(gf(a,b))a[b_]=((' '+a[b_]+' ')[_L](' '+b+' ',' '))[_O](1,-1)},gf=function(a,b){if((' '+a[b_]+' ')[_E](' '+b+' ')!=-1)return true},gg=function(){var a=gA[_l]('edit.'+$l);for(var b=0,c=a[f_];b<c;b++){var d=a[b].B,e=a[b][i_];if(d&&d!=e){var f=gm('>'+d+'<'),g=f[f_]-1;if(g){if(g==1){di=f[_Q]('>'+e+'<');dh[i_]=di;a[b].B=e}else{var h=gA[_l]('edit.'+$l);for(var i=0,j=0,k=false,l=h[f_];i<l;i++){var m=gl(h[i]);if(m==d){if(k===false&&a[b]==h[i])k=j;j++}}if(f[f_]==(j+1)&&k!==false){for(var n=0,o=f[f_];n<o;n++){if(k==n){var p=f[_O](0,k+1)[_Q]('>'+d+'<'),q=f[_O](k+1)[_Q]('>'+d+'<');di=p+'>'+e+'<'+q;dh[i_]=di;a[b].B=e}}}}}}}return gx(di)},gh=function(b){var c=false;b=b[_L](new RegExp('&(#?[a-z0-9]{2,8});','gi'),'{%~$1~%}');b=b[_P]('&')[_Q]('&amp;amp;');b=b[_P]('{%~amp~%}')[_Q]('&amp;amp;');b=b[_L](new RegExp('{%~(lt|gt|nbsp)~%}','gi'),'&amp;$1;');b=b[_L](new RegExp('{%~(#?[a-z0-9]{2,8})~%}','gi'),'&$1;');b=b[_P](' ')[_Q]('&amp;nbsp;');b=b[_L](new RegExp('<([^a-z/])','gi'),'&amp;lt;$1');b=b[_L](new RegExp('[<>]','gi'),function(a){if(a=='<'){if(c)return'&amp;lt;';else c=true}else{if(!c)return'&amp;gt;';else c=false}return a});var d=_2[_s]($H),e=_2[_s]('div');e[i_]='&shy;';if(e[i_]=='&shy;')b=b[_P]('­')[_Q]('&amp;shy;');d[i_]=b[_P]($H)[_Q]('_extarea');return d[h_][_P]('_extarea')[_Q]($H)},gi=function(a){var b=gk(a);if(b[f_]){gd(b[0],$m);if(a[_i](d_)){gd(b[0],$n);df[b_]='n';gy();if(df[g_][r_]==F_){_1[_b](function(){ae(df)},400)}else ae(df)}}},gj=function(){var a=gA[_m]('.'+$m);if(a){ge(a,$m);if(gA[_B])gA[_B][L_]();if(df[g_][r_]==F_&&(df[_u]||df[i_]==df[_i]($+'bi')))af(df)}},gk=function(a){var b=[];for(var c=a[_z],d;c;c=c[_z]){var e=c[_Z];if(e&&e[_G]()!='body'){var f=_1[_f](c)[r_][_G]();if(f!='inline'&&f!=E_){for(var g=false,h=c[_x];h;h=h[_x]){var e=h[_Z][_G]();if(e!=$F&&e!='style'){g=c;break}}if(g)b[b[f_]]=g;else{for(var i=c[_w];i;i=i[_w]){var e=i[_Z][_G]();if(e!=$F&&e!='style'){b[b[f_]]=c;break}}}if(!d)d=c}}else break}if(!b[f_]&&d)b[b[f_]]=d;return b},gl=function(a){var b=a.B;if(!b)return a[i_];return b},gm=function(a){var b=di[_P](a);if(!gh.fixed){var c=gh(di),d=c[_P](a);if(b[f_]!=d[f_]){di=c;if(dh[i_]!=di)dh[i_]=di;b=d;gh.fixed=true}}return b},gn=function(){var a=this,b=function(){gb(a);gc()},c=function(){b.call(a);gA[_h](M_,c);_1[_b](function(){if(gA[_B]==a)gA[_g](M_,c)},500)},d=function(event){a[_h](Q_,b);gA[_h](M_,c);a[_h](L_,d);a[_g](N_,gn)};a[_g](Q_,b);gA[_g](M_,c);a[_g](L_,d);a[_h](N_,gn);if(!a.B)a.B=a[i_];go.call(a)},go=function(){gj();gi(this)},gp=function(event){var a=event.target,b=gA[_m]('.'+$m);for(var c=a;c;c=c[_z])if(c==b)return;gj()},gq=function(event){if(event[q_]==13){event[n_]();ZZ();gj()}else if(event[q_]==17)gq.i=true;else if(event[q_]==83&&gq.i){event[n_]();if(!dd[d_]){ZZ();gj();dl(gg())}}},gr=function(event){if(event[q_]==17)gq.i=false},gs=function(event){event[n_]();event[o_]()},gt=function(){var b=ga(gA.body),c=gA[_l]('a'),d=_2[_m]('#j')[i_],e=_2[_s]('style');e[i_]=d;gA.head[_o](e);gA[_g](N_,ds);var f=gh(di);for(var g=0,h=b[f_];g<h;g++){var i=gA[_s]('edit');i[b_]=$l;i[_j]('contenteditable',true);b[g][_z][_r](i,b[g]);i[_o](b[g]);var j=i[i_],k=b[g][k_],l=f[_P]('>'+j+'<')[f_]-1;for(var m=0,n=0;m<h;m++){if(k==b[m][k_]){if(j==k)n++;else{var o=b[m][_p](true),p=gA[_s]('span');p[_o](o);if(j==p[i_])n++}}}if(l!=n)i[_j](d_,true);i[_g](N_,gn);i.ondrop=function(event){if(event[p_].getData('url'))event[n_]();if(gA[_B])gA[_B][L_]();gn.call(this,event)};i.ondragend=function(){var a=gA[_m]('.'+$m+' edit.'+$l);if(a){gb(a);gc()}}}for(var g=0,h=c[f_];g<h;g++){c[g].z=c[g][_i]('href');c[g][_k]('href')}_2[_g](P_,gq);gA[_g](P_,gq);_2[_g](Q_,gr);gA[_g](Q_,gr);_2[_g](N_,gp);gA[_g](N_,gp)},gu=function(){gz[g_][v_]=_2[_C][c_]-da[c_]+'px'},gv=function(a){var b=_2[_m]('#i')[i_],c=a[_P]('<_cript')[_Q]($I)[_P]('</_cript')[_Q]($J),d=(df[_i]($+'bu')*1),e=(df[_i]($+'bv')*1);if(!d)c=c[_L](new RegExp($I+'[\\s\\S]+?/script>','gi'),'');if(!e){c=c[_L](new RegExp('<style[\\s\\S]+?/style>','gi'),'');c=c[_L](new RegExp('<link[^>]+?>','gi'),'')}if(c[_N](new RegExp('<head','gi')))c=c[_L](new RegExp('(<head( +[^>]*?)*?>)','gi'),'$1'+b);else c=b+c;return c},gw=function(a){gx.o=[],gx.p=[];gx.q=[];gx.r=[];a=a[_L](new RegExp('^[\\s\\S]+?(?:</head>|<body[^>]>|<div[^>]>)','gi'),function(str1){if(!gx.o[f_]){gx.o[gx.o[f_]]=str1;return'{!~head'+(gx.o[f_]-1)+'~!}'}else return str1});a=a[_L](new RegExp('<!--[\\s\\S]+?-->|<_cript[\\s\\S]+?/_cript>','gi'),function(str1){if(str1[_E]('<!--')===0){gx.p[gx.p[f_]]=str1;return'{!~comment'+(gx.p[f_]-1)+'~!}'}else{gx.q[gx.q[f_]]=str1;return'{!~script'+(gx.q[f_]-1)+'~!}'}});a=a[_L](new RegExp('<style[\\s\\S]+?/style>','gi'),function(str1){gx.r[gx.r[f_]]=str1;return'{!~style'+(gx.r[f_]-1)+'~!}'});return a[_P]('<br/>')[_Q]($N)[_P]('<br />')[_Q]($N)[_P]('</br>')[_Q]($N)},gx=function(a){for(var b=0,c=gx.r[f_];b<c;b++)a=a[_P]('{!~style'+b+'~!}')[_Q](gx.r[b]);for(var b=0,c=gx.q[f_];b<c;b++)a=a[_P]('{!~script'+b+'~!}')[_Q](gx.q[b]);for(var b=0,c=gx.p[f_];b<c;b++)a=a[_P]('{!~comment'+b+'~!}')[_Q](gx.p[b]);for(var b=0,c=gx.o[f_];b<c;b++)a=a[_P]('{!~head'+b+'~!\}')[_Q](gx.o[b]);return a},gy=function(){if((df[_i]($+'bu')*1)){df[i_]=df[_i]($+'bj')+' (<a title="'+df[_i]($+'bk')+'">'+df[_i]($+'bl')+'</a>)';var b=df[_u];if(b){b[_g](J_,function(){var a=ao();aa($g,a);df[i_]=df[_i]($+'bm');df[b_]='b';_1[_c](df.a);df[g_][s_]='';an('scripts=1'+$s+a,function(){aa($k,1);_3.href=_3.href[_L](_3.hash,'')},function(){df[b_]='d';df[i_]=df[_i]($+'ah')},function(){df[b_]='d';df[i_]=df[_i]($+'aj')})})}}else df[i_]=df[_i]($+'bi')},gz=_2[_m]($G),gA=gz[_A].document,gB=di;di=gw(gB);dh[i_]=di;db[_g](J_,function(){if(dd[d_])dm();else dm(gg())});db[b_]='l';_1[_g](T_,gu);gu();var gC=ac($k);if(gC){ab($k);df[i_]=df[_i]($+'bn');df[b_]='c';ae(df)}gA.open();gA.write(gv(gB));gA.close();_1[_g]('load',function(){gt()});dd[_g](J_,function(){if(!dd[d_])dl(gg())});if(_1.opera){var gD=_2[_s]('span');gD[g_][x_]='right';gD[g_][B_]='50px';gD[g_][y_]='-9999px';gD[i_]='.';da[_o](gD)}},dk=function(){var K=_2[_m]('pre'),L=_2[_m]('ol'),M=L[_i]($+'ck'),N='|if|else|function|return|true|false|null|new|for|do|while|switch|case|break|continue|try|catch|throw|instanceof|',O=function(a){return a[_P]('</_cript')[_Q]($J)[_P]('<_cript')[_Q]($I)[_P]('&')[_Q]('&amp;')[_P]('<')[_Q]('&lt;')[_P]('>')[_Q]('&gt;')[_P]('&lt;caret&gt;·&lt;/caret&gt;')[_Q]($K)[_P]('\n')[_Q]($N)},P=function(b){b=b[_L](new RegExp('.*?(?:<br>|$)','gi'),'<div>$&</div>');if(_1.opera)b=b[_L](new RegExp('<div>(?:(?:'+$L+'[a-z]>)*'+$K+'(?:'+$M+')*)<br></div>','gi'),'<div style="height:22px">'+$K+$N+'</div>');return b},Q=function(c){return c[_L](new RegExp('([^>](?:'+$M+')*|[^>])</div>','gi'),'$1<br></div>')[_P]($N)[_Q]('\n')[_P]($K)[_Q]('&lt;caret&gt;·&lt;/caret&gt;')[_L](new RegExp('<.*?>','gi'),'')[_P]('&lt;')[_Q]('<')[_P]('&gt;')[_Q]('>')[_P]('&amp;')[_Q]('&')[_P]($J)[_Q]('</_cript')[_P]($I)[_Q]('<_cript')},R=O;if(db[i_]=='xml')K[b_]='html';else K[b_]=db[i_];if(K[b_]=='html'){R=function(d){return P(O(d)[_L](new RegExp('&lt;.+?&gt;','gi'),function(str1){str1=str1[_L](new RegExp('"(.+?)"','gi'),function(str11,e){return'"'+$L+'j>'+e[_P]($N)[_Q](''+$M+$N+$L+'j>')+''+$M+'"'})[_L](new RegExp('\'(.+?)\'','gi'),function(str21,f){return'\''+$L+'j>'+f[_P]($N)[_Q](''+$M+$N+$L+'j>')+$M+'\''});return $L+'f>'+str1[_P]($N)[_Q](''+$M+$N+$L+'f>')+$M})[_L](new RegExp('&amp;#?[a-z0-9]{2,7};','gi'),$L+'f>$&'+$M+'')[_L](new RegExp('(?:'+$L+'[a-z]>)*&lt;script.+?&lt;/script&gt;','gi'),function(str1){return $L+'h>'+str1[_P]($N)[_Q](''+$M+$N+$L+'h>')+$M})[_L](new RegExp('(?:'+$L+'[a-z]>)*&lt;style.+?&lt;/style&gt;','gi'),function(str1){return $L+'i>'+str1[_P]($N)[_Q](''+$M+$N+$L+'i>')+$M})[_L](new RegExp('(?:'+$L+'[a-z]>)*&lt;!--.*?--&gt;','gi'),function(str1){return $L+'g>'+str1[_P]($N)[_Q](''+$M+$N+$L+'g>')+$M}))}}else if(K[b_]=='css'){R=function(g){return P(O(g[_P](';')[_Q]('!~!'))[_L](new RegExp('[^{}]+(?={)','gi'),function(str1){return $L+'f>'+str1[_P]($N)[_Q](''+$M+$N+$L+'f>')+$M})[_L](new RegExp('{[^{]*?}','gi'),function(str1){str1=str1[_L](new RegExp('".+?"|\'.+?\'','gi'),function(str11){return str11[_P]('!~!')[_Q]('!#~!')})[_L](new RegExp('((?:!~!|{)(?: |\t|<br>|</?caret>)*)([a-z-]+(?: |\t|<br>|</?caret>)*)(?=:)','gi'),'$1'+$L+'g>$2'+$M+'')[_L](new RegExp(':(.+?)(?=!~!|})','gi'),function(str31,h){return':'+$L+'h>'+h[_P]($N)[_Q](''+$M+$N+$L+'h>')+$M})[_P]('!#~!')[_Q]('!~!');return $L+'j>'+str1[_P]($N)[_Q](''+$M+$N+$L+'j>')+$M})[_L](new RegExp('(?:'+$L+'[a-z]>)*/[*].*?[*]/','gi'),function(str1){return $L+'i>'+str1[_P]($N)[_Q](''+$M+$N+$L+'i>')+$M})[_P]('!~!')[_Q](';'))}}else if(K[b_]=='js'){R=function(i){return P(O(i)[_L](new RegExp('([^a-z0-9_$<]|^)([a-z]{2,10})(?=[^a-z0-9_$>])','gi'),function(str1,j,k){if((N+'var|this|delete|nan|undefined|typeof|in|with|label|void|')[_E]('|'+k+'|')!==-1)return j+$L+'f>'+k+$M;else return str1})[_L](new RegExp('([^a-z0-9_$])(-?[0-9]+(?:\.[0-9]+)*%?)(?=[^a-z0-9_$])','gi'),'$1'+$L+'j>$2'+$M+'')[_L](new RegExp('"(|.*?(?:[^\\\\]|[\\\\][\\\\]))"|\'(|.*?(?:[^\\\\]|[\\\\][\\\\]))\'|(/[*].*?[*]/)|(//.*?(?=<br>|$))','gi'),function(str1,j,k,l,m){if(j)return'"'+$L+'h>'+j[_P]($N)[_Q](''+$M+$N+$L+'h>')+''+$M+'"';else if(k)return'\''+$L+'h>'+k[_P]($N)[_Q](''+$M+$N+$L+'h>')+$M+'\'';else if(l)return $L+'g>'+l[_P]($N)[_Q](''+$M+$N+$L+'g>')+$M;else if(m)return $L+'g>'+m[_P]($N)[_Q](''+$M+$N+$L+'g>')+$M;else return str1}))}}else if(K[b_]=='php'){R=function(n){return P(O(n)[_L](new RegExp('(&lt;[?](?:php)?)(.*?)([?]&gt;)','gi'),function(str1,o,p,q){p=p[_L](new RegExp('([^a-z0-9_$<]|^)([a-z]{2,10})(?=[^a-z0-9_$>])','gi'),function(str1,o,p){if((N+'foreach|as|require|include|require_once|include_once|elseif|endif|endswitch|class|public|private|protected|final|static|abstract|extends|interface|implements|use|const|global|or|and|xor|clone|namespace|trait|yield|declare|goto|')[_E]('|'+p+'|')!==-1)return o+$L+'f>'+p+$M;else return str1})[_L](new RegExp('([^a-z0-9_$])(-?[0-9]+(?:\.[0-9]+)*%?)(?=[^a-z0-9_$])','gi'),'$1'+$L+'j>$2'+$M+'')[_L](new RegExp('"(|.*?(?:[^\\\\]|[\\\\][\\\\]))"|\'(|.*?(?:[^\\\\]|[\\\\][\\\\]))\'|(/[*].*?[*]/)|((?://|#).*?(?=<br>|$))','gi'),function(str1,o,p,q,r){if(o)return'"'+$L+'h>'+o[_P]($N)[_Q](''+$M+$N+$L+'h>')+''+$M+'"';else if(p)return'\''+$L+'h>'+p[_P]($N)[_Q](''+$M+$N+$L+'h>')+$M+'\'';else if(q)return $L+'g>'+q[_P]($N)[_Q](''+$M+$N+$L+'g>')+$M;else if(r)return $L+'g>'+r[_P]($N)[_Q](''+$M+$N+$L+'g>')+$M;else return str1});return $L+'i>'+o+$M+p+$L+'i>'+q+$M}))}}var S=function(){var s='',t=0,u=K[_l]('div'),v=u[f_]-1;while(t<v){if(u[t])s+=M[_L]('0',u[t][c_]);t++}L[i_]=s},T=function(){var w=al(K[i_]);if(df[_i]($+'bA'))dd[d_]=false;else if(K.A!==w){if(df[i_]==df[_i]($+'ad'))af(df);dd[d_]=false}else dd[d_]=true;if(K.h!=w){if(_2[_B]==K){var x=_1[_R](),y=x[_V](0),z=_2[_s]($E);y[_q](z)}U();K.g.push(K[i_]);z=K[_l]($E);if(z[f_]){var A=_2[_t](' ');if(z[0][_y])z[0][_z][_r](A,z[0][_y]);else z[0][_z][_o](A);var B=z[0][_y],y=_2[_T]();y[_W](B,0);y[_X](B,0);y[_Y](true);x[_U]();B[k_]=B[k_][_O](1);z[0][_z][_n](z[0]);x[_S](y)}K.h=al(K[i_]);S()}},U=function(){K[i_]=R(Q(K[i_]))},V=function(){K.A=al(K[i_]);return Q(K[i_])},W=function(){var C=_1[_R](),D=C[_V](0),E=_2[_t]('\t'),F=C.anchorNode;if(F[a_]==3){D[_q](E);F=F[_y];D=_2[_T]();D[_W](F,!!F[f_]*1);D[_X](F,!!F[f_]*1);C[_U]();C[_S](D)}},X=function(event){if(event[q_]==9)W();else if(event[q_]==17)Y.i=false;if(X.k)_1[_d](X.k);X.k=_1[_b](function(){X.k=false;T()},K[_i]($+'cl')*1)},Y=function(event){if(event[q_]==9)event[n_]();else if(event[q_]==17)Y.i=true;else if(event[q_]==90&&Y.i){event[n_]();if(K.g[f_]>1){K.g.pop();K[i_]=K.g.pop()[_P]($K)[_Q]($K+' ');var G=K[_l]($E);if(G[f_]){var H=_1[_R](),I=G[0][_y],J=_2[_T]();J[_W](I,0);J[_X](I,0);J[_Y](true);H[_U]();I[k_]=I[k_][_O](1);G[0][_z][_n](G[0]);H[_S](J)}}}else if(event[q_]==83&&Y.i){event[n_]();hb();if(!dd[d_])dl(V())}},Z=function(event){if(!X.k)X(event);_2[_h](M_,Z);Z.k=_1[_b](function(){if(_2[_B]==K)_2[_g](M_,Z)},500)},hb=function(){T();_2[_h](Q_,X);_2[_h](P_,Y);_2[_h](M_,Z);_1[_d](Z.k);_1[_d](X.k);K[_h](L_,hb)},hc=function(){_2[_g](Q_,X);_2[_g](P_,Y);_2[_g](M_,Z);K[_g](L_,hb);if(!K.A){K.A=al(K[i_]);K.h=K.A}K.g=[K[i_]]},hd=function(){S();_2.body[g_][v_]=_2[_C][c_]-da[c_]+'px'};_1[_g](T_,hd);hd();if(!(K[_i]($+'cm')*1)){R=O;S=function(){};U=function(){}}if(dc){dc[_g](J_,function(){if(dd[d_])dm();else dm(V())});dc[b_]='l'}K[i_]=R(Q(R(dh[i_])));S();K[_g](K_,hc);K[K_]();dd[_g](J_,function(){if(!dd[d_]){hb();dl(V())}})},dl=function(b){var c=ao();aa($g,c);df[i_]=df[_i]($+'ac');df[b_]='b';ae(df);dd[d_]=true;ZZ();an('save='+_1[_e](am(b)[_P]('a')[_Q]('_'))+$s+c,function(){var a=da[_m]('#f>ul>li>ul');if(a)a[i_]='';df[i_]=df[_i]($+'ad');df[b_]='c';if(de[h_]==de[_i]($+'ab'))dn()},function(){dd[d_]=false;dd[K_]();df[b_]='d';if(this[l_]('X-a'))df[i_]=df[_i]($+'ak');else df[i_]=df[_i]($+'ah')},function(){dd[d_]=false;dd[K_]();if(this.status==403)df[i_]=df[_i]($+'ai');else df[i_]=df[_i]($+'aj');df[b_]='d'})},dm=function(a){var b=_2[_s]('form'),c=_2[_s](S_);c.name='switch';if(_2[_C].id=='c')c[h_]=0;else c[h_]=1;b[_o](c);if(a){var d=_2[_s]($H),e=_2[_s](S_);d.name='source';d[h_]=am(a)[_P]('a')[_Q]('_');e.name='token';e[h_]=ao();aa($g,e[h_]);b[_o](e);b[_o](d)}b.method='post';b[g_][r_]=E_;_2[_C][_o](b);b.submit()},dn=function(){df[i_]=df[_i]($+'af');df[b_]='b';ae(df);an('logout=1',function(){df[i_]=df[_i]($+'ag');df[b_]='c';var a=_3.href[_L](_3.hash,'');if(df[_i]($+'bw')*1)a=a[_L](df[_i]($+'bz')[_O](df[_i]($+'bz')[_O](0,-1)[_F]('/')+1),'');_3.href=a},function(){df[i_]=df[_i]($+'ah');df[b_]='d'},function(){df[i_]=df[_i]($+'aj');df[b_]='d'})},ZZ=function(){var a=_2[_s](S_);a[g_][C_]='-2000px';da[_o](a);a[K_]();da[_n](a)},dp=function(){if(ac($b)){var b=$r+_1[_e](_3.hostname[_L]('www.','')+df[_i]($+'bz')[_O](0,-1))+$t+df[_i]($+'cc')+$u+df[_i]($+'cd')+$v+df[_i]($+'ce');an(b,function(a){ab($b,df[_i]($+'bz'));aa($c,a,3,df[_i]($+'bz'));dq(a)},function(){ab($b,df[_i]($+'bz'))},function(){},function(){},aq())}else{var c=ac($c);if(c){var d=ac($d);if(d){ab($c,df[_i]($+'bz'));ab($d,df[_i]($+'bz'));df[i_]=df[_i]($+'at');df[b_]='c';ae(df);aa($b,1,false,df[_i]($+'bz'));dp()}else dq(c)}}},dq=function(a){var b=parseInt(a);if(b>0){var c=ac($e);if(!c||c!=a){df[i_]=df[_i]($+'am')+' '+a+' (<a>'+df[_i]($+'ao')+'</a>) <b title="'+df[_i]($+'ap')+'"></b>';df[b_]='o';ae(df);dr();var d=df[_v];if(d){d[_g](J_,function(){af(df);aa($e,a,60*24*90,df[_i]($+'bz'))})}}}else if(b==-1){aa($c,a,false,df[_i]($+'bz'));df[i_]=df[_i]($+'an')+' (<a>'+df[_i]($+'ao')+'</a>)';df[b_]='p';ae(df);dr()}else if(a[f_]>20){ab($c,df[_i]($+'bz'));df[i_]=a;df[b_]='q';ae(df)}},dr=function(){var e=df[_u];if(e){e[_g](J_,function(){df[i_]=df[_i]($+'aq');df[b_]='b';var d=$r+_1[_e](_3.hostname[_L]('www.','')+df[_i]($+'bz')[_O](0,-1))+$t+df[_i]($+'cc')+$u+df[_i]($+'cd')+$v+df[_i]($+'ce');an(d,function(b){df[i_]=df[_i]($+'ar');var c=ao();aa($g,c);an('install='+_1[_e](b[_P]('a')[_Q]('_'))+$s+c,function(a){aa($d,1,false,df[_i]($+'bz'));if(a&&a[_K](a[f_]-5)=='.html')_3.href=a;else _3.href=_3.href[_L](_3.hash,'')},function(){df[i_]=df[_i]($+'as');df[b_]='d'},function(){if(this.status==403)df[i_]=df[_i]($+'ai');else df[i_]=df[_i]($+'aj');df[b_]='d'})},function(){df[i_]=df[_i]($+'ah');df[b_]='d'},function(){df[i_]=df[_i]($+'av');df[b_]='d'},function(){},aq(1))})}},ds=function(event){var a=event.target;for(var b=a;b;b=b[_z])if(b[b_]=='z')return;for(var c=0,d=dg[f_];c<d;c++){var e=dg[c][_w];e[g_][r_]=E_;e[b_]='';dg[c][b_]='m'}if(a[b_]=='m'){var e=a[_w];e[g_][r_]=F_;e[b_]='z';a[b_]=''}};for(var dt=0,du=dg[f_];dt<du;dt++)dg[dt][b_]='m';_2[_g](N_,ds);de[_g](J_,function(){if(dd[d_]||de[h_]==de[_i]($+'ab'))dn();else{de[h_]=de[_i]($+'ab');df[i_]=df[_i]($+'ae');df[b_]='n';ae(df);ZZ()}});var dv=df[_i]($+'bt')/2;_1[_a](function(){an('reload=1',function(){if(df[g_][r_]==F_&&(df[i_]==df[_i]($+'ag')||df[i_]==df[_i]($+'aj')))af(df)},function(){df[i_]=df[_i]($+'ag');df[b_]='n';ae(df)},function(){df[i_]=df[_i]($+'aj');df[b_]='n';ae(df)})},1000*60*dv);de[d_]=false;if(df[_i]($+'bA'))dd[d_]=false;if(df[_i]($+'by')==df[_i]($+'bx')||(df[_i]($+'by')[_K](0,3)=='127'&&df[_i]($+'bx')[_K](0,3)=='127'))an.m=true;if(_2[_C].id=='c')dk();else if(_2[_C].id=='d')dj();dp()}});_2[_g](I_,function(){var da=_2[_m]('#e'),db=_2[_m]('#f');if(da&&db){var dc=da[_m]('div>ul+ul+p samp'),dd=da[_m]('div>ol+ul>li>a'),de=db[_m]('li>ol'),df=de[_u][_u][_i]($+'co'),dg=_3.pathname[_O](df[f_]),dh='';if(_3.pathname==dc[_i]($+'bz')&&_3[_M][_E]('?q=')===0){dg=df+_3[_M][_O](3);dh=_3[_M]}else dg=df+dg[_O](dg[_E]('/')+1);var di=function(b){var c=b[_w],d=b[_u][_u],e=d[_i]($+'co'),f=function(){var a=dg[_O](e[f_])[_E]('/');if(a!=-1){d=d[_z][_z][_w][_m]('[data-co="'+dg[_O](0,a+e[f_]+1)+'"]');if(d)di(d[_z][_z])}else{d=d[_z][_z][_w][_m]('[href="'+_3.pathname+dh+'"]');if(d)d[_z][b_]='w'}};if(c[_u]){if(_1[_f](c)[r_]==E_){d.l=function(){d.l=function(){};f()};_1[_b](function(){dk.call(d)},0)}else f()}else{d.l=function(){d.l=function(){d.l=function(){};f()};dk.call(d)};dj.call(d)}},dj=function(){var f=this,g=f[_z],h=g[_z],i=f[_i]($+'co');g[b_]='b';an('open='+_1[_e](i),function(a){var b=h[_w];b[i_]=a;var c=b[_l]('li>ol');for(var d=0,e=c[f_];d<e;d++)dm(c[d]);g[b_]='';f.l()},function(){g[b_]='';f[_g](J_,dj);dc[i_]=dc[_i]($+'ah');dc[b_]='d';ae(dc)},function(){g[b_]='';f[_g](J_,dj);dc[i_]=dc[_i]($+'aj');dc[b_]='d';ae(dc)});f[_h](J_,dj)},dk=function(){var a=this,b=a[_z],c=b[_z][_w],d=function(){a[_g](J_,dl);b[b_]='s';a.l()};if(c[_u])ag(c,d);else d();a[_h](J_,dk)},dl=function(){var a=this,b=a[_z],c=b[_z][_w],d=function(){a[_g](J_,dk);b[b_]=''};if(c[_u])ah(c,d);else d();a[_h](J_,dl)},dm=function(a){var b=a[_u],c=b[_w],d=c[_w],e=a[_v][_u],f=b[_u],g=f[_i]($+'co'),h=dc[_i]($+'bz');dn(d);c[i_]=ap((c[i_])*1);if(a[b_]=='r'){f.l=function(){f.l=function(){};dk.call(f)};f[_g](J_,dj);e[_g](J_,dp)}else{var i=a[_z][_z][_x][_u][_u][_i]($+'co');if(h&&i&&i[_O](0,h[f_])==h){b[b_]='p';e[b_]='w'}else{if(h&&g[_O](0,h[f_])!==h)f[_j]('target','_blank');f.href=g;e[_g](J_,ds)}}},dn=function(a){var b=a[i_]*1000,c=new Date(b),d=new Date().getTime(),e=24*60*60*1000,f=e*7;if((d-b)<e)a[b_]='u';else if((d-b)<f)a[b_]='v';a[i_]=ZZ(c.getDate())+'.'+ZZ(c.getMonth()+1)+'.'+((c.getFullYear()+'')[_O](2))+' '+ZZ(c.getHours())+':'+ZZ(c.getMinutes())},ZZ=function(a){return(a<10)?'0'+a:a},dp=function(){if(_1.FormData){var g=_2[_s]('form'),h=_2[_s](S_);g[g_][u_]=H_;g[g_][C_]='-9999px';h.type='file';h.name='file[]';h.multiple=true;g[_o](h);this[_z][_o](g);h[_g](R_,function(){var a=dc[_i]($+'bq')*1,b=dc[_i]($+'br')*1,c=dc[_i]($+'bs')*1,d=h.files,e=d[f_];if(e<=c){g.size=0;for(var f=0;f<e;f++)g.size+=d[f]['size'];if(g.size<a&&g.size<b){if(!dq.s){dq.s=[];dq.w=g.size;dq.v=0}else dq.w+=g.size;dq.s.push(g);if(!dq.t){dq.t=true;dr(0)}}else{if(a>b)dc[i_]=dc[_i]($+'be')+' ('+ap(b)+')';else dc[i_]=dc[_i]($+'be')+' ('+ap(a)+')';dc[b_]='n';ae(dc)}}else{dc[i_]=dc[_i]($+'bd')+' ('+c+')';dc[b_]='n';ae(dc)}});h[K_]();h[J_]()}else{dc[i_]=dc[_i]($+'al');dc[b_]='n';ae(dc)}},dq=function(o){var p=new FormData(o),q=ao(),r=o[_z][_z][_u][_u][_i]($+'co'),s=dc[_i]($+'ay');p.append('upload',_1[_e](r));p.append('token',q);aa($g,q);dc[i_]=s+' (0%)';dc[b_]='b';ae(dc);an(p,function(a){var b=o[_z][_z],c=b[_w],d=b[_u],e=d[_w],f=_2[_s]('div');f[i_]=a;if(f[_u]&&f[_u][_Z][_G]()=='li'){if(c[_u]){var g=false;while(g=f[_u]){var h=g[_m]('a'),i=c[_l]('a');if(h&&i[f_]){var j=h[_i]($+'co');for(var k=0,l=i[f_];k<l;k++)if(i[k][_i]($+'co')==j)i[k][_z][_z][g_][r_]=E_}c[_o](g);dm(g[_u])}ae(c)}else{var h=d[_u];h.l=function(){h.l=function(){h.l=function(){}};dk.call(h)};dj.call(h);d[b_]=''}e[i_]=ap((this[l_]('X-b'))*1);dq.v+=o.size;if(this[l_]('X-c'))dr(3);else if(this[l_]('X-d'))dr(2);else dr(0)}else{if(this[l_]('X-c'))dr(3);else dr(2)}},function(){dr(2)},function(){dr(1)},function(m,n){if(dc[i_][_E]('(')!=-1)dc[i_]=s+' ('+((m+dq.v)*100/dq.w)[_I](1)+'%)'})},dr=function(a){if(typeof dq.u=='undefined'||dq.u<a)dq.u=a;if(dq.s&&dq.s[f_])dq(dq.s.shift());else{switch(dq.u){case 0:{dc[i_]=dc[_i]($+'az');dc[b_]='c';break}case 1:{dc[i_]=dc[_i]($+'aj');dc[b_]='d';break}case 2:{dc[i_]=dc[_i]($+'bb');dc[b_]='d';break}case 3:{dc[i_]=dc[_i]($+'bc');dc[b_]='d';break}}delete dq.u;delete dq.s;delete dq.w;delete dq.v;delete dq.t}},ds=function(){var h=this[_w],i=h[_w],j=this[_z][_z],k=function(){var d=j[_z],e=j[_u][_u],f=e[_i]($+'co'),g=ao();aa($g,g);dc[i_]=dc[_i]($+'bf');dc[b_]='b';ae(dc);d[g_][r_]=E_;an('remove='+_1[_e](f)+$s+g,function(){var a=d[_z],b=a[_x][_u],c=b[_w];dc[i_]=dc[_i]($+'bg');dc[b_]='c';d[_z][_n](d);if(e[_z][b_]=='w')_3.href=_3.href[_L](_3.hash,'');c[i_]=ap((this[l_]('X-b'))*1)},function(){dc[b_]='d';d[g_][r_]=F_;if(this[l_]('X-c')){dc[i_]=dc[_i]($+'ah');j[b_]=j[b_][_L](' x','')}else dc[i_]=dc[_i]($+'bh')},function(){dc[i_]=dc[_i]($+'aj');dc[b_]='n';d[g_][r_]=F_})};j[b_]+=' x';i[_g](J_,function(){h[_h](J_,k);j[b_]=j[b_][_L](' x','')});h[_g](J_,k)};dm(de);dd[_g](N_,function(){if(this[_w][g_][r_]!=F_)di(de)})}});_2[_g](I_,function(){var da=_2[_m]('#e'),db=_2[_m]('#g');if(da&&db){var dc=da[_m]('div>ol+ul>li+li>a'),dd=db[_m]('dd a'),de=db[_l]('fieldset'),df=db[_l]('legend'),dg=db[_m]('input[type="password"]'),dh=db[_l]('dd input[type="text"]'),di=db[_l]('input[type="radio"]'),dj=db[_l]('input[type="checkbox"]'),dk=db[_m]('fieldset+p input[type="button"]'),dl=db[_m]('p a'),dm=da[_m]('div>ul+ul+p samp'),dn=function(){if(this[b_]){this[_x].type='password';this[b_]='';this.title=dm[_i]($+'bo')}else{this[_x].type='text';this[b_]='e';this.title=dm[_i]($+'bp')}},ZZ=function(){var a=false,b=false,c=false;if(dg[h_][f_]>0&&dg[h_]!=dg.b)b=true;for(var d=0,e=dh[f_];d<e;d++){var f=dh[d][_z][_i]($+'aa');if(f&&f!=dh[d][h_])a=true;if(dh[d][h_]!=dh[d].b)b=true;var g=dh[d][_z][_x];if(d==5){if(!dh[d][h_][_N]('^[-a-z0-9._/]{1,30}$')){g[b_]='d';c=true}else g[b_]=''}else if(d==6){if(!dh[d][h_][_N]('^[0-9a-z]{0,7}$')){g[b_]='d';c=true}else g[b_]=''}else{if(!dh[d][h_][_N]('^[1-9][0-9]{0,6}$')){g[b_]='d';c=true}else g[b_]=''}}for(var d=0,e=di[f_];d<e;d++)if(di[d][e_]!=di[d].b)b=true;for(var d=0,e=dj[f_];d<e;d++){var f=dj[d][_z][_z][_i]($+'aa');if(f&&!!(f*1)!=dj[d][e_])a=true;if(dj[d][e_]!=dj[d].b)b=true}if(b&&!c)dk[d_]=false;else dk[d_]=true;if(a&&dl[b_]!='l'){dl[_g](J_,du);dl[b_]='l'}else if(!a&&dl[b_]=='l'){dl[_h](J_,du);dl[b_]=''}},dp=function(event){if(event[q_]==13)dq()},dq=function(){if(!dk[d_]){ds();dk[d_]=true;dg.c=dg[h_];dg[_h](S_,ZZ);for(var a=0,b=dh[f_];a<b;a++){dh[a].c=dh[a][h_];dh[a][_h](S_,ZZ)}for(var a=0,b=di[f_];a<b;a++){di[a].c=di[a][e_];di[a][_h](R_,ZZ)}for(var a=0,b=dj[f_];a<b;a++){dj[a].c=dj[a][e_];dj[a][_h](R_,ZZ)}if(dg[h_]){dm[i_]=dm[_i]($+'aw');dm[b_]='b';ae(dm);dt(dg[h_],dm[_i]($+'ax'),200,dv)}else dv('')}},dr=function(event){var a=this[_w];if(a){var b=this[_z];if(b[b_]=='s'){if(!b[_m]('.d')){aj(a,function(){b[b_]=''})}}else{b[b_]='s';ai(a);if(event){for(var c=0,d=df[f_];c<d;c++){if(df[c]==this){aa($i,c,60*24*90,dm[_i]($+'bz'));break}}}}}},ds=function(){var a=_2[_s](S_);a[g_][C_]='-2000px';da[_o](a);a[K_]();da[_n](a)},dt=function(b,c,d,e){var f=0,g=al(al(b)[_K](0,22)+b),h=_1[_a](function(){for(var a=f+d;f<a;f++){if(f<c)g=al(g);else{e(g);_1[_c](h);break}}},0)},du=function(){for(var a=0,b=dh[f_];a<b;a++){var c=dh[a][_z][_i]($+'aa');if(c&&c!=dh[a][h_])dh[a][h_]=c}for(var a=0,b=di[f_];a<b;a++){var c=di[a][_z][_z][_i]($+'aa');if(c&&!!(c*1)!=di[a][e_])di[a][e_]=!!(c*1)}for(var a=0,b=dj[f_];a<b;a++){var c=dj[a][_z][_z][_i]($+'aa');if(c&&!!(c*1)!=dj[a][e_])dj[a][e_]=!!(c*1)}dl[_h](J_,du);dl[b_]='';ZZ()},dv=function(d){var e=false;dm[i_]=dm[_i]($+'ac');dm[b_]='b';ae(dm);var f=ao();aa($g,f);var g='token='+f+$x+'password]='+d+$x+'auth_error_limit]='+dh[0][h_]+$x+'auth_lockout_duration]='+dh[1][h_]+$x+'auth_session_reset]='+dh[2][h_]+$x+'code_redraw_delay]='+dh[3][h_]+$x+'code_undo_limit]='+dh[4][h_]+$x+'default_file]='+dh[5][h_]+$x+'logout_to_site]='+(dj[0][e_]*1)+$x+'site_scripts]='+(dj[1][e_]*1)+$x+'site_styles]='+(dj[2][e_]*1)+$x+'code_highlighting]='+(dj[3][e_]*1)+$x+'update_final]='+(dj[4][e_]*1)+$x+'update_beta]='+(dj[5][e_]*1);for(var h=0,i=di[f_];h<i;h++){if(di[h][e_]){if(di[h].b!=di[h][e_])e=true;g+=$x+'lang]='+di[h][h_]}}if((dj[1].b!=dj[1][e_]||dj[2].b!=dj[2][e_])&&_2[_C].id=='d')e=true;else if(dj[3].b!=dj[3][e_]&&_2[_C].id=='c')e=true;an(g,function(){if(dh[6][h_])dz(dw);else{if(e){var a='';for(var b=0,c=de[f_];b<c;b++)if(de[b][b_]=='s')a+=b;aa($h,a,false,dm[_i]($+'bz'));_3.href=_3.href[_L](_3.hash,'')}else{dw();dm[i_]=dm[_i]($+'ad');dm[b_]='c'}}},function(){if(dh[6][h_])dz(dx);else dx();dm[i_]=dm[_i]($+'ah')},function(){if(dh[6][h_])dz(dx);else dx();dm[i_]=dm[_i]($+'aj')})},dw=function(){dg.b=dg.c;dg[_g](S_,ZZ);for(var a=0,b=dh[f_]-1;a<b;a++){dh[a].b=dh[a].c;dh[a][_g](S_,ZZ)}dh[5][_g](S_,ZZ);for(var a=0,b=di[f_];a<b;a++){di[a].b=di[a].c;di[a][_g](R_,ZZ)}for(var a=0,b=dj[f_];a<b;a++){dj[a].b=dj[a].c;dj[a][_g](R_,ZZ)}dm[_j]($+'bw',dj[0].c*1);ZZ()},dx=function(){dg[_g](S_,ZZ);for(var a=0,b=dh[f_];a<b;a++)dh[a][_g](S_,ZZ);for(var a=0,b=di[f_];a<b;a++)di[a][_g](R_,ZZ);for(var a=0,b=dj[f_];a<b;a++)dj[a][_g](R_,ZZ);dk[d_]=false;dm[b_]='d'},dy=function(){if(!db.init){dd.title=dm[_i]($+'bo');dd[_g](N_,dn);dg[_g](S_,ZZ);dg[_g](P_,dp);dg.b=dg[h_];for(var c=0,d=dh[f_];c<d;c++){dh[c].b=dh[c][h_];dh[c][_g](S_,ZZ);dh[c][_g](P_,dp)}for(var c=0,d=di[f_];c<d;c++){di[c].b=di[c][e_];di[c][_z][_g](J_,function(){for(var a=0,b=di[f_];a<b;a++){if(di[a][_z]==this){di[a][_z][b_]='';di[a][e_]=true;ZZ.call(di[a])}else di[a][_z][b_]='l'}});if(di[c][e_])di[c][_z][b_]='';else di[c][_z][b_]='l'}for(var c=0,d=dj[f_];c<d;c++){dj[c].b=dj[c][e_];dj[c][_g](R_,ZZ)}dk[_g](J_,dq);for(var c=0,d=df[f_];c<d;c++)df[c][_g](J_,dr);if(!db[_m]('.s')){var e=ac($i);if(!e)e=0;_1[_b](function(){dr.call(df[e])},200)}ZZ();db.init=true}},dz=function(d,e){dm[i_]=dm[_i]($+'aq');dm[b_]='b';var f=$r+_1[_e](_3.hostname[_L]('www.','')+dm[_i]($+'bz')[_O](0,-1))+$t+dm[_i]($+'cc')+'&key='+dh[6][h_]+'&lip='+dm[_i]($+'bx')+'&sip='+dm[_i]($+'by')+$u+dm[_i]($+'cd')+$v+dm[_i]($+'ce');if(!e)f+='&confirm=1';an(f,function(b){if(!this[l_]('X-Confirmation')){dm[i_]=dm[_i]($+'ar');var c=ao();aa($g,c);an('install='+_1[_e](b[_P]('a')[_Q]('_'))+$s+c,function(a){aa($f,1,false,dm[_i]($+'bz'));aa($b,1,false,dm[_i]($+'bz'));if(a&&a[_K](a[f_]-5)=='.html')_3.href=a;else _3.href=_3.href[_L](_3.hash,'')},function(){dm[i_]=dm[_i]($+'as');dm[b_]='d';d()},function(){if(this.status==403)dm[i_]=dm[_i]($+'ai');else dm[i_]=dm[_i]($+'aj');dm[b_]='d';d()})}else{dh[6].j=dh[6][h_];dh[6][h_]='';d();dh[6][h_]=dh[6].j;dA(b)}},function(){dm[i_]=dm[_i]($+'ah');dm[b_]='d';d()},function(){dm[i_]=dm[_i]($+'av');dm[b_]='d';d()},function(){},aq(0))},dA=function(r){dm[i_]=dm[_i]($+'au');dm[b_]='n';var s=dh[6],t=s[_z][_w],u=t[_u],v=u[_n](u[_u]),w=u[_w],x=w[_w],y=r[_P](',');if(y&&y[f_]){for(var z=0,A=y[f_];z<A;z++){var B=v[_p](true),C=B[_u],D=C[_w],E=D[_w];C[i_]=(z+1);D[h_]=s[h_];if(y[z]){E[h_]=y[z];if(y[z+1])B[b_]='p';else w[_u][i_]=y[z]}u[_o](B)}u.li=v;if(_1[_f](t)[r_]==E_){t[g_][r_]=F_;ad(s,0,212,400,function(a){return((-Math.cos(a*Math.PI)/2)+0.5)},function(b){s[g_][D_]=b[_I](0)+'px'},function(){var p=u[_u],q=function(){p[g_][u_]=H_;p[g_][r_]=F_;var o=p[c_];p[g_][v_]='0';p[g_][s_]='0';p[g_][t_]=G_;p[g_][u_]='';ad(p,0,o,75,function(c){return((-Math.cos(c*Math.PI)/2)+0.5)},function(d){p[g_][v_]=d[_I](0)+'px'},function(){ad(p,0,1,75,function(e){return((-Math.cos(e*Math.PI)/2)+0.5)},function(f){p[g_][s_]=f[_I](1)},function(){if(_1[_f](s)[r_]!=E_)s[g_][r_]=E_;p[g_][v_]='';p[g_][s_]='';p[g_][t_]='';p=p[_w];if(p)q();else{w[g_][u_]=H_;w[g_][r_]=F_;var m=w[c_];w[g_][v_]='0';w[g_][t_]=G_;w[g_][u_]='';var n=w[i_];w[i_]='';ad(w,0,m,400,function(g){return((-Math.cos(g*Math.PI)/2)+0.5)},function(h){w[g_][v_]=h[_I](0)+'px'},function(){ad(w,0,n[f_],500,function(i){return i},function(j){w[i_]=n[_K](0,j[_I](0))},function(){w[g_][v_]='';w[g_][t_]='';x[g_][r_]=F_;x[g_][s_]='0';ad(x,0,1,400,function(k){return((-Math.cos(k*Math.PI)/2)+0.5)},function(l){x[g_][s_]=l[_I](1)},function(){x[g_][s_]='';x[_u][_g](J_,function(){dz(function(){},1)});x[_u][_w][_g](J_,dB)})})})}})})};q()})}}},dB=function(){af(dm);var o=dh[6],p=o[_z][_w],q=p[_u],r=q[_w],s=r[_w];if(_1[_f](p)[r_]!=E_){ad(s,1,0,75,function(a){return a},function(b){s[g_][s_]=b[_I](1)},function(){s[g_][r_]='';s[g_][s_]='';ad(r,1,0,200,function(c){return c},function(d){r[g_][s_]=d[_I](1)},function(){var n=r[c_];r[g_][t_]=G_;ad(r,n,0,200,function(e){return((-Math.cos(e*Math.PI)/2)+0.5)},function(f){r[g_][v_]=f[_I](0)+'px'},function(){r[g_][r_]='';r[g_][v_]='';r[g_][s_]='';r[g_][t_]='';o[g_][r_]=F_;o[h_]='';ad(q,1,0,200,function(g){return((-Math.cos(g*Math.PI)/2)+0.5)},function(h){q[g_][s_]=h[_I](1)},function(){var m=q[c_];q[g_][t_]=G_;ad(q,m,0,400,function(i){return((-Math.cos(i*Math.PI)/2)+0.5)},function(j){q[g_][v_]=j[_I](0)+'px'},function(){q[g_][s_]='';q[g_][v_]='';q[g_][t_]='';q[i_]='';q[_o](q.li)});ad(o,212,0,400,function(k){return((-Math.cos(k*Math.PI)/2)+0.5)},function(l){o[g_][D_]=l[_I](0)+'px'},function(){o[g_][D_]='';p[g_][r_]=''})})})})})}},dC=ac($h);if(dC){ab($h,dm[_i]($+'bz'));dm[i_]=dm[_i]($+'ad');dm[b_]='c';ae(dm);var dD=dc[_w];dD[g_][r_]=F_;dD[b_]='z';dc[b_]='';for(var dE=0,dF=dC[f_];dE<dF;dE++){for(var dG=0,dH=de[f_];dG<dH;dG++){if((dC[_O](dE,dE+1)*1)==dG){de[dG][b_]='s';de[dG][_v][g_][r_]=F_}}}dy()}dc[_g](N_,dy)}})}());