1if(!Adition_Environment){var Adition_Environment=function(){var _this={};var env={ref:false,os:false,browser:false,screen_res:false,flash:false,prf:false,iframe:false,cb_initialized:false,location:false,user_agent:false};var brs=navigator.userAgent.toLowerCase();var fallback_json_parse=function(){'use strict';var at,ch,escapee={'"':'"','\\':'\\','/':'/',b:'\b',f:'\f',n:'\n',r:'\r',t:'\t'},text,error=function(m){throw{name:'SyntaxError',message:m,at:at,text:text};},next=function(c){if(c&&c!==ch)error("Expected '"+ 2c+"' instead of '"+ch+"'");ch=text.charAt(at);at+=1;return ch},number=function(){var number,string='';if(ch==='-'){string='-';next('-')}while(ch>='0'&&ch<='9'){string+=ch;next()}if(ch==='.'){string+='.';while(next()&&ch>='0'&&ch<='9')string+=ch}if(ch==='e'||ch==='E'){string+=ch;next();if(ch==='-'||ch==='+'){string+=ch;next()}while(ch>='0'&&ch<='9'){string+=ch;next()}}number=+string;if(!isFinite(number))error('Bad number');else return number},string=function(){var hex,i,string='',uffff;if(ch==='"')while(next())if(ch=== 3'"'){next();return string}else if(ch==='\\'){next();if(ch==='u'){uffff=0;for(i=0;i<4;i+=1){hex=parseInt(next(),16);if(!isFinite(hex))break;uffff=uffff*16+hex}string+=String.fromCharCode(uffff)}else if(typeof escapee[ch]==='string')string+=escapee[ch];else break}else string+=ch;error('Bad string')},white=function(){while(ch&&ch<=' ')next()},word=function(){switch(ch){case 't':next('t');next('r');next('u');next('e');return true;case 'f':next('f');next('a');next('l');next('s');next('e');return false; 4case 'n':next('n');next('u');next('l');next('l');return null}error("Unexpected '"+ch+"'")},value,array=function(){var array=[];if(ch==='['){next('[');white();if(ch===']'){next(']');return array}while(ch){array.push(value());white();if(ch===']'){next(']');return array}next(',');white()}}error('Bad array')},object=function(){var key,object={};if(ch==='{'){next('{');white();if(ch==='}'){next('}');return object}while(ch){key=string();white();next(':');if(Object.hasOwnProperty.call(object,key))error('Duplicate key "'+ 5key+'"');object[key]=value();white();if(ch==='}'){next('}');return object}next(',');white()}}error('Bad object')};value=function(){white();switch(ch){case '{':return object();case '[':return array();case '"':return string();case '-':return number();default:return ch>='0'&&ch<='9'?number():word()}};return function(source,reviver){var result;text=source;at=0;ch=' ';result=value();white();if(ch)error('Syntax error');return typeof reviver==='function'?function walk(holder,key){var k,v,value=holder[key]; 6if(value&&typeof value==='object')for(k in value)if(Object.prototype.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined)value[k]=v;else delete value[k]}return reviver.call(holder,key,value)}({'':result},''):result}}();_this.parseJSON=function(data){if(typeof data!=='string'||!data)return null;data=data.replace(/^\s+/,'');for(var i=data.length-1;i>=0;i--)if(/\S/.test(data.charAt(i))){data=data.substring(0,i+1);break}if(window.JSON&&window.JSON.parse)return window.JSON.parse(data);return fallback_json_parse(data)}; 7_this.getVersion=function(){return 3};_this.getRef=function(){if(window.adition_overwrite_location&&_this.getIframe()===1)return escape(window.adition_overwrite_location);if(env.ref===false)env.ref=escape(document.referrer);return env.ref};_this.getOS=function(){if(env.os===false){var os=-1;if(brs.search(/xbox\sseries/)!=-1){os=31}else if(brs.search(/xbox\sone/)!=-1){os=30}else if(brs.search(/playstation\s5/)!=-1){os=29}else if(brs.search(/playstation\s4/)!=-1){os=28}else if(brs.search(/windows\sphone\s10\.0/)!=-1){os=25}else if(brs.search(/windows\sphone\s8\.1/)!=-1){os=24}else if(brs.search(/windows\sphone\s8\.0/)!=-1){os=23}else if(brs.search(/xbox/)!=-1){os=22}else if(brs.search(/symbian/)!=-1){os=13}else if(brs.search(/windows\snt\s6\.2;\sarm/)!=-1){os=18}else if(brs.search(/cros/)!=-1){os=19}else if(brs.search(/windows\snt\s6\.3/)!=-1){os=16}else if(brs.search(/windows\snt\s6\.2/)!=-1){os=15}else if(brs.search(/iphone|ipad|cfnetwork/)!=-1){os=14}else if(brs.search(/android/)!=-1){os=12}else if(brs.search(/windows\sce/)!=-1){os=11}else if(brs.search(/windows\snt\s10\.0/)!=-1){os=17}else if(brs.search(/playstation/)!=-1){os=20}else if(brs.search(/nintendo/)!=-1){os=21}else if(brs.search(/blackberry/)!=-1){os=26}else if(brs.search(/nokia/)!=-1){os=27}else if(brs.search(/windows\snt\s6\.1/)!=-1){os=10}else if(brs.search(/unix/)!=-1){os=7}else if(brs.search(/linux/)!=-1){os=6}else if(brs.search(/mac\sos\sx|macintosh|mac\x5fpowerpc/)!=-1){os=5}else if(brs.search(/windows\snt\s6\.0/)!=-1){os=9}else if(brs.search(/windows\snt\s5\.2/)!=-1){os=8}else if(brs.search(/windows\snt\s5\.1/)!=-1){os=3}else if(brs.search(/windows\snt\s5\.0/)!=-1){os=2}else if(brs.search(/windows\snt\s4\.0/)!=-1){os=4}else if(brs.search(/windows\s95|windows\sme|win98|windows\s98/)!=-1){os=1};env.os=os}return env.os};_this.getBrowser=function(){if(env.browser===false){var browser=-1;if(brs.search(/samsungbrowser/)!=-1){browser=32}else if(brs.search(/spotify/)!=-1){browser=31}else if(brs.search(/fban|fb_iab/)!=-1){browser=30}else if(brs.search(/ucbrowser|ucweb/)!=-1){browser=16}
7else if(brs.search(/chromium/)!=-1){browser=17}else if(brs.search(/silk/)!=-1){browser=28}else if(brs.search(/qqbrowser/)!=-1){browser=26}else if(brs.search(/vivaldi/)!=-1){browser=23}else if(brs.search(/yabrowser/)!=-1){browser=20}else if(brs.search(/edge|edg/)!=-1){browser=15}else if(brs.search(/trident\/(7\.0)/)!=-1){browser=14}else if(brs.search(/metasr/)!=-1){browser=27}else if(brs.search(/360se|360ee/)!=-1){browser=25}else if(brs.search(/maxthon|myie/)!=-1){browser=24}else if(brs.search(/seamonkey/)!=-1){browser=18}else if(brs.search(/iceweasel/)!=-1){browser=19}else if(brs.search(/palemoon/)!=-1){browser=22}else if(brs.search(/iron/)!=-1){browser=21}else if(brs.search(/nokia/)!=-1){browser=29}else if(brs.search(/msie\s10/)!=-1){browser=13}else if(brs.search(/msie\s9/)!=-1){browser=12}else if(brs.search(/opera|OPR/)!=-1){browser=7}else if(brs.search(/gecko\//)!=-1){browser=6}else if(brs.search(/msie\s8/)!=-1){browser=10}else if(brs.search(/chrome\//)!=-1){browser=11}else if(brs.search(/konqueror|safari/)!=-1){browser=8}else if(brs.search(/msie\s7/)!=-1){browser=9}else if(brs.search(/msie\s6/)!=-1){browser=3}else if(brs.search(/msie\s4/)!=-1){browser=1}else if(brs.search(/netscape6|netscape\/(7\.\d*)/)!=-1){browser=5}else if(brs.search(/netscape4/)!=-1){browser=4}else if(brs.search(/msie\s5/)!=-1){browser=2};env.browser=browser}return env.browser};_this.getScreenRes= 8function(){if(env.screen_res===false){var width,height,screen_res=-1;var resList={"360":{"740":464},"640":{"480":1},"720":{"400":153},"768":{"1024":199},"800":{"240":465,"352":466,"480":154,"600":2},"832":{"624":159},"848":{"480":155},"852":{"480":156},"854":{"480":467},"858":{"484":158},"864":{"480":157},"960":{"540":160,"544":468,"640":162,"720":163},"964":{"544":161},"1024":{"576":164,"600":165,"640":469,"768":3,"800":472,"1024":476},"1072":{"600":166},"1080":{"1200":477},"1120":{"832":474},"1136":{"640":470},"1138":{"640":471},"1152":{"720":473,"768":167,"864":4,"870":168,"900":169},"1200":{"800":170,"900":171},"1280":{"720":172,"768":9,"800":10,"854":173,"960":7,"1024":5},"1334":{"750":475},"1360":{"768":174,"1024":179},"1366":{"768":175,"1024":180},"1376":{"768":176},"1400":{"900":177,"1050":8},"1440":{"900":11,"960":178,"1024":478,"1080":479,"1440":482},"1600":{"768":181,"900":182,"1024":183,"1200":6,"1280":481},"1680":{"1050":12},"1776":{"1000":480},"1792":{"1344":483},"1800":{"1440":487},"1856":{"1392":486},"1920":{"1080":184,"1200":13,"1280":484,"1400":185,"1440":186},"2048":{"1152":187,"1280":490,"1536":188},"2160":{"1200":489,"1440":494},"2256":{"1504":496},"2280":{"1080":485},"2304":{"1440":495,"1728":497},"2436":{"1125":491},"2538":{"1080":492},"2560":{"1080":493,"1440":190,"1600":191,"1700":500,"1800":501,"1920":503,"2048":192},"2732":{"2048":507},"2736":{"1824":505},"2800":{"2100":193},"2880":{"900":488,"1440":498,"1620":502,"1800":506},"2960":{"1440":499},"3000":{"2000":509},"3200":{"1800":508,"2048":511,"2400":513},"3240":{"2160":512},"3440":{"1440":504},"3840":{"1600":510,"2160":514,"2400":515},"4096":{"2304":516,"3072":519},"4480":{"2520":518},"4500":{"3000":520},"5120":{"2160":517,"2880":521,"3200":522,"4096":523},"6016":{"3384":524},"6400":{"4096":525,"4800":526},"6480":{"3240":527},"7680":{"4320":528,"4800":529},"8192":{"4320":530,"4608":531,"8192":533},"10240":{"4320":532},"15360":{"8640":534}};for(width in resList){if(width<screen.width)continue;for(height in resList[width]){if(height<screen.height)continue;screen_res=resList[width][height];break}break}env.screen_res=screen_res}return env.screen_res};_this.getLocation=function(){if(window.adition_overwrite_location)return escape(window.adition_overwrite_location);if(env.location==false)env.location=escape(document.location);return env.location}; 9_this.getFlashVersion=function(){if(env.flash===false){var flash='';var n=navigator;var plugin=null;if(n.plugins&&n.plugins.length)for(var ii=0;ii<n.plugins.length;ii++){if(n.plugins[ii].name.indexOf('Shockwave Flash')!=-1){plugin=n.plugins[ii];flash=plugin.description.split('Shockwave Flash ')[1];i=flash.indexOf('.');flash=flash.substr(0,i);break}}else if(window.ActiveXObject)for(var ii=20;ii>=2;ii--)try{var fl=eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash."+ii+"');");if(fl){flash=ii;break}}catch(e){}env.flash= 10flash}return env.flash};_this.isFlashBlocked=function(){var blocked=false;var is_firefox=navigator.userAgent.toLowerCase().indexOf('firefox')>-1;if(is_firefox){var plugin=navigator.plugins['Shockwave Flash'];if(!plugin)return false;var flash_version=plugin.version.split('.');if(flash_version.length===4){var mj=parseInt(flash_version[0],10),mn=parseInt(flash_version[1],10),rmj=parseInt(flash_version[2],10),rmn=parseInt(flash_version[3],10);if(mj<18||mj===18&&mn===0&&rmj===0&&rmn<=203)blocked=true}}return blocked}; 11_this.getPrf=function(cuId){var prf='';try{prf=Adition_Prfstr(cuId)}catch(e){}return prf};_this.getIframe=function(){if(env.iframe===false){var iframe=0;try{if(window.top!==window)iframe=1}catch(e){iframe=1}env.iframe=iframe}return env.iframe};_this.getUserAgent=function(){if(env.user_agent===false)env.user_agent=escape(navigator.userAgent);return env.user_agent};_this.getAllAsQueryString=function(wpId){var url=_this.getPrf(wpId);url+='&os='+_this.getBrowser();
11url+='&screen_res='+_this.getScreenRes(); 12url+='&ref='+_this.getRef();url+='&fvers='+_this.getFlashVersion();url+='&iframe='+_this.getIframe();url+='&ro='+_this.getLocation();url+='&uao='+_this.getUserAgent();return url};_this.initCB=function(uid){};_this.getYieldProbe=function(cuId){var mapped_result=adition_yieldlab[cuId];var yl_result=yl.YpResult.get(mapped_result.adslotId);yl_result.checkId=mapped_result.checkId;return yl_result};try{_this.getUserID=Adition_Delivery.getUserID}catch(e){}return _this}();function Adition_OSId(){return Adition_Environment.getOS()} 13function Adition_BrowserId(){return Adition_Environment.getBrowser()}function Adition_ResId(){return Adition_Environment.getScreenRes()}function Adition_Referrer(){return[Adition_Environment.getIframe(),Adition_Environment.getRef()]}function Adition_UserAgent(){return Adition_Environment.getUserAgent()}function Adition_Location(){return Adition_Environment.getLocation()}function Adition_Flash(){return Adition_Environment.getFlashVersion()}function Adition_isFlashBlocked(){return Adition_Environment.isFlashBlocked()} 14} 15if(window.Adition_VT_Area===undefined){window.Adition_VT_Area=new Object;(function(exports){exports.getWindowViewportSize=function(){if(window.document.compatMode){var body=window.document.compatMode=='BackCompat'?window.document.body:window.document.documentElement;return function(){return{width:body.clientWidth,height:body.clientHeight}}}else return function(){return{width:window.innerWidth,height:window.innerHeight}}}();exports.measureVisibleAreaPercentage=function(htmlElement){var viewportSize=exports.getWindowViewportSize(); 16var elementRect=htmlElement.getBoundingClientRect();var elementWidth=elementRect.right-elementRect.left;var elementHeight=elementRect.bottom-elementRect.top;var visibleWidth=Math.min(Math.max(elementRect.right,0),viewportSize.width)-Math.min(Math.max(elementRect.left,0),viewportSize.width);var visibleHeight=Math.min(Math.max(elementRect.bottom,0),viewportSize.height)-Math.min(Math.max(elementRect.top,0),viewportSize.height);var elementArea=elementWidth*elementHeight;var visibleArea=visibleWidth*visibleHeight; 17var percentage=100*visibleArea/elementArea;return Math.round(percentage)}})(window.Adition_VT_Area)}if(!Adition_VT_API)var Adition_VT_API={trackViewtime:function(config){Adition_VT_Manager.addObservedElement(config)}}; 18if(!Adition_VT_Manager){var Adition_VT_Manager=function(){var _this={};var _protocolVersion=6;var _postmessageProtocolHeadVersion=parseInt('2');var _serverProtocolPrefix=(window.location.protocol.match(/http/i)?window.location.protocol:'https:')+'//';var _vtCustomKey='vt_cust';var _fallbackServerAddress='vt.adition.com/d';var STATE={'MEASUREMENT_POSSIBLE':0,'MEASUREMENT_NOT_POSSIBLE':1,'MEASUREMENT_ELEMENT_HIDDEN':2,'MEASUREMENT_ELEMENT_OUT_OF_BOUNDS':3,'ELEMENT_INVISIBLE':1,'ELEMENT_VISIBLE':2}; 19var userActionMaxAge=6E4;var elements=[];_this.interval=false;_this.tabActiveState=true;_this.tabActiveStateDate=new Date;_this.lastUserAction=new Date;_this.userIsActive=function(){if(!_isTopWindow(window))return true;var actionOccured=new Date-_this.lastUserAction<userActionMaxAge;if(actionOccured&&_this.tabActiveState)return true;return false};_this.setMeasureInterval=function(){if(_this.interval){window.clearInterval(_this.interval);_this.interval=false}_this.interval=window.setInterval(_this.measure, 201E3)};_this.getViewportDimension=function(){if(document.compatMode){var docBody=document.compatMode=='BackCompat'?window.document.body:window.document.documentElement;var w=docBody.clientWidth;var h=docBody.clientHeight}else{var w=window.innerWidth;var h=window.innerHeight}return{width:w,height:h}};_this.measure=function(){window.clearInterval(_this.interval);_this.interval=false;for(var i=0;i<elements.length;i++)try{elements[i].periodicMeasure()}catch(e){console.log(e)}_this.setMeasureInterval()}; 21_this.trackAll=function(event){if(!event.persisted)for(var i=0;i<elements.length;i++)elements[i].closeMeasure()};_this.checkVisibility=function(obj){if(obj.currentStyle){if(obj.currentStyle.visibility=='hidden'||obj.currentStyle.display=='none'||(obj.currentStyle.overflowY=='hidden'||obj.nodeName.toLowerCase()=='iframe')&&obj.currentStyle.height=='0px'||(obj.currentStyle.overflowX=='hidden'||obj.nodeName.toLowerCase()=='iframe')&&obj.currentStyle.width=='0px')return false}else if(window.getComputedStyle(obj, 22null).getPropertyValue('visibility')=='hidden'||window.getComputedStyle(obj,null).getPropertyValue('display')=='none'||(window.getComputedStyle(obj,null).getPropertyValue('overflow-y')=='hidden'||obj.nodeName.toLowerCase()=='iframe')&&window.getComputedStyle(obj,null).getPropertyValue('height')=='0px'||(window.getComputedStyle(obj,null).getPropertyValue('overflow-x')=='hidden'||obj.nodeName.toLowerCase()=='iframe')&&window.getComputedStyle(obj,null).getPropertyValue('width')=='0px')return false;return true}; 23_this.addObservedElement=function(config){var domElement=config.nodeId;var logId=config.logId;var networkId=config.networkId;var maxViewtime=config.maxViewtime;var minChange=config.minChange;var maxTrack=config.maxTrans;var serverAddress=config.serverURI;var preFactor=config.preFactor||100;var customSurface=config.userArea;var customTime=config.userTime;var campaignId=config.campaignId;var bannerId=config.bannerId;var contentunitId=config.contentunitId;var useObserver='IntersectionObserver'in window&& 24(config.useObserver===undefined?true:config.useObserver);customSurface=customSurface||0;customTime=customTime||0;serverAddress=serverAddress||_fallbackServerAddress;for(var i=0;i<elements.length;i++)if(elements[i].lid==logId)return;if(typeof domElement=='string')domElement=document.getElementById(domElement);if(domElement&&domElement.nodeName){var flStr=Adition_Environment.getBrowser()==11||Adition_Environment.getBrowser()==6?'embed':'object';if(domElement.getElementsByTagName(flStr).length==1)domElement= 25domElement.getElementsByTagName(flStr)[0];if(!domElement.id)domElement.id=Math.random();var measurementObject={useObserver:useObserver,observer:null,serverAddress:serverAddress,lid:logId,n:networkId?networkId:0,campaignId:campaignId,bannerId:bannerId,contentunitId:contentunitId,config:config,currentArea:0,customTime:customTime,isTracking:false,initInterval:null,initCount:0,maxvt:maxViewtime?maxViewtime:60,minc:minChange?minChange:5,maxt:maxTrack?maxTrack:5,measurementState:STATE.MEASUREMENT_POSSIBLE, 26dom:domElement,state:0,initTime:false,lastMeasureTime:new Date,vt:0,vtContainer:createVTMeasurementContainer(customSurface),ma:0,suvt:0,hpos:0,vpos:0,sfac:preFactor?preFactor/100:1,surface:0,actualSurface:null,lastTrack:{vt:0,ma:0,suvt:0,hpos:0,vpos:0,time:new Date,count:0},periodicMeasure:function(){if(this.initTime==false)return;if(document.getElementById(this.dom.id)===null){_this.removeElement(this);return}this.measure();var now=new Date;if(now-this.initTime>=28E4&&this.vt>this.lastTrack.vt){this.track(); 27_this.removeElement(this)}else if(this.isTrackable()&&this.isTracking==false){this.isTracking=true;this.track()}},closeMeasure:function(){this.measure();this.track()},getElementSurface:function(){var element=document.getElementById(this.dom.id);return Adition_VT_Area.measureVisibleAreaPercentage(element)},updateCurrentArea:function(elements,observer){},measure:function(){var surface,state;if(this.useObserver)surface=this.dom.clientHeight>0?this.actualSurface:this.surface;else surface=Math.max(0,Math.min(100, 28this.getElementSurface()));state=surface>0?STATE.ELEMENT_VISIBLE:STATE.ELEMENT_INVISIBLE;this.update(state,surface*this.sfac)},measureIO:function(observer,event){var surface=Math.round(Math.max(0,Math.min(100,event.intersectionRatio.toString()*100)));this.actualSurface=surface;if(this.dom.clientHeight<1)surface=0;var state=observer.trackVisibility?event.isVisible:surface>0;this.update(state?STATE.ELEMENT_VISIBLE:STATE.ELEMENT_INVISIBLE,surface*this.sfac)},update:function(state,surface){var lastMeasureTime= 29this.lastMeasureTime;var currentTime=new Date;var timeDeltaMilliSeconds=(currentTime-lastMeasureTime)/1E3;this.lastMeasureTime=currentTime;if(this.state===STATE.ELEMENT_VISIBLE&&_this.userIsActive()){this.vt+=timeDeltaMilliSeconds;this.vtContainer.update(surface,timeDeltaMilliSeconds);this.suvt+=timeDeltaMilliSeconds*(this.surface/100)}this.state=state;this.surface=Math.round(surface);if(this.surface>this.ma)this.ma=this.surface},getSecondsSinceInit:function(){return Math.round((new Date-this.initTime)/ 301E3)},isTrackable:function(){if(this.lastTrack.count==0)return true;else if(this.vt==0||this.lastTrack.count>=this.maxt||this.lastTrack.vt>this.maxvt)return false;else if(this.lastTrack.count>1&&this.lastTrack.vt+this.minc>this.vt)return false;else if(this.vt-this.lastTrack.vt<(this.maxvt-this.lastTrack.vt)/(this.maxt-this.lastTrack.count))return false;return true},track:function(){var trackCount=this.lastTrack.count+1;this.lastTrack={vt:this.vt,ma:this.ma,suvt:Math.round(this.suvt),hpos:this.hpos, 31vpos:this.vpos,time:new Date,count:trackCount};_this.doTrack(this.lid,this.n,this.measurementState,this);this.isTracking=false},getUrl:function(){var params,vtData;params=this.getUrlParams({vt:Math.ceil(this.vt),elapsed:this.getSecondsSinceInit(),ma:this.ma,suvt:Math.round(this.suvt),h:this.hpos,v:this.vpos});vtData=this.vtContainer.getData();vtData[_vtCustomKey]=this.customTime>0&&vtData[_vtCustomKey]>=this.customTime?1:0;this.copyProperties(params,vtData);return this.getUrlByParams(params)},getUrlForFailure:function(errorCode){var params; 32if(errorCode===undefined)errorCode=this.measurementState;params=this.getUrlParams({f:errorCode});return this.getUrlByParams(params)},getUrlByParams:function(params){return this.serverAddress+'?'+this.createRequestStringByParameters(params)},getUrlParams:function(additionalParams){var params;params={lid:this.lid,n:this.n,c:this.campaignId,b:this.bannerId,cu:this.contentunitId};this.copyProperties(params,additionalParams);return params},copyProperties:function(targetObject,sourceObject){var key;for(key in sourceObject){if(!sourceObject.hasOwnProperty(key))continue;
33targetObject[key]=sourceObject[key]}},createRequestStringByParameters:function(params){var value,requestKeyValuePairs,loopKey;requestKeyValuePairs=[];for(loopKey in params){if(!params.hasOwnProperty(loopKey))continue;value=params[loopKey];if(value===undefined)continue;requestKeyValuePairs.push(loopKey+'='+value)}return requestKeyValuePairs.join('&')},init:function(){this.measurementState=STATE.MEASUREMENT_POSSIBLE;this.initCount++;if(this.dom.id!=null&&this.dom!=document.getElementById(this.dom.id))this.dom= 34document.getElementById(this.dom.id);if(Adition_BrowserId()==1||Adition_BrowserId()==2){_urlRequest(this.getUrlForFailure(STATE.MEASUREMENT_NOT_POSSIBLE));_this.removeElement(this);return true}if(this.useObserver)return this.initObserver();else return this.initPoll()},initPoll:function(){var x=0;var y=0;if(this.dom.offsetParent){var obj=this.dom;while(obj){x+=obj.offsetLeft;y+=obj.offsetTop;obj=obj.offsetParent}}if(this.dom.parentElement){var obj=this.dom;while(obj.parentElement){if(!_this.checkVisibility(obj))this.measurementState= 35STATE.MEASUREMENT_ELEMENT_HIDDEN;obj=obj.parentElement}}var viewport=_this.getViewportDimension();this.hpos=Math.round(x/viewport.width*100)>9999?9999:Math.round(x/viewport.width*100);this.vpos=Math.round(y/viewport.height*100)>9999?9999:Math.round(y/viewport.height*100);if(this.hpos<0||this.vpos<0){var viewportPosition=document.getElementById(this.dom.id).getBoundingClientRect();var elementHeight=viewportPosition.bottom-viewportPosition.top;var elementWidth=viewportPosition.right-viewportPosition.left; 36if(x<0)if(x+elementWidth<=0)this.measurementState=STATE.MEASUREMENT_ELEMENT_OUT_OF_BOUNDS;else this.hpos=0;if(y<0)if(y+elementHeight<=0)this.measurementState=STATE.MEASUREMENT_ELEMENT_OUT_OF_BOUNDS;else this.vpos=0;if(this.measurementState==STATE.MEASUREMENT_ELEMENT_OUT_OF_BOUNDS){this.hpos='';this.vpos=''}}if(this.measurementState!=STATE.MEASUREMENT_POSSIBLE)return false;this.measure();this.initTime=new Date;return true},initObserver:function(){var _this=this;var options={threshold:[],delay:100, 37trackVisibility:true};for(var i=0;i<=1;i+=0.01)options.threshold.push(i);this.observer=new IntersectionObserver(function(events,observer){_this.measureIO(observer,events[0])},options);this.observer.observe(this.dom);this.initTime=new Date;return true}};elements.push(measurementObject);if(!measurementObject.init())measurementObject.initInterval=window.setInterval(function(){if(measurementObject.init()||measurementObject.initCount>50){window.clearInterval(measurementObject.initInterval);if(measurementObject.initCount> 3850){_this.doTrack(measurementObject.lid,measurementObject.n,measurementObject.measurementState,measurementObject);_this.removeElement(measurementObject)}}},100)}else _this.trackErrorByViewtimeConfig(config,STATE.MEASUREMENT_NOT_POSSIBLE)};_this.removeElement=function(measurementObject){for(var i=0;i<elements.length;i++)if(measurementObject==elements[i])elements.splice(i,1)};_this.doTrack=function(logId,networkId,state,measurementObject){switch(state){case STATE.MEASUREMENT_ELEMENT_HIDDEN:case STATE.MEASUREMENT_ELEMENT_OUT_OF_BOUNDS:case STATE.MEASUREMENT_NOT_POSSIBLE:_urlRequest(measurementObject.getUrlForFailure()); 39break;case STATE.MEASUREMENT_POSSIBLE:_urlRequest(measurementObject.getUrl());break}};_this.trackErrorByViewtimeConfig=function(viewtimeConfig,errorState){var url;var logId=viewtimeConfig.logId;var networkId=viewtimeConfig.networkId;var serverAddress=viewtimeConfig.serverURI;var campaignId=viewtimeConfig.campaignId;var bannerId=viewtimeConfig.bannerId;var contentunitId=viewtimeConfig.contentunitId;url=serverAddress+'?lid='+logId+'&f='+errorState+'&n='+networkId;if(campaignId!==undefined)url+='&c='+ 40campaignId;if(bannerId!==undefined)url+='&b='+bannerId;if(contentunitId!==undefined)url+='&cu='+contentunitId;_urlRequest(url)};function _urlRequest(url){var img=new Image;img.src=_serverProtocolPrefix+url+'&version='+_protocolVersion}_this.postMessageHandler=function(event){var viewtimeConfig,iframes,domElement,contentWin,json,iframeListIndex;if(event.source===window||event.source===undefined)return;try{json=Adition_Environment.parseJSON(event.data)}catch(e){json=null}if(json&&json.service&&json.service== 41'Adition_VT_Manager'&&json.networkId){contentWin=_findContentWindow(event.source);if(contentWin===undefined)return;domElement=null;iframes=document.getElementsByTagName('iframe');for(iframeListIndex=0;iframeListIndex<iframes.length;iframeListIndex++)if(iframes[iframeListIndex].contentWindow===contentWin){domElement=iframes[iframeListIndex];break}viewtimeConfig=_createViewtimeConfigFromPostMessage(json);if(!viewtimeConfig.preFactor||viewtimeConfig.preFactor<=0)_this.trackErrorByViewtimeConfig(viewtimeConfig, 42STATE.MEASUREMENT_ELEMENT_OUT_OF_BOUNDS);else{json.nodeId=domElement;Adition_VT_API.trackViewtime(json)}event.source.postMessage('{"service":"Adition_VT_Manager","state":"ok","logId":"'+json.logId+'"}','*')}};function _createViewtimeConfigFromPostMessage(postMessage){var config;if(postMessage.version&&postMessage.version==_postmessageProtocolHeadVersion){config=postMessage;delete config.version}else{config={};config.service=postMessage.service;config.networkId=postMessage.networkId;config.logId=postMessage.logId; 43config.maxViewtime=postMessage.maxViewtime;config.minChange=postMessage.minChange;config.maxTrans=postMessage.maxTrack;config.preFactor=postMessage.max_surface;config.serverURI=_fallbackServerAddress}return config}function _findContentWindow(currentWindow){if(_isTopWindow(currentWindow))throw'Top window passed';while(!_isTopWindow(currentWindow.parent))currentWindow=currentWindow.parent;return currentWindow}function _isTopWindow(window){return window.top==window}function installEventListener(event, 44func,eventTarget){eventTarget=eventTarget||window;if(navigator.appVersion.indexOf('MSIE')!=-1)eventTarget.attachEvent('on'+event,func);else eventTarget.addEventListener(event,func,false)}function createVTMeasurementContainer(customSurface){var container=new Adition_VT_MeasurementContainer;container.registerItem(new Adition_VT_MeasurementItem('vt_50',50));container.registerItem(new Adition_VT_MeasurementItem('vt_60',60));container.registerItem(new Adition_VT_MeasurementItem('vt_100',100));if(customSurface> 450)container.registerItem(new Adition_VT_MeasurementItem(_vtCustomKey,customSurface));return container}function initTopWindowListeners(){var ua=function(){_this.lastUserAction=new Date};installEventListener('mousemove',ua,document);installEventListener('mousedown',ua,document);installEventListener('scroll',ua);installEventListener('resize',ua);installEventListener('scroll',_this.measure);installEventListener('resize',_this.measure);if(window.postMessage)installEventListener('message',_this.postMessageHandler); 46var tabActivityEventMap={hidden:'visibilitychange',mozHidden:'mozvisibilitychange',webkitHidden:'webkitvisibilitychange',msHidden:'msvisibilitychange'};var tabEvent=function(){for(ev in tabActivityEventMap)if(tabActivityEventMap.hasOwnProperty(ev)&&ev in document)return[ev,tabActivityEventMap[ev]];return false}();
46var tabActivityEvents=['focus','blur','focusin','focusout'];if(tabEvent)tabActivityEvents.push(tabEvent[1]);for(var i=0;i<tabActivityEvents.length;i++)installEventListener(tabActivityEvents[i], 47function(event){_this.tabActiveStateDate=new Date;if(event.type=='focus'||event.type=='focusin')_this.tabActiveState=true;else if(event.type=='blur'||event.type=='focusout')_this.tabActiveState=false;else _this.tabActiveState=document[tabEvent[0]]?false:true})}function init(){if(_isTopWindow(window))initTopWindowListeners();installEventListener('pagehide',_this.trackAll);_this.setMeasureInterval()}init();return _this}();Adition_VT_MeasurementContainer=function(){this.items=[]};Adition_VT_MeasurementContainer.prototype.registerItem= 48function(item){this.items.push(item)};Adition_VT_MeasurementContainer.prototype.update=function(surface,timeDelta){for(var i=0,item,len=this.items.length;i<len;i++){item=this.items[i];if(item.minSurface<0)continue;if(surface>=item.minSurface)item.time+=timeDelta}};Adition_VT_MeasurementContainer.prototype.getData=function(){var params={};for(var i=0,item,len=this.items.length;i<len;i++){item=this.items[i];params[item.name]=Math.ceil(item.time)}return params};Adition_VT_MeasurementItem=function(name, 49minSurface){this.name=name;this.minSurface=minSurface;this.time=0}} 50if(typeof window.Adition_Prfstr=='undefined')window.Adition_Prfstr=function(ADITION_CONTENTUNIT_ID){var yprf;try{var ypParams=Adition_Environment.getYieldProbe(ADITION_CONTENTUNIT_ID);yprf='&p[_yl_adslotId:'+ypParams.id+',_yl_checkId:'+ypParams.checkId+',_yl_price:'+ypParams.price+',_yl_advertiser:'+escape(ypParams.advertiser)+',_yl_curl:'+escape(ypParams.curl);if(ypParams.pid!==undefined)yprf+=',_yl_pid:'+escape(ypParams.pid);if(ypParams.prio!==undefined)yprf+=',_yl_prio:'+escape(ypParams.prio); 51yprf+=']'}catch(e){yprf=''}return yprf}; 52if(!Adition_PostMessageService)var Adition_PostMessageService=function(){var _this={};_this.handleRequest=function(requestString){try{var requestObject=JSON.parse(requestString)}catch(exception){return null}if(typeof requestObject.method=='string')if(typeof _this.serviceMethods[requestObject.method]=='function'){var resultObject=_this.serviceMethods[requestObject.method]();if(requestObject['response']){for(var i in requestObject['response'])if(requestObject['response'][i]=='#result#'){requestObject['response'][i]= 53resultObject;break}var answerString=JSON.stringify(requestObject['response']);return answerString}}return null};_this.serviceMethods={getLocation:function(){var object={location:window.location.href,referrer:document.referrer};return object},turnOff:function(){Adition_PostMessageService.turnOff()}};_this.serviceListener=function(event){var whiteList=[/^http[s]?:\/\/[\w\.]*t4ft\.de$/i,/^http[s]?:\/\/[\w\.]*adition\.com$/i,/^http[s]?:\/\/dmp\.theadex\.com$/i];var validOrigin=false;if(window==event.source)return null; 54for(var i=0;i<whiteList.length;i++)if(whiteList[i].test(event.origin)){validOrigin=true;break}if(validOrigin){var requestString=event.data;var answerString=_this.handleRequest(requestString);if(answerString)event.source.postMessage(answerString,event.origin)}};_this.turnOn=function(){if(window.addEventListener)window.addEventListener('message',_this.serviceListener,false);else if(window.attachEvent)window.attachEvent('onmessage',_this.serviceListener)};_this.turnOff=function(){if(window.removeEventListener)window.removeEventListener('message', 55_this.serviceListener);else window.detachEvent('onmessage',_this.serviceListener)};if(window!=top)_this.turnOff();else _this.turnOn();return _this}(); 56(function(y){function jb(a,b,c,d){function e(a){s(a,function(a){a.onRegisterAsPlugin(m,l,q)})}function f(){var b=ma.createFromLocation(a.document.location);b.isDebug('srp')&&(r=!0,w=b.getEnvParams('srp'))}function h(c){var f,d,e,g;d=new kb(a.navigator.userAgent);d.maxDetected()&&c.log('Max url length supported by browser: ',d.getMaxLength());e=na.getInstance(a,p,new t(c,'JsonPClient'));e.setUrlLengthValidator(d);d=new pa(a);f=Q.createBrowserEnvironment(b);g=new Pa;f=new lb(g,f,d);e=new mb(e,f,new t(c, 57'JsonPHandler'));m=new nb(a,d,c);m.setClient(e);return m}function g(b){b.registerRenderer('iframe',new Qa(a));b.registerRenderer('inline',new ob(a));b.registerRenderer('unfriendly_iframe',new pb(a,b))}function k(a,b){var c;a.instantInvocation=!1;c=new qb([a],b);a.instantInvocation=!0;return c}var m,l,v,q,r=!1,w={},n,p=5E3;this.getCallbackQueue=function(){return v};this.getController=function(){return m};this.getLogger=function(){return q};this.getApi=function(){return l};this.getDebugAPI=function(){return n}; 58(function(){f();q=r?'builtin'===w.logger||!a.console||!a.console.log?new rb(a):new sb(a.console):new F;m=h(q);g(m);l=new tb(m,new t(q,'srp'));c&&e(c);m.on('beforeRequest',function(b,c,f){if('undefined'!==typeof a._aut&&(a._aut.oo.optOutStatus()&&(m.setOptout(1),c.optout=1),1!==c.optout)){f.intercept();var d=function(){f.resume()},e=new Ra(a);e.defer(d,5E3);try{void 0!==c.gdpr&&a._aut.tcf.setGdpr(c.gdpr),void 0!==c.gdprConsent&&a._aut.tcf.setGdprConsent(c.gdprConsent),a._aut.accmod.set(c.accmod),a._aut.adServerDomain.setAdserverDomain(b.getAdFarm())}catch(g){}a._aut.getUserID(function(a){e.unDefer(d)&& 59d()},!0,1===c.noCookies)}});v=k(l,d);r&&(n=new ub(m,q))})()}function Ta(a,b,c){var d,e,f={};for(d in a)a.hasOwnProperty(d)&&(e=a[d],!0===b.call(c,e,d)&&(f[d]=e));return f}function n(a,b,c){for(var d in a)if(a.hasOwnProperty(d)&&!1===b.call(c,a[d],d))break}function vb(a){var b=[];n(a,function(a){0>b.indexOf(a)&&b.push(a)});return b}function C(a,b){'object'===typeof b&&n(b,function(b,d){a[d]=b});return a}function s(a,b,c){var d,e=a.length;for(d=0;d<e&&!1!==b.call(c,a[d],d);d++);}function Ua(a,b){var c; 60if('function'===typeof a.indexOf)return a.indexOf(b);c=-1;s(a,function(a,e){if(a===b)return c=e,!1});return c}function R(a,b){return'function'===typeof a.includes?a.includes(b):-1!==Ua(a,b)}function G(a,b,c){c=c||y;-1!=navigator.appVersion.indexOf('MSIE')?c.attachEvent('on'+a,b):c.addEventListener(a,b,!1)}function Va(a){function b(a,b){var e=Array((b||2)+1).join('0');return(e+a).slice(-e.length)}return b(a.getHours())+':'+b(a.getMinutes())+':'+b(a.getSeconds())+'.'+b(a.getMilliseconds(),3)}function wb(){} 61function Wa(a){var b,c;if(null===a||!(a instanceof Object))throw new S('Invalid argument type');if(0<a.length)return!1;c=a.hasOwnProperty;for(b in a)if(c.call(a,b))return!1;return!0}function ma(a){function b(a){a=a.split('|');s(a,function(a){c(a)})}function c(a){a=a.match(/^(\w+)(\(([^\)]+)\)|$)/);var b,c={};null!==a&&(void 0!==a[3]&&(b=a[3].split(','),s(b,function(a){a=a.split(':');2===a.length&&(c[a[0]]=a[1])})),e[a[1]]=c)}var d=!1,e={};this.isDebug=function(a){return d||void 0!==e[a]};this.getEnvParams= 62function(a){return void 0!==e[a]?e[a]:{}};(function(a){a=a.match(/(^#|\?|&)addebug(\[([^\]]+)\]|&|$)/);null!==a&&(a[3]?b(a[3]):d=!0)})(a)}function rb(a){function b(a,b){var d=new Date,f=Array.prototype.slice.call(b);void 0===k?g.push([a,d,f]):c(a,d,f)}function c(a,b,c){k.innerHTML+='['+a+'] ['+Va(b)+'] '+d(c,' ',0)+'<br/>';k.scrollTop=k.scrollHeight}function d(a,b,c){if(2<c)return'...';var f=[];s(a,function(a){var b=typeof a;a='object'===b?0<a.length?'['+d(a,', ',c+1)+']':0<a.nodeType?e(a):String(a): 63'function'===b?'function':a;f.push(a)});return f.join(b)}function e(a){var b,c;b=[];s(['id','src'],function(d){c=a[d];void 0!==c&&b.push(d+': '+c)});return'[node - '+b.join(' / ')+']'}function f(){k=h.createElement('pre');n({position:'fixed',bottom:'0px',left:'0px',right:'0px',background:'#eeeeee',height:'200px',margin:'0px',padding:'3px 3px 3px 10px','z-index':'1000',overflow:'scroll',border:'1px solid black'},function(a,b){k.style[b]=a});h.body.appendChild(k);s(g,function(a){c(a[0],a[1],a[2])}); 64g=void 0}this.exceptions=[];var h=a.document,g=[],k;this.logException=function(a,c,d){d=(d?d+' ':'')+'Exception: ';d=a instanceof p?d+a.toString():void 0!==a.message?d+a.message:d+a;b(c||'warn',[d]);this.exceptions.push(a)};this.log=function(){b('log',arguments)};this.warn=function(){b('warn',arguments)};h.body?f():G('load',f,a)}
64function sb(a){function b(a,b){var h=Array.prototype.slice.call(b),g=new Date;c.history.push([g,a,b]);Array.prototype.unshift.call(h,'['+Va(g)+']');d[a].apply(d,h)}var c= 65this,d=a;this.history=[];this.exceptions=[];this.logException=function(a,c,d){b(c||'warn',[(d?d+' ':'')+'Exception: '+a]);this.exceptions.push(a)};this.log=function(){b('log',arguments)};this.warn=function(){b('warn',arguments)};(function(a){var b;a.log.apply?d=a:(b=Function.prototype.bind,d={log:b.call(a.log,a),warn:b.call(a.warn,a)})})(a)}function t(a,b){function c(a){Array.prototype.unshift.call(a,b);return a}b='['+b+']';this.log=function(){a.log.apply(a,c(arguments))};this.warn=function(){a.warn.apply(a, 66c(arguments))};this.logException=function(c,e,f){f=void 0!==f?b+' '+f:b;a.logException(c,e,f)}}function F(){this.exceptions=[];this.log=function(){};this.warn=function(){};this.logException=function(a,b,c){this.exceptions.push(a)}}function kb(a){function b(a,b){return a===d&&(void 0===b||b<=c)}var c,d,e=void 0;this.validateUrl=function(a){if(void 0!==e&&a.length>e)throw ra(e,a.length);};this.maxDetected=function(){return void 0!==e};this.getMaxLength=function(){return e};(function(){var b;(b=a.match(/MSIE (\d+)\.\d+.*?(; Windows NT (\d+\.\d+);.*?(Trident\/(\d+.\d+);)?)?/))? 67(d=parseInt(b[1]),b[3]&&(c=parseFloat(b[3]))):d=void 0})();void 0!==d&&(e=b(7)||b(8)?2048:b(9,6.1)?8155:b(9)?2048:b(10,6.1)?7755:b(10)?2048:b(11,6.1)?4047:2048)}function na(a,b,c){function d(a,b,c){a=a+'?t='+c+'&'+b;l&&l.validateUrl(a);return a}function e(){var a;a=1E3*Math.round((new Date).getTime()/1E3)+Math.round(1E3*Math.random());var b,c,d,f=[];if(0==a)a='0';
67else{b=[0,1,2,3,4,5,6,7,8,9,'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','A', 68'B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','-','.','_','~'];for(d=b.length;0<a;)c=a%d,f.push(b[c]),a=(a-c)/d;a=f.reverse().join('')}return a}function f(a){var b=g[a];delete g[a];b.element&&(a=b.element,null!==a.parentNode&&a.parentNode.removeChild(a))}c=c||new F;b=b||5E3;var h=this,g={},k=a.document,m=new Xa(a),l;this.setUrlLengthValidator=function(a){l=a};this.setTimeout=function(a){b=a};this.request=function(l,q,r,w,n){var p;p=e();r={handler:r}; 69if(n&&k.body)throw sa();w=w||function(a,b){throw b;};g[p]=r;l=d(l,q,p);c.log('Url length:',l.length);r.src=l;a.setTimeout(function(){void 0!==g[p]&&(f(p),w(h,ta(p,b)))},b);n?m.loadSynchronous(l):r.element=m.loadAsynchronous(l)};this.validateRequest=function(a,b){d(a,b,e())};this.h=function(a,b){var d;if(void 0===g[b]){d=T(b);if(c){c.logException(T(b));return}throw d;}d=g[b];f(b);d.handler(a,d)}}function mb(a,b,c){function d(a,b){var d,e,m={},l=0;if('object'!==typeof a.b||1>a.b.length)throw U("Key 'b' is either no array or empty"); 70d=new xb(m,b);n(b.renderSlots,function(b,d){if('object'!==typeof a.b[l])throw U('Object expected at position b['+l+']');e=a.b[l];try{var g;if(void 0!==e.e&&void 0!==e.m)throw ua(d,e.m,e.e);if(void 0===e.w)throw I('w');if(void 0===e.h)throw I('h');if(void 0===e.c)throw I('c');g=new Ya(e.c,e.w,e.h);m[d]=g}catch(h){p.rethrowOthers(h),c.logException(h)}l++});return d}var e=this;c=c||new F;this.request=function(c,h,g,k){var m,l;g=g||function(a,b){throw b;};m=b.render(c);a.request(c.getServiceURL(),m,function(a){try{l= 71d(a,c)}catch(b){g(e,b)}h(e,l)},function(a,b){g(e,b)},k)};this.validateRequest=function(c){var d;d=c.getServiceURL();c=b.render(c);a.validateRequest(d,c)}}function nb(a,b,c){function d(a,b){var f;f=g.consentService;var l=!1;b&&(va=a,!1===wa&&g.refreshSiteContext(),D.reset());if(f.isConsentPullEnabled())try{if(l=f.invokeCallbackAsyncUnlessConsentDone(function(){d(a,!1)}),!l)return g}catch(k){return p.rethrowUnlessCode(k,V.code),c.logException(k),g}f=g.createRequestDefinition(a,!1);e(f,!1);return g} 72function e(a,b){if(void 0===t)throw xa();h('beforeRequest',[g,a],function(){t.request(a,function(a,b){try{h('onRequest',[g,b]),D.setAdserverResponse(b),f()}catch(d){p.rethrowOthers(d),c.logException(d)}},function(a,b){c.logException(b)},b)})}function f(){D.isInCompleteStage()&&h('onComplete',[g])}function h(a,b,c){var d;void 0!==c&&(d=new yb(c),d.intercept(),b.push(d));s(qa[a],function(a){a.apply(void 0,b)});d&&d.resume()}J(b,pa,'siteContextManager');c=c||new F;var g=this,k=a.document,m=void 0,l= 73new W,v=0,q=1,r=0,w=void 0,E=0,oa=void 0,Oa,u;this.renderers=new zb;this.renderEventConfig=new ya;var t=void 0,D=new Ab(this),z={},Sa=0,qa={onAdserverUrl:[],beforeRequest:[],onRequest:[],onComplete:[]},va;this.identityService=new Bb(this);this.consentService=new Cb(this);this.configureRenderSlot=function(a){void 0===z[a]&&(X(Sa+1,[0,30],'number of render slots'),Sa++,z[a]=new za(a,this.renderEventConfig));return z[a]};this.getRenderSlotConfiguration=function(a){if(void 0===z[a])throw Y(a);return z[a]}; 74this.getRenderSlotConfigurations=function(){return z};this.validateRequest=function(a){t.validateRequest(a)};var wa=!1;this.refreshSiteContext=function(){b.refreshSiteContext();return this};this.keepSiteContext=function(a){K(a,'boolean','status');wa=a;return this};this.reload=function(a){this.load(a,!1).completeRendering();return this};this.load=function(a){return d(a,!0)};this.loadNow=function(a){va=a;!1===wa&&g.refreshSiteContext();D.reset();a=g.createRequestDefinition(a,!0);e(a,!0);return this}; 75this.getExplicitCalledRenderSlotIds=function(){return va};this.getContentUnitIdForRenderSlotId=function(a){return this.getRenderSlotConfiguration(a).getDefinition().getContentunitId()};this.completeRendering=function(){D.completeRendering();f();return this};this.renderSlot=function(a,b){if(void 0===z[a])throw Y(a);D.addRequest(a,b)};this.setClient=function(a){t=a;return this};this.registerAdfarm=function(a){m=new Db(a,'https:'===k.location.protocol?'https:':'http:');h('onAdserverUrl',[m,v]);return this}; 76this.createRequestDefinition=function(a,b){var d,f,e;void 0===a?f=z:(f={},s(a,function(a){f[a]=!0}));d=new Za(this.getAdserverURL(),b);d.profiles=l.clone();d.noCookies=v;d.ipTargeting=q;d.networkId=Oa;d.optout=r;d.accmod=w;d.shb=E;d.iabContent=oa;d.dsaOptions=u;this.identityService.applyToRequestDefinition(d);this.consentService.applyToRequestDefinition(d);e={};n(z,function(a,b){if(void 0!==f[b])try{a.validate(),e[b]=a.clone()}catch(d){p.rethrowOthers(d),c.warn('Excluding render slot "'+a.domElementId+ 77'" from request: '+d)}},this);d.renderSlots=e;return d};this.getAdserverURL=function(){if(void 0===m)throw L();return m.getUrl()};this.getImageServerUrl=function(){if(void 0===m)throw L();return m.getImgSrvUrl()};this.getAdFarm=function(){if(void 0===m)throw L();return m.getUrlWithoutProtocol()};this.getWindow=function(){return a};this.setProfile=function(a,b){l.set(a,b);return this};this.getProfiles=function(){return l.clone()};this.setNetworkId=function(a){Oa=a};this.disableCookies=function(){v= 781;return this};this.disableCookiesExceptUserId=function(){v=2;return this};this.disableIpTargeting=function(){q=0;return this};this.setOptout=function(a){r=a};this.getOptout=function(){return r};this.setAccmod=function(a){w=a};this.getAccmod=function(){return w};this.setShb=function(a){E=parseInt(a);return this};this.setIabContent=function(a){oa=a;return this};this.getIabContent=function(){return oa};
78this.setDsaOptions=function(a){if(a){if('object'!=typeof a)throw H('dsaOptionsParam wrong datatype (object expected)', 79typeof a);}else return u=void 0,this;var b=['dsarequired','dsapubrender','dsadatatopubs'];u={};b.forEach(function(c){if(void 0===a[c])throw H('dsaOptionsParam missing key',c,b.join(','));if('object'!=typeof a[c])u[c]=a[c];else throw H('Invalid data type in dsaOptions['+c+'] (expected string)',typeof a[c]);});return this};this.getDsaOptions=function(){return u};this.on=function(a,b){if(!qa.hasOwnProperty(a))throw H('Unsupported event',a);qa[a].push(b)};this.registerRenderer=function(a,b){this.renderers.register(a, 80b);return this};this.getLogger=function(){return c}}function tb(a,b){var c=new x(a,this,b);this.errors=c.errors;this.instantInvocation=!0;this.__controller=a;this.events=function(){var c=new t(b,'events');return new Eb(a,new $a(a.renderEventConfig,c),c)}();this.modules=void 0;this.identityService=new Fb(a.identityService,b);this.consentService=new Gb(a.consentService,b);this.renderSlot=function(c){try{a.renderSlot(c,this.instantInvocation)}catch(e){p.rethrowOthers(e),b.logException(e)}return this}; 81c.injectMethod('configureRenderSlot',function(a,c){return new Hb(a,new t(b,c[0]))},function(a){return new za(a)});c.injectPassthroughs('registerAdfarm disableCookies disableCookiesExceptUserId disableIpTargeting completeRendering enableRendering setProfile setShb setIabContent setDsaOptions load loadNow reload refreshSiteContext keepSiteContext setNetworkId configureAsLearningTag'.split(' '));c.setDeprecated('enableRendering','completeRendering');c.setDeprecated('reload')}function ub(a,b){function c(c){a.on(c, 82function(){b.log("Event: Controller fired '"+c+"'",arguments)})}var d=a.getWindow();this.listRenderSlotContainers=function(){var b=[];n(a.getRenderSlotConfigurations(),function(a,c){b.push(d.document.getElementById(c))});return b};(function(){G('load',function(){b.log("Event: DOM fired 'body.load'")});c('beforeRequest');c('onRequest');c('onComplete')})()}function ya(a){var b;b={};this.on=function(a,d){K(d,'function','callback');b[a]=d};this.fire=function(c,d){if(void 0===b[c]){if(a)return a.fire(c, 83d)}else return b[c].apply(null,d)}}function $a(a,b){(function(c){n({onClear:Z,onPreRender:$,onFinishLoading:Aa,onPostRender:aa,onNoBanner:ba},function(d,e){c[e]=function(f){try{b.log('> '+e,[f]),a.on(d,f)}catch(h){h instanceof p&&b.logException(h)}return c}})})(this)}function Ib(a,b){(new x(a,this,b)).injectPassthroughs(['setAttribute'])}function pa(a){this.getWindowId=function(){return a.ad_wid};this.refreshSiteContext=function(){a.ad_wid=Math.round(2E9*Math.random());a.ad_count=0;return this};void 0=== 84a.ad_wid&&(a.ad_wid=Math.round(2E9*Math.random()));void 0===a.ad_count&&(a.ad_count=0)}function S(a){this.message=a;this.toString=function(){return a}}function Pa(){var a,b={},c,d=Wa,e=!1,f;this.setRequestDefinition=function(f){a=f;var k,m,l;f=[];c=!1;m=a.renderSlots;for(l in m)m.hasOwnProperty(l)&&(k=m[l].getDefinition(),k instanceof ca&&(k=k.getAttributes(),d(k)||(f.push(k),c=!0)));if(1<Object.keys(m).length){m={};if(0!==f.length){m=f[0];for(l=1;l<f.length;l++){k=f[l];var h={},q=void 0;for(q in m)m.hasOwnProperty(q)&& 85k.hasOwnProperty(q)&&m[q]===k[q]&&(h[q]=m[q]);m=h}}b=m}e=!0};this.buildRequestPart=function(){var c=[];f();c.push('nw='+a.networkId);d(b)||c.push('lt='+(new da).renderKeyValueList(b));return c.join('&')};this.buildSlotPart=function(a){var c;f();if(!(a instanceof ca))throw new S('Invalid Argument Type');c=h(a.getAttributes());d(c)&&(a=Object.keys(b).pop(),c[a]=b[a]);return(new da).renderKeyValueList(c)};this.hasLearningTag=function(){f();return c};f=function(){if(!e)throw new S('RequestDefinition is not set'); 86};var h=function(a){var c=[];n(a,function(a,d){b.hasOwnProperty(d)&&b[d]==a||(c[d]=a)});return c}}function Q(){this.userAgent=this.location=this.referrer=this.getUserID=this.browser=this.flashVersion=this.os=this.screenRes=void 0}function Xa(a,b){function c(a,b){var c;c=c='<script type="text/javascript" charset="UTF-8"!s!>!c!\x3c/script>'.replace('!s!',!1!==a?' src="'+a+'"':'').replace('!c!',b);g.write(c)}function d(a,b){var c;c=g.createElement('script');c.type='text/javascript';c.charset='utf-8'; 87c.src=a;c.async=!0;c.id='adlib_scrl_'+Math.round(1E4*Math.random());b&&(h?c.onreadystatechange=function(){var a;a=c.readyState;e(c,'readyState: '+a);'loaded'===a&&(e(c,'onLoad'),b(c))}:c.onload=function(){e(c,'onLoad');b(c)});return c}function e(a,c){b.log('Loader - '+c+':',a)}function f(a){var b;b=1E3*Math.round((new Date).getTime()/1E3)+Math.round(1E3*Math.random());return a.replace('%ADLIB:random%',b)}var h,g;this.loadSynchronous=function(a){c(f(a),'')};this.executeSynchronous=function(a){c(!1, 88a)};this.loadAsynchronous=function(b,c){var l=d(f(b),c);a.setTimeout(function(){var a;a=g.getElementsByTagName('script');if(0===a.length)throw'No SCRIPT element in page';a=a[0];a.parentNode.insertBefore(l,a);e(l,'Node injected')},0);return l};this.isMSIE789=function(){return h};b=b||new F;g=a.document;h=null!==a.navigator.userAgent.toLowerCase().match(/msie ([789])/)}function ab(){return new p("The global variable 'adition.srq' is not defined.",ab.code)}function L(){return new p('Adserver url is not set', 89L.code)}
89function ea(a){return new p('Adserver url is invalid: '+a,ea.code)}function xa(){return new p('No client instance was configured to be used by controller',xa.code)}function Y(a){return new p("Render slot '"+a+"' is not configured",Y.code)}function Ba(a){return new p("Renderer name already defined: '"+a+"'",Ba.code)}function fa(a){return new p("Undefined renderer name: '"+a+"'",fa.code)}function Ca(a,b){return new p("Mandatory argument missing: '"+a+"' (argument #"+b+')',Ca.code)}function ga(a){return new p('Slot ('+ 90a.domElementId+') is already configured',ga.code)}function H(a,b,c){return new p(a+": '"+b+"'"+(c?' expected: '+c:''),H.code)}function bb(){return new p('Adserver response is not available',bb.code)}function U(a){return new p('Invalid adserver response: '+a,U.code)}function I(a){return new p("Adserver response does not contain key '"+a+"'",I.code)}function ua(a,b,c){return new p("Adserver returned error for slot '"+a+"': "+b+' ('+c+')',ua.code)}function T(a){return new p("No response handler found for adserver response with requestId '"+ 91a+"'",T.code)}function ta(a,b){return new p("Adserver did not reply on request '"+a+"' for more than "+b+' ms',ta.code)}function sa(){return new p('JsonP synchronous request is denied. Request must be issued within HEAD element.',sa.code)}function ra(a,b){return new p("Browser's max url length is "+a+' chars. Given: '+b,ra.code)}function Da(){return new p('The domElementId is missing',Da.code)}function cb(){return new p('Controller is not ready yet to render contents',cb.code)}function Ea(a){return new p("No banner description for domElementId '"+ 92a+"'",Ea.code)}function A(a){return new p("DOM element identified by id '"+a+"' does not exist",A.code)}function Fa(a){return new p("Renderer configured for slot '"+a+"' does not support deferred rendering",Fa.code)}function Ga(a){return new p("document.write is denied for slot '"+a+"': Document is already loaded",Ga.code)}function db(a){return new p("Empty system banner for slot '"+a+"' detected",db.code)}function Ha(a){return new p("Render slot '"+a+"' has already been registered",Ha.code)}function u(a){return new p('Validation error: '+ 93a,u.code)}function V(){return new p("'Load request has been canceled by custom callback'",V.code)}function p(a,b){this.message=a;this.code=b;this.toString=function(){return a+' (error code: 0x'+b.toString(16)+')'}}function Ya(a,b,c){var d;this.bannerCode=a;this.width=b;this.height=c;this.isSystemBanner=''===a;this.codeOptions=(new Jb(a)).getOptions();this.getAPI=function(){d||(d=new Kb(this));return d};this.getOptions=function(){}}function Jb(a){var b;b=/\x3c!--\s*banner_options_q:\s*(.+?)\s*--\x3e/m; 94this.getOptions=function(){var c,d,e;e={};c=b.exec(a);null!==c&&(c=c[1].replace(/^\s+|\s+$/g,''),c=c.split('&'),s(c,function(a){d=a.split('=');2===d.length&&(e[d[0]]=d[1])}));return e}}function W(a){function b(a,b,c){var f,e;c?(c=/^[_a-zA-Z][a-zA-Z0-9_\-]{0,59}$/,f=/^[a-zA-Z0-9_.,~-]{1,255}$/,e=' or underscore'):(c=/^(_hb_)?[a-zA-Z][a-zA-Z0-9_\-]{0,59}$/,f=/^[a-zA-Z0-9_.,-]{1,255}$/,e='');e='a-z, A-Z, 0-9, underscore "_", hyphen "-". Must start with a letter'+e+'. Max length: 60';K(a,'string','key'); 95ha(a,c,'key',e);if(void 0!==b){K(b,'string','value');ha(b,f,'value','a-z, A-Z, 0-9, underscore "_", hyphen "-", dot ".", comma ",". Max length: 255');var q;f=0;for(q in d)d.hasOwnProperty(q)&&(c=d[q],f+=q.length+c.length);if(f+a.length+b.length>h)throw u('Maximum for total used characters for profile keys + values exceeded');}}function c(a,b){void 0===b?(void 0!==d[a]&&e--,delete d[a]):(void 0===d[a]&&(X(e+1,[0,f],'number of profiles'),e++),d[a]=b)}var d,e,f=100,h=12E3;this.isEmpty=function(){for(var a in d)if(d.hasOwnProperty(a))return!1; 96return!0};this.set=function(a,d){b(a,d,!1);c(a,d)};this.setInternal=function(a,d){b(a,d,!0);c(a,d)};this.get=function(a){return d[a]};this.getObject=function(){return d};this.clone=function(){return new W(d)};this.merge=function(a){n(a.getObject(),function(a,b){c(b,a)})};this.count=function(){return e};(function(){e=0;d={};void 0!==a&&n(a,function(a,b){d[b]=a;e++})})()}function Ab(a){function b(b){var c;void 0===g[b]&&(c=a.getRenderSlotConfiguration(b),c=a.renderers.get(c.getRenderer()),g[b]=c);return g[b]} 97function c(c){s(e,function(f){try{b(f).supportsDeferredRendering&&d(f,c)}
97catch(e){p.rethrowOthers(e),a.getLogger().logException(e)}})}function d(c,d){var e,g,r;if(void 0!==f.requestDefinition.renderSlots[c]&&(g=a.getRenderSlotConfiguration(c),r=g.renderEventConfig,e=f.getBannerDescriptionByElementId(c),g='iframe'==g.getRenderer()&&'1'==e.getAPI().getOptions().unfriendly_iframe_enabled?a.renderers.get('unfriendly_iframe'):b(c),d||(g.onBannerDescription(c,e,r),k[c]=!0),h&&!0===k[c]))g.onRenderingCompleted(c, 98e,r)}var e=[],f,h,g,k;this.setAdserverResponse=function(a){f=a;c()};this.completeRendering=function(){h=!0;void 0!==f&&c(!0)};this.isInCompleteStage=function(){return void 0!==f&&h};this.reset=function(){f=void 0;h=!1;g={};k={}};this.addRequest=function(a,c){if(-1!==e.indexOf(a))throw Ha(a);e.push(a);if(!b(a).supportsDeferredRendering&&(void 0===f||!c))throw Fa(a);void 0!==f&&d(a,!1)};this.reset()}function Bb(a){var b='',c=!1,d={},e='adserver.org liveramp.com criteo.com netid.de id5-sync.com pubcid.org ppid.som idfa aaid'.split(' '); 99this.setUserId=function(a){if('string'!=typeof a)throw u('Parameter "newUserId" is not a valid string. The (typeof) check returns '+typeof a);if(256<a.length)throw u('Parameter "newUserId" is too long. The max length is 256 characters, supplied string is '+a.length+' characters long');b=a};this.getUserId=function(){return b};this.markUserIdAsStable=function(){c=!0};this.isUserIdStable=function(){return c};this.setExtendedId=function(a,b){if(!R(e,a))throw ia(a);void 0===b?delete d[a]:d[a]=b;return this}; 100this.getExtendedId=function(a){if(!R(e,a))throw ia(a);return d[a]};this.getExtendedIds=function(){return C({},d)};this.optout=function(){a.setOptout(1);return this};this.clearOptout=function(){a.setOptout(0)};this.isOptout=function(){return 1===a.getOptout()};this.setAccmod=function(b){a.setAccmod(b);return this};this.clearAccmod=function(){a.setAccmod(void 0);return this};this.getAccmod=function(){return a.getAccmod()};this.applyToRequestDefinition=function(a){a.externalUID=b;a.uidStable=c?1:0;a.extendedIds= 101this.getExtendedIds()}}function Cb(a){function b(b,e){var g;h.hasBindingConsentData()?(g=h.getConsentData(),c=g.gdprApplies?1:0,d=g.tcString):(c=1,d='',a.setOptout(1));if(void 0!==f)return f(b)}var c,d,e,f,h=new Lb,g=new Mb(h);this.setGdpr=function(a){c=a;return this};this.getGdpr=function(){return c};this.setGdprPd=function(b){a.getLogger().warn('DEPRECATED: setGdprPd() is deprecated and will be removed in a future version. The gdpr_pd parameter is no longer supported.');return this};this.getGdprPd= 102function(){a.getLogger().warn('DEPRECATED: getGdprPd() is deprecated and will be removed in a future version. The gdpr_pd parameter is no longer supported.')};this.setGdprConsent=function(a){d=a;return this};this.getGdprConsent=function(){return d};this.hasGdpr=function(){return void 0!==c};this.hasGdprPd=function(){a.getLogger().warn('DEPRECATED: hasGdprPd() is deprecated and will be removed in a future version. The gdpr_pd parameter is no longer supported.');return!1};this.hasGdprConsent=function(){return void 0!== 103d};this.applyToRequestDefinition=function(a){this.hasGdpr()&&(a.gdpr=c);this.hasGdprConsent()&&(a.gdprConsent=d);return a};this.enableConsentPull=function(a,b){void 0!==a&&J(a,Function,'onCmpDoneCallback');void 0!==b&&eb(b,'bindingConsentTimeout');e=!0;f=a;0<b&&g.setTimeout(b);return this};this.isConsentPullEnabled=function(){return e};this.invokeCallbackAsyncUnlessConsentDone=function(a){return g.invokeCallbackAsyncUnlessConsentDone(a,b)}}function eb(a,b){fb(a,b);if(0>a)throw u('Parameter "'+b+' must be bigger than or equal 0'); 104}function fb(a,b){K(a,'number',b);if(a!==parseInt(a))throw u('Parameter "'+b+' must be an integer');}function X(a,b,c){fb(a,c);if(a<b[0])throw u(c+' must not be smaller than '+b[0]);if(a>b[1])throw u(c+' must not be bigger than '+b[1]);}function K(a,b,c){if(typeof a!==b)throw u('Parameter "'+c+'" must be of type "'+b+'"');}function J(a,b,c){if(!(a instanceof b))throw u('Parameter "'+c+'" is not instance of requested class');}function gb(a,b){if(void 0===a)throw u('Parameter "'+b+'" is undefined'); 105}function ha(a,b,c,d){if(!b.test(a))throw u('Parameter "'+c+'" does not match pattern "'+d+'"');}function Db(a,b){var c,d,e,f,h;this.getUrl=function(){return e+'//'+c};this.getUrlWithoutProtocol=function(){return c};this.getProto=function(){return e};this.getImgSrvUrl=function(){return'd'===h?e+'//imagesrv.adition.com':'c'===h?e+'//is.'+f:'k'===h?e+'//imagesrv-'+f:e+'//'+f};(function(){var g;g=/^(([^:\/]+:)\/\/)?(([^\/:]+)(:\d+)?)(\/)?$/.exec(a);if(null===g)throw ea(a);e=g[2]||b;c=g[3];d=g[4];g=/(\.)?(adfarm1\.adition\.com)$/.exec(d); 106if(null!==g)f=g[2],h='d';else if(g=/^as\.([^\.]+\..+)$/.exec(d),null!==g)f=g[1],h='c';else if(g=/^mpm\.([^\.]+\..+)$/.exec(d),null!==g)f=g[1],h='c';else if(g=/^(.+\..*:7777+)$/.exec(c),null!==g)f=g[1],h='l';else if(g=/^adserver-(ab-testenv-.+\.v10s.net)$/.exec(d),null!==g)f=g[1],h='k';else if(g=/^(as-jenkins-agent-service)/.exec(d),null!==g)f=g[1],h='k';else throw ea(a);})()}function yb(a){var b=0,c=!1;this.intercept=function(){b++};this.resume=function(){b--;!c&&0===b&&(a(),c=!0)}}function ca(a){var b= 107new Nb,c={};this.setAttribute=function(d,e){b.validate(d,e);a.validate(this);c[d]=e;return this};this.getAttributes=function(){return c}}function M(){var a;this.setContentunitId=function(b){a=b};this.getContentunitId=function(){return a}}function Ob(){this.getMaxSlotAttributes=function(){return 5};this.getMessageMaxAttributesExceeded=function(){return'Limit of learning tag attributes exceeded. Maximum number: 5'};this.validate=function(a){var b,c=0;a=a.getAttributes();for(b in a)a.hasOwnProperty(b)&&
108c++;if(5<c)throw u('Limit of learning tag attributes exceeded. Maximum number: 5');}}function Nb(){this.validate=function(a,b){ha(a,/^[a-z][a-z_0-9]{0,99}$/,'key','a-z, A-Z, 0-9, underscore "_", hyphen "-". Must start with a letter. Max length: 100');ha(b,/^[0-9a-z_\-/.]{1,255}$/,'value','a-z, 0-9, underscore "_", hyphen "-", dot ".",slash "/" Max length: 255')}}function Lb(a){function b(){'function'!=typeof __tcfapi?e<d?(e++,setTimeout(b,100)):f=!0:__tcfapi('addEventListener',2,c)}function c(a, 109b){a instanceof Object&&-1!==['tcloaded','useractioncomplete'].indexOf(a.eventStatus)&&(h=a)}var d=(a||1E3)/100,e=0,f=!1,h;b();this.isApiTimedOut=function(){return f};this.hasBindingConsentData=function(){return void 0!==h};this.getConsentData=function(){return h}}function Mb(a){var b=50,c=0;this.setTimeout=function(a){b=a/100;c=0};this.invokeCallbackAsyncUnlessConsentDone=function(d,e){var f;if(a.isApiTimedOut())f='NO_CMP';else if(a.hasBindingConsentData())f='OK';else{if(c<b)return c++,setTimeout(d, 110100),!1;f='TIMEOUT'}if(!1===e(f,a.getConsentData()))throw V();return!0}}function N(a,b){this.targetEl=a;this.disabled=b}function Ia(a){this.addInnerWrapper=function(b){a.targetEl.appendChild(b);return a.targetEl=b};this.disable=function(){a.disabled=!0};this.isDisabled=function(){return a.disabled}}function Pb(a){var b={moveIframeRelative:function(a,b){this.applyStyle(this.getIframe(),{position:'relative',top:a+'px',left:b+'px'})},moveIframeAbsolute:function(a,b){this.applyStyle(this.getIframe(), 111{position:'absolute',top:a+'px',left:b+'px'})},moveWrapperRelative:function(a,b){this.applyStyle(this.getWrapper(),{position:'relative',top:a+'px',left:b+'px'})},moveWrapperAbsolute:function(a,b){this.applyStyle(this.getWrapper(),{position:'absolute',top:a+'px',left:b+'px'})},move:function(a,b){this.applyStyle(this.getWrapper(),function(e){var f={left:e.offsetLeft,top:e.offsetTop};for(e=e.offsetParent;e;)f.left+=e.offsetLeft,f.top+=e.offsetTop,e=e.offsetParent;f.left=b-f.left+'px';f.top=a-f.top+'px'; 112return f}(this.getWrapper()))},getParentWindow:function(){return a.parentWindow},getParentDocument:function(){return a.parentDocument},getIframe:function(){return a.element},getWrapper:function(){return a.wrapperDiv},hide:function(){this.applyStyle(this.getIframe(),{display:'none'})},applyStyle:function(a,b){try{for(var e in b)a.style[e]=b[e]}catch(f){}},setTitle:function(b){return a.element.setAttribute('title',b)}};b.originalOffset={left:b.getIframe().style.left||0,top:b.getIframe().style.top|| 1130};return{createFIF:function(b,d,e,f){var h=new ya,g=new Qa(a.parentWindow);d=new Ya(d,e,f);g.onBannerDescription(b,d,h);g.onRenderingCompleted(b,d,h)},Inline:function(){return b},Expandable:function(a,d,e,f,h){var g={},k={},m={},l=null;b.calcDims=function(){switch(h){case 'left2right':m={clip:'rect(0 '+a+'px '+d+'px 0)'};l=l||'top-left';break;case 'right2left':m={left:'-'+(e-a)+'px',top:'0px'};l=l||'top-right';m.clip='rect(0 '+e+'px '+d+'px '+(e-a)+'px)';break;case 'top2bottom':m={clip:'rect(0 '+ 114a+'px '+d+'px 0)'};l=l||'top-right';break;case 'bottom2top':m={left:'0px',top:'-'+(f-d)+'px'};l=l||'bottom-right';m.clip='rect('+(f-d)+'px '+a+'px '+f+'px 0)';break;case 'topleft2bottomright':m={clip:'rect(0 '+a+'px '+d+'px 0)'};l=l||'top-left';break;case 'topright2bottomleft':m={left:'-'+(e-a)+'px',top:'0px'};l=l||'top-right';m.clip='rect(0 '+e+'px '+d+'px '+(e-a)+'px)';break;case 'bottomleft2topright':m={left:'0px',top:'-'+(f-d)+'px'};l=l||'bottom-left';m.clip='rect('+(f-d)+'px '+a+'px '+f+'px 0)'; 115break;case 'bottomright2topleft':m={left:'-'+(e-a)+'px',top:'-'+(f-d)+'px'},l=l||'bottom-right',m.clip='rect('+(f-d)+'px '+e+'px '+f+'px '+(e-a)+'px)'}g={clip:'rect(0 '+(e||a)+'px '+(f||d)+'px 0)'};k={clip:''+m.clip};m.position='absolute';m.width=e+'px';m.height=f+'px'};b.place=function(){this.calcDims();var a=500,c=function(){if('undefined'!=typeof b.getIframe().contentWindow.$ADP){var d=b.getIframe().contentWindow.$ADP,f;for(f in d.Registry.data)break;d.Registry.data[f].player.position=l;d.Registry.data[f].player.inject()}else 0< 116a--&&setTimeout(c,10)};c();this.applyStyle(this.getIframe(),m);this.contract()};b.expand=function(){this.applyStyle(this.getIframe(),g);b.getWrapper().style.overflow='visible'};b.contract=function(){b.getWrapper().style.overflow='hidden';this.applyStyle(this.getIframe(),k)};b.getWrapper().style.position='relative';b.getWrapper().style.width=a+'px';b.getWrapper().style.height=d+'px';b.getWrapper().style.overflow='visible';b.getWrapper().style.zIndex='30';b.place();return b},Layer:function(){b.create= 117function(a,b,e,f,h,g){var k=this.getParentDocument(),m=k.createElement('div');m.id=a;m.innerHTML=e;this.applyStyle(m,b);'string'==typeof f?'body'==f?'undefined'==typeof h?k.body.appendChild(m):'firstChild'==h?'undefined'!=typeof g&&'after'==g?k.body.insertBefore(m,k.body.firstElementChild.nextSibling):k.body.insertBefore(m,k.body.firstElementChild):'string'==typeof h?'undefined'!=typeof g&&'after'==g?k.body.insertBefore(m,k.getElementById(h).nextSibling):k.body.insertBefore(m,k.getElementById(h)): 118'undefined'!=typeof g&&'after'==g?k.body.insertBefore(m,h.nextSibling):k.body.insertBefore(m,h):'undefined'==typeof h?k.getElementById(f).appendChild(m):'firstChild'==h?'undefined'!=typeof g&&'after'==g?k.getElementById(f).insertBefore(m,k.body.firstElementChild.nextSibling):k.getElementById(f).insertBefore(m,k.body.firstElementChild):'string'==typeof h?'undefined'!=typeof g&&'after'==g?k.getElementById(f).insertBefore(m,k.getElementById(h).nextSibling):k.getElementById(f).insertBefore(m,k.getElementById(h)): 119'undefined'!=typeof g&&'after'==g?k.getElementById(f).insertBefore(m,h.nextSibling):k.getElementById(f).insertBefore(m,h):'undefined'==typeof h?f.appendChild(m):'firstChild'==h?'undefined'!=typeof g&&'after'==g?f.insertBefore(m,f.firstElementChild.nextSibling):f.insertBefore(m,f.firstElementChild):'string'==typeof h?'undefined'!=typeof g&&'after'==g?f.insertBefore(m,k.getElementById(h).nextSibling):f.insertBefore(m,k.getElementById(h)):'undefined'!=typeof g&&'after'==g?f.insertBefore(m,h.nextSibling): 120f.insertBefore(m,h);return m};return b}}}function Eb(a,b,c){function d(a,b,d){try{b.apply(a,d)}catch(e){e instanceof p&&c.logException(e)}}function e(b,e){c.log('> '+b,[e]);d(a,a.on,[b,function(){e.apply()}])}this.onPreRender=function(a){b.onPreRender(a);return this};this.onPostRender=function(a){b.onPostRender(a);return this};this.onNoBanner=function(a){b.onNoBanner(a);return this};this.onClear=function(a){b.onClear(a);return this};this.onFinishLoading=function(a){b.onFinishLoading(a);return this}; 121this.onAdserverUrl=function(a){e('onAdserverUrl',a);return this};this.beforeRequest=function(a){e('beforeRequest',a);return this};this.onRequest=function(a){e('onRequest',a);return this};this.onComplete=function(a){e('onComplete',a);return this}}function x(a,b,c){var d=this,e={},f=function(){return b};this.errors=[];this.injectPassthroughs=function(a){s(a,function(a){d.injectMethod(a)})};this.injectMethod=function(h,g,k){g=g||f;b[h]=function(){var f;a:{var l=h,v=arguments,q,r;try{r=e[l];void 0!== 122r&&(q='Deprecated call to "'+l+'"',!0!==r&&(l=r,q+=' redirected to "'+r+'"'),c.warn(q));q=l;q='> '+q;0<v.length?c.log(q,v):c.log(q);f=a[l].apply(a,v);break a}catch(n){if(p.rethrowOthers(n),d.errors.push([new Date,n]),c.logException(n),void 0!==k){f=k.apply(b,v);break a}}f=void 0}return g(f,arguments)}};this.setDeprecated=function(a,b){e[a]=b||!0}}function Hb(a,b){this.__renderSlotConfiguration=a;var c=new x(a,this,b);this.errors=c.errors;
122this.events=new $a(a.renderEventConfig,new t(b,'events'));c.injectMethod('configureAsLearningTag', 123function(a){return new Ib(a,b)});c.injectPassthroughs(['setContentunitId','setProfile','setRenderer','setXPosition','setYPosition'])}function Fb(a,b){var c={getUserId:1,getExtendedId:1,getExtendedIds:1,isUserIdStable:1,isOptout:1},d=this;this.__idService=a;(function(){var e;e=new x(a,d,new t(b,'identity_service'));n(a,function(a,b){c[b]?e.injectMethod(b,function(a){return a}):'function'===typeof a&&e.injectMethod(b)})})()}function Gb(a,b){var c={getGdpr:1,getGdprPd:1,getGdprConsent:1},d=this;(function(){var e; 124e=new x(a,d,new t(b,'consent_service'));n(a,function(a,b){c[b]?e.injectMethod(b,function(a){return a}):!a instanceof Function||e.injectMethod(b)})})()}function Qb(a,b,c,d){var e,f,h;this.createModulesManager=function(){return new Rb(a,e,f,c)};this.createModulesManagerAPI=function(){return new Sb(this.createModulesManager(),b)};this.getModuleContext=function(){return h};b=b||new F;e=new Ra(a);f=new Xa(a);h=new Tb(a,f,d)}function Ub(a,b,c){function d(b,d){var k,m;k=new t(c,d);m=b.ik;n(b.pageProfiles, 125function(c,d){e(d,c,a.profiles,m,k,R(b.rawKeys,d))});n(b.contentunitProfiles,function(c,d){f(a,d,function(a){n(c,function(c,d){e(d,c,a.profiles,m,k,R(b.rawKeys,d))})})})}function e(c,d,e,f,l,v){var q;q=e.clone();c=B.transformProfileKey(c);d=v?d:B.transformProfileValue(d);try{f?q.setInternal(c,d):q.set(c,d);var r;try{b.validateRequest(a),r=!0}catch(n){r=!1}r?(e.merge(q),B.logImportedProfile(l,c,d)):B.warnIgnoredProfile(l,c,d)}catch(E){if(E instanceof p)B.warnIgnoredProfile(l,c,d,E);else throw E;}} 126function f(a,b,c){b=parseInt(b);n(a.renderSlots,function(a){var d=a.getDefinition();d instanceof M&&d.getContentunitId()===b&&c(a)})}this.applyProfileData=function(a){n(a,function(a,b){d(a,b)})}}function Ra(a){function b(a){var b;n(c,function(c,d){if(c===a)return b=d,!1});return b}var c={},d=this;this.defer=function(b,f,h){h=h||[];f=a.setTimeout(function(){b.apply(void 0,h);d.unDefer(b)},f);c[f]=b};this.unDefer=function(d){d=b(d);return void 0!==d?(a.clearTimeout(d),delete c[d],!0):!1}}function Tb(a, 127b,c){this.window=a;this.document=a.document;this.protocol='https:'===a.document.location.protocol?'https:':'http:';this.scriptLoader=b;this.controller=c}function Rb(a,b,c,d){function e(a){m=!1;void 0!==k&&(!a.isAllFinished()||b.unDefer(e))&&k(a.getFinishedProfileData())}function f(a,b){return function(){m=!1;void 0!==a&&a(b.getAvailableProfileData())}}function h(){return g.filter(function(a){return a.isEnabled()})}var g,k,m,l=5E3;this.setLoadNowScriptReadyUrl=function(a){d=a};this.registerModule= 128function(a,b){var c;c=g.getModuleName(a);if(void 0!==c)throw Ja(c);if(void 0!==g.getModule(b))throw Ka(b);g.setModule(a,b);return this};this.configureModule=function(a){var b;b=g.getModule(a);if(void 0===b)throw ja(a);return b};this.setLoadingTimeout=function(a){l=a;return this};this.load=function(a){var c;if(m)throw ka();m=!0;c=new La(new la(h()),e);k=a;b.defer(e,l,[c]);c.isAllFinished()?e(c):c.load();return this};this.loadNow=function(b){var l;if(m)throw ka();m=!0;l=new La(new la(h()),e);l.loadNow(); 129a.adlib_mc_onLoad=f(b,l);c.isMSIE789()?c.loadSynchronous(d):c.executeSynchronous('window.adlib_mc_onLoad()');return this};this.getCurrentProfileData=function(){return(new La(g)).getAvailableProfileData()};g=new la;m=!1}function Sb(a,b){this.__container=a;(function(c){c=new x(a,c,b);c.injectPassthroughs(['setLoadingTimeout','load','loadNow']);c.injectMethod('configureModule',function(a,c){return new Vb(a,new t(b,c[0]))},function(){return new Wb})})(this)}function la(a){a=a||{};this.applyToAll=function(b){n(a, 130function(a,d){b(a,d)})};this.filter=function(b){return Ta(a,function(a,d){return b(a,d)})};this.getModuleName=function(b){var c;n(a,function(a,e){if(a===b)return c=e,!1});return c};this.getModule=function(b){return a[b]};this.setModule=function(b,c){a[c]=b};this.removeModuleByName=function(b){delete a[b]};this.isEmpty=function(){var b=!0;n(a,function(){return b=!1});return b};this.clone=function(){return new la(C({},a))}}function La(a,b){function c(a){return function(b,c){var d;!1!==b&&(d=b.getProfileData())&& 131(a[c]=d)}}var d=this,e={};this.loadNow=function(){a.applyToAll(function(a){a.loadNow()})};this.load=function(){a.applyToAll(function(c){c.load(function(h){h=a.getModuleName(c);if(void 0===h)throw ja(h);a.removeModuleByName(h);e[h]=c;void 0!==b&&a.isEmpty()&&b(d)})})};this.isAllFinished=function(){return a.isEmpty()};this.getAvailableProfileData=function(){var b;b={};a.filter(c(b));return b};
131this.getFinishedProfileData=function(){var a;a={};n(e,c(a));return a};this.iterateFinishedModules=function(a){n(e, 132a)};this.getModules=function(){return a};(function(){a.applyToAll(function(a,b){e[b]=!1})})()}function ja(a){return new p("Module not found: '"+a+"'",ja.code)}function Ka(a){return new p("Module name alreay in use: '"+a+"'",Ka.code)}function Ja(a){return new p("Module has already been registered under name: '"+a+"'",Ja.code)}function ka(){return new p('Already loading. Try later.',ka.code)}function Ma(a){return new p('Parameter "'+a+'" has not been configured.',Ma.code)}function ia(a){return new p('Invalid extended id key: '+ 133a,ia.code)}function Vb(a,b){var c={load:1,loadNow:1,getProfileData:1},d=this;this.__module=a;(function(){var e;e=new x(a,d,b);n(a,function(a,b){c[b]||'function'===typeof a&&e.injectMethod(b)})})()}function Wb(a,b){this.load=function(a){};this.loadNow=function(){};this.getProfileData=function(){};this.enable=function(){};this.isEnabled=function(){}}function Na(a,b,c,d){this.pageProfiles=a;this.contentunitProfiles=b;this.ik=!!c;this.rawKeys=d||[]}function O(a){var b=!1;a.enable=function(){b=!0;return a}; 134a.isEnabled=function(){return b}}var hb;ma.createFromLocation=function(a){return new ma(a.search||a.hash||'')};var lb=function(a,b,c){function d(){var a='w='+c.getWindowId()+'&a='+h+'&b='+g.browser+'&f='+g.flashVersion+'&o='+g.os+'&r='+g.screenRes+'&e='+g.referrer+'&ro='+g.location+'&uao='+g.userAgent;void 0!==g.getUserID&&1!==k.optout&&(a+='&userid='+g.getUserID(function(){},!0,1===k.noCookies));n(k.extendedIds,function(b,c){m.includes(c)||(a+='&userid['+c+']='+encodeURIComponent(b))});n(k.dsaOptions, 135function(b,c){a+='&'+c+'='+encodeURIComponent(b)});return a+e()}function e(){var b=[],c;0<k.noCookies&&b.push('n='+k.noCookies);0===k.ipTargeting&&b.push('i='+k.ipTargeting);k.profiles.isEmpty()||(c=new da,b.push('p='+c.renderKeyValueList(k.profiles.getObject())));k.externalUID&&(b.push('external_uid='+encodeURIComponent(k.externalUID)),b.push('uid_stable='+k.uidStable));k.optout&&b.push('optout='+k.optout);void 0!==k.accmod&&b.push('accmod='+k.accmod);a.hasLearningTag()&&b.push(a.buildRequestPart()); 136void 0!==k.gdpr&&b.push('gdpr='+k.gdpr);void 0!==k.gdprConsent&&b.push('gdpr_consent='+encodeURIComponent(k.gdprConsent));k.shb&&b.push('shb='+k.shb);k.iabContent&&b.push('iab_content='+encodeURIComponent(k.iabContent));return 0===b.length?'':'&'+b.join('&')}function f(){var b=[],c;n(k.renderSlots,function(d){var e;e=d.getDefinition();c=new da;if(e instanceof ca)e=a.buildSlotPart(e);else if(e instanceof M)e=e.getContentunitId();else throw new S('Invalid Argument');c.setSlotId(e);c.setProfiles(d.profiles.getObject()); 137c.setXpos(d.xpos);c.setYpos(d.ypos);b.push(c.renderSlotPart())});return b.join('*')}var h=1,g,k=void 0,m=['idfa','aaid'];this.render=function(b){k=b;a.setRequestDefinition(b);return'v=1&'+(d()+'&s='+f())};J(a,Pa,'learningTagQueryBuilder');J(b,Q,'browserEnvironmentObject');J(c,pa,'siteContextManager');g=b};na.getInstance=function(a,b,c){a.adition=a.adition||{};void 0===a.adition.jp&&(a.adition.jp=new na(a,b,c));return a.adition.jp};var Qa=function(a){function b(a){var b;b=h.createElement('iframe'); 138b.setAttribute('width',a.width);b.setAttribute('height',a.height);n(k,function(a,c){b.setAttribute(c,a)});6===Adition_Environment.getBrowser()?b.setAttribute('src',m):b.setAttribute('src',l);return b}function c(b,c,d){c.contentWindow.aditionFIF=!0;c.contentWindow.inDapIF=!0;c.contentWindow.adition={iframe:new Xb(b,c,d,a)}}function d(b,d,f,l,k){var h;h=e(d);c(b,d,l);G('load',k,d);b=g.split('|');h.write(b[0]+f+b[1]);v?a.setTimeout(function(){h.close()},1E3):h.close()}function e(b){/MSIE (7|8|9|10)/.test(a.navigator.appVersion)&& 139h.location.hostname!==h.domain?b.src="javascript:(function(){document.open('text/html', 'replace');document.domain='"+h.domain+"';})();":b.contentWindow.document.open('text/html','replace');return b.contentWindow.document}var f=new P(a),h=a.document,g='<!DOCTYPE html><html><head><script>window.ad_wid = window.top.ad_wid\x3c/script><style type="text/css">body{margin: 0px;}</style></head><body>|</body></html>',k={seamless:'',scrolling:'no',frameBorder:0,allowTransparency:'true'},m='javascript:(function(){return;})()', 140l='about:blank',v=/MSIE (7|8|9)/.test(a.navigator.appVersion);
140this.onBannerDescription=function(a,c,d){var e,g,l;e=h.getElementById(a);if(null===e)throw A(a);d.fire(Z,[e]);f.cleanupContainerElement(e);a=b(c);g=N.createFromBannerDescription(e,c);l=new Ia(g);d.fire($,[e,c.getAPI(),l]);g.disabled?d.fire(ba,[e]):(c=f.createWrapperDiv(),c.appendChild(a),g.targetEl.appendChild(c))};this.onRenderingCompleted=function(a,b,c){var e,g,l;e=h.getElementById(a);if(null===e)throw A(a);a=b.__renderControl;void 0!== 141a&&a.disabled||(a=e.getElementsByTagName('div')[0],g=a.getElementsByTagName('iframe')[0],l=b.getAPI(),G('message',f.createMessageHandler(g,a)),d(a,g,b.bannerCode,e,function(){c.fire(Aa,[e,l,g])}),c.fire(aa,[e,l]))};this.supportsDeferredRendering=f.supportsDeferredRendering},ob=function(a){var b=a.document;this.onBannerDescription=function(a,d,e){var f,h,g;if('complete'===b.readyState)throw Ga(a);f=b.getElementById(a);if(null===f)throw A(a);a=d.getAPI();e.fire(Z,[f]);h=N.createFromBannerDescription(f, 142d);g=new Ia(h);e.fire($,[f,a,g]);h.disabled?e.fire(ba,[f]):(b.write(d.bannerCode),e.fire(aa,[f,a]))};this.onRenderingCompleted=wb;this.supportsDeferredRendering=!1},pb=function(a,b){function c(a){var b,c;b=e.createElement('iframe');b.setAttribute('width',a.width);b.setAttribute('height',a.height);n(h,function(a,c){b.setAttribute(c,a)});c=f.split('|');b.setAttribute('name',JSON.stringify({content:c[0]+a.bannerCode+c[1]}));return b}var d=new P(a),e=a.document,f='<!DOCTYPE html><html><head><style type="text/css">body{margin: 0px;}</style></head><body>|</body></html>', 143h={scrolling:'no',frameBorder:0,allowTransparency:'true'};this.onBannerDescription=function(a,b,f){var l,h;l=e.getElementById(a);if(null===l)throw A(a);f.fire(Z,[l]);d.cleanupContainerElement(l);a=N.createFromBannerDescription(l,b);h=new Ia(a);f.fire($,[l,b.getAPI(),h]);a.disabled?f.fire(ba,[l]):(b=c(b),f=d.createWrapperDiv(),f.appendChild(b),a.targetEl.appendChild(f))};this.onRenderingCompleted=function(a,c,f){var l,h,q;l=e.getElementById(a);if(null===l)throw A(a);a=c.__renderControl;if(!(void 0!== 144a&&a.disabled)){a=l.getElementsByTagName('div')[0];h=a.getElementsByTagName('iframe')[0];q=c.getAPI();c=b.getImageServerUrl();if(!c)throw Error('Image server URL is not defined in controller');G('load',function(){f.fire(Aa,[l,q,h])},h);G('message',d.createMessageHandler(h,a));h.src=c+'/synced/uif.html';f.fire(aa,[l,q])}};this.supportsDeferredRendering=d.supportsDeferredRendering},qb=function(a,b,c){c=!!c;var d=[],e=this;this.push=function(b){d.push(b);c||b.apply(void 0,a)};this.invokeAll=function(){c= 145!1;s(d,function(b){b.apply(void 0,a)})};a=a||[];void 0!==b&&s(b,function(a){e.push(a)})},Z=0,$=1,aa=2,Aa=3,ba=4,da=function(){var a,b,c,d;this.setSlotId=function(b){a=b};this.setProfiles=function(a){b=a};this.setXpos=function(a){c=a};this.setYpos=function(a){d=a};this.renderSlotPart=function(){var e=Array(4);e[0]=a;'undefined'!==typeof b&&(e[1]=this.renderKeyValueList(b));e[2]=c;e[3]=d;return e.join('!').replace(/!+$/,'')};this.renderKeyValueList=function(a){var b=[];n(a,function(a,c){b.push(c+'('+ 146a)});return encodeURIComponent(b.join(')'))}};Q.createBrowserEnvironment=function(a){var b=new Q;b.browser=parseInt(a.getBrowser());b.flashVersion=parseInt(a.getFlashVersion())||0;b.os=parseInt(a.getOS());b.screenRes=parseInt(a.getScreenRes());b.getUserID=a.getUserID;b.referrer=a.getRef();b.location=a.getLocation();b.userAgent=a.getUserAgent();return b};ab.code=4096;L.code=4112;ea.code=4113;xa.code=4114;Y.code=4128;Ba.code=4144;fa.code=4160;Ca.code=4176;ga.code=4192;H.code=4208;bb.code=8192;U.code= 1478224;I.code=8240;ua.code=8256;T.code=8272;ta.code=8288;sa.code=8304;ra.code=8320;Da.code=12288;cb.code=12304;Ea.code=12320;A.code=12336;Fa.code=12352;Ga.code=12368;db.code=12384;Ha.code=12400;u.code=16384;V.code=20480;p.rethrowUnlessCode=function(a,b){p.rethrowOthers(a);if(a.code!==b)throw a;};p.rethrowOthers=function(a){if(!(a instanceof p))throw a;};var xb=function(a,b){this.bannerDescriptions=a||{};this.requestDefinition=b||{};this.getBannerDescriptionByElementId=function(a){if(void 0===this.bannerDescriptions[a])throw Ea(a); 148return this.bannerDescriptions[a]}},Kb=function(a){this.getBannerCode=function(){return a.bannerCode};this.getWidth=function(){return a.width};this.getHeight=function(){return a.height};this.getOptions=function(){return a.codeOptions};this.customSettings={}},zb=function(){var a={};this.register=function(b,c){var d=['name','renderer'],e=arguments,f,h=d.length;for(f=0;f<h;f++)if(void 0===e[f])throw Ca(d[f],f);if(void 0!==a[b])throw Ba(b);a[b]=c};this.unregister=function(b){if(void 0===a[b])throw fa(b); 149unset(a[b])};this.get=function(b){if(void 0===a[b])throw fa(b);return a[b]}},Za=function(a,b){this.synchronous=b||!1;
149this.getServiceURL=function(){return a+'/s'};this.renderSlots={};this.profiles=new W;this.ipTargeting=this.noCookies=void 0;this.networkId;this.iabContent=this.shb=this.gdprConsent=this.gdpr=this.accmod=this.optout=this.uidStable=this.externalUID=void 0;this.extendedIds={};this.dsaOptions={};this.clone=function(){var c,d;c={};n(this.renderSlots,function(a,b){c[b]=a.clone()});d=new Za(a, 150b);d.renderSlots=c;d.profiles=this.profiles.clone();d.noCookies=this.noCookies;d.ipTargeting=this.ipTargeting;d.shb=this.shb;d.iabContent=this.iabContent;d.extendedIds=C({},this.extendedIds);d.dsaOptions=C({},this.dsaOptions);return d};this.setNetworkId=function(a){networkId=a};this.getNetworkId=function(){return networkId}},za=function(a,b){var c;if(!a)throw Da();this.domElementId=a;this.renderer='iframe';this.ypos=this.xpos=void 0;this.configureAsLearningTag=function(){if('undefined'!==typeof c)throw ga(this); 151return c=new ca(new Ob)};this.getDefinition=function(){return c};this.setDefinition=function(a){c=a};this.profiles=new W;this.renderEventConfig=new ya(b);this.setRenderer=function(a){this.renderer=a;return this};this.getRenderer=function(){return this.renderer};this.setContentunitId=function(a){eb(a,'contentunitId');if(!(c instanceof M)&&'undefined'!==typeof c)throw ga(this);c=new M;c.setContentunitId(a);return this};this.hasProfiles=function(){return!this.profiles.isEmpty()};this.setProfile=function(a, 152b){this.profiles.set(a,b);return this};this.setXPosition=function(a){X(a,[-1E4,1E4],'X position');this.xpos=a;return this};this.setYPosition=function(a){X(a,[-1E4,1E4],'Y position');this.ypos=a;return this};this.validate=function(){gb(c,'definition');c instanceof M&&gb(c.getContentunitId())};this.clone=function(){var b;b=new za(a);s(['renderer','xpos','ypos'],function(a){b[a]=this[a]},this);b.profiles=this.profiles.clone();b.setDefinition(c);return b}},Xb=function(a,b,c,d){this.container=c;this.wrapperDiv= 153a;this.element=b;this.parentWindow=d;this.parentDocument=d.document;this.hide=function(){b.style.display='none'};this.escape=function(){if(!0!==this.isEscaped)return this.hide(),this.isEscaped=!0,this.parentDocument};this.isEscaped=!1;this.api=new Pb(this)};N.createFromBannerDescription=function(a,b){var c;c=new N(a,b.isSystemBanner);return b.__renderControl=c};var P=function(a){var b=a.document;this.cleanupContainerElement=function(a){var b=a.getElementsByTagName('iframe'),e=P.iframeMessageHandlers; 154s(b,function(a){var b=!1;try{b=!0===a.contentWindow.aditionFIF}catch(c){}!0===b&&'function'===typeof a.destroy&&a.destroy();s(e,function(b,c){if(b.iframe==a){var d=b.handler,g;g=y;-1!=navigator.appVersion.indexOf('MSIE')?g.detachEvent('onmessage',d):g.removeEventListener('message',d,!1);e.splice(c,1);return!1}})});a.innerHTML=''};this.createWrapperDiv=function(){return b.createElement('div')};this.createMessageHandler=function(a,b){var e,f=P.iframeMessageHandlers;s(f,function(b){if(b.iframe==a)return e= 155b,!1});e||(e={iframe:a,handler:new Yb(a,b)},f.push(e));return e.handler};this.supportsDeferredRendering=!0};P.iframeMessageHandlers=[];var Yb=function(a,b){function c(a,b){for(var c in b)a.style[c]=b[c]}return function(d){if(!(d.source!==a.contentWindow||!d.data||!d.data.type)){d=d.data;var e=d.type.split(':'),f=e[1];if('adition'==e[0])switch(f){case 'setIframeTitle':a.setAttribute('title',d.title);break;case 'hide':c(a,{display:'none'});break;case 'moveIframeRelative':c(a,{position:'relative',top:d.top+ 156'px',left:d.left+'px'});break;case 'moveIframeAbsolute':c(a,{position:'absolute',top:d.top+'px',left:d.left+'px'});break;case 'moveWrapperRelative':c(b,{position:'relative',top:d.top+'px',left:d.left+'px'});break;case 'moveWrapperAbsolute':c(b,{position:'absolute',top:d.top+'px',left:d.left+'px'})}}}},B={isValidKey:function(a){return a.match(/^[a-z]/i)},transformProfileKey:function(a){return String(a).replace(/[^\w\-]/g,'_')},transformProfileValue:function(a,b){var c;c=String(a).replace(/[^\w\-\.]/g, 157'_');b&&(c=c.substr(0,60));return c},logImportedProfile:function(a,b,c){a.log('Imported key "'+b+'": '+c)},warnIgnoredProfile:function(a,b,c,d){b='Ignored key "'+b+'": '+c;void 0!==d&&(b+=' (Reason: "'+d+'")');a.warn(b)}};ja.code=69632;Ka.code=69648;Ja.code=69664;ka.code=73728;Ma.code=77824;ia.code=77840;O.applyTo=function(a){new O(a)};hb=[new function(a,b,c,d){function e(a,b,c){n(a,function(a,d){var e;e=new t(b,d);e=new a(g,e,c[d]);m.registerModule(e,d)})}function f(a){return function(b,c,d){var e; 158d.intercept();e=function(e){(new Ub(c,b,a)).applyProfileData(e);d.resume()};c.synchronous?k.loadNow(e):k.load(e)}}var h,g,k,m;this.onRegisterAsPlugin=function(l,n,q){q=new t(q,'modules');h=new Qb(a,q,c+'/js/ext_loadNowReady.js',l);k=h.createModulesManagerAPI();m=k.__container;g=h.getModuleContext();e(b,q,d||{});n.modules=k;n.__controller.on('beforeRequest',f(q));n.__controller.on('onAdserverUrl',function(a){m.setLoadNowScriptReadyUrl(a.getImgSrvUrl()+'/js/ext_loadNowReady.js')})}}(y,{yieldlab:function(a, 159b,c){function d(){var b,c=!0;if(b=a.controller.getExplicitCalledRenderSlotIds())c=!1,n(b,function(b){b=a.controller.getContentUnitIdForRenderSlotId(b);void 0!==p[b]&&(c=!0)});return c}function e(){var b=[],c,d,e,g,l;d=a.controller.getExplicitCalledRenderSlotIds();n(p,function(f,l){if(d&&(g=!1,n(d,function(b){e=a.controller.getContentUnitIdForRenderSlotId(b);e==l&&(g=!0)}),!g))return;n(f,function(a){c=a.id;-1===Ua(b,c)&&b.push(c)})});l=x.baseUrl;a.controller.consentService.hasGdpr()&&(l+='&gdpr='+
160a.controller.consentService.getGdpr());a.controller.consentService.hasGdprConsent()&&(l+='&gdpr_consent='+a.controller.consentService.getGdprConsent());Wa(r)||(l+='&'+h(r));var k=a.controller.getIabContent();k&&(l+='&iab_content='+encodeURIComponent(k));k=a.controller.getProfiles().getObject();Object.keys(k).length&&(l+='&t='+encodeURIComponent(h(k)));k=a.controller.getDsaOptions();void 0!==k&&(k=Object.assign({},k),k.dsadatatopub=k.dsadatatopubs,delete k.dsadatatopubs,l+='&'+h(k));l+=f(t);l+=m(a.controller.identityService.getExtendedIds()); 161return l.replace('%YIELD:adSlots%',b.sort().join(','))}function f(a){var b='';n(a,function(a,c){var d=[];n(a,function(a,b){d.push(b+':'+a)});b+='&'+c+'='+encodeURIComponent(d.join(','))});return b}function h(a){var b=[];n(a,function(a,c){b.push(c+'='+encodeURIComponent(a))});return b.join('&')}function g(a,b){var c=a.id,d={_yl_adslotId:B.transformProfileValue(c),_yl_checkId:B.transformProfileValue(q[c])};k(d,a,'_yl_','price',!0);k(d,a,'_yl_','advertiser',!0);k(d,a,'_yl_','pid',!0);k(d,a,'_yl_','prio', 162!0);k(d,a,'_yl_','size',!0,'adsize');k(d,a,'_yl_','pvid',!0);k(d,a,'_yl_','curl',!0);k(d,a,'_yl_','format',!0,'adtype');k(d,a,'_yl_','partnershipType',!0);void 0!==a.dsa&&n(a.dsa,function(b,c){if('transparency'===c){var e=[],f=[];n(a.dsa[c],function(a){void 0!==a.domain&&void 0!==a.dsaparams&&(e.push(a.domain+'~'+a.dsaparams.join('_')),f=f.concat(a.dsaparams))});d._yl_dsatransparency=e.join('~~');d._yl_dsaparams=vb(f).join('_')}else k(d,a.dsa,'_yl_dsa',c,!0)});n(b,function(b){k(d,a,'yl_',b,!0)}); 163return d}function k(a,b,c,d,e,f){void 0===f&&(f=d);void 0!==b[f]&&(a[c+d]=B.transformProfileValue(b[f],e))}function m(a){var b,c=[],d='';x.mobileIdKeys.forEach(function(c){a[c]&&(b||(b=a[c]),delete a[c])});n(a,function(a,b){c.push([b,a].join(':'))});0<c.length&&(d+='&ids='+encodeURIComponent(c.join(',')));void 0!==b&&(d+='&yl_rtb_ifa='+encodeURIComponent(b));return d}var l,p={},q={},r={},w='pvid gp pubref pubappname pubbundlename pubstoreurl schain lat lon yl_rtb_devicetype yl_rtb_connectiontype'.split(' '), 164s=['_yl_dsatransparency'],t={},y=['sizes','floor'],x={baseUrl:a.protocol+'//ad.yieldlab.net/yp/%YIELD:adSlots%?ts=%ADLIB:random%',mobileIdKeys:['idfa','aaid']},A=function(a,b,c){a.hasOwnProperty(b)?a[b].push(c):a[b]=[c]};this.setParameter=function(a,b){if(w.includes(a))r[a]=b;else throw u('Key "'+a+'" not allowed ('+w.join(',')+')');return this};this.mapContentunit=function(a,b,c,d,e){var f={};void 0===d&&(d=[]);void 0===e&&(e={});f.id=b;f.additionalProfileFields=d;A(p,a,f);q[b]=c;n(e,function(a, 165c){if(y.includes(c))void 0===t[c]&&(t[c]={}),t[c][b]=a;else throw u('Key "'+c+'" not allowed ('+y.join(',')+')');});return this};this.load=function(b){d()?a.scriptLoader.loadAsynchronous(e(),b):b()};this.loadNow=function(){d()&&a.scriptLoader.loadSynchronous(e())};this.getProfileData=function(){var a={},c={_yl_bidder:'yieldlab',_yl_source:'clientside'},d=[],e,f,h,k,m;if(void 0===l.yl||void 0===l.yl.YpResult)b.warn("Variable 'window.yl.YpResult' is not defined!");else return h=l.yl.YpResult.getAll(), 166m=function(a){var b=null;n(h,function(c){c.id==a&&(b=c)});return b},k=function(a){var b,c=null;n(a,function(a){b=m(a.id);if(null!==b&&(null===c||b.price>c.ylResult.price))c={ylResult:b,adSlotData:a}});return c},n(p,function(b,c){e=Ta(b,function(a){return-1===d.indexOf(a.id)},this);f=k(e);null!=f&&(a[c]=g(f.ylResult,f.adSlotData.additionalProfileFields),d.push(f.ylResult.id))}),n(h,function(a,b){-1!==d.indexOf(a.id)&&delete h[b]}),r.gp&&(c._yl_gp=r.gp),new Na(c,a,!0,s)};l=a.window;C(x,c);O.applyTo(this)}, 167criteo:function(a,b,c){function d(){var a,b;a=Math.floor(99999999999*Math.random());b='netId='+encodeURIComponent(h);b+='&cookieName='+encodeURIComponent(g);b=b+('&rnd='+a)+('&varName='+encodeURIComponent(k));return m.baseUrl.replace('%CRITEO:params%',b)}function e(b){var c,d,e,f;d=a.document.cookie.split(';');c='';s(d,function(a){f=a.match(/^([^=]+)=(.+)$/);if(null!==f&&(e=f[1].replace(/^\s+|\s+$/g,''),e===b))return c=decodeURIComponent(f[2]),!1});return c}var f,h=void 0,g='cto_rtt',k='crtg_content', 168m={baseUrl:a.protocol+'//rtax.criteo.com/delivery/rta/rta.js?%CRITEO:params%'};this.setNid=function(a){h=a;return this};this.setCookieName=function(a){g=a;return this};this.setContentVariableName=function(a){k=a;return this};this.load=function(b){f[k]=e(g);a.scriptLoader.loadAsynchronous(d(),b)};this.loadNow=function(){f[k]=e(g);a.scriptLoader.loadSynchronous(d())};this.getProfileData=function(){var a,b,c;c=/^\s*([\w\-]+)\s*=\s*([\w\-.]+)\s*$/;a=f[k];if('string'===typeof a)return a=a.split(';'),b= 169{},s(a,function(a){var d;d=c.exec(a);null!==d&&(a=d[1],d=d[2],b[a]=d)}),new Na(b,{})};f=a.window;C(m,c);O.applyTo(this)},nuggad:function(a,b,c){function d(){var a;if(void 0===f)throw Ma('customer id');a='nuggn='+encodeURIComponent(f);n(m,function(b,c){a+='&'+c+'='+encodeURIComponent(b)});a+='&nuggrid='+encodeURIComponent(g);return k.baseUrl.replace('%NUGG:sub%',h).replace('%NUGG:params%',a)}var e,f,h,g,k={baseUrl:a.protocol+'//%NUGG:sub%.nuggad.net/rc?%NUGG:params%'},m={};h='eu';this.setCustomerId=
170function(a){f=a;return this};this.setSiteId=function(a){m.nuggsid=a;return this};this.setCategory=function(a){m.nuggtg=a;return this};this.setSubdomain=function(a){h=a;return this};this.load=function(b){a.scriptLoader.loadAsynchronous(d(),b)};this.loadNow=function(){a.scriptLoader.loadSynchronous(d())};this.getProfileData=function(){var a,c,d;if('object'===typeof e.nuggprof)return a={},s(e.nuggprof,function(e){'[object Array]'!==Object.prototype.toString.call(e)||2>e.length?b.warn('Result contains malformed element:', 171e):(c=e[0],d=e[1],a[c]=d)}),new Na(a,{});b.warn("Variable 'window.nuggprof' is not defined")};C(k,c);e=a.window;g=function(){var a;try{a=e.top.location.href}catch(b){a=e.location.href}return a}();O.applyTo(this)}},'http://imagesrv.adition.com')];void 0===y.adition&&(y.adition={});var ib=y.adition;ib.srq=function(a,b,c,d){b=new jb(a,b,c,d);a.adition.sr_l=b.getLogger();a.adition.sr_c=b.getController();a.adition.sr_a=b.getApi();a.adition.sr_d=b.getDebugAPI();return b.getCallbackQueue()}(y,Adition_Environment, 172hb,ib.srq)})(window);
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.