",i+="
"+t.title+"
",i+=""},a=function(){var t=''};return this.each(function(){var o=t(this);l(e.url).done(function(i){n(),o.addClass("bso-boxed");var l=[],r=0;t(i).find("item").each(function(){var o=t(this),i={};return i.title=o.find("title").text(),i.link=o.find("link").text(),-1==e.blacklist.indexOf(i.link)&&(i.image=o.find("enclosure").attr("url"),l.push(i),r++,r==e.limit)?!1:void 0}),s(o,l)})})},t("[data-bso]").boxOdkazy()}("undefined"==typeof jQuery?void 0:jQuery),function(){var t,o;t=this.jQuery||window.jQuery,o=t(window),t.fn.stick_in_parent=function(i){var e,n,l,s,r,a,c,d,u,f,h,p,g;for(null==i&&(i={}),p=i.sticky_class,a=i.inner_scrolling,h=i.recalc_every,f=i.parent,u=i.offset_top,d=i.spacer,l=i.bottoming,null==u&&(u=0),null==f&&(f=void 0),null==a&&(a=!0),null==p&&(p="is_stuck"),e=t(document),null==l&&(l=!0),s=function(i,n,s,r,c,m,v,k){var b,y,w,_,x,z,q,E,M,T,A,j;if(!i.data("sticky_kit")){if(i.data("sticky_kit",!0),x=e.height(),q=i.parent(),null!=f&&(q=q.closest(f)),!q.length)throw"failed to find stick parent";if(w=!1,b=!1,A=null!=d?d&&i.closest(d):t(""),A&&A.css("position",i.css("position")),E=function(){var t,o,l;return k?void 0:(x=e.height(),t=parseInt(q.css("border-top-width"),10),o=parseInt(q.css("padding-top"),10),n=parseInt(q.css("padding-bottom"),10),s=q.offset().top+t+o,r=q.height(),w&&(w=!1,b=!1,null==d&&(i.insertAfter(A),A.detach()),i.css({position:"",top:"",width:"",bottom:""}).removeClass(p),l=!0),c=i.offset().top-(parseInt(i.css("margin-top"),10)||0)-u,g=i.offset().left,m=i.outerHeight(!0),v=i.css("float"),A&&A.css({width:i.outerWidth(!0),height:m,display:i.css("display"),"vertical-align":i.css("vertical-align"),"float":v}),l?j():void 0)},E(),m!==r)return _=void 0,z=u,T=h,j=function(){var t,f,y,M,j,D;return k?void 0:(y=!1,null!=T&&(T-=1,0>=T&&(T=h,E(),y=!0)),y||e.height()===x||(E(),y=!0),M=o.scrollTop(),null!=_&&(f=M-_),_=M,w?(l&&(j=M+m+z>r+s,b&&!j&&(b=!1,i.css({position:"fixed",bottom:"",top:z,left:g}).trigger("sticky_kit:unbottom"))),c>M&&(w=!1,z=u,null==d&&(("left"===v||"right"===v)&&i.insertAfter(A),A.detach()),t={position:"",width:"",left:"",top:""},i.css(t).removeClass(p).trigger("sticky_kit:unstick")),a&&(D=o.height(),m+u>D&&(b||(z-=f,z=Math.max(D-m,z),z=Math.min(u,z),w&&i.css({top:z+"px"}))))):M>c&&(w=!0,t={position:"fixed",top:z,left:g},t.width="border-box"===i.css("box-sizing")?i.outerWidth()+"px":i.width()+"px",i.css(t).addClass(p),null==d&&(i.after(A),("left"===v||"right"===v)&&A.append(i)),i.trigger("sticky_kit:stick")),w&&l&&(null==j&&(j=M+m+z>r+s),!b&&j)?(b=!0,"static"===q.css("position")&&q.css({position:"relative"}),i.css({position:"absolute",bottom:n,top:"auto"}).trigger("sticky_kit:bottom")):void 0)},M=function(){return E(),j()},y=function(){return k=!0,o.off("touchmove",j),o.off("scroll",j),o.off("resize",M),t(document.body).off("sticky_kit:recalc",M),i.off("sticky_kit:detach",y),i.removeData("sticky_kit"),i.css({position:"",bottom:"",top:"",width:""}),q.position("position",""),w?(null==d&&(("left"===v||"right"===v)&&i.insertAfter(A),A.remove()),i.removeClass(p)):void 0},o.on("touchmove",j),o.on("scroll",j),o.on("resize",M),t(document.body).on("sticky_kit:recalc",M),i.on("sticky_kit:detach",y),setTimeout(j,0)}},r=0,c=this.length;c>r;r++)n=this[r],s(t(n));return this}}.call(this),function(){function t(t){return console.log("click"),t.preventDefault(),window.open(this.getAttribute("href"))}function o(t){return t.preventDefault(),window.open(this.getAttribute("href"),"","width=550,height=265")}var i,e,n,l,s,r,a,c,d;for(document.querySelector("a#scroll-btn").addEventListener("click",function(t){var o,i,e,n,l,s,r;return t.preventDefault(),o=document.querySelector("#content"),i=window.pageYOffset||document.documentElement.scrollTop,e=ig.utils.offset(o).top,n=e-i,l=Date.now(),s=600,r=function(){var t,o,e;return t=Date.now()-l,o=t/s,o>1&&(o=1),e=i+n*Math.sin(o*(Math.PI/2)),window.scrollTo(0,e),1>o?window.requestAnimationFrame(r):void 0},window.requestAnimationFrame(r)}),i=0,n=(e=document.querySelectorAll("a[href^='http:'],a[href^='https:']")).length;n>i;++i)l=e[i],"logo"!==l.id&&(null!=(s=l.classList)&&s.contains("share")||l.addEventListener("click",t));for(i=0,n=(e=document.querySelectorAll("a.share")).length;n>i;++i)l=e[i],l.addEventListener("click",o);r=!0,a=document.querySelector("body > header"),c=null!=(e=document.querySelector("#opener").classList)?e.contains("no-cover-img"):void 0,d=function(){var t,o,i,e;return t=document.body.scrollTop||document.documentElement.scrollTop,o=c?1:window.innerHeight,t>=o&&r?(null!=(i=a.classList)&&i.remove("at-top"),r=!1):o>t&&!r?(null!=(e=a.classList)&&e.add("at-top"),r=!0):void 0},window.addEventListener("scroll",d),d()}.call(this),function(){}.call(this);