Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 28th, 2012  |  syntax: JavaScript  |  size: 99.85 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. // ==UserScript==
  2. // @name                        Dollchan Extension Tools
  3. // @version                     12.4.28.10
  4. // @namespace           http://www.freedollchan.org/scripts/*
  5. // @author                      Sthephan Shinkufag @ FreeDollChan
  6. // @copyright           (C)2084, Bender Bending Rodriguez
  7. // @description         Doing some profit for imageboards
  8. // @icon                        https://raw.github.com/SthephanShinkufag/Dollchan-Extension-Tools/stable/Icon.png
  9. // @updateURL           https://raw.github.com/SthephanShinkufag/Dollchan-Extension-Tools/stable/Dollchan_Extension_Tools.meta.js
  10. // @include                     *
  11. // ==/UserScript==
  12.  
  13. var aa=void 0,j=!0,k=null,s=!1;
  14. (function(Tb){var Xa,Ya,Za,$a,ba,xb,W,E,X,ab,bb,Ja,cb,db,Tc,Uc,Vc,Wc,Ub,Xc,Yc,Zc,$c,ad,bd,cd,dd,ed,fd,gd,hd,Vb,id,jd,kd,ld,md,nd,od,pd,qd,rd,sd,td,ud,vd,eb,wd,xd,yd,zd,Ad,Bd,Cd,Dd,Ed,Fd,Gd,Hd,Id,Jd,Kd,Ld,Md,Nd,Od,Pd,Qd,Rd,Sd,Td,Ud,Vd,Wd,Xd,Yd,Zd,$d,ae,be,ce,de,ee,fe,ge,he,ie,je,ke,le,me,ne,oe,pe,qe,re,se,te,ue,ve,we,xe,ye,ze,Ae,Be,Ce,De,Ee,Fe,Ge,He,Wb,Ie,Je,Ke,Ka,Le,yb,Me,Ne,Oe,zb,Xb,Pe,Qe,Ab,Re,Se,Yb,Zb,$b,Te,Ue,Ve,We,Xe,Ye,gb,Ze,$e,af,Ea,bf,hb,Bb,cf,df,ef,ff,gf,hf,jf,kf,lf,mf,nf,of,ac,pf,qf,rf,
  15. sf,tf;function ib(a,b,c){return c.evaluate(a,b||c,k,6,k)}function H(a,b){return ib(a,b,m)}function La(a,b,c){return c.evaluate(a,b||c,k,8,k).singleNodeValue}function p(a,b){return La(a,b,m)}function R(a,b,c){return c.evaluate(a,b||c,k,3,k).booleanValue}function v(a,b){return(b||m).getElementsByClassName(a)[0]}function r(a){return m.getElementById(a)}function K(a,b){return(b||m).getElementsByTagName(a)[0]}function ua(a){for(;(a=a.nextSibling)&&1!==a.nodeType;);return a}function Fa(a){for(;(a=a.previousSibling)&&
  16. 1!==a.nodeType;);return a}function U(a,b){for(b=b||1;b--;)a=a.parentNode;return a}function y(a,b,c){var d;if(a)if(c)for(c=0;d=a.snapshotItem(c++);)b(d,c-1);else for(c=a.snapshotLength-1;d=a.snapshotItem(c--);)b(d,c+1)}function Cb(a,b){var c=a.cloneNode(s);c.innerHTML=b;a.parentNode.replaceChild(c,a);return c}function ha(a,b){for(var c in b)"Class"===c?a.className=b[c]:"text"===c?a.textContent=b[c]:"html"===c?a.innerHTML=b[c]:"value"===c?a.value=b[c]:a.setAttribute(c,b[c]);return a}function z(a,b){for(var c in b)a.addEventListener(c,
  17. b[c],s)}function oa(a,b){a.getAttribute(b)&&a.removeAttribute(b);W&&a[b]&&(a[b]="")}function uf(a,b){for(var c in b)a.removeEventListener(c,b[c],s)}function ca(a,b){for(var c=0,d=b.length;c<d;c++)b[c]&&a.appendChild(b[c])}function ea(a,b){for(var c=0,d=b.length;c<d;c++)b[c]&&a.parentNode.insertBefore(b[c],a)}function P(a,b){a.parentNode.insertBefore(b,a.nextSibling)}function L(a,b){var c;bc.innerHTML=a;c=bc.firstChild;b&&z(c,b);return c}function Db(a,b,c,d){a=d.createElement(a);b&&ha(a,b);c&&z(a,
  18. c);return a}function l(a,b,c){return Db(a,b,c,m)}function n(a,b,c){a=l(a,b,k);ca(a,c);return a}function da(a){return m.createTextNode(a)}function V(a,b,c){return l("input",{type:"button",value:a,title:b},{click:c})}function x(a,b){return a?b:k}function B(a){a.style.display="none"===a.style.display?"":"none"}function C(a){a&&a.parentNode.removeChild(a)}function va(a,b,c){y(ib(a,b,c),function(a){C(a)},s)}function Eb(a){for(;a.nextSibling;)C(a.nextSibling)}function ia(a){a=a.getBoundingClientRect();
  19. return{top:Math.round(a.top+window.pageYOffset),left:Math.round(a.left+window.pageXOffset)}}function vf(a){return m.defaultView&&m.defaultView.getComputedStyle?m.defaultView.getComputedStyle(a,"").getPropertyValue("background-color"):""}function cc(a){window.scrollTo(0,ia(a).top)}function t(a){a.preventDefault()}function dc(){return Math.floor(1E10*Math.random()).toString(10)}function jb(a,b){var c=a.scrollTop,d=a.selectionStart;a.value=a.value.substr(0,d)+b+a.value.substr(a.selectionEnd);a.setSelectionRange(d+
  20. b.length,d+b.length);a.focus();a.scrollTop=c}function ec(){return W?m.getSelection():window.getSelection().toString()}function ya(a){var a=a.match(/\/.*?[^\\]\/[ig]*/)[0],b=a.lastIndexOf("/");return RegExp(a.substr(1,b-1),a.substr(b+1))}function Ma(a){for(var b in a)return s;return j}function T(a){return unescape(uneval(a).replace(/\\u/g,"%u"))}function wf(a){var b,c;try{b=(new DOMParser).parseFromString(a,"text/html")}catch(d){}if(!b||!b.body)b=m.implementation.createHTMLDocument(""),c=b.documentElement,
  21. c.innerHTML=a,a=c.firstElementChild,1===c.childElementCount&&"html"===a.localName.toLowerCase()&&b.replaceChild(a,c);return b}function I(a){var b=(new Date).getTime();fc+=a+": "+(b-gc)+"ms\n";gc=b}function hc(a,b,c){a&&(m.cookie=escape(a)+"="+escape(b)+";expires="+(new Date((new Date).getTime()+c)).toGMTString()+";path=/")}function xf(a){for(var b,c=m.cookie.split("; "),d=c.length;d--;)if(b=c[d].split("="),b[0]===escape(a))return unescape(b[1]);return s}function pa(a){return Xa?GM_getValue(a):Ya?
  22. Tb.getItem(a):Za?localStorage.getItem(a):xf(a)}function M(a,b){Xa?GM_setValue(a,b):Ya?Tb.setItem(a,b):Za?localStorage.setItem(a,b):hc(a,b,ic)}function jc(a,b){try{return eval(pa(a))||b}catch(c){return b}}function Fb(a){Na=a.split("\n");M("DESU_Spells_"+f.c,a);yf()}function zf(){h.forcap=f.d||f.ha||f.Ua||f.Ma||f.ka?2:1}function Af(){h=kb;zf();M("DESU_Config_"+f.c,T(kb))}function kc(a){try{if(eval(a).version)return j}catch(b){}return s}function Hg(){var a,b=s,c=pa("DESU_Config_"+f.c);$a&&!kc(c)&&(c=
  23. pa("DESU_GlobalCfg"),b=j);kc(c)?h=eval(c):Af();h.version=kb.version;for(a in kb)h[a]===aa&&(h[a]=kb[a]);b&&zf();f.o||(h.noscrl=0);f.d&&(h.updthr=h.expost=0);if(!E||f.d)h.updfav=0;W&&(h.ytitle=0);7>E&&!X&&(h.rndimg=0);0===h.svsage&&(h.issage=0);M("DESU_Config_"+f.c,T(h));g=h.lang;ja=jc("DESU_Stat_"+f.c,{view:0,da:0,fa:0});q&&(ja.view=+ja.view+1);M("DESU_Stat_"+f.c,T(ja));h.ctime&&Bf();Fb(pa("DESU_Spells_"+f.c)||"")}function Y(a,b){h[a]=b;M("DESU_Config_"+f.c,T(h))}function Gb(a){Y(a,0===h[a]?1:0)}
  24. function lc(a){a=ba?J[a].O:u+a;return a in ka?ka[a]:k}function Ig(){var a,b,c=(new Date).getTime();if(ba){if(q&&(b=pa("DESU_Posts_"+f.c+"_"+q)))for(a=b.length;a--;)ka[a]=+b[a]}else if(b=pa("DESU_Posts_"+f.c)){b=b.split("-");for(a=b.length;0<=(a-=3);)c<+b[a+2]&&(ka[b[a]]=+b[a+1],mc[b[a]]=+b[a+2])}nc();S(function(a){var b=a.a;a.b=lc(b);a.g&&(D[u]&&(ba&&0<=D[u].indexOf(b)||!ba&&D[u][b]!==aa)?qa(a,0):0===a.b&&(ka[u+b]=k,a.b=k))})}function za(){var a,b=[],c="DESU_Posts_"+f.c;if(ba)q&&(c+="_"+q,pa(c)||
  25. (a=(a=xf("DESU_Cookies"))?a.split("|"):[],a[a.length]=c,13<a.length&&(hc(a[0],"",-10),a.splice(0,1)),hc("DESU_Cookies",a.join("|"),ic)),M(c,ka.join("")));else{for(a in ka){if(!/^\d$/.test(ka[a]))break;b[b.length]=a+"-"+ka[a]+"-"+mc[a]}M(c,b.join("-"))}Ga("Hid",j)}function nc(){D=jc("DESU_Threads_"+f.c,{})}function Cf(a,b){var c,d=u,e=a.a;ba?(D[d]||(D[d]=[]),c=D[d].indexOf(e),0===b&&0>c&&D[d].push(e),1===b&&0<=c&&D[d].splice(c,1),4095<escape(uneval(D)).length&&D[d].shift()):(D[d]||(D[d]={}),0===b?
  26. D[d][e]=a.h.M:(delete D[d][e],Ma(D[d])&&delete D[d]));c=T(D);M("DESU_Threads_"+f.c,c)}function oc(){A=jc("DESU_Favorites",{})}function lb(a){M("DESU_Favorites",a);Ga("Fav",j)}function pc(a,b,c){delete A[a][b][c];Ma(A[a][b])&&delete A[a][b];Ma(A[a])&&delete A[a];J[c]&&(p('.//a[starts-with(@class,"DESU_btnFav")]',J[c].n).className="DESU_btnFav")}function Df(a,b){var c=f.host,d=u,e=a.a;b&&(oc(),A[c]&&A[c][d]&&A[c][d][e]?(pc(c,d,e),lb(T(A))):(A[c]||(A[c]={}),A[c][d]||(A[c][d]={}),A[c][d][e]={W:a.h.I,
  27. Ta:ba?a.h.M.substring(0,25):a.h.M},ba&&4095<escape(uneval(A)).length?(N(Tc[g],""),delete A[c][d][e]):(b.className="DESU_btnFavSel",lb(T(A)))))}function Ef(a){if((a=J[a])&&0>a.className.indexOf("DESU_viewed"))a.className+=" DESU_viewed"}function Jg(){var a=Hb(w).snapshotLength;ea(w,[l("div",{style:"clear: both;"},k),n("div",{id:"DESU_panel"},[l("a",{id:"DESU_btnLogo",href:"#"},{click:function(a){t(a);Gb("showmp");fa()}}),n("div",{id:"DESU_panelBtns"},[l("a",{id:"DESU_btnSettings",title:Uc[g],href:"#"},
  28. {click:function(a){t(a);Ga("Cfg",s)}}),l("a",{id:"DESU_btnHidden",title:Vc[g],href:"#"},{click:function(a){t(a);Ga("Hid",s)}}),l("a",{id:"DESU_btnFavor",title:Wc[g],href:"#"},{click:function(a){t(a);Ga("Fav",s)}}),l("a",{id:"DESU_btnRefresh",title:Ub[g],href:"#"},{click:function(a){t(a);window.location.reload()},mouseover:function(){q||Kg()},mouseout:Oa}),l("a",{id:"DESU_btnGoback",title:Xc[g],href:"http://"+f.host+"/"+u+"/"+(1<mb?mb-1+Pa:"")},k),x(!q,l("a",{id:"DESU_btnGonext",title:Yc[g],href:"http://"+
  29. f.host+"/"+u+"/"+(0<mb?mb+1:1)+Pa},k)),l("a",{id:"DESU_btnGoup",title:Zc[g],href:"#"},{click:function(a){t(a);window.scrollTo(0,0)}}),l("a",{id:"DESU_btnGodown",title:$c[g],href:"#"},{click:function(a){t(a);window.scrollTo(0,m.body.scrollHeight||m.body.offsetHeight)}}),x(!q&&(i.s||wa),l("a",{id:"DESU_btnNewthr",title:ad[g],href:"#"},{click:Ff})),x(0<a,l("a",{id:"DESU_btnExpimg",title:bd[g],href:"#"},{click:function(a){t(a);h.expimg=1;Ib=!Ib;S(function(a){Gf(a,Ib)})}})),x(i.file||wa,l("a",{id:"DESU_btnMaskimg",
  30. title:cd[g],href:"#"},{click:function(a){t(a);Gb("mask");fa()}})),x(q&&3!==h.updthr,l("a",{id:"DESU_btnUpdOn",title:dd[g],href:"#"},{click:function(a){t(a);nb?Hf():(this.id="DESU_btnUpdOn",If())}})),x(f.r,l("a",{id:"DESU_btnCatalog",title:ed[g],target:"_blank",href:"http://0chan.ru/"+u+"/catalog.html"},k))]),x(q,n("div",{id:"DESU_panelInfo"},[l("span",{title:fd[g],text:O.length+"/"+a},k)]))]),l("div",{id:"DESU_content"},k),l("div",{id:"DESU_alertBox"},k),l("hr",{style:"clear: both;"},k)])}function Ga(a,
  31. b){var c,d;if(!Qa&&(c=r("DESU_content"),d="DESU_content"+a,!(b&&c.className!==d)))if(c.innerHTML="",!b&&c.className===d)c.className="DESU_content";else if(c.className=d,0===h.attach&&c.appendChild(l("hr",{style:"clear: both;"},k)),"Cfg"===a)Lg();else if(c.appendChild(L('<table><tbody align="left"></tbody></table>')),0!==h.attach&&(K("table",c).style.backgroundColor=vf(K("body"))),"Hid"===a&&(nc(),Mg()),"Fav"===a)oc(),Ng()}function Lg(){function a(a,b){if("DESU_cfgTab_sel"!=a.className){var c=v("DESU_cfgBody");
  32. c?(c.parentNode.replaceChild(b,c),v("DESU_cfgTab_sel").className="DESU_cfgTab"):P(r("DESU_cfgBar"),b);0!==h.keynav&&Jb(b);a.className="DESU_cfgTab_sel";b===Aa&&(Na=pa("DESU_Spells_"+f.c).split("\n"),yf(),r("DESU_spellEdit").value=Na.join("\n"))}}function b(b,c){return n("div",{Class:f.q+" DESU_cfgTabBack"},[l("div",{Class:"DESU_cfgTab",text:b},{click:function(){a(this,c)}})])}function c(a,b,c,d){for(var e=0,o=b.length,f=[];e<o;e++)f[e]='<option value="'+e+'">'+b[e]+"</option>";b=L('<select id="'+
  33. a+'_sel">'+f.join("")+"</select>",{Ya:d?d:function(){Y(a,this.selectedIndex)}});b.selectedIndex=h[a];return n("label",k,[b,da(" "+c)])}function d(a,b,c){return l("input",{type:"text",id:"DESU_"+a,size:b,value:h[a]},{keyup:function(){Y(a,r("DESU_"+a).value.replace(/\|/g,""));c&&c()}})}function e(a,b,c){return n("div",k,[o(a,b,c,aa)])}function o(a,b,c,d){var e=l("input",{type:"checkbox"},{click:function(){Gb(a);c&&c()}});e.checked=0!==h[a];d&&(e.id=d);return n("label",k,[e,da(" "+b)])}var Aa=n("div",
  34. {Class:"DESU_cfgBody",id:"DESU_cfgFilters"},[n("div",k,[n("span",{id:"DESU_spellPanel"},[l("a",{text:gd[g],href:"#"},{click:t,mouseover:Og,mouseout:Oa}),l("a",{text:hd[g],href:"#"},{click:function(a){t(a);Ra("")}}),l("a",{text:Vb[g],href:"#"},{click:function(a){t(a);r("DESU_spellEdit").value="";Ra("")}}),l("a",{text:"?",target:"_blank",href:qc+"spells"},k)]),o("spells",id[g],Jf,"DESU_spellChk"),l("textarea",{id:"DESU_spellEdit",rows:7,cols:55},k)]),n("div",k,[o("awipe",jd[g]),V(">",kd[g],function(){B(r("DESU_cfgWipe"))})]),
  35. n("div",{id:"DESU_cfgWipe",style:"display: none; padding-left: 25px;"},[e("samel",ld[g]),e("samew",md[g]),e("longp",nd[g]),e("longw",od[g]),e("caps",pd[g]),e("specs",qd[g]),e("nums",rd[g])]),e("filthr",sd[g]),e("menuhd",td[g]),e("viewhd",ud[g]),n("div",k,[c("delhd",vd[g],eb[g],function(){Pg(this.selectedIndex,h.delhd)})])]),Q=n("div",{Class:"DESU_cfgBody",id:"DESU_cfgPosts"},[x(!f.d,n("div",k,[c("updthr",wd[g],xd[g]),c("updint",[0.5,1,1.5,2,5,15,30],"min* "),x(E&&!f.d,o("updfav",yd[g]))])),x(!f.d,
  36. n("div",k,[c("expost",zd[g],Ad[g])])),n("div",k,[c("expimg",Bd[g],Cd[g])]),e("imgsrc",Dd[g]),e("ospoil",Ed[g],fa),e("noname",Fd[g],fa),x(f.o,o("noscrl",Gd[g],fa)),n("div",k,[o("keynav",Hd[g]),l("a",{text:"?",href:"#"},{click:function(a){t(a);N(Id[g],"")}})]),n("div",k,[o("ctime",Jd[g],Qg,"DESU_ctime")]),n("div",{style:"padding-left: 25px;"},[n("div",k,[d("ctmofs",3),l("span",{text:Kd[g]},k)]),n("div",k,[d("ctmpat",30),da(" "),l("a",{text:Ld[g],href:"#"},{click:function(a){t(a);N('"s" - second (one digit),\n"i" - minute (one digit),\n"h" - hour (one digit),\n"d" - day (one digit),\n"n" - month (one digit),\n"m" - month (string),\n"y" - year (one digit),\n"-" - any symbol\n"+" - any symbol except digits\n"?" - previous char may not be\n\nExamples:\n0chan.ru: "++++yyyy+m+dd+hh+ii+ss"\niichan.ru, 2ch.so: "++++dd+m+yyyy+hh+ii+ss"\ndobrochan.ru: "dd+m+?+?+?+?+?+yyyy+++++++hh+ii+?s?s?"\n410chan.org: "dd+nn+yyyy+++++++hh+ii+ss"\n4chan.org: "nn+dd+yy+++++hh+ii+?s?s?"\n4chon.net: "nn+dd+yy+++++++hh+ii+ss"\nkrautchan.net: "yyyy+nn+dd+hh+ii+ss+--?-?-?-?-?"',
  37. "")}})])])]),F=n("div",{Class:"DESU_cfgBody",id:"DESU_cfgLinks"},[n("div",k,[c("navig",Md[g],Nd[g])]),n("div",{style:"padding-left: 25px;"},[n("div",k,[d("navdel",8),da(Od[g])]),e("navmrk",Pd[g]),e("navhid",Qd[g]),e("navdis",Rd[g])]),e("insnum",Sd[g]),e("mp3",Td[g]),e("addimg",Ud[g]),n("div",k,[c("ytube",Vd[g],Wd[g])]),n("div",{style:"padding-left: 25px;"},[n("div",k,[c("yptype",["Flash","HTML5 iframe",W?k:"HTML5 video"]," "),d("ywidth",6),da("×"),d("yheigh",6),da(" "),o("yhdvid","HD ")]),x(!W,
  38. o("ytitle",Xd[g]))])]),Rg=n("div",{Class:"DESU_cfgBody",id:"DESU_cfgForm"},[x(i.s,n("div",k,[c("pform",Yd[g],Zd[g])])),x(i.s,e("tform",$d[g],function(){q||(ra.style.display=h.tform?"none":"")})),e("verify",ae[g]),e("addfav",be[g]),x(6<E||X,e("rndimg",ce[g])),x(i.v,n("div",k,[o("sagebt",de[g]),o("svsage",ee[g])])),n("div",k,[c("forcap",fe[g],ge[g])]),x(i.s,n("div",k,[c("txtbtn",he[g],ie[g],function(){Y("txtbtn",this.selectedIndex);Kf();fa()}),o("txtpos",je[g],fa)])),x(i.name,n("div",k,[d("namval",
  39. 20,Lf),o("name",ke[g],Lf,"DESU_fixNameChk")])),x(i.passw,n("div",k,[d("pasval",20,rc),o("passw",le[g],rc,"DESU_fixPassChk")])),x(i.m,n("div",k,[d("sigval",20),o("sign",me[g])])),n("div",k,[x(i.s||wa,da(ne[g])),o("norule",oe[g],fa),x(i.P,o("nogoto",pe[g],function(){B(i.P)})),x(i.passw,o("nopass",qe[g],function(){B(U(i.passw,2))}))])]),m=n("div",{Class:"DESU_cfgBody",id:"DESU_cfgCommon"},[n("div",k,[c("sstyle",["Gradient blue","Solid grey"],re[g],function(){Y("sstyle",this.selectedIndex);fa()})]),e("attach",
  40. se[g],function(){Ga("Cfg",s);fa()}),e("icount",te[g],fa),e("rtitle",ue[g]),e("animp",ve[g]),e("aclose",we[g])]),Sg=n("div",{Class:"DESU_cfgBody",id:"DESU_cfgInfo"},[L('<div style="padding-left: 10px;"><div style="display: inline-block; vertical-align: top; width: 200px;"><b>'+xe[g]+h.version+"</b><br><br>"+ye[g]+(Xa?"Mozilla config":Ya?"Opera ScriptStorage":Za?"Local Storage":"Cookies")+"<br>"+ze[g]+ja.view+"<br>"+Ae[g]+ja.da+"<br>"+Be[g]+ja.fa+'</div><div style="display: inline-block; vertical-align: top; padding-left: 17px; border-left: 1px solid grey;">'+
  41. fc.split("\n").join("<br>")+"<br>"+Ce[g]+Mf+'ms</div><div style="text-align: center;"><a href="'+qc+'" target="_blank">'+qc+"</a></div></div>")]);ca(r("DESU_content"),[n("div",{Class:f.q,id:"DESU_cfgWindow"},[l("div",{id:"DESU_cfgHead",text:"Dollchan Extension Tools"},k),n("div",{id:"DESU_cfgBar"},[b(De[g],Aa),b(Ee[g],Q),b(Fe[g],F),b(Ge[g],Rg),b(He[g],m),b(Wb[g],Sg)]),n("div",{id:"DESU_cfgBtns"},[n("div",{style:"float: right;"},[c("lang",["Ru","En"],"",function(){Y("lang",this.selectedIndex);window.location.reload()}),
  42. x($a,V(Ie[g],Je[g],function(){kc(pa("DESU_GlobalCfg"))?(M("DESU_Config_"+f.c,""),window.location.reload()):N(Ke[g],"")})),x($a,V(Ka[g],Le[g],function(){M("DESU_GlobalCfg",T(h));Ga("Cfg",j)})),V(yb[g],Me[g],function(){B(U(ha(r("DESU_cfgEdit"),{value:pa("DESU_Config_"+f.c)})))}),V(Ne[g],Oe[g],function(){Af();M("DESU_Stat_"+f.c,"");M("DESU_Favorites","");M("DESU_Threads_"+f.c,"");Fb("");window.location.reload()})]),l("br",{style:"clear: both;"},k),n("div",{style:"display: none;"},[l("textarea",{id:"DESU_cfgEdit",
  43. rows:10,cols:56,value:""},k),V(Ka[g],zb[g],function(){M("DESU_Config_"+f.c,r("DESU_cfgEdit").value.trim());window.location.reload()})])])])]);a(v("DESU_cfgTab"),Aa)}function Mg(){var a,b,c,d,e,o,Aa=[],Q=0,F=0,i=K("tbody",r("DESU_content"));S(function(c){0===c.b&&(a=!c.g,b=ha((r("DESU_hidThr_"+c.a)||c).cloneNode(j),{id:""}),Aa.push(b),b.style.display="",b.ea=c,b.C=0,z(a?v("DESU_btnUnhide"):p(".//a",b),{click:function(b){return function(c){t(c);b.C=0===b.C?1:0;a?Ba(b,b.C):ua(b).style.display=1===b.C?
  44. "":"none"}}(b)}),0===h.attach&&z(f.qa(b)||p(".//a",b),{mouseover:function(b){return function(){0===b.C&&(a?Ba(b,1):ua(b).style.display="")}}(b),mouseout:function(b){return function(){0===b.C&&(a?Ba(b,0):ua(b).style.display="none")}}(b)}),ca(i,[x(!a&&0===Q++||a&&0===F++,n("tr",k,[L("<b>"+(a?eb[g]:Xb[g])+Pe[g]+":</b>")])),n("tr",k,[b,x(!a,ha(c.cloneNode(j),{style:"display: none; padding-left: 15px; overflow: hidden; border: 1px solid grey;"}))])]),a||Ba(ua(b),1))});0===F+Q?i.insertRow(-1).appendChild(L("<b>"+
  45. Qe[g]+"</b>")):ca(i.insertRow(-1),[V(Ab[g],"",function(){if(this.value===Ab[g]){this.value=Re[g];for(c=0;b=Aa[c++];)qa(b.ea,1)}else{this.value=Ab[g];for(c=0;b=Aa[c++];)qa(b.ea,b.C)}}),V(Ka[g],"",function(){for(c=0;b=Aa[c++];)0!==b.C&&qa(b.ea,1);za()})]);ca(i,[n("tr",k,[l("hr",k,k),L("<b>"+(Ma(D)?Se[g]:Xb[g])+"</b>")])]);if(!Ma(D))for(d in D)for(e in ca(i,[n("tr",{Class:"DESU_hidTHead",id:"DESU_hidTHead_"+d},[l("input",{type:"checkbox"},{click:function(){var a=this;y(H('.//tr[contains(@id,"_'+U(a).id.substr(14)+
  46. '|")]/div/input',i),function(b){b.checked=a.checked},s)}}),L("<b>"+d+"</b>")])]),D[d])ba&&(e=D[d][e]),o=ob(f.host,d,e),ca(i,[n("tr",{Class:"DESU_hidTData",id:"DESU_hidTData_"+d+"|"+e},[n("div",{Class:f.q},[l("input",{type:"checkbox"},k),L('<a href="'+o+'" target="_blank">№'+e+"</a>"),x(!ba,da(" - "+D[d][e]))])])]);ca(i,[n("tr",k,[V(yb[g],Yb[g],function(){B(U(r("DESU_hidTEdit")))}),V(Zb[g],$b[g],function(){y(H('.//tr[@class="DESU_hidTData"]',i),function(a){var b=a.id.substr(14).split("|"),c=b[0],
  47. b=b[1];K("input",a).checked&&(J[b]?qa(J[b],1):ba?(a=D[c].indexOf(b),0<=a&&D[c].splice(a,1)):(ka[c+b]=1,delete D[c][b]),Ma(D[c])&&delete D[c])},s);M("DESU_Threads_"+f.c,T(D));za()})]),n("tr",{style:"display: none;"},[l("textarea",{id:"DESU_hidTEdit",rows:9,cols:70,value:T(D)},k),V(Ka[g],zb[g],function(){M("DESU_Threads_"+f.c,r("DESU_hidTEdit").value)})])]);Sa(i)}function Ng(){var a,b,c,d,e,o,h=p('.//div[@id="DESU_content"]//tbody');for(a in A)for(b in A[a])for(c in ca(h,[n("tr",{Class:"DESU_favHead",
  48. id:"DESU_favHead_"+a+"|"+b},[l("input",{type:"checkbox"},{click:function(){var a=this;y(H('.//tr[contains(@id,"_'+U(a).id.substr(13)+'|")]/div/input',h),function(b){b.checked=a.checked},s)}}),L('<a href="http://'+a+"/"+b+'" target="_blank">'+a+"/"+b+"</a>")])]),A[a][b])d=ob(a,b,c),e=A[a][b][c],ca(h,[n("tr",{Class:"DESU_favData",id:"DESU_favData_"+a+"|"+b+"|"+c},[n("div",{Class:f.q},[l("input",{type:"checkbox"},k),l("a",{Class:"DESU_btnExpthr",href:'#"'},{click:Tg}),L('<a href="'+d+'" target="_blank">№'+
  49. c+"</a>"),da(" - "+e.Ta),L('<span class="DESU_favPCount">[<span>'+e.W+"</span>]</span>")]),l("div",{id:c,Class:" DESU_thread",style:"display: none;"},k)])]);h.firstChild||h.insertRow(-1).appendChild(L("<b>"+Te[g]+"</b>"));o=H('.//tr[@class="DESU_favData"]',h);ca(h,[n("tr",k,[l("hr",k,k),V(yb[g],Yb[g],function(){B(U(r("DESU_favEdit")))}),V(Wb[g],Ue[g],function(){y(o,function(a){var b,c=a.id.substr(13).split("|");f.host===c[0]&&(b=K("span",v("DESU_favPCount",a)),ha(b,{Class:"DESU_icnWait",text:""}),
  50. sa(k,c[1],c[2],function(a){var d=a||Z[c[1]][c[2]].length;ha(b,{Class:"",text:d});a||(A[c[0]][c[1]][c[2]].W=d,M("DESU_Favorites",T(A)))}))},s)}),V(Vb[g],Ve[g],function(){y(o,function(a){var b=a.id.substr(13).split("|");sa(ob(b[0],b[1],b[2]),k,k,function(a){a&&(pc(b[0],b[1],b[2]),lb(T(A)))})},s)}),V(Zb[g],$b[g],function(){y(o,function(a){var b=a.id.substr(13).split("|");K("input",a).checked&&pc(b[0],b[1],b[2])},s);lb(T(A))})]),n("tr",{style:"display: none;"},[l("textarea",{id:"DESU_favEdit",rows:9,
  51. cols:70,value:T(A)},k),V(Ka[g],zb[g],function(){lb(r("DESU_favEdit").value)})])])}function Ug(a){var b,c;0===h.animp?a.style.opacity=1:4<E||X?a.style.cssText=G+"animation: DESU_aOpen 0.2s 1 ease-out;":(b=0,c=setInterval(function(){var d;!a||8<b++?clearInterval(c):(d=a.style,d.opacity=b/10,d.paddingTop=parseInt(d.paddingTop,10)+1+"px",d.paddingBottom=parseInt(d.paddingBottom,10)+1+"px")},25))}function la(a){var b,c,d;a&&(0===h.animp?C(a):4<E||X?(a.addEventListener(E?"animationend":"webkitAnimationEnd",
  52. function(){C(a)},s),a.style.cssText=G+"animation: DESU_aClose 0.2s 1 ease-in;"):(b=8,c=a.clientHeight-18,a.style.height=c+"px",d=setInterval(function(){var e,o;!a||0>b--?(clearInterval(d),C(a)):(e=a.style,o=parseInt(e.height,10)-c/10,e.opacity=b/10,e.paddingTop=parseInt(e.paddingTop,10)-1+"px",e.paddingBottom=parseInt(e.paddingBottom,10)-1+"px",e.height=(0>o?0:o)+"px")},25)))}function N(a,b){var c,d="DESU_alert";""!==b&&(d+=b,c=r(d));c?v(d,c).innerHTML=a.trim():c=n("div",{Class:f.q,id:d,style:"opacity: 0; padding: 0 10px 5px 10px;"},
  53. [x("Wait"!==b,l("a",{href:"#",style:"display: inline-block; vertical-align: top; font-size: 150%;",text:"× "},{click:function(a){t(a);la(U(this))}})),l("div",{style:"display: inline-block; margin-top: 4px;",Class:d,html:a.trim()},k)]);Ug(r("DESU_alertBox").appendChild(c));0!==h.aclose&&"Wait"!==b&&setTimeout(function(){la(c)},4E3)}function Oa(a){R('ancestor-or-self::div[@id="DESU_select"]',a.relatedTarget,m)||C(r("DESU_select"))}function pb(a,b){var c,d,e=ta(a),o="DESU_btnSrc"===a.className?
  54. "left: "+ia(a).left:"right: "+(m.body.clientWidth-ia(a).left-a.offsetWidth);0!==h.attach&&R('ancestor::div[@id="DESU_content" or @id="DESU_panel"]',a,m)?(d="fixed",c="DESU_btnRefresh"===a.id?"bottom: 25":"top: "+(a.getBoundingClientRect().top+a.offsetHeight)):(d="absolute",c="top: "+(ia(a).top+a.offsetHeight));m.body.appendChild(L('<div class="'+f.q+'" id="DESU_select" style="position: '+d+"; width: auto; min-width: 0; "+o+"px; "+c+'px; z-index: 9999; padding: 2px 5px; border: 1px solid grey;">'+
  55. b+"</div>",{Za:Oa,$a:function(){e&&e.H&&qb(e.H,s)}}));return H('.//div[@id="DESU_select"]//a')}function Og(a){y(pb(a.target,'<div style="display: inline-block; border-right: 1px solid grey;"><a href="#">'+"#b/,#b/itt,#exp ,#exph ,#img ,#imgn ,#name ,#noimg,#notxt,#num ".split(",").join('</a><a href="#">')+'</a></div><div style="display: inline-block;"><a href="#">'+"#op,#outrep,#rep ,#sage,#skip ,#theme ,#tmax ,#trip,#video ".split(",").join('</a><a href="#">')+"</a></div>"),function(a){z(a,{click:function(a){var b=
  56. this.textContent;t(a);"#b/"===b&&(b="#"+u+"/ ");if("#b/itt"===b)if(q)b="#"+u+"/"+q+" ";else return;jb(r("DESU_spellEdit"),b)}})},s)}function Vg(a){if(!(0===h.menuhd||0===h.filthr&&a.g)){var b=pb(a.n.firstChild,'<a href="#">'+We[g].join('</a><a href="#">')+"</a>");z(b.snapshotItem(0),{click:function(a){t(a);Ra(Ta)},mouseover:function(){Ta=ec().trim()}});z(b.snapshotItem(1),{click:function(b){t(b);Ra(0===a.z.snapshotLength?"#noimg":"#img ="+Nf(a)+"@"+sc(a).join("x"))}});z(b.snapshotItem(2),{click:function(b){t(b);
  57. Wg(a)}})}}function Xg(a){y(pb(p("a[3]",a.n),'<a href="#">'+Xe[g].join('</a><a href="#">')+"</a>"),function(b){z(b,{click:function(b){t(b);rb(a,parseInt(this.textContent,10),k)}})},s)}function Kg(){y(pb(r("DESU_btnRefresh"),'<a href="#">'+Ye[g].join('</a><a href="#">')+"</a>"),function(a,b){z(a,{click:function(a){t(a);Yg(b+1)}})},s)}function Jb(a){y(H('.//input[@type="text" or @type="password"]|.//textarea',a),function(a){a.onfocus=function(){tc=j};a.onblur=function(){tc=s}},s)}function Zg(){var a;
  58. f.r?i.form.addEventListener(W?"DOMAttrModified":"DOMSubtreeModified",function(){a&&clearTimeout(a);a=setTimeout(function(){Jb(i.form)},200)},s):Jb(i.form);Jb(w);window.onscroll=function(){uc?uc=s:Ua=Va=j};m.onkeydown=function(a){var c=a.keyCode;if(!tc&&!a.ctrlKey&&!a.altKey&&!(a.shiftKey||74!==c&&75!==c&&77!==c&&78!==c&&86!==c)){t(a);if(Ua){if(Va)a:{for(var a=O,d=0,e=window.pageYOffset;d<a.length;d++)if(ia(a[d]).top>e){a=d-1;break a}a=aa}else a=O.indexOf(xa[na]);$=a}if(!q&&Va)if((O[$]||{}).g)na=a=
  59. xa.indexOf(O[$]);else if(Ua){for(a=0>=$?0:$;0<a&&!O[a].g;a--);na=a=xa.indexOf(O[a])}else a=na;else a=na;Va=Ua=s;if(86===c)q?vc(O[$]):E?GM_openInTab(ob(f.host,u,xa[a].a),s,j):window.open(ob(f.host,u,xa[a].a),"_blank");else if(uc=j,75===c)if(q)Of();else try{na=Kb(xa,0>=na?0:na-1,-1,j,j),Ua=j}catch(o){}else if(74===c)if(q)Pf();else{if(na!==xa.length-1)try{na=Kb(xa,na+1,1,j,j),Ua=j}catch(h){}}else!q&&77===c?Of():!q&&78===c&&Pf()}}}function Pf(){if($!==O.length-1)try{$=Kb(O,$+1,1,O[$+1].g||O[$+1].getBoundingClientRect().top>
  60. window.innerHeight/2-O[$+1].clientHeight/2,s),Va=j}catch(a){}}function Of(){try{$=Kb(O,0>=$?0:$-1,-1,j,s),Va=j}catch(a){}}function Kb(a,b,c,d,e){for(var o=b;0===a[o].b||0===a[o].h.b;)o+=c;a=a[o];if(o!==b||d)window.scrollTo(0,e?ia(a).top:ia(a).top-window.innerHeight/2+a.clientHeight/2);if(b=v("DESU_selected"))b.className=b.Pa;a.g&&(a=a.h);a.Pa=a.className;a.className+=" DESU_selected";return o}function Qf(a,b){return f.p||f.ka?a.replace(/\?[^?]+$|$/,(f.L?"?board="+u+"&":"?")+Math.random()):0<b?a.replace(/mainpage|res\d+/ig,
  61. "res"+b):a.replace(/dummy=\d*/,"dummy="+dc())}function Lb(a){var b=i.J?r("recaptcha_image")||i.k:p(i.F+"//img",i.k);f.d||i.J?(a=m.createEvent("MouseEvents"),a.initEvent("click",j,j),b.dispatchEvent(a)):(a=Qf(b.getAttribute("src"),a),b.src="",b.src=a)}function Rf(){var a=0!==h.issage;r("DESU_sageBtn").innerHTML="&nbsp;"+(a?'<a class="DESU_btnSage" href="#"></a><b style="color: red;">SAGE</b>':"<i>(no&nbsp;sage)</i>");"text"===i.v.type?i.v.value=a?"sage":f.i?"noko":"":i.v.checked=a}function Lf(){Y("namval",
  62. r("DESU_fixName").value.replace(/\|/g,""));i.name.value=r("DESU_fixNameChk").checked?h.namval:""}function rc(){var a,b=r("DESU_pasval");b&&Y("pasval",b.value.replace(/\|/g,""));a=0!==h.passw?h.pasval:dc().substring(0,8);if(b=p('.//input[@type="password"]',w))b.value=a;i.passw.value=a}function $g(){var a;q?(0===h.rtitle?sb=m.title:(sb="/"+u+" - "+J[q].h.M,m.title=sb),window.onblur=function(){m.body.className="blurred"},window.onfocus=function(){m.body.className="focused";if(h.updfav!==0&&Ca){clearInterval(wc);
  63. va('.//link[@rel="shortcut icon"]',K("head"),m);K("head").appendChild(l("link",{href:Ca,rel:"shortcut icon"},k))}h.updthr===1&&setTimeout(function(){m.title=sb},0)},If(),(2===h.updthr||3===h.updthr)&&P(p('.//div[contains(@class," DESU_thread")]'),L('<span id="DESU_getNewPosts">[<a href="#">'+Ze[g]+"</a>]</span>",{click:function(a){t(a);Mb(j,k)}}))):setTimeout(function(){window.scrollTo(0,0)},50);if(f.o){va('.//div[@class="ABU_refmap"]',w,m);if(q&&(a=v("DESU_thread",w)))va("following-sibling::node()",
  64. a,m),P(a,l("hr",k,k));if(a=p('.//input[@name="makewatermark"]',i.form))a.checked=s,a.style.display="none"}else z(window,{load:function(){setTimeout(function(){f.r?va('.//div[@class="replieslist"]',w,m):va('.//small[starts-with(@id,"rfmap")]|.//i[@class="abbrev"]',w,m)},0)}});f.i&&!q&&y(H('.//table[@class="pages"]//form'),function(a){ua(a).appendChild(ha(a,{style:"margin-bottom: 0;"}));a.appendChild(Fa(a))},s);ma=l("div",{id:"DESU_qarea",Class:f.q,style:"display: none;"},k);ra=n("center",{id:"DESU_parea"},
  65. [n("div",{id:"DESU_toggleReply",style:"display: none;"},[da("["),l("a",{text:$e[g],href:"#"},{click:Ff}),da("]")]),n("div",{id:"DESU_pform"},[i.form,wa]),l("hr",k,k)]);(q&&2===h.pform||!q&&0!==h.tform)&&B(ra);q&&1===h.pform?P(f.i?K("hr",w):w,ra):ea(w,[ra]);i.s?Sf():wa&&sa(k,u,O[0].a,Sf)}function Sf(){function a(){uf(m.body,{Na:b,Oa:a});Y("texw",parseInt(e.style.width,10));Y("texh",parseInt(e.style.height,10))}function b(a){e.style.width=a.pageX-ia(e).left+"px";e.style.height=a.pageY-ia(e).top+"px"}
  66. var c,d,e=i.m;!f.i&&i.K.nextSibling&&Eb(i.K);Kf();P(e,l("div",{id:"DESU_txtResizer"},{mousedown:function(c){t(c);z(m.body,{mousemove:b,mouseup:a})}}));e.style.cssText="width: "+h.texw+"px; height: "+h.texh+"px;";z(e,{keypress:function(a){var b=a.charCode||a.keyCode;if((33===b||34===b)&&0===a.which)a.target.blur(),window.focus()}});z(i.K,{click:function(){var a=i.m.value;i.m.value=(0===h.spells||!ab[0]?a:Tf(ab,a))+(0!==h.sign&&""!==h.sigval?"\n"+h.sigval:"");0!==h.verify&&N(af[g],"Wait");0!==h.addfav&&
  67. i.w&&Df(J[i.w],v("DESU_btnFav",J[i.w].n));i.w?ja.fa=+ja.fa+1:ja.da=+ja.da+1;M("DESU_Stat_"+f.c,T(ja));f.r&&i.B&&(B(ma),P(r("DESU_toggleReply"),r("DESU_pform")))}});y(H('.//input[@type="text"]',i.form),function(a){a.size=35},s);0!==h.nogoto&&i.P&&B(i.P);0!==h.nopass&&i.passw&&B(p(i.F,i.passw));0!==h.name&&i.name&&setTimeout(function(){i.name.value=h.namval},0);i.passw&&setTimeout(rc,0);i.J&&(ha(i.K,{onclick:"Recaptcha.focus_response_field = function() {}"}),(e=r("recaptcha_image"))&&ha(e,{onclick:"Recaptcha.reload()",
  68. style:"width: 300px; cursor: pointer;"}),(e=r("recaptcha_reload_btn"))&&B(U(e)));if(i.k&&(setTimeout(function(){if(f.o){Lb(0);oa(i.k,"onclick")}},0),oa(i.k,"onfocus"),oa(i.k,"onkeypress"),z(ha(i.k,{autocomplete:"off"}),{keypress:function(a){var b=a.charCode||a.keyCode,c=String.fromCharCode(b).toLowerCase(),d=33;if(!(h.forcap===0||a.which===0)){if(h.forcap===1){if(b<1040||b>1279)return;for(;d--;)c==="йцукенгшщзхъфывапролджэячсмитьбюё"[d]&&
  69. (c="qwertyuiop[]asdfghjkl;'zxcvbnm,.`"[d])}else{if(b<33||b>122)return;for(;d--;)c==="qwertyuiop[]asdfghjkl;'zxcvbnm,.`"[d]&&(c="йцукенгшщзхъфывапролджэячсмитьбюё"[d])}t(a);jb(a.target,c)}}}),!f.d&&!i.J))(f.p?(c=p(".//a|.//img",p(i.F,i.k)),d=f.L?"/faptcha.php?board="+u:f.Y?"/securimage/securimage_show.php?"+Math.random():"/"+u.substr(0,
  70. u.indexOf("/")+1)+"captcha.php?"+Math.random()):d=(c=p(i.F+"//img",i.k))?c.src:"/"+u+"/captcha.pl?key=mainpage&amp;dummy="+dc(),d=l("img",{alt:Ea[g],title:Ub[g],style:"display: block; border: none; cursor: pointer;",src:Qf(d,q||0)},{click:function(){Lb(q||0)}}),c)?U(c).replaceChild(d,c):(Eb(i.k),P(i.k,d));0!==h.sagebt&&i.v&&(c=l("span",{id:"DESU_sageBtn"},{click:function(a){a.stopPropagation();t(a);Gb("issage");Rf()}}),d=p("ancestor::label",i.v)||i.v,ua(d)||Fa(d)?(B(d),P(d,c)):(B(p(i.F,i.v)),P(i.name||
  71. i.K,c)),setTimeout(Rf,0));0!==h.verify&&(3<E||X?(i.form.onsubmit=function(a){t(a);setTimeout(function(){ah(function(a){Uf(i.form,a,Vf)})},1E3)},w.onsubmit=function(a){t(a);N(bf[g],"Wait");y(H('.//input[@type="checkbox"]',w),function(a){a.onclick=function(){return s}},s);Uf(w,new FormData(w),bh)}):(f.r&&(i.form.action=i.form.action.replace(/https/,"http")),P(r("DESU_content"),L('<iframe name="DESU_iframe" id="DESU_iframe" src="about:blank" />',{load:function(){setTimeout(ch,500)}})),oa(ha(i.form,{target:"DESU_iframe"}),
  72. "onsubmit")))}function Uf(a,b,c){GM_xmlhttpRequest({method:a.method,headers:E?{Xa:""+m.location}:k,data:b,url:a.action,onreadystatechange:function(a){4===a.readyState&&(200===a.status?c(wf(a.responseText),a.finalUrl):(la(r("DESU_alertWait")),N(0===a.status?hb[g]:"HTTP ["+a.status+"] "+a.statusText,"")))}})}function ch(){var a=r("DESU_iframe");try{if(a=a.contentDocument,!a||!a.body||!a.body.innerHTML)return}catch(b){la(r("DESU_alertWait"));N("Iframe load error:\n"+b,"");return}Vf(a,""+a.location);
  73. a.location.replace("about:blank")}function Vf(a,b){var c,d="",e=b.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/)[5];if((e=f.d&&/error/.test(e)?'.//td[@class="post-error"]':f.e&&"/post"===e?'.//td[starts-with(@class,"message_text")]':f.o&&!a.getElementById("delform")?'.//font[@size="5"]':"")||!K("form",a))e||(e=f.p?'.//h1|.//h2|.//div[contains(@style,"1.25em")]':f.i?".//table//font/b":f.l?'.//font[@size="5"]':""),e?y(a.evaluate(e,a,k,6,k),function(a){d+=a.innerHTML+"\n"},s):
  74. (e=K("h2",a)||K("h1",a))&&(d=e.innerHTML.replace(/<br.*/i,"")),c=""!==d?d:Bb[g]+"\n"+a.body.innerHTML,/обновл|successful!|uploaded!/i.test(c)&&(c=aa);c?(f.r&&i.B&&(B(ma),ma.appendChild(r("DESU_pform"))),la(r("DESU_alertWait")),N(c,"")):(i.m.value="",i.file&&(i.file=p('.//input[@type="file"]',Cb(p(i.F,i.file),p(i.F,i.file).innerHTML))),i.w)?(c=i.w,xc(),q?Mb(j,k):rb(J[c],5,k),i.k&&(i.k.value="",Lb(c))):window.location=!f.i?b:K("meta",a).content.match(/http:\/\/[^"]+/)[0]}
  75. function bh(){function a(){y(H('.//input[@type="checkbox"]',w),function(a){a.checked&&!ta(a).ba&&(b=s);a.checked=s;a.onclick=k},s);N(b?cf[g]:df[g],"")}var b=j;i.w?q?Mb(j,a):rb(J[i.w],5,a):la(r("DESU_alertWait"))}function ah(a){if(h.rndimg){var b=new FormData,c=s,d=0,e=0,o=0,f=[],g=function(){if(c&&d===e){d=o;for(o=0;o<d;o++)f[o]&&b.append(f[o].name,f[o].xa);a(b)}};y(H('.//input[not(@type="submit")]|.//textarea',i.form),function(a){if("file"===a.type)dh(a,function(b,c){c!=k&&(f[b]={name:a.name,xa:c});
  76. d++;g()},o),e++;else if("checkbox"!==a.type||a.checked)f[o]={name:a.name,xa:a.value};o++},j);c=j;g()}else a(new FormData(i.form))}function dh(a,b,c){var d=new FileReader,e=a.files[0];0===a.files.length||!/^image\/(?:png|jpeg)$/.test(e.type)?b(c,e):(d.readAsArrayBuffer(e),d.onload=function(){if(13>E){var a=E?new MozBlobBuilder:new WebKitBlobBuilder;a.append(this.result);a.append(""+Math.round(1E6*Math.random()));b(c,a.getBlob(e.type))}else b(c,new Blob([this.result,""+Math.round(1E6*Math.random())],
  77. {type:e.type}))})}function vc(a){var b=a.h.a;i.B=j;i.w=b;if(ma.hasChildNodes()){if(ua(a)===ma){B(ma);xc();return}}else ma.appendChild(r("DESU_pform")),B(r("DESU_toggleReply")),B(ma),!q&&!f.p&&!f.d&&(C(p('.//input[@id="thr_id" or @name="parent"]',i.form)),ea(i.form.firstChild,[L('<input type="hidden" id="thr_id" value="'+b+'" name="'+(f.i||f.l?"resto":f.j?"thread":"parent")+'">')]));P(p("ancestor::table",a)||a,ma);!q&&0!==h.tform&&(ra.style.display="none");ma.style.display="block";i.form.style.width=
  78. "100%";i.k&&!i.J&&!f.p&&Lb(b);q||Wf(b);f.f&&"Comment"===i.m.value&&(i.m.value="");jb(i.m,">>"+a.a+Ta.replace(/(^|\n)(.)/gm,"\n>$2")+"\n")}function xc(){var a=r("DESU_toggleReply");i.B&&(i.B=s,q||(Wf(0),C(p('.//input[@id="thr_id"]',i.form))),B(a),ma.style.display="none",P(a,r("DESU_pform")))}function Wf(a){p('.//input[@id="thr_id" or @name="thread_id" or @name="replythread"]',i.form).value=a;f.Qa&&(p('.//input[@name="quickreply"]',i.form).value=a||"")}function Ff(a){t(a);i.B?(ra.style.display="",xc()):
  79. B(ra);cc(ra)}function eh(a){var b=ta(a.target).a;/Reply|Ответ/.test(a.target.textContent)||((a.stopPropagation(),t(a),!q&&0!==h.tform&&!i.B&&(ra.style.display=""),q&&2===h.pform&&!i.B)?vc(J[b]):(f.f&&"Comment"===i.m.value&&(i.m.value=""),jb(i.m,">>"+b)))}function Ha(a,b,c,d,e){var o=i.m,a=l("span",{id:a,title:b},k);2===h.txtbtn&&(a.innerHTML='<a href="#">'+e+"</a>"+("&gt;"!==e?" / ":""));3===h.txtbtn&&(a.innerHTML='<input type="button" value="'+e+'" style="font-weight: bold;" />');
  80. "&gt;"!==e?z(a,{click:function(a){var b,e,h=o.selectionStart,g=o.selectionEnd,i=o.scrollTop,l=o.value.substring(h,g).split("\n"),m=l.length;t(a);if(f.p||f.o||f.e||f.f||f.i&&c==="%%"){a="["+d+"]";b="[/"+d+"]"}else a=b=c;for(;m--;){if(a==="")for(e=l[m].trim().length;e--;)b=b+"^H";e=g+a.length+b.length;l[m].match(/^\s+/)&&(a=l[m].match(/^\s+/)[0]+a);l[m].match(/\s+$/)&&(b=b+l[m].match(/\s+$/)[0]);l[m]=a+l[m].trim()+b}o.value=o.value.substr(0,h)+l.join("\n")+o.value.substr(g);o.setSelectionRange(e,e);
  81. o.focus();o.scrollTop=i}}):z(a,{mouseover:function(){Ta=ec()},click:function(a){var b=o.selectionStart,c=o.selectionEnd;t(a);jb(o,"> "+(b===c?Ta:o.value.substring(b,c)).replace(/\n/gm,"\n> "))}});return a}function Kf(){C(r("DESU_txtPanel"));0!==h.txtbtn&&i.m&&P(f.f?v("popup",i.form):i.K,n("span",{id:"DESU_txtPanel"},[da(unescape("%u00A0")),x(2===h.txtbtn,da("[ ")),Ha("DESU_btnBold",ef[g],"**",f.f?"**":"b","B"),Ha("DESU_btnItalic",ff[g],"*",f.f?"*":"i","i"),x(!f.f,Ha("DESU_btnUnder",gf[g],"__","u",
  82. "U")),x(!f.f,Ha("DESU_btnStrike",hf[g],f.L?"^^":"","s","S")),Ha("DESU_btnSpoiler",jf[g],"%%",f.f?"%":"spoiler","%"),Ha("DESU_btnCode",kf[g],"`",f.e?"aa":f.f?"pre":"code","C"),Ha("DESU_btnQuote",lf[g],"","","&gt;"),x(2===h.txtbtn,da(" ]"))]))}function Qg(){var a=r("DESU_ctime");if(a.checked&&(!/^[+-]\d{1,2}$/.test(h.ctmofs)||!Bf()))N(mf[g],""),Y("ctime",0),a.checked=s}function Bf(){if(/[^\?\-\+sihdmny]|mm/.test(h.ctmpat))return s;Nb=h.ctmpat.replace(/\-/g,"[^<]").replace(/\+/g,"[^0-9]").replace(/([sihdny]+)/g,
  83. "($1)").replace(/[sihdny]/g,"\\d").replace(/\m/g,"([a-zA-Zа-яА-Я]+)");Xf=h.ctmpat.replace(/[\?\-\+]+/g,"").replace(/([a-z])\1+/g,"$1");return j}function fh(a){var b,c,d,e,o,f,g,i,l;return a.replace(RegExp(Nb,"g"),function(a,m,n,q,r,p,t){a=0;for(m=[m,n,q,r,p,t];6>a;a++)b=m[a],c=Xf[a],"s"===c?d=b:"i"===c?e=b:"h"===c?o=b:"d"===c?f=b:"n"===c?g=b-1:"y"===c?i=b:"m"===c&&(g=/янв|jan/i.test(b)?0:/фев|feb/i.test(b)?1:/мар|mar/i.test(b)?2:/апр|apr/i.test(b)?
  84. 3:/май|may/i.test(b)?4:/июн|jun/i.test(b)?5:/июл|jul/i.test(b)?6:/авг|aug/i.test(b)?7:/сен|sep/i.test(b)?8:/окт|oct/i.test(b)?9:/ноя|nov/i.test(b)?10:/дек|dec/i.test(b)&&11);l=new Date(2===i.length?"20"+i:i,g,f,o,e,d);l.setHours(l.getHours()+parseInt(h.ctmofs,10));return l.toString().replace(/GMT.*$/,"")})}function fa(){function a(a,c){b.push(a+" { background: url(data:image/gif;base64,"+
  85. c+") no-repeat center !important; }")}var b=[],c="background: "+(0===h.sstyle?"url( data:image/gif;base64,R0lGODlhAQAZAMQAABkqTSRDeRsxWBcoRh48axw4ZChOixs0Xi1WlihMhRkuUQwWJiBBcSpTkS9bmxAfNSdKgDJfoQ0YKRElQQ4bLRAjOgsWIg4fMQsVHgAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAAAQAZAEAFFWDETJghUAhUAM/iNElAHMpQXZIVAgA7)":"#777")+"; ",d=3<E?"":G;b.push("#DESU_cfgWindow { float: left; "+d+"border-radius: 10px 10px 0 0; width: auto; min-width: 0; padding: 0; margin: 5px 20px; overflow: hidden; }\t\t#DESU_cfgHead { padding: 3px; "+
  86. c+'color: #fff; text-align: center; font: bold 14px arial; cursor: default; }\t\t.DESU_cfgBody { min-width: 412px; min-height: 250px; padding: 11px 7px 7px; margin-top: -1px; font: 13px sans-serif; }\t\t.DESU_cfgBody input[value=">"] { width: 20px; }\t\t.DESU_cfgBody, #DESU_cfgBtns { border: 1px solid #555; border-top: none; }\t\t#DESU_cfgBtns { padding: 7px 2px 2px; }\t\t#DESU_cfgBar { height: 25px; padding-top: 3px; width: 100%; display: table; background-color: '+(0===h.sstyle?"#0c1626":"#777")+
  87. "; }\t\t.DESU_cfgTab, .DESU_cfgTab_sel { padding: 4px 9px; border: 1px solid #555; "+d+"border-radius: 4px 4px 0 0; font: bold 14px arial; text-align: center; cursor: default; }\t\t.DESU_cfgTab { background-color: rgba(0,0,0,.2); }\t\t.DESU_cfgTab:hover { background-color: rgba(99,99,99,.2); }\t\t.DESU_cfgTab_sel { border-bottom: none; }\t\t.DESU_cfgTabBack { display: table-cell !important; float: none !important; min-width: 0; padding: 0 !important; box-shadow: none !important; border: none !important; "+
  88. d+"border-radius: 4px 4px 0 0; }\t\t#DESU_spellPanel { float: right; }\t\t#DESU_spellPanel a { padding: 0 7px; text-align: center; }");b.push("#DESU_panel { "+(0===h.attach?"float: right;":"position: fixed; right: 0; bottom: 0;")+" height: 25px; z-index: 9999; "+c+d+"border-radius: 15px 0 0 0; cursor: default; }\t\t#DESU_panel a { display: inline-block; padding: 0 25px 25px 0; margin: 0 1px 0 1px; border: none; "+d+"border-radius: 5px; }\t\t#DESU_panelBtns { display: inline-block; padding: 0 3px; margin-left: 4px; border-left: 1px solid "+
  89. (0===h.sstyle?"#79c":"#ccc")+"; }\t\t#DESU_panelBtns a:hover { padding: 0 21px 21px 0 !important; border: 2px solid "+(0===h.sstyle?"#9be":"#444")+"; }\t\t#DESU_panelInfo { display: inline-block; height: 25px; vertical-align: top; padding: 2px 4px 0 6px; border-left: 1px solid "+(0===h.sstyle?"#79c":"#ccc")+"; color: #fff; font: 18px serif; }");0===h.icount&&b.push("#DESU_panelInfo { display: none; }");0===h.showmp&&b.push("#DESU_panelBtns, #DESU_panelInfo { display: none; }");c="R0lGODlhGQAZAIAAAPDw8P///yH5BAEAAAEALAAAAAAZABkAQA";
  90. a("#DESU_btnLogo",c+"I5jI+pywEPWoIIRomz3tN6K30ixZXM+HCgtjpk1rbmTNc0erHvLOt4vvj1KqnD8FQ0HIPCpbIJtB0KADs=");a("#DESU_btnSettings",c+"JAjI+pa+API0Mv1Ymz3hYuiQHHFYjcOZmlM3Jkw4aeAn7R/aL6zuu5VpH8aMJaKtZR2ZBEZnMJLM5kIqnP2csUAAA7");a("#DESU_btnHidden",c+"I5jI+pa+CeHmRHgmCp3rxvO3WhMnomUqIXl2UmuLJSNJ/2jed4Tad96JLBbsEXLPbhFRc8lU8HTRQAADs=");a("#DESU_btnFavor",c+"IzjI+py+AMjZs02ovzobzb1wDaeIkkwp3dpLEoeMbynJmzG6fYysNh3+IFWbqPb3OkKRUFADs=");a("#DESU_btnRefresh",c+"JAjI+pe+AfHmRGLkuz3rzN+1HS2JWbhWlpVIXJ+roxSpr2jedOBIu0rKjxhEFgawcCqJBFZlPJIA6d0ZH01MtRCgA7");
  91. a("#DESU_btnGoback",c+"IrjI+pmwAMm4u02gud3lzjD4biJgbd6VVPybbua61lGqIoY98ZPcvwD4QUAAA7");a("#DESU_btnGonext",c+"IrjI+pywjQonuy2iuf3lzjD4Zis0Xd6YnQyLbua61tSqJnbXcqHVLwD0QUAAA7");a("#DESU_btnGoup",c+"IsjI+pm+DvmDRw2ouzrbq9DmKcBpVfN4ZpyLYuCbgmaK7iydpw1OqZf+O9LgUAOw==");a("#DESU_btnGodown",c+"ItjI+pu+DA4ps02osznrq9DnZceIxkYILUd7bue6WhrLInLdokHq96tnI5YJoCADs=");a("#DESU_btnNewthr",c+"IyjI+pG+APQYMsWsuy3rzeLy2g05XcGJqqgmJiS63yTHtgLaPTY8Np4uO9gj0YbqM7bgoAOw==");a("#DESU_btnExpimg",c+"I9jI+pGwDn4GPL2Wep3rxXFEFel42mBE6kcYXqFqYnVc72jTPtS/KNr5OJOJMdq4diAXWvS065NNVwseehAAA7");
  92. a("#DESU_btnMaskimg",c+"JQjI+pGwD3TGxtJgezrKz7DzLYRlKj4qTqmoYuysbtgk02ZCG1Rkk53gvafq+i8QiSxTozIY7IcZJOl9PNBx1de1Sdldeslq7dJ9gsUq6QnwIAOw==");f.r&&a("#DESU_btnCatalog",c+"I2jI+pa+DhAHyRNYpltbz7j1Rixo0aCaaJOZ2SxbIwKTMxqub6zuu32wP9WsHPcFMs0XDJ5qEAADs=");c="Dw8P///wAAACH5BAEAAAIALAAAAAAZABkAQAJElI+pe2EBoxOTNYmr3bz7OwHiCDzQh6bq06QSCUhcZMCmNrfrzvf+XsF1MpjhCSainBg0AbKkFCJko6g0MSGyftwuowAAOw==";a("#DESU_btnUpdOn","R0lGODlhGQAZAJEAADL/Mv"+c);a("#DESU_btnUpdOff","R0lGODlhGQAZAJEAAP8yMv"+c);a("#DESU_btnUpdWarn",
  93. "R0lGODlhGQAZAJEAAP/0Qf"+c);b.push('a[class^="DESU_btn"] { display: inline-block; padding: 0 14px 14px 0; margin: 0 4px -1px 0 !important; }\t\tspan[class^="DESU_postPanel"] { margin-left: 4px; font-weight: bold; }');c="R0lGODlhDgAOAKIAAPDw8KCgoICAgEtLS////wAAAAAAAAAAACH5BAEAAAQALAAAAAAOAA4AQAM";a(".DESU_btnHide",c+"8SLLcS2MNQGsUMYi6uB5BKI5hFgojel5YBbDDNcmvpJLkcgLq1jcuSgPmgkUmlJgFAyqNmoEBJEatxggJADs=");a(".DESU_btnUnhide",c+"5SLLcS2ONCcCMIoYdRBVcN4Qkp4ULmWVV20ZTM1SYBJbqvXmA3jk8IMzlgtVYFtkoNCENIJdolJAAADs=");
  94. a(".DESU_btnRep",c+"4SLLcS2MNQGsUMQRRwdLbAI5kpn1kKHUWdk3AcDFmOqKcJ5AOq0srX0QWpBAlIo3MNoDInlAZIQEAOw==");a(".DESU_btnExpthr",c+"7SLLcS6MNACKLIQjKgcjCkI2DOAbYuHlnKFHWUl5dnKpfm2vd7iyUXywEk1gmnYrMlEEyUZCSdFoiJAAAOw==");a(".DESU_btnFav",c+"5SLLcS2MNQGsUl1XgRvhg+EWhQAllNG0WplLXqqIlDS7lWZvsJkm92Au2Aqg8gQFyhBxAlNCokpAAADs=");a(".DESU_btnFavSel","R0lGODlhDgAOAKIAAP/hAKCgoICAgEtLS////wAAAAAAAAAAACH5BAEAAAQALAAAAAAOAA4AQAM5SLLcS2MNQGsUl1XgRvhg+EWhQAllNG0WplLXqqIlDS7lWZvsJkm92Au2Aqg8gQFyhBxAlNCokpAAADs=");a(".DESU_btnSage",
  95. "R0lGODlhDgAOAJEAAPDw8EtLS////wAAACH5BAEAAAIALAAAAAAOAA4AQAIZVI55duDvFIKy2vluoJfrD4Yi5lWRwmhCAQA7");b.push('.DESU_btnSrc { padding: 0 16px 0 0; background: url(data:image/gif;base64,R0lGODlhDgAOAKIAAPDw8KCgoICAgEtLS////wAAAAAAAAAAACH5BAEAAAQALAAAAAAOAA4AQAM9SLLcS0MMQMesUoQg6PKbtFnDaI0a53VAml2ARcVSFC0WY6ecyy+hFajnWDVssyQtB5NhTs1mYAAhWa2EBAA7) no-repeat; cursor: pointer; }\t\ta[class^=DESU_src]:before { content: ""; padding: 0 16px 0 0; margin: 0 4px; }\t\t.DESU_srcGoogle:before { background: url(http://google.ru/favicon.ico); }\t\t.DESU_srcTineye:before { background: url(http://tineye.com/favicon.ico); }\t\t.DESU_srcIqdb:before { background: url(http://iqdb.org/favicon.ico); '+
  96. d+"background-size: cover; }\t\t.DESU_srcSaucenao:before { background: url(http://saucenao.com/favicon.ico); }");q&&b.push('form div.DESU_thread { counter-reset: i 1; }\t\tform div.DESU_thread .DESU_postPanel:after { counter-increment: i 1; content: counter(i, decimal); vertical-align: 1px; color: #4f7942; font: italic bold 13px serif; cursor: default; }\t\tform div.DESU_thread .DESU_postPanel_del:after { content: "'+nf[g]+'"; color: #727579; font: italic bold 13px serif; cursor: default; }');b.push("#DESU_txtPanel { display: "+
  97. (0===h.txtpos?"inline":"block")+"; font-weight: bold; cursor: pointer; }");1===h.txtbtn&&(b.push("#DESU_txtPanel span { padding: 4px 27px 4px 0; }"),c="R0lGODlhFwAWAJEAAPDw8GRkZAAAAP///yH5BAEAAAMALAAAAAAXABYAQAJ",a("#DESU_btnBold",c+"T3IKpq4YAoZgR0KqqnfzipIUikFWc6ZHBwbQtG4zyonW2Vkb2iYOo8Ps8ZLOV69gYEkU5yQ7YUzqhzmgsOLXWnlRIc9PleX06rnbJ/KITDqTLUAAAOw=="),a("#DESU_btnItalic",c+"K3IKpq4YAYxRCSmUhzTfx3z3c9iEHg6JnAJYYSFpvRlXcLNUg3srBmgr+RL0MzxILsYpGzyepfEIjR43t5kResUQmtdpKOIQpQwEAOw=="),a("#DESU_btnUnder",
  98. c+"V3IKpq4YAoRARzAoV3hzoDnoJNlGSWSEHw7JrEHILiVp1NlZXtKe5XiptPrFh4NVKHh9FI5NX60WIJ6ATZoVeaVnf8xSU4r7NMRYcFk6pzYRD2TIUAAA7"),a("#DESU_btnStrike",c+"S3IKpq4YAoRBR0qqqnVeD7IUaKHIecjCqmgbiu3jcfCbAjOfTZ0fmVnu8YIHW6lgUDkOkCo7Z8+2AmCiVqHTSgi6pZlrN3nJQ8TISO4cdyJWhAAA7"),a("#DESU_btnSpoiler","R0lGODlhFwAWAJEAAPDw8GRkZP///wAAACH5BAEAAAIALAAAAAAXABYAQAJBlIKpq4YAmHwxwYtzVrprXk0LhBziGZiBx44hur4kTIGsZ99fSk+mjrMAd7XerEg7xnpLIVM5JMaiFxc14WBiBQUAOw=="),a("#DESU_btnCode",c+"O3IKpq4YAoZgR0KpqnFxokH2iFm7eGCEHw7JrgI6L2F1YotloKek6iIvJAq+WkfgQinjKVLBS45CePSXzt6RaTjHmNjpNNm9aq6p4XBgKADs="),
  99. a("#DESU_btnQuote",c+"L3IKpq4YAYxRUSKguvRzkDkZfWFlicDCqmgYhuGjVO74zlnQlnL98uwqiHr5ODbDxHSE7Y490wxF90eUkepoysRxrMVaUJBzClaEAADs="));W||b.push("@"+G+"keyframes DESU_aOpen { from { "+G+"transform: translate(0,-50%) scaleY(0); opacity: 0; } to { opacity: 1; } }\t\t\t@"+G+"keyframes DESU_aClose { to { "+G+"transform: translate(0,-50%) scaleY(0); opacity: 0; } }\t\t\t@"+G+"keyframes DESU_pOpenTL { from { "+G+"transform: translate(-50%,-50%) scale(0); opacity: 0; } to { opacity: 1; } }\t\t\t@"+G+"keyframes DESU_pOpenBL { from { "+
  100. G+"transform: translate(-50%,50%) scale(0); opacity: 0; } to { opacity: 1; } }\t\t\t@"+G+"keyframes DESU_pOpenTR { from { "+G+"transform: translate(50%,-50%) scale(0); opacity: 0; } to { opacity: 1; } }\t\t\t@"+G+"keyframes DESU_pOpenBR { from { "+G+"transform: translate(50%,50%) scale(0); opacity: 0; } to { opacity: 1; } }\t\t\t@"+G+"keyframes DESU_pCloseTL { from { opacity: 1; } to { "+G+"transform: translate(-50%,-50%) scale(0); opacity: 0; } }\t\t\t@"+G+"keyframes DESU_pCloseBL { from { opacity: 1; } to { "+
  101. G+"transform: translate(-50%,50%) scale(0); opacity: 0; } }\t\t\t@"+G+"keyframes DESU_pCloseTR { from { opacity: 1; } to { "+G+"transform: translate(50%,-50%) scale(0); opacity: 0; } }\t\t\t@"+G+"keyframes DESU_pCloseBR { from { opacity: 1; } to { "+G+"transform: translate(50%,50%) scale(0); opacity: 0; } }");b.push(".DESU_preImg, .DESU_fullImg { display: block; margin: "+(f.e?0:"2px 10px")+'; border: none; outline: none; cursor: pointer; }\t\t.DESU_mp3, .DESU_ytObj { margin: 5px 20px; }\t\t.DESU_post a + .DESU_mp3, .DESU_post a + .DESU_ytObj { display: inline; }\t\t.DESU_ytLink:before { content: ""; padding: 0 16px 0 0; margin: 0 4px; background: url(http://youtube.com/favicon.ico) no-repeat; }\t\t.DESU_ytObj > img { cursor: pointer; }');
  102. 0!==h.mask&&b.push('.DESU_preImg, .DESU_ytObj, img[src*="spoiler"], img[src*="thumb"] { opacity: 0.07 !important; }\t\t\t.DESU_preImg:hover, .DESU_ytObj:hover, img[src*="spoiler"]:hover, img[src*="thumb"]:hover { opacity: 1 !important; }');b.push('.DESU_alertWait:before, .DESU_icnWait { content: " "; padding: 0 16px 16px 0; background: url( data:image/gif;base64,R0lGODlhEAAQALMMAKqooJGOhp2bk7e1rZ2bkre1rJCPhqqon8PBudDOxXd1bISCef///wAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAAMACwAAAAAEAAQAAAET5DJyYyhmAZ7sxQEs1nMsmACGJKmSaVEOLXnK1PuBADepCiMg/DQ+/2GRI8RKOxJfpTCIJNIYArS6aRajWYZCASDa41Ow+Fx2YMWOyfpTAQAIfkEBQAADAAsAAAAABAAEAAABE6QyckEoZgKe7MEQMUxhoEd6FFdQWlOqTq15SlT9VQM3rQsjMKO5/n9hANixgjc9SQ/CgKRUSgw0ynFapVmGYkEg3v1gsPibg8tfk7CnggAIfkEBQAADAAsAAAAABAAEAAABE2QycnOoZjaA/IsRWV1goCBoMiUJTW8A0XMBPZmM4Ug3hQEjN2uZygahDyP0RBMEpmTRCKzWGCkUkq1SsFOFQrG1tr9gsPc3jnco4A9EQAh+QQFAAAMACwAAAAAEAAQAAAETpDJyUqhmFqbJ0LMIA7McWDfF5LmAVApOLUvLFMmlSTdJAiM3a73+wl5HYKSEET2lBSFIhMIYKRSimFriGIZiwWD2/WCw+Jt7xxeU9qZCAAh+QQFAAAMACwAAAAAEAAQAAAETZDJyRCimFqbZ0rVxgwF9n3hSJbeSQ2rCWIkpSjddBzMfee7nQ/XCfJ+OQYAQFksMgQBxumkEKLSCfVpMDCugqyW2w18xZmuwZycdDsRACH5BAUAAAwALAAAAAAQABAAAARNkMnJUqKYWpunUtXGIAj2feFIlt5JrWybkdSydNNQMLaND7pC79YBFnY+HENHMRgyhwPGaQhQotGm00oQMLBSLYPQ9QIASrLAq5x0OxEAIfkEBQAADAAsAAAAABAAEAAABE2QycmUopham+da1cYkCfZ94UiW3kmtbJuRlGF0E4Iwto3rut6tA9wFAjiJjkIgZAYDTLNJgUIpgqyAcTgwCuACJssAdL3gpLmbpLAzEQA7) no-repeat; }\t\t#DESU_alertBox { position: fixed; right: 0; top: 0; z-index: 9999; font: 14px arial; cursor: default; }\t\t#DESU_alertBox > div { float: right; clear: both; width: auto; min-width: 0pt; padding: 10px; margin: 1px; border: 1px solid grey; white-space: pre-wrap; }\t\t#DESU_cfgEdit, #DESU_favEdit, #DESU_hidTEdit, #DESU_spellEdit { display: block; margin: 2px 0; font: 12px courier new; }\t\t#DESU_content { '+
  103. (0===h.attach?"width: 100%;":"position: fixed; right: 0; bottom: 25px; z-index: 9999; max-height: 95%; overflow: auto;")+" text-align: left; }\t\t#DESU_content > table { "+(0===h.attach?"margin: 5px 20px; font-size: 16px;":"padding: 5px 10px; border: 1px solid grey; font-size: 16px;")+' }\t\t.DESU_favData .DESU_thread { padding-left: 15px; border: 1px solid grey; }\t\t.DESU_favData a, .DESU_hidTData a { text-decoration: none; }\t\t.DESU_favHead a { color: inherit; font-weight: bold; }\t\t.DESU_favPCount { float: right; margin: 0 5px 0 15px; font: bold 16px serif; }\t\t.DESU_favPCount span { color: #4f7942; }\t\t#DESU_iframe { display: none; width: 0px; height: 0px; border: none; }\t\t.DESU_omitted { color: grey; font-style: italic; }\t\t.DESU_postNote { color: inherit; font-size: 12px; font-style: italic; }\t\t#DESU_qarea { float: none; clear: left; width: 100%; padding: 3px 0 3px 3px; margin: 2px 0; }\t\t.DESU_refHid { text-decoration: line-through !important; }\t\t.DESU_refMap { margin: 10px 4px 4px 4px; font-size: 70%; font-style: italic; }\t\t.DESU_refMap:before { content: "'+
  104. of[g]+' "; }\t\t.DESU_refMap a { text-decoration: none; }\t\t#DESU_sageBtn { cursor: pointer; }\t\t#DESU_select { padding: 0 !important; margin: 0 !important; }\t\t#DESU_select a { display: block; padding: 3px 10px; color: inherit; text-decoration: none; font: 13px arial; white-space: nowrap; }\t\t#DESU_select a:hover { background-color: '+(0===h.sstyle?"#1b345e":"#444")+"; color: #fff; }\t\t.DESU_selected { "+(W?"border-left: 4px solid red; border-right: 4px solid red; }":d+"box-shadow: 6px 0 2px -2px red, -6px 0 2px -2px red; }")+
  105. "\t\t#DESU_txtResizer { display: inline-block !important; float: none !important; padding: 5px; margin: 0 0 -"+(W?8:X?2:3)+'px -12px; border-bottom: 2px solid #555; border-right: 2px solid #444; cursor: se-resize; }\t\t.DESU_viewed, .DESU_viewed .reply { color: #888 !important; }\t\t.reply { width: auto; }\t\ta[href="#"] { text-decoration: none !important; outline: none; }\t\t.DESU_pPost { font-weight: bold; }\t\t.DESU_info { padding: 3px 6px !important; }\t\t.DESU_pView { position: absolute; width: auto; min-width: 0; z-index: 9999; opacity: 0; border: 1px solid grey; }');
  106. 2===h.delhd&&b.push("div[id^=DESU_hidThr_], div[id^=DESU_hidThr_] + div + br, div[id^=DESU_hidThr_] + div + br + hr { display: none; }");0!==h.noname&&b.push(".commentpostername, .postername, .postertrip { display: none; }");0!==h.ospoil&&b.push(".spoiler { background: #888 !important; color: #ccc !important; }");0!==h.noscrl&&b.push("blockquote { max-height: 100% !important; overflow: visible !important; }");0!==h.norule&&b.push((f.l?".chui":".rules, #rules, #rules_row")+" { display: none; }");f.p&&
  107. b.push(".extrabtns, .ui-resizable-handle, .DESU_oppost > a[onclick]:not([target]) { display: none !important; }\t\t\t.ui-wrapper { display: inline-block; width: auto !important; height: auto !important; padding: 0 !important; }");f.d&&b.push("#hideinfotd, .reply_ { display: none; }");f.o&&b.push('.postpanel, .highslide, div[id^="post_video"], a[onclick^="window.open"] { display: none; }\t\t\ta[id^="DESU_"] { -moz-transition: none; -o-transition: none; -webkit-transition: none; transition: none; }');
  108. f.j&&b.push("form, form table { margin: 0; }");f.r&&b.push('#newposts_get, #postform nobr, .DESU_thread span[style="float: right;"] { display: none; }\t\t\t.voiceplay { float: none; }');f.A&&b.push(".reply { background-color: "+vf(K("body"))+"; }");f.l&&b.push("#DESU_content, #DESU_cfgBody { font-family: arial; }\t\t\t.ftbl { width: auto; margin: 0; }\t\t\t.reply { background: #f0e0d6; }");f.e&&b.push('img[id^="translate_button"]'+(Qa?', div[id^="disclaimer"]':"")+' { display: none !important; }\t\t\tdiv[id^="Wz"] { z-index: 10000 !important; }\t\t\tdiv[id^="DESU_hidThr_"] { margin-bottom: '+
  109. (!q?"7":"2")+"px; }\t\t\t.file_reply + .DESU_ytObj { float: left; margin: 5px 20px 5px 5px; }\t\t\t.DESU_ytObj + div:not(.file_reply) { clear: both; }");f.f&&b.push('.opqrbtn, .qrbtn, .ignorebtn, .hidethread, noscript { display: none; }\t\t\tdiv[id^="DESU_hidThr_"] { margin: 1em 0; }');r("DESU_css")?r("DESU_css").textContent=b.join(" "):(m.head.appendChild(l("style",{id:"DESU_css",type:"text/css",text:b.join(" ")},k)),X&&B(w))}function S(a){for(var b,c=0;b=O[c++];)a(b)}function ta(a){return p('ancestor::*[contains(@class," DESU_post") or contains(@class," DESU_oppost")]',
  110. a)}function Hb(a){return H('.//img[@class="thumb" or contains(@src,"thumb") or contains(@src,"/spoiler")]',a)}function Yf(a){return(a.innerText||a.innerHTML.replace(/<\/?(?:br|p|li)[^>]*?>/gi,"\n").replace(/<[^>]+?>/g,"").replace(/&gt;/g,">").replace(/&lt;/g,"<")).trim()}function yc(a){return K("em",a)||v("filesize",a)||v("fileinfo",a)}function Nf(a){var a=yc(a).textContent.match(/\d+[\.\d\s|m|k|к]*[b|б]/i)[0],b=parseFloat(a.match(/[\d|\.]+/));/MB/.test(a)&&(b*=1E3);/\d[\s]*B/.test(a)&&
  111. (b=(b/1E3).toFixed(2));return+b}function sc(a){return(a=(a=yc(a))?a.textContent.match(/\d+[x×]\d+/):s)?a[0].split(/[x×]/):[k,k]}function Zf(a){var b;return!i.v?s:f.o?R('.//span[@class="postername" and contains(text(),"Heaven")]',a,m):f.d?R('.//img[@alt="Сажа"]',a,m):f.e?v("sage",a):f.L?R('.//span[@class="filetitle" and contains(text(),"'+unescape("%u21E9")+'")]',a,m):(b=p('.//a[starts-with(@href,"mailto:") or @href="sage"]',a))&&/sage/i.test(b.href)}function zc(a){var b,
  112. c,d=f.qa(a);a.n=(!a.g?Ac:tb).cloneNode(j);b=a.n.firstChild;z(b,{click:function(b){t(b);qa(a,0!==a.b?0:1);za()},mouseover:function(){Vg(a)},mouseout:Oa});if(i.s||wa)b=b.nextSibling,z(b,{click:function(b){t(b);vc(a)},mouseover:function(){Ta=ec()}});if(a.g&&(q||(b=b.nextSibling,z(b,{click:function(b){t(b);rb(a,1,k)},mouseover:function(){Xg(a)},mouseout:Oa})),b=b.nextSibling,z(b,{click:function(b){t(b);Df(a,this)}}),c=f.host,A[c]&&A[c][u]&&A[c][u][a.a]))b.className="DESU_btnFavSel",A[c][u][a.a].W=a.h.I,
  113. M("DESU_Favorites",T(A));Zf(a)&&a.n.appendChild(l("a",{Class:"DESU_btnSage",title:"SAGE",href:"#"},{click:function(a){t(a);Ra("#sage")}}));P(d,a.n);i.s&&0!==h.insnum&&((f.r||f.pa)&&y(H(".//a",d),function(a){oa(a,"onclick")},s),z(d,{click:eh}));0!==h.viewhd&&z(d,{mouseover:function(){a.b===0&&Ba(a,1)},mouseout:function(){a.b===0&&Ba(a,0)}})}function gh(a,b){GM_xmlhttpRequest({method:"GET",url:"http://www.youtube.com/watch?v="+a,onload:function(a){var d,e,o,f;d="%2C";var g="%26",h="%3D",i=[];if(e=a.responseText.match(/\"url_encoded_fmt_stream_map\":\s*\"([^\"]+)\"/)){e=
  114. e[1];0<=e.indexOf(",")&&(d=",",g=0<=e.indexOf("&")?"&":"\&",h="=");a=0;d=e.split(d);for(e=d.length;a<e;a++)o=d[a].split(g),5>o.length||(f=o[0].split(h),2>f.length||(f=unescape(unescape(f[1])).replace(/\\\//g,"/").replace(/\&/g,"&"),o=o[4].split(h),2>o.length||0===f.toLowerCase().indexOf("http")&&(i[o[1]]=f)));b(i)}else b(s)}})}function $f(a,b,c){var d=' width="'+h.ywidth+'" height="'+h.yheigh+'" />';a.innerHTML=1===h.yptype?'<iframe type="text/html" src="http://www.youtube.com/embed/'+b+
  115. (0!==h.yhdvid?"?hd=1&":"?")+"start="+c+'&html5=1" frameborder="0"'+d:'<embed type="application/x-shockwave-flash" src="http://www.youtube.com/v/'+b+(0!==h.yhdvid?"?hd=1&":"?")+"start="+c+'" wmode="transparent"'+d}function Bc(a,b){var c=b[1],d=(b[2]?3600*b[2]:0)+(b[3]?60*b[3]:0)+(b[4]?b[4]:0);2!==h.yptype?$f(a,c,d):gh(c,function(b){(b=b?0===h.yhdvid?b[43]:b[45]||b[44]||b[43]:s)?(a.innerHTML='<video poster="http://i.ytimg.com/vi/'+c+'/0.jpg" controls="controls" preload="none" src="'+b+(E&&14>E?"&"+
  116. Math.random():"")+'" width="'+h.ywidth+'" height="'+h.yheigh+'" />',0!==d&&z(p(".//video",a),{loadedmetadata:function(){this.currentTime=d}})):$f(a,c,d)})}function ag(a,b){a.innerHTML='<a href="http://www.youtube.com/watch?v='+b[1]+'" target="_blank"><img src="http://i.ytimg.com/vi/'+b[1]+'/0.jpg" width="360" height="270" /></a>';z(a.firstChild,{click:function(a){4!==h.ytube&&(t(a),Bc(U(this),b))}})}function Cc(){return/https?:\/\/(?:www\.)?youtu(?:be\.com\/(?:watch\?.*?v=|v\/|embed\/)|\.be\/)([^&#?]+).*?(?:t(?:ime)?=(?:(\d+)h)?(?:(\d+)m)?(?:(\d+)s)?)?$/}
  117. function hh(a){var b=this.href.match(Cc()),c=v("DESU_ytObj",ta(this));t(a);R('node()[contains(@src,"'+b[1]+'")]|video[contains(@poster,"'+b[1]+'")]',c,m)?c.innerHTML="":2<h.ytube&&!R('a[contains(@href,"'+b[1]+'")]',c,m)?ag(c,b):Bc(c,b)}function Dc(a){0!==h.ytube&&(y(H(".//embed",a||w),function(b){var c,d=b.src.match(Cc());if(d){c="http://www.youtube.com/watch?v="+d[1];if(d[4]||d[3]||d[2])c+="#t="+(d[2]?d[2]+"h":"")+(d[3]?d[3]+"m":"")+(d[4]?d[4]+"s":"");f.G(a||ta(b)).appendChild(L('<p><a href="'+c+
  118. '">'+c+"</a></p>"));C(U(b))}},s),y(H('.//a[contains(@href,"youtu")]',a||w),function(b){var c,d,e,o=b.href.match(Cc());if(o){c=a||ta(b);if(!(d=v("DESU_ytObj",c)))d=l("div",{Class:"DESU_ytObj"},k),2<h.ytube?ag(d,o):2===h.ytube&&Bc(d,o),e=c.t||f.G(c),f.e?P(p('div[@class="file_thread" or @class="file_reply"][last()]',c)||v("postheader",c),d):e?ea(e,[d]):c.appendChild(d);b.className="DESU_ytLink";z(b,{click:hh});!W&&0!==h.ytitle&&GM_xmlhttpRequest({method:"GET",url:"https://gdata.youtube.com/feeds/api/videos/"+
  119. o[1]+"?alt=json&fields=title/text(),yt:noembed,app:control/yt:state/@reasonCode",onload:function(a){try{b.textContent=JSON.parse(a.responseText).entry.title.$t,ih(c,b.textContent)}catch(d){}}})}},j))}function ih(a,b){for(var c,d=0,e=function(a){return a?ub:function(){}}(1===h.spells);c=bb[d++];)if(ya(c).test(b)){e(a,"#video "+c);a.ga=1;Ec&&clearTimeout(Ec);Ec=setTimeout(vb,500);break}}function bg(){S(function(a){1===a.ga&&(wb(a),a.ga=0)})}function cg(){0!==h.ytitle&&y(H('.//a[contains(@href,"youtu")]',
  120. w),function(a){for(var b=0,c;c=bb[b++];)if(ya(c).test(a.textContent)){a=ta(a);ub(a,"#video "+c);a.ga=1;break}},s)}function Fc(a){0!==h.mp3&&y(H('.//a[contains(@href,".mp3")]',a||w),function(b){var c,d,e;if("_blank"===b.target||"nofollow"===b.rel)c=a||ta(b),d=v("DESU_mp3",c),d||(d=l("div",{Class:"DESU_mp3"},k),(e=c.t||f.G(c))?ea(e,[d]):c.appendChild(d)),R('.//object[contains(@FlashVars,"'+b.href+'")]',d,m)||Cb(d,d.innerHTML+'<object data="http://junglebook2007.narod.ru/audio/player.swf" type="application/x-shockwave-flash" wmode="transparent" width="220" height="16"  FlashVars="playerID=1&amp;bg=0x808080&amp;leftbg=0xB3B3B3&amp;lefticon=0x000000&amp;rightbg=0x808080&amp;rightbghover=0x999999&amp;rightcon=0x000000&amp;righticonhover=0xffffff&amp;text=0xffffff&amp;slider=0x222222&amp;track=0xf5f5dc&amp;border=0x666666&amp;loader=0x7fc7ff&amp;loop=yes&amp;autostart=no&amp;soundFile='+
  121. b.href+'"></object><br>')},j)}function jh(a){function b(){uf(m.body,{Na:c,Oa:b})}function c(b){a.style.left=b.clientX-a.Fa+"px";a.style.top=b.clientY-a.Ga+"px";a.ra=j}z(a,{mousedown:function(d){t(d);a.Fa=d.clientX-parseInt(a.style.left,10);a.Ga=d.clientY-parseInt(a.style.top,10);z(m.body,{mousemove:c,mouseup:b})}})}function kh(a){var b=a.clientX,c=a.clientY,d=parseInt(this.style.left,10),e=parseInt(this.style.top,10),f=this.width,g=this.height,h=W||X?a.wheelDelta:-a.detail,i=parseInt(this.width*(0<
  122. h?1.25:0.8),10),h=parseInt(this.height*(0<h?1.25:0.8),10);t(a);this.width=i;this.height=h;this.style.left=parseInt(b-i/f*(b-d),10)+"px";this.style.top=parseInt(c-h/g*(c-e),10)+"px"}function dg(a,b,c){var d="",e="",f=+b[0],b=+b[1],g=m.body.clientWidth,i=window.innerHeight,F=v("DESU_fullImg",a);F&&c||!F&&c===s||((1===h.expimg&&!R('img[contains(@style,"fixed")]',a,m)&&B(K("img",a)),F)?F.ra?F.ra=s:(B(F),setTimeout(function(){C(F)},0)):(F=l("img",k,k),2===h.expimg&&(C(v("DESU_fullImg")),F.addEventListener(W||
  123. X?"mousewheel":"DOMMouseScroll",kh,s),jh(F)),1===h.expimg&&(g-=ia(a).left+25),f&&b&&(d=f<g?f:g,e=d*b/f,2===h.expimg&&e>i&&(e=i,d=e*f/b)),a.appendChild(ha(F,{Class:"DESU_fullImg",src:a.href,alt:a.href,width:d,height:e,style:2===h.expimg?"position: fixed; z-index: 5000; border: 1px solid black; left: "+parseInt((g-d)/2,10)+"px; top: "+parseInt((i-e)/2,10)+"px;":""}))))}function Gc(a,b){0!==h.addimg&&y(H(f.Aa+'//a[contains(@href,".jpg") or contains(@href,".png") or contains(@href,".gif")]',b),function(b){var d;
  124. R("ancestor::small",b,m)||(d=b.cloneNode(s),d.target="_blank",B(d),d.appendChild(l("img",{Class:"DESU_preImg",src:d.href,alt:d.href},{load:function(){var a,b;B(d);a=this.width;b=this.height;this.title=a+"x"+b;200>=a&&200>=b||(a/=b,this.width=1>a?200*a:200,this.height=1>a?200:200/a)}})),z(d,{click:function(a){0!==h.expimg&&1!==a.button&&(t(a),dg(this,this.firstChild.title.split("x"),k))}}),ea(b,[d,x(a,l("br",k,k))]))},s)}function Hc(a){h.imgsrc&&y(H((f.l?".":f.j?'.//p[@class="fileinfo"]':f.d?'.//div[starts-with(@class,"fileinfo")]':
  125. './/span[@class="'+(f.e?"filename":"filesize")+'"]')+'//a[contains(@href,".jpg") or contains(@href,".png") or contains(@href,".gif")]'+(f.r?"[1]":""),a),function(a){/google\.|tineye\.com|iqdb\.org/.test(a.href)?C(a):0<=a.innerHTML.indexOf("<")||ea(a,[l("a",{Class:"DESU_btnSrc"},{mouseover:function(){var c=escape(a.href);pb(this,'<a class="DESU_srcIqdb" href="http://iqdb.org/?url='+c+'" target="_blank">'+gb[g]+'IQDB</a><a class="DESU_srcTineye" href="http://tineye.com/search/?url='+c+'" target="_blank">'+
  126. gb[g]+'TinEye</a><a class="DESU_srcGoogle" href="http://google.ru/searchbyimage?image_url='+c+'" target="_blank">'+gb[g]+'Google</a><a class="DESU_srcSaucenao" href="http://saucenao.com/search.php?url='+c+'" target="_blank">'+gb[g]+"SauceNAO</a>")},mouseout:Oa})])},s)}function eg(a,b,c){/\.jpg|\.jpeg|\.png|.\gif/i.test(a.href)&&dg(a,sc(1<b.z.snapshotLength?p("ancestor::node()[self::div or self::td][1]",a):b),c)}function Gf(a,b){y(a.z,function(c){eg(p("ancestor::a[1]",c),a,b)},s)}function Ic(a){y(a.z,
  127. function(b){var c=p("ancestor::a[1]",b);c&&(oa(c,"onclick"),oa(b,"onclick"),f.na&&oa(U(b),"onclick"),c.addEventListener("click",function(b){0!==h.expimg&&1!==b.button&&(t(b),eg(this,a,k))},s))},s)}function fg(a,b){Da[b]?0>Da[b].indexOf(a)&&Da[b].push(a):Da[b]=[a]}function gg(a,b,c){var d;if("object"===typeof Da[b]&&a)if(d=v("DESU_refMap",a),b=Da[b].join(",").replace(/(\d+)/g,' <a href="#$1">&gt;&gt;$1</a>'),d)Sa(Cb(d,b));else if(a=a.t||f.G(a))d=L('<div class="DESU_refMap">'+b+"</div>"),c&&Sa(d),P(a,
  128. d)}function hg(a,b){var c,d;if(2===h.navig)for(c in y(H('.//a[starts-with(text(),">>")]',a?a.t:w),function(b){/\//.test(b.textContent)||(c=(b.hash||b.textContent||b.pathname.substring(b.pathname.lastIndexOf("/"))).match(/\d+/)[0],d=a||ta(b),J[c]&&d&&fg(d.a,c))},j),Da)gg(J[c],c,b)}function ig(a,b,c){var d=b.H={parent:k,D:k,Q:k,N:b},a=a.H;w.appendChild(b);jg(c,b,s);z(b,{mouseover:function(){qb(this.H,s)},mouseout:kg});ga&&a?(a.D&&Ob(a.D),d.parent=a,ga.Q=a.D=d):(Ob(ga),ga=d);qb(d,s);lh(b);return d}function kg(){ga&&
  129. qb(ga.Q||ga,j)}function qb(a,b){if(a){clearTimeout(lg);do a.oa=b;while(a=a.parent);lg=setTimeout(function(){for(a=ga;a;a=a.D)if(a.oa)return Ob(a)},+h.navdel)}}function Ob(a){var b;if(a){b=ga.Q||ga;a.parent?(a.parent.D=k,ga.Q=a.parent):ga=k;do clearTimeout(b.N.La),mh(b.N);while((b=b.parent)!==a.parent&&b)}}function Jc(a,b){var c;a.aa?c=setInterval(function(){a.aa||(b(),clearInterval(c))},20):b()}function lh(a){0===h.animp||!(X||4<E)?a.style.opacity=1:Jc(a,function(){a.addEventListener(E?"animationend":
  130. "webkitAnimationEnd",function(){a.style.opacity=1},s);a.style[(E?"Moz":"webkit")+"Animation"]=(a.V?"DESU_pOpenT":"DESU_pOpenB")+(a.U?"L":"R")+" 0.2s 1 ease-out"})}function mh(a){0===h.animp||!(X||4<E)?C(a):Jc(a,function(){a.addEventListener(E?"animationend":"webkitAnimationEnd",function(){a.style.opacity=0;C(a)},s);a.style[(E?"Moz":"webkit")+"Animation"]=(a.V?"DESU_pCloseT":"DESU_pCloseB")+(a.U?"L":"R")+" 0.2s 1 ease-in"})}function jg(a,b,c){var d=m.body.clientWidth,e=window.innerHeight,g=ia(a.target).left+
  131. a.target.offsetWidth/2,i=ia(a.target).top,Q,F=a.target.getBoundingClientRect().top+a.target.offsetHeight,n="auto",q;g<d/2?(Q=g,b.U=j,Q+b.offsetWidth>=d-10&&(n=d-Q-10+"px")):(Q=g-b.offsetWidth,b.U=s,10>Q&&(Q="10",n=g-10+"px"));Q+="px";b.style.width=n;q=b.offsetHeight;F+q<e-10||10>F-q?(F=i+a.target.offsetHeight+"px",b.V=j):(F=i-q+"px",b.V=s);0===h.animp||!c||f.Y?(b.style.left=Q,b.style.top=F):Jc(b,function(){if(!(Q===b.style.left&&F===b.style.top)){b.aa=j;q="DESU_mCSS"+Math.round(Math.random()*1E3);
  132. m.head.appendChild(l("style",{id:q,type:"text/css",text:"@"+G+"keyframes "+q+" { to { left: "+Q+"; top: "+F+"; } }"},k));b.addEventListener(E?"animationend":"webkitAnimationEnd",function(){b.style.left=Q;b.style.top=F;b.aa=s;C(r(q))},s);b.style[(E?"Moz":"webkit")+"Animation"]=q+" "+Math.log(Math.sqrt(Math.pow(+Q.substring(0,Q.length-2)-+b.style.left.substring(0,b.style.left.length-2),2)+Math.pow(+F.substring(0,F.length-2)-+b.style.top.substring(0,b.style.top.length-2),2)))/22+"s 1 ease-in-out"}})}
  133. function mg(a,b){(v("DESU_pPost",a)||{}).className="";(p('.//a[starts-with(text(),">>") and contains(text(),"'+b+'")]',a)||{}).className="DESU_pPost"}function Pb(a,b,c,d,e){if(!a)return e||(ng[b]=j),ig(c,l("div",{Class:f.q+" DESU_info DESU_pView",html:e||ac[g]},k),d);e=a.cloneNode(j);0===a.b&&Ba(e,1);e.className+=" DESU_post DESU_pView "+f.q;f.A&&(e.firstElementChild.style.cssText="max-width: 100%; margin: 0;",C(v("doubledash",e)));e.a=b;va('.//img[@class="DESU_preImg"]/ancestor::a|.//img[@class="DESU_fullImg"]|.//div[@class="DESU_refMap"'+
  134. (2!==h.ytube?'or @class="DESU_ytObj"':"")+']|.//span[starts-with(@class,"DESU_postPanel")]|.//a[@class="DESU_btnSrc"]',e,m);zc(e);J[b]||Fc(e);(!J[b]||2!==h.ytube)&&Dc(e);e.z=Hb(e);y(e.z,function(a){a.style.display=""},s);Ic(e);Gc(s,e);Hc(e);2===h.navig&&(gg(e,b,k),mg(e,c.a));Sa(e);0!==h.navmrk&&(e.La=setTimeout(function(){Ef(b);var a;if(xb){a=(sessionStorage.ya||"").split(",");a.push(b);sessionStorage.ya=a}},3E3));return ig(c,e,d)}function nh(a){var b=this.pathname.match(/^\/*(.*?)\/*(?:res|thread-|$)/)[1],
  135. c=(this.pathname.match(/[^\/]+\/[^\d]*(\d+)/)||[,0])[1],d=(this.hash.match(/\d+/)||[c])[0],e=J[d]||og(b,d),f=ta(a.target),i=f.H?f.H.D:ga;0===h.navig||/^>>$/.test(this.textContent)||1===h.navdis&&e&&0===e.b||(setTimeout(function(){C(p('.//div[starts-with(@id,"preview") or starts-with(@id,"pstprev")]'))},0),ng[d]?Pb(k,d,f,a,ac[g]):i&&i.N.a===d?(qb(i,s),Ob(i.D),jg(a,i.N,j),mg(i.N,f.a)):e?Pb(e,d,f,a,""):(i=Pb(k,d,f,a,'<span class="DESU_icnWait">&nbsp;</span>'+Ea[g]),sa(k,b,c,function(c){i&&!i.oa&&Pb(og(b,
  136. d),d,f,a,c)})))}function Sa(a){function b(){0!==h.navig&&y(H('.//a[starts-with(text(),">>")]',a),function(a){f.j?(ea(a,[c=a.cloneNode(j)]),C(a),a=c):(oa(a,"onmouseover"),oa(a,"onmouseout"));z(a,{mouseover:nh,mouseout:kg})},s)}var c;f.j?setTimeout(b,500):b()}function oh(a,b,c){var d,e,g;!i.s&&wa&&(i=pg(p(".//textarea/ancestor::form[1]",U(L(a)))),ea(r("DESU_pform").firstChild,[i.form]));d=wf(f.d?'<html><head></head><body><div id="'+c+'" class="thread">'+a+"</div></body></html>":a);qg(!f.d?La(f.za,d,
  137. d):d,d,function(a){e=a;if(!Z[b]){Z[b]={};Wa[b]={}}Z[b][a.a]=[]},function(a,c){c===0&&f.p&&v("omittedposts",e)&&a.appendChild(aa);g=a.a;Z[b][e.a].push(g);Wa[b][g]=a;y(ib(f.Aa+'//a[starts-with(text(),">>")]',a,d),function(a){fg(g,a.textContent.match(/\d+/)[0])},s)})}function sa(a,b,c,d){a||(a=f.d?"/api/thread/expand/"+b+"/"+c:"/"+(""===b?"":b+"/")+rg+c+(f.ha?".html":Pa));GM_xmlhttpRequest({method:"GET",url:a,onreadystatechange:function(a){4===a.readyState&&(200===a.status?(oh(a.responseText,b,c),d()):
  138. d(0===a.status?hb[g]:"HTTP ["+a.status+"] "+a.statusText))}})}function sg(a){tg(a);hg(a,j);Sa(a);Fc(a);Dc(a);Gc(j,a);Hc(a);0===a.b&&qa(a,0);1===h.delhd&&Kc(a);Ib&&Gf(a,s)}function og(a,b){var c;Qb[a]||(Qb[a]={});if(!(c=Qb[a][b]))Qb[a][b]=c=Lc(a,b);return c}function Lc(a,b){var c;return Wa[a]&&Wa[a][b]?(c=m.importNode(Wa[a][b],j),c.a=b,ug(c),c):s}function Rb(a,b,c,d,e){var g=Z[b][c][d],i=Lc(b,g);vg(i,d);i.b=lc(g);i.ba=e;a.I=Z[b][c].length;i.h=a;Ia?(c=v("DESU_post",b=Ia.cloneNode(j)))?c.parentNode.replaceChild(i,
  139. c):b=i:b=i;a.appendChild(b);zc(i);0!==h.expimg&&Ic(i);sg(i);0!==h.expost&&!q&&wg(i);f.j&&a.appendChild(l("br",k,k))}function xg(a,b,c){sa(k,u,b,function(b){b||(C(c),a.t=Cb(a.t,f.G(Lc(u,a.a)).innerHTML),a.u=Yf(a.t),C(v("DESU_btnSrc",a)),sg(a))})}function wg(a){var b,c;if(0!==a.b&&(b=p(f.e?'.//p[starts-with(@id,"post_truncated")]':'.//div[@class="abbrev"]|.//span[@class="abbr" or @class="omittedposts" or @class="shortened"]',a))&&/long|full comment|gekürzt|слишком|длинн|мног/i.test(b.textContent))c=
  140. a.h.a,1===h.expost?xg(a,c,b):z(b,{click:function(b){t(b);xg(a,c,b.target)}})}function yg(a,b,c,d,e){var f=Z[b][c].length;1!==d&&(d=f-d);1>d&&(d=1);for(1<d&&a.appendChild(l("div",{Class:"DESU_omitted",text:pf[g]+(d-1)},k));d<f;d++)Rb(a,b,c,d,e);za();la(r("DESU_alertWait"))}function rb(a,b,c){N(Ea[g],"Wait");sa(k,u,a.a,function(d){d?(la(r("DESU_alertWait")),N(d,"")):(Eb(a.t),Eb(a),f.e&&C(v("omittedinfo",a)),yg(a.h,u,a.a,b,s),cc(J[a.a]),(5<b||1===b)&&U(a).appendChild(L('<span>[<a href="#">'+qf[g]+"</a>]</span>",
  141. {click:function(b){t(b);rb(a,5,k)}})));c&&c()})}function Tg(a){var b=U(this,2),c=p('.//div[contains(@class," DESU_thread")]',b),b=b.id.substr(13).split("|"),d=x(b[0]!==f.host,ua(this).href),e=b[1],h=b[2];t(a);"none"!==c.style.display?(B(c),C(v("DESU_favIframe"))):J[h]&&J[h].offsetHeight?cc(J[h]):d?(c.appendChild(l("iframe",{name:"DESU_favIframe",Class:"DESU_favIframe",src:d,style:"border: none; width: "+(document.body.clientWidth-65)+"px; height: "+(window.innerHeight-100)+"px;"},k)),B(c)):(N(Ea[g],
  142. "Wait"),sa(k,e,h,function(a){a?(la(r("DESU_alertWait")),N(a,"")):(Rb(c,e,h,0,j),yg(c,e,h,5,j),p('.//tr[@id="DESU_favData_'+f.host+"|"+e+"|"+h+'"]//span[@class="DESU_favPCount"]/span').textContent=c.I,M("DESU_Favorites",T(A)),B(c))}))}function zg(a){var b=0;if(a)return s;S(function(a){0>Z[u][q].indexOf(a.a)&&(a.ba||(a.n.className+="_del",a.ba=j),b++)});return b}function Mc(a){q&&3!==h.updthr&&(p('.//a[starts-with(@id,"DESU_btnUpd")]').id="DESU_btnUpd"+a)}function Hf(){Mc("Off");clearInterval(nb);nb=
  143. aa}function Nc(a,b){var c,d;if(a)a!==hb[g]?(N(rf[g]+q+"): \n"+a,""),m.title="{"+a.match(/(?:\[)(\d+)(?:\])/)[1]+"} "+m.title,Hf()):(N(hb[g],"Warn"),Mc("Warn"));else if(3!==h.updthr){Mc("On");la(r("DESU_alertWarn"));c=Z[u][q].length-O.length+b;if(1===h.updthr){if("focused"===m.body.className)return;(d=m.title.match(/^\[(\d+)\]/))&&(c+=+d[1])}0!==h.updfav&&Ca&&(clearInterval(wc),0<c&&(wc=setInterval(function(){var a=K("head"),b=R('.//link[@href="'+Ca+'"]',a,m)?"data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII=":
  144. Ca;va('.//link[@rel="shortcut icon"]',a,m);a.appendChild(l("link",{href:b,rel:"shortcut icon"},k))},800)));m.title=(0<c?" ["+c+"] ":"")+sb}}function Mb(a,b){a&&N(Ea[g],"Wait");sa(k,u,q,function(c){var d,e,f=zg(c);a||Nc(c,f);if(!c){d=O.length-f;for(e=Z[u][q].length;d<e;d++)Rb(p('.//div[contains(@class," DESU_thread")]',w),u,q,d,s);za();r("DESU_panelInfo").firstChild.textContent=e+"/"+Hb(w).snapshotLength}a&&(la(r("DESU_alertWait")),Nc(c,f));b&&b()})}function If(){var a=h.updint,a=6E4*(0===a?0.5:1===
  145. a?1:2===a?1.5:3===a?2:4===a?5:5===a?15:30);1===h.updthr&&(nb=setInterval(function(){Mb(s,k)},a));2===h.updthr&&(nb=setInterval(function(){sa(k,u,q,function(a){Nc(a,zg(a))})},a))}function Yg(a){var b,c;N(Ea[g],"Wait");w.innerHTML="";b=0;O=[];Da=[];Wa[u]={};for(Z[u]={};b<a;b++)ca(w,[l("center",{text:b+sf[g],style:"font-size: 2em;"},k),l("hr",k,k),l("div",{id:"DESU_page"+b},k)]),c="/"+(""===u?"":u+"/")+(0<b?b+Pa:f.d?"index"+Pa:""),sa(c,u,k,function(a,b){return function(){var c,f,g,h,i=r("DESU_page"+
  146. a);for(c in Z[u]){f=l("div",{Class:" DESU_thread",id:"thread-"+c},k);ca(i,[f,l("br",{clear:"left"},k),l("hr",k,k)]);g=0;for(h=Z[u][c].length;g<h;g++)Rb(f,u,c,g,s);delete Z[u][c]}za();nc();a===b-1&&la(r("DESU_alertWait"))}}(b,a))}function tg(a){Ag(a);0!==h.spells&&Oc(a)}function Ba(a,b){a.g?a.h.style.display=0===b?"none":"":y(H("following-sibling::*",f.e?v("postheader",a):f.j?v("intro",a):f.f?v("replyheader",a):v("DESU_postPanel",a)),function(a){a.style.display=0===b?"none":""},s)}function Pc(a,b,
  147. c){var d,e=a.a;if(a.g){if(d=r("DESU_hidThr_"+e),1===b&&d&&(C(d),Cf(a,1)),0===b&&!d)d=L('<div class="'+f.q+'" id="DESU_hidThr_'+a.a+'">'+tf[g]+' <a href="#">№'+e+"</a><i> ("+(""!==c?"autohide: "+c:a.h.M)+")</i></div>"),z(K("a",d),{click:function(b){t(b);qa(a,a.b!==0?0:1);za()}}),ea(U(a),[d]),Cf(a,0),a.h.b=b}else 2===h.delhd&&(a.style.display=0===b?"none":"");ba?q&&(ka[a.O]=b):(ka[u+e]=b,mc[u+e]=(new Date).getTime()+ic);a.b=b}function qa(a,b){a.n.firstChild.className=0===b?"DESU_btnUnhide":"DESU_btnHide";
  148. Ba(a,b);Pc(a,b,"");0!==h.navhid&&setTimeout(function(){y(H('.//a[contains(@href,"#'+a.a+'")]',w),function(a){a.className=0===b?"DESU_refHid":""},s)},0)}function ub(a,b){a.ca||(0!==a.b&&a.n.appendChild(l("a",{Class:"DESU_postNote",text:" autohide: "+b+" ",href:"#"},{click:function(a){t(a);C(this)}})),Pc(a,0,b))}function wb(a){Bg(a)||(qa(a,1),C(v("DESU_postNote",a)),Ag(a))}function vb(){S(function(a){0===a.b&&qa(a,0)});za()}function Kc(a){var b,c;if(!(0!==a.b||a.g))if(b=Fa(a))if(/merged/.test(b.id)||
  149. (b=l("span",{id:"DESU_merged_"+a.a,style:"display: none;"},k),ea(a,[l("span",{style:"display: ; cursor: pointer;"},{click:function(b){var c=r("DESU_merged_"+a.a);t(b);Fa(c).innerHTML=unescape("none"===c.style.display?"%u25BC":"%u25B2")+'[<i><a href="#">'+eb[g]+"</a>:&nbsp;"+c.childNodes.length+"</i>]";B(c)}}),b])),b.appendChild(a),c=ua(a),!c||1===lc(c.a))Fa(b).innerHTML=unescape("%u25B2")+'[<i><a href="#">'+eb[g]+"</a>:&nbsp;"+b.childNodes.length+"</i>]"}function Pg(a,b){(2===a||2===b)&&S(function(a){0===
  150. a.b&&!a.g&&B(a)});1===b&&y(H('.//span[starts-with(@id,"DESU_merged")]'),function(a){for(var b=a.childNodes,e=b.length;e--;)P(a,b[e]);C(Fa(a));C(a)},s);1===a&&S(Kc);Y("delhd",a);fa()}function Cg(){return{T:[],exp:[],X:[],Z:[],$:[],name:[],S:[],ia:[],va:s,ta:s,sa:s,ja:s}}function yf(){var a,b,c,d,e;Sb=Cg();Qc=Cg();Ja=[];cb=[];db=[];ab=[];bb=[];for(a=0;b=Na[a++];){e=Sb;b=b.toString();if(/^#(?:[^\s]+\/)?(?:\d+)? /.test(b))if(c=b.match(/^#([^\/]+)\//),d=b.match(/(\d+)\s/),q&&c&&d&&c[1]===u&&d[1]===q||
  151. q&&!c&&d&&d[1]===q||c&&!d&&c[1]===u)b=b.replace(/^#[^\s]+ /,"");else continue;if(/^#op /.test(b))if(q)continue;else e=Qc,b=b.substr(4);if(/^#/.test(b)){c=b.split(" ")[0];b=b.replace(/^#[^\s]+ /,"");if(q&&("#skip"===c||"#num"===c)){b=b.split(", ");for(d=b.length;d--;)0>b[d].indexOf("-")&&(b[d]+="-"+b[d]),"#num"===c?db.push(b[d]):cb.push(b[d])}"#rep"===c?Ja.push(b):"#exp"===c?e.exp.push(ya(b)):"#exph"===c?e.X.push(ya(b)):"#img"===c?e.Z.push(b):"#imgn"===c?e.$.push(ya(b)):"#name"===c?e.name.push(b):
  152. "#theme"===c?e.S.push(ya(b)):"#tmax"===c?e.ia.push(b):"#sage"===c?e.va=j:"#notxt"===c?e.ta=j:"#noimg"===c?e.sa=j:"#trip"===c?e.ja=j:"#outrep"===c?ab.push(b):"#video"===c&&bb.push(b)}else e.T.push(b)}}function Tf(a,b){for(var c,d=a.length;d--;)c=ya(a[d]),b=b.replace(c,a[d].substr(c.toString().length+1));return b}function Rc(a,b){var c,d,e,f,g,h,i;b.ca=s;if(cb[0]&&q){c=b.O+1;for(d=0;e=cb[d++];)if(e=e.split("-"),c>=+e[0]&&c<=+e[1])return b.ca=j,s}if(a.T[0]||a.S[0])g=(g=v("replytitle",b)||v("filetitle",
  153. b))?g.textContent.toLowerCase():"";if(a.T[0]){d=0;for(c=b.u.toLowerCase();e=a.T[d++];)if(f=e,e=e.toLowerCase(),0<=c.indexOf(e)||0<=g.indexOf(e))return f}if(a.S[0])for(d=0;e=a.S[d++];)if(e.test(g))return"#theme "+e.toString();if(a.exp[0]){d=0;for(c=b.u;e=a.exp[d++];)if(e.test(c))return"#exp "+e.toString()}if(a.X[0]){d=0;for(c=b.innerHTML;e=a.X[d++];)if(e.test(c))return"#exph "+e.toString()}if(a.name[0]||a.ja)h=v("commentpostername",b)||v("postername",b),i=v("postertrip",b);if(a.ja&&i)return"#trip";
  154. if(a.name[0]){h=h?h.textContent:"";i=i?i.textContent:"";for(d=0;e=a.name[d++];)if(f=e,e=e.split(/!+/),""!==e[0]&&0<=h.indexOf(e[0])||""!==e[1]&&0<=i.indexOf(e[1]))return"#name "+f}if(0<b.z.snapshotLength){if(a.Z[0]){d=sc(b);c=+d[0];f=+d[1];g=Nf(b);for(d=0;e=a.Z[d++];){a:{h=c;i=f;var l=g,m=e,n=aa,r=aa,p=aa,p=n=p=aa;if(""!==m){n=m.split("@");r=n[0][0];p=n[0].substr(1).split("-");p[1]||(p[1]=p[0]);if(""!==p[0])if("<"===r&&l<+p[0]||">"===r&&l>+p[0]||"="===r&&l>=+p[0]&&l<=+p[1]){if(!n[1]){h="image "+m;
  155. break a}}else{h=s;break a}if(n[1]&&(p=n[1].split(/[x×]/),n=p[0].split("-"),p=p[1].split("-"),n[1]||(n[1]=n[0]),p[1]||(p[1]=p[0]),"<"===r&&h<+n[0]&&i<+p[0]||">"===r&&h>+n[0]&&i>+p[0]||"="===r&&h>=+n[0]&&h<=+n[1]&&i>=+p[0]&&i<=+p[1])){h="image "+m;break a}}h=s}if(h)return"#img "+e}}if(a.$[0]&&(c=yc(b))){d=0;for(c=c.textContent;e=a.$[d++];)if(e.test(c))return"#imgn "+e}}if(db[0]){d=0;for(c=b.O+1;e=db[d++];)if(f=e,e=e.split("-"),c>=+e[0]&&c<=+e[1])return"#num "+f}if(a.ia[0]){d=0;for(c=b.u.replace(/\n/g,
  156. "").length;e=a.ia[d++];)if(c>=e)return"#tmax "+e}return a.va&&Zf(b)?"#sage":a.ta&&""===b.u?"#no text":a.sa&&0===b.z.snapshotLength?"#no image":s}function Sc(a){return!q&&a.g?Rc(Qc,a)||Rc(Sb,a):Rc(Sb,a)}function Oc(a){var b;0===h.filthr&&a.g||(b=Sc(a),0===a.b?a.ca&&wb(a):b&&ub(a,b.substring(0,70)))}function Dg(a){var b,c,d,e=/#exp |#exph |#rep |#outrep |#imgn |#video |#theme /,a=a.split("\n");for(b=a.length;b--;)if(c=a[b],d=c.match(e))try{ya(c.substr(c.indexOf(d)))}catch(f){return c}return s}function Jf(){var a=
  157. r("DESU_spellEdit"),b=(a?a.value:Na.join("\n")).replace(/[\r\n]+/g,"\n").replace(/^\n|\n$/g,""),c=Dg(b);c||Fb(b);""!==b&&!c?(a&&(a.value=b),0!==h.spells?(S(Oc),cg()):(bg(),S(function(a){Sc(a)&&wb(a)})),vb()):(c&&N(Bb[g]+" "+c,""),a&&(r("DESU_spellChk").checked=s),Y("spells",0))}function Ra(a){var b,c=r("DESU_spellEdit"),d=c?c.value:Na.join("\n");if(""!==a){if(""===a.trim())return;q&&(a="#"+u+"/"+q+" "+a);Jf();b="\n"+d;a="\n"+a;d=0<=b.indexOf(a)?b.split(a).join(""):d+a}d=d.replace(/[\r\n]+/g,"\n").replace(/^\n|\n$/g,
  158. "");(b=Dg(d))?N(Bb[g]+" "+b,""):(c&&(c.value=d,r("DESU_spellChk").checked=""!==d),S(function(a){Sc(a)&&wb(a)}),bg(),Fb(d),""!==d?(Y("spells",1),S(Oc),cg()):Y("spells",0),vb())}function Eg(a){return a.u.replace(/\s+/g," ").replace(/[\?\.\\\/\+\*\$\^\(\)\|\{\}\[\]!@#%_=:;<,-]/g,"").substring(0,800).split(" ")}function Wg(a){var b=a.b;""!==a.u?(S(function(c){var d=a.a,e=Eg(a),f,g=Eg(c),h=g.length,i=e.length,l=i,m=i,n=0;if(!(h<0.4*l||h>3*l)){for(;i--;)if(6<l&&3>e[i].length)m--;else for(f=h;f--;)(g[f]===
  159. e[i]||e[i].match(/>>\d+/)&&g[f].match(/>>\d+/))&&n++;n<0.4*m||h>3*m||(C(v("DESU_postNote",c)),0!==b?ub(c,"similar to >>"+d):wb(c))}}),vb()):Ra("#notxt")}function ph(a){var b,c,d=[],e=0;if(0===h.samel)return s;a=a.replace(/> /g,"").split(/\s*\n\s*/);b=a.length;if(6>b)return s;for(;b--;)c=a[b],0!==c.length&&(d[c]?d[c]++:d[c]=1,e++);e/=4;for(c in d)if(d[c]>e&&4<d[c])return'same lines: "'+c.substr(0,20)+'" x'+(d[c]+1);return s}function qh(a){var b,c,d=[],e=0,f=0,g="",i=-1;if(0===h.samew)return s;a=a.replace(/[\s\.\?\!,>]+/g,
  160. " ").toUpperCase().split(" ");b=a.length;if(13>=b)return s;for(;b--;)c=a[b],2>c.length||(d[c]?d[c]++:d[c]=1,e++);if(10>e)return s;for(c in d)if(f++,d[c]>i&&(i=d[c],g=c),25<e&&d[c]>e/3.5)return'same words: "'+c.substr(0,20)+'" x'+d[c];return 80<e&&20>=f||7<e/f?'same words: "'+g.substr(0,20)+'" x'+i:s}function rh(a){var b,c=0;if(0===h.longp)return s;a=a.split(/\s*\n\s*/);b=a.length;if(50<b)return"long text x"+b;for(;b--;)if(9>a[b].length)c++;else return s;return 5<c?"columns x"+c:s}function sh(a){var b,
  161. c,d="",e="",f=0;if(0===h.longw)return s;a=a.replace(/https*:\/\/.*?(\s|$)/g,"").replace(/[\s\.\?!,>:;-]+/g," ").split(" ");for(b=a.length;b--;)c=a[b],2>c.length||(d+=c,e=c.length>e.length?c:e,f++);return 1===f&&70<e.length||1<f&&12<d.length/f?'long words: "'+e.substr(0,20)+'.."':s}function th(a){var b,c,d=0,e=0,f=0;if(0===h.caps)return s;a=a.replace(/[\s\.\?!;,-]+/g," ").trim().split(" ");if(5>a.length)return s;for(b=0;c=a[b++];)5>(c.match(/[a-zа-я]/ig)||[]).length||(2<(c.match(/[A-ZА-Я]/g)||
  162. []).length&&e++,c===c.toUpperCase()&&d++,f++);return 0.3<=d/f&&4<f?"CAPSLOCK: "+parseInt(100*(d/a.length),10)+"%":0.3<=e/f&&8<f?"cAsE words: "+parseInt(100*(e/a.length),10)+"%":s}function uh(a){var b;if(0===h.specs)return s;a=a.replace(/\s+/g,"");b=a.length;a=a.replace(/[0-9a-zа-я\.\?!,]/ig,"").length/b;return 30<b&&0.4<a?"specsymbols: "+parseInt(100*a,10)+"%":s}function vh(a){var b;if(0===h.nums)return s;a=a.replace(/\s+/g," ").replace(/((>>\d+)+|https*:\/\/.*?)(\s|$)/g,"");b=a.length;
  163. a=(b-a.replace(/\d/g,"").length)/b;return 30<b&&0.4<a?"numbers: "+parseInt(100*a,10)+"%":s}function Bg(a){var b,c,d;if(0===h.awipe)return s;b=[ph,qh,rh,sh,th,uh,vh];for(c=0;7>c;c++)if(d=b[c](a.u))return d;return s}function Ag(a){var b;0===h.filthr&&a.g||0===a.b||1===a.b||((b=Bg(a))?ub(a,b):Pc(a,1,""))}function pg(a){var b=f.A?"li":"tr",c={},d=".//"+b+'[not(contains(@style,"none"))]//input[not(@type="hidden") and ';if(a)return c.s=j,c.B=s,c.w=q,c.form=a,c.F="ancestor::"+b+"[1]",c.J=p('.//input[@id="recaptcha_response_field"]',
  164. a),c.k=p('.//input[contains(@name,"aptcha") and not(@name="recaptcha_challenge_field")]',a)||c.J,c.m=p(".//"+b+"//textarea"+(f.e?'[@name="internal_t"]':"[last()]"),a),c.K=p(".//"+b+'//input[@type="submit"]',a),c.file=p(".//"+b+'//input[@type="file"]',a),c.passw=p(".//"+b+'//input[@type="password"]',a),c.P=p('.//tr[@id="trgetback"]|.//input[@type="radio" or @name="gotothread"]/ancestor::tr[1]',a),c.name=p(d+'(@name="field1" or @name="name" or @name="internal_n" or @name="nya1" or @name="akane")]',
  165. a),c.v=p(d+(f.L?'@name="sage"]':f.pa?'@name="denshimeru"]':'(@name="field2" or @name="em" or @name="sage" or @name="email" or @name="nabiki" or @name="dont_bump")]'),a),c.cb=p(d+'(@name="kasumi" or @name="nya3" or @name="internal_s" or @name="subject" or @name="field3" or @name="sub")]',a),c}function wh(a){var b=window.location.hostname,c=b.match(/(?:(?:[^.]+\.)(?=org\.|net\.|com\.))?[^.]+\.[^.]+$|^\d+\.\d+\.\d+\.\d+$|localhost/)[0],d={};d.d=R('.//script[contains(@src,"hanabira")]',a,a);d.e="krautchan.net"===
  166. c;d.j=R('.//p[@class="unimportant"]/a[@href="http://tinyboard.org/"]',a,a);d.l="2chan.net"===c;d.za=".//form["+(d.d||d.e?'contains(@action,"delete")]':d.j?'@name="postcontrols"]':d.l?"2]":'@id="delform" or @name="delform"]');if(a===m&&!(w=p(d.za)))return s;d.host=b;d.c=c;d.p=R('.//script[contains(@src,"kusaba")]',a,a);d.o=R('.//script[contains(@src,"wakaba_new.js")]',a,a);d.i="4chan.org"===c;d.r="0chan.ru"===c;d.A="7chan.org"===c;d.L="410chan.ru"===c;d.R="sibirchan.ru"===c;d.ka="5channel.net"===c;
  167. d.Y="hiddenchan.i2p"===c;d.ha="2--ch.ru"===c||"78.108.183.53"===c;d.na="dfwk.ru"===c;d.Qa="ponychan.net"===c;d.Ua="vombatov.net"===c;d.Ma="02ch.org"===c||"02ch.net"===c;d.pa="2chan.su"===c;d.f="420chan.org"===c;d.Ca=d.R?"div":".//div["+(R('.//div[contains(@id,"_info") and contains(@style,"float")]',a,a)?'starts-with(@id,"t") and not(contains(@id,"_info"))':d.f?'contains(@id,"thread")':'starts-with(@id,"thread")'+(d.A?'and not(@id="thread_controls")':""))+"]";d.Va=R('.//p[@class="footer"]/a[@href="http://wakaba.c3.cx/"]|.//a[starts-with(@href,"wakaba.pl")]',
  168. a,a)||!R(d.Ca,a,a);d.Ba=d.j?'p[@class="intro"]/a[@class="post_no"][2]|div/p[@class="intro"]/a[@class="post_no"][2]':d.i?'span[starts-with(@id,"no")]':s;d.ma=d.e?"postnumber":d.l?"del":"reflink";d.Aa=d.d?'.//div[@class="postbody"]':d.j?'.//p[@class="body"]':d.A?'.//p[@class="message"]':".//blockquote";d.la=d.d?"postbody":d.j?"body":d.A?"message":s;d.Da=d.e?"omittedinfo":d.d?"abbrev":"omittedposts";d.Ea=d.e?"postsubject":d.j?"subject":d.d?"replytitle":"filetitle";d.q=d.e?"postreply":d.j?"post reply":
  169. "reply";d.Sa=d.e?"thread_body":"thread";d.Wa=d.l||d.i?'input[@type="checkbox"]':"a[@name]"+(d.R?"[2]":"");d.Ra="\\d+"+(d.f?"$":"");d.wa=d.i?'table[not(@class="exif")]':d.ha?'table[not(@class="postfiles")]':d.p?"table|div/table":"table";d.ua=d.p?"postnode":"oppost";d.G=d.la?function(a){return v(d.la,a)}:function(a){return K("blockquote",a)};d.qa=d.Ba?function(a){return p(d.Ba,a)}:d.R?function(a){return v(d.ma,a)||v("filesize",a)}:function(a){return v(d.ma,a)};d.Ha=d.l?function(a,b){return La('.//font[@color="#707070"]',
  170. a,b)}:function(a){return v(d.Da,a)};d.Ka=d.i||d.l||d.R||d.Va&&!d.o?function(a,b){return La(d.Wa,a,b).name.match(/\d+/)[0]}:d.e?function(a){return a.parentNode.previousElementSibling.name}:function(a){return a.parentNode.id.match(d.Ra)[0]};d.Ia=(d.o||d.d||d.p)&&v(d.ua)?function(a){return v(d.ua,a)}:function(a,b){for(var c,f=Db("div",k,k,b),g=La(d.wa+'|div[starts-with(@id,"repl")]',a,b);(c=a.firstChild)!==g;)f.appendChild(c);d.A&&((c=Db("div",k,k,b)).appendChild(f),f.className="post",f=c);a.childElementCount?
  171. ea(a.firstChild,[f]):a.appendChild(f);return f};d.Ja=d.l?function(a){return K("input",a).name}:function(a){return a.id.match(/\d+/)[0]};return d}function ob(a,b,c){return"http://"+a+"/"+b+"/"+(a.indexOf("krautchan.net")+1?"thread-":"res/")+c+(a.indexOf("dobrochan.")+1?".xhtml":a.indexOf("2chan.net")+1?".htm":a.indexOf("420chan.org")+1?".php":".html")}function Fg(){try{m.domain=f.c}catch(a){f.c=m.domain}}function xh(){"function"!==typeof uneval&&function(){function a(a,c,d){e[e.length]=[a,c];g[c]=
  172. d||b}function b(a,b){var c=[],d;for(d in a)a.hasOwnProperty(d)&&(c[c.length]=uneval(d)+":"+uneval(a[d],1));return b?"{"+c.toString()+"}":"({"+c.toString()+"})"}function c(a){return a.toString()}function d(a){if(a in f)return"\\"+f[a];var b=a.charCodeAt(0);return 32>b?"\\x0"+b.toString(16):127>b?"\\"+a:256>b?"\\x"+b.toString(16):4096>b?"\\u0"+b.toString(16):"\\u"+b.toString(16)}var e=[],f={"\t":"t","\n":"n","\x0B":"v"," ":"f","\r":"\r","'":"'",'"':'"',"\\":"\\"},g={"boolean":c,ab:c,bb:function(a){return"'"+
  173. a.toString().replace(/[\x00-\x1F\'\"\\\u007F-\uFFFF]/g,d)+"'"},eb:function(){return"undefined"},"function":c};a(Array,"array",function(a){for(var b=[],c=0,d=a.length;c<d;c++)b[c]=uneval(a[c]);return"["+b+"]"});a(RegExp,"regexp",c);a(Date,"date",function(a){return"(new Date("+a.valueOf()+"))"});window.fb=function(a,c){var d;if(a===aa)d="undefined";else if(a===k)d="null";else{a:if(d=typeof a,"object"==d){d=0;for(var f=e.length;d<f;d++)if(a instanceof e[d][0]){d=e[d][1];break a}d="object"}d=(g[d]||b)(a,
  174. c)}return d}}()}function yh(){"GM_log"in window||(window.GM_log=function(){});"GM_xmlhttpRequest"in window||(window.GM_xmlhttpRequest=function(a){var b=new window.XMLHttpRequest;b.onreadystatechange=function(){a.onreadystatechange(b)};b.onload=function(){try{a.onload(b)}catch(c){}};b.open(a.method,a.url,j);b.setRequestHeader("Accept-Encoding","deflate, gzip, x-gzip");b.finalUrl=a.url;b.send(k)})}function zh(){var a,b,c,d;if(/^(?:about|chrome|opera|res)/i.test(window.location))return s;if(/DESU_iframe/.test(window.name))return Fg(),
  175. s;/DESU_favIframe/.test(window.name)&&(Qa=j);f=wh(m);if(!f||r("DESU_panel"))return s;f.Y&&(window.setTimeout=function(a){"function"===typeof a&&a();return 1});Fg();xh();yh();a=window.navigator.userAgent;E=+(a.match(/mozilla.*? rv:(\d+)/i)||[0,0])[1];W=+(a.match(/opera(?:.*version)?[ \/]([\d.]+)/i)||[0,0])[1];X=/chrome/i.test(a);a=E&&"function"===typeof GM_setValue;b=W&&!!Tb;c="localStorage"in window&&"object"===typeof localStorage;d="sessionStorage"in window&&1===(sessionStorage.test=1);Xa=!!a;Ya=
  176. b;Za=c;ba=!c&&!b&&!a;xb=d;$a=a||b;a=(window.location.pathname||"").match(/^\/?(?:(.*?)\/*)?(res\/|thread-)?(\d+|index|wakaba)?(\.(?:[xme]*html?|php))?$/);u=a[1]||(f.na?"df":"");rg=f.e?"thread-":"res/";q=a[2]?a[3]:s;mb=a[3]&&!q?+a[3]||0:0;Pa=a[4]||(f.l?".htm":f.f?".php":".html");if(Ca=p('.//head//link[@rel="shortcut icon"]'))Ca=Ca.href;G=E?"-moz-":X?"-webkit-":"";bc=l("div",k,k);i=pg(p(".//textarea/ancestor::form[1]"));wa=p('.//form[contains(@action,"paint") or @name="oeform"]');va("preceding-sibling::node()"+
  177. (f.i?"[not(self::center)]":"")+"[preceding-sibling::*[descendant-or-self::*["+(f.o?"self::form":'self::div[@class="logo"]')+" or self::h1]]]",w,m);f.e&&(C(K("hr",w)),C(K("hr",Fa(w))));Ac=n("span",{Class:"DESU_postPanel"},[l("a",{Class:"DESU_btnHide",href:"#"},k),x(i.s||wa,l("a",{Class:"DESU_btnRep",href:"#"},k))]);tb=Ac.cloneNode(j);tb.className+="_op";ca(tb,[x(!q,l("a",{Class:"DESU_btnExpthr",href:"#"},k)),l("a",{Class:"DESU_btnFav",href:"#"},k)]);return j}function vg(a,b){O.push(a);a.g=0===b;a.O=
  178. b;a.t=f.G(a);a.u=Yf(a.t);a.z=Hb(a);J[a.a]=a;0===b&&xa.push(a)}function Ah(a,b,c){var d,e,g,h=s;if(0===(d=a.getElementsByClassName(f.Sa)).length)if(d=ib(f.Ca,a,b),0!==d.snapshotLength)y(d,c,j);else for(e=a.firstChild;;){for(d=Db("div",k,k,b);e&&(g=e.nextSibling)&&"HR"!==g.tagName;)d.appendChild(e),e=g;h?P(h,d):ea(a.firstChild,[d]);if(!e||!g)break;d.childElementCount&&c(d);h=g;e=g.nextSibling}else{e=0;for(g=d.length;e<g;e++)c(d[e])}}function qg(a,b,c,d){var e,g,h,i,l;e=a.getElementsByTagName("script");
  179. for(g=e.length;g--;)C(e[g]);Ah(a,b,function(a){(f.j||f.f)&&P(a,a.lastChild);h=f.Ia(a,b);a.className+=" DESU_thread";h.className+=" DESU_oppost";h.a=a.a=f.Ka(h,b);h.h=a;c&&c(a);d(h,0);f.l?(l=[],y(ib("table/tbody/tr/td[2]",a,b),function(a){l.push(a)},j)):l=a.getElementsByClassName(f.q);if(0<(a.I=l.length)){e=0;for(g=l.length;e<g;e++)i=l[e],i.h=a,i.className+=" DESU_post",i.a=f.Ja(i),d(i,e+1)}c||(q||(a.I+=(e=f.Ha(a,b))&&(e=e.textContent)?+(e.match(/\d+/)||[0])[0]:0),a.M=((e=v(f.Ea,h))&&e.textContent.trim()||
  180. h.u).substring(0,70).replace(/\s+/g," "))});window.location.hash&&(i=J[window.location.hash.substring(1)])&&z(window,{load:function(){setTimeout(function(){i.className+=" DESU_post"},1E3)}});Qa&&va("preceding-sibling::node()|following-sibling::node()",w,b);!f.A&&!f.j&&!Ia&&(Ia=La('.//div[contains(@class," DESU_thread")]//'+f.wa,a,b),b!==m&&Ia&&(Ia=m.importNode(Ia,j)))}function ug(a){var b;if(f.i||f.e||h.ctime&&Nb||0!==h.spells&&Ja[0]){b=a.innerHTML;h.ctime&&Nb&&(b=fh(b));if(f.i||f.e)b=b.replace(/(^|>|\s|&gt;)(https*:\/\/.*?)(?=$|<|\s)/ig,
  181. '$1<a href="$2">$2</a>');0!==h.spells&&Ja[0]&&(b=Tf(Ja,b));a.innerHTML=b}}function Gg(){var a=(new Date).getTime();gc=a;if(zh()){I("initBoard");Hg();I("readCfg");ug(w);I("replaceDelform");var b;a:{w.id="";B(w);try{qg(w,m,s,vg)}catch(c){B(w);b=s;break a}X||B(w);b=j}if(b){I("initDelform");0!==h.keynav&&(Zg(),I("initKeyNavig"));Qa||(Jg(),I("addPanel"));$g();I("doChanges");Qa||(oc(),I("readFavorites"));S(zc);I("addPostButtons");Ig();I("readPostsVisib");if(0!==h.navmrk){var d;if(0!==h.navmrk&&xb)for(d in b=
  182. (sessionStorage.ya||"").split(","),b)Ef(b[d]);I("readViewedPosts")}S(tg);I("doPostFilters");1===h.delhd&&(S(Kc),I("mergeHidden"));0!==h.expimg&&(S(Ic),I("eventPostImg"));0!==h.expost&&!q&&(S(wg),I("expandPost"));0!==h.mp3&&(Fc(k),I("addLinkMP3"));0!==h.ytube&&(Dc(k),I("addLinkTube"));0!==h.addimg&&(Gc(j,w),I("addLinkImg"));0!==h.imgsrc&&(Hc(w),I("addImgSearch"));2===h.navig&&(hg(k,s),I("addRefMap"));0!==h.navig&&(Sa(w),I("eventRefLink"));vb();I("saveHiddenPosts");fa();I("scriptCSS");Mf=(new Date).getTime()-
  183. a}}}var kb={version:"2012-04-28",lang:0,sstyle:0,spells:0,awipe:1,samel:1,samew:1,longp:1,longw:0,caps:0,specs:0,nums:1,menuhd:1,viewhd:1,delhd:0,filthr:1,updthr:1,updint:2,updfav:1,navig:2,navdel:"2000",navmrk:0,navhid:0,navdis:0,expimg:2,expost:2,ctime:0,ctmofs:"-2",ctmpat:"",insnum:1,animp:1,aclose:0,rtitle:1,attach:1,icount:1,showmp:0,ospoil:1,noname:0,noscrl:1,mp3:1,addimg:1,imgsrc:1,ytube:3,yptype:0,ywidth:360,yheigh:270,yhdvid:0,ytitle:0,verify:1,rndimg:0,addfav:1,keynav:0,sagebt:1,svsage:1,
  184. issage:0,pform:2,tform:1,forcap:1,txtbtn:1,txtpos:0,name:0,namval:"",passw:0,pasval:"",sign:0,sigval:"",norule:1,nogoto:1,nopass:1,mask:0,texw:530,texh:140};Tc=["Превышен лимит cookies","Cookies limit overflow"];Uc=["Настройки","Settings"];Vc=["Скрытое","Hidden"];Wc=["Избранное","Favorites"];Ub=["Обновить",
  185. "Refresh"];ad=["Создать тред","New thread"];Xc=["Назад","Go back"];Yc=["Следующая","Next"];Zc=["Наверх","To the top"];$c=["В конец","To the bottom"];bd=["Раскрыть картинки","Expand images"];cd=["Маскировать картинки",
  186. "Mask images"];dd=["Автообновление треда","Thread autoupdate"];fd=["Постов/Изображений в треде","Posts/Images in thread"];jd=["Анти-вайп детекторы ","Anti-wipe detectors "];ld=["Повтор строк",
  187. "Same lines"];md=["Повтор слов","Same words"];qd=["Спецсимволы","Special symbols"];nd=["Длинные посты","Long posts"];od=["Длинные слова","Long words"];rd=["Числа","Numbers"];pd=["КАПС/реГисТР","CAPS/cAsE"];
  188. id=["Заклинания: ","Magic spells: "];gd=["Добавить","Add"];hd=["Применить","Apply"];Vb=["Очистить","Clear"];vd=[["Не изменять","Объединять","Удалять"],["Skip","Merge","Delete"]];sd=["Применять фильтры к тредам",
  189. "Apply filters to threads"];td=["Дополнительное меню кнопок скрытия ","Additional menu of hide buttons"];ud=["Просмотр скрытого по №поста*","View hidden on №postnumber*"];xd=["подгрузка треда* T=",
  190. "thread update* T="];wd=[["Откл.","Авто","Счет+клик","По клику"],["Disable","Auto","Count+click","On click"]];yd=["индикация*","indication*"];Nd=["навигация по >>ссылкам* ","navigation by >>links* "];Md=[["Откл.","Без карты",
  191. "С картой"],["Disable","No map","With map"]];Od=[" задержка пропадания (мс)"," delay disappearance (ms)"];Pd=["Отмечать просмотренные посты*","Mark viewed posts*"];Qd=["Зачеркивать >>ссылки на скрытые посты*",
  192. "Strike >>links to hidden posts*"];Rd=["Не отображать превью для скрытых постов","Don't show previews for hidden posts"];Ad=["загрузка сокращенных постов*","upload of shorted posts*"];zd=[["Откл.",
  193. "Авто","По клику"],["Disable","Auto","On click"]];re=[" стиль скрипта"," script style"];Sd=["Вставлять >>ссылку по клику на №поста*","Insert >>link on №postnumber click*"];ve=["Анимация уведомлений и превью постов",
  194. "Animation of popups and post preview"];we=["Автоматически закрывать уведомления","Close popups automatically"];ue=["Название треда в заголовке вкладки*","Thread name in page title*"];se=
  195. ["Прикрепить главную панель ","Attach main panel "];te=["Счетчик постов/изображений в треде","Posts/images counter in thread"];Cd=["раскрывать изображения ",
  196. "expand images "];Bd=[["Откл.","В посте","По центру"],["Disable","In post","By center"]];Fd=["Скрывать имена в постах","Hide names in posts"];Ed=["Открывать спойлеры","Open spoilers"];Gd=["Без скролла в постах",
  197. "No scroll in posts"];Td=["Добавлять плейер к mp3-ссылкам* ","Add player to mp3-links* "];Ud=["Загружать изображения к .jpg-, .png-, .gif-ссылкам*","Load images to .jpg-, .png-, .gif-links*"];Wd=["к YouTube-ссылкам* ",
  198. "to YouTube-links* "];Vd=[["Ничего","Плейер по клику","Авто плейер","Превью+плейер","Только превью"],["Nothing","On click player","Auto player","Preview+player","Only preview"]];Xd=["Загружать названия к YouTube-ссылкам*",
  199. "Load titles into YouTube-links*"];ae=["Постить без перезагрузки (проверять ответ при отправке)*","Posting without reload (check reply on submit)*"];be=["Добавлять тред в избранное при ответе",
  200. "Add thread to favorites on reply"];de=["Sage вместо поля E-mail* ","Sage button instead of E-mail field* "];ee=["запоминать сажу","remember sage"];Zd=["форма ответа в треде* ","reply form in thread* "];$d=["Прятать форму создания треда",
  201. "Hide thread creating form"];Yd=[["Сверху","Внизу","Скрытая"],["At top","At bottom","Hidden"]];ge=["язык ввода капчи","language input in captcha"];fe=[["Откл.","Eng","Rus"],["Disable","Eng","Rus"]];ie=["кнопки форматирования текста ",
  202. "text format buttons "];he=[["Откл.","Графич.","Упрощ.","Стандарт."],["Disable","As images","As text","Standard"]];je=["внизу","at bottom"];ke=["Постоянное имя","Fixed name"];le=["Постоянный пароль","Fixed password"];
  203. me=["Постоянная подпись","Fixed signature"];ne=["Не отображать: ","Do not show: "];oe=["правила ","rules "];pe=["поле goto ","goto field "];qe=["пароль","password"];Ke=["Глобальные настройки не найдены",
  204. "Global config not found"];Ka=["Сохранить","Save"];Ie=["Загрузить","Load"];Ne=["Сброс","Reset"];xe=["Версия: ","Version: "];ye=["Хранение: ","Storage: "];ze=["Тредов просмотрено: ","Threads viewed: "];Ae=["Тредов создано: ",
  205. "Threads created: "];Be=["Постов отправлено: ","Posts sended: "];Ce=["Всего: ","Total: "];eb=["Скрытые посты","Hidden posts"];Xb=["Скрытые треды","Hidden threads"];Pe=[" на странице"," on page"];Se=["Нет скрытых тредов...",
  206. "No hidden threads..."];Qe=["На этой странице нет скрытого...","Nothing to hide on this page..."];Ab=["Раскрыть все","Expand all"];Re=["Вернуть назад","Undo"];Te=["Нет избранных тредов...",
  207. "Favorites is empty..."];Zb=["Удалить","Remove"];yb=["Правка","Edit"];Wb=["Инфо","Info"];We=[["Скрывать выделенное","Скрывать изображение","Скрыть схожий текст"],
  208. ["Hide selected text","Hide same images","Hide similar text"]];Xe=[["5 постов","15 постов","30 постов","50 постов","100 постов"],["5 posts","15 posts","30 posts","50 posts","100 posts"]];Ye=[["1 страница","2 страницы","3 страницы",
  209. "4 страницы","5 страниц"],["1 page","2 pages","3 pages","4 pages","5 pages"]];Ea=["Загрузка...","Loading..."];af=["Проверка...","Checking..."];bf=["Удаление...","Deleting..."];Bb=["Ошибка:","Error:"];ef=["Жирный","Bold"];ff=["Наклонный",
  210. "Italic"];gf=["Подчеркнутый","Underlined"];hf=["Зачеркнутый","Strike"];jf=["Спойлер","Spoiler"];kf=["Код","Code"];lf=["Цитировать выделенное","Quote selected"];of=["Ответы:","Replies:"];ac=["Пост не найден",
  211. "Post not found"];hb=["Ошибка подключения","Connection failed"];pf=["Пропущено ответов: ","Posts omitted: "];qf=["Свернуть тред","Collapse thread"];nf=["удалён","deleted"];rf=["Тред недоступен (№",
  212. "Thread is unavailable (№"];Ze=["Получить новые посты","Get new posts"];sf=[" страница"," page"];tf=["Скрытый тред:","Hidden thread:"];$e=["Раскрыть форму","Expand form"];ed=["Каталог","Catalog"];Jd=["Корректировать время в постах* ",
  213. "Correct time in posts* "];mf=["Неправильная разница во времени","Invalid time difference"];Kd=[" Разница во времени"," Time difference"];Ld=["Шаблон замены","Replace pattern"];cf=["Пост(ы) удален(ы)!",
  214. "Post(s) deleted!"];df=["Не могу удалить пост(ы)!","Can't delete post(s)!"];ce=["Добавлять случайный байт в изображение","Add random byte into image"];Hd=["Навигация с помощью клавиатуры* ",
  215. "Navigation with keyboard* "];Id=['На доске:\n"J" - тред ниже,\n"K" - тред выше,\n"N" - пост ниже,\n"M" - пост выше,\n"V" - вход в тред\n\nВ треде:\n"J" - пост ниже,\n"K" - пост выше,\n"V" - быстрый ответ',
  216. 'On board:\n"J" - thread below,\n"K" - thread above,\n"N" - post below,\n"M" - post above,\n"V" - enter a thread\n\nIn thread:\n"J" - post below,\n"K" - post above,\n"V" - quick reply'];gb=["Искать в ","Search in "];Dd=["Добавлять кнопки для поиска изображений*","Add image search buttons*"];
  217. De=["Фильтры","Filters"];Ee=["Посты","Posts"];Fe=["Ссылки","Links"];Ge=["Форма","Form"];He=["Общее","Common"];kd=["Показать подробнее","Show more"];Je=["Загрузить глобальные настройки",
  218. "Load global settings"];Le=["Сохранить настройки как глобальные","Save settings as global"];Me=["Редактировать настройки в текстовом формате","Edit settings in text format"];
  219. Oe=["Сбросить в настройки по умолчанию","Reset settings to defaults"];zb=["Сохранить внесенные изменения","Save your changes"];Yb=["Правка в текстовом формате",
  220. "Edit notes in text format"];Ue=["Обновить счетчики постов","Refresh posts counters"];Ve=["Очистить записи недоступных тредов","Clear notes of inaccessible threads"];$b=["Удалить выделенные записи",
  221. "Remove selected notes"];var m=window.document,h={},g,A={},D={},ja={},O=[],J=[],ka=[],mc=[],Da=[],Sb={},Qc={};db=cb=Ja=bb=ab=aa;var Na=[],Wa={},Z={},nb;xb=ba=$a=Za=Ya=Xa=X=E=W=aa;var f={},u,rg,q,mb,Pa,G,i={},w,wa,ra,ma,Ac,tb,ga=k,lg,Qb={},ng={},bc,Ta="",sb,Ca,wc,Ib=s,Xf,Nb,gc,Mf,fc="",Ec,xa=[],$,na=0,uc=s,Va=j,Ua=j,tc=s,Ia=s,ic=432E6,Qa=s,qc="http://www.freedollchan.org/scripts/";String.prototype.trim||(String.prototype.trim=function(){for(var a=this.replace(/^\s\s*/,""),b=/\s/,c=a.length;b.test(a.charAt(--c)););
  222. return a.slice(0,c+1)});window.opera?z(m,{DOMContentLoaded:Gg}):Gg()})(window.opera?window.opera.scriptStorage:k);