(()=>{var e,t={43105:()=>{function e(){var e=$(".adverts-sidebar");$(window).height()<768&&e.height()>600?e.addClass("small-screen"):e.removeClass("small-screen")}e(),$(window).on("load scroll resize",(function(t){e()})),window.lazyLoadDoubleClickAds=function(e){window.googletag&&window.googletag.cmd.push((function(){var t;0!==(t=$(e).find(".advert[data-ad-path]")).length&&t.map((function(e,t){var n=$(t);if(!(n.children().length>0)){var r,a,o=n.data("adPath"),i=(r=n.data("adTags"))?r.split("|").map((function(e){return e.split(",")})):[],s=(a=n.data("adReplaceSize"))?a.split(",").map((function(e){return e.split("x").map((function(e){var t=parseInt(e);return isNaN(t)?e:t}))})):[],l=googletag.defineSlot(o,s,n.attr("id"));null!==l&&(l.addService(googletag.pubads()),i.forEach((function(e){2===e.length&&l.setTargeting(e[0],e[1])})),googletag.display(l))}}))}))}},62751:()=>{!function(e,t,n){"use strict";function r(e,t){if(null!=e&&null!=t){var r=function(){if(n){var e=n(),t="/"+e.getSasTags(),r=e.getGaTags();return r&&(t+="/gaclientId="+r),t}if(console)return console.warn("KruxSasHelper not loaded"),""}(),a=Math.round(1e8*Math.random()),o='';e.append(o)}}t.CsnImpressionTracker={track:function(t){e(t=t||"body").find("[csn-impression-tracker]").each((function(t,n){var a=e(n);if(a.is(":visible")){var o=a.attr("csn-track-event")||"load",i=a.attr("csn-impression-tracker");"load"===o?r(a,i):"click"===o&&a.on("click",(function(){r(a,i)})),a.removeAttr("csn-impression-tracker")}}))}},e((function(){CsnImpressionTracker.track()}))}(jQuery,window,KruxSasHelper)},72337:(e,t,n)=>{"use strict";n.r(t)}},n={};function r(e){var a=n[e];if(void 0!==a)return a.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r(72337),r(43105),r(62751),e=window,document.body.addEventListener("gallery:open",(function(){null!==document.querySelector('[data-ad-tile="6"]')&&e.MMHelper.loadAdvert("6").catch((function(e){return console.warn("MM: Error loading advert",e)}))})),document.body.addEventListener("gallery:close",(function(){var e=googletag.pubads().getSlots().filter((function(e){return"gam_728x90_pos_1"===e.getSlotElementId()||"gam_300x250_300x600_pos_1"===e.getSlotElementId()||"gam_300x250_pos_1"===e.getSlotElementId()}));e.forEach((function(e){var t=e.getTargeting("refreshCntr")[0];t=!t||isNaN(t)?0:parseInt(t),e.setTargeting("refreshCntr",t+1)})),googletag.cmd.push((function(){googletag.pubads().refresh(e)}))}))})();