// ATM Build: 9qm-cysNT "use strict"; var adnMeta = adnMeta || {}; var adn = adn || {}; adn.calls = adn.calls || []; var pbjs = pbjs || {}; pbjs.que = pbjs.que || []; window.atm = window.atm || {}; atm.queue = atm.queue || []; atm.events = atm.events || {}; atm.data = atm.data || {}; atm.transitData; atm.browser = atm.browser || {}; atm.ads = atm.ads || {}; atm.ortb2 = atm.ortb2 || {}; atm.containers = atm.containers || {}; atm.containerFunctions = atm.containerFunctions || {}; atm.GLOBALS = atm.GLOBALS || {}; atm.haltedTags = atm.haltedTags || []; atm.adUnits = atm.adUnits || []; atm.adUnitAliases = atm.adUnitAliases || []; atm.prebid = atm.prebid || { units: [], mappedUnits: {}, aliases: [], map: {} }; atm.eventList = ['consent.change', 'consent.saved', 'event',]; try { (function (atm, adn, doc, win) { var CONTAINER_ID = 'Nq2HBZApT'; atm.containerFunctions[CONTAINER_ID] = atm.containerFunctions[CONTAINER_ID] || {} "use strict"; atm.cookie = (function () { var pairs = document.cookie.split(";"); var cookies = {}; for (var i = 0; i < pairs.length; i++) { var pair = pairs[i].split("="); cookies[(pair[0] + '').trim()] = unescape(pair.slice(1).join('=')); } return cookies; })(); atm.localStorage = (function () { var values = {}; var keys = Object.keys(localStorage); for (var i = 0; i < keys.length; i++) { try { values[keys[i]] = JSON.parse(localStorage[keys[i]]); } catch (e) { values[keys[i]] = localStorage[keys[i]]; } } return values; })(); atm.browser = window.location; atm.browser.consent = (localStorage.getItem('adn-consent') || localStorage.getItem('atm-consent')) ? JSON.parse(localStorage.getItem('adn-consent') || localStorage.getItem('atm-consent')) : { time: new Date().getTime(), tc: false, given: false, purposes: [], specialFeatures: [], vendors: [], legIntPurposes: [], adnuntiusPurposes: [], stack: false, }; atm.browser.consent.timeSinceConsent = new Date().getTime() - atm.browser.consent.time; atm.page = atm.page || {}; atm.page.meta = (function () { var metaObject = {}; var metaData = document.getElementsByTagName("meta"); var metaDataArray = [].slice.call(metaData); metaDataArray.forEach(meta => { var name = meta.name || meta.getAttribute('property') || meta.getAttribute('http-equiv'); if (name) metaObject[name] = meta.content; }); return metaObject; })(); atm.containers[CONTAINER_ID] = { "id": "Nq2HBZApT", "data": { "geo": false, "gdpr": false, "cssAdd": true, "position": "overlay", "cssOverride": true, "gdprChoiceButton": true }, "prebid": { "loadPrebidJs": false, "units": { "undefined": { "code": "Madenimitliv_930x180_skn", "bids": [ { "bidder": "omgz", "params": { "mid": 1128610 } }, { "bidder": "dentsu", "params": { "mid": 946912 } }, { "bidder": "omgz", "params": { "mid": 637687 } } ], "mediaTypes": { "banner": { "sizes": [ [ 930, 180 ], [ 1, 2 ] ] } } }, "Q0B6GwlDJ": { "code": "madenimitliv_mob1_231716", "bids": [ { "bidder": "omgz", "params": { "mid": 1128610 } }, { "bidder": "dentsu", "params": { "mid": 946913 } }, { "bidder": "omgz", "params": { "mid": 637704 } } ], "mediaTypes": { "banner": { "sizes": [ [ 320, 320 ], [ 320, 160 ], [ 320, 480 ], [ 1, 2 ] ] } } }, "6U12A4hHv": { "code": "madenimitliv_mob2_231717", "bids": [ { "bidder": "dentsu", "params": { "mid": 982958 } }, { "bidder": "omgz", "params": { "mid": 637705 } } ], "mediaTypes": { "banner": { "sizes": [ [ 320, 320 ], [ 320, 160 ], [ 320, 480 ] ] } } }, "oAXfi_eE6": { "code": "madenimitliv.dk_mob3", "bids": [ { "bidder": "dentsu", "params": { "mid": 982959 } }, { "bidder": "omgz", "params": { "mid": 637706 } } ], "mediaTypes": { "banner": { "sizes": [ [ 320, 320 ], [ 320, 160 ], [ 320, 480 ] ] } } }, "9rb-fYLtY": { "code": "madenimitliv.dk_dsk_sky1_blk", "bids": [ { "bidder": "dentsu", "params": { "mid": 982955 } }, { "bidder": "omgz", "params": { "mid": 637693 } } ], "mediaTypes": { "banner": { "sizes": [ [ 160, 600 ] ] } } }, "OdNKVtYDQ": { "code": "madenimitliv.dk_dsk_sky2_blk", "bids": [ { "bidder": "dentsu", "params": { "mid": 982956 } }, { "bidder": "omgz", "params": { "mid": 637694 } } ], "mediaTypes": { "banner": { "sizes": [ [ 160, 600 ] ] } } }, "HQCbDH6uW": { "code": "madenimitliv.dk_rec1", "bids": [ { "bidder": "dentsu", "params": { "mid": 982952 } }, { "bidder": "omgz", "params": { "mid": 637697 } } ], "mediaTypes": { "banner": { "sizes": [ [ 300, 250 ] ] } } }, "v2DMa-ThQ": { "code": "madenimitliv.dk_dsk_rec2", "bids": [ { "bidder": "dentsu", "params": { "mid": 982953 } }, { "bidder": "omgz", "params": { "mid": 637698 } } ], "mediaTypes": { "banner": { "sizes": [ [ 300, 250 ] ] } } } }, "map": {}, "analytics": false, "requester": { "system": "none" }, "aliases": [ [ "omgz", "adform" ], [ "omgz-skn", "adform" ], [ "omgz-top", "adform" ], [ "omgz-int", "adform" ], [ "dentsu", "adform" ] ] }, "tagType": "legacy", "cmp": false, "templates": false, "variables": [], "variableMap": {}, "tags": { "7OpSyjBTZ": { "purposes": [], "type": "javascriptCustom", "content": { "script": "" } } } } try { } catch (e) { throw new Error('Custom variables are not valid') } atm.containers[CONTAINER_ID].tags["7OpSyjBTZ"].content.script = function(){ window.conceptConfig = {"fetchMarginPercent":500,"renderMarginPercent":200,"mobileScaling":2,"settingsProfiles":[{"globalChanges":{},"experiments":[{"name":"experiment1","globalChanges":{"viewHeightThreshold":3,"useGoogleSRAOnFirst":true},"activateForPercent":20,"description":"Check Single architecture request "}],"name":"subpage","id":"hhrdjwi","type":"TARGETGING_MATCH","activateOnArgs":{"value":"minestronesuppe","key":"path1"},"adunitsChanges":{"def-forside_rec2":{"divIdOnPage":"cncpt-forside_rec2","id":"def-forside_rec2"},"def-forside_rec3":{"divIdOnPage":"cncpt-forside_rec3","id":"def-forside_rec3"},"def-lb2":{"divIdOnPage":"cncpt-lb2","id":"def-lb2"},"def-sidebar_rec1":{"divIdOnPage":"cncpt-sidebar_rec1","id":"def-sidebar_rec1"},"1vbtw":{"divIdOnPage":"cncpt-inconcent2","id":"1vbtw"},"def-sidebar_rec2":{"divIdOnPage":"cncpt-sidebar_rec2","id":"def-sidebar_rec2"},"def-sidebar_rec3":{"divIdOnPage":"cncpt-sidebar_rec3","id":"def-sidebar_rec3"},"b2e3o":{"divIdOnPage":"cncpt-side2","id":"b2e3o"},"def-outstream":{"divIdOnPage":"cncpt-outstream","id":"def-outstream"},"def-lb1":{"divIdOnPage":"cncpt-lb1","id":"def-lb1"},"def-sidebar_mob3":{"divIdOnPage":"cncpt-sidebar_mob3","id":"def-sidebar_mob3"},"def-forside_mob3":{"divIdOnPage":"cncpt-forside_mob3","id":"def-forside_mob3"},"def-sidebar_mob4":{"divIdOnPage":"cncpt-sidebar_mob4","id":"def-sidebar_mob4"},"def-forside_mob2":{"divIdOnPage":"cncpt-forside_mob2","id":"def-forside_mob2"},"def-sidebar_mob1":{"divIdOnPage":"cncpt-sidebar_mob1","id":"def-sidebar_mob1"},"dmxs65":{"divIdOnPage":"cncpt-side3","id":"dmxs65"},"def-sidebar_mob2":{"divIdOnPage":"cncpt-sidebar_mob2","id":"def-sidebar_mob2"},"def-rec1":{"divIdOnPage":"cncpt-rec1","id":"def-rec1"},"p0wl4w":{"divIdOnPage":"cncpt-side4","id":"p0wl4w"},"def-rec2":{"divIdOnPage":"cncpt-rec2","id":"def-rec2"},"def-rec3":{"divIdOnPage":"cncpt-rec3","id":"def-rec3"},"t1hdx":{"divIdOnPage":"cncpt-inconcent1","id":"t1hdx"},"def-mob_top":{"divIdOnPage":"cncpt-mob_top","id":"def-mob_top"},"def-dsk_top":{"divIdOnPage":"cncpt-dsk_top","id":"def-dsk_top"},"def-dsk_sidebar_rec4":{"divIdOnPage":"cncpt-dsk_sidebar_rec4","id":"def-dsk_sidebar_rec4"},"udsmv":{"divIdOnPage":"cncpt-incontent_mob1","id":"udsmv"},"lwe74u":{"divIdOnPage":"cncpt-side1","id":"lwe74u"},"def-mob4":{"divIdOnPage":"cncpt-mob4","id":"def-mob4"},"def-mob2":{"divIdOnPage":"cncpt-mob2","id":"def-mob2"},"def-mob3":{"divIdOnPage":"cncpt-mob3","id":"def-mob3"},"def-mob1":{"divIdOnPage":"cncpt-mob1","id":"def-mob1"}},"videoChanges":{}}],"bidderTargeting":[],"mobileMultiplier":2,"prebidKeyMap":[],"targetingToDMP":[],"refreshInview":0.25,"prebidTimeOut":1000,"s2sTimeout":500,"page_url":"https://madenimitliv.dk/","reportTrackingAs":"madenimitliv.dk","prebidRef":"https://cncptx.com/prebid_builds/4e0cf70b-6297-5d27-8acd-45db08b3cb1e.js","activateDentsuDMP":true,"adUnits":[{"path":"/5706918,22679220631/madenimitliv.dk_dsk_rec_side4","targeting":{},"divIdOnPage":"cncpt-side4","prebidSizes":[[300,600]],"size":[[[1025,0],[[300,600]]]],"cookieLessPath":"00000000000b7e50","rootMargin":0,"refresh":30000,"id":"p0wl4w","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"227284"},"bidder":"adf"},{"params":{"mid":"776005"},"bidder":"adf1"},{"params":{"mid":"776004"},"bidder":"adf2"},{"params":{"mid":"1394354"},"bidder":"mpm"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1580610"},"bidder":"rubicon"},{"params":{"placementId":"6046182"},"bidder":"appnexus"},{"params":{"placementId":"13694398"},"bidder":"appnexus"},{"params":{"mid":"1549152"},"bidder":"omgz-top"},{"params":{"mid":1568547},"bidder":"adf3"},{"params":{"mid":1568572},"bidder":"adf2"},{"params":{"mid":"1600264"},"bidder":"mpm_top"},{"params":{"placementId":29842391},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446745"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_dsk_rec_side3","targeting":{},"divIdOnPage":"cncpt-side3","prebidSizes":[[300,600]],"size":[[[1025,0],[[300,600]]]],"cookieLessPath":"00000000000b7e50","rootMargin":0,"refresh":30000,"id":"dmxs65","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"227284"},"bidder":"adf"},{"params":{"mid":"776005"},"bidder":"adf1"},{"params":{"mid":"776004"},"bidder":"adf2"},{"params":{"mid":"1394354"},"bidder":"mpm"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1580610"},"bidder":"rubicon"},{"params":{"placementId":"6046182"},"bidder":"appnexus"},{"params":{"placementId":"13694398"},"bidder":"appnexus"},{"params":{"mid":"1549152"},"bidder":"omgz-top"},{"params":{"mid":1568547},"bidder":"adf3"},{"params":{"mid":1568572},"bidder":"adf2"},{"params":{"placementId":29842392},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446756"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_dsk_rec_side2","targeting":{},"divIdOnPage":"cncpt-side2","prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"cookieLessPath":"00000000000b7e50","rootMargin":0,"refresh":30000,"id":"b2e3o","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"227284"},"bidder":"adf"},{"params":{"mid":"776005"},"bidder":"adf1"},{"params":{"mid":"776004"},"bidder":"adf2"},{"params":{"mid":"1394354"},"bidder":"mpm"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1580610"},"bidder":"rubicon"},{"params":{"placementId":"6046182"},"bidder":"appnexus"},{"params":{"placementId":"13694398"},"bidder":"appnexus"},{"params":{"mid":"1549152"},"bidder":"omgz-top"},{"params":{"mid":1568547},"bidder":"adf3"},{"params":{"mid":1568572},"bidder":"adf2"},{"params":{"placementId":29842393},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446766"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_dsk_rec_side1","targeting":{},"divIdOnPage":"cncpt-side1","prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"cookieLessPath":"00000000000b7e50","rootMargin":0,"refresh":30000,"id":"lwe74u","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"227284"},"bidder":"adf"},{"params":{"mid":"776005"},"bidder":"adf1"},{"params":{"mid":"776004"},"bidder":"adf2"},{"params":{"mid":"1394354"},"bidder":"mpm"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1580610"},"bidder":"rubicon"},{"params":{"placementId":"6046182"},"bidder":"appnexus"},{"params":{"placementId":"13694398"},"bidder":"appnexus"},{"params":{"mid":"1549152"},"bidder":"omgz-top"},{"params":{"mid":1568547},"bidder":"adf3"},{"params":{"mid":1568572},"bidder":"adf2"},{"params":{"placementId":29842394},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446772"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_dsk_rec_inconcent1","targeting":{},"divIdOnPage":"cncpt-inconcent1","prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"cookieLessPath":"00000000000b7e50","rootMargin":0,"refresh":30000,"id":"t1hdx","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"227284"},"bidder":"adf"},{"params":{"mid":"776005"},"bidder":"adf1"},{"params":{"mid":"776004"},"bidder":"adf2"},{"params":{"mid":"1394354"},"bidder":"mpm"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1580610"},"bidder":"rubicon"},{"params":{"placementId":"6046182"},"bidder":"appnexus"},{"params":{"placementId":"13694398"},"bidder":"appnexus"},{"params":{"mid":"1549152"},"bidder":"omgz-top"},{"params":{"mid":1568547},"bidder":"adf3"},{"params":{"mid":1568572},"bidder":"adf2"},{"params":{"placementId":29842395},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446759"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_dsk_rec_inconcent2","targeting":{},"divIdOnPage":"cncpt-inconcent2","prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"cookieLessPath":"00000000000b7e50","rootMargin":0,"refresh":30000,"id":"1vbtw","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"227284"},"bidder":"adf"},{"params":{"mid":"776005"},"bidder":"adf1"},{"params":{"mid":"776004"},"bidder":"adf2"},{"params":{"mid":"1394354"},"bidder":"mpm"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1580610"},"bidder":"rubicon"},{"params":{"placementId":"6046182"},"bidder":"appnexus"},{"params":{"placementId":"13694398"},"bidder":"appnexus"},{"params":{"mid":"1549152"},"bidder":"omgz-top"},{"params":{"mid":1568547},"bidder":"adf3"},{"params":{"mid":1568572},"bidder":"adf2"},{"params":{"placementId":29842396},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446753"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_mob1_incontent","targeting":{},"divIdOnPage":"cncpt-incontent_mob1","prebidSizes":[[320,320],[320,160],[300,250]],"size":[[[1025,0],[]],[[0,0],[[320,320],[320,160],[300,250]]]],"cookieLessPath":"00000000000b7e50","rootMargin":0,"refresh":30000,"id":"udsmv","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"227284","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"776005","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"776004","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394354","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1580610"},"bidder":"rubicon"},{"params":{"placementId":"6046182"},"bidder":"appnexus"},{"params":{"placementId":"13694398"},"bidder":"appnexus"},{"params":{"mid":"1549152","adxDomain":" adx.adform.net"},"bidder":"omgz-top"},{"params":{"mid":1568547,"adxDomain":" adx.adform.net"},"bidder":"adf3"},{"params":{"mid":1568572,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1574522","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":29842397},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446755"},"bidder":"pubmatic","disabled":false},{"params":{"zoneId":0,"networkId":11609},"bidder":"criteo"},{"params":{"mid":"1938326","adxDomain":" adx.adform.net"},"bidder":"dentsu"}]},{"path":"/5706918,22679220631/madenimitliv_dsk_top","targeting":{"format":"topscroll_dsk,fullscreen_dsk,topscroll_exp_dsk"},"divIdOnPage":"cncpt-dsk_top","prebidSizes":[[1,2]],"size":[[[927,0],[[1,2]]],[[0,0],[]]],"rootMargin":0,"refresh":0,"id":"def-dsk_top","lazyload":false,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1486908"},"bidder":"dentsu-top"},{"params":{"mid":"1128610"},"bidder":"omgz-top"},{"params":{"mid":1568533},"bidder":"adf3"},{"params":{"mid":"1575070"},"bidder":"admium-top"},{"params":{"placementId":"29452296"},"bidder":"msupply-top"},{"params":{"placementId":29842398},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446760"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv_mob_top","targeting":{"format":"topscroll_mob,fullscreen_mob,topscroll_exp_mob"},"divIdOnPage":"cncpt-mob_top","prebidSizes":[[1,2],[300,220]],"size":[[[927,0],[]],[[0,0],[[1,2],[300,220]]]],"rootMargin":0,"refresh":0,"id":"def-mob_top","lazyload":false,"excluserTimeout":200,"prebidBid":[{"params":{"placementId":"24074936"},"bidder":"mss_mob_top"},{"params":{"mid":"1488681"},"bidder":"dentsu-top"},{"params":{"mid":"1549152"},"bidder":"omgz-top"},{"params":{"mid":1568550},"bidder":"adf3"},{"params":{"mid":"1592832"},"bidder":"mpm_top"},{"params":{"mid":"1575104"},"bidder":"admium-top"},{"params":{"placementId":"29449565"},"bidder":"msupply-top"},{"params":{"placementId":29842399},"bidder":"appnexus","disabled":false},{"params":{"mid":1786534},"bidder":"adf2"},{"params":{"publisherId":"158847","adSlot":"5446744"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_dsk_lb2","targeting":{"format":"double_interscroll_dsk,interscroll_dsk"},"divIdOnPage":"cncpt-lb2","prebidSizes":[[930,180],[930,600]],"size":[[[1024,0],[[930,180],[930,600]]]],"cookieLessPath":"00000000000b7e48","rootMargin":0,"refresh":0,"id":"def-lb2","lazyload":true,"dependencies":[],"prebidBid":[{"params":{"placementId":"24074932"},"bidder":"mss_dis"},{"params":{"mid":"1394343","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"mid":1568532,"adxDomain":" adx.adform.net"},"bidder":"adf3"},{"params":{"mid":1568563,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1574529","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":29842400},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446742"},"bidder":"pubmatic","disabled":false},{"params":{"zoneId":0,"networkId":11609},"bidder":"criteo"},{"params":{"mid":"1959220","adxDomain":" adx.adform.net"},"bidder":"dentsu"}]},{"path":"/5706918,22679220631/Madenimitliv_930x180_skn","targeting":{"format":"skin,topscroll_dsk"},"divIdOnPage":"cncpt-lb1","prebidSizes":[[930,180],[970,170]],"size":[[[928,0],[[930,180],[970,170]]],[[0,0],[]]],"cookieLessPath":"00000000000b7e47","rootMargin":0,"refresh":0,"id":"def-lb1","prebidBid":[{"params":{"placementId":"24074932"},"bidder":"mss_dis"},{"params":{"placementId":"24074950"},"bidder":"mss_skn"},{"params":{"mid":"774772","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"774787","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"774786","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394342","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1580590"},"bidder":"rubicon"},{"params":{"placementId":"6046181"},"bidder":"appnexus"},{"params":{"mid":"1128610","adxDomain":" adx.adform.net"},"bidder":"omgz-top"},{"params":{"mid":1568540,"adxDomain":" adx.adform.net"},"bidder":"adf3"},{"params":{"mid":"1575070","adxDomain":" adx.adform.net"},"bidder":"admium-top"},{"params":{"mid":"1574514","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":"17085319"},"bidder":"msupply-skn"},{"params":{"placementId":29842401},"bidder":"appnexus","disabled":false},{"params":{"mid":"1685647","adxDomain":" adx.adform.net"},"bidder":"omgz-skn"},{"params":{"mid":1755231,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"publisherId":"158847","adSlot":"5446749"},"bidder":"pubmatic","disabled":false},{"params":{"zoneId":0,"networkId":11609},"bidder":"criteo"},{"params":{"mid":"1938325","adxDomain":" adx.adform.net"},"bidder":"dentsu"}]},{"path":"/5706918,22679220631/madenimitliv_mob1_231716","targeting":{"format":"interscroll_mob"},"divIdOnPage":"cncpt-mob1","prebidSizes":[[320,320],[320,160],[320,480],[300,250],[300,240]],"size":[[[927,0],[]],[[0,0],[[320,320],[320,160],[320,480],[300,250],[300,240]]]],"cookieLessPath":"00000000000b7e50","rootMargin":0,"refresh":30000,"id":"def-mob1","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"227284","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"776005","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"776004","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394354","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1580610"},"bidder":"rubicon"},{"params":{"placementId":"6046182"},"bidder":"appnexus"},{"params":{"placementId":"13694398"},"bidder":"appnexus"},{"params":{"mid":"1549152","adxDomain":" adx.adform.net"},"bidder":"omgz-top"},{"params":{"mid":1568547,"adxDomain":" adx.adform.net"},"bidder":"adf3"},{"params":{"mid":1568572,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1575104","adxDomain":" adx.adform.net"},"bidder":"admium-top"},{"params":{"mid":"1574522","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":"18019216"},"bidder":"msupply"},{"params":{"placementId":29842403},"bidder":"appnexus","disabled":false},{"params":{"mid":1747080,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"publisherId":"158847","adSlot":"5446740"},"bidder":"pubmatic","disabled":false},{"params":{"zoneId":0,"networkId":11609},"bidder":"criteo"},{"params":{"mid":"1938326","adxDomain":" adx.adform.net"},"bidder":"dentsu"}]},{"path":"/5706918,22679220631/madenimitliv_mob2_231717","divIdOnPage":"cncpt-mob2","targeting":{"format":"interscroll_mob,double_interscroll_dsk,expander"},"prebidSizes":[[320,320],[320,160],[320,480],[300,240],[300,250],[300,210]],"size":[[[927,0],[]],[[0,0],[[320,320],[320,160],[320,480],[300,240],[300,250],[300,210]]]],"cookieLessPath":"00000000000b7e51","refresh":30000,"id":"def-mob2","lazyload":true,"prebidBid":[{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"227288","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"227288","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"227288","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394355","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1580612"},"bidder":"rubicon"},{"params":{"placementId":"6046183"},"bidder":"appnexus"},{"params":{"mid":1568548,"adxDomain":" adx.adform.net"},"bidder":"adf3"},{"params":{"mid":1568556,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1574535","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":"17085174"},"bidder":"msupply-int"},{"params":{"placementId":29842404},"bidder":"appnexus","disabled":false},{"params":{"mid":1747082,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"publisherId":"158847","adSlot":"5446747"},"bidder":"pubmatic","disabled":false},{"params":{"zoneId":0,"networkId":11609},"bidder":"criteo"},{"params":{"mid":"1754795","adxDomain":" adx.adform.net"},"bidder":"mpm_doub_int"},{"params":{"mid":"1938326","adxDomain":" adx.adform.net"},"bidder":"dentsu"}]},{"path":"/5706918,22679220631/madenimitliv.dk_mob3","targeting":{"format":"expander,double_interscroll_mob,interscroll_mob"},"divIdOnPage":"cncpt-mob3","prebidSizes":[[320,480],[320,320],[320,160],[300,250],[300,240],[300,210]],"size":[[[927,0],[]],[[0,0],[[320,480],[320,320],[320,160],[300,250],[300,240],[300,210]]]],"cookieLessPath":"00000000000c018a","refresh":30000,"id":"def-mob3","lazyload":true,"prebidBid":[{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"583942","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"776010","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"776009","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394356","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1580614"},"bidder":"rubicon"},{"params":{"mid":1568549,"adxDomain":" adx.adform.net"},"bidder":"adf3"},{"params":{"mid":1568567,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1574523","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":"17085175"},"bidder":"msupply-int"},{"params":{"placementId":29842405},"bidder":"appnexus","disabled":false},{"params":{"mid":1747079,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":1755230,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"publisherId":"158847","adSlot":"5446748"},"bidder":"pubmatic","disabled":false},{"params":{"zoneId":0,"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_forside_mob2","divIdOnPage":"cncpt-forside_mob2","targeting":{},"prebidSizes":[[320,160],[320,320],[300,250]],"size":[[[927,0],[]],[[0,0],[[320,160],[320,320],[300,250]]]],"refresh":30000,"id":"def-forside_mob2","lazyload":true,"prebidBid":[{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"585368","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"775994","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"775993\t","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394355","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1580606"},"bidder":"rubicon"},{"params":{"placementId":"18476729"},"bidder":"appnexus"},{"params":{"mid":1568551,"adxDomain":" adx.adform.net"},"bidder":"adf3"},{"params":{"mid":1568558,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1574535","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":"17085173"},"bidder":"msupply-int"},{"params":{"placementId":29842406},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446739"},"bidder":"pubmatic","disabled":false},{"params":{"zoneId":0,"networkId":11609},"bidder":"criteo"},{"params":{"mid":"1938326","adxDomain":" adx.adform.net"},"bidder":"dentsu"}]},{"path":"/5706918,22679220631/madenimitliv.dk_forside_mob3","targeting":{},"divIdOnPage":"cncpt-forside_mob3","prebidSizes":[[320,160],[320,320],[300,250]],"size":[[[927,0],[]],[[0,0],[[320,160],[320,320],[300,250]]]],"refresh":30000,"id":"def-forside_mob3","lazyload":true,"prebidBid":[{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"774779"},"bidder":"adf"},{"params":{"mid":"775998"},"bidder":"adf1"},{"params":{"mid":"775997"},"bidder":"adf2"},{"params":{"mid":"1394356"},"bidder":"mpm"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1580608"},"bidder":"rubicon"},{"params":{"placementId":"18476800"},"bidder":"appnexus"},{"params":{"mid":1568538},"bidder":"adf3"},{"params":{"mid":1568576},"bidder":"adf2"},{"params":{"mid":"1574523"},"bidder":"admium"},{"params":{"placementId":"18019215"},"bidder":"msupply"},{"params":{"placementId":29842407},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446752"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv_dsk_outstream","targeting":{"format":"outstream"},"divIdOnPage":"cncpt-outstream","prebidSizes":[[1,1]],"size":[[[0,0],[[1,1,[1,1]],[1,1],[2,2]]]],"refresh":0,"id":"def-outstream","lazyload":true,"prebidBid":[{"params":{"placementId":29842408},"bidder":"appnexus","disabled":false},{"params":{"zoneId":0,"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_rec1","targeting":{"format":"expander"},"divIdOnPage":"cncpt-rec1","prebidSizes":[[300,250],["336x280"]],"size":[[[1025,0],[[300,250],["336x280"]]]],"cookieLessPath":"00000000000b7e4b","refresh":30000,"id":"def-rec1","lazyload":true,"prebidBid":[{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"mid":"583943"},"bidder":"adf"},{"params":{"mid":"774790"},"bidder":"adf1"},{"params":{"mid":"774789"},"bidder":"adf2"},{"params":{"mid":"1394344"},"bidder":"mpm"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1580592"},"bidder":"rubicon"},{"params":{"placementId":"18476918"},"bidder":"appnexus"},{"params":{"mid":1568539},"bidder":"adf3"},{"params":{"mid":1568555},"bidder":"adf2"},{"params":{"mid":"1574516"},"bidder":"admium"},{"params":{"placementId":"18005228"},"bidder":"msupply"},{"params":{"placementId":29842413},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446770"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_dsk_rec2","divIdOnPage":"cncpt-rec2","targeting":{"format":"expander"},"prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"cookieLessPath":"00000000000b7e4c","rootMargin":0,"refresh":30000,"id":"def-rec2","lazyload":true,"prebidAllowNative":true,"prebidBid":[{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"mid":"585367","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"774792","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"774791","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394345","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1580594"},"bidder":"rubicon"},{"params":{"placementId":"18476959"},"bidder":"appnexus"},{"params":{"mid":1568543,"adxDomain":" adx.adform.net"},"bidder":"adf3"},{"params":{"mid":1568565,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1574517","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":"18005227"},"bidder":"msupply"},{"params":{"placementId":29842414},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446757"},"bidder":"pubmatic","disabled":false},{"params":{"zoneId":0,"networkId":11609},"bidder":"criteo"},{"params":{"placementId":"34249098"},"bidder":"ttw"}]},{"path":"/5706918,22679220631/madenimitliv.dk_dsk_forside_rec2","divIdOnPage":"cncpt-forside_rec2","targeting":{},"prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"refresh":30000,"id":"def-forside_rec2","lazyload":true,"dependencies":[],"prebidBid":[{"params":{"mid":"1394345"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"mid":1568554},"bidder":"adf2"},{"params":{"mid":"1574517"},"bidder":"admium"},{"params":{"placementId":29842415},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446743"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_dsk_forside_rec3","divIdOnPage":"cncpt-forside_rec3","targeting":{},"prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"refresh":30000,"id":"def-forside_rec3","lazyload":true,"dependencies":[],"prebidBid":[{"params":{"mid":"1394346"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"mid":1568568},"bidder":"adf2"},{"params":{"mid":"1574518"},"bidder":"admium"},{"params":{"placementId":29842416},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446751"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_mob4","targeting":{"format":"interscroll_mob,double_interscroll_mob,expander"},"divIdOnPage":"cncpt-mob4","prebidSizes":[[320,320],[320,480],[300,250],[320,160],[300,240]],"size":[[[927,0],[]],[[0,0],[[320,320],[320,480],[300,250],[320,160],[300,240]]]],"cookieLessPath":"00000000000c018b","refresh":30000,"id":"def-mob4","lazyload":true,"prebidAllowNative":true,"dependencies":[],"prebidBid":[{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"227293","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"776012","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"776011","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394357","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1580620"},"bidder":"rubicon"},{"params":{"mid":1568542,"adxDomain":" adx.adform.net"},"bidder":"adf3"},{"params":{"mid":1568573,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1574524","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":29842417},"bidder":"appnexus","disabled":false},{"params":{"mid":1747081,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"publisherId":"158847","adSlot":"5446768"},"bidder":"pubmatic","disabled":false},{"params":{"zoneId":0,"networkId":11609},"bidder":"criteo"},{"params":{"mid":"1754795","adxDomain":" adx.adform.net"},"bidder":"mpm_doub_int"},{"params":{"mid":"1959222","adxDomain":" adx.adform.net"},"bidder":"dentsu"},{"params":{"placementId":"34249099"},"bidder":"ttw"}]},{"path":"/5706918,22679220631/madenimitliv.dk_dsk_rec3","divIdOnPage":"cncpt-rec3","targeting":{"format":"expander"},"prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"cookieLessPath":"00000000000c018f","refresh":30000,"id":"def-rec3","lazyload":true,"dependencies":[],"prebidBid":[{"params":{"mid":"774777"},"bidder":"adf"},{"params":{"mid":"774794"},"bidder":"adf1"},{"params":{"mid":"774793"},"bidder":"adf2"},{"params":{"mid":"1394346"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1580596"},"bidder":"rubicon"},{"params":{"placementId":"18476971"},"bidder":"appnexus"},{"params":{"mid":1568559},"bidder":"adf2"},{"params":{"mid":"1574518"},"bidder":"admium"},{"params":{"placementId":29842418},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446767"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_dsk_sidebar_rec4","divIdOnPage":"cncpt-dsk_sidebar_rec4","targeting":{},"prebidSizes":[[300,250]],"size":[[[1025,0],[300,250,[300,250]]]],"refresh":30000,"id":"def-dsk_sidebar_rec4","lazyload":true,"dependencies":[],"prebidBid":[{"params":{"mid":"805363","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"805362","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"805361","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1664892"},"bidder":"rubicon"},{"params":{"placementId":"19034306"},"bidder":"appnexus"},{"params":{"mid":1568534,"adxDomain":" adx.adform.net"},"bidder":"adf3"},{"params":{"mid":1568560,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"placementId":29842419},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446763"},"bidder":"pubmatic","disabled":false},{"params":{"zoneId":0,"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_sidebar_rec1","targeting":{},"divIdOnPage":"cncpt-sidebar_rec1","prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"refresh":30000,"id":"def-sidebar_rec1","lazyload":true,"prebidBid":[{"params":{"mid":"1394344"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"mid":1568562},"bidder":"adf2"},{"params":{"mid":"1574516"},"bidder":"admium"},{"params":{"placementId":29842420},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446750"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_sidebar_rec2","targeting":{},"divIdOnPage":"cncpt-sidebar_rec2","prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"refresh":30000,"id":"def-sidebar_rec2","lazyload":true,"prebidBid":[{"params":{"mid":"1394345"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"mid":1568575},"bidder":"adf2"},{"params":{"mid":"1574517"},"bidder":"admium"},{"params":{"placementId":29842421},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446765"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_sidebar_rec3","targeting":{},"divIdOnPage":"cncpt-sidebar_rec3","prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"refresh":30000,"id":"def-sidebar_rec3","lazyload":true,"prebidBid":[{"params":{"mid":"1394346"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"mid":1568553},"bidder":"adf2"},{"params":{"mid":"1574518"},"bidder":"admium"},{"params":{"placementId":29842422},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446741"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_sidebar_mob1","divIdOnPage":"cncpt-sidebar_mob1","targeting":{},"prebidSizes":[[320,320],[320,160],[320,250]],"size":[[[927,0],[]],[[0,0],[[320,320],[320,160],[320,250]]]],"cookieLessPath":"00000000000c018c","refresh":30000,"id":"def-sidebar_mob1","lazyload":true,"prebidBid":[{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"1394354","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"mid":1568537,"adxDomain":" adx.adform.net"},"bidder":"adf3"},{"params":{"mid":1568566,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1574522","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":29842423},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446754"},"bidder":"pubmatic","disabled":false},{"params":{"zoneId":0,"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_sidebar_mob2","targeting":{},"divIdOnPage":"cncpt-sidebar_mob2","prebidSizes":[[320,320],[320,160],[320,250]],"size":[[[927,0],[]],[[0,0],[[320,320],[320,160],[320,250]]]],"refresh":30000,"id":"def-sidebar_mob2","lazyload":true,"prebidBid":[{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"1394355"},"bidder":"mpm"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"mid":1568544},"bidder":"adf3"},{"params":{"mid":1568571},"bidder":"adf2"},{"params":{"mid":"1574535"},"bidder":"admium"},{"params":{"placementId":29842424},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446762"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_sidebar_mob3","targeting":{},"divIdOnPage":"cncpt-sidebar_mob3","prebidSizes":[[320,320],[320,160],[320,250]],"size":[[[927,0],[]],[[0,0],[[320,320],[320,160],[320,250]]]],"refresh":30000,"id":"def-sidebar_mob3","lazyload":true,"prebidBid":[{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"1394356"},"bidder":"mpm"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"mid":1568545},"bidder":"adf3"},{"params":{"mid":1568557},"bidder":"adf2"},{"params":{"mid":"1574523"},"bidder":"admium"},{"params":{"placementId":29842425},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446764"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]},{"path":"/5706918,22679220631/madenimitliv.dk_sidebar_mob4","divIdOnPage":"cncpt-sidebar_mob4","targeting":{},"prebidSizes":[[320,320],[320,160],[320,250]],"size":[[[927,0],[]],[[0,0],[[320,320],[320,160],[320,250]]]],"refresh":30000,"id":"def-sidebar_mob4","lazyload":true,"prebidBid":[{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"805366"},"bidder":"adf"},{"params":{"mid":"805368\t"},"bidder":"adf1"},{"params":{"mid":"805367"},"bidder":"adf2"},{"params":{"mid":"1394357"},"bidder":"mpm"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"accountId":"17246","siteId":"311350","zoneId":"1664896"},"bidder":"rubicon"},{"params":{"placementId":"19034304"},"bidder":"appnexus"},{"params":{"mid":1568535},"bidder":"adf3"},{"params":{"mid":1568574},"bidder":"adf2"},{"params":{"mid":"1574524"},"bidder":"admium"},{"params":{"placementId":29842426},"bidder":"appnexus","disabled":false},{"params":{"publisherId":"158847","adSlot":"5446761"},"bidder":"pubmatic","disabled":false},{"params":{"networkId":11609},"bidder":"criteo"}]}],"videoAdunits":[],"sid":"C-01186","readpeaks":[{"readpeakId":"mcn_iframe_22b80e4ce7a890c9-1","style":"width: 100% max-width: 1020px height: 400px border: none","divIdOnPage":"cncpt-booster","id":"ndnikog","src":"https://app.readpeak.com/ads/get/?l=22b80e4ce7a890c9","divId":"ubwdnco"}],"customTargeting":{"male_45-54":"3","female_45-54":"14","male_25-34":"3","male_18-34":"3","male_18-24":"0","female_18-34":"18","female_18-24":"4","female_25-34":"14","market":"dk","female_55-64":"20","male_35-44":"4","male_35-54":"7","female_35-44":"15","domain":"madenimitliv.dk","female_35-54":"29","male_55+":"2","categories":"food,women,family","female_65":"16","female":"83","male_55-64":"0","female_55+":"36","male":"12","male_65":"2"},"activateConceptTargeting":true,"bidderSettings":[{"alias":"admium-top","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"msupply","bidCpmAdjustment":1,"bidder":"appnexus"},{"alias":"mss_mob_int","bidCpmAdjustment":1,"bidder":"appnexus"},{"alias":"omgz-top","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"admium","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"adf2","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"omgz-skn","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"adf3","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"mss_skn","bidCpmAdjustment":1,"bidder":"appnexus"},{"alias":"msupply-top","bidCpmAdjustment":1,"bidder":"appnexus"},{"alias":"msupply-skn","bidCpmAdjustment":1,"bidder":"appnexus"},{"alias":"mpm","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"msupply-int","bidCpmAdjustment":1,"bidder":"appnexus"},{"alias":"mpm_doub_int","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"dentsu-top","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"mss_mob_top","bidCpmAdjustment":1,"bidder":"appnexus"},{"alias":"adf1","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"mpm_top","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"mss_dis","bidCpmAdjustment":1,"bidder":"appnexus"},{"alias":"adf","bidCpmAdjustment":1,"bidder":"adform"}],"strossles":[],"checkForConsent":true,"activateTimingTracker":true,"usePrebid":true,"RMBRef":"https://macro.adnami.io/macro/spec/adsm.macro.26c8415f-ca46-4272-9f4c-b893612bb910.js","activatePubx":null,"prebidAliases":[["admium-top","adform","50"],["msupply","appnexus","32"],["mss_mob_int","appnexus","32"],["omgz-top","adform","50"],["admium","adform","50"],["adf2","adform","50"],["omgz-skn","adform","50"],["adf3","adform","50"],["mss_skn","appnexus","32"],["dentsu","adform","50"],["msupply-top","appnexus","32"],["msupply-skn","appnexus","32"],["mpm","adform","50"],["ttw","appnexus","32"],["msupply-int","appnexus","32"],["mpm_doub_int","adform","50"],["dentsu-top","adform","50"],["mss_mob_top","appnexus","32"],["adf1","adform","50"],["mpm_top","adform","50"],["mss_dis","appnexus","32"],["adf","adform","50"]],"deployId":"m35pmbauemf3p9mujxp","supplyPartners":[{"gvlid":null,"bidder":"rubicon","asi":"rubiconproject.com","mainAdapter":true,"s2sApproved":true,"name":"rubicon","bidCpmAdjustment":"1","sid":"17246"},{"gvlid":null,"bidder":"criteo","mainAdapter":true,"s2sApproved":true,"name":"criteo","bidCpmAdjustment":"1","sid":"B-070110"},{"gvlid":null,"bidder":"pubmatic","mainAdapter":true,"s2sApproved":true,"name":"pubmatic","bidCpmAdjustment":"1"},{"gvlid":null,"bidder":"appnexus","mainAdapter":true,"s2sApproved":true,"name":"appnexus","bidCpmAdjustment":"1"},{"gvlid":"50","bidder":"adform","bidCpmAdjustment":"1","alias":"admium-top"},{"gvlid":"32","bidder":"appnexus","bidCpmAdjustment":"0.85","alias":"msupply"},{"gvlid":"32","bidder":"appnexus","bidCpmAdjustment":"1","alias":"mss_mob_int"},{"gvlid":"50","bidder":"adform","asi":"adform.com","bidCpmAdjustment":"1","sid":"638","alias":"omgz-top","extraNodes":[{"asi":"omnicommediagroup.com","sid":"S005"}]},{"gvlid":"50","bidder":"adform","bidCpmAdjustment":"1","alias":"admium"},{"gvlid":"50","bidder":"adform","bidCpmAdjustment":"1","alias":"adf2"},{"gvlid":"50","bidder":"adform","asi":"adform.com","bidCpmAdjustment":"1","sid":"638","alias":"omgz-skn","extraNodes":[{"asi":"omnicommediagroup.com","sid":"S005"}]},{"gvlid":"50","bidder":"adform","asi":"adform.com","bidCpmAdjustment":"1","sid":"9","alias":"adf3"},{"gvlid":"32","bidder":"appnexus","bidCpmAdjustment":"1","alias":"mss_skn"},{"gvlid":"50","bidder":"adform","asi":"adform.com","bidCpmAdjustment":"1","sid":"2714","alias":"dentsu","extraNodes":[{"asi":"dentsu.dk","sid":"D001"}]},{"gvlid":"32","bidder":"appnexus","bidCpmAdjustment":"1","alias":"msupply-top"},{"gvlid":"32","bidder":"appnexus","bidCpmAdjustment":"1","alias":"msupply-skn"},{"gvlid":"50","bidder":"adform","asi":"adform.com","bidCpmAdjustment":"1","sid":"2606","alias":"mpm","extraNodes":[{"asi":"ipgmediabrands.dk","sid":"D002"}]},{"gvlid":"32","bidder":"appnexus","bidCpmAdjustment":"6.66","alias":"ttw"},{"gvlid":"32","bidder":"appnexus","bidCpmAdjustment":"1","alias":"msupply-int"},{"gvlid":"50","bidder":"adform","bidCpmAdjustment":"1","alias":"mpm_doub_int","extraNodes":[{"asi":"ipgmediabrands.dk","sid":"D002"}]},{"gvlid":"50","bidder":"adform","asi":"adform.com","bidCpmAdjustment":"1","sid":"2714","alias":"dentsu-top","extraNodes":[{"asi":"dentsu.dk","sid":"D001"}]},{"gvlid":"32","bidder":"appnexus","bidCpmAdjustment":"1","alias":"mss_mob_top"},{"gvlid":"50","bidder":"adform","bidCpmAdjustment":"1","alias":"adf1"},{"gvlid":"50","bidder":"adform","bidCpmAdjustment":"1","alias":"mpm_top","extraNodes":[{"asi":"ipgmediabrands.dk","sid":"D002"}]},{"gvlid":"32","bidder":"appnexus","bidCpmAdjustment":"1","alias":"mss_dis"},{"gvlid":"50","bidder":"adform","bidCpmAdjustment":"1","alias":"adf"}],"ABTesters":[],"implementationType":"NORMAL","seemlessTemplateRef":"https://advertising-cdn.dpgmedia.cloud/native-templates/prod/madenimitliv/templates.js","haltInit":0,"cookielessAdserver":"Adnuntius","rootMargin":402,"useAdvancedTracking":true,"failsafe_timeout":3000,"legitimateStepAdserver":"Adnuntius"}; "use strict";(()=>{var pt=Object.defineProperty;var Gi=Object.getOwnPropertyDescriptor;var zi=Object.getOwnPropertyNames;var Wi=Object.prototype.hasOwnProperty;var I=(e,t)=>()=>(e&&(t=e(e=0)),t);var Hi=(e,t)=>{for(var o in t)pt(e,o,{get:t[o],enumerable:!0})},Vi=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of zi(t))!Wi.call(e,i)&&i!==o&&pt(e,i,{get:()=>t[i],enumerable:!(n=Gi(t,i))||n.enumerable});return e};var gt=e=>Vi(pt({},"__esModule",{value:!0}),e);var E,Te=I(()=>{"use strict";E={MACRO_UNLOAD:"ADSM_MACRO_UNLOAD",SLOT_LOADED:"SLOT_LOADED",SLOT_REQUESTED:"SLOT_REQUESTED",SKIN_INIT:"ADSM_RMB_SKIN_INIT",SIDESKIN_INIT:"ADSM_RMB_SIDESKIN_INIT",DESKTOP_TOPSCROLL:"ADSM_RMB_HTML_TOPSCROLL_DESKTOP_INIT",GET_CONCEPTADS:"GET_CONCEPTADS",GET_VASTTAG:"GET_VASTTAG",GET_PREBIDVASTTAG:"GET_PREBIDVASTTAG"}});function T(e){Ht&&a(e,"error")}var Wt,Ki,Qi,Yi,Ce,Ht,a,Vt,ie,Kt,Qt,U,R,ve,G,Le,A=I(()=>{"use strict";Wt={pbjs:"#3B88C3;",gpt:"#1E8E3E;",adnuntius:"#0e9bd6;",emitter:"#f4b400;",video:"#ff0046;",conceptads:"#283593;",readpeak:"#13759a;",strossle:"#191919;",function:"#9AE19D;",test:"#6eb77f;",error:"#ff3333;",warning:"#ffcc00;"},Ki=e=>Wt[e]||"#d24f54;",Qi=performance.now(),Yi=function(e,t){let o=Array.from(t),n=Ki(e);o.unshift("font-family: sans-serif; font-weight: bold; color: #FFF; padding: 1px 0; background: "+n+" padding: 1px 3px; margin: 2px 0; border-radius: 3px;");let r=(performance.now()-Qi)/1e3;return o.unshift("%c"+e.toUpperCase()+` (+ ${r.toFixed(2)} s) `),o},Ce=function(e){let t="[\\?&]"+e+"=([^&#]*)",n=new RegExp(t).exec(window.location.search);return n===null?"":decodeURIComponent(n[1].replace(/\+/g," "))},Ht=Ce("concept_debug")==="true"||globalThis.concept_debug,a=(e,t="conceptads",o="log")=>(Object.keys(Wt).includes(t)||(t="conceptsads"),Ht&&console[o].apply(void 0,Yi(t,[e])));Vt=()=>{let e=performance.now();globalThis.concept.initialCalled=!0;let t=globalThis.concept?.initTime?(e-globalThis.concept.initTime)/1e3:0;globalThis?.concept?.eventLog&&globalThis.concept.eventLog.push({msg:"injectAds executing.....",secondCount:t,list:"core"})},ie=(e,t)=>{let o=performance.now(),n=globalThis.concept?.initTime?(o-globalThis.concept.initTime)/1e3:0;globalThis?.concept?.eventLog&&globalThis.concept.eventLog.push({msg:t,secondCount:n,list:e})},Kt=e=>ie("Function queued",e),Qt=e=>ie("Function dequeued",e),U=e=>ie("Timing point",e),R=e=>ie("Event recieved",e),ve=e=>ie("Ad loaded",e),G=e=>ie("Request sent",e),Le=e=>ie("Unfilled recieved",e)});var x,re=I(()=>{"use strict";x={LEGITIMATE_INTERREST:"LEGITIMATE_INTERREST",UNKNOWN:"UNKNOWN",FULL_CONSENT:"FULL_CONSENT",CONSENT_REJECT:"CONSENT_REJECT_AND_NO_LEGITIMATE",NO_TCF_API:"NO_TCF_API",NOT_SET:"NOT_SET"}});var Yt,Jt=I(()=>{"use strict";Yt=function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}});var se,Ie,Xt,d,f,w,Zt,_e,eo,ke,je,y=I(()=>{"use strict";N();A();se=({adunitId:e})=>{let t=[...globalThis.concept.updateWhenResolved.keys()],o=[...globalThis.concept.updateIfEmpty.keys()];return[...t,...o].filter(i=>w(i)).includes(e)},Ie=()=>globalThis.conceptConfig,Xt=()=>globalThis.concept,d=e=>globalThis.conceptConfig[e],f=e=>globalThis.concept[e],w=e=>globalThis.concept.adUnits.get(e),Zt=e=>{e.lazyload=!1,a("Removing lazyload for SRA request"),globalThis.concept.initialSRAList.push({displayRequested:!1,divIdOnPage:e.divIdOnPage})},_e=e=>globalThis.concept.consentQueue.push(e),eo=()=>{let t=Ue()?"mobile":"desktop";globalThis.concept.device=t},ke=(e,t)=>globalThis.conceptConfig[e]=t,je=()=>({changeCorrelator:d("dontChangeCorrelator")!==!0})});var Ji,Xi,ce,$e=I(()=>{"use strict";y();Ji=300,Xi=e=>{let t=f("device")==="mobile",o=f("adUnits"),n=d("mobileMultiplier")||2,i=d("rootMargin"),r=d("globalRootMarginPercent"),s=t?n:1,l=o?o.get(e):null,g=((l&&l.rootMargin?l.rootMargin:i)||Ji)*s+"px";if(r){let p=r*s;g=`${p}% 0% ${p}% 0%`}return g},ce=e=>({root:null,rootMargin:Xi(e),threshold:d("threshold")||0})});var ft,to,oo=I(()=>{"use strict";y();A();ft={criteo:{transformer:e=>{let t={};return t.networkId=parseInt(e.networkId),e.zoneId&&(t.zoneId=parseInt(e.zoneId)),e.publisherSubId&&(t.publisherSubId=`${e.publisherSubId}`),t}},grid:{transformer:e=>({uid:parseInt(e.uid)})},adnuntius:{transformer:e=>({auId:e.auId.trim(),bidType:`${e.bidType||"grossBid"}`})},adform:{transformer:e=>({mid:parseInt(e.mid),adxDomain:`${e.adxDomain||"adx.adform.net"}`.trim()})},pubmatic:{transformer:e=>({adSlot:`${e.adSlot}`,publisherId:`${e.publisherId}`})},appnexus:{transformer:(e,t)=>{let o=d("mSupplySpecialTargeting"),n=d("appnexusAdunitKeyWordsAllowed")||[],i=f("targeting"),r={placementId:`${e.placementId}`};return o&&n.includes(t)&&(a("Setting keyswords for adunit","pbjs"),o.forEach(s=>{i[s.value]&&(r.keywords||(r.keywords={}),r.keywords[s.key]=i[s.value])})),r}}},to=e=>{let{bidder:t,params:o,disabled:n}=e,r=(globalThis?.conceptConfig?.prebidAliases||[]).find(c=>c[0]===t),s=r&&r[1];if(ft[t]||s&&ft[r[1]]){let c=t;r&&(c=r[1]);let u={bidder:t,params:ft[c].transformer(o,t)};return n&&(u.disabled=n),u}return e}});var Zi,no,io,ro=I(()=>{"use strict";({injectCustomAsyncScript:Zi}=(j(),gt(Fe))),no=()=>globalThis.conceptConfig.activatePubx,io=e=>{Zi(e,"https://cdn.pbxai.com/029f2f07-0154-4544-b38d-26667fe7fd22.js"),e("PubX Injected")}});var so,ao,lo,co,uo=I(()=>{"use strict";y();so=()=>{let e=d("activateS2s"),t=d("prebidTimeOut")||1e3,o=d("adServerCurrency")||"DKK",n=d("id5PartnerId")||461,i=d("enableTIDs")||!0,r=d("disablePrebidConsentManagement"),s=d("disablePaapi")||!1,l=d("disableUserSync"),c=d("prebidPriceBuckets"),u=[{precision:2,max:20,increment:.2},{precision:2,max:100,increment:1},{precision:2,max:400,increment:10}],g=c&&c.length>0?c:u,p={bidderTimeout:t,enableTIDs:i,currency:{adServerCurrency:o},allowActivities:{transmitEids:{rules:[{allow:!0}]},fetchBids:{rules:[{allow:!0}]}},targetingControls:{addTargetingKeys:["SOURCE"]},priceGranularity:{buckets:g},paapi:{enabled:!s,defaultForSlots:1}};if(r||(p.consentManagement={gdpr:{cmpApi:"iab",timeout:8e3,defaultGdprScope:!0},usp:{cmpApi:"iab",timeout:100}}),l||(p.userSync={filterSettings:{iframe:{bidders:"*",filter:"include"}},auctionDelay:0,userIds:[{name:"sharedId",storage:{type:"cookie",name:"_pubcid",expires:365},params:{pixelUrl:"/pubcidcookie"}},{name:"criteo"},{name:"id5id",params:{partner:typeof n=="string"?parseInt(n):n},storage:{type:"html5",name:"id5id",expires:90,refreshInSeconds:8*3600}}]}),e){let C=d("prebidAliases")||[],v=d("s2sBidders")||[],S=d("s2sAccountName")||"cncpt",b=d("s2sTimeout")||500;p.s2sConfig={accountId:S,adapter:"prebidServer",enabled:!0,bidders:[...v],cookieSet:!0,endpoint:"https://s2s.cncpt-central.com/openrtb2/auction",syncEndpoint:"https://s2s.cncpt-central.com/cookie_sync",timeout:b,extPrebid:{aliases:Object.fromEntries(C.filter(O=>v.includes(O[0]))||[]),targeting:{includebidderkeys:!0}}}}return(d("disablePrebidSync")||!1)&&(p.syncEnabled=!1),(d("disablePrebidDevice")||!1)&&(p.deviceAccess=!1),p},ao=e=>{let{asi:t,sid:o,extraNodes:n,alias:i,bidder:r}=e,s={bidders:[i||r],config:{schain:{validation:"strict",config:{ver:"1.0",complete:1,nodes:[]}}}};return t&&o&&s.config.schain.config.nodes.push({asi:t,sid:o,hp:1}),n&&n.forEach(l=>{s.config.schain.config.nodes.push({asi:l.asi,sid:l.sid,hp:1})}),s},lo=()=>{let e=d("supplyPartners")||[];if(!e)return;let t={standard:{storageAllowed:!0}};e.forEach(o=>{let{bidCpmAdjustment:n,alias:i}=o,r=parseFloat(n);r!==1&&i&&(t[i]?t[i].bidCpmAdjustment=l=>l*r:t[i]={bidCpmAdjustment:l=>l*r})}),pbjs.bidderSettings=t},co=()=>{let e=d("prebidKeyMap")||[],t={},o=[{keyName:"concept_domain",value:"domain"},{keyName:"concept_path1",value:"path1"},{keyName:"concept_path2",value:"path2"},{keyName:"concept_IAB1",value:"IAB1"},{keyName:"concept_IAB2",value:"IAB2"},{keyName:"concept_contxt",value:"contxt"},...e],n="prebidkey",i=f("targeting");o.forEach(l=>{i[l.value]&&(t[l.keyName]=i[l.value])});let r=i.UrlQuery.find(l=>l.includes(n));if(r){let[l,c]=r.split(":");t[l]=c}let s=globalThis.concept.targeting.categories||"";return t.concept_category=s.split(","),globalThis.concept.pbjsGlobalKeys=t,t}});function ho(e){let t=!1,o=je();if(e.length===0){a("No units ot refresh");return}let{prebidUnits:n,onlyGamUnits:i}=er(e);googletag.cmd.push(function(){let c=i.map(u=>u.slot).filter(Boolean);c.forEach(u=>{G(`${u} - gpt`)}),googletag.pubads().refresh(c,o)});let r=n.map(c=>c.code),s=e.filter(c=>r.includes(c.path));n&&n.length>0&&(G(`${r.join(", ")} - prebid`),pbjs.que.push(function(){let c=r.join(", ");mo(),pbjs.removeAdUnit(),pbjs.addAdUnits(n),U(`prebid auction started ${c}`),a(`Starting auction for = ${c}`,"pbjs"),pbjs.requestBids({adUnitCodes:r,bidsBackHandler:l})}));function l(c){if(!t){if(t=!0,c&&ar(c),s.length===0){a("Nothing to call GAM with");return}googletag.cmd.push(function(){pbjs.setPAAPIConfigForGPT&&pbjs.setPAAPIConfigForGPT();let u=s.filter(g=>g.slot).map(g=>g.slot);if(u.length===0){a("Nothing with a slot to call GAM with");return}if(!pbjs.libLoaded){googletag.pubads().refresh(u,o);return}pbjs.que.push(function(){pbjs.setTargetingForGPTAsync(),a("[initAdserver] send prebid result to GAM","pbjs"),googletag.pubads().refresh(u,o)})})}}if(n&&n.length>0){let c=(globalThis?.conceptConfig?.prebidTimeOut||3e3)+500;setTimeout(function(){t||(a(`[PREBID] Timouter caught this one ${r}`,"pbjs"),l({}))},c)}}var po,Me,er,tr,go,or,nr,fo,mo,ir,rr,sr,ar,Be=I(()=>{"use strict";A();j();ro();uo();y();po=!0;window.pbjs=window.pbjs||{};pbjs.que=pbjs.que||[];Me=e=>{if(e.usePrebid&&e.prebidRef)if((!window.pbjs||!window.pbjs.libLoaded)&&po){po=!1,no()&&io(a);let t=e.prebidRef;ir(),mt(a,t),nr(),tr(),rr(),globalThis.concept.updateTargeting()}else a("Prebid already loaded/started","pbjs");else a("Prebid not needed","pbjs")},er=e=>{let t=[],o=[],n=e.map(i=>i.path);return a(`[getPrebidSettings] looking up bids for: ${n}`,"conceptads"),e.forEach(i=>{let r=i.path,s=i.divIdOnPage;for(let[l,c]of f("adUnits")){if(!c){a("Unit is deleted");return}c.divIdOnPage===s&&c.prebidSettings?.bids&&c.prebidSettings?.bids?.length>0?(c.prebidSettings.code=r,t.push(c.prebidSettings)):c.divIdOnPage===s&&o.push(c)}}),{prebidUnits:t,onlyGamUnits:o}},tr=()=>{d("useLiveWrappedAnalytics")&&window.pbjs.que.push(function(){a("setting setPrebidAnalytics (liveWrapped)","pbjs"),pbjs.enableAnalytics({provider:"livewrapped",options:{publisherId:"35665883-67d9-42e1-b1e9-8f3e80c7f513",endpoint:"https://lwadm.com/analytics/10"}})})},go=(e,t)=>{window.pbjs.que.push(function(){let o=t.filter(s=>s.target==="site"),n=t.filter(s=>s.target==="user"),i=f("targeting"),r={bidders:e,config:{ortb2:{site:{ext:{data:{}}},user:{ext:{data:{}}}}}};o.forEach(s=>{r.config.ortb2.site.ext.data[s.key]=i[s.value]}),n.forEach(s=>{r.config.ortb2.user.ext.data[s.key]=i[s.value]}),e&&e.length>0&&(a(`Setting bidder targeting for ${e.join(",")}`,"pbjs"),pbjs.setBidderConfig(r,!0))})},or=e=>{window.pbjs.que.push(function(){e[1]&&e[0]&&pbjs.aliasBidder(e[1],e[0],{...e[2]&&{gvlid:parseInt(e[2])}})})},nr=()=>{if(a("Adding Aliases","pbjs"),globalThis.conceptConfig?.prebidAliases){let e=globalThis.conceptConfig.prebidAliases,t=[];if(typeof e=="string")try{t=JSON.parse(e)}catch{T("could not parse prebidAliases")}Array.isArray(e)&&(t=e),a(JSON.stringify(e),"pbjs"),t.forEach(o=>or(o))}},fo=({bids:e,sizes:t,path:o,prebidAllowNative:n})=>{if(e.length===0)return null;let i={code:o,bids:e.filter(r=>!r.disabled),mediaTypes:{banner:{sizes:t}}};return n&&i.mediaTypes&&(i.mediaTypes.native={clickUrl:{required:!1},desc2:{required:!1,len:60},body:{required:!1,len:60},title:{required:!1,len:125},sponsoredBy:{required:!0,len:25},icon:{required:!0,aspect_ratios:[{min_height:150,ratio_height:1,ratio_width:1,min_width:150}]},main_image:{required:!1,aspect_ratios:[{min_height:100,ratio_height:1440,ratio_width:1440,min_width:100},{min_height:100,ratio_height:1440,ratio_width:720,min_width:100},{min_height:100,ratio_height:1440,ratio_width:960,min_width:100},{min_height:100,ratio_height:1440,ratio_width:810,min_width:100}]},ctatext:{required:!1,len:15},address:{required:!1,len:35},video:{required:!1},sendTargetingKeys:!1}),i},mo=()=>{a("updatin pbjs ortb2 (contxt & targetings)","pbjs");let e=f("targeting"),t=co(),o={site:{ext:{data:{...t}}}};e?.lat&&(o.device={geo:{lat:e?.lat,long:e?.long,accuracy:parseInt(e?.accuracy)}}),pbjs.setConfig({ortb2:o});let n=d("appnexusSpecialTargeting"),i={...t};n&&(a("Setting appnexus specfic keywords"),n.forEach(r=>{e[r.value]&&(i[r.key]=e[r.value])})),pbjs.setConfig({appnexusAuctionKeywords:i})},ir=()=>{let e=d("adUnits")||[],t=["client","s2s"];e.filter(o=>o.prebidBid&&o.prebidBid.length>0&&o.prebidBid.some(n=>n.splitBid)).map(o=>o.prebidBid.filter(n=>n.splitBid)).flat(1/0).forEach(o=>{let{bidder:n}=o;if(!globalThis.conceptConfig.supplyPartners)return;let i=globalThis.conceptConfig.supplyPartners?.find(r=>r.alias===n||r.bidder===n);i&&t.forEach(r=>{let s=`${n}_${r}`,l={...i,alias:s};if(!conceptConfig.prebidAliases?.find(c=>c[0]===s)){let c=[s,i.bidder];i?.gvlid&&c.push(i.gvlid),conceptConfig.prebidAliases?.push(c)}conceptConfig.supplyPartners?.find(c=>c.alias===s)||conceptConfig.supplyPartners?.push(l),r==="s2s"&&!conceptConfig.s2sBidders?.includes(s)&&conceptConfig.s2sBidders?.push(s)})})},rr=()=>{pbjs.que.push(function(){a("setting cncpt pbjs options (bidadjustments & general config)","pbjs"),lo(),mo(),sr(),pbjs.onEvent("auctionInit",function(t){a(`[auctionInit] ${t.adUnitCodes[0]} with ${t.bidderRequests.length} bids`,"pbjs")}),pbjs.onEvent("beforeRequestBids",function(t){if(!pbjs.getUserIds){T("getUserIds are not available in prebid");return}let n=pbjs.getUserIds()?.pubcid;n&&t.forEach(i=>{i.bids.forEach(r=>{r.bidder==="ttw"&&(r.params.user={external_uid:n})})})}),pbjs.setConfig(so());let e=d("videoPriceBuckets");e&&e.length>0&&(a("Setting video price buckets","pbjs"),pbjs.setConfig({mediaTypePriceGranularity:{video:{buckets:e}}}))})},sr=()=>{(d("supplyPartners")||[]).filter(t=>t.asi&&t.sid||t.extraNodes&&t.extraNodes.length>0).forEach(t=>{a(`Seeting Schain for ${t.alias||t.bidder}`,"pbjs");let o=ao(t);pbjs.setBidderConfig(o)})},ar=e=>{pbjs.que.push(function(){Object.keys(e).forEach(t=>{let n=pbjs.getHighestCpmBids(t)[0];if(n){let i=n?.cpm?.toFixed(2)||0,r=n?.bidder||"unknown";a(`GAM has to beat ${i} by ${r}`,"pbjs")}})})}});var bo,To,$,Co,z=I(()=>{"use strict";bo=e=>Math.random(){let t,o=[];for(t=0;tn);t++);return e[t]},$=()=>Math.random().toString(36).substr(2,9),Co=(e,t)=>Math.floor(Math.random()*(t-e+1)+e)});var De,vo,ht,Io,qe=I(()=>{"use strict";N();De=()=>document.createElement("div"),vo=(e,t,o)=>{if(e){e.classList.add(`outer-box-${e.id}`);let n=De();n.className="inner-second",n.innerHTML=`

