window.optidigitalToolboxCC="DE";window.optidigitalToolboxGdpr=true;var optidigitalSetup = {
    info: {
        publisherId: 191,
        networkId: 39417655,
        siteId: 553,
        revision: 100
    },
    mobileEvenVerticalSizes: true,
    enableOdas: ['ko', 'li', 'ok'],
    directDemandRefreshDelay: 30000,
    adSlotsConfig: {
        disableDesktopInterstitial: true,
        lazyLoadPxGlobal: 400,
        adManagerKeyName: "adslot",
        adSlotsDefinitions: [{
            name: "Billboard_1",
            status: 0,
        }, {
            name: "Billboard_2",
            status: 0,
        }, {
            name: "Content_1",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            vPos: "top",
            odZoneId: 17966,
            odSize: [300, 250],
            deviceTarget: "desktop",
        }, {
            name: "Content_10",
            status: 0,
        }, {
            name: "Content_2",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            vPos: "top",
            odZoneId: 17968,
            odSize: [300, 250],
            deviceTarget: "desktop",
        }, {
            name: "Content_3",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            vPos: "top",
            odZoneId: 17970,
            odSize: [300, 250],
            deviceTarget: "desktop",
        }, {
            name: "Content_4",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            vPos: "top",
            odZoneId: 17986,
            odSize: [300, 250],
            deviceTarget: "desktop",
        }, {
            name: "Content_5",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            vPos: "top",
            odZoneId: 17988,
            odSize: [300, 250],
            deviceTarget: "desktop",
        }, {
            name: "Content_6",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            vPos: "top",
            odZoneId: 17990,
            odSize: [300, 250],
            deviceTarget: "desktop",
        }, {
            name: "Content_7",
            status: 0,
        }, {
            name: "Content_8",
            status: 0,
        }, {
            name: "Content_9",
            status: 0,
        }, {
            name: "Content_Bottom",
            status: 0,
        }, {
            name: "Content_Infinite_1",
            status: 0,
        }, {
            name: "Desktop_Interstitial",
            status: 0,
        }, {
            name: "Desktop_Sticky_Bottom",
            lazyLoadPx: 600,
            deviceTarget: "desktop",
        }, {
            name: "HalfpageAd_1",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            vPos: "top",
            odZoneId: 17958,
            odSize: [300, 600],
            deviceTarget: "desktop",
        }, {
            name: "HalfpageAd_2",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            vPos: "top",
            odZoneId: 17960,
            odSize: [300, 600],
            deviceTarget: "desktop",
        }, {
            name: "HalfpageAd_3",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            vPos: "top",
            contentExtraCLS: 1000,
            odZoneId: 17992,
            odSize: [300, 600],
            deviceTarget: "desktop",
        }, {
            name: "HalfpageAd_4",
            status: 0,
        }, {
            name: "Leaderboard_1",
            status: 0,
        }, {
            name: "Leaderboard_2",
            status: 0,
        }, {
            name: "Mobile_Bottom",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            vPos: "top",
            odZoneId: 17984,
            odSize: [300, 250],
        }, {
            name: "Mobile_Infinite_Pos1",
            status: 0,
        }, {
            name: "Mobile_Interstitial",
            lazyLoadPx: 600,
            refreshDelay: 60000,
            odZoneId: 19056,
            odSize: [300, 250],
        }, {
            name: "Mobile_Pos1",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            vPos: "top",
            odZoneId: 17972,
            odSize: [300, 250],
        }, {
            name: "Mobile_Pos10",
            status: 0,
        }, {
            name: "Mobile_Pos2",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            vPos: "top",
            odZoneId: 17974,
            odSize: [300, 250],
        }, {
            name: "Mobile_Pos3",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            size: [
                [300, 600],
                [120, 600],
                [160, 600]
            ],
            vPos: "top",
            odZoneId: 17976,
            odSize: [300, 250],
        }, {
            name: "Mobile_Pos4",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            vPos: "top",
            odZoneId: 17978,
            odSize: [300, 250],
        }, {
            name: "Mobile_Pos5",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            vPos: "top",
            odZoneId: 17980,
            odSize: [300, 250],
        }, {
            name: "Mobile_Pos6",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            vPos: "top",
            odZoneId: 17982,
            odSize: [300, 250],
        }, {
            name: "Mobile_Pos7",
            status: 0,
        }, {
            name: "Mobile_Pos8",
            status: 0,
        }, {
            name: "Mobile_Pos9",
            status: 0,
        }, {
            name: "Mobile_Sticky_Bottom",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            size: [
                [320, 150],
                [320, 160],
                [320, 180],
                [300, 150],
                [300, 160],
                [300, 180]
            ],
            odZoneId: 18074,
            odSize: [320, 100],
        }, {
            name: "Mobile_Top",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            vPos: "top",
            odZoneId: 18918,
            odSize: [320, 100],
        }, {
            name: "Rectangle_1",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            vPos: "top",
            odZoneId: 17962,
            odSize: [300, 250],
            deviceTarget: "desktop",
        }, {
            name: "Rectangle_2",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            vPos: "top",
            odZoneId: 17964,
            odSize: [300, 250],
            deviceTarget: "desktop",
        }, ],
    },
    s2sConfig: {
        aliasBidders: {
            smartadserver: ['smart'],
            appnexus: ['xandr']
        },
        criteo: {
            discount: 0.95,
            minRefresh: 30000,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    networkId: 8713,
                    publisherSubId: 'toutelatele'
                },
                Mobile_Pos1: {
                    networkId: 8713,
                    publisherSubId: 'toutelatele'
                },
                Desktop_Sticky_Bottom: {
                    networkId: 8713,
                    publisherSubId: 'toutelatele'
                },
                Content_1: {
                    networkId: 8713,
                    publisherSubId: 'toutelatele'
                },
                HalfpageAd_1: {
                    networkId: 8713,
                    publisherSubId: 'toutelatele'
                }
            },
        },
        outbrain: {
            discount: 0.90,
            minRefresh: 30000,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                Mobile_Pos1: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                Desktop_Sticky_Bottom: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                Content_1: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                HalfpageAd_1: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                }
            },
        },
        smart: {
            discount: 0.92,
            minRefresh: 30000,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    domain: '//prg.smartadserver.com',
                    networkId: 3379,
                    siteId: 601560,
                    pageId: 1836331,
                    formatId: 79385
                },
                Mobile_Pos1: {
                    domain: '//prg.smartadserver.com',
                    networkId: 3379,
                    siteId: 601560,
                    pageId: 1836331,
                    formatId: 79379
                },
                Content_1: {
                    domain: '//prg.smartadserver.com',
                    networkId: 3379,
                    siteId: 601560,
                    pageId: 1836331,
                    formatId: 79369
                },
                HalfpageAd_1: {
                    domain: '//prg.smartadserver.com',
                    networkId: 3379,
                    siteId: 601560,
                    pageId: 1836331,
                    formatId: 79375
                }
            },
        },
        rubicon: {
            discount: 0.95,
            minRefresh: 30000,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    accountId: 20336,
                    siteId: 427114,
                    zoneId: 2443644
                },
                Mobile_Pos1: {
                    accountId: 20336,
                    siteId: 427114,
                    zoneId: 2443618
                },
                Desktop_Sticky_Bottom: {
                    accountId: 20336,
                    siteId: 427114,
                    zoneId: 2443654
                },
                Content_1: {
                    accountId: 20336,
                    siteId: 427114,
                    zoneId: 2443590
                },
                HalfpageAd_1: {
                    accountId: 20336,
                    siteId: 427114,
                    zoneId: 2443612
                }
            },
        },
        triplelift: {
            discount: 0.95,
            minRefresh: 30000,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    inventoryCode: 'OptiDigital_RON_HDX'
                },
                Mobile_Pos1: {
                    inventoryCode: 'OptiDigital_RON_Mobile_1'
                },
                Content_1: {
                    inventoryCode: 'OptiDigital_RON_Content'
                },
                HalfpageAd_1: {
                    inventoryCode: 'OptiDigital_RON_HalfPage'
                }
            },
        },
        pubmatic: {
            discount: 0.95,
            minRefresh: 30000,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    publisherId: '158939',
                    currency: 'EUR',
                    adSlot: '5084361'
                },
                Mobile_Pos1: {
                    publisherId: '158939',
                    currency: 'EUR',
                    adSlot: '5084350'
                },
                Desktop_Sticky_Bottom: {
                    publisherId: '158939',
                    currency: 'EUR',
                    adSlot: '5084349'
                },
                Content_1: {
                    publisherId: '158939',
                    currency: 'EUR',
                    adSlot: '5084338'
                },
                HalfpageAd_1: {
                    publisherId: '158939',
                    currency: 'EUR',
                    adSlot: '5084329'
                }
            },
        },
        xandr: {
            discount: 0.95,
            minRefresh: 30000,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    placementId: 30183873
                },
                Mobile_Pos1: {
                    placementId: 30183863
                },
                Content_1: {
                    placementId: 30183620
                },
                HalfpageAd_1: {
                    placementId: 30183855
                }
            },
        },
        rtbhouse: {
            discount: 0.90,
            minRefresh: 30000,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    publisherId: 'JBOS3SoGaDMDyU9N7t1i',
                    region: 'prebid-eu'
                },
                Mobile_Pos1: {
                    publisherId: 'JBOS3SoGaDMDyU9N7t1i',
                    region: 'prebid-eu'
                },
                Desktop_Sticky_Bottom: {
                    publisherId: 'JBOS3SoGaDMDyU9N7t1i',
                    region: 'prebid-eu'
                },
                Content_1: {
                    publisherId: 'JBOS3SoGaDMDyU9N7t1i',
                    region: 'prebid-eu'
                },
                HalfpageAd_1: {
                    publisherId: 'JBOS3SoGaDMDyU9N7t1i',
                    region: 'prebid-eu'
                }
            },
        },
    },
    sourceDomains: ["toutelatele.com", "www.toutelatele.com"],
    advertisers: {
        prebid: [5322400541, 5322589378],
        adx: [5322403385],
        amazon: [5324833846]
    },
    timeouts: {
        failsafe: 34000,
        lazyLoadPxInterval: 300
    },
    stickyAdConfiguration: {
        zIndex: '1000',
        adCloseTop: '-24'
    },
    enableLimitedAds: true,
    fullPackageDesktop: true,
    fullPackageMobile: true,
    adLayoutEnabled: true,
    adLayoutConfig: {
        optidigitalBrand: {
            disableBrandStickyFormat: true
        },
        addText: {}
    },
    adUnitError: "/39417655/od.toutelatele.com/error",
    publisherInit: function(initConfig) {
        if (initConfig.adUnit == "/39417655/od.toutelatele.com/article") {
            var target2 = document.querySelector(".article--text > p:nth-child(4)");
            if (target2) {
                var pos2 = document.createElement("div");
                if (document.documentElement.clientWidth < 768) {
                    pos2.setAttribute("id", "optidigital-adslot-Mobile_Pos2");
                    pos2.setAttribute("style", "min-height:600px;");
                    pos2.setAttribute("class", "Mobile_Pos2");
                } else {
                    pos2.setAttribute("id", "optidigital-adslot-Content_2");
                    pos2.setAttribute("style", "min-height:300px;");
                    pos2.setAttribute("class", "Content_2");
                }
                target2.parentNode.insertBefore(pos2, target2.nextElementSibling);
            }
        }
        optidigitalToolbox.setup.stickyAdConfiguration.stickyAdTopTrigger = 20000;
        if (document.querySelector(".card--list")) {
            optidigitalToolbox.initConfig.adUnit = "/39417655/od.toutelatele.com/mot";
        }
        /*optidigitalToolbox.registerEventCallback(function(type, date) {
            if (type == "ADSLOT_FILLED") {
                var mtop = document.getElementById("Mobile_Top_Loading");
                if (mtop) {
                    mtop.style.display = "none";
                }
            }
        });*/
        if (optidigitalToolbox.widthBreakpoint < 768) {
            optidigitalToolbox.msbvStatus = 0;
            optidigitalToolbox.pageLoadTime = 0;
            setInterval(function() {
                optidigitalToolbox.pageLoadTime += 500;
                var element = null;
                element = document.querySelector(".viously-sticked");
                if (document.getElementById("opd_bottomstickyad") == null)
                    return;
                if (element !== null) {
                    if (optidigitalToolbox.msbvStatus == 0) {
                        console.log("Videoplayer visible => hide MSB");
                        document.getElementById("opd_bottomstickyad").classList.add("opd_adsticky-close");
                        optidigitalToolbox.msbvStatus = 1;
                    }
                } else {
                    if (optidigitalToolbox.pageLoadTime > 5000) {
                        optidigitalToolbox.stickyAdTopTrigger = 0;
                    }
                    if (optidigitalToolbox.msbvStatus == 1) {
                        console.log("Videoplayer not visible => show MSB");
                        document.getElementById("opd_bottomstickyad").classList.remove("opd_adsticky-close");
                        optidigitalToolbox.msbvStatus = 0;
                    }
                }
            }, 500);
        }
    },
    insertInreadTags: function(adUnit) {
        if (adUnit == "/39417655/od.toutelatele.com/mot" && document.documentElement.clientWidth >= 768) {
            return;
        }
        var parentDiv = ".card--list";
        var previousType = "article";
        var posFirst = 1;
        var mobileSlots = ["Mobile_Pos1", "Mobile_Pos2", "Mobile_Pos3", "Mobile_Pos4", "Mobile_Pos5", "Mobile_Pos6"];
        var desktopSlots = [];
        if (adUnit == "/39417655/od.toutelatele.com/article") {
            parentDiv = ".article--text";
            previousType = "p";
            posFirst = 4;
            mobileSlots = ["Mobile_Pos3"];
            desktopSlots = ["Content_3"];
        }
        try {
            optidigitaltagsinserter.insertInRead({
                parentDiv: parentDiv,
                divIdPrefix: "optidigital-adslot-",
                adSlots: mobileSlots,
                interval: 600,
                previousType: previousType,
                positionFirst: posFirst,
                dontBreakWithPreviousType: ['ul', 'ol'],
                debug: false,
                keepDistanceFromTheBottom: 200
            });
            if (desktopSlots.length > 0) {
                optidigitaltagsinserter.insertInRead({
                    parentDiv: parentDiv,
                    divIdPrefix: "optidigital-adslot-",
                    adSlots: desktopSlots,
                    interval: 600,
                    previousType: previousType,
                    positionFirst: posFirst,
                    dontBreakWithPreviousType: ['ul', 'ol'],
                    debug: false,
                    keepDistanceFromTheBottom: 200
                });
            }
        } catch (err) {}
        return true;
    },
    crZoneId: 18130,
};
window.odTLibs={"odas":"2.0.6","odpbjs":"9.17.0","odlauncher":"4.0.42","odcore":"3.0.17"};function loadOdTag(){if(!window||!window.odTagLoader){window.odTagStartTime=new Date,window.odTagLoader=!0,window.optidigitalPFconfig={};let t="30001",e=1,i="";var o,a,n;0<!document.querySelectorAll('script[src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"]').length&&((o=document.createElement("script")).async=!0,o.type="text/javascript",o.src="https://securepubads.g.doubleclick.net/tag/js/gpt.js",(a=document.getElementsByTagName("script")[0]).parentNode.insertBefore(o,a)),-1!=(o=navigator.userAgent.toLowerCase()).indexOf("safari")?-1==o.indexOf("chrome")&&(e=0):-1!=o.indexOf("firefox")&&(e=0),t=function(){let t=!1;var i;return i=navigator.userAgent||navigator.vendor||window.opera,t=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(i)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(i.substr(0,4))?!0:t}()?function(){let t=!1;var i;return i=navigator.userAgent||navigator.vendor||window.opera,t=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(i)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(i.substr(0,4))?!0:t}()?"30001":"30002":"30000","object"==typeof window.top.location&&window.top.location.hasOwnProperty("search")&&((n=window.top.location.search).includes("optidigital_testgroup=control")&&(optidigitalSetup.forceTestGroup="control"),!n.includes("optidigital_testgroup=test")&&1!=window.optidigital_forcetest||(optidigitalSetup.forceTestGroup="test")),optidigitalSetup.hasOwnProperty("abTestConfig")&&optidigitalSetup.abTestConfig.hasOwnProperty("sampling")&&("control"===optidigitalSetup.forceTestGroup&&(optidigitalSetup.abTestConfig.sampling=0),"test"===optidigitalSetup.forceTestGroup&&(optidigitalSetup.abTestConfig.sampling=100),optidigitalSetup.groupRandom=Math.floor(Math.random()*Math.floor(100)),n=optidigitalSetup.abTestConfig.sampling,optidigitalSetup.groupRandom<optidigitalSetup.abTestConfig.sampling)&&optidigitalSetup.abTestConfig.hasOwnProperty("embed")&&"object"==typeof optidigitalSetupTest&&((optidigitalSetup=optidigitalSetupTest).testGroup="test",optidigitalSetup.sampling=n),i=optidigitalSetup.fullPackageDesktop&&"30000"===t||optidigitalSetup.fullPackageMobile&&"30000"!==t?"-f":"",a=document.getElementById("optidigital-ad-init"),a=new URLSearchParams(a.src.split("?")[1]).get("site"),(n=document.createElement("script")).async=!0,n.type="text/javascript",n.src=`https://scripts.opti-digital.com/lib/?site=${a}&lib=launcher&v=`+odTLibs.odlauncher+i,(a=document.getElementsByTagName("script")[0]).parentNode.insertBefore(n,a);{let i=optidigitalSetup.info.hasOwnProperty("odNetworkId")&&optidigitalSetup.info.odNetworkId?optidigitalSetup.info.odNetworkId:optidigitalSetup.info.networkId;var p=`https://optiyield-data.opti-digital.com/pfc/web/config?pubid=${i}&device=${t}&domain=${window.location.hostname}&nr=${e}&country=`+window.optidigitalToolboxCC,d=new XMLHttpRequest;d.open("GET",p,!0),d.onreadystatechange=function(){var t;4==this.readyState&&200==this.status&&(t=JSON.parse(this.responseText),window.optidigitalPFconfig=t,window.optiyield)&&!1===window.optiyield._ready&&"function"==typeof window.optiyield._0i4n3i2t&&(window.optiyield._0i4n3i2t(i,window.optidigitalPFconfig,window.optidigitalPFconfig.country),window.optiyield.cmd.push(function(){var t={pubId:i,mode:"manual"};""!==optidigitalSetup?.adSlotsConfig?.adManagerKeyName&&(t.gtpCustomDimensionKey={cd1:optidigitalSetup?.adSlotsConfig?.adManagerKeyName?optidigitalSetup.adSlotsConfig.adManagerKeyName:"adslot"}),window.optiyield.init(t),window.optiyield.setGptFloors()}))},d.send()}""!==i&&(p=document.getElementById("optidigital-ad-init"),p=new URLSearchParams(p.src.split("?")[1]).get("site"),(d=document.createElement("script")).async=!0,d.type="text/javascript",d.src="https://scripts.opti-digital.com/tags/?lib=corev2_c&site="+p+("test"===optidigitalSetup.testGroup?"&test=true":""),(p=document.getElementsByTagName("script")[0]).parentNode.insertBefore(d,p),d.onload=function(){"object"==typeof odTC&&"object"==typeof odT&&odT.layoutReady&&odT.CMPready&&odTC.start()})}}loadOdTag();