(function () {
    "use strict";

    window.IQD = {};
    window.IQD.AdController = {};
    window.IQD.AdController.Constants = {};

    // Global instance of the DI-container
    window.IQD.AdController.DependencyInjectionContainer = null;
    // Global instance of the AdController itself
    window.AdController = window.AdController || null;
})();

//     Underscore.js 1.6.0
//     http://underscorejs.org
//     (c) 2009-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
//     Underscore may be freely distributed under the MIT license.
(function(){var n=this,t=n._,r={},e=Array.prototype,u=Object.prototype,i=Function.prototype,a=e.push,o=e.slice,c=e.concat,l=u.toString,f=u.hasOwnProperty,s=e.forEach,p=e.map,h=e.reduce,v=e.reduceRight,g=e.filter,d=e.every,m=e.some,y=e.indexOf,b=e.lastIndexOf,x=Array.isArray,w=Object.keys,_=i.bind,j=function(n){return n instanceof j?n:this instanceof j?void(this._wrapped=n):new j(n)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=j),exports._=j):n._=j,j.VERSION="1.6.0";var A=j.each=j.forEach=function(n,t,e){if(null==n)return n;if(s&&n.forEach===s)n.forEach(t,e);else if(n.length===+n.length){for(var u=0,i=n.length;i>u;u++)if(t.call(e,n[u],u,n)===r)return}else for(var a=j.keys(n),u=0,i=a.length;i>u;u++)if(t.call(e,n[a[u]],a[u],n)===r)return;return n};j.map=j.collect=function(n,t,r){var e=[];return null==n?e:p&&n.map===p?n.map(t,r):(A(n,function(n,u,i){e.push(t.call(r,n,u,i))}),e)};var O="Reduce of empty array with no initial value";j.reduce=j.foldl=j.inject=function(n,t,r,e){var u=arguments.length>2;if(null==n&&(n=[]),h&&n.reduce===h)return e&&(t=j.bind(t,e)),u?n.reduce(t,r):n.reduce(t);if(A(n,function(n,i,a){u?r=t.call(e,r,n,i,a):(r=n,u=!0)}),!u)throw new TypeError(O);return r},j.reduceRight=j.foldr=function(n,t,r,e){var u=arguments.length>2;if(null==n&&(n=[]),v&&n.reduceRight===v)return e&&(t=j.bind(t,e)),u?n.reduceRight(t,r):n.reduceRight(t);var i=n.length;if(i!==+i){var a=j.keys(n);i=a.length}if(A(n,function(o,c,l){c=a?a[--i]:--i,u?r=t.call(e,r,n[c],c,l):(r=n[c],u=!0)}),!u)throw new TypeError(O);return r},j.find=j.detect=function(n,t,r){var e;return k(n,function(n,u,i){return t.call(r,n,u,i)?(e=n,!0):void 0}),e},j.filter=j.select=function(n,t,r){var e=[];return null==n?e:g&&n.filter===g?n.filter(t,r):(A(n,function(n,u,i){t.call(r,n,u,i)&&e.push(n)}),e)},j.reject=function(n,t,r){return j.filter(n,function(n,e,u){return!t.call(r,n,e,u)},r)},j.every=j.all=function(n,t,e){t||(t=j.identity);var u=!0;return null==n?u:d&&n.every===d?n.every(t,e):(A(n,function(n,i,a){return(u=u&&t.call(e,n,i,a))?void 0:r}),!!u)};var k=j.some=j.any=function(n,t,e){t||(t=j.identity);var u=!1;return null==n?u:m&&n.some===m?n.some(t,e):(A(n,function(n,i,a){return u||(u=t.call(e,n,i,a))?r:void 0}),!!u)};j.contains=j.include=function(n,t){return null==n?!1:y&&n.indexOf===y?n.indexOf(t)!=-1:k(n,function(n){return n===t})},j.invoke=function(n,t){var r=o.call(arguments,2),e=j.isFunction(t);return j.map(n,function(n){return(e?t:n[t]).apply(n,r)})},j.pluck=function(n,t){return j.map(n,j.property(t))},j.where=function(n,t){return j.filter(n,j.matches(t))},j.findWhere=function(n,t){return j.find(n,j.matches(t))},j.max=function(n,t,r){if(!t&&j.isArray(n)&&n[0]===+n[0]&&n.length<65535)return Math.max.apply(Math,n);var e=-1/0,u=-1/0;return A(n,function(n,i,a){var o=t?t.call(r,n,i,a):n;o>u&&(e=n,u=o)}),e},j.min=function(n,t,r){if(!t&&j.isArray(n)&&n[0]===+n[0]&&n.length<65535)return Math.min.apply(Math,n);var e=1/0,u=1/0;return A(n,function(n,i,a){var o=t?t.call(r,n,i,a):n;u>o&&(e=n,u=o)}),e},j.shuffle=function(n){var t,r=0,e=[];return A(n,function(n){t=j.random(r++),e[r-1]=e[t],e[t]=n}),e},j.sample=function(n,t,r){return null==t||r?(n.length!==+n.length&&(n=j.values(n)),n[j.random(n.length-1)]):j.shuffle(n).slice(0,Math.max(0,t))};var E=function(n){return null==n?j.identity:j.isFunction(n)?n:j.property(n)};j.sortBy=function(n,t,r){return t=E(t),j.pluck(j.map(n,function(n,e,u){return{value:n,index:e,criteria:t.call(r,n,e,u)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(r>e||r===void 0)return 1;if(e>r||e===void 0)return-1}return n.index-t.index}),"value")};var F=function(n){return function(t,r,e){var u={};return r=E(r),A(t,function(i,a){var o=r.call(e,i,a,t);n(u,o,i)}),u}};j.groupBy=F(function(n,t,r){j.has(n,t)?n[t].push(r):n[t]=[r]}),j.indexBy=F(function(n,t,r){n[t]=r}),j.countBy=F(function(n,t){j.has(n,t)?n[t]++:n[t]=1}),j.sortedIndex=function(n,t,r,e){r=E(r);for(var u=r.call(e,t),i=0,a=n.length;a>i;){var o=i+a>>>1;r.call(e,n[o])<u?i=o+1:a=o}return i},j.toArray=function(n){return n?j.isArray(n)?o.call(n):n.length===+n.length?j.map(n,j.identity):j.values(n):[]},j.size=function(n){return null==n?0:n.length===+n.length?n.length:j.keys(n).length},j.first=j.head=j.take=function(n,t,r){return null==n?void 0:null==t||r?n[0]:0>t?[]:o.call(n,0,t)},j.initial=function(n,t,r){return o.call(n,0,n.length-(null==t||r?1:t))},j.last=function(n,t,r){return null==n?void 0:null==t||r?n[n.length-1]:o.call(n,Math.max(n.length-t,0))},j.rest=j.tail=j.drop=function(n,t,r){return o.call(n,null==t||r?1:t)},j.compact=function(n){return j.filter(n,j.identity)};var M=function(n,t,r){return t&&j.every(n,j.isArray)?c.apply(r,n):(A(n,function(n){j.isArray(n)||j.isArguments(n)?t?a.apply(r,n):M(n,t,r):r.push(n)}),r)};j.flatten=function(n,t){return M(n,t,[])},j.without=function(n){return j.difference(n,o.call(arguments,1))},j.partition=function(n,t){var r=[],e=[];return A(n,function(n){(t(n)?r:e).push(n)}),[r,e]},j.uniq=j.unique=function(n,t,r,e){j.isFunction(t)&&(e=r,r=t,t=!1);var u=r?j.map(n,r,e):n,i=[],a=[];return A(u,function(r,e){(t?e&&a[a.length-1]===r:j.contains(a,r))||(a.push(r),i.push(n[e]))}),i},j.union=function(){return j.uniq(j.flatten(arguments,!0))},j.intersection=function(n){var t=o.call(arguments,1);return j.filter(j.uniq(n),function(n){return j.every(t,function(t){return j.contains(t,n)})})},j.difference=function(n){var t=c.apply(e,o.call(arguments,1));return j.filter(n,function(n){return!j.contains(t,n)})},j.zip=function(){for(var n=j.max(j.pluck(arguments,"length").concat(0)),t=new Array(n),r=0;n>r;r++)t[r]=j.pluck(arguments,""+r);return t},j.object=function(n,t){if(null==n)return{};for(var r={},e=0,u=n.length;u>e;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},j.indexOf=function(n,t,r){if(null==n)return-1;var e=0,u=n.length;if(r){if("number"!=typeof r)return e=j.sortedIndex(n,t),n[e]===t?e:-1;e=0>r?Math.max(0,u+r):r}if(y&&n.indexOf===y)return n.indexOf(t,r);for(;u>e;e++)if(n[e]===t)return e;return-1},j.lastIndexOf=function(n,t,r){if(null==n)return-1;var e=null!=r;if(b&&n.lastIndexOf===b)return e?n.lastIndexOf(t,r):n.lastIndexOf(t);for(var u=e?r:n.length;u--;)if(n[u]===t)return u;return-1},j.range=function(n,t,r){arguments.length<=1&&(t=n||0,n=0),r=arguments[2]||1;for(var e=Math.max(Math.ceil((t-n)/r),0),u=0,i=new Array(e);e>u;)i[u++]=n,n+=r;return i};var R=function(){};j.bind=function(n,t){var r,e;if(_&&n.bind===_)return _.apply(n,o.call(arguments,1));if(!j.isFunction(n))throw new TypeError;return r=o.call(arguments,2),e=function(){if(!(this instanceof e))return n.apply(t,r.concat(o.call(arguments)));R.prototype=n.prototype;var u=new R;R.prototype=null;var i=n.apply(u,r.concat(o.call(arguments)));return Object(i)===i?i:u}},j.partial=function(n){var t=o.call(arguments,1);return function(){for(var r=0,e=t.slice(),u=0,i=e.length;i>u;u++)e[u]===j&&(e[u]=arguments[r++]);for(;r<arguments.length;)e.push(arguments[r++]);return n.apply(this,e)}},j.bindAll=function(n){var t=o.call(arguments,1);if(0===t.length)throw new Error("bindAll must be passed function names");return A(t,function(t){n[t]=j.bind(n[t],n)}),n},j.memoize=function(n,t){var r={};return t||(t=j.identity),function(){var e=t.apply(this,arguments);return j.has(r,e)?r[e]:r[e]=n.apply(this,arguments)}},j.delay=function(n,t){var r=o.call(arguments,2);return setTimeout(function(){return n.apply(null,r)},t)},j.defer=function(n){return j.delay.apply(j,[n,1].concat(o.call(arguments,1)))},j.throttle=function(n,t,r){var e,u,i,a=null,o=0;r||(r={});var c=function(){o=r.leading===!1?0:j.now(),a=null,i=n.apply(e,u),e=u=null};return function(){var l=j.now();o||r.leading!==!1||(o=l);var f=t-(l-o);return e=this,u=arguments,0>=f?(clearTimeout(a),a=null,o=l,i=n.apply(e,u),e=u=null):a||r.trailing===!1||(a=setTimeout(c,f)),i}},j.debounce=function(n,t,r){var e,u,i,a,o,c=function(){var l=j.now()-a;t>l?e=setTimeout(c,t-l):(e=null,r||(o=n.apply(i,u),i=u=null))};return function(){i=this,u=arguments,a=j.now();var l=r&&!e;return e||(e=setTimeout(c,t)),l&&(o=n.apply(i,u),i=u=null),o}},j.once=function(n){var t,r=!1;return function(){return r?t:(r=!0,t=n.apply(this,arguments),n=null,t)}},j.wrap=function(n,t){return j.partial(t,n)},j.compose=function(){var n=arguments;return function(){for(var t=arguments,r=n.length-1;r>=0;r--)t=[n[r].apply(this,t)];return t[0]}},j.after=function(n,t){return function(){return--n<1?t.apply(this,arguments):void 0}},j.keys=function(n){if(!j.isObject(n))return[];if(w)return w(n);var t=[];for(var r in n)j.has(n,r)&&t.push(r);return t},j.values=function(n){for(var t=j.keys(n),r=t.length,e=new Array(r),u=0;r>u;u++)e[u]=n[t[u]];return e},j.pairs=function(n){for(var t=j.keys(n),r=t.length,e=new Array(r),u=0;r>u;u++)e[u]=[t[u],n[t[u]]];return e},j.invert=function(n){for(var t={},r=j.keys(n),e=0,u=r.length;u>e;e++)t[n[r[e]]]=r[e];return t},j.functions=j.methods=function(n){var t=[];for(var r in n)j.isFunction(n[r])&&t.push(r);return t.sort()},j.extend=function(n){return A(o.call(arguments,1),function(t){if(t)for(var r in t)n[r]=t[r]}),n},j.pick=function(n){var t={},r=c.apply(e,o.call(arguments,1));return A(r,function(r){r in n&&(t[r]=n[r])}),t},j.omit=function(n){var t={},r=c.apply(e,o.call(arguments,1));for(var u in n)j.contains(r,u)||(t[u]=n[u]);return t},j.defaults=function(n){return A(o.call(arguments,1),function(t){if(t)for(var r in t)n[r]===void 0&&(n[r]=t[r])}),n},j.clone=function(n){return j.isObject(n)?j.isArray(n)?n.slice():j.extend({},n):n},j.tap=function(n,t){return t(n),n};var S=function(n,t,r,e){if(n===t)return 0!==n||1/n==1/t;if(null==n||null==t)return n===t;n instanceof j&&(n=n._wrapped),t instanceof j&&(t=t._wrapped);var u=l.call(n);if(u!=l.call(t))return!1;switch(u){case"[object String]":return n==String(t);case"[object Number]":return n!=+n?t!=+t:0==n?1/n==1/t:n==+t;case"[object Date]":case"[object Boolean]":return+n==+t;case"[object RegExp]":return n.source==t.source&&n.global==t.global&&n.multiline==t.multiline&&n.ignoreCase==t.ignoreCase}if("object"!=typeof n||"object"!=typeof t)return!1;for(var i=r.length;i--;)if(r[i]==n)return e[i]==t;var a=n.constructor,o=t.constructor;if(a!==o&&!(j.isFunction(a)&&a instanceof a&&j.isFunction(o)&&o instanceof o)&&"constructor"in n&&"constructor"in t)return!1;r.push(n),e.push(t);var c=0,f=!0;if("[object Array]"==u){if(c=n.length,f=c==t.length)for(;c--&&(f=S(n[c],t[c],r,e)););}else{for(var s in n)if(j.has(n,s)&&(c++,!(f=j.has(t,s)&&S(n[s],t[s],r,e))))break;if(f){for(s in t)if(j.has(t,s)&&!c--)break;f=!c}}return r.pop(),e.pop(),f};j.isEqual=function(n,t){return S(n,t,[],[])},j.isEmpty=function(n){if(null==n)return!0;if(j.isArray(n)||j.isString(n))return 0===n.length;for(var t in n)if(j.has(n,t))return!1;return!0},j.isElement=function(n){return!(!n||1!==n.nodeType)},j.isArray=x||function(n){return"[object Array]"==l.call(n)},j.isObject=function(n){return n===Object(n)},A(["Arguments","Function","String","Number","Date","RegExp"],function(n){j["is"+n]=function(t){return l.call(t)=="[object "+n+"]"}}),j.isArguments(arguments)||(j.isArguments=function(n){return!(!n||!j.has(n,"callee"))}),"function"!=typeof/./&&(j.isFunction=function(n){return"function"==typeof n}),j.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))},j.isNaN=function(n){return j.isNumber(n)&&n!=+n},j.isBoolean=function(n){return n===!0||n===!1||"[object Boolean]"==l.call(n)},j.isNull=function(n){return null===n},j.isUndefined=function(n){return n===void 0},j.has=function(n,t){return f.call(n,t)},j.noConflict=function(){return n._=t,this},j.identity=function(n){return n},j.constant=function(n){return function(){return n}},j.property=function(n){return function(t){return t[n]}},j.matches=function(n){return function(t){if(t===n)return!0;for(var r in n)if(n[r]!==t[r])return!1;return!0}},j.times=function(n,t,r){for(var e=Array(Math.max(0,n)),u=0;n>u;u++)e[u]=t.call(r,u);return e},j.random=function(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))},j.now=Date.now||function(){return(new Date).getTime()};var T={escape:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;"}};T.unescape=j.invert(T.escape);var I={escape:new RegExp("["+j.keys(T.escape).join("")+"]","g"),unescape:new RegExp("("+j.keys(T.unescape).join("|")+")","g")};j.each(["escape","unescape"],function(n){j[n]=function(t){return null==t?"":(""+t).replace(I[n],function(t){return T[n][t]})}}),j.result=function(n,t){if(null==n)return void 0;var r=n[t];return j.isFunction(r)?r.call(n):r},j.mixin=function(n){A(j.functions(n),function(t){var r=j[t]=n[t];j.prototype[t]=function(){var n=[this._wrapped];return a.apply(n,arguments),z.call(this,r.apply(j,n))}})};var N=0;j.uniqueId=function(n){var t=++N+"";return n?n+t:t},j.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var q=/(.)^/,B={"'":"'","\\":"\\","\r":"r","\n":"n","	":"t","\u2028":"u2028","\u2029":"u2029"},D=/\\|'|\r|\n|\t|\u2028|\u2029/g;j.template=function(n,t,r){var e;r=j.defaults({},r,j.templateSettings);var u=new RegExp([(r.escape||q).source,(r.interpolate||q).source,(r.evaluate||q).source].join("|")+"|$","g"),i=0,a="__p+='";n.replace(u,function(t,r,e,u,o){return a+=n.slice(i,o).replace(D,function(n){return"\\"+B[n]}),r&&(a+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'"),e&&(a+="'+\n((__t=("+e+"))==null?'':__t)+\n'"),u&&(a+="';\n"+u+"\n__p+='"),i=o+t.length,t}),a+="';\n",r.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,"+"print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{e=new Function(r.variable||"obj","_",a)}catch(o){throw o.source=a,o}if(t)return e(t,j);var c=function(n){return e.call(this,n,j)};return c.source="function("+(r.variable||"obj")+"){\n"+a+"}",c},j.chain=function(n){return j(n).chain()};var z=function(n){return this._chain?j(n).chain():n};j.mixin(j),A(["pop","push","reverse","shift","sort","splice","unshift"],function(n){var t=e[n];j.prototype[n]=function(){var r=this._wrapped;return t.apply(r,arguments),"shift"!=n&&"splice"!=n||0!==r.length||delete r[0],z.call(this,r)}}),A(["concat","join","slice"],function(n){var t=e[n];j.prototype[n]=function(){return z.call(this,t.apply(this._wrapped,arguments))}}),j.extend(j.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}}),"function"==typeof define&&define.amd&&define("underscore",[],function(){return j})}).call(this);

(function () {"use strict";window.IQD.AdController.underscore = _.noConflict();})();

/*
 *  Copyright 2013 the original author or authors.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
window.IQD.AdController.DependencyInjectionContainer = {
    version: "0.3.3",
    createContext: function () {
        var ctx = {
            map: {}
        };

        ctx.entry = function (name) {
            return ctx.map[name];
        };

        ctx.register = function (name, type, args) {
            var entry = window.IQD.AdController.DependencyInjectionContainer.entry(name, ctx)
                .type(type)
                .args(args);
            ctx.map[name] = entry;
            return entry;
        };

        ctx.has = function (name) {
            return ctx.entry(name) != null;
        }

        ctx.get = function (name) {
            if (ctx.has(name))
                return ctx.entry(name).object();
            else
                throw "Object[" + name + "] is not registered";
        };

        ctx.create = function (name, args) {
            if (ctx.entry(name).strategy() != window.IQD.AdController.DependencyInjectionContainer.strategy.proto)
                throw "Attempt to create singleton object";

            if (ctx.has(name))
                return ctx.entry(name).create(args);
            else
                throw "Object[" + name + "] is not registered";
        };

        ctx.initialize = function () {
            for (var name in ctx.map) {
                var entry = ctx.entry(name);
                ctx.ready(ctx.inject(name, ctx.get(name), entry.dependencies()));
            }
        };

        ctx.clear = function () {
            this.map = {};
        };

        function removeSpaces(s) {
            while (s.indexOf(" ") >= 0) s = s.replace(" ", "")
            return s;
        }

        ctx.inject = function (name, o, dependencies) {
            dependencies = dependencies ? dependencies : o.dependencies;

            if (o && dependencies) {
                var depExpList = removeSpaces(dependencies).split(",");

                window.IQD.AdController.underscore.each(depExpList, function (depExp) {
                    if (depExp) {
                        var exp = window.IQD.AdController.DependencyInjectionContainer.dependencyExpression(depExp);

                        var dep = ctx.get(exp.name);

                        if (dep == null)
                            throw "Dependency [" + name + "." + exp.property + "]->[" + exp.name + "] can not be satisfied";

                        o[exp.property] = dep;
                    }
                });
            }

            return o;
        }

        ctx.ready = function (o) {
            if (typeof o.ready === 'function')
                o.ready();

            return o;
        }

        return ctx;
    },

    dependencyExpression: function (depExp) {
        var expression = {};

        var property = depExp;
        var name = depExp;

        if (depExp.indexOf("=") > 0) {
            var depExpParts = depExp.split("=");
            property = depExpParts[0];
            name = depExpParts[1];
        }

        expression.name = name;
        expression.property = property;

        return expression;
    },

    entry: function (name, ctx) {
        var entry = {};
        var name;
        var type;
        var object;
        var strategy = window.IQD.AdController.DependencyInjectionContainer.strategy.singleton;
        var args;
        var factory = window.IQD.AdController.DependencyInjectionContainer.factory.constructor;
        var dependencies;

        entry.create = function (newArgs) {
            return strategy(name, object, factory, type, newArgs ? newArgs : args, ctx, dependencies);
        };

        entry.object = function (o) {
            if (!arguments.length) {
                object = entry.create();
                return object;
            } else {
                object = o;
                return entry;
            }
        };

        entry.strategy = function (s) {
            if (!arguments.length) return strategy;
            strategy = s;
            return entry;
        };

        entry.type = function (t) {
            if (!arguments.length) return type;
            type = t;
            return entry;
        };

        entry.dependencies = function (d) {
            if (!arguments.length) return dependencies;
            dependencies = d;
            return entry;
        };

        entry.args = function (a) {
            if (!arguments.length) return args;
            args = a;
            return entry;
        };

        entry.factory = function (f) {
            if (!arguments.length) return factory;
            factory = f;
            return entry;
        };

        return entry;
    },

    strategy: {
        proto: function (name, object, factory, type, args, ctx, dependencies) {
            object = factory(type, args);
            return ctx.ready(ctx.inject(name, object, dependencies));
        },
        singleton: function (name, object, factory, type, args, ctx, dependencies) {
            if (!object)
                object = factory(type, args);

            return object;
        }
    },

    factory: {
        constructor: function (type, args) {
            if (args instanceof Array) {
                return eval(window.IQD.AdController.DependencyInjectionContainer.utils.invokeStmt(args, "new"));
            } else {
                return new type(args);
            }
        },

        func: function (type, args) {
            if (args instanceof Array) {
                return eval(window.IQD.AdController.DependencyInjectionContainer.utils.invokeStmt(args));
            } else {
                return type(args);
            }
        }
    }
};

window.IQD.AdController.DependencyInjectionContainer.utils = {};

window.IQD.AdController.DependencyInjectionContainer.utils.invokeStmt = function (args, op) {
    var exp = op ? op : "";
    exp += " type(";
    var i = 0;
    for (; i < args.length; ++i)
        exp += "args[" + i + "],";
    if (i > 0) exp = exp.slice(0, exp.length - 1);
    exp += ")";
    return exp;
};

(function(){window.IQD.AdController.Constants.PositionVars={LOADING_MODE:"loadMode",ENABLED:"enabled",TEMPLATE:"template",SAS_FORMAT_ID:"sas_format_id",CLOSURE_TEMPLATE:"closure_template",CONTAINER_TEMPLATE:"container_template",DOM_ELEMENT_ID:"dom_id"};window.IQD.AdController.Constants.Instructions={DISABLE_POSITIONS:"$off",SUBSITE_HANDLE:"$handle",AUTO_SIZE_FRAMES:"$autoSizeFrames",SIZE_MEASUREMENT_DELAY:"$sizeMeasurementDelay",FRAME_LOADER_URI:"$frameLoaderUri",LOCAL_SCRIPT_SPLIT_MARKER_REGEX:/(?:^\/\/\s*AdControllerNewScript\s*$)|(?:^\/\*\s*AdControllerNewScript\s*\*\/\s*$)/mi};
window.IQD.AdController.Constants.ConfigTree={ROOT_NODE:"adc_root_node",PARENT_NODE:"adc_parent",POSITIONS:"adc_positions",VARS:"adc_config",INDEX:"adc_index",SCRIPTS:"adc_scripts",NODE_CONFIG:"adc_nodes",ADAPTER_NAME:"adc_adapter",LOCAL_SCRIPT:"adc_local_script",LOCAL_STYLE:"adc_local_style",SHUTDOWN_MATRIX:"adc_shutdown_matrix",DEPEDENCIES:"adc_dependencies",DELIVERY_DATE:"adc_delivery_date",DELIVERY_VERSION:"adc_delivery_version"};window.IQD.AdController.Constants.Messages={NOT_INITIALIZED:"The AdController is not initialized",
GPT_STAGING_PHASE_REQUIRED:"Using GPT in synchronous rendering mode requires the AdController.stage() method to be called from a top-level script element before initialization.",SKIPPED_RENDERING:function(c,f){return"Skipped invoking \u00b4"+f+"()\u00b4 on adapter for \u00b4"+c+"\u00b4 because the position is disabled"},TEMPLATE_CANCELLED:function(c,f){return"Rendering for \u00b4"+c+"\u00b4 cancelled by template with message: \u00b4"+f+"\u00b4"},RENDER_TARGET_NOT_FOUND:function(c,f){return"Could not find a DOM element with ID \u00b4"+
c+"\u00b4 when rendering position \u00b4"+f+"\u00b4"},CANNOT_RELOAD_POSITION:function(c){return"Attempted to reload the non-reloadable position \u00b4"+c+"\u00b4"},NO_MESSAGE:"no message",ALREADY_INITIALIZED:"The AdController was already initialized",NEVER_INITIALIZED:"The AdController was never initialized before",SUBSITE_HANDLE_MISSING:"No subsite handle was given",INVALID_CMS_OBJECT:"Invalid CmsObject given",INVALID_ADAPTER_SERVICE:"The adapter name that was resolved from SiteConfig is invalid or does not have an associated service.",
INVALID_POSITION_KEY:function(c){return"The position \u00b4"+c+"\u00b4 does not exist."},MANDATORY_PARAMETER_MISSING:function(c,f){return"undefined"===typeof f?"Required parameter \u00b4"+c+"\u00b4 is missing.":"Required parameter \u00b4"+c+"\u00b4 for position `"+f+"` is missing."},MANDATORY_PARAMETER_EMPTY:function(c){return"Required parameter \u00b4"+c+"\u00b4 cannot be empty."},PARAMETER_VALUE_INVALID:function(c,f){return"undefined"===typeof f?"Value of parameter `"+c+"` is invalid.":"Value of parameter `"+
c+"` for position `"+f+"` is invalid."},POSITION_NOT_RENDERED:function(c){return"Position "+c+" not rendered."},POSITION_DISABLED:function(c,f){return'Position "'+c+'" has been disabled in '+f+" and will not be rendered."},CLOSURE_REQUIRED:function(c,f){return"The template for position \u00b4"+c+"\u00b4 must return a closure, but return type was \u00b4"+f+"\u00b4."},DEPENDENCY_NOT_FOUND:function(c,f){return"The dependency \u00b4"+f+"\u00b4 in category \u00b4"+c+"\u00b4 could not be found."},FAILED_LOADING_DEPENDENCY:function(c,
f){return"The dependency at path \u00b4"+f+"\u00b4 ("+c+") could not be loaded. This probably causes the AdServer-Adapter to be inoperative."},INVALID_ARGUMENT:function(c,f,e,d){return"Argument "+f+" given to \u00b4"+c+"\u00b4 is expected to be of type \u00b4"+e+"\u00b4, but got \u00b4"+d+"\u00b4 instead."},CLOSURE_SHOULD_INVOKE_METHOD:function(c,f,e){return"The closure `"+f+"` for position `"+c+"` should invoke the method `"+e+"`."},ARGUMENT_NOT_IN_ARRAY:function(c,f,e){return"Argument "+f+" given to \u00b4"+
c+"\u00b4 must be one of the following: \u00b4"+e.join(", ")+"\u00b4"},ARGUMENT_EMPTY:function(c,f){return"Argument "+f+" given to \u00b4"+c+"\u00b4 cannot be empty."},INVALID_NON_ENCODED_QUERY_ARG:function(c){return"Non-encoded query arguments are not allowed to contain the characters for \u00b4queryArgSeparator\u00b4, \u00b4keyValueSeparator\u00b4 and \u00b4startQuery\u00b4 as given in the UrlBuilder constructor: \u00b4"+c.join("")+"\u00b4"}};window.IQD.AdController.Constants.MessageTypes={ERROR:"error",
EXPECTED_ERROR:"expected_error",WARNING:"warning",INFO:"info"};window.IQD.AdController.Constants.LoadingModes={SYNC_INLINE:"sync-inline",SYNC_DEFERRED:"sync-deferred",ASYNC_INLINE:"async-inline",ASYNC_DEFERRED:"async-deferred"};window.IQD.AdController.Constants.CommonConfigVars={DEFINITION_MODE:"defMode",LOADING_MODE:"loadMode",SLOT_TEMPLATE:"slot_template",SERVICE_TEMPLATE:"template",LIB_TEMPLATE_SYNC:"template_lib_sync",LIB_TEMPLATE_ASYNC:"template_lib_async"};window.IQD.AdController.Constants.DefinitionModes=
{ON_INITIALIZE:"initialize",ON_RENDER:"render"};window.IQD.AdController.Constants.GlobalLoadingModes={ASYNC:"async",SYNC:"sync"}})();(function(){window.AdControllerContainer=window.IQD.AdController.DependencyInjectionContainer.createContext()})();
(function(c){var f,e;e=String.prototype.trim;f=function(){function d(){}d.trim=function(a){return"string"!==typeof a?a:e?e.call(a):this._trim(a)};d._trim=function(a){return a.replace(/^\s+|\s+$/gm,"")};d.isAssocArray=function(a){return c.isObject(a)&&"function"!==typeof a&&!c.isArray(a)};d.inherit=function(a,b){function g(){this.constructor=a}for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);g.prototype=b.prototype;try{a.prototype=new g,a.__super__=b.prototype}catch(d){}return a};d.isInternetExplorer=
function(){return-1!==this.getInternetExplorerVersion()};d.getInternetExplorerVersion=function(){var a;"Microsoft Internet Explorer"===window.navigator.appName&&(a=window.navigator.userAgent.match(/MSIE (\d+)(?:\.(\d+))?/));"Netscape"===window.navigator.appName&&(a=window.navigator.userAgent.match(/Trident\/.*rv:(\d+)(?:\.(\d+))?/));if(null===a)return-1;var b=a[1];a=a[2];"undefined"===typeof a&&(a=0);return parseFloat(b+"."+a)};d.compareInternetExplorerVersion=function(a,b){var g=this.getInternetExplorerVersion();
if(-1===g)return!1;switch(a){case "=":return g===b;case ">":return g>b;case "<":return g<b;case "<=":return g<=b;case ">=":return g>=b}};d._serializeArgument=function(a){var b;if("undefined"===typeof a)return"void 0";if(null===a)return"null";if("string"===typeof a)return"'"+this.addslashes(a)+"'";if("number"===typeof a)return a;if(c.isArray(a)){b=[];for(var g=0;g<a.length;g++)b.push(this._serializeArgument(a[g]));return"["+b.join(",")+"]"}if("boolean"===typeof a)return a?"true":"false";throw Error("Quoting not supported for arguments of type \u00b4"+
typeof a+"\u00b4.");};d._serializeArguments=function(a){var b=[],g;c.isArray(a)||(a=[a]);g=a.length;for(var d=0;d<g;d++)b.push(this._serializeArgument(a[d]));return b};d.addslashes=function(a){return(a+"").replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0")};d.createSerializedPublisher=function(a,b,g){b=this._serializeArguments(b);b=0===b.length?"":b.join(",");g=g?"parent":"window";return g+".AdController.getEventDispatcher().publish(new "+g+".IQD.AdController."+a+"("+b+"));"};d.createSerializedDispatcher=
function(a,b,g){b=this._serializeArguments(b);b=0===b.length?"":b.join(",");g=g?"parent":"window";return g+".AdController.getEventDispatcher().dispatch(new "+g+".IQD.AdController."+a+"("+b+"));"};d.prop=function(a,b,g){return"undefined"!==typeof a&&c.isObject(a)&&c.has(a,b)?a[b]:g};d.script=function(a,b){return this.tag("script",b,a)};d.style=function(a,b){return this.tag("style",b,a)};d.tag=function(a,b,g){var d,e,f=[];c.isObject(g)||(g={});for(d in g)e=g[d],f.push(d+'="'+c.escape(e)+'"');b||(b=
"");return"<"+a+(f.length?" ":"")+f.join(" ")+">"+b+"</"+a+">"};d.has=function(a,b){return c.isObject(a)?c.has(a,b):!1};d.empty=function(a){return"undefined"===typeof a||null===a||"string"===typeof a&&0===a.length||c.isArray(a)&&0===a.length?!0:c.isObject(a)&&0===c.keys(a).length};d.def=function(a){var b,g,d;c.isArray(a)||(a=[a]);g=0;for(d=a.length;g<d;g++)if(b=a[g],"undefined"===typeof b)return!1;return!0};d.rpadzero=function(a,b){for(a=""+a;a.length<b;)a="0"+a;return a};d.deepMerge=function(a,b){var g,
d,e,f,h,k;e={};h=0;for(k=arguments.length;h<k;h++)if(d=arguments[h],"object"===typeof d)for(g in d)d.hasOwnProperty(g)&&(f=d[g],e.hasOwnProperty(g)?this.isAssocArray(f)&&this.isAssocArray(e[g])?e[g]=this.deepMerge(e[g],f):c.isArray(f)&&c.isArray(e[g])?e[g]=e[g].concat(f):e[g]=f:e[g]=f);return e};return d}();window.IQD.AdController.ADCU=f})(window.IQD.AdController.underscore);
(function(c,f,e){var d;d=function(){function a(b,a){this.vars=b;this.pvars=a;this.fifHeight=this.fifWidth=0;this.clockArgs={}}a.prototype.cvars=[];a.prototype.configureClock=function(b){this.clockArgs=f.pick(b,"enabled","pulseCount","pulseFrequency")};a.prototype.createUrlBuilder=function(b){return e.create("UrlBuilder",b)};a.prototype.getCurrentProtocol=function(){return window.location.protocol.replace(/[:]/,"")};a.prototype.setIframeDimensions=function(b,a){this.fifWidth=b;this.fifHeight=a};a.prototype.extractSmallestSize=
function(b){var a=[],d=!1,e=0,f=0,h=0,k=0,k=[],h="";"string"===typeof b&&(a=b.split(","));for(key in a)if(h=c.trim(a[key]),"string"===typeof h&&h.match(/^\d+x\d+$/))(k=h.split("x"),h=parseInt(k[0]),k=parseInt(k[1]),d)?e*f>h*k&&(e=h,f=k):(e=h,f=k,d=!0);return{width:e,height:f}};a.prototype.getIframeWidth=function(){return this.fifWidth};a.prototype.getIframeHeight=function(){return this.fifHeight};a.prototype.getClockArguments=function(){return this.clockArgs};a.prototype.hasNonEmpty=function(){for(var b=
0,a=arguments.length;b<a;b++)if(arg=arguments[b],c.empty(arg))return!1;return!0};a.prototype.has=function(){for(var b=0,a=arguments.length;b<a;b++)if(arg=arguments[b],!c.def(arg))return!1;return!0};a.prototype.cancel=function(b){if("string"!==typeof b||0===b.length)b="Template processing cancelled";throw new window.IQD.AdController.InterruptionError(b);};return a}();window.IQD.AdController.ExecutionContext=d})(window.IQD.AdController.ADCU,window.IQD.AdController.underscore,window.AdControllerContainer);
(function(c,f,e){var d;d=function(){function a(b,a,d){this._textMatcher={};this._regexMatcher=[];this._logger=d;this.options=f.extend({deserialize:!1,filter:!1,unique:!1,serializationChar:",",outputFormat:"keep"},b);this._generateMatchers(a)}a.prototype._generateMatchers=function(b){var a,d,c,f;for(c in b){d=b[c];for(var h=0,k=d.length;h<k;h++)if(a=d[h],"regex:"===a.substring(0,6).toLocaleLowerCase()){try{f=new RegExp(a.substring(6),"ig")}catch(n){this._logger&&"function"===typeof this._logger.log&&
this._logger.log("Failed to build regular expression for target \u00b4"+c+"\u00b4: "+n.message,e.MessageTypes.ERROR)}this._regexMatcher.push({expression:f,replacement:c})}else this._textMatcher[a]=c}};a.prototype._execRegexMatchers=function(b){for(var a=0;a<this._regexMatcher.length;a++)if(regexMatcher=this._regexMatcher[a],regexMatcher.expression.lastIndex=0,regexMatcher.expression.test(b))return b.replace(regexMatcher.expression,regexMatcher.replacement);return null};a.prototype.transform=function(b){var a,
d=[],e=[],m;if("string"===typeof b)a="string",this.options.deserialize?e=b.split(this.options.serializationChar):e.push(b);else if(f.isArray(b))a="array",e=b;else return b;for(var h=0,k=e.length;h<k;h++)if(b=e[h],b=c.trim(b),f.has(this._textMatcher,b))d.push(this._textMatcher[b]);else{if(this._regexMatcher.length&&(m=this._execRegexMatchers(b),null!==m)){d.push(m);continue}this.options.filter||d.push(b)}this.options.unique&&(d=f.uniq(d));return"string"===("keep"===this.options.outputFormat?a:this.options.outputFormat)?
d.join(this.options.serializationChar):d};return a}();window.IQD.AdController.Transformer=d})(window.IQD.AdController.ADCU,window.IQD.AdController.underscore,window.IQD.AdController.Constants);
(function(c){var f;f=function(){function e(d,a){if("number"!==typeof d)throw Error(c.Messages.INVALID_ARGUMENT("Mutex.constructor",1,"number",typeof d));if(0>d)throw Error("Mutex timeout cannot be negative.");if(0===d&&"function"!==typeof a)throw Error("Mutex must either have a timeout or a valid verify function.");this._timeout=d;this._verifyFunction=a||function(){return!1};this._signaled=!1}e.prototype.test=function(){this._signaled=this._verifyFunction()};e.prototype.isSignaled=function(){return this._signaled};
e.prototype.getTimeout=function(){return this._timeout};return e}();window.IQD.AdController.Mutex=f})(window.IQD.AdController.Constants);(function(){var c;c=function(){function c(){}c.prototype.log=function(c,d,a){return!0};return c}();window.IQD.AdController.NoLogger=c})();
(function(c){var f;f=function(e){function d(a){this.message=a;this.name="InterruptionError";"function"===typeof Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}c.inherit(d,e);return d}(Error);window.IQD.AdController.InterruptionError=f})(window.IQD.AdController.ADCU);
(function(c){c=function(){function c(){}c.prototype.dependencies="_logger=Logger";c.prototype._logger=null;c.prototype.containAll=function(c){var d,a;if("object"===typeof c)for(d in c)a=c[d],"function"!==typeof a||this._isPrivate(d)||(c[d]=this.contain(a,c))};c.prototype.contain=function(c,d){return this._wrap(c,d)};c.prototype.handle=function(c){this._logger&&this._logger.log&&"function"===typeof this._logger.log&&this._logger.log(c)};c.prototype._isPrivate=function(c){return"string"===typeof c&&
"_"===c.substring(0,1)};c.prototype._wrap=function(c,d){return c};return c}();window.IQD.AdController.BaseExceptionHandler=c})(window.IQD.AdController.ADCU);(function(c){var f;f=function(e){function d(){}c.inherit(d,e);d.prototype._wrap=function(a,b){var g;g=this;return function(){var c;try{c=a.apply(b,arguments)}catch(d){g.handle(d),c=!1}return c}};return d}(window.IQD.AdController.BaseExceptionHandler);window.IQD.AdController.ExceptionHandler=f})(window.IQD.AdController.ADCU);
(function(c,f,e){c=function(){function c(){}c.prototype.dependencies="_logger=Logger, _adController=AdController, _staging=Staging, _eventDispatcher=EventDispatcher";c.prototype._logger=null;c.prototype._adController=null;c.prototype._staging=null;c.prototype._eventDispatcher=null;c.prototype._nodeConfig=null;c.prototype._renderedPositions={};c.prototype.initialize=function(a){this._nodeConfig=a};c.prototype.finalize=function(){this._logUnrenderedPositions();return[]};c.prototype._handleTemplateException=
function(a,b){if(b instanceof window.IQD.AdController.InterruptionError)return this._logger.log(f.Messages.TEMPLATE_CANCELLED(a,b.message||f.Messages.NO_MESSAGE),f.MessageTypes.INFO),!1;throw b;};c.prototype._invokeBeforeTemplate=function(a,b,c){a=new window.IQD.AdController.BeforeTemplateEvent(a,b,c);this._eventDispatcher.dispatch(a)};c.prototype._logUnrenderedPositions=function(){e.each(e.keys(this._nodeConfig._positions),function(a){var b=e.contains(this._adController._siteConfig._disabledPositions,
a)||!this._nodeConfig.isPositionEnabled(a),c=e.contains(e.keys(this._renderedPositions),a),d=c&&void 0!==this._renderedPositions[a].status&&!this._renderedPositions[a].status;b||c&&!d||this._logger.log(f.Messages.POSITION_NOT_RENDERED(a),f.MessageTypes.WARNING)},this)};c.prototype._beforeReload=function(a){var b=this.isReloadable(a);b||this._logger.log(f.Messages.CANNOT_RELOAD_POSITION(a),f.MessageTypes.WARNING);return b};return c}();window.IQD.AdController.AdServerAdapter=c})(window.IQD.AdController.ADCU,
window.IQD.AdController.Constants,window.IQD.AdController.underscore);
(function(c,f,e,d){e=function(a){function b(){b.__super__.constructor.apply(this,arguments)}c.inherit(b,a);b.prototype._nodeConfig=null;b.prototype._state={};b.prototype.stage=function(b){if(this._nodeConfig=b){var a=this._nodeConfig.getVar("ffa_stage");a&&f.template("<% "+a+" %>",{nodeConfig:b,state:this._state})}};b.prototype.reinitialize=function(b){if(this._nodeConfig=b){var a=this._nodeConfig.getVar("ffa_reinitialize");a&&f.template("<% "+a+" %>",{nodeConfig:b,state:this._state})}};b.prototype.initialize=
function(b){if(this._nodeConfig=b){var a=this._nodeConfig.getVar("ffa_initialize");a&&f.template("<% "+a+" %>",{nodeConfig:b,state:this._state})}};b.prototype.finalize=function(){if(this._nodeConfig){var b=this._nodeConfig.getVar("ffa_finalize");if(b)return f.template("<% "+b+" %>",{state:this._state})}return[]};b.prototype.render=function(b,a){if(this._nodeConfig){var c=this._nodeConfig.getVar("ffa_render");if(c)return f.template("<% "+c+" %>",{pkey:b,domTarget:a,state:this._state})}return!1};b.prototype.setRendered=
function(b){if(this._nodeConfig){var a=this._nodeConfig.getVar("ffa_setRendered");a&&f.template("<% "+a+" %>",{pkey:b,state:this._state})}};b.prototype.isReloadable=function(b){if(this._nodeConfig){var a=this._nodeConfig.getVar("ffa_isReloadable");if(a)return f.template("<% "+a+" %>",{pkey:b,state:this._state})}return!1};b.prototype.startLoadCycle=function(){if(this._nodeConfig){var b=this._nodeConfig.getVar("ffa_startLoadCycle");b&&f.template("<% "+b+" %>",{state:this._state})}};b.prototype.reload=
function(b,a){if(this._nodeConfig){var c=this._nodeConfig.getVar("ffa_reload");if(c)return f.template("<% "+c+" %>",{pkey:b,domTarget:a,state:this._state})}return!1};return b}(window.IQD.AdController.AdServerAdapter);window.IQD.AdController.FFAAdapter=e;c.def(window.AdControllerContainer)&&null!==window.AdControllerContainer&&window.AdControllerContainer.register("FFAAdapter",window.IQD.AdController.FFAAdapter).strategy(window.IQD.AdController.DependencyInjectionContainer.strategy.proto)})(window.IQD.AdController.ADCU,
window.IQD.AdController.underscore,window.IQD.AdController.Constants,window.AdControllerContainer);
(function(c,f,e){var d;d=function(){function a(b){this._originalDisabledPositions=c.prop(b,e.ConfigTree.SHUTDOWN_MATRIX,[]);this._disabledPositions=c.prop(b,e.ConfigTree.SHUTDOWN_MATRIX,[]);this._logger=null;this._index=c.prop(b,e.ConfigTree.INDEX,{});this._adapterName=c.prop(b,e.ConfigTree.ADAPTER_NAME,null);this._rootNode=c.prop(b,e.ConfigTree.ROOT_NODE,null);this._nodeConfig=c.prop(b,e.ConfigTree.NODE_CONFIG,{});this._dependencies=c.prop(b,e.ConfigTree.DEPEDENCIES,{});this._scripts=c.prop(b,e.ConfigTree.SCRIPTS,
[]);this._deliveryDate=c.prop(b,e.ConfigTree.DELIVERY_DATE,null);this._deliveryVersion=c.prop(b,e.ConfigTree.DELIVERY_VERSION,null)}a.prototype.dependencies="_logger=Logger";a.prototype.resolve=function(b){var a,d={},l,m,h;b=c.prop(this._index,b,this._rootNode);if(null===b)return new window.IQD.AdController.NodeConfig({},{});l=this._assembleNodeConfiguration(b);h=l[e.ConfigTree.VARS];for(a in l[e.ConfigTree.POSITIONS])d[a]=f.clone(l[e.ConfigTree.POSITIONS][a]);b=l[e.ConfigTree.LOCAL_SCRIPT];l=l[e.ConfigTree.LOCAL_STYLE];
for(a in d)d.hasOwnProperty(a)&&(m=d[a],0<=f.indexOf(this._disabledPositions,a)&&(m[e.PositionVars.ENABLED]=!1));return new window.IQD.AdController.NodeConfig(h,d,b,l)};a.prototype.hasDependencyCategory=function(b){return c.has(this._dependencies,b)};a.prototype.hasDependency=function(b,a){return this.hasDependencyCategory(b)&&c.has(this._dependencies[b],a)};a.prototype.getDependency=function(b,a){return this.hasDependency(b,a)?this._dependencies[b][a]:null};a.prototype.resetDisabledPositions=function(){this._disabledPositions=
this._originalDisabledPositions};a.prototype.disablePositions=function(b,a){if(!f.isArray(b)){var c=e.Messages.INVALID_ARGUMENT("Staging.disablePositions",1,"array",typeof b);throw Error(c);}f.each(b,function(b){this._logger.log(e.Messages.POSITION_DISABLED(b,a),e.MessageTypes.WARNING)},this);this._disabledPositions=this._disabledPositions.concat(b)};a.prototype.hasSubsite=function(b){return c.has(this._index,b)};a.prototype.getSubsiteKeys=function(){return f.keys(this._index)};a.prototype.getAdapterName=
function(){return this._adapterName};a.prototype.hasScripts=function(b){b=b?"pre":"post";return f.isObject(this._scripts)&&f.isArray(this._scripts[b])&&0<this._scripts[b].length};a.prototype.getScripts=function(b){return this._scripts[b?"pre":"post"]};a.prototype.createEmptyNodeConfig=function(){var b={};b[e.ConfigTree.VARS]={};b[e.ConfigTree.POSITIONS]={};b[e.ConfigTree.LOCAL_SCRIPT]={};b[e.ConfigTree.LOCAL_STYLE]={};return b};a.prototype._assembleNodeConfiguration=function(b){var a,d,f,m;d=this.createEmptyNodeConfig();
a=c.prop(this._nodeConfig,b,d);m=c.prop(a,e.ConfigTree.VARS,{});b=c.prop(a,e.ConfigTree.POSITIONS,{});d=c.prop(a,e.ConfigTree.LOCAL_SCRIPT,"");f=c.prop(a,e.ConfigTree.LOCAL_STYLE,"");a=c.prop(a,e.ConfigTree.PARENT_NODE,null);null!=a&&(a=this._assembleNodeConfiguration(a),m=c.deepMerge(a[e.ConfigTree.VARS],m),b=c.deepMerge(a[e.ConfigTree.POSITIONS],b),d=d||a[e.ConfigTree.LOCAL_SCRIPT],f=f||a[e.ConfigTree.LOCAL_STYLE]);a={};a[e.ConfigTree.VARS]=m;a[e.ConfigTree.POSITIONS]=b;a[e.ConfigTree.LOCAL_SCRIPT]=
d;a[e.ConfigTree.LOCAL_STYLE]=f;return a};a.prototype.getDeliveryDate=function(){return this._deliveryDate};a.prototype.getDeliveryVersion=function(){return this._deliveryVersion};return a}();window.IQD.AdController.SiteConfig=d})(window.IQD.AdController.ADCU,window.IQD.AdController.underscore,window.IQD.AdController.Constants);
(function(c,f,e){var d;d=function(){function a(a,c,d,e){this._vars={};this._positions={};this._style=this._script="";f.isObject(a)&&(this._vars=a);f.isObject(c)&&(this._positions=c);"string"===typeof d&&(this._script=d);"string"===typeof e&&(this._style=e)}a.prototype.hasVar=function(a){return c.has(this._vars,a)};a.prototype.getVar=function(a){return c.prop(this._vars,a)};a.prototype.isPositionEnabled=function(a){return this.hasPosition(a)&&this.hasPositionVar(a,e.PositionVars.ENABLED)?!0===this.getPositionVar(a,
e.PositionVars.ENABLED):!1};a.prototype.hasPosition=function(a){return c.has(this._positions,a)};a.prototype.hasPositionVar=function(a,d){return this.hasPosition(a)&&c.has(this._positions[a],d)};a.prototype.getPositionVar=function(a,d){return c.prop(this._positions[a],d)};a.prototype.getKnownPositions=function(){return f.keys(this._positions)};a.prototype.hasScript=function(){return null!==this._script};a.prototype.getScript=function(){return this._script};a.prototype.hasStyle=function(){return null!==
this._style};a.prototype.getStyle=function(){return this._style};a.prototype.createExecutionContext=function(a){a=[this._vars,c.prop(this._positions,a,{})];return window.AdControllerContainer.create("ExecutionContext",a)};return a}();window.IQD.AdController.NodeConfig=d})(window.IQD.AdController.ADCU,window.IQD.AdController.underscore,window.IQD.AdController.Constants);
(function(){window.IQD.AdController.AbstractEvent=function(){function c(){}c.prototype.satisfies=function(){return!1};c.prototype.equals=function(){return!1};c.prototype.toString=function(){return""};return c}})();
(function(c,f){var e,d,a,b,g,p,l,m,h,k,n;e=function(a){function b(a){this.dependencyName=a||null}c.inherit(b,a);b.prototype.satisfies=function(a){return a instanceof b?null===a.dependencyName?!0:a.dependencyName===this.dependencyName:!1};b.prototype.equals=function(a){return a instanceof b?a.dependencyName===this.dependencyName:!1};b.prototype.toString=function(){return"dependency_ready"};return b}(window.IQD.AdController.AbstractEvent);d=function(a){function b(a){this.pkey=a||null}c.inherit(b,a);
b.prototype.satisfies=function(a){return a instanceof b?null===a.pkey?!0:a.pkey===this.pkey:!1};b.prototype.equals=function(a){return a instanceof b?a.pkey===this.pkey:!1};b.prototype.toString=function(){return"position_ready"};return b}(window.IQD.AdController.AbstractEvent);l=function(a){function b(){}c.inherit(b,a);b.prototype.toString=function(){return"after_initialization"};return b}(window.IQD.AdController.AbstractEvent);m=function(a){function b(){}c.inherit(b,a);b.prototype.toString=function(){return"after_reinitialization"};
return b}(window.IQD.AdController.AbstractEvent);h=function(a){function b(a){this.requestedPositions=a}c.inherit(b,a);b.prototype.toString=function(){return"after_finalization"};return b}(window.IQD.AdController.AbstractEvent);k=function(a){function b(){}c.inherit(b,a);b.prototype.toString=function(){return"gpt_completion"};return b}(window.IQD.AdController.AbstractEvent);n=function(a){function b(){}c.inherit(b,a);b.prototype.toString=function(){return"gpt_completion_timeout"};return b}(window.IQD.AdController.AbstractEvent);
p=function(a){function d(a,b,c){this.pkey=a;this.frame=b;this.context=c}c.inherit(b,a);d.prototype.toString=function(){return"frame_deployed"};return d}(window.IQD.AdController.AbstractEvent);g=function(){function a(b){this._result=null;this._task=b}a.prototype.isFirstInvocation=function(){return 1===this._task.iteration};a.prototype.getIteration=function(){return this._task.iteration};a.prototype.getPositionKey=function(){return this._task.pkey};a.prototype.getDomTarget=function(){return this._task.domTarget};
a.prototype.allowsDeferring=function(){return!this._task.sync};a.prototype.skip=function(){this._result="skip"};a.prototype.wait=function(a){if(!this.allowsDeferring())throw Error("Invalid decision for RenderControllerEvent: Waiting is not possible for synchronous render tasks.");if(!(a instanceof window.IQD.AdController.Mutex))throw Error("WaitObject provided to RenderControllerEvent.wait() must be a instance of window.IQD.AdController.Mutex");this._result="wait";this._waitObject=a};a.prototype.detach=
function(a){if(!this.allowsDeferring())throw Error("Invalid decision for RenderControllerEvent: Detaching is not possible for synchronous render tasks.");if(!(a instanceof window.IQD.AdController.Mutex))throw Error("WaitObject provided to RenderControllerEvent.detach() must be a instance of window.IQD.AdController.Mutex");this._result="detach";this._waitObject=a};a.prototype.now=function(){this._result="render"};a.prototype.getResult=function(){return this._result};a.prototype.getWaitObject=function(){return this._waitObject};
a.prototype.createMutex=function(a,b){return new window.IQD.AdController.Mutex(a,b)};a.prototype.toString=function(){return"render_controller"};return a}();b=function(a){function b(a,c,d,e){this.pkey=a||null;this.frame=c||null;this.width=d||null;this.height=e||null}c.inherit(b,a);b.prototype.satisfies=function(a){return a instanceof b?null===a.pkey?!0:a.pkey===this.pkey:!1};b.prototype.equals=function(a){return a instanceof b?a.pkey===this.pkey:!1};b.prototype.toString=function(){return"auto_resize"};
return b}(window.IQD.AdController.AbstractEvent);a=function(a){function b(a,c,d){this.pkey=a||null;this.domTarget=c||null;this.ExecutionContext=d||null}c.inherit(b,a);b.prototype.satisfies=function(a){return a instanceof b?null===a.pkey?!0:a.pkey===this.pkey:!1};b.prototype.equals=function(a){return a instanceof b?a.pkey===this.pkey:!1};b.prototype.toString=function(){return"before_template"};return b}(window.IQD.AdController.AbstractEvent);window.IQD.AdController.PositionReadyEvent=d;window.IQD.AdController.DependencyReadyEvent=
e;window.IQD.AdController.AutoResizeEvent=b;window.IQD.AdController.BeforeTemplateEvent=a;window.IQD.AdController.RenderControllerEvent=g;window.IQD.AdController.FrameDeployedEvent=p;window.IQD.AdController.AfterInitializationEvent=l;window.IQD.AdController.AfterReinitializationEvent=m;window.IQD.AdController.AfterFinalizationEvent=h;window.IQD.AdController.GptCompletionEvent=k;window.IQD.AdController.GptCompletionTimeoutEvent=n})(window.IQD.AdController.ADCU,window.AdControllerContainer);
(function(c,f,e,d){c=function(){function a(){}a.prototype.dependencies="_siteConfig=SiteConfig, _logger=Logger, _eventDispatcher=EventDispatcher";a.prototype._siteConfig=null;a.prototype._logger=null;a.prototype._eventDispatcher=null;a.prototype.appendScript=function(a){if("string"!==typeof a)throw a=d.Messages.INVALID_ARGUMENT("Staging.appendScript",1,"string",typeof a),Error(a);if(0<a.length){a=this._splitScript(a);for(var c=0;c<a.length;c++){var e=document.createElement("script");e.setAttribute("type",
"text/javascript");e.text=a[c];document.head.appendChild(e)}return!0}return!1};a.prototype._splitScript=function(a){a=a.split(d.Instructions.LOCAL_SCRIPT_SPLIT_MARKER_REGEX);for(var c=[],e=0;e<a.length;e++)c.push(a[e].replace(/^(\n|\s)*/,"").replace(/(\n|\s)*$/,""));return c};a.prototype.appendStylesheet=function(a){if("string"!==typeof a)throw a=d.Messages.INVALID_ARGUMENT("Staging.appendStylesheet",1,"string",typeof a),Error(a);if(0<a.length){var c=document.createElement("style");c.appendChild(document.createTextNode(a));
document.head.appendChild(c);return!0}return!1};return a}();window.IQD.AdController.Staging=c})(window.IQD.AdController.ADCU,window.IQD.AdController.underscore,window.AdControllerContainer,window.IQD.AdController.Constants);
(function(c,f,e){f=function(){function d(){this._publishedEvents={};this._subscribersByEvent={};this._handlersByEvent={}}d.prototype.dependencies="_logger=Logger";d.prototype._logger=null;d.prototype.on=function(a,b){this._handlersByEvent[a]||(this._handlersByEvent[a]=[]);this._handlersByEvent[a].push(b)};d.prototype.off=function(a,b){var c=this._handlersByEvent[a]||[];this._handlersByEvent[a]=b?e.filter(c,function(a){return a!==b}):[]};d.prototype.dispatch=function(a){e.each(this._handlersByEvent[a.toString()]||
[],function(b){b(a)})};d.prototype.subscribe=function(a,b,d){var e=a.toString(),f;c.has(this._subscribersByEvent,e)||(this._subscribersByEvent[e]=[]);f=this._getPublishedEvent(a);null!==f&&b(f);(null===f||null!==f&&!1===d)&&this._subscribersByEvent[e].push({event:a,callback:b,dequeue:d})};d.prototype.publish=function(a){var b=a.toString(),d,e=!1;c.has(this._publishedEvents,b)||(this._publishedEvents[b]=[]);d=this._publishedEvents[b];for(var f=0;f<d.length;f++)if(d[f].equals(a)){e=!0;break}e||this._publishedEvents[b].push(a);
this._invokeSubscribers(a)};d.prototype._getPublishedEvent=function(a){for(var b=a.toString(),b=c.has(this._publishedEvents,b)?this._publishedEvents[b]:[],d=0;d<b.length;d++)if(b[d].satisfies(a))return b[d];return null};d.prototype._invokeSubscribers=function(a){var b=a.toString(),d,e=[];d=c.has(this._subscribersByEvent,b)?this._subscribersByEvent[b]:[];for(var f=0;f<d.length;f++){if(a.satisfies(d[f].event)&&(d[f].callback(a),d[f].dequeue))continue;e.push(d[f])}this._subscribersByEvent[b]=e};return d}();
window.IQD.AdController.EventDispatcher=f})(window.IQD.AdController.ADCU,window.IQD.AdController.Constants,window.IQD.AdController.underscore);
(function(c){var f;f=function(){function e(){this._queue=[];this._state=null;this._autoProcess=!0;this._renderResults={};this.setReady()}e.prototype.dependencies="_eventDispatcher=EventDispatcher";e.prototype._eventDispatcher=null;e.prototype.isProcessed=function(d){return c.has(this._renderResults,d)};e.prototype.getRenderResult=function(c){return this.isProcessed(c)?this._renderResults[c]:null};e.prototype.setAutoProcess=function(c){this._autoProcess=c};e.prototype.reset=function(){this._renderResults=
{}};e.prototype.run=function(c,a,b){c={pkey:c,domTarget:a,renderer:b,iteration:0,detached:!1,sync:!0,renderResult:!1};this.processSingleTask(c);return c.renderResult};e.prototype.queue=function(c,a,b){this._queue.push({pkey:c,domTarget:a,renderer:b,iteration:0,detached:!1,sync:!1,renderResult:!1});this._autoProcess&&this.process()};e.prototype.setProcessing=function(){this._state="processing"};e.prototype.isProcessing=function(){return"processing"===this._state};e.prototype.setReady=function(){this._state=
"ready"};e.prototype.isReady=function(){return"ready"===this._state};e.prototype.process=function(){if(this.isProcessing())return!1;this.setProcessing();this.doProcess();return!0};e.prototype.processSingleTask=function(d,a){var b;d.iteration++;b=new window.IQD.AdController.RenderControllerEvent(d);this._eventDispatcher.dispatch(b);switch(b.getResult()){case "detach":return a&&a.shift(),this.waitForSingleObject(b.getWaitObject(),c.bind(this.processSingleTask,this,d)),!1;case "wait":return this.waitForSingleObject(b.getWaitObject(),
c.bind(this.doProcess,this,d)),!0;case "skip":return a&&a.shift(),!1;default:return a&&a.shift(),b=d.renderer(d.pkey,d.domTarget),d.renderResult=b,this._renderResults[d.pkey]=d.renderResult,!1}};e.prototype.doProcess=function(){var c;if(0===this._queue.length)return this.setReady(),!0;for(;0<this._queue.length;)if(c=this._queue[0],this.processSingleTask(c,this._queue))return!1;this.setReady();return!0};e.prototype.waitForSingleObject=function(c,a){var b,e,f=c.getTimeout();c.isSignaled()?a():(e=setInterval(function(){c.test();
c.isSignaled()&&(clearInterval(e),clearTimeout(b),a())},100),0<f&&(b=setTimeout(function(){clearInterval(e);a()},f)))};return e}();window.IQD.AdController.RenderController=f})(window.IQD.AdController.underscore);
(function(c,f,e){var d;d=function(){function a(){this._adapter=this._nodeConfig=null;this._initialized=!1;this._handle=null;this._configured=!1;this._transformers={};this.startLoadCycle()}a.prototype.dependencies="_siteConfig=SiteConfig,_staging=Staging, _logger=Logger, _eventDispatcher=EventDispatcher, _renderController=RenderController, _adapter=FFAAdapter";a.prototype._staging=null;a.prototype._siteConfig=null;a.prototype._logger=null;a.prototype._eventDispatcher=null;a.prototype._renderController=
null;a.prototype.VERSION="2.02";a.prototype.ready=function(){};a.prototype.getConfig=function(){return this._siteConfig};a.prototype.getEventDispatcher=function(){return this._eventDispatcher};a.prototype.getRenderController=function(){return this._renderController};a.prototype.startLoadCycle=function(){this._adapter&&"function"===typeof this._adapter.startLoadCycle&&this._adapter.startLoadCycle()};a.prototype.addTransformer=function(a,c){c instanceof window.IQD.AdController.Transformer&&(this._transformers[a]=
c)};a.prototype.setPageInfo=function(a){if(this._initialized)throw Error(e.Messages.ALREADY_INITIALIZED);if(!c.isAssocArray(a))throw Error(e.Messages.INVALID_CMS_OBJECT);return this._setPageInfo(a)};a.prototype._setPageInfo=function(a){var c,d;this._resetCustomVariables();this._siteConfig&&this._siteConfig.resetDisabledPositions();this._handle=null;this._sizeMeasurementDelay=0;this._frameLoaderUri="";for(c in a)a.hasOwnProperty(c)&&(d=a[c],"$"===c.substring(0,1)?this._processInstruction(c,d):this.addCustomVariable(c,
d))};a.prototype._resetCustomVariables=function(){var a;a=window.IQD.AdController.ExecutionContext.prototype;a.cvars&&(a.cvars={})};a.prototype._resetLoadCycles=function(){this.startLoadCycle()};a.prototype.addCustomVariable=function(a,d,f){var l;l=window.IQD.AdController.ExecutionContext.prototype;if("string"!==typeof a)throw Error(e.Messages.INVALID_ARGUMENT("AdController.addCustomVariable",1,"string",typeof a));if("$"===a.substring(0,1))throw Error("Custom variables cannot start with reserved character \u00b4$\u00b4.");
if("prototype"===a||"constructor"===a)throw Error("Custom variables cannot be named \u00b4prototype\u00b4 or \u00b4constructor\u00b4.");"boolean"!==typeof f&&(f=!1);if(c.has(l.cvars,a)&&!f)throw Error("Custom variable \u00b4"+a+"\u00b4 already exists in ExecutionContext prototype.");c.has(this._transformers,a)&&(d=this._transformers[a].transform(d));l.cvars[a]=d};a.prototype.reinitialize=function(a){if(!this._initialized)throw Error(e.Messages.NEVER_INITIALIZED);this._setPageInfo(a);this._renderController.reset();
this._resetLoadCycles();this._configure();"function"===typeof this._adapter.reinitialize&&this._adapter.reinitialize(this._nodeConfig);this.getEventDispatcher().dispatch(new window.IQD.AdController.AfterReinitializationEvent);return!0};a.prototype._configure=function(){if(!this._handle)throw Error(e.Messages.SUBSITE_HANDLE_MISSING);this._nodeConfig=this._siteConfig.resolve(this._handle);this._configured=!0};a.prototype._configureCustomizations=function(){var a;this._siteConfig.hasScripts(!0)&&f.each(this._siteConfig.getScripts(!0),
f.bind(function(a){a.length&&this._staging.appendScript(a)},this));this._nodeConfig.hasScript()&&(a=this._nodeConfig.getScript(),a.length&&this._staging.appendScript(a));this._nodeConfig.hasStyle()&&(a=this._nodeConfig.getStyle(),a.length&&this._staging.appendStylesheet(a));this._siteConfig.hasScripts(!1)&&f.each(this._siteConfig.getScripts(!1),f.bind(function(a){a.length&&this._staging.appendScript(a)},this))};a.prototype.stage=function(){this._configured||this._configure();this._adapter.stage(this._nodeConfig)};
a.prototype.initialize=function(){if(this._initialized)throw Error(e.Messages.ALREADY_INITIALIZED);this._configured||this._configure();this._configureCustomizations();this._adapter.initialize(this._nodeConfig);this._initialized=!0;this.getEventDispatcher().dispatch(new window.IQD.AdController.AfterInitializationEvent);return!0};a.prototype._exec=function(a,c,d,l){if(!this._initialized)throw Error(e.Messages.NOT_INITIALIZED);if(!this._nodeConfig.hasPosition(c))return this._logger.log("Requested \u00b4"+
a+"()\u00b4 for invalid pkey \u00b4"+c+"\u00b4",e.MessageTypes.WARNING),!1;d=this._getTarget(c,d);this._nodeConfig.isPositionEnabled(c)?l?(a=f.bind(this._adapter[a],this._adapter),this._renderController.queue(c,d,a),c=null):c=this._adapter[a](c,d):(this._logger.log(e.Messages.SKIPPED_RENDERING(c,a),e.MessageTypes.INFO),c=!1);return c};a.prototype.render=function(a,c){return this._exec("render",a,c,!0)};a.prototype.isReloadable=function(a){return this._adapter.isReloadable(a)};a.prototype.reload=function(a,
c){return this._exec("reload",a,c,!1)};a.prototype.finalize=function(){if(!this._initialized)throw Error(e.Messages.NOT_INITIALIZED);var a=this._adapter.finalize();this.getEventDispatcher().dispatch(new window.IQD.AdController.AfterFinalizationEvent(a));return a};a.prototype._getTarget=function(a,c){return"undefined"===typeof c||""===c||null===c?a:c};a.prototype.getConfigurationVersion=function(){return this._siteConfig.getDeliveryVersion()};a.prototype.getConfigurationDate=function(){return this._siteConfig.getDeliveryDate()};
a.prototype._processInstruction=function(a,c){a===e.Instructions.SUBSITE_HANDLE&&(this._handle=c);if(a===e.Instructions.DISABLE_POSITIONS){if(!f.isArray(c))throw Error(e.Messages.INVALID_ARGUMENT("AdController._processInstruction",2,"array",typeof c));this._siteConfig.disablePositions(c,"cms-object")}};return a}();window.IQD.AdController.AdController=d})(window.IQD.AdController.ADCU,window.IQD.AdController.underscore,window.IQD.AdController.Constants);
(function(){var c=window.AdControllerContainer,f=window.IQD.AdController.DependencyInjectionContainer.strategy.proto;c.register("Logger",window.IQD.AdController.NoLogger);c.register("ExceptionHandler",window.IQD.AdController.ExceptionHandler);c.register("SiteConfig",window.IQD.AdController.SiteConfig,{adc_root_node:14033,adc_index:{artikel:14034,artikel_audio:14034,artikel_video:14034,artikelpaid:14034,bildgal:14381,homepage:14036,index:14037,thema:14037,wocaa:14039,wocaa_artikel:14040,wocaa_index:14041,
wocaa_longform:14042},adc_nodes:{14033:{adc_config:{ffa_stage:"",ffa_initialize:"",ffa_render:"window.IQD.adapter.define(pkey);window.IQD.adapter.render(pkey);",ffa_setRendered:'console.info("[FFA] in setRendered() pkey:"+pkey+" state:"+state);',ffa_finalize:'console.info("[FFA] in finalize() state:"+state);',ffa_reinitialize:"window.assignIqadtileInViewObserver();window.IQD.adapter.define(pkey);window.IQD.adapter.render(pkey);",ffa_isReloadable:'console.info("[FFA] in isReloadable() pkay:"+pkey+" state:"+state);',
ffa_reload:"window.IQD.adapter.refresh(pkey);",ffa_startLoadCycle:"window.IQD.adapter.destroySlots();",doc:"index",iqadtype:"online",keywords:"iqdspiegel,digtransform",layoutType:"ac_default",level1:"iqdspiegel",publisherNetworkCode:"22337032985",xandrPubId:null,xandrLevel1:"iqdspiegel"},adc_positions:{iqadtile1:{enabled:!0,size:"99x1,728x90,800x250,940x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333,1020x600,1020x601,1920x333,1920x360,1920x380",keywords:"iqadtile1",tile:"1",dom_id:"iqadtile1",
is_oop:"false"},iqadtile11:{enabled:!0,size:"99x1,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333,fluid",keywords:"iqadtile11",tile:"11",dom_id:"iqadtile11",is_oop:null},iqadtile111:{enabled:!1,size:"99x1,940x90",keywords:"iqadtile111",tile:"111",dom_id:"iqadtile111",is_oop:"false"},iqadtile12:{enabled:!0,size:"99x1,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333,fluid",keywords:"iqadtile12",tile:"12",dom_id:"iqadtile12",is_oop:"false"},iqadtile13:{enabled:!0,
size:"99x1,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333,fluid",keywords:"iqadtile13",tile:"13",dom_id:"iqadtile13",is_oop:"false"},iqadtile14:{enabled:!0,size:"99x1,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333,fluid",keywords:"iqadtile14",tile:"14",dom_id:"iqadtile14",is_oop:"false"},iqadtile15:{enabled:!0,size:"99x1,300x250",keywords:"iqadtile15",tile:"15",dom_id:"iqadtile15",is_oop:"false"},iqadtile16:{enabled:!0,size:"99x1,728x90,800x250,940x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333,fluid",
keywords:"iqadtile16",tile:"16",dom_id:"iqadtile16",is_oop:"false"},iqadtile20:{enabled:!1,size:"99x1,120x600,160x600,200x600,300x600,300x601",keywords:"iqadtile20",tile:"20",dom_id:"iqadtile20",is_oop:"false"},iqadtile21:{enabled:!0,size:"99x1,120x600,160x600,200x600,300x600,300x601,300x603",keywords:"iqadtile21",tile:"21",dom_id:"iqadtile21",is_oop:"false"},iqadtile3:{enabled:!1,size:"99x1,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333",keywords:"iqadtile3",tile:"3",
dom_id:"iqadtile3",is_oop:"false"},iqadtile31:{enabled:!0,size:"99x1,640x360,300x250",keywords:"iqadtile31",tile:"31",dom_id:"iqadtile31",is_oop:"false"},iqadtile32:{enabled:!1,size:"99x1,1000x333",keywords:"iqadtile32",tile:"32",dom_id:"iqadtile32",is_oop:"false"},iqadtile33:{enabled:!1,size:"99x1,1000x333",keywords:"iqadtile33",tile:"33",dom_id:"iqadtile33",is_oop:"false"},iqadtile4:{enabled:!0,size:"99x1,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333,1000x500,fluid",
keywords:"iqadtile4",tile:"4",dom_id:"iqadtile4",is_oop:"false"},iqadtile41:{enabled:!0,size:"99x1,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333,1000x500,fluid",keywords:"iqadtile41",tile:"41",dom_id:"iqadtile41",is_oop:"false"},iqadtile42:{enabled:!0,size:"99x1,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333,fluid",keywords:"iqadtile42",tile:"42",dom_id:"iqadtile42",is_oop:"false"},iqadtile43:{enabled:!0,size:"99x1,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333,fluid",
keywords:"iqadtile43",tile:"43",dom_id:"iqadtile43",is_oop:"false"},iqadtile5:{enabled:!0,size:"99x1,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333,1000x1000,fluid",keywords:"iqadtile5",tile:"5",dom_id:"iqadtile5",is_oop:"false"},iqadtile51:{enabled:!0,size:"99x1,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333,fluid",keywords:"iqadtile51",tile:"51",dom_id:"iqadtile51",is_oop:"false"},iqadtile52:{enabled:!0,size:"99x1,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333,fluid",
keywords:"iqadtile52",tile:"52",dom_id:"iqadtile52",is_oop:"false"},iqadtile53:{enabled:!0,size:"99x1,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333,fluid",keywords:"iqadtile53",tile:"53",dom_id:"iqadtile53",is_oop:"false"},iqadtile6:{enabled:!1,size:"99x1,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250",keywords:"iqadtile6",tile:"6",dom_id:"iqadtile6",is_oop:"false"},iqadtile7:{enabled:!1,size:"99x1,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333,fluid",
keywords:"iqadtile7",tile:"7",dom_id:"iqadtile7",is_oop:"false"},iqadtile8:{enabled:!0,size:"99x1,120x600,160x600,200x600,300x250,300x300,300x600",keywords:"iqadtile8",tile:"8",dom_id:"iqadtile8",is_oop:"false"},iqadtile81:{enabled:!0,size:"99x1,120x600,160x600,200x600,300x250,300x300,300x600",keywords:"iqadtile81",tile:"81",dom_id:"iqadtile81",is_oop:"false"},iqadtile82:{enabled:!1,size:"99x1,120x600,160x600,200x600,300x250,300x300,300x600",keywords:"iqadtile82",tile:"82",dom_id:"iqadtile82",is_oop:"false"},
iqadtile83:{enabled:!1,size:"99x1,120x600,160x600,200x600,300x250,300x300,300x600",keywords:"iqadtile83",tile:"83",dom_id:"iqadtile83",is_oop:"false"},iqadtile9:{enabled:!0,size:"99x1,300x250",keywords:"iqadtile9",tile:"9",dom_id:"iqadtile9",is_oop:"false"},iqadtile99:{enabled:!0,size:"99x1,300x200,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333",keywords:"iqadtile99",tile:"99",dom_id:"iqadtile99",is_oop:"false"},iqadtile991:{enabled:!0,size:"99x1,300x200,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333",
keywords:"iqadtile991",tile:"991",dom_id:"iqadtile991",is_oop:"false"},iqadtile992:{enabled:!0,size:"99x1,300x200,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333",keywords:"iqadtile992",tile:"992",dom_id:"iqadtile992",is_oop:"false"},iqadtile993:{enabled:!0,size:"99x1,300x200,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333",keywords:"iqadtile993",tile:"993",dom_id:"iqadtile993",is_oop:"false"},iqadtileOOP:{enabled:!0,size:"out-of-page",keywords:"iqadtileOOP",
tile:"0",dom_id:"iqadtileOOP",is_oop:"true"}},adc_local_script:'var cmsObject=cmsObject||window.polygon.cmsObject;window.tile2IsRendered=false;window.competingSpecialAd=true;window.tile1Rendering=false;window.tile111Special=false;let IQD_varPackCustom={iqdSite:"iqdspiegel",iqdSiteWrapper:"iqd_topAd",iqdSiteInfo:[[1020,0,0],[0,0,1020],[0,0,1020],["center","fullBodyBg"],["y","y","y"]],initialLoadedAdTiles:["iqadtile53","iqadtile15"],rotationControl:{prefix:"SPON"},adSlotLabelCss:{cssSitebar:"content: \'Anzeige\';position: relative;display: block;width: 100%; max-width: 1000px; margin: 0 auto;font-size: 12px;text-indent: 0.5rem; text-transform: uppercase; font-family: SPIEGEL Sans UI, Arial, Verdana, Helvetica, sans-serif;line-height: 32px; white-space: nowrap; color: #807E7C;}",cssStickyBB:"content: \'Anzeige\';position: relative;display: block;width: 100%; max-width: 1000px; margin: 0 auto;font-size: 12px;text-indent: 0.5rem; text-transform: uppercase; font-family: SPIEGEL Sans UI, Arial, Verdana, Helvetica, sans-serif;line-height: 32px; white-space: nowrap; color: #807E7C; background-color: #F1EFED;}"},outsideTop:parseInt(0),outsideLeft:parseInt(0),outsideRight:parseInt(0),outsideSafeArea:parseInt(10),outsideBottom:"auto",intersectionElements:{header:"header",headerInitial:"nav",footer:"footer"},headerStickyDetector:".is-headerbar-collapsed",availableInnerHeight:window.innerHeight,availableInnerHeightPur:window.innerHeight};window.IQD_varPack=Object.assign({},IQD_varPackCustom,window.IQD_varPackGlobal);window.IQD_varPack.adSlotLabel["iqadtile1"]=false;window.IQD_varPack.adSlotLabel["iqadtile111"]=false;window.IQD_varPack.adSlotLabel["iqadtile21"]=false;window.IQD_varPack.adSlotLabel["iqadtile20"]=false;const header=document.querySelector(window.IQD_varPack.intersectionElements.header);const footer=document.querySelector(window.IQD_varPack.intersectionElements.footer);const level2=window.IQD.AdController.ExecutionContext.prototype.cvars.level2,handle=AdController._handle;let adTile;window.adsRendered=[];AdController.getEventDispatcher().on("after_initialization",function(AfterInitializationEvent){window.consoleOutput("%c[iqd] - local.js - IQ - AfterInitializationEvent","background-color: green; color: white;")});AdController.getEventDispatcher().on("after_reinitialization",function(AfterReinitializationEvent){window.consoleOutput("%c[iqd] - local.js - IQ - AfterReinitializationEvent","background-color: green; color: white;")});AdController.getEventDispatcher().on("render_controller",function(RenderControllerEvent){adTile=RenderControllerEvent.getPositionKey();let firstTile=AdController._handle==="homepage"?"iqadtile111":"iqadtile1";window.IQD_varPack.renderAfterDaisyBit=window.IQD_varPack.renderAfterDaisyBit||{};if(IQGDPR_handle.cmp==="true"&&window.gotDaisyBit==true||IQGDPR_handle.cmp==="false"){window.consoleOutput("%c[iqd] - local.js - IQ - adsRendered","background-color: green; color: white;",adsRendered);if(adsRendered.indexOf(adTile)<0){if(adTile===firstTile){if(RenderControllerEvent.isFirstInvocation()&&RenderControllerEvent.allowsDeferring()){return RenderControllerEvent.wait(RenderControllerEvent.createMutex(2e3,function(){window.consoleOutput("%c[iqd] - local.js - IQ - RenderControllerEvent - wait - "+adTile,"background: #222; color: #ffffff");return typeof window.delayedData!=="undefined"}))}else{window.consoleOutput("%c[iqd] - local.js - IQ - RenderControllerEvent - render - "+adTile,"background: #222; color: #ffffff");adsRendered.push(adTile);return RenderControllerEvent.now()}}else if(AdController._handle==="homepage"&&adTile==="iqadtile1"&&!window.tile1Rendering){return RenderControllerEvent.skip()}else if(adTile==="iqadtile20"&&!window.tile2IsRendered){window.consoleOutput("%c[iqd] - local.js - IQ - RenderControllerEvent - skip - "+adTile,"background: #222; color: #ffffff");return RenderControllerEvent.skip()}else if(adTile==="iqadtile21"&&!window.tile2IsRendered){window.consoleOutput("%c[iqd] - local.js - IQ - RenderControllerEvent - skip - "+adTile,"background: #222; color: #ffffff");return RenderControllerEvent.skip()}else{window.consoleOutput("%c[iqd] - local.js - IQ - RenderControllerEvent - render - "+adTile,"background: #222; color: #ffffff");adsRendered.push(adTile);return RenderControllerEvent.now()}}else{window.consoleOutput("%c[iqd] - local.js - IQ - adTile is already been rendered","background-color: green; color: white;");return RenderControllerEvent.skip()}}else{window.IQD_varPack.renderAfterDaisyBit[RenderControllerEvent.getPositionKey()]="skip";window.consoleOutput("%c[iqd] - local.js - IQ - RenderControllerEvent - skip - "+adTile,"background: #222; color: #ffffff");return RenderControllerEvent.skip()}});const setSkyFixed=()=>{let rightAd,leftAd;if(document.querySelector("#iqd_align_Ad")){rightAd=document.body.scrollWidth-parseFloat(document.querySelector("#iqd_align_Ad").getBoundingClientRect().left)+parseInt(10),leftAd=parseFloat(document.querySelector("#iqd_align_Ad").getBoundingClientRect().right)+parseInt(10);document.querySelector("#iqd_leftAd").style.right=rightAd+"px";document.querySelector("#iqd_rightAd").style.left=leftAd+"px";window.IQD_varPack.outsideRight=rightAd;window.IQD_varPack.outsideLeft=leftAd}};const setSkyTop=()=>{if(document.querySelector("#iqd_leftAd")&&document.querySelector("#iqd_rightAd")){let leftAdContainer=document.querySelector("#iqd_leftAd"),rightAdContainer=document.querySelector("#iqd_rightAd");if(parseFloat(document.querySelector("#iqd_topAd").getBoundingClientRect().top)>=0){window.IQD_varPack.outsideTop=parseFloat(document.querySelector("#iqd_topAd").getBoundingClientRect().top);leftAdContainer.style.top=rightAdContainer.style.top=window.IQD_varPack.outsideTop+"px"}else if(document.querySelector(".is-headerbar-collapsed")){window.IQD_varPack.outsideTop=parseFloat(document.querySelector("header").getBoundingClientRect().bottom);leftAdContainer.style.top=rightAdContainer.style.top=window.IQD_varPack.outsideTop+"px"}}};const setSkyHeight=()=>{if(document.querySelector(\'[data-advertisement^="pos_header desktop"]\')){if(parseFloat(document.querySelector(\'[data-advertisement^="pos_header desktop"]\').getBoundingClientRect().top)>=0){window.IQD_varPack.availableInnerHeight=window.IQD_varPack.availableInnerHeightPur=parseFloat(window.innerHeight)-parseFloat(document.querySelector(\'[data-advertisement^="pos_header desktop"]\').getBoundingClientRect().top)-parseInt(8)}else{window.IQD_varPack.availableInnerHeight=window.IQD_varPack.availableInnerHeightPur=parseFloat(window.innerHeight)-parseFloat(document.querySelector("#header-bar").getBoundingClientRect().bottom)}}};function triggerPos1Observer(){var observer=new MutationObserver(function(mutations){mutations.forEach(function(mutation){if(mutation.attributeName==="data-advertisement"){setSkyTop();setSkyHeight()}})});var observerConfig={attributes:true,attributeFilter:["data-advertisement"]};var targetNode=document.querySelector(\'[data-advertisement^="pos_1"]\');observer.observe(targetNode,observerConfig)}let itmst0;const acLast=()=>{const itm=document.body||false;if(itm){let mys=document.createElement("script");mys.type="text/javascript";mys.innerHTML=\'var IQDComplete = {init: function () {return true;}};if(typeof AdController !== "undefined"){AdController.finalize();}\';itm.appendChild(mys);clearInterval(itmst0)}};itmst0=setInterval(acLast,200);const acTopBanner=()=>{const itm=document.querySelector("#iqd_topAd")||false;if(itm){setSkyTop();setSkyFixed();setSkyHeight();clearInterval(itmst)}};const itmst=setInterval(acTopBanner,200);window.IQD_ReloadHandle=()=>{window.consoleOutput("%c[iqd] - local.js - IQ - ReloadHandle","background-color: green; color: white;");window.adsRendered=[];if(window.IQD_varPack.hasOwnProperty("tplfn2clr")&&window.IQD_varPack.tplfn2clr.hasOwnProperty("length")){let tmpObj,pObj,pType,pFn;while(tmpObj=window.IQD_varPack.tplfn2clr.pop()){pObj=tmpObj[0];pType=tmpObj[1];pFn=tmpObj[2];window.IQD_varPack.removeEvent(pObj,pType,pFn)}}if(window.IQD_varPack.hasOwnProperty("fn2clr")&&window.IQD_varPack.fn2clr.hasOwnProperty("length")){let tmpObj2,pObj2,pType2,pFn2;while(tmpObj2=window.IQD_varPack.fn2clr.pop()){pObj2=tmpObj2[0];pType2=tmpObj2[1];pFn2=tmpObj2[2];window.IQD_varPack.removeEvent(pObj2,pType2,pFn2)}}if(document.querySelector("#iqStyleContainer")){const _domIqStyleContainerChildren=document.querySelector("#iqStyleContainer").childNodes;let _child=[];for(let i=0;i<_domIqStyleContainerChildren.length;i++){if(typeof _domIqStyleContainerChildren[i]==="object"){_child.push(_domIqStyleContainerChildren[i])}}for(let j=0;j<_child.length;j++){document.querySelector("#iqStyleContainer").removeChild(_child[j])}}for(let i=0,l=window.IQD_varPack.adReloadHandle.length;i<l;i++){if(window.IQD_varPack.adReloadHandle[i]["setComputedStyles"]=="true"){if(window.IQD_varPack.adReloadHandle[i].adNodes.length>=0){window.consoleOutput("%c[iqd] - local.js - ### "+window.IQD_varPack.adReloadHandle[i].adNodes.length,"background-color: green; color: white;");for(let j=0,k=window.IQD_varPack.adReloadHandle[i].adNodes.length;j<k;j++){window.consoleOutput("%c[iqd] - local.js - window.IQD_varPack.adReloadHandle[i]","background-color: green; color: white;",window.IQD_varPack.adReloadHandle[i]);if(document.getElementById(window.IQD_varPack.adReloadHandle[i].adNodes[j])){window.consoleOutput("%c[iqd] - local.js - document.getElementById(window.IQD_varPack.adReloadHandle[i].adNodes[j])","background-color: green; color: white;",document.getElementById(window.IQD_varPack.adReloadHandle[i].adNodes[j]));document.getElementById(window.IQD_varPack.adReloadHandle[i].adNodes[j]).remove()}}}document.body.style.backgroundImage="";document.body.style.background=""}}if(document.getElementById("iqadtile21")){document.getElementById("iqadtile21").removeAttribute("style")}if(document.getElementById("iqadtile20")){document.getElementById("iqadtile20").removeAttribute("style")}if(document.getElementById("iqadtile1")){document.getElementById("iqadtile1").removeAttribute("style")}window.IQD_varPack.removeAllIqSlotClasses();window.tile2IsRendered=false;window.competingSpecialAd=true;window.tile1Rendering=false;window.tile111Special=false;window.IQD_varPack.adReloadHandle=[];window.IQD_varPack.ausbuchung={};window.IQD_varPack.ad={};window.IQDAO.cridCache=[];for(let prop in iqacposobj){if(iqacposobj[prop].enabled){let di=iqacposobj[prop].dom_id;window.IQD_varPack.adSlotLabel[di]=true}}if(window.IQD_varPack.iqd_TestKW==="iqviewadplace"){window.setIqViewPlaceStyles()}AdController.reinitialize(cmsObject);AdController.startLoadCycle();window.assignIqadtileInViewObserver();setEvents()};const startReload=event=>{try{if(event.origin=="https://www.spiegel.de"||event.origin=="https://pr4145.feature.dev.www.spiegel.de"){if(event.data=="iq_refresh_ads"){window.consoleOutput("%c[iqd] - local.js - IQ - receive iq_refresh_ads","background-color: green; color: white;");window.IQD_ReloadHandle()}if(event.data=="iq_create_dynamic_positions"){window.consoleOutput("%c[iqd] - local.js - IQ - receive iq_create_dynamic_positions","background-color: green; color: white;");window.createDynamicPositions();window.assignIqadtileInViewObserver()}if(event.data=="iq_remove_dynamic_positions"){window.consoleOutput("%c[iqd] - local.js - IQ - receive iq_remove_dynamic_positions","background-color: green; color: white;");window.deleteDynamicPositions()}}}catch(e){}};const setEvents=()=>{window.IQD_varPack.addEvent(window,"resize",function(){setSkyFixed();setSkyHeight()});window.IQD_varPack.addEvent(window,"scroll",function(){setSkyTop();setSkyHeight()});if(document.querySelector("#header-bar")){document.querySelector("#header-bar").addEventListener("transitionend",()=>{setSkyTop();setSkyHeight()});document.querySelector("#header-bar").addEventListener("transitionstart",()=>{setSkyTop();setSkyHeight()})}window.addEventListener("message",startReload);triggerPos1Observer()};setEvents();',
adc_local_style:'#iqd_mainAd {\r\n    height: auto;\r\n    padding: 0px;\r\n    margin: 0 auto;\r\n}\r\n\r\n#iqd_align_Ad {\r\n    margin: 0 auto;\r\n    position: relative;\r\n}\r\n\r\n#iqd_topAd {\r\n    padding: 0;\r\n    position: relative;\r\n    display: flex !important;\r\n    flex-direction: column;\r\n    justify-content: center;\r\n}\r\n\r\n#iqd_rightAd,\r\n#iqd_leftAd {\r\n    position: fixed;\r\n}\r\n\r\n[id^="iqadtile"] {\r\n    -moz-box-sizing: content-box;\r\n    -webkit-box-sizing: content-box;\r\n    box-sizing: content-box;\r\n    display: table;\r\n    text-align: center;\r\n    position: relative;\r\n    font-size: 0px;\r\n    line-height: 0;\r\n    margin: 0 auto;\r\n    padding: 0;\r\n\r\n}\r\n\r\n#iqadtile4,\r\n#iqadtile41 {\r\n    overflow: visible !important;\r\n}\r\n\r\n#iqadtile21,\r\n#iqadtile20 {\r\n    margin-left: 0;\r\n    margin-right: 0;\r\n}\r\n\r\n#iqadtile21 {\r\n    text-align: left;\r\n}\r\n\r\n#iqadtile20 {\r\n    text-align: right;\r\n}\r\n\r\n\r\n#iqadtile111 {\r\n    margin-top: 0px;\r\n}\r\n\r\n\r\n\r\n[id^="iqadtile8"],\r\n[id="iqadtile9"] {\r\n    min-width: 120px;\r\n}\r\n\r\n[id^="iqadtile99"] {\r\n    min-width: 300px;\r\n}\r\n\r\n[id^="iqadtile1"],\r\n[data-iqdselector="homepage"][id^="iqadtile4"],\r\n[data-iqdselector="index"][id^="iqadtile4"],\r\n[data-iqdselector="thema"][id^="iqadtile4"],\r\n[data-iqdselector="bildgal"][id^="iqadtile4"],\r\n[id^="iqadtile5"],\r\n[id^="iqadtile6"] {\r\n    min-width: 1000px;\r\n}\r\n\r\n\r\n[data-iqdselector="artikel"] [id^="iqadtile4"],\r\n[data-iqdselector="artikelpaid"][id^="iqadtile4"],\r\n[data-iqdselector="artikel_video"][id^="iqadtile4"],\r\n[data-iqdselector="artikel_audio"][id^="iqadtile4"]{\r\n    min-width: 640px;\r\n}\r\n\r\n/*\r\n.iqadtile-space-tb {\r\n     margin: 22px auto 0px auto;\r\n}\r\n*/\r\n\r\n/* SPA inview - FIX display none iat after navigating */\r\n\r\n\r\n[id^="iqadtile"][style*="display: none"] {\r\n    display: inline-table;\r\n}\r\n\r\n#iqadtileOOP {\r\n    display: block;\r\n}\r\n\r\n[id^="iqadtile"]>div[id^="google_ads_iframe"] {\r\n    margin: 0 auto;\r\n}\r\n\r\n/* Start SIR */\r\n/*\r\n#iqadtile8 {\r\n    position: -webkit-sticky !important;\r\n    position: sticky !important;\r\n    z-index: 111;\r\n    top: 70px;\r\n}\r\n*/\r\n.iqlabel::before {\r\n    position: relative;\r\n    display: block;\r\n    width: 100%;\r\n    max-width: 1000px;\r\n    margin: 0 auto;\r\n    font-size: 12px;\r\n    text-indent: 0.5rem;\r\n    text-transform: uppercase;\r\n    font-family: SPIEGEL Sans UI, Arial, Verdana, Helvetica, sans-serif;\r\n    line-height: 32px;\r\n    white-space: nowrap;\r\n    visibility:hidden;\r\n}\r\n@media (prefers-color-scheme: light) {\r\n.iqlabel::before {\r\n    color: #807E7C;\r\n    background-color: #F1EFED;\r\n  }\r\n}\r\n@media (prefers-color-scheme: dark) {\r\n  .iqlabel::before {\r\n    color: #BBB9B7;\r\n    background-color: #000;\r\n  }\r\n}\r\n#iqadtile21::before, #iqadtile20::before{\r\n    background-color: transparent;\r\n}\r\n.iqlabel-centered::before {\r\n    text-align: center;\r\n    margin: 0 auto;\r\n}\r\n\r\n.iqlabel-left::before {\r\n    text-align: left;\r\n}\r\n\r\n.iqlabel-right::before {\r\n    text-align: right;\r\n}\r\n\r\n.iqlabel-stdtxt::before {\r\n    content: \'Anzeige\';\r\n}\r\n\r\n.iqlabel-customtxt::before {\r\n    content: \'Weiterlesen nach dieser Anzeige\';\r\n}'},
14034:{adc_config:{doc:"artikel",layoutType:"artikel"},adc_positions:{iqadtile111:{enabled:!1},iqadtile15:{size:"99x1,300x250"},iqadtile4:{size:"99x1,300x200,640x360,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333,1000x500"},iqadtile41:{size:"99x1,300x200,640x360,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333,1000x500"},iqadtile42:{size:"99x1,300x200,640x360,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333"},iqadtile43:{size:"99x1,300x200,640x360,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333"},
iqadtile5:{size:"99x1,300x200,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333"},iqadtile51:{size:"99x1,300x200,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333"},iqadtile52:{size:"99x1,300x200,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333"},iqadtile53:{size:"99x1,300x200,728x90,800x250,970x90,970x250,1000x100,1000x125,1000x167,1000x250,1000x333"}},adc_parent:14033},14036:{adc_config:{doc:"homepage",layoutType:"homepage"},
adc_positions:{iqadtile111:{enabled:!0}},adc_parent:14033},14037:{adc_config:{doc:"index",layoutType:"index"},adc_positions:{iqadtile111:{enabled:!1}},adc_parent:14033},14040:{adc_config:{doc:"artikel",layoutType:"artikel"},adc_positions:[],adc_parent:14039},14041:{adc_config:{layoutType:"index"},adc_positions:[],adc_parent:14039},14042:{adc_config:{doc:"longform",layoutType:"longform"},adc_positions:[],adc_parent:14039},14381:{adc_config:{doc:"bildgal",layoutType:"artikel"},adc_positions:{iqadtile111:{enabled:!1}},
adc_parent:14033},14039:{adc_config:[],adc_positions:{iqadtile111:{enabled:!1}},adc_parent:14033}},adc_shutdown_matrix:[],adc_adapter:"ffa",adc_scripts:{pre:['window.myDebugLog=function(){if(((window||{}).location||{}).search.indexOf("myDebugLog=true")===-1||arguments.length===0){return}console&&console.log.apply(console,arguments)};','window.consoleOutput=(...args)=>{const localStorageSetting=localStorage.getItem("consoleOutput");const showOutput=localStorageSetting==="true";if(showOutput){console.info(...args)}};',
'window.IQD_varPackGlobal={iqdtemplateEngine:{template:{clickContainer:{zIndex:1}}},ad:{},ausbuchung:{},adSlotLabel:{},acAdapter:window.AdController.getConfig()._adapterName,acCreativeIdentifier:"true",iqdEnableSky:"neutral",litKw:"",kwList:"",tplfn2clr:[],fn2clr:[],adReloadHandle:[],gptAdSlotSize:[],adReloadPipe:[],renderAfterDaisyBit:{},roundBids(cpm){return cpm<420?parseFloat(cpm).toFixed(2):parseFloat(420).toFixed(2)},getUriParam(param,target=window.location.search.substring(1)){const urlParams=target.split("&");const paramPair=urlParams.find(pair=>pair.split("=")[0]===param);return paramPair?decodeURIComponent(paramPair.split("=")[1]):null},fetchComputedStyle(elem,stylePro){const compStyle=window.getComputedStyle(elem);return compStyle.getPropertyValue(stylePro)},iqdSetStyleInContainer(data){const{css}=data;if(!css)return;let styleContainer=document.querySelector("#iqStyleContainer");if(!styleContainer){const element=document.createElement("div");element.id="iqStyleContainer";document.body.appendChild(element);styleContainer=element}const styleContent=`<style type="text/css" data-initiator="iqdadcontroller">${css}</style>`;styleContainer.insertAdjacentHTML("afterBegin",styleContent)},renderTile1(){window.tile1Rendering=true;window.AdController.render("iqadtile1")},renderSkys(){window.tile2IsRendered=true;const adTile2=document.querySelector("#iqadtile2")||null;if(adTile2){const element=document.createElement("div");element.id="iqadtile21";adTile2.appendChild(element)}if(document.querySelector("#iqadtile20")){window.AdController.render("iqadtile20")}if(document.querySelector("#iqadtile21")){window.AdController.render("iqadtile21")}},removeAllIqSlotClasses(){const tileList=document.querySelectorAll("div[id^=\'iqadtile\']");const classesToRemove=["iqlabel","iqlabel-left","iqlabel-stdtxt","iqdad","iqdnoad"];tileList.forEach(tile=>{classesToRemove.forEach(className=>{tile.classList.remove(className)})})},setIQCreativeSpace(tile){const excludedTiles=["iqadtile20","iqadtile21","iqadtile101"];if(!excludedTiles.includes(tile)){document.querySelector(`#${tile}`).classList.add("iqadtile-space-tb")}const{origin,protocol,hostname,port}=window.location;const iqorigin=origin||`${protocol}//${hostname}${port?`:${port}`:""}`;window.postMessage(`iq_set_tile_${tile}`,iqorigin)},createIQLabel(tile){document.querySelector(`#${tile}`).classList.add("iqlabel","iqlabel-left","iqlabel-stdtxt");const{origin,protocol,hostname,port}=window.location;const iqorigin=origin||`${protocol}//${hostname}${port?`:${port}`:""}`;window.postMessage(`iq_set_label_${tile}`,iqorigin)},refreshAdsOnPostmessage(){const handler=event=>{const{origin,data}=event;if(origin!==window.location.origin||data!=="iq_refresh_ads")return;try{window.IQD_ReloadHandle()}catch(e){console.error(e)}};window.addEventListener("message",handler)}};window.IQD_varPackGlobal.iqd_TestKW=window.IQD_varPackGlobal.getUriParam("iqadtest")||"iqlive";window.IQD_varPackGlobal.addEvent=(target,eventtype,func)=>{if(!window.IQD_varPackGlobal.fn2clr){window.IQD_varPackGlobal.fn2clr=[[target,eventtype,func,"adcontroller"]]}else{window.IQD_varPackGlobal.fn2clr.push([target,eventtype,func])}if(typeof document.addEventListener!=="undefined"){target.addEventListener(eventtype,func,false)}};window.IQD_varPackGlobal.removeEvent=(target,eventtype,func)=>{if(typeof document.removeEventListener!=="undefined"){target.removeEventListener(eventtype,func)}};window.IQD_varPackGlobal.setIQTile=tile=>{if(!(Object.prototype.hasOwnProperty.call(window.IQD_varPackGlobal.ausbuchung,tile)&&window.IQD_varPackGlobal.ausbuchung[tile])&&(Object.prototype.hasOwnProperty.call(window.IQD_varPackGlobal.adSlotLabel,tile)&&window.IQD_varPackGlobal.adSlotLabel[tile])){window.IQD_varPackGlobal.createIQLabel(tile);window.IQD_varPackGlobal.setIQCreativeSpace(tile)}if(!(Object.prototype.hasOwnProperty.call(window.IQD_varPackGlobal.ausbuchung,tile)&&window.IQD_varPackGlobal.ausbuchung[tile])){if(tile==="iqadtile1"&&(window.IQD_varPackGlobal.ad.iqadtile1==="Sitebar"||window.IQD_varPackGlobal.ad.iqadtile1==="DoubleSitebar")){if(window.AdController.getConfig().resolve(window.AdController._handle).getVar("level1")==="hcfhb"){document.querySelector(`#${tile}`).classList.add("iqdnoad")}else{document.querySelector(`#${tile}`).classList.add("iqdad")}}else{document.querySelector(`#${tile}`).classList.add("iqdad")}}else{document.querySelector(`#${tile}`).classList.remove("iqdad");document.querySelector(`#${tile}`).classList.add("iqdnoad")}const{origin,protocol,hostname,port}=window.location;const iqorigin=origin||`${protocol}//${hostname}${port?`:${port}`:""}`;window.postMessage(`iq_set_tile_${tile}`,iqorigin)};window.IQD_varPackGlobal.iqdCalcHeader=()=>{if(Object.prototype.hasOwnProperty.call(window.IQD_varPackGlobal,"header")){const{header}=window.IQD_varPackGlobal.header;if(Object.prototype.hasOwnProperty.call(header,"id")){const headerElement=document.getElementById(header.id);header.elem=headerElement}else if(Object.prototype.hasOwnProperty.call(header,"className")){const headerElement=document.getElementsByClassName(header.className)[0];header.elem=headerElement}if(header.elem!==null){header.height=header.elem.getBoundingClientRect().height}}};const iqacposobj=window.AdController.getConfig().resolve(window.AdController._handle)._positions;Object.keys(iqacposobj).forEach(prop=>{if(iqacposobj[prop].enabled&&iqacposobj[prop].dom_id!=="iqadtile101"){const di=iqacposobj[prop].dom_id;window.IQD_varPackGlobal.adSlotLabel[di]=true}});(()=>{let id=null;const setIqdSelector=()=>{if(document.getElementsByTagName("body")[0]){document.getElementsByTagName("body")[0].setAttribute("data-iqdselector",window.AdController._handle);clearInterval(id)}};id=setInterval(setIqdSelector,50)})();window.IQD_varPackGlobal.viewportWidthParameter=()=>{const vpw=document.documentElement.getBoundingClientRect().width||document.documentElement.clientWidth;let result="";const iqadtype=window.AdController.getConfig().resolve(window.AdController._handle).getVar("iqadtype");if(iqadtype==="online"){if(vpw>1599){result="vpwgt1599"}if(vpw>=800&&vpw<=1599){result=`vpw${Math.floor(vpw/100)*100}`}if(vpw<800&&vpw>=768){result="vpwlt800"}if(vpw<768){result="vpwlt768"}}return result};',
'window.IQD_varPackGlobal=window.IQD_varPackGlobal||{};window.IQD_varPackGlobal.iqdVendorConsentsObject={};window.IQD_varPackGlobal.iqdVendorConsentsObject.customVendorConsentObject={};window.IQD_varPackGlobal.iqdVendorArray=[{vendorName:"GoogleAdvertisingProducts",vendorId:"755",necessaryPurposes:["1","2","3","4","7","9","10"],consent:false},{vendorName:"Adex",vendorId:"44",necessaryPurposes:["1","2","3","4","5","6","7","8","9","10"],consent:false},{vendorName:"AdDefend",vendorId:"539",necessaryPurposes:["1","2","3","4","5","6","7","8","9","10"],consent:false},{vendorName:"Twiago",vendorId:"242",necessaryPurposes:["1","2","3","4","5","6","7","8","9","10"],consent:false},{vendorName:"Liveramp",vendorId:"97",necessaryPurposes:["1","2","3","4","5","6","7","8","9","10"],consent:false},{vendorName:"Emetriq",vendorId:"213",necessaryPurposes:["1","2","3","4","5","6","7","8","9","10"],consent:false},{vendorName:"Onlineumfragen",vendorId:"1061",necessaryPurposes:["1","7","8","9"],consent:false},{vendorName:"Eyeota",vendorId:"120",necessaryPurposes:["1","3","5","9","10"],consent:false},{vendorName:"AdobeAudienceManager",vendorId:"565",necessaryPurposes:["1","7","8","10"],consent:false}];window.IQD_varPackGlobal.iqdCustomVendorArray=[{vendorName:"AdobeAnalytics",sourcePointId:"5ed7a9a9e0e22001da9d52ad",liveRampId:"10332",consentManagerId:"s981",necessaryPurposes:["1","7","8"]},{vendorName:"Iqdigital",sourcePointId:"60351c421219da273f61ea9e",necessaryPurposes:["1","2","3","4","5","6","7","8","9","10"]}];',
'window.IQGDPR_cmpReadyState=window.IQGDPR_cmpReadyState||"true";','window.myAdobeGetUrlParameter=()=>{if(((window||{}).location||{}).search.indexOf("https://cmk.")===-1&&((window||{}).location||{}).search.indexOf("iqdcmkal=true")===-1&&((window||{}).location||{}).search.indexOf("iqdcmkal%3Dtrue")===-1&&((window||{}).location||{}).search.indexOf("iqdcmkal%253Dtrue")===-1){return}window.myGetGlobal()};window.myAdobeSetUrlParameter=destURL=>{let destinationUrl=destURL;const adControllerHandle=window.AdController._handle||"";const adControllerLevel1=window.AdController.getConfig().resolve(adControllerHandle).getVar("level1")||"";const adobeConsent=window.IQD_varPackGlobal.iqdVendorConsentsObject.AdobeAudienceManager&&window.IQD_varPackGlobal.iqdVendorConsentsObject.customVendorConsentObject.AdobeAnalytics.consent;if(adobeConsent&&destinationUrl.indexOf("%26iqdcmkal%3Dtrue")===-1&&(destinationUrl.indexOf(window.location.protocol)>-1||destinationUrl.indexOf(encodeURIComponent(window.location.protocol))>-1)&&((destinationUrl.indexOf("https://cmk.iqdigital.de")>-1||destinationUrl.indexOf(encodeURIComponent("https://cmk.iqdigital.de"))>-1)&&destinationUrl.indexOf(`iqpubred%3D${adControllerLevel1}`)>-1||destinationUrl.indexOf(window.location.hostname.split("www.").join(""))>-1&&destinationUrl.indexOf("cmk.")>-1)){if(destinationUrl.indexOf("?")===-1&&destinationUrl.indexOf("%3F")===-1&&destinationUrl.indexOf("%253F")===-1){destinationUrl+="%253F"}destinationUrl+="%26iqdcmkal%3Dtrue"}return destinationUrl};window.document.addEventListener("DOMContentLoaded",()=>{window.myAdobeGetUrlParameter()});window.document.addEventListener("readystatechange",()=>{window.myAdobeGetUrlParameter()});window.addEventListener("load",()=>{window.myAdobeGetUrlParameter()});window.myGetGlobal=()=>{if(window.IQGDPR_handle.hardCutOff==="false"){const adobeConsent=window.IQD_varPackGlobal.iqdVendorConsentsObject.AdobeAudienceManager&&window.IQD_varPackGlobal.iqdVendorConsentsObject.customVendorConsentObject.AdobeAnalytics.consent;if(!adobeConsent){return}try{(siteId=>{let baseUrl="";let adobeId="";let adobeSrc="";const isStage=window.IQD_varPack.iqd_TestKW.indexOf("adobestage")>-1?0:1;const newAdobeSites=["handelsblatt","zol","iqdsde","iqdjde","fum","wiwo","iqdtsp"];const spiegelAdobeSites=["iqdspiegel","iqdmanagermagazin","iqdelffreunde"];const siteIdMatchList={fum:"fum",fum_mob:"fum",faz:"faz",faz_mob:"faz",handelsblatt:"handelsblatt",hb_mob:"handelsblatt",handelsblatt_nd:"handelsblatt",wiwo:"wiwo",wiwo_mob:"wiwo",iqdjde:"iqdjde",iqdjde_mob:"iqdjde",iqdsde:"iqdsde",sz_mob:"iqdsde",zol:"zol",zeit_mob:"zol",iqdtsp:"iqdtsp",iqdtsp_mob:"iqdtsp",iqdspiegel:"iqdspiegel",iqdspiegel_mob:"iqdspiegel",iqdmanagermagazin:"iqdmanagermagazin",iqdmanagermagazin_mob:"iqdmanagermagazin",iqdelffreunde:"iqdelffreunde",iqdelffeunde_mob:"iqdelffreunde"};const adobeDefaultId=["launch-EN33388c2e8881434ba149226146a60e0c-staging","launch-EN92e1075482f3410d81944270acba8d90"];const adobeIdList={fum:["97ed9df37c14/49f4e0812820/launch-c2f5e6acbd35-staging","launch-EN6d98882099b64e35a32f14d7aa06c45b"],handelsblatt:["97ed9df37c14/99a83a379318/launch-fc3da0b7826e-staging","97ed9df37c14/99a83a379318/launch-068c791c723f"],wiwo:["97ed9df37c14/58e59365ebc6/launch-d53e6d9834df-staging","launch-EN385ac1f26a954f4faf4eb9022491ab1a"],iqdjde:["97ed9df37c14/1e27afcc08ff/launch-aec096a25925-staging","launch-EN9015395a234d4173854ccfa304a0bc6c"],iqdsde:["97ed9df37c14/1e27afcc08ff/launch-aec096a25925-staging","launch-EN9015395a234d4173854ccfa304a0bc6c"],zol:["97ed9df37c14/06822cb2ce81/launch-4eec0f7e3339-staging","launch-ENecf835af84bb4354a554c3db7dbe859e"],faz:["stage/97ed9df37c14/3d3d0c09a218/launch-eafb624a2db8-staging","prod/97ed9df37c14/3d3d0c09a218/launch-ff6a6e8ba45f"],iqdtsp:["stage/97ed9df37c14/c932600ce4c4/launch-22576cd749db-staging","prod/97ed9df37c14/7baac0cd1d33/launch-0f3fde40e392"],iqdspiegel:["stage/97ed9df37c14/c2b79f9a467d/launch-a2c690902a4f-staging","prod/97ed9df37c14/c2b79f9a467d/launch-bb6d97098fbe"],iqdmanagermagazin:["stage/97ed9df37c14/c2b79f9a467d/launch-a2c690902a4f-staging","prod/97ed9df37c14/c2b79f9a467d/launch-bb6d97098fbe"],iqdelffreunde:["stage/97ed9df37c14/c2b79f9a467d/launch-a2c690902a4f-staging","prod/97ed9df37c14/c2b79f9a467d/launch-bb6d97098fbe"]};if(siteIdMatchList[siteId]==="faz"){baseUrl="https://dx6ctphzljkf1.cloudfront.net/iqdadobe/cjs_faz/"}else if(siteIdMatchList[siteId]==="iqdtsp"){baseUrl="https://dx6ctphzljkf1.cloudfront.net/iqdadobe/cjs_tsp/"}else if(spiegelAdobeSites.indexOf(siteIdMatchList[siteId])>-1){baseUrl="https://dx6ctphzljkf1.cloudfront.net/iqdadobe/cjs_spon/"}else if(newAdobeSites.indexOf(siteIdMatchList[siteId])>-1){baseUrl="https://assets.adobedtm.com/"}else{baseUrl="https://assets.adobedtm.com/"}adobeId=Object.prototype.hasOwnProperty.call(siteIdMatchList,`${siteId}`)?adobeIdList[siteIdMatchList[siteId]][isStage]:adobeDefaultId[isStage];if(adobeId!==""){adobeSrc=`${baseUrl+adobeId}.min.js`;if(!document.querySelector(`script[src^="${adobeSrc}"]`)){const adobeScript=document.createElement("script");adobeScript.type="text/javascript";adobeScript.src=adobeSrc;window.document.getElementsByTagName("head")[0].insertAdjacentElement("afterbegin",adobeScript)}}})(window.IQD_varPack.iqdSite)}catch(error){console.error("window.myGetGlobal > adobe-launch error: ",error)}}};',
'(function(){"use strict";var addProperty=function(obj,name,setfn){if(obj.hasOwnProperty(name)===false){var oldValue=obj[name],fn=setfn;var doesDefinePropertyWork=function doesDefinePropertyWork(object){try{Object.defineProperty(object,"iqdcheck",{});return"iqdcheck"in object}catch(exception){return false}};var m={},canuse=doesDefinePropertyWork(m);if(canuse){Object.defineProperty(obj,name,{enumerable:false,value:fn})}else{obj[name]=fn}}};function setPrototype(){if(window.IQD.Utils.User.IE==false||window.IQD.Utils.User.IE>=9){addProperty(Array.prototype,"capFirstLetter",function(){"use strict";var list=Object(this),len=list.length;for(var d=1;d<len;d++){list[d]=list[d].capitalizeFirstLetter()}return list[d]});addProperty(String.prototype,"capitalizeFirstLetter",function(){"use strict";return this.charAt(0).toUpperCase()+this.slice(1)});addProperty(Array.prototype,"indexOf",function(obj,start){for(var i=start||0,j=this.length;i<j;i++){if(this[i]===obj){return i}}return-1})}else{if(!String.prototype.hasOwnProperty("capitalizeFirstLetter")){String.prototype.capitalizeFirstLetter=function(){return this.charAt(0).toUpperCase()+this.slice(1)}}if(!Array.prototype.hasOwnProperty("capFirstLetter")){Array.prototype.capFirstLetter=function(){var list=Object(this),len=list.length;for(var d=1;d<len;d++){list[d]=list[d].capitalizeFirstLetter()}return this}}if(!Array.prototype.indexOf){Array.prototype.indexOf=function(obj,start){for(var i=start||0,j=this.length;i<j;i++){if(this[i]===obj){return i}}return-1}}}}var Dispatcher=function(){function Dispatcher(){this.events=[];this.deleteEvents=[]}Dispatcher.prototype.addEventListener=function(event,callback,canDelete){this.events[event]=this.events[event]||[];var index;if(this.events[event]){index=this.events[event].push(callback);var _canDelete=canDelete!=undefined?canDelete:true;if(_canDelete==true){this.deleteEvents[event]=this.deleteEvents[event]||[];this.deleteEvents[event].push(this.events[event][index-1])}if(this.allAddedEvents!=undefined){this.allAddedEvents[(new Date).getTime()]={obj:this,type:event,fn:this.events[event][index-1],delete:_canDelete}}}return this};Dispatcher.prototype.removeEventListener=function(event,callback){if(this.events[event]){var listeners=this.events[event],len=listeners.length;for(var i=len-1;i>=0;--i){if(listeners[i]===callback){this.removeAllAddedEvents(event,callback);listeners.splice(i,1);return true}}}return false};Dispatcher.prototype.removeAllEventListener=function(event){if(this.events[event]){var listeners=this.events[event],len=listeners.length;for(var i=len-1;i>=0;--i){this.removeAllAddedEvents(event,listeners[i]);listeners.splice(i,1)}this.events[event]=[]}return true};Dispatcher.prototype.removeAllAddedEvents=function(event,callback){if(this.allAddedEvents!=undefined){for(var j in this.allAddedEvents){var _o=this.allAddedEvents[j];if(_o.type==event&&_o.fn===callback){delete this.allAddedEvents[j]}}}};Dispatcher.prototype.dispatch=function(event,ob){if(this.events[event]){var listeners=this.events[event],len=listeners.length;while(len--){listeners[len](ob)}}return this};Dispatcher.prototype.hasEventListener=Dispatcher.prototype.hasEvent=function(event){var re=false;if(this.events[event]){re=this.events[event].length>0?true:false}return re};return Dispatcher}();window.IQD=window.IQD||{};if(window.IQD.API===undefined){window.IQD.API=new(function(){function api(){"use strict";var _this=this;_this.version="set via Gulp"}api.prototype=new Dispatcher;return api}())}if(window.IQD.Utils===undefined){window.IQD.Utils=new(function(){function ui(){"use strict";var _this=this,networkSpeed={speedMbps:.17};_this.ObjectDefineProperty=function(baseObj,objName,props){var objToUSe,doesDefinePropertyWork=function doesDefinePropertyWork(object){try{Object.defineProperty(object,"iqdcheck",{});return"iqdcheck"in object}catch(exception){return false}};var m={},canuse=doesDefinePropertyWork(m);if(baseObj[objName]===undefined){var obd=Object();if(!canuse){obd=document.createElement("objName")}baseObj[objName]=obd}var onGet,onSet;for(var d in props){onGet=props[d].get;onSet=props[d].set;if(onGet!=undefined){if(onSet==undefined){onSet=onGet}addPropertyForGetSet(baseObj[objName],d,onGet,onSet)}}function addPropertyForGetSet(obj,name,onGet,onSet){var oldValue=obj[name],getFn=function(){return onGet.apply(obj,[oldValue])},setFn=function(newValue){return oldValue=onSet.apply(obj,[newValue])};if(Object.defineProperty){Object.defineProperty(obj,name,{get:getFn,set:setFn})}else if(obj.__defineGetter__){obj.__defineGetter__(name,getFn);obj.__defineSetter__(name,setFn)}}};_this.ObjectDefineProperty(_this,"Site",{winHeight:{get:function(){var B=_this.Constant.doc.body,H=_this.Constant.doc.documentElement,height;if(typeof _this.Constant.doc.height!=="undefined"){height=_this.Constant.doc.height}else{height=Math.max(B.scrollHeight,B.offsetHeight,H.clientHeight,H.scrollHeight,H.offsetHeight)}return height}},winWidth:{get:function(){var B=_this.Constant.doc.body,H=_this.Constant.doc.documentElement,width;if(typeof _this.Constant.doc.width!=="undefined"){width=_this.Constant.doc.width}else{width=Math.max(B.scrollWidth,B.offsetWidth,H.clientWidth,H.scrollWidth,H.offsetWidth)}return width}}});_this.getType=function(obj){"use strict";var windowStr=Object.prototype.toString.call(window),documentStr=Object.prototype.toString.call(document);function isWindow(arg){var e,ob,self,hasSelf;ob=Object.prototype.toString.call(arg);switch(ob){case"[object DOMWindow]":case"[object Window]":case"[object global]":return ob===windowStr?"window":typeof arg;case"[object HTMLDocument]":case"[object document]":case"[object Document]":return ob===documentStr?"document":typeof arg;case"[object HTMLIFrameElement]":return"iframe";case"[object Array]":return"array";case"[object Object]":break;case"[object String]":return"string";case"[object Function]":return"function";case"[object Number]":return"number"}return typeof arg}return isWindow(obj)};_this.Constant={win:_this.getType(window.top)!="object"?window.top:window};_this.Constant.winIsLoaded=false;_this.Constant.domIsLoaded=false;_this.Constant.doc=_this.Constant.win.document;_this.Constant.loc=_this.Constant.win.location;_this.Constant.destDomain=_this.Constant.win.location.origin;_this.Constant.nav=_this.Constant.win.navigator;_this.Constant.bridgeWin=function(){var div=_this.getById("iqStyleContainer"),iframeName="iqBridgeFrame";if(div==undefined){div=_this.addElement({id:"iqStyleContainer"});return makeiFrame(div)}else{return makeiFrame(div)}function makeiFrame(div){var fr=_this.getById(iframeName);if(fr==undefined){fr=_this.addElement({id:iframeName,style:{display:"none"},src:"javascript:\\"<html><body style=\'background:transparent\'></body></html>\\""},{parent:div,type:"iframe"});return fr}else{return fr}}};_this.addObjectProperty=function(obj,name,value){addProperty(obj,name,value);return _this};var _scrollBarWidth=undefined;_this.ObjectDefineProperty(_this,"User",{iqIsNotWinXP:{get:function(){return navigator.userAgent.toUpperCase().match(/WINDOWS NT 5/)?false:true}},getChromeVersion:{get:function(){var raw=navigator.userAgent.match(/Chrom(e|ium)\\/([0-9]+)\\./);return raw?parseInt(raw[2],10):false}},scrollBarWidth:{get:function(){if(_scrollBarWidth==undefined){var outer=window.IQD.Utils.addElement({id:"iqdSbOuter",style:{visibility:"hidden",width:"100px"}},{parent:IQD.Utils.Constant.doc.body});var widthNoScroll=outer.offsetWidth;outer.style.overflow="scroll";var inner=window.IQD.Utils.addElement({id:"iqdSbInner",style:{width:"100%"}},{parent:outer});var widthWithScroll=inner.offsetWidth;_scrollBarWidth=widthNoScroll-widthWithScroll;outer.setStyle={display:"none"}}return _scrollBarWidth}},getFlashVersion:{get:function(){var v="0,0,0";try{v=new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version")}catch(e){try{if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){v=navigator.plugins["Shockwave Flash"].description}}catch(e){}}return parseInt(v.replace(/\\D+/g,",").match(/^,?(.+),?$/)[1].split(",").shift())}},screenHeight:{get:function(){return parseInt(window.IQD.Utils.Constant.win.innerHeight||window.IQD.Utils.Constant.doc.documentElement.clientHeight||window.IQD.Utils.Constant.doc.body.clientHeight)}},screenWidth:{get:function(){return parseInt(window.IQD.Utils.Constant.win.innerWidth||window.IQD.Utils.Constant.doc.documentElement.clientWidth||window.IQD.Utils.Constant.doc.body.clientWidth)}},scrollY:{get:function(){return window.IQD.Utils.Constant.win.scrollY||window.IQD.Utils.Constant.win.pageYOffset||document.body.scrollTop||document.documentElement.scrollTop},set:function(to){if(window.IQD.Utils.Constant.win.scroll){window.IQD.Utils.Constant.win.scroll(_this.User.scrollX,to)}else if(window.IQD.Utils.Constant.win.scrollTo){window.IQD.Utils.Constant.win.scrollTo(_this.User.scrollX,to)}return to}},scrollX:{get:function(){return window.IQD.Utils.Constant.win.scrollX||window.IQD.Utils.Constant.win.pageXOffset||document.body.scrollLeft||document.documentElement.scrollLeft},set:function(to){if(window.IQD.Utils.Constant.win.scroll){window.IQD.Utils.Constant.win.scroll(to,_this.User.scrollY)}else if(window.IQD.Utils.Constant.win.scrollTo){window.IQD.Utils.Constant.win.scrollTo(to,this.User.scrollY)}return to}},IE:{get:function(){var re=false,myNav=navigator.userAgent.toLowerCase();if(myNav.indexOf("msie")!=-1){re=parseInt(myNav.split("msie")[1])}else if(myNav.indexOf("rv")!=-1&&myNav.indexOf("trident")!=-1){re=parseInt(myNav.split("rv:")[1].substr(0,8))}else if(myNav.indexOf("windows")!=-1&&myNav.indexOf("edge")!=-1){re=parseInt(myNav.split("edge/")[1].substr(0,8))}return re}},Browser:{get:function(){if(_this.User.IE!=false){return{browser:"IE",version:_this.User.IE}}else{var ob={browser:null,version:0},indexPos,ua=_this.Constant.nav.userAgent.toLowerCase();var isOpera=cceck(/opera/,ua);var isChrome=cceck(/chrome/,ua);var isFireFox=cceck(/firefox/,ua);var isWebKit=cceck(/webkit/,ua);var isSafari=cceck(/safari/,ua);if(!isChrome&&isSafari){ob.browser="Safari";indexPos=ua.indexOf("version/")+8;ob.version=parseFloat(ua.substring(indexPos,indexPos+5))}else if(isChrome){ob.browser="Chrome";indexPos=ua.indexOf("chrome/")+7;ob.version=parseFloat(ua.substring(indexPos,indexPos+5))}else if(isFireFox){ob.browser="Firefox";indexPos=ua.indexOf("firefox/")+8;ob.version=parseFloat(ua.substring(indexPos,indexPos+5))}return ob}function cceck(r,st){return r.test(st)}}},NetworkSpeedClass:{get:function(){var re=1,mbsp=networkSpeed.speedMbps*1;switch(true){case mbsp<.05:{re=.5;break}case mbsp<.1:{re=.75;break}case mbsp<.2:{re=1;break}case mbsp<.5:{re=2;break}case mbsp<.8:{re=3;break}case mbsp>=1.2:{re=4;break}case mbsp>=2:{re=5}}return re}}});_this.NetworkSpeedCheck=function(){"use strict";function NetworkTest(){var _this_=this,imageAddr="https://s3.eu-central-1.amazonaws.com/iqdcdnbg/597b1d66b34daf06/NetworkSpeedCheck/net_image.jpg",downloadSize=55295,startTime,endTime,download;_this_.load=function(){download=new Image;imageAddr=arguments[0]||imageAddr;downloadSize=arguments[1]||downloadSize;startTime=(new Date).getTime();var cacheBuster="?cachche="+startTime;download.onload=function(){endTime=(new Date).getTime();var duration=(endTime-startTime)/1e3,bitsLoaded=downloadSize*8,speedBps=(bitsLoaded/duration).toFixed(2),speedKbps=(speedBps/1024).toFixed(2),speedMbps=(speedKbps/1024).toFixed(2);_this_.dispatch("onLoad",{data:{currentTarget:_this_,imageURL:imageAddr,duration:duration,bitsLoaded:bitsLoaded,speedBps:speedBps,speedKbps:speedKbps,speedMbps:speedMbps}})};download.onerror=function(err,msg){return 10};download.src=imageAddr+cacheBuster;return _this_};return _this_}NetworkTest.prototype=new Dispatcher;return new NetworkTest};_this.checkNetwork=function(url,bytes){var ch;if(url!=undefined&&bytes!=undefined){ch=_this.NetworkSpeedCheck().addEventListener("onLoad",checkLoad).load(url,bytes)}else{ch=_this.NetworkSpeedCheck().addEventListener("onLoad",checkLoad).load()}};var checkLoad=function(evt){evt.data.currentTarget.removeEventListener("onLoad",this);networkSpeed=evt.data};_this.getUriParam=function(param,opt_win){var re=undefined,url=opt_win||IQD.Utils.Constant.win.location.search.substring(1),spl=url.split("&");for(var i=0;i<spl.length;i++){if(spl[i].indexOf(param)>-1){var pair=spl[i].split("=");if(pair[0]!="")re=decodeURIComponent(pair[1])}}return re};_this.getCSSPropertyName=function(pProps){var len=pProps.length;for(var i=0;i<len;i++){if(typeof top.document.body.style[pProps[i]]!=="undefined"){return pProps[i]}}return null};_this.repeatOB;_this.repeatFunction=function(fn,inter,del){_this.repeatOB=_this.repeaterOB||{};var fnName=fn.name||(new Date).getTime();inter=inter||50;del=del||500;_this.repeatOB[fnName]=new function(__fn,__int,__del){var _this=this,_fn=__fn,_int=__int,_del=__del,_counter=0,_counterMax=Math.ceil(_del/_int);_this.timer=function(){if(_counter==_counterMax){return null}_counter++;_fn();setTimeout(_this.timer,_int)};_this.timer()}(fn,inter,del)};_this.getById=function(idOrObj,doc){function Element(idOrObj,doc){"use strict";var _doc=doc!==undefined?doc:_this.Constant.doc,_idOrObj=idOrObj,__this=this;__this._element=undefined;if(typeof _idOrObj==="string"){if(_idOrObj===""){return undefined}__this._element=_doc.getElementById(_idOrObj)}else{__this._element=_idOrObj}_this.eleProperties(__this._element)}Element.prototype=new Dispatcher;return new Element(idOrObj,doc)._element};_this.eleProperties=function(element){function Prop(element){"use strict";var __this=this;__this._elementProp=element;if(element!=undefined){try{__this._elementProp.getGlobalStyle=function(stylePro){return _this.getGlobalStyle(__this._elementProp,stylePro)};__this._elementProp.w=function(_width){__this._elementProp.width=_width;return __this._elementProp};__this._elementProp.h=function(_height){__this._elementProp.height=_height;return __this._elementProp};__this._elementProp.l=function(_left){__this._elementProp.left=_left;return __this._elementProp};__this._elementProp.t=function(_top){__this._elementProp.top=_top;return __this._elementProp};_this.ObjectDefineProperty(__this,"_elementProp",{rect:{get:function(){return __this._elementProp.getBoundingClientRect()}},width:{get:function(){return __this._elementProp.style.width},set:function(_width){__this._elementProp.style.width=_this.getRightValue(_width);if(__this._elementProp.getAttribute("width")!=undefined){__this._elementProp.setAttribute("width",_this.getRightValue(__this._elementProp.style.width))}return __this._elementProp.style.width}},widthPX:{get:function(){return __this._elementProp.getBoundingClientRect().width||__this._elementProp.getBoundingClientRect().right-__this._elementProp.getBoundingClientRect().left}},left:{get:function(){return __this._elementProp.getGlobalStyle("left")},set:function(_left){__this._elementProp.style.left=_this.getRightValue(_left);return __this._elementProp.style.left}},leftPX:{get:function(){return parseFloat(__this._elementProp.getGlobalStyle("left"))*1}},top:{get:function(){return __this._elementProp.getGlobalStyle("top")},set:function(_top){__this._elementProp.style.top=_this.getRightValue(_top);return __this._elementProp.style.top}},topPX:{get:function(){return parseFloat(__this._elementProp.getGlobalStyle("top"))*1}},leftGlobal:{get:function(){return _this.User.scrollX+__this._elementProp.getBoundingClientRect().left}},topGlobal:{get:function(){return _this.User.scrollY+__this._elementProp.getBoundingClientRect().top}},height:{get:function(){return __this._elementProp.style.height},set:function(_height){__this._elementProp.style.height=_this.getRightValue(_height);if(__this._elementProp.getAttribute("height")!=undefined){__this._elementProp.setAttribute("height",_this.getRightValue(__this._elementProp.style.height))}return __this._elementProp.style.height}},heightPX:{get:function(){return __this._elementProp.getBoundingClientRect().height||__this._elementProp.getBoundingClientRect().bottom-__this._elementProp.getBoundingClientRect().top}},setStyle:{get:function(){return __this._elementProp.style},set:function(_style){_style={style:_style};_this.setPropertiesObject(__this._elementProp,_style);return __this._elementProp.style}},setProperties:{get:function(){return __this._elementProp},set:function(prop){_this.setPropertiesObject(__this._elementProp,prop);return __this._elementProp}}});__this._elementProp.hasClass=function(className){return _this.hasClass(__this._elementProp,className)};__this._elementProp.addClass=function(className){return _this.addClass(__this._elementProp,className)};__this._elementProp.colliding=function(other){var re=__this._elementProp.rect;return!(re.top>other.bottom||re.right<other.left||re.bottom<other.top||re.left>other.right)};__this._elementProp.removeClass=function(className){return _this.removeClass(__this._elementProp,className)}}catch(e){}}}return new Prop(element)._elementProp};_this.getGlobalStyle=function(elem,stylePro){if(elem==undefined){return undefined}if(window.getComputedStyle){var compStyle=window.getComputedStyle(elem,"");return compStyle.getPropertyValue(stylePro)}else{var compStyle=elem.currentStyle;var sArra=stylePro.split("-");stylePro=sArra.capFirstLetter().join("");return elem.currentStyle[stylePro]}};_this.parseURL=function(url){var parser=IQD.Utils.Constant.doc.createElement("a"),searchObject={},queries,split;parser.href=url;queries=parser.search.replace(/^\\?/,"").split("&");var len=queries.length;for(var i=0;i<len;i++){split=queries[i].split("=");searchObject[split[0]]=split[1]}return{protocol:parser.protocol,host:parser.host,segments:parser.pathname.replace(/^\\//,"").split("/")}};_this.setPropertiesObject=function(ele,pProps){setProps(ele,pProps);return ele};_this.setProberties=_this.setPropertiesObject;_this.hasClass=function(ele,className){if(ele.classList){return ele.classList.contains(className)}else{return!!ele.className.match(new RegExp("(\\\\s|^)"+className+"(\\\\s|$)"))}};_this.addClass=function(ele,className){if(ele.classList){ele.classList.add(className)}else if(!_this.hasClass(ele,className)){ele.className+=" "+className}return className};_this.removeClass=function(ele,className){if(ele.classList){ele.classList.remove(className)}else if(_this.hasClass(ele,className)){var reg=new RegExp("(\\\\s|^)"+className+"(\\\\s|$)");ele.className=ele.className.replace(reg," ")}return className};_this.setStyleInContainer=function(_style,_opt,_styleContainer){var div;if(_opt!=undefined){div=_opt.nodeName=="#document"?_opt.getElementsByTagName("body")[0]:_opt;if(_styleContainer!=undefined&&_styleContainer==true&&_opt.nodeName=="#document"){var divIn=_this.getById("iqStyleContainer",_opt);if(divIn==undefined){divIn=_this.addElement({id:"iqStyleContainer"},{parent:div})}div=divIn}}else{div=_this.getById("iqStyleContainer");if(div==undefined){div=_this.addElement({id:"iqStyleContainer"})}}var st=_this.addElement({type:"text/css"},{parent:div,type:"style"});if(st.styleSheet){st.styleSheet.cssText=_style}else{var textNo=window.IQD.Utils.Constant.doc.createTextNode(_style);st.appendChild(textNo)}return _style};_this.addElement=function(opProps,_wopProps){var wopProps=_wopProps||{},_type=wopProps.type===undefined?"div":wopProps.type,_parent=wopProps.parent===undefined?window.IQD.Utils.Constant.doc.getElementsByTagName("body")[0]:window.IQD.Utils.getById(wopProps.parent),el=window.IQD.Utils.Constant.doc.createElement(_type);_this.setPropertiesObject(el,opProps);if(_parent!=undefined&&(wopProps.before==undefined&&wopProps.after==undefined)){_parent.appendChild(el);return _this.getById(el)}if(wopProps.before!=undefined){var _before=window.IQD.Utils.getById(wopProps.before),parent=_before.parentNode;parent.insertBefore(el,_before);return _this.getById(el)}if(wopProps.after!=undefined){var _after=window.IQD.Utils.getById(wopProps.after),parent=_after.parentNode;if(parent==_after.nextSibling.parentNode){parent.insertBefore(el,_after.nextSibling)}else{parent.appendChild(el)}return _this.getById(el)}return undefined};_this.removeElement=function(idOrObj,parent){var _element;if(typeof idOrObj==="string"){if(idOrObj===""){return undefined}_element=window.IQD.Utils.Constant.doc.getElementById(idOrObj)}else{_element=idOrObj}var _parent=parent===undefined?_element.parentNode:parent;return _parent.removeChild(_element)};_this.getRightValue=function(value){if(isNaN(value)){if(isNaN(parseInt(value.substr(-1)))){return value}else{return value+"px"}}else{return value+"px"}};_this.IQSLoader=function(obj){function IQSLoader(obj){var script=document.createElement("script"),_this;_this=this;if(obj.url!=undefined){script.type="text/javascript";script.src=obj.url;if(script.readyState){script.onreadystatechange=function(){if(script.readyState=="loaded"||script.readyState=="complete"){script.onreadystatechange=null;if(obj.callback!=undefined){obj.callback()}_this.dispatch("scriptLoaded",{})}}}else{script.addEventListener("load",function(){if(obj.callback!=undefined){obj.callback()}_this.dispatch("scriptLoaded",{})},false)}if(obj.doc==undefined){IQD.Utils.Constant.doc.getElementsByTagName("head")[0].appendChild(script)}else{obj.doc.getElementsByTagName("head")[0].appendChild(script)}}}IQSLoader.prototype=new Dispatcher;return new IQSLoader(obj)};var ObjectChange=function(){"use strict";function ObjectChange(){Dispatcher.call(this);var _thisOB_=this,oldOB,chs,obToCheck,clearAfter=0,clearCounter=0,keysToIgnor=["clone","addEventListener","startCheckChange","stopCheckChange","deleteEvents","dispatch","events","getOB","hasEvent","hasEventListener","removeAllEventListener","removeEventListener"],interVale;function ini(){clearAfter=0;clearCounter=0}function objectSerilize(ob){var obj=ob||{},keys=Object.keys(obj),results=[];keys.sort(function(a,b){return a>b?-1:a<b?1:0});keys.forEach(function(key){var value=obj[key];if(keysToIgnor.indexOf(key)<0){if(typeof value==="object"){value=objectSerilize(value)}results.push({key:value})}});return results}function compareObject(a,b){var aStr=_thisOB_.getClearJSON(a),bStr=_thisOB_.getClearJSON(b);return aStr===bStr}function getChanges(oldObj,newObj,path){var oldOB=oldObj||{};var newOB=newObj||{};var key1=Object.keys(oldOB),key2=Object.keys(newOB),keys=key1.concat(key2),results={},keyPfad=path||"",sep=path==undefined?"":".";keys.sort(function(a,b){return a>b?-1:a<b?1:0});keys.forEach(function(key){var value=newOB[key]||oldOB[key]||undefined;if(keysToIgnor.indexOf(key)<0){if(!compareObject(oldOB[key],newOB[key])){if(oldOB[key]!=undefined&&typeof oldOB[key]!=="string"&&typeof value==="object"){results[key]=getChanges(oldOB[key],newOB[key],key)}else{var od=IQD.Utils.getType(oldOB.hasOwnProperty)=="function"&&oldOB.hasOwnProperty(key)?oldOB[key]:"";if(od!==newOB[key]){results[key]={value:newOB[key]||undefined,oldValue:oldOB[key]||undefined,path:keyPfad+sep+key}}}}}});return results}function checkOb(){chs=compareObject(obToCheck,oldOB);if(chs==false){var changes=getChanges(oldOB,obToCheck);oldOB=undefined;oldOB=obToCheck.clone();clearCounter++;if(clearAfter>=1&&clearCounter>=clearAfter){clearInterval(interVale);_thisOB_.dispatch("clear",{event:"clear",data:{original:obToCheck,currentTarget:_thisOB_,changes:changes}})}_thisOB_.dispatch("change",{event:"change",data:{original:obToCheck,currentTarget:_thisOB_,changes:changes}})}}_thisOB_.getClearJSON=function(ob){var cache=[];if(_this.getType(ob)=="window"||_this.getType(ob)=="document"||_this.getType(ob)=="iframe"){return undefined}try{var s=JSON.stringify(ob,function(key,value){if(_this.getType(value)=="window"||_this.getType(value)=="document"||_this.getType(value)=="iframe"){return undefined}if(typeof value==="object"&&value!==null){if(cache.indexOf(value)!==-1){return}cache.push(value)}return value});if(cache.length>0){}return s}catch(e){}return undefined};_thisOB_.startCheckChange=function(_obj){var enumerable=false,obj=_obj||{},ivd=obj.interval||300;clearAfter=obj.clearAfter||0;obToCheck=this;oldOB=this.clone();interVale=setInterval(checkOb,ivd);return this};_thisOB_.stopCheckChange=function(_obj){ini();clearInterval(interVale);_thisOB_.dispatch("clear",{event:"clear",data:obToCheck})};_thisOB_.getOB=function(_obj){_thisOB_.dispatch("clear",{event:"clear",data:obToCheck})}}ObjectChange.prototype=new Dispatcher;return ObjectChange}();_this.IQDObject=_this.getObjectWithClone=function(ob){function ObjectClone(ob){"use strict";ObjectChange.call(this);if(ob!=undefined){var newOB=_this.getObjectWithClone();for(var i in ob){newOB[i]=ob[i]}}return newOB}ObjectClone.prototype=new ObjectChange;ObjectClone.prototype.clone=function(obj){var enumerable=false;var ob={};for(var i in this){if(i!="clone"){ob[i]=this[i]}}if(obj!=undefined){for(var i in obj){ob[i]=obj[i]}}var newOB=_this.getObjectWithClone();for(var i in ob){newOB[i]=ob[i]}return newOB};return new ObjectClone(ob)};_this.globalTick=function(){function GlobalTick(){var _this_=this;_this_.intervaleTime;_this_.fn=[];_this_.tickId=null;_this_.start=function(ms){_this_.intervaleTime=ms||200;this.setGlobalInterval();return _this_}}GlobalTick.prototype.setGlobalInterval=function(){if(this.tickId!=null){clearInterval(this.tickId);this.tickId=null}this.tickId=setInterval(function(obj){var fn=obj.fn,fnL=fn.length,i=0;for(;i<fnL;i++){if(typeof fn[i]==="function"){fn[i]()}}if(fnL===0){clearInterval(obj.tickId);obj.tickId=null}},this.intervaleTime,this)};GlobalTick.prototype.add=function(_fn){if(this.tickId==null){this.setGlobalInterval()}this.fn.push(_fn);return this};GlobalTick.prototype.remove=function(_fn){var fn=this.fn,fnL=fn.length,i=0;for(;i<fnL;i++){while(""+fn[i]===""+_fn){fn.splice(i,1)}}return this};GlobalTick.prototype.stop=function(){clearInterval(this.tickId);this.tickId=null;return this};return new GlobalTick}();function setProps(el,pProps,at){var m=at===undefined?el:el[at];for(var d in pProps){if(_this.getType(pProps[d])==="string"||_this.getType(pProps[d])==="number"){try{m[d]=pProps[d]}catch(e){}}else if(_this.getType(pProps[d])==="object"){setProps(m,pProps[d],d)}}}_this.roundBids=function(cpm){return cpm<420?parseFloat(cpm).toFixed(2):parseFloat(420).toFixed(2)};_this.getConfiguration=function(_level2,_handle,_objektInspect,_objektInterface){var objectStructure=function(obToCkeck,returnOB){for(var i in returnOB){returnOB[i]=checkValue(obToCkeck,returnOB,i)}};var checkValue=function(value,arrayDe,key){var re;if(value!=undefined){if(value[key]!=undefined){re=value[key]}else{re=arrayDe[key];if(value[key]==null&&key=="tile"){re=getAllTiles()}}}else{re=arrayDe[key]}return re};var getIndexOf=function(_keyString){var keyString=_keyString;return keyString.split(",")};var getAllTiles=function(){var hndl=AdController._handle||"",re=[],positionT=window["AdController"]!=undefined?AdController.getConfig().resolve(hndl)._positions:[];for(var d in positionT){if(positionT[d].enabled==true){re.push(positionT[d].dom_id)}}return re};var handle=_handle,level2=_level2,re={},objektInspect,positionT=window["AdController"]!=undefined?AdController.getConfig().resolve(handle)._positions:[];objektInspect=_objektInspect||window.IQD.InViewConf;re=_objektInterface||{tile:["iqadtile1","iqadtile2","iqadtile3","iqadtile16"],safetyAreaFactor:1999,networkCheckURL:{imageURL:"https://s3.eu-central-1.amazonaws.com/iqdcdnbg/597b1d66b34daf06/NetworkSpeedCheck/net_image.jpg",bytes:55295},networkCheck:false};if(objektInspect!=undefined){objectStructure(objektInspect["default"],re);for(var d in positionT){if(positionT[d].enabled==true&&objektInspect["default"].hasOwnProperty(d)){re[d]=checkValue(objektInspect["default"],re,d)}}for(var i in objektInspect){if(i==handle){objectStructure(objektInspect[handle],re);for(var d in positionT){if(positionT[d].enabled==true&&objektInspect[handle].hasOwnProperty(d)){re[d]=checkValue(objektInspect[handle],re,d)}}}}for(var d in objektInspect){if(getIndexOf(d).indexOf(level2)>=0){objectStructure(objektInspect[d]["default"],re);for(var s in positionT){if(positionT[s].enabled==true&&objektInspect[d]["default"]&&objektInspect[d]["default"].hasOwnProperty(s)){re[s]=checkValue(objektInspect[d]["default"],re,s)}}for(var i in objektInspect[d]){if(i==handle){objectStructure(objektInspect[d][i],re);for(var s in positionT){if(positionT[s].enabled==true&&objektInspect[d][i].hasOwnProperty(s)){re[s]=checkValue(objektInspect[d][i],re,s)}}}}}}}return re}}return ui}());setPrototype()}if(window.IQD.Views===undefined){window.IQD.Views=new(function(){"use strict";function Views(){var _this=this,factor=.75,yIndexFactor=0,isSetCssInlineBlock;_this.ViewsObjs={};window.IQD.Utils.ObjectDefineProperty(_this,"safetyAreaFactor",{factor:{get:function(){return factor},set:function(value){factor=value>0?value:.01;_this.__checkViewability__();return factor}},yIndexFactor:{get:function(){return yIndexFactor},set:function(value){yIndexFactor=value>=0?value:0;_this.__checkViewability__();return yIndexFactor}}});_this.showAllInfos=function(){for(var d in _this.ViewsObjs){_this.ViewsObjs[d].showInfo()}return _this.ViewsObjs};_this.getViewTile=function(id){return _this.addViewabilityCheck(id)};_this.addViewabilityCheck=function(id){"use strict";function AdProps(id){var _this_=this,viewTime=0,viewTimeComplet=0,viewTimeOb={},logConsole;_this_.adID=id;_this_.adEle;_this_._hasDivEle=false;var localSafetyAreaFactor={};window.IQD.Utils.ObjectDefineProperty(_this_,"safetyAreaFactor",{factor:{get:function(){return localSafetyAreaFactor.factor?localSafetyAreaFactor.factor:factor},set:function(value){localSafetyAreaFactor.factor=value>0?value:.01;_this.__checkViewability__();return localSafetyAreaFactor.factor}},yIndexFactor:{get:function(){return localSafetyAreaFactor.yIndexFactor?localSafetyAreaFactor.yIndexFactor:yIndexFactor},set:function(value){localSafetyAreaFactor.yIndexFactor=value;_this.__checkViewability__();return localSafetyAreaFactor.yIndexFactor}}});_this_.inViewSafetyArea=function(){var yTopFactor=_this_.safetyAreaFactor.yIndexFactor==0?1:(1-1/IQD.Utils.Site.winHeight*_this_.adEle.topGlobal)/_this_.safetyAreaFactor.yIndexFactor;yTopFactor=Math.min(yTopFactor,1);return window.IQD.Utils.User.screenHeight*_this_.safetyAreaFactor.factor*yTopFactor/IQD.Utils.User.NetworkSpeedClass};function ini(){_this_._hasDispatchedViewStart=false;_this_._hasDispatchedViewEnd=true;_this_._hasDispatchedStartRender=false;_this_._isInView=false;_this_._wasInView=false;_this_._counterRollOver=0;viewTime=0;viewTimeComplet=0;viewTimeOb={};logConsole=false}ini();_this_._sender={};_this_._viewTopDif=80;_this_._viewBottomDif=80;_this_._viewTopDifPixel=0;_this_._viewBottomDifPixel=0;_this_._checkViewBound=function(){if(_this_.adEle!==undefined){_this_._viewTopDifPixel=-1*_this_.adEle.heightPX*(_this_._viewTopDif/100);_this_._viewBottomDifPixel=_this_.adEle.heightPX*(_this_._viewBottomDif/100)}};var _timerStopCounter=40;var checkEle=function(){var el=window.IQD.Utils.getById(_this_.adID);if(el!==undefined&&el!==null){_this_._hasDivEle=true;_this_.adEle=el;if(isSetCssInlineBlock==undefined){IQD.Utils.setStyleInContainer(".onloadInlineBlock{display:inline-block !important;}");isSetCssInlineBlock=true}_this_.adEle.addClass("onloadInlineBlock");_this_._checkViewBound();_this.__checkViewability__(null);_this_.adEle.removeClass("onloadInlineBlock");clearInterval(intTim)}if(_timerStopCounter<=0){clearInterval(intTim)}_timerStopCounter--};var intTim=setInterval(checkEle,100);_this_.viewBoundary;window.IQD.Utils.ObjectDefineProperty(_this_,"viewBoundary",{set:{get:function(){return _this_._viewTopDif},set:function(value){value=value<0?0:value;_this_._viewTopDif=value;_this_._viewBottomDif=value;_this_._checkViewBound();return value}}});_this_.reset=function(){ini();clearInterval(viewTimeOb.timeoutId)};_this_.delete=function(){_this.ViewsObjs[_this_.adID]=undefined;clearInterval(viewTimeOb.timeoutId)}}AdProps.prototype=new Dispatcher;if(_this.ViewsObjs[id]===undefined){_this.ViewsObjs[id]=new AdProps(id)}return _this.ViewsObjs[id]};_this.__checkViewability__=function(evt){var clip,recClip,data,topBooRender,bottomBooRender;var viewRectangle,viewRectangleRender,grenze;for(var d in _this.ViewsObjs){if(_this.ViewsObjs[d].adEle!==undefined){if(_this.ViewsObjs[d]._hasDivEle===true&&_this.ViewsObjs[d].adEle.heightPX>=0&&!(_this.ViewsObjs[d].adEle.getGlobalStyle("display").indexOf("none")>=0)){recClip=_this.ViewsObjs[d].adEle.rect;_this.ViewsObjs[d]._checkViewBound();if(_this.ViewsObjs[d]._hasDispatchedStartRender==true){viewRectangle={left:0,top:_this.ViewsObjs[d]._viewTopDifPixel*-1,right:window.IQD.Utils.User.screenWidth,bottom:window.IQD.Utils.User.screenHeight-_this.ViewsObjs[d]._viewBottomDifPixel};if(_this.ViewsObjs[d].adEle.colliding(viewRectangle)){if(_this.ViewsObjs[d]._hasDispatchedViewStart===false){data={event:"viewStart",id:_this.ViewsObjs[d].adID,currentTarget:_this.ViewsObjs[d].adEle,target:_this.ViewsObjs[d].adEle,timeStamp:(new Date).getTime()};_this.ViewsObjs[d]._hasDispatchedViewStart=true;_this.ViewsObjs[d]._hasDispatchedViewEnd=false;_this.ViewsObjs[d]._isInView=true;_this.ViewsObjs[d].dispatch("viewStart",data)}}if(!_this.ViewsObjs[d].adEle.colliding(viewRectangle)){if(_this.ViewsObjs[d]._hasDispatchedViewEnd===false){data={event:"viewEnd",id:_this.ViewsObjs[d].adID,currentTarget:_this.ViewsObjs[d].adEle,target:_this.ViewsObjs[d].adEle,timeStamp:(new Date).getTime()};_this.ViewsObjs[d]._hasDispatchedViewStart=false;_this.ViewsObjs[d]._hasDispatchedViewEnd=true;_this.ViewsObjs[d]._isInView=false;_this.ViewsObjs[d].dispatch("viewEnd",data)}}}var yTopFactor=_this.ViewsObjs[d].safetyAreaFactor.yIndexFactor==0?1:(1-1/IQD.Utils.Site.winHeight*_this.ViewsObjs[d].adEle.topGlobal)/_this.ViewsObjs[d].safetyAreaFactor.yIndexFactor;yTopFactor=Math.min(yTopFactor,1);grenze=window.IQD.Utils.User.screenHeight*_this.ViewsObjs[d].safetyAreaFactor.factor*yTopFactor/IQD.Utils.User.NetworkSpeedClass;viewRectangleRender={left:0,top:-1*grenze,right:window.IQD.Utils.User.screenWidth,bottom:window.IQD.Utils.User.screenHeight+grenze};if(_this.ViewsObjs[d]._hasDispatchedStartRender==false&&_this.ViewsObjs[d].adEle.colliding(viewRectangleRender)){if(_this.ViewsObjs[d]._hasDispatchedStartRender===false){data={event:"startRender",id:_this.ViewsObjs[d].adID,currentTarget:_this.ViewsObjs[d].adEle,target:_this.ViewsObjs[d].adEle,timeStamp:(new Date).getTime()};_this.ViewsObjs[d]._hasDispatchedStartRender=true;try{window.IQD.Debugger.registerConsoleIFrame(_this.ViewsObjs[d].adID)}catch(e){}_this.ViewsObjs[d].dispatch("startRender",data);_this.dispatch("startRender",data)}}}}}};_this.inViewSafetyArea=function(){return window.IQD.Utils.User.screenHeight*factor/IQD.Utils.User.NetworkSpeedClass};_this.resetForReloadHandle=function(){for(var d in _this.ViewsObjs){_this.ViewsObjs[d].reset()}_this.__checkViewability__();return _this};_this.getInViewConfiguration=function(_level2,_handle){var obStr={};obStr.tile=["iqadtile1","iqadtile2","iqadtile3","iqadtile16"];obStr.safetyAreaFactor=factor;obStr.networkCheckURL={imageURL:"https://s3.eu-central-1.amazonaws.com/iqdcdnbg/597b1d66b34daf06/NetworkSpeedCheck/net_image.jpg",bytes:55295};obStr.networkCheck=false;return IQD.Utils.getConfiguration(_level2,_handle,window.IQD.InViewConf,obStr)}}Views.prototype=new Dispatcher;return Views}())}if(window.IQD.Events===undefined){window.IQD.Events=new(function(){"use strict";function Events(){var _this=this,supportedEvents=["scroll","resize","load","DOMContentLoaded"];_this.allAddedEvents={};function dispatchResizeEvent(evt){window.IQD.Views.__checkViewability__(evt);window.IQD.Events.dispatch("resize",evt)}function dispatchScrollEvent(evt){window.IQD.Views.__checkViewability__(evt);window.IQD.Events.dispatch("scroll",evt)}function dispatchLoadEvent(evt){window.IQD.Utils.Constant.winIsLoaded=true;window.IQD.Views.__checkViewability__(evt);window.IQD.Events.dispatch("load",evt)}function dispatchDOMLoadEvent(evt){window.IQD.Utils.Constant.domIsLoaded=true;window.IQD.Views.__checkViewability__(evt);window.IQD.Events.dispatch("DOMload",evt);window.IQD.Events.dispatch("DOMContentLoaded",evt)}_this.addEvent=function(){var obj=arguments[0],type=arguments[1],fn=arguments[2],canDelete=arguments[3]!=undefined?arguments[3]:true;_this.allAddedEvents[(new Date).getTime()]={obj:obj,type:type,fn:fn,delete:canDelete};if(canDelete&&supportedEvents.indexOf(type)>=0&&window.IQD.Utils.Constant.win==obj){_this.addEventListener(type,fn,canDelete)}else{setAddEvent(obj,type,fn)}return _this};function setAddEvent(obj,type,fn){if(typeof obj.addEventListener!=="undefined"){obj.addEventListener(type,fn,false)}else if(typeof obj.attachEvent!=="undefined"){obj.attachEvent("on"+type,fn)}else if(typeof obj["on"+type]!=="undefined"){var tmpEvent=obj["on"+type];obj["on"+type]=function(e){tmpEvent(e);fn(e)}}return _this}_this.removeEvent=function(obj,type,fn){if(supportedEvents.indexOf(type)>=0&&window.IQD.Utils.Constant.win==obj){_this.removeEventListener(type,fn)}if(typeof obj.removeEventListener!=="undefined"){obj.removeEventListener(type,fn,false)}else if(typeof obj.removeEvent!=="undefined"){obj.removeEvent("on"+type,fn)}else if(typeof obj.detachEvent!=="undefined"){obj.detachEvent("on"+type,fn)}else if(typeof obj["on"+type]!=="undefined"){obj["on"+type]=null}return obj};_this.clearAllEvents=function(){for(var d in _this.deleteEvents){while(_this.deleteEvents[d].length>0){_this.removeEvent(_this,d,_this.deleteEvents[d][0]);_this.deleteEvents[d].splice(0,1)}_this.deleteEvents[d]=[]}};var interVale,inViewOnStartCounter=0;function setInViewOnStartCounter(evt){inViewOnStartCounter++}function checkInViewOnStartInter(){window.IQD.Views.__checkViewability__(null);if(inViewOnStartCounter!==0){window.IQD.Views.removeEventListener("startRender",setInViewOnStartCounter);_this.removeEvent(window.IQD.Utils.Constant.win,"resize",setInViewOnStartCounter);_this.removeEvent(window.IQD.Utils.Constant.win,"scroll",setInViewOnStartCounter);clearInterval(interVale)}}function checkInViewOnStart(){window.IQD.Views.__checkViewability__(null);window.IQD.Views.addEventListener("startRender",setInViewOnStartCounter);_this.addEvent(window.IQD.Utils.Constant.win,"resize",setInViewOnStartCounter);_this.addEvent(window.IQD.Utils.Constant.win,"scroll",setInViewOnStartCounter);interVale=setInterval(checkInViewOnStartInter,125)}function ini(){_this.addEvent(window.IQD.Utils.Constant.win,"resize",dispatchResizeEvent,false);_this.addEvent(window.IQD.Utils.Constant.win,"scroll",dispatchScrollEvent,false);_this.addEvent(window.IQD.Utils.Constant.win,"load",dispatchLoadEvent,false);_this.addEvent(window.IQD.Utils.Constant.doc,"DOMContentLoaded",dispatchDOMLoadEvent,false);checkInViewOnStart()}ini()}Events.prototype=new Dispatcher;return Events}())}if(window.IQD.Slots===undefined){window.IQD.Slots=new(function(){"use strict";function Slots(){"use strict";var _this=this,_slots=function(){"use strict";function SlotsOb(slotTile){var _this=this}SlotsOb.prototype={};addProperty(SlotsOb.prototype,"length",function(){var counter=0;for(var d in _this){if(typeof _this[d]=="object"){counter++}}return counter>=2?counter:2});return new SlotsOb}(),_hasEventAlldispatched=false,_renderCounter=0,_pubads=undefined;_this.slots=_slots;_this.isIniGPT=false;_this.addSlot=function(slotTile){if(_slots[slotTile]!==undefined){return _slots[slotTile]}try{window.IQD.EventLogs.setMark("slotApi-slotConfiguration-"+slotTile)}catch(e){}_slots[slotTile]=function(){"use strict";function Slot(slotTile){var _this_=this;_this_.slotTile=slotTile;_this_.size;_this_.slotGPT;_this_.isRenderEnded=false;_this_.isOnLoaded=false;_this_.renderCounter=0;_this_.tileInfos=function(){var t4={},endStr=_this_.slotTile.substr(8,_this_.slotTile.length),slotNum=endStr.toLowerCase()=="oop"?"out-of-page":parseInt(endStr);try{t4.accountid=1285;t4.adtile=_this_.slotTile;t4.creativeid=_this_.slotGPT.creativeId;t4.lineitemid=_this_.slotGPT.lineItemId;t4.advertiserid=_this_.slotGPT.advertiserId;t4.formatsize=_this_.slotGPT.size==null?"0x0":_this_.slotGPT.size[0]+"x"+_this_.slotGPT.size[1];t4.adslot=slotNum;t4.areaid=IQD.AdController.ExecutionContext.prototype.cvars["level2"]||"";t4.adformat=isNaN(slotNum)?slotNum:getAdForm(slotNum);t4.layout=_this_.slotGPT.slot.getTargeting("doc")[0]||"";t4.websiteid="zeitonline";t4.adunit=_this_.slotGPT.slot.getAdUnitPath()||"";t4.targetingKeys=_this_.slotGPT.slot.getTargetingKeys()||[];t4.kw=_this_.slotGPT.slot.getTargeting("kw")||[]}catch(e){}var jsonT4=JSON.stringify(t4),t4Str=\'{"tile":\'+jsonT4+"}",t4Str2=\'{ "iqEvent":"iqdRenderEvent", "iqData":\'+t4Str+"}";return t4};_this_.templateData={};function getAdForm(slotNum){var aL=window.IQD.Utils.Constant.win.IQD_varPack.gptAdSlotSize.length,re="";for(var d=0;d<aL;d++){if(window.IQD.Utils.Constant.win.IQD_varPack.gptAdSlotSize[d][0]*1==slotNum){re=window.IQD.Utils.Constant.win.IQD_varPack.gptAdSlotSize[d][1];d+=aL}}return re}}Slot.prototype=new Dispatcher;return new Slot(slotTile)}(slotTile);_slots[slotTile].addEventListener("FromGPTonLoad",function(evt){dispatchGlobalOnLoadAd(evt)});_slots[slotTile].addEventListener("FromGPTrenderEnded",function(evt){dispatchGlobalRenderAd(evt)});return _slots[slotTile]};_this.resetForReloadHandle=function(){_hasEventAlldispatched=false;_renderCounter=0;for(var d in _slots){_slots[d].isRenderEnded=false;_slots[d].isOnLoaded=false}return _this};function dispatchGlobalRenderAd(evt){_this.dispatch("slotRenderEnded",evt);_slots[evt.slot.slotTile].renderCounter++;_slots[evt.slot.slotTile].dispatch("renderEnded",evt);checkIsAllRenderEnded();try{window.IQD.EventLogs.setMark("slotApi-slotRenderEnded-"+evt.slot.slotTile)}catch(e){}}function checkIsAllRenderEnded(evt){var isAll=true;_renderCounter=0;for(var d in _slots){if(typeof _slots[d]=="object"){if(!_slots[d].isRenderEnded){isAll=false}else{_renderCounter++}}}if(isAll&&window.IQD.Utils.Constant.domIsLoaded&&_hasEventAlldispatched==false&&_renderCounter>=_slots.length()){_hasEventAlldispatched=true;try{window.IQD.EventLogs.setMark("slotApi-slotAllRenderEnded")}catch(e){}_this.dispatch("slotAllRenderEnded",{});_this.resetForReloadHandle()}}function dispatchGlobalOnLoadAd(evt){try{window.IQD.EventLogs.setMark("slotApi-slotOnLoad-"+evt.slot.slotTile)}catch(e){}_slots[evt.slot.slotTile].templateData=getT4Data(evt.slot.slotTile);_slots[evt.slot.slotTile].dispatch("slotOnLoad",evt);_slots[evt.slot.slotTile].dispatch("onLoad",evt);_this.dispatch("slotOnLoad",evt);checkIsAllLoad()}var getT4Data=function(tile){var slotNum=tile.substr(8),data={},le=(IQD.Utils.Constant.win.t4ftPlacement||[]).length;for(var d=0;d<le;d++){if(IQD.Utils.Constant.win.t4ftPlacement[d].adslot===slotNum){data=IQD.Utils.Constant.win.t4ftPlacement[d]}}return data};function checkIsAllLoad(){var isAll=true;for(var d in _slots){if(!_slots[d].isOnLoaded){isAll=false;break}}if(isAll&&window.IQD.Utils.Constant.domIsLoaded){_this.dispatch("slotAllOnLoad",{});try{window.IQD.EventLogs.setMark("slotApi-slotAllOnLoad")}catch(e){}}}_this.ini=function(gpt){if(_pubads==undefined){try{AdController.getEventDispatcher().on("render_controller",function(RenderControllerEvent){try{_this.dispatch("ACRenderControllerEvent",{slot:_slots[RenderControllerEvent.domTarget],tile:RenderControllerEvent.domTarget});_slots[RenderControllerEvent.domTarget].dispatch("ACRenderControllerEvent",{slot:_slots[RenderControllerEvent.domTarget]})}catch(e){_this.dispatch("ACRenderControllerEvent",{tile:RenderControllerEvent.domTarget})}})}catch(e){}_pubads=gpt;_this.isIniGPT=true;_this.dispatch("iniGPT");_pubads.addEventListener("slotOnload",function(event){for(var d in _slots){if(_slots[d].slotTile==event.slot.getSlotElementId()){_slots[d].isOnLoaded=true;_slots[d].dispatch("FromGPTonLoad",{slot:_slots[d],slotGPT:event,event:"onLoad"})}}});_pubads.addEventListener("slotRenderEnded",function(event){for(var d in _slots){if(_slots[d].slotTile==event.slot.getSlotElementId()){_slots[d].size=event.size;_slots[d].isRenderEnded=true;_slots[d].slotGPT=event;_slots[d].dispatch("FromGPTrenderEnded",{slot:_slots[d],slotGPT:event,event:"renderEnded"})}}})}};_this.getSlot=function(adTile){if(_slots[adTile]===undefined){_this.addSlot(adTile)}return _slots[adTile]};if(window.IQD.Utils.User.IE==8){document.onreadystatechange=function(){if(document.readyState=="interactive"){checkIsAllLoad();checkIsAllRenderEnded()}}}else{window.IQD.Events.addEventListener("DOMload",function(){checkIsAllLoad();checkIsAllRenderEnded()},false)}}Slots.prototype=new Dispatcher;return Slots}())}if(window.IQD.APItoFrame===undefined){window.IQD.APItoFrame=new(function(){"use strict";function toFrame(){"use strict";var _this=this,ini,isIni=false,checkSlot={},checkRenderSlots,checkSlot,slotCheckTimer;ini=function(){if(isIni==false){checkRenderSlots=function(){window.IQD.Events.removeEventListener("DOMload",ini);window.IQD.Events.removeEventListener("load",ini);window.IQD.Slots.addEventListener("slotRenderEnded",function(evt){checkSlot[evt.slot.slotTile]=new(function(){"use strict";function checkFrameContent(){var __this=this;__this.setAPI=function(tile){__this.tile=tile;var ti=window.IQD.Utils.getById(tile),allFrames=ti!=undefined?ti.getElementsByTagName("iframe"):[];if(allFrames.length==0){return false}var notX=Array("length","item","namedItem");for(var d=0;d<allFrames.length;d++){var dx=function(){"use strict";function checkiFrame(fram,til){var counter=0,tile=til;function check(frame,tile){var oriWindow=frame,foundiFrame=false,timeOut=false;if(oriWindow!=undefined){var con=oriWindow.contentWindow;if(frame.src!=undefined&&frame.src!=""){clearTimeout(timeOut);return null}if(con!=undefined){frame.contentWindow.IQD=window.IQD;if(window.IQD.Utils.User.IE==false){var event=document.createEvent("Events");event.initEvent("IQDAPI",true,true);frame.contentWindow.dispatchEvent(event);foundiFrame=true;frame.onload=function(){};clearTimeout(timeOut)}else if(window.IQD.Utils.User.IE>=9){var event=document.createEvent("UIEvents");event.initEvent("IQDAPI",true,true);frame.contentWindow.dispatchEvent(event);foundiFrame=true;frame.onload=function(){};clearTimeout(timeOut)}else if(window.IQD.Utils.User.IE<9){var inter=setInterval(function(){if(frame.contentWindow.document.body!=undefined){frame.contentWindow.IQD=window.IQD;frame.contentWindow.onIQDAPI();clearInterval(inter)}},10);try{frame.contentWindow.onIQDAPI();foundiFrame=true;frame.onload=function(){}}catch(e){}clearTimeout(timeOut)}foundiFrame=true;frame.onload=function(){frame.contentWindow.IQD=window.IQD;frame.contentWindow.dispatchEvent(event);foundiFrame=true;clearTimeout(timeOut)}}}counter++;if(!foundiFrame&&counter<1e3){timeOut=setTimeout(function(){check(frame,tile)},10)}}this.init=function(){check(fram,tile)}}return new checkiFrame(allFrames[d],tile)}(allFrames[d],tile);dx.init()}}}return checkFrameContent}());checkSlot[evt.slot.slotTile].setAPI(evt.slot.slotTile)})};slotCheckTimer=setTimeout(checkSlot,300);isIni=true}};checkSlot=function(){if(window.IQD.Slots.isIniGPT==undefined||window.IQD.Slots.isIniGPT==false){slotCheckTimer=setTimeout(checkSlot,300)}else{checkRenderSlots()}};_this.ie8Ini=function(){window.IQD.Events.addEventListener("DOMload",ini);window.IQD.Events.addEventListener("load",ini);try{ini()}catch(e){}};window.IQD.Events.addEventListener("DOMload",ini);window.IQD.Events.addEventListener("load",ini);ini()}return toFrame}());if(window.IQD.Utils.User.IE==8){window.IQD.APItoFrame.ie8Ini()}}if(window.IQD.TemplateUtils===undefined){window.IQD.TemplateUtils=new(function(){"use strict";function TemplateUtils(){var __this_=this;__this_.SiteCode=function(adunit){try{var adUnitMacro=adunit,adUnit=adUnitMacro.split("/"),sCode="";sCode=adUnit.length>=3?adUnit[2]:"";return sCode}catch(e){return""}};__this_.Moat=function(obj){try{obj.frameWindow.iqns_zMoatWF=obj.frameWindow.iqns_zMoatWF||[];obj.frameWindow.iqns_zMoatAssetCollector={};obj.frameWindow.iqns_zMoatWF[obj.dfpMacros.creativeId]=obj.name;if(obj.assets==undefined){obj.frameWindow.iqns_zMoatAssetCollector.asset1=obj.name+"_"+obj.dfpMacros.creativeId}else if(obj.assets!=undefined){for(var s in obj.assets){obj.frameWindow.iqns_zMoatAssetCollector["asset"+s]=obj.assets[s]+"_"+obj.dfpMacros.creativeId}}}catch(e){obj.frameWindow.iqns_zMoatWF[obj.dfpMacros.creativeId]="noValue";obj.frameWindow.iqns_zMoatAssetCollector.asset1="noValue_"+obj.dfpMacros.creativeId}};__this_.Batch=function(obj){var win=window.IQD.Utils.Constant.win;var doc=window.IQD.Utils.Constant.doc;try{var z=document.getElementsByTagName("script"),t,r,s,l=z.length,adAdapter=typeof win.AdController!=="undefined"?win.AdController._siteConfig._adapterName:"noAdapter",adMode=top!=self?"iFrame":"topLevel",thisIFrameID=adMode=="iFrame"?win.document.getElementById(obj.frameWindow.frameElement.attributes.id.value).id:"no_iFrame",cacheBusterAd="false";if(adAdapter!=="gpt"){for(var i=0;i<l;i++){if(z[i].src.indexOf("tile")>-1&&z[i].src.indexOf(siteCode)>-1){t=z[i].src;t=t.split("/");r=z[i].src.indexOf("N183")>-1?t[6]:t[5];r=r.indexOf(";")>-1?r.substring(0,r.indexOf(";")):r;s=t[t.length-1].split("sz=");s=s[1].split(";")}}}if(adAdapter==="gpt"){var gpt_slots=win.iqd_gpt_slots;r=win.IQD.AdController.ExecutionContext.prototype.cvars["level2"];for(var i=0;i<win.IQD_varPack.gptAdSlotSize.length;i++){s=[];if(win.IQD_varPack.gptAdSlotSize[i][0]==obj.Pattern.tile){s[0]=win.IQD_varPack.gptAdSlotSize[i][1];break}}}win.t4ftPlacement=win.t4ftPlacement||[];win.t4ftPlacement.push({accountid:1285,websiteid:obj.dfpMacros.topAdUnitCode,areaid:r,advertiserid:obj.dfpMacros.advertiserId,orderid:obj.dfpMacros.orderId,lineitemid:obj.dfpMacros.lineItemId,adunitid:obj.dfpMacros.currentAdUnitId,layout:obj.dfpPattern.layout,adslot:obj.dfpPattern.tile,adtype:obj.name,creativeid:obj.dfpMacro.creativeId,formatsize:obj.formatsize,adformat:s[0],admodul:adAdapter,admode:adMode,adiframeid:thisIFrameID,cachebusterad:cacheBusterAd})}catch(e){}};__this_.setIframeTag=function(obj){obj.adContainer.innerHTML=obj.iFrameTag;obj.adContainer.setAttribute("data-creative-asset",obj.dataCreativeAsset)};__this_.setHtmlUrl=function(obj){var src=obj.htmlUrl;if(src.indexOf("?")==-1){src+="?"}else{src+="&"}if(obj.tags!=undefined){src+=obj.tags+"&"}if(obj.urlParam!=undefined){for(var s in obj.urlParam){src+=s+"="+obj.urlParam[s]+"&"}}var re=IQD.Utils.addElement({style:{width:obj.width+"px",height:obj.height+"px",border:"none"},scrolling:"no",width:obj.width,height:obj.height,src:src,id:"iframe-"+obj.wrapperId,name:"iframe-"+obj.wrapperId},{parent:obj.adContainer,type:"iframe"});re.setAttribute("data-creative-asset",obj.dataCreativeAsset);return re};__this_.setImageFile=function(obj){var atag=IQD.Utils.addElement({target:"_blank",href:obj.dfpMacros.unescapedTrackingUrl},{parent:obj.adContainer,type:"a"});var img=IQD.Utils.addElement({width:obj.width,height:obj.height,src:obj.imageFile,border:"0",id:obj.wrapperId},{parent:atag,type:"img"});img.width=obj.width;img.height=obj.height;img.setAttribute("data-creative-asset",obj.dataCreativeAsset);return atag};__this_.setClickOverlay=function(obj){return window.IQD.Utils.addElement({href:obj.dfpMacros.unescapedTrackingUrl,id:"clickoverlay-"+obj.wrapperId,target:"_blank",style:{position:"absolute",top:"0",left:"0",width:obj.width+"px",height:obj.height+"px"}},{parent:obj.adContainer,type:"a"})};__this_.setTracking=function(obj){obj.framedoc.imgCounter=obj.framedoc.createElement("img");obj.framedoc.imgCounter.src=obj.tracking};__this_.adapterName=function(){return window.IQGDPR_handle.adapter.isGPT?"GPT":window.IQGDPR_handle.adapter.isAST?"AST":"GPT"};__this_.checkForMobile=function(){var hasTouchScreen=false;if("maxTouchPoints"in navigator){hasTouchScreen=navigator.maxTouchPoints>0}else if("msMaxTouchPoints"in navigator){hasTouchScreen=navigator.msMaxTouchPoints>0}else{var mQ=window.matchMedia&&matchMedia("(pointer:coarse)");if(mQ&&mQ.media==="(pointer:coarse)"){hasTouchScreen=!!mQ.matches}else if("orientation"in window){hasTouchScreen=true}else{var UA=navigator.userAgent;hasTouchScreen=/\\b(BlackBerry|webOS|iPhone|IEMobile)\\b/i.test(UA)||/\\b(Android|Windows Phone|iPad|iPod)\\b/i.test(UA)}}var mQ2=window.matchMedia&&matchMedia("(max-width: 767px)");return hasTouchScreen===true&&mQ2.matches===true};__this_.initCrid=function(){if(typeof window.IQDAO!=="object"||typeof window.inIframe!=="undefined"&&window.inIframe=="true"){window.IQDAO={}}if(typeof window.IQDAO==="object"&&!window.IQDAO.hasOwnProperty("AdIdFrame")){window.IQDAO.AdIdFrame={};var __that__=window.IQDAO.AdIdFrame;var isMobile=__this_.checkForMobile();if(!isMobile){__that__.konamiCounter=0,__that__.iqKeylogInit=function(){var i=__that__.konamiCounter;window.addEventListener("keydown",function(e){if(i===0&&e.key==="ArrowDown"||i===1&&e.key==="ArrowDown"||i===2&&e.key==="ArrowUp"||i===3&&e.key==="ArrowUp"||i===4&&e.key==="ArrowLeft"||i===5&&e.key==="ArrowRight"||i===6&&e.key==="ArrowLeft"||i===7&&e.key==="ArrowRight"||i===8&&e.key==="i"||i===9&&e.key==="q"||i===10&&e.key==="Enter"){if(i===10){__that__.loadCridAssets()}else{i++}}else{i=0}})}}else{__that__.konamiCounter={startY:undefined,endY:undefined,scroll:0,tap:0,appended:false};__that__.isBottom=function(){return Math.round(window.innerHeight+window.scrollY)>=document.body.offsetHeight||Math.floor(window.innerHeight+window.scrollY>=document.body.offsetHeight)};__that__.touchstartCallback=function(e){if(__that__.isBottom()){__that__.konamiCounter.startY=e.changedTouches[0].pageY;window.addEventListener("touchend",__that__.touchendCallback)}};__that__.touchendCallback=function(e){__that__.konamiCounter.endY=e.changedTouches[0].pageY;if(__that__.konamiCounter.scroll<4&&__that__.konamiCounter.endY-__that__.konamiCounter.startY<=-10){__that__.konamiCounter.scroll++}else if(__that__.konamiCounter.scroll>=4&&!__that__.konamiCounter.appended){var el=document.createElement("div");el.id="cridButton";el.style.width="100%";el.style.height="60px";document.body.appendChild(el);__that__.konamiCounter.appended=true;el.addEventListener("touchstart",__that__.tapCallback,true);el.addEventListener("touchstart",__that__.tapCallback)}};__that__.tapCallback=function(e){if(__that__.konamiCounter.tap<4){__that__.konamiCounter.tap++}else{__that__.loadCridAssets();__that__.konamiCounter.tap=0}window.removeEventListener("touchstart",__that__.touchstartCallback);window.removeEventListener("touchend",__that__.touchendCallback)};__that__.iqKeylogInit=function(){window.addEventListener("touchstart",__that__.touchstartCallback)}}__that__.adxFrame=function(evt){window.IQDAO=window.IQDAO||{};window.IQDAO.cridCache=window.IQDAO.cridCache||[];if(!window.CridAdSlot){__this_.cridAdSlotInit()}var crid=new CridAdSlot(evt,__this_.adapterName());if(crid.advertiserId||crid.auctionId){window.IQDAO.cridCache.push(crid)}var cridEventTarget=document.querySelector("#cridEventTarget");if(cridEventTarget){cridEventTarget.dispatchEvent(new CustomEvent("cridEvent"))}};__that__.domLoadedCallBack=function(e){var wrapper=window.document.createElement("div");wrapper.id="cridWrapper";wrapper.style.zIndex=9999;window.document.body.appendChild(wrapper);window.cridCache=[];if(localStorage.getItem("cridPin"))__that__.loadCridAssets()};__that__.loadCridAssets=function(env){var assets=document.createElement("script");document.body.appendChild(assets);if(env==="dev"){assets.src="https://s3.eu-central-1.amazonaws.com/stage.iqcreativeidentifier/bundle.js"}assets.src="https://s3.eu-central-1.amazonaws.com/prod.iqcreativeidentifier/bundle.js"};__that__.iqKeylogInit();switch(document.readyState){case"loading":window.document.addEventListener("DOMContentLoaded",__that__.domLoadedCallBack);break;default:__that__.domLoadedCallBack()}}};__this_.IQCreativeIdentifier=function(obj){window.IQDAO=window.IQDAO||{};window.IQDAO.templateCache=window.IQDAO.templateCache||{};window.IQDAO.templateCache["iqadtile"+obj.dfpPattern.tile]={creativeName:obj.name}};__this_.cridAdSlotInit=function(){function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);return Constructor}window.CridAdSlot=function(){"use strict";function CridAdSlot(slot){var realm=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"GPT";_classCallCheck(this,CridAdSlot);if(realm==="GPT"){var _slot$slot,_slot$size,_slot$size2;this.tile=slot.slot.getSlotElementId();this.tile=this.tile.substring(8);this.advertiserId=slot===null||slot===void 0?void 0:slot.advertiserId;this.lineItemId=slot===null||slot===void 0?void 0:slot.sourceAgnosticLineItemId;this.creativeId=slot===null||slot===void 0?void 0:slot.sourceAgnosticCreativeId;this.size=(slot===null||slot===void 0?void 0:(_slot$size=slot.size)===null||_slot$size===void 0?void 0:_slot$size[0])+"x"+(slot===null||slot===void 0?void 0:(_slot$size2=slot.size)===null||_slot$size2===void 0?void 0:_slot$size2[1])}else if(realm==="AST"){this.tile=slot.targetId.substring(8);this.tagId=slot.tagId;this.auctionId=slot.auctionId;this.creativeId=slot.creativeId;this.advertiser=slot.width===99&&slot.height===1?"Ausbuchung":"Default";this.size=(slot===null||slot===void 0?void 0:slot.width)+"x"+(slot===null||slot===void 0?void 0:slot.height)}this.realm=realm;this.domNode=document.querySelector("#iqadtile"+this.tile);this.realHeight=this.domNode.heightPX;this.realWidth=this.domNode.widthPX;this.date=new Date;this.dict={"320x180":"Video Content Ad","640x360":"Video Content Ad","160x90":"Video Content Ad","210x64":"Premium Button","1000x100":"Banner 10:1","1000x125":"Banner 8:1","1000x167":"Banner 6:1","1000x250":"Banner 4:1","1000x333":"Banner 3:1","1000x500":"Banner 2:1","1000x1000":"Banner 1:1","300x300":"Banner 1:1","300x200":"Nativer/Content Teaser","320x320":"Nativer/Content Teaser","99x1":"Ausbuchung","1x1":"Ausbuchung","940x250":"Billboard","800x250":"Billboard","728x90":"Billboard","300x600":"Halfpage Ad","300x250":"Medium Rectangle","660x250":"Wide Rectangle","160x600":"Skyscraper"},this.advertiserList={12411685:"AdX",41092405:"Yield",42671245:"Yield",21027325:"Ausbuchung",4612402464:"Headerbidding",4654576556:"Headerbidding"}}_createClass(CridAdSlot,[{key:"advertiserName",get:function get(){if(this.realm==="GPT"){return this.advertiserList[this.advertiserId]?this.advertiserList[this.advertiserId]:"IO"}else{return this.advertiser}}},{key:"creativeName",get:function get(){if(this.realm==="GPT"){var templateCache=window.IQDAO.templateCache;if(templateCache&&templateCache["iqadtile"+this.tile]&&templateCache["iqadtile"+this.tile].creativeName){return templateCache["iqadtile"+this.tile].creativeName}else{if(this.advertiserId===21027325){return"Ausbuchung"}return this.dict[this.size]?this.dict[this.size]:"default"}}else{return this.advertiser==="Ausbuchung"?"Ausbuchung":"default"}}},{key:"troubleShootingUrl",get:function get(){var queryId=(this.domNode||{}).getAttribute("data-google-query-id");return queryId?"https://admanager.google.com/183#troubleshooting/screenshot/query_id="+queryId:undefined}},{key:"lineItemUrl",get:function get(){return this.lineItemId&&this.lineItemId!=="unbekannt"?"https://admanager.google.com/183#delivery/line_item/detail/line_item_id="+this.lineItemId:undefined}},{key:"creativeUrl",get:function get(){return this.lineItemId&&this.creativeId&&this.lineItemId!=="unbekannt"&&this.creativeId!=="unbekannt"?"https://admanager.google.com/183#delivery/line_item_creative_association/detail/line_item_id="+this.lineItemId+"&creative_id="+this.creativeId:undefined}},{key:"globalY",get:function get(){var rect=this.domNode.getBoundingClientRect();if((this.advertiserId===21027325||this.advertiser==="Ausbuchung")&&rect.top===0){rect=this.domNode.parentElement.getBoundingClientRect();if(rect.top===0){rect=this.domNode.parentElement.parentElement.getBoundingClientRect()}}var globalTop=window.pageYOffset+rect.top;var computedStyle=document.defaultView.getComputedStyle(this.domNode);if(computedStyle.position==="fixed"||this.tile==="21"){globalTop=0}return globalTop}}]);return CridAdSlot}()}}return TemplateUtils}())}})();',
'var gotDaisyBit=false,daisybit="";window.callBackWithDaisyBit=function(){if(IQGDPR_handle.hardCutOff==="false"){window.gotDaisyBit=true;var ac_level1=AdController.getConfig().resolve("").getVar("level1");var mySt=setInterval(function(){if(typeof window.myGetGlobal==="function"&&typeof window.myGetEmetriq==="function"&&typeof window.myGetHeaderBidding==="function"&&typeof window.myLoadPubstackScript==="function"){try{window.IQD.adapter.loadLibrary()}catch(e){console.error("window.IQD.adapter.loadLibrary called - error ",e)}try{window.IQD.adapter.setRenderingLogic()}catch(e){console.error("window.IQD.adapter.setRenderingLogic called - error ",e)}try{window.myGetGeoedge()}catch(e){console.error("window.myGetGeoedge called - error ",e)}try{window.myGetGlobal()}catch(e){console.error("window.myGetGlobal called - error ",e)}try{window.myGetEmetriq()}catch(e){console.error("window.myGetEmetriq called - error ",e)}try{if(ac_level1==="iqdspiegel"||ac_level1==="iqdmanagermagazin"||ac_level1==="iqdelffreunde"||ac_level1==="wiwo"){window.myGetAdnami()}else{}}catch(e){console.error("window.myGetAdnami called - error ",e)}if(window.IQD_varPack.blockHeaderBiddingKw!==undefined&&IQD.AdController.ExecutionContext.prototype.cvars.keywords.includes(window.IQD_varPack.blockHeaderBiddingKw)){}else{try{window.myGetHeaderBidding()}catch(e){console.error("window.myGetHeaderBidding called - error ",e)}}try{window.myLoadPubstackScript()}catch(e){console.error("window.myLoadPubstackScript called - error ",e)}try{window.assignIqadtileInViewObserver()}catch(e){console.error("window.assignIqadtileInViewObserver called - error ",e)}clearInterval(mySt)}},200)}};window.myApproachCallback=window.callBackWithDaisyBit;',
'window.getGPTAdapterSettings=()=>{const IQD={};IQD.adapter=IQD.adapter||{};IQD.adapter.gpt=IQD.adapter.gpt||{};IQD.adapter.ast=IQD.adapter.ast||{};IQD.adapter.isGPT=!!window.IQGDPR_handle.adapter.isGPT;IQD.adapter.isAST=!!window.IQGDPR_handle.adapter.isAST;window.consoleOutput("gdpr_FFA_utils_GPT_tcfv2strict_gam360 > IQD.adapter.isGPT = ",IQD.adapter.isGPT," _ ",typeof IQD.adapter.isGPT);window.consoleOutput("gdpr_FFA_utils_GPT_tcfv2strict_gam360 > IQD.adapter.isAST = ",IQD.adapter.isAST," _ ",typeof IQD.adapter.isAST);if(window.IQD.TemplateUtils.initCrid){window.IQD.TemplateUtils.initCrid()}IQD.ext=IQD.adapter.isGPT?"GPT.JS":"AST.JS";IQD.l=pString=>{window.consoleOutput(`[${IQD.ext}] ${pString}`)};IQD.adapter.gpt.loadLibrary=()=>{IQD.l("in IQD.adapter.loadLibrary()");const s=document.createElement("script");s.type="text/javascript";s.async=true;s.src="https://securepubads.g.doubleclick.net/tag/js/gpt.js";document.getElementsByTagName("head")[0].appendChild(s)};IQD.adapter.gpt.name=()=>"gpt";IQD.adapter.gpt.destroySlots=()=>{IQD.l("in IQD.adapter.destroySlots()");if(document.querySelector(\'[id*="_placeholder_iq"]\')){const iqAdViewNodes=document.querySelectorAll(\'[id*="_placeholder_iq"]\');for(let i=0;i<iqAdViewNodes.length;i++){iqAdViewNodes[i].remove()}}if(typeof window.googletag!=="undefined"&&typeof window.googletag.destroySlots==="function"){window.googletag.pubads().updateCorrelator();window.googletag.destroySlots()}window.iqd_gpt_slots=[];window.adsRendered=[];IQD.adapter.clearEvents()};IQD.adapter.gpt.setRenderingLogic=()=>{IQD.l("in IQD.adapter.setRenderingLogic()");const level1=window.AdController.getConfig().resolve(window.AdController._handle).getVar("level1");window.googletag.cmd.push(()=>{window.googletag.pubads().addEventListener("slotRenderEnded",e=>{const posSize=e.size;const posTile=e.slot.getSlotElementId();const posNumber=document.getElementById(posTile).getAttribute("data-placement");const domainOrigin=window.location.origin?window.location.origin:`${window.location.protocol}//${window.location.hostname}${window.location.port?`:${window.location.port}`:""}`;let isPosFilled=false;if(window.location.href.indexOf("iqviewadplace")>-1){isPosFilled=true}if(!(Object.prototype.hasOwnProperty.call(window.IQD_varPack.ausbuchung,posTile)&&window.IQD_varPack.ausbuchung[posTile])){if(posTile==="iqadtile1"&&Object.prototype.hasOwnProperty.call(window.IQD_varPack.ad,"iqadtile1")&&(window.IQD_varPack.ad.iqadtile1==="Sitebar"||window.IQD_varPack.ad.iqadtile1==="DoubleSitebar")){if(window.AdController.getConfig().resolve(window.AdController._handle).getVar("level1")==="hcfhb"){isPosFilled=false}else{isPosFilled=true}}else{isPosFilled=true}}else{isPosFilled=false}const msgData={render_event:"IQTileLoaded",position_filled:isPosFilled,position:posNumber,position_tile:posTile,position_size:posSize};window.consoleOutput(msgData);window.postMessage(JSON.stringify(msgData),domainOrigin);window.consoleOutput(`%c IQ - gpt - slotRenderEnded ${posTile}`,"background: #222; color: #2aa2e5db");if(typeof window.treatToSubload==="function"){window.treatToSubload(posTile)}if(typeof window.top.prebidCache!=="undefined"&&typeof window.top.prebidCache[posTile]!=="undefined"){if(e.advertiserId===4612402464){if(typeof window.top.prebidCache[posTile].sponsor==="undefined"){window.top.prebidCache[posTile].response=true;window.top.prebidCache[posTile].wasUsed=true}else{window.top.prebidCache[window.top.prebidCache[posTile].sponsor].response=true;window.top.prebidCache[window.top.prebidCache[posTile].sponsor].wasUsed=true}}else if(typeof window.top.prebidCache[posTile].sponsor==="undefined"){window.top.prebidCache[posTile].response=true;window.top.prebidCache[posTile].wasUsed=false}else{window.top.prebidCache[window.top.prebidCache[posTile].sponsor].response=true;window.top.prebidCache[window.top.prebidCache[posTile].sponsor].wasUsed=false}}window.IQDAO.AdIdFrame.adxFrame(e);const getGoogleIframeWidth=()=>{let computedIframeWidth;if(document.querySelector(`#${posTile} > div#iqdSuperbanner > div#iqdSuBaPos`)){if(window.IQD_varPack.iqdSite==="handelsblatt_nd"){window.IQD_varPack.iqdSetStyleInContainer({css:`#${posTile}::before {background-color:transparent;margin:0 -13px 0 auto;text-align:left;}`})}else{window.IQD_varPack.iqdSetStyleInContainer({css:`#${posTile}::before {background-color:transparent;margin:0 0 0 auto;text-align:left;}`})}computedIframeWidth=`${parseInt(window.getComputedStyle(document.querySelector(`#${posTile} > div#iqdSuperbanner > div#iqdSuBaPos`)).getPropertyValue("width"),10)}px`}else if(document.querySelector(`#${posTile} > div[id$="AdMainWrapper"]`)){computedIframeWidth=window.getComputedStyle(document.querySelector(`#${posTile} > div[id$="AdMainWrapper"]`)).getPropertyValue("width")}else if(document.querySelector(`#${posTile} > div`)&&document.querySelector(`#${posTile} > div >iframe[id^="google_ads_iframe"]`)){computedIframeWidth=window.getComputedStyle(document.querySelector(`#${posTile} > div >iframe[id^="google_ads_iframe"]`)).getPropertyValue("width")}else{computedIframeWidth="0px"}return computedIframeWidth};const fixTileWidth=()=>{const computedIframeWidth=getGoogleIframeWidth();if(document.querySelector(`#${posTile}>[data-creative-asset="MobileRolloverAd"]`)){const labelHeight=window.getComputedStyle(document.querySelector(`#${posTile}`),":before").getPropertyValue("line-height");const posWidth=document.querySelector(`#${posTile}`).style.width;const calcWidth=`${(parseInt(posWidth,10)-parseInt(computedIframeWidth,10))/2}px`;window.IQD_varPack.iqdSetStyleInContainer({css:`#${posTile}::before { top:-${labelHeight}; left: var(--adleft); position: absolute !important; max-width: var(--adwidth);} #${posTile}{margin-top:${labelHeight};`});document.querySelector(`#${posTile}`).style.setProperty("--adleft",calcWidth);document.querySelector(`#${posTile}`).style.setProperty("--adwidth",computedIframeWidth);document.querySelector(`#${posTile}`).style.setProperty("min-width",computedIframeWidth)}else if(computedIframeWidth!=="0px"&&(posTile!=="iqadtile20"&&posTile!=="iqadtile21")){if(level1.indexOf("_mob")<0){window.IQD_varPack.iqdSetStyleInContainer({css:`#${posTile}{min-width:${computedIframeWidth}} #${posTile}::before{width:${computedIframeWidth}; visibility:visible;}`})}else{window.IQD_varPack.iqdSetStyleInContainer({css:`#${posTile}{min-width:${computedIframeWidth}} #${posTile}::before{ visibility:visible;}`})}}else if(computedIframeWidth!=="0px"&&(posTile==="iqadtile20"||posTile==="iqadtile21")){window.IQD_varPack.iqdSetStyleInContainer({css:` #${posTile}::before{visibility:visible;}`})}};if(posTile!=="iqadtileOOP"&&posTile!=="iqadtile15"){window.IQD_varPack.setIQTile(posTile);setTimeout(fixTileWidth,500);window.top.addEventListener("message",event=>{if(event.origin===`${window.top.document.location.protocol}//${window.top.document.location.hostname}`){if(Object.prototype.hasOwnProperty.call(event.data,"info")&&event.data.info==="iq_resize_place"){fixTileWidth()}}})}if(level1.indexOf("_mob")>-1){window.addEventListener("orientationchange",()=>{setTimeout(fixTileWidth,500)},false)}if(level1.indexOf("_mob")<0){window.competingOutsideAd=true;if(AdController._handle.indexOf("homepage")>-1){if(posTile==="iqadtile111"){window.consoleOutput("IQ - iqadtile111 detected");if(e.slot.getHtml()!==""){window.consoleOutput("IQ - iqadtile111 ad content is not empty");setTimeout(()=>{if(Object.prototype.hasOwnProperty.call(window.IQD_varPack.ad,posTile)){window.consoleOutput("IQ - ad identifier is set in the IQD_varPack.ad property");window.tile111Special=["Fireplace","DynFireplace"].indexOf(window.IQD_varPack.ad[posTile])>-1;window.consoleOutput(`IQ - special ad in tile111 : ${window.tile111Special}`);window.IQD_varPack.renderTile1()}},500)}else{window.consoleOutput("IQ - tile111 empty");window.tile111Special=false;window.IQD_varPack.renderTile1()}}}else{window.tile111Special=false;if(!window.tile1Rendering){window.IQD_varPack.renderTile1()}}if(posTile==="iqadtile1"&&!window.tile111Special){window.consoleOutput("IQ - iqadtile1 detected");let competingOutsideAd=true;const clientWidth=document.documentElement.clientWidth||document.body.clientWidth||window.innerWidth;const t21pw=document.getElementById("iqd_rightAd")?clientWidth-parseFloat(document.getElementById("iqd_rightAd").getBoundingClientRect().left):0;window.consoleOutput(`IQ - available outside space ${t21pw}`);if(e.slot.getHtml()!==""){window.consoleOutput("IQ - iqadtile1 ad content is not empty");setTimeout(()=>{if(Object.prototype.hasOwnProperty.call(window.IQD_varPack.ad,posTile)){window.consoleOutput("IQ - ad identifier is set in the IQD_varPack.ad property");competingOutsideAd=["CinemaAd","Sitebar","Wallpaper","Fireplace","DoubleSitebar","DynFireplace","PageSkin","VideoBrandingAd"].indexOf(window.IQD_varPack.ad[posTile])>-1}else{competingOutsideAd=false}if(!competingOutsideAd&&t21pw>120){window.consoleOutput(`IQ - ${posTile} (${window.IQD_varPack.ad[posTile]}) :: noCompetingOutsideAd => IO in-page assumed`);if(!window.tile2IsRendered){if(Object.prototype.hasOwnProperty.call(window.IQD_varPack,"payedUserSlots")&&window.IQD_varPack.payedUserSlots.indexOf("iqadtile21")<0&&window.IQD.AdController.ExecutionContext.prototype.cvars.keywords.indexOf("iqdnoads")>-1){window.consoleOutput("IQ - outside positions should not be rendered")}else{window.consoleOutput("IQ - outside positions can be rendered");window.IQD_varPack.renderSkys()}}}else{window.consoleOutput(`IQ - ${posTile} (${window.IQD_varPack.ad[posTile]}) :: CompetingOutsideAd => IO out-page assumed`)}},1200)}else{window.consoleOutput(`IQ - ${posTile} (no value):: noCompetingOutsideAd => ADX in-page assumed`);if(!window.tile2IsRendered&&t21pw>120){if(Object.prototype.hasOwnProperty.call(window.IQD_varPack,"payedUserSlots")&&window.IQD_varPack.payedUserSlots.indexOf("iqadtile21")<0&&window.IQD.AdController.ExecutionContext.prototype.cvars.keywords.indexOf("iqdnoads")>-1){window.consoleOutput("IQ - outside positions should not be rendered")}else{window.consoleOutput("IQ - no wrapper ad & available outside space > 120px");window.IQD_varPack.renderSkys()}}}}if(posTile==="iqadtile21"&&!window.tile2IsRendered){window.tile2IsRendered=true}if(posTile==="iqadtile21"&&!window.tile2IsReloaded){if(window.tile2IsRendered&&!window.tile2IsReloaded&&Object.prototype.hasOwnProperty.call(window,"startReloadAfterPredefinedTime")){window.startReloadAfterPredefinedTime()}}}});if(window.IQD.Slots!==undefined&&window.IQD.Slots!==null){window.IQD.Slots.ini(window.googletag.pubads())}})};IQD.adapter.gpt.define=adtile=>{const posTile=adtile;IQD.l(`in IQD.adapter.define(${posTile})`);IQD.AdController=window.IQD.AdController;if(IQD.AdController.ExecutionContext.prototype.cvars.keywords.indexOf("iqviewadplace")>-1||window.IQD_varPack.iqd_TestKW==="iqviewadplace"){window.IQD_varPack.iqd_TestKW="iqviewadplace"}const setAdUnit=()=>{const separator="/";const level1=window.AdController.getConfig().resolve(window.AdController._handle).getVar("level1");const level2=IQD.AdController.ExecutionContext.prototype.cvars.level2?IQD.AdController.ExecutionContext.prototype.cvars.level2:"";const level3=IQD.AdController.ExecutionContext.prototype.cvars.level3?IQD.AdController.ExecutionContext.prototype.cvars.level3:"";const level4=IQD.AdController.ExecutionContext.prototype.cvars.level4?IQD.AdController.ExecutionContext.prototype.cvars.level4:"";const publisherNetworkCode=window.AdController.getConfig().resolve(window.AdController._handle).getVar("publisherNetworkCode")?window.AdController.getConfig().resolve(window.AdController._handle).getVar("publisherNetworkCode"):"";const layoutType=window.AdController.getConfig().resolve(window.AdController._handle).getVar("layoutType");let unit=publisherNetworkCode!==""?`/183,${publisherNetworkCode}/${level1}`:`/183/${level1}`;if(window.IQD_varPack.iqd_TestKW!=="iqadview"&&window.IQD_varPack.iqd_TestKW!=="iqviewadplace"){if(level2!==""){unit+=separator+level2}if(level3!==""){unit+=separator+level3}if(level4!==""){unit+=separator+level4}if(layoutType!=="not_in_use"){unit+=separator+layoutType}}else if(window.IQD_varPack.iqd_TestKW.indexOf("iqadview")>-1||window.IQD_varPack.iqd_TestKW.indexOf("iqviewadplace")>-1){unit=window.IQD_varPack.iqd_TestKW==="iqadview"?`${unit+separator}iqadview`:"/183/iqviewadplace"}return unit};const setTargetingDoc=()=>{const doc=window.AdController.getConfig().resolve(window.AdController._handle).getVar("doc");return doc};const setTargetingLayoutType=()=>{const layoutType=window.AdController.getConfig().resolve(window.AdController._handle).getVar("layoutType");return layoutType};const setTargetingKw=()=>{let kw=[];if(window.AdController.getConfig().resolve(window.AdController._handle).getVar("keywords")){kw=window.AdController.getConfig().resolve(window.AdController._handle).getVar("keywords").split(",")}if(window.AdController.getConfig().resolve(window.AdController._handle)._positions[posTile].keywords){kw=kw.concat(window.AdController.getConfig().resolve(window.AdController._handle)._positions[posTile].keywords.split(","))}if(IQD.AdController.ExecutionContext.prototype.cvars.keywords){kw=kw.concat(IQD.AdController.ExecutionContext.prototype.cvars.keywords.split(","))}kw=kw.concat(window.IQD_varPack.iqd_TestKW.split(","));kw=kw.concat(`ach_${window.AdController._handle}`);kw=kw.concat(setTargetingLayoutType());return kw};const setTargetingSection=()=>{let section="";if(window.AdController._handle.indexOf("home")>-1){section="homepage"}else if(IQD.AdController.ExecutionContext.prototype.cvars.level2&&IQD.AdController.ExecutionContext.prototype.cvars.level2!==""){section=IQD.AdController.ExecutionContext.prototype.cvars.level2}else{section="notset"}return section};const setTargetingTile=()=>{const tileNumber=window.AdController.getConfig().resolve(window.AdController._handle)._positions[posTile].tile;return tileNumber};const setTargetingTma=()=>{const tma=IQD.AdController.ExecutionContext.prototype.cvars.tma?IQD.AdController.ExecutionContext.prototype.cvars.tma:"";return tma};const setTargetingIqadtype=()=>{const iqadtype=window.AdController.getConfig().resolve(window.AdController._handle).getVar("iqadtype");return iqadtype};const setSizes=()=>{const sizes=[];let pvarsSize=window.AdController.getConfig().resolve(window.AdController._handle)._positions[posTile].size;let pvarsSizeParts;const clientWidth=document.documentElement.clientWidth||document.body.clientWidth||window.innerWidth;const t20pw=document.getElementById("iqd_leftAd")?parseFloat(document.getElementById("iqd_leftAd").getBoundingClientRect().right):0;const t21pw=document.getElementById("iqd_rightAd")?clientWidth-parseFloat(document.getElementById("iqd_rightAd").getBoundingClientRect().left):0;const testAndReplace=data=>{pvarsSize=pvarsSize.replace(data,",").replace(/,,/g,"")};const removeAdSizeForKW=(tile,keyword)=>{if(tile==="iqadtile8"&&keyword==="iqdnohalfpagead"){testAndReplace("120x600");testAndReplace("160x600");testAndReplace("200x600");testAndReplace("300x600")}};const removeAdSizeForScreenWidth=(tile,possibleWidth)=>{if(window.AdController.getConfig().resolve(window.AdController._handle)._positions[posTile].tile===tile){if(tile==="20"||tile==="21"){if(possibleWidth<300){testAndReplace("300x600")}if(possibleWidth<200){testAndReplace("200x600")}if(possibleWidth<160){testAndReplace("160x600")}if(possibleWidth<120){testAndReplace("120x600")}}}if(tile==="all"){if(possibleWidth<1024){testAndReplace("800x250");testAndReplace("970x90");testAndReplace("940x250");testAndReplace("970x250");testAndReplace("1000x100");testAndReplace("1000x125");testAndReplace("1000x167");testAndReplace("1000x250");testAndReplace("1000x333");testAndReplace("1000x500");testAndReplace("1000x1000");testAndReplace("1920x333");testAndReplace("1920x380")}if(possibleWidth<1300){testAndReplace("1920x360");testAndReplace("1020x600");testAndReplace("1020x601")}}};removeAdSizeForScreenWidth("20",t20pw);removeAdSizeForScreenWidth("21",t21pw);removeAdSizeForScreenWidth("1",t21pw);removeAdSizeForScreenWidth("3",t21pw);removeAdSizeForScreenWidth("all",clientWidth);if(IQD.AdController.ExecutionContext.prototype.cvars.keywords.indexOf("iqdnohalfpagead")>-1){removeAdSizeForKW(posTile,"iqdnohalfpagead")}pvarsSize=pvarsSize.split(",");for(let i=0;i<pvarsSize.length;i++){pvarsSizeParts=pvarsSize[i].split("x");const tempArr=[];if(pvarsSizeParts!=="fluid"){tempArr.push(parseInt(pvarsSizeParts[0],10),parseInt(pvarsSizeParts[1],10))}else{tempArr.push(parseInt(pvarsSizeParts[0],10))}sizes.push(tempArr)}return sizes};const setDomId=()=>{const domId=window.AdController.getConfig().resolve(window.AdController._handle)._positions[posTile].dom_id;return domId};const setDeviceType=()=>window.matchMedia("(orientation: portrait)").matches?"orientation":"";const getSizesForHeaderbidding=()=>{const sizesArray=setSizes();const revertSizesArray=[];for(let i=0;i<sizesArray.length;i++){if(sizesArray[i].toString()==="NaN,NaN"){revertSizesArray.push("out-of-page")}else{revertSizesArray.push(sizesArray[i].toString().replace(",","x"))}}return revertSizesArray};window.googletag=window.googletag||{cmd:[]};window.iqd_gpt_slots=window.iqd_gpt_slots||[];window.IQD_varPack.gptAdSlotSize.push([setTargetingTile(),setSizes()]);window.googletag.cmd.push(()=>{let slot;if(posTile==="iqadtileOOP"){slot=window.googletag.defineOutOfPageSlot(setAdUnit(),setDomId()).setTargeting("kw",setTargetingKw()).setTargeting("tile",setTargetingTile()).addService(window.googletag.pubads())}else{slot=window.googletag.defineSlot(setAdUnit(),setSizes(),setDomId()).setTargeting("kw",setTargetingKw()).setTargeting("tile",setTargetingTile()).addService(window.googletag.pubads());if(window.IQD_varPack.blockHeaderBiddingKw!==undefined&&IQD.AdController.ExecutionContext.prototype.cvars.keywords.includes(window.IQD_varPack.blockHeaderBiddingKw)){}else{try{window.IQD.PA_HB.runPrebid(posTile,slot,getSizesForHeaderbidding(),setTargetingKw())}catch(e){console.error(e)}}}if(!!window.IQD_varPack.rotationControl&&!!window.IQD_varPack.rotationControl.getRandomPercentage){const _prefix=window.IQD_varPack.rotationControl.prefix||"";const _randomPercent=window.IQD_varPack.rotationControl.getRandomPercentage()||"";const _result=_prefix+_randomPercent||"";slot.setTargeting("rotationctrl",_result)}if(Object.prototype.hasOwnProperty.call(window,"makePetRequest")){window.makePetRequest(slot)}window.googletag.pubads().setTargeting("doc",setTargetingDoc());window.googletag.pubads().setTargeting("layout",setTargetingLayoutType());window.googletag.pubads().setTargeting("tma",setTargetingTma());window.googletag.pubads().setTargeting("iqadtype",setTargetingIqadtype());window.googletag.pubads().setTargeting("section",setTargetingSection());if(setDeviceType()){window.googletag.pubads().setTargeting("iqfeature",setDeviceType())}if(Object.prototype.hasOwnProperty.call(window.IQD_varPack,"viewportWidthParameter")){window.googletag.pubads().setTargeting("vpwcat",window.IQD_varPack.viewportWidthParameter())}window.googletag.pubads().collapseEmptyDivs(true);window.googletag.enableServices();window.iqd_gpt_slots[slot.getSlotElementId()]=slot;try{if(window.IQD.Slots!==undefined&&window.IQD.Slots!==null){window.IQD.Slots.addSlot(slot.getSlotElementId())}}catch(e){window.consoleOutput("window.IQD.Slots not defined")}if(window.IQD_varPack.iqd_TestKW==="iqviewadplace"){window.setIqViewPlace(posTile)}});if(!!((window||{}).IQD_varPack||{}).setViewportWidthTargeting&&typeof window.IQD_varPack.setViewportWidthTargeting==="function"){window.IQD_varPack.setViewportWidthTargeting()}};IQD.adapter.gpt.render=posTile=>{IQD.l(`in IQD.adapter.render(${posTile})`);window.googletag.cmd.push(()=>{window.googletag.display(posTile)})};IQD.adapter.gpt.refresh=posTile=>{IQD.l(`in IQD.adapter.refresh(${posTile})`);window.googletag.cmd.push(()=>{window.googletag.pubads().refresh([window.iqd_gpt_slots[posTile]])})};IQD.adapter.gpt.clearEvents=()=>{};if(window.IQGDPR_handle.adapter.isGPT){IQD.adapter=IQD.adapter.gpt}else{IQD.adapter=IQD.adapter.ast}window.IQD.adapter=IQD.adapter;window.consoleOutput(IQD.adapter.gpt)};',
'window.getASTAdapterSettings=()=>{const IQD={};IQD.adapter=IQD.adapter||{};IQD.adapter.gpt=IQD.adapter.gpt||{};IQD.adapter.ast=IQD.adapter.ast||{};IQD.adapter.isGPT=!!window.IQGDPR_handle.adapter.isGPT;IQD.adapter.isAST=!!window.IQGDPR_handle.adapter.isAST;window.consoleOutput("gdpr_FFA_utils_AST_tcfv2strict_xandr > IQD.adapter.isGPT = ",IQD.adapter.isGPT," _ ",typeof IQD.adapter.isGPT);window.consoleOutput("gdpr_FFA_utils_AST_tcfv2strict_xandr > IQD.adapter.isAST = ",IQD.adapter.isAST," _ ",typeof IQD.adapter.isAST);if(window.IQD.TemplateUtils.initCrid){window.IQD.TemplateUtils.initCrid()}IQD.ext=IQD.adapter.isGPT?"GPT.JS":"AST.JS";IQD.l=pString=>{window.consoleOutput(`[${IQD.ext}] ${pString}`)};IQD.adapter.ast.loadLibrary=()=>{IQD.l("in IQD.adapter.loadLibrary()");const s=document.createElement("script");s.type="text/javascript";s.async=true;s.src="https://acdn.adnxs.com/ast/ast.js";document.getElementsByTagName("head")[0].appendChild(s)};IQD.formatSizes=pPosTabString=>{let sizes=[];const tmpSize=pPosTabString;if(pPosTabString!==""){tmpSize.split(",").forEach(e=>{const _t=e.split("x");if(e!=="fluid"&&e!=="out-of-page"){sizes.push([parseInt(_t[0],10),parseInt(_t[1],10)])}});sizes=sizes.length===1?sizes.pop():sizes}return sizes};IQD.adapter.ast.name=()=>"ast";IQD.adapter.ast.destroySlots=()=>{IQD.l("in IQD.adapter.destroySlots()");IQD.adapter.clearEvents()};IQD.adapter.ast.setRenderingLogic=()=>{IQD.l("in IQD.adapter.setRenderingLogic()");window.apntag.anq.push(()=>{window.apntag.setPageOpts({member:6975,publisherId:AdController.getConfig().resolve(AdController._handle)._vars.xandrPubId*1})})};IQD.adapter.ast.define=adtile=>{const posTile=adtile;IQD.l(`in IQD.adapter.define() ${posTile}`);IQD.AdController=window.IQD.AdController;if(IQD.AdController.ExecutionContext.prototype.cvars.keywords.indexOf("iqviewadplace")>-1||window.IQD_varPack.iqd_TestKW==="iqviewadplace"){window.IQD_varPack.iqd_TestKW="iqviewadplace"}const setAdUnit=()=>{const level1=AdController.getConfig().resolve(AdController._handle).getVar("xandrLevel1")?AdController.getConfig().resolve(AdController._handle).getVar("xandrLevel1"):AdController.getConfig().resolve(AdController._handle).getVar("level1");let unit=["homepage","homepage_trsf","mm_homepage"].indexOf(AdController._handle)>-1?`${level1}.homepage`:`${level1}.rota`;if(((window.IQD_varPack||{}).iqdSite||"")==="fum"){unit=`${level1}.rota`}return unit};const setTargetingKw=()=>{let kw=[];if(AdController.getConfig().resolve(AdController._handle).getVar("keywords")){kw=AdController.getConfig().resolve(AdController._handle).getVar("keywords").split(",")}if(AdController.getConfig().resolve(AdController._handle)._positions[posTile].keywords){kw=kw.concat(AdController.getConfig().resolve(AdController._handle)._positions[posTile].keywords.split(","))}if(IQD.AdController.ExecutionContext.prototype.cvars.keywords){kw=kw.concat(IQD.AdController.ExecutionContext.prototype.cvars.keywords.split(","))}kw=kw.concat(window.IQD_varPack.iqd_TestKW.split(","));kw=kw.concat(`ach_${AdController._handle}`);return kw};const setTargetingSection=()=>{let section="";if(window.AdController._handle.indexOf("home")>-1){section="homepage"}else if(IQD.AdController.ExecutionContext.prototype.cvars.level2&&IQD.AdController.ExecutionContext.prototype.cvars.level2!==""){section=IQD.AdController.ExecutionContext.prototype.cvars.level2}else{section="notset"}return section};const setTargetingDoc=()=>{const doc=window.AdController.getConfig().resolve(window.AdController._handle).getVar("doc");return doc};const setTargetingLayoutType=()=>{const layoutType=window.AdController.getConfig().resolve(window.AdController._handle).getVar("layoutType");return layoutType};const setTargetingTile=()=>{const tileNumber=window.AdController.getConfig().resolve(window.AdController._handle)._positions[posTile].tile;return tileNumber};const setTargetingTma=()=>{const tma=IQD.AdController.ExecutionContext.prototype.cvars.tma?IQD.AdController.ExecutionContext.prototype.cvars.tma:"";return tma};const setTargetingIqadtype=()=>{const iqadtype=window.AdController.getConfig().resolve(window.AdController._handle).getVar("iqadtype");return iqadtype};const setSizes=()=>{const sizes=[];let pvarsSize=window.AdController.getConfig().resolve(window.AdController._handle)._positions[posTile].size;pvarsSize.replace("fluid",",").replace(/,,/g,"");let pvarsSizeParts;const clientWidth=document.documentElement.clientWidth||document.body.clientWidth||window.innerWidth;const t20pw=document.getElementById("iqd_leftAd")?parseFloat(document.getElementById("iqd_leftAd").getBoundingClientRect().right):0;const t21pw=document.getElementById("iqd_rightAd")?clientWidth-parseFloat(document.getElementById("iqd_rightAd").getBoundingClientRect().left):0;const testAndReplace=data=>{pvarsSize=pvarsSize.replace(data,",").replace(/,,/g,"")};const removeAdSizeForKW=(tile,keyword)=>{if(tile==="8"&&keyword==="iqdnohalfpagead"){testAndReplace("120x600");testAndReplace("160x600");testAndReplace("200x600");testAndReplace("300x600")}};const removeAdSizeForScreenWidth=(tile,possibleWidth)=>{if(window.AdController.getConfig().resolve(window.AdController._handle)._positions[posTile].tile===tile){if(tile==="20"||tile==="21"){if(possibleWidth<300){testAndReplace("300x600")}if(possibleWidth<200){testAndReplace("200x600")}if(possibleWidth<160){testAndReplace("160x600")}if(possibleWidth<120){testAndReplace("120x600");testAndReplace("300x601");testAndReplace("300x603")}}}if(tile==="all"){if(possibleWidth<1024){testAndReplace("800x250");testAndReplace("970x90");testAndReplace("940x250");testAndReplace("970x250");testAndReplace("1000x100");testAndReplace("1000x125");testAndReplace("1000x167");testAndReplace("1000x250");testAndReplace("1000x333");testAndReplace("1000x500");testAndReplace("1000x1000");testAndReplace("1920x333")}if(possibleWidth<1300){testAndReplace("1920x360");testAndReplace("1920x380");testAndReplace("1020x600");testAndReplace("1020x601")}}};removeAdSizeForScreenWidth("20",t20pw);removeAdSizeForScreenWidth("21",t21pw);removeAdSizeForScreenWidth("1",t21pw);removeAdSizeForScreenWidth("3",t21pw);removeAdSizeForScreenWidth("all",clientWidth);if(IQD.AdController.ExecutionContext.prototype.cvars.keywords.indexOf("iqdnohalfpagead")>-1){removeAdSizeForKW("8","iqdnohalfpagead")}pvarsSize=pvarsSize.split(",");for(let i=0;i<pvarsSize.length;i++){pvarsSizeParts=pvarsSize[i].split("x");const tempArr=[];if(pvarsSizeParts!=="fluid"){tempArr.push(parseInt(pvarsSizeParts[0],10),parseInt(pvarsSizeParts[1],10))}else{}sizes.push(tempArr)}return sizes};const setDomId=()=>{const domId=window.AdController.getConfig().resolve(window.AdController._handle)._positions[posTile].dom_id;return domId};const setDeviceType=()=>window.matchMedia("(orientation: portrait)").matches?"orientation":"";const getSizesForHeaderbidding=()=>{const sizesArray=setSizes();const revertSizesArray=[];for(let i=0;i<sizesArray.length;i++){if(sizesArray[i].toString()==="NaN,NaN"){revertSizesArray.push("out-of-page")}else{revertSizesArray.push(sizesArray[i].toString().replace(",","x"))}}return revertSizesArray};window.iqd_gpt_slots=window.iqd_gpt_slots||[];window.IQD_varPack.gptAdSlotSize.push([setTargetingTile(),setSizes()]);const kvObj={l1:setAdUnit(),l2:IQD.AdController.ExecutionContext.prototype.cvars.level2?IQD.AdController.ExecutionContext.prototype.cvars.level2:"",l3:IQD.AdController.ExecutionContext.prototype.cvars.level3?IQD.AdController.ExecutionContext.prototype.cvars.level3:"",l4:IQD.AdController.ExecutionContext.prototype.cvars.level4?IQD.AdController.ExecutionContext.prototype.cvars.level4:"",pt3:setTargetingDoc(),pt4:setTargetingIqadtype(),pt5:setTargetingKw(),pt6:setTargetingTile(),doc:setTargetingDoc(),iqadtype:setTargetingIqadtype(),kw:setTargetingKw(),tile:setTargetingTile(),layout:setTargetingLayoutType(),section:setTargetingSection(),tma:setTargetingTma(),iqfeature:setDeviceType()};let slot;window.apntag.anq.push(()=>{slot=window.apntag.defineTag({invCode:setAdUnit(),sizes:setSizes(),targetId:setDomId(),keywords:kvObj});window.iqd_gpt_slots[slot.targetId]=slot;return slot});try{window.IQD.PA_HB.runPrebidAst(posTile,null,getSizesForHeaderbidding(),setTargetingKw().toString())}catch(e){console.info(e)}try{if(window.IQD.Slots!==undefined&&window.IQD.Slots!==null){window.IQD.Slots.addSlot(setDomId())}}catch(e){window.consoleOutput("window.IQD.Slots not defined")}if(window.IQD_varPack.iqd_TestKW==="iqviewadplace"){window.setIqViewPlace(posTile)}};IQD.adapter.ast.render=posTile=>{IQD.l(`in IQD.adapter.render() ${posTile}`);window.apntag.anq.push(()=>{window.apntag.showTag(posTile);window.apntag.onEvent("adLoaded",posTile,e=>{window.consoleOutput("window.apntag.onEvent - adLoaded > adObj ",e);const level1=AdController.getConfig().resolve(AdController._handle).getVar("level1");const posSize=[];posSize.push(e.width);posSize.push(e.height);const posNumber=document.getElementById(posTile).getAttribute("data-placement")||"";const domainOrigin=window.location.origin?window.location.origin:`${window.location.protocol}//${window.location.hostname}${window.location.port?`:${window.location.port}`:""}`;let isPosFilled=false;if(window.location.href.indexOf("iqviewadplace")>-1){isPosFilled=true}if(!(Object.prototype.hasOwnProperty.call(window.IQD_varPack.ausbuchung,posTile)&&window.IQD_varPack.ausbuchung[posTile])){isPosFilled=true}else{isPosFilled=false}const msgData={render_event:"IQTileLoaded",position_filled:isPosFilled,position:posNumber,position_tile:posTile,position_size:posSize};window.consoleOutput(msgData);window.postMessage(JSON.stringify(msgData),domainOrigin);window.consoleOutput(`%c IQ - ast - adLoaded Event ${posTile}`,"background: #222; color: #2aa2e5db");if(typeof window.treatToSubload==="function"){window.treatToSubload(posTile)}window.IQDAO.AdIdFrame.adxFrame(e);const getGoogleIframeWidth=()=>{let computedIframeWidth;if(document.querySelector(`#${posTile} > div#iqdSuperbanner > div#iqdSuBaPos`)){window.IQD_varPack.iqdSetStyleInContainer({css:`#${posTile}::before {background-color:transparent;margin:0 0 0 auto;text-align:left;}`});computedIframeWidth=`${parseInt(window.getComputedStyle(document.querySelector(`#${posTile} > div#iqdSuperbanner > div#iqdSuBaPos`)).getPropertyValue("width"),10)}px`}else if(document.querySelector(`#${posTile} > div[id$="AdMainWrapper"]`)){computedIframeWidth=window.getComputedStyle(document.querySelector(`#${posTile} > div[id$="AdMainWrapper"]`)).getPropertyValue("width")}else if(posTile==="iqadtile1"&&Object.prototype.hasOwnProperty.call(window.IQD_varPack.ad,"iqadtile1")&&window.IQD_varPack.ad.iqadtile1==="PageSkin"){computedIframeWidth=window.getComputedStyle(document.querySelector(\'#iqadtile3 > div >iframe[id^="utif_iqadtile"]\')).getPropertyValue("width")}else if(document.querySelector(`#${posTile} > div`)&&document.querySelector(`#${posTile} > div >iframe[id^="utif_iqadtile"]`)){computedIframeWidth=window.getComputedStyle(document.querySelector(`#${posTile} > div >iframe[id^="utif_iqadtile"]`)).getPropertyValue("width")}else{computedIframeWidth="0px"}return computedIframeWidth};const fixTileWidth=()=>{const computedIframeWidth=getGoogleIframeWidth();if(computedIframeWidth!=="0px"){window.IQD_varPack.iqdSetStyleInContainer({css:`#${posTile}{min-width:${computedIframeWidth} !important;} #${posTile}::before{width:${computedIframeWidth}; visibility:visible;}`})}if(document.querySelector(`#${posTile}>[data-creative-asset="MobileRolloverAd"]`)){window.IQD_varPack.iqdSetStyleInContainer({css:`#${posTile}::before { top:-25px; left:8px; width:${computedIframeWidth}px !important;}`})}};if(posTile!=="iqadtileOOP"){window.IQD_varPack.setIQTile(posTile);setTimeout(fixTileWidth,500)}if(level1.indexOf("_mob")>-1){window.consoleOutput("IQ - render logic mobile")}if(level1.indexOf("_mob")<0){window.consoleOutput("IQ - render logic desktop");if(posTile==="iqadtile1"){window.IQD_varPack.renderSkys()}if(posTile==="iqadtile21"&&!window.tile2IsRendered){window.tile2IsRendered=true}}if(window.IQD.Slots!==undefined&&window.IQD.Slots!==null){window.IQD.Slots.ini(window.googletag.pubads())}});window.apntag.onEvent("adBadRequest",posTile,adObj=>{if(document.querySelector(`#${posTile}`)){document.querySelector(`#${posTile}`).classList.add("iqdnoad")}window.consoleOutput("window.apntag.onEvent - adBadRequest > adObj ",adObj)});window.apntag.onEvent("adNoBid",posTile,adObj=>{if(document.querySelector(`#${posTile}`)){document.querySelector(`#${posTile}`).classList.add("iqdnoad")}window.consoleOutput("window.apntag.onEvent - adNoBid > adObj ",adObj)});window.apntag.onEvent("adRequestFailure",posTile,adObj=>{window.consoleOutput("window.apntag.onEvent - adRequestFailure > adObj ",adObj)});window.apntag.loadTags(posTile)})};IQD.adapter.ast.refresh=posTile=>{IQD.l(`in IQD.adapter.refresh(${posTile})`);window.apntag.refresh([posTile])};IQD.adapter.ast.clearEvents=()=>{window.apntag.offEvent("adError");window.apntag.offEvent("adBadRequest");window.apntag.offEvent("adLoaded");window.apntag.offEvent("adNoBid");window.apntag.offEvent("adRequestFailure")};if(window.IQGDPR_handle.adapter.isGPT){IQD.adapter=IQD.adapter.gpt}else{IQD.adapter=IQD.adapter.ast}window.IQD.adapter=IQD.adapter;window.consoleOutput(IQD.adapter.ast)};',
'window.googletag=window.googletag||{};window.googletag.cmd=window.googletag.cmd||[];window.apntag=window.apntag||{};window.apntag.anq=window.apntag.anq||[];window.IQGDPR_handle={};window.IQGDPR_handle.adapter={};window.IQGDPR_handle.cmp=typeof window.IQGDPR_cmpReadyState!=="undefined"?window.IQGDPR_cmpReadyState:"false";let consentAlreadyRead=false;window.setConsentState=()=>{const myCvars=window.IQD.AdController.ExecutionContext.prototype.cvars||{};const getUriParameter=()=>{const queryString={};const query=window.location.search.substring(1);const parameterArray=query.split("&");const parameterLength=parameterArray.length;if(parameterLength<=0){return queryString}parameterArray.forEach(parameterElement=>{const keyValuePair=parameterElement.split("=");const key=keyValuePair[0];const value=decodeURIComponent(keyValuePair[1]);if(value!==""&&key!==""){queryString[key]=value}});return queryString};const uriParameter=getUriParameter();if(myCvars.gdpr==="dnt"||uriParameter.gdpr==="dnt"){window.IQGDPR_handle.hardCutOff="true";window.isConsent=false}else{window.IQGDPR_handle.hardCutOff="false";window.isConsent=true}if(myCvars.gamnpa===true){window.IQGDPR_handle.consentGAM="false"}else if(myCvars.gamnpa===false){window.IQGDPR_handle.consentGAM="true"}};window.setConsentBehaviour=()=>{consoleOutput("setConsentBehaviour window.IQD_varPackGlobal.iqdVendorConsentsObject",window.IQD_varPackGlobal.iqdVendorConsentsObject);consoleOutput("setConsentBehaviour window.IQD_varPackGlobal.iqdVendorArray",window.IQD_varPackGlobal.iqdVendorArray);if(window.IQGDPR_handle.cmp==="false"){if(window.IQGDPR_handle.hardCutOff!=="false"){window.googletag.pubads().setRequestNonPersonalizedAds(1);window.googletag.pubads().setTargeting("gdpr","dnt")}}else{consoleOutput("window.setConsentBehaviour - IQGDPR_handle.cmp = ",window.IQGDPR_handle.cmp);consoleOutput("window.setConsentBehaviour - window.IQGDPR_handle.hardCutOff = ",window.IQGDPR_handle.hardCutOff);consoleOutput("window.setConsentBehaviour - window.IQGDPR_handle.consentGAM = ",window.IQGDPR_handle.consentGAM);consoleOutput("window.setConsentBehaviour - iqdVendorConsentsObject.consentAllPurposes = ",window.IQD_varPackGlobal.iqdVendorConsentsObject.consentAllPurposes);consoleOutput("window.setConsentBehaviour - window.IQGDPR_handle.daisybit = ",window.IQGDPR_handle.daisybit);if(window.IQGDPR_handle.hardCutOff==="false"&&window.IQGDPR_handle.consentGAM==="true"&&window.IQD_varPackGlobal.iqdVendorConsentsObject.consentAllPurposes===true){consoleOutput("setConsentBehaviour all Purposes allowed and consent for GAM exists")}else{window.googletag.pubads().setRequestNonPersonalizedAds(1);window.googletag.pubads().setTargeting("gdpr","dnt");window.googletag.pubads().setTargeting("gamnpa","dnt")}}};const checkVendorConsents=(iqdVendorArray,iqdVendorConsentsObject,tcDataPurpose,tcDataVendor)=>{const iqdVendorConsentsObj=iqdVendorConsentsObject;iqdVendorArray.forEach(vendorElement=>{const{vendorName,vendorId,necessaryPurposes}=vendorElement;const vendorAllowed=tcDataVendor.consents[vendorId];iqdVendorConsentsObj[vendorName]=false;if(vendorAllowed&&iqdVendorConsentsObject.consentAllPurposes){iqdVendorConsentsObj[vendorName]=true;return}if(vendorAllowed&&!iqdVendorConsentsObject.consentAllPurposes){let iterationCounter=0;const purposesAllowedArray=[];for(iterationCounter;iterationCounter<necessaryPurposes.length;iterationCounter++){const purposeNumber=necessaryPurposes[iterationCounter];purposesAllowedArray.push(!!tcDataPurpose.consents[purposeNumber])}consoleOutput("purposesAllowedArray",purposesAllowedArray);iqdVendorConsentsObject[vendorName]=purposesAllowedArray.indexOf(false)>-1?false:true}})};const checkAndSetUpGpt=(tcData,iqdVendorConsentsObject)=>{consoleOutput("checkAndSetUpGpt");window.IQGDPR_handle.adapter.isGPT=true;window.IQGDPR_handle.adapter.isAST=false;let gamnpa=false;if(iqdVendorConsentsObject.GoogleAdvertisingProducts){consoleOutput("checkAndSetUpGpt -> iqdVendorConsentsObject.GoogleAdvertisingProducts is true",iqdVendorConsentsObject.GoogleAdvertisingProducts);window.IQD.AdController.ExecutionContext.prototype.cvars.gamnpa=gamnpa;window.IQGDPR_handle.consentGAM=gamnpa}else{consoleOutput("checkAndSetUpGpt -> Manual Check for gamnpa");gamnpa=tcData.purpose.consents["2"]&&tcData.purpose.consents["3"]&&tcData.purpose.consents["4"]&&tcData.purpose.consents["7"]&&tcData.purpose.consents["9"]&&tcData.purpose.consents["10"]?false:true;consoleOutput("gamnpa",gamnpa);window.IQD.AdController.ExecutionContext.prototype.cvars.gamnpa=gamnpa;window.IQGDPR_handle.consentGAM=gamnpa}if(window.AdController.getConfig()._adapterName==="ffa"){consoleOutput("checkAndSetUpGpt-> inside ifClause window.AdController.getConfig()._adapterName",window.AdController.getConfig()._adapterName);window.getGPTAdapterSettings()}};const checkAndSetUpXandr=()=>{consoleOutput("checkAndSetUpXandr");window.IQGDPR_handle.adapter.isGPT=false;window.IQGDPR_handle.adapter.isAST=true;if(window.AdController.getConfig()._adapterName==="ffa"){consoleOutput("checkAndSetUpXandr-> inside ifClause window.AdController.getConfig()._adapterName",window.AdController.getConfig()._adapterName);window.getASTAdapterSettings();return}if(typeof window.myXandrRequest!=="function"){const waitForFunctionDefined=setInterval(()=>{if(typeof window.myXandrRequest==="function"){window.myXandrRequest();clearInterval(waitForFunctionDefined)}},200)}else{window.myXandrRequest()}};const checkCustomVendorConsent=(cmpId,tcData)=>{const{consents}=tcData.purpose;const checkVendor=customVendor=>{const{vendorName,sourcePointId,liveRampId,consentManagerId,necessaryPurposes}=customVendor;window.IQD_varPackGlobal.iqdVendorConsentsObject.customVendorConsentObject[vendorName]={consent:false,examined:false};const purposeCheck=()=>{for(let arrayIterator=0;arrayIterator<necessaryPurposes.length;arrayIterator++){const purposeNumber=necessaryPurposes[arrayIterator];if(consents[purposeNumber]===false||consents[purposeNumber]===undefined){return false}}return true};const minmimalPurposesNecessary=purposeCheck();consoleOutput("isThereConsent -> checkCustomVendorConsent -> minmimalPurposesNecessary: ",minmimalPurposesNecessary);consoleOutput("isThereConsent -> checkCustomVendorConsent -> cmpId: ",cmpId);if(cmpId===3){try{__tcfapi("getFullTCData",2,(customVendorData,success)=>{if(success){consoleOutput("isThereConsent -> checkCustomVendorConsent -> Liveramp -> getFullTcData: customVendorData",customVendorData);const{vendor}=customVendorData;if(vendor.consents[liveRampId]!==undefined){const vendorAllowed=vendor.consents[liveRampId];const vendorAndPurposesAllowed=vendorAllowed&&minmimalPurposesNecessary;window.IQD_varPackGlobal.iqdVendorConsentsObject.customVendorConsentObject[vendorName].consent=vendorAndPurposesAllowed;window.IQD_varPackGlobal.iqdVendorConsentsObject.customVendorConsentObject[vendorName].examined=true;return vendorAndPurposesAllowed}}})}catch(error){consoleOutput("[ERROR] isThereConsent -> checkCustomVendorConsent -> cmpId: 3");console.error(error)}}if(cmpId===6){try{__tcfapi("getCustomVendorConsents",2,(customVendorData,success)=>{consoleOutput("getCustomVendorConsents success: ",success);if(success){const{grants}=customVendorData;consoleOutput("getCustomVendorConsents grants: ",grants);if(grants[sourcePointId]!==undefined){consoleOutput("getCustomVendorConsents grants[sourcePointId]: ",grants[sourcePointId]);const vendorAllowed=grants[sourcePointId].vendorGrant;const vendorAndPurposesAllowed=vendorAllowed&&minmimalPurposesNecessary;window.IQD_varPackGlobal.iqdVendorConsentsObject.customVendorConsentObject[vendorName].consent=vendorAndPurposesAllowed;window.IQD_varPackGlobal.iqdVendorConsentsObject.customVendorConsentObject[vendorName].examined=true;return vendorAndPurposesAllowed}}})}catch(error){consoleOutput("[ERROR] isThereConsent -> checkCustomVendorConsent -> cmpId: 6");console.error(error)}}if(cmpId===31){try{const{customVendorConsents}=tcData;if(customVendorConsents[consentManagerId]!==undefined){consoleOutput("isThereConsent -> checkCustomVendorConsent -> ConsentManager customVendorConsents[consentManagerId]: ",customVendorConsents[consentManagerId]);const vendorAllowed=customVendorConsents[consentManagerId];const vendorAndPurposesAllowed=vendorAllowed&&minmimalPurposesNecessary;window.IQD_varPackGlobal.iqdVendorConsentsObject.customVendorConsentObject[vendorName].consent=vendorAndPurposesAllowed;window.IQD_varPackGlobal.iqdVendorConsentsObject.customVendorConsentObject[vendorName].examined=true;return vendorAndPurposesAllowed}}catch(error){consoleOutput("[ERROR] isThereConsent -> checkCustomVendorConsent -> cmpId: 31");console.error(error)}}if(window.IQD_varPackGlobal.iqdVendorConsentsObject.customVendorConsentObject[vendorName].examined===false){consoleOutput("No Adobe Custom Vendor found");try{const vendorAllowed=window.IQD_varPackGlobal.iqdVendorConsentsObject.AdobeAudienceManager;const vendorAndPurposesAllowed=vendorAllowed&&minmimalPurposesNecessary;consoleOutput("isThereConsent vendorAndPurposesAllowed",vendorAndPurposesAllowed);window.IQD_varPackGlobal.iqdVendorConsentsObject.customVendorConsentObject[vendorName].consent=vendorAndPurposesAllowed;return vendorAndPurposesAllowed}catch(error){consoleOutput("Error isThereConsent checkVendor");console.error(error)}}};window.IQD_varPackGlobal.iqdCustomVendorArray.forEach(checkVendor)};const isThereConsent=(tcData,success)=>{consoleOutput("isThereConsent success: ",success);consoleOutput("isThereConsent tcData.eventStatus: ",tcData.eventStatus);if(!consentAlreadyRead&&success&&(tcData.eventStatus==="useractioncomplete"||tcData.eventStatus==="tcloaded")){consoleOutput("isThereConsent tcData",tcData);const{purpose:tcDataPurpose,vendor:tcDataVendor,cmpId}=tcData;const purposeConsentsKeys=Object.keys(tcDataPurpose.consents);const{iqdVendorArray,iqdVendorConsentsObject}=window.IQD_varPackGlobal;const checkAllPurposes=()=>{let purposeArrayIndex=0;for(purposeArrayIndex;purposeArrayIndex<purposeConsentsKeys.length;purposeArrayIndex++){const purposeNumber=purposeConsentsKeys[purposeArrayIndex];if(tcDataPurpose.consents[purposeNumber]===false){return false}}return true};iqdVendorConsentsObject.consentAllPurposes=checkAllPurposes();if(Object.prototype.hasOwnProperty.call(window,"iqPerf")&&window.iqPerf){window.IQCreateMark("cmploaded")}consoleOutput("iqdVendorConsentsObject.consentAllPurposes ",iqdVendorConsentsObject.consentAllPurposes);IQD.AdController.ExecutionContext.prototype.cvars.daisybit=true;checkVendorConsents(iqdVendorArray,iqdVendorConsentsObject,tcDataPurpose,tcDataVendor);checkCustomVendorConsent(cmpId,tcData);if(tcDataVendor.consents["755"]){checkAndSetUpGpt(tcData,iqdVendorConsentsObject)}else{checkAndSetUpXandr()}window.IQGDPR_handle.consentTheAdex=iqdVendorConsentsObject.Adex;window.IQGDPR_handle.consentAddefend=iqdVendorConsentsObject.AdDefend;window.IQGDPR_handle.consentTwiago=iqdVendorConsentsObject.Twiago;window.IQGDPR_handle.consentLiveramp=iqdVendorConsentsObject.Liveramp;window.IQGDPR_handle.consentEmetriq=iqdVendorConsentsObject.Emetriq;window.IQGDPR_handle.consentOnlineumfragen=iqdVendorConsentsObject.Onlineumfragen;window.IQGDPR_handle.consentEyeota=iqdVendorConsentsObject.Eyeota;window.IQGDPR_handle.consentAAM=iqdVendorConsentsObject.AdobeAudienceManager;window.IQGDPR_handle.consentAA=window.IQD_varPackGlobal.iqdVendorConsentsObject.customVendorConsentObject.AdobeAnalytics.consent;window.IQGDPR_handle.consentIqddigital=window.IQD_varPackGlobal.iqdVendorConsentsObject.customVendorConsentObject.Iqdigital.consent;window.setConsentState();window.IQGDPR_handle.daisybit=tcData.tcString;consoleOutput("window.daisybit = ",window.IQGDPR_handle.daisybit);if(tcData.cmpStatus!=="error"&&(tcData.cmpStatus==="loaded"&&(tcData.eventStatus==="useractioncomplete"||tcData.eventStatus==="tcloaded"))){consoleOutput("window.myApproach called - callback = ",window.myApproachCallback);window.myApproachCallback();clearInterval(window.daisySt)}consentAlreadyRead=true;consoleOutput("listenerId",tcData.listenerId);__tcfapi("removeEventListener",2,successfulRemoved=>{if(successfulRemoved){consoleOutput("__tcfapi removed EventListener ")}},tcData.listenerId)}else{console.info("TCFv2 - either consentAlreadyRead, or success, or tcData false. Therefore Error.")}};const intervalCheckForTcfapi=setInterval(()=>{if(Object.prototype.hasOwnProperty.call(window,"__tcfapi")===true){clearInterval(intervalCheckForTcfapi);__tcfapi("addEventListener",2,isThereConsent)}else{consoleOutput("NO CMP detected")}},50);',
'window.IQD_varPack=window.IQD_varPack||{};window.IQD_varPack.currentHref=window.location.href;window.assignIqadtileInViewObserver=()=>{window.consoleOutput("IQ - assignIqadtileInViewObserver");const domIqadtile=document.querySelectorAll(\'[id^="iqadtile"]\')||!1;let itemObject={};if(window.IQD.AdController.ExecutionContext.prototype.cvars.keywords.indexOf("iqdnoads")<0){window.AdController.render("iqadtile111");window.AdController.render("iqadtile1");if(Object.prototype.hasOwnProperty.call(window.IQD_varPack,"initialLoadedAdTiles")){window.IQD_varPack.initialLoadedAdTiles.forEach(adtile=>{window.AdController.render(adtile)})}if(window.AdController.getConfig().resolve(window.AdController._handle).getVar("level1").indexOf("iqdspiegel")<0&&window.AdController.getConfig().resolve(window.AdController._handle).getVar("level1").indexOf("iqdmanagermagazin")<0){window.AdController.render("iqadtile14")}}Object.entries(domIqadtile).forEach(([elm])=>{if(document.querySelector(`#${domIqadtile[elm].id}`)){document.querySelector(`#${domIqadtile[elm].id}`).style.display="table"}itemObject=typeof domIqadtile[elm]==="object"&&domIqadtile!=="iqadtile1"&&domIqadtile!=="iqadtile111"&&domIqadtile!=="iqadtile53"&&domIqadtile!=="iqadtile14"?!0:!1;window.consoleOutput("CALLED domiqadtile in DOM ",itemObject," _ ",domIqadtile[elm].id);const options={root:null,rootMargin:"300px",threshold:[1e-6]};const handleIntersect=(entries,observer)=>{const entriesArr=entries;Object.entries(entriesArr).forEach(([key])=>{if(entriesArr[key].isIntersecting){if(window.AdController._handle.indexOf("homepage")>-1&&window.IQD_varPack.iqdSite.indexOf("iqdbtc")<0){window.consoleOutput(`CASE: homepage : intersectionObserver > AdController.render(${entriesArr[key].target.id});`);window.AdController.render(entriesArr[key].target.id)}else{window.consoleOutput(`CASE: ${window.AdController._handle} ... `);if(Object.prototype.hasOwnProperty.call(window.IQD_varPack,"payedUserSlots")&&(window.IQD.AdController.ExecutionContext.prototype.cvars.keywords.indexOf("iqdnoads")>-1||window.IQD.AdController.ExecutionContext.prototype.cvars.keywords.indexOf("iqdpremium")>-1)){Object.entries(window.IQD_varPack.payedUserSlots).forEach(([value])=>{if(entriesArr[key].target.id===window.IQD_varPack.payedUserSlots[value]){window.consoleOutput(`CASE: iqdnoads => payed user slot :  ${window.AdController._handle} : intersectionObserver > AdController.render(${entriesArr[key].target.id});`);window.AdController.render(entriesArr[key].target.id)}else{window.consoleOutput(`CASE: iqdnoads => no payed user slot :  ${window.AdController._handle} : intersectionObserver > AdController.render(${entriesArr[key].target.id});`)}})}else if(window.IQD.AdController.ExecutionContext.prototype.cvars.keywords.indexOf("iqd_no_content_ads")>-1){if(document.getElementById(entriesArr[key].target.id)){if(entriesArr[key].target.id==="iqadtile1"||entriesArr[key].target.id==="iqadtile20"||entriesArr[key].target.id==="iqadtile21"){window.consoleOutput(`CASE: iqd_no_content_ads : ${window.AdController._handle} : intersectionObserver > AdController.render(${entriesArr[key].target.id});`);window.AdController.render(entriesArr[key].target.id)}}}else{window.consoleOutput(`CASE: render all :  ${window.AdController._handle} : intersectionObserver > AdController.render(${entriesArr[key].target.id});`);window.AdController.render(entriesArr[key].target.id)}}observer.unobserve(document.getElementById(entriesArr[key].target.id))}})};const observer=new IntersectionObserver(handleIntersect,options);observer.observe(document.querySelector(`#${domIqadtile[elm].id}`))})};window.assignIqadtileInViewObserver();',
'window.loadMyGetEmetriq=function(){var src_emetriq=document.createElement("script");src_emetriq.type="text/javascript";src_emetriq.src="https://dyn.emetriq.de/loader/97578/default.js";document.getElementsByTagName("head")[0].appendChild(src_emetriq)};window.setGamKeywordForIqdPollLayer=function(_iqGdprHandleObj){if(typeof _iqGdprHandleObj!=="object"){return}if(_iqGdprHandleObj.hasOwnProperty("consentEmetriq")&&(typeof _iqGdprHandleObj.consentEmetriq==="string"&&_iqGdprHandleObj.consentEmetriq==="true"||typeof _iqGdprHandleObj.consentEmetriq==="boolean"&&_iqGdprHandleObj.consentEmetriq)&&(typeof _iqGdprHandleObj.consentOnlineumfragen==="boolean"&&_iqGdprHandleObj.consentOnlineumfragen)){try{var _acKw=window.IQD.AdController.ExecutionContext.prototype.cvars.keywords,_acKwL=_acKw.length;window.IQD.AdController.ExecutionContext.prototype.cvars.keywords+=_acKwL>0?",iqdeul":"iqdeul"}catch(e){console&&console.error("window.setGamKeywordForIqdPollLayer called - error ",e)}}else{return}};window.myGetEmetriq=function(){setGamKeywordForIqdPollLayer(window.IQGDPR_handle);if(window.IQGDPR_handle.hardCutOff==="false"&&(typeof window.IQGDPR_handle.consentEmetriq==="string"&&window.IQGDPR_handle.consentEmetriq==="true"||typeof window.IQGDPR_handle.consentEmetriq==="boolean"&&window.IQGDPR_handle.consentEmetriq)){console&&console.log("gdpr_emetriq.js = true");loadMyGetEmetriq()}else if(IQGDPR_handle.cmp==="false"&&window.IQGDPR_handle.hardCutOff==="false"){console&&console.log("gdpr_emetriq.js = true");loadMyGetEmetriq()}};if(IQGDPR_handle.cmp==="false"&&IQGDPR_handle.hardCutOff==="false"){if(IQD.AdController.ExecutionContext.prototype.cvars["level2"]!="noadvert"){window.myGetEmetriq()}}',
'window.grumi={cfg:{advs:{39628765:true,13477165:true,12145765:true,14048725:true,36694525:true,4612402464:true,12411685:true,41092405:true,12220045:true,12278965:true,12290965:true,23530885:true,41532205:true,42671245:true,4676658403:true,4598156059:true,4590745343:true,4588373417:true,24267325:true},pubIds:{}},key:"fa778143-f1e6-47b7-823f-fdcd65c9ada3"};window.grumi.reductionThreshold=.7;window.myGetGeoedge=function(){if(!!window.IQGDPR_handle.adapter.isGPT&&Math.random()<window.grumi.reductionThreshold){IQD.Utils.IQSLoader({url:"//rumcdn.geoedge.be/grumi-ip.js",doc:document})}else if(!!window.IQGDPR_handle.adapter.isAST){}};if(IQGDPR_handle.cmp==="false"&&IQGDPR_handle.hardCutOff==="false"&&Math.random()<window.grumi.reductionThreshold){IQD.Utils.IQSLoader({url:"//rumcdn.geoedge.be/grumi-ip.js",doc:document})}',
'window.limitHeaderBidsByHandle=function(acpvars,acpvarsenabled){var acl=AdController.getConfig().resolve("").getVar("level1"),includeTilesHandle={},includeTiles=[];if(acl=="iqdspiegel"){includeTilesHandle={homepage:["iqadtile1","iqadtile4","iqadtile41","iqadtile42","iqadtile43","iqadtile5","iqadtile51","iqadtile52","iqadtile8","iqadtile16","iqadtile21","iqadtile20"]};includeTiles=includeTilesHandle[AdController._handle]||["iqadtile1","iqadtile4","iqadtile41","iqadtile42","iqadtile43","iqadtile5","iqadtile51","iqadtile52","iqadtile53","iqadtile8","iqadtile9","iqadtile16","iqadtile21","iqadtile20"]}else if(acl=="iqdspiegel_mob"){includeTilesHandle={homepage:["iqadtile1","iqadtile3","iqadtile4","iqadtile41","iqadtile42","iqadtile5","iqadtile51","iqadtile52","iqadtile53","iqadtile8"]};includeTiles=includeTilesHandle[AdController._handle]||["iqadtile1","iqadtile3","iqadtile4","iqadtile41","iqadtile42","iqadtile43","iqadtile5","iqadtile51","iqadtile52","iqadtile53","iqadtile7","iqadtile8"]}for(var i in acpvars){if(acpvars[i].enabled&&includeTiles.indexOf(i)!==-1){acpvarsenabled.push(acpvars[i])}}return acpvarsenabled};window.IQD=window.IQD?window.IQD:{};window.IQD.PA_HB=window.IQD.PA_HB?window.IQD.PA_HB:{};window.IQD.PA_HB.getBiddersPerAdapterConfig=function(){return{GPT:{default:IQD.PA_HB.BiddersList(false)},AST:{default:IQD.PA_HB.BiddersList(true)}}};',
'function getPlacementIdYieldlab(placement){var si=0;switch(placement){case"iqdspiegel-outstream":si=15684621;break;case"iqdspiegel-iqadtile1":si=15684598;break;case"iqdspiegel-iqadtile21":si=15684604;break;case"iqdspiegel-iqadtile20":si=15684603;break;case"iqdspiegel-sitebarr":si=15684619;break;case"iqdspiegel-sitebarl":si=15684620;break;case"iqdspiegel-iqadtile4":si=15684605;break;case"iqdspiegel-iqadtile41":si=15684606;break;case"iqdspiegel-iqadtile42":si=15684607;break;case"iqdspiegel-iqadtile43":si=15684608;break;case"iqdspiegel-iqadtile5":si=15684609;break;case"iqdspiegel-iqadtile51":si=15684610;break;case"iqdspiegel-iqadtile52":si=15684611;break;case"iqdspiegel-iqadtile53":si=15684612;break;case"iqdspiegel-iqadtile6":si=15688182;break;case"iqdspiegel-iqadtile8":si=15684613;break;case"iqdspiegel-iqadtile9":si=15688183;break;case"iqdspiegel-iqadtile11":si=15684599;break;case"iqdspiegel-iqadtile12":si=15684600;break;case"iqdspiegel-iqadtile13":si=15684601;break;case"iqdspiegel-iqadtile14":si=15684602;break;case"iqdspiegel-iqadtile99":si=15684614;break;case"iqdspiegel-iqadtile991":si=15684615;break;case"iqdspiegel-iqadtile992":si=15684616;break;case"iqdspiegel-iqadtile993":si=15684617;break;case"iqdspiegel-iqadtile16":si=15684618;break;case"iqdspiegel_mob-outstream":si=15684637;break;case"iqdspiegel_mob-iqadtile1":si=15684622;break;case"iqdspiegel_mob-iqadtile3":si=15684623;break;case"iqdspiegel_mob-iqadtile4":si=15684624;break;case"iqdspiegel_mob-iqadtile41":si=15684625;break;case"iqdspiegel_mob-iqadtile42":si=15684626;break;case"iqdspiegel_mob-iqadtile43":si=15684627;break;case"iqdspiegel_mob-iqadtile5":si=15684628;break;case"iqdspiegel_mob-iqadtile6":si=15688184;break;case"iqdspiegel_mob-iqadtile51":si=15684629;break;case"iqdspiegel_mob-iqadtile52":si=15684630;break;case"iqdspiegel_mob-iqadtile53":si=15684631;break;case"iqdspiegel_mob-iqadtile7":si=15688185;break;case"iqdspiegel_mob-iqadtile8":si=15684632;break;case"iqdspiegel_mob-iqadtile11":si=15688186;break;case"iqdspiegel_mob-iqadtile12":si=15688187;break;case"iqdspiegel_mob-iqadtile13":si=15688188;break;case"iqdspiegel_mob-iqadtile14":si=15688189;break;case"iqdspiegel_mob-iqadtile99":si=15684633;break;case"iqdspiegel_mob-iqadtile991":si=15684634;break;case"iqdspiegel_mob-iqadtile992":si=15684635;break;case"iqdspiegel_mob-iqadtile993":si=15684636;break}return si}function getPlacementIdIx(placement){var si="";switch(placement){case"iqdspiegel_iqadtile1":si="1052389";break;case"iqdspiegel_iqadtile20":si="1052390";break;case"iqdspiegel_iqadtile21":si="1052391";break;case"iqdspiegel_iqadtile4":si="1052392";break;case"iqdspiegel_iqadtile5":si="1052393";break;case"iqdspiegel_iqadtile6":si="1052394";break;case"iqdspiegel_iqadtile8":si="1052395";break;case"iqdspiegel_iqadtile9":si="1052396";break;case"iqdspiegel_iqadtile11":si="1052397";break;case"iqdspiegel_iqadtile12":si="1052398";break;case"iqdspiegel_iqadtile13":si="1052399";break;case"iqdspiegel_iqadtile14":si="1052400";break;case"iqdspiegel_iqadtile41":si="1052401";break;case"iqdspiegel_iqadtile51":si="1052402";break;case"iqdspiegel_iqadtile42":si="1052403";break;case"iqdspiegel_iqadtile52":si="1052404";break;case"iqdspiegel_iqadtile43":si="1052405";break;case"iqdspiegel_iqadtile53":si="1052406";break;case"iqdspiegel_iqadtile16":si="1052407";break;case"iqdspiegel_iqadtile99":si="1052408";break;case"iqdspiegel_iqadtile991":si="1052409";break;case"iqdspiegel_iqadtile992":si="1052410";break;case"iqdspiegel_iqadtile993":si="1052411";break;case"iqdspiegel_mob_iqadtile1":si="1052412";break;case"iqdspiegel_mob_iqadtile3":si="1052413";break;case"iqdspiegel_mob_iqadtile4":si="1052414";break;case"iqdspiegel_mob_iqadtile5":si="1052415";break;case"iqdspiegel_mob_iqadtile6":si="1052416";break;case"iqdspiegel_mob_iqadtile41":si="1052417";break;case"iqdspiegel_mob_iqadtile51":si="1052418";break;case"iqdspiegel_mob_iqadtile42":si="1052419";break;case"iqdspiegel_mob_iqadtile52":si="1052420";break;case"iqdspiegel_mob_iqadtile43":si="1052421";break;case"iqdspiegel_mob_iqadtile53":si="1052422";break;case"iqdspiegel_mob_iqadtile7":si="1052423";break;case"iqdspiegel_mob_iqadtile8":si="1052424";break;case"iqdspiegel_mob_iqadtile99":si="1052425";break;case"iqdspiegel_mob_iqadtile11":si="1052426";break;case"iqdspiegel_mob_iqadtile12":si="1052427";break;case"iqdspiegel_mob_iqadtile13":si="1052428";break;case"iqdspiegel_mob_iqadtile14":si="1052429";break;case"iqdspiegel_mob_iqadtile991":si="1052430";break;case"iqdspiegel_mob_iqadtile992":si="1052431";break;case"iqdspiegel_mob_iqadtile993":si="1052432";break}return si}function getSellerId(){var si="iqd-5316306429-1";return si}function getSiteIdRubicon(){var _si=AdController.getConfig().resolve("").getVar("level1").indexOf("_mob")>-1?516434:516682;return _si}function getZoneIdRubicon(){var _zi=AdController.getConfig().resolve("").getVar("level1").indexOf("_mob")>-1?3103172:3104858;return _zi}window.getSt=function(){let result;if(document.querySelector("html.is-app")&&document.querySelector("html.is-android")){result="aadspieg"}else if(document.querySelector("html.is-app")&&document.querySelector("html.is-ios")){result="appspieg"}else{result="spieg"}return result};',
'window.myGetHeaderBidding=function(){if(((window.IQGDPR_handle||{}).adapter||{}).isAST){if(!IQD_varPack.allowHeaderbiddingNPA){return false}}if(window.hasOwnProperty("console")){window.consoleOutput("gdpr_header-bidding.js loaded and initialized")}(function(){window.smartx_creativeId="";function getEmqCookie(name){const v=document.cookie.match(`(^|;) ?${name}=([^;]*)(;|$)`);return v?v[2]:""}const emq_segments=getEmqCookie("emqsegs");const src_iqhbprebid="https://dx6ctphzljkf1.cloudfront.net/iqdprebidjs/prebid8.16.0.js";const src_iqhbamazon="https://c.amazon-adsystem.com/aax2/apstag.js";const ac_handle=AdController._handle;const ac_level1=AdController.getConfig().resolve("").getVar("level1");const ac_level2=IQD.AdController.ExecutionContext.prototype.cvars.level2||"";const ac_level3=IQD.AdController.ExecutionContext.prototype.cvars.level3||"";const ac_level4=IQD.AdController.ExecutionContext.prototype.cvars.level4||"";const ac_layoutType=AdController.getConfig().resolve(AdController._handle).getVar("layoutType")||"";let gptAdUnitPath=`/183/${ac_level1}`;let gptTransformedAdUnitPath=ac_level1;const separator="/";const ac_vars=window.AdController.getConfig().resolve("");const ac_cvars=IQD.AdController.ExecutionContext.prototype.cvars;const acDefRecObj=window.AdController.getConfig("").resolve(AdController._handle)._positions;let acActiveReqObj;let activePosition;let activeTileNumber;let iqpb_deal;let iqpb_pb_dynfloor;let iqpb_nodeal;const adserverAdapter=window.IQGDPR_handle.adapter.isGPT?"GPT":window.IQGDPR_handle.adapter.isAST?"AST":"";const liverampAllowed=!!window.IQD_varPackGlobal.iqdVendorConsentsObject.Liveramp&&(!!IQD.AdController.ExecutionContext.prototype.cvars.iqd1&&IQD.AdController.ExecutionContext.prototype.cvars.iqd1.length===3)?!0:!1;window.IQD=window.IQD?window.IQD:{};window.IQD.PA_HB=window.IQD.PA_HB?window.IQD.PA_HB:{};IQD.PA_HB.BiddersList=function(bool,overrideBiddersAsBool){var overrideBiddersAsBool=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];const obj={appnexus:!bool,orbidder:!bool,criteo:!bool,ias:!bool,yieldlab:!bool,triplelift:!bool,ix:!bool,smartx:!bool,pubmatic:!bool,apstag:!bool,adf:!bool,trustpid:!bool,identityLink:!bool,atsAnalytics:!bool,teads:!bool,rubicon:!bool};for(let i=0;i<overrideBiddersAsBool.length;i++){obj[overrideBiddersAsBool[i]]=bool}return obj};const limitHeaderBiddersForAdapter=function(adapter,handle,biddersConfig){if(biddersConfig[adapter]){if(biddersConfig[adapter][handle]){return biddersConfig[adapter][handle]}return biddersConfig[adapter].default?biddersConfig[adapter].default:IQD.PA_HB.BiddersList(false)}return IQD.PA_HB.BiddersList(false)};const limitHeaderBiddersForAdapterConfig=function(adapter,handle,bidder){if(window.IQD.PA_HB.getBiddersPerAdapterConfig){const limits=limitHeaderBiddersForAdapter(adapter,handle,window.IQD.PA_HB.getBiddersPerAdapterConfig());return limits[bidder]}return true};const preGetUriParam=function(param,opt_win){let re;const url=opt_win||window.parent.location.search.substring(1);const spl=url.split("&");for(let i=0;i<spl.length;i++){if(spl[i].indexOf(param)>-1){const pair=spl[i].split("=");if(pair[0]!=="")re=decodeURIComponent(pair[1])}}return re};function convertLevelData(level){var _level=level;var _level=_level.split("/");var _level=/\\W/.test(_level[0])?_level[0].replace(/[^A-Z0-9]+/gi,"_"):_level[0];return _level}if(ac_level2===""&&AdController._handle==="homepage"){gptAdUnitPath+=`/${convertLevelData(ac_level2)}`;gptTransformedAdUnitPath+="-homepage"}if(ac_level2!==""&&AdController._handle!=="homepage"){gptAdUnitPath+=`/${convertLevelData(ac_level2)}`;gptTransformedAdUnitPath+=`-${convertLevelData(ac_level2)}`}if(ac_level3!==""){gptAdUnitPath+=`/${convertLevelData(ac_level3)}`;if(ac_level2==="pnn"){gptTransformedAdUnitPath+=`-${convertLevelData(ac_level3)}`}}if(ac_level4!==""){gptAdUnitPath+=`/${convertLevelData(ac_level4)}`}if(ac_layoutType!==""&&ac_layoutType!="not_in_use"){gptAdUnitPath+=`/${ac_layoutType}`}window.consoleOutput("gptAdUnitPath: ",gptAdUnitPath);window.pbjs={};window.pbjs.que=[];window.IQD.PA_HB.recycledBidCache=window.IQD.PA_HB.recycledBidCache||{};window.prebidCache={};!function(a9,a,p,s,t,A,g){if(a[a9])return;function q(c,r){a[a9]._Q.push([c,r])}a[a9]={init(){q("i",arguments)},fetchBids(){q("f",arguments)},setDisplayBids(){},targetingKeys(){return[]},_Q:[]}}("apstag",window,document);if(IQGDPR_handle.cmp==="true"){apstag.init({pubID:"3711",adServer:"googletag",gdpr:{enabled:true,consent:window.IQGDPR_handle.daisybit}})}else{apstag.init({pubID:"3711",adServer:"googletag"})}const seamlessSkinfrei=["iqdsde","iqdtsp","zeitonline","iqdfaz","ariva","hcfhb","iqdelffreunde","iqdspiegel","iqdmanagermagazin"];const midScrollerfrei=["iqdsde","iqdtsp","zeitonline","iqdfaz","ariva","hcfhb","iqwiwo","iqdelffreunde","iqdspiegel","iqdmanagermagazin"];let sizePattern=["120x600","160x600","200x600","300x250","728x90","300x600","800x250","300x601","970x250","970x90","160x90","640x360"];if(seamlessSkinfrei.indexOf(ac_level1)>-1){sizePattern.push("1920x333")}if(midScrollerfrei.indexOf(ac_level1)>-1){sizePattern.push("1000x500")}const sizePatternNoHPA=["120x600","160x600","200x600","300x250","728x90","800x250","300x601","970x250","970x90","160x90","640x360"];let adUnits=[];const sizePatternPrime=[];sizePatternPrime.iqadtile1=["728x90","970x250","800x250"];sizePatternPrime.iqadtile21=document.documentElement.clientWidth>=1600?["160x600","300x600","200x600"]:["160x600","200x600"];sizePatternPrime.iqadtile20=document.documentElement.clientWidth>=1600?["160x600","300x600","200x600"]:["160x600","200x600"];sizePatternPrime.iqadtile3=["970x250","728x90","800x250"];sizePatternPrime.iqadtile4=["970x250","728x90","800x250"];sizePatternPrime.iqadtile5=["970x250","728x90","800x250"];sizePatternPrime.iqadtile8=["300x600","300x250","160x600"];sizePatternPrime.iqadtile9=["300x250","300x600","160x600"];sizePatternPrime.iqadtile16=["728x90","970x250","800x250"];let sizePatternAmz=["160x600","300x250","300x600","728x90","970x250"];const sizePatternAmzNoHPA=["160x600","300x250","728x90","970x250"];const sizePatternTL=["300x250","970x250","300x600"];const sizePatternTLTest=["970x250","300x600"];let adUnitsParamSizesLA;let adUnitsParamTemp;let adUnitsParamSizesSA=[];const limitHeaderBids=window.limitHeaderBidsByHandle||function(acpvars,acpvarsenabled){for(const i in acpvars){if(i==="iqadtile1"&&acpvars[i].enabled||i==="iqadtile3"&&acpvars[i].enabled||i==="iqadtile4"&&acpvars[i].enabled||i==="iqadtile5"&&acpvars[i].enabled||i==="iqadtile8"&&acpvars[i].enabled||i==="iqadtile9"&&acpvars[i].enabled||i==="iqadtile16"&&acpvars[i].enabled){acpvarsenabled.push(acpvars[i])}}return acpvarsenabled};let isTablet=false;if(document.documentElement.clientWidth<=800){isTablet=true}function sortForPrimeSize(pArr,pID){if(pID.indexOf("iqadtile4")>=0){pID="iqadtile4"}else if(pID.indexOf("iqadtile5")>=0){pID="iqadtile5"}else if(pID.indexOf("iqadtile8")>=0){pID="iqadtile8"}else if(pID.indexOf("iqadtile16")>=0){pID="iqadtile16"}const arr=sizePatternPrime[pID];if(arr){for(let a=0;a<arr.length;a++){const indexInReq=pArr.indexOf(arr[a]);if(indexInReq>-1){pArr.unshift(pArr.splice(indexInReq,1).join());return pArr}}}return pArr}function getAcSizes(i,p){let adUnitSizesIntersect;if(ac_level1==="ariva"&&isTablet){adUnitsParamSizesLA=acActiveReqObj[i].sizeMapTablet.split(",")}else{adUnitsParamSizesLA=acActiveReqObj[i].size.split(",")}if(Array.prototype.filter){adUnitSizesIntersect=p.filter(e=>adUnitsParamSizesLA.indexOf(e)!==-1)}else{adUnitSizesIntersect=adUnitsParamSizesLA}adUnitSizesIntersect=sortForPrimeSize(adUnitSizesIntersect,acActiveReqObj[i].dom_id);for(let x=0,y=adUnitSizesIntersect.length;x<y;x++){adUnitsParamTemp=adUnitSizesIntersect.splice(0,1);adUnitsParamTemp=adUnitsParamTemp[0].replace("x",",");adUnitsParamSizesSA[x]=adUnitsParamTemp.split(",");adUnitsParamSizesSA[x]=[parseInt(adUnitsParamSizesSA[x][0],10),parseInt(adUnitsParamSizesSA[x][1],10)]}}window.iqDefineHeaderBids=function(bidder){adUnits=[];_adUnits=[];_adUnitsVideo=[];acActiveReqObj=[];acActiveReqObj=limitHeaderBids(acDefRecObj,acActiveReqObj);if(bidder==="prebid"){pbjs.que.push(()=>{for(let i=0,l=acActiveReqObj.length;i<l;i++){activePosition=acActiveReqObj[i].dom_id;activeTileNumber=acActiveReqObj[i].tile;_adUnits[i]={code:activePosition,pubstack:{adUnitPath:`${gptAdUnitPath}?tile=${activeTileNumber}`},bids:[],mediaTypes:{banner:{sizes:adUnitsParamSizesSA}}};_adUnitsVideo[i]={code:activePosition,pubstack:{adUnitPath:`${gptAdUnitPath}?tile=${activeTileNumber}`},bids:[],mediaTypes:{video:{playerSize:[640,360],context:"outstream",api:[2],protocols:[2,3,5,6],minduration:5,maxduration:30,mimes:["video/mp4","application/javascript","video/webm"],placement:4,playbackmethod:[6]}}};if(activePosition==="iqadtile21"&&document.documentElement.clientWidth<1600||activePosition==="iqadtile20"&&document.documentElement.clientWidth<1600){sizePattern=sizePatternNoHPA}getAcSizes(i,sizePattern);var excusiveOutsteamSlotSites=["iqdcicero","iqdmonopol","w-o","wissen"];if(acActiveReqObj[i].size.indexOf("fluid")>-1){const nativeObj={title:{required:true,sendId:true},body:{required:true,sendId:true},image:{required:true,sendId:true},clickUrl:{required:true,sendId:true},sponsoredBy:{required:false,sendId:true},icon:{required:false,sendId:true},privacyLink:{required:false},privacyIcon:{required:false}};_adUnits[_adUnits.length-1].mediaTypes.native=nativeObj}const siteWhitelist=["iqdtsp","iqdemotion","iqdfaz","hcfhb","iqwiwo","iqdsde","ariva","zeitonline","iqdanwaltauskunft","iqdcicero","iqdbtc","iqddel2","iqdpostillon","iqddus","edison","iqdfreitag","iqdjde","iqdmonopol","iqdprinz","iqdserienjunkies","w-o","iqdszm","iqdthefan","iqdweltkunst","wissen","iqdham"];for(var a=0;a<siteWhitelist.length;a++){const indexInReqSL=ac_level1.indexOf(siteWhitelist[a]);if(indexInReqSL>-1){if(acActiveReqObj[i].size.indexOf("640x360")>-1&&(excusiveOutsteamSlotSites.indexOf(ac_level1)<0&&activePosition==="iqadtile4"||excusiveOutsteamSlotSites.indexOf(ac_level1)>-1&&activePosition==="iqadtile31")){const appnexusVideoObj={bidder:"appnexus",params:{invCode:`${ac_level1}-video-${activePosition}`,member:6975,keywords:{kw:window.hasOwnProperty("IQD_varPack")&&window.IQD_varPack.hasOwnProperty("iqd_TestKW")?window.IQD_varPack.iqd_TestKW.split(","):["iqlive"]}}};if(limitHeaderBiddersForAdapterConfig(adserverAdapter,ac_handle,"appnexus")){_adUnitsVideo[_adUnitsVideo.length-1].bids.push(appnexusVideoObj)}}}}if(limitHeaderBiddersForAdapterConfig(adserverAdapter,ac_handle,"appnexus")&&(excusiveOutsteamSlotSites.indexOf(ac_level1)<0||excusiveOutsteamSlotSites.indexOf(ac_level1)>-1&&activePosition!=="iqadtile31")){const appnexusObj={bidder:"appnexus",params:{invCode:`${ac_level1}-${activePosition}`,member:6975,keywords:{kw:window.hasOwnProperty("IQD_varPack")&&window.IQD_varPack.hasOwnProperty("iqd_TestKW")?window.IQD_varPack.iqd_TestKW.split(","):["iqlive"]}}};_adUnits[_adUnits.length-1].bids.push(appnexusObj)}if(limitHeaderBiddersForAdapterConfig(adserverAdapter,ac_handle,"orbidder")&&(excusiveOutsteamSlotSites.indexOf(ac_level1)<0||excusiveOutsteamSlotSites.indexOf(ac_level1)>-1&&activePosition!=="iqadtile31")){const orbidderObj={bidder:"orbidder",params:{accountId:"iqdigital",placementId:`${ac_level1}-${activePosition}`,bidfloor:.2}};_adUnits[_adUnits.length-1].bids.push(orbidderObj)}if(limitHeaderBiddersForAdapterConfig(adserverAdapter,ac_handle,"criteo")&&(excusiveOutsteamSlotSites.indexOf(ac_level1)<0||excusiveOutsteamSlotSites.indexOf(ac_level1)>-1&&activePosition!=="iqadtile31")){const criteoObj={bidder:"criteo",params:{networkId:1665,publisherSubId:ac_level1}};if(ac_level1.indexOf("karriere.de")===-1){if(ac_handle.indexOf("home")===-1){_adUnits[_adUnits.length-1].bids.push(criteoObj)}else if(ac_level1.indexOf("faz")===-1&&ac_level1.indexOf("zeit")===-1&&ac_level1.indexOf("hcfhb")===-1&&ac_level1.indexOf("wiwo")===-1&&ac_level1.indexOf("iqdsde")===-1){_adUnits[_adUnits.length-1].bids.push(criteoObj)}}}if(typeof getPlacementIdYieldlab==="function"&&limitHeaderBiddersForAdapterConfig(adserverAdapter,ac_handle,"yieldlab")){function setYieldlabSlots(slotId,target){if(slotId!==0){const yieldlabObj={bidder:"yieldlab",params:{adslotId:slotId,supplyId:"21719",targeting:{pos:activePosition,kw:preGetUriParam("iqadtest")||"iqlive",emq_iqd:emq_segments},customParams:{pvid:true}}};if(!!target&&target==="_adUnitsVideo"){_adUnitsVideo[_adUnitsVideo.length-1].bids.push(yieldlabObj)}else if(excusiveOutsteamSlotSites.indexOf(ac_level1)<0||excusiveOutsteamSlotSites.indexOf(ac_level1)>-1&&activePosition!=="iqadtile31"){_adUnits[_adUnits.length-1].bids.push(yieldlabObj)}}}setYieldlabSlots(getPlacementIdYieldlab(`${ac_level1}-${activePosition}`));if(acActiveReqObj[i].size.indexOf("640x360")>-1&&(excusiveOutsteamSlotSites.indexOf(ac_level1)<0&&activePosition==="iqadtile4"||excusiveOutsteamSlotSites.indexOf(ac_level1)>-1&&activePosition==="iqadtile31")){setYieldlabSlots(getPlacementIdYieldlab(`${ac_level1}-`+"outstream"),"_adUnitsVideo")}if(acActiveReqObj[i].size.indexOf("300x601")>-1){if(activePosition==="iqadtile20"){setYieldlabSlots(0)}else if(activePosition==="iqadtile21"){setYieldlabSlots(getPlacementIdYieldlab(`${ac_level1}-`+"sitebarr"))}else if(activePosition==="iqadtile2"){setYieldlabSlots(getPlacementIdYieldlab(`${ac_level1}-`+"sitebarr"))}}}let tlInvCodeSize="";if(limitHeaderBiddersForAdapterConfig(adserverAdapter,ac_handle,"triplelift")&&(excusiveOutsteamSlotSites.indexOf(ac_level1)<0||excusiveOutsteamSlotSites.indexOf(ac_level1)>-1&&activePosition!=="iqadtile31")){if(ac_level1.indexOf("zeitonline")>-1||ac_level1.indexOf("iqdelffreunde")>-1){for(var a=0;a<adUnitsParamSizesSA.length;a++){tlInvCodeSize=`${adUnitsParamSizesSA[a]}`;tlInvCodeSize=tlInvCodeSize.replace(",","x");const tripleliftObj={bidder:"triplelift",params:{inventoryCode:`${ac_level1}_RoS_${tlInvCodeSize}`}};if(sizePatternTLTest.indexOf(tlInvCodeSize)>-1){_adUnits[_adUnits.length-1].bids.push(tripleliftObj)}}}else if(ac_level1.indexOf("iqdsde")>-1||ac_level1.indexOf("iqdspiegel")>-1||ac_level1.indexOf("iqdmanagermagazin")>-1){for(var a=0;a<adUnitsParamSizesSA.length;a++){tlInvCodeSize=`${adUnitsParamSizesSA[a]}`;tlInvCodeSize=tlInvCodeSize.replace(",","x");const tripleliftObj={bidder:"triplelift",params:{inventoryCode:`${ac_level1}_${activePosition}_${tlInvCodeSize}`}};if(sizePatternTLTest.indexOf(tlInvCodeSize)>-1){_adUnits[_adUnits.length-1].bids.push(tripleliftObj)}}}else{for(var a=0;a<adUnitsParamSizesSA.length;a++){tlInvCodeSize=`${adUnitsParamSizesSA[a]}`;tlInvCodeSize=tlInvCodeSize.replace(",","x");const tripleliftObj={bidder:"triplelift",params:{inventoryCode:`iqd_RON_${tlInvCodeSize}`}};if(sizePatternTL.indexOf(tlInvCodeSize)>-1){_adUnits[_adUnits.length-1].bids.push(tripleliftObj)}}}}if(typeof getPlacementIdIx==="function"&&limitHeaderBiddersForAdapterConfig(adserverAdapter,ac_handle,"ix")&&(excusiveOutsteamSlotSites.indexOf(ac_level1)<0||excusiveOutsteamSlotSites.indexOf(ac_level1)>-1&&activePosition!=="iqadtile31")){const _sizes=(_adUnits[_adUnits.length-1].mediaTypes.banner||{}).sizes||0;for(let y=0,l2=_sizes.length;y<l2;y++){const ixObj={bidder:"ix",params:{siteId:getPlacementIdIx(`${ac_level1}-${activePosition}`),size:_sizes[y]}};_adUnits[_adUnits.length-1].bids.push(ixObj)}}if(limitHeaderBiddersForAdapterConfig(adserverAdapter,ac_handle,"pubmatic")&&(excusiveOutsteamSlotSites.indexOf(ac_level1)<0||excusiveOutsteamSlotSites.indexOf(ac_level1)>-1&&activePosition!=="iqadtile31")){const pubmaticObj={bidder:"pubmatic",params:{publisherId:"161749",adSlot:`${ac_level1}-${activePosition}`,pmzoneid:gptTransformedAdUnitPath,kadfloor:"0.20",currency:"EUR"}};_adUnits[_adUnits.length-1].bids.push(pubmaticObj)}const smartXLargeAllowed=["ariva","iqdbtc","edison","iqdemotion","iqdfaz","hcfhb","w-o","iqdsde","iqdtsp","iqdanwaltauskunft","iqwiwo","zeitonline"];if(limitHeaderBiddersForAdapterConfig(adserverAdapter,ac_handle,"smartx")&&typeof getPlacementIdSmartX==="function"){if(acActiveReqObj[i].size.indexOf("640x360")>-1){const smxFormatId=typeof getPlacementIdSmartXLarge==="function"&&(activePosition==="iqadtile41"&&ac_level1==="zeitonline"||activePosition==="iqadtile5"&&excusiveOutsteamSlotSites.indexOf(ac_level1)<0)?getPlacementIdSmartXLarge():getPlacementIdSmartX();_adUnitsVideo[_adUnitsVideo.length-1].mediaTypes.video={context:"outstream",playerSize:[[640,480]]};const smartxObj={bidder:"smartx",params:{tagId:"Nu68JuOWAvrbzoyrOR9a7A",publisherId:"7738",siteId:smxFormatId,cat:typeof setSmartXDomain==="function"?setSmartXDomain():"",bidfloor:1,bidfloorcur:"EUR",at:2,cur:["EUR"],outstream_options:{slot:activePosition,title:" ",skipOffset:0,startOpen:true,endingScreen:true},user:{data:[{id:"emq",name:"emq",segment:[{id:"emq",name:"emq",value:emq_segments!==""?emq_segments.replace(/\\,/g,":"):""}]},{id:"gs",name:"gs",segment:[{id:"gs",name:"gs",value:window.hasOwnProperty("gs_channels")?gs_channels.toString().replace(/\\,/g,":"):""}]},{id:"layout",name:"layout",segment:[{id:"layout",name:"layout",value:ac_layoutType}]}]}}};_adUnitsVideo[_adUnitsVideo.length-1].bids.push(smartxObj)}}if(typeof getPlacementVideoIdIx==="function"&&limitHeaderBiddersForAdapterConfig(adserverAdapter,ac_handle,"ix")&&(excusiveOutsteamSlotSites.indexOf(ac_level1)<0&&activePosition==="iqadtile4"||excusiveOutsteamSlotSites.indexOf(ac_level1)>-1&&activePosition!=="iqadtile31"||ac_level1==="w-o"&&activePosition==="iqadtile31")){if(acActiveReqObj[i].size.indexOf("640x360")>-1){window.consoleOutput("is IX Video");_adUnitsVideo[_adUnitsVideo.length-1].mediaTypes.video={playerSize:[640,360],context:"outstream",api:[2],protocols:[2,3,5,6],minduration:5,maxduration:30,mimes:["video/mp4","application/javascript","video/webm"],placement:4,playbackmethod:[6]}}const ixVideoObj={bidder:"ix",params:{siteId:getPlacementVideoIdIx(`${ac_level1}-video-${activePosition}`),video:{playerConfig:{floatOnScroll:false,floatSize:[640,360]}}}};_adUnitsVideo[_adUnitsVideo.length-1].bids.push(ixVideoObj)}if(typeof getSiteIdRubicon==="function"&&typeof getZoneIdRubicon==="function"&&limitHeaderBiddersForAdapterConfig(adserverAdapter,ac_handle,"rubicon")&&(excusiveOutsteamSlotSites.indexOf(ac_level1)<0||excusiveOutsteamSlotSites.indexOf(ac_level1)>-1&&activePosition!=="iqadtile31")){const rubiconObj={bidder:"rubicon",params:{accountId:25352,siteId:getSiteIdRubicon(),zoneId:getZoneIdRubicon()}};_adUnits[_adUnits.length-1].bids.push(rubiconObj)}if(typeof getPlacementIdTeads==="function"&&typeof getPageIdTeads==="function"&&(excusiveOutsteamSlotSites.indexOf(ac_level1)<0&&activePosition==="iqadtile4"||excusiveOutsteamSlotSites.indexOf(ac_level1)>-1&&activePosition==="iqadtile31")&&limitHeaderBiddersForAdapterConfig(adserverAdapter,ac_handle,"teads")){const teadsObj={bidder:"teads",params:{placementId:getPlacementIdTeads(),pageId:getPageIdTeads()}};_adUnits[_adUnits.length-1].bids.push(teadsObj)}adUnitsParamSizesSA=[]}let _counter=0;let _adUnitsLength=0;let _itm={};const _partialAdUnits={};const _partialAdUnitsVideo={};for(_itm in _adUnits){if(_adUnits[_itm].bids.length>0){_partialAdUnits[_counter]=_adUnits[_itm];_counter++}}_adUnitsLength=_counter;window.consoleOutput(\'window["iqDefineHeaderBids"] inside pbjs.que.push > for-loop - before bidderSettings before merge  _partialAdUnits \',_partialAdUnits);_counter=0;_itm={};for(_itm in _adUnitsVideo){if(_adUnitsVideo[_itm].bids.length>0){_partialAdUnitsVideo[_counter+_adUnitsLength]=_adUnitsVideo[_itm];_counter++}}window.consoleOutput(\'window["iqDefineHeaderBids"] inside pbjs.que.push > for-loop - before bidderSettings before merge _partialAdUnitsVideo \',_partialAdUnitsVideo);Object.assign(adUnits,_partialAdUnitsVideo,_partialAdUnits);pbjs.bidderSettings={standard:{adserverTargeting:[{key:"hb_bidder",val(bidResponse){return bidResponse.bidderCode}},{key:"hb_adid",val(bidResponse){return bidResponse.adId}},{key:"hb_pb",val(bidResponse){return bidResponse.pbMg}},{key:"hb_size",val(bidResponse){return bidResponse.size}},{key:"hb_source",val(bidResponse){return bidResponse.source}},{key:"hb_format",val(bidResponse){return bidResponse.mediaType}},{key:"hb_creativeId",val(bidResponse){return bidResponse.creativeId}},{key:"hb_deal",val(bidResponse){return bidResponse.dealId}}],storageAllowed:true},pubmatic:{allowAlternateBidderCodes:true,allowedAlternateBidderCodes:["groupm"]},groupm:{bidCpmAdjustment:function(bidCpm,bid){return bidCpm*.8}},appnexus:{bidCpmAdjustment(bidCpm){return bidCpm*.88},storageAllowed:true},triplelift:{bidCpmAdjustment(bidCpm){return bidCpm*.88},storageAllowed:true},criteo:{storageAllowed:true}};const customConfigObject={buckets:[{precision:2,min:0,max:400,increment:.01}]};let pbjsConfig={};if(IQGDPR_handle.cmp==="true"){pbjsConfig={enableSendAllBids:false,targetingControls:{alwaysIncludeDeals:true},priceGranularity:customConfigObject,bidderTimeout:2e3,consentManagement:{cmpApi:"iab",timeout:1e3,allowAuctionWithoutConsent:false,gdpr:{rules:[{purpose:"storage",enforcePurpose:true,enforceVendor:true,vendorExceptions:["smartx"]},{purpose:"basicAds",enforcePurpose:true,enforceVendor:true,vendorExceptions:["smartx"]},{purpose:"measurement",enforcePurpose:true,enforceVendor:true,vendorExceptions:["smartx"]}]}},realTimeData:{auctionDelay:200,dataProviders:[{name:"ias",waitForIt:true,params:{pubId:"930089"}}]},schain:{validation:"strict",config:{ver:"1.0",complete:1,nodes:[{asi:"iqdigital.de",sid:window.hasOwnProperty("getSellerId")?getSellerId():"",hp:1}]}}};if(liverampAllowed){pbjsConfig.userSync={userIds:[{name:"identityLink",params:{pid:"13573"},storage:{type:"cookie",name:"idl_env",expires:7}}],syncDelay:3e3};pbjs.que.push(()=>{pbjs.enableAnalytics([{provider:"atsAnalytics",options:{pid:"13573"}},{provider:"agma",options:{code:Object.prototype.hasOwnProperty.call(window,"getSt")?window.getSt():""}}])})}else{pbjs.que.push(()=>{pbjs.enableAnalytics([{provider:"agma",options:{code:Object.prototype.hasOwnProperty.call(window,"getSt")?window.getSt():""}}])})}}else{pbjsConfig={enableSendAllBids:false,targetingControls:{alwaysIncludeDeals:true},priceGranularity:customConfigObject,bidderTimeout:2e3};pbjs.que.push(()=>{pbjs.enableAnalytics([{provider:"agma",options:{code:Object.prototype.hasOwnProperty.call(window,"getSt")?window.getSt():""}}])})}window.consoleOutput("[myGetHeaderBidding] pbjsConfig before setConfig call ",pbjsConfig);window.consoleOutput("[myGetHeaderBidding] adUnits before setConfig call ",adUnits);pbjs.setConfig(pbjsConfig);pbjs.addAdUnits(adUnits);pbjs.onEvent("bidTimeout",data=>{if(window.hasOwnProperty("iqPerf")&&window.iqPerf){window.IQCreateMark("bidTimeout")}});pbjs.onEvent("bidderDone",data=>{if(window.hasOwnProperty("iqPerf")&&window.iqPerf){window.IQCreateMark(`bidderDone_${data.bidderCode}`)}});pbjs.requestBids({bidsBackHandler(bidResponses,timeOut){for(var i in bidResponses){if(typeof bidResponses[i]!=="undefined"&&typeof bidResponses[i].bids!=="undefined"){for(let x=0,y=bidResponses[i].bids.length;x<y;x++){if(bidResponses[i].bids[x].bidder==="appnexus"){iqpb_deal=.915;iqpb_nodeal=.883}else if(bidResponses[i].bids[x].bidder==="yieldlab"){iqpb_deal=.92;iqpb_nodeal=.86}else if(bidResponses[i].bids[x].bidder==="ix"){iqpb_deal=.96;iqpb_nodeal=.9}else if(bidResponses[i].bids[x].bidder==="triplelift"){iqpb_deal=.9;iqpb_nodeal=1}else{iqpb_deal=1;iqpb_nodeal=1}iqpb_pb_dynfloor=0;if(typeof bidResponses[i].bids[x].adserverTargeting.hb_deal!=="undefined"&&bidResponses[i].bids[x].adserverTargeting.hb_deal>1){bidResponses[i].bids[x].adserverTargeting.hb_pb=(parseFloat(bidResponses[i].bids[x].adserverTargeting.hb_pb)*iqpb_deal+iqpb_pb_dynfloor).toFixed(2);bidResponses[i].bids[x].cpm=parseFloat(bidResponses[i].bids[x].adserverTargeting.hb_pb)}else{bidResponses[i].bids[x].adserverTargeting.hb_pb=(parseFloat(bidResponses[i].bids[x].adserverTargeting.hb_pb)*iqpb_nodeal+iqpb_pb_dynfloor).toFixed(2);bidResponses[i].bids[x].cpm=parseFloat(bidResponses[i].bids[x].adserverTargeting.hb_pb)}if(bidResponses[i].bids[x].bidder==="smartx"){window.smartx_creativeId=bidResponses[i].bids[x].creativeId;if(window.hasOwnProperty("console")){window.consoleOutput(`pbjs.getBidResponses() -> smartx_creativeId : ${window.smartx_creativeId}`)}}}}}pbjs.targeting=pbjs.getAdserverTargeting();for(var i in pbjs.targeting){if(typeof pbjs.targeting[i].hb_bidder!=="undefined"){if(typeof pbjs.targeting[i].hb_deal_yieldlab!=="undefined"&&pbjs.targeting[i].hb_deal_yieldlab>1||typeof pbjs.targeting[i].hb_deal_appnexus!=="undefined"){pbjs.targeting[i].iqpb_opm_bid="false"}else if(ac_level1.indexOf("zeit")>-1||ac_level1.indexOf("hcfhb")>-1||ac_level1.indexOf("wiwo")>-1){pbjs.targeting[i].iqpb_opm_bid="false"}else{pbjs.targeting[i].iqpb_opm_bid="true"}}}window.delayedData="complete"}})})}else if(bidder==="rlntlss"){for(let i=0,l=acActiveReqObj.length;i<l;i++){activePosition=acActiveReqObj[i].dom_id;if(activePosition==="iqadtile21"&&document.documentElement.clientWidth<1600||activePosition==="iqadtile20"&&document.documentElement.clientWidth<1600){sizePatternAmz=sizePatternAmzNoHPA}getAcSizes(i,sizePatternAmz);adUnits.push({slotID:activePosition,slotName:`${ac_level1}-${activePosition}`,sizes:adUnitsParamSizesSA});adUnitsParamSizesSA=[]}if(adUnits.length>0){apstag.fetchBids({slots:adUnits,timeout:1500},bids=>{if(window.hasOwnProperty("iqPerf")&&window.iqPerf){window.IQCreateMark("bidderDone_amz")}apstag.amzTargeting=bids})}}};const preIQSLoader=window.limitPrebidJSByHandle||function(obj){if(!document.querySelector(`script[src=\'${obj.url}\']`)){const script=document.createElement("script");script.type="text/javascript";script.src=obj.url;if(script.readyState){script.onreadystatechange=function(){if(script.readyState==="loaded"||script.readyState==="complete"){script.onreadystatechange=null;obj.callback()}}}else{script.addEventListener("load",()=>{obj.callback()},false)}document.getElementsByTagName("head")[0].appendChild(script)}};if(window.hasOwnProperty("iqPerf")&&window.iqPerf){window.IQCreateMark("start_fw_prebid")}preIQSLoader({url:src_iqhbprebid,callback(){if(window.hasOwnProperty("iqPerf")&&window.iqPerf){window.IQCreateMark("start_prebid")}iqDefineHeaderBids("prebid")}});if(window.hasOwnProperty("iqPerf")&&window.iqPerf){window.IQCreateMark("start_fw_amz")}if(limitHeaderBiddersForAdapterConfig(adserverAdapter,ac_handle,"apstag")){if(ac_handle.indexOf("home")===-1){preIQSLoader({url:src_iqhbamazon,callback(){if(window.hasOwnProperty("iqPerf")&&window.iqPerf){window.IQCreateMark("start_amz")}iqDefineHeaderBids("rlntlss")}})}else if(ac_level1.indexOf("zeit")===-1&&ac_level1.indexOf("faz")===-1&&ac_level1.indexOf("hcfhb")===-1&&ac_level1.indexOf("wiwo")===-1&&ac_level1.indexOf("iqdsde")===-1){preIQSLoader({url:src_iqhbamazon,callback(){if(window.hasOwnProperty("iqPerf")&&window.iqPerf){window.IQCreateMark("start_amz")}iqDefineHeaderBids("rlntlss")}})}}})()};if(IQGDPR_handle.cmp==="false"&&IQGDPR_handle.hardCutOff==="false"){if(IQD.AdController.ExecutionContext.prototype.cvars.level2!=="noadvert"){window.myGetHeaderBidding()}}',
'IQD=IQD||{};IQD.PA_HB=IQD.PA_HB||{};IQD.PA_HB.debug={};IQD.PA_HB.debug.mode=window.location.search.indexOf("pahbDebug=true")>-1;IQD.PA_HB.debug.log=function(str,obj){if(IQD.PA_HB.debug.mode){if(obj===void 0){obj=undefined}var log=["%cIQD.PA_HB:: "+str,"color: #64b3c4"];if(obj){log[0]+=" %O";log.push(obj)}console.log.apply(null,log)}};IQD.PA_HB.getWinningBid=function(vendor,tile){var winningBid;if(vendor==="pbjs"){winningBid=window.pbjs.targeting?window.pbjs.targeting[tile]:undefined}else if("amzn"){winningBid=window.apstag&&window.apstag.amzTargeting?window.apstag.amzTargeting.filter(function(el){return el.slotID===tile})[0]:undefined}return winningBid};IQD.PA_HB.transformBidObject=function(winningBid){var transformedBid;if(winningBid&&(winningBid.hb_pb||winningBid.grm)){transformedBid={};for(var key in winningBid){if(key==="hb_pb"){transformedBid.pbjscpm=winningBid.hb_pb;transformedBid.hb_pb=window.IQD_varPack.roundBids(winningBid.hb_pb)}else if(key==="hb_size"&&winningBid.hb_size==="300x600"&&winningBid.hb_bidder==="yieldlab"){if(IQD_varPack.hasOwnProperty("yieldlabSitebarIds")&&IQD_varPack.yieldlabSitebarIds.indexOf(Number(winningBid.hb_creativeId))>-1){winningBid.hb_size="300x601";transformedBid.hb_size=winningBid.hb_size}}else if(key!=="hb_format"&&key!=="hb_source"&&winningBid[key]){transformedBid[key]=winningBid[key]}}}else if(winningBid&&winningBid.amzniid){IQD.PA_HB.debug.log("[AMAZON] winningBid: ",winningBid.amzniid);transformedBid={};transformedBid["amzniid"]=winningBid.amzniid;transformedBid["amznbid"]=winningBid.amznbid;transformedBid["amznsz"]=winningBid.amznsz}return transformedBid};IQD.PA_HB.setSlotTargeting=function(slot,winningBid,tile){for(var key in winningBid){if(!!slot&&slot.hasOwnProperty("setTargeting")){slot.setTargeting(key,winningBid[key])}else{apntag.anq.push(function(){var obj={};obj[key]=winningBid[key];if(key==="hb_pb"){obj[key]=winningBid[key]}apntag.setKeywords(tile,obj,{overrideKeyValue:true})})}}};IQD.PA_HB.canBidGetRecycled=function(bid){var forbiddenSizes=["640x480","640x360","160x90"];if(forbiddenSizes.indexOf(bid.hb_size)>-1){return false}return true};IQD.PA_HB.prepareRecycledBid=function(winningBid,tile){IQD.PA_HB.recycledBidCache=IQD.PA_HB.recycledBidCache||{};IQD.PA_HB.recycledBidCache[tile]={hb_adid:winningBid.hb_adid,response:false}};IQD.PA_HB.useRecycledBid=function(sizes,kw,tile,slot){var possibleSubstitutes={};for(var adtile in window.pbjs.targeting){if(typeof window.pbjs.targeting[adtile].hb_size!=="undefined"&&sizes.indexOf(pbjs.targeting[adtile].hb_size)>-1&&IQD.PA_HB.canBidGetRecycled(pbjs.targeting[adtile])&&(typeof IQD.PA_HB.recycledBidCache[adtile]!=="undefined"&&typeof IQD.PA_HB.recycledBidCache[adtile].sponsor==="undefined"&&IQD.PA_HB.recycledBidCache[adtile].response&&(typeof IQD.PA_HB.recycledBidCache[adtile].wasUsed!=="undefined"&&!IQD.PA_HB.recycledBidCache[adtile].wasUsed))){possibleSubstitutes[adtile]=window.pbjs.targeting[adtile]}}var highestBidAd;var index;if(Object.keys(possibleSubstitutes).length>0){for(var key in possibleSubstitutes){if(typeof highestBidAd==="undefined"){highestBidAd=possibleSubstitutes[key].hb_pb;index=key}else{if(possibleSubstitutes[key].hb_pb>highestBidAd){highestBidAd=possibleSubstitutes[key].hb_pb;index=key}}}}if(Object.keys(IQD.PA_HB.recycledBidCache).length!==0&&typeof window.pbjs.targeting[index]!=="undefined"&&window.pbjs.targeting[index].hasOwnProperty("hb_pb")){var keyWordWhiteList=["hb_size","hb_adid","hb_bidder","iqpb_opm_bid"];var flag=false;for(var i=0,k=Object.keys(window.pbjs.targeting[index]);i<k.length;i++){if(keyWordWhiteList.indexOf(k[i])>-1){slot.setTargeting(k[i],window.pbjs.targeting[index][k[i]])}else if(k[i]==="hb_pb"){var pbjscpm=window.pbjs.targeting[index][k[i]];var hb_pb=window.IQD_varPack.roundBids(window.pbjs.targeting[index]["hb_pb"]);slot.setTargeting("pbjscpm",pbjscpm);slot.setTargeting("hb_pb",hb_pb);kw.push("hb_recycled");console.log("recycled bid");slot.setTargeting("kw",kw);window.IQD.PA_HB.recycledBidCache[tile]={sponsor:index};flag=true}}}return flag};IQD.PA_HB.runPrebid=function(tile,slot,sizes,kw){var pbjsWinningBid=IQD.PA_HB.transformBidObjec;var pbjsWinningBid=IQD.PA_HB.transformBidObject(IQD.PA_HB.getWinningBid("pbjs",tile));var amznWinningBid=IQD.PA_HB.transformBidObject(IQD.PA_HB.getWinningBid("amzn",tile));if(pbjsWinningBid){IQD.PA_HB.debug.log(" [PREBIDJS] pbjsWinningBid for "+tile+":",pbjsWinningBid);IQD.PA_HB.setSlotTargeting(slot,pbjsWinningBid);if(pbjsWinningBid.hb_pb){IQD.PA_HB.prepareRecycledBid(pbjsWinningBid,tile);IQD.PA_HB.debug.log(" [PREBIDJS] Added pbjsBid to "+tile+" adRequest.")}else{IQD.PA_HB.debug.log(" [PREBIDJS] Added viewability to "+tile+" adRequest.");if(IQD.PA_HB.useRecycledBid(sizes,kw,tile,slot)){IQD.PA_HB.debug.log(" [RECYCLEDBIDS] Added recycledBids to "+tile+" adRequest.")}else{IQD.PA_HB.debug.log(" [RECYCLEDBIDS] No recycledBids for "+tile)}}}else{IQD.PA_HB.debug.log(" [PREBIDJS] No pbjsWinningBid for "+tile);if(IQD.PA_HB.useRecycledBid(sizes,kw,tile,slot)){IQD.PA_HB.debug.log(" [RECYCLEDBIDS] Added recycledBids to "+tile+" adRequest.")}else{IQD.PA_HB.debug.log(" [RECYCLEDBIDS] No recycledBids for "+tile)}}if(amznWinningBid){IQD.PA_HB.debug.log(" [AMAZON] amznWinningBid:for "+tile+":",amznWinningBid);IQD.PA_HB.setSlotTargeting(slot,amznWinningBid);IQD.PA_HB.debug.log(" [AMAZON] Added amznBid to "+tile+" adRequest.")}else{IQD.PA_HB.debug.log(" [AMAZON] No amznWinningBid for "+tile)}};IQD.PA_HB.runPrebidAst=function(tile,slot,sizes,kw){var pbjsWinningBid=IQD.PA_HB.transformBidObject(IQD.PA_HB.getWinningBid("pbjs",tile));var amznWinningBid=IQD.PA_HB.transformBidObject(IQD.PA_HB.getWinningBid("amzn",tile));if(pbjsWinningBid){IQD.PA_HB.debug.log(" [PREBIDJS] pbjsWinningBid for "+tile+":",pbjsWinningBid);IQD.PA_HB.setSlotTargeting(slot,pbjsWinningBid,tile)}else{IQD.PA_HB.debug.log(" [PREBIDJS] No pbjsWinningBid for "+tile)}if(amznWinningBid){IQD.PA_HB.debug.log(" [AMAZON] amznWinningBid:for "+tile+":",amznWinningBid);IQD.PA_HB.setSlotTargeting(slot,amznWinningBid,tile);IQD.PA_HB.debug.log(" [AMAZON] Added pbjsBid to "+tile+" adRequest.")}else{IQD.PA_HB.debug.log(" [AMAZON] No amznWinningBid for "+tile)}};'],
post:['if(IQGDPR_handle.cmp==="false"&&IQGDPR_handle.hardCutOff==="false"){window.myGetGlobal()}IQD_varPack.slPipe=["iqdSkyscraper","iqdSitebar","iqdSitebarL","iqdSuBaPos"];IQD_varPack.slReady=false;IQD_varPack.msgSubLoadInit=function(pTile){var walkFrames=function(w){var i,j,currF;for(i=0;i<w.frames.length;i++){currF=w.frames[i];currF.postMessage("IAB_HOST_LOADED","*");if(currF.frames.length>0){walkFrames(currF)}}};var nodeTile=IQD.Utils.getById(pTile);if(nodeTile){var framesNested=nodeTile.getElementsByTagName("iframe")||[];for(j=0;j<framesNested.length;j++){framesNested[j].contentWindow.postMessage("IAB_HOST_LOADED","*");walkFrames(framesNested[j].contentWindow)}}};IQD_varPack.signalRepeatedly=function(pTile,pInterval,pRepeats){if(pInterval>0){var i,j=0;for(i=-1;i<pRepeats;i++){window.setTimeout(function(){IQD_varPack.msgSubLoadInit(pTile)},j);j+=pInterval}}else{IQD_varPack.msgSubLoadInit(pTile)}};IQD_varPack.stateChangeHandler=function(){if(document.readyState==="complete"&&!IQD_varPack.slReady){IQD_varPack.slReady=true;for(var i=0;i<IQD_varPack.slPipe.length;i++){IQD_varPack.signalRepeatedly(IQD_varPack.slPipe[i],200,9)}}};document.onreadystatechange=IQD_varPack.stateChangeHandler;IQD_varPack.stateChangeHandler();window.treatToSubload=function(pTile){IQD_varPack.slPipe.push(pTile);if(IQD_varPack.slReady){IQD_varPack.signalRepeatedly(pTile,200,9)}};try{if(typeof window.IQD_varPack.getTestKW==="function"){window.IQD_varPack.iqd_TestKW=window.IQD_varPack.getTestKW()}if(IQD.AdController.ExecutionContext.prototype.cvars["keywords"].indexOf("iqviewadplace")>-1||window.IQD_varPack.iqd_TestKW=="iqviewadplace"){window.IQD_varPack.iqd_TestKW="iqviewadplace";let iqdlogger=document.createElement("script");iqdlogger.setAttribute("src","https://s3-eu-central-1.amazonaws.com/prod.iqdcontroller.iqdigital/cdn_iqtagnetwork/iqtl_ffa.js");document.getElementsByTagName("body")[0].appendChild(iqdlogger)}}catch(e){}window.IQD=IQD||{};IQD.KV={};IQD.KV.getKvGlobal=function(pTile){var kv=IQD.KV._kvPage||{};if(window.hasOwnProperty("orientation")){kv.iqfeature="orientation"}if(typeof window.IQD_varPack.getKvLocal==="function"){kv=window.IQD_varPack.getKvLocal(kv,pTile)}return kv};IQD.KV.add=function(pK,pV){IQD.KV._kvBuffer=IQD.KV._kvBuffer||{};if(!!pK&&!!pV&&pK.length>0&&pV.length>0){if(IQD.KV._kvBuffer.hasOwnProperty(pK)){}else{IQD.KV._kvBuffer[pK]=pV}}return IQD.KV};IQD.KV.addForPage=function(pK,pV){IQD.KV._kvPage=IQD.KV._kvPage||{};if(!!pK&&!!pV&&pK.length>0&&(typeof pV=="number"||pV.length>0)){if(IQD.KV._kvPage.hasOwnProperty(pK)){if(!!IQD.KV._kvPage[pK].push){IQD.KV._kvPage[pK].push(pV)}else{var a=[];a.push(IQD.KV._kvPage[pK]);a.push(pV);IQD.KV._kvPage[pK]=a}}else{IQD.KV._kvPage[pK]=pV}}};IQD.KV.set=function(pSlot){if(typeof pSlot.setTargeting==="function"&&!!IQD.KV._kvBuffer){for(var pK in IQD.KV._kvBuffer){pSlot.setTargeting(pK,IQD.KV._kvBuffer[pK])}delete IQD.KV._kvBuffer}else{}};',
"window.IQD_varPack=window.IQD_varPack||{};window.IQD_varPack.rotationControl=window.IQD_varPack.rotationControl||{};window.IQD_varPack.rotationControl.getRandomPercentage=function(steps){var _steps=steps||10,_rand=Math.ceil(1e4*Math.random()),_randPercentage=_rand%_steps*(100/_steps),_result=100;if(_randPercentage!=0){_result=_randPercentage}return _result};window.getRandomPercentage=window.IQD_varPack.rotationControl.getRandomPercentage;","window.IQD.abtest=true;",'window.myLoadPubstackScript=function(){var _acLevel1=AdController.getConfig().resolve(AdController._handle).getVar("level1")||!1,_baseUrl="https://boot.pbstck.com/v1/tag/";_siteIdList={iqdsde:"szde",iqdsde_mob:"szde",ariva:"ariva",ariva_mob:"ariva",zeitonline:"zol",iqdzeit_mob:"zol",iqdfaz:"faz",iqdfaz_mob:"faz",iqdtsp:"tsp",iqdtsp_mob:"tsp",iqdszm:"szm",iqdszm_mob:"szm",iqwiwo:"wiwo",iqdwiwo_mob:"wiwo","w-o":"spektrum",spektrum_mob:"spektrum",wissenschaft:"wissenschaft",wissenschaft_mob:"wissenschaft",iqdjde:"jetzt",iqdjde_mob:"jetzt",hcfhb:"handelsblatt",iqdhb_mob:"handelsblatt",iqdcicero:"cicero",iqdcicero_mob:"cicero",iqdemotion:"emotion",iqdemotion_mob:"emotion",iqddel2:"del2",iqddel2_mob:"del2",iqdthefan:"fan",iqdthefan_mob:"fan",iqdfreitag:"freitag",iqdfreitag_mob:"freitag",iqdanwaltauskunft:"anwalt",iqdanwaltauskunft_mob:"anwalt",iqdmonopol:"monopol",iqdmonopol_mob:"monopol",iqdweltkunst:"weltkunst",iqdweltkunst_mob:"weltkunst",iqdbtc:"btc",iqdbtc_mob:"btc",wissen:"wissen",wissen_mob:"wissen",iqddus:"dus",iqddus_mob:"dus",iqdsaechsische:"saech",iqdsaechsische_mob:"saech",teu:"european",teu_mob:"european",iqdspiegel:"spiegel",iqdspiegel_mob:"spiegel"},_siteBlacklist={iqdfaz_mob:window.location.href.indexOf("m.testfaz.net/datenschutz/")>-1||window.location.href.indexOf("m.faz.net/datenschutz/")>-1?!0:!1},_isBlacklisted=!!_siteBlacklist[_acLevel1],_pubstackScriptSourceIdList={szde:"69f84ca6-838e-47ee-9fd1-82d581bb5178",ariva:"63487806-c703-46cc-8885-4a03fc1eb9cd",zol:"4b52a064-c2c4-4641-b26b-82846d4744d7",faz:"4e7aab74-4352-4e83-964a-487f8874b8d3",tsp:"434439e4-0d76-4cab-aae5-41d88cf2bb79",szm:"28933fb2-44b2-4071-bc2c-14ce071fedc6",wiwo:"2a216382-5f2a-4f50-9563-94323790b706",spektrum:"b1a985ab-4519-4935-98ef-54f412272e1d",wissenschaft:"003ec570-35cb-4499-8cd9-ebe751944386",jetzt:"d299cc7d-78a5-416d-b955-75b9dfeb6cf1",handelsblatt:"8b99de08-95c3-4b8e-b29f-ae5605cf4d5b",cicero:"2f791772-3c18-441f-bd7f-db329a848678",emotion:"07943af0-0730-4c34-b31f-4fbd8744ebdc",del2:"dc18e1ad-5241-4b91-9d71-605e6a7a6be4",fan:"b769b83b-c702-4d2d-9643-ce1c8ce2e5a6",freitag:"429a5ef4-fc81-421d-be69-cb7b44544ba3",anwalt:"860cd078-df87-4c7b-b727-ef3a68dc3763",monopol:"b52871bb-9419-4efa-9341-10e9f0f2aa24",weltkunst:"f5bea7ef-fda3-4436-b6c3-72b0e3409561",btc:"85079368-c79e-4833-85fd-773d0226c376",wissen:"2dd3f042-1c29-4272-8211-96b365e3a13f",dus:"6067cc86-b9f5-4b4f-bf25-0a1be3e481f5",saech:"2b9586d2-0f95-47cf-9127-efada55dc3a5",european:"f24997c3-a610-44fe-ad58-a2be94a76403",spiegel:"3c3e957f-efe5-4ddf-b1e6-4c6a6d6a6617"},_pubstackSrcUrl=_siteIdList.hasOwnProperty(_acLevel1)?_baseUrl+_pubstackScriptSourceIdList[_siteIdList[_acLevel1]]:!1,_pubstackScript={};if(!_acLevel1||!_pubstackSrcUrl||_isBlacklisted){return}_pubstackScript=document.createElement("script");_pubstackScript.src=_pubstackSrcUrl;_pubstackScript.setAttribute("async","async");document.head.insertAdjacentElement("afterbegin",_pubstackScript)};if(IQGDPR_handle.cmp==="false"&&IQGDPR_handle.hardCutOff==="false"){window.myLoadPubstackScript()}',
'let _iqadtypeMob=AdController.getConfig().resolve("").getVar("iqadtype")=="mew"?true:false;window.IQD_varPack=window.IQD_varPack||{};window.IQD_varPack.containerModell={adContainerAlreadyInserted:false,adTileMatchingList:{default:{pos_header:{desktop:["iqadtileOOP","iqadtile111"],mobile:["iqadtileOOP"]},pos_1:{desktop:"topBanner",mobile:"iqadtile1"},pos_2:{desktop:"iqadtile4",mobile:"iqadtile3"},pos_3:{desktop:"iqadtile5",mobile:"iqadtile4"},pos_4:{desktop:"iqadtile41",mobile:"iqadtile5"},pos_5:{desktop:"iqadtile51",mobile:"iqadtile41"},pos_6:{desktop:"iqadtile42",mobile:"iqadtile51"},pos_7:{desktop:"iqadtile52",mobile:"iqadtile42"},pos_8:{desktop:"iqadtile43",mobile:"iqadtile52"},pos_marketplace:{desktop:"iqadtile15",mobile:"iqadtile15"},pos_9:{desktop:"iqadtile53",mobile:"iqadtile43"},pos_footer:{desktop:"iqadtile16",mobile:"iqadtile8"}},index:{pos_2:{desktop:"iqadtile4",mobile:"iqadtile3"},pos_3:{desktop:"iqadtile5",mobile:"iqadtile4"},pos_4:{desktop:"iqadtile41",mobile:"iqadtile5"},pos_5:{desktop:"iqadtile51",mobile:"iqadtile41"}},artikel:{pos_2:{desktop:"iqadtile8",mobile:"iqadtile3"},pos_3:{desktop:"iqadtile4",mobile:"iqadtile4"},pos_4:{desktop:"iqadtile99",mobile:"iqadtile99"},pos_5:{desktop:"iqadtile5",mobile:"iqadtile5"},pos_6:{desktop:"iqadtile41",mobile:"iqadtile41"},pos_7:{desktop:"iqadtile991",mobile:"iqadtile991"},pos_8:{desktop:"iqadtile51",mobile:"iqadtile51"},pos_9:{desktop:"iqadtile42",mobile:"iqadtile42"},pos_10:{desktop:"iqadtile992",mobile:"iqadtile992"},pos_11:{desktop:"iqadtile52",mobile:"iqadtile52"},pos_12:{desktop:"iqadtile43",mobile:"iqadtile43"},pos_13:{desktop:"iqadtile993",mobile:"iqadtile993"},pos_14:{desktop:"iqadtile53",mobile:"iqadtile53"},pos_15:{desktop:"iqadtile9",mobile:"iqadtile7"},pos_1_layer:{desktop:"iqadtile11",mobile:"iqadtile11"},pos_2_layer:{desktop:"iqadtile12",mobile:"iqadtile12"},pos_3_layer:{desktop:"iqadtile13",mobile:"iqadtile13"},pos_4_layer:{desktop:"iqadtile14",mobile:"iqadtile14"}},bildgal:{pos_2:{desktop:"iqadtile4",mobile:"iqadtile3"},pos_3:{desktop:"iqadtile5",mobile:"iqadtile4"},pos_4:{desktop:"iqadtile41",mobile:"iqadtile5"},pos_5:{desktop:"iqadtile51",mobile:"iqadtile41"},pos_6:{desktop:"iqadtile42",mobile:"iqadtile51"},pos_7:{desktop:"iqadtile52",mobile:"iqadtile42"},pos_8:{desktop:"iqadtile43",mobile:"iqadtile52"}}},iqdTopBannerList:["iqadtile1","iqadtile20","iqadtile21"],iqdTopBannerArray:["iqd_mainAd",["iqd_align_Ad",[["iqd_leftAd",["iqadtile20"]],["iqd_topAd",["iqadtile1"]],["iqd_rightAd",["iqadtile21"]]]]]};',
'(function(){const staticContainerNodes=[];let dynamicContainerNodes=[];function observeAdControllerInitialization(obj,prop,callback){let value=obj[prop];Object.defineProperty(obj,prop,{get(){return value},set(newValue){value=newValue;callback(value)},enumerable:true,configurable:true})}function callBackAdControllerInitialized(initializationStatus){const _initializationStatus=initializationStatus;if(!!_initializationStatus===true){collectAllContainer()}}function collectAllContainer(){window.IQD_varPack.containerModell=(window.IQD_varPack||{}).containerModell||{};window.IQD_varPack.containerModell.adTileMatchingList=window.IQD_varPack.containerModell.adTileMatchingList||{};window.IQD_varPack.containerModell.adContainerAlreadyInserted=window.IQD_varPack.containerModell.adContainerAlreadyInserted||false;window.IQD_varPack.containerModell.iqdTopBannerList=window.IQD_varPack.containerModell.iqdTopBannerList||["iqadtile1","iqadtile20","iqadtile21"];window.IQD_varPack.containerModell.iqdTopBannerArray=window.IQD_varPack.containerModell.iqdTopBannerArray||["iqd_mainAd",["iqd_align_Ad",[["iqd_topAd",["iqadtile1"]],["iqd_leftAd",["iqadtile20"]],["iqd_rightAd",["iqadtile21"]]]]];const cmsDeviceType=window.IQD.AdController.ExecutionContext.prototype.cvars.platform;const _cmsAcHandle=AdController._handle;const defaultHandleObject=window.IQD_varPack.containerModell.adTileMatchingList.default||{};const specificHandleObject=window.IQD_varPack.containerModell.adTileMatchingList[_cmsAcHandle]||{};window.IQD_varPack.containerModell.adTileMatchingList.currentList=createAdTileListObject(defaultHandleObject,specificHandleObject,cmsDeviceType);if(!!window.IQD_varPack.containerModell.adContainerAlreadyInserted===false){window.IQD_varPack.containerModell.adContainerAlreadyInserted=true;const allContainerNodes=Array.from(document.querySelectorAll(".iqdcontainer"));let dataPlacementName="";for(let i=0;i<allContainerNodes.length;i++){if(allContainerNodes[i].getAttribute("data-placement")){dataPlacementName=allContainerNodes[i].getAttribute("data-placement");if(dataPlacementName.indexOf("_layer")<0){staticContainerNodes.push(allContainerNodes[i])}}}if(cmsDeviceType==="desktop"){const onlNodes=filterContainerByDevice(staticContainerNodes,"desktop");filterContainerByAdtile(onlNodes)}if(cmsDeviceType==="mobile"){const mobNodes=filterContainerByDevice(staticContainerNodes,"mobile");filterContainerByAdtile(mobNodes)}if(cmsDeviceType==="tablet"){const tabletNodes=filterContainerByDevice(staticContainerNodes,"tablet");filterContainerByAdtile(tabletNodes)}}}window.createDynamicPositions=()=>{const allContainerNodes=Array.from(document.querySelectorAll(".iqdcontainer"));let device;const cmsDeviceType=window.IQD.AdController.ExecutionContext.prototype.cvars.platform;dynamicContainerNodes=[];let dataPlacementName="";let dataLayerState;for(let i=0;i<allContainerNodes.length;i++){if(allContainerNodes[i].getAttribute("data-placement")){dataPlacementName=allContainerNodes[i].getAttribute("data-placement");dataLayerState=allContainerNodes[i].getAttribute("data-layer");device=allContainerNodes[i].getAttribute("data-device");if(dataPlacementName.indexOf("_layer")>-1&&dataLayerState==="active"&&device===cmsDeviceType){dynamicContainerNodes.push(allContainerNodes[i])}}}if(cmsDeviceType==="desktop"){const onlNodes=filterContainerByDevice(dynamicContainerNodes,"desktop");filterContainerByAdtile(onlNodes)}if(cmsDeviceType==="mobile"){const mobNodes=filterContainerByDevice(dynamicContainerNodes,"mobile");filterContainerByAdtile(mobNodes)}if(cmsDeviceType==="tablet"){const tabletNodes=filterContainerByDevice(dynamicContainerNodes,"tablet");filterContainerAdtileByActivLayer(tabletNodes)}};window.deleteDynamicPositions=()=>{const cmsDeviceType=window.IQD.AdController.ExecutionContext.prototype.cvars.platform;consoleOutput(dynamicContainerNodes);window.onlDynNodes=dynamicContainerNodes;let posDivId;for(let i=0;i<window.onlDynNodes.length;i++){const device=window.onlDynNodes[i].getAttribute("data-device");if(device===cmsDeviceType){posDivId=window.onlDynNodes[i].firstChild?window.onlDynNodes[i].firstChild.getAttribute("id"):"";if(posDivId!==""){window.document.querySelector(`[id="${posDivId}"]`).remove();if(adsRendered.indexOf(posDivId)>-1){adsRendered=adsRendered.filter((el,i)=>el!==posDivId)}for(const key in window.iqd_gpt_slots){const value=window.iqd_gpt_slots[key];if(value.getSlotElementId()===posDivId){const obj=window.iqd_gpt_slots[posDivId];window.googletag.destroySlots([obj]);delete window.iqd_gpt_slots[posDivId]}}if(document.querySelector("#iqStyleContainer")){const _domIqStyleContainerChildren=document.querySelector("#iqStyleContainer").childNodes;let _child=[];for(let i=0;i<_domIqStyleContainerChildren.length;i++){if(typeof _domIqStyleContainerChildren[i]==="object"){_child.push(_domIqStyleContainerChildren[i])}}for(let j=0;j<_child.length;j++){if(_child[j].getAttribute("data-initiator").indexOf(posDivId)>-1){document.querySelector("#iqStyleContainer").removeChild(_child[j])}}}}}}};function createAdTileListObject(defaultHandleObject,specificHandleObject,cmsDeviceType){const _defaultHandleObject=defaultHandleObject;const _specificHandleObject=specificHandleObject;const _cmsDeviceType=cmsDeviceType;const _specificHandleObjectKeys=Object.keys(_specificHandleObject);const _defaultHandleObjKeys=Object.keys(_defaultHandleObject).filter(key=>typeof _defaultHandleObject[key][_cmsDeviceType]!=="undefined"||_defaultHandleObject[key][_cmsDeviceType]);const specificHandleArray=[];const handleFinalObj={};function checkForIdenticalAdTile(specificHandleArray,defaultAdTile){const truthArray=[];for(let arrCounter1=0;arrCounter1<specificHandleArray.length;arrCounter1++){if(Array.isArray(defaultAdTile)){const res=false;for(let arrCounter2=0;arrCounter2<defaultAdTile.length;arrCounter2++){const res=specificHandleArray[arrCounter1].includes(defaultAdTile[arrCounter2]);if(res===true){truthArray.push(res)}}truthArray.push(res)}else{const res=specificHandleArray[arrCounter1]===defaultAdTile;truthArray.push(res)}}return!!truthArray.includes(true)}for(key of _specificHandleObjectKeys){const undefinedOrEmpty=typeof _specificHandleObject[key][_cmsDeviceType]==="undefined"||!_specificHandleObject[key][_cmsDeviceType];if(!undefinedOrEmpty){specificHandleArray.push(_specificHandleObject[key][_cmsDeviceType]);handleFinalObj[key]=_specificHandleObject[key][_cmsDeviceType]}}for(key of _defaultHandleObjKeys){if(_specificHandleObjectKeys.indexOf(key)!==-1){const undefinedOrEmpty=typeof _specificHandleObject[key][_cmsDeviceType]==="undefined"||!_specificHandleObject[key][_cmsDeviceType];if(undefinedOrEmpty){const checkForDuplicateId=checkForIdenticalAdTile(specificHandleArray,_defaultHandleObject[key][_cmsDeviceType]);if(!checkForDuplicateId){handleFinalObj[key]=_defaultHandleObject[key][_cmsDeviceType]}}}if(_specificHandleObjectKeys.indexOf(key)===-1){const checkForDuplicateId=checkForIdenticalAdTile(specificHandleArray,_defaultHandleObject[key][_cmsDeviceType]);if(!checkForDuplicateId){handleFinalObj[key]=_defaultHandleObject[key][_cmsDeviceType]}}}return handleFinalObj}function filterContainerByDevice(contentNodes,deviceType){const _contentNodes=contentNodes;const _deviceType=deviceType;const _contentNodesLength=_contentNodes.length;const _sortedAdcontainerArray=[];for(let i=0;i<_contentNodesLength;i++){if(_contentNodes[i].dataset.device===_deviceType){_sortedAdcontainerArray.push(_contentNodes[i])}}return _sortedAdcontainerArray}function filterContainerByAdtile(contentNodes){const _contentNodes=contentNodes;const _contentNodesLength=_contentNodes.length;const _availableSpace=document.querySelector("[data-placement=\'pos_1\']")&&document.querySelector("[data-placement=\'pos_1\']").getBoundingClientRect().width>900?parseFloat(document.querySelector("[data-placement=\'pos_1\']").getBoundingClientRect().left):0;for(let i=0;i<_contentNodesLength;i++){const _adTile=window.IQD_varPack.containerModell.adTileMatchingList.currentList[_contentNodes[i].dataset.placement];if(typeof _adTile==="string"){if(_contentNodes[i].dataset.device==="desktop"&&_adTile==="topBanner"){if(_availableSpace>120){const _rootContainer=_contentNodes[i];const _topBannerArray=window.IQD_varPack.containerModell.iqdTopBannerArray;buildTopBanner(_topBannerArray,_rootContainer,0)}else{createAdtile(_contentNodes[i],"iqadtile1")}}else{createAdtile(_contentNodes[i],_adTile)}}if(Array.isArray(_adTile)){for(let j=0;j<_adTile.length;j++){createAdtile(_contentNodes[i],_adTile[j])}}}}function createAdtile(parentNode,adTileId){const _parentNode=parentNode;const _adTileId=adTileId;let _adtileDiv=document.createElement("div");_adtileDiv.id=_adTileId;_adtileDiv=createParentDataAttribute(_adtileDiv,_parentNode);_parentNode.insertAdjacentElement("afterbegin",_adtileDiv)}function createParentDataAttribute(adtileDiv,parentNode){const targetAdTile=adtileDiv;const placementContainer=parentNode;const placementContainerDatasetPosition=placementContainer.dataset.placement;targetAdTile.dataset.placement=placementContainerDatasetPosition;return targetAdTile}function createAndInsertRenderScript(adTileDiv,adTileId){const _adtileDiv=adTileDiv;const _adTileId=adTileId;const _toInsertScript=document.createElement("script");_toInsertScript.innerHTML=`AdController.render("${_adTileId}")`;_adtileDiv.insertAdjacentElement("afterbegin",_toInsertScript)}function buildTopBanner(topBannerArray,parentNode,recursCounter){const _recursCounter=recursCounter||0;let _parentNode=parentNode;const _topBannerArray=topBannerArray;for(let x=0;x<_topBannerArray.length;x++){if(typeof _topBannerArray[x]==="string"){const _targetNode=document.createElement("div");_targetNode.id=_topBannerArray[0];_parentNode.insertAdjacentElement("afterbegin",_targetNode);_parentNode=_targetNode;if(window.IQD_varPack.containerModell.iqdTopBannerList.indexOf(_targetNode.id)>-1){if(_targetNode.id==="iqadtile1"){_targetNode.dataset.placement="pos_1"}if(_targetNode.id==="iqadtile20"){_targetNode.dataset.placement="pos_out_1"}if(_targetNode.id==="iqadtile21"){_targetNode.dataset.placement="pos_out_2"}}}if(Array.isArray(_topBannerArray[x])){buildTopBanner(_topBannerArray[x],_parentNode,_recursCounter+1)}}}observeAdControllerInitialization(AdController,"_initialized",callBackAdControllerInitialized)})();',
'window.loadMyGetAdnami=function(){var src_adnami=document.createElement("script");src_adnami.type="text/javascript";src_adnami.setAttribute("async","async");src_adnami.src="https://functions.adnami.io/api/macro/adsm.macro.spiegel.de.js";document.head.insertAdjacentElement("afterbegin",src_adnami)};window.myGetAdnami=function(){window.loadMyGetAdnami()};']},adc_delivery_date:"2024-01-30 14:56:26",adc_delivery_version:"1.0"});c.register("Staging",window.IQD.AdController.Staging);c.register("AdController",
window.IQD.AdController.AdController);c.register("RenderController",window.IQD.AdController.RenderController);c.register("ExecutionContext",window.IQD.AdController.ExecutionContext).strategy(f);c.register("EventDispatcher",window.IQD.AdController.EventDispatcher);c.initialize();var e=c.get("AdController");c.get("ExceptionHandler").containAll(e);window._ADC_VERSION=e.VERSION;if(window.AdController){var d=window.AdController;window.AdController=e;d.r&&d.r();d.i&&e.setPageInfo(d.i);d.s&&e.stage();d.n&&
e.initialize();d.q&&function(){for(var a in d.q)e.render(d.q[a][0],d.q[a][1])}();d.f&&e.finalize();d.c&&function(){for(var a in d.c){var b=d.c[a].shift();e[b].apply(e,d.c[a])}}()}else console.log("provide AC proxy!"),window.AdController=e}).call(this);
