PageSourceSearch

https://neoskosmos.com/app/themes/neoskosmos/assets/dist/scripts/modules/theme-a2ff17e1.js

js neoskosmos.com collected 2026-09-24 17:53:32 UTC 36,725 bytes, 2 lines download raw bytes

1window.lazySizesConfig=window.lazySizesConfig||{},window.lazySizesConfig.autoUnload=!1,document.addEventListener("bgsetproxy",e=>{"image"===e.target.tagName&&(e.preventDefault(),e.target.setAttributeNS("http://www.w3.org/1999/xlink","href",e.detail.useSrc))});var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}var lazysizes=createCommonjsModule(function(e){var t="undefined"!=typeof window?window:{},n=function(i,g,o){var f,m,e,p,B,a,h,t,c,F,r,q,O,n,j,s,u,y,v,b,w,z,U,A,R,W,D,Y,l,d,Z,$,K,C,Q,E,J,V,G,S,L,T,_,X,ee,te,ne,ie,M,ae,oe,re,se,k,H,P,le,x,de,ce,ue,N,ge,fe,me,pe,he,I,ye={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(e in m=i.lazySizesConfig||i.lazysizesConfig||{},ye)e in m||(m[e]=ye[e]);return g&&g.getElementsByClassName?(p=g.documentElement,B=i.HTMLPictureElement,h="getAttribute",t=i[a="addEventListener"].bind(i),c=i.setTimeout,F=i.requestAnimationFrame||c,r=i.requestIdleCallback,q=/^picture$/i,O=["load","error","lazyincluded","_lazyloaded"],n={},j=Array.prototype.forEach,s=function(e,t){return n[t]||(n[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),n[t].test(e[h]("class")||"")&&n[t]},u=function(e,t){s(e,t)||e.setAttribute("class",(e[h]("class")||"").trim()+" "+t)},y=function(e,t){(t=s(e,t))&&e.setAttribute("class",(e[h]("class")||"").replace(t," "))},v=function(t,n,e){var i=e?a:"removeEventListener";e&&v(t,n),O.forEach(function(e){t[i](e,n)})},b=function(e,t,n,i,a){var o=g.createEvent("Event");return(n=n||{}).instance=f,o.initEvent(t,!i,!a),o.detail=n,e.dispatchEvent(o),o},w=function(e,t){var n;!B&&(n=i.picturefill||m.pf)?(t&&t.src&&!e[h]("srcset")&&e.setAttribute("srcset",t.src),n({reevaluate:!0,elements:[e]})):t&&t.src&&(e.src=t.src)},z=function(e,t){return(getComputedStyle(e,null)||{})[t]},U=function(e,t,n){for(n=n||e.offsetWidth;n<m.minSize&&t&&!e._lazysizesWidth;)n=t.offsetWidth,t=t.parentNode;return n},Y=[],l=D=[],be._lsFlush=ve,A=be,d=function(n,e){return e?function(){A(n)}:function(){var e=this,t=arguments;A(function(){n.apply(e,t)})}},Z=function(e){function t(){var e=o.now()-i;e<99?c(t,99-e):(r||a)(a)}var n,i,a=function(){n=null,e()};return function(){i=o.now(),n=n||c(t,99)}},oe=/^img$/i,re=/^iframe$/i,se="onscroll"in i&&!/(gle|ing)bot/.test(navigator.userAgent),P=-1,le=function(e){return(X=null==X?"hidden"==z(g.body,"visibility"):X)||!("hidden"==z(e.parentNode,"visibility")&&"hidden"==z(e,"visibility"))},ee=ze,ne=H=k=0,ie=m.throttleDelay,M=m.ricTimeout,ae=r&&49<M?function(){r(Ae,{timeout:M}),M!==m.ricTimeout&&(M=m.ricTimeout)}:d(function(){c(Ae)},!0),de=d(Ce),ce=function(e){de({target:e.target})},ue=d(function(t,e,n,i,a){var o,r,s,l,d;(r=b(t,"lazybeforeunveil",e)).defaultPrevented||(i&&(n?u(t,m.autosizesClass):t.setAttribute("sizes",i)),n=t[h](m.srcsetAttr),i=t[h](m.srcAttr),a&&(o=(l=t.parentNode)&&q.test(l.nodeName||"")),s=e.firesLoad||"src"in t&&(n||i||o),r={target:t},u(t,m.loadingClass),s&&(clearTimeout(Q),Q=c(we,2500),v(t,ce,!0)),o&&j.call(l.getElementsByTagName("source"),Ee),n?t.setAttribute("srcset",n):i&&!o&&(re.test(t.nodeName)?(e=i,0==(d=(l=t).getAttribute("data-load-mode")||m.iframeLoadMode)?l.contentWindow.location.replace(e):1==d&&(l.src=e)):t.src=i),a&&(n||o)&&w(t,{src:i})),t._lazyRace&&delete t._lazyRace,y(t,m.lazyClass),A(function(){var e=t.complete&&1<t.naturalWidth;s&&!e||(e&&u(t,m.fastLoadedClass),Ce(r),t._lazyCache=!0,c(function(){"_lazyCache"in t&&delete t._lazyCache},9)),"lazy"==t.loading&&H--},!0)}),ge=Z(function(){m.loadMode=3,x()}),$={_:function(){J=o.now(),f.elements=g.getElementsByClassName(m.lazyClass),K=g.getElementsByClassName(m.lazyClass+" "+m.preloadClass),t("scroll",x,!0),t("resize",x,!0),t("pageshow",function(e){var t;e.persisted&&(t=g.querySelectorAll("."+m.loadingClass)).length&&t.forEach&&F(function(){t.forEach(function(e){e.complete&&N(e)})})}),i.MutationObserver?new MutationObserver(x).observe(p,{childList:!0,subtree:!0,attributes:!0}):(p[a]("DOMNodeInserted",x,!0),p[a]("DOMAttrModified",x,!0),setInterval(x,999)),t("hashchange",x,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){g[a](e,x,!0)}),/d$|^c/.test(g.readyState)?Le():(t("load",Le),g[a]("DOMContentLoaded",x),c(Le,2e4)),f.elements.length?(ze(),A._lsFlush()):x()},checkElems:x=function(e){var t;(e=!0===e)&&(M=33),te||(te=!0,(t=ie-(o.now()-ne))<0&&(t=0),e||t<9?ae():c(ae,t))},unveil:N=function(e){var t,n,i,a;e._lazyRace||!(!(a="auto"==(i=(n=oe.test(e.nodeName))&&(e[h](m.sizesAttr)||e[h]("sizes"))))&&C||!n||!e[h]("src")&&!e.srcset||e.complete||s(e,m.errorClass))&&s(e,m.lazyClass)||(t=b(e,"lazyunveilread").detail,a&&fe.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,H++,ue(e,t,a,i,n))},_aLSL:Se},pe=d(function(e,t,n,i){var a,o,r;if(e._lazysizesWidth=i,e.setAttribute("sizes",i+="px"),q.test(t.no
1deName||""))for(o=0,r=(a=t.getElementsByTagName("source")).length;o<r;o++)a[o].setAttribute("sizes",i);n.detail.dataAttr||w(e,n.detail)}),fe={_:function(){me=g.getElementsByClassName(m.autosizesClass),t("resize",he)},checkElems:he=Z(function(){var e,t=me.length;if(t)for(e=0;e<t;e++)Te(me[e])}),updateElem:Te},I=function(){!I.i&&g.getElementsByClassName&&(I.i=!0,fe._(),$._())},c(function(){m.init&&I()}),f={cfg:m,autoSizer:fe,loader:$,init:I,uP:w,aC:u,rC:y,hC:s,fire:b,gW:U,rAF:A}):{init:function(){},cfg:m,noSupport:!0};function ve(){var e=l;for(l=D.length?Y:D,W=!(R=!0);e.length;)e.shift()();R=!1}function be(e,t){R&&!t?e.apply(this,arguments):(l.push(e),W||(W=!0,(g.hidden?c:F)(ve)))}function we(e){H--,e&&!(H<0)&&e.target||(H=0)}function ze(){var e,t,n,i,a,o,r,s,l,d,c,u=f.elements;if((E=m.loadMode)&&H<8&&(e=u.length)){for(t=0,P++;t<e;t++)if(u[t]&&!u[t]._lazyRace)if(!se||f.prematureUnveil&&f.prematureUnveil(u[t]))N(u[t]);else if((r=u[t][h]("data-expand"))&&(a=+r)||(a=k),l||(l=!m.expand||m.expand<1?500<p.clientHeight&&500<p.clientWidth?500:370:m.expand,d=(f._defEx=l)*m.expFactor,c=m.hFac,X=null,k<d&&H<1&&2<P&&2<E&&!g.hidden?(k=d,P=0):k=1<E&&1<P&&H<6?l:0),s!==a&&(V=innerWidth+a*c,G=innerHeight+a,o=-1*a,s=a),d=u[t].getBoundingClientRect(),(_=d.bottom)>=o&&(S=d.top)<=G&&(T=d.right)>=o*c&&(L=d.left)<=V&&(_||T||L||S)&&(m.loadHidden||le(u[t]))&&(C&&H<3&&!r&&(E<3||P<4)||function(e,t){var n,i=e,a=le(e);for(S-=t,_+=t,L-=t,T+=t;a&&(i=i.offsetParent)&&i!=g.body&&i!=p;)(a=0<(z(i,"opacity")||1))&&"visible"!=z(i,"overflow")&&(n=i.getBoundingClientRect(),a=T>n.left&&L<n.right&&_>n.top-1&&S<n.bottom+1);return a}(u[t],a))){if(N(u[t]),i=!0,9<H)break}else!i&&C&&!n&&H<4&&P<4&&2<E&&(K[0]||m.preloadAfterLoad)&&(K[0]||!r&&(_||T||L||S||"auto"!=u[t][h](m.sizesAttr)))&&(n=K[0]||u[t]);n&&!i&&N(n)}}function Ae(){te=!1,ne=o.now(),ee()}function Ce(e){var t=e.target;t._lazyCache?delete t._lazyCache:(we(e),u(t,m.loadedClass),y(t,m.loadingClass),v(t,ce),b(t,"lazyloaded"))}function Ee(e){var t,n=e[h](m.srcsetAttr);(t=m.customMedia[e[h]("data-media")||e[h]("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n)}function Se(){3==m.loadMode&&(m.loadMode=2),ge()}function Le(){C||(o.now()-J<999?c(Le,999):(C=!0,m.loadMode=3,x(),t("scroll",Se,!0)))}function Te(e,t,n){var i=e.parentNode;i&&(n=U(e,i,n),(t=b(e,"lazybeforesizes",{width:n,dataAttr:!!t})).defaultPrevented||(n=t.detail.width)&&n!==e._lazysizesWidth&&pe(e,i,t,n))}};n=n(t,t.document,Date),t.lazySizes=n,e.exports&&(e.exports=n)}),smoothScroll_polyfills_min=(createCommonjsModule(function(e){var t,n,i;t="undefined"!=typeof window?window:0,n=function(a,o,l){var i,r,s,d,t,n,c,u,g,f,m,p,h,y,v=l.cfg,e=o.createElement("img"),b="sizes"in e&&"srcset"in e,w=/\s+\d+h/g,e=(r=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,s=Array.prototype.forEach,function(){function n(e){var t,n=e.getAttribute(v.srcsetAttr);n&&(t=n.match(r))&&((t="w"==t[2]?t[1]/t[3]:t[3]/t[1])&&e.setAttribute("data-aspectratio",t),e.setAttribute(v.srcsetAttr,n.replace(w,"")))}function e(e){var t;e.detail.instance==l&&((t=e.target.parentNode)&&"PICTURE"==t.nodeName&&s.call(t.getElementsByTagName("source"),n),n(e.target))}function t(){i.currentSrc&&o.removeEventListener("lazybeforeunveil",e)}var i=o.createElement("img");o.addEventListener("lazybeforeunveil",e),i.onload=t,i.onerror=t,i.srcset="data:,a 1w 1h",i.complete&&t()});function z(e,t,n,i){d.push({c:t,u:n,w:+i})}function A(){var e,n;function t(){for(var e=0,t=n.length;e<t;e++)i(n[e])}A.init||(A.init=!0,addEventListener("resize",(n=o.getElementsByClassName("lazymatchmedia"),function(){clearTimeout(e),e=setTimeout(t,66)})))}function C(e){var t;b&&e.parentNode&&"PICTURE"!=e.parentNode.nodeName.toUpperCase()||(t=function(e){var t,n,i,a,o,r,s=e;if(m(s,!0),(a=s._lazypolyfill).isPicture)for(n=0,i=(t=e.parentNode.getElementsByTagName("source")).length;n<i;n++)if(v.supportsType(t[n].getAttribute("type"),e)&&h(t[n].getAttribute("media"))){s=t[n],m(s),a=s._lazypolyfill;break}return 1<a.length?(r=s.getAttribute("sizes")||"",r=u.test(r)&&parseInt(r,10)||l.gW(e,e.parentNode),a.d=p(e),!a.src||!a.w||a.w<r?(a.w=r,o=g(a.sort(c)),a.src=o):o=a.src):o=a[0],o}(e))&&t.u&&e._lazypolyfill.cur!=t.u&&(e._lazypolyfill.cur=t.u,t.cached=!0,e.setAttribute(v.srcAttr,t.u),e.setAttribute("src",t.u))}v.supportsType||(v.supportsType=function(e){return!e}),a.HTMLPictureElement&&b?!l.hasHDescriptorFix&&o.msElementsFromPoint&&(l.hasHDescriptorFix=!0,e()):a.picturefill||v.pf||(v.pf=function(e){var t,n;if(!a.picturefill)for(t=0,n=e.elements.length;t<n;t++)i(e.elements[t])},c=function(e,t){return e.w-t.w},u=/^\s*\d+\.*\d*px\s*$/,g=function(e){for(var t,n,i=e.length,a=e[i-1],o=0;o<i;o++)if((a=e[o]).d=a.w/e.w,a.d>=e.d){!a.cached&&(t=e[o-1])&&t.d>e.d-.13*Math.pow(e.d,2.2)&&(n=Math.pow(t.d-.6,1.6),t.cached&&(t.d+=.15*n),t.d+(a.d-e.d)*n>e.d)&&(a=t);break}return a},t=/(([^,\s].[^\s]+)\s+(\d+)w)/g,n=/\s/,f=function(e){return d=[],(e=e.trim()).replace(w,"").replace(t,z),d.length||!e||n.test(e)||d.push({c:e,u:e,w:99}),d},m=function(e,t){var n,i=e.getAttribute("srcset")||e.getAttribute(v.srcsetAttr);!i&&t&&(i=e._lazypolyfill?e._lazypolyfill._set:e.getAttribute(v.srcAttr)||e.getAttribute("src")),e._lazypolyfill&&e._lazypolyfill._set==i||(n=f(i||""),t&&e.parentNode&&(n.isPicture="PICTURE"==e.parentNode.nodeName.toUpperCase(),n.isPicture)&&a.matchMedia&&(l.aC(e,"lazymatchmedia"),A()),n._set=i,Object.defineProperty(e,"_lazypolyfill",{value:n,writable:!0}))},p=function(e){var t=a.devicePixelRatio||1,e=l.getX&&l.getX(e);return Math.min(e||t,2.5,t)},h=function(e){return a.matchMedia?(h=function(e){return!e||(matchMedia(e)||{}).matches})(e):!e},C.parse=f,i=C,v.loadedClass&&v.loadingClass&&(y=[],['img[sizes$="px"][srcset].',"picture > img:not([srcset])."].forEach(function(e){y.push(e+v.loadedClass),y.push(e+v.loadingClass)}),v.pf({elements:o.querySelectorAll(y.join(", "))})))},t&&(i=function(){n(t.lazySizes),t.removeEventListener("lazyunveilread",i,!0)},n=n.bind(null,t,t.document),e.exports?n(lazysizes):t.lazySizes?i():t.addEventListener("lazyunveilread",i,!0))}),createCommonjsModule(function(e){function t(){i(n.lazySizes),n.removeEventListener("lazyunveilread",t,!0)}var n,i;n=window,i=(i=function(e,o,r){var s,l,d={};
1function c(e,t,n){var i,a;d[e]||(i=o.createElement(t?"link":"script"),a=o.getElementsByTagName("script")[0],t?(i.rel="stylesheet",i.href=e):(i.onload=function(){i.onerror=null,i.onload=null,n()},i.onerror=i.onload,i.src=e),d[e]=!0,d[i.src||i.href]=!0,a.parentNode.insertBefore(i,a))}o.addEventListener&&(l=/\(|\)|\s|'/,s=function(e,t){var n=o.createElement("img");n.onload=function(){n.onload=null,n.onerror=null,n=null,t()},n.onerror=n.onload,n.src=e,n&&n.complete&&n.onload&&n.onload()},addEventListener("lazybeforeunveil",function(e){var t,n,i;if(e.detail.instance==r&&!e.defaultPrevented){var a=e.target;if("none"==a.preload&&(a.preload=a.getAttribute("data-preload")||"auto"),null!=a.getAttribute("data-autoplay"))if(a.getAttribute("data-expand")&&!a.autoplay)try{a.play()}catch(e){}else requestAnimationFrame(function(){a.setAttribute("data-expand","-10"),r.aC(a,r.cfg.lazyClass)});(t=a.getAttribute("data-link"))&&c(t,!0),(t=a.getAttribute("data-script"))&&(e.detail.firesLoad=!0,c(t,null,function(){e.detail.firesLoad=!1,r.fire(a,"_lazyloaded",{},!0,!0)})),(t=a.getAttribute("data-require"))&&(r.cfg.requireJs?r.cfg.requireJs([t]):c(t)),(n=a.getAttribute("data-bg"))&&(e.detail.firesLoad=!0,s(n,function(){a.style.backgroundImage="url("+(l.test(n)?JSON.stringify(n):n)+")",e.detail.firesLoad=!1,r.fire(a,"_lazyloaded",{},!0,!0)})),(i=a.getAttribute("data-poster"))&&(e.detail.firesLoad=!0,s(i,function(){a.poster=i,e.detail.firesLoad=!1,r.fire(a,"_lazyloaded",{},!0,!0)}))}},!1))}).bind(null,n,n.document),e.exports?i(lazysizes):n.lazySizes?t():n.addEventListener("lazyunveilread",t,!0)}),createCommonjsModule(function(e){function t(){i(n.lazySizes),n.removeEventListener("lazyunveilread",t,!0)}var n,i;n=window,i=(i=function(e,l,d){var c,u,g,f,i,a,o,m,p;e.addEventListener&&(c=d.cfg,u=/\s+/g,g=/\s*\|\s+|\s+\|\s*/g,f=/^(.+?)(?:\s+\[\s*(.+?)\s*\])(?:\s+\[\s*(.+?)\s*\])?$/,i=/^\s*\(*\s*type\s*:\s*(.+?)\s*\)*\s*$/,a=/\(|\)|'/,o={contain:1,cover:1},m=function(e,t){var n;t&&((n=t.match(i))&&n[1]?e.setAttribute("type",n[1]):e.setAttribute("media",c.customMedia[t]||t))},p=function(e){var t,n,i;e.target._lazybgset&&(t=(e=e.target)._lazybgset,(i=e.currentSrc||e.src)&&(n=a.test(i)?JSON.stringify(i):i,(i=d.fire(t,"bgsetproxy",{src:i,useSrc:n,fullSrc:null})).defaultPrevented||(t.style.backgroundImage=i.detail.fullSrc||"url("+i.detail.useSrc+")")),e._lazybgsetLoading)&&(d.fire(t,"_lazyloaded",{},!1,!0),delete e._lazybgsetLoading)},addEventListener("lazybeforeunveil",function(e){var t,i,a,n,o,r,s;!e.defaultPrevented&&(t=e.target.getAttribute("data-bgset"))&&(r=e.target,(s=l.createElement("img")).alt="",s._lazybgsetLoading=!0,e.detail.firesLoad=!0,e=t,t=r,r=s,i=l.createElement("picture"),a=t.getAttribute(c.sizesAttr),n=t.getAttribute("data-ratio"),o=t.getAttribute("data-optimumx"),t._lazybgset&&t._lazybgset.parentNode==t&&t.removeChild(t._lazybgset),Object.defineProperty(r,"_lazybgset",{value:t,writable:!0}),Object.defineProperty(t,"_lazybgset",{value:i,writable:!0}),e=e.replace(u," ").split(g),i.style.display="none",r.className=c.lazyClass,1==e.length&&(a=a||"auto"),e.forEach(function(e){var t,n=l.createElement("source");a&&"auto"!=a&&n.setAttribute("sizes",a),(t=e.match(f))?(n.setAttribute(c.srcsetAttr,t[1]),m(n,t[2]),m(n,t[3])):n.setAttribute(c.srcsetAttr,e),i.appendChild(n)}),a&&(r.setAttribute(c.sizesAttr,a),t.removeAttribute(c.sizesAttr),t.removeAttribute("sizes")),o&&r.setAttribute("data-optimumx",o),n&&r.setAttribute("data-ratio",n),i.appendChild(r),t.appendChild(i),setTimeout(function(){d.loader.unveil(s),d.rAF(function(){d.fire(s,"_lazyloaded",{},!0,!0),s.complete&&p({target:s})})}))}),l.addEventListener("load",p,!0),e.addEventListener("lazybeforesizes",function(e){var t,n,i;e.detail.instance==d&&e.target._lazybgset&&e.detail.dataAttr&&(n=e.target._lazybgset,n=n,i=(getComputedStyle(n)||{getPropertyValue:function(){}}).getPropertyValue("background-size"),t=i=!o[i]&&o[n.style.backgroundSize]?n.style.backgroundSize:i,o[t])&&(e.target._lazysizesParentFit=t,d.rAF(function(){e.target.setAttribute("data-parent-fit",t),e.target._lazysizesParentFit&&delete e.target._lazysizesParentFit}))},!0),l.documentElement.addEventListener("lazybeforesizes",function(e){var t;!e.defaultPrevented&&e.target._lazybgset&&e.detail.instance==d&&(e.detail.width=(e=e.target._lazybgset,t=d.gW(e,e.parentNode),(!e._lazysizesWidth||t>e._lazysizesWidth)&&(e._lazysizesWidth=t),e._lazysizesWidth))}))}).bind(null,n,n.document),e.exports?i(lazysizes):n.lazySizes?t():n.addEventListener("lazyunveilread",t,!0)}),createCommonjsModule(function(e){function t(){i(n.lazySizes),n.removeEventListener("lazyunveilread",t,!0)}var n,i;n=window,i=(i=function(o,r,l){var d,c,s,u,g,f;r.addEventListener&&(s=l.cfg,u=[],g=o.requestAnimationFrame||setTimeout,f={checkElements:function(){for(var e,t=1.1*(l._defEx+99),n=-1*t,i=n,a=innerHeight+t,o=innerWidth+t,r=0,s=c.length;r<s;r++)((e=c[r].getBoundingClientRect()).top>a||e.bottom<n||e.left>o||e.right<i||d.unloadHidden&&!e.top&&!e.bottom&&!e.left&&!e.right)&&u.push(c[r]);g(f.unloadElements)},unload:function(e){var t,n,i,a,o=e.parentNode;if(l.rC(e,d.loadedClass),e.getAttribute(d.srcsetAttr)&&(e.setAttribute("srcset",d.emptySrc),n=!0),o&&"PICTURE"==o.nodeName.toUpperCase()){for(i=0,a=(t=o.getElementsByTagName("source")).length;i<a;i++)t[i].setAttribute("srcset",d.emptySrc);n=!0}l.hC(e,d.autosizesClass)&&(l.rC(e,d.autosizesClass),e.setAttribute(d.sizesAttr,"auto")),(n||e.getAttribute(d.srcAttr))&&(e.src=d.emptySrc),l.aC(e,d.unloadedClass),l.aC(e,d.lazyClass),l.fire(e,"lazyafterunload")},unloadElements:function(e){for(e=Array.isArray(e)?e:u;e.length;)f.unload(e.shift())},_reload:function(e){l.hC(e.target,d.unloadedClass)&&e.detail&&(e.detail.reloaded=!0,l.rC(e.target,d.unloadedClass))}},addEventListener("lazybeforeunveil",function e(){var t,n,i;function a(){f.checkElements(),i=!1}o.lazySizes&&!c&&(t=r.documentElement,n=function(){i||(i=!0,setTimeout(a,999))},d=l.cfg,removeEventListener("lazybeforeunveil",e),"unloadClass"in d||(d.unloadClass="lazyunload"),"unloadedClass"in d||(d.unloadedClass="lazyunloaded"),"unloadHidden"in d||(d.unloadHidden=!0),"emptySrc"in d||(d.emptySrc="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),"autoUnload"in d||(d.autoUnload=!0),"unloadPixelThreshold"in d||(d.unloadPixelThreshold=6e4),d.autoUnload&&t.addEventListener("load",function(e){e.target.naturalWi
1dth*e.target.naturalHeight>d.unloadPixelThreshold&&e.target.className&&e.target.className.indexOf&&-1!=e.target.className.indexOf(s.loadingClass)&&-1==e.target.className.indexOf(s.preloadClass)&&l.aC(e.target,s.unloadClass)},!0),l.unloader=f,c=r.getElementsByClassName([d.unloadClass,d.loadedClass].join(" ")),setInterval(n,9999),addEventListener("lazybeforeunveil",n),addEventListener("lazybeforeunveil",f._reload,!0))}))}).bind(null,n,n.document),e.exports?i(lazysizes):n.lazySizes?t():n.addEventListener("lazyunveilread",t,!0)}),createCommonjsModule(function(e,t){window.Element&&!Element.prototype.closest&&(Element.prototype.closest=function(e){var t,n=(this.document||this.ownerDocument).querySelectorAll(e),i=this;do{for(t=n.length;0<=--t&&n.item(t)!==i;);}while(t<0&&(i=i.parentElement));return i}),"function"!=typeof window.CustomEvent&&(s.prototype=window.Event.prototype,window.CustomEvent=s);for(var n,w,z,A,r,C,E,S,o=0,i=["ms","moz","webkit","o"],a=0;a<i.length&&!window.requestAnimationFrame;++a)window.requestAnimationFrame=window[i[a]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[i[a]+"CancelAnimationFrame"]||window[i[a]+"CancelRequestAnimationFrame"];function s(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}window.requestAnimationFrame||(window.requestAnimationFrame=function(e,t){var n=(new Date).getTime(),i=Math.max(0,16-(n-o)),a=window.setTimeout(function(){e(n+i)},i);return o=n+i,a}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)}),n=void 0===commonjsGlobal&&"undefined"!=typeof window?window:commonjsGlobal,e.exports=(w=n,z={ignore:"[data-scroll-ignore]",header:null,topOnEmptyHash:!0,speed:500,speedAsDuration:!1,durationMax:null,durationMin:null,clip:!0,offset:0,easing:"easeInOutCubic",customEasing:null,updateURL:!0,popstate:!0,emitEvents:!0},A=function(){var n={};return Array.prototype.forEach.call(arguments,function(e){for(var t in e){if(!e.hasOwnProperty(t))return;n[t]=e[t]}}),n},r=function(e){"#"===e.charAt(0)&&(e=e.substr(1));for(var t,n=String(e),i=n.length,a=-1,o="",r=n.charCodeAt(0);++a<i;){if(0===(t=n.charCodeAt(a)))throw new InvalidCharacterError("Invalid character: the input contains U+0000.");o+=1<=t&&t<=31||127==t||0===a&&48<=t&&t<=57||1===a&&48<=t&&t<=57&&45===r?"\\"+t.toString(16)+" ":128<=t||45===t||95===t||48<=t&&t<=57||65<=t&&t<=90||97<=t&&t<=122?n.charAt(a):"\\"+n.charAt(a)}return"#"+o},C=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},E=function(e,t,n){0===e&&document.body.focus(),n||(e.focus(),document.activeElement!==e&&(e.setAttribute("tabindex","-1"),e.focus(),e.style.outline="none"),w.scrollTo(0,t))},S=function(e,t,n,i){t.emitEvents&&"function"==typeof w.CustomEvent&&(t=new CustomEvent(e,{bubbles:!0,detail:{anchor:n,toggle:i}}),document.dispatchEvent(t))},function(a,e){function t(e){if(!e.defaultPrevented&&!(0!==e.button||e.metaKey||e.ctrlKey||e.shiftKey)&&"closest"in e.target&&(o=e.target.closest(a))&&"a"===o.tagName.toLowerCase()&&!e.target.closest(h.ignore)&&o.hostname===w.location.hostname&&o.pathname===w.location.pathname&&/#/.test(o.href)){var t;try{n=r(decodeURIComponent(o.hash))}catch(e){n=r(o.hash)}if("#"===n){if(!h.topOnEmptyHash)return;t=document.documentElement}else t=document.querySelector(n);(t=t||"#top"!==n?t:document.documentElement)&&(e.preventDefault(),n=h,history.replaceState&&n.updateURL&&!history.state&&(i=(i=w.location.hash)||"",history.replaceState({smoothScroll:JSON.stringify(n),anchor:i||w.pageYOffset},document.title,i||w.location.href)),b.animateScroll(t,o))}var n,i}function n(e){var t;null===history.state||!history.state.smoothScroll||history.state.smoothScroll!==JSON.stringify(h)||"string"==typeof(t=history.state.anchor)&&t&&!(t=document.querySelector(r(history.state.anchor)))||b.animateScroll(t,null,{updateURL:!1})}var h,o,y,v,b={cancelScroll:function(e){cancelAnimationFrame(v),v=null,e||S("scrollCancel",h)}};b.animateScroll=function(i,a,e){b.cancelScroll();var o,r,s,l,d,c,u,g,f,t,m=A(h||z,e||{}),p="[object Number]"===Object.prototype.toString.call(i),e=p||!i.tagName?null:i;(p||e)&&(o=w.pageYOffset,m.header&&!y&&(y=document.querySelector(m.header)),t=(t=y)?parseInt(w.getComputedStyle(t).height,10)+t.offsetTop:0,l=p?i:function(e,t,n,i){var a=0;if(e.offsetParent)for(;a+=e.offsetTop,e=e.offsetParent;);return a=Math.max(a-t-n,0),a=i?Math.min(a,C()-w.innerHeight):a}(e,t,parseInt("function"==typeof m.offset?m.offset(i,a):m.offset,10),m.clip),d=l-o,c=C(),u=0,t=(e=m).speedAsDuration?e.speed:Math.abs(d/1e3*e.speed),g=e.durationMax&&t>e.durationMax?e.durationMax:e.durationMin&&t<e.durationMin?e.durationMin:parseInt(t,10),f=function(e){var t,n;u+=e-(r=r||e),s=o+d*(n=1<(s=0===g?0:u/g)?1:s,"easeInQuad"===m.easing&&(t=n*n),"easeOutQuad"===m.easing&&(t=n*(2-n)),"easeInOutQuad"===m.easing&&(t=n<.5?2*n*n:(4-2*n)*n-1),"easeInCubic"===m.easing&&(t=n*n*n),"easeOutCubic"===m.easing&&(t=--n*n*n+1),"easeInOutCubic"===m.easing&&(t=n<.5?4*n*n*n:(n-1)*(2*n-2)*(2*n-2)+1),"easeInQuart"===m.easing&&(t=n*n*n*n),"easeOutQuart"===m.easing&&(t=1- --n*n*n*n),"easeInOutQuart"===m.easing&&(t=n<.5?8*n*n*n*n:1-8*--n*n*n*n),"easeInQuint"===m.easing&&(t=n*n*n*n*n),"easeOutQuint"===m.easing&&(t=1+--n*n*n*n*n),"easeInOutQuint"===m.easing&&(t=n<.5?16*n*n*n*n*n:1+16*--n*n*n*n*n),(t=m.customEasing?m.customEasing(n):t)||n),w.scrollTo(0,Math.floor(s)),t=l,n=w.pageYOffset,(!(s==t||n==t||(o<t&&w.innerHeight+n)>=c)||(b.cancelScroll(!0),E(i,t,p),S("scrollStop",m,i,a),v=r=null))&&(v=w.requestAnimationFrame(f),r=e)},0===w.pageYOffset&&w.scrollTo(0,0),e=i,p||history.pushState&&m.updateURL&&history.pushState({smoothScroll:JSON.stringify(m),anch
1or:e.id},document.title,e===document.documentElement?"#top":"#"+e.id),"matchMedia"in w&&w.matchMedia("(prefers-reduced-motion)").matches?E(i,Math.floor(l),!1):(S("scrollStart",m,i,a),b.cancelScroll(!0),w.requestAnimationFrame(f)))};if(b.destroy=function(){h&&(document.removeEventListener("click",t,!1),w.removeEventListener("popstate",n,!1),b.cancelScroll(),v=y=o=h=null)},"querySelector"in document&&"addEventListener"in w&&"requestAnimationFrame"in w&&"closest"in w.Element.prototype)return b.destroy(),h=A(z,e||{}),y=h.header?document.querySelector(h.header):null,document.addEventListener("click",t,!1),h.updateURL&&h.popstate&&w.addEventListener("popstate",n,!1),b;throw"Smooth Scroll: This browser does not support the required JavaScript methods and browser APIs."})}));!function(){for(var o=0,e=["ms","moz","webkit","o"],t=0;t<e.length&&!window.requestAnimationFrame;++t)window.requestAnimationFrame=window[e[t]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e[t]+"CancelAnimationFrame"]||window[e[t]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e,t){var n=(new Date).getTime(),i=Math.max(0,16-(n-o)),a=window.setTimeout(function(){e(n+i)},i);return o=n+i,a}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}();class InclusiveToggle{constructor(e){return this.button=e,this.target=document.getElementById(e.getAttribute("aria-controls")),this.siblings=null,e.classList.contains("bifteki")&&(this.siblings=document.querySelectorAll(".bifteki")),e.classList.contains("myAccountBtn")&&(this.siblings=document.querySelectorAll(".myAccountBtn")),e.classList.contains("userLoginBtn")&&(this.siblings=document.querySelectorAll(".userLoginBtn")),this}open(){const t=document.createEvent("Event");return t.initEvent("open",!0,!0),this.button.setAttribute("aria-expanded",!0),this.target&&(this.target.setAttribute("aria-hidden",!1),this.target.removeAttribute("inert")),this.button.dispatchEvent(t),null!=this.siblings&&this.siblings.forEach(e=>{e.setAttribute("aria-expanded",!0),e.setAttribute("aria-hidden",!1),e.dispatchEvent(t)}),this}close(){const t=document.createEvent("Event");return t.initEvent("close",!0,!0),this.button.setAttribute("aria-expanded",!1),this.target&&(this.target.setAttribute("aria-hidden",!0),this.target.setAttribute("inert","")),this.button.dispatchEvent(t),null!=this.siblings&&this.siblings.forEach(e=>{e.setAttribute("aria-expanded",!1),e.setAttribute("aria-hidden",!0),e.dispatchEvent(t)}),this}toggle(){return"true"===this.button.getAttribute("aria-expanded")?this.close():this.open()}init(){this.button.addEventListener("click",this.toggle.bind(this),!1)}}const dfpConfig={accountId:"1051519",environment:"production",language:"en",pagetype:!1,zoneClass:"js-adZone",zoneSelector:()=>"."+dfpConfig.zoneClass,breakPoints:{mobile:[0,0],desktop:[1100,600]},targetingKeys:["category","context"],zoneIds:[],adSlots:{},...window.nkDfpConfig},zoneDefinitions={billboard:{size:[970,250],sizeMapping:()=>window.googletag.sizeMapping().addSize(dfpConfig.breakPoints.desktop,[970,250]).addSize(dfpConfig.breakPoints.mobile,[300,250]).build()},mrec:{size:[300,250]},premium:{size:["fluid",[970,250],[300,250]],sizeMapping:()=>window.googletag.sizeMapping().addSize(dfpConfig.breakPoints.desktop,[[970,250],"fluid"]).addSize(dfpConfig.breakPoints.mobile,[[300,250],"fluid"]).build()},header_premium:{size:["fluid",[970,250],[320,100]],sizeMapping:()=>window.googletag.sizeMapping().addSize(dfpConfig.breakPoints.desktop,[[970,250],"fluid"]).addSize(dfpConfig.breakPoints.mobile,[[320,100],"fluid"]).build()}};function getZonePrefix(){let e="nk";return"el"===dfpConfig.language&&(e+="_el"),e="development"===dfpConfig.environment?"ztest":e}function createZoneId(e){e=getZonePrefix()+`_${e}_`+dfpConfig.zoneIds.length;return dfpConfig.zoneIds.push(e),e}function getAdUnitPath(e){var t=e.lastIndexOf("_"),e=e.substring(0,t);return`/${dfpConfig.accountId}/`+e}function createZone(e,t){const n={deferLoading:!1,keyValues:{},...t};t=[dfpConfig.zoneClass,"adZone","adZone--"+e,"lazyunload"];n.deferLoading||t.push("lazyload");const i=document.createElement("div");
1return i.id=createZoneId(e),t.forEach(e=>{i.classList.add(e)}),i.setAttribute("data-zone-type",e),Object.keys(n.keyValues).forEach(e=>{i.setAttribute("data-"+e,n.keyValues[e])}),i}function createSlot(n){const i=document.getElementById(n);if(i){const e=getAdUnitPath(n),t=i.getAttribute("data-zone-type");window.googletag.cmd.push(()=>{dfpConfig.adSlots[n]=window.googletag.defineSlot(e,zoneDefinitions[t].size,n).addService(window.googletag.pubads()),dfpConfig.targetingKeys.forEach(e=>{var t=i.getAttribute("data-"+e);t&&dfpConfig.adSlots[n].setTargeting(e,t.split(","))}),zoneDefinitions[t].sizeMapping&&(dfpConfig.adSlots[n].defineSizeMapping(zoneDefinitions[t].sizeMapping()),i.classList.add(dfpConfig.zoneClass+"--responsive"))})}}function displaySlot(e){window.googletag.cmd.push(()=>{window.googletag.display(e),window.googletag.pubads().refresh([dfpConfig.adSlots[e]])})}function enableLazyLoading(e){var t=e.querySelectorAll(dfpConfig.zoneSelector());for(let e=0;e<t.length;e+=1)t[e].classList.add("lazyload")}var Advert={createZone:createZone,createSlot:createSlot,displaySlot:displaySlot,enableLazyLoading:enableLazyLoading};const header=document.getElementById("site-header");let headerHeight=0;function getHeaderHeight(){return headerHeight}function addHeaderAdBodyClass(e){e=970===e.size[0]||320===e.size[0]?"is-header-adUnit-billboard":"is-header-adUnit-native";document.body.classList.add(e)}function setHeaderHeight(){var e=document.querySelector(dfpConfig.zoneSelector()+"--header_premium");headerHeight=e.offsetHeight}function addBodyClassAndHeaderHeight(e){var t=e.slot.getAdUnitPath().indexOf("header_premium");!1===e.isEmpty&&-1!==t&&(addHeaderAdBodyClass(e),setHeaderHeight())}function insertPremiumHeaderZoneAndSlot(){var e=Advert.createZone("header_premium");document.body.insertBefore(e,header),window.googletag.cmd.push(()=>{window.googletag.pubads().addEventListener("slotRenderEnded",addBodyClassAndHeaderHeight)})}function init$1(){header&&insertPremiumHeaderZoneAndSlot()}var HeaderPremiumAdvert={init:init$1,getHeaderHeight:getHeaderHeight};const siteHeader=document.getElementById("site-header"),navBar=document.getElementById("navBar"),bifteki=document.querySelectorAll(".bifteki"),myAccount=document.querySelectorAll(".myAccountBtn"),userLogin=document.querySelectorAll(".userLoginBtn"),pelcroToggle=document.querySelector(".navBar-action.pelcroToggle"),navInner=document.querySelector(".navCta-wrap"),navInnerMobile=document.querySelector(".navCta-wrap-mobile"),digiSub=document.querySelector(".digiSub"),digiSubMobile=document.querySelector(".digiSub--min"),accountLabel=document.documentElement.lang.startsWith("el")?"Ο λογαριασμός μου":"My Account",loginLabel=document.documentElement.lang.startsWith("el")?"Σύνδεση":"Login",isTransparent=navBar.classList.contains("is-transparent"),scroll=new smoothScroll_polyfills_min,navbarHeight=navBar.offsetHeight;let fixedTimeout=null,scrolled=!1,scrollY=0,prevScrollY=0,ticking=!1;function accountCloseState(){window.pelcroActions&&window.pelcroActions.close()}function navBarCloseState(){siteHeader.classList.remove("is-open"),document.body.classList.remove("is-open")}function accountOpenState(){navBarCloseState(),window.pelcroActions?window.pelcroActions.dashboard():window.NKLoadPelcro&&window.NKLoadPelcro().then(()=>{window.pelcroActions&&window.pelcroActions.dashboard()})}function navBarOpenState(){accountCloseState(),0!==siteHeader.offsetTop?(scroll.animateScroll(navBar,0,{speed:500}),setTimeout(()=>{siteHeader.classList.add("is-open"),document.body.classList.add("is-open")},500)):(siteHeader.classList.add("is-open"),document.body.classList.add("is-open"))}function loginOpenState(){navBarCloseState(),accountCloseState(),window.pelcroActions?window.pelcroActions.login():window.NKLoadPelcro&&window.NKLoadPelcro().then(()=>{window.pelcroActions&&window.pelcroActions.login()})}function loginCloseState(){window.pelcroActions&&window.pelcroActions.login()}function initNavBarToggle(){bifteki.forEach(e=>{new InclusiveToggle(e).init(),e.addEventListener("open",navBarOpenState,!1),e.addEventListener("close",n
1avBarCloseState,!1)})}function initAccountToggle(){null!=myAccount&&0<myAccount.length&&myAccount.forEach(e=>{new InclusiveToggle(e).init(),e.addEventListener("open",accountOpenState,!1),e.addEventListener("close",accountCloseState,!1)}),null!==userLogin&&0<userLogin.length&&userLogin.forEach(e=>{new InclusiveToggle(e).init(),e.addEventListener("open",loginOpenState,!1),e.addEventListener("close",loginCloseState,!1)})}function setScrolledClass(){scrollY>navbarHeight+HeaderPremiumAdvert.getHeaderHeight()?(scrolled||(document.body.classList.add("is-scrolled"),navBar.classList.remove("is-transparent"),fixedTimeout=window.setTimeout(function(){siteHeader.classList.add("is-fixed")},300),scrolled=!0),scrollY<prevScrollY?document.body.classList.add("is-scrolling-up"):document.body.classList.remove("is-scrolling-up")):(0===scrollY||scrollY<HeaderPremiumAdvert.getHeaderHeight())&&(clearTimeout(fixedTimeout),document.body.classList.remove("is-scrolled","is-scrolling-up"),siteHeader.classList.remove("is-fixed"),scrolled=!1,isTransparent)&&navBar.classList.add("is-transparent"),ticking=!1}function requestTick(){ticking||window.requestAnimationFrame(setScrolledClass),ticking=!0}function onScroll(){prevScrollY=scrollY,scrollY=window.pageYOffset||document.documentElement.scrollTop,requestTick()}function getWindowUnits(){var e=.01*window.innerHeight;document.documentElement.style.setProperty("--vh",e+"px")}function onResize(){getWindowUnits(),requestTick()}function init(){initNavBarToggle(),initAccountToggle(),getWindowUnits(),window.addEventListener("scroll",onScroll),window.addEventListener("resize",onResize),document.addEventListener("PelcroUserLogin",function(){siteHeader.classList.add("logged-in"),pelcroToggle.classList.add("myAccount","myAccountBtn","myAccountHover"),pelcroToggle.classList.remove("userLogin","userLoginBtn"),pelcroToggle.setAttribute("aria-label",accountLabel),navInner.classList.remove("logged-out"),navInner.classList.add("logged-in"),navInnerMobile.classList.remove("logged-out"),navInnerMobile.classList.add("logged-in"),digiSub.classList.remove("logged-out"),digiSub.classList.add("logged-in"),digiSubMobile.classList.remove("logged-out"),digiSubMobile.classList.add("logged-in")}),document.addEventListener("PelcroUserLogout",function(){siteHeader.classList.remove("logged-in"),pelcroToggle.classList.remove("myAccount","myAccountBtn","myAccountHover"),pelcroToggle.classList.add("userLogin","userLoginBtn"),pelcroToggle.setAttribute("aria-label",loginLabel),navInner.classList.remove("logged-in"),navInner.classList.add("logged-out"),navInnerMobile.classList.remove("logged-in"),navInnerMobile.classList.add("logged-out"),digiSub.classList.remove("logged-in"),digiSub.classList.add("logged-out"),digiSubMobile.classList.remove("logged-in"),digiSubMobile.classList.add("logged-out")})}var NavBar={init:init},gtm={init(){const n=window.dataLayer||[];function e(){let e=!1;var t=window.Pelcro&&window.Pelcro.subscription;t&&"function"==typeof t.isSubscribedToSite&&(e=t.isSubscribedToSite()),window.dataLayerVars.subscriber=Boolean(e),n.push(window.dataLayerVars)}window.dataLayerVars&&(e(),document.addEventListener("PelcroUserLoaded",e,{once:!0}))}};function runWhenIdle(e){"requestIdleCallback"in window?window.requestIdleCallback(e,{timeout:1500}):window.setTimeout(e,1)}function initFeature(e,t){document.querySelector(e)&&t().then(({default:e})=>e.init()).catch(e=>console.error("Unable to initialise theme feature.",e))}NavBar.init(),initFeature("[data-twitter], [data-facebook], [data-instagram], [data-tiktok]",()=>import("./chunks/Embeds-5e76638a.js")),initFeature(".gallery-content",()=>import("./chunks/Gallery-2c73e2b6.js")),initFeature(".adUnit [data-fuse]",()=>import("./chunks/LoadAds-d9e0eeee.js")),initFeature(".js-newsletter-form",()=>import("./chunks/Newsletter-f3193960.js")),runWhenIdle(()=>{initFeature("#feed-main",()=>import("./chunks/Feed-163f81ad.js")),initFeature("#site-articles",()=>import("./chunks/Article-34caa450.js")),initFeature(".type-post",()=>import("./chunks/PostPreview-9b0f96ed.js")),initFeature(".poster, .takeover",()=>
1import("./chunks/PosterCaption-daebdaaf.js")),initFeature(".js-social-share",()=>import("./chunks/SocialShare-e694dc0f.js")),initFeature(".hero-slider",()=>import("./chunks/PageModules-32eca54b.js")),initFeature(".search-results",()=>import("./chunks/SearchResults-702c1f24.js")),initFeature(".content-section-title",()=>import("./chunks/SingleNoticesTributes-48618f63.js")),initFeature(".nk-subscription-plans",()=>import("./chunks/SubscriptionPlansToggle-295a79b6.js"))}),gtm.init();export{InclusiveToggle as I,commonjsGlobal as a,createCommonjsModule as c};
2//# sourceMappingURL=theme-a2ff17e1.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.