Your ${e.id} ad will be shown here!

`;let i=`.outer-box-${e.id}`,r=` ${i} {padding: 0; position: relative; width: ${t}px; height: ${o}px;} ${i} .inner-second { padding: 0; position: absolute; width: 100%; min-height: 100%; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; transition: opacity .5s; background: #30ac7c;} ${i} .inner-second p {color: #fff;font-family: 'arial';text-align: center;} ${i} .inner-second {opacity: .9;transition: opacity .5s;}`;ht(r),e.appendChild(n)}},ht=e=>{let t=document.createElement("style");t.innerText=e,document.head.appendChild(t)},Io=e=>{let t=P(e.divIdOnPage);if(!t)return"";let o=De(),n=`${e.divIdOnPage}-prerender`;o.setAttribute("id",n);let i=De(),r=De();return r.setAttribute("id",`${e.divIdOnPage}-grandparent`),i.setAttribute("id",`${e.divIdOnPage}-realrender`),t.appendChild(o),r.appendChild(i),t.appendChild(r),n}});function bt(e,t){e&&e.postMessage&&e.postMessage(t,"*")}var F,Ao,Ge,yo,Eo,ze,So,Po,wo,Oo,xo,Ro,We,No,W=I(()=>{"use strict";y();A();F=(e,t)=>{if(!d("isPassback")){a(`${e} emitted`,"emitter");let n=new CustomEvent(e,t);window.parent.document.dispatchEvent(n)}},Ao=({divId:e})=>{F("viewableAd",{detail:{viewable:!0,divId:e}})},Ge=({name:e,divId:t})=>{F("unfilledAd",{detail:{adunit:e,unfilled:!0,divId:t}})},yo=()=>F("concept_loaded",{detail:{}}),Eo=()=>F("concept_listening",{detail:{}}),ze=({name:e,divId:t})=>{F("filledAd",{detail:{adunit:e,filled:!0,divId:t}})},So=(e,t)=>{let o=globalThis.concept.buildVastTag(t);bt(e,{type:"vast_tag",payload:{VASTTag:o}})},Po=async(e,t)=>{let o=await globalThis.concept.requestPrebidUrl(t);bt(e,{type:"prebid_vast_tag",payload:{VASTTag:o}})},wo=e=>{let o={cncptads:JSON.stringify(Xt())};bt(e,{type:"concept_ads",payload:o}),F("concept_ads",{detail:o})},Oo=()=>F("urlChange",{detail:{}}),xo=()=>F("consentRecieved",{detail:{}}),Ro=()=>F("cookieless",{detail:{}}),We=()=>F("withCookies",{detail:{}}),No=e=>F("PPIDSet",{detail:{id:e}})});var Lo,lr,cr,dr,ur,pr,gr,fr,_o,mr,hr,br,He=I(()=>{"use strict";j();A();N();M();W();qe();y();Lo=e=>{window.adn&&window.adn.calls&&window.adn.request?e("Adnuntius already loaded"):(ae("https://cdn.adnuntius.com/adn.js",document),e("Adnuntius Injected"))};window.adn=window.adn||{};adn.calls=adn.calls||[];lr=e=>{for(var t in e)(e[t]===null||e[t]===void 0||e[t]==="")&&delete e[t];return e},cr=e=>{Ge({name:e.targetId,divId:e.targetId}),Le(e.targetId)},dr=e=>{globalThis.concept.adsloaded=globalThis.concept.adsloaded+1,ve(e.targetId),ze({name:e.targetId,divId:e.targetId})},ur=e=>ve(e.widgetId),pr=(e,t="size")=>{let o=H(),n=de(e[t],o);return Tt(n)},gr=(e,t,o,n="iframe")=>({targetId:t,auId:e.cookieLessPath,kv:o,useCookies:!1,isolateFrame:!0,auW:e.cookielessWidth?`${e.cookielessWidth}`:"unset",auH:e.cookielessHeight?`${e.cookielessHeight}px`:0,onViewable:ur,container:n,onNoMatchedAds:cr,onImpressionResponse:dr}),fr=e=>{e.forEach(t=>{if(a(`Queueing ${t.targetId}`,"adnuntius"),!d("disableAutoCenterCLAds")){let n=P(t.targetId);n&&(n.style.margin="0px auto")}G(`${t.targetId} - adnuntius`),mr({slot:t})})},_o=({adunitDivId:e,container:t,prerender:o}={adunitDivId:null,container:"iframe",prerender:!1})=>{o&&a(`Pre rendereing ${e}`,"adnuntius");let i=Ue()?"mobile":"desktop";globalThis.concept.device=i;let s=d("adUnits").filter(u=>u.cookieLessPath&&!u.cookieLessPath.includes("/"));e&&(s=s.filter(u=>u.divIdOnPage===e));let l=lr(globalThis.concept.targeting),c=s.filter(u=>pr(u,"size")).map(u=>{let g=u.divIdOnPage;return o&&(g=Io(u),u.divIdOnPage=`${u.divIdOnPage}-realrender`),gr(u,g,l,t)});return fr(c),c.map(u=>u.targetId)},mr=async({slot:e})=>{let t=f("failsafe_timeout");a(`Waiting for ${e.targetId} to be in the DOM`,"adnuntius"),await D(`#${e.targetId}`,t)!==null&&hr(e)},hr=e=>{a(`Requesting ${e.targetId}`,"adnuntius"),adn.calls.push(function(){br(e)})},br=e=>{adn.useLocalStorage(!1),adn.request({requestParams:{proximity:50,load:"lazy"},adUnits:[e]})}});var ko,jo=I(()=>{"use strict";A();j();N();ko=({contxt:e,logger:t})=>{t("Dentsu gonna be Injected");let o="G-955BVT8WXE",n=Ve("_pubcid",!1);window._adftrack=Array.isArray(window._adftrack)?window._adftrack:window._adftrack?[window._adftrack]:[];let i=576327,r=["Data_Concept_All_Firstparty","Data_Concept_All"],s="Concept_data",l=n,c=window.location.href,u=e.join(","),g=window.location.hostname;r.forEach(C=>{window._adftrack.push({pm:i,divider:encodeURIComponent("|"),pagename:encodeURIComponent(C),order:{sv1:s,sv2:l,sv3:c,sv22:g,sv4:u}})}),globalThis.dataLayer=globalThis.dataLayer||[];function p(){globalThis.dataLayer.push(arguments)}p("js",new Date),p("config",o,{d_partnership:s,d_first_party_id:l,d_url:c,d_domain_category:u,d_domain_name:g});let m="https://s2.adform.net/banners/scripts/st/trackpoint-async.js",h=`https://www.googletagmanager.com/gtag/js?id=${o}`;V(a,m),V(a,h)}});function Uo(e){globalThis.concept.videosRequested=globalThis.concept.videosRequested+1,globalThis.concept.videoUrls.push(e)}var k,Tr,Cr,vr,Ke,Ct=I(()=>{"use strict";A();Be();N();z();y();M();k=e=>a(e,"video"),Tr=e=>{let t={};return Object.entries(e).forEach(([o,n])=>{Array.isArray(n)?t[o]=n.join(","):t[o]=n}),t},Cr=({selectedVideoSettings:e,output:t,vpos:o="preroll",vpmute:n=1,autoplay:i,muted:r,isLive:s,videoFormat:l,vpa:c="auto",videoId:u=""})=>{let p={isProduction:"true",...Ae(Ie()),autoplay:i,videoType:l,...e.targeting},m=d("controlKey");d("setControlGroup")&&m&&(p[m]=f(m));let h=Tr(p),C={adUnit:e,params:{iu:e.code,cust_params:h,vpos:o,...e.targeting,description_url:encodeURIComponent(window.location.href||window.location.origin),unviewed_position_start:1,wta:1,vpmute:n,autoplay:i,muted:r,vad_format:"linear",vpa:c,output:t,...s&&{isLive:s},...e.cmsid&&{cmsid:e.cmsid},...u&&{vid:u}}},v=f("PPID");return v&&(C.params.ppid=v),C},vr=({selectedVideoSettings:e,output:t="vast",vpos:o="preroll",vpmute:n=1,vpa:i="auto",autoplay:r,muted:s,videoFormat:l,isLive:c,videoId:u=""})=>new Promise((g,p)=>{try{k(`Creating url for ${e.code}`),Me(Ie()),e.code=J(e.code),e.mediaTypes.video.plcmt=s?2:1,e.disablePrebid&&(e.bids=[],k("Bids are disabled in this environment")),window.pbjs.que.push(function(){k(`${e.code} requested`),pbjs.addAdUnits(e),pbjs.setConfig({useBidCache:!0,cache:{url:"https://prebid.adnxs.com/pbc/v1/cache"}}),k("setting cncpt pbjs"),pbjs.requestBids({adUnitCodes:[e.code],bidsBackHandler:function(m){k(`${Object.keys(m).length} recieved from prebid demand`),Object.keys(m).forEach(v=>{m[v].bids.forEach(S=>{let{bidder:b,bidderCode:O,adapterCode:q,cpm:oe,currency:Ne}=S;k(`${b||O||q} gave a bid of ${oe} (${Ne}) for ${v}`)})});let h=Cr({selectedVideoSettings:e,output:t,vpos:o,vpmute:n,vpa:i,autoplay:r,muted:s,isLive:c,videoId:u,videoFormat:l});pbjs?.adServers?.dfp?.buildVideoUrl||T("Your prebid file is not correctly set up. At least your missing some dfp build video url functionality");let C=pbjs.adServers.dfp.buildVideoUrl(h);Uo(C),g(C)}})})}catch(m){p(m)}}),Ke=async(e,t)=>new Promise(async(o,n)=>{try{if(!e)return k("ERROR: Please provide ID"),n(new Error("No Id for player"));let i=d("videoAdunits");if(!i)return k("ERROR: Please Setup op some video adunits"),n(new Error("No video units"));let r=d("waitForEventToStart");if(r&&(k(`Waiting for ${r}`),await Qe(r),k(`${r} -- received`)),!i)return k("ERROR: No video unit for these params"),n(new Error("No video units"));let s=i.find(g=>t?.device||t?.videoFormat?g.device===t?.device&&g.videoFormat===t?.videoFormat&&!!g.isLive==!!t?.isLive:g.playerId===e);if(!s)return k(`No player found ${e}`),n(new Error("No config for you player"));t?.isLive&&(s.videoFormat=s.videoFormat+"_livestream",t.videoFormat=s.videoFormat),t?.isEmbed&&(s.videoFormat=s.videoFormat+"_embed",t.videoFormat=s.videoFormat);let l=s?.VASTAlternative,c=s?.alternativePercent;if(l&&c&&Math.random(){"use strict";y();A();M();ye=e=>a(e,"video"),Ir=e=>{try{let t="https://pubads.g.doubleclick.net/gampad/ads";e.code=J(e.code);let o=`?iu=${e.code}`,n=`&sz=${e?.mediaTypes?.video?.playerSize.join("x")}`,i="&output=vast",r="&gdfp_req=1",s=`&description_url=${encodeURIComponent(document?.location?.origin||"unknown")}`,l={},c=f("targeting");c&&(l=c),e.targeting&&(l={...l,...e.targeting});let u=encodeURIComponent(Object.keys(l).map(m=>{let h=l[m];return Array.isArray(h)?`${m}=${h.join(",")}`:`${m}=${h}`}).join("&")),g=f("PPID"),p=`${t}${o}${n}${i}${r}&unviewed_position_start=1&env=vp&impl=s${s}&correlator=&cust_params=${u}`;return g?(a("SETTING",g),p=`${p}&ppid=${g}`):a("NOOO"),p}catch{throw new Error("Could not build vasttag")}},$o=e=>{try{if(!e)throw ye("ERROR: Please provide ID"),new Error("No Id for player");let t=d("videoAdunits");if(!t)throw ye("ERROR: Please Setup op some video adunits"),new Error("No video units");ye(`Creating vast tag for ${e}`);let o=t.find(i=>i.playerId===e);if(!o)throw ye(`No player found ${e}`),new Error("No config for you player");let n=Ir(o);return globalThis.concept.vastTags.push(n),n}catch{return ye(`Something went wrong ${e}`),""}}});var B,Mo,Bo,Do,qo,Go,Ye,zo,Wo,ue=I(()=>{"use strict";re();y();Ct();Fo();B=!1,Mo=!0,Bo=[],Do=()=>({...!B&&{consentedToCookies:null},...!B&&{videoUrls:[]},...!B&&{vastTags:[]},...!B&&{buildVastTag:$o},...!B&&{requestPrebidUrl:Ke},...!B&&{consentQueue:[]}}),qo=e=>!B&&e,Go=()=>{let e=d("activateTimingTracker"),t=d("deployId")||"",o=!B&&e&&!Bo.includes(t);return Bo.push(t),o},Ye=()=>{let e=d("checkForConsent")&&!B,t=f("consentStatus")===x.LEGITIMATE_INTERREST,o=f("consentedToCookies");return{decideNow:!e||e&&o||t,waitChoise:e&&!o&&!t}},zo=()=>!B,Wo=()=>{let e=!B&&Mo;return Mo=!1,e}});var vt,Ho,Je,Xe=I(()=>{"use strict";A();Z();jo();y();ue();vt=()=>{let e=d("waitForContxt"),t=f("contxtFetched");return d("activateConceptTargeting")&&e&&Number.isInteger(e)&&!t},Ho=()=>{let e=f("contxtRequestQueue")||[];e.forEach((t,o)=>{e[o]()}),globalThis.concept.contxtRequestQueue=[]},Je=async()=>{try{let e,t=d("waitForContxt");vt()&&t&&(e=setTimeout(()=>{a("Timeout expired for Contxt"),Ho()},t));let o=d("reportTrackingAs"),n=d("disableConceptLoads"),i=d("activateDentsuDMP");globalThis.concept.contxtFetched=!1;let r=document.location.href;if(!r||r.includes("safeframe")){T("We can not determine the source url");return}let l=`https://prod-contxt-api-app-service.azurewebsites.net/targeting?url=${r}`;o&&!n&&(l=`${l}&site=${o}`);let c={contxt:null,IAB1:null,IAB2:null};return fetch(l).then(u=>u.json()).then(u=>{if(Array.isArray(u.audiences)&&u?.audiences.length>0&&(c.contxt=u.audiences,i)){let{waitChoise:m}=Ye(),h=()=>ko({contxt:u.audiences,logger:a});m?_e(h):h()}["IAB1","IAB2","IAB3","IAB4"].forEach(m=>{u?.[m]?.id&&(c[m]=u[m].id)});let p=f("targeting");return globalThis.concept.contxtFetched=!0,globalThis.concept.targeting={...p,...c},a("Contextual targeting injected"),X(c),Ho(),clearTimeout(e),c})}catch(e){return T(`Something went wrong with concept contextual targeting: ${e}`),Promise.reject(e)}}});function wr({document:e,adUnit:t,refreshFunction:o,name:n}){let i="scheduleForLater",r=t.divIdOnPage,l={root:null,rootMargin:"0px",threshold:d("refreshInview")||.25},c=e.getElementById(r);if(c&&c.childNodes&&c.childNodes[0]&&c.childNodes[0].constructor.name==="HTMLDivElement"&&(c=c.childNodes[0]),yt({el:c})){Vo(t);let g=`refreshOnNextInView -> ${r} refresh directly nr ${t.targeting.refresh}`;a(g),o({names:[n],caller:i})}else le({observerConfig:l,element:c,excutionFunction:(g,p)=>{g.isIntersecting&&(Vo(t),a(`refreshOnNextInView -> ${r} refresh for scroll nr ${t.targeting.refresh}`),o({names:[n],caller:i}),p.unobserve(c))}})}var Ko,Qo,Ar,Ze,yr,Yo,It,et,J,Jo,Er,Vo,Se,Sr,Pe,Pr,K,de,Tt,Or,xr,Xo,Zo,Rr,Nr,en,Lr,tn,At,on,M=I(()=>{"use strict";A();N();y();oo();Z();Be();Te();z();qe();He();Xe();Ko=e=>new Promise(t=>setTimeout(t,e)),Qo=(e,t,o)=>{let n=de(e,H()),i=n&&n[1][0];if(!Array.isArray(i))return;let[r,s]=i;a(`Showing overlay on ${t}`);let l=P(o);vo(l,r,s)},Ar=async(e,t)=>new Promise(function(o){a(`Looking for ${e} `,"conceptads"),document.querySelector(e)&&o(!0);let n=setTimeout(()=>{let i=document.querySelector(e);clearTimeout(n),o(i)},t)}),Ze=(e,t)=>(e.order||(e.order=1/0),t.order||(t.order=1/0),e.ordert.order?1:0),yr=e=>(!e.updateIfEmpty||e.updateIfEmpty.length===0)&&(!e.dependencies||e.dependencies.length===0)&&!e.divExcluser,Yo=async(e,t)=>{let o=w(e);if(!o)return!1;let n=o;return yr(o)?n:o.divExcluser&&o.excluserTimeout?(a(`Gonna wait for ${o.divExcluser}`),await Ar(o.divExcluser,o.excluserTimeout)?!1:n):["Initial","Async display"].includes(t)||It()?!1:n},It=()=>{let t=f("eventLog").filter(n=>n.list==="Event recieved").map(n=>n.msg);return Or({events:t,strings:[E.SKIN_INIT,E.MACRO_UNLOAD,E.SIDESKIN_INIT]})},et=e=>{let t=H(),o=de(e,t);return!(Array.isArray(o)&&o[1].length===0)},J=e=>{let t=e,o=/%%(\w+)_(\w+)%%/,n=e.match(o);if(n){let i=f("targeting"),[r,s,l]=n;s==="KEY"&&(t=t.replaceAll(r,i[l]))}return t},Jo=({definition:e})=>{let{path:t,size:o,updateIfEmpty:n,refresh:i,dependencies:r,lazyload:s,targeting:l,divIdOnPage:c,id:u,excluserTimeout:g,divExcluser:p,cookieLessPath:m,setHeigthOfParent:h,anchor:C,prebidBid:v,prebidSizes:S,prebidAllowNative:b,setUniqueTargeting:O,rootMargin:q}=e;if(typeof t>"u")throw Error("Please setup the definition path for the adunit");if(typeof o>"u")throw Error("Please setup the definition size for the adunit");if(typeof i>"u")throw Error("Please setup the refreh option");s&&r&&r.length>0&&T("You should not have lazyload and dependencies - it can/will cause two refresh, think about it"),s&&n&&n.length>0&&T("You should not have lazyload and wait for another ad unit - it can/will cause two refresh, think about it"),t&&(t=J(t)),o=(_=>_.map(Y=>(Y[0]=Y[0].map(qi=>parseInt(qi)),Y)))(o);let Ne=H(),ne=de(o,Ne);Array.isArray(ne)&&ne[1].length===0&&T("Unit doesnt have appropriate sizes for this viewport -- This will not be defined later"),S&&(ne?(S=S.filter(_=>ne[1].some(Y=>Er(Y,_))&&typeof _[0]!="string"),a("prebidSizes changed by GAM viewport rule","pbjs")):S=[]),l||(l={});let ut=d("controlKey");d("setControlGroup")&&ut&&(l[ut]=f(ut));let Q={path:t,sizes:o,refresh:i,dependencies:r,updateIfEmpty:n,divIdOnPage:c,id:u,lazyload:s,...b&&{prebidAllowNative:b},...m&&{cookieLessPath:m},...l&&{targeting:l},...C&&{anchor:C},...v&&{prebidBid:v},...S&&{prebidSizes:S},...h&&{setHeigthOfParent:h},...q&&{rootMargin:q},...O&&{setUniqueTargeting:O},...p&&{divExcluser:p,excluserTimeout:g||500}},Di=Q?.prebidBid?.map(_=>{if(_.splitBid){let{bidder:Y}=_;return[{..._,bidder:`${Y}_client`,splitBid:!1},{..._,bidder:`${Y}_s2s`,splitBid:!1}]}return _}).flat(1/0)||[];Q.prebidBid=Di;let Gt=Q.prebidBid?Q.prebidBid.filter(_=>!_.cookieless).map(_=>to(_)):[],zt=Gt?fo({path:t,bids:Gt,sizes:Q.prebidSizes,prebidAllowNative:Q.prebidAllowNative}):null;return zt&&(Q.prebidSettings=zt),Q},Er=(e,t)=>e.length===t.length&&e.every((o,n)=>o===t[n]),Vo=e=>{e.targeting.refresh=Number.isInteger(e.targeting.refresh)?(e.targeting.refresh||0)+1:1;let t=e.targeting.refresh;Ee(e.slot,"refresh",t),Ee(e.slot,"flipMe",!0),a(`initializeRefreshTargeting -> Setting refresh = ${t} for ${e.divIdOnPage}`)},Se=e=>{e.refreshTimer&&(e.refreshTimer=void 0,clearTimeout(e.refreshTimer))},Sr=({name:e,adUnit:t,refreshFunction:o})=>{if(a(`Timer for ${t.divIdOnPage} has past`),t.refreshBlocked){a("The current order does not allow refresh");return}if(t.loadedFirstTime||!t.lazyload)wr({document,adUnit:t,refreshFunction:o,name:e});else{let n=`refreshOnNextInView -> unit (${t.divIdOnPage}) not loaded first time`;a(n),Pe({name:e,adUnit:t,refreshFunction:o})}},Pe=({name:e,adUnit:t,refreshFunction:o})=>{Se(t),t.targeting=t.targeting||{};let n=t.refresh/1e3;a(`refreshOnNextInView -> refresh (${t.divIdOnPage}) in ${n}s or next inview after that`);let i=()=>Sr({name:e,adUnit:t,refreshFunction:o});t.refreshTimer=setTimeout(i,t.refresh)},Pr=e=>{let t=H(),o=e.filter(i=>!se({adunitId:i.id})).filter(i=>{let r=de(i.sizes,t);return Tt(r)});return{unitsCodes:o.map(i=>i.path||i.getAdUnitPath()),slotsToUse:o}},K=async e=>{let{unitsCodes:t,slotsToUse:o}=Pr(e);a(`refreshAdUnit -> ${t} `,"conceptads");let n=d("usePrebid");globalThis.concept.consentedToCookies===!1&&(a("We are not gonna use prebid, since the user said no to cookies"),n=!1);let i=()=>n?ho(o):nn(t,o);vt()?(a("Waiting for contxt"),globalThis.concept.contxtRequestQueue.push(i)):(a("Not waiting for contxt"),i())};de=(e,t)=>{if(!e)return;let o=[[0,0],[]];return e.forEach(n=>{let i=parseInt(n[0][0]);t>=i&&i>=o[0][0]&&(o=n)}),o},Tt=e=>e[1].length>0,Or=({events:e,strings:t})=>{let o=t.map(r=>r.toLowerCase()),n=e.map(r=>r.toLowerCase()),i=r=>new RegExp(o.join("|")).test(r.toLowerCase());return n.filter(r=>i(r)).length>0},xr=e=>To([e.testA,e.testB]).adunitId===e.testA.adunitId?e.testB:e.testA,Xo=()=>{let e=d("ABTesters");if(!e)return;let t=e,o=[];t.filter(n=>!n.alreadyCalculated).forEach(n=>{o.push(xr(n).adunitId),n.alreadyCalculated=!0}),Nr(o)},Zo=e=>d("ABTesters").find(o=>{let{testA:n,testB:i}=o;return n.adunitId===e||i.adunitId===e}),Rr=e=>{if(!e)return;let t=Zo(e),o="testB";t.testA.adunitId===e&&(o="testA"),a(`Using the test value = ${o}`,"test");let n=d("adUnits");if(!n){a("no adunits ready to be a/b tested");return}let i=n.find(r=>r.id===e);i&&(i.targeting?i.targeting.test=o:i.targeting={test:o})},Nr=e=>{if(e.length>0){let t=i=>{let r=f("discardedForTest"),s=!e.includes(i.id);!s&&r&&globalThis.concept.discardedForTest.push(i);let l=Zo(i.id);return s&&l&&Rr(i.id),s};["strossles","readpeaks","adUnits"].forEach(i=>{let r=d(i);r&&Array.isArray(r)&&ke(i,r.filter(t))});let n=`${e.join(",")} Has been removed in connection with A/B Test`;a(n,"test")}},en=e=>JSON.parse(JSON.stringify(e)),Lr=(e,t)=>{let o=0;for(let r=0;r{let t=Ve(e,!0);return t?Lr(t,32):null},At=(e,t)=>{if(!t)return e;for(var o,n=t.split("."),i=0,r=n.length-1;i{let t={};for(let o in e)e.hasOwnProperty(o)&&(t[o]=`${e[o]}`);return t}});function ln(e){let t=!1;if(Ot())t=!0,e();else{let n=function(){t||(t=!0,document.removeEventListener("DOMContentLoaded",n,!1),window.removeEventListener("load",n,!1),e())};var o=n;document.addEventListener("DOMContentLoaded",n,!1),window.addEventListener("load",n,!1)}}function dn(){return!("IntersectionObserver"in window)||!("IntersectionObserverEntry"in window)||!("intersectionRatio"in window.IntersectionObserverEntry.prototype)?(a("Can not use the IntersectionObserver"),T("Can not use the IntersectionObserver"),!0):!1}function D(e,t,o=!1){let n=document.querySelectorAll.bind(document),i=o?e:jr(e),r,s;return new Promise(l=>{t&&Number.isInteger(t)&&(a(`Timing ${e} out in ${t} ms`),r=setTimeout(function(){a(`${e} TIMED OUT due to failsafe_timeout`,"warning"),l(null)},t));let c=n(i),u=c&&Ur(c)?c.length>0:!0;if(c&&u){r&&clearTimeout(r);let g=Array.from(c,p=>p.id);l(g)}else if(d("avoidMutationObserver")){a("Interval observer started for dublications");let p=setInterval(()=>{let m=n(i);if(m){a(`Found from intervaller ${i}`),clearInterval(p),r&&clearTimeout(r);let h=Array.from(m,C=>C.id);l(h)}},100)}else if(a(`Relying on MutationObserver to find ${e}`),s=new MutationObserver(p=>{let m=n(i);if(m&&m.length>0){a(`Found from mutationObserver ${i}`),s.disconnect(),r&&clearTimeout(r);let h=Array.from(m,C=>C.id);l(h)}}),document.body){let p=document.body,m={childList:!0,subtree:!0};s.observe(p,m);return}else a(`Could not wait for ${e} as there is no docuemnt body`)})}var rn,Et,an,sn,Qe,St,cn,yt,Ae,P,un,le,_r,Pt,pn,kr,gn,H,wt,Ot,Ue,fn,tt,jr,Ur,$r,Ve,N=I(()=>{"use strict";A();Jt();y();$e();M();W();Et=e=>document.body.appendChild(e),an=({targetingFunction:e})=>{let t=o=>{let{coords:{longitude:n,latitude:i,accuracy:r}}=o,s={lat:`${i}`,long:`${n}`,accuracy:`${r}`};globalThis.concept.targeting={...globalThis.concept.targeting,...s},a("Geo is being set"),e(s)};navigator.geolocation&&navigator.geolocation.getCurrentPosition(t)},sn=!1,Qe=e=>sn?Promise.resolve():new Promise(t=>{document.addEventListener(e,function(){return sn=!0,t()},{once:!0}),globalThis.concept.listenerCreated=!0,Eo()}),St=(e,t)=>{document.addEventListener("DOMContentLoaded",function(){e(t)})};cn=e=>e?e.getBoundingClientRect().top:!1,yt=({el:e,parentCheck:t=!1})=>{if(!e)return!1;let{width:o,height:n,bottom:i,top:r,left:s,right:l}=e.getBoundingClientRect();return o===0&&n===0&&!t?yt({el:e.parentNode,parentCheck:!0}):!document.hidden&&r>=0&&s>=0&&i<=wt()&&l<=H()},Ae=(e={adUnits:[]})=>{let t={};try{let o=Math.round(window.devicePixelRatio*100),n=window.frameElement?window.frameElement.baseURI:"",i=window.location.toString(),r=i.includes("http")?i:n,s=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,c=new RegExp(s).exec(r);if(c){let C=c[4]||"",v=(c[5]||"").replace(/(.)\/$/,"$1"),b=(c[7]||"").replace(/\=/gi,":").split("&");t={UrlHost:C,UrlPath:v,UrlQuery:b,browserZoomLevel:o+""}}e.postSetup?t.pb=["post"]:t.entry="first";let u=e.customTargeting;u&&(t={...t,...on(u)});let g=At(window,d("siteTargetingKey")||"siteTargeting");g&&typeof g=="object"&&(t={...t,...g});let p=e.urlTargetingSearchings;p&&Array.isArray(p)&&p.forEach(C=>{let{searchFor:v,valueName:S,keyName:b}=C;r.includes(v)&&(t[b]=S)});let m=e.lookForGlobal;return m&&Array.isArray(m)&&m.forEach(C=>{let{name:v,globalVar:S}=C,b=At(window,S);b&&(t[v]=typeof b=="string"?b.split(",").map(O=>O.trim()):b)}),globalThis?.pbjs?.version&&(t.prebidVersion=globalThis?.pbjs?.version),window.location.pathname.split("/").forEach((C,v)=>{v>0&&v<4&&(t["path"+v]=C.slice(-40))}),a("Return global targeting object"),t}catch{a("Something went wrong with the global targeting");return}};P=e=>document.getElementById(e),un=({elementId:e,refreshFunc:t,refreshWhenReadyFunction:o,scheduleLaterFunc:n})=>{let i=P(e);return i&&kr({element:i,refreshFunc:t,scheduleLaterFunc:n,refreshWhenReadyFunction:o}),null},le=({element:e,excutionFunction:t,observerConfig:o})=>{if(!(e instanceof Element))return;let n=(r,s)=>{r.forEach(l=>t(l,s))},i=new IntersectionObserver(n,o);return i.observe(e),i},_r=({adUnit:e,scheduleLaterFunc:t,refreshWhenReadyFunction:o})=>{let{refreshTimer:n,divIdOnPage:i}=e;clearTimeout(n),a(`resetRefreshCounter --> resetting timer: ${i}`),t({name:i,adUnit:e,refreshFunction:o})},Pt=e=>{let t=d("globalLazyAttribute"),o=d("globalLazyloadValue");return!t||!o?!1:P(e)?.dataset[t]===o},pn=()=>{if(rn){a("BfCache listener already active");return}rn=window.addEventListener("pageshow",e=>{e.persisted&&(a("BFCACHE hit *****"),globalThis.concept.bfCache=!0,globalThis.concept.refreshAllActiveAdunits())})},kr=({element:e,refreshFunc:t,scheduleLaterFunc:o,refreshWhenReadyFunction:n})=>{let i=s=>{let l=s.target;if(s.isIntersecting){a(`refreshOnIntersection -> ${l.id} is intersection:`);let c=w(l.id);if(!c){T(`Could not find Adunit in adunit list ${l.id}`);return}let{lazyload:u,alreadyLoaded:g,refreshTimer:p}=c,m=se({adunitId:l.id});Pt(l.id)&&(u=!0,c.lazyload=!0),u&&!g&&!m&&(a("refreshOnIntersection -> Not loaded yet, so we refresh"),c.alreadyLoaded=!0,c.loadedFirstTime=!0,p&&_r({adUnit:c,scheduleLaterFunc:o,refreshWhenReadyFunction:n}),t([c]))}},r=ce(e.id);le({element:e,excutionFunction:i,observerConfig:r})},gn=(e,t,o)=>{let n=H();return e&&t&&(n<=e||n>=t)?(a(` ${o} not meeting the vierwport rules!!`),!1):!0},H=()=>window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,wt=()=>window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,Ot=()=>["complete","loaded","interactive"].includes(document.readyState),Ue=()=>Yt(),fn=(e,t)=>{let o=e.split("."),n=globalThis;for(let i=0;ie?e.length===0?(T("nodelist empty"),null):e[0]:(T("No nodelist found"),null),jr=e=>{let t=e;return e.includes(".")&&(t=t.split(".").join("\\."),a(`Found a ., now looking for ${t}`)),t},Ur=e=>NodeList.prototype.isPrototypeOf(e);$r=["CookieConsent","CookieInformationConsent","_ga","eupubconsent-v2"],Ve=(e,t=!1)=>{let o=[];t&&(o=[...$r]),e&&o.unshift(e);let n="";return document.cookie.split(";").forEach(function(i){let[r,s]=i.split("=");o.includes(r.trim())&&(n=s)}),n}});function mn(e){let o=`https://dw6vol2k7d4iu.cloudfront.net/1x1.png${e}&someunique=${$()}`;ee(o,"concept-loads")}var ee,hn,bn,pe=I(()=>{"use strict";A();N();z();ee=(e,t)=>{let o=document.createElement("img");o.setAttribute("src",e),o.setAttribute("style","display:none"),o.setAttribute("alt",t),o.setAttribute("id","concept-pixel");try{document.body?Et(o):St(Et,o)}catch(n){console.error("Cant read document.body in append pixel",n)}};hn=e=>{try{document.body?mn(e):St(mn,e)}catch(t){console.error("Cant read document.body",t)}},bn=({lineItemId:e,creativeId:t,adunitCode:o})=>{let n=globalThis.conceptConfig.reportTrackingAs;if(!n||!globalThis?.concept?.targeting)return a("Cant track when no name to track on","concept"),null;let s=`${`https://d23oz2xvzoo5zg.cloudfront.net/imp_track.gif?site=${n}&lineItemId=${e}&creativeId=${t}&adunitCode=${o}`}&someunique=${$()}`;return ee(s,"advanced-tracking"),s}});var Tn,Cn,vn=I(()=>{"use strict";pe();Tn=()=>globalThis.conceptConfig.sendDataToAdformDSP,Cn=({logger:e})=>{window._adftrack=Array.isArray(window._adftrack)?window._adftrack:window._adftrack?[window._adftrack]:[];let t="concept_dmp",o={HttpHost:"track.adform.net",pm:923403,divider:encodeURIComponent("|"),pagename:encodeURIComponent(t),order:{}};globalThis.concept?.targeting?.contxt&&globalThis.conceptConfig.targetingToDMP?.push("contxt--sv7"),globalThis.conceptConfig.targetingToDMP?.forEach(i=>{let[r,s]=i.split("--");if(r==="format"){let l=globalThis.conceptConfig.adUnits.map(u=>u.targeting?.format).filter(Boolean).map(u=>u?.split(",").join("|")),c=[...new Set(l)].join("|");o.order[s]=c}else r==="contxt"?globalThis.concept.targeting[r]&&(o.order.itms=globalThis.concept.targeting[r].map(l=>({[s]:l}))):globalThis.concept.targeting[r]&&(o.order[s]=globalThis.concept.targeting[r])}),window._adftrack.push(o),function(){var i=document.createElement("script");i.type="text/javascript",i.async=!0,i.src="https://s2.adform.net/banners/scripts/st/trackpoint-async.js";var r=document.getElementsByTagName("script")[0];r.parentNode&&r.parentNode.insertBefore(i,r)}();let n=`https://track.adform.net/Serving/TrackPoint/?pm=923403&ADFPageName=${t}&ADFdivider=|`;ee(n,"concept-dmp"),e("DMP pixel loaded")}});var In,Fr,An=I(()=>{"use strict";N();y();A();$e();In=({injectionFunction:e})=>{let t=d("readpeaks");t&&t?.length>0&&t.forEach(o=>{Fr({readpeakConf:o,injectionFunction:e})})},Fr=async({readpeakConf:e,injectionFunction:t})=>{a(`Lazyloading a readpeak item in ${e.divIdOnPage}`,"readpeak");let o=d("readpeaks"),n=document.createElement("iframe");n.src=e.src,globalThis.concept.tcString&&(n.src=`${n.src}&gdpr_consent=${globalThis.concept.tcString}`),n.id=e.readpeakId,n.setAttribute("style",e.style);let i=ce(null),r=(g,p)=>{let m=g.target;if(g.isIntersecting&&o){let h=o.find(ne=>ne.divIdOnPage===m.id),{fromViewport:C,toViewport:v}=h,S=parseInt(C),b=parseInt(v),O=`${h.divIdOnPage}`;if(!gn(S,b,O))return;let oe=h&&P(h.divIdOnPage);oe&&oe.hasChildNodes()===!1&&h?(h.loadedTimes?h.loadedTimes=h.loadedTimes+1:h.loadedTimes=1,m.appendChild(n),globalThis.__rpads=globalThis.__rpads||[],globalThis.__rpads.push(h.readpeakId),a(` ${h.divIdOnPage} inserted!!`,"readpeak"),t(a),p.unobserve(P(h.divIdOnPage))):a("Readpeak container is not empty :O!","readpeak")}},s=f("failsafe_timeout"),l=e.divIdOnPage,c=await D(`#${l}`,s,!0);return tt(c)?([...document.querySelectorAll(`#${l}`)].forEach(p=>{le({observerConfig:i,element:p,excutionFunction:r})}),"ok"):(a(`Could not insert into ${l}`,"error"),"could not find")}});var yn,Mr,En=I(()=>{"use strict";N();y();A();$e();yn=({injectionFunction:e})=>{let t=d("strossles");t&&t?.length>0&&t.forEach(o=>{Mr({strossleConfig:o,injectionFunction:e})})},Mr=async({strossleConfig:e,injectionFunction:t})=>{let o=e.divIdOnPage,n=d("strossles");a(`Lazyloading a strossle item in ${o}`,"strossle");let i=ce(null),r=(c,u)=>{let g=c.target;if(c.isIntersecting&&n){let p=n.find(m=>m.divIdOnPage===g.id);p&&!p.alreadyLoaded&&(p.alreadyLoaded=!0,globalThis.strossle=globalThis.strossle||function(){(strossle.q=strossle.q||[]).push(arguments)},globalThis.strossle(p.strossleId,`#${p.divIdOnPage}`),a(` ${p.divIdOnPage} inserted!!`,"strossle"),t(a),u.unobserve(P(p.divIdOnPage)))}},s=f("failsafe_timeout");return await D(`#${o}`,s,!0)?([...document.querySelectorAll(`#${o}`)].forEach(u=>{le({observerConfig:i,element:u,excutionFunction:r})}),"ok"):(a(`Could not insert into ${o}`,"error"),"could not find")}});var Sn,Pn=I(()=>{"use strict";j();Sn=(e,t)=>{V(e,`https://t.seedtag.com/t/${t}.js`),e("seedtag Injected")}});var wn,On,xn=I(()=>{"use strict";y();({injectCustomAsyncScript:wn}=(j(),gt(Fe))),On=e=>{wn(e,"https://advertising-cdn.dpgmedia.cloud/native-renderer/main.js"),e("Seemleas renderer Injected");let t=d("seemlessTemplateRef");wn(e,t),e("Seemleas templates Injected")}});var Fe={};Hi(Fe,{execute3rdparties:()=>nt,getScriptTag:()=>ot,inject:()=>ae,injectAdnami:()=>xt,injectBrowsi:()=>Ln,injectCustomAsyncScript:()=>V,injectPrebid:()=>mt,injectReadpeak:()=>Rn,injectStrossle:()=>Nn,insertAsFirstScript:()=>we,loadSync:()=>Rt,loadThirdPartyLibsWithCookiesOneTimeLoad:()=>Nt});function V(e,t,o=[],n=!0){let i=ot();if(i.id="Custom script",i.async=!0,i.type="text/javascript",i.src=t,o.forEach(r=>{let[s,l]=r;i.setAttribute(s,l)}),n)we({scriptTag:i}),e("Custom script Injected");else return i}function Rt(e,t,o=""){var n=ot();t&&(n.id=t),o&&n.setAttribute("referrerpolicy",o),n.type="text/javascript",n.src=e,we({scriptTag:n})}var ot,we,ae,mt,Rn,Nn,xt,Ln,nt,Nt,j=I(()=>{"use strict";A();vn();An();En();Pn();ue();xn();ot=()=>document.createElement("script"),we=({scriptTag:e})=>{let t=document.getElementsByTagName("script")[0];t&&t.parentNode?t.parentNode.insertBefore(e,t):document.head.appendChild(e)},ae=(e,t,o=!1)=>{(function(n,i){let r=n.createElement(i);r.type="text/java"+i,r.src=e,we({scriptTag:r}),o&&(r.async=o)})(t,"script")},mt=(e,t)=>{ae(t,document,!0),e("prebid Injected")},Rn=e=>{Rt("https://app.readpeak.com/js/rp-if.js","Readpeak"),e("Readpeak Injected")},Nn=e=>V(e,"https://assets.strossle.com/strossle-widget-sdk/1/strossle-widget-sdk.js"),xt=(e,t)=>{window.adsmtag=window.adsmtag||{},adsmtag.cmd=adsmtag.cmd||[],Rt(t,"Adnami"),e("Adnami Injected")};Ln=(e,t)=>{e("Browsi Injected"),function(){var o=ot();o.type="text/javascript",o.async=!0,o.dataset.sitekey=t,o.dataset.pubkey="concept",o.id="browsi-tag",o.src="https://cdn.browsiprod.com/bootstrap/bootstrap.js",we({scriptTag:o})}()},nt=()=>{zo()&&(a("Loading 3rdparty DOM injectors"),In({injectionFunction:Rn}),yn({injectionFunction:Nn}))},Nt=(e,t)=>{if(Wo()){nt();let{seedtagId:o,browsiSiteKey:n,seemlessTemplateRef:i,disableBrowsi:r}=e;i&&On(a),Tn()&&setTimeout(()=>{Cn({logger:a})},500),!r&&n&&Ln(a,n),o&&Sn(t,o)}else t("3rd partys already loaded")}});var _n,kn,X,Br,Ee,Dr,nn,jn,qr,Un,it,Z=I(()=>{"use strict";A();re();j();z();y();_n=!0,kn=e=>{let t=d("tryLimitedAds"),o=d("siteLoadsGpt");if(_n&&!o){let n="https://securepubads.g.doubleclick.net/tag/js/gpt.js";return t?(a("adding event listener to window.consentRecieved"),window.addEventListener("consentRecieved",()=>{f("consentStatus")===x.LEGITIMATE_INTERREST&&(n="https://pagead2.googlesyndication.com/tag/js/gpt.js"),ae(n,document,!0)},{once:!0,capture:!0})):ae(n,document,!0),_n=!1,e("GPT Injected"),globalThis.googletag}},X=e=>{googletag.cmd.push(function(){a("GAM targeting being set");let t=[];for(var o in e)if(e.hasOwnProperty(o)){let n=e[o];n&&googletag.pubads().setTargeting(o,n)}t.length>0&&a(`could set value for the keys = ${t.join(",")} (empty)`)})},Br=e=>{let t=[[0,0],[]];return(JSON.stringify(e).includes(JSON.stringify(t[0]))?e:[...e,t]).map(i=>(i[1][0]&&i[1][0].length<=0&&(i[1]=[]),i))},Ee=(e,t,o)=>{o&&e&&e.setTargeting(t,o)},Dr=e=>{let t=[];return e.forEach(o=>{t=[...t,...o[1]]}),t},nn=(e,t)=>{let o=je();googletag.cmd.push(function(){G(`${e} , ' gpt`);let n=t.map(i=>i.getResponseInformation?i:i.slot).filter(i=>i!==void 0);n.length>0?googletag.pubads().refresh(n,o):T("Will not refresh 0")})},jn=({path:e,size:t,elementId:o,anchor:n,targeting:i,setUniqueTargeting:r})=>{let s;if(!e){T(`NO PATH FOR ADUNIT ${e}`);return}googletag.cmd.push(function(){try{if(n?(s=googletag.defineOutOfPageSlot(e,googletag.enums.OutOfPageFormat[n]),s&&s.addService(googletag.pubads())):(s=googletag.defineSlot(e,Dr(t),o),s&&s.setCollapseEmptyDiv(!0).addService(googletag.pubads()),s.defineSizeMapping(Br(t))),!s){T("No slot here");return}i&&Object.keys(i).forEach(l=>{Ee(s,l,i[l])}),r&&Ee(s,"uniqueId","_"+$()),qr({slot:s,elementId:o})}catch(l){T(`GAM ERROR: ${l}`)}})},qr=({slot:e,elementId:t})=>{let o=w(t);o.slot=e,globalThis.concept.adUnits.set(t,o)},Un=()=>{googletag.cmd.push(function(){R("Googletag loaded")})},it=()=>{googletag.cmd.push(function(){googletag.pubads().setPrivacySettings({limitedAds:!0})})}});Te();Z();A();N();var te={GAM:"GAM",ADNUNTIUS:"Adnuntius"};re();N();Ct();var Lt={};function Gr(e){if(e.data){var t=e.data.type,o=Lt[t];if(o)for(var n=0;ne.includes(h))&&s.some(h=>e.includes(h));return c||u||g||l||m?e:!1}var Fn=navigator.connection||navigator.mozConnection||navigator.webkitConnection,Wr=(e,t,o)=>{let n=e.find(i=>i.msg===t);return n?parseFloat(n.secondCount+o):0},Hr=(e,t,o)=>{let n=e.find(i=>i.msg.startsWith(t));return n?parseFloat(n.secondCount+o):0},Vr=(e,t,o)=>{let n=e.find(i=>i.msg.endsWith(t));return n?parseFloat(n.secondCount+o):0},Mn=(e,t)=>{let o=e[t-1]?.measureTime;return o<=0&&t>1?Mn(e,t-1):o},Kr=e=>{let t={},o=parseFloat("0.0"),n=parseFloat(`${e.scriptLoadTime.startTime/1e3}`),i=parseFloat(`${n+e.scriptLoadTime.duration/1e3}`),r=e.scriptLoadTime.responseEnd/1e3,s=b=>Hr(e.conceptEvents,b,r),l=b=>Vr(e.conceptEvents,b,r),c=Wr(e.conceptEvents,"Consent recieved",r),u=s("injectNewAds execution requested"),g=s("prebid auction started"),p=l(" Requested"),m=s("slotResponseReceived"),h=l(" creative iframe loaded"),C=[{eventName:"Page_start",measureTime:o},{eventName:"ConceptAds_requested",measureTime:n},{eventName:"ConceptAds_downloaded",measureTime:i},{eventName:"Consent_recieved",measureTime:c},{eventName:"injectad_recieved",measureTime:u},{eventName:"First_prebid_auction_Started",measureTime:g},{eventName:"First_GAM_request_initiated",measureTime:p},{eventName:"First_response_from_GAM",measureTime:m},{eventName:"First_ad_loaded",measureTime:h}],v=[];C.forEach((b,O)=>{b.measureTime!==null&&(O>0&&b.measureTime{if(O===0)t[b.eventName]=b.measureTime;else{let q=Mn(v,O),oe=b.measureTime===0?0:b.measureTime-q;t[b.eventName]=oe}});let S=new URL("https://d22i50b931b1j0.cloudfront.net/timing_track.gif");if(Fn){let{downlink:b}=Fn;b&&S.searchParams.set("downlink",b)}return globalThis?.conceptConfig?.reportTrackingAs&&S.searchParams.set("reportTrackingAs",globalThis.conceptConfig.reportTrackingAs),Object.keys(t).forEach(b=>{S.searchParams.set(b,t[b])}),S.href},Bn=()=>{let e=globalThis.performance.getEntriesByType("resource");e||a("Could not read performnce timing");let t=e.find(r=>zr(r.name));if(!t)return;let o=globalThis.concept.eventLog.filter(r=>r.list==="Timing point"),i=Kr({scriptLoadTime:t,conceptEvents:o});ee(i,"timing-pixel"),a("Timing pixel loaded")};ue();var Qr=e=>{let t=0;return e.forEach((o,n)=>{o.id.includes("google_ads_iframe_")&&(t=n)}),t},rt=e=>{let t=e&&e.placement||null;t&&(a(`${t} Requested`,"gpt"),U(`${t} Requested`))},Yr=(e,t)=>{let o=`[id*='${t.adunitId}'] iframe`,n=document.querySelectorAll(o),i=Qr(n),r=n[i],l=(r.height?`${r.height}px`:null)||window.getComputedStyle(r,null).height,c=document.querySelector(`[id*='${t.adunitId}']`);if(l==="1px"){e("We will NOT set heigth to 1, as its prebid","conceptads");return}let u=r?.parentElement?.parentElement;if(u&&l){let g=`Setting height of divid ${t.adunitId} to: `;e(g,"conceptads");let p=u.style;p.height=l,p.minHeight=l,c.style.height=l,c.style.minHeight=l}else e("Not gonna set height (no iframe or height)","conceptads")},st=e=>{globalThis.concept.adsloaded=globalThis.concept.adsloaded+1;let t=e&&e.placement||null;if(!t)return;let o=" creative iframe loaded";a(o,"gpt"),U(o),Go()&&Bn();let n=w(t);n&&n.setHeigthOfParent&&Yr(a,e),R(`${E.SLOT_LOADED} - ${t}`),ve(t),n&&ze({name:t,divId:n.divIdOnPage}),_t(t)},Dn=e=>{for(let t of globalThis.concept.updateWhenResolved.keys())if(t===e){let o=w(t);o?(a(`Gonna refresh: ${t} beacuse dependant is resolved`),K([o])):a(`Could not refresh: ${t} As it was not found in internal config`)}},qn=e=>{for(let[t,o]of globalThis.concept.updateIfEmpty.entries())o===e&&(a(`${o} has just been loaded - and its empty ${t}`),globalThis.concept.updateIfEmpty.delete(t),a(`${e}: now has ${globalThis.concept.updateIfEmpty.size} empty dependencies we should resolve`),setTimeout(function(){let n=w(t);n&&(se({adunitId:t})||(a(`No skin found, refreshing ${t}`),K([n])))},10))},_t=e=>{for(let[t,o]of globalThis.concept.updateWhenResolved.entries())o===e&&(a(`${o} has just been loaded - if no skin we should refresh ${t}`),globalThis.concept.updateWhenResolved.delete(t),a(`${e}: now has ${globalThis.concept.updateWhenResolved.size} dependencies we should resolve`),setTimeout(function(){let n=It(),i=w(t);if(i){let r=se({adunitId:t});!n&&!r&&(a(`No skin found, refreshing ${t}`),K([i]))}},10))},Gn=e=>e.frameElement&&e.frameElement.id,zn=(e,t)=>{let o=Gn(t);R(`${E.DESKTOP_TOPSCROLL} - ${o}`)},Wn=(e,t)=>{try{let o=Gn(t);R(`${E.MACRO_UNLOAD} - ${o}`)}catch{R(`${E.MACRO_UNLOAD} - Iframe error`)}if(e&&e.placement){a(` Macro: unload ${e.placement}`,"gpt");return}},Hn=()=>{R(E.SKIN_INIT)},Vn=(e,t)=>{wo(t.window),R(E.GET_CONCEPTADS)},Kn=(e,t)=>{let{playerId:o}=e;So(t.window,o),R(E.GET_VASTTAG)},Qn=(e,t)=>{let{playerId:o}=e;Po(t.window,o),R(E.GET_VASTTAG)},Yn=()=>{R(E.SIDESKIN_INIT)};y();N();y();A();var Jn=!1,Xn=(e,t)=>t.includes(e.id)&&e.getAttribute&&!e.getAttribute("dublicatenoted"),Zn=({consented:e,node:t})=>{t.setAttribute("dublicatenoted","true"),a(`Found dublicate of ${t.id}`),Oe({consented:e,nodeId:t.id})},ei=(e,t,o)=>{Xn(e,t)&&Zn({consented:o,node:e}),e.childNodes&&[...e.childNodes].forEach(n=>{ei(n,t,o)})},ti=({consented:e,nodeToWatch:t=document})=>{if(Jn!==!0){let o=d("adUnits").map(n=>n.divIdOnPage);if(Jn=!0,globalThis.conceptConfig.avoidMutationObserver)a("Interval observer started for dublications"),setInterval(()=>{o.filter(n=>n!==void 0).forEach(n=>{let i=P(n);i&&Xn(i,o)&&Zn({consented:e,node:i})})},100);else{let n=new MutationObserver(function(i){for(let r of i)for(let s of r.addedNodes)ei(s,o,e)});a("Mutation observer started for dublications"),n.observe(t,{childList:!0,subtree:!0})}}};ue();var L={TCF_LEGITIMATE_INTERREST:"TCF_LEGITIMATE_INTERREST",TARGETING_MATCH:"TARGETGING_MATCH",TARGETING_ARRAY_CONTAINS:"TARGETGING_ARRAY_CONTAINS",URL_IS_SPECIFIC_SECTION:"URL_IS_SPECIFIC_SECTION",URL_CONTAINS_SPECIFIC_SECTION:"URL_CONTAINS_SPECIFIC_SECTION",URL_IS_SPECIFIC:"URL_IS_SPECIFIC"};y();A();M();z();var Jr=e=>location.href===`${location.origin}/${e}`,Xr=e=>{let t=`${location.origin}/${e}`;return location.href.startsWith(t)},Zr=e=>location.href===e,es=({key:e,value:t})=>globalThis.concept.targeting[e]===t,ts=({key:e,value:t})=>Array.isArray(globalThis.concept.targeting[e])&&globalThis.concept.targeting[e].includes(t),at=()=>{let e=ns(),t=os();a(`Checked for startup and targeting profiles [${e}|${t}] `)},ge={[L.TARGETING_MATCH]:{profileName:L.TARGETING_MATCH,func:es},[L.TARGETING_ARRAY_CONTAINS]:{profileName:L.TARGETING_ARRAY_CONTAINS,func:ts},[L.URL_IS_SPECIFIC_SECTION]:{profileName:L.URL_IS_SPECIFIC_SECTION,func:Jr},[L.URL_CONTAINS_SPECIFIC_SECTION]:{profileName:L.URL_CONTAINS_SPECIFIC_SECTION,func:Xr},[L.URL_IS_SPECIFIC]:{profileName:L.URL_IS_SPECIFIC,func:Zr}},os=()=>{let e=[ge[L.TARGETING_MATCH],ge[L.TARGETING_ARRAY_CONTAINS]];return ni(e)},ns=()=>{let e=[ge[L.URL_IS_SPECIFIC_SECTION],ge[L.URL_CONTAINS_SPECIFIC_SECTION],ge[L.URL_IS_SPECIFIC]];return ni(e)},ni=e=>{let t=[];return(d("settingsProfiles")||[]).forEach(n=>{let i=e.find(r=>r.profileName===n.type);i&&i.func(n.activateOnArgs)?(ri(n),t.push(!0)):t.push(!1)}),t},kt=()=>(d("settingsProfiles")||[]).filter(o=>o.type===L.TCF_LEGITIMATE_INTERREST),ii=(e,t)=>{let o=kt(),n=e?.purpose?.legitimateInterests||{};return o.length===0||t?(a("Using the default tcf profile (default central)"),["2","7","9","10"].every(s=>n[s])):(o.sort(Ze).forEach(r=>{let s=!0;r.extraConditions&&(s=r.extraConditions.every(l=>ge[l.type].func(l.activateOnArgs))),s&&r.activateOnArgs.every(l=>n[l])&&(ri(r),globalThis.concept.tcfProfileSet=!0)}),!!globalThis.concept.tcfProfileSet)},oi=e=>{Object.keys(e).forEach(t=>{globalThis.conceptConfig[t]=e[t]})},ri=e=>globalThis.concept.tcfProfileSet?(a(`Will NOT override the ${globalThis.concept.activeProfile} profile with (${e.name})`,"warning"),"done"):(a(`Using the ${e.name} profile`),globalThis.concept.targeting.settingsProfile=e.name,globalThis.concept.activeProfile=e.name,oi(e.globalChanges),Array.isArray(e.experiments)&&e.experiments.forEach(t=>{let o=Ce("forceExperiment")==="true";(bo(t.activateForPercent)||o)&&(a(`Experiment ${t.name} active`),globalThis.concept.targeting.experiment=t.name,oi(t.globalChanges))}),Object.keys(e.adunitsChanges).forEach(t=>{let o=e.adunitsChanges[t],n=Object.keys(o),i=globalThis.conceptConfig.adUnits.find(r=>r.id===t)||{};n.forEach(r=>{let s=o[r];s!==""&&s!==null&&(r==="path"&&(s=J(s)),i[r]=s)})}),e.videoChanges=e.videoChanges||{},Object.keys(e.videoChanges).forEach(t=>{let o=e.videoChanges[t],n=Object.keys(o);if(globalThis.conceptConfig.videoAdunits){let i=globalThis.conceptConfig.videoAdunits.find(r=>r.id===t)||{};n.forEach(r=>{let s=o[r];s!==""&&s!==null&&(r==="code"&&(s=J(s)),r==="bids"&&(s=s.map(l=>{if(typeof l=="string")try{l=JSON.parse(l)}catch(c){T(`Could not parse bids: ${c}`)}return l})),i[r]=s)})}else a("Could not find profile for video unit","video")}),"done");var is=e=>{let t=1e3,{failsafe_timeout:o}=e;return o||o===0?o:t},li=e=>{if(e.customPrebidVideoUrl){let t=async o=>{let{videoId:n,autoplay:i,muted:r,videoFormat:s,isLive:l,isEmbed:c}=o,u=globalThis?.currentDeviceDefiner()||void 0,g=await Ke(n,{device:u,autoplay:i,muted:r,videoFormat:s,isLive:l,videoId:n,isEmbed:c});return{videoUrlPreroll:g,videoId:n,preroll:g}};fn(e.customPrebidVideoUrl,t)}return{adUnits:new Map,logme:a,connect:$n,initialCalled:!1,failsafe_timeout:is(e),updateWhenResolved:ai(e.adUnits,"dependencies"),discardedForTest:[],updateIfEmpty:ai(e.adUnits,"updateIfEmpty"),initTime:performance.now(),eventLog:[],adsloaded:0,unloaders:[],refreshAllActiveAdunits:rs,idsNotFound:0,videosRequested:0,consentStatus:x.NOT_SET,directRefresh:ci,listenerCreated:!1,device:null,activeProfile:"default",contxtFetched:!1,initialSRAList:[],contxtRequestQueue:[],updateTargeting:ss,targeting:Ae(globalThis.conceptConfig),...Do()}},rs=()=>globalThis.concept.adUnits.forEach((e,t)=>{e.requested&&ci(t)}),ss=()=>{a("Updatting global targeting");let{contxt:e,IAB1:t,IAB2:o,IAB3:n,IAB4:i,requestMode:r,settingsProfile:s,experiment:l}=f("targeting")||{},c=d("bidderTargeting")||[],u={contxt:e,IAB1:t,IAB2:o,IAB3:n,IAB4:i,requestMode:r,settingsProfile:s,experiment:l};globalThis.concept.targeting={...Ae(globalThis.conceptConfig),...u},c.forEach(g=>{go(g.bidders,g.bidderTargeting)})},ci=e=>{let t=w(e);t&&K([t])},si=!1,as=e=>{if(!e.disabled){let t=P(e.divIdOnPage),o=ms(t),n=et(e.size);o&&n&&Zt(e)}},ls=(e,t)=>{let o=e.sort(Ze),n=d("useGoogleSRAOnFirst");!si&&n&&(a("Running SRA on first request"),si=!0,o.forEach(i=>{as(i)})),o.forEach(i=>{i.disabled||gi({consented:t,unit:i,display:!0})})},ai=(e,t)=>{let o=new Map;return e.filter(i=>i[t]).forEach(i=>{let r=i[t][0];r&&o.set(i.divIdOnPage,r)}),o},cs=(e,t)=>{let o=f("updateWhenResolved");if(!o)return;d("adUnits").map(i=>{i.dependencies?.includes(e)&&(i.dependencies=i.dependencies.filter(r=>r!==e))});for(let[i,r]of o.entries())r===e&&(o.delete(`${t}`),o.set(i,t)),i===e&&(o.delete(`${e}`),o.set(t,`${r}`))},Ut=e=>d("adUnits").find(n=>n.divIdOnPage===e)||{},di=e=>{globalThis.concept.unloaders=globalThis.concept.unloaders.filter(t=>{let o=P(t.divId);return t.path===e&&!o?(t.unload(),!1):!0})},ui=e=>{let t=f("adUnits");for(let[o,n]of t)n.path===e&&n.slot&&globalThis.concept.unloaders.push({path:e,divId:n.divIdOnPage,unload:()=>{a(`Unloading ${o}`),googletag.cmd.push(function(){googletag.destroySlots([n.slot])}),n.refresTimer&&clearTimeout(n.refreshTimer),globalThis.concept.adUnits.delete(o);let{divIdOnPage:i}=n,s=d("adUnits").filter(c=>c.copy?c.divIdOnPage!==i:!0);ke("adUnits",s);let l=P(o);l?.parentNode?.parentNode?.className==="ads-topscroll"?l?.parentNode?.parentNode.remove():l?.remove()}})},Oe=({consented:e,nodeId:t,display:o=!0})=>{let n=P(t);if(!t||!n)return null;let i=Ut(t);if(!i||i.disabled)return null;let r=en(i),s=`${i.divIdOnPage}-${$()}`;return a(`Renaming ${t} to ${s}`),cs(i.divIdOnPage,s),n.id=s,r.divIdOnPage=n.id,r.id=n.id,r.copy=!0,globalThis.conceptConfig.adUnits.push(r),gi({consented:e,unit:r,display:o}),s},jt=e=>{globalThis.concept[e.cmd]?globalThis.concept[e.cmd](e.args):a("could not find function $command.cmd}","error")},$t=()=>{let e=[];globalThis.preConcept?(e=globalThis.preConcept.queue||e,e.forEach(t=>{jt(t)}),globalThis.preConcept.queue={},globalThis.preConcept.queue.push=function(t){jt(t)}):globalThis.preConcept={queue:{push:t=>jt(t)}},a("preConcept.queue has now been frozen"),Object.freeze(globalThis.preConcept.queue)},ds=async e=>{let t=async()=>{let o=d("haltInit"),n=d("waitForEventToStart");o&&(a(`Halting all with ${o} and updating targeting`),await Ko(o)),n&&(a(`Waiting for ${n}`),await Qe(n),a(`${n} -- received`)),globalThis.concept.updateTargeting(),at(),globalThis.concept.updateTargeting(),ps(e)};Ot()?t():ln(function(){t()})},pi=(e,t)=>t?t===te.GAM?e.path:e.cookieLessPath:e.path,us=e=>{let t=d("cookielessAdserver");return e.filter(o=>(o.cookieLessPath=pi(o,t),o.cookieLessPath&&o.cookieLessPath.includes("/")?o:!1))},gi=({consented:e,unit:t,display:o})=>{let n=d("cookielessAdserver");!e&&d("checkForConsent")&&(t.path=pi(t,n),t.path||T(`No path for ${t.id}`)),globalThis.concept.define(t.divIdOnPage,t),o&&globalThis.concept.display({element:t.divIdOnPage,name:t.divIdOnPage})};function ps(e){X(f("targeting")),e()}var gs=async({name:e,caller:t,adUnit:o})=>{let n=await Yo(e,t);if(o.requested=!0,o.refresh&&Pe({name:e,adUnit:o,refreshFunction:fe}),!n)return a(`REFRESH --> ${e} is not ready to be rendered`),Promise.resolve();(t==="scheduleForLater"||!o.lazyload)&&K([n])},fe=async({names:e,caller:t})=>{if(!Array.isArray(e))throw Error("Please call this method with an array of ids");a(`REFRESH --> (CALLER ${t}): refresh ${e}`,"function");let o=[];e.forEach(n=>{let i=w(n);i?o.push(gs({name:n,caller:t,adUnit:i})):T(`No configured adunit found for ${n}`)}),o.length>0&&await Promise.all(o)},fs=({container:e,consented:t})=>(e.forEach((o,n)=>{n!==0&&Oe({consented:t,nodeId:o})}),e=e[0],e?{id:e}:null),fi=(e,t)=>{let o=f("adUnits");if(!d("isPassback")&&!et(t.size)){a(`${e} doesn not have correct sizes to be defined`,"warning");return}let i=o.hasOwnProperty(e),r=t.disabled;if(i||r)return a(`Will not define ${e}`),null;let s=Jo({definition:t});o.set(e,s);let l=o.get(e);if(dn()){a(`Removing lazyload from ${e}`),l.lazyload=!1;return}let c=d("globalLazyAttribute");(l.lazyload||c)&&setTimeout(function(){un({elementId:l.divIdOnPage,refreshFunc:K,refreshWhenReadyFunction:fe,scheduleLaterFunc:Pe})},0)},ms=e=>{let t=d("viewHeightThreshold")||1.5,o=f("device")==="mobile"?2:1,n=cn(e);if(!n&&n!==0)return!1;let i=wt();return n/i<=t*o},mi=async({element:e,name:t})=>{try{let o=f("failsafe_timeout"),n=f("consentedToCookies"),i=w(t);if(!i){a(`No definition for ${t}, sorry`,"warning");return}let{path:r,sizes:s,targeting:l,anchor:c,setUniqueTargeting:u,divIdOnPage:g}=i,p={};if(c&&!g)p={id:t};else{if(p=await D(`#${e}`,o),p===null){a(`Not gonna do anymore about this (${e})`,"warning");return}p=fs({container:p,consented:!!n})}if(p){if(Ce("showOverlay")==="true"){Qo(s,e,p.id);return}let h=w(g);if(!h||h.requested){a(`ad unit already request,loaded or deleted by quick insertions: ${g}`);return}let C=P(g);et(s)&&C?jn({path:r,size:s,elementId:g,anchor:c,targeting:l,setUniqueTargeting:u}):a("Not correct adunits sizes for viewport && HTML element has changed id, could be on purpose","warning");let v=d("globalLazyAttribute"),S=Pt(e);if(v&&!S&&(i.lazyload=!1,a(`Setting lazy to false for ${i.divIdOnPage}`)),S){a(`${e} should be lazy loaded`);return}if(!h.requested){let b=f("initialSRAList"),O=b.find(q=>q.divIdOnPage===p.id);O?hs(O,b):fe({names:[g],caller:"Async display"})}}else Dn(e),T(`${e} could not be populated (div not found)`)}catch(o){console.error(o),T("Could not run the display function")}},hi=(e={adunitDivId:"",consented:!0})=>{let{consented:t,adunitDivId:o}=e,n=`User has consented (directly or indirectly by the page not having a CMP) = ${t} ${o||null}`;a(n);let i=Ie();qo(t)&&(Me(i),Nt(i,a)),Vt(),ds(async function(){a("In start function"),eo();let s=i.adUnits;t||(s=us(s)),o&&(s=s.filter(l=>l.divIdOnPage===o)),ls(s,t),globalThis.conceptConfig.dontCallInitial||ti({consented:t})})},hs=(e,t)=>{if(e.displayRequested=!0,t.filter(n=>!n.displayRequested).length===0){let n=t.map(i=>{let r=w(i.divIdOnPage);return r.refresh&&Pe({name:r.divIdOnPage,adUnit:r,refreshFunction:fe}),r});K(n),globalThis.concept.initialSRAList=[]}};A();Z();N();j();M();He();A();j();re();Z();M();W();Xe();He();A();re();Z();W();y();A();z();pe();var bi=navigator.connection||navigator.mozConnection||navigator.webkitConnection,bs=e=>{let t={},o=new URL("https://d1jthfopj0ipi6.cloudfront.net/error_track.gif");if(bi){let{downlink:n}=bi;n&&o.searchParams.set("downlink",n)}return globalThis.conceptConfig.reportTrackingAs&&o.searchParams.set("trackingas",globalThis.conceptConfig.reportTrackingAs),o.searchParams.set("error",e),o.searchParams.set("uniqueId",$()),Object.keys(t).forEach(n=>{o.searchParams.set(n,t[n])}),o.href},lt=e=>{if(f("enableErrorReporting")){let o=bs(e);ee(o,"error-pixel"),a("Error pixel loaded")}};y();var Ts={1:"Store and/or access information on a device",2:"Select basic ads",3:"Create a personalized ads profile",4:"Select personalized ads",5:"Create a personalized content profile",6:"Select personalized content",7:"Measure ad performance",8:"Measure content performance",9:"Apply market research to generate audience insights",10:"Develop and improve products",11:"Use limited data to select content"},Ci=e=>a(`got CMP event: ${e.eventStatus}`);function me(e){a(`error callback: ${e}`),__tcfapi("getTCData",2,function(t){t.gdprApplies||lt("gdprNotApplies")}),lt("CMP error")}var Mt=e=>{e.fullUsableConsent?(globalThis.concept.consentStatus=x.FULL_CONSENT,globalThis.concept.targeting.requestMode=x.FULL_CONSENT):e.legitimateInterests?(globalThis.concept.consentStatus=x.LEGITIMATE_INTERREST,globalThis.concept.targeting.requestMode="LIMITED"):e.fullUsableConsent?(globalThis.concept.consentStatus=x.UNKNOWN,globalThis.concept.targeting.requestMode=x.UNKNOWN):(globalThis.concept.consentStatus=x.CONSENT_REJECT,globalThis.concept.targeting.requestMode=x.CONSENT_REJECT,a("The user cosents does not meet the requirements to 'normal' load ads."),globalThis.concept.consentedToCookies=!1),xo()},Cs=()=>{(function(){var e=function(){for(var t,o="__tcfapiLocator",n=[],i=window;i;){try{if(i.frames[o]){t=i;break}}catch{}if(i===window.top)break;i=i.parent}t||(function r(){var s=i.document,l=!!i.frames[o];if(!l)if(s.body){var c=s.createElement("iframe");c.style.cssText="display:none",c.name=o,s.body.appendChild(c)}else setTimeout(r,5);return!l}(),i.__tcfapi=function(){for(var r,s=arguments.length,l=new Array(s),c=0;c3&&parseInt(l[1],10)===2&&typeof l[3]=="boolean"&&(r=l[3],typeof l[2]=="function"&&l[2]("set",!0));else if(l[0]==="ping"){var u={gdprApplies:r,cmpLoaded:!1,cmpStatus:"stub"};typeof l[2]=="function"&&l[2](u)}else n.push(l)},i.addEventListener("message",function(r){var s=typeof r.data=="string",l={};try{l=s?JSON.parse(r.data):r.data}catch{}var c=l.__tcfapiCall;c&&window.__tcfapi(c.command,c.version,function(u,g){var p={__tcfapiReturn:{returnValue:u,success:g,callId:c.callId}};s&&(p=JSON.stringify(p)),r.source.postMessage(p,"*")},c.parameter)},!1))};e()})()},be=()=>{a("executeQueue ----> executing consentQueue","function");let e=f("consentQueue")||[];e.forEach((t,o)=>{Qt("(Refresh dequeued and executed)"),e[o]()}),globalThis.concept.consentQueue=[]},Bt=e=>{globalThis.concept.tcString=e.tcString;let t=e?.purpose?.consents||{},o=Object.keys(t),n=Object.values(t),i=e.purpose?o.length:1e3;globalThis.concept.specificConsent=n.map((g,p)=>({purpose:Ts[p+1],allowed:g}));let r=e.purpose?o.some(g=>!t[g]):!1,c=!(e.gdprApplies&&(i===0||r===!0));return{legitimateInterests:ii(e,c),fullUsableConsent:c}},Ti=({callback:e})=>{a("Loading ads ..."),globalThis.concept.consentedToCookies!==!1&&(globalThis.concept.consentedToCookies=!0,We(),be(),globalThis.conceptConfig.dontCallInitial||e({consented:!0}))};function vi({callback:e}){a("consent.js run"),Ft()||(a("No __tcfapi found at all (should be stubbed)","error"),globalThis.concept.consentStatus=x.NO_TCF_API,lt("adding stub"),Cs(),a("tcf stub loaded"));function t(o,n){a(`Succesful consent recieved from ${n}`),U("Consent recieved");let i=d("legitimateStepAdserver")==="Adnuntius",r=Bt(o);if(Mt(r),r.fullUsableConsent)Ti({callback:e});else if(r.legitimateInterests&&!i)it(),Ti({callback:e});else if(!r.fullUsableConsent||i){if(!globalThis.conceptConfig.dontCallInitial)return he({callback:e});be()}}if(ct.tcfApiExists()){let o=[{eventName:"useractioncomplete",onSuccess:t,onError:me},{eventName:"tcloaded",onSuccess:t,onError:me},{eventName:"cmpuishown",onSuccess:Ci,onError:me}];ct.addEventListeners(o)}else a("No tcfApi or Exists"),globalThis.conceptConfig.dontCallInitial?he({callback:function(){T("could not find TCF api")}}):he({callback:e})}var he=({callback:e,adunitDivId:t="",SPAOverwrite:o=globalThis.conceptConfig.dontCallInitial})=>{a("Lets kick of cookieless"),Ro();let n=globalThis.conceptConfig.cookielessAdserver;if(globalThis.conceptConfig.checkForConsent&&(!n||!Object.values(te).includes(n)))throw Error("Please setup a cookieless adserver");(globalThis.concept.adsloaded===0&&!globalThis.concept.initialCalled||o)&&(n===te.GAM&&(a("GAM cookieless","gpt"),e({consented:!1,adunitDivId:t})),n===te.ADNUNTIUS&&(a("ADNUNTIUS cookieless","adnuntius"),_o({adunitDivId:t,prerender:!1,container:"div"})))},Ft=()=>window.__tcfapi,ct=function(){return{addEventListeners:t=>{if(!Ft()){T("Cannot listen for tcf events if no __tcfapi");return}__tcfapi("addEventListener",2,function(o,n){let i=t.find(r=>r.eventName===o.eventStatus);Ci(o),i&&(n?i.onSuccess(o,o.eventStatus):(T(`${o.eventStatus} had an error`),i.onError(o)))})},tcfApiExists:Ft}}();y();ue();N();var Ii=!1,Ei=()=>{let{origin:e,pathname:t}=location,o=`${e}${t}`;setInterval(function(){let{origin:n,pathname:i}=location,r=`${n}${i}`;if(o!==r){if(o=r,a(`URL changed to ${r}`),globalThis.conceptConfig.dontCallInitial){a("Clearing timeout (refresh) - bacause url change");for(let[s,l]of f("adUnits"))Se(l)}globalThis.conceptConfig.activateConceptTargeting&&Je(),Oo()}},300)},vs=()=>{globalThis.concept.injectNewAds()},Si=()=>{window.addEventListener("urlChange",vs,!0)},Pi=()=>{window.addEventListener("urlChange",()=>{nt()},!0)},Is=(e,t,o)=>{let n=Bt(e),i=globalThis.conceptConfig.legitimateStepAdserver==="Adnuntius";Mt(n),n.fullUsableConsent?Dt(t):n.legitimateInterests&&!i?(it(),Dt(t)):(!n.fullUsableConsent||i)&&he({callback:globalThis.concept.injectAds,adunitDivId:o,SPAOverwrite:!0})},Dt=e=>{globalThis.concept.injectAds({adunitDivId:e,consented:!0})},As=(e,t)=>{let o=globalThis.conceptConfig.checkForConsent,n=f("consentStatus")===x.FULL_CONSENT;if(o&&n){Dt(e);return}o?__tcfapi("getTCData",2,function(i){a("Manually retrieved tcData"),Is(i,e,t)}):globalThis.concept.consentedToCookies===!1?he({callback:globalThis.concept.injectAds,adunitDivId:t}):globalThis.concept.injectAds({adunitDivId:e,consented:!0})},Ai=e=>{globalThis.concept.updateIfEmpty.delete(e),globalThis.concept.initialCalled=!1;let t=e||null;a(`refreshSelected ${e}`,"function"),As(t,e)},yi=(e,t)=>{let o=conceptConfig.adUnits.map(r=>r.divIdOnPage),i=globalThis.conceptConfig.adUnits.find(r=>r.divIdOnPage===e)?.disabled;if(o.includes(e)&&!i){let r=P(e);if(!r)return;let s=!!globalThis.concept.consentedToCookies,l=Oe({consented:s,nodeId:r.id,display:!1});if(r&&r.setAttribute("dublicatenoted","true"),Ai(l||e),t||!!d("autoUnloadSlots")){let u=Ut(e);ui(u.path)}}else typeof e=="string"&&e.length>0&&a(`${e} was not found in config or its disabled`,"error");!e&&!globalThis.conceptConfig.dontAllowRefreshAll&&(a("No specific adunit, we refresh all"),globalThis.concept.adUnits.clear(),googletag.destroySlots&&googletag.destroySlots(),Ai(""))},qt=(e,t=!1)=>{a(`injectNewAds ${e}`,"function"),U("injectNewAds execution requested"),globalThis.concept.updateTargeting(),X(globalThis.concept.targeting);let o=f("consentedToCookies"),{decideNow:n,waitChoise:i}=Ye();if(n&&yi(e,t),i){a("injectNewAds no hasConsented & no limitedFlow","function");let r=()=>yi(e,t);Kt(`(Refresh queued) ${e}`),r&&_e(r)}if(o===!1&&be(),o===null&&!Ii){a("Adding eventlisteners for the CMP");let r=[{eventName:"useractioncomplete",onSuccess:be,onError:me},{eventName:"tcloaded",onSuccess:be,onError:me}];ct.addEventListeners(r),Ii=!0}},wi=e=>{a(`loadCopyOf: copy ${e.srcUnit} and insert into ${e.targetDiv}`,"function");let t=globalThis.conceptConfig.adUnits.find(o=>o.divIdOnPage===e.srcUnit);if(t){let o={...t,divIdOnPage:e.targetDiv,copy:!0};globalThis.conceptConfig.adUnits.push(o),qt(e.targetDiv,!1)}else T("Your trying to dublicate a non existing ad unit")};W();pe();N();y();A();var Oi={BLUE_BILLYWIG:1,OWN_PLAYER:2};var xi="concept",ys=async e=>{let t=e.divIdOnPage;a(`Waiting for ${t} to be visible`,"video");let o=await D(`#${t}`,0),n=tt(o);if(!n){T(`Could not find ${t}`);return}a(`Inserting BB Player into ${t} `,"video");let i=e.BBUNIT,r=`https://${xi}.bbvms.com/r/${i}.js`;G(t);let s=globalThis.conceptConfig.usePrebid?await globalThis.concept.requestPrebidUrl(e.playerId):globalThis.concept.buildVastTag(e.playerId);R(`VAST TAG CREATED FOR ${t} `);let l=document.createElement("script");l.async=!0,l.src=r,l.onload=()=>{let c={code:t,vastUrl:s},u=`${xi}-${i}`,g=globalThis.bluebillywig.renderers.find(p=>p._id===u);g&&g.bootstrap(c,n)},document.getElementsByTagName("head")[0].appendChild(l)},xe=()=>{let e=d("videoAdunits");e&&e.forEach(t=>{t.divIdOnPage&&t.videoPlayer===Oi.BLUE_BILLYWIG&&ys(t)})};Xe();qe();y();z();var dt=e=>{try{let{cookielessAdserver:t,customCSS:o,reportTrackingAs:n,trySendingSpecificGeo:i,oneOfAutoExecuteBB:r,activateConceptTargeting:s,customScript:l,RMBRef:c,dontCallInitial:u,disableConceptLoads:g,refreshOnBfCacheHit:p,refreshOnUrlChange:m}=e;p&&pn(),t===te.ADNUNTIUS&&Lo(a),o!==""&&o&&ht(o),n&&!g&&hn(`?loaded=true&site=${n}`),i&&an({targetingFunction:X}),r&&xe(),s&&Je(),l&&V(a,l),!globalThis.disableRMBRef&&c&&xt(a,c),(m||u)&&Ei(),m&&Si(),u&&Pi();let h=d("controlKey"),C=d("controlMax")||10;if(d("setControlGroup")&&h){let v=typeof C=="string"?parseInt(C):C;globalThis.concept[h]=Co(1,v)}Xo(),globalThis.concept.injectAds=hi,globalThis.concept.define=fi,globalThis.concept.refresh=fe,globalThis.concept.display=mi,globalThis.concept.injectNewAds=qt,globalThis.concept.loadCopyOf=wi,globalThis.concept.connect(E.GET_CONCEPTADS,Vn),globalThis.concept.connect(E.GET_VASTTAG,Kn),globalThis.concept.connect(E.GET_PREBIDVASTTAG,Qn),globalThis.concept.connect(E.SKIN_INIT,Hn),globalThis.concept.connect(E.SIDESKIN_INIT,Yn),globalThis.concept.connect(E.MACRO_UNLOAD,Wn),globalThis.concept.connect(E.SLOT_LOADED,st),globalThis.concept.connect(E.SLOT_REQUESTED,rt),globalThis.concept.connect(E.DESKTOP_TOPSCROLL,zn),yo()}catch(t){console.log(t)}};W();y();globalThis.googletag=globalThis.googletag||{};globalThis.googletag.cmd=globalThis.googletag.cmd||[];var Ri=e=>{try{d("waitForEventToStart")||at();let o=kt();o&&o.length>0?window.addEventListener("consentRecieved",()=>dt(e),{once:!0,capture:!0}):dt(e);let n=!e.dontCallInitial,i=!e.refreshOnUrlChange,r=n&&i;e.checkForConsent?vi({callback:l=>{xe(),globalThis.concept.injectAds(l)}}):r&&(We(),xe(),globalThis.concept.injectAds({consented:!0})),$t()}catch(t){console.log(t)}};globalThis.googletag=globalThis.googletag||{};globalThis.googletag.cmd=globalThis.googletag.cmd||[];Z();A();A();Te();M();W();pe();y();N();y();re();var{injectCustomAsyncScript:Es}=(j(),gt(Fe)),Ni=()=>d("activateSonar")&&f("consentStatus")===x.FULL_CONSENT,Li=(e,{unitPath:t,elementId:o})=>{let i=window.location.href.split("?")[0].split("#")[0],r=f("tcString"),l=Es(e,"https://macro.adnami.io/macro/gen/adnm.sonar.js",[["data-adnm-gid","d3qa3kx6zxxlra"],["data-adnm-tid",t],["data-adnm-source",i],["data-adnm-gdpr",1],["data-adnm-gdpr-consent",r],["data-adnm-info","concept"]],!1),c=P(o);c&&c.appendChild(l),e("Sonar Injected")};var _i=!1,ki=!1,ji=!1,Ui=!1,$i=!1,Ss=e=>{let t=e.slot.getAdUnitPath(),o=e.slot.getAdUnitPath(),n=e.slot.getSlotElementId();!!d("autoUnloadSlots")&&di(o),R(`slotResponseReceived - ${t}`),U(`slotResponseReceived - ${t}`),e.slot.getResponseInformation()||(_t(n),Ge({name:t,divId:n}),Le(n))},Ps=e=>{let t=e.slot.getSlotId().getId();setTimeout(function(){let o=d("isPassback"),n={type:E.SLOT_REQUESTED,payload:{placement:e.slot.getSlotElementId(),adunitId:t}};o?rt(n.payload):window?.top?.postMessage(n,"*")})},ws=e=>{let t=e.slot.getAdUnitPath(),o=e.slot.getSlotId().getId(),n=e.slot.getSlotElementId(),i=e.slot.getResponseInformation();R(`(slotOnload) ${t} - winning lineitem = ${i?i.lineItem:"no info"}`);let r={type:E.SLOT_LOADED,payload:{placement:n,adunitId:o,deployId:globalThis.conceptConfig.deployId||"default"}};setTimeout(function(){d("isPassback")?st(r.payload):window?.top?.postMessage(r,"*")})},Os=e=>{let t=e.slot.getSlotElementId(),o=w(t);e.isEmpty&&qn(t);let n=e.campaignId||"",i=e.creativeId||e.sourceAgnosticCreativeId,r=e.lineItemId||e.sourceAgnosticLineItemId;e.isEmpty&&(n="unfilled",i="unfilled",r="unfilled");let s=`Orderid: (${n}), LineitemId: (${r}), creativeId: (${i})`;if(a(s,"gpt"),globalThis.conceptConfig.useAdvancedTracking&&bn({creativeId:i,lineItemId:r,adunitCode:t}),o){i!=="unfilled"&&Ni()&&Li(a,{unitPath:e.slot.getAdUnitPath(),elementId:t});let l=d("allowOrderRefresh")||[];l.length>0&&i!=="unfilled"&&(l.includes(`${n}`)||(o.refresh=0,o.refreshBlocked=!0,Se(o))),o.rendered=!0;let c={isEmpty:e.isEmpty,size:null};e.isEmpty||(c.size={width:e.size[0],height:e.size[1]})}},xs=e=>{let t=e.slot.getSlotElementId(),o=e.slot.getAdUnitPath(),n=e.slot.getOutOfPage(),i=w(t);i||a("Could not find adunit in slotViewable"),n&&(a("An outofpage unit is being showed"),R(`Out of page loaded - ${o}`)),i&&(i.viewableCount=i?.viewableCount?i.viewableCount+1:1),Ao({divId:t}),a(`impressionViewable: ${t}`,"gpt")},Fi=!1,Mi=()=>{try{Fi||(a("googletagConfigured being queued","gpt"),Fi=!0,googletag.cmd.push(function(){if(a("[GOOGLETAG loaded] googletag not configured: Enable DFP services","gpt"),globalThis.concept.updateTargeting(),d("useGoogleLazy")){a("Using google lazyload","gpt");let r=d("fetchMarginPercent")||500,s=d("renderMarginPercent")||200,l=d("mobileScaling")||2,c={fetchMarginPercent:r,renderMarginPercent:s,mobileScaling:l};globalThis.googletag.pubads().enableLazyLoad(c)}globalThis.googletag.pubads().enableSingleRequest(),globalThis.googletag.pubads().disableInitialLoad(),globalThis.googletag.pubads().setCentering(!0),globalThis.googletag.pubads().collapseEmptyDivs(),ji||(ji=Re("slotResponseReceived",Ss)),Ui||(Ui=Re("slotOnload",ws)),ki||(ki=Re("slotRequested",Ps)),_i||(_i=Re("impressionViewable",xs)),$i||($i=Re("slotRenderEnded",Os));let t=d("page_url"),o=f("targeting"),n=t||o?.UrlHost;if(globalThis.googletag.pubads().set("page_url",n),!d("disableAutoPPID")){let r=d("setPPIDFromCookie"),s=tn(r);s&&(globalThis.concept.PPID=s,No(s),googletag.pubads().setPublisherProvidedId(s))}globalThis.googletag.enableServices()}))}catch(e){console.error(e),T("Could not setup googletag globals")}},Re=(e,t)=>globalThis.googletag.pubads().addEventListener(e,t);var Bi=e=>{let t=!1;t||(t=!0,kn(a),Mi(),Un(),Ri(e))};try{globalThis.conceptConfig||console.error("No configuration found. abort!");let e=globalThis.conceptConfig;globalThis.concept=globalThis.concept||li(e),Bi(e)}catch(e){console.log(e)}})(); }; "use strict"; atm.log = function (type, message, ctx) { var makeBlock = function (color) { return 'background: ' + color + '; padding: 2px 10px; border-radius: 2px; color: rgba(0,0,0,.7); border-bottom: 1px solid rgba(0,0,0,.3);border-top: 1px solid rgba(255,255,255,.6);margin-left: 5px;'; }; var logType = 'log'; var eventType = ''; var color = '#79e1ec'; if (type == 'warn' || type == 'error') { logType = type; } else { eventType = '%c' + type; } switch (type) { case 'event': color = "#0aff82"; break; case 'tag': color = "#ee49d1"; break; case 'consent': color = "#af83ff"; break; } console[logType]('%cATM' + eventType, makeBlock("#00e6ff"), (eventType != '') ? makeBlock(color) : '', message || '', ctx || ''); }; atm.debug = function (type, message, ctx) { if (win.location.search.indexOf('atm_debug') > -1) { atm.log(type, message, ctx); } }; "use strict"; atm.utils = { createUuid: function () { var dt = new Date().getTime(); var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { var r = (dt + Math.random() * 16) % 16 | 0; dt = Math.floor(dt / 16); return (c == 'x' ? r : (r & 0x3 | 0x8)).toString(16); }); return uuid; }, getCookie: function (cname) { var name = cname + "="; var decodedCookie = decodeURIComponent(document.cookie); var ca = decodedCookie.split(';'); for (var i = 0; i < ca.length; i++) { var c = ca[i]; while (c.charAt(0) == ' ') { c = c.substring(1); } if (c.indexOf(name) == 0) { return c.substring(name.length, c.length); } } return ""; }, replaceTags: function (str, tags) { var tagNames = Object.keys(tags); for (var i = 0; i < tagNames.length; i++) { var tag = tagNames[i]; var pattern = "{{" + tag + "}}"; str = str.replace(new RegExp(pattern, "g"), tags[tag]); } return str; }, replaceTag: function (str, search, replace) { return str.replace(new RegExp(search, 'g'), replace); }, remove: function (target) { var removeElement = target || 'adn-overlay'; atm.utils.forEachClass(removeElement, function (el) { el.remove(); }); }, addScript: function (src, targetId, fn, options) { var script = doc.createElement("script"); script.type = "text/javascript"; script.src = src; if (options && options.async) script.async = true; if (options && options.defer) script.defer = true; if (options && options.type) script.type = options.type; if (options && options.nomodule) script.noModule = true; if (script.readyState) { // only required for IE <9 script.onreadystatechange = function () { if (script.readyState === "loaded" || script.readyState === "complete") { script.onreadystatechange = null; fn(); } }; } else { //Others script.onload = function () { if (fn) fn(); }; } if (targetId) doc.getElementById(targetId).appendChild(script); else doc.getElementsByTagName("head")[0].appendChild(script); }, addImage: function (src, width, height) { var img = doc.createElement('img'); img.src = src; if (width) img.width = width; if (height) img.height = height; doc.getElementsByTagName('body')[0].appendChild(img); }, addContent: function (content, targetId) { var node = doc.createElement("DIV"); node.innerHTML = content; if (targetId) { var target = doc.getElementById(targetId); target.innerHTML = ''; target.appendChild(node); } else doc.getElementsByTagName("body")[0].appendChild(node); }, addCss: function (url) { var link = doc.createElement("link"); link.href = url; link.type = "text/css"; link.rel = "stylesheet"; doc.getElementsByTagName("head")[0].appendChild(link); }, addCssString: function (string) { var css = string, head = doc.head || doc.getElementsByTagName('head')[0], style = doc.createElement('style'); head.appendChild(style); style.type = 'text/css'; if (style.styleSheet) { style.styleSheet.cssText = css; } else { style.appendChild(doc.createTextNode(css)); } }, forEachClass: function (classname, func) { var els = doc.getElementsByClassName(classname); for (var i = 0; i < els.length; i++) { func(els[i]); } }, forEachTag: function (tagName, func) { var els = doc.getElementsByTagName(tagName); for (var i = 0; i < els.length; i++) { func(els[i]); } }, merge: function (obj, src) { for (var key in src) { if (src.hasOwnProperty(key)) obj[key] = src[key]; } return obj; }, isObject: function (item) { return (item && typeof item === 'object' && !Array.isArray(item)); }, mergeDeep: function (target, source) { if (atm.utils.isObject(target) && atm.utils.isObject(source)) { for (const key in source) { if (atm.utils.isObject(source[key])) { if (!target[key]) Object.assign(target, { [key]: {} }); atm.utils.mergeDeep(target[key], source[key]); } else { Object.assign(target, { [key]: source[key] }); } } } return target; }, flatten: function (obj) { var returnObj = []; for (var key in obj) { returnObj.push(obj[key]); } return returnObj; }, findInArray: function (src, arr) { return arr.some(function (v) { return src.indexOf(v) >= 0; }); }, requestGAM: function (arr) { window.googletag.cmd.push(function () { for (let i = 0; i < arr.length; i++) { if (atm.prebidGoogle && atm.prebidGoogle[arr[i]]) { atm.prebidGoogle[arr[i]](); } } googletag.pubads().enableSingleRequest(); googletag.enableServices(); }); }, runTags: function (localContainerId, tagArray) { if (tagArray != undefined) { for (var i = 0; i < tagArray.length; i++) { try { var tagId = tagArray[i]; var tag = atm.containers[localContainerId].tags[tagId]; var runable = true; if (atm.GLOBALS.haltTriggers && tag.purposes) { if (tag.purposes.length > 0 && !atm.utils.findInArray(atm.GLOBALS.forcedPurposes, tag.purposes)) { runable = false; atm.haltedTags.push(tagId); } } else { if (tag.purposes && tag.purposes.length > 0 && !atm.utils.findInArray(atm.browser.consent.adnuntiusPurposes, tag.purposes)) { runable = false; } } if (runable) { atm.debug('tag', 'Running tag: ' + tagId + ' in container: ' + localContainerId); atm.containerFunctions[localContainerId][tag.type](tag.content); if (atm.eventList.indexOf('tags.' + tagId) != -1) atm.dispatch('tags.' + tagId); } } catch (e) { atm.log('error', e, ': Tag: ' + tag); } } } }, runTriggers: function (container, type) { atm.containers[container].triggers[type].forEach(function (fn) { fn(); }); }, clickElement: function (data) { if (atm.triggers.click) atm.triggers.click(data); }, toggleClass: function (element, className) { if (element.classList) { element.classList.toggle(className); } else { var classes = element.className.split(" "); var i = classes.indexOf(className); if (i >= 0) classes.splice(i, 1); else classes.push(className); element.className = classes.join(" "); } }, newAjax: function (method, url, func) { if (win.XDomainRequest) { // if XDomainRequest is defined and not IE10 if (win.navigator.appVersion.indexOf("MSIE 10") === -1) { var ajaxIe = new win.XDomainRequest(); ajaxIe.open(method, url); ajaxIe.contentType = "text/plain"; ajaxIe.onerror = function () { }; ajaxIe.ontimeout = function () { }; ajaxIe.onprogress = function () { }; ajaxIe.timeout = function () { }; ajaxIe.onload = function () { }; ajaxIe.onload = func; return ajaxIe; } } var ajax = new XMLHttpRequest(); ajax.open(method, url); ajax.setRequestHeader("Content-Type", "text/plain"); if (func && typeof func === "function") { ajax.onreadystatechange = func; } ajax.onerror = function (e) { console.log(e); }; return ajax; }, ajax: function (method, url, func) { var ajax = atm.utils.newAjax(method, url, function () { if (ajax.readyState && ajax.readyState !== 4) { return false; } if (!ajax.status || ajax.status === 200) { if (func && typeof func === "function") { func(JSON.parse(ajax.response)); } else { atm.log('error', 'Ajax function is not a function'); } } else { atm.log('error', 'Request to URL: ' + url + ' got status ' + ajax.status); } }); ajax.send(); }, }; atm.privacy = atm.privacy || undefined; "use strict"; atm.createPrebidRequest = function (request) { var prebidUnits = []; request.adUnits.forEach(function (adUnit) { var prebidMappedKey = Object.keys(atm.prebid.map).find(auId => auId.includes(adUnit.auId)); var prebidId = atm.prebid.map[prebidMappedKey]; if (prebidId && atm.prebid.mappedUnits[prebidId]) { prebidUnits.push(atm.prebid.mappedUnits[prebidId]); } }); return prebidUnits; }; atm.requestAds = function (request) { if (atm.prebid.aliases.length > 0) { for (let i = 0; i < atm.prebid.aliases.length; i++) { const element = atm.prebid.aliases[i]; window.pbjs.que.push(function () { pbjs.aliasBidder(element[1], [element[0]]); }); } } if (atm.prebid.map) { if (request.adUnits) { for (let i = 0; i < request.adUnits.length; i++) { var adUnit = request.adUnits[i]; if (adUnit.refresh) { adUnit = atm.ads.setPrebidRefresh(adUnit, request); } } } adn.calls.push(function () { adn.chbRequest(atm.createPrebidRequest(request), request); }); } else { adn.calls.push(function () { adn.request(request); }); } }; atm.request = atm.request || {}; atm.request.adnuntius = function (callback) { adn.calls.push(function () { adn.request({ adUnits: atm.ads.setAdnuntius(atm.adUnits, callback), }); }); }; atm.request.prebid = function (callback) { pbjs.que.push(function () { pbjs.addAdUnits(atm.adUnits); pbjs.requestBids({ ortb2: atm.ortb2, bidsBackHandler: function (data) { if (callback) { callback(data); } else atm.ads.renderPrebidWinners(); }, timeout: 3000 }); }); }; atm.request.refresh = function (auId) { }; adn.requestAds = atm.requestAds; "use strict"; atm.ads.adUnitMeta = atm.ads.adUnitMeta || {}; atm.addAdUnits = function (adUnitList) { atm.utils.merge(atm.adUnits, adUnitList); }; atm.clearAdUnits = function () { atm.adUnits = []; }; atm.removeAdUnitByCodeArray = function (codeArray) { for (let i = 0; i < codeArray.length; i++) { atm.removeAdUnitByCode(codeArray[i]); } }; atm.removeAdUnitByCode = function (code) { for (let i = 0; i < atm.adUnits.length; i++) { if (atm.adUnits[i].code == code) { atm.adUnits.splice(i, 1); break; } } }; atm.addOrtb = function (ortbData) { atm.ortb2 = atm.utils.mergeDeep(atm.ortb2, ortbData); }; atm.addAlias = function (aliasList) { atm.adUnitAliases = atm.adUnitAliases.concat(aliasList); }; atm.prebid.mappedUnits = atm.utils.merge(atm.prebid.mappedUnits, atm.containers[CONTAINER_ID].prebid.units); atm.prebid.units = atm.utils.merge(atm.prebid.units, atm.utils.flatten(atm.containers[CONTAINER_ID].prebid.units)); atm.prebid.aliases = atm.prebid.aliases.concat(atm.containers[CONTAINER_ID].prebid.aliases); atm.prebid.map = atm.utils.merge(atm.prebid.map, atm.containers[CONTAINER_ID].prebid.map); atm.ads.onCallDone = function (matched, callback) { atm.removeAdUnitByCodeArray(matched); if (callback) callback(); }; atm.ads.renderPrebidWinners = function () { var bids = pbjs.getHighestCpmBids(); var output = []; for (var i = 0; i < bids.length; i++) { var b = bids[i]; var iframe = document.createElement('iframe'); iframe.id = b.adId; iframe.width = b.width; iframe.height = b.height; iframe.frameBorder = 'no'; var target = document.getElementById(b.adUnitCode); target.style.display = 'block'; output.push({ 'adunit': b.adUnitCode, 'adId': b.adId, 'bidder': b.bidder, 'time': b.timeToRespond, 'cpm': b.cpm }); var tag = { adServerDomain: "", pubUrl: window.location.href, targetingMap: {}, hbPb: "adnuntius", adId: b.adId }; target.appendChild(iframe); ucTag.renderAd(iframe.contentWindow.document, tag); } if (output.length) { if (console.table) { console.table(output); } else { for (var j = 0; j < output.length; j++) { console.log(output[j]); } } } else { console.warn('No prebid winners'); } }; atm.ads.setAdnuntius = function (adUnits, callback) { var mappedAliases = {}; var adnAdUnitArray = []; var matchedAds = []; var totalAds = []; var removefromTotal = function (adUnit) { var position = totalAds.indexOf(adUnit.targetId); totalAds.splice(position, 1); if (totalAds.length == 0) { atm.ads.onCallDone(matchedAds, callback); } }; atm.adUnitAliases.forEach(function (aliasItem) { mappedAliases[aliasItem.alias] = aliasItem.bidder; }); adUnits.forEach((adUnit) => { totalAds.push(adUnit.code); adUnit.bids.forEach(function (bid) { if (bid.bidder == "adnuntius" || mappedAliases[bid.bidder] == "adnuntius") { var adnAdunit = { auId: bid.params.auId, targetId: adUnit.code, onNoMatchedAds: function (data) { removefromTotal(data); }, onImpressionResponse: function (data) { matchedAds.push(data.targetId); removefromTotal(data); }, }; if (adUnit.mediaTypes && adUnit.mediaTypes.banner && adUnit.mediaTypes.banner.sizes) adnAdunit.dimensions = adUnit.mediaTypes.banner.sizes; if (bid.params.targeting) { console.log(bid.params.targeting); } adnAdUnitArray.push(adnAdunit); } }); }); return adnAdUnitArray; }; atm.ads.setInterval = function (auId, request) { if (!atm.ads.adUnitMeta[auId].interval) { atm.ads.adUnitMeta[auId].interval = setInterval(function () { if (atm.ads.adUnitMeta[auId].refresh.count != 0) { adn.calls.push(function () { adn.chbRequest(atm.createPrebidRequest(request), request); }); atm.ads.adUnitMeta[auId].refresh.count--; } else { clearInterval(atm.ads.adUnitMeta[auId].interval); } }, atm.ads.adUnitMeta[auId].refresh.delay * 1000); } }; atm.ads.setPrebidRefresh = function (adUnit, request) { var singleAdUnitRequest = Object.assign({}, request); delete singleAdUnitRequest.headerBids; var targetId = (adUnit.targetId) ? ':' + adUnit.targetId : ''; var auId = adUnit.auId + targetId; var refresh = adUnit.refresh; if (refresh.count) refresh.count = refresh.count || 999; else { refresh = { delay: adUnit.refresh, count: 999, }; } var event = refresh.event || 'onViewable'; if (event != 'onViewable' && event != "onVisible") throw new Error('refresh event needs to be "onViewable" or "onVisible"'); delete adUnit.refresh; adUnit.clearTarget = true; atm.ads.adUnitMeta[auId] = atm.ads.adUnitMeta[auId] || {}; atm.ads.adUnitMeta[auId].refresh = refresh; atm.ads.adUnitMeta[auId].refreshFunction = function () { singleAdUnitRequest.adUnits = [adUnit]; atm.ads.setInterval(auId, singleAdUnitRequest); }; adUnit[event] = atm.ads.adUnitMeta[auId].refreshFunction; return adUnit; }; "use strict"; atm.addListener = function (name, callback) { if (atm.eventList.indexOf(name) == -1) { atm.eventList.push(name); atm.events[name] = new CustomEvent(name, { bubbles: true }); } document.addEventListener(name, function () { if (callback) callback(atm.transitData); }); }; atm.dispatch = function (name, data) { atm.debug(name, data); atm.transitData = data; document.dispatchEvent(atm.events[name]); }; "use strict"; atm.containerFunctions[CONTAINER_ID].javascriptCustom = function (script) { try { script.script(); } catch (e) { atm.log('error', 'Custom Javascript is malformed ' + e.message, 'Custom JavaScript'); } }; atm.addListener("pageview.Nq2HBZApT", function(eventData){ if(true) atm.utils.runTags('Nq2HBZApT', ["7OpSyjBTZ"]) }); atm.utils.addScript("https://cdn.adnuntius.com/adn.js",false,false,{async:true}); if(atm.containers[CONTAINER_ID].prebid){ if(atm.containers[CONTAINER_ID].prebid.config && atm.containers[CONTAINER_ID].prebid.config.custom){ try { new Function(atm.containers[CONTAINER_ID].prebid.config.custom)(); } catch (e) { atm.log('error', 'Custom prebid script malformed: ' + e.message, 'Custom Prebid') } } if(atm.containers[CONTAINER_ID].prebid.loadPrebidJs){atm.utils.addScript("https://tags.adnuntius.com/pb/prebid.js")} } "use strict"; (function () { var executeQueue = function () { try { var queItem; while (queItem = atm.queue.shift()) { if (typeof queItem == 'function') queItem(); } } catch (e) { atm.log('error', e, 'queue handler'); } }; win.setTimeout(executeQueue, 25); atm.queue.push = function () { Array.prototype.push.apply(this, arguments); win.setTimeout(executeQueue, 1); return this.length; }; executeQueue(); })(); if(document.onreadystatechange) { document.onreadystatechange = () => { if( atm.eventList.indexOf('pageload.' + CONTAINER_ID) != -1){ atm.dispatch('pageload.' + CONTAINER_ID) } } }else { if (document.readyState === "complete") { if( atm.eventList.indexOf('pageload.' + CONTAINER_ID) != -1){ atm.dispatch('pageload.' + CONTAINER_ID) } } else { window.addEventListener("load", function () { if( atm.eventList.indexOf('pageload.' + CONTAINER_ID) != -1){ atm.dispatch('pageload.' + CONTAINER_ID) } }); } }; if (atm.eventList.indexOf('pageview.' + CONTAINER_ID) > -1) atm.dispatch('pageview.' + CONTAINER_ID); })(atm, adn, document, window); } catch (e) { console.log('error', e); }