// ATM Build: T3N0C9N8z "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 = 'CpC22f-kF'; 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": "CpC22f-kF", "data": { "geo": false, "gdpr": false, "cssAdd": true, "position": "overlay", "cssOverride": true, "gdprChoiceButton": true }, "prebid": { "loadPrebidJs": false, "units": { "undefined": { "code": "2017_madbanditten.dk_dsk_lb1_skn", "bids": [ { "bidder": "grid", "params": { "uid": 49343 } }, { "bidder": "adform", "params": { "mid": 1037209 } } ], "mediaTypes": { "banner": { "sizes": [ [ 930, 180 ], [ 970, 250 ], [ 728, 90 ] ] } } }, "bB4OgX_YJ": { "code": "2017_madbanditten.dk_dsk_lb4", "bids": [ { "bidder": "grid", "params": { "uid": 49347 } }, { "bidder": "adform", "params": { "mid": 1037211 } } ], "mediaTypes": { "banner": { "sizes": [ [ 930, 180 ], [ 970, 250 ], [ 728, 90 ] ] } } }, "Wra0Skndm": { "code": "2017_madbanditten.dk_mob1", "bids": [ { "bidder": "grid", "params": { "uid": 49262 } }, { "bidder": "adform", "params": { "mid": 1037214 } } ], "mediaTypes": { "banner": { "sizes": [ [ 320, 320 ], [ 300, 250 ], [ 320, 160 ], [ 320, 480 ], [ 300, 600 ] ] } } }, "_apasq6r8": { "code": "2017_madbanditten.dk_mob4", "bids": [ { "bidder": "grid", "params": { "uid": 49271 } }, { "bidder": "adform", "params": { "mid": 1037217 } } ], "mediaTypes": { "banner": { "sizes": [ [ 320, 320 ], [ 300, 250 ], [ 320, 160 ], [ 320, 480 ], [ 300, 600 ] ] } } }, "Ns8dvo0Ts": { "code": "2017_madbanditten.dk_tab_lb1", "bids": [ { "bidder": "grid", "params": { "uid": 49270 } }, { "bidder": "adform", "params": { "mid": 1037219 } } ], "mediaTypes": { "banner": { "sizes": [ [ 728, 90 ] ] } } }, "HNBxeO8lH": { "code": "2019_madbanditten_opskrift_mob1", "bids": [ { "bidder": "grid", "params": { "uid": 49268 } }, { "bidder": "adform", "params": { "mid": 1037220 } } ], "mediaTypes": { "banner": { "sizes": [ [ 320, 320 ], [ 300, 250 ], [ 320, 160 ], [ 320, 480 ], [ 300, 600 ] ] } } }, "yeddAEV9n": { "code": "2019_madbanditten_opskrift_rec1", "bids": [ { "bidder": "grid", "params": { "uid": 49269 } }, { "bidder": "adform", "params": { "mid": 1037221 } } ], "mediaTypes": { "banner": { "sizes": [ [ 300, 250 ], [ 160, 600 ], [ 300, 600 ] ] } } }, "aE6AGGiGt": { "code": "2019_madbanditten_sidebar_mob1", "bids": [ { "bidder": "grid", "params": { "uid": 49267 } }, { "bidder": "adform", "params": { "mid": 1037222 } } ], "mediaTypes": { "banner": { "sizes": [ [ 320, 320 ], [ 300, 250 ], [ 320, 160 ], [ 320, 480 ], [ 300, 600 ] ] } } }, "TG8Cq8Ghd": { "code": "2019_madbanditten_sidebar_mob2", "bids": [ { "bidder": "grid", "params": { "uid": 49264 } }, { "bidder": "adform", "params": { "mid": 1037223 } } ], "mediaTypes": { "banner": { "sizes": [ [ 320, 320 ], [ 300, 250 ], [ 320, 160 ], [ 320, 480 ], [ 300, 600 ] ] } } }, "Vq0MHOziS": { "code": "2019_madbanditten_sidebar_mob3", "bids": [ { "bidder": "grid", "params": { "uid": 49266 } }, { "bidder": "adform", "params": { "mid": 1037224 } } ], "mediaTypes": { "banner": { "sizes": [ [ 320, 320 ], [ 300, 250 ], [ 320, 160 ], [ 320, 480 ], [ 300, 600 ] ] } } }, "SLwRHb-Vb": { "code": "2019_madbanditten_sidebar_mob4", "bids": [ { "bidder": "grid", "params": { "uid": 49272 } }, { "bidder": "adform", "params": { "mid": 1037225 } } ], "mediaTypes": { "banner": { "sizes": [ [ 320, 320 ], [ 300, 250 ], [ 320, 160 ], [ 320, 480 ], [ 300, 600 ] ] } } }, "H1OdjeoQq": { "code": "2019_madbanditten_sidebar_rec1", "bids": [ { "bidder": "grid", "params": { "uid": 49265 } }, { "bidder": "adform", "params": { "mid": 1037226 } } ], "mediaTypes": { "banner": { "sizes": [ [ 300, 250 ] ] } } }, "Uxu72C4re": { "code": "2019_madbanditten_sidebar_rec2", "bids": [ { "bidder": "grid", "params": { "uid": 49263 } }, { "bidder": "adform", "params": { "mid": 1037227 } } ], "mediaTypes": { "banner": { "sizes": [ [ 300, 250 ], [ 160, 600 ], [ 300, 600 ] ] } } }, "4-Duw4_Jj": { "code": "2019_madbanditten_sidebar_rec3", "bids": [ { "bidder": "grid", "params": { "uid": 49273 } }, { "bidder": "adform", "params": { "mid": 1037228 } } ], "mediaTypes": { "banner": { "sizes": [ [ 300, 250 ], [ 160, 600 ], [ 300, 600 ] ] } } }, "SAMtR0c5N": { "code": "2019_madbanditten_sidebar_rec4", "bids": [ { "bidder": "grid", "params": { "uid": 49274 } }, { "bidder": "adform", "params": { "mid": 1037229 } } ], "mediaTypes": { "banner": { "sizes": [ [ 300, 250 ], [ 160, 600 ], [ 300, 600 ] ] } } } }, "map": {}, "analytics": false, "requester": { "system": "none" }, "aliases": [] }, "tagType": "legacy", "cmp": false, "templates": false, "variables": [], "variableMap": {}, "tags": { "6IkBvNYeQ": { "purposes": [], "type": "javascriptCustom", "content": { "script": "" } } } } try { } catch (e) { throw new Error('Custom variables are not valid') } atm.containers[CONTAINER_ID].tags["6IkBvNYeQ"].content.script = function(){ window.conceptConfig = {"settingsProfiles":[],"bidderTargeting":[],"mobileMultiplier":2,"prebidKeyMap":[],"targetingToDMP":[],"refreshInview":0.25,"prebidTimeOut":1000,"s2sTimeout":500,"page_url":"https://www.madbanditten.dk/","reportTrackingAs":"madbanditten.dk","prebidRef":"https://cncptx.com/prebid_builds/950700ee-8c41-54be-9cab-134375af85f9.js","adUnits":[{"path":"/5706918,22488704225/madbanditten.dk_dsk_rec_side4","targeting":{},"divIdOnPage":"cncpt-side4","prebidSizes":[[300,600]],"size":[[[1025,0],[[300,600]]]],"cookieLessPath":"00000000000b7e77","rootMargin":0,"refresh":30000,"id":"xvyjlu","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1037214","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1393232","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"1385639","adxDomain":" adx.adform.net"},"bidder":"omgz"},{"params":{"placementId":29840715},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/madbanditten.dk_dsk_rec_side3","targeting":{},"divIdOnPage":"cncpt-side3","prebidSizes":[[300,600]],"size":[[[1025,0],[[300,600]]]],"cookieLessPath":"00000000000b7e77","rootMargin":0,"refresh":30000,"id":"5c31roe","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1037214","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1393232","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"1385639","adxDomain":" adx.adform.net"},"bidder":"omgz"},{"params":{"placementId":29840716},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/madbanditten.dk_dsk_rec_side2","targeting":{},"divIdOnPage":"cncpt-side2","prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"cookieLessPath":"00000000000b7e77","rootMargin":0,"refresh":30000,"id":"rz7qvn","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1037214","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1393232","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"1385639","adxDomain":" adx.adform.net"},"bidder":"omgz"},{"params":{"placementId":29840717},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/madbanditten.dk_dsk_rec_side1","targeting":{},"divIdOnPage":"cncpt-side1","prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"cookieLessPath":"00000000000b7e77","rootMargin":0,"refresh":30000,"id":"ed31ex","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1037214","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1393232","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"1385639","adxDomain":" adx.adform.net"},"bidder":"omgz"},{"params":{"placementId":29840718},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/madbanditten.dk_dsk_rec_inconcent1","targeting":{},"divIdOnPage":"cncpt-inconcent1","prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"cookieLessPath":"00000000000b7e77","rootMargin":0,"refresh":30000,"id":"jlhh3p","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1037214","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1393232","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"1385639","adxDomain":" adx.adform.net"},"bidder":"omgz"},{"params":{"placementId":29840719},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/madbanditten.dk_dsk_rec_inconcent2","targeting":{},"divIdOnPage":"cncpt-inconcent2","prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"cookieLessPath":"00000000000b7e77","rootMargin":0,"refresh":30000,"id":"hl5k1","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1037214","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1393232","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"1385639","adxDomain":" adx.adform.net"},"bidder":"omgz"},{"params":{"placementId":29840720},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/madbanditten.dk_mob1_incontent","targeting":{},"divIdOnPage":"cncpt-incontent_mob1","prebidSizes":[[300,250],[320,50],[320,80]],"size":[[[1024,0],[]],[[0,0],[[320,320],[320,160],[300,250],[320,50],[320,80]]]],"cookieLessPath":"00000000000b7e77","rootMargin":0,"refresh":30000,"id":"v9jpk","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1037214","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1393232","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"1385639","adxDomain":" adx.adform.net"},"bidder":"omgz"},{"params":{"placementId":29840721},"bidder":"appnexus","disabled":false},{"params":{"placementId":"34198568"},"bidder":"ttw"}],"prebidAllowNative":true},{"path":"/5706918,22488704225/madbanditten.dk_mob_top","targeting":{"format":"topscroll_mob"},"divIdOnPage":"cncpt-mob_top","prebidSizes":[[1,2],[300,220]],"size":[[[1024,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":1568529,"adxDomain":" adx.adform.net"},"bidder":"adf3"},{"params":{"placementId":29840722},"bidder":"appnexus","disabled":false},{"params":{"mid":1772196,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1684492","adxDomain":" adx.adform.net"},"bidder":"omgz-top"},{"params":{"placementId":"34198570"},"bidder":"ttw"}],"prebidAllowNative":true},{"path":"/5706918,22488704225/madbanditten.dk_dsk_top","targeting":{"format":"topscroll_dsk"},"divIdOnPage":"cncpt-dsk_top","prebidSizes":[[1,2]],"size":[[[1025,590],[[1,2]]],[[0,0],[]]],"rootMargin":0,"refresh":0,"id":"def-dsk_top","excluserTimeout":200,"prebidBid":[{"params":{"mid":1568528,"adxDomain":" adx.adform.net"},"bidder":"adf3"},{"params":{"placementId":29840723},"bidder":"appnexus","disabled":false},{"params":{"mid":"1684491","adxDomain":" adx.adform.net"},"bidder":"omgz-top"},{"params":{"placementId":"34198571\t\t"},"bidder":"ttw"}],"prebidAllowNative":true},{"path":"/5706918,22488704225/2017_madbanditten.dk_dsk_lb1_skn","divIdOnPage":"cncpt-lb1","targeting":{},"prebidSizes":[[930,180],[930,600]],"size":[[[1025,590],[[930,180],[930,600]]],[[0,0],[]]],"cookieLessPath":"00000000000b7e71l","rootMargin":0,"refresh":0,"id":"def-lb1","excluserTimeout":200,"prebidBid":[{"params":{"mid":"1037209\t","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1393202","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074932"},"bidder":"mss_dis"},{"params":{"placementId":"24074950"},"bidder":"mss_skn"},{"params":{"accountId":"17246","siteId":"373552","zoneId":"2044910"},"bidder":"rubicon"},{"params":{"mid":"1385625","adxDomain":" adx.adform.net"},"bidder":"omgz"},{"params":{"placementId":29840724},"bidder":"appnexus","disabled":false},{"params":{"placementId":"34198567"},"bidder":"ttw"}],"prebidAllowNative":true},{"path":"/5706918,22488704225/2017_madbanditten.dk_dsk_lb3","targeting":{"[KEYNAME] - 1":"[VALUE] - 1"},"divIdOnPage":"cncpt-lb3","prebidSizes":[[930,180]],"size":[[[1025,590],[930,180,[930,180]]],[[0,0],[]]],"rootMargin":0,"refresh":30000,"disabled":true,"id":"def-lb3","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1037210"},"bidder":"adf"},{"params":{"placementId":"24074932"},"bidder":"mss_dis"},{"params":{"mid":"1385627"},"bidder":"omgz"},{"params":{"placementId":29840725},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2017_madbanditten.dk_dsk_lb4","targeting":{},"divIdOnPage":"cncpt-lb4","prebidSizes":[[930,180]],"size":[[[1025,590],[930,180,[930,180]]],[[0,0],[]]],"rootMargin":0,"refresh":30000,"disabled":true,"id":"def-lb4","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1037211"},"bidder":"adf"},{"params":{"placementId":"24074932"},"bidder":"mss_dis"},{"params":{"mid":"1385629"},"bidder":"omgz"},{"params":{"placementId":29840726},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2017_madbanditten.dk_dsk_rec1","divIdOnPage":"cncpt-rec1","targeting":{},"prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"cookieLessPath":"00000000000b7e75","rootMargin":0,"refresh":30000,"disabled":true,"id":"def-rec1","lazyload":true,"prebidBid":[{"params":{"mid":"1037212"},"bidder":"adf"},{"params":{"mid":"1393224"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"mid":"1385635"},"bidder":"omgz"},{"params":{"placementId":"18004863"},"bidder":"msupply"},{"params":{"placementId":29840727},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2017_madbanditten.dk_dsk_rec2","divIdOnPage":"cncpt-rec2","targeting":{},"prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"refresh":30000,"disabled":true,"id":"def-rec2","lazyload":true,"prebidBid":[{"params":{"mid":"1037213"},"bidder":"adf"},{"params":{"mid":"1393225"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"mid":"1385636"},"bidder":"omgz"},{"params":{"placementId":29840728},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2017_madbanditten.dk_dsk_sky2","targeting":{},"divIdOnPage":"cncpt-sky2","prebidSizes":[[160,600]],"size":[[[1700,0],[[160,600],[300,600]]],[[1025,0],[[160,600]]]],"refresh":30000,"id":"def-sky2","lazyload":true,"prebidBid":[{"params":{"mid":"1037218"},"bidder":"adf"},{"params":{"mid":"1393229"},"bidder":"mpm"},{"params":{"placementId":"24074931"},"bidder":"mss_dis"},{"params":{"mid":"1385633"},"bidder":"omgz"},{"params":{"placementId":"18004349"},"bidder":"msupply"},{"params":{"placementId":29840729},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2017_madbanditten.dk_mob1","targeting":{},"divIdOnPage":"cncpt-mob1","prebidSizes":[[300,250],[320,50],[320,80]],"size":[[[1024,0],[]],[[0,0],[[320,320],[320,160],[300,250],[320,50],[320,80]]]],"cookieLessPath":"00000000000b7e77","rootMargin":0,"refresh":30000,"id":"def-mob1","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1037214","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1393232","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"1385639","adxDomain":" adx.adform.net"},"bidder":"omgz"},{"params":{"placementId":"18005408"},"bidder":"msupply"},{"params":{"placementId":29840730},"bidder":"appnexus","disabled":false},{"params":{"placementId":"34198568"},"bidder":"ttw"}],"prebidAllowNative":true},{"path":"/5706918,22488704225/2017_madbanditten.dk_mob2","targeting":{},"divIdOnPage":"cncpt-mob2","prebidSizes":[[320,160],[320,320]],"size":[[[1024,0],[]],[[0,0],[[320,320],[320,160]]]],"cookieLessPath":"00000000000b7e78","rootMargin":0,"refresh":30000,"id":"def-mob2","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1037215"},"bidder":"adf"},{"params":{"mid":"1393233"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"mid":"1385640"},"bidder":"omgz"},{"params":{"placementId":29840731},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2017_madbanditten.dk_mob3","targeting":{},"divIdOnPage":"cncpt-mob3","prebidSizes":[[320,320],[320,160]],"size":[[[1024,0],[]],[[0,0],[[320,320],[320,160]]]],"cookieLessPath":"00000000000c01c7","rootMargin":0,"refresh":30000,"id":"def-mob3","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1037216"},"bidder":"adf"},{"params":{"mid":"1393234"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"mid":"1385643"},"bidder":"omgz"},{"params":{"placementId":29840732},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2017_madbanditten.dk_mob4","targeting":{},"divIdOnPage":"cncpt-mob4","prebidSizes":[[320,320]],"size":[[[1024,0],[]],[[0,0],[[320,320],[320,160]]]],"refresh":30000,"id":"def-mob4","lazyload":true,"prebidBid":[{"params":{"mid":"1393235"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"mid":"1385641"},"bidder":"omgz"},{"params":{"placementId":29840733},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2017_madbanditten.dk_tab_lb1","divIdOnPage":"cncpt-tab-lb1","targeting":{},"size":[[[756,590],[930,180]],[[0,0],[]]],"refresh":30000,"disabled":true,"id":"def-tab-lb1"},{"path":"/5706918,22488704225/2017_madbanditten.dk_outstream","targeting":{"format":"outstream"},"divIdOnPage":"cncpt-outstream","prebidSizes":[[1,1]],"size":[[[0,0],[[1,1]]]],"refresh":0,"id":"def-outstream","lazyload":true},{"path":"/5706918,22488704225/2019_madbanditten_forside_rec1","divIdOnPage":"cncpt-forside_rec1","targeting":{},"prebidSizes":[[300,250]],"size":[[[1025,0],[300,250,[300,250]]],[[0,0],[]]],"refresh":30000,"disabled":true,"id":"def-forside_rec1","lazyload":true,"prebidBid":[{"params":{"mid":"1393224"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"placementId":29840734},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2019_madbanditten_forside_rec2","divIdOnPage":"cncpt-forside_rec2","targeting":{},"prebidSizes":[[300,250]],"size":[[[1025,0],[300,250,[300,250]]],[[0,0],[]]],"refresh":30000,"disabled":true,"id":"def-forside_rec2","lazyload":true,"prebidBid":[{"params":{"mid":"1393225"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"placementId":29840735},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2019_madbanditten_forside_rec3","targeting":{},"divIdOnPage":"cncpt-forside_rec3","prebidSizes":[[300,250]],"size":[[[1025,0],[300,250,[300,250]]],[[0,0],[]]],"refresh":30000,"disabled":true,"id":"def-forside_rec3","lazyload":true,"prebidBid":[{"params":{"mid":"1393226"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"placementId":29840736},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2019_madbanditten_forside_rec4","targeting":{},"divIdOnPage":"cncpt-forside_rec4","prebidSizes":[[300,250]],"size":[[[1025,0],[300,250,[300,250]]],[[0,0],[]]],"refresh":30000,"disabled":true,"id":"def-forside_rec4","lazyload":true,"prebidBid":[{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"placementId":29840737},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2019_madbanditten_sidebar_rec1","targeting":{"format":"expander"},"divIdOnPage":"cncpt-sidebar_rec1","prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"cookieLessPath":"00000000000c01d1","refresh":30000,"id":"def-sidebar_rec1","lazyload":true,"prebidAllowNative":true,"prebidBid":[{"params":{"mid":"1393224","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"placementId":29840738},"bidder":"appnexus","disabled":false},{"params":{"placementId":"34160409"},"bidder":"ttw"}]},{"path":"/5706918,22488704225/2019_madbanditten_sidebar_rec2","targeting":{"format":"expander"},"divIdOnPage":"cncpt-sidebar_rec2","prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"cookieLessPath":"00000000000c01ce","refresh":30000,"id":"def-sidebar_rec2","lazyload":true,"prebidBid":[{"params":{"mid":"1393225","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"placementId":29840739},"bidder":"appnexus","disabled":false},{"params":{"placementId":"34198569"},"bidder":"ttw"}],"prebidAllowNative":true},{"path":"/5706918,22488704225/2019_madbanditten_sidebar_rec3","targeting":{},"divIdOnPage":"cncpt-sidebar_rec3","prebidSizes":[[300,250]],"size":[[[1025,0],[300,250,[300,250]]],[[0,0],[]]],"refresh":30000,"disabled":true,"id":"def-sidebar_rec3","lazyload":true,"prebidBid":[{"params":{"mid":"1393226"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"placementId":29840740},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2019_madbanditten_sidebar_rec4","divIdOnPage":"cncpt-sidebar_rec4","targeting":{},"prebidSizes":[[300,250]],"size":[[[1025,0],[300,250,[300,250]]],[[0,0],[]]],"refresh":30000,"disabled":true,"id":"def-sidebar_rec4","lazyload":true,"prebidBid":[{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"placementId":29840741},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2019_madbanditten_opskrift_rec1","divIdOnPage":"cncpt-opskrift_rec1","targeting":{"format":"expander"},"prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"cookieLessPath":"00000000000b7e76","refresh":30000,"id":"def-opskrift_rec1","lazyload":true,"prebidBid":[{"params":{"mid":"1393224"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"placementId":29840742},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2019_madbanditten_opskrift_rec2","targeting":{"format":"expander"},"divIdOnPage":"cncpt-opskrift_rec2","prebidSizes":[[300,250]],"size":[[[1025,0],[[300,250]]]],"cookieLessPath":"00000000000c01cf","refresh":30000,"id":"def-opskrift_rec2","lazyload":true,"prebidBid":[{"params":{"mid":"1393225","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"placementId":29840743},"bidder":"appnexus","disabled":false},{"params":{"placementId":"34198569"},"bidder":"ttw"}],"prebidAllowNative":true},{"path":"/5706918,22488704225/2019_madbanditten_lb2_adhesion","divIdOnPage":"cncpt-lb2_adhesion","targeting":{},"size":[[[1025,0],[930,180]],[[0,0],[]]],"refresh":30000,"disabled":true,"id":"def-lb2_adhesion","lazyload":true},{"path":"/5706918,22488704225/2019_madbanditten_sky1","divIdOnPage":"cncpt-sky1","targeting":{},"prebidSizes":[[160,600]],"size":[[[1700,0],[[300,600],[160,600]]],[[1025,0],[[160,600]]]],"rootMargin":0,"refresh":30000,"id":"def-sky1","lazyload":true,"prebidBid":[{"params":{"mid":"1393228"},"bidder":"mpm"},{"params":{"placementId":"24074931"},"bidder":"mss_dis"},{"params":{"mid":"1385631"},"bidder":"omgz"},{"params":{"placementId":29840744},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2019_madbanditten_sky3","divIdOnPage":"cncpt-sky3","targeting":{},"prebidSizes":[[160,600]],"size":[[[1700,0],[[300,600],[160,600]]],[[1025,0],[[160,600]]]],"refresh":30000,"id":"def-sky3","lazyload":true,"prebidBid":[{"params":{"mid":"1393230"},"bidder":"mpm"},{"params":{"placementId":"24074931"},"bidder":"mss_dis"},{"params":{"mid":"1385632"},"bidder":"omgz"},{"params":{"placementId":29840745},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2019_madbanditten_sky4","targeting":{},"divIdOnPage":"cncpt-sky4","prebidSizes":[[160,600]],"size":[[[1700,0],[[160,600],[300,600]]],[[1025,0],[[160,600]]]],"refresh":30000,"id":"def-sky4","lazyload":true,"prebidBid":[{"params":{"mid":"1393231"},"bidder":"mpm"},{"params":{"placementId":"24074931"},"bidder":"mss_dis"},{"params":{"mid":"1385634"},"bidder":"omgz"},{"params":{"placementId":29840746},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2019_madbanditten_header_mob1","divIdOnPage":"cncpt-header_mob1","targeting":{},"prebidSizes":[[320,320]],"size":[[[1025,0],[]],[[0,0],[[320,320],[320,160],[300,250]]]],"refresh":30000,"id":"def-header_mob1","lazyload":true,"prebidBid":[{"params":{"mid":"1393232","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":29840747},"bidder":"appnexus","disabled":false},{"params":{"placementId":"34198568"},"bidder":"ttw"}],"prebidAllowNative":true},{"path":"/5706918,22488704225/2019_madbanditten_sidebar_mob1","divIdOnPage":"cncpt-sidebar_mob1","targeting":{},"prebidSizes":[[320,320]],"size":[[[1025,0],[]],[[0,0],[[320,320],[320,160],[300,250]]]],"cookieLessPath":"00000000000c01ca","refresh":30000,"id":"def-sidebar_mob1","lazyload":true,"prebidBid":[{"params":{"mid":"1393232","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":29840748},"bidder":"appnexus","disabled":false},{"params":{"placementId":"34198568"},"bidder":"ttw"}],"prebidAllowNative":true},{"path":"/5706918,22488704225/2019_madbanditten_sidebar_mob2","targeting":{},"divIdOnPage":"cncpt-sidebar_mob2","prebidSizes":[[320,320]],"size":[[[1025,0],[]],[[0,0],[[320,320],[320,160],[300,250]]]],"cookieLessPath":"00000000000c01cb","refresh":30000,"id":"def-sidebar_mob2","lazyload":true,"prebidBid":[{"params":{"mid":"1393233"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"placementId":29840749},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2019_madbanditten_sidebar_mob3","targeting":{},"divIdOnPage":"cncpt-sidebar_mob3","prebidSizes":[[320,320]],"size":[[[1025,0],[]],[[0,0],[[320,320],[320,160],[300,250]]]],"cookieLessPath":"00000000000c01cc","refresh":30000,"id":"def-sidebar_mob3","lazyload":true,"prebidBid":[{"params":{"mid":"1393234"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"placementId":29840750},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2019_madbanditten_sidebar_mob4","targeting":{},"divIdOnPage":"cncpt-sidebar_mob4","prebidSizes":[[320,320],[320,160],[300,250]],"size":[[[1025,0],[]],[[0,0],[[320,320],[320,160],[300,250]]]],"cookieLessPath":"00000000000c01cd","refresh":30000,"id":"def-sidebar_mob4","lazyload":true,"prebidBid":[{"params":{"mid":"1037217"},"bidder":"adf"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"placementId":29840751},"bidder":"appnexus","disabled":false}]},{"path":"/5706918,22488704225/2019_madbanditten_opskrift_mob1","divIdOnPage":"cncpt-opskrift_mob1","targeting":{},"prebidSizes":[[320,320]],"size":[[[1025,0],[]],[[0,0],[[320,320],[320,160],[300,250]]]],"cookieLessPath":"00000000000c01c8","rootMargin":0,"refresh":30000,"id":"def-opskrift_mob1","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1037220","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":29840752},"bidder":"appnexus","disabled":false},{"params":{"placementId":"34198568"},"bidder":"ttw"}],"prebidAllowNative":true},{"path":"/5706918,22488704225/2019_madbanditten_opskrift_mob2","targeting":{"format":"interscroll_mob,double_interscroll_mob,expander"},"divIdOnPage":"cncpt-opskrift_mob2","prebidSizes":[[320,320],[320,160],[300,250],[300,240],[300,210]],"size":[[[1025,0],[]],[[0,0],[[320,320],[320,160],[300,250],[300,240],[300,210]]]],"rootMargin":0,"refresh":30000,"id":"def-opskrift_mob2","lazyload":true,"prebidAllowNative":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1393233","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"mid":"1037220","adxDomain":" adx.adform.net"},"bidder":"adf3"},{"params":{"placementId":29840753},"bidder":"appnexus","disabled":false},{"params":{"mid":"1717772","adxDomain":" adx.adform.net"},"bidder":"omgz-doub-int"},{"params":{"mid":1747464,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":1772195,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1754687","adxDomain":" adx.adform.net"},"bidder":"mpm_doub_int"},{"params":{"mid":"1429006","adxDomain":" adx.adform.net"},"bidder":"omgz-int"},{"params":{"placementId":"34160408"},"bidder":"ttw"}]}],"videoAdunits":[],"sid":"C-01438","readpeaks":[],"customTargeting":{"market":"dk","betting":"no","categories":"food,women","domain":"madbanditten.dk"},"bidderSettings":[{"alias":"omgz-doub-int","gvlid":"50","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"msupply","gvlid":"32","bidCpmAdjustment":1,"bidder":"appnexus"},{"alias":"omgz","gvlid":"50","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"mss_mob_int","gvlid":"32","bidCpmAdjustment":1,"bidder":"appnexus"},{"alias":"omgz-top","gvlid":"50","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"adf2","gvlid":"50","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"omgz-int","gvlid":"50","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"adf3","gvlid":"50","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"mss_skn","gvlid":"32","bidCpmAdjustment":1,"bidder":"appnexus"},{"alias":"mpm","gvlid":"50","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"mpm_doub_int","gvlid":"50","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"mss_mob_top","gvlid":"32","bidCpmAdjustment":1,"bidder":"appnexus"},{"alias":"mss_dis","gvlid":"32","bidCpmAdjustment":1,"bidder":"appnexus"},{"alias":"adf","gvlid":"50","bidCpmAdjustment":1,"bidder":"adform"}],"strossles":[],"checkForConsent":true,"usePrebid":true,"RMBRef":"https://macro.adnami.io/macro/spec/adsm.macro.083495c8-d5e2-4c6b-b84f-61ad292f931f.js","activatePubx":true,"prebidAliases":[["omgz-doub-int","adform","50"],["msupply","appnexus","32"],["omgz","adform","50"],["mss_mob_int","appnexus","32"],["omgz-top","adform","50"],["adf2","adform","50"],["omgz-int","adform","50"],["adf3","adform","50"],["mss_skn","appnexus","32"],["mpm","adform","50"],["ttw","appnexus","32"],["mpm_doub_int","adform","50"],["mss_mob_top","appnexus","32"],["mss_dis","appnexus","32"],["adf","adform","50"]],"deployId":"m20ga74ucgj1tqfiblc","supplyPartners":[{"gvlid":null,"bidder":"rubicon","asi":"rubiconproject.com","mainAdapter":true,"s2sApproved":true,"name":"rubicon","bidCpmAdjustment":"1","sid":"17246"},{"gvlid":null,"bidder":"appnexus","mainAdapter":true,"s2sApproved":true,"name":"appnexus","bidCpmAdjustment":"1"},{"gvlid":"50","bidder":"adform","asi":"adform.com","bidCpmAdjustment":"1","sid":"638","alias":"omgz-doub-int","extraNodes":[{"asi":"omnicommediagroup.com","sid":"S005"}]},{"gvlid":"32","bidder":"appnexus","bidCpmAdjustment":"0.85","alias":"msupply"},{"gvlid":"50","bidder":"adform","asi":"adform.com","bidCpmAdjustment":"1","sid":"638","alias":"omgz","extraNodes":[{"asi":"omnicommediagroup.com","sid":"S005"}]},{"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":"adf2"},{"gvlid":"50","bidder":"adform","asi":"adform.com","bidCpmAdjustment":"1","sid":"638","alias":"omgz-int","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":"2606","alias":"mpm","extraNodes":[{"asi":"ipgmediabrands.dk","sid":"D002"}]},{"gvlid":"32","bidder":"appnexus","bidCpmAdjustment":"6.66","alias":"ttw"},{"gvlid":"50","bidder":"adform","bidCpmAdjustment":"1","alias":"mpm_doub_int","extraNodes":[{"asi":"ipgmediabrands.dk","sid":"D002"}]},{"gvlid":"32","bidder":"appnexus","bidCpmAdjustment":"1","alias":"mss_mob_top"},{"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/madbanditten/templates.js","haltInit":0,"cookielessAdserver":"Adnuntius","rootMargin":500,"failsafe_timeout":3000,"legitimateStepAdserver":"Adnuntius"}; "use strict";(()=>{var st=Object.defineProperty;var Li=Object.getOwnPropertyDescriptor;var ki=Object.getOwnPropertyNames;var ji=Object.prototype.hasOwnProperty;var v=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ui=(e,t)=>{for(var o in t)st(e,o,{get:t[o],enumerable:!0})},$i=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ki(t))!ji.call(e,i)&&i!==o&&st(e,i,{get:()=>t[i],enumerable:!(n=Li(t,i))||n.enumerable});return e};var at=e=>$i(st({},"__esModule",{value:!0}),e);var E,me=v(()=>{"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 b(e){Dt&&s(e,"error")}var Mt,Fi,Bi,Mi,lt,Dt,s,qt,ne,Gt,zt,j,O,he,D,xe,A=v(()=>{"use strict";Mt={pbjs:"#3B88C3;",gpt:"#1E8E3E;",adnuntius:"#0e9bd6;",emitter:"#f4b400;",video:"#ff0046;",conceptads:"#283593;",readpeak:"#13759a;",strossle:"#191919;",function:"#9AE19D;",test:"#6eb77f;",error:"#ff3333;",warning:"#ffcc00;"},Fi=e=>Mt[e]||"#d24f54;",Bi=performance.now(),Mi=function(e,t){let o=Array.from(t),n=Fi(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()-Bi)/1e3;return o.unshift("%c"+e.toUpperCase()+` (+ ${r.toFixed(2)} s) `),o},lt=function(e){let t="[\\?&]"+e+"=([^&#]*)",n=new RegExp(t).exec(window.location.search);return n===null?"":decodeURIComponent(n[1].replace(/\+/g," "))},Dt=lt("concept_debug")==="true"||globalThis.concept_debug,s=(e,t="conceptads",o="log")=>(Object.keys(Mt).includes(t)||(t="conceptsads"),Dt&&console[o].apply(void 0,Mi(t,[e])));qt=()=>{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"})},ne=(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})},Gt=e=>ne("Function queued",e),zt=e=>ne("Function dequeued",e),j=e=>ne("Timing point",e),O=e=>ne("Event recieved",e),he=e=>ne("Ad loaded",e),D=e=>ne("Request sent",e),xe=e=>ne("Unfilled recieved",e)});var P,ie=v(()=>{"use strict";P={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 Wt,Ht=v(()=>{"use strict";Wt=function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}});var re,be,Vt,d,f,w,Ne,_e,I=v(()=>{"use strict";re=({adunitId:e})=>{let t=[...globalThis.concept.updateWhenResolved.keys()],o=[...globalThis.concept.updateIfEmpty.keys()];return[...t,...o].filter(i=>w(i)).includes(e)},be=()=>globalThis.conceptConfig,Vt=()=>globalThis.concept,d=e=>globalThis.conceptConfig[e],f=e=>globalThis.concept[e],w=e=>globalThis.concept.adUnits.get(e),Ne=(e,t)=>globalThis.conceptConfig[e]=t,_e=()=>({changeCorrelator:d("dontChangeCorrelator")!==!0})});var Di,qi,le,Re=v(()=>{"use strict";I();Di=300,qi=e=>{let t=f("device")==="mobile",o=f("adUnits"),n=d("mobileMultiplier")||2,i=d("rootMargin"),r=t?n:1,a=o?o.get(e):null;return((a&&a.rootMargin?a.rootMargin:i)||Di)*r+"px"},le=e=>({root:null,rootMargin:qi(e),threshold:d("threshold")||0})});var ct,Kt,Qt=v(()=>{"use strict";I();A();ct={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)&&(s("Setting keyswords for adunit","pbjs"),o.forEach(a=>{i[a.value]&&(r.keywords||(r.keywords={}),r.keywords[a.key]=i[a.value])})),r}}},Kt=e=>{let{bidder:t,params:o,disabled:n}=e,r=(globalThis?.conceptConfig?.prebidAliases||[]).find(c=>c[0]===t),a=r&&r[1];if(ct[t]||a&&ct[r[1]]){let c=t;r&&(c=r[1]);let u={bidder:t,params:ct[c].transformer(o,t)};return n&&(u.disabled=n),u}return e}});var Gi,Yt,Jt,Xt=v(()=>{"use strict";({injectCustomAsyncScript:Gi}=(L(),at(Le))),Yt=()=>globalThis.conceptConfig.activatePubx,Jt=e=>{Gi(e,"https://cdn.pbxai.com/029f2f07-0154-4544-b38d-26667fe7fd22.js"),e("PubX Injected")}});var Zt,eo,to,oo,no=v(()=>{"use strict";I();Zt=()=>{let e=d("activateS2s"),t=d("prebidTimeOut")||1e3,o=d("adServerCurrency")||"DKK",n=d("id5PartnerId")||461,i=d("enableTIDs")||!0,r=d("disablePrebidConsentManagement"),a=d("disableUserSync"),l=d("prebidPriceBuckets"),c=[{precision:2,max:20,increment:.2},{precision:2,max:100,increment:1},{precision:2,max:400,increment:10}],u=l&&l.length>0?l:c,p={bidderTimeout:t,enableTIDs:i,currency:{adServerCurrency:o},allowActivities:{transmitEids:{rules:[{allow:!0}]},fetchBids:{rules:[{allow:!0}]}},targetingControls:{addTargetingKeys:["SOURCE"]},priceGranularity:{buckets:u},paapi:{enabled:!0,defaultForSlots:1}};if(r||(p.consentManagement={gdpr:{cmpApi:"iab",timeout:8e3,defaultGdprScope:!0},usp:{cmpApi:"iab",timeout:100}}),a||(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:parseInt(n)},storage:{type:"html5",name:"id5id",expires:90,refreshInSeconds:8*3600}}]}),e){let h=d("prebidAliases")||[],y=d("s2sBidders")||[],C=d("s2sAccountName")||"cncpt",S=d("s2sTimeout")||500;p.s2sConfig={accountId:C,adapter:"prebidServer",enabled:!0,bidders:[...y],cookieSet:!0,endpoint:"https://s2s.cncpt-central.com/openrtb2/auction",syncEndpoint:"https://s2s.cncpt-central.com/cookie_sync",timeout:S,extPrebid:{aliases:Object.fromEntries(h.filter(T=>y.includes(T[0]))||[]),targeting:{includebidderkeys:!0}}}}return(d("disablePrebidSync")||!1)&&(p.syncEnabled=!1),(d("disablePrebidDevice")||!1)&&(p.deviceAccess=!1),p},eo=e=>{let{asi:t,sid:o,extraNodes:n,alias:i,bidder:r}=e,a={bidders:[i||r],config:{schain:{validation:"strict",config:{ver:"1.0",complete:1,nodes:[]}}}};return t&&o&&a.config.schain.config.nodes.push({asi:t,sid:o,hp:1}),n&&n.forEach(l=>{a.config.schain.config.nodes.push({asi:l.asi,sid:l.sid,hp:1})}),a},to=()=>{let e=d("supplyPartners")||[];if(!e)return;let t={standard:{storageAllowed:!0}};e.forEach(o=>{let n=parseFloat(o.bidCpmAdjustment);n!==1&&(t[o.alias]?t[o.alias].bidCpmAdjustment=r=>r*n:t[o.alias]={bidCpmAdjustment:r=>r*n})}),pbjs.bidderSettings=t},oo=()=>{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 a=globalThis.concept.targeting.categories||"";return t.concept_category=a.split(","),globalThis.concept.pbjsGlobalKeys=t,t}});function lo(e){let t=!1,o=_e();if(e.length===0){s("No units ot refresh");return}let{prebidUnits:n,onlyGamUnits:i}=zi(e);i.forEach(c=>{let u=c.path;D(`${u} - gpt`),googletag.cmd.push(function(){c.slot&&googletag.pubads().refresh([c.slot],o)})});let r=n.map(c=>c.code),a=e.filter(c=>r.includes(c.path));n&&n.length>0&&(D(`${r.join(", ")} - prebid`),pbjs.que.push(function(){let c=r.join(", ");ao(),pbjs.removeAdUnit(),pbjs.addAdUnits(n),j(`prebid auction started ${c}`),s(`Starting auction for = ${c}`,"pbjs"),pbjs.requestBids({adUnitCodes:r,bidsBackHandler:l})}));function l(c){if(!t){if(t=!0,c&&Ji(c),a.length===0){s("Nothing to call GAM with");return}pbjs.setPAAPIConfigForGPT&&pbjs.setPAAPIConfigForGPT(),googletag.cmd.push(function(){let u=a.filter(p=>p.slot).map(p=>p.slot);if(u.length===0){s("Nothing with a slot to call GAM with");return}if(!pbjs.libLoaded){googletag.pubads().refresh(u,o);return}pbjs.que.push(function(){pbjs.setTargetingForGPTAsync(),s("[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||(s(`[PREBID] Timouter caught this one ${r}`,"pbjs"),l({}))},c)}}var io,ke,zi,Wi,ro,Hi,Vi,so,ao,Ki,Qi,Yi,Ji,je=v(()=>{"use strict";A();L();Xt();no();I();io=!0;window.pbjs=window.pbjs||{};pbjs.que=pbjs.que||[];ke=e=>{if(e.usePrebid&&e.prebidRef)if((!window.pbjs||!window.pbjs.libLoaded)&&io){io=!1,Yt()&&Jt(s);let t=e.prebidRef;Ki(),dt(s,t),Vi(),Wi(),Qi(),globalThis.concept.updateTargeting()}else s("Prebid already loaded/started","pbjs");else s("Prebid not needed","pbjs")},zi=e=>{let t=[],o=[],n=e.map(i=>i.path);return s(`[getPrebidSettings] looking up bids for: ${n}`,"conceptads"),e.forEach(i=>{let r=i.path,a=i.divIdOnPage;for(let[l,c]of f("adUnits")){if(!c){s("Unit is deleted");return}c.divIdOnPage===a&&c.prebidSettings?.bids&&c.prebidSettings?.bids?.length>0?(c.prebidSettings.code=r,t.push(c.prebidSettings)):c.divIdOnPage===a&&o.push(c)}}),{prebidUnits:t,onlyGamUnits:o}},Wi=()=>{d("useLiveWrappedAnalytics")&&window.pbjs.que.push(function(){s("setting setPrebidAnalytics (liveWrapped)","pbjs"),pbjs.enableAnalytics({provider:"livewrapped",options:{publisherId:"35665883-67d9-42e1-b1e9-8f3e80c7f513",endpoint:"https://lwadm.com/analytics/10"}})})},ro=(e,t)=>{window.pbjs.que.push(function(){let o=t.filter(a=>a.target==="site"),n=t.filter(a=>a.target==="user"),i=f("targeting"),r={bidders:e,config:{ortb2:{site:{ext:{data:{}}},user:{ext:{data:{}}}}}};o.forEach(a=>{r.config.ortb2.site.ext.data[a.key]=i[a.value]}),n.forEach(a=>{r.config.ortb2.user.ext.data[a.key]=i[a.value]}),e&&e.length>0&&(s(`Setting bidder targeting for ${e.join(",")}`,"pbjs"),pbjs.setBidderConfig(r,!0))})},Hi=e=>{window.pbjs.que.push(function(){e[1]&&e[0]&&pbjs.aliasBidder(e[1],e[0],{...e[2]&&{gvlid:parseInt(e[2])}})})},Vi=()=>{if(s("Adding Aliases","pbjs"),globalThis.conceptConfig?.prebidAliases){let e=globalThis.conceptConfig.prebidAliases,t=[];if(typeof e=="string")try{t=JSON.parse(e)}catch{b("could not parse prebidAliases")}Array.isArray(e)&&(t=e),s(JSON.stringify(e),"pbjs"),t.forEach(o=>Hi(o))}},so=({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},ao=()=>{s("updatin pbjs ortb2 (contxt & targetings)","pbjs");let e=f("targeting"),t=oo(),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&&(s("Setting appnexus specfic keywords"),n.forEach(r=>{e[r.value]&&(i[r.key]=e[r.value])})),pbjs.setConfig({appnexusAuctionKeywords:i})},Ki=()=>{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 a=`${n}_${r}`,l={...i,alias:a};if(!conceptConfig.prebidAliases?.find(c=>c[0]===a)){let c=[a,i.bidder];i?.gvlid&&c.push(i.gvlid),conceptConfig.prebidAliases?.push(c)}conceptConfig.supplyPartners?.find(c=>c.alias===a)||conceptConfig.supplyPartners?.push(l),r==="s2s"&&!conceptConfig.s2sBidders?.includes(a)&&conceptConfig.s2sBidders?.push(a)})})},Qi=()=>{pbjs.que.push(function(){s("setting cncpt pbjs options (bidadjustments & general config)","pbjs"),to(),ao(),Yi(),pbjs.onEvent("auctionInit",function(t){s(`[auctionInit] ${t.adUnitCodes[0]} with ${t.bidderRequests.length} bids`,"pbjs")}),pbjs.onEvent("beforeRequestBids",function(t){if(!pbjs.getUserIds){b("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(Zt());let e=d("videoPriceBuckets");e&&e.length>0&&(s("Setting video price buckets","pbjs"),pbjs.setConfig({mediaTypePriceGranularity:{video:{buckets:e}}}))})},Yi=()=>{(d("supplyPartners")||[]).filter(t=>t.asi&&t.sid||t.extraNodes&&t.extraNodes.length>0).forEach(t=>{s(`Seeting Schain for ${t.alias||t.bidder}`,"pbjs");let o=eo(t);pbjs.setBidderConfig(o)})},Ji=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";s(`GAM has to beat ${i} by ${r}`,"pbjs")}})})}});var co,U,uo,H=v(()=>{"use strict";co=e=>{let t,o=[];for(t=0;tn);t++);return e[t]},U=()=>Math.random().toString(36).substr(2,9),uo=(e,t)=>Math.floor(Math.random()*(t-e+1)+e)});var Ue,po,ut,go,$e=v(()=>{"use strict";Ue=()=>document.createElement("div"),po=(e,t,o)=>{if(e){e.classList.add(`outer-box-${e.id}`);let n=Ue();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;}`;ut(r),e.appendChild(n)}},ut=e=>{let t=document.createElement("style");t.innerText=e,document.head.appendChild(t)},go=e=>{let t=document.getElementById(e.divIdOnPage);if(!t)return"";let o=Ue(),n=`${e.divIdOnPage}-prerender`;o.setAttribute("id",n);let i=Ue(),r=Ue();return r.setAttribute("id",`${e.divIdOnPage}-grandparent`),i.setAttribute("id",`${e.divIdOnPage}-realrender`),t.appendChild(o),r.appendChild(i),t.appendChild(r),n}});function pt(e,t){e&&e.postMessage&&e.postMessage(t,"*")}var $,fo,Fe,mo,ho,Be,bo,To,Co,vo,Io,yo,Me,Ao,q=v(()=>{"use strict";I();A();$=(e,t)=>{if(!d("isPassback")){s(`${e} emitted`,"emitter");let n=new CustomEvent(e,t);window.parent.document.dispatchEvent(n)}},fo=({divId:e})=>{$("viewableAd",{detail:{viewable:!0,divId:e}})},Fe=({name:e,divId:t})=>{$("unfilledAd",{detail:{adunit:e,unfilled:!0,divId:t}})},mo=()=>$("concept_loaded",{detail:{}}),ho=()=>$("concept_listening",{detail:{}}),Be=({name:e,divId:t})=>{$("filledAd",{detail:{adunit:e,filled:!0,divId:t}})},bo=(e,t)=>{let o=globalThis.concept.buildVastTag(t);pt(e,{type:"vast_tag",payload:{VASTTag:o}})},To=async(e,t)=>{let o=await globalThis.concept.requestPrebidUrl(t);pt(e,{type:"prebid_vast_tag",payload:{VASTTag:o}})},Co=e=>{let o={cncptads:JSON.stringify(Vt())};pt(e,{type:"concept_ads",payload:o}),$("concept_ads",{detail:o})},vo=()=>$("urlChange",{detail:{}}),Io=()=>$("consentRecieved",{detail:{}}),yo=()=>$("cookieless",{detail:{}}),Me=()=>$("withCookies",{detail:{}}),Ao=e=>$("PPIDSet",{detail:{id:e}})});var Eo,Xi,Zi,er,tr,or,nr,ir,So,rr,sr,ar,De=v(()=>{"use strict";L();A();k();F();q();$e();I();Eo=e=>{window.adn&&window.adn.calls&&window.adn.request?e("Adnuntius already loaded"):(se("https://cdn.adnuntius.com/adn.js",document),e("Adnuntius Injected"))};window.adn=window.adn||{};adn.calls=adn.calls||[];Xi=e=>{for(var t in e)(e[t]===null||e[t]===void 0||e[t]==="")&&delete e[t];return e},Zi=e=>{Fe({name:e.targetId,divId:e.targetId}),xe(e.targetId)},er=e=>{globalThis.concept.adsloaded=globalThis.concept.adsloaded+1,he(e.targetId),Be({name:e.targetId,divId:e.targetId})},tr=e=>he(e.widgetId),or=(e,t="size")=>{let o=V(),n=ce(e[t],o);return gt(n)},nr=(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:tr,container:n,onNoMatchedAds:Zi,onImpressionResponse:er}),ir=e=>{e.forEach(t=>{if(s(`Queueing ${t.targetId}`,"adnuntius"),!d("disableAutoCenterCLAds")){let n=document.getElementById(t.targetId);n&&(n.style.margin="0px auto")}D(`${t.targetId} - adnuntius`),rr({slot:t})})},So=({adunitDivId:e,container:t,prerender:o}={adunitDivId:null,container:"iframe",prerender:!1})=>{o&&s(`Pre rendereing ${e}`,"adnuntius");let i=qe()?"mobile":"desktop";globalThis.concept.device=i;let a=d("adUnits").filter(u=>u.cookieLessPath&&!u.cookieLessPath.includes("/"));e&&(a=a.filter(u=>u.divIdOnPage===e));let l=Xi(globalThis.concept.targeting),c=a.filter(u=>or(u,"size")).map(u=>{let p=u.divIdOnPage;return o&&(p=go(u),u.divIdOnPage=`${u.divIdOnPage}-realrender`),nr(u,p,l,t)});return ir(c),c.map(u=>u.targetId)},rr=async({slot:e})=>{let t=f("failsafe_timeout");s(`Waiting for ${e.targetId} to be in the DOM`,"adnuntius"),await M(`#${e.targetId}`,t)!==null&&sr(e)},sr=e=>{s(`Requesting ${e.targetId}`,"adnuntius"),adn.calls.push(function(){ar(e)})},ar=e=>{adn.useLocalStorage(!1),adn.request({requestParams:{proximity:50,load:"lazy"},adUnits:[e]})}});var wo,Po=v(()=>{"use strict";A();L();k();wo=({contxt:e,logger:t})=>{t("Dentsu gonna be Injected");let o="G-955BVT8WXE",n=Ge("_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"],a="Concept_data",l=n,c=window.location.href,u=e.join(","),p=window.location.hostname;r.forEach(y=>{window._adftrack.push({pm:i,divider:encodeURIComponent("|"),pagename:encodeURIComponent(y),order:{sv1:a,sv2:l,sv3:c,sv22:p,sv4:u}})}),globalThis.dataLayer=globalThis.dataLayer||[];function g(){globalThis.dataLayer.push(arguments)}g("js",new Date),g("config",o,{d_partnership:a,d_first_party_id:l,d_url:c,d_domain_category:u,d_domain_name:p});let m="https://s2.adform.net/banners/scripts/st/trackpoint-async.js",h=`https://www.googletagmanager.com/gtag/js?id=${o}`;G(s,m),G(s,h)}});var ft,Oo,ze,We=v(()=>{"use strict";A();Q();Po();I();ft=()=>{let e=d("waitForContxt"),t=f("contxtFetched");return d("activateConceptTargeting")&&e&&Number.isInteger(e)&&!t},Oo=()=>{let e=f("contxtRequestQueue")||[];e.forEach((t,o)=>{e[o]()}),globalThis.concept.contxtRequestQueue=[]},ze=async()=>{try{let e;if(ft()){let c=d("waitForContxt");e=setTimeout(()=>{s("Timeout expired for Contxt"),Oo()},c)}let t=d("reportTrackingAs"),o=d("disableConceptLoads"),n=d("activateDentsuDMP");globalThis.concept.contxtFetched=!1;let i=document.location.href;if(!i||i.includes("safeframe")){b("We can not determine the source url");return}let a=`https://prod-contxt-api-app-service.azurewebsites.net/targeting?url=${i}`;t&&!o&&(a=`${a}&site=${t}`);let l={contxt:null,IAB1:null,IAB2:null};return fetch(a).then(c=>c.json()).then(c=>{Array.isArray(c.audiences)&&c?.audiences.length>0&&(l.contxt=c.audiences,n&&wo({contxt:c.audiences,logger:s})),["IAB1","IAB2","IAB3","IAB4"].forEach(g=>{c?.[g]?.id&&(l[g]=c[g].id)});let p=f("targeting");return globalThis.concept.contxtFetched=!0,globalThis.concept.targeting={...p,...l},s("Contextual targeting injected"),K(l),Oo(),clearTimeout(e),l})}catch(e){return b(`Something went wrong with concept contextual targeting: ${e}`),Promise.reject(e)}}});function gr({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]),Tt({el:c})){xo(t);let p=`refreshOnNextInView -> ${r} refresh directly nr ${t.targeting.refresh}`;s(p),o({names:[n],caller:i})}else ae({observerConfig:l,element:c,excutionFunction:(p,g)=>{p.isIntersecting&&(xo(t),s(`refreshOnNextInView -> ${r} refresh for scroll nr ${t.targeting.refresh}`),o({names:[n],caller:i}),g.unobserve(c))}})}var No,_o,lr,He,cr,Ro,mt,ht,Y,Lo,dr,xo,Ce,ur,Ve,pr,J,ce,gt,fr,mr,ko,jo,hr,br,Uo,Tr,$o,bt,Fo,F=v(()=>{"use strict";A();k();I();Qt();Q();je();me();H();$e();De();We();No=e=>new Promise(t=>setTimeout(t,e)),_o=(e,t,o)=>{let n=ce(e,V()),i=n&&n[1][0];if(!Array.isArray(i))return;let[r,a]=i;s(`Showing overlay on ${t}`),po(o,r,a)},lr=async(e,t)=>new Promise(function(o){s(`Looking for ${e} `,"conceptads"),document.querySelector(e)&&o(!0);let n=setTimeout(()=>{let i=document.querySelector(e);clearTimeout(n),o(i)},t)}),He=(e,t)=>(e.order||(e.order=1/0),t.order||(t.order=1/0),e.ordert.order?1:0),cr=e=>(!e.updateIfEmpty||e.updateIfEmpty.length===0)&&(!e.dependencies||e.dependencies.length===0)&&!e.divExcluser,Ro=async(e,t)=>{let o=w(e);if(!o)return!1;let n=o;return cr(o)?n:o.divExcluser&&o.excluserTimeout?(s(`Gonna wait for ${o.divExcluser}`),await lr(o.divExcluser,o.excluserTimeout)?!1:n):["Initial","Async display"].includes(t)||mt()?!1:n},mt=()=>{let t=f("eventLog").filter(n=>n.list==="Event recieved").map(n=>n.msg);return fr({events:t,strings:[E.SKIN_INIT,E.MACRO_UNLOAD,E.SIDESKIN_INIT]})},ht=e=>{let t=V(),o=ce(e,t);return!(Array.isArray(o)&&o[1].length===0)},Y=e=>{let t=e,o=/%%(\w+)_(\w+)%%/,n=e.match(o);if(n){let i=f("targeting"),[r,a,l]=n;a==="KEY"&&(t=t.replaceAll(r,i[l]))}return t},Lo=({definition:e})=>{let{path:t,size:o,updateIfEmpty:n,refresh:i,dependencies:r,lazyload:a,targeting:l,divIdOnPage:c,id:u,excluserTimeout:p,divExcluser:g,cookieLessPath:m,setHeigthOfParent:h,anchor:y,prebidBid:C,prebidSizes:S,prebidAllowNative:T,setUniqueTargeting:_,rootMargin:ee}=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");a&&r&&r.length>0&&b("You should not have lazyload and dependencies - it can/will cause two refresh, think about it"),a&&n&&n.length>0&&b("You should not have lazyload and wait for another ad unit - it can/will cause two refresh, think about it"),t&&(t=Y(t)),o=(x=>x.map(W=>(W[0]=W[0].map(Ri=>parseInt(Ri)),W)))(o);let Oe=V(),oe=ce(o,Oe);if(Array.isArray(oe)&&oe[1].length===0&&b("Unit doesnt have appropriate sizes for this viewport -- This will not be defined later"),S&&(oe?(S=S.filter(x=>oe[1].some(W=>dr(W,x))&&typeof x[0]!="string"),s("prebidSizes changed by GAM viewport rule","pbjs")):S=[]),l||(l={}),d("setControlGroup")){let x=d("controlKey");l[x]=f(x)}let z={path:t,sizes:o,refresh:i,dependencies:r,updateIfEmpty:n,divIdOnPage:c,id:u,lazyload:a,...T&&{prebidAllowNative:T},...m&&{cookieLessPath:m},...l&&{targeting:l},...y&&{anchor:y},...C&&{prebidBid:C},...S&&{prebidSizes:S},...h&&{setHeigthOfParent:h},...ee&&{rootMargin:ee},..._&&{setUniqueTargeting:_},...g&&{divExcluser:g,excluserTimeout:p||500}},_i=z?.prebidBid?.map(x=>{if(x.splitBid){let{bidder:W}=x;return[{...x,bidder:`${W}_client`,splitBid:!1},{...x,bidder:`${W}_s2s`,splitBid:!1}]}return x}).flat(1/0)||[];z.prebidBid=_i;let Ft=z.prebidBid?z.prebidBid.filter(x=>!x.cookieless).map(x=>Kt(x)):[],Bt=Ft?so({path:t,bids:Ft,sizes:z.prebidSizes,prebidAllowNative:z.prebidAllowNative}):null;return Bt&&(z.prebidSettings=Bt),z},dr=(e,t)=>e.length===t.length&&e.every((o,n)=>o===t[n]),xo=e=>{e.targeting.refresh=Number.isInteger(e.targeting.refresh)?(e.targeting.refresh||0)+1:1;let t=e.targeting.refresh;Te(e.slot,"refresh",t),Te(e.slot,"flipMe",!0),s(`initializeRefreshTargeting -> Setting refresh = ${t} for ${e.divIdOnPage}`)},Ce=e=>{e.refreshTimer&&(e.refreshTimer=void 0,clearTimeout(e.refreshTimer))},ur=({name:e,adUnit:t,refreshFunction:o})=>{if(s(`Timer for ${t.divIdOnPage} has past`),t.refreshBlocked){s("The current order does not allow refresh");return}if(t.loadedFirstTime||!t.lazyload)gr({document,adUnit:t,refreshFunction:o,name:e});else{let n=`refreshOnNextInView -> unit (${t.divIdOnPage}) not loaded first time`;s(n),Ve({name:e,adUnit:t,refreshFunction:o})}},Ve=({name:e,adUnit:t,refreshFunction:o})=>{Ce(t),t.targeting=t.targeting||{};let n=t.refresh/1e3;s(`refreshOnNextInView -> refresh (${t.divIdOnPage}) in ${n}s or next inview after that`);let i=()=>ur({name:e,adUnit:t,refreshFunction:o});t.refreshTimer=setTimeout(i,t.refresh)},pr=e=>{let t=V(),o=e.filter(i=>!re({adunitId:i.id})).filter(i=>{let r=ce(i.sizes,t);return gt(r)});return{unitsCodes:o.map(i=>i.path||i.getAdUnitPath()),slotsToUse:o}},J=async e=>{let{unitsCodes:t,slotsToUse:o}=pr(e);s(`refreshAdUnit -> ${t} `,"conceptads");let n=d("usePrebid");globalThis.concept.consentedToCookies===!1&&(s("We are not gonna use prebid, since the user said no to cookies"),n=!1);let i=()=>n?lo(o):Bo(t,o);ft()?(s("Waiting for contxt"),globalThis.concept.contxtRequestQueue.push(i)):(s("Not waiting for contxt"),i())};ce=(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},gt=e=>e[1].length>0,fr=({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},mr=e=>co([e.testA,e.testB]).adunitId===e.testA.adunitId?e.testB:e.testA,ko=()=>{let e=d("ABTesters");if(!e)return;let t=e,o=[];t.filter(n=>!n.alreadyCalculated).forEach(n=>{o.push(mr(n).adunitId),n.alreadyCalculated=!0}),br(o)},jo=e=>d("ABTesters").find(o=>{let{testA:n,testB:i}=o;return n.adunitId===e||i.adunitId===e}),hr=e=>{if(!e)return;let t=jo(e),o="testB";t.testA.adunitId===e&&(o="testA"),s(`Using the test value = ${o}`,"test");let n=d("adUnits");if(!n){s("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})},br=e=>{if(e.length>0){let t=i=>{let r=f("discardedForTest"),a=!e.includes(i.id);!a&&r&&globalThis.concept.discardedForTest.push(i);let l=jo(i.id);return a&&l&&hr(i.id),a};["strossles","readpeaks","adUnits"].forEach(i=>{let r=d(i);r&&Array.isArray(r)&&Ne(i,r.filter(t))});let n=`${e.join(",")} Has been removed in connection with A/B Test`;s(n,"test")}},Uo=e=>JSON.parse(JSON.stringify(e)),Tr=(e,t)=>{let o=0;for(let r=0;r{let t=Ge(e,!0);return t?Tr(t,32):null},bt=(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 Go(e){let t=!1;if(yt())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 zo(){return!("IntersectionObserver"in window)||!("IntersectionObserverEntry"in window)||!("intersectionRatio"in window.IntersectionObserverEntry.prototype)?(s("Can not use the IntersectionObserver"),b("Can not use the IntersectionObserver"),!0):!1}function M(e,t,o=!1){let n=document.querySelectorAll.bind(document),i=o?e:Ir(e),r,a;return new Promise(l=>{t&&Number.isInteger(t)&&(s(`Timing ${e} out in ${t} ms`),r=setTimeout(function(){s(`${e} TIMED OUT due to failsafe_timeout`,"warning"),l(null)},t));let c=n(i),u=c&&yr(c)?c.length>0:!0;if(c&&u)r&&clearTimeout(r),l(c);else if(d("avoidMutationObserver")){s("Interval observer started for dublications");let g=setInterval(()=>{let m=n(i);m&&(s(`Found from intervaller ${i}`),clearInterval(g),r&&clearTimeout(r),l(m))},100)}else if(s(`Relying on MutationObserver to find ${e}`),a=new MutationObserver(g=>{let m=n(i);m&&m.length>0&&(s(`Found from mutationObserver ${i}`),a.disconnect(),r&&clearTimeout(r),l(m))}),document.body){let g=document.body,m={childList:!0,subtree:!0};a.observe(g,m);return}else s(`Could not wait for ${e} as there is no docuemnt body`)})}var Mo,Ct,qo,Do,Ke,vt,Tt,ve,Wo,ae,Cr,It,Ho,vr,Vo,V,yt,qe,Ko,Qe,Ir,yr,Ar,Ge,k=v(()=>{"use strict";A();Ht();I();Re();F();q();Ct=e=>document.body.appendChild(e),qo=({targetingFunction:e})=>{let t=o=>{let{coords:{longitude:n,latitude:i,accuracy:r}}=o,a={lat:`${i}`,long:`${n}`,accuracy:`${r}`};globalThis.concept.targeting={...globalThis.concept.targeting,...a},s("Geo is being set"),e(a)};navigator.geolocation&&navigator.geolocation.getCurrentPosition(t)},Do=!1,Ke=e=>Do?Promise.resolve():new Promise(t=>{document.addEventListener(e,function(){return Do=!0,t()},{once:!0}),globalThis.concept.listenerCreated=!0,ho()}),vt=(e,t)=>{document.addEventListener("DOMContentLoaded",function(){e(t)})};Tt=({el:e,parentCheck:t=!1})=>{if(!e)return!1;let{width:o,height:n,bottom:i,top:r,left:a,right:l}=e.getBoundingClientRect();return o===0&&n===0&&!t?Tt({el:e.parentNode,parentCheck:!0}):!document.hidden&&r>=0&&a>=0&&i<=(window.innerHeight||document.documentElement.clientHeight)&&l<=(window.innerWidth||document.documentElement.clientWidth)},ve=(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,a=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,c=new RegExp(a).exec(r);if(c){let y=c[4]||"",C=(c[5]||"").replace(/(.)\/$/,"$1"),T=(c[7]||"").replace(/\=/gi,":").split("&");t={UrlHost:y,UrlPath:C,UrlQuery:T,browserZoomLevel:o+""}}e.postSetup?t.pb=["post"]:t.entry="first";let u=e.customTargeting;u&&(t={...t,...Fo(u)});let p=bt(window,d("siteTargetingKey")||"siteTargeting");p&&typeof p=="object"&&(t={...t,...p});let g=e.urlTargetingSearchings;g&&Array.isArray(g)&&g.forEach(y=>{let{searchFor:C,valueName:S,keyName:T}=y;r.includes(C)&&(t[T]=S)});let m=e.lookForGlobal;return m&&Array.isArray(m)&&m.forEach(y=>{let{name:C,globalVar:S}=y,T=bt(window,S);T&&(t[C]=typeof T=="string"?T.split(",").map(_=>_.trim()):T)}),globalThis?.pbjs?.version&&(t.prebidVersion=globalThis?.pbjs?.version),window.location.pathname.split("/").forEach((y,C)=>{C>0&&C<4&&(t["path"+C]=y.slice(-40))}),s("Return global targeting object"),t}catch{s("Something went wrong with the global targeting");return}};Wo=({elementId:e,refreshFunc:t,refreshWhenReadyFunction:o,scheduleLaterFunc:n})=>{let i=document.getElementById(e);return i&&vr({element:i,refreshFunc:t,scheduleLaterFunc:n,refreshWhenReadyFunction:o}),null},ae=({element:e,excutionFunction:t,observerConfig:o})=>{if(!(e instanceof Element))return;let n=(r,a)=>{r.forEach(l=>t(l,a))},i=new IntersectionObserver(n,o);return i.observe(e),i},Cr=({adUnit:e,scheduleLaterFunc:t,refreshWhenReadyFunction:o})=>{let{refreshTimer:n,divIdOnPage:i}=e;clearTimeout(n),s(`resetRefreshCounter --> resetting timer: ${i}`),t({name:i,adUnit:e,refreshFunction:o})},It=e=>{let t=d("globalLazyAttribute"),o=d("globalLazyloadValue");return!t||!o?!1:document.getElementById(e)?.dataset[t]===o},Ho=()=>{if(Mo){s("BfCache listener already active");return}Mo=window.addEventListener("pageshow",e=>{e.persisted&&(s("BFCACHE hit *****"),globalThis.concept.bfCache=!0,globalThis.concept.refreshAllActiveAdunits())})},vr=({element:e,refreshFunc:t,scheduleLaterFunc:o,refreshWhenReadyFunction:n})=>{let i=a=>{let l=a.target;if(a.isIntersecting){s(`refreshOnIntersection -> ${l.id} is intersection:`);let c=w(l.id);if(!c){b(`Could not find Adunit in adunit list ${l.id}`);return}let{lazyload:u,alreadyLoaded:p,refreshTimer:g}=c,m=re({adunitId:l.id});It(l.id)&&(u=!0,c.lazyload=!0),u&&!p&&!m&&(s("refreshOnIntersection -> Not loaded yet, so we refresh"),c.alreadyLoaded=!0,c.loadedFirstTime=!0,g&&Cr({adUnit:c,scheduleLaterFunc:o,refreshWhenReadyFunction:n}),t([c]))}},r=le(e.id);ae({element:e,excutionFunction:i,observerConfig:r})},Vo=(e,t,o)=>{let n=V();return e&&t&&(n<=e||n>=t)?(s(` ${o} not meeting the vierwport rules!!`),!1):!0},V=()=>window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,yt=()=>["complete","loaded","interactive"].includes(document.readyState),qe=()=>Wt(),Ko=(e,t)=>{let o=e.split("."),n=globalThis;for(let i=0;ie?e.length===0?(b("nodelist empty"),null):e[0]:(b("No nodelist found"),null),Ir=e=>{let t=e;return e.includes(".")&&(t=t.split(".").join("\\."),s(`Found a ., now looking for ${t}`)),t},yr=e=>NodeList.prototype.isPrototypeOf(e);Ar=["CookieConsent","CookieInformationConsent","_ga","eupubconsent-v2"],Ge=(e,t=!1)=>{let o=[];t&&(o=[...Ar]),e&&o.unshift(e);let n="";return document.cookie.split(";").forEach(function(i){let[r,a]=i.split("=");o.includes(r.trim())&&(n=a)}),n}});function Qo(e){let o=`https://dw6vol2k7d4iu.cloudfront.net/1x1.png${e}&someunique=${U()}`;X(o,"concept-loads")}var X,Yo,Jo,de=v(()=>{"use strict";A();k();H();X=(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?Ct(o):vt(Ct,o)}catch(n){console.error("Cant read document.body in append pixel",n)}};Yo=e=>{try{document.body?Qo(e):vt(Qo,e)}catch(t){console.error("Cant read document.body",t)}},Jo=({lineItemId:e,creativeId:t,adunitCode:o})=>{let n=globalThis.conceptConfig.reportTrackingAs;if(!n||!globalThis?.concept?.targeting)return s("Cant track when no name to track on","concept"),null;let a=`${`https://d23oz2xvzoo5zg.cloudfront.net/imp_track.gif?site=${n}&lineItemId=${e}&creativeId=${t}&adunitCode=${o}`}&someunique=${U()}`;return X(a,"advanced-tracking"),a}});var Xo,Zo,en=v(()=>{"use strict";de();Xo=()=>globalThis.conceptConfig.sendDataToAdformDSP,Zo=({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,a]=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[a]=c}else r==="contxt"?globalThis.concept.targeting[r]&&(o.order.itms=globalThis.concept.targeting[r].map(l=>({[a]:l}))):globalThis.concept.targeting[r]&&(o.order[a]=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=|`;X(n,"concept-dmp"),e("DMP pixel loaded")}});var tn,Er,on=v(()=>{"use strict";k();I();A();Re();tn=({injectionFunction:e})=>{let t=d("readpeaks");t&&t?.length>0&&t.forEach(o=>{Er({readpeakConf:o,injectionFunction:e})})},Er=async({readpeakConf:e,injectionFunction:t})=>{s(`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=le(null),r=(p,g)=>{let m=p.target;if(p.isIntersecting&&o){let h=o.find(oe=>oe.divIdOnPage===m.id),{fromViewport:y,toViewport:C}=h,S=parseInt(y),T=parseInt(C),_=`${h.divIdOnPage}`;if(!Vo(S,T,_))return;let te=h&&document.getElementById(h.divIdOnPage);te&&te.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),s(` ${h.divIdOnPage} inserted!!`,"readpeak"),t(s),g.unobserve(document.getElementById(h.divIdOnPage))):s("Readpeak container is not empty :O!","readpeak")}},a=f("failsafe_timeout"),l=e.divIdOnPage,c=await M(`#${l}`,a,!0);return Qe(c)?([...document.querySelectorAll(`#${l}`)].forEach(g=>{ae({observerConfig:i,element:g,excutionFunction:r})}),"ok"):(s(`Could not insert into ${l}`,"error"),"could not find")}});var nn,Sr,rn=v(()=>{"use strict";k();I();A();Re();nn=({injectionFunction:e})=>{let t=d("strossles");t&&t?.length>0&&t.forEach(o=>{Sr({strossleConfig:o,injectionFunction:e})})},Sr=async({strossleConfig:e,injectionFunction:t})=>{let o=e.divIdOnPage,n=d("strossles");s(`Lazyloading a strossle item in ${o}`,"strossle");let i=le(null),r=(c,u)=>{let p=c.target;if(c.isIntersecting&&n){let g=n.find(m=>m.divIdOnPage===p.id);g&&!g.alreadyLoaded&&(g.alreadyLoaded=!0,globalThis.strossle=globalThis.strossle||function(){(strossle.q=strossle.q||[]).push(arguments)},globalThis.strossle(g.strossleId,`#${g.divIdOnPage}`),s(` ${g.divIdOnPage} inserted!!`,"strossle"),t(s),u.unobserve(document.getElementById(g.divIdOnPage)))}},a=f("failsafe_timeout");return await M(`#${o}`,a,!0)?([...document.querySelectorAll(`#${o}`)].forEach(u=>{ae({observerConfig:i,element:u,excutionFunction:r})}),"ok"):(s(`Could not insert into ${o}`,"error"),"could not find")}});var sn,an=v(()=>{"use strict";L();sn=(e,t)=>{G(e,`https://t.seedtag.com/t/${t}.js`),e("seedtag Injected")}});function ln(e){globalThis.concept.videosRequested=globalThis.concept.videosRequested+1,globalThis.concept.videoUrls.push(e)}var R,wr,Pr,Or,Ye,At=v(()=>{"use strict";A();je();k();H();I();F();R=e=>s(e,"video"),wr=e=>{let t={};return Object.entries(e).forEach(([o,n])=>{Array.isArray(n)?t[o]=n.join(","):t[o]=n}),t},Pr=({selectedVideoSettings:e,output:t,vpos:o="preroll",vpmute:n=1,autoplay:i,muted:r,isLive:a,videoFormat:l,vpa:c="auto",videoId:u=""})=>{let g={isProduction:"true",...ve(be()),autoplay:i,videoType:l,...e.targeting};if(d("setControlGroup")){let C=d("controlKey");g[C]=f(C)}let m=wr(g),h={adUnit:e,params:{iu:e.code,cust_params:m,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,...a&&{isLive:a},...e.cmsid&&{cmsid:e.cmsid},...u&&{vid:u}}},y=f("PPID");return y&&(h.params.ppid=y),h},Or=({selectedVideoSettings:e,output:t="vast",vpos:o="preroll",vpmute:n=1,vpa:i="auto",autoplay:r,muted:a,videoFormat:l,isLive:c,videoId:u=""})=>new Promise((p,g)=>{try{R(`Creating url for ${e.code}`),ke(be()),e.code=Y(e.code),e.mediaTypes.video.plcmt=a?2:1,e.disablePrebid&&(e.bids=[],R("Bids are disabled in this environment")),window.pbjs.que.push(function(){R(`${e.code} requested`),pbjs.addAdUnits(e),pbjs.setConfig({useBidCache:!0,cache:{url:"https://prebid.adnxs.com/pbc/v1/cache"}}),R("setting cncpt pbjs"),pbjs.requestBids({adUnitCodes:[e.code],bidsBackHandler:function(m){R(`${Object.keys(m).length} recieved from prebid demand`),Object.keys(m).forEach(C=>{m[C].bids.forEach(S=>{let{bidder:T,bidderCode:_,adapterCode:ee,cpm:te,currency:Oe}=S;R(`${T||_||ee} gave a bid of ${te} (${Oe}) for ${C}`)})});let h=Pr({selectedVideoSettings:e,output:t,vpos:o,vpmute:n,vpa:i,autoplay:r,muted:a,isLive:c,videoId:u,videoFormat:l});pbjs?.adServers?.dfp?.buildVideoUrl||b("Your prebid file is not correctly set up. At least your missing some dfp build video url functionality");let y=pbjs.adServers.dfp.buildVideoUrl(h);ln(y),p(y)}})})}catch(m){g(m)}}),Ye=async(e,t)=>new Promise(async(o,n)=>{try{if(!e)return R("ERROR: Please provide ID"),n(new Error("No Id for player"));let i=d("videoAdunits");if(!i)return R("ERROR: Please Setup op some video adunits"),n(new Error("No video units"));let r=d("waitForEventToStart");r&&(R(`Waiting for ${r}`),await Ke(r),R(`${r} -- received`));let a=i.find(p=>t?.device||t?.videoFormat?p.device===t?.device&&p.videoFormat===t?.videoFormat&&!!p.isLive==!!t?.isLive:p.playerId===e);if(t?.isLive&&(a.videoFormat=a.videoFormat+"_livestream",t.videoFormat=a.videoFormat),t?.isEmbed&&(a.videoFormat=a.videoFormat+"_embed",t.videoFormat=a.videoFormat),!i)return R("ERROR: No video unit for these params"),n(new Error("No video units"));let l=a?.VASTAlternative,c=a?.alternativePercent;if(l&&c&&Math.random(){"use strict";I();A();F();Ie=e=>s(e,"video"),xr=e=>{try{let t="https://pubads.g.doubleclick.net/gampad/ads";e.code=Y(e.code);let o=`?iu=${e.code}`,n=`&sz=${e?.mediaTypes?.video?.playerSize.join("x")}`,i="&output=vast",r="&gdfp_req=1",a=`&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("&")),p=f("PPID"),g=`${t}${o}${n}${i}${r}&unviewed_position_start=1&env=vp&impl=s${a}&correlator=&cust_params=${u}`;return p?(s("SETTING",p),g=`${g}&ppid=${p}`):s("NOOO"),g}catch{throw new Error("Could not build vasttag")}},cn=e=>{try{if(!e)throw Ie("ERROR: Please provide ID"),new Error("No Id for player");let t=d("videoAdunits");if(!t)throw Ie("ERROR: Please Setup op some video adunits"),new Error("No video units");Ie(`Creating vast tag for ${e}`);let o=t.find(i=>i.playerId===e);if(!o)throw Ie(`No player found ${e}`),new Error("No config for you player");let n=xr(o);return globalThis.concept.vastTags.push(n),n}catch{return Ie(`Something went wrong ${e}`),""}}});var B,un,pn,gn,fn,mn,hn,bn,Tn,ye=v(()=>{"use strict";ie();I();At();dn();B=!1,un=!0,pn=[],gn=()=>({...!B&&{consentedToCookies:null},...!B&&{videoUrls:[]},...!B&&{vastTags:[]},...!B&&{buildVastTag:cn},...!B&&{requestPrebidUrl:Ye},...!B&&{consentQueue:[]}}),fn=e=>!B&&e,mn=()=>{let e=d("activateTimingTracker"),t=d("deployId"),o=!B&&e&&!pn.includes(t);return pn.push(t),o},hn=()=>{let e=d("checkForConsent")&&!B,t=f("consentStatus")===P.LEGITIMATE_INTERREST,o=f("consentedToCookies");return{decideNow:!e||e&&o||t,waitChoise:e&&!o&&!t}},bn=()=>!B,Tn=()=>{let e=!B&&un;return un=!1,e}});var Cn,vn,In=v(()=>{"use strict";I();({injectCustomAsyncScript:Cn}=(L(),at(Le))),vn=e=>{Cn(e,"https://advertising-cdn.dpgmedia.cloud/native-renderer/main.js"),e("Seemleas renderer Injected");let t=d("seemlessTemplateRef");Cn(e,t),e("Seemleas templates Injected")}});var Le={};Ui(Le,{execute3rdparties:()=>Xe,getScriptTag:()=>Je,inject:()=>se,injectAdnami:()=>Et,injectBrowsi:()=>En,injectCustomAsyncScript:()=>G,injectPrebid:()=>dt,injectReadpeak:()=>yn,injectStrossle:()=>An,insertAsFirstScript:()=>Ae,loadSync:()=>St,loadThirdPartyLibsWithCookiesOneTimeLoad:()=>wt});function G(e,t,o=[],n=!0){let i=Je();if(i.id="Custom script",i.async=!0,i.type="text/javascript",i.src=t,o.forEach(r=>{let[a,l]=r;i.setAttribute(a,l)}),n)Ae({scriptTag:i}),e("Custom script Injected");else return i}function St(e,t,o=""){var n=Je();t&&(n.id=t),o&&n.setAttribute("referrerpolicy",o),n.type="text/javascript",n.src=e,Ae({scriptTag:n})}var Je,Ae,se,dt,yn,An,Et,En,Xe,wt,L=v(()=>{"use strict";A();en();on();rn();an();ye();In();Je=()=>document.createElement("script"),Ae=({scriptTag:e})=>{let t=document.getElementsByTagName("script")[0];t&&t.parentNode?t.parentNode.insertBefore(e,t):document.head.appendChild(e)},se=(e,t,o=!1)=>{(function(n,i){let r=n.createElement(i);r.type="text/java"+i,r.src=e,Ae({scriptTag:r}),o&&(r.async=o)})(t,"script")},dt=(e,t)=>{se(t,document,!0),e("prebid Injected")},yn=e=>{St("https://app.readpeak.com/js/rp-if.js","Readpeak"),e("Readpeak Injected")},An=e=>G(e,"https://assets.strossle.com/strossle-widget-sdk/1/strossle-widget-sdk.js"),Et=(e,t)=>{window.adsmtag=window.adsmtag||{},adsmtag.cmd=adsmtag.cmd||[],St(t,"Adnami"),e("Adnami Injected")};En=(e,t)=>{e("Browsi Injected"),function(){var o=Je();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",Ae({scriptTag:o})}()},Xe=()=>{bn()&&(s("Loading 3rdparty DOM injectors"),tn({injectionFunction:yn}),nn({injectionFunction:An}))},wt=(e,t)=>{if(Tn()){Xe();let{seedtagId:o,browsiSiteKey:n,seemlessTemplateRef:i,disableBrowsi:r}=e;i&&vn(s),Xo()&&setTimeout(()=>{Zo({logger:s})},500),!r&&n&&En(s,n),o&&sn(t,o)}else t("3rd partys already loaded")}});var Sn,wn,K,Nr,Te,_r,Bo,Pn,Rr,On,Ze,Q=v(()=>{"use strict";A();ie();L();H();I();Sn=!0,wn=e=>{let t=d("tryLimitedAds"),o=d("siteLoadsGpt");if(Sn&&!o){let n="https://securepubads.g.doubleclick.net/tag/js/gpt.js";return t?(s("adding event listener to window.consentRecieved"),window.addEventListener("consentRecieved",()=>{f("consentStatus")===P.LEGITIMATE_INTERREST&&(n="https://pagead2.googlesyndication.com/tag/js/gpt.js"),se(n,document,!0)},{once:!0,capture:!0})):se(n,document,!0),Sn=!1,e("GPT Injected"),globalThis.googletag}},K=e=>{googletag.cmd.push(function(){s("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&&s(`could set value for the keys = ${t.join(",")} (empty)`)})},Nr=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))},Te=(e,t,o)=>{o&&e&&e.setTargeting(t,o)},_r=e=>{let t=[];return e.forEach(o=>{t=[...t,...o[1]]}),t},Bo=(e,t)=>{let o=_e();googletag.cmd.push(function(){D(`${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):b("Will not refresh 0")})},Pn=({path:e,size:t,elementId:o,anchor:n,targeting:i,setUniqueTargeting:r,container:a})=>{let l;if(!e){b(`NO PATH FOR ADUNIT ${e}`);return}googletag.cmd.push(function(){try{if(n?(l=googletag.defineOutOfPageSlot(e,googletag.enums.OutOfPageFormat[n]),l&&l.addService(googletag.pubads())):(l=googletag.defineSlot(e,_r(t),o),l&&l.setCollapseEmptyDiv(!0).addService(googletag.pubads()),l.defineSizeMapping(Nr(t))),!l){b("No slot here");return}i&&Object.keys(i).forEach(c=>{Te(l,c,i[c])}),r&&Te(l,"uniqueId","_"+U()),Rr({slot:l,container:a})}catch(c){b(`GAM ERROR: ${c}`)}})},Rr=({slot:e,container:t})=>{let o=w(t.id);o.slot=e,globalThis.concept.adUnits.set(t.id,o)},On=()=>{googletag.cmd.push(function(){O("Googletag loaded")})},Ze=()=>{googletag.cmd.push(function(){googletag.pubads().setPrivacySettings({limitedAds:!0})})}});me();Q();A();k();var Z={GAM:"GAM",ADNUNTIUS:"Adnuntius"};ie();k();At();var Pt={};function Lr(e){if(e.data){var t=e.data.type,o=Pt[t];if(o)for(var n=0;ne.includes(h))&&a.some(h=>e.includes(h));return c||u||p||l||m?e:!1}var Nn=navigator.connection||navigator.mozConnection||navigator.webkitConnection,jr=(e,t,o)=>{let n=e.find(i=>i.msg===t);return n?parseFloat(n.secondCount+o):0},Ur=(e,t,o)=>{let n=e.find(i=>i.msg.startsWith(t));return n?parseFloat(n.secondCount+o):0},$r=(e,t,o)=>{let n=e.find(i=>i.msg.endsWith(t));return n?parseFloat(n.secondCount+o):0},_n=(e,t)=>{let o=e[t-1]?.measureTime;return o<=0&&t>1?_n(e,t-1):o},Fr=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,a=T=>Ur(e.conceptEvents,T,r),l=T=>$r(e.conceptEvents,T,r),c=jr(e.conceptEvents,"Consent recieved",r),u=a("injectNewAds execution requested"),p=a("prebid auction started"),g=l(" Requested"),m=a("slotResponseReceived"),h=l(" creative iframe loaded"),y=[{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:p},{eventName:"First_GAM_request_initiated",measureTime:g},{eventName:"First_response_from_GAM",measureTime:m},{eventName:"First_ad_loaded",measureTime:h}],C=[];y.forEach((T,_)=>{T.measureTime!==null&&(_>0&&T.measureTime{if(_===0)t[T.eventName]=T.measureTime;else{let ee=_n(C,_),te=T.measureTime===0?0:T.measureTime-ee;t[T.eventName]=te}});let S=new URL("https://d22i50b931b1j0.cloudfront.net/timing_track.gif");if(Nn){let{downlink:T}=Nn;T&&S.searchParams.set("downlink",T)}return globalThis?.conceptConfig?.reportTrackingAs&&S.searchParams.set("reportTrackingAs",globalThis.conceptConfig.reportTrackingAs),Object.keys(t).forEach(T=>{S.searchParams.set(T,t[T])}),S.href},Rn=()=>{let e=globalThis.performance.getEntriesByType("resource");e||s("Could not read performnce timing");let t=e.find(r=>kr(r.name));if(!t)return;let o=globalThis.concept.eventLog.filter(r=>r.list==="Timing point"),i=Fr({scriptLoadTime:t,conceptEvents:o});X(i,"timing-pixel"),s("Timing pixel loaded")};ye();var Br=e=>{let t=0;return e.forEach((o,n)=>{o.id.includes("google_ads_iframe_")&&(t=n)}),t},et=e=>{let t=e&&e.placement||null;t&&(s(`${t} Requested`,"gpt"),j(`${t} Requested`))},Mr=(e,t)=>{let o=`[id*='${t.adunitId}'] iframe`,n=document.querySelectorAll(o),i=Br(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 p=`Setting height of divid ${t.adunitId} to: `;e(p,"conceptads");let g=u.style;g.height=l,g.minHeight=l,c.style.height=l,c.style.minHeight=l}else e("Not gonna set height (no iframe or height)","conceptads")},tt=e=>{globalThis.concept.adsloaded=globalThis.concept.adsloaded+1;let t=e&&e.placement||null;if(!t)return;let o=" creative iframe loaded";s(o,"gpt"),j(o),mn()&&Rn();let n=w(t);n&&n.setHeigthOfParent&&Mr(s,e),O(`${E.SLOT_LOADED} - ${t}`),he(t),n&&Be({name:t,divId:n.divIdOnPage}),Ot(t)},Ln=e=>{for(let t of globalThis.concept.updateWhenResolved.keys())if(t===e){let o=w(t);o?(s(`Gonna refresh: ${t} beacuse dependant is resolved`),J([o])):s(`Could not refresh: ${t} As it was not found in internal config`)}},kn=e=>{for(let[t,o]of globalThis.concept.updateIfEmpty.entries())o===e&&(s(`${o} has just been loaded - and its empty ${t}`),globalThis.concept.updateIfEmpty.delete(t),s(`${e}: now has ${globalThis.concept.updateIfEmpty.size} empty dependencies we should resolve`),setTimeout(function(){let n=w(t);n&&(re({adunitId:t})||(s(`No skin found, refreshing ${t}`),J([n])))},10))},Ot=e=>{for(let[t,o]of globalThis.concept.updateWhenResolved.entries())o===e&&(s(`${o} has just been loaded - if no skin we should refresh ${t}`),globalThis.concept.updateWhenResolved.delete(t),s(`${e}: now has ${globalThis.concept.updateWhenResolved.size} dependencies we should resolve`),setTimeout(function(){let n=mt(),i=w(t);if(i){let r=re({adunitId:t});!n&&!r&&(s(`No skin found, refreshing ${t}`),J([i]))}},10))},jn=e=>e.frameElement&&e.frameElement.id,Un=(e,t)=>{let o=jn(t);O(`${E.DESKTOP_TOPSCROLL} - ${o}`)},$n=(e,t)=>{try{let o=jn(t);O(`${E.MACRO_UNLOAD} - ${o}`)}catch{O(`${E.MACRO_UNLOAD} - Iframe error`)}if(e&&e.placement){s(` Macro: unload ${e.placement}`,"gpt");return}},Fn=()=>{O(E.SKIN_INIT)},Bn=(e,t)=>{Co(t.window),O(E.GET_CONCEPTADS)},Mn=(e,t)=>{let{playerId:o}=e;bo(t.window,o),O(E.GET_VASTTAG)},Dn=(e,t)=>{let{playerId:o}=e;To(t.window,o),O(E.GET_VASTTAG)},qn=()=>{O(E.SIDESKIN_INIT)};I();I();A();var Gn=!1,zn=(e,t)=>t.includes(e.id)&&e.getAttribute&&!e.getAttribute("dublicatenoted"),Wn=({consented:e,node:t})=>{t.setAttribute("dublicatenoted","true"),s(`Found dublicate of ${t.id}`),Ee({consented:e,node:t})},Hn=(e,t,o)=>{zn(e,t)&&Wn({consented:o,node:e}),e.childNodes&&[...e.childNodes].forEach(n=>{Hn(n,t,o)})},Vn=({consented:e,nodeToWatch:t=document})=>{if(Gn!==!0){let o=d("adUnits").map(n=>n.divIdOnPage);if(Gn=!0,globalThis.conceptConfig.avoidMutationObserver)s("Interval observer started for dublications"),setInterval(()=>{o.filter(n=>n!==void 0).forEach(n=>{let i=document.getElementById(n);i&&zn(i,o)&&Wn({consented:e,node:i})})},100);else{let n=new MutationObserver(function(i){for(let r of i)for(let a of r.addedNodes)Hn(a,o,e)});s("Mutation observer started for dublications"),n.observe(t,{childList:!0,subtree:!0})}}};ye();var N={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"};I();A();F();var Dr=e=>location.href===`${location.origin}/${e}`,qr=e=>{let t=`${location.origin}/${e}`;return location.href.startsWith(t)},Gr=e=>location.href===e,zr=({key:e,value:t})=>globalThis.concept.targeting[e]===t,Wr=({key:e,value:t})=>Array.isArray(globalThis.concept.targeting[e])&&globalThis.concept.targeting[e].includes(t),ot=()=>{let e=Vr(),t=Hr();s(`Checked for startup and targeting profiles [${e}|${t}] `)},ue={[N.TARGETING_MATCH]:{profileName:N.TARGETING_MATCH,func:zr},[N.TARGETING_ARRAY_CONTAINS]:{profileName:N.TARGETING_ARRAY_CONTAINS,func:Wr},[N.URL_IS_SPECIFIC_SECTION]:{profileName:N.URL_IS_SPECIFIC_SECTION,func:Dr},[N.URL_CONTAINS_SPECIFIC_SECTION]:{profileName:N.URL_CONTAINS_SPECIFIC_SECTION,func:qr},[N.URL_IS_SPECIFIC]:{profileName:N.URL_IS_SPECIFIC,func:Gr}},Hr=()=>{let e=[ue[N.TARGETING_MATCH],ue[N.TARGETING_ARRAY_CONTAINS]];return Kn(e)},Vr=()=>{let e=[ue[N.URL_IS_SPECIFIC_SECTION],ue[N.URL_CONTAINS_SPECIFIC_SECTION],ue[N.URL_IS_SPECIFIC]];return Kn(e)},Kn=e=>{let t=[];return(d("settingsProfiles")||[]).forEach(n=>{let i=e.find(r=>r.profileName===n.type);i&&i.func(n.activateOnArgs)?(Yn(n),t.push(!0)):t.push(!1)}),t},xt=()=>(d("settingsProfiles")||[]).filter(o=>o.type===N.TCF_LEGITIMATE_INTERREST),Qn=(e,t)=>{let o=xt(),n=e?.purpose?.legitimateInterests||{};return o.length===0||t?(s("Using the default tcf profile (default central)"),["2","7","9","10"].every(a=>n[a])):(o.sort(He).forEach(r=>{let a=!0;r.extraConditions&&(a=r.extraConditions.every(l=>ue[l.type].func(l.activateOnArgs))),a&&r.activateOnArgs.every(l=>n[l])&&(Yn(r),globalThis.concept.tcfProfileSet=!0)}),!!globalThis.concept.tcfProfileSet)},Yn=e=>globalThis.concept.tcfProfileSet?(s(`Will NOT override the ${globalThis.concept.activeProfile} profile`,"warning"),"done"):(s(`Using the ${e.name} profile`),globalThis.concept.targeting.settingsProfile=e.name,globalThis.concept.activeProfile=e.name,Object.keys(e.globalChanges).forEach(t=>{globalThis.conceptConfig[t]=e.globalChanges[t]}),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 a=o[r];a!==""&&a!==null&&(r==="path"&&(a=Y(a)),i[r]=a)})}),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 a=o[r];a!==""&&a!==null&&(r==="code"&&(a=Y(a)),r==="bids"&&(a=a.map(l=>{if(typeof l=="string")try{l=JSON.parse(l)}catch(c){b(`Could not parse bids: ${c}`)}return l})),i[r]=a)})}else s("Could not find profile for video unit","video")}),"done");var Kr=e=>{let t=1e3,{failsafe_timeout:o}=e;return o||o===0?o:t},Xn=e=>{if(e.customPrebidVideoUrl){let t=async o=>{let{videoId:n,autoplay:i,muted:r,videoFormat:a,isLive:l,isEmbed:c}=o,u=globalThis?.currentDeviceDefiner()||void 0,p=await Ye(n,{device:u,autoplay:i,muted:r,videoFormat:a,isLive:l,videoId:n,isEmbed:c});return{videoUrlPreroll:p,videoId:n,preroll:p}};Ko(e.customPrebidVideoUrl,t)}return{adUnits:new Map,logme:s,connect:xn,initialCalled:!1,failsafe_timeout:Kr(e),updateWhenResolved:Jn(e.adUnits,"dependencies"),discardedForTest:[],updateIfEmpty:Jn(e.adUnits,"updateIfEmpty"),initTime:performance.now(),eventLog:[],adsloaded:0,unloaders:[],refreshAllActiveAdunits:Qr,idsNotFound:0,videosRequested:0,consentStatus:P.NOT_SET,directRefresh:Zn,listenerCreated:!1,device:null,activeProfile:"default",contxtFetched:!1,contxtRequestQueue:[],updateTargeting:Yr,targeting:ve(globalThis.conceptConfig),...gn()}},Qr=()=>globalThis.concept.adUnits.forEach((e,t)=>{e.requested&&Zn(t)}),Yr=()=>{s("Updatting global targeting");let{contxt:e,IAB1:t,IAB2:o,IAB3:n,IAB4:i,requestMode:r,settingsProfile:a}=f("targeting")||{},l=d("bidderTargeting")||[],c={contxt:e,IAB1:t,IAB2:o,IAB3:n,IAB4:i,requestMode:r,settingsProfile:a};globalThis.concept.targeting={...ve(globalThis.conceptConfig),...c},l.forEach(u=>{ro(u.bidders,u.bidderTargeting)})},Zn=e=>{let t=w(e);t&&J([t])},Jr=(e,t)=>{e.sort(He).forEach(o=>{o.disabled||ni({consented:t,unit:o,display:!0})})},Jn=(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},Xr=(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}`))},_t=e=>d("adUnits").find(n=>n.divIdOnPage===e)||{},ei=e=>{globalThis.concept.unloaders=globalThis.concept.unloaders.filter(t=>{let o=document.getElementById(t.divId);return t.path===e&&!o?(t.unload(),!1):!0})},ti=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:()=>{s(`Unloading ${o}`),googletag.cmd.push(function(){googletag.destroySlots([n.slot])}),n.refresTimer&&clearTimeout(n.refreshTimer),globalThis.concept.adUnits.delete(o);let{divIdOnPage:i}=n,a=d("adUnits").filter(c=>c.copy?c.divIdOnPage!==i:!0);Ne("adUnits",a);let l=document.getElementById(o);l?.parentNode?.parentNode?.className==="ads-topscroll"?l?.parentNode?.parentNode.remove():l?.remove()}})},Ee=({consented:e,node:t,display:o=!0})=>{if(!t)return null;let n=_t(t.id);if(!n||n.disabled)return null;let i=Uo(n),r=`${n.divIdOnPage}-${U()}`;return s(`Renaming ${t.id} to ${r}`),Xr(n.divIdOnPage,r),t.id=r,i.divIdOnPage=t.id,i.id=t.id,i.copy=!0,globalThis.conceptConfig.adUnits.push(i),ni({consented:e,unit:i,display:o}),r},Nt=e=>{globalThis.concept[e.cmd]?globalThis.concept[e.cmd](e.args):s("could not find function $command.cmd}","error")},Rt=()=>{let e=[];globalThis.preConcept?(e=globalThis.preConcept.queue||e,e.forEach(t=>{Nt(t)}),globalThis.preConcept.queue={},globalThis.preConcept.queue.push=function(t){Nt(t)}):globalThis.preConcept={queue:{push:t=>Nt(t)}},s("preConcept.queue has now been frozen"),Object.freeze(globalThis.preConcept.queue)},Zr=async e=>{let t=async()=>{let o=d("haltInit"),n=d("waitForEventToStart");o&&(s(`Halting all with ${o} and updating targeting`),await No(o)),n&&(s(`Waiting for ${n}`),await Ke(n),s(`${n} -- received`)),ot(),globalThis.concept.updateTargeting(),ts(e)};yt()?t():Go(function(){t()})},oi=(e,t)=>t?t===Z.GAM?e.path:e.cookieLessPath:e.path,es=e=>{let t=d("cookielessAdserver");return e.filter(o=>(o.cookieLessPath=oi(o,t),o.cookieLessPath&&o.cookieLessPath.includes("/")?o:!1))},ni=({consented:e,unit:t,display:o})=>{let n=d("cookielessAdserver");!e&&d("checkForConsent")&&(t.path=oi(t,n),t.path||b(`No path for ${t.id}`)),globalThis.concept.define(t.divIdOnPage,t),o&&globalThis.concept.display({element:t.divIdOnPage,name:t.divIdOnPage})};function ts(e){K(f("targeting")),e()}var os=async({name:e,caller:t,adUnit:o})=>{let n=await Ro(e,t);if(o.requested=!0,o.refresh&&(s(`REFRESH --> scheldule for later: ${e}`),Ve({name:e,adUnit:o,refreshFunction:Se})),!n)return s(`REFRESH --> ${e} is not ready to be rendered`),Promise.resolve();(t==="scheduleForLater"||!o.lazyload)&&J([n])},Se=async({names:e,caller:t})=>{if(!Array.isArray(e))throw Error("Please call this method with an array of ids");s(`REFRESH --> (CALLER ${t}): refresh ${e}`,"function");let o=[];e.forEach(n=>{let i=w(n);i?o.push(os({name:n,caller:t,adUnit:i})):b(`No configured adunit found for ${n}`)}),o.length>0&&await Promise.all(o)},ns=({container:e,consented:t})=>(e.forEach((o,n)=>{n!==0&&Ee({consented:t,node:o})}),e=e[0],e),ii=(e,t)=>{let o=f("adUnits");if(!d("isPassback")&&!ht(t.size)){s(`${e} doesn not have correct sizes to be defined`,"warning");return}let i=o.hasOwnProperty(e),r=t.disabled;if(i||r)return s(`Will not define ${e}`),null;let a=Lo({definition:t});o.set(e,a);let l=o.get(e);if(zo()){s(`Removing lazyload from ${e}`),l.lazyload=!1;return}let c=d("globalLazyAttribute");(l.lazyload||c)&&setTimeout(function(){Wo({elementId:l.divIdOnPage,refreshFunc:J,refreshWhenReadyFunction:Se,scheduleLaterFunc:Ve})},0)},ri=async({element:e,name:t})=>{try{let o=f("failsafe_timeout"),n=f("consentedToCookies"),i=w(t);if(!i){s(`No definition for ${t}, sorry`,"warning");return}let{path:r,sizes:a,targeting:l,anchor:c,setUniqueTargeting:u,divIdOnPage:p}=i,g={};if(c&&!p)g={id:t};else{if(g=await M(`#${e}`,o),g===null){s(`Not gonna do anymore about this (${e})`,"warning");return}g=ns({container:g,consented:!!n})}if(g){if(lt("showOverlay")==="true"){_o(a,e,g);return}let h=w(p);if(!h||h.requested){s(`ad unit already request,loaded or deleted by quick insertions: ${p}`);return}ht(a)?Pn({path:r,size:a,elementId:p,anchor:c,targeting:l,setUniqueTargeting:u,container:g}):b("Not correct adunits sizes for viewport");let y=d("globalLazyAttribute"),C=It(e);if(y&&!C&&(i.lazyload=!1,s(`Setting lazy to false for ${i.divIdOnPage}`)),C){s(`${e} should be lazy loaded`);return}h.requested||Se({names:[p],caller:"Async display"})}else Ln(e),b(`${e} could not be populated (div not found)`)}catch(o){console.error(o),b("Could not run the display function")}},si=(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}`;s(n);let i=be();fn(t)&&(ke(i),wt(i,s)),qt(),Zr(async function(){s("In start function");let l=qe()?"mobile":"desktop";globalThis.concept.device=l;let c=i.adUnits;t||(c=es(c)),o&&(c=c.filter(u=>u.divIdOnPage===o)),Jr(c,t),globalThis.conceptConfig.dontCallInitial||Vn({consented:t})})};A();Q();k();L();F();De();A();L();ie();Q();F();q();We();De();A();ie();Q();q();I();A();H();de();var ai=navigator.connection||navigator.mozConnection||navigator.webkitConnection,is=e=>{let t={},o=new URL("https://d1jthfopj0ipi6.cloudfront.net/error_track.gif");if(ai){let{downlink:n}=ai;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",U()),Object.keys(t).forEach(n=>{o.searchParams.set(n,t[n])}),o.href},nt=e=>{if(f("enableErrorReporting")){let o=is(e);X(o,"error-pixel"),s("Error pixel loaded")}};I();var rs={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=>s(`got CMP event: ${e.eventStatus}`);function pe(e){s(`error callback: ${e}`),__tcfapi("getTCData",2,function(t){t.gdprApplies||nt("gdprNotApplies")}),nt("CMP error")}var kt=e=>{e.fullUsableConsent?(globalThis.concept.consentStatus=P.FULL_CONSENT,globalThis.concept.targeting.requestMode=P.FULL_CONSENT):e.legitimateInterests?(globalThis.concept.consentStatus=P.LEGITIMATE_INTERREST,globalThis.concept.targeting.requestMode="LIMITED"):e.fullUsableConsent?(globalThis.concept.consentStatus=P.UNKNOWN,globalThis.concept.targeting.requestMode=P.UNKNOWN):(globalThis.concept.consentStatus=P.CONSENT_REJECT,globalThis.concept.targeting.requestMode=P.CONSENT_REJECT,s("The user cosents does not meet the requirements to 'normal' load ads."),globalThis.concept.consentedToCookies=!1),Io()},ss=()=>{(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 a=i.document,l=!!i.frames[o];if(!l)if(a.body){var c=a.createElement("iframe");c.style.cssText="display:none",c.name=o,a.body.appendChild(c)}else setTimeout(r,5);return!l}(),i.__tcfapi=function(){for(var r,a=arguments.length,l=new Array(a),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 a=typeof r.data=="string",l={};try{l=a?JSON.parse(r.data):r.data}catch{}var c=l.__tcfapiCall;c&&window.__tcfapi(c.command,c.version,function(u,p){var g={__tcfapiReturn:{returnValue:u,success:p,callId:c.callId}};a&&(g=JSON.stringify(g)),r.source.postMessage(g,"*")},c.parameter)},!1))};e()})()},fe=()=>{s("executeQueue ----> executing consentQueue","function");let e=globalThis.concept.consentQueue||[];e.forEach((t,o)=>{zt("(Refresh dequeued and executed)"),e[o]()}),globalThis.concept.consentQueue=[]},jt=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((p,g)=>({purpose:rs[g+1],allowed:p}));let r=e.purpose?o.some(p=>!t[p]):!1,c=!(e.gdprApplies&&(i===0||r===!0));return{legitimateInterests:Qn(e,c),fullUsableConsent:c}},li=({callback:e})=>{s("Loading ads ..."),globalThis.concept.consentedToCookies!==!1&&(globalThis.concept.consentedToCookies=!0,Me(),fe(),globalThis.conceptConfig.dontCallInitial||e({consented:!0}))};function di({callback:e}){s("consent.js run"),Lt()||(s("No __tcfapi found at all (should be stubbed)","error"),globalThis.concept.consentStatus=P.NO_TCF_API,nt("adding stub"),ss(),s("tcf stub loaded"));function t(o,n){s(`Succesful consent recieved from ${n}`),j("Consent recieved");let i=d("legitimateStepAdserver")==="Adnuntius",r=jt(o);if(kt(r),r.fullUsableConsent)li({callback:e});else if(r.legitimateInterests&&!i)Ze(),li({callback:e});else if(!r.fullUsableConsent||i){if(!globalThis.conceptConfig.dontCallInitial)return ge({callback:e});fe()}}if(it.tcfApiExists()){let o=[{eventName:"useractioncomplete",onSuccess:t,onError:pe},{eventName:"tcloaded",onSuccess:t,onError:pe},{eventName:"cmpuishown",onSuccess:ci,onError:pe}];it.addEventListeners(o)}else s("No tcfApi or Exists"),globalThis.conceptConfig.dontCallInitial?ge({callback:function(){b("could not find TCF api")}}):ge({callback:e})}var ge=({callback:e,adunitDivId:t="",SPAOverwrite:o=globalThis.conceptConfig.dontCallInitial})=>{s("Lets kick of cookieless"),yo();let n=globalThis.conceptConfig.cookielessAdserver;if(globalThis.conceptConfig.checkForConsent&&(!n||!Object.values(Z).includes(n)))throw Error("Please setup a cookieless adserver");(globalThis.concept.adsloaded===0&&!globalThis.concept.initialCalled||o)&&(n===Z.GAM&&(s("GAM cookieless","gpt"),e({consented:!1,adunitDivId:t})),n===Z.ADNUNTIUS&&(s("ADNUNTIUS cookieless","adnuntius"),So({adunitDivId:t,prerender:!1,container:"div"})))},Lt=()=>window.__tcfapi,it=function(){return{addEventListeners:t=>{if(!Lt()){b("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):(b(`${o.eventStatus} had an error`),i.onError(o)))})},tcfApiExists:Lt}}();I();ye();var ui=!1,fi=()=>{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,s(`URL changed to ${r}`),globalThis.conceptConfig.dontCallInitial){s("Clearing timeout (refresh) - bacause url change");for(let[a,l]of f("adUnits"))Ce(l)}globalThis.conceptConfig.activateConceptTargeting&&ze(),vo()}},300)},as=()=>{globalThis.concept.injectNewAds()},mi=()=>{window.addEventListener("urlChange",as,!0)},hi=()=>{window.addEventListener("urlChange",()=>{Xe()},!0)},ls=(e,t,o)=>{let n=jt(e),i=globalThis.conceptConfig.legitimateStepAdserver==="Adnuntius";kt(n),n.fullUsableConsent?Ut(t):n.legitimateInterests&&!i?(Ze(),Ut(t)):(!n.fullUsableConsent||i)&&ge({callback:globalThis.concept.injectAds,adunitDivId:o,SPAOverwrite:!0})},Ut=e=>{globalThis.concept.injectAds({adunitDivId:e,consented:!0})},cs=(e,t)=>{let o=globalThis.conceptConfig.checkForConsent,n=f("consentStatus")===P.FULL_CONSENT;if(o&&n){Ut(e);return}o?__tcfapi("getTCData",2,function(i){s("Manually retrieved tcData"),ls(i,e,t)}):globalThis.concept.consentedToCookies===!1?ge({callback:globalThis.concept.injectAds,adunitDivId:t}):globalThis.concept.injectAds({adunitDivId:e,consented:!0})},pi=e=>{globalThis.concept.updateIfEmpty.delete(e),globalThis.concept.initialCalled=!1;let t=e||null;s(`refreshSelected ${e}`,"function"),cs(t,e)},gi=(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=document.getElementById(e),a=!!globalThis.concept.consentedToCookies,l=Ee({consented:a,node:r,display:!1});if(r&&r.setAttribute("dublicatenoted","true"),pi(l||e),t||!!d("autoUnloadSlots")){let u=_t(e);ti(u.path)}}else typeof e=="string"&&e.length>0&&s(`${e} was not found in config or its disabled`,"error");!e&&!globalThis.conceptConfig.dontAllowRefreshAll&&(s("No specific adunit, we refresh all"),globalThis.concept.adUnits.clear(),googletag.destroySlots&&googletag.destroySlots(),pi(""))},$t=(e,t=!1)=>{s(`injectNewAds ${e}`,"function"),j("injectNewAds execution requested"),globalThis.concept.updateTargeting(),K(globalThis.concept.targeting);let o=f("consentedToCookies"),{decideNow:n,waitChoise:i}=hn();if(n&&gi(e,t),i){s("injectNewAds no hasConsented & no limitedFlow","function");let r=()=>gi(e,t);Gt(`(Refresh queued) ${e}`),r&&globalThis.concept.consentQueue.push(r)}if(o===!1&&fe(),o===null&&!ui){s("Adding eventlisteners for the CMP");let r=[{eventName:"useractioncomplete",onSuccess:fe,onError:pe},{eventName:"tcloaded",onSuccess:fe,onError:pe}];it.addEventListeners(r),ui=!0}},bi=e=>{s(`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),$t(e.targetDiv,!1)}else b("Your trying to dublicate a non existing ad unit")};q();de();k();I();A();var Ti={BLUE_BILLYWIG:1,OWN_PLAYER:2};var Ci="concept",ds=async e=>{let t=e.divIdOnPage;s(`Waiting for ${t} to be visible`,"video");let o=await M(`#${t}`,0),n=Qe(o);if(!n){b(`Could not find ${t}`);return}s(`Inserting BB Player into ${t} `,"video");let i=e.BBUNIT,r=`https://${Ci}.bbvms.com/r/${i}.js`;D(t);let a=globalThis.conceptConfig.usePrebid?await globalThis.concept.requestPrebidUrl(e.playerId):globalThis.concept.buildVastTag(e.playerId);O(`VAST TAG CREATED FOR ${t} `);let l=document.createElement("script");l.async=!0,l.src=r,l.onload=()=>{let c={code:t,vastUrl:a},u=`${Ci}-${i}`,p=globalThis.bluebillywig.renderers.find(g=>g._id===u);p&&p.bootstrap(c,n)},document.getElementsByTagName("head")[0].appendChild(l)},we=()=>{let e=d("videoAdunits");e&&e.forEach(t=>{t.divIdOnPage&&t.videoPlayer===Ti.BLUE_BILLYWIG&&ds(t)})};We();$e();I();H();var rt=e=>{try{let{cookielessAdserver:t,customCSS:o,reportTrackingAs:n,trySendingSpecificGeo:i,oneOfAutoExecuteBB:r,activateConceptTargeting:a,customScript:l,RMBRef:c,dontCallInitial:u,disableConceptLoads:p,refreshOnBfCacheHit:g,refreshOnUrlChange:m}=e;g&&Ho(),t===Z.ADNUNTIUS&&Eo(s),o!==""&&o&&ut(o),n&&!p&&Yo(`?loaded=true&site=${n}`),i&&qo({targetingFunction:K}),r&&we(),a&&ze(),l&&G(s,l),!globalThis.disableRMBRef&&c&&Et(s,c),(m||u)&&fi(),m&&mi(),u&&hi(),d("setControlGroup")&&(globalThis.concept[d("controlKey")]=uo(1,parseInt(d("controlMax")))),ko(),globalThis.concept.injectAds=si,globalThis.concept.define=ii,globalThis.concept.refresh=Se,globalThis.concept.display=ri,globalThis.concept.injectNewAds=$t,globalThis.concept.loadCopyOf=bi,globalThis.concept.connect(E.GET_CONCEPTADS,Bn),globalThis.concept.connect(E.GET_VASTTAG,Mn),globalThis.concept.connect(E.GET_PREBIDVASTTAG,Dn),globalThis.concept.connect(E.SKIN_INIT,Fn),globalThis.concept.connect(E.SIDESKIN_INIT,qn),globalThis.concept.connect(E.MACRO_UNLOAD,$n),globalThis.concept.connect(E.SLOT_LOADED,tt),globalThis.concept.connect(E.SLOT_REQUESTED,et),globalThis.concept.connect(E.DESKTOP_TOPSCROLL,Un),mo()}catch(t){console.log(t)}};q();I();globalThis.googletag=globalThis.googletag||{};globalThis.googletag.cmd=globalThis.googletag.cmd||[];var vi=e=>{try{d("waitForEventToStart")||ot();let o=xt();o&&o.length>0?window.addEventListener("consentRecieved",()=>rt(e),{once:!0,capture:!0}):rt(e);let n=!e.dontCallInitial,i=!e.refreshOnUrlChange,r=n&&i;e.checkForConsent?di({callback:l=>{we(),globalThis.concept.injectAds(l)}}):r&&(Me(),we(),globalThis.concept.injectAds({consented:!0})),Rt()}catch(t){console.log(t)}};globalThis.googletag=globalThis.googletag||{};globalThis.googletag.cmd=globalThis.googletag.cmd||[];Q();A();A();me();F();q();de();I();I();ie();var{injectCustomAsyncScript:us}=(L(),at(Le)),Ii=()=>d("activateSonar")&&f("consentStatus")===P.FULL_CONSENT,yi=(e,{unitPath:t,elementId:o})=>{let i=window.location.href.split("?")[0].split("#")[0],r=f("tcString"),l=us(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=document.getElementById(o);c&&c.appendChild(l),e("Sonar Injected")};var Ai=!1,Ei=!1,Si=!1,wi=!1,Pi=!1,ps=e=>{let t=e.slot.getAdUnitPath(),o=e.slot.getAdUnitPath(),n=e.slot.getSlotElementId();!!d("autoUnloadSlots")&&ei(o),O(`slotResponseReceived - ${t}`),j(`slotResponseReceived - ${t}`),e.slot.getResponseInformation()||(Ot(n),Fe({name:t,divId:n}),xe(n))},gs=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?et(n.payload):window?.top?.postMessage(n,"*")})},fs=e=>{let t=e.slot.getAdUnitPath(),o=e.slot.getSlotId().getId(),n=e.slot.getSlotElementId(),i=e.slot.getResponseInformation();O(`(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")?tt(r.payload):window?.top?.postMessage(r,"*")})},ms=e=>{let t=e.slot.getSlotElementId(),o=w(t);e.isEmpty&&kn(t);let n=e.campaignId||"",i=e.creativeId||e.sourceAgnosticCreativeId,r=e.lineItemId||e.sourceAgnosticLineItemId;e.isEmpty&&(n="unfilled",i="unfilled",r="unfilled");let a=`Orderid: (${n}), LineitemId: (${r}), creativeId: (${i})`;if(s(a,"gpt"),globalThis.conceptConfig.useAdvancedTracking&&Jo({creativeId:i,lineItemId:r,adunitCode:t}),o){i!=="unfilled"&&Ii()&&yi(s,{unitPath:e.slot.getAdUnitPath(),elementId:t});let l=d("allowOrderRefresh")||[];l.length>0&&i!=="unfilled"&&(l.includes(`${n}`)||(o.refresh=0,o.refreshBlocked=!0,Ce(o))),o.rendered=!0;let c={isEmpty:e.isEmpty,size:null};e.isEmpty||(c.size={width:e.size[0],height:e.size[1]})}},hs=e=>{let t=e.slot.getSlotElementId(),o=e.slot.getAdUnitPath(),n=e.slot.getOutOfPage(),i=w(t);i||s("Could not find adunit in slotViewable"),n&&(s("An outofpage unit is being showed"),O(`Out of page loaded - ${o}`)),i&&(i.viewableCount=i?.viewableCount?i.viewableCount+1:1),fo({divId:t}),s(`impressionViewable: ${t}`,"gpt")},Oi=!1,xi=()=>{try{Oi||(s("googletagConfigured being queued","gpt"),Oi=!0,googletag.cmd.push(function(){s("[GOOGLETAG loaded] googletag not configured: Enable DFP services","gpt"),globalThis.concept.updateTargeting(),globalThis.googletag.pubads().enableSingleRequest(),globalThis.googletag.pubads().disableInitialLoad(),globalThis.googletag.pubads().setCentering(!0),globalThis.googletag.pubads().collapseEmptyDivs(),Si||(Si=Pe("slotResponseReceived",ps)),wi||(wi=Pe("slotOnload",fs)),Ei||(Ei=Pe("slotRequested",gs)),Ai||(Ai=Pe("impressionViewable",hs)),Pi||(Pi=Pe("slotRenderEnded",ms));let e=d("page_url"),t=f("targeting"),o=e||t?.UrlHost;if(globalThis.googletag.pubads().set("page_url",o),!d("disableAutoPPID")){let i=d("setPPIDFromCookie"),r=$o(i);r&&(globalThis.concept.PPID=r,Ao(r),googletag.pubads().setPublisherProvidedId(r))}globalThis.googletag.enableServices()}))}catch(e){console.error(e),b("Could not setup googletag globals")}},Pe=(e,t)=>globalThis.googletag.pubads().addEventListener(e,t);var Ni=e=>{let t=!1;t||(t=!0,wn(s),xi(),On(),vi(e))};try{globalThis.conceptConfig||console.error("No configuration found. abort!");let e=globalThis.conceptConfig;globalThis.concept=globalThis.concept||Xn(e),Ni(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.CpC22f-kF", function(eventData){ if(true) atm.utils.runTags('CpC22f-kF', ["6IkBvNYeQ"]) }); 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(); })(); window.addEventListener('load', function (event) { 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); }