1!function(){var t={2888:function(t,e,n){"use strict";n.d(e,["CS",0,"iva_dbg_event_","Pn",0,"sznivadbgsave","p_",0,{error:0,warn:1,info:2,log:2,table:3},"sx",0,"sznivadbg","zY",0,{FCOLOR:"white",BCOLOR:"black"}])},6526:function(t,e,n){"use strict";n.d(e,{_f:function(){return l},oc:function(){return c}});var o=n(4017),r=n(2888),i=n(7352),s=n(4375),a=n(113);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=>t in r.p_,l=(t,e,n)=>{var i;const l=c();return l?(!(null===(i=(0,o._2)())||void 0===i?void 0:i.welcomeNotified)&&(0,o.in)()&&((0,o.Dt)({welcomeNotified:!0}),(0,s.R)((0,a.W)(),"log",void 0,`===============================================\n | ð· DEBUGGER is set to "${l}".\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=${l}"\n | and remove it by "?sznivadbgsave=".\n \`=======================================================`)),((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=d(t)?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_.info;return void 0!==t&&t<=e}return!0}return!1})(l,t,e)):!!n&&((t,e)=>{if(!d(t))return!1;if(!e)return!0;const n=r.p_[e],o=r.p_[t];return void 0!==n&&void 0!==o&&n<=o})(n,e)}},113:function(t,e,n){"use strict";n.d(e,{W:function(){return l},g:function(){return u}});var o=n(4375),r=n(7179),i=n(6526),s=n(2888),a=n(4017),c=n(1127),d=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]])}return n};const l=()=>({name:"debugger",fColor:"#AAA",bColor:"#777"});(0,a.IK)();const u=t=>{if((0,c.o)(),!((t=Object.assign({fColor:s.zY.FCOLOR,bColor:s.zY.BCOLOR},t))&&t.name&&t.fColor&&t.bColor))return()=>!1;return(...e)=>{const n=["log","warn","error","info","table"],s=e.length,a=(0,i._f)(t.name,void 0,t.logLevel);if(!a||0===s)return a;try{if(1===s&&"object"==typeof e[0]&&!Array.isArray(e[0])&&null!==e[0]){const[n]=e,{state:i,type:s,subName:c,message:l}=n,u=d(n,["state","type","subName","message"]);if(a){const e=[];void 0!==l&&e.push(l),1===Object.values(u).length?e.push(u[Object.keys(u)[0]]):Object.values(u).length&&e.push(u),(0,o.R)(t,s,c,...e)}return i&&(0,r.h)(t,i,u),a}if(a&&1===s)return(0,o.R)(t,"log",void 0,e[0]),a;if(a&&2===s&&~n.indexOf(e[0]))return(0,o.R)(t,e[0],void 0,e[1]),a;if(a&&s>1&&!~n.indexOf(e[0]))return(0,o.R)(t,"log",void 0,...e),a;if(a&&s>2&&~n.indexOf(e[0]))return(0,o.R)(t,e[0],void 0,...e.slice(1)),a;(0,o.R)(l(),"warn",void 0,"Debugger received unknown argument combination. args:",e)}catch(t){(0,o.R)(l(),"error",void 0,`An error occurred in debug function: ${t instanceof Error?t.message:"Unknown error"}`)}return a}}},4375:function(t,e,n){"use strict";n.d(e,{R:function(){return s}});var o=n(5126),r=n.n(o),i=n(6526);const s=(t,e="log",n,...o)=>{if(!(0,i._f)(t.name,e,t.logLevel))return;const{name:s,fColor:a,bColor:c}=t,d=`display: inline-block; color: ${a}; background: ${c}; padding: 1px 4px; border-radius: 3px;`,l=`%c${s}${n?" "+n:""}`,u=(null!=o?o:[]).map(t=>r()(t));"table"===e&&1===u.length?(console.log(l,d),console.table(u[0])):"table"===e&&2===u.length?(console.log(l,d,u[0]),console.table(u[1])):console[e](l,d,...u)}},1127:function(t,e,n){"use strict";n.d(e,{o:function(){return a}});var o=n(113),r=n(4375),i=n(2888),s=n(7352);const a=()=>{var t,e,n;const a=(0,s.Z)(i.Pn);if(null===a)return;const c=null===(t=window.localStorage)||void 0===t?void 0:t.getItem(i.sx);a===c||null===c&&""===a||(""===a?(null===(e=window.localStorage)||void 0===e||e.removeItem(i.sx),(0,r.R)((0,o.W)(),void 0,void 0,"Rule was removed from the local storage.")):(null===(n=window.localStorage)||void 0===n||n.setItem(i.sx,null!=a?a:""),(0,r.R)((0,o.W)(),void 0,void 0,`Rule "${a}" was saved to the local storage.`)))}},7179:function(t,e,n){"use strict";var o=n(2888);n.d(e,["h",0,(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)}])},7352:function(t,e,n){"use strict";n.d(e,["Z",0,t=>{const e=window.location.search||"",n=new RegExp(`${t}=([^&]*)`),o=e.match(n)||[];return o.length>1?o[1]:null}])},4017:function(t,e,n){"use strict";n.d(e,{Dt:function(){return d},IK:function(){return f},RG:function(){return l},_2:function(){return c},in:function(){return a}});var o=n(6526),r=n(2888),i=n(4375),s=n(113);const a=(t=window)=>!(t.top!==t.self&&!t.Cypress||t.frameElement),c=()=>{var t;return null===(t=window.sznIVA)||void 0===t?void 0:t.debugger},d=t=>{window.sznIVA=window.sznIVA||{},window.sznIVA.debugger=Object.assign(Object.assign({},window.sznIVA.debugger),t)},l=()=>{var t;return null===(t=c())||void 0===t?void 0:t.topFrameRule},u=t=>{var e,n,a;try{if("function"==typeof(null===(e=null==t?void 0:t.source)||void 0===e?void 0:e.postMessage)&&(null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.type)===`${r.CS}request_debug_settings`){const e=(0,o.oc)();t.source.postMessage({type:`${r.CS}debug_settings`,rule:e},{targetOrigin:"*"}),(null===(a=c())||void 0===a?void 0:a.iframeBridgeNotified)||(e&&(0,i.R)((0,s.W)(),void 0,void 0,`Top frame sends a debugger rule "${e}" to iframes.`),d({iframeBridgeNotified:!0}))}}catch(t){(0,i.R)((0,s.W)(),"error",void 0,`${t instanceof Error?t.message:"An unknown error occurred in handlerFromChildMessage"}`)}},p=t=>{var e;(null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.type)===`${r.CS}debug_settings`&&d({topFrameRule:t.data.rule})},f=()=>{try{if(a())window.removeEventListener("message",u),window.addEventListener("message",t=>u(t));else{window.removeEventListener("message",p),window.addEventListener("message",t=>p(t));try{window.top.postMessage({type:`${r.CS}request_debug_settings`},document.referrer||"*")}catch(t){(0,i.R)((0,s.W)(),"error",void 0,`Failed to send debug settings request to top window: ${t instanceof Error?t.message:"Unknown error"}`)}}}catch(t){(0,i.R)((0,s.W)(),"error",void 0,`Failed to initialize iframe bridge: ${t instanceof Error?t.message:"Unknown error"}`)}}},8993:function(t,e,n){"use strict";n.d(e,{h:function(){return l}});var o=n(5607),r=n(6371),i=n(1340),s=n(1346),a={};n.r(a),n.d(a,{selfClose:function(){return o.L},tagSoup:function(){return o.O}});var c={};n.r(c),n.d(c,{atomicTag:function(){return r.I1},chars:function(){return r.Wn},comment:function(){return r.Im},endTag:function(){return r.On},startTag:function(){return r.PX},unescapeHTMLEntities:function(){return r.L_}});const d={comment:/^<!--/,endTag:/^<\//,atomicTag:/^<\s*(script|style|noscript|iframe|textarea)[\s\/>]/i,startTag:/^</,chars:/^[^<]/};class l{constructor(t="",e={}){this.stream=t;let n=!1;const o={};for(const t in a)({...a}).hasOwnProperty(t)&&(e.autoFix&&(o[`${t}Fix`]=!0),n=n||o[`${t}Fix`]);n?(this._readToken=(0,i.A)(this,o,()=>this._readTokenImpl()),this._peekToken=(0,i.A)(this,o,()=>this._peekTokenImpl())):(this._readToken=this._readTokenImpl,this._peekToken=this._peekTokenImpl)}append(t){this.stream+=t}prepend(t){this.stream=t+this.stream}_readTokenImpl(){const t=this._peekTokenImpl();if(t)return this.stream=this.stream.slice(t.length),t}_peekTokenImpl(){for(const t in d)if(d.hasOwnProperty(t)&&d[t].test(this.stream)){const e=c[t](this.stream);if(e)return"startTag"===e.type&&/script|style/i.test(e.tagName)?null:(e.text=this.stream.substring(0,e.length),e)}}peekToken(){return this._peekToken()}readToken(){return this._readToken()}readTokens(t){let e=null;for(;e=this.readToken();)if(t[e.type]&&!1===t[e.type](e))return}clear(){const t=this.stream;return this.stream="",t}rest(){return this.stream}}l.tokenToString=t=>t.toString(),l.escapeAttributes=t=>{const e={};for(const n in t)t.hasOwnProperty(n)&&(e[n]=(0,s.H)(t[n],null));return e},l.supports=a;for(const t in a)({...a}).hasOwnProperty(t)&&(l.browserHasFlaw=l.browserHasFlaw||!a[t]&&t)},1340: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()}
1,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("<TBODY>"),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())}}},6371:function(t,e,n){"use strict";n.r(e),n.d(e,{I1:function(){return d},Im:function(){return i},L_:function(){return a},On:function(){return l},PX:function(){return c},Wn:function(){return s}});var o=n(8425);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)}},5607:function(t,e,n){"use strict";n.r(e),n.d(e,{L:function(){return r},O:function(){return o}});let o=!1,r=!1,i=window.document.createElement("div");try{const t="<P><I></P></I>";i.innerHTML=t,o=i.innerHTML!==t}catch(t){o=!1}try{i.innerHTML="<P><i><P></P></i></P>",r=2===i.childNodes.length}catch(t){r=!1}i=null},8425: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(1346);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}>`}}},1346: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}})},6827:function(t,e,n){"use strict";n.d(e,{r:function(){return u}});var o=n(1325),r=n(6730);function i(){}const s={afterAsync:i,afterDequeue:i,afterStreamStart:i,afterWrite:i,autoFix:!0,beforeEnqueue:i,beforeWriteToken:t=>t,beforeWrite:t=>t,done:i,error(t){throw new Error(t.msg)},releaseAsync:!1};let a=0,c=[],d=null;function l(){const t=c.shift();if(t){const e=r.HV(t);e.afterDequeue(),t.stream=function(t,e,n){d=new o.A(t,n),d.id=a++,d.name=n.name||d.id,u.streams[d.name]=d;const r=t.ownerDocument,s={close:r.close,open:r.open,write:r.write,writeln:r.writeln};function c(t){t=n.beforeWrite(t),d.write(t),n.afterWrite(t)}Object.assign(r,{close:i,open:i,write:(...t)=>c(t.join("")),writeln:(...t)=>c(t.join("")+"\n")});const p=d.win.onerror||i;return d.win.onerror=(t,e,o,r)=>{const i=`Postscribe error: '${t}', url: ${e} at ${o}:${r}`;n.error({msg:i}),p.apply(d.win,[i,e,o,r])},d.write(e,()=>{Object.assign(r,s),d.win.onerror=p,n.done(),d=null,l()}),d}(...t),e.afterStreamStart()}}function u(t,e,n){if(r.Tn(n))n={done:n};else if("clear"===n)return c=[],d=null,void(a=0);n=r.NT(n,s);const o=[t=/^#/.test(t)?window.document.getElementById(t.substring(1)):t.jquery?t[0]:t,e,n];return t.postscribe={cancel:()=>{o.stream?o.stream.abort():o[1]=i}}
1,n.beforeEnqueue(o),c.push(o),d||l(),t.postscribe}Object.assign(u,{streams:{},queue:c,WriteStream:o.A})},6730: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;r<o;r++)e.call(n,t[r],r)}(t,function(t){n.push(t)}),n}}function c(t){return t[t.length-1]}function d(t,e){return!(!t||"startTag"!==t.type&&"atomicTag"!==t.type||!("tagName"in t))&&!!~t.tagName.toLowerCase().indexOf(e)}function l(t){return d(t,"script")}function u(t){return d(t,"style")}n.d(e,{$r:function(){return a},GJ:function(){return u},HV:function(){return c},Kh:function(){return l},NT:function(){return s},Tn:function(){return r},hn:function(){return i},t$:function(){return o}})},1325:function(t,e,n){"use strict";n.d(e,{A:function(){return l}});var o=n(8993),r=n(6730);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<c;d++){const c=t[d],l=c.toString();if(n.push(l),c.attrs){if(!/^noscript$/i.test(c.tagName)){const t=e++,n=this._addBaseAttr(l,i,t);o.push(n),c.attrs.id!==a&&c.attrs.id!==s&&r.push("atomicTag"===c.type?"":`<${c.tagName} ${i}proxyof=${t}`+(c.unary?" />":">"))}}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(`<span id="${e}"/>`);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()}
1,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"))}}},7735:function(t,e,n){"use strict";n.d(e,["G",0,{hp_feed:"hp_feed","sekce-z-internetu":"hp_feed","denni-tisk":"novinky",novinky:"novinky",media:"media","z-boxiku":"hp_box",hp_box:"hp_box",search:"search",software:"software",sbrowser:"sbrowser",radio:"radio",tvseznam:"tvseznam",seznam_distribuce:"seznam_distribuce"}])},2728:function(t,e,n){"use strict";const o=["desktopPopup2","bannerPopup2","bannerPopupSquare2","bannerVignette2"],r=[...o,"interstitial2"];n.d(e,["FU",0,"#a90101","JD",0,{PROTOCOL:"https://",HOSTNAME:"ssp.seznam.cz",IFRAME_HOSTNAME:"ssp.im.cz",PATH_TO_EMPTY:"/static/html/empty.html"},"O$",0,r,"RW",0,["SKLIK","ADVERT","OGAR","ONEGAR","APPNEXUS","PUBMATIC"],"Sf",0,o,"eX",0,"https://o-seznam.cz/pravni-informace/personalizace/reklama/","em",0,"szn:dot:impressdone","fz",0,{PROTOCOL:"https://",HOSTNAME:"cmp.seznam.cz",PATH_TO_CMP:"/check-point/v1/cmp"},"lk",0,["www.seznam.cz","hry.seznam.cz","www.horoskopy.cz","www.novinky.cz","www.seznamzpravy.cz","www.prozeny.cz","www.super.cz","www.sport.cz","www.garaz.cz","www.stream.cz","www.televizeseznam.cz","www.firmy.cz","www.sauto.cz","www.sreality.cz","www.sbazar.cz","www.zbozi.cz","mapy.cz","sdovolena.seznam.cz","search.seznam.cz","www.kupi.cz","www.expresfm.cz","www.classicpraha.cz","atlas.mapy.cz","login.szn.cz","email.seznam.cz","slovnik.seznam.cz","podcasty.seznam.cz","www.volnamista.cz","tv.seznam.cz","reporter.seznam.cz","ucet.seznam.cz","pocasi.seznam.cz","slearning.cz","special.novinky.cz","online.sport.cz","en.mapy.cz","sk.mapy.cz","pl.mapy.cz","de.mapy.cz","registrace.seznam.cz","en.firmy.cz","uk.mapy.cz","native.seznamzpravy.cz","advise.novinky.cz","medium.seznam.cz","partner.seznam.cz"],"sg",0,"unfreeze_sspjs"])},7645:function(t,e,n){"use strict";n.d(e,{Dt:function(){return h},Kp:function(){return g},OA:function(){return m},PL:function(){return b},QK:function(){return y},ak:function(){return A},eb:function(){return I},lA:function(){return w},q:function(){return z},ul:function(){return f},wf:function(){return v}});var o=n(5364),r=n(1570),i=n(8997),s=n(2311),a=n(4217),c=n(9371),d=n(6836);let l=!1,u=[],p=null;const f=()=>{var t;return null===(t=p)||void 0===t?void 0:t()};window.addEventListener("ssppvidset",()=>{l&&(u=[],p=null),l=!0});const h=()=>u,m=t=>{u=[...u,...t]},g=async({id:t,zoneId:e})=>{u=u.map(n=>n.ad.zoneId!==e||n.ad.id?n:(0,o.A)((0,o.A)({},n),{},{ad:(0,o.A)((0,o.A)({},n.ad),{},{id:t}),data:(0,o.A)((0,o.A)({},n.data),{},{id:t})})),await(0,i.ls)()},v=(t,e)=>{if(t.length===e.length)return t.map((t,n)=>({data:t,ad:(0,o.A)((0,o.A)({},e[n]),{},{impressId:(0,a.$)(25),adIndex:n})}))},w=t=>u.find(e=>t===e.ad.impressId),y=(t,e)=>{const n=w(t.impressId);n&&(n.containerElement=e)},b=()=>h().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:null!=e?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}}),A=t=>{const e={data:[]};return"function"==typeof t&&(p=()=>(t(b()),!0),e.removeWatcher=()=>{p=null}),e.data=b(),e},S=t=>{if(null==t||!t.id||null==t||!t.url)return!1;const{id:e,url:n}=t,o=u.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):u.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},z=t=>{if(!Array.isArray(t))return;t.map(S).some(Boolean)&&(0,i.ls)()},I=()=>{const t=[];return A().data.forEach(({zoneId:e})=>{var n;const o=null===(n=u.find(t=>t.ad.zoneId===e&&!(0,d.vb)(t.ad.adFormat,!0)&&111!==t.data.width&&!(0,c.Wn)(t.data.width)))||void 0===n?void 0:n.data;if(o){const{width:n,height:r}=o;n&&r&&!t.find(t=>t.zoneId===e)&&t.push({zoneId:e,width:n,height:r})}}),t}},3797:function(t,e,n){"use strict";var o=n(1570);let r=[];n.d(e,["QU",0,({ads:t})=>{try{t.forEach(({bidIds:t})=>{null!=t&&t.cid&&!r.includes(t.cid)&&r.push(t.cid),r.length>20&&r.splice(0,r.length-20)})}catch(t){(0,o.s)("Error",t)}},"gk",0,()=>r,"yH",0,t=>{r=t.slice(0,20)}])},1476:function(t,e,n){"use strict";n.d(e,{A:function(){return S}});var o=n(5364);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(2792),s=n(7482),a=n(6985),c=n(3860);const d=()=>{const t=(()=>{const t=(0,a.vD)();return t?c.FY.reduce((e,n)=>(t[n]&&e&&(e[n]=t[n]),e),{}):{}})();return(0,a.t9)()||delete t.dop_req_id,t};var l=n(1437),u=n(6514),p=n(7462),f=n(5872),h=n(2311),m=n(8485),g=n(8e3),v=n(1570);let w=null,y="";var b=n(4114),A=n(7132);
1var S=async({zones:t,opt:e,cids:n,isVastRequest:a=!1})=>{var c,S;const z=(0,i.zj)(),{source:I,pvId:_,site:E,adblock:T,ab:O,content:k,readKeywords:C,readAdKeywords:R,query:P,page:x}=(0,o.A)((0,o.A)((0,o.A)({},z),null==e?void 0:e.config),null!=z&&z.ab||null!=e&&null!==(c=e.config)&&void 0!==c&&c.ab?{ab:(0,o.A)((0,o.A)({},null==z?void 0:z.ab),null==e||null===(S=e.config)||void 0===S?void 0:S.ab)}:{});(0,v.s)("info","Source from config:",I);let{premium:j,rusId:$,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,v.s)("info","### build prefix ###");const N={ab:{},pvId:_,zones:[]};if(k&&(N.content=Object.entries(k).reduce((t,[e,n])=>{var o;return t[e]=null!==(o=null==n?void 0:n.toString())&&void 0!==o?o:"",t},{})),I&&""!==I&&(N.source=I),""!==E&&(N.site=E),""!==T&&(N.adblock=T),""!==P&&(N.query=P),null!=x&&(N.page=x),C){const t=(0,l.z0)();t.length&&(N.keywords=t.join(","))}N.ab=(0,o.A)({q25test:"A"},O);const U=d();if(null!=U&&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(E){const t={};try{const e=new URL(E),n=e.origin,o=e.hash.replace("#","?");new URL(`${n}${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_${n}`]=t[n]),e),(0,o.A)({},N.ab)))}const q=(0,b.Ri)("sid");r(q)&&(N.sid=q,N.dsid=q);const F=await(0,p.A)()||{};j="boolean"==typeof F.premium?F.premium:j,$=F.uid||$,M=F.said||M;const H=F.encodedFlags||(0,b.Ri)("user-flags");H&&(N.userFlags=H);const V=await(0,f.T)();var G,W;V&&(W=V,(G=$)&&w?G===w||y!==W:(w=null,1))&&(N.consent=V,(t=>{y=t})(V)),"number"!=typeof $||isNaN($)||(N.rusId=$,(t=>{w=t})($)),"boolean"==typeof j&&(N.premium=j),M&&"string"==typeof M&&(N.said=M),n&&n.length&&(N.cids=n);const{screenshot:B,grantConsent:J}=(0,g.al)();return"true"===B&&(N.sznDspOnly=!0),"true"===J&&(N.grantConsent=!0),!0===(null==e?void 0:e.grantConsent)&&(N.grantConsent=e.grantConsent),L&&(N.customParams=L),N.zones=t.map(t=>(0,o.A)((0,o.A)((0,o.A)({},t),(0,h.d)(t)?{id:(0,h.d)(t)}:{}),(0,m.wR)()?(0,m.JQ)({zone:t,isVastRequest:a}):{})),R&&(0,A.d)(N),D&&(N.ids=(0,o.A)({},D.prepareIdsForBe((0,o.A)({},D.getIdentities({cacheEnough:!0,justSettled:!1},{login:{justSettled:!0}}))))),N}},3512:function(t,e,n){"use strict";n.d(e,{A:function(){return w},B:function(){return v}});var o=n(7170),r=n(1415);const i=["data","tracking"];var s=n(2780),a=n(7645),c=n(1570),d=n(6836),l=n(6964),u=n(2792),p=n(8085),f=n(785),h=n(8997),m=n(8485),g=n(6108);const v=(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=`Position type error: ${null!==(o=null===(u=t.dbginfo)||void 0===u?void 0:u.error)&&void 0!==o?o:""}`;return(0,s.Jd)("donePositionError",{ad:t}),void(0,c.s)("error",n)}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 p;(0,f.jm)(null===(p=e.options)||void 0===p?void 0:p.landingUrl.toString())}catch(t){(0,c.s)("error","Error setting landing URL:",t),e.options&&delete e.options.landingUrl}(0,s.wm)(t,e),(0,l.A)(t,e)};var w=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,p.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."};
1r.zones.forEach(e=>{var n;null===(n=e.callback)||void 0===n||n.call(e,t,e)})}if(!d)return;const{ads:l,requestId:f}=d;if(!l)return;(0,s.Jd)("doneDataParsed",{parsedData:d}),l.forEach((t,n)=>{((t,e,n)=>{t.tracking=t.tracking||{served:[],visible:[]},t.id=e.id instanceof HTMLElement?e.id.id||"":e.id||"",t.requestId=n})(t,e[n],f)}),(0,s.BD)(r,l);const g=(0,a.wf)(e,l);if(!g)return;const w=g.map(async({ad:t,data:e})=>{await(0,o.MR)(t,e,n)?(0,c.s)("info","Request GAM ad, skipping further processing."):v(t,e,n)});await Promise.all(w),(0,s.Jd)("doneEnded",{}),(0,h.Ay)(),(0,s.Jd)("viewHandlerEnabledCall",{}),(0,a.ul)(),(0,s.vm)((0,a.PL)()),(0,m.Ry)(d)}},8485:function(t,e,n){"use strict";var o=n(1570),r=n(8e3),i=n(3675);const s={adtype:"adType",deliverytype:"deliveryType",mediatype:"mediaType",minheight:"minHeight",minwidth:"minWidth",zoneid:"zoneId"},a=()=>{const t=window.location.href,e=new URL(t);return Array.from(e.searchParams.keys()).map(t=>t.toLowerCase()).some(t=>t.includes("ssp_zoneid")||t.includes("ssp_crid")||t.includes("ssp_bannerid"))},c=()=>{const t=new URL(window.location.href),e=Array.from(t.searchParams.keys()),n=/^ssp_(.*?)(-\d+)?$/,o=new Set(["zoneId","width","height","minWidth","minHeight"]),r=e.reduce((e,r)=>{var i,a,c;const d=null!==(i=null===(a=r.match(/\d+/g))||void 0===a?void 0:a.toString())&&void 0!==i?i:"";e[d]||(e[d]={});const l=(t=>s[t.toLowerCase()]||t.toLowerCase())(r.replace(n,"$1"));return e[d][l]=o.has(l)?Number(t.searchParams.get(r)):null!==(c=t.searchParams.get(r))&&void 0!==c?c:"",e},{});return Object.values(r)},d=({baseUrl:t,message:e,zoneId:n,isErrorStripe:o})=>{const r=document.createElement("div");return r.id=o?"dspTestError"+(n?"-"+n:""):"dspTestInfo",r.style.cssText=`\n display: flex;\n align-items: center;\n gap: 0.5rem;\n padding: 0.5rem 0.75rem;\n background-color: ${o?"#F08B34":"#0C99CA"};\n color: #FFFFFF;\n font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;\n font-size: 12px;\n font-weight: 400;\n line-height: 1.25;\n `,r.innerHTML=`\n <img src="${t}${o?"/dspTest-error.svg":"/dspTest-info.svg"}" alt="Adpreview" height="16" width="16" >\n <span style="font-weight: 700;">Živý náhled.</span>\n <span>${e}</span>\n `,r},l=(()=>{const t=(0,r.al)();if(!(t=>{const e=a(),n="false"===(null==t?void 0:t.ssp_infoStripe),o="true"===(null==t?void 0:t.screenshot);
1return![n,Object.entries(t).some(([t,e])=>t.includes("ssp_target")&&"1"===e),o,!e].some(Boolean)})(t))return()=>{};(0,o.s)("info","DSP test page detected. Appending DSP info stripe.");const e=document.createElement("div");e.style.cssText="\n position: fixed;\n bottom: 0;\n left: 0;\n z-index: 9999;\n width: 100%;\n ","loading"===document.readyState?document.addEventListener("DOMContentLoaded",()=>document.body.appendChild(e)):document.body.appendChild(e);const n=e.attachShadow({mode:"open"}),s=(0,i.YQ)(),l="true"===(null==t?void 0:t.screenshot)?`Screenshot poÅÃzen ${(new Date).toLocaleDateString("nl-NL",{year:"numeric",month:"2-digit",day:"2-digit"})}`:"Tento náhled je vizualizace jak může vaÅ¡e reklama vypadat na tomto webu.",u=d({baseUrl:s,message:l,isErrorStripe:!1});n.append(u);const p=c();let f=!0;return t=>{const e=t.ads.every(t=>{var e;return null==t||null===(e=t.dbginfo)||void 0===e?void 0:e.error});f&&!e&&(f=!1),p.forEach(({crid:o,zoneId:r})=>{var i;const a=t.ads.find(t=>t.zoneId===r);if(r&&o&&null!=a&&null!==(i=a.dbginfo)&&void 0!==i&&i.error){const t=d({baseUrl:s,message:`Neplatná konfigurace AdPreview pro zoneId: ${r}.`,isErrorStripe:!0,zoneId:r});n.prepend(t)}if(!r&&o&&e&&f){const t=d({baseUrl:s,message:"Vašà reklamÄ aktuálnÄ neodpovÃdá žádná zóna pro vykreslenà (zkuste scrollovat na konec stránky).",isErrorStripe:!0});n.prepend(t),f=!1}if(!r&&o&&!e){const t=n.querySelector("#dspTestError");null==t||t.remove()}})}})();n.d(e,["JQ",0,({zone:t,isVastRequest:e})=>{const n=c(),r=["width","height","minHeight","minWidth"],i=["adType","bannerid","crid","deliveryType","dsp","mediaType"],s=n.find(n=>{var o;const r=e?"1"===n.target:"1"!==n.target,i=n.zoneId===Number(t.zoneId)||n.crid&&!n.zoneId||n.bannerid&&"advert"===(null===(o=n.dsp)||void 0===o?void 0:o.toLowerCase())&&!n.zoneId;return r&&i});if(!s)return(0,o.s)("DSP: no valid params or combination of params for position:",t),null;const a=Object.entries(s).reduce((t,[n,o])=>(!e&&r.includes(n)&&(t[n]=o),i.includes(n)&&(t.preview||(t.preview={}),t.preview[n]=o),t),{});return(0,o.s)("DSP: added DSP params into position:",t),a},"Ry",0,l,"oQ",0,c,"wR",0,a])},9926:function(t,e,n){"use strict";var o=n(1570),r=n(3512),i=n(7170),s=n(4586),a=n(2780),c=n(4515);e.A=(t,e)=>{if("string"!=typeof t)return(0,o.s)("error","### GAM Request (CC) - element id is not defined properly",t),void(0,s.K)({r:"0",z:"0",i:-1,t:"gam_passback_wrong_element_id",v:1});if("string"!=typeof e)return(0,o.s)("error","### GAM Request (CC) - slot unit path is not defined properly",t),void(0,s.K)({r:"0",z:"0",i:0,t:"gam_passback_wrong_slot_unit_path",v:1});if((0,i.D7)(t))return void(0,o.s)("warn","### GAM Request (CC) - Seznam ad already rendered for this element",t);const n=(0,i.cb)(t);(0,o.s)("info","### GAM Request (CC) - does not provide relevant ad for this zone - use Seznam ad",t);if(!document.getElementById(t)){(0,o.s)("error","### GAM Request (CC) - slot element not found",t),(0,s.K)({r:"0",z:"0",i:-1,t:"gam_passback_element_not_found",v:1});const{data:e}=n||{};if(null!=e&&e.callback){const{callback:t,zoneId:n}=e;(0,o.s)("info","### GAM Request (CC) - Calling callback with empty response (element not found)"),(0,c.t)(()=>t({type:"empty",zoneId:n,width:0,height:0},e))}return}(t=>{const e=window.googletag.pubads().getSlotIdMap(),n=Object.keys(e).find(n=>e[n].getSlotElementId()===t)||"",r=e[n];if(r)try{var i;(0,a.Jd)("gamAdPassback",{elementId:t,slotKey:n}),window.googletag.cmd.push(()=>{window.googletag.destroySlots([r])}),null===(i=document.getElementById(t))||void 0===i||i.remove(),(0,o.s)("info",`### GAM Request (CC) - destroyed slot for element id: ${t}`)}catch(e){console.error(e),(0,o.s)("error",`### GAM Request (CC) - error destroying slot for element id: ${t}`,e)}else(0,o.s)("warn",`### GAM Request (CC) - no slot found to destroy for element id: ${t}`)})(t);const{ad:d,data:l,opt:u}=n||{};if(!d||!l){if((0,o.s)("error","### GAM Request (CC) - Ad info not found",t),(0,s.K)({r:"0",z:"0",i:-1,t:"gam_passback_ad_info_not_found",v:1}),null!=l&&l.callback){const{callback:t,zoneId:e}=l;(0,o.s)("info","### GAM Request (CC) - Calling callback with empty response
1(no candidate)"),(0,c.t)(()=>t({type:"empty",zoneId:e,width:0,height:0},l))}return}const{requestId:p,zoneId:f,adIndex:h}=d;(0,i.cI)(t),(0,i.rt)(t),(0,s.K)({r:p,z:f.toString(),i:null!=h?h:-1,t:"gam_passback_render_seznam_ad",v:1}),(0,r.B)(d,l,u)}},7170:function(t,e,n){"use strict";var o=n(1570),r=n(2618),i=n(4586),s=(n(3675),n(2780)),a=n(3684);const c={},d={},l=new Set;let u=null;const p=t=>l.has(t),f=t=>{l.add(t)},h=(t,e)=>{const n=t.querySelector("iframe");if(!n)return;const r=n.width?Number(n.width):n.offsetWidth,i=t.offsetWidth/r;if(i<1){n.style.transformOrigin="top left",n.style.transform=`scale(${i})`,t.style.height=i*n.offsetHeight+"px",(0,o.s)("info",`GAM Request - Applied scaling to GAM iframe: scale(${i}), ad element: ${t.id}`);const r=()=>h(t,e);window.removeEventListener("resize",r),window.addEventListener("resize",r)}else n.style.transform="",t.style.height=`${e}px`,(0,o.s)("info",`GAM Request - Set default scaling to GAM iframe, ad element: ${t.id}`)};n.d(e,["D7",0,p,"MR",0,async(t,e,n)=>{var m,g,v;if((0,o.s)("info","GAM Request - initializing",t,e),!(({zoneId:t,gp:e,adIndex:n,requestId:r,crossorigin:s},{id:a})=>{var c,d,l;if(!e)return(0,o.s)("info","GAM Request - Missing GAM data"),!1;const u=e=>{var o;return(0,i.K)({r:r,z:null!==(o=null==t?void 0:t.toString())&&void 0!==o?o:"undefined",i:null!=n?n:-1,t:e,v:1},{crossOrigin:Boolean(s)})};return void 0===t?((0,o.s)("info","GAM Request - Missing zoneId"),u("gam_validation_missing_zone_id"),!1):a?null!=e&&null!==(c=e.formats)&&void 0!==c&&null!==(c=c.sizes)&&void 0!==c&&c.length?null!=e&&e.adUnit?null!=e&&e.served?!(null==e||null===(d=e.targeting)||void 0===d||!d.key||null==e||null===(l=e.targeting)||void 0===l||!l.source)||((0,o.s)("info","GAM Request - Missing GAM targeting info"),u("gam_validation_missing_targeting"),!1):((0,o.s)("info","GAM Request - Missing GAM served for impress tracking"),u("gam_validation_missing_served"),!1):((0,o.s)("info","GAM Request - Missing GAM ad unit"),u("gam_validation_missing_ad_unit"),!1):((0,o.s)("info","GAM Request - Missing GAM formats sizes"),u("gam_validation_missing_formats_sizes"),!1):((0,o.s)("info","GAM Request - Missing position id"),u("gam_validation_missing_position_id"),!1)})(t,e))return(0,o.s)("info","GAM Request - missing or invalid data"),!1;(0,o.s)("info","GAM Request - starting");const w=`div-gpt-ad-1740141973465-${t.zoneId}-${t.id}-${t.adIndex}`;c[w]={ad:t,data:e,opt:n},l.delete(w);const y=(b=null===(m=t.gp)||void 0===m||null===(m=m.formats)||void 0===m?void 0:m.sizes,A=[[null!==(g=e.width)&&void 0!==g?g:0,null!==(v=e.height)&&void 0!==v?v:0]],Array.isArray(b)?b.map(({width:t,height:e})=>[t,e]):A);var b,A;try{await(async()=>{if(!u)try{u=await(0,r.k)("https://securepubads.g.doubleclick.net/tag/js/gpt.js")}catch(t){throw(0,o.s)("error","Failed to load GPT script",t),t}})();const n=((t,e)=>{try{var n;const o=document.createElement("div");o.setAttribute("id",t);const r=document.getElementById((null===(n=e.id)||void 0===n?void 0:n.toString())||"");return null==r||r.appendChild(o),r}catch(t){return(0,o.s)("error","Failed to initialize GAM element",t),null}})(w,e);return n?(window.googletag||(window.googletag={cmd:[]}),new Promise(e=>{var r,c;const{requestId:l,zoneId:u,adIndex:m}=t;let g=null;const v=t=>(clearTimeout(b),delete d[w],t?e(!0):p(w)?((0,o.s)("info","GAM Request - Seznam ad already rendered for this element, skipping",w),e(!0)):(f(w),void e(!1))),b=setTimeout(()=>{if((0,o.s)("info","GAM Request - Timeout reached, Request SSP Ad"),(0,i.K)({r:l,z:u.toString(),i:null!=m?m:-1,t:"gam_request_timeout",v:1},{crossOrigin:Boolean(t.crossorigin)}),g){const t=g,e=!Object.values(window.googletag.pubads().getSlotIdMap()).some(t=>t.getSlotElementId()===w);if(g=null,e)return(0,o.s)("info","GAM Request - Slot already destroyed, Seznam Ad rendering should be handled by custom creative"),v(!0);window.googletag.cmd.push(()=>{window.googletag.destroySlots([t])})}v(!1)},1e4);d[w]=()=>{(0,o.s)("info","GAM Request - settled by custom creative passback",w),v(!0)};const{adUnit:A,targeting:S,served:z}=t.gp,I=null!==(r=null==S?void 0:S.key)&&void 0!==r?r:"",_=null!==(c=null==S?void 0:S.source)&&void 0!==c?c:"";window.googletag.cmd.push(function(){g=window.googletag.defineSlot(A,y,w).addService(window.googletag.pubads()).setTargeting("seznamPrice",I).setTargeting("trafficSource",_).setTargeting("elementId",w),window.googletag.pubads().enableSingleRequest(),window.googletag.enableServices(),window.googletag.pubads().addEventListener("slotRenderEnded",function({isEmpty:e,size:r,slot:c}
1){if(c.getSlotElementId()===w)try{if(clearTimeout(b),!g)return(0,o.s)("error","GAM Request - Do not render GAM due to timeout",w),(0,i.K)({r:l,z:u.toString(),i:null!=m?m:-1,t:"gam_render_timeout",v:1},{crossOrigin:Boolean(t.crossorigin)}),v(!1);if(e)return(0,o.s)("info","GAM Request - Ad rendered but is empty",w),(0,i.K)({r:l,z:u.toString(),i:null!=m?m:-1,t:"gam_render_empty",v:1},{crossOrigin:Boolean(t.crossorigin)}),v(!1);const[c,d]=r;return n.style.width=`${c}px`,n.style.height=`${d}px`,n.style.maxWidth="100%",n.style.overflow="hidden",n.style.margin="0 auto",h(n,d),(0,a.A)([z],{crossOrigin:Boolean(t.crossorigin)}),(0,o.s)("info",`GAM Request - Ad rendered with size ${c}x${d} on slot ${w}`),(0,i.K)({r:l,z:u.toString(),i:null!=m?m:-1,t:"gam_render_success",v:1},{crossOrigin:Boolean(t.crossorigin)}),(0,s.Jd)("gamAdRendered",{adId:t.id,elementId:w,height:d,width:c,zoneId:u}),v(!0)}catch(t){(0,o.s)("error","GAM Request - Error during GAM render handling",w,t)}})}),window.googletag.cmd.push(function(){(0,o.s)("info","GAM Request - render ad",y,w),window.googletag.display(w)}),(0,i.K)({r:l,z:u.toString(),i:null!=m?m:-1,t:"gam",v:1},{crossOrigin:Boolean(t.crossorigin)})})):((0,o.s)("error","GAM Request - failed to initialize GAM element"),!1)}catch(e){return(0,o.s)("error","GAM Request - Failed to load ad or render ad",e),(0,s.Jd)("gamAdError",{adId:t.id,elementId:w,error:e instanceof Error?e.message:String(e)}),!1}},"cI",0,f,"cb",0,t=>c[t]||null,"rt",0,t=>{var e;null===(e=d[t])||void 0===e||e.call(d)}])},6108:function(t,e,n){"use strict";n.d(e,{A:function(){return E}});var o=n(5364),r=n(5766),i=n(2780),s=n(3797),a=n(6985),c=n(1516),d=n(1570),l=n(6208),u=n(1829);var p=t=>{const e=(0,u.qX)(),n=t.map(t=>t.zoneId).join(",");e&&((0,d.s)("logging zones to Reporter",n),e.hit("ad",{d:{zones:n}}))},f=n(4515);var h=(t,e)=>{const{infoErrorCallback:n}=t.options||{};"function"==typeof n&&(0,f.t)(()=>{n(t,e)})},m=n(6836),g=n(3860);const v=(t,e)=>{var n,r;(0,d.s)("info","### check ad position data ###");const i=(0,o.A)({},t),s="string"==typeof i.id||"number"==typeof i.id?document.getElementById(i.id.toString()):i.id;if(!i.callback&&!s){const t=`No callback or invalid ID passed to IM (zoneId: ${i.zoneId})`;return console.log(`%c !!! ${t}`,"font-size:20px; font-weight:bold; background:#ec0000; color: #fff"),h(i,t),(0,d.s)(t),null}if((0,m.JJ)()&&m.Dz.has(Number(i.zoneId)))return console.error(`OVERLAY AD: zoneId ${i.zoneId} is not rendered due to overlay format 30s timeout.`),null;const a=i.width||(null==s?void 0:s.offsetWidth),c=i.height||(null==s?void 0:s.offsetHeight);if(void 0!==a&&a>0?i.width=a:delete i.width,void 0!==c&&c>0?i.height=c:delete i.height,s&&!a&&!c&&(null==i||null===(n=i.options)||void 0===n||!n.noSize)){const t=`No valid size of container or no size configuration passed: (${a}, ${c}).`;return h(i,t),(0,d.s)(t),null}null!=i&&null!==(r=i.options)&&void 0!==r&&r.noSize&&(0,d.s)("noSize allowed in position:",i.zoneId),(0,d.s)("callback and container check .. OK");const l=Object.entries(i.options||{}).reduce((t,[e,n])=>((t=>g.bK.includes(t))(e)&&t&&(t[e]=n),t),{});return i.options=(0,o.A)((0,o.A)({},l),{sspRendering:!i.callback}),(0,d.s)(i.zoneId+" position object prepared: ",i),i};var w=n(3630),y=n(1476),b=n(6125),A=n(8085),S=n(3512),z=n(8776),I=n(2792);let _=!1;var E=async function(t,e){(0,i.Jd)("getAdsCallStart",{positions:t});const{isFollowerSsp:n,preparePositionsCallback:u,requestErrorCallback:h,cidsAutoSend:m,serviceIdForAllZones:g,pvId:E}=(0,I.zj)(),T=(0,r.aL)(e)?e:{};Array.isArray(T.cids)&&(0,s.yH)(T.cids),"function"==typeof u&&(0,a.b2)()&&((0,f.t)(u),(0,i.Jd)("preparePositionsCallbackCalled",{preparePositionsCallback:u})),(0,c.A)(),(0,d.s)("info","### starting get ads ###"),(0,d.s)("with parameters",t,T);let O=[];if(Array.isArray(t)&&t.length)O=t;else{if(!(0,r.Qd)(t))return(0,d.s)("error","no valid parameters: positions",t),void(0,i.Jd)("errorNoValidParameters",{positions:t});O=[t],(0,d.s)("data object transformed to array",O),(0,i.Jd)("positionTransformed",{positions:O})}const k=O.reduce((t,e)=>(0,r.E)(e,T)?(t.push(e),t):((0,d.s)("error","Invalid position in positions array",e),t),[]);
1g&&k.forEach(t=>{t.serviceId=g}),(0,l.Gd)()||_||!k.length||(_=!0,(0,z.hc)(k[0].zoneId).then(()=>{(0,d.s)("info","CMP initialized in getAds")}).catch(t=>{(0,d.s)("error","CMP initialization failed in getAds",t),(0,i.Jd)("cmpInitError",{error:t})})),p(k);const C=k.map(t=>v(t)).filter(t=>null!==t);if((0,d.s)("info","validatingPositionsEnd",{validPositions:C}),!C.length)return(0,d.s)("error","No valid positions after validation, exiting getAds",C),void(0,i.Jd)("noValidPositions",C);const R=(0,s.gk)();if(n){(0,d.s)("info","Getting utm source from leader SSP");const t=await(0,w.a)();(0,d.s)("info","Utm source from leader SSP",t),T.config=(0,o.A)((0,o.A)({},T.config),{},{source:null!=t?t:void 0})}const P=await(0,y.A)({zones:C,opt:T,cids:R});(0,i.Jd)("requestPayloadEnd",{requestPayload:P}),(0,d.s)("merged prefix and data object",P);const x="boolean"==typeof T.pvIdChangeIgnore&&!T.pvIdChangeIgnore;(0,b.qg)(P,E,x).then(async t=>{if(!t)return;const e=(0,A.T)(t);m&&e&&(0,s.QU)(e),await(0,S.A)(t,C,T,P)}).catch(t=>{const{errorName:e,errorCode:n}=t;(0,d.s)("error",e),(0,i.Jd)("xhrError",{error:t}),"function"==typeof h&&h(e,n)}),(0,i.Jd)("getAdsEnded",{})}},6836:function(t,e,n){"use strict";var o=n(2728);let r=null;const i=new Set,s=()=>{i.clear(),null!==r&&clearTimeout(r),r=null};window.addEventListener("ssppvidset",s),n.d(e,["Dz",0,i,"JJ",0,()=>!!r,"Tv",0,()=>{r=window.setTimeout(()=>{s(),window.dispatchEvent(new CustomEvent("sspoverlaytimeout"))},3e4)},"vb",0,(t,e=!1)=>!!t&&(e?o.O$:o.Sf).includes(t)])},6964:function(t,e,n){"use strict";n.d(e,{A:function(){return p}});var o=n(5461),r=n(2780),i=n(1570),s=n(7645),a=n(177),c=n(2809),d=n(2938),l=n(4515);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)=>{var o;return!(null===(o=t.target)||void 0===o?void 0:o.responseText)&&(e.type="error",n.callback?(n.callback(e,n),!0):((0,d.A)(e,n),!0))};n.onload=n=>{var o,i;r(n,t,e)||(t.data=null!==(o=null===(i=n.target)||void 0===i?void 0:i.responseText)&&void 0!==o?o:"","json_url"===t.type?(t.type="json",(0,c.P)(t),(0,l.t)(()=>{var n;return null===(n=e.callback)||void 0===n?void 0:n.call(e,t,e)})):(t.type="code",e.callback?((0,c.P)(t),(0,l.t)(()=>{var n;return null===(n=e.callback)||void 0===n?void 0:n.call(e,t,e)})):(0,d.A)(t,e)))},n.onerror=n=>{r(n,t,e)},n.open("GET",null!=o?o:""),n.withCredentials=!0,n.send(),(0,i.s)("sending request to SKLIK JSON API",o)};var p=(t,e)=>{var n,l;(0,r.Jd)("processAdDataCallStart",{adInput:t,dataInput:e}),(0,i.s)("info","### starting _processAdData ###"),(0,o.I)();const p=(0,s.wf)([e],[t]);if(!p)return void(0,i.s)("error","Failed to get complete ad data",{adInput:t,dataInput:e});(0,s.OA)(p);const[f]=p;if(!f)return void(0,i.s)("error","No ad object found",{adObjects:p});const{ad:h,data:m}=f;if(null!=h&&h.type&&m)if(m.callback&&"function"==typeof m.callback)switch((0,i.s)("info","## call external callback for position",m.zoneId),h.type){case"vast":(0,i.s)("call VAST custom callback with:",m.callback,m),(0,a.e)("processAdDataVAST",h.zoneId),(0,c.P)(h),m.callback(null!==(n=m.options)&&void 0!==n&&n.doNotParseVastData?h:null!==(l=h.data)&&void 0!==l?l:h,m);break;case"code_url":(0,i.s)("call CODE_URL custom callback with:",m.callback,m),(0,a.e)("processAdDataCodeURL",h.zoneId),u(h,m);break;case"json_url":m.options&&m.options.jsonPreloadDisabled?((0,i.s)("call JSON_URL custom callback with:",m.callback,m),(0,a.e)("processAdDataJSONURLCallbackPreloadDisabled",h.zoneId),(0,c.P)(h),m.callback(h,m)):((0,i.s)("call JSON_URL custom callback with (urlDataToCallback):",m.callback,m),(0,a.e)("processAdDataJSONURLCallback",h.zoneId),u(h,m));break;default:(0,a.e)("processAdDataDefault",h.zoneId),(0,c.P)(h),m.callback(h,m)}else"code_url"===h.type?u(h,m):((0,i.s)("info","## call writeAd for position",m.zoneId),(0,a.e)("processAdDataWriteAd",h.zoneId),(0,d.A)(h,m));else(0,i.s)("error","invalid ad data",{ad:h,data:m})}},5766:function(t,e,n){"use strict";var o=n(1570);const r=t=>"[object Object]"===Object.prototype.toString.call(t),i=t=>"number"==typeof t&&!isNaN(t);n.d(e,["E",0,(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:",
1n.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: ${c}, height: ${d}, noSize: ${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)},"Qd",0,r,"aL",0,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)}])},9584:function(t,e,n){"use strict";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));n.d(e,["J",0,s,"V",0,i])},8776:function(t,e,n){"use strict";n.d(e,{hc:function(){return A}});var o=n(5364),r=n(2792),i=n(6125);var s=n(9584),a=n(6036),c=n(1314),d=n(1570),l=n(9773);const u=!0,p=(0,l.lg)();var f=new class{constructor(){(0,c.A)(this,"instance",null)}config(){try{var t,e;if(!window.DOT)return void(0,d.s)("info","window.DOT is missing");this.instance=window.DOT.getNewInstance();const n={service:"partner3",impress:!1,mousedown:!1,load:!1,cmp:u,timestamp:p};null===(t=(e=this.instance).cfg)||void 0===t||t.call(e,n)}catch(t){console.error(t)}}_hit(t,e){try{var n;e.d&&(e.d.cmp=u,e.d.timestamp=p),null===(n=this.instance)||void 0===n||n.hit(t,e)}catch(t){console.error(t)}}cookieCopied(){this._hit("event",{d:{action:"cookieCopied"}})}},h=n(6208),m=n(8e3);let g=!1;const v="internal",w="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=(t=v)=>{if(t===v&&!s.J)return;if(window.scmpInserted)return;const e=document.createElement("script");e.src=`${y()}/cmp_stub.js`,document.head.appendChild(e);const n=document.createElement("script");n.src=(t=>{const e=t===w?"scmp-external.js":"scmp.js",n=new URL(`${y()}/${e}`);return"1"===(0,m.Mt)("cmp_chunks")&&n.searchParams.set("chunks","1"),n.href})(t),document.head.appendChild(n),window.scmpInserted=!0},A=async t=>{if(f.config(),!(0,h.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:null!=o?o:void 0,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,m.Mt)("ignore_cmp");if(n&&!d)return void b(v);if(a)return void b(w)}catch(t){(0,d.s)("error","CMP initialization failed",t)}}}},5872:function(t,e,n){"use strict";var o=n(1570),r=n(6572);n(2728);const i=(t,e)=>{const n=(t=>
1r.Pv.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)},500)},s=()=>({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()}}),a=()=>new Promise(t=>{const e=s(),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);i(n,e),(0,o.s)("info",'Consent checking timeout started -> "timeout wait"')});n.d(e,["T",0,async()=>{try{const t=await a();return t?t.consentString:null}catch(t){return null}}])},3860:function(t,e,n){"use strict";n.d(e,["FY",0,["dop_ab_variant","dop_req_id","dop_source_zone_name","dop_id","dop_vert_id","dop_vert_ab"],"bK",0,["section","collocation","gam","passons","flags","spotId","minDuration","maxDuration","videoFormats","protocols","skippable","jsonPreloadDisabled","infoCallback","infoErrorCallback","noSize","nativeRequest","nativeTemplate","nativeVersion","sspRendering","sfExpandZIndex","pawTimeout","pawDisable","disableScaling","tags","reloadCount","doNotParseVastData","landingUrl"],"tz",0,["zoneId","width","height","minWidth","minHeight","options","serviceId","contentId","cidsAutoSend"]])},6208:function(t,e,n){"use strict";n.d(e,["Gd",0,()=>!!window._sspStandalone,"HO",0,()=>!!window._sspDoNotLoadCMP,"h7",0,()=>!!window._sspDoNotInit,"rl",0,()=>!!window._sspAdLoadWaitForImpress,"s3",0,()=>!!window._sspDoNotLoadDOT])},2792:function(t,e,n){"use strict";n.d(e,{tn:function(){return w},zj:function(){return v},Nk:function(){return y}});var o=n(3860);var r=()=>{try{return"3.293.2"}catch(t){return"development"}},i=n(6985),s=n(7462),a=n(7735);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=>{var e;return(null===(e=(0,i.vD)())||void 0===e?void 0:e.media)||(Object.values(a.G).includes(t)?t:null)},staticServer:"string",test:"boolean",webId:"number",activeUser:t=>(0,s.L)(t)?t:null},d=(t,e)=>{const n=c[t];return n?"function"==typeof n?n(e):typeof e===n?e:(t=>v()[t])(t):null},l=t=>"object"!=typeof t||Array.isArray(t)||null===t?null:("ssp.imedia.cz"===t.server&&(t.server=v().server),(t=>Object.entries(t).reduce((t,e)=>{const[n,o]=e,r=d(n,o);return null!=r&&(t[n]=r,t[n]=r),t},{}))(t));var u=n(6036),p=n(1516),f=n(1784),h=n(6288),m=n(2728);const g={ab:null,activeUser:null,adblock:!1,allowedSources:a.G,badge:null,callCallbackOnError:!1,cidsAutoSend:!1,cmpData:null,cmpServer:(0,u.Z)("cmpServer")||`${m.fz.PROTOCOL}${m.fz.HOSTNAME}${m.fz.PATH_TO_CMP}`,content:null,cookieDomain:"",cookieExpiration:30,currentScript:document.currentScript,debugExtensionId:"ljpnolgcojkhoemjaccecimbmiejkpmm",dopUrlParameters:o.FY,dotMeasureZones:[],dotMeasureZonesIds:[],iframeStaticServer:(0,u.Z)("iframeStaticServer")||m.JD.IFRAME_HOSTNAME,iframeUrl:`/static/html/${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:m.JD.PROTOCOL,pvId:"",readKeywords:!1,readAdKeywords:!1,requestErrorCallback:null,rusId:null,
1said:null,server:(0,u.Z)("server")||m.JD.HOSTNAME,serviceIdForAllZones:null,site:(0,h.A)(),source:"",staticServer:(0,u.Z)("staticServer")||(0,f._)().static||m.JD.HOSTNAME,test:!1,version:"v1",webId:null};g.dotMeasureZones=g.dotMeasureZonesIds.map(t=>`"zoneId":${t}`);const v=()=>g,w=t=>{var e;Object.assign(g,t),null!==(e=window.sssp)&&void 0!==e&&e.conf&&Object.assign(window.sssp.conf,g)},y=t=>{const e=l(t);var n;e&&"activeUser"in e&&(null===(n=window.sznIVA)||void 0===n||null===(n=n.IS)||void 0===n||n.updateIdentities({login:e.activeUser}));e&&(w(e),(0,p.A)())}},6036:function(t,e,n){"use strict";var o=n(1570);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}})();n.d(e,["X",0,(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.")}},"Z",0,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}])},2809:function(t,e,n){"use strict";var o=n(4586);n.d(e,["P",0,(t,{isCalledFromWriteAd:e=!1}={})=>{if("hidden"===document.visibilityState){const{requestId:n,zoneId:r,adIndex:i}=t,s=e?"reload":"probablereload";(0,o.K)({r:n||0,z:r.toString(),i:null!=i?i:-1,t:s,v:1})}}])},1829:function(t,e,n){"use strict";var o=n(3500),r=n(6036),i=n(2618),s=n(2728);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},p=a||(0,r.Z)("dot")||"//h.seznam.cz/js/dot-small.js",f=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))},h=()=>{var t,e,n;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(),null===(e=c)||void 0===e||null===(n=e.cfg)||void 0===n||n.call(e,l),window.dispatchEvent(new CustomEvent("ssspdotconfigured")),null!==d&&window.clearTimeout(d)};n.d(e,["mq",0,()=>new Promise((t,e)=>{var n,o,r;const a=()=>{try{h()}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(p)&&(window.removeEventListener("error",n),f(`DOT load failed from ${p} (code)`))};return window.addEventListener("error",n),(0,i.k)(p).then(()=>(window.dispatchEvent(new CustomEvent("ssspdotloaded")),a(),t())).catch(t=>(c=u,f(`DOT load failed from ${p} (network)`),e(t)))}return new Promise((t,e)=>{d=window.setTimeout(()=>{if(window.DOT){var n,o;if(null===(n=(o=window.DOT).isConfigured)||void 0===n||!n.call(o))try{return h(),t()}catch(t){return e(t)}return t()}e("no DOT")},5e3)}).then(()=>{var e;return c=null!==(e=window.DOT)&&void 0!==e?e:null,t()}).catch(t=>(c=u,e(t)))}if(null===(n=window.DOT)||void 0===n||null===(o=n.isConfigured)||void 0===o||!o.call(n)){var l,m;d=window.setTimeout(()=>{var e,n,o;null!==(e=window.DOT)&&void 0!==e&&null!==(n=e.isConfigured)&&void 0!==n&&n.call(e)?c=null!==(o=window.DOT)&&void 0!==o?o:null:a();t()},2e3);const e=null===(l=window.DOT)||void 0===l||null===(m=l.setAfterCfgEvent)||void 0===m?void 0:m.call(l);return e?window.addEventListener(e,()=>{var e;null!==d&&window.clearTimeout(d),c=null!==(e=window.DOT)&&void 0!==e?e:null,t()}):void 0}c=null!==(r=window.DOT)&&void 0!==r?r:null,t()}),"qX",0,()=>c,"ur",0,(t=!1)=>{window.DOT?c=window.DOT:t&&(c=u)}])},3684:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});var o=n(1570),r=n(2792),i=n(4586);var s=function(t,e){var n,o,s;const{server:a}=(0,r.zj)(),c=new RegExp(a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")+"/[a-zA-Z0-9]+?/(impress|miss)[?]{1}r=[-a-zA-Z0-9]{36}&z=[^? &]+&i=[^? &]+&"),d=t.find(t=>c.test(t));if(!d)return;const l=new URL(d).searchParams,u={r:null!==(n=l.get("r"))&&void 0!==n?n:"",z:null!==(o=l.get("z"))&&void 0!==o?o:"",i:null!==(s=l.get("i"))&&void 0!==s?s:"-1",t:"hitError"};(0,i.K)(u,e)};var a=(t,e)=>{Array.isArray(t)&&((0,o.s)("info","### served hits ###"),t.forEach(n=>{(0,o.s)("served URL:",n);const r=new Image(1,1);null!=e&&e.crossOrigin&&(r.crossOrigin="use-credentials"),null!=n&&n.includes("i.seznam.cz")&&(r.onerror=()=>{(0,o.s)("error","Failed count served URL:",n),s(t,e)}),r.src=n}))}},1516:function(t,e,n){"use strict";var o=n(6572),r=n(2792),i=n(6036),s=n(1570);let a=!1;const c=({target:t})=>{var e;null==t||null===(e=t.removeEventListener)||void 0===e||e.call(t,"load",c),setTimeout(()=>{var e,n;(n=t)instanceof Element&&"iframe"===n.tagName.toLowerCase()&&(null===(e=t.parentNode)||void 0===e||e.removeChild(t))},5e3)},d=t=>{const e=document.createElement("iframe"),n=document.body||document.head;e.setAttribute("frameborder","0"),e.setAttribute("style","position:absolute; top:-1px;left:-1px;visibility:hidden; width: 1px; height: 1px;"),e.src=t,e.addEventListener("load",c),n.appendChild(e)};e.A=()=>
1{const t=o.Pv.getConsentFromCookieList();if(a||null==t||!t.purposeOne)return;(0,s.s)("info","### starting 3rd party cookie sync ###"),a=!0;const{staticServer:e}=(0,r.zj)();let n="gdpr=0";null!=t&&t.consentString&&(n="gdpr=1&gdpr_consent="+t.consentString),d("//ads.pubmatic.com/AdServer/js/user_sync.html?p=49307&predirect="+encodeURIComponent("//"+e+"/static/html/sync/pub_sync.html?pmId=")),d("//secure.adnxs.com/getuid?//"+e+"/static/html/sync/apn_sync.html?uid=$UID&"+n);const c=(0,i.Z)("adform")||"//h.seznam.cz/html/adform_sync.html";d(c),d("//c1.adform.net/cookie?redirect_url="+encodeURIComponent("https://"+e+"/static/html/sync/adform_sync.html?userid=$UID")),d("//dis.criteo.com/dis/usersync.aspx?r=153&p=335&cp=seznam&cu=1&"+n+"&url="+encodeURIComponent("https://"+e+"/static/html/sync/criteo_sync.html?userid=@@CRITEO_USERID@@")),d("//ssp-sync.criteo.com/user-sync/redirect?profile=342&"+n+"&redir="+encodeURIComponent("https://"+e+"/static/html/sync/criteo_sync.html?userid=${CRITEO_USER_ID}"))}},177:function(t,e,n){"use strict";var o=n(2792),r=n(1829);n.d(e,["e",0,(t,e)=>{const{dotMeasureZonesIds:n}=(0,o.zj)(),i=(0,r.qX)();n.some(t=>Number(t)===Number(e))&&i&&i.hit("event",{d:{action:t,zoneId:e}})}])},8997:function(t,e,n){"use strict";n.d(e,{SC:function(){return m},lZ:function(){return u},ls:function(){return h}});var o=n(1570),r=n(7645),i=n(9371),s=n(6836);let a=null;const c={},d=new Set,l=(t,e=!1)=>{var n;null!==(n=c[t])&&void 0!==n&&n.timer&&window.clearTimeout(c[t].timer),e?delete c[t]:c[t]={}},u=()=>{for(const t in c)l(t,!0)},p=({data:t,containerElement:e})=>{const{id:n}=t;let o=null;return n?o="string"==typeof n||"number"==typeof n?document.getElementById(n.toString()):n:e&&(o=e),o},f=t=>{const e=document.getElementById(t),n=(0,r.Dt)().find(t=>e&&p(t)===e);var i,s,c,u;n&&((0,o.s)("info","### visibility counted ###",t),c=null===(i=n.ad.tracking)||void 0===i?void 0:i.visible,u={crossOrigin:Boolean(n.ad.crossorigin)},c&&c.length&&((0,o.s)("info","### visible hits ###"),c.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);null!=u&&u.crossOrigin&&(e.crossOrigin="use-credentials"),e.onerror=()=>(0,o.s)("error","Failed count visible URL:",t),d.add(t),e.src=t})),null===(s=a)||void 0===s||s.unobserve(e),l(t))},h=async()=>{if(a){const t=(0,r.Dt)().filter(({ad:t})=>"empty"!==t.type);(await Promise.all(t.map(async t=>{const e=p(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=p(t);if(r)return window.clearInterval(o),n(r);e++},250)})})(t);return{adElement:e}}))).forEach(({adElement:t})=>{t&&t.id&&!c[t.id]&&(l(t.id),a.observe(t))})}},m=()=>{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(({ad:{id:e},containerElement:n})=>n===t||e&&e===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)||void 0===a||null===(a=a.visible)||void 0===a?void 0:a[0],id:n}])}}else l(n,!0)})};e.Ay=()=>
1{if("IntersectionObserver"in window)return a||(a=new IntersectionObserver(t=>{t.forEach(({target:t,isIntersecting:e,intersectionRatio:n})=>{var o;const s=(0,r.Dt)().find(({ad:e})=>e.containerElement===t||void 0!==e.id&&String(e.id)===t.id),a=!(null==s||null===(o=s.ad)||void 0===o||!o.width||!(0,i.Wn)(s.ad.width));var d;e&&(a||Math.round(n))?(d=t.id,c[d]={timer:(c[d]||{}).timer||window.setTimeout(()=>f(d),1e3)}):l(t.id)})},{threshold:[0,.5,1]})),h()}},7515:function(t,e,n){"use strict";n.d(e,{U:function(){return s}});var o=n(2728),r=n(3675);const i=t=>t?' crossorigin="anonymous"':"",s=(t,{pawUrl:e,visible:n=!1,crossOrigin:s=!1}={})=>{const a=(0,r.YQ)();return`\n\t\t<div style="position:absolute; bottom:0; right:0; padding:0; margin:0; height:15px;${n?"":" visibility: hidden"}" class="packa">\n\t\t\t<a target="_blank" class="packa-anchor" href="${e=e||o.eX}"${e.startsWith("https://ssp.seznam.cz/ad-info")?' data-dot-data=\'{"action": "showAdInfoPage"}\'':""}>\n\t\t\t\t\t<div class="packa-icon" style="width: 15px; height: 15px; position: relative;">\n\t\t\t\t\t\t${((t="",e=!1)=>{let n=null,o=0;switch(t.toUpperCase()){case"OGAR":n=`${(0,r.YQ)()}/paw-2.svg`,o=90;break;case"ADVERT":n=`${(0,r.YQ)()}/paw.svg`,o=90;break;case"APPNEXUS":case"XANDR":n=`${(0,r.YQ)()}/paw-2.svg`,o=180;break;case"CRITEO":n=`${(0,r.YQ)()}/paw.svg`,o=180;break;case"SKLIK":n=`${(0,r.YQ)()}/paw-2.svg`,o=0;break;case"ONEGAR":n=`${(0,r.YQ)()}/paw.svg`,o=-90;break;case"PUBMATIC":case"PUBMATIC2":n=`${(0,r.YQ)()}/paw-2.svg`,o=-90;break;default:n=`${(0,r.YQ)()}/paw.svg`,o=0}const s=`\n\t\twidth:13px;\n\t\theight:13px;\n\t\tpadding:0;\n\t\tmargin:0;\n\t\topacity:1;\n\t\tposition:absolute;left:50%;top:50%;\n\t\ttransform-origin:center center;\n\t\ttransform:translate(-50%,-50%)rotate(${o}deg);\n\t`;return`<img src="${n}"data-cy-paw="${t.toLowerCase()}"style="${s}"${i(e)}alt="${t.toLowerCase()}-paw">`})(t,s)}\n\t\t\t\t\t</div>\n\t\t\t\t\t<img src="${a}/advert.svg" style="display:none;height:15px;padding:0;margin:0;opacity:1"${i(s)} data-cy-pawinfo="seznam-reklama" alt="seznam-reklama">\n\t\t\t</a>\n\t\t</div>\n\t`}},9371:function(t,e,n){"use strict";n.d(e,{Ku:function(){return s},Wn:function(){return i},mS:function(){return c}});var o=n(2728),r=n(7515);const i=t=>t>1900,s=(t,e=!1)=>{return t&&t.dsp&&(n=t.dsp,o.RW.includes(n))&&(0,r.U)(t.dsp,{pawUrl:t.adInfoUrl,visible:e,crossOrigin:Boolean(t.crossorigin)})||null;var n},a=(t,e=[])=>{t.stopPropagation();(e=e.filter(t=>["first","last"].includes(t))).forEach(e=>(e=>{var n;const o=null===(n=t.target.closest(".packa-anchor"))||void 0===n?void 0:n[`${e}ElementChild`];o.style.display="block"===getComputedStyle(o).display?"none":"block"})(e))},c=(t,e,n)=>{window.setTimeout(()=>{const o="ssp-handled",r=e.querySelector(`.packa:not(.${o})`);if(!(r instanceof HTMLElement))return;const s=r.querySelector(".packa-anchor");n.length&&s&&(s.addEventListener("mouseover",t=>a(t,n)),s.addEventListener("mouseout",t=>a(t,n))),r.classList.add(o),null!=t&&t.width&&i(t.width)&&(t=>{t.style.position="fixed";const e=t.getBoundingClientRect(),n=e.right-document.documentElement.clientWidth,o=e.bottom-document.documentElement.clientHeight;let r="";n>0&&(r+=` translateX(-${n}px)`),o>0&&(r+=` translateY(-${o}px)`),r&&(t.style.transform=r.trim())})(r)})}},2938:function(t,e,n){"use strict";n.d(e,{A:function(){return C}});var o=n(1570),r=n(3684),i=n(5364),s=n(7515);const a=(t,e)=>{const n=(({dsp:t,responsive:e,width:n,height:o,adInfoUrl:r,crossorigin:i},a)=>{const c=t=>e?"100%":`${t}px`,d=`width: ${c(n)}; height: ${c(o)};`;let l=!(!a||!a.pawDisable);return["SKLIK","OGAR","ONEGAR"].includes(t)&&111===n&&111===o&&1===e&&(l=!0),`\n\t\t<div class="sssp-posCont" style="width:100%;height:100%;position:relative;padding:0px;margin:0px">\n\t\t\t<div\n\t\t\t\tclass="sssp-resizeCont"\n\t\t\t\tdata-cy="ad-content"\n\t\t\t\tstyle="${d} padding: 0px; margin: 0px;"\n\t\t\t></div>\n\t\t\t${l?"":(0,s.U)(t,{pawUrl:r,crossOrigin:Boolean(i)})}\n\t\t</div>\n\t`})(t,e),o=document.createRange().createContextualFragment(n);return{adElement:o,adContent:o.querySelector(".sssp-resizeCont")}},c=(t,e)=>{if(!e.elements&&e.id)return"string"==typeof e.id||"number"==typeof e.id?document.getElementById(e.id.toString()):e.id;if(e.elements){const n=((t,e)=>e?e.reduce((e,n)=>{const{width:o,height:r}=n;if((o||t.width)<t.width||(r||t.height)<t.height)return e;const i=(o||t.width)*(r||t.height);return i<e.area?{area:i,bestElement:n}:e},{area:1/0,bestElement:null}).bestElement:null)(t,e.elements);return n?"string"==typeof n.id?document.getElementById(n.id):n.id:null}return null};var d=n(4586);var l=n(7645),u=n(2780),p=n(2728),f=n(9371);const h=(t,e)=>{var n;const r=c(t,e),{adElement:i,adContent:s}=a(t,e.options);if(!r)return null;((t,e,n)=>{n.offsetHeight||t.responsive&&("iframe_url"!==t.type||!["SKLIK","ONEGAR"].includes(t.dsp))||(n.style.height=t.height+"px"),t.responsive||!n.offsetWidth&&n.offsetWidth===t.width||t.width<document.documentElement.scrollWidth&&(n.style.width=t.width+"px",n.style.maxWidth="100%")})(t,0,r),r.classList.add("adFull"),r.appendChild(i),(0,l.QK)(t,r);const p=r.querySelector("div.packa");if(t.responsive||null!=e&&null!==(n=e.options)&&void 0!==n&&n.disableScaling||!s||((t,e,n,r)=>{(0,o.s)("info","### resizing ###");const i=()=>
1{if(n.offsetWidth>=t.width&&n.offsetHeight>=t.height)return;const e=n.offsetWidth/t.width,o=n.offsetHeight/t.height;let i=Math.min(e,o);const s={h:n.offsetHeight,w:n.offsetWidth,hR:r.offsetHeight,wR:r.offsetWidth,hScaled:0,wScaled:0,scale:0};e||(i=o),o||(i=e),r.style.transformOrigin="top left",r.style.transform="scale("+i+")",n.style.height=Math.round(t.height*i)+"px",n.dataset.sspScaled="yes",s.hScaled=n.offsetHeight,s.wScaled=n.offsetWidth,s.scale=i,n.dataset.sspScaledMetadata=JSON.stringify(s)};n.offsetHeight?i():requestAnimationFrame(()=>{var e,o,r;n.offsetHeight?i():(0,d.K)({r:String(null!==(e=t.requestId)&&void 0!==e?e:""),z:String(null!==(o=t.zoneId)&&void 0!==o?o:""),i:null!==(r=t.adIndex)&&void 0!==r?r:-1,t:"resizeFailed",v:1})})})(t,0,r,s),p){var h;const n=Number(null===(h=e.options)||void 0===h?void 0:h.pawTimeout),o=isNaN(n)?42:n;t.pawTimeoutId=window.setTimeout(()=>{(0,u.fk)("showPaw",{adContainer:r})},o)}return(0,f.mS)(t,r,["first","last"]),s},m=t=>{const e=document.createElement("iframe");var n,o;return n=e,o={sandbox:"allow-scripts allow-top-navigation-by-user-activation allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-forms",frameborder:"no",scrolling:"no",width:t.width.toString(),height:t.height.toString(),id:"x"+Math.floor(1e5*Math.random()),style:"\n\t\t\tdisplay: block;\n width: 100%;\n\t\t\theight: 100%;\n\t\t"},Object.entries(o).forEach(t=>{const[e,o]=t;n.setAttribute(e,o)}),e};var g=n(2792),v=n(9584),w=n(4217);var y=n(8085);const b=(t,...e)=>{const n=o=>{o.target.removeEventListener(o.type,n),t(...e)};return n},A=(t,e,n,o)=>{var r;const{protocol:s}=(0,g.zj)();let{iframeStaticServer:a}=(0,g.zj)();null!==(r=window.shaman)&&void 0!==r&&r.fixIframeStaticServer&&(a=window.shaman.fixIframeStaticServer(a));let c=s+a;if("iframe_url"===t.type){var d,l;const e=null===(d=t.data)||void 0===d?void 0:d.match(/((?:http[s]?)?:\/{2}[^\/\s]+)(.*)?/);c=null!==(l=null==e?void 0:e[1])&&void 0!==l?l:c}try{var p,f;null===(p=window.$sf)||void 0===p||null===(f=p.SF)||void 0===f||f.call(p,n,t,e,c)}catch(e){var h,m;const n={msg:`SF instance failed (${(e instanceof Error?e.message:String(e))||"N/A"}), ad: ${JSON.stringify(t.dbginfo)}`};null===(h=(m=navigator).sendBeacon)||void 0===h||h.call(m,"https://confessor.iva.seznam.cz/ssp-static",new URLSearchParams(n))}if("iframe"===t.type){var v;const e=JSON.stringify((0,i.A)((0,i.A)({},t),{},{sznssp:!0,method:"requestRender"}));null===(v=n.contentWindow)||void 0===v||v.postMessage(e,c),window.addEventListener("message",e=>{const o=(0,y.T)(e.data);o&&"IFRAME_AD_RENDERED"===o.event&&o.impressId===t.impressId&&(n.dataset.cyRendered="true")})}if("iframe_url"===t.type){var w,b;if(t.adInfoUrl)null===(b=n.contentWindow)||void 0===b||b.postMessage({sznPawUrl:t.adInfoUrl},c);const e=JSON.stringify({sznssp:!0,ad:{pageViewId:t.pageViewId,requestId:t.requestId},method:"setInfo"});null===(w=n.contentWindow)||void 0===w||w.postMessage(e,c)}if((0,u.SM)(n),window.Cypress&&n.setAttribute("data-cy-loaded","true"),"function"==typeof o)return o()},S=t=>{(0,u.SM)(t)};var z=(t,e,n)=>{const r=h(t,e);if(!r)return;const s=m(t);let a;const{pvId:c}=(0,g.zj)(),d=b(A,(0,i.A)((0,i.A)({},t),{},{pageViewId:c}),e,s,n),l=b(S,s);if(s.addEventListener("load",d),s.addEventListener("error",l),"iframe_url"===t.type)a=t.data;else if("iframe"===t.type){const{protocol:t,iframeStaticServer:e,iframeUrl:n}=(0,g.zj)();a=`${t}${e}${n}?url=${encodeURIComponent(document.location.href)}`,(0,o.s)()&&(a=(0,o.t)(a,window.location.search))}(0,v.V)()&&a?((t,e,n)=>{e.src=`${p.JD.PROTOCOL}${p.JD.IFRAME_HOSTNAME}${p.JD.PATH_TO_EMPTY}?${(0,w.$)()}`,t.appendChild(e);try{var o;null===(o=e.contentWindow)||void 0===o||o.location.replace(n)}catch(t){e.src=n}})(r,s,a):a&&(s.src=a,r.appendChild(s))},I=n(5461);var _=(t,e)=>{var n;if((0,o.s)("info","### starting direct ad writitng ###"),(0,o.s)("with parameters",t,e),"string"==typeof t.data&&t.data.includes('"type": "code"')&&t.data.includes('"creative":'))return void(0,o.s)('"writeCodeToPage" terminated, not supported data (not parsed raw data)');const i=h(t,e);if(i){try{var s;(0,I.j)(i,null!==(s=t.data)&&void 0!==s?s:"")}catch(t){(0,o.s)("error",t)}null!==(n=t.tracking)&&void 0!==n&&n.served&&(0,r.A)(t.tracking.served,{crossOrigin:Bo
1olean(t.crossorigin)})}},E=n(177);let T=0;const O=(t,e)=>{try{(0,o.s)("info","### start of id synchronization ###");const n=c(t,e);if(!n)return void(0,o.s)("Element not found. syncId was not run");if(n.id)return(0,o.s)("syncId by id from element (div)"),void(t.id=n.id);if(t.id&&"string"==typeof t.id)return(0,o.s)("syncId by id from positionsStore"),void(n.id=t.id);(0,o.s)("generating id and syncId");const r=`sznssp-${Number(t.zoneId)}-${++T}`;t.id=r,n.id=r}catch(t){(0,o.s)("error","syncId has an error:",t)}};var k=n(2809);var C=(t,e)=>{if((0,o.s)("info","### starting write ads ###"),t){switch((0,o.s)("with parameters",t,e),t.type){case"empty":(t=>{var e;(0,o.s)("no ad type:",t.type),(0,E.e)("writeAdEmpty",t.zoneId),(0,r.A)(null===(e=t.tracking)||void 0===e?void 0:e.served,{crossOrigin:Boolean(t.crossorigin)})})(t);break;case"iframe_url":case"iframe":((t,e)=>{var n;const o="writeAdIframe"+("iframe_url"===t.type?"URL":"");(0,E.e)(o,t.zoneId),z(t,e),(0,r.A)(null===(n=t.tracking)||void 0===n?void 0:n.served,{crossOrigin:Boolean(t.crossorigin)})})(t,e);break;case"code":((t,e)=>{(0,E.e)("writeAdCode",t.zoneId),_(t,e)})(t,e);break;default:(t=>{t.zoneId&&(0,E.e)("writeAdWrongFormat",t.zoneId)})(t)}O(t,e),(0,k.P)(t,{isCalledFromWriteAd:!0})}else(0,o.s)("error",'invalid "ad" object',t)}},6514:function(t,e,n){"use strict";n.d(e,{p:function(){return i}});var o=n(6985);const r={dop_req_id:"req_id",dop_ab_variant:"ab",dop_source_zone_name:"zone_name",dop_id:"id"},i=()=>{const t=(0,o.vD)();if(!t)return null;const e=Object.keys(r).reduce((e,n)=>{const o=r[n],i=t[n];return i&&(e[o]=i),e},{});return Object.keys(e).length?e:null}},3630:function(t,e,n){"use strict";var o=n(2792),r=n(1570);n.d(e,["V",0,()=>{const t=t=>{if("getUtmSource"===t.data.type){var e;(0,r.s)("info","received getUtmSource message from iframe");const{source:n}=(0,o.zj)();null===(e=t.source)||void 0===e||e.postMessage({type:"utmSource",source:n},{targetOrigin:"*"})}};return window.addEventListener("message",t),()=>window.removeEventListener("message",t)},"a",0,()=>{var t;return null===(t=(()=>{try{var t;if(null!==(t=window.top)&&void 0!==t&&t.Cypress)return window.parent}catch(t){}return window.top})())||void 0===t||t.postMessage({type:"getUtmSource"},"*"),(0,r.s)("info","sent getUtmSource message to leader"),new Promise(t=>{const e=setTimeout(()=>{(0,r.s)("error","no response from master SSP, resolving to null"),t(null)},250),n=o=>{"utmSource"===o.data.type&&(clearTimeout(e),(0,r.s)("info","got message from leader",o),t(o.data.source),window.removeEventListener("message",n))};window.addEventListener("message",n)})}])},5089:function(t,e,n){"use strict";n.d(e,{$G:function(){return c},Tr:function(){return d},xL:function(){return l}});var o=n(2792),r=n(4114),i=n(8085),s=n(660);const a="sssp_session",c=t=>{const{cookieExpiration:e,cookieDomain:n}=(0,o.zj)(),i=JSON.stringify(t);(0,r.TV)({name:a,value:encodeURIComponent(i),expires:[e,"minutes"],domain:n||(0,s.p)(window.location.hostname),sameSite:"None",secure:!0})},d=()=>{const{cookieDomain:t}=(0,o.zj)();(0,r.zs)({name:a,domain:t||(0,s.p)(window.location.hostname)})},l=()=>{const t=(0,r.Ri)(a),e=decodeURIComponent(null!=t?t:"");return(0,i.T)(e)}},6985:function(t,e,n){"use strict";n.d(e,{b2:function(){return h},qO:function(){return f},t9:function(){return l},vD:function(){return p}});var o=n(5364),r=n(7735),i=n(2792),s=n(660),a=n(8e3),c=n(9114),d=n(5089);const l=()=>{try{return"www.seznam.cz"===new URL(document.referrer).hostname&&Boolean((0,a.Mt)("utm_medium"))&&"www.seznam.cz"===(0,a.Mt)("utm_source")}catch(t){return""===document.referrer}},u=()=>{const t=(0,a.Mt)("utm_medium"),e=(0,a.Mt)("utm_campaign"),{allowedSources:n}=(0,i.zj)();return"string"==typeof(o=t)&&Object.keys(r.G).includes(o)?t===r.G.seznam_distribuce&&e?e:n[t]:null;var o},p=()=>{const t=(()=>{try{var t;const e=null!==(t=(0,s.W)(new URL(document.referrer).hostname))&&void 0!==t?t:null,n=(0,s.W)((0,c.ur)()),o=(0,s.W)(window.location.hostname);return[e,n].includes(o)}catch(t){return!1}})()&&(0,d.xL)(),e="www.seznam.cz"===(0,a.Mt)("utm_source")?u():null;return(0,o.A)((0,o.A)({media:e},l()?(()=>{const{dopUrlParameters:t}=(0,i.zj)();return t.reduce((t,e)=>{const n=(0,a.Mt)(e);return n&&(t[e]=n),t},{})})():{}),t)},f=()=>{const t=p(),e=null==t?void 0:t.media;e?((0,d.$G)(t),(0,i.tn)({source:e})):(0,d.Tr)()},h=()=>{var t;return null!==(null===(t=p())||void 0===t?void 0:t.media)}},7132:function(t,e,n){"use strict";n.d(e,{O:function(){return s},d:function(){return a}});var o=n(1570),r=n(1437);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(" ");
1t.zones.forEach((t,e,r)=>{(0,o.s)(`Adding collocation flag "${n}" to zone ${r[e].zoneId}`),r[e].options=r[e].options||{};const i=r[e].options.collocation;r[e].options.collocation=i?`${i} ${n}`:n})}}},4114:function(t,e,n){"use strict";var o=n(5364);const r=(t,e=!1)=>{if(!t.name)throw new Error("No cookie name provided");const n={value:"",expires:[365,"days"],path:"/",secure:void 0,sameSite:void 0,domain:void 0},r=(0,o.A)((0,o.A)({},n),t),{name:i,value:s,expires:a,path:c,secure:d,sameSite:l,domain:u}=r,p=e?new Date(0).toUTCString():(([t,e])=>{const n={seconds:1e3,minutes:60,hours:60,days:24},o=Object.keys(n).findIndex(t=>t===e),r=(~o?Object.values(n).slice(0,o+1):[]).reduce((t,e)=>t*e,t),i=new Date;return i.setTime(i.getTime()+r),i.toUTCString()})(a);return[`${i}=${s}`,`Expires=${p}`,`Path=${c}`,u?`Domain=${u}`:"",l?`SameSite=${l}`:"",d?"Secure":""].filter(t=>!!t).join(";")};n.d(e,["Ri",0,t=>document.cookie.split(";").reduce((e,n)=>{if(n){const[o,r]=(t=>{const e=t.indexOf("="),n=t.substring(0,e),o=t.substring(e+1);return[n.trim(),o.trim()]})(n);o===t&&(e=r)}return e},null),"TV",0,t=>document.cookie=r(t),"zs",0,t=>document.cookie=r(t,!0)])},1570:function(t,e,n){"use strict";var o=n(113);const r={name:"SSSP",bColor:n(2728).FU,fColor:"#fff"},i=(0,o.g)(r);n.d(e,["s",0,i,"t",0,(t,e)=>{const n=new URLSearchParams(e),o=n.get("sznivadbg"),r=n.get("sznivadbgsave"),i=new URL(t);return o&&i.searchParams.append("sznivadbg",o),r&&i.searchParams.append("sznivadbgsave",r),i.toString()}])},5461:function(t,e,n){"use strict";var o=n(1570),r=n(6827);const i=t=>{var e,n;const o={msg:t,script:"postscribe",referrer:document.referrer};null===(e=(n=navigator).sendBeacon)||void 0===e||e.call(n,"https://confessor.iva.seznam.cz/postscribe",new URLSearchParams(o))};n.d(e,["I",0,()=>{document.writeTo||(document.writeTo=(t,e)=>{(0,o.s)("ad used postscribe"),(0,r.r)(t,e,{autoFix:!1,error:({msg:t})=>i(t+"; postscribe was called from ad.")})})},"j",0,(t,e)=>{document.writeTo?((0,o.s)("Using postscribe for writeTo"),(0,r.r)(t,e,{autoFix:!1,error:({msg:t})=>{var n;const o={msg:t,html:e,sspMetadata:void 0};null!==(n=window._sssp)&&void 0!==n&&n.ad&&(o.sspMetadata=window._sssp.ad),i(JSON.stringify(o))}})):(0,o.s)("Internal writeTo not available")}])},2780:function(t,e,n){"use strict";var o=n(5364),r=n(1415),i=n(1570);const s=["id"];n.d(e,["BD",0,(t,e)=>{const n=t=>t.map(t=>{let{id:e}=t,n=(0,r.A)(t,s);return(0,o.A)((0,o.A)({},n),{},{id:(i=e,"string"==typeof i?i:null)});var i}),a=(0,o.A)((0,o.A)({},t),{},{zones:n(t.zones)}),c=n(e);try{const t=new CustomEvent("advertData",{detail:JSON.stringify({request:a,response:c})});window.dispatchEvent(t)}catch(t){(0,i.s)("error","Failed to serialize data for SSP debug extensions")}},"Jd",0,(t,e)=>{(0,i.s)(`Emiting event: ${t}`,e);const n=new CustomEvent(t,{detail:e});window.dispatchEvent(n)},"SM",0,t=>{var e=new CustomEvent("xiframe",{detail:{id:t.id}});window.dispatchEvent(e)},"Sr",0,()=>{window.dispatchEvent(new CustomEvent("ssploaded"))},"UJ",0,t=>{const e=new CustomEvent("ssppvidset",{detail:{data:t}});window.dispatchEvent(e)},"fk",0,(t,e)=>{var n=new CustomEvent(t,{detail:e});window.dispatchEvent(n)},"vm",0,t=>{const e=new CustomEvent("sspadschange",{detail:{data:t}});window.dispatchEvent(e)},"wm",0,(t,e)=>{const n=new CustomEvent("sspadsloaded",{detail:{ad:t,data:e}});window.dispatchEvent(n)}])},1784:function(t,e,n){"use strict";var o=n(5364),r=n(8e3);n.d(e,["_",0,()=>(0,o.A)((0,o.A)({},Array.from(document.head.querySelectorAll('meta[name^="ssp:"]')).reduce((t,e)=>(t[e.name.substring(4)]=e.content,t),{})),(()=>{const{sspredirect:t,sspstatic:e}=(0,r.al)();return(0,o.A)((0,o.A)({},t&&{redirect:t}),e&&{static:e})})())])},2311:function(t,e,n){"use strict";n.d(e,["d",0,({id:t})=>t instanceof HTMLElement?t.id||void 0:"string"==typeof t?t:void 0])},660:function(t,e,n){"use strict";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(".")};n.d(e,["W",0,i,"p",0,t=>{const e=i(t);return r(e)?e:`.${e}`}])},8085:function(t,e,n){"use strict";n.d(e,["T",0,t=>{try{return JSON.parse(t)}catch(t){return null}}])},6288: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{var t,e;return null!==(t=null===(e=top)||void 0===e?void 0:e.document.location.href)&&void 0!==t?t:null}catch(t){return console.error(t),null}},r=()=>{try{return document.location.href}catch(t){return console.error(t),null}},i=/^https*:\/\/([^/]*\.facebook\.com|[^/]*\.bing\.com|[^/]*\.google\.(com|cz)|[^/]*\.imedia\.cz)\//;e.A=()=>[n(),o(),r()].find(t=>!!t&&!i.test(t))||""},4217:function(t,e,n){"use strict";n.d(e,["$",0,(t=50)=>[...Array(t)].map(()=>(~~(36*Math.random())).toString(36)).join("")])},8e3:function(t,e,n){"use strict";n.d(e,["Mt",0,(t,e=window.location.href)=>{try{const n=new URL(e);return n.searchParams.get(t)||((t,e=window.location.hash)=>{const n=new URLSearchParams(e.substring(1)).get(t);return n?decodeURIComponent(n.replace(/\+/g," ")):n})(t,n.hash)}catch(t){return null}},"al",0,()=>
1{try{const t=new URL(window.location.href).searchParams.entries();return Array.from(t).reduce((t,e)=>{const[n,o]=e;return t[n]=o,t},{})}catch(t){return{}}}])},7482:function(t,e,n){"use strict";var o=n(1570);const r=()=>{var t;return(null===(t=window.sznIVA)||void 0===t?void 0:t.IS)||null};n.d(e,["V",0,r,"o",0,(t=5e3)=>new Promise(e=>{var n;let i=null,s=null;const a=()=>c("badge",!1);window.addEventListener("badge",a);const c=(n,c,d)=>{const l=d||(null===(u=r())||void 0===u?void 0:u.getIdentity("login"));var u;var p,f,h,m;const g=r=>{var c;return(0,o.s)(`waitForLogin (${n}):`,r,{timeoutMs:t,timeout:s,unsubscribe:i}),null===(c=i)||void 0===c||c(),null!==s&&window.clearTimeout(s),window.removeEventListener("badge",a),e(r),!0};return!!(l&&(p=l,null!=p&&p.state&&null!==(f=window.login)&&void 0!==f&&null!==(f=f.current)&&void 0!==f&&f.state&&p.state===(null===(h=window.login)||void 0===h||null===(h=h.current)||void 0===h?void 0:h.state)&&(null==p?void 0:p.uid)==(null===(m=window.login)||void 0===m||null===(m=m.current)||void 0===m?void 0:m.uid)))?g(l):c?g(null):void 0};c("immediate",!t)||(s=window.setTimeout(()=>{c("timeout",!0)},t),i=null===(n=r())||void 0===n?void 0:n.subscribeIdentities(({identities:t,changes:e})=>{if((0,o.s)("waitForLogin (subscribing):",{identities:t,changes:e}),!e.includes("login"))return;const n=t.login;"fresh"!==(null==n?void 0:n.state)||c("subscribed",!1,n.value)},!0))})])},1437:function(t,e,n){"use strict";n.d(e,{i7:function(){return l},z0:function(){return d}});var o=n(7132),r=n(8085);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=>{const e=t;return"string"==typeof e[i]?e[i].split(","):[]})),l=()=>c(t=>t.flatMap(t=>{const e=t;return Array.isArray(e[s])?e[s]:[]}))},785:function(t,e,n){"use strict";let o=null;n.d(e,["PI",0,()=>o,"jm",0,t=>{if(!t||"string"!=typeof t)throw new TypeError("Landing URL must be a string");try{new URL(t),o=t}catch(t){throw o=null,t}},"wT",0,()=>{o=null}])},2618:function(t,e,n){"use strict";n.d(e,["k",0,(t,e={})=>new Promise((n,o)=>{const{async:r,id:i,dataset:s}=e,a=document.createElement("script");a.addEventListener("load",n),a.addEventListener("error",o),a.src=t,r&&(a.async=!0),i&&(a.id=i),s&&Object.entries(s).forEach(([t,e])=>{a.dataset[t]=e}),document.head.appendChild(a)})])},9114:function(t,e,n){"use strict";n.d(e,{ur:function(){return S},_Q:function(){return I},wv:function(){return z}});var o=n(1570),r=n(2792),i=n(1829),s=n(4217),a=n(9773),c=n(6985),d=n(660),l=n(6288),u=n(374),p=n(6514);const f=["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 h=n(3797),m=n(2728),g=n(2780),v=n(6208),w=n(8997),y=n(785);const b=(t,e)=>t.hit("adload",{d:e});let A=document.referrer||"";const S=()=>A,z=(t=null,e=!1)=>{const n=t||(0,s.$)(50),z={pvId:n};(0,d.W)(S())===(0,d.W)(document.location.hostname)&&((0,h.yH)([]),(0,c.qO)(),z.site=(0,l.A)()),(0,r.tn)(z),(0,g.UJ)({pvId:n});const I=(0,i.qX)();if((0,o.s)("info","#### setting pageViewId:",n),I){var _;const t={adId:n},e=(0,a.uM)();e&&(t.timeFromInit=e,(0,a.Rj)(null)),!(0,v.rl)()||null!==(_=window.DOT)&&void 0!==_&&_.impressBeforeAdloadSent?b(I,t):((t,e)=>{let n=null;const o=()=>{window.removeEventListener(m.em,o),clearTimeout(null!=n?n:void 0),n=null,b(t,e)};n=setTimeout(()=>{window.removeEventListener(m.em,o),b(t,e)},5e3),window.addEventListener(m.em,o)})(I,t)}var E;E=document.location.hostname,A=E,setTimeout(()=>{(()=>{const t=document.location.hostname.replace("www.","").toLowerCase();if(f.includes(t)||!(0,u.w)())return;const e=(0,p.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")})()}),e&&(0,w.lZ)(),(0,y.wT)()},I=()=>(0,r.zj)().pvId},6125:function(t,e,n){"use strict";n.d(e,{qg:function(){return f},A:function(){return m},II:function(){return h}});var o=n(3675),r=n(1570),i=n(2792);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).cat
1ch(()=>{t(null)})}));var e;if(!t)return null;const n={};if(t.fullVersionList){const e=t.fullVersionList.map(t=>`"${t.brand}";v="${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]=`"${t.platform}"`),t.platformVersion&&(n[l]=t.platformVersion),n};var p=n(8e3);const f=(t,e,n)=>new Promise(async(s,a)=>{const{method:c,pvId:d,protocol:l,server:f,version:h,path:m,test:g}=(0,i.zj)(),v=(0,o.K5)({protocol:l,server:f,version:h,path:m,test:g});if(!window.XMLHttpRequest)return(0,r.s)("error","No XHR available"),a({errorName:"No XHR available",errorCode:0});const w=new XMLHttpRequest;if(n){const t=({detail:n})=>{try{if(e!==n.data.pvId)return(0,r.s)("info","Aborting XHR - pvId changed"),w.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 ${w.status}).`;(0,r.s)("error",t),a({errorName:t,errorCode:w.status})};w.onload=()=>n&&e!==d?((0,r.s)("info","Ignoring XHR response - pvId changed"),s(!1)):w.responseText?void s(w.responseText):a({errorName:w.statusText,errorCode:w.status}),w.onerror=y,w.onabort=y,w.ontimeout=y,w.open(c,v),w.withCredentials=!0,w.setRequestHeader("Content-type","application/json");const b=await u();if(b)for(const t in b)w.setRequestHeader(t,b[t]);const{ssp_hub_feature_flags:A}=(0,p.al)();A&&w.setRequestHeader("X-Hub-Feature-Flags",A),w.send(JSON.stringify(t)),(0,r.s)("sending data to adserver",t)}),h=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: ${e.status}).`),null;return await e.text()}catch(t){return(0,r.s)("error",`VAST: Error attempting fetch vast ads. Error: ${t}`),null}},m=t=>new Promise((e,n)=>{if(!t.webId&&!t.zoneId)return;const{cmpServer:o}=(0,i.zj)(),r=`${o}?${t.webId?`webId=${t.webId}`:`zoneId=${t.zoneId}`}`,s=new XMLHttpRequest;s.onreadystatechange=()=>{4===s.readyState&&(200===s.status&&s.responseText?e(s.responseText):400===s.status?n("Bad request"):n("Something wrong happened"))},s.open("GET",r),s.send()})},4515:function(t,e,n){"use strict";n.d(e,["t",0,t=>{try{return t()}catch(t){console.error(t)}}])},3500:function(t,e,n){"use strict";const o=/($|\/)ssp\.js\?/;n.d(e,["u",0,()=>{const t={},e=document.querySelectorAll("script")||[],n=Array.from(e).find(({src:t})=>o.test(t));if(n){const e=new URLSearchParams(n.src.split("?")[1]);for(const[n,o]of e.entries())t[n]=o}return t}])},4586:function(t,e,n){"use strict";var o=n(2792),r=n(1570);n.d(e,["K",0,(t,e)=>{try{const{protocol:n,server:i}=(0,o.zj)(),s=new URL(`${n}${i}/v2/event`);for(const e in t)s.searchParams.append(e,t[e]);(0,r.s)("info",`### event hit to url ${s} ###`);const a=new Image(1,1);null!=e&&e.crossOrigin&&(a.crossOrigin="use-credentials"),a.src=s.href}catch(t){(0,r.s)("error","### event hit failed ###")}}])},9773:function(t,e,n){"use strict";let o=null;n.d(e,["Rj",0,(t=performance.now())=>(null!==t&&"number"!=typeof t&&(t=null),o=t),"lg",0,()=>{const t=new Date;return[t.getFullYear(),t.getMonth()+1,t.getDate(),t.getHours()].join("")},"uM",0,()=>o?performance.now()-o:null])},374:function(t,e,n){"use strict";n.d(e,["w",0,()=>{const{frameElement:t,Cypress:e,self:n,top:o}=window;try{return!(o!==n&&!e||t)}catch(t){return o===n}}])},3675:function(t,e,n){"use strict";n.d(e,{K5:function(){return i},YQ:function(){return a},v8:function(){return s}});var o=n(2792),r=n(1784);const i=({protocol:t,server:e,version:n,path:o,test:i})=>{const{redirect:s}=(0,r._)();return`${t}${s||e}/${n}${o}${i?"?test=1":""}`},s=t=>t.replace(/^www\./,""),a=()=>{const{protocol:t,staticServer:e}=(0,o.zj)();return`${t}${e}/static/img`}},7462:function(t,e,n){"use strict";n.d(e,{A:function(){return a},L:function(){return s}});var o=n(7482),r=n(2792);const i=t=>{const{uid:e,state:n,encodedFlags:o}=t;return!!((i=e)&&"number"==typeof i&&!isNaN(i)&&n&&["login","logout"].includes(n)&&(r=o,r&&"string"==typeof r));var r,i},s=t=>{try{return!(!t||!i(t)&&!(t=>{const{uid:e,state:n,encodedFlags:o}=t;return!(e||"forget"!==n||o)})(t))}catch(t){return!1}},a=async()=>{const{activeUser:t,badge:e}=(0,r.zj)();let n=0;return e&&(n=t?1e3:5e3),await(0,o.o)(n)||t||{}}},5126:function(t,e,n){t=n.nmd(t);var o="__lodash_hash_undefined__",r=9007199254740991,i="[object Arguments]",s="[object Boolean]",a="[object Date]",c="[object Function]",d="[object GeneratorFunction]",l="[object Map]",u="[object Number]",p="[object Object]",f="[object Promise]",h="[object RegExp]",m="[object Set]",g="[object String]",v="[object Symbol]",w="[object WeakMap]",y="[object ArrayBuffer]",b="[object DataView]",A="[object Float32Array]",S="[object Float64Array
1]",z="[object Int8Array]",I="[object Int16Array]",_="[object Int32Array]",E="[object Uint8Array]",T="[object Uint8ClampedArray]",O="[object Uint16Array]",k="[object Uint32Array]",C=/\w*$/,R=/^\[object .+?Constructor\]$/,P=/^(?:0|[1-9]\d*)$/,x={};x[i]=x["[object Array]"]=x[y]=x[b]=x[s]=x[a]=x[A]=x[S]=x[z]=x[I]=x[_]=x[l]=x[u]=x[p]=x[h]=x[m]=x[g]=x[v]=x[E]=x[T]=x[O]=x[k]=!0,x["[object Error]"]=x[c]=x[w]=!1;var j="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,$="object"==typeof self&&self&&self.Object===Object&&self,M=j||$||Function("return this")(),D=e&&!e.nodeType&&e,L=D&&t&&!t.nodeType&&t,N=L&&L.exports===D;function U(t,e){return t.set(e[0],e[1]),t}function q(t,e){return t.add(e),t}function F(t,e,n,o){var r=-1,i=t?t.length:0;for(o&&i&&(n=t[++r]);++r<i;)n=e(n,t[r],r,t);return n}function H(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function V(t){var e=-1,n=Array(t.size);return t.forEach(function(t,o){n[++e]=[o,t]}),n}function G(t,e){return function(n){return t(e(n))}}function W(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}var B,J=Array.prototype,K=Function.prototype,Q=Object.prototype,X=M["__core-js_shared__"],Y=(B=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+B:"",Z=K.toString,tt=Q.hasOwnProperty,et=Q.toString,nt=RegExp("^"+Z.call(tt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ot=N?M.Buffer:void 0,rt=M.Symbol,it=M.Uint8Array,st=G(Object.getPrototypeOf,Object),at=Object.create,ct=Q.propertyIsEnumerable,dt=J.splice,lt=Object.getOwnPropertySymbols,ut=ot?ot.isBuffer:void 0,pt=G(Object.keys,Object),ft=Lt(M,"DataView"),ht=Lt(M,"Map"),mt=Lt(M,"Promise"),gt=Lt(M,"Set"),vt=Lt(M,"WeakMap"),wt=Lt(Object,"create"),yt=Ht(ft),bt=Ht(ht),At=Ht(mt),St=Ht(gt),zt=Ht(vt),It=rt?rt.prototype:void 0,_t=It?It.valueOf:void 0;function Et(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function Tt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function Ot(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function kt(t){this.__data__=new Tt(t)}function Ct(t,e){var n=Gt(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&Wt(t)}(t)&&tt.call(t,"callee")&&(!ct.call(t,"callee")||et.call(t)==i)}(t)?function(t,e){for(var n=-1,o=Array(t);++n<t;)o[n]=e(n);return o}(t.length,String):[],o=n.length,r=!!o;for(var s in t)!e&&!tt.call(t,s)||r&&("length"==s||qt(s,o))||n.push(s);return n}function Rt(t,e,n){var o=t[e];tt.call(t,e)&&Vt(o,n)&&(void 0!==n||e in t)||(t[e]=n)}function Pt(t,e){for(var n=t.length;n--;)if(Vt(t[n][0],e))return n;return-1}function xt(t,e,n,o,r,f,w){var R;if(o&&(R=f?o(t,r,f,w):o(t)),void 0!==R)return R;if(!Kt(t))return t;var P=Gt(t);if(P){if(R=function(t){var e=t.length,n=t.constructor(e);e&&"string"==typeof t[0]&&tt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!e)return function(t,e){var n=-1,o=t.length;e||(e=Array(o));for(;++n<o;)e[n]=t[n];return e}(t,R)}else{var j=Ut(t),$=j==c||j==d;if(Bt(t))return function(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}(t,e);if(j==p||j==i||$&&!f){if(H(t))return f?t:{};if(R=function(t){return"function"!=typeof t.constructor||Ft(t)?{}:(e=st(t),Kt(e)?at(e):{});var e}($?{}:t),!e)return function(t,e){return Mt(t,Nt(t),e)}(t,function(t,e){return t&&Mt(e,Qt(e),t)}(R,t))}else{if(!x[j])return f?t:{};R=function(t,e,n,o){var r=t.constructor;switch(e){case y:return $t(t);case s:case a:return new r(+t);case b:return function(t,e){var n=e?$t(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,o);case A:case S:case z:case I:case _:case E:case T:case O:case k:return function(t,e){var n=e?$t(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}(t,o);case l:return function(t,e,n){var o=e?n(V(t),!0):V(t);return F(o,U,new t.constructor)}(t,o,n);case u:case g:return new r(t);case h:return function(t){var e=new t.constructor(t.source,C.exec(t));return e.lastIndex=t.lastIndex,e}(t);case m:return function(t,e,n){var o=e?n(W(t),!0):W(t);return F(o,q,new t.constructor)}(t,o,n);case v:return i=t,_t?Object(_t.call(i)):{}}var i}(t,j,xt,e)}}w||(w=new kt);var M=w.get(t);if(M)return M;if(w.set(t,R),!P)var D=n?function(t){return function(t,e,n){var o=e(t);return Gt(t)?o:function(t,e){for(var n=-1,o=e.length,r=t.length;++n<o;)t[r+n]=e[n];return t}(o,n(t))}(t,Qt,Nt)}(t):Qt(t);return function(t,e){for(var n=-1,o=t?t.length:0;++n<o&&!1!==e(t[n],n,t););}(D||t,function(r,i){D&&(r=t[i=r]),Rt(R,i,xt(r,e,n,o,i,t,w))}),R}function jt(t){return!(!Kt(t)||(e=t,Y&&Y in e))&&(Jt(t)||H(t)?nt:R).test(Ht(t));var e}function $t(t){var e=new t.constructor(t.byteLength);return new it(e).set(new it(t)),e}function Mt(t,e,n,o){n||(n={});for(var r=-1,i=e.length;++r<i;){var s=e[r],a=o?o(n[s],t[s],s,n,t):void 0;Rt(n,s,void 0===a?t[s]:a)}return n}function Dt(t,e){var n,o,r=t.__data__;return("string"==(o=typeof(n=e))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function Lt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return jt(n)?n:void 0}Et.prototype.clear=function(){this.__data__=wt?wt(null):{}},Et.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},Et.prototype.get=function(t){var e=this.__data__;if(wt){var n=e[t];return n===o?void 0:n}return tt.call(e,t)?e[t]:void 0},Et.prototype.has=function(t){var e=this.__data__;return wt?void 0!==e[t]:tt.call(e,t)},Et.prototype.set=function(t,e){return this.__data__[t]=wt&&void 0===e?o:e,this},Tt.prototype.clear=function(){this.__data__=[]},Tt.prototype.delete=function(t){var e=this.__data__,n=Pt(e,t);return!(n<0)&&(n==e.length-1?e.pop():dt.call(e,n,1),!0)},Tt.prototype.get=function(t){var e=this.__data__,n=Pt(e,t);return n<0?void 0:e[n][1]},Tt.prototype.has=function(t){return Pt(this.__data__,t)>-1}
1,Tt.prototype.set=function(t,e){var n=this.__data__,o=Pt(n,t);return o<0?n.push([t,e]):n[o][1]=e,this},Ot.prototype.clear=function(){this.__data__={hash:new Et,map:new(ht||Tt),string:new Et}},Ot.prototype.delete=function(t){return Dt(this,t).delete(t)},Ot.prototype.get=function(t){return Dt(this,t).get(t)},Ot.prototype.has=function(t){return Dt(this,t).has(t)},Ot.prototype.set=function(t,e){return Dt(this,t).set(t,e),this},kt.prototype.clear=function(){this.__data__=new Tt},kt.prototype.delete=function(t){return this.__data__.delete(t)},kt.prototype.get=function(t){return this.__data__.get(t)},kt.prototype.has=function(t){return this.__data__.has(t)},kt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Tt){var o=n.__data__;if(!ht||o.length<199)return o.push([t,e]),this;n=this.__data__=new Ot(o)}return n.set(t,e),this};var Nt=lt?G(lt,Object):function(){return[]},Ut=function(t){return et.call(t)};function qt(t,e){return!!(e=null==e?r:e)&&("number"==typeof t||P.test(t))&&t>-1&&t%1==0&&t<e}function Ft(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Q)}function Ht(t){if(null!=t){try{return Z.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Vt(t,e){return t===e||t!=t&&e!=e}(ft&&Ut(new ft(new ArrayBuffer(1)))!=b||ht&&Ut(new ht)!=l||mt&&Ut(mt.resolve())!=f||gt&&Ut(new gt)!=m||vt&&Ut(new vt)!=w)&&(Ut=function(t){var e=et.call(t),n=e==p?t.constructor:void 0,o=n?Ht(n):void 0;if(o)switch(o){case yt:return b;case bt:return l;case At:return f;case St:return m;case zt:return w}return e});var Gt=Array.isArray;function Wt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}(t.length)&&!Jt(t)}var Bt=ut||function(){return!1};function Jt(t){var e=Kt(t)?et.call(t):"";return e==c||e==d}function Kt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Qt(t){return Wt(t)?Ct(t):function(t){if(!Ft(t))return pt(t);var e=[];for(var n in Object(t))tt.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}t.exports=function(t){return xt(t,!0,!0)}},1314:function(t,e,n){"use strict";n.d(e,{A:function(){return r}});var o=n(7829);function r(t,e,n){return(e=(0,o.A)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},5364:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var o=n(1314);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach(function(e){(0,o.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}},1415: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<i.length;o++)n=i[o],-1===e.indexOf(n)&&{}.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}n.d(e,{A:function(){return o}})},7016:function(t,e,n){"use strict";n.d(e,{A:function(){return r}});var o=n(7569);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)}},7829:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var o=n(7569),r=n(7016);function i(t){var e=(0,r.A)(t,"string");return"symbol"==(0,o.A)(e)?e:e+""}},7569: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}})},6572:function(t,e,n){"use strict";n.d(e,{Pv:function(){return o}});var o={};n.r(o),n.d(o,{CONSENT_COOKIE_NAME:function(){return d},CONSENT_COOKIE_NAMES:function(){return p}
1,CONSENT_GOOGLE_COOKIE_NAME:function(){return u},CONSENT_PURPOSE_ONE_COOKIE_NAME:function(){return l},PurposeId:function(){return h},__resetTCFGlobals:function(){return A},getConsentFromCookieList:function(){return _},hasPurposeOne:function(){return g},hasPurposeOneFromCookieList:function(){return E}});class r{static DICT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";static REVERSE_DICT=new Map([["A",0],["B",1],["C",2],["D",3],["E",4],["F",5],["G",6],["H",7],["I",8],["J",9],["K",10],["L",11],["M",12],["N",13],["O",14],["P",15],["Q",16],["R",17],["S",18],["T",19],["U",20],["V",21],["W",22],["X",23],["Y",24],["Z",25],["a",26],["b",27],["c",28],["d",29],["e",30],["f",31],["g",32],["h",33],["i",34],["j",35],["k",36],["l",37],["m",38],["n",39],["o",40],["p",41],["q",42],["r",43],["s",44],["t",45],["u",46],["v",47],["w",48],["x",49],["y",50],["z",51],["0",52],["1",53],["2",54],["3",55],["4",56],["5",57],["6",58],["7",59],["8",60],["9",61],["-",62],["_",63]]);static BASIS=6;static LCM=24;static repeatStr(t,e){let n="";for(let o=0;o<e;o++)n+=t;return n}static encode(t){if(!/^[0-1]+$/.test(t))throw new Error("Invalid bitField");const e=t.length%this.LCM;t+=e?this.repeatStr("0",this.LCM-e):"";let n="";for(let e=0;e<t.length;e+=this.BASIS)n+=this.DICT[parseInt(t.substr(e,this.BASIS),2)];return n}static decode(t){if(!/^[A-Za-z0-9\-_]+$/.test(t))throw new Error("Invalidly encoded Base64URL string");let e="";for(const n of t){const t=this.REVERSE_DICT.get(n)?.toString(2);if(void 0===t)throw new Error("Invalidly encoded Base64URL string");e+=this.repeatStr("0",this.BASIS-t.length)+t}return e}}const i=6,s=36,a=(t,e,n)=>{const[o]=t.split(".");if(!o||6*o.length<e+n)throw new Error("Encoded TCString is too short for the requested bit range");const i=Math.floor(e/6),s=Math.ceil((e+n)/6),a=e%6;return r.decode(o.slice(i,s)).slice(a,a+n)},c=t=>{const e=document.cookie.match(new RegExp("(?:^|; )"+t.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return e&&e[1]?decodeURIComponent(e[1]):null},d="euconsent-v2",l="szncmpone",u="FCCDCF",p=[d,"eupubconsent-v2","ibb_euconsent","gdpr_consent","sas_cmp_cookie_consentData","csent",u],f=(t,e)=>{try{if(t===u&&e)return JSON.parse(decodeURIComponent(e))[3][0]}catch{return null}return e&&"string"==typeof e?e:null},h={COOKIE:1,BASIC_ADS:2,MEASURE_ADS:7,MEASURE_PERFORMANCE:8,MARKET_RESEARCH:9,IMPROVE:10,ADS_PROFILE:3,ADS:4,CONTENT_PROFILE:5,CONTENT:6},m=t=>{const e=(t=>{try{const e=a(t,i,s),n=parseInt(e,2);if(isNaN(n))return null;const o=new Date(100*n);return isNaN(o.getTime())?null:o}catch{return null}})(t);if(!e)return!0;const n=new Date;return n.setMonth(n.getMonth()-13),n.setHours(0,0,0,0),e<n},g=t=>"string"==typeof t&&(t=>{try{return"1"===a(t,152,1)}catch{return!1}})(t),v=(t,e)=>({version:"v2",consentString:t,name:e,purposeOne:g(t)});let w="",y=!1;const b=[],A=()=>{w="",b.length=0},S=(t,e)=>{if(e&&["tcloaded","useractioncomplete"].includes(t.eventStatus)){if(m(t.tcString))return;w=t.tcString;const e=v(w);for(const t of b)t(e);b.length=0}},z=()=>"function"==typeof window.__tcfapi,I=()=>{z()&&!y&&(y=!0,window.__tcfapi("addEventListener",2,S))};I();const _=t=>{if(!document)return null;I();for(const t of p){const e=f(t,c(t));if(e&&!m(e))return v(e,t)}const e=(()=>{const t=/^__cmpconsentx\d+$/,e=document.cookie.split(";");for(const n of e)try{const[e,o]=n.trim().split("=");if(e&&o&&t.test(e)){const t=decodeURIComponent(o);if(t&&!m(t))return v(t,e)}}catch{}return null})();return e||(w&&!m(w)?v(w):("function"==typeof t&&(z()?b.push(t):t()),null))},E=()=>{const t=_();return!!t&&g(t.consentString)};var T,O;!function(t){t.GRANTED="granted",t.DENIED="denied"}(T||(T={}
1)),function(t){t.AD_STORAGE="ad_storage",t.AD_PERSONALIZATION="ad_personalization",t.AD_USER_DATA="ad_user_data",t.ANALYTICS_STORAGE="analytics_storage",t.FUNCTIONALITY_STORAGE="functionality_storage",t.PERSONALIZATION_STORAGE="personalization_storage",t.SECURITY_STORAGE="security_storage"}(O||(O={}))}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var i=e[o]={id:o,loaded:!1,exports:{}};return t[o](i,i.exports,n),i.loaded=!0,i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){if(Array.isArray(e))for(var o=0;o<e.length;){var r=e[o++],i=e[o++];n.o(t,r)?0===i&&o++:0===i?Object.defineProperty(t,r,{enumerable:!0,value:e[o++]}):Object.defineProperty(t,r,{enumerable:!0,get:i})}else for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},n.dn=function(t){(Object.getOwnPropertyDescriptor(t,"name")||{}).writable||Object.defineProperty(t,"name",{value:"default",configurable:!0})},function(){"use strict";!function(){if(window._1gif){new Image(1,1).src=window._1gif}delete window._1gif}();var t=n(2728),e=n(5364);function o(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function r(t,e,n){o(t,e),e.set(t,n)}function i(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}function s(t,e){return t.get(i(t,e))}function a(t,e,n){return t.set(i(t,e),n),n}var c=n(7482),d=n(2780);const l=/scale\(([0-9]+(?:\.[0-9]*)?)\)/,u=t=>{if(!(t instanceof HTMLElement&&(t=>Boolean(t instanceof HTMLElement&&t.style.transform.match(l)))(t)))return 1;const e=t.style.transform.match(l);if(2!==(null==e?void 0:e.length))return 1;const n=parseFloat(e[1]);return isNaN(n)?1:n};var p=n(1570),f=new WeakMap,h=new WeakMap,m=new WeakMap,g=new WeakMap,v=new WeakMap,w=new WeakMap,y=new WeakMap,b=new WeakMap,A=new WeakMap,S=new WeakMap,z=new WeakMap,I=new WeakSet;class _{constructor(t,e,n,d,l){var u,_,E;if(o(_=this,E=I),E.add(_),r(this,f,void 0),r(this,h,void 0),r(this,m,void 0),r(this,g,void 0),r(this,v,void 0),r(this,w,void 0),r(this,y,void 0),r(this,b,void 0),r(this,A,void 0),r(this,S,void 0),r(this,z,null),a(h,this,t),a(m,this,e),a(g,this,n),a(v,this,d),d&&l._conf.registeredServers.push(d),a(f,this,"sf"+l.count++),s(h,this).id=s(f,this),l.frames[t.id]=this,a(w,this,i(I,this,R).call(this,t,"adFull")||{dataset:{},offsetWidth:0,offsetHeight:0}),e.height<(null===(u=s(w,this))||void 0===u?void 0:u.offsetHeight)&&(s(w,this).style.height=e.height+"px"),s(w,this).dataset.sspScaledMetadata){try{a(y,this,JSON.parse(s(w,this).dataset.sspScaledMetadata))}catch(_){(0,p.s)("error",`Failed to parse json: ${s(w,this).dataset.sspScaledMetadata}`)}s(w,this).removeAttribute("data-ssp-scaled-metadata")}a(b,this,s(w,this).offsetWidth),a(A,this,s(w,this).offsetHeight),a(S,this,i(I,this,R).call(this,t,"sssp-resizeCont")||{dataset:{},style:{},offsetWidth:0,offsetHeight:0});const T=i(I,this,R).call(this,t,"sssp-posCont");T&&a(z,this,T.querySelector(".packa"));const O={method:"init",geom_info:this.getGeom(),dsp:s(m,this).dsp,conf:l.conf},k=(0,c.V)(),C=k&&k.getIdentity("login");C&&C.advert_uid&&(O.said=C.advert_uid),this.sendData(O)}register(t){window.Cypress&&(s(w,this).dataset.cySfRegistered="1");const{width:e,height:n}=t.baseDimensions;s(m,this).pawTimeoutId&&(clearTimeout(s(m,this).pawTimeoutId),(0,d.fk)("showPaw",{adContainer:s(w,this)})),a(b,this,e),a(A,this,n),s(S,this).style.width=e+"px",s(S,this).style.height=n+"px";const o=u(s(S,this));s(w,this).style.width=o*e+"px",s(w,this).style.height=o*n+"px"}collapse(t){i(I,this,C).call(this,t.config.pawTimeout),i(I,this,O).call(this,()=>{i(I,this,E).call(this),this.sendData({method:"collapse",status:{ok:!0,msg:"done"}})},t.config.resizeTimeout)}expand(t){i(I,this,C).call(this,t.config.pawTimeout),i(I,this,O).call(this,()=>{i(I,this,T).call(this,t.resizeDimensions),this.sendData({method:"expand",status:{ok:!0,msg:"done"}})},t.config.resizeTimeout)}getGeom(){var t;const e=s(h,this).getBoundingClientRect(),n=i(I,this,P).call(this),o=null===(t=s(h,this).closest('[data-advert="sticky-container"]'))||void 0===t?void 0:t.getBoundingClientRect();let r=o?Math.ceil((e.y-o.y)/(o.height-e.height)*100):null;
1o&&null!==r&&r<100&&e.top<0&&(r=100);return{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(s(h,this),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}}}cookie({cookieName:t,cookieData:e}){let n="";if(e){const{info:o,expires:r}=e;if(!o)return;if(n=encodeURIComponent(t)+"="+encodeURIComponent(o),r){n+="; expires="+new Date(r).toUTCString()}document.cookie=n,this.sendData({method:"cookie",status:{ok:!0,msg:"done",cmd:"write-cookie"}})}else{const e=encodeURIComponent(t).replace(/[\-\.\+\*]/g,"\\$&"),n=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+e+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||void 0;this.sendData({method:"cookie",status:{ok:!0,msg:"done",cmd:"read-cookie"},cookie:n})}}setResizeProperties(t){const{width:e,height:n}=t.options;e&&(s(S,this).style.width=e+"px"),n&&(s(S,this).style.height=n+"px")}sendData(t){const n=(0,e.A)((0,e.A)({},t),{},{sfName:s(f,this)});s(h,this).contentWindow&&s(h,this).contentWindow.postMessage&&s(h,this).contentWindow.postMessage(JSON.stringify(n),s(v,this))}}function E(){const t=s(w,this).style,e=s(S,this).style;t.width=s(b,this)+"px",t.height=s(A,this)+"px",e.position="static",e.width=s(y,this)?s(y,this).wR+"px":"100%",e.height=s(y,this)?s(y,this).hR+"px":"100%",e.top="",e.right="",e.bottom="",e.left="",e.zIndex="",s(z,this)&&(s(z,this).style.bottom="0px",s(z,this).style.right="0px")}function T(t){const{push:e}=t;s(S,this).style.position=e?"static":"absolute",e||(s(S,this).style.zIndex=String(i(I,this,x).call(this)));const n=s(y,this)?s(y,this).h-s(y,this).hScaled:0,o=s(y,this)?s(y,this).w-s(y,this).wScaled:0,r=(e,r)=>e+(["t","b"].includes(r)?n:o)*(t[r]?e/t[r]:1);Object.entries(t).forEach(([t,n])=>{if("number"==typeof n)switch(t){case"t":i(I,this,k).call(this,r(n,"b"),n,"top","height",e);break;case"b":i(I,this,k).call(this,r(n,"t"),n,"bottom","height",e);break;case"r":i(I,this,k).call(this,r(n,"l"),n,"right","width",e);break;case"l":i(I,this,k).call(this,r(n,"r"),n,"left","width",e)}})}function O(t,e){e?setTimeout(()=>t(),e):t()}function k(t,e,n,o,r){const a=s(S,this).offsetWidth,c=s(S,this).offsetHeight,d=s(w,this).offsetWidth,l=s(w,this).offsetHeight;s(S,this).style[n]=-1*t+"px",s(S,this).style[o]=(["top","bottom"].includes(n)?c:a)+e+"px";const u=e*(s(y,this)?s(y,this).scale:1);r?s(w,this).style[o]=(["top","bottom"].includes(n)?l:d)+u+"px":s(z,this)&&["bottom","right"].includes(n)&&(s(z,this).style[n]=-1*u+"px",s(z,this).style.zIndex=String(i(I,this,x).call(this)))}function C(t){t&&((0,d.fk)("hidePaw",{adContainer:s(w,this)}),setTimeout(()=>{(0,d.fk)("showPaw",{adContainer:s(w,this)})},t))}function R(t,e){let n=0;for(;n<10&&"BODY"!==(null===(o=t)||void 0===o?void 0:o.nodeName);){var o;if(n++,t.classList.contains(e))return t;t.parentNode instanceof HTMLElement&&(t=t.parentNode)}}function P(){let t=null;try{if(t=s(w,this).getBoundingClientRect(),!t.width||!document.documentElement.clientWidth)return{x:0,y:0}}catch(t){return{x:0,y:0}}if(!t)return{x:0,y:0};const e=t.right===t.left?t.left+s(m,this).width:t.right,n=t.left,o=t.bottom===t.top?t.top+s(m,this).height:t.bottom,r=t.top,i=e-n,a=o-r,c=document.documentElement.clientWidth,d=document.documentElement.clientHeight;return{x:Math.max(0,Math.min(e,c)-Math.max(n,0))/i,y:Math.max(0,Math.min(o,d)-Math.max(r,0))/a}}function x(){return s(g,this).options&&void 0!==s(g,this).options.sfExpandZIndex?s(g,this).options.sfExpandZIndex:1}function j(t,e,n){var o,r=n||{},i=r.noTrailing,s=void 0!==i&&i,a=r.noLeading,c=void 0!==a&&a,d=r.debounceMode,l=void 0===d?void 0:d,u=!1,p=0;function f(){o&&clearTimeout(o)}function h(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=this,d=Date.now()-p;function h(){p=Date.now(),e.apply(a,r)}function m(){o=void 0}u||(c||!l||o||h(),f(),void 0===l&&d>t?c?(p=Date.now(),s||(o=setTimeout(l?m:h,t))):h():!0!==s&&(o=setTimeout(l?m:h,void 0===l?t-d:t)))}return h.cancel=function(t){var e=(t||{}).upcomingOnly,n=void 0!==e&&e;f(),u=!n},h}const $=`${t.JD.PROTOCOL}${t.JD.IFRAME_HOSTNAME}`,M={_conf:{server:$,resizeUpdateInterval:1e3,scrollUpdateInterval:100,registeredServers:[$]},conf:{support:{"exp-ovr":!0,"exp-push":!0,"read-cookie":!0,"write-cookie":!0}},frames:{},count:0,_listen:t=>{if(M._conf.registeredServers.includes(t.origin))try{const e=JSON.parse(t.data),n=M.frames[e.sfName];switch(e.method){case"register":n.register(e);break;
1case"expand":n.expand(e);break;case"collapse":n.collapse(e);break;case"setResizeProperties":n.setResizeProperties(e);break;case"cookie":n.cookie(e)}}catch(t){(0,p.s)("error",t)}},_resize:()=>{M._geomToAllInstances()},_scroll:()=>{M._geomToAllInstances()},_geomToAllInstances:()=>{Object.entries(M.frames).forEach(([t,e])=>{e.sendData({method:"geom",geom_info:e.getGeom()})})},SF:function(t,e,n,o){return new _(t,e,n,o,M)}};var D,L,N,U;window.$sf||(window.$sf=M,window.SF=M.SF),window.addEventListener("message",M._listen),window.addEventListener("scroll",j(M._conf.scrollUpdateInterval,M._scroll)),window.addEventListener("resize",(D=M._conf.resizeUpdateInterval,L=M._resize,U=(N||{}).atBegin,j(D,L,{debounceMode:!1!==(void 0!==U&&U)})));const q=["Bytespider; [email protected]"],F="errorStorage";class H{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<this.maxLength&&(this.target=e)}encode(t){return encodeURIComponent(t)}appendValue(t,e){return this.append(this.encode(t)+"="+this.encode(e)),this}send(){return(new Image).src=this.target,this.target}}const V=t=>{window.sznIVA||(window.sznIVA={[F]:new Set}),window.sznIVA[F]||(window.sznIVA[F]=new Set),window.sznIVA[F].add(t)},G=t=>!(!window.sznIVA||!window.sznIVA[F])&&window.sznIVA[F].has(t),W=t=>null!=t&&"object"==typeof t&&"message"in t&&"stack"in t&&"string"==typeof t.message&&"string"==typeof t.stack,B=(t,e)=>{const{message:n,stack:o}=t,{scriptName:r,baseUrl:i,endpoint:s}=e,a=`${r}-${n}`;if(G(a))return;const c=(t=>"string"==typeof t?t.split("\n").map(t=>t.match(new RegExp("/[a-zA-Z0-9_\\.-]+\\.js(\\?szn_loader=1)?","gi"))).filter(Boolean):[])(o);c.splice(0,3).reduce((t,e)=>[...t,...e],[]).find(t=>~t.indexOf(`/${r}`)&&("loader-script"!==s||!~t.indexOf("szn_loader=1")))&&(new H(s,i).appendValue("msg",n).appendValue("script",r).appendValue("href",window.location.href).appendValue("referrer",document.referrer).appendValue("stack",o).send(),V(a))};var J=n(1829),K=n(9114),Q=n(6985);const X=[],Y=(t,...e)=>{if(null===(0,J.qX)())return new Promise((n,o)=>{X.push({callback:t,args:e,resolve:n,reject:o})});if("function"!=typeof t)return Promise.reject(new Error("Provided callback is not a function"));try{return Promise.resolve(t(...e))}catch(t){return Promise.reject(t)}};let Z=!1;const tt=()=>{var t;for(t=tt,Z||(window.ssspQ||(window.ssspQ=[]),window.ssspQ.push=e=>"function"!=typeof e?0:(window.ssspQ[window.ssspQ.length]=e,t(),window.ssspQ.length),Z=!0);window.ssspQ&&window.ssspQ.length;){var e;null===(e=window.ssspQ.shift())||void 0===e||e()}},et=()=>{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)}}),tt()};var nt=n(7515),ot=n(7645),rt=n(8085);const it=(t,e,n,o=!1)=>{if(null!=n&&n.pawDisable)return;const r=document.createElement("div");r.style.position="relative";const i=t.querySelector(".sssp-resizeCont");r.innerHTML+=(0,nt.U)(e,{crossOrigin:o}),null==i||i.appendChild(r);const s=(null==n?void 0:n.pawTimeout)||42;setTimeout(()=>{(0,d.fk)("showPaw",{adContainer:t})},s)},st=t=>"object"==typeof t&&null!==t&&"pawTimeout"in t&&"pawDisable"in t&&"number"==typeof t.pawTimeout&&"boolean"==typeof t.pawDisable,at=({data:t})=>{var e;const n=(0,rt.T)(t);if(!n||"add_paw"!==n.action)return;const o=(0,ot.Dt)().find(t=>{const{dsp:e,type:o,impressId:r}=t.ad;return r&&n.impressId?r===n.impressId:"SKLIK"===e&&"iframe"===o}),r=null==o?void 0:o.containerElement,i=null==o||null===(e=o.data)||void 0===e?void 0:e.options;o&&r&&null===r.querySelector("div.packa")&&o.ad.dsp&&it(r,o.ad.dsp,st(i)?i:null,Boolean(o.ad.crossorigin))},ct=(()=>{let t=0;return()=>{const e=(0,ot.Dt)(),n=e.slice(t,e.length);t=e.length,n.forEach(t=>{var e;const n=null==t?void 0:t.containerElement,o=t.ad.dsp,r=t.ad.type,i=null===(e=t.data)||void 0===e?void 0:e.options;null===(null==n?void 0:n.querySelector("div.packa"))&&"code"===r&&o&&it(n,o,st(i)?i:null,Boolean(t.ad.crossorigin))})}})(),dt=({detail:t,type:e})=>{const{adContainer:n}=t,o=n.querySelector("div.packa");if(o)switch(e){case"showPaw":o.style.visibility="visible";break;case"hidePaw":o.style.visibility="hidden"}};var lt=n(5872),ut=n(2792);const pt=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,lt.T)();if(!r)return;const i=(0,ot.lA)(n.impressId),s=null==i||null===(e=i.containerElement)||void 0===e?void 0:e.querySelector("iframe"),{protocol:a,staticServer:c}=(0,ut.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 ft=n(9773);const ht="reports_collection";let mt=!1;const gt=t=>{const e=(0,J.qX)();null!=e&&e.hit?((0,p.s)("info",`Sending browser reports / interventions (${t.length})`),t.forEach(t=>{(0,p.s)("Intervention reports item",t),e.hit("heavyAdIntervention")})):(0,p.s)("warn",`Browser reports / interventions (${t.length}) couldn't be sent. DOT.hit() missing.`)},vt=(t,e)=>{e?gt(t):window.parent.postMessage(JSON.stringify({action:ht,reports:t}),"*")};var wt=(t=!1)=>
1{if(!mt&&"ReportingObserver"in window){((t=!0)=>{mt=t})(!0);const e=new window.ReportingObserver(e=>{vt(e,t)},{types:["intervention"],buffered:!0});e.observe(),(0,p.s)("ReportingObserver registered"),window.addEventListener("pagehide",()=>{const n=e.takeRecords();vt(n,t)}),t&&window.addEventListener("message",t=>{const e=(0,rt.T)(t.data);e&&e.action===ht&&e.reports&>(e.reports)})}},yt=n(6208),bt=n(3630),At=n(1476),St=n(374),zt=n(7462),It=n(4217),_t=n(6125),Et=n(5766);const Tt="SSSP_GET_VAST_DATA",Ot="SSSP_SEND_VAST_DATA",kt="SSSP_VAST_MESSAGE_RECEIVED",Ct=["localhost","www.stream.cz","stream.cz","podcasty.seznam.cz","embed.podcasty.seznam.cz"],Rt=async(t,e)=>{try{return(0,St.w)()?((0,p.s)("info","VAST: (in TOP window) Getting vast data from TOP window (itself)"),await(0,At.A)({zones:t,opt:null!=e?e:void 0,isVastRequest:!0})):((0,p.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===kt&&(null!==r&&window.clearInterval(r),window.removeEventListener("message",s))};window.addEventListener("message",s);const a=t=>{const{name:e,payload:s,eventId:c}=t.data;e===Ot&&s&&c===i&&(null!==o&&window.clearTimeout(o),null!==r&&window.clearInterval(r),window.removeEventListener("message",a),n(s))};window.addEventListener("message",a),(0,p.s)("info","VAST: (in IFRAME) Sending vast data request to TOP window");const c=()=>window.parent.postMessage({name:Tt,zones:t,opt:e,eventId:i},"*");c(),r=window.setInterval(c,250),o=window.setTimeout(()=>{null!==r&&window.clearInterval(r),window.removeEventListener("message",a),(0,p.s)("warn","VAST: (in IFRAME) Timeout waiting for vast data from TOP window"),n(null)},5e3)}))(t,e)||await(0,At.A)({zones:t,opt:null!=e?e:void 0,isVastRequest:!0}))}catch(t){return(0,p.s)("error",`VAST: Error getting vast data from ${(0,St.w)()?"TOP WINDOW":"IFRAME"}. Error: ${t}`),null}},Pt=async(t,e)=>{const n=(t=>{if(!Array.isArray(t))return null;const e=t.filter(({zoneId:t})=>"number"==typeof t);return e.length?e:null})(t),o=(0,Et.aL)(e)?e:null;if(!n)return(0,p.s)("warn","VAST: Invalid zones passed into getVastAds: ",t),null;(0,p.s)("info","VAST: Getting vast data for valid zones: ",n,"with opt: ",o||"undefined");const r=await Rt(n,o);if(!r)return null;(0,p.s)("info","VAST: Requesting vast data with payload: ",r);const i=await(0,_t.II)(r);return(0,p.s)("info",`VAST: ${i?"Received":"Did not receive"} VAST data from server`),i};var xt=n(1437),jt=n(4114),$t=n(8485);const Mt="SSSP_GET_DATA",Dt="SSSP_SEND_DATA",Lt=["localhost","www.stream.cz","stream.cz","podcasty.seznam.cz"],Nt=t=>Object.keys(t).length?t:null,Ut=async(t,n,o)=>{const r={},i=t=>{const e=t||(0,jt.Ri)("user-flags");e&&(r.userFlags=e)};if("async"===t){var s;const t=await(0,zt.A)(),{sbr:e,uid:n,said:o,premium:a,encodedFlags:d}=t,l=null===(s=(0,c.V)())||void 0===s?void 0:s.getIdentities(),{consent:u,eid:p}=null!=l?l:{};i(d),"boolean"==typeof e&&(r.sbr=e),n&&(r.rusId=n),o&&(r.said=o),"boolean"==typeof a&&(r.premium=a),u&&(r.consentString=u.consentString),p&&(r.eid=p)}else{const t=(t=>{const n=(0,xt.z0)();return n.length?t.reduce((t,o,r)=>(0,e.A)((0,e.A)({},t),{},{[`tags-${r+1}`]:n}),{}):{}})(n);Object.assign(r,t);const{readKeywords:o}=(0,ut.zj)(),s=(0,xt.z0)();o&&s.length&&Object.assign(r,{keywords:s});const a=((t,n)=>{const o=n.filter(t=>"1"===t.target),r=["zoneId","adType","bannerid","crid","deliveryType","dsp","mediaType"];return t.reduce((t,n,i)=>{const s=o.find(t=>String(t.zoneId)===n)||{},a=r.reduce((t,e)=>(s.hasOwnProperty(e)&&void 0!==s[e]&&(t[`${e}-${i+1}`]=String(s[e])),t),{});return(0,e.A)((0,e.A)({},t),a)},{})})(n,(0,$t.oQ)());Object.assign(r,a),i()}const a={data:Nt(r),satisfied:t};return null==o||o(a),a};var qt=n(8997),Ft=n(2618),Ht=n(3675),Vt=n(8e3);const Gt=["fondzee.cz","zivotvcesku.cz","autoforum.cz"],Wt=function(){var t,e;(0,p.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,K.wv)(n):((0,K.wv)(),(0,p.s)("info","#### pageViewId:",(0,K._Q)())),wt(!0),window.addEventListener("message",at),window.addEventListener("requestpawelement",ct),window.addEventListener("hidePaw",dt),window.addEventListener("showPaw",dt),(0,St.w)()&&window.addEventListener("message",t=>{try{const e=new URL(t.origin).hostname;if(t.data.name===Mt&&Lt.includes(e)&&t.data.zoneIds){const e=e=>{(0,p.s)("info","Sending DATA to children",e),t.source.postMessage({name:Dt,payload:e},t.origin)};t.data.needs.sync&&Ut("sync",t.data.zoneIds,e),t.data.needs.async&&Ut("async",t.data.zoneIds,e)}}catch(t){}}),(0,St.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===Tt&&o&&i&&Ct.includes(e)){t.source.postMessage({name:kt},t.origin);const e=await Rt(o,r);t.source.postMessage({name:Ot,payload:e,eventId:i},t.origin)}}catch(t){(0,p.s)("error","VAST: Failed to process message from child frame")}}),(0,qt.SC)(),window.addEventListener("message",pt),et(),(0,ut.zj)().isFollowerSsp||((0,p.s)("info","### setting up utm message listener ###"),(0,bt.V)()),(async()=>{const t=Gt.includes((0,Ht.v8)(window.location.hostname));var e;if("true"===(0,Vt.Mt)("isBrowsi")||t&&(e=(0,ut.zj)().pvId)&&[...e].reduce((t,e)=>t+e.charCodeAt(0),0)%2==0){(0,ut.tn)({ab:{test_has_browsi:"1"}});
1try{await(0,Ft.k)("https://cdn.browsiprod.com/bootstrap/bootstrap.js",{async:!0,id:"browsi-tag",dataset:{pubkey:"seznam",sitekey:"d_mapping"}})}catch(t){(0,p.s)("error","Failed to load Browsi script",t)}}})()};var Bt=({withoutDOT:t}={})=>{if(!window._sspInitialized){if(window._sspInitialized=!0,(0,ft.Rj)(),(0,Q.qO)(),(0,d.Sr)(),(0,yt.Gd)()||(0,yt.s3)()||t)return(0,J.ur)(t),void Wt();(0,J.mq)().catch(p.s).finally(Wt)}},Jt=n(6108);var Kt=()=>{const t=document.querySelectorAll("div[data-szn-ssp-ad]"),e=[];t.forEach(t=>{try{const n=(0,rt.T)(t.getAttribute("data-szn-ssp-ad"));n.id=t,e.push(n)}catch(t){(0,p.s)("error",t)}}),(0,Jt.A)(e)},Qt=n(5089);var Xt=()=>{const t=(0,J.qX)();if(t){const n=(0,Q.vD)(),o=null==n?void 0:n.media;(0,p.s)("logging partnerSession hit"),t.hit("event",{d:(0,e.A)({action:"partnerSession"},o&&{utmCampaign:o})})}},Yt=n(2938),Zt=n(3684),te=n(6964),ee=n(8776),ne=n(6036),oe=n(9371);const re=(t,e,n=!0)=>{if(!(t&&t.dsp&&e&&e.insertAdjacentHTML))return void(0,p.s)("error",'invalid arguments provided to "appendPawToElement"',{ad:t,element:e});const o=(0,oe.Ku)(t,n);o&&(e.insertAdjacentHTML("beforeend",o),(0,oe.mS)(t,e,["first","last"]))};const ie=(t,n)=>{if(!(n&&n.insertAdjacentHTML))return void(0,p.s)("error",'invalid arguments provided to "appendCoopIconToElement"',{params:t,element:n});const o=JSON.stringify({a:[(0,e.A)((0,e.A)((0,e.A)({},(null==t?void 0:t.paid)&&{p:t.paid}),(null==t?void 0:t.behalf)&&{b:t.behalf}),{},{r:[2]})]}),{protocol:r,staticServer:i}=(0,ut.zj)(),s=((t,e="right",n=!1)=>{let o=[`<span style="display: ${n?"block":"none"}; height:15px; color: #808080; font-size: 8pt;" data-cy-pawinfo="seznam-reklama">KomerÄnà spolupráce</span>`,`<div class="packa-icon" style="display: block; width: 15px; height: 15px; filter: brightness(85%)"><img src="${(0,Ht.YQ)()}/coop.svg" data-cy-paw="coop" style="\n\t\twidth: 13px;\n\t\theight: 13px;\n margin: 0;\n padding: 0;\n\t"></div>`];return"left"===e&&(o=o.reverse()),`\n\t\t<div style="height:15px; margin: 5px;" class="packa">\n\t\t\t<a target="_blank" style="cursor: pointer;text-decoration: underline; text-decoration-color: #808080;display: flex;justify-content: ${"left"===e?"start":"end"};gap: 5px;align-items: center;" class="packa-anchor" href="${t}" data-dot-data='{"action": "showCoopInfoPage"}'>\n ${o.join("\n")}\n\t\t\t</a>\n\t\t</div>\n\t`})(`${r}${i}/cooperation-info#${function(t){const e=(new TextEncoder).encode(t),n=Array.from(e,t=>String.fromCodePoint(t)).join("");return btoa(n).replace(/\+/g,"-").replace(/\//g,"_")}(o).replace(/=/g,"")}`,null==t?void 0:t.align,null==t?void 0:t.disableAnimation);n.insertAdjacentHTML("afterbegin",s);const a=[];!0!==(null==t?void 0:t.disableAnimation)&&a.push("left"===(null==t?void 0:t.align)?"last":"first"),(0,oe.mS)(null,n,a)};var se=n(9926),ae=n(785),ce=()=>{const t={config:e=>Y(()=>{(0,ut.Nk)(e),(0,yt.Gd)()||(0,ee.hc)(0),t.conf=(0,ut.zj)()}),conf:(0,ut.zj)(),gamCustomCreative:(t,e)=>(0,se.A)(t,e),getAds:(t,e)=>Y(Jt.A,t,e),getVastAds:(t,e)=>Y(Pt,t,e),getAdsByTags:()=>Y(Kt),writeAd:Yt.A,served:Zt.A,getPageViewId:K._Q,setPageViewId:(t,e)=>Y(K.wv,t,e),displaySeznamAds:()=>(Xt(),(0,Q.b2)()),getSource:()=>{var t;return(null===(t=(0,Qt.xL)())||void 0===t?void 0:t.media)||null},existSessionCookie:Q.b2,setSessionCookie:t=>(0,Qt.$G)({media:t}),processAdData:(t,e)=>Y(te.A,t,e),getRenderedAds:ot.ak,getRenderedZoneIds:ot.eb,init:Bt,_getDotInstance:J.qX,updateAdContainerId:ot.Kp,_setCustomPath:ne.X,getPawHTML:oe.Ku,appendPawToElement:re,appendCoopIconToElement:ie,extendVisibilityTracking:ot.q,clearData:()=>{try{delete window.sklikData||(window.sklikData=void 0)}catch(t){window.sklikData=void 0}},getVastData:t=>Y(()=>((t=[])=>new Promise(async n=>{const o=(t,e)=>{(0,p.s)(...e,t),n(t)};try{if((0,St.w)()){var r,i;o(Nt((0,e.A)((0,e.A)({},null===(r=await Ut("sync",t))||void 0===r?void 0:r.data),null===(i=await Ut("async",t))||void 0===i?void 0:i.data)),["info","Getting DATA as TOP window"])}else{let n=null,r=null;const i={sync:!0,async:!0};let s={};const a=t=>{const{name:c,payload:d}=t.data;if(c===Dt&&(t=>{try{return!(!t.satisfied||void 0===t.data)}catch(t){return!1}})(d)){const{data:t,satisfied:c}=d;i[c]=!1,s=(0,e.A)((0,e.A)({},s),t),i.sync||i.async||(null!==n&&window.clearTimeout(n),null!==r&&window.clearInterval(r),window.removeEventListener("message",a),o(Nt(s),["info","Getting DATA as CHILD window"]))}};window.addEventListener("message",a);const c=()=>{(0,p.s)("info","Sending DATA request to TOP window"),window.parent.postMessage({name:Mt,needs:i,zoneIds:t},"*")};c(),r=window.setInterval(c,250),n=window.setTimeout(()=>{null!==r&&window.clearInterval(r),o(Nt(s),["info","Getting DATA as CHILD window (timeout - 5000ms))"])},5e3)}}catch(t){o(null,["info","Getting DATA (fallbacked to NULL)"])}}))(t)),getLandingUrl:ae.PI};return t};n.dn(ce);var de=n(4586);const le=t=>{var e;null!==(e=window.sssp)&&void 0!==e&&e.isStub&&delete window.sssp,window.sssp?(0,p.s)("info","### sssp already exists - exiting"):((0,p.s)("info","### exporting sssp object to window"),"Proxy"in window?ue(t):window.sssp=t)},ue=e=>{const n={set(e,n,o){var r,i;return e[n]=o,(0,de.K)({t:t.sg,i:-1,r:null!==(r=null===(i=top)||void 0===i||null===(i=i.location)||void 0===i?void 0:i.origin)&&void 0!==r?r:"",z:"1"}),!0}};Object.defineProperty(window,"sssp",{configurable:!0,get(){return new Proxy(e,n)},set(e){var n,o;(0,de.K)({t:t.sg,i:-1,r:null!==(n=null===(o=top)||void 0===o||null===(o=o.location)||void 0===o?void 0:o.origin)&&void 0!==n?n:"",z:"1"}
1),Object.defineProperty(window,"sssp",{value:e})}})},pe=()=>{(0,yt.h7)()?(0,p.s)("info","### variable window._sspDoNotInit is set, skipping ssp initialization"):((0,p.s)("info","### initializing sssp"),Bt())};(t=>{const{scriptName:e}=t,n=`${e}-init`;var o;G(n)||(o=window.navigator.userAgent,q.some(t=>o.includes(t))||(V(n),window.addEventListener("error",e=>((t,e)=>{W(t.error)&&B(t.error,e)})(e,t)),window.addEventListener("unhandledrejection",e=>((t,e)=>{W(t.reason)&&B(t.reason,e)})(e,t))))})({endpoint:"ssp-static",scriptName:"ssp.js"});(()=>{const t=ce();le(t),pe()})()}()}();
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.