!function(window){var sasTracker=window.sasTracker=window.sasTracker||{};window.sasTracker.que=window.sasTracker.que||[],sasTracker.settings={baseServerUrl:"https://a.slunecnice.cz",clientUiUrl:"https://slunecnice.aimatch.com",trackViewport:!0,trackAb:!0,trackConsentString:!0,trackCxense:!1,trackRubiconTarget:!1,showDivAfterLoad:!1,setSpirMetaTags:!1,spirClientID:null,positionIdentifyingParam:"iinfoArea",lazyLoadThreshold:200,passbackCustomAction:!1,cpexSpecialFormats:!1,specialFormats:{slideUp:{divId:"example",identifiers:['data-rp-size-id=\\"60\\"','data-rp-size-id=\\"85\\"'],handlerFunction:"exampleFunction"}}},sasTracker.ballParams="",sasTracker.bxParams="",sasTracker.bToDivIdMap=[],sasTracker.rr={},"IntersectionObserver"in window&&(sasTracker.lazyObserver=new IntersectionObserver(function(entries){for(var key in entries)if(entries.hasOwnProperty(key)){var entry=entries[key],divId=entry.target.id;.1<=entry.intersectionRatio&&(sasTracker.lazyLoadAd(divId),sasTracker.lazyObserver.unobserve(document.getElementById(divId)),delete sasTracker.observedLazyDivs[divId])}},{root:null,rootMargin:sasTracker.settings.lazyLoadThreshold+150+"px",threshold:.1}),sasTracker.viewObserver=new IntersectionObserver(function(entries){for(var key in entries)if(entries.hasOwnProperty(key)){var entry=entries[key],divId=entry.target.id;.5<=entry.intersectionRatio?(sasTracker.observedViewDivs[divId].visible=!0,sasTracker.observedViewDivs[divId].lastViewStarted=entry.time):sasTracker.observedViewDivs[divId].visible=!1}},{root:null,rootMargin:"0px",threshold:.5})),sasTracker.observedLazyDivs={},sasTracker.observedViewDivs={},sasTracker.settings.sendRequest=!1;var ss=sasTracker.settings,cmpTimer=null,callbackFillAdDone=null,callbackPrepareForSendRequest=null;function intervalCheckViewed(){for(var key in sasTracker.observedViewDivs)if(sasTracker.observedViewDivs.hasOwnProperty(key)){var observedDiv=sasTracker.observedViewDivs[key];if(observedDiv.visible){var now=performance.now();if(observedDiv.viewed+=now-observedDiv.lastViewStarted,observedDiv.lastViewStarted=now,1e3Requested: "+pos.req+"

Responded FCID: "+fcid+"

Link: "+ss.clientUiUrl+"/search/type/id?utf8=%E2%9C%93&q="+fcid+""}}}()},sasTracker.da=function(){!function(){var posKey,rr=sasTracker.rr;for(posKey in rr)if(rr.hasOwnProperty(posKey)){var div=document.getElementById(posKey),input=document.createElement("input");input.id=posKey+"input",input.style.cssText=" z-index: 10001; height: 30px;";var button=document.createElement("button");button.id=posKey+"button",button.style.cssText=" z-index: 10001; height: 30px;",button.setAttribute("data-input",posKey+"input"),button.setAttribute("data-divId",posKey),button.innerText="Load Ad",button.onclick=function(e){var fcidValue=document.getElementById(e.target.getAttribute("data-input")).value,divId=e.target.getAttribute("data-divId");sasTracker.rr[divId].req+="/fcid="+fcidValue,sasTracker.loadDiv(divId)};var parent=div.parentElement;parent.insertBefore(input,div),parent.insertBefore(button,div)}}()},sasTracker.que.push=function(cmd){if("function"==typeof cmd)try{cmd.call()}catch(e){console.log("Error processing command :"+e.message)}else console.log("Commands written into $$PREBID_GLOBAL$$.cmd.push must be wrapped in a function")},sasTracker.que.forEach(function(cmd){if(void 0===cmd.called)try{cmd.call(),cmd.called=!0}catch(e){console.error("Error processing command :processQueue "+e)}}),sasTracker.version="4.0 - Filip Sorf - Optimics"}(window);