Advertisement
oStile10001

fbn_JSengineCore.js

Mar 17th, 2020
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. G0=!1;G2=G1=0;G3=!1;G5=G4=0;G6=!1;G7=0;G8=!1;G9="s";G14="";G16=G12=G13=0;glob_appdata=G15=!1;glob_spr="";G19=G22=G18=G20=G26=G25=G27=G17=!1;G21=[];G24=G23=!1;D=document;W=window;B=D.body;
  2. G10=[];W.addEventListener("load",Fc5,!1);W.addEventListener("change",Fc1,!1);W.addEventListener("keydown",fbn_bodyOnKeyDown,!1);W.addEventListener("input",fbn_bodyOnInput,!1);W.addEventListener("keyup",fbn_bodyOnKeyUp,!1);W.addEventListener("scroll",Fc15,!1);W.addEventListener("resize",Fc6,!1);W.addEventListener("message",fbn_onSDKMessage,!1);W.addEventListener("mousemove",Fc186,!1);W.addEventListener("paste",Fc141,!1);
  3. W.addEventListener("focus",Fc4,!0);W.addEventListener("gestureend",fbn_bodyOnGestureEnd,!1);W.addEventListener("orientationchange",function(){setTimeout(Fc160,500)},!1);D.addEventListener("DOMContentLoaded",fbn_bodyOnDomLoad,!1);W.onfocus=Fc140;D.onclick=Fc2;
  4. if("document"in self){if(!("classList"in D.createElement("_"))){var imported=D.createElement("script");imported.src="/include/js/functions/js_classList.js";D.head.appendChild(imported)}W.btoa||(imported=D.createElement("script"),imported.src="/include/js/functions/js_b64.js",D.head.appendChild(imported))}Fc11();function ajx(a){Fc0(a)}function b64d(a){return W.atob?decodeURIComponent(escape(W.atob(a))):decodeURIComponent(escape(b64.decode(a)))}
  5. function b64e(a){return W.btoa?W.btoa(unescape(encodeURIComponent(a))):b64.encode(unescape(encodeURIComponent(a)))}function cla(a,e){null!=a&&a.classList.add(e)}function clr(a,e){null!=a&&a.classList.remove(e)}function $(a){return D.getElementById(a)}function $n(a){return D.getElementsByName(a)}function $P(a){return a.parentElement}function $q(a){return D.querySelector(a)}function $qsa(a){return D.querySelectorAll(a)}function d(a,e){null!=$(a)&&($(a).style.display=e)}
  6. function rand(a,e){return Math.floor(Math.random()*(e-a+1))+a}function vw(a){var e=$("viewport");if(null!=e){null==a&&(a="free");var f="width=device-width, initial-scale=1, minimal-ui";e.setAttribute("content","lock"==a?f+", user-scalable=no, maximum-scale=1":f+", minimum-scale=1")}}function getCookie(a){a+="=";for(var e=D.cookie.split(";"),f=0;f<e.length;f++){for(var b=e[f];" "==b.charAt(0);)b=b.substring(1);if(0==b.indexOf(a))return b.substring(a.length,b.length)}return""}
  7. function setCookie(a,e,f){var b=new Date;b.setTime(b.getTime()+f);D.cookie=a+"="+e+"; expires="+b.toUTCString()+";path=/"}function sleep(a){for(var e=(new Date).getTime();e+a>=(new Date).getTime(););}
  8. var storage={setItem:function(a,e){try{sessionStorage.setItem(a,e),G9="s"}catch(f){c=getCookie("storage"),c=""==c?{}:JSON.parse(c),c[a]=e,setCookie("storage",JSON.stringify(c),2592E5),G9="c"}},getItem:function(a){if("s"==G9)return sessionStorage.getItem(a);c=getCookie("storage");if(""==c)return"";c=JSON.parse(c);return null!=c[a]?c[a]:""},removeItem:function(a){if("s"==G9)return sessionStorage.removeItem(a);c=getCookie("storage");""!=c&&(c=JSON.parse(c),null!=
  9. c[a]&&(delete c[a],setCookie("storage",JSON.stringify(c),2592E5)))},clean:function(){for(var a=sessionStorage.length;a--;){var e=sessionStorage.key(a);sessionStorage.removeItem(e)}setCookie("storage","",0)}};
  10. function Fc0(a){var e=!1,f=!1,b=!1,g=!1;var k=null!=a.url?a.url:"";var l=null!=a.parametri?a.parametri:[];null!=a.callback&&(b=a.callback);null!=a.callbackfail&&(g=a.callbackfail);if(null!=a.upload){e=!0;var m=a.upload}else null!=a.uploadfileform&&(f=!0,m=a.uploadfileform);k="https://"+D.domain+"/"+k;var h=Fc13();if(h){h.open("post",k,!0);e&&(h.setRequestHeader("Content-Type","application/upload"),h.upload.addEventListener("progress",Fc18,!1));f?(a=$(m),null!=
  11. a&&null!=a.files&&(a=a.files[0],null!=a?(m=new FormData,m.append("uploaded_file",a)):m=!1)):h.setRequestHeader("Content-Type","application/x-www-form-urlencoded");h.setRequestHeader("X-Requested-With","xmlfbnHttpRequest");h.setRequestHeader("X-Requested-Xtra",storage.getItem("xtra"));for(p in l)h.setRequestHeader(l[p][0],l[p][1]);(e||f)&&0!=m?h.send(m):h.send();h.onreadystatechange=function(){if(4==h.readyState)if(200==h.status)if(h.responseText){var a=JSON.parse(h.responseText);if(0!=b){var e=a.html;
  12. if(null!=e){var f;for(f=0;5>f;++f)"object"===typeof e?sleep(150):f=5}b(a)}Fc193();null!=a.action&&Fc144(a);null!=a.pvt&&Fc60(a.pvt);null!=a.ntf&&Fc59(a.ntf);null!=a.alert&&(Fc30(),fbn_openAlert(a.alert))}else 0!=g&&g();else 0!=g&&g()}}}function Fc1(a){a=a||W.event;var e=a.target||a.srcElement;if(null!=e){var f=e.getAttribute("data-c");Fc25(f,a,e)}}
  13. function Fc2(a){a=a||W.event;var e=a.target||a.srcElement;if(null!=e){var f=e.getAttribute("data-a");null==f&&null!=e.parentNode&&null!=e.parentNode.getAttribute&&(f=e.parentNode.getAttribute("data-a"),e=e.parentNode);var b=$("modeselect");null==b||e==b||b.contains(e)||clr(b,"active");if(null!=f){if(1==e.getAttribute("data-disabled")&&G7)return!1;Fc41(e,!0);G6=e;Fc25(f,a,e)}}}
  14. function fbn_bodyOnKeyDown(a){a=a||W.event;var e=a.target||a.srcElement;if(null!=e){var f=e.getAttribute("data-kd");Fc25(f,a,e);null!=B&&(B.setAttribute("oninput","return"),"function"!=typeof B.oninput&&(f=e.getAttribute("data-inp"),Fc25(f,a,e)))}}
  15. function fbn_bodyOnKeyUp(a){a=a||W.event;var e=a.target||a.srcElement;if(null!=e){var f=e.getAttribute("data-ku");Fc25(f,a,e);null!=B&&(B.setAttribute("oninput","return"),"function"!=typeof B.oninput&&(f=e.getAttribute("data-inp"),Fc25(f,a,e)))}}function fbn_bodyOnDomLoad(){G8=setInterval(function(){"function"===typeof Fc193&&(Fc193(),clearInterval(G8))},500)}
  16. function Fc3(a){a=a||W.event;var e=a.target||a.srcElement;if(null!=e){var f=e.getAttribute("data-md");null==f&&null!=e.parentNode&&null!=e.parentNode.getAttribute&&(f=e.parentNode.getAttribute("data-md"),e=e.parentNode);null!=f?("editcat"!=f.split(",")[0]&&Fc67(0),Fc25(f,a,e)):(994<G10.window_w&&!fbn_isDescendant("hdropdownmenu",e)&&Fc10("close"),e.classList.contains("box_editCategoryMenu")||(Fc67(0),
  17. f=e.getAttribute("data-lmv"),null!=f?0==G23&&(G23=setTimeout(function(){Fc25(f,a,e);clearTimeout(G23);G23=!1},500)):(clearTimeout(G23),G23=!1,Fc188())))}}function Fc4(a){a=a||W.event;var e=a.target||a.srcElement;if(null!=e&&"function"===typeof e.getAttribute){var f=e.getAttribute("data-f");Fc25(f,a,e)}}
  18. function fbn_bodyOnGestureEnd(){if("ios"==G10.os&&790>=G10.window_w){var a=$("headbar"),e=$("container");G10.window_w<B.scrollWidth?(a.style.position="relative",e.style.paddingTop="0"):(a.style.position="",e.style.paddingTop="")}}function fbn_bodyOnInput(a){a=a||W.event;var e=a.target||a.srcElement;if(null!=e){var f=e.getAttribute("data-inp");Fc25(f,a,e)}}
  19. function Fc5(){B=D.body;G14=D.title;Fc6();if(790>=G10.window_w){null!=$("mscroll")&&W.scrollTo(0,$("mscroll").offsetTop);var a=$q("#menumobile form[name='form_login']");null!=a&&(a.action="/accedi/")}setInterval(function(){W.pageYOffset<=.1*Fc9()&&(G3=!0,Fc89(),setTimeout(function(){G3=!1},1E3))},6E4);a=$("csxcontent");var e=$("work_area");null!=a&&(e.style.minHeight=a.scrollHeight-50+"px");a=e.getAttribute("data-lazy");
  20. null!=a&&"bot"==a?(G27=!0,Fc192()):Fc193();setInterval(function(){Fc28()},45E3);a=$qsa("#posts_block .alertcategory");[].forEach.call(a,function(a){setTimeout(function(){a.lastChild.style.visibility="visible";a.lastChild.style.opacity=1},850);setTimeout(function(){a.lastChild.style.visibility="hidden";a.lastChild.style.opacity=0},7E3);setTimeout(function(){Fc85(a)},15E3)});Fc170();Fc122();setTimeout(function(){Fc194()},
  21. 3E3);try{return fetch(new Request(b64d("aHR0cHM6Ly9wYWdlYWQyLmdvb2dsZXN5bmRpY2F0aW9uLmNvbS9wYWdlYWQvanMvYWRzYnlnb29nbGUuanM="),{method:"HEAD",mode:"no-cors"})).then(function(a){})["catch"](function(a){G26=!0})}catch(b){}var f=D.location.hash;""!=f&&setTimeout(function(){location.hash&&(W.scrollTo(0,0),W.location.href=f)},20)}
  22. function Fc186(a){a=a||W.event;var e=a.target||a.srcElement;if(null!=e&&"function"===typeof e.getAttribute){var f=e.getAttribute("data-lmv");null!=f?0==G23&&(G23=setTimeout(function(){Fc25(f,a,e);clearTimeout(G23);G23=!1},500)):(clearTimeout(G23),G23=!1)}}function Fc141(a){a=a||W.event;var e=a.target||a.srcElement;if(null!=e){var f=e.getAttribute("data-p");Fc25(f,a,e)}}
  23. function Fc6(){Fc160();Fc193();var a=$("colonna_cx");if(790>=G10.window_w){var e=$("mainbanner");null!=e&&(a.style.paddingBottom=e.scrollHeight+"px")}else"none"==$("search_box").style.display&&d("search_box","block");$("menumobile").classList.contains("aperto")&&994<=G10.window_w&&null!=a&&Fc10("closemobile");e=$("work_area");if(994>G10.window_w){e.style.minHeight="";var f=$("cdxcontent");null!=f?(a=f.scrollHeight,
  24. e.style.minHeight=a-50+"px"):null!=a&&(a=a.scrollHeight,e.style.minHeight=a-50+"px")}else Fc10("close"),f=$("csxcontent"),null!=f&&(a=f.scrollHeight,e.style.minHeight=a-50+"px");Fc169("appiframe","RESIZE")}
  25. function Fc25(a,e,f){if(null!=a){a=a.split(",");var b=a[0];"ac"==b?Fc16(a[1],a[2]):"addimage"==b?Fc19():"addpost"==b?Fc21():"addremclass"==b?Fc17(a[1],a[2]):"addvideo"==b?Fc20():"afclose"==b?Fc159():"allpost"==b?Fc53(a[1]):"blist"==b?Fc98(a[1],a[2]):"bloccadialog"==b?Fc185():"busy"==b?Fc118(a[1]):"cchangecolor"==b?Fc39(a[1]):"cchangeimage"==
  26. b?Fc40():"chaccount"==b?Fc24(a[1]):"checkmainfeed"==b?Fc23():"citedit"==b?fbn_citazioneEdit(a[1]):"citgen"==b?Fc29():"ckie"==b?Fc176(a[1],f):"close"==b?fbn_close(a[1]):"closepost"==b?Fc139():"comedit"==b?Fc44(a[1]):"comreport"==b?Fc36(a[1]):"comreportdialog"==b?Fc38(a[1]):"coppit"==b?Fc180(a[1],a[2]):"cpicker"==b?Fc34(a[1],a[2],a[3]):
  27. "crono"==b?Fc155("crono",[a[1],a[2]]):"delimgcom"==b?Fc37(a[1],a[2]):"delnotifica"==b?Fc58(a[1]):"editcat"==b?Fc67(a[1]):"editpro"==b?Fc135(f):"faqoc"==b?Fc48(a[1],a[2]):"follow"==b?Fc90(a[1],a[2],1):"fontsizemtacheck"==b?Fc147():"ftext"==b?Fc97(a[1],a[2]):"gif"==b?Fc116(f):"hate"==b?Fc56(a[1],a[2],1):"headmenu"==b?Fc10(""):"icookie"==
  28. b?Fc177(a[1]):"ignore"==b?Fc149(a[1],1):"img"==b?Fc26(f):"imgrotate"==b?Fc115(a[1]):"initvoc"==b?fbn_initVocale(a[1],a[2]):"likecom"==b?Fc35(a[1],a[2],a[3],a[4]):"likeidol"==b?Fc49(a[1],a[2],a[3]):"mask"==b?Fc51():"messaggi"==b?Fc155("msgs"):"msgcdel"==b?Fc172(a[1]):"msgcdeldialog"==b?Fc173(a[1]):"msgdel"==b?Fc153(a[1]):"msgdeldialog"==b?Fc150(a[1]):"msgopdialog"==b?
  29. fbn_msgOpnDialog(a[1]):"msgreport"==b?Fc54(a[1]):"msgreportdialog"==b?Fc55(a[1]):"newdialog"==b?Fc130(a[1],a.splice(2)):"newsms"==b?Fc57():"notifiche"==b?Fc155("ntfs"):"openpaesi"==b?Fc136(f):"openpick"==b?Fc33(a[1]):"pgo"==b?Fc179():"playmp4"==b?fbn_playMp4(f):"playvideo"==b?Fc66(a[1],a[2],a[3]):"postcit"==b?Fc83("cit"):"postcitdialog"==b?Fc84("cit"):"postdel"==b?Fc69(a[1]):"postdeldialog"==
  30. b?Fc70(a[1]):"postdesc"==b?Fc72(a[1]):"postdescdialog"==b?Fc71(a[1]):"postedit"==b?Fc45(a[1]):"posteditcat"==b?Fc47(a[1],a[2],a[3]):"postlap"==b?Fc83("lap"):"postlapdialog"==b?Fc84("lap"):"postlike"==b?Fc52(a[1],a[2],a[3]):"postmeme"==b?Fc83("meme"):"postmemedialog"==b?Fc84("meme"):"postreport"==b?Fc74(a[1]):"postreportdialog"==b?Fc75(a[1]):"postsave"==
  31. b?Fc171(a[1],a[2]):"postsms"==b?Fc83("sms"):"postsmsdialog"==b?Fc84("sms"):"posttrasfshare"==b?Fc81(a[1]):"posttrasfsharedialog"==b?Fc82(a[1]):"postshare"==b?Fc76(a[1]):"postshow"==b?Fc138(a[1],a[2]):"postsharedialog"==b?Fc77(a[1]):"postshowlink"==b?Fc92(a[1]):"postupdate"==b?Fc46(a[1]):"preview"==b?Fc114(f,a[1],a[2]):"profilo"==b?Fc190(a[1]):"react"==
  32. b?Fc187(f,a[1],"p"):"reactc"==b?Fc187(f,0,"c"):"reactok"==b?Fc189(a[1]):"recvoc"==b?Fc181("",a[1],a[2]):"refresh"==b?location.reload():"regalo"==b?Fc131(a[1],a[2]):"reloadimg"==b?Fc113(f):"rem"==b?Fc86(a[1]):"remidoli"==b?Fc73(a[1]):"remusers"==b?Fc168(a[1]):"replyc"==b?Fc178(f):"resendcode"==b?Fc50():"rubrica"==b?fbn_rubricaDialog():"saveimg"==b?Fc87(a[1],a[2]):"search"==
  33. b?Fc126(e,f):"searchbox"==b?Fc129():"searchchange"==b?Fc128(e,f):"searchidoli"==b?Fc146():"searchutenti"==b?Fc167():"selidolodel"==b?Fc151():"seluserdel"==b?Fc165(a[1]):"sendcom"==b?Fc127(e,a[1]):"sendeditcom"==b?Fc152(e,a[1],a[2]):"sendmsg"==b?fbn_submitMessage(a[1],a[2]):"setidolo"==b?Fc78(a[1],a[2],a[3]):"setidolodialog"==b?Fc79(a[1]):"setidoloend"==b?
  34. Fc80():"setutente"==b?Fc166(a[1],a[2]):"setpaese"==b?Fc137(f):"showfirstcom"==b?Fc124(a[1]):"shownewcom"==b?Fc121(a[1]):"showoldcom"==b?Fc94(a[1]):"showhide"==b?Fc91(a[1],a[2]):"showhidewc"==b?Fc93(a[1]):"sizebox"==b?Fc143(f,a[1]):"sizeboxadjust"==b?Fc142(f,parseInt(a[1]),parseInt(a[2])):"slidingtab"==b?Fc95(f):"smile"==b?Fc96(f,a[1]):"smiles"==b?Fc65(a[1]):
  35. "ssmiles"==b?Fc132(a[1]):"swsmiles"==b?fbn_switchEmoji(a[1]):"stalker"==b?Fc184(a[1],1):"stopgif"==b?Fc117(f):"stopvideo"==b?fbn_stopVideo(f):"submit"==b?$(a[1]).submit():"suggestsearch"==b?Fc161():"unfollow"==b?Fc90(a[1],a[2],0):"unhate"==b?Fc56(a[1],a[2],0):"unignore"==b?Fc149(a[1],0):"unstalker"==b?Fc184(a[1],0):"upload"==b?fbn_onUpload():"url"==b?location.href=a[1]:"video"==b?Fc163(f,a[1]):"xcookie"==b?Fc7(a[1],
  36. a[2],a[3]):"xdialog"==b?Fc30():"xedit"==b?Fc43(a[1],a[2]):"undefined"!==typeof glob_mge?fbmg_checkAction(a,e,f):"undefined"!==typeof G11&&Fc145(a,e,f)}}function Fc170(){var a=$("fbcspr");if(null!=a){var e=a.getAttribute("data-id");glob_spr=null!=e?e:"fbcspr"+rand(1E3,9999);a.id=glob_spr;e=a.getAttribute("data-spr");if(null!=e){var f=D.createElement("script");f.src=e;a.appendChild(f)}Fc170()}}
  37. function Fc7(a,e,f){var b=$("cookiedialog");null!=b&&null!=B?B.removeChild(b):d(b,"none");a=[a,e,f];a=b64e(JSON.stringify(a));Fc0({url:"api/internal/cookie-log-consent/",parametri:[["data",a]],callback:function(a){"ok"==a.status&&(setCookie("eucookielaw",1,8639136E5),parseInt(e)?setCookie("eucookielawAN",1,8639136E5):setCookie("eucookielawAN",0,8639136E5),parseInt(f)?setCookie("eucookielawAD",1,8639136E5):setCookie("eucookielawAD",0,8639136E5))}})}
  38. function fbn_colorPickerCheck(a,e){var f=$(a);null!=f&&"text"==f.type&&(f.type="hidden",d(e,"block"))}function fbn_countDown(a,e,f){var b=$(e);if(null!=b)var g=a,k,l,m=setInterval(function(){k=parseInt(g/60,10);l=parseInt(g%60,10);k=10>k?"0"+k:k;l=10>l?"0"+l:l;Fc12(b,k+":"+l,"i");0>--g&&(g=0,f(),clearInterval(m))},1E3)}
  39. function Fc41(a,e){a.setAttribute("data-disabled","1");if(null!=e&&1==e)var f=setInterval(function(){0>=G7?(Fc42(a),clearInterval(f)):--G7},1E3)}function Fc42(a){"object"==typeof a&&a.removeAttribute("data-disabled")}
  40. function Fc8(){if(994<=W.innerWidth)Fc14("dx"),Fc14("sx");else if(790<=W.innerWidth)Fc14("dx");else if("ios"==G10.os){var a=$("headbar");"absolute"==a.style.position&&(a.style.top=B.scrollTop+"px")}Fc160();Fc193()}
  41. function Fc9(){var a=a||D.body;return Math.max(Math.max(a.scrollHeight,D.documentElement.scrollHeight),Math.max(a.offsetHeight,D.documentElement.offsetHeight),Math.max(a.clientHeight,D.documentElement.clientHeight))}
  42. function Fc10(a){null==a&&(a="");var e=$("hdropdownmenu"),f=$("menubtn");f.removeAttribute("data-disabled");var b=$("btntriangolino"),g=$("menumobile");x="ios"==G10.os?B:$("colonna_cx");"block"==e.style.display?(e.style.display="none",f.className="",b.className="icon triangolino"):"close"!=a&&(Fc159(),994<=G10.window_w?(e.style.display="block",f.className="active",b.className="icon triangolinoNero"):Fc195());if(g.classList.contains("aperto")){if(994>
  43. G10.window_w||"closemobile"==a)a=0,"windows"==G10.os?(d("colonna_cx","block"),a=200):(d("colonna_cx","block"),x.style.height="",x.style.overflow="",a=10),setTimeout(function(){W.scrollTo(0,G5);clr(g,"aperto");clr(f,"attivato");setTimeout(function(){g.classList.contains("aperto")||clr(g,"anim05s")},510)},a)}else"close"!=a&&994>G10.window_w&&(G5=W.pageYOffset,g.scrollTop=0,cla(g,"anim05s"),setTimeout(function(){cla(g,"aperto");"windows"==G10.os?
  44. g.classList.add("t2D"):g.classList.add("t3D");f.classList.add("attivato")},10),setTimeout(function(){790<G10.window_w?d("colonna_cx","none"):"windows"==G10.os?(W.scrollTo(0,0),setTimeout(function(){d("colonna_cx","none")},200)):setTimeout(function(){g.classList.contains("aperto")&&(x.style.height="0",x.style.overflow="hidden")},200)},550))}
  45. function Fc11(){Fc160();navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/Mac OS/i)&&"ontouchstart"in W||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/mobile/i)||navigator.userAgent.match(/MIDP/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i)?(G10.type=960<=Math.max(G10.screen_w,G10.screen_h)?
  46. "tablet":"mobile",G10.os="unknown",navigator.userAgent.match(/Windows Phone/i)?G10.os="windows":navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/Mac OS/i)&&"ontouchstart"in W?G10.os="ios":navigator.userAgent.match(/Android/i)&&(G10.os="android")):G10.type="desktop";"ontouchstart"in W||0<navigator.MaxTouchPoints||0<navigator.msMaxTouchPoints?(G10.isTouch=!0,"ios"==
  47. G10.os?D.ontouchstart=Fc3:D.onmousedown=Fc3):(G10.isTouch=!1,D.onmousedown=Fc3)}function Fc12(a,e,f){"i"==f?a.innerHTML=e:"o"==f?a.outerHTML=e:"be"==f?a.insertAdjacentHTML("beforeend",e):"ae"==f?a.insertAdjacentHTML("afterend",e):"bb"==f?a.insertAdjacentHTML("beforebegin",e):"ab"==f&&a.insertAdjacentHTML("afterbegin",e);Fc170()}
  48. function fbn_isDescendant(a,e){for(var f=$(a),b=e.parentNode;null!=b;){if(b==f)return!0;b=b.parentNode}return!1}function Fc140(){Fc0({url:"focus/",callback:!1})}function Fc13(){return new XMLHttpRequest}function fbn_newExtraSS(a){storage.setItem("xtra",a)}function fbn_onLogout(a){storage.clean();location.href=a}
  49. function fbn_onSDKMessage(a){if(a.data)try{var e=JSON.parse(b64d(a.data));if(null!=e.action){var f=$("appiframe");null==f||"INITGROW"!=e.action&&"RESIZE"!=e.action||(glob_appdata=e,f.setAttribute("width",e.content_w),f.setAttribute("height",e.content_h),fbn_appResize(e))}}catch(b){}}function Fc85(a){null!=a&&a.parentNode.removeChild(a)}
  50. function Fc15(){Fc8();!G3&&W.pageYOffset>G2&&W.pageYOffset+D.documentElement.offsetHeight+5>=.98*Fc9()?(G3=!0,Fc88(),setTimeout(function(){G3=!1},1100)):!G3&&W.pageYOffset<G2&&0>=W.pageYOffset&&(G3=!0,Fc89(),setTimeout(function(){G3=!1},1100));G1=W.pageXOffset;G2=W.pageYOffset}
  51. function Fc14(a){var e=$("c"+a+"content");if(null!=e){a=$("colonna_"+a);e=e.scrollHeight;var f=W.innerHeight,b=W.pageYOffset;b>G2?f>=e?a.style.top=0:b<=e-f?a.style.top=-b+"px":parseInt(a.style.top)>-(e-f)?a.style.top=parseInt(a.style.top)-b+G2+"px":a.style.top=-(e-f)+"px":b<G2&&(f>=e?a.style.top=0:0>parseInt(a.style.top)?(e=parseInt(a.style.top)+G2-b,0<e&&(e=0),a.style.top=e+"px"):a.style.top=0)}}
  52. function Fc169(a,e){var f=$(a);null!=f&&f.contentWindow.postMessage(e,"*")}function Fc160(){var a=G10.window_h;G10.screen_w=screen.width;G10.screen_h=screen.height;G10.window_w=W.innerWidth||D.documentElement.clientWidth||B.clientWidth;G10.window_h=W.innerHeight||D.documentElement.clientHeight||B.clientHeight;0<a&&G10.window_h!=a&&Fc157()};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement