/*! ssp-static v3.257.0 */!function(){var t={71:function(t,e,n){"use strict";n.d(e,{u:function(){return r}});const o=/($|\/)ssp\.js\?/,r=()=>{const t={},e=document.querySelectorAll("script")||[],n=Array.from(e).find(t=>{let{src:e}=t;return o.test(e)});if(n){const e=new URLSearchParams(n.src.split("?")[1]);for(const[n,o]of e.entries())t[n]=o}return t}},78:function(t,e,n){"use strict";n.d(e,{Dt:function(){return f},Kp:function(){return m},OA:function(){return p},PL:function(){return v},QK:function(){return w},ak:function(){return y},lA:function(){return g},q:function(){return S},ul:function(){return u},wf:function(){return h}});var o=n(9379),r=n(6291),i=n(3508),s=n(3882),a=n(1656);let c=!1,d=[],l=null;const u=()=>{var t;return null===(t=l)||void 0===t?void 0:t()};window.addEventListener("ssppvidset",()=>{c&&(d=[],l=null),c=!0});const f=()=>d,p=t=>{d=[...d,...t]},m=async t=>{let{id:e,zoneId:n}=t;d=d.map(t=>t.ad.zoneId!==n||t.ad.id?t:(0,o.A)((0,o.A)({},t),{},{ad:(0,o.A)((0,o.A)({},t.ad),{},{id:e}),data:(0,o.A)((0,o.A)({},t.data),{},{id:e})})),await(0,i.ls)()},h=(t,e)=>{if(t.length===e.length)return t.map((t,n)=>({data:t,ad:(0,o.A)({impressId:(0,a.$)(25),adIndex:n},e[n])}))},g=t=>d.find(e=>t===e.ad.impressId),w=(t,e)=>{const n=g(t.impressId);n&&(n.containerElement=e)},v=()=>f().sort((t,e)=>"number"!=typeof t.ad.zoneId||"number"!=typeof e.ad.zoneId?((0,r.s)("info","getBasicPositionsInfo: zoneId is not a number",t.ad.zoneId,e.ad.zoneId),0):t.ad.zoneId-e.ad.zoneId).map(t=>{const{zoneId:e,type:n,width:o,height:r,responsive:i,zoneName:a,sbr:c,bidIds:d}=t.ad;return{zoneId:e,zoneName:a,type:n,width:o,height:r,sbr:!!c,id:(0,s.d)(t.ad),responsive:!!i,crid:null==d?void 0:d.crid}}),y=t=>{const e={data:[]};return"function"==typeof t&&(l=()=>(t(v()),!0),e.removeWatcher=()=>l=null),e.data=v(),e},b=t=>{if(null==t||!t.id||null==t||!t.url)return!1;const{id:e,url:n}=t,o=d.find(t=>{var n;return(null==t||null===(n=t.data)||void 0===n?void 0:n.id)===e});var r,i;o?null===(r=o.ad)||void 0===r||null===(r=r.tracking)||void 0===r||r.visible.push(n):d.push({data:{id:e},ad:{id:e instanceof HTMLElement?null!==(i=null==e?void 0:e.id)&&void 0!==i?i:"":e.toString(),zoneId:e.toString(),type:"visibility-tracking",tracking:{visible:[n]}}});return!0},S=t=>{if(!Array.isArray(t))return;t.map(b).some(Boolean)&&(0,i.ls)()}},129:function(t,e,n){"use strict";n.d(e,{W:function(){return i},p:function(){return s}});const o=["com.au","net.au","org.au","edu.au","gov.au","co.at","or.at","ac.uk","co.uk","gov.uk","ltd.uk","co.nz"],r=t=>!t.includes("."),i=t=>{if(r(t))return t;const e=(t=>o.some(e=>t.endsWith("."+e)))(t)?-3:-2;return t.split(".").slice(e).join(".")},s=t=>{const e=i(t);return r(e)?e:".".concat(e)}},216:function(t,e,n){"use strict";n.d(e,{A:function(){return v},B:function(){return w}});var o=n(6439),r=n(3986);const i=["data","tracking"];var s=n(6643),a=n(78),c=n(6291),d=n(2003),l=n(606),u=n(2681),f=n(4572),p=n(6582),m=n(3508),h=n(8644),g=n(5242);const w=(t,e,n)=>{if(((t,e)=>{var n;if("function"!=typeof(null===(n=e.options)||void 0===n?void 0:n.infoCallback))return;const{data:o,tracking:s}=t,a=(0,r.A)(t,i);e.options.infoCallback(a,e)})(t,e),"error"===t.type){var o,u;(0,a.OA)([{ad:t,data:e}]);const n=null!==(o=null===(u=t.dbginfo)||void 0===u?void 0:u.error)&&void 0!==o?o:"",r="Position type error: ".concat(n);return(0,s.Jd)("donePositionError",{ad:t}),void(0,c.s)("error",r)}if((0,d.vb)(t.adFormat)){if(d.Dz.add(Number(t.zoneId)),(0,d.JJ)())return;(0,d.Tv)(),t.autoReload&&((t,e)=>{const n=new AbortController,o=()=>{t.options=t.options||{},t.options.reloadCount="number"==typeof t.options.reloadCount?t.options.reloadCount+1:1;const n="string"==typeof t.id||"number"==typeof t.id?document.getElementById(t.id.toString()):t.id;for(;null!=n&&n.firstChild;)n.removeChild(n.firstChild);g.A.call(null,[t],e)};window.addEventListener("sspoverlaytimeout",()=>{if(n.abort(),document.hidden){const t=new AbortController;window.addEventListener("visibilitychange",()=>{document.hidden||(t.abort(),o())},{signal:t.signal})}else o()},{signal:n.signal}),window.addEventListener("ssppvidset",()=>n.abort(),{signal:n.signal})})(e,n)}if("interstitial2"===t.adFormat)try{var f;(0,p.jm)(null===(f=e.options)||void 0===f?void 0:f.landingUrl.toString())}catch(t){(0,c.s)("error","Error setting landing URL:",t),delete e.options.landingUrl}(0,s.wm)(t,e),(0,l.A)(t,e)};var v=async function(t,e,n,r){const{callCallbackOnError:i}=(0,u.zj)();(0,c.s)("info","### starting _done ###"),(0,s.Jd)("doneCallStart",{positions:e});const d=(0,f.T)(t);if((null!=d&&d.error||!d)&&i){const t={error:(null==d?void 0:d.error)||"No valid JSON data from server response."};r.zones.forEach(e=>{e.callback(t,e)})}if(!d)return;const{ads:l,requestId:p}=d;if(!l)return;(0,s.Jd)("doneDataParsed",{parsedData:d}),l.forEach((t,n)=>{((t,e,n)=>{var o,r;t.tracking=t.tracking||{served:null,visible:null},t.id=e.id instanceof HTMLElement?null!==(o=null===(r=e.id)||void 0===r?void 0:r.id)&&void 0!==o?o:"":e.id,t.requestId=n})(t,e[n],p)}),(0,s.BD)(r,l);const g=(0,a.wf)(e,l).map(async t=>{let{ad:e,data:r}=t;await(0,o.MR)(e,r,n)?(0,c.s)("info","Request GAM ad, skipping further processing."):w(e,r,n)});await Promise.all(g),(0,s.Jd)("doneEnded",{}),(0,m.Ay)(),(0,s.Jd)("viewHandlerEnabledCall",{}),(0,a.ul)(),(0,s.vm)((0,a.PL)()),(0,h.Ry)(d)}},384:function(t,e,n){"use strict";function o(t,e=""){return t?t.replace(/([^"]*)"/g,(t,e)=>/\\/.test(e)?`${e}"`:`${e}"`):e}n.d(e,{H:function(){return o}})},606:function(t,e,n){"use strict";n.d(e,{A:function(){return f}});var o=n(6028),r=n(6643),i=n(6291),s=n(78),a=n(6202),c=n(4770),d=n(7939),l=n(740);var u=(t,e)=>{if(!window.XMLHttpRequest)return void(0,i.s)("error","XMLHttpRequest is not supported in this environment");const n=new XMLHttpRequest,o=t.data,r=(t,e,n)=>{let{target:{responseText:o}}=t;return!o&&(e.type="error",n.callback?(n.callback(e,n),!0):((0,d.A)(e,n),!0))};n.onload=n=>{r(n,t,e)||(t.data=n.target.responseText,"json_url"===t.type?(t.type="json",(0,c.P)(t),(0,l.t)(()=>e.callback(t,e))):(t.type="code",e.callback?((0,c.P)(t),(0,l.t)(()=>e.callback(t,e))):(0,d.A)(t,e)))},n.onerror=n=>{r(n,t,e)},n.open("GET",o),n.withCredentials=!0,n.send(),(0,i.s)("sending request to SKLIK JSON API",o)};var f=(t,e)=>{var n;(0,r.Jd)("processAdDataCallStart",{adInput:t,dataInput:e}),(0,i.s)("info","### starting _processAdData ###"),(0,o.I)();const l=(0,s.wf)([e],[t]);(0,s.OA)(l);const[{ad:f,data:p}]=l;if(null!=f&&f.type&&p)if(p.callback&&"function"==typeof p.callback)switch((0,i.s)("info","## call external callback for position",p.zoneId),f.type){case"vast":(0,i.s)("call VAST custom callback with:",p.callback,p),(0,a.e)("processAdDataVAST",f.zoneId),(0,c.P)(f),p.callback(null!==(n=p.options)&&void 0!==n&&n.doNotParseVastData?f:f.data,p);break;case"code_url":(0,i.s)("call CODE_URL custom callback with:",p.callback,p),(0,a.e)("processAdDataCodeURL",f.zoneId),u(f,p);break;case"json_url":p.options&&p.options.jsonPreloadDisabled?((0,i.s)("call JSON_URL custom callback with:",p.callback,p),(0,a.e)("processAdDataJSONURLCallbackPreloadDisabled",f.zoneId),(0,c.P)(f),p.callback(f,p)):((0,i.s)("call JSON_URL custom callback with (urlDataToCallback):",p.callback,p),(0,a.e)("processAdDataJSONURLCallback",f.zoneId),u(f,p));break;default:(0,a.e)("processAdDataDefault",f.zoneId),(0,c.P)(f),p.callback(f,p)}else"code_url"===f.type?u(f,p):((0,i.s)("info","## call writeAd for position",p.zoneId),(0,a.e)("processAdDataWriteAd",f.zoneId),(0,d.A)(f,p));else(0,i.s)("error","invalid ad data",{ad:f,data:p})}},689:function(t,e,n){"use strict";n.d(e,{O:function(){return s},d:function(){return a}});var o=n(6291),r=n(3674);const i=t=>t.trim().toLowerCase(),s=t=>t.map(i),a=t=>{const e=(0,r.i7)();if(e.length){const n=e.join(" ");t.zones.forEach((t,e,r)=>{(0,o.s)('Adding collocation flag "'.concat(n,'" to zone ').concat(r[e].zoneId)),r[e].options=r[e].options||{};const i=r[e].options.collocation;r[e].options.collocation=i?"".concat(i," ").concat(n):n})}}},740:function(t,e,n){"use strict";n.d(e,{t:function(){return o}});const o=t=>{try{return t()}catch(t){console.error(t)}}},802:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});const o=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,r=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i;function i(t){return t&&"startTag"===t.type&&(t.unary=o.test(t.tagName)||t.unary,t.html5Unary=!/\/>$/.test(t.text)),t}function s(t,e){const n=e.pop();t.prepend(`${n.tagName}>`)}function a(t,e,n){const o=function(){const t=[];return t.last=function(){return this[this.length-1]},t.lastTagNameEq=function(t){const e=this.last();return e&&e.tagName&&e.tagName.toUpperCase()===t.toUpperCase()},t.containsTagName=function(t){for(let e,n=0;e=this[n];n++)if(e.tagName===t)return!0;return!1},t}(),a={startTag(n){const i=n.tagName;"TR"===i.toUpperCase()&&o.lastTagNameEq("TABLE")?(t.prepend("
"),c()):e.selfCloseFix&&r.test(i)&&o.containsTagName(i)?o.lastTagNameEq(i)?s(t,o):(t.prepend(`${n.tagName}>`),c()):n.unary||o.push(n)},endTag(r){o.last()?e.tagSoupFix&&!o.lastTagNameEq(r.tagName)?s(t,o):o.pop():e.tagSoupFix&&(n(),c())}};function c(){const e=function(t,e){const n=t.stream,o=i(e());return t.stream=n,o}(t,n);e&&a[e.type]&&a[e.type](e)}return function(){return c(),i(n())}}},804:function(t,e,n){"use strict";n.d(e,{Rj:function(){return i},lg:function(){return o},uM:function(){return s}});const o=()=>{const t=new Date;return[t.getFullYear(),t.getMonth()+1,t.getDate(),t.getHours()].join("")};let r=null;const i=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:performance.now();return null!==t&&"number"!=typeof t&&(t=null),r=t},s=()=>r?performance.now()-r:null},837:function(t,e,n){"use strict";n.r(e),n.d(e,{selfClose:function(){return r},tagSoup:function(){return o}});let o=!1,r=!1,i=window.document.createElement("div");try{const t="
";i.innerHTML=t,o=i.innerHTML!==t}catch(t){o=!1}try{i.innerHTML="
",r=2===i.childNodes.length}catch(t){r=!1}i=null},1337:function(t,e,n){"use strict";n.d(e,{X:function(){return a},Z:function(){return c}});var o=n(6291);const r="ssspCustomPaths",i=["server","staticServer","iframeStaticServer","cmpServer","cmp","dot","adform"],s=(()=>{const t="localStorageTest";try{return localStorage.setItem(t,t),localStorage.removeItem(t),!0}catch(t){return console.error(t),!1}})(),a=(t,e)=>{if(!s||!i.includes(t))return;const n=localStorage.getItem(r);try{if(n){const i=JSON.parse(n);localStorage.removeItem(r),i[t]=e,localStorage.setItem(r,JSON.stringify(i)),(0,o.s)("info","### custom paths - object updated.")}else{const n={};n[t]=e,localStorage.setItem(r,JSON.stringify(n)),(0,o.s)("info","### custom paths - new object created.")}}catch(t){console.error(t),(0,o.s)("info","### custom paths - data are invalid.")}},c=t=>{if(!s||!i.includes(t))return null;const e=localStorage.getItem(r);if(!e)return null;try{const n=JSON.parse(e);if(n[t])return(0,o.s)("info","### custom paths - "+t+" is set to: "+n[t]),n[t]}catch(t){return console.error(t),null}return null}},1367:function(t,e,n){"use strict";n.d(e,{C3:function(){return c},RE:function(){return d},Ty:function(){return s},VB:function(){return i},hf:function(){return l}});var o=n(384);class r{constructor(t,e){this.type=t,this.length=e,this.text=""}}class i extends r{constructor(t){super("comment",4+t.length+3),this.content=t}toString(){return`\x3c!--${this.content}--\x3e`}}class s extends r{constructor(t){super("chars",t)}toString(){return this.text}}class a extends r{constructor(t,e,n,o,r,i=!1,s=!1){super(t,n),this.tagName=e,this.attrs=o,this.booleanAttrs=r,this.unary=i,this.html5Unary=s}formatTag(t){let e=`<${this.tagName}`;return e+=` ${Object.entries(this.attrs).map(([t,e])=>this.booleanAttrs.hasOwnProperty(t)?t:`${t}="${(0,o.H)(e)}"`).join(" ")}`,t.rest&&(e+=` ${t.rest}`),this.unary&&!this.html5Unary?e+="/>":e+=">",void 0===t.content||this.unary||(e+=`${t.content}${this.tagName}>`),e}}class c extends a{constructor(t,e,n,o,r,i){super("startTag",t,e,n,o,r),this.rest=i}toString(){return this.formatTag({rest:this.rest})}}class d extends a{constructor(t,e,n,o,r){super("atomicTag",t,e,n,o),this.content=r}toString(){return this.formatTag({content:this.content})}}class l extends r{constructor(t,e){super("endTag",e),this.tagName=t}toString(){return`${this.tagName}>`}}},1492:function(t,e,n){"use strict";function o(t){return null!=t}function r(t){return"function"==typeof t}function i(t,e,n){for(const o in t)t.hasOwnProperty(o)&&e.call(n,o,t[o])}function s(t,e){return t=t||{},i(e,function(e,n){o(t[e])||(t[e]=n)}),t}function a(t){try{return Array.prototype.slice.call(t)}catch(e){const n=[];return function(t,e,n){const o=t&&t.length||0;for(let r=0;r0&&void 0!==arguments[0]?arguments[0]:50)].map(()=>(~~(36*Math.random())).toString(36)).join("")}},1863:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});var o=n(6291),r=n(2681),i=n(4007);var s=function(t){const{server:e}=(0,r.zj)(),n=new RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")+"/[a-zA-Z0-9]+?/(impress|miss)[?]{1}r=[-a-zA-Z0-9]{36}&z=[^? &]+&i=[^? &]+&"),o=t.find(t=>n.test(t));if(!o)return;const s=new URL(o).searchParams,a={r:s.get("r"),z:s.get("z"),i:s.get("i"),t:"hitError"};(0,i.K)(a)};var a=t=>{Array.isArray(t)&&((0,o.s)("info","### served hits ###"),t.forEach(e=>{(0,o.s)("served URL:",e);const n=new Image(1,1);null!=e&&e.includes("i.seznam.cz")&&(n.onerror=()=>{(0,o.s)("error","Failed count served URL:",e),s(t)}),n.src=e}))}},1877:function(t,e,n){"use strict";n.d(e,{E:function(){return s},Qd:function(){return r},aL:function(){return a}});var o=n(6291);const r=t=>"[object Object]"===Object.prototype.toString.call(t),i=t=>"number"==typeof t&&!isNaN(t),s=(t,e)=>{if(!r(t))return(0,o.s)("error","Position validation failed: position is not an object",t),console.error("Position validation failed: position is not an object"),!1;const n=t;if(!n.zoneId||"string"!=typeof n.zoneId&&!i(n.zoneId))return(0,o.s)("error","Position validation failed: zoneId is required and must be a string or number",n.zoneId),console.error("Position validation failed: zoneId is required and must be a string or number"),!1;let s=!1,a=null;"string"==typeof n.id||i(n.id)?(a="undefined"!=typeof document?document.getElementById(n.id.toString()):null,(0,o.s)("info","Position ID element:",a,"for zoneId:",n.zoneId),s=!!a):n.id instanceof HTMLElement&&(a=n.id,(0,o.s)("info","Position ID is HTMLElement:",a,"for zoneId:",n.zoneId),s=!0);if(n&&r(n)&&"options"in n&&n.options&&"infoErrorCallback"in n.options&&"function"==typeof n.options.infoErrorCallback)return(0,o.s)("info","Position has infoErrorCallback in options:",n.zoneId),!0;if(!("function"==typeof n.callback)&&!s)return(0,o.s)("error","Position validation failed: No callback or invalid ID passed to IM (zoneId: "+n.zoneId+")"),console.error("Position validation failed: No callback or invalid ID passed to IM (zoneId: "+n.zoneId+")"),!1;let c=null,d=null;i(n.width)?((0,o.s)("info","Position width is present:",n.width,"for zoneId:",n.zoneId),c=n.width):a&&i(a.offsetWidth)&&a.offsetWidth&&((0,o.s)("info","Element width is present:",a.offsetWidth,"for zoneId:",n.zoneId),c=a.offsetWidth),i(n.height)?((0,o.s)("info","Position height is present:",n.height,"for zoneId:",n.zoneId),d=n.height):a&&i(a.offsetHeight)&&a.offsetHeight&&((0,o.s)("info","Element height is present:",a.offsetHeight,"for zoneId:",n.zoneId),d=a.offsetHeight);const l=n&&r(n)&&"options"in n&&n.options&&!0===n.options.noSize;return(0,o.s)("info","Position noSize:",l,"for zoneId:",n.zoneId),!(!l&&"number"!=typeof c&&"number"!=typeof d)||((0,o.s)("error","Position validation failed: at least one of width or height must be present and must be a number (in position or in element), unless noSize is true","width: ".concat(c,", height: ").concat(d,", noSize: ").concat(l)),console.error("Position validation failed: at least one of width or height must be present and must be a number (in position or in element), unless noSize is true"),!1)},a=t=>{if(!r(t))return!1;const e=t;return(Array.isArray(e.cids)||void 0===e.cids)&&(r(e.config)||void 0===e.config)&&("boolean"==typeof e.grantConsent||void 0===e.grantConsent)&&("boolean"==typeof e.pvIdChangeIgnore||void 0===e.pvIdChangeIgnore)}},1907:function(t,e,n){"use strict";!function(){if(window._1gif){new Image(1,1).src=window._1gif}delete window._1gif}();var o=n(8077),r=n(6643);const i=/scale\(([0-9]+(?:\.[0-9]*)?)\)/,s=t=>{if(!(t instanceof HTMLElement&&(t=>Boolean(t instanceof HTMLElement&&t.style.transform.match(i)))(t)))return 1;const e=t.style.transform.match(i);if(2!==(null==e?void 0:e.length))return 1;const n=parseFloat(e[1]);return isNaN(n)?1:n};var a=n(5123),c={host:{}},d={};d.server="".concat(o.JD.PROTOCOL).concat(o.JD.IFRAME_HOSTNAME),d.resizeUpdateInterval=1e3,d.scrollUpdateInterval=100,d.registeredServers=[d.server];var l={support:{"exp-ovr":!0,"exp-push":!0,"read-cookie":!1,"write-cookie":!1}},u=null;c._listen=function(t){if(-1!==d.registeredServers.indexOf(t.origin))try{var e=JSON.parse(t.data),n=e.sfName,o=c.SF.frames[n];switch(e.method){case"register":o._register(e);break;case"expand":o._expand(e);break;case"collapse":o._collapse(e);break;case"setResizeProperties":o._setResizeProperties(e);break;case"cookie":o._cookie(e)}}catch(t){}};var f,p,m,h;function g(){return this.data.options&&void 0!==this.data.options.sfExpandZIndex?this.data.options.sfExpandZIndex:1}function w(){var t=this.cont.style,e=this.contResizing.style;t.width=this.contOriginalWidth+"px",t.height=this.contOriginalHeight+"px",e.position="static",e.width=this.contScaleMetadata?this.contScaleMetadata.wR+"px":"100%",e.height=this.contScaleMetadata?this.contScaleMetadata.hR+"px":"100%",e.top="",e.right="",e.bottom="",e.left="",e.zIndex="",this.paw&&(this.paw.style.bottom="0px",this.paw.style.right="0px")}function v(t){if(!l.support["exp-push"]&&!l.support["exp-ovr"])return void this.sendData({method:"expand",status:{error:1,msg:"not allowed"}});const e=t.push&&l.support["exp-push"];this.contResizing.style.position=e?"static":"absolute",e||(this.contResizing.style.zIndex=g.call(this));const n=this.contScaleMetadata?this.contScaleMetadata.h-this.contScaleMetadata.hScaled:0,o=this.contScaleMetadata?this.contScaleMetadata.w-this.contScaleMetadata.wScaled:0,r=function(e,r){return e+(~["t","b"].indexOf(r)?n:o)*(t[r]?e/t[r]:1)};for(var i in t){var s=t[i];switch(i){case"t":this._setValues(r(s,"b"),s,"top","height",t);break;case"b":this._setValues(r(s,"t"),s,"bottom","height",t);break;case"r":this._setValues(r(s,"l"),s,"right","width",t);break;case"l":this._setValues(r(s,"r"),s,"left","width",t)}}}function y(t){t&&((0,r.fk)("hidePaw",{adContainer:this.cont}),setTimeout(function(){(0,r.fk)("showPaw",{adContainer:this.cont})}.bind(this),t))}c._resize=function(){null===u&&(u=setTimeout(function(){for(var t in u=null,c.SF.frames){var e=c.SF.frames[t],n={method:"geom",geom_info:e.getGeom()};e.sendData(n)}},d.resizeUpdateInterval))},c._getInstance=function(){for(var t in c.SF.frames){var e=c.SF.frames[t],n={method:"geom",geom_info:e.getGeom()};e.sendData(n)}},window.addEventListener("message",c._listen),window.addEventListener("scroll",(f=function(){c._getInstance()},p=d.scrollUpdateInterval,m=null,h=null,function(){function t(){f.apply(this,arguments),h=Date.now()}h?(clearTimeout(m),m=setTimeout(function(){Date.now()-h>=p&&t()},p-(Date.now()-h))):t()})),window.addEventListener("resize",c._resize),c.SF=function(t,e,n,o){var r;this.server=o||d.server,o&&d.registeredServers.push(o),this.name="sf"+c.SF.count++,t.id=this.name,c.SF.frames[t.id]=this,this.iframe=t;var i=function(t,e){for(var n=0;n<10&&t&&"BODY"!==t.nodeName;){if(n++,t.classList.contains(e))return t;t=t.parentNode}};if(this.cont=i(t,"adFull")||{dataset:{},offsetWidth:0,offsetHeight:0},e.height<(null===(r=this.cont)||void 0===r?void 0:r.offsetHeight)&&(this.cont.style.height=e.height+"px"),this.cont.dataset.sspScaledMetadata){try{this.contScaleMetadata=JSON.parse(this.cont.dataset.sspScaledMetadata)}catch(t){}this.cont.removeAttribute("data-ssp-scaled-metadata")}this.contOriginalWidth=this.cont.offsetWidth,this.contOriginalHeight=this.cont.offsetHeight,this.contResizing=i(t,"sssp-resizeCont");const s=i(t,"sssp-posCont");s&&(this.paw=s.querySelector(".packa")),this.ad=e,this.data=n;var l={method:"init",geom_info:this.getGeom(),dsp:this.ad.dsp},u=(0,a.V)(),f=u&&u.getIdentity("login");f&&f.advert_uid&&(l.said=f.advert_uid),this.sendData(l)},c.SF.count=0,c.SF.frames={},c.SF.prototype.sendData=function(t){t.sfName=this.name,this.iframe.contentWindow&&this.iframe.contentWindow.postMessage&&this.iframe.contentWindow.postMessage(JSON.stringify(t),this.server)},c.SF.prototype.getGeom=function(){var t,e=this.iframe.getBoundingClientRect(),n=this._getInView(),o=null===(t=this.iframe.closest('[data-advert="sticky-container"]'))||void 0===t?void 0:t.getBoundingClientRect(),r=o?Math.ceil((e.y-o.y)/(o.height-e.height)*100):null;return o&&r<100&&e.top<0&&(r=100),{win:{t:window.screenY,b:window.innerHeight-window.screenY,l:window.screenX,r:window.innerWidth-window.screenY,w:window.innerWidth,h:window.innerHeight},stck:r,self:{t:e.top,b:e.bottom,l:e.left,r:e.right,w:e.width,h:e.height,z:window.getComputedStyle(this.iframe,null).getPropertyValue("z-index"),xiv:n.x,yiv:n.y,td:e.top+window.scrollY,bd:e.bottom+window.scrollY,ld:e.left+window.scrollX,rd:e.right+window.scrollX},exp:{t:1e4,b:1e4,l:1e4,r:1e4,xs:0,ys:0}}},c.SF.prototype._register=function(t){window.Cypress&&(this.cont.dataset.cySfRegistered="1");const{width:e,height:n}=t.baseDimensions;this.ad.pawTimeoutId&&(clearTimeout(this.ad.pawTimeoutId),(0,r.fk)("showPaw",{adContainer:this.cont})),this.contOriginalWidth=e,this.contOriginalHeight=n,this.contResizing.style.width=e+"px",this.contResizing.style.height=n+"px";const o=s(this.contResizing);this.cont.style.width=o*e+"px",this.cont.style.height=o*n+"px"},c.SF.prototype._setResizeProperties=function(t){const{width:e,height:n}=t;e&&(this.contResizing.style.width=e+"px"),n&&(this.contResizing.style.height=n+"px")},c.SF.prototype._getInView=function(){try{var t=this.cont.getBoundingClientRect();if(!t.width||!document.documentElement.clientWidth)return{x:0,y:0}}catch(t){return{x:0,y:0}}const e=t.right===t.left?t.left+this.ad.width:t.right,n=t.left,o=t.bottom===t.top?t.top+this.ad.height:t.bottom,r=t.top;var i=e-n,s=o-r,a=document.documentElement.clientWidth,c=document.documentElement.clientHeight;return{x:Math.max(0,Math.min(e,a)-Math.max(n,0))/i,y:Math.max(0,Math.min(o,c)-Math.max(r,0))/s}};const b=function(t,e){e?setTimeout(()=>t(),e):t()};c.SF.prototype._collapse=function(t){y.call(this,t.config.pawTimeout),b(function(){w.call(this),this.sendData({method:"collapse",status:{ok:!0,msg:"done"}})}.bind(this),t.config.resizeTimeout)},c.SF.prototype._expand=function(t){y.call(this,t.config.pawTimeout),b(function(){v.call(this,t.resizeDimensions),this.sendData({method:"expand",status:{ok:!0,msg:"done"}})}.bind(this),t.config.resizeTimeout)},c.SF.prototype._setValues=function(t,e,n,o,r){const i=this.contResizing.offsetWidth,s=this.contResizing.offsetHeight,a=this.cont.offsetWidth,c=this.cont.offsetHeight;this.contResizing.style[n]=-1*t+"px";var d=r.push?r.push:0;this.contResizing.style[o]=(~["top","bottom"].indexOf(n)?s:i)+e+"px";const l=e*(this.contScaleMetadata?this.contScaleMetadata.scale:1);d?this.cont.style[o]=(~["top","bottom"].indexOf(n)?c:a)+l+"px":!this.paw||"bottom"!==n&&"right"!==n||(this.paw.style[n]=-1*l+"px",this.paw.style.zIndex=g.call(this))},c.SF.prototype._cookie=function(t){var e=t.cookieName,n=t.cookieData||null,o="";if(n){if(!n.info)return;if(o=encodeURIComponent(e)+"="+encodeURIComponent(n.info),n.expires)o+="; expires="+new Date(n.expires).toUTCString();document.cookie=o,this.sendData({method:"cookie",status:{ok:!0,msg:"done",cmd:"write-cookie"}})}else{var r=encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&"),i=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+r+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null;this.sendData({method:"cookie",status:{ok:!0,msg:"done",cmd:"read-cookie"},cookie:i})}},window.$sf=c,window.SF=c.SF;const S=["Bytespider; spider-feedback@bytedance.com"],z="sznIVA",A="errorStorage";class _{constructor(t,e){this.target="",this.isFirst=!0,this.maxLength=2048,this.target=`${e||"https://confessor.iva.seznam.cz"}/${t}`}delimiter(){return this.isFirst?(this.isFirst=!1,"?"):"&"}append(t){const e=this.target+this.delimiter()+t;e.length{window[z]||(window[z]={[A]:new Set}),window[z][A]||(window[z][A]=new Set),window[z][A].add(t)},E=t=>!(!window[z]||!window[z][A])&&window[z][A].has(t),T=(t,e)=>{const{error:n}=t;if(!n||!n.stack||!n.message)return;const{message:o,stack:r}=n,{scriptName:i,baseUrl:s,endpoint:a}=e,c=`${i}-${o}`;if(E(c))return;const d=(t=>"string"==typeof t?t.split("\n").map(t=>t.match(new RegExp("/[a-zA-Z0-9_\\.-]+\\.js(\\?szn_loader=1)?","gi"))).filter(Boolean):[])(r);d.splice(0,3).reduce((t,e)=>[...t,...e],[]).find(t=>~t.indexOf(`/${i}`)&&("loader-script"!==a||!~t.indexOf("szn_loader=1")))&&(new _(a,s).appendValue("msg",o).appendValue("script",i).appendValue("href",window.location.href).appendValue("referrer",document.referrer).appendValue("stack",r).send(),I(c))};var k=n(6291),O=n(2920),C=n(4256),R=n(9538);const x=[],P=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o{x.push({callback:t,args:n,resolve:e,reject:o})});if("function"==typeof t)try{return Promise.resolve(t(...n))}catch(t){return Promise.reject(t)}};let j=!1;const M=()=>{var t;for(t=M,j||(window.ssspQ||(window.ssspQ=[]),window.ssspQ.push=e=>"function"!=typeof e?0:(window.ssspQ[window.ssspQ.length]=e,t(),window.ssspQ.length),j=!0);window.ssspQ&&window.ssspQ.length;)window.ssspQ.shift()()},D=()=>{x.forEach(t=>{if("function"==typeof t.callback)try{Promise.resolve(t.callback(...t.args)).then(t.resolve).catch(t.reject)}catch(e){t.reject(e)}}),M()};var L=n(9654),N=n(78),U=n(4572);const F=(t,e,n)=>{if(null!=n&&n.pawDisable)return;const i=document.createElement("div");i.style.position="relative";const s=t.querySelector(".sssp-resizeCont");i.innerHTML+=(0,L.U)(e),s.appendChild(i);const a=(null==n?void 0:n.pawTimeout)||o.YH;setTimeout(()=>{(0,r.fk)("showPaw",{adContainer:t})},a)},q=t=>"object"==typeof t&&null!==t&&"pawTimeout"in t&&"pawDisable"in t&&"number"==typeof t.pawTimeout&&"boolean"==typeof t.pawDisable,H=t=>{var e;let{data:n}=t;const o=(0,U.T)(n);if(!o||"add_paw"!==o.action)return;const r=(0,N.Dt)().find(t=>{const{dsp:e,type:n,impressId:r}=t.ad;return r&&o.impressId?r===o.impressId:"SKLIK"===e&&"iframe"===n}),i=r&&r.containerElement,s=null==r||null===(e=r.data)||void 0===e?void 0:e.options;i&&null===i.querySelector("div.packa")&&F(i,r.ad.dsp,q(s)?s:null)},$=(()=>{let t=0;return()=>{const e=(0,N.Dt)(),n=e.slice(t,e.length);t=e.length,n.forEach(t=>{var e;const n=null==t?void 0:t.containerElement,{dsp:o,type:r}=t.ad,i=null===(e=t.data)||void 0===e?void 0:e.options;null===(null==n?void 0:n.querySelector("div.packa"))&&"code"===r&&F(n,o,q(i)?i:null)})}})(),V=t=>{let{detail:e,type:n}=t;const{adContainer:o}=e,r=o.querySelector("div.packa");if(r)switch(n){case"showPaw":r.style.visibility="visible";break;case"hidePaw":r.style.visibility="hidden"}};var G=n(3381),W=n(2681);const B=async t=>{var e;let n=null;try{var o;if(n=JSON.parse(t.data),null===(o=n)||void 0===o||!o.type||"SSSP_GET_CONSENT"!==n.type)return}catch(t){return}const r=await(0,G.T)();if(!r)return;const i=(0,N.lA)(n.impressId),s=null==i||null===(e=i.containerElement)||void 0===e?void 0:e.querySelector("iframe"),{protocol:a,staticServer:c}=(0,W.zj)(),d=a+c;if(s){var l;const t={type:"SSSP_USER_CONSENT",consent:r};null===(l=s.contentWindow)||void 0===l||l.postMessage(JSON.stringify(t),d)}};var J=n(804);const K="reports_collection";let Q=!1;const X=t=>{const e=(0,O.qX)();e.hit?((0,k.s)("info","Sending browser reports / interventions (".concat(t.length,")")),t.forEach(t=>{(0,k.s)("Intervention reports item",t),e.hit("heavyAdIntervention")})):(0,k.s)("warn","Browser reports / interventions (".concat(t.length,") couldn't be sent. DOT.hit() missing."))},Y=(t,e)=>{e?X(t):window.parent.postMessage(JSON.stringify({action:K,reports:t}),"*")};var Z=function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!Q&&"ReportingObserver"in window){!function(){Q=!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}(!0);const e=new window.ReportingObserver(e=>{Y(e,t)},{types:["intervention"],buffered:!0});e.observe(),(0,k.s)("ReportingObserver registered"),window.addEventListener("pagehide",()=>{const n=e.takeRecords();Y(n,t)}),t&&window.addEventListener("message",t=>{const e=(0,U.T)(t.data);e&&e.action===K&&e.reports&&X(e.reports)})}},tt=n(3259),et=n(7921),nt=n(3903),ot=n(7915),rt=n(2077),it=n(1656),st=n(3334),at=n(1877);const ct="SSSP_GET_VAST_DATA",dt="SSSP_SEND_VAST_DATA",lt="SSSP_VAST_MESSAGE_RECEIVED",ut=["localhost","www.stream.cz","stream.cz","podcasty.seznam.cz"],ft=async(t,e)=>{try{return(0,ot.w)()?((0,k.s)("info","VAST: (in TOP window) Getting vast data from TOP window (itself)"),await(0,nt.A)({zones:t,opt:e,isVastRequest:!0})):((0,k.s)("info","VAST: (in IFRAME) Getting vast data request from TOP window"),await((t,e)=>new Promise(n=>{let o=null,r=null;const i=(0,it.$)(20),s=t=>{t.data.name===lt&&(window.clearInterval(r),window.removeEventListener("message",s))};window.addEventListener("message",s);const a=t=>{const{name:e,payload:s,eventId:c}=t.data;e===dt&&s&&c===i&&(window.clearTimeout(o),window.clearInterval(r),window.removeEventListener("message",a),n(s))};window.addEventListener("message",a),(0,k.s)("info","VAST: (in IFRAME) Sending vast data request to TOP window");const c=()=>window.parent.postMessage({name:ct,zones:t,opt:e,eventId:i},"*");c(),r=window.setInterval(c,250),o=window.setTimeout(()=>{window.clearInterval(r),window.removeEventListener("message",a),(0,k.s)("warn","VAST: (in IFRAME) Timeout waiting for vast data from TOP window"),n(null)},rt.MC)}))(t,e)||await(0,nt.A)({zones:t,opt:e,isVastRequest:!0}))}catch(t){return(0,k.s)("error","VAST: Error getting vast data from ".concat((0,ot.w)()?"TOP WINDOW":"IFRAME",". Error: ").concat(t)),null}},pt=async(t,e)=>{const n=(t=>{if(!Array.isArray(t))return null;const e=t.filter(t=>{let{zoneId:e}=t;return"number"==typeof e});return e.length?e:null})(t),o=(0,at.aL)(e)?e:null;if(!n)return(0,k.s)("warn","VAST: Invalid zones passed into getVastAds: ",t),null;(0,k.s)("info","VAST: Getting vast data for valid zones: ",n,"with opt: ",o||"undefined");const r=await ft(n,o);(0,k.s)("info","VAST: Requesting vast data with payload: ",r);const i=await(0,st.II)(r);return(0,k.s)("info","VAST: ".concat(i?"Received":"Did not receive"," VAST data from server")),i};var mt=n(9379),ht=n(3674),gt=n(7311),wt=n(8644);const vt="SSSP_GET_DATA",yt="SSSP_SEND_DATA",bt=["localhost","www.stream.cz","stream.cz","podcasty.seznam.cz"],St=t=>Object.keys(t).length?t:null,zt=async(t,e,n)=>{const o={},r=t=>{const e=t||(0,gt.Ri)("user-flags");e&&(o.userFlags=e)};if("async"===t){var i;const t=await(0,rt.A_)(),{sbr:e,uid:n,said:s,premium:c,encodedFlags:d}=t,l=null===(i=(0,a.V)())||void 0===i?void 0:i.getIdentities(),{consent:u,eid:f}=null!=l?l:{};r(d),"boolean"==typeof e&&(o.sbr=e),n&&(o.rusId=n),s&&(o.said=s),"boolean"==typeof c&&(o.premium=c),u&&(o.consentString=u.consentString),f&&(o.eid=f)}else{const t=(t=>{const e=(0,ht.z0)();return e.length?t.reduce((t,n,o)=>(0,mt.A)((0,mt.A)({},t),{},{["tags-".concat(o+1)]:e}),{}):{}})(e);Object.assign(o,t);const{readKeywords:n}=(0,W.zj)(),i=(0,ht.z0)();n&&i.length&&Object.assign(o,{keywords:i});const s=((t,e)=>{const n=e.filter(t=>"1"===t.target),o=["zoneId","adType","bannerid","crid","deliveryType","dsp","mediaType"];return t.reduce((t,e,r)=>{const i=n.find(t=>t.zoneId.toString()===e)||{},s=o.reduce((t,e)=>(i.hasOwnProperty(e)&&(t["".concat(e,"-").concat(r+1)]=i[e].toString()),t),{});return(0,mt.A)((0,mt.A)({},t),s)},{})})(e,(0,wt.oQ)());Object.assign(o,s),r()}const s={data:St(o),satisfied:t};return null==n||n(s),s};var At=n(3508);let _t=!1;const It=function(){var t,e;(0,k.s)("info","### initializating ssp after loading DOT ###");const n=null===(t=window.sznRecass)||void 0===t||null===(e=t.getPageViewId)||void 0===e?void 0:e.call(t);n?(0,C.wv)(n):((0,C.wv)(),(0,k.s)("info","#### pageViewId:",(0,C._Q)())),Z(!0),window.addEventListener("message",H),window.addEventListener("requestpawelement",$),window.addEventListener("hidePaw",V),window.addEventListener("showPaw",V),(0,ot.w)()&&window.addEventListener("message",t=>{try{const e=new URL(t.origin).hostname;if(t.data.name===vt&&bt.includes(e)&&t.data.zoneIds){const e=e=>{(0,k.s)("info","Sending DATA to children",e),t.source.postMessage({name:yt,payload:e},t.origin)};t.data.needs.sync&&zt("sync",t.data.zoneIds,e),t.data.needs.async&&zt("async",t.data.zoneIds,e)}}catch(t){}}),(0,ot.w)()&&window.addEventListener("message",async t=>{try{const e=new URL(t.origin).hostname,{name:n,zones:o,opt:r,eventId:i}=t.data;if(n===ct&&o&&i&&ut.includes(e)){t.source.postMessage({name:lt},t.origin);const e=await ft(o,r);t.source.postMessage({name:dt,payload:e,eventId:i},t.origin)}}catch(t){(0,k.s)("error","VAST: Failed to process message from child frame")}}),(0,At.SC)(),window.addEventListener("message",B),D(),(0,W.zj)().isFollowerSsp||((0,k.s)("info","### setting up utm message listener ###"),(0,et.V)())};var Et=function(){let{withoutDOT:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!_t){if(_t=!0,(0,J.Rj)(),(0,R.qO)(),(0,r.Sr)(),(0,tt.Gd)()||(0,tt.s3)()||t)return(0,O.ur)(t),void It();(0,O.mq)().catch(k.s).finally(It)}},Tt=n(5242);var kt=()=>{const t=document.querySelectorAll("div[data-szn-ssp-ad]"),e=[];t.forEach(t=>{try{const n=(0,U.T)(t.getAttribute("data-szn-ssp-ad"));n.id=t,e.push(n)}catch(t){(0,k.s)("error",t)}}),(0,Tt.A)(e)},Ot=n(8006),Ct=n(7939),Rt=n(1863),xt=n(606),Pt=n(3646),jt=n(1337),Mt=n(7516);const Dt=function(t,e){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!(t&&t.dsp&&e&&e.insertAdjacentHTML))return void(0,k.s)("error",'invalid arguments provided to "appendPawToElement"',{ad:t,element:e});const o=(0,Mt.Ku)(t,n);o&&(e.insertAdjacentHTML("beforeend",o),(0,Mt.mS)(t,e,["first","last"]))};var Lt=n(5096);const Nt=(t,e)=>{if(!(e&&e.insertAdjacentHTML))return void(0,k.s)("error",'invalid arguments provided to "appendCoopIconToElement"',{params:t,element:e});const n=JSON.stringify({a:[(0,mt.A)((0,mt.A)((0,mt.A)({},(null==t?void 0:t.paid)&&{p:t.paid}),(null==t?void 0:t.behalf)&&{b:t.behalf}),{},{r:[2]})]}),{protocol:o,staticServer:r}=(0,W.zj)(),i=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const o=(0,Lt.YQ)(),r='
');let i=['Komerční spolupráce'),''.concat(r,"
")];return"left"===e&&(i=i.reverse()),'\n\t\t\n\t")}("".concat(o).concat(r,"/cooperation-info#").concat(function(t){const e=(new TextEncoder).encode(t),n=Array.from(e,t=>String.fromCodePoint(t)).join("");return btoa(n).replace(/\+/g,"-").replace(/\//g,"_")}(n).replace(/=/g,"")),null==t?void 0:t.align,null==t?void 0:t.disableAnimation);e.insertAdjacentHTML("afterbegin",i);const s=[];!0!==(null==t?void 0:t.disableAnimation)&&s.push("left"===(null==t?void 0:t.align)?"last":"first"),(0,Mt.mS)(null,e,s)};var Ut=n(5075),Ft=n(6582),qt=()=>{const t={config:e=>P(()=>{(0,W.Nk)(e),(0,tt.Gd)()||(0,Pt.hc)(0),t.conf=(0,W.zj)()}),conf:(0,W.zj)(),gamCustomCreative:(t,e)=>(0,Ut.A)(t,e),getAds:(t,e)=>P(Tt.A,t,e),getVastAds:(t,e)=>P(pt,t,e),getAdsByTags:()=>P(kt),writeAd:Ct.A,served:Rt.A,getPageViewId:C._Q,setPageViewId:(t,e)=>P(C.wv,t,e),displaySeznamAds:R.b2,existSessionCookie:R.b2,setSessionCookie:t=>(0,Ot.$G)({media:t}),processAdData:(t,e)=>P(xt.A,t,e),getRenderedAds:N.ak,init:Et,_getDotInstance:O.qX,updateAdContainerId:N.Kp,_setCustomPath:jt.X,getPawHTML:Mt.Ku,appendPawToElement:Dt,appendCoopIconToElement:Nt,extendVisibilityTracking:N.q,clearData:()=>{try{delete window.sklikData||(window.sklikData=null)}catch(t){console.error(t),window.sklikData=null}},getVastData:t=>P(()=>function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise(async e=>{const n=(t,n)=>{(0,k.s)(...n,t),e(t)};try{if((0,ot.w)()){var o,r;n(St((0,mt.A)((0,mt.A)({},null===(o=await zt("sync",t))||void 0===o?void 0:o.data),null===(r=await zt("async",t))||void 0===r?void 0:r.data)),["info","Getting DATA as TOP window"])}else{let e=null,o=null;const r={sync:!0,async:!0};let i={};const s=t=>{const{name:a,payload:c}=t.data;if(a===yt&&(t=>{try{return!(!t.satisfied||void 0===t.data)}catch(t){return!1}})(c)){const{data:t,satisfied:a}=c;r[a]=!1,i=(0,mt.A)((0,mt.A)({},i),t),r.sync||r.async||(window.clearTimeout(e),window.clearInterval(o),window.removeEventListener("message",s),n(St(i),["info","Getting DATA as CHILD window"]))}};window.addEventListener("message",s);const a=()=>{(0,k.s)("info","Sending DATA request to TOP window"),window.parent.postMessage({name:vt,needs:r,zoneIds:t},"*")};a(),o=window.setInterval(a,250),e=window.setTimeout(()=>{window.clearInterval(o),n(St(i),["info","Getting DATA as CHILD window (timeout - ".concat(rt.MC,"ms))")])},rt.MC)}}catch(t){n(null,["info","Getting DATA (fallbacked to NULL)"])}})}(t)),getLandingUrl:Ft.PI};return t},Ht=n(4007);const $t=t=>{var e;null!==(e=window.sssp)&&void 0!==e&&e.isStub&&delete window.sssp,window.sssp?(0,k.s)("info","### sssp already exists - exiting"):((0,k.s)("info","### exporting sssp object to window"),"Proxy"in window?Vt(t):window.sssp=t)},Vt=t=>{const e={set(t,e,n){return t[e]=n,(0,Ht.K)({t:o.sg,i:-1,r:top.location.origin,z:"1"}),!0}};Object.defineProperty(window,"sssp",{configurable:!0,get(){return new Proxy(t,e)},set(t){(0,Ht.K)({t:o.sg,i:-1,r:top.location.origin,z:"1"}),Object.defineProperty(window,"sssp",{value:t})}})},Gt=()=>{(0,tt.h7)()?(0,k.s)("info","### variable window._sspDoNotInit is set, skipping ssp initialization"):((0,k.s)("info","### initializing sssp"),Et())};(t=>{const{scriptName:e}=t,n=`${e}-init`;var o;E(n)||(o=window.navigator.userAgent,S.some(t=>o.includes(t))||(I(n),window.addEventListener("error",e=>T(e,t))))})({endpoint:"ssp-static",scriptName:"ssp.js"});(()=>{const t=qt();$t(t),Gt()})()},2003:function(t,e,n){"use strict";n.d(e,{Dz:function(){return i},JJ:function(){return s},Tv:function(){return d},vb:function(){return a}});var o=n(8077);let r=null;const i=new Set,s=()=>!!r,a=function(t){return(arguments.length>1&&void 0!==arguments[1]&&arguments[1]?o.O$:o.Sf).includes(t)},c=()=>{i.clear(),clearTimeout(r),r=null},d=()=>{r=window.setTimeout(()=>{c(),window.dispatchEvent(new CustomEvent("sspoverlaytimeout"))},o.n7)};window.addEventListener("ssppvidset",c)},2077:function(t,e,n){"use strict";n.d(e,{A_:function(){return c},Ll:function(){return a},MC:function(){return i}});var o=n(5123),r=n(2681);const i=5e3,s=t=>{const{uid:e,state:n,encodedFlags:o}=t;return!(!(i=e)||"number"!=typeof i||isNaN(i)||!["login","logout"].includes(n)||(r=o,!r||"string"!=typeof r));var r,i},a=t=>{try{return!(!t||!s(t)&&!(t=>{const{uid:e,state:n,encodedFlags:o}=t;return!(e||"forget"!==n||o)})(t))}catch(t){return!1}},c=async()=>{const{activeUser:t,badge:e}=(0,r.zj)();let n=0;return e&&(n=t?1e3:i),await(0,o.o)(n)||t||{}}},2105:function(t,e,n){"use strict";n.r(e),n.d(e,{atomicTag:function(){return d},chars:function(){return s},comment:function(){return i},endTag:function(){return l},startTag:function(){return c},unescapeHTMLEntities:function(){return a}});var o=n(1367);const r={startTag:/^<([\-A-Za-z0-9_!:]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,doctype4:/<(!DOCTYPE)([^>]*)(>)/i,xmlProlog:/<(\?xml)([\s\S]*?)(\?>)/,endTag:/^<\/([\-A-Za-z0-9_:]+)[^>]*>/,attr:/(?:([\-A-Za-z0-9_]+)\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))|(?:([\-A-Za-z0-9_]+)(\s|$)+)/g,fillAttr:/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i};function i(t){const e=t.indexOf("--\x3e");if(e>=0)return new o.VB(t.substring(4,e))}function s(t){const e=t.indexOf("<");return new o.Ty(e>=0?e:t.length)}function a(t){const e={"&":"&","<":"<",">":">",""":'"',"'":"'"},n=Object.keys(e).join("|");return t.replaceAll(new RegExp(n,"g"),function(t){return e[t]})}function c(t){if(-1!==t.indexOf(">")){const e=t.match(r.startTag)||t.match(r.xmlProlog)||t.match(r.doctype4);if(e){const t={},n={};let i=e[2];return e[2].replace(r.attr,function(e,o){if(arguments[2]||arguments[3]||arguments[4]||arguments[5])if(arguments[5])t[arguments[5]]="",n[arguments[5]]=!0;else{const e=arguments[2]||arguments[3]||arguments[4]||r.fillAttr.test(o)&&o||"";t[o]=a(e)}else t[o]="";i=i.replace(e,"")}),new o.C3(e[1],e[0].length,t,n,!!e[3],i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""))}}}function d(t){const e=c(t);if(e){const n=t.slice(e.length);if(n.match(new RegExp("\\s*"+e.tagName+"\\s*>","i"))){const t=n.match(new RegExp("([\\s\\S]*?)\\s*"+e.tagName+"\\s*>","i"));if(t)return new o.RE(e.tagName,t[0].length+e.length,e.attrs,e.booleanAttrs,t[1])}}}function l(t){const e=t.match(r.endTag);if(e)return new o.hf(e[1],e[0].length)}},2284:function(t,e,n){"use strict";function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}n.d(e,{A:function(){return o}})},2327:function(t,e,n){"use strict";n.d(e,{A:function(){return r}});var o=n(2284);function r(t,e){if("object"!=(0,o.A)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=(0,o.A)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}},2681:function(t,e,n){"use strict";n.d(e,{tn:function(){return v},zj:function(){return w},Nk:function(){return y}});var o=n(6457);var r=()=>{try{return"3.257.0"}catch(t){return"development"}},i=n(9538),s=n(2077),a=n(7625);const c={ab:"object",adblock:"boolean",badge:t=>"boolean"==typeof t?t:null,callCallbackOnError:"boolean",cidsAutoSend:"boolean",cmpData:t=>function(t){return!(!t||"object"!=typeof t||Array.isArray(t)||"internalPartner"in t&&"boolean"!=typeof t.internalPartner||"showDialog"in t&&"boolean"!=typeof t.showDialog||"startDate"in t&&null!==t.startDate&&!(t.startDate instanceof Date))}(t)?t:null,cmpServer:"string",content:t=>function(t){return!(!t||"object"!=typeof t||Array.isArray(t)||Object.values(t).some(t=>"object"==typeof t&&null!==t))}(t)?t:null,cookieDomain:"string",debugExtensionId:"string",iframeStaticServer:"string",isFollowerSsp:"boolean",premium:t=>"boolean"==typeof t?t:null,preparePositionsCallback:"function",protocol:t=>"http://"===t||"https://"===t?t:null,query:"string",page:t=>"number"==typeof t&&Number.isInteger(t)&&t>=1?t:null,readKeywords:"boolean",readAdKeywords:"boolean",requestErrorCallback:"function",rusId:t=>"number"==typeof t?t:null,said:"string",server:"string",serviceIdForAllZones:"string",site:"string",source:t=>(0,i.vD)().media||(Object.values(a.G).includes(t)?t:null),staticServer:"string",test:"boolean",webId:"number",activeUser:t=>(0,s.Ll)(t)?t:null},d=(t,e)=>{const n=c[t];return n?"function"==typeof n?n(e):typeof e===n?e:(t=>w()[t])(t):null},l=t=>"object"!=typeof t||Array.isArray(t)||null===t?null:("ssp.imedia.cz"===t.server&&(t.server=w().server),(t=>Object.entries(t).reduce((t,e)=>{const[n,o]=e,r=d(n,o);return null!==r&&(t[n]=r),t},{}))(t));var u=n(1337),f=n(7859),p=n(9543),m=n(3713),h=n(8077);const g={ab:null,activeUser:null,adblock:!1,allowedSources:a.G,badge:null,callCallbackOnError:!1,cidsAutoSend:!1,cmpData:null,cmpServer:(0,u.Z)("cmpServer")||"".concat(h.fz.PROTOCOL).concat(h.fz.HOSTNAME).concat(h.fz.PATH_TO_CMP),content:null,cookieDomain:"",cookieExpiration:30,currentScript:document.currentScript,debugExtensionId:"ljpnolgcojkhoemjaccecimbmiejkpmm",dopUrlParameters:o.FY,dotMeasureZones:[],dotMeasureZonesIds:[],iframeStaticServer:(0,u.Z)("iframeStaticServer")||h.JD.IFRAME_HOSTNAME,iframeUrl:"/static/html/".concat(window.location.host,"/reklama.html"),isFollowerSsp:window!==window.top&&void 0===window.Cypress,method:"POST",optionsParams:o.bK,packageVersion:r(),params:o.tz,path:"/xhr",premium:null,preparePositionsCallback:null,protocol:h.JD.PROTOCOL,pvId:"",readKeywords:!1,readAdKeywords:!1,requestErrorCallback:null,rusId:null,said:null,server:(0,u.Z)("server")||h.JD.HOSTNAME,serviceIdForAllZones:null,site:(0,m.A)(),source:"",staticServer:(0,u.Z)("staticServer")||(0,p._)().static||h.JD.HOSTNAME,test:!1,version:"v1",webId:null};g.dotMeasureZones=g.dotMeasureZonesIds.map(t=>'"zoneId":'.concat(t));const w=()=>g,v=t=>{Object.assign(g,t),window.sssp&&Object.assign(window.sssp.conf,g)},y=t=>{const e=l(t);var n;"activeUser"in e&&(null===(n=window.sznIVA)||void 0===n||null===(n=n.IS)||void 0===n||n.updateIdentities({login:e.activeUser}));e&&(v(e),(0,f.A)())}},2920:function(t,e,n){"use strict";n.d(e,{mq:function(){return h},qX:function(){return w},ur:function(){return g}});var o=n(71),r=n(1337),i=n(3649),s=n(8077);const{dotUrl:a}=(0,o.u)();let c=null,d=null;const l={service:"sklikp",load:!1,mousedown:!1},u={hit:()=>null,getNewInstance:()=>u,_cfg:{},fallback:!0},f=a||(0,r.Z)("dot")||"//h.seznam.cz/js/dot-small.js",p=t=>{var e,n;const o={msg:t,script:"dot-small.js",referrer:document.referrer};null===(e=(n=navigator).sendBeacon)||void 0===e||e.call(n,"https://confessor.iva.seznam.cz/dot-static",new URLSearchParams(o))},m=()=>{var t;if(null===(t=window.DOT)||void 0===t||!t.getNewInstance)throw new Error("### DOT loaded but no DOT instance in window ###");c=window.DOT.getNewInstance(),c.cfg(l),window.dispatchEvent(new CustomEvent("ssspdotconfigured")),window.clearTimeout(d)},h=()=>new Promise((t,e)=>{var n;const o=()=>{try{m()}catch(t){e(t)}};if(!window.DOT){if(!s.lk.includes(window.location.hostname)){const n=t=>{const e=t=>{var e;return null==t||null===(e=t.split("/").pop())||void 0===e?void 0:e.split("?")[0]};e(t.filename)===e(f)&&(window.removeEventListener("error",n),p("DOT load failed from ".concat(f," (code)")))};return window.addEventListener("error",n),(0,i.k)(f).then(()=>(window.dispatchEvent(new CustomEvent("ssspdotloaded")),o(),t())).catch(t=>(c=u,p("DOT load failed from ".concat(f," (network)")),e(t)))}return new Promise((t,e)=>{d=window.setTimeout(()=>{if(window.DOT){if(!window.DOT.isConfigured())try{return m(),t()}catch(t){return e(t)}return t()}e("no DOT")},5e3)}).then(()=>(c=window.DOT,t())).catch(t=>(c=u,e(t)))}var r;if(null===(n=window.DOT)||void 0===n||!n.isConfigured())return d=window.setTimeout(()=>{var e;null!==(e=window.DOT)&&void 0!==e&&e.isConfigured()?c=window.DOT:o(),t()},2e3),window.addEventListener(null===(r=window.DOT)||void 0===r?void 0:r.setAfterCfgEvent(),()=>{window.clearTimeout(d),c=window.DOT,t()});c=window.DOT,t()}),g=function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];window.DOT?c=window.DOT:t&&(c=u)},w=()=>c},3053:function(t,e,n){"use strict";n.d(e,{J:function(){return s},V:function(){return i}});const{userAgent:o}=window.navigator,r=["Firefox","Opera","OPR","SznProhlizec","Edg","MSIE","Trident/"],i=()=>o.includes("Safari/")&&!o.includes("Chrome/")&&!o.includes("Chromium/"),s=!!o.includes("Chrome")&&!["Firefox","OPR","CriOS","Edg","SznProhlizec","UCBrowser","YaBrowser","Yowser"].some(t=>o.includes(t))||i()||r.some(t=>o.includes(t))},3259:function(t,e,n){"use strict";n.d(e,{Gd:function(){return o},HO:function(){return s},h7:function(){return r},rl:function(){return a},s3:function(){return i}});const o=()=>!!window._sspStandalone,r=()=>!!window._sspDoNotInit,i=()=>!!window._sspDoNotLoadDOT,s=()=>!!window._sspDoNotLoadCMP,a=()=>!!window._sspAdLoadWaitForImpress},3334:function(t,e,n){"use strict";n.d(e,{qg:function(){return p},A:function(){return h},II:function(){return m}});var o=n(5096),r=n(6291),i=n(2681);const s="X-Sec-CH-UA-Full-Version-List",a="X-Sec-CH-UA-Model",c="X-Sec-CH-UA-Mobile",d="X-Sec-CH-UA-Platform",l="X-Sec-CH-UA-Platform-Version",u=async()=>{const t=await(e=["fullVersionList","model","platformVersion"],new Promise(t=>{navigator?.userAgentData?.getHighEntropyValues||t(null),navigator.userAgentData?.getHighEntropyValues(e).then(t).catch(()=>{t(null)})}));var e;if(!t)return null;const n={};if(t.fullVersionList){const e=t.fullVersionList.map(t=>'"'.concat(t.brand,'";v="').concat(t.version,'"')).join(", ");n[s]=e}return t.model&&(n[a]=t.model),"boolean"==typeof t.mobile&&(n[c]=t.mobile?"?1":"?0"),t.platform&&(n[d]='"'.concat(t.platform,'"')),t.platformVersion&&(n[l]=t.platformVersion),n};var f=n(8143);const p=(t,e,n)=>new Promise(async(s,a)=>{const{method:c,pvId:d,protocol:l,server:p,version:m,path:h,test:g}=(0,i.zj)(),w=(0,o.K5)({protocol:l,server:p,version:m,path:h,test:g});if(!window.XMLHttpRequest)return(0,r.s)("error","No XHR available"),a({errorName:"No XHR available",errorCode:0});const v=new XMLHttpRequest;if(n){const t=n=>{let{detail:o}=n;try{if(e!==o.data.pvId)return(0,r.s)("info","Aborting XHR - pvId changed"),v.abort(),s(!1)}catch(t){console.error(t)}finally{window.removeEventListener("ssppvidset",t)}};window.addEventListener("ssppvidset",t)}const y=()=>{const t="Error attempting XMLHttpRequest (error ".concat(v.status,").");(0,r.s)("error",t),a({errorName:t,errorCode:v.status})};v.onload=()=>n&&e!==d?((0,r.s)("info","Ignoring XHR response - pvId changed"),s(!1)):v.responseText?void s(v.responseText):a({errorName:v.statusText,errorCode:v.status}),v.onerror=y,v.onabort=y,v.ontimeout=y,v.open(c,w),v.withCredentials=!0,v.setRequestHeader("Content-type","application/json");const b=await u();if(b)for(const t in b)v.setRequestHeader(t,b[t]);const{ssp_hub_feature_flags:S}=(0,f.al)();S&&v.setRequestHeader("X-Hub-Feature-Flags",S),v.send(JSON.stringify(t)),(0,r.s)("sending data to adserver",t)}),m=async t=>{if(!window.fetch)return(0,r.s)("error","VAST: Error attempting fetch vast ads. Fetch not available."),null;try{const e=await fetch("https://ssp.seznam.cz/v2/vast",{method:"POST",body:JSON.stringify(t),credentials:"include"});if(!e.ok)return(0,r.s)("error","VAST: Error attempting fetch vast ads. Response status: ".concat(e.status,").")),null;return await e.text()}catch(t){return(0,r.s)("error","VAST: Error attempting fetch vast ads. Error: ".concat(t)),null}},h=t=>new Promise((e,n)=>{if(!t.webId&&!t.zoneId)return;const{cmpServer:o}=(0,i.zj)(),r=t.webId?"webId=".concat(t.webId):"zoneId=".concat(t.zoneId),s="".concat(o,"?").concat(r),a=new XMLHttpRequest;a.onreadystatechange=()=>{4===a.readyState&&(200===a.status&&a.responseText?e(a.responseText):400===a.status?n("Bad request"):n("Something wrong happened"))},a.open("GET",s),a.send()})},3381:function(t,e,n){"use strict";n.d(e,{T:function(){return d}});var o=n(6291),r=n(5365),i=n(8077);const s=(t,e)=>{const n=(t=>r.P.getConsentFromCookieList(e=>{e&&t(e,!1)}))(t);n&&t(n,!0),e.timeout.start(()=>{(0,o.s)("info","Consent checking timeout reached"),t(null,!1)},i.ix)},a=()=>({start:Date.now(),interval:{_interval:null,start(t,e){this._interval=window.setInterval(t,e)},stop(){window.clearInterval(this._interval)}},timeout:{_timeout:null,start(t,e){this._timeout=window.setTimeout(t,e)},stop(){window.clearTimeout(this._timeout)}},stopAll(){this.interval.stop(),this.timeout.stop()}}),c=()=>new Promise(t=>{const e=a(),n=((t,e)=>(n,r)=>{n?(r?(0,o.s)("info","Got v2 consent from cookie",n):(0,o.s)("info","Got v2 consent from tcf api",n),e.stopAll(),t(n)):((0,o.s)("info","Resolved without consent"),e.stopAll(),t(null))})(t,e);s(n,e),(0,o.s)("info",'Consent checking timeout started -> "timeout wait"')}),d=async()=>{try{const t=await c();return t?t.consentString:null}catch(t){return null}}},3508:function(t,e,n){"use strict";n.d(e,{SC:function(){return h},lZ:function(){return u},ls:function(){return m}});var o=n(6291),r=n(78),i=n(7516),s=n(2003);let a=null;const c={},d=new Set,l=function(t){var e;let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];null!==(e=c[t])&&void 0!==e&&e.timer&&window.clearTimeout(c[t].timer),n?delete c[t]:c[t]={}},u=()=>{for(const t in c)l(t,!0)},f=t=>{let{data:e,containerElement:n}=t;const{id:o}=e;let r=null;return o?r="string"==typeof o||"number"==typeof o?document.getElementById(o.toString()):o:n&&(r=n),r},p=t=>{const e=document.getElementById(t),n=(0,r.Dt)().find(t=>e&&f(t)===e);var i;n&&((0,o.s)("info","### visibility counted ###",t),(i=n.ad.tracking.visible)&&i.length&&((0,o.s)("info","### visible hits ###"),i.forEach(t=>{if(d.has(t))return void(0,o.s)("info","already called visible URL -> skipping",t);(0,o.s)("calling visible URL:",t);const e=new Image(1,1);e.onerror=()=>(0,o.s)("error","Failed count visible URL:",t),d.add(t),e.src=t})),a.unobserve(e),l(t))},m=async()=>{if(a){const t=(0,r.Dt)().filter(t=>{let{ad:e}=t;return"empty"!==e.type});(await Promise.all(t.map(async t=>{const e=f(t)||await(t=>{let e=0;return new Promise(n=>{const o=window.setInterval(()=>{if(e>=3)return window.clearInterval(o),n(null);const r=f(t);if(r)return window.clearInterval(o),n(r);e++},250)})})(t);return{adElement:e}}))).forEach(t=>{let{adElement:e}=t;e&&e.id&&!c[e.id]&&(l(e.id),a.observe(e))})}},h=()=>{window.addEventListener("sznAnimationFinished",t=>{var e;const{elementId:n,animationStatus:o}=null!==(e=t.detail)&&void 0!==e?e:{};if("visible"===o){var i;const t=null===(i=document.getElementById(n))||void 0===i?void 0:i.closest(".adFull");if(t){const e=[...(0,r.Dt)()].reverse().find(e=>{let{ad:{id:n},containerElement:o}=e;return o===t||n&&n===t.id});var a;if(e&&(0,s.vb)(e.ad.adFormat,!0))l(n,!0),(0,r.q)([{url:null===(a=e.ad.tracking.visible)||void 0===a?void 0:a[0],id:n}])}}else l(n,!0)})};e.Ay=()=>{if("IntersectionObserver"in window)return a||(a=new IntersectionObserver(t=>{t.forEach(t=>{let{target:e,isIntersecting:n,intersectionRatio:o}=t;const s=(0,r.Dt)().find(t=>{let{ad:n}=t;return n.containerElement===e||n.id&&n.id===e.id}),a=!(!s||!(0,i.Wn)(s.ad.width));var d;n&&(a||Math.round(o))?(d=e.id,c[d]={timer:(c[d]||{}).timer||window.setTimeout(()=>p(d),1e3)}):l(e.id)})},{threshold:[0,.5,1]})),m()}},3646:function(t,e,n){"use strict";n.d(e,{hc:function(){return S}});var o=n(9379),r=n(2681),i=n(3334);var s=n(3053),a=n(1337),c=n(4467),d=n(6291),l=n(804);const u=!0,f=(0,l.lg)();var p=new class{constructor(){(0,c.A)(this,"instance",null)}config(){try{if(!window.DOT)return void(0,d.s)("info","window.DOT is missing");this.instance=window.DOT.getNewInstance();const t={service:"partner3",impress:!1,mousedown:!1,load:!1,cmp:u,timestamp:f};this.instance.cfg(t)}catch(t){console.error(t)}}_hit(t,e){try{var n;e.d.cmp=u,e.d.timestamp=f,null===(n=this.instance)||void 0===n||n.hit(t,e)}catch(t){console.error(t)}}cookieCopied(){this._hit("event",{d:{action:"cookieCopied"}})}},m=n(3259),h=n(8143);let g=!1;const w="internal",v="external",y=()=>{const t=(0,a.Z)("cmp"),e="https://h.seznam.cz/js/cmp2",n="https://h.seznam.dev.dszn.cz/js/cmp2",o="https://h.seznam.test.dszn.cz/js/cmp2";if(t)return t;const{currentScript:i}=(0,r.zj)();if(!i)return e;const s=i instanceof HTMLScriptElement?new URL(i.src).hostname:window.location.hostname;return s.includes("seznam.dev.dszn.cz")?n:s.includes("seznam.test.dszn.cz")?o:e},b=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w;if(t===w&&!s.J)return;if(window.scmpInserted)return;const e=document.createElement("script");e.src="".concat(y(),"/cmp_stub.js"),document.head.appendChild(e);const n=document.createElement("script");n.src=(t=>{const e=t===v?"scmp-external.js":"scmp.js",n=new URL("".concat(y(),"/").concat(e));return"1"===(0,h.Mt)("cmp_chunks")&&n.searchParams.set("chunks","1"),n.href})(t),document.head.appendChild(n),window.scmpInserted=!0},S=async t=>{if(p.config(),!(0,m.HO)()&&!g){try{if(window.scmp||window.parent.scmp)return void(g=!0)}catch(t){}try{const e=await(t=>new Promise((e,n)=>{const{webId:o}=(0,r.zj)(),s={webId:o,zoneId:t};s.webId||s.zoneId?(0,i.A)(s).then(t=>{try{e(JSON.parse(t))}catch(t){n(t)}}).catch(n):n("No webId or zoneId provided")}))(t),{internalPartner:n,showDialog:s,startDate:a}=e;(0,r.tn)({cmpData:e}),g=!0;const c=new CustomEvent("cmpdatareceived",{detail:(0,o.A)({},e)});if(window.dispatchEvent(c),window.scmp_sspServerData=e,!s)return;const d="1"===(0,h.Mt)("ignore_cmp");if(n&&!d)return void b(w);if(a)return void b(v)}catch(t){(0,d.s)("error","CMP initialization failed",t)}}}},3649:function(t,e,n){"use strict";n.d(e,{k:function(){return o}});const o=t=>new Promise((e,n)=>{const o=document.createElement("script");o.addEventListener("load",e),o.addEventListener("error",n),o.src=t,document.head.appendChild(o)})},3674:function(t,e,n){"use strict";n.d(e,{i7:function(){return l},z0:function(){return d}});var o=n(689),r=n(4572);const i="keywords",s="szn:adKeywords",a=()=>[...document.querySelectorAll('script[type="application/ld+json"]')].map(t=>{return e=t,(0,r.T)(e.innerHTML);var e}).filter(Boolean),c=t=>{const e=t(a());return(0,o.O)(e)},d=()=>c(t=>t.flatMap(t=>"string"==typeof t[i]?t[i].split(","):[])),l=()=>c(t=>t.flatMap(t=>Array.isArray(t[s])?t[s]:[]))},3713:function(t,e){"use strict";const n=()=>{try{return window.self!==window.top?document.referrer:null}catch(t){return console.error(t),document.referrer}},o=()=>{try{return top.document.location.href}catch(t){return console.error(t),null}},r=/^https*:\/\/([^/]*\.facebook\.com|[^/]*\.bing\.com|[^/]*\.google\.(com|cz)|[^/]*\.imedia\.cz)\//;e.A=()=>[n(),o(),document.location.href].find(t=>!!t&&!r.test(t))||""},3855:function(t,e,n){"use strict";n.d(e,{A:function(){return l}});var o=n(4275),r=n(1492);const i="data-ps-",s="ps-style",a="ps-script";function c(t,e){const n=i+e,o=t.getAttribute(n);return r.t$(o)?String(o):o}function d(t,e,n=null){const o=i+e;r.t$(n)&&""!==n?t.setAttribute(o,n):t.removeAttribute(o)}class l{constructor(t,e={}){this.root=t,this.options=e,this.doc=t.ownerDocument,this.win=this.doc.defaultView||this.doc.parentWindow,this.parser=new o.h("",{autoFix:e.autoFix}),this.actuals=[t],this.proxyHistory="",this.proxyRoot=this.doc.createElement(t.nodeName),this.scriptStack=[],this.writeQueue=[],d(this.proxyRoot,"proxyof",0)}write(...t){for(this.writeQueue.push(...t);!this.deferredRemote&&this.writeQueue.length;){const t=this.writeQueue.shift();r.Tn(t)?this._callFunction(t):this._writeImpl(t)}}_callFunction(t){const e={type:"function",value:t.name||t.toString()};this._onScriptStart(e),t.call(this.win,this.doc),this._onScriptDone(e)}_writeImpl(t){this.parser.append(t);let e=null,n=null,o=null;const i=[];for(;(e=this.parser.readToken())&&!(n=r.Kh(e))&&!(o=r.GJ(e));)e=this.options.beforeWriteToken(e),e&&i.push(e);i.length>0&&this._writeStaticTokens(i),n&&this._handleScriptToken(e),o&&this._handleStyleToken(e)}_writeStaticTokens(t){const e=this._buildChunk(t);return e.actual?(e.html=this.proxyHistory+e.actual,this.proxyHistory+=e.proxy,this.proxyRoot.innerHTML=e.html,this._walkChunk(),e):null}_addBaseAttr(t,e,n){return t.replace(/^(<[a-zA-Z0-9\-!]+)/,(t,o)=>o+` ${e}id=${n}`)}_buildChunk(t){let e=this.actuals.length;const n=[],o=[],r=[],c=t.length;for(let d=0;d":">"))}}else o.push(l),r.push("endTag"===c.type?l:"")}return{tokens:t,raw:n.join(""),actual:o.join(""),proxy:r.join("")}}_walkChunk(){let t=null;const e=[this.proxyRoot];for(;r.t$(t=e.shift());){const n=1===t.nodeType;if(!(n&&c(t,"proxyof"))){n&&(this.actuals[c(t,"id")]=t,d(t,"id"));const e=t.parentNode&&c(t.parentNode,"proxyof");e&&this.actuals[e].appendChild(t)}e.unshift.apply(e,r.$r(t.childNodes))}}_handleScriptToken(t){const e=this.parser.clear();e&&this.writeQueue.unshift(e),t.src=t.attrs.src||t.attrs.SRC,(t=this.options.beforeWriteToken(t))&&(t.src&&this.scriptStack.length?this.deferredRemote=t:this._onScriptStart(t),this._writeScriptToken(t,()=>{this._onScriptDone(t)}))}_handleStyleToken(t){const e=this.parser.clear();e&&this.writeQueue.unshift(e),t.type=t.attrs.type||t.attrs.TYPE||"text/css",(t=this.options.beforeWriteToken(t))&&this._writeStyleToken(t),e&&this.write()}_writeStyleToken(t){const e=this._buildStyle(t);this._insertCursor(e,s),t.content&&(e.styleSheet&&!e.sheet?e.styleSheet.cssText=t.content:e.appendChild(this.doc.createTextNode(t.content)))}_buildStyle(t){const e=this.doc.createElement(t.tagName);return e.setAttribute("type",t.type),r.hn(t.attrs,(t,n)=>{e.setAttribute(t,n)}),e}_insertCursor(t,e){this._writeImpl(``);const n=this.doc.getElementById(e);n&&n.parentNode&&n.parentNode.replaceChild(t,n)}_onScriptStart(t){t.outerWrites=this.writeQueue,this.writeQueue=[],this.scriptStack.unshift(t)}_onScriptDone(t){t===this.scriptStack[0]?(this.scriptStack.shift(),this.write.apply(this,t.outerWrites),!this.scriptStack.length&&this.deferredRemote&&(this._onScriptStart(this.deferredRemote),this.deferredRemote=null)):this.options.error({msg:"Bad script nesting or script finished twice"})}_writeScriptToken(t,e){const n=this._buildScript(t),o=this._shouldRelease(n),r=this.options.afterAsync;t.src&&(n.src=t.src,this._scriptLoadHandler(n,o?r:()=>{e(),r()}));try{this._insertCursor(n,a),n.src&&!o||e()}catch(t){this.options.error(t),e()}}_buildScript(t){const e=this.doc.createElement(t.tagName);return r.hn(t.attrs,(t,n)=>{e.setAttribute(t,n)}),t.content&&(e.text=t.content),e}_scriptLoadHandler(t,e){function n(){t=t.onload=t.onreadystatechange=t.onerror=null}const o=this.options.error;function r(){n(),null!==e&&e(),e=null}function i(t){n(),o(t),null!==e&&e(),e=null}function s(t,e){const n=t[`on${e}`];null!==n&&(t[`_on${e}`]=n)}s(t,"load"),s(t,"error"),Object.assign(t,{onload(){if(t._onload)try{t._onload.apply(this,Array.prototype.slice.call(arguments,0))}catch(e){i({msg:`onload handler failed ${e} @ ${t.src}`})}r()},onerror(){if(t._onerror)try{t._onerror.apply(this,Array.prototype.slice.call(arguments,0))}catch(e){return void i({msg:`onerror handler failed ${e} @ ${t.src}`})}i({msg:`remote script failed ${t.src}`})},onreadystatechange(){/^(loaded|complete)$/.test(t.readyState)&&r()}})}_shouldRelease(t){return!/^script$/i.test(t.nodeName)||!!(this.options.releaseAsync&&t.src&&t.hasAttribute("async"))}}},3869:function(t,e,n){"use strict";n.d(e,{_f:function(){return l},oc:function(){return c}});var o=n(9962),r=n(8113),i=n(4741),s=n(7254),a=n(9436);const c=()=>{var t;const e=(0,i.Z)(r.sx);if(e)return e;const n=(0,o.RG)();if(n)return n;try{const e=(null===(t=window.localStorage)||void 0===t?void 0:t.getItem(r.sx))||"";if(e)return e}catch(t){(0,s.R)((0,a.W)(),"warn",void 0,JSON.stringify(t))}return""},d=(t,e,n)=>{if(!t)return!1;if("1"===t)return!0;if(~t.indexOf("!"))return!~t.toLowerCase().indexOf(`!${e.toLowerCase()}`);if(n&&t.includes(":")){const o=new RegExp(`${e}:([^\\s]+)`,"i"),i=t.match(o);if(i){const t=i[1].split(",").map(t=>t.trim().toLowerCase()),e=r.p_[n];return void 0!==e&&t.some(t=>{const n=t in r.p_?r.p_[t]:void 0;return void 0!==n&&n>=e})}}if(~t.toLowerCase().indexOf(e.toLowerCase())){if(n){const t=r.p_[n],e=r.p_[r.DY];return void 0!==t&&t<=e}return!0}return!1},l=(t,e)=>{var n;const r=c();return!(null===(n=(0,o._2)())||void 0===n?void 0:n.welcomeNotified)&&r&&(0,o.in)()&&((0,o.Dt)({welcomeNotified:!0}),(0,s.R)((0,a.W)(),"log",void 0,`===============================================\n | 🕷 DEBUGGER is set to "${r}".\n | Use "1" to let any component log or use component name[s] to filter them.\n | Enabling component (e.g., "sssp") defaults to INFO level.\n | Use "component:level" to set specific level (e.g., "sssp:warn").\n | Hierarchy: error < warn < info (log) < table. Higher levels include lower.\n | Using "!component" lets log all components except those listed.\n | Save the rule to local storage using GET parameter "?sznivadbgsave=${r}"\n | and remove it by "?sznivadbgsave=".\n \`=======================================================`)),d(r,t,e)}},3882:function(t,e,n){"use strict";n.d(e,{d:function(){return o}});const o=t=>{let{id:e}=t;return e instanceof HTMLElement?e.id||void 0:"string"==typeof e?e:void 0}},3903:function(t,e,n){"use strict";n.d(e,{A:function(){return z}});var o=n(9379);const r=t=>"string"==typeof t&&!!t.match(/^id=(\d+)\|t=(\d+\.\d{3})\|te=(\d+\.\d{3})\|c=([A-Z0-9]{32})$/);var i=n(2681),s=n(5123),a=n(9538),c=n(6457);const d=()=>{const t=(()=>{const t=(0,a.vD)();return c.FY.reduce((e,n)=>(t[n]&&(e[n]=t[n]),e),{})})();return(0,a.t9)()||delete t.dop_req_id,t};var l=n(3674),u=n(8603),f=n(2077),p=n(3381),m=n(3882),h=n(8644),g=n(8143),w=n(6291);let v=null,y="";var b=n(7311),S=n(689);var z=async t=>{let{zones:e,opt:n=null,cids:a=null,isVastRequest:c=!1}=t;const z=(0,i.zj)(),{source:A,pvId:_,site:I,adblock:E,ab:T,content:k,readKeywords:O,readAdKeywords:C,query:R,page:x}=(0,o.A)((0,o.A)({},z),null==n?void 0:n.config);(0,w.s)("info","Source from config:",A);let{premium:P,rusId:j,said:M}=z;const D=(0,s.V)(),L=(()=>{const t=Object.entries((0,g.al)());if(t.length)return t.reduce((t,e)=>{const[n,o]=e;return n.includes("ssp-param-")&&(t[n.substring(10)]=o),t},{})})();(0,w.s)("info","### build prefix ###");const N={ab:{},pvId:_,zones:[]};if(k&&(N.content=Object.entries(k).reduce((t,e)=>{var n;let[o,r]=e;return t[o]=null!==(n=null==r?void 0:r.toString())&&void 0!==n?n:"",t},{})),A&&""!==A&&(N.source=A),""!==I&&(N.site=I),""!==E&&(N.adblock=E),""!==R&&(N.query=R),null!=x&&(N.page=x),O){const t=(0,l.z0)();t.length&&(N.keywords=t.join(","))}N.ab=(0,o.A)({q25test:"A"},T);const U=d();if(U.dop_ab_variant){const t=(0,u.p)();N.ab=(0,o.A)((0,o.A)((0,o.A)({},N.ab),U),t?{dop_source:JSON.stringify(t)}:{})}if(I){const t={};try{const e=new URL(I),n=e.origin,o=e.hash.replace("#","?");new URL("".concat(n).concat(o)).searchParams.forEach((t,n)=>{e.searchParams.append(n,t)});const r=Object.fromEntries(e.searchParams.entries());Object.assign(t,r)}catch(t){}const e=["dop_ab_variant","dop_req_id","dop_source_zone_name"];e.some(e=>t[e])&&(N.ab=e.reduce((e,n)=>(t[n]&&(e["site_".concat(n)]=t[n]),e),(0,o.A)({},N.ab)))}const F=(0,b.Ri)("sid");r(F)&&(N.sid=F,N.dsid=F);const q=await(0,f.A_)()||{};P="boolean"==typeof q.premium?q.premium:P,j=q.uid||j,M=q.said||M;const H=q.encodedFlags||(0,b.Ri)("user-flags");H&&(N.userFlags=H);const $=await(0,p.T)();var V,G;$&&(G=$,(V=j)&&v?V===v||y!==G:(v=null,1))&&(N.consent=$,(t=>{y=t})($)),"number"!=typeof j||isNaN(j)||(N.rusId=j,(t=>{v=t})(j)),"boolean"==typeof P&&(N.premium=P),M&&"string"==typeof M&&(N.said=M),a&&a.length&&(N.cids=a);const{screenshot:W,grantConsent:B}=(0,g.al)();return"true"===W&&(N.sznDspOnly=!0),"true"===B&&(N.grantConsent=!0),!0===(null==n?void 0:n.grantConsent)&&(N.grantConsent=n.grantConsent),L&&(N.customParams=L),N.zones=e.map(t=>(0,o.A)((0,o.A)((0,o.A)({},t),(0,m.d)(t)?{id:(0,m.d)(t)}:{}),(0,h.wR)()?(0,h.JQ)({zone:t,isVastRequest:c}):{})),C&&(0,S.d)(N),D&&(N.ids=(0,o.A)({},D.prepareIdsForBe((0,o.A)({},D.getIdentities({cacheEnough:!0,justSettled:!1},{login:{justSettled:!0}}))))),N}},3986:function(t,e,n){"use strict";function o(t,e){if(null==t)return{};var n,o,r=function(t,e){if(null==t)return{};var n={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(-1!==e.indexOf(o))continue;n[o]=t[o]}return n}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o{try{const{protocol:e,server:n}=(0,o.zj)(),i=new URL("".concat(e).concat(n,"/v2/event"));for(const e in t)i.searchParams.append(e,t[e]);(0,r.s)("info","### event hit to url ".concat(i," ###"));new Image(1,1).src=i.href}catch(t){(0,r.s)("error","### event hit failed ###")}}},4024:function(t,e,n){"use strict";n.d(e,{h:function(){return r}});var o=n(8113);const r=(t,e,n)=>{const{name:r}=t,i=`${o.CS}${r}`,s=Object.assign({state:e},n);window.sznIVA=window.sznIVA||{},window.sznIVA[r]=window.sznIVA[r]||{},Object.assign(window.sznIVA[r],s);const a=new CustomEvent(i,{detail:s});window.dispatchEvent(a)}},4256:function(t,e,n){"use strict";n.d(e,{ur:function(){return z},_Q:function(){return _},wv:function(){return A}});var o=n(6291),r=n(2681),i=n(2920),s=n(1656),a=n(804),c=n(9538),d=n(129),l=n(3713),u=n(7915),f=n(8603);const p=["elektrina.cz","esjnews.com","gamingsite.cz","jakbytfit.cz","studentpoint.cz","svetandroida.cz","trailhunter.cz","ulekare.cz","ventil.vehiklo.cz","vitalnisenior.cz"].map(t=>t.toLowerCase());var m=n(6410),h=n(8077),g=n(6643),w=n(3259),v=n(3508),y=n(6582);const b=(t,e)=>t.hit("adload",{d:e});let S=document.referrer||"";const z=()=>S,A=function(){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:null)||(0,s.$)(50),n={pvId:e};(0,d.W)(z())===(0,d.W)(document.location.hostname)&&((0,m.yH)([]),(0,c.qO)(),n.site=(0,l.A)()),(0,r.tn)(n),(0,g.UJ)({pvId:e});const A=(0,i.qX)();if((0,o.s)("info","#### setting pageViewId:",e),A){const t={adId:e},n=(0,a.uM)();n&&(t.timeFromInit=n,(0,a.Rj)(null)),(0,w.rl)()&&!window.DOT.impressBeforeAdloadSent?((t,e)=>{let n=null;const o=()=>{window.removeEventListener(h.em,o),clearTimeout(n),n=null,b(t,e)};n=setTimeout(()=>{window.removeEventListener(h.em,o),b(t,e)},h.Oz),window.addEventListener(h.em,o)})(A,t):b(A,t)}var _;_=document.location.hostname,S=_,setTimeout(()=>{(()=>{const t=document.location.hostname.replace("www.","").toLowerCase();if(p.includes(t)||!(0,u.w)())return;const e=(0,f.p)(),n=(0,i.qX)();n?n.spenttime?n.spenttime({d:e?{dop_source:e}:{},initiator:"ssp"}):(0,o.s)("warn","Current DOT instance lacking spenttime module. Unable to send spenttime hits."):(0,o.s)("error","Unable to get DOT instance")})()}),t&&(0,v.lZ)(),(0,y.wT)()},_=()=>(0,r.zj)().pvId},4275:function(t,e,n){"use strict";n.d(e,{h:function(){return c}});var o=n(837),r=n(2105),i=n(802),s=n(384);const a={comment:/^