
/* Modernizr 2.6.3 (Custom Build) | MIT & BSD
 * Build: http://modernizr.com/download/#-svg-shiv-cssclasses-load
 */
;window.Modernizr=function(a,b,c){function v(a){j.cssText=a}function w(a,b){return v(prefixes.join(a+";")+(b||""))}function x(a,b){return typeof a===b}function y(a,b){return!!~(""+a).indexOf(b)}function z(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:x(f,"function")?f.bind(d||b):f}return!1}var d="2.6.3",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m={svg:"http://www.w3.org/2000/svg"},n={},o={},p={},q=[],r=q.slice,s,t={}.hasOwnProperty,u;!x(t,"undefined")&&!x(t.call,"undefined")?u=function(a,b){return t.call(a,b)}:u=function(a,b){return b in a&&x(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=r.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(r.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(r.call(arguments)))};return e}),n.svg=function(){return!!b.createElementNS&&!!b.createElementNS(m.svg,"svg").createSVGRect};for(var A in n)u(n,A)&&(s=A.toLowerCase(),e[s]=n[A](),q.push((e[s]?"":"no-")+s));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)u(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},v(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function p(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?n(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function q(a){a||(a=b);var c=m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS=!!k(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),j||p(a,c),a}var c=a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f,g="_html5shiv",h=0,i={},j;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+q.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function e(t){return null!=t&&t===t.window},v={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in v)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.3.1",w=function(e,t){return new w.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.fn=w.prototype={jquery:"3.3.1",constructor:w,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},w.extend=w.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],a!==(r=e[t])&&(l&&r&&(w.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&w.isPlainObject(n)?n:{},a[t]=w.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},w.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==c.call(e))&&(!(t=i(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&p.call(n)===d)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){m(e)},each:function(e,t){var n,r=0;if(C(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?w.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;o<a;o++)(r=!t(e[o],o))!==s&&i.push(e[o]);return i},map:function(e,t,n){var r,i,o=0,s=[];if(C(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&s.push(i);return a.apply([],s)},guid:1,support:h}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function C(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}var E=function(e){var t,n,r,i,o,a,s,u,l,c,f,p,d,h,g,y,v,m,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=ae(),k=ae(),S=ae(),D=function(e,t){return e===t&&(f=!0),0},N={}.hasOwnProperty,A=[],j=A.pop,q=A.push,L=A.push,H=A.slice,O=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",I="\\["+M+"*("+R+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+M+"*\\]",W=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",$=new RegExp(M+"+","g"),B=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),F=new RegExp("^"+M+"*,"+M+"*"),_=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),z=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),X=new RegExp(W),U=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ie=me(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{L.apply(A=H.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){L={apply:A.length?function(e,t){q.apply(e,H.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function oe(e,t,r,i){var o,s,l,c,f,h,v,m=t&&t.ownerDocument,T=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return r;if(!i&&((t?t.ownerDocument||t:w)!==d&&p(t),t=t||d,g)){if(11!==T&&(f=J.exec(e)))if(o=f[1]){if(9===T){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(m&&(l=m.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(f[2])return L.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!y||!y.test(e))){if(1!==T)m=t,v=e;else if("object"!==t.nodeName.toLowerCase()){(c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=b),s=(h=a(e)).length;while(s--)h[s]="#"+c+" "+ve(h[s]);v=h.join(","),m=K.test(e)&&ge(t.parentNode)||t}if(v)try{return L.apply(r,m.querySelectorAll(v)),r}catch(e){}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function se(e){return e[b]=!0,e}function ue(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){var n=e.split("|"),i=n.length;while(i--)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==d&&9===a.nodeType&&a.documentElement?(d=a,h=d.documentElement,g=!o(d),w!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(d.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=b,!d.getElementsByName||!d.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],y=[],(n.qsa=Q.test(d.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+b+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||y.push(".#.+[+~]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(n.matchesSelector=Q.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),v.push("!=",W)}),y=y.length&&new RegExp(y.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),x=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===d||e.ownerDocument===w&&x(w,e)?-1:t===d||t.ownerDocument===w&&x(w,t)?1:c?O(c,e)-O(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===d?-1:t===d?1:i?-1:o?1:c?O(c,e)-O(c,t):0;if(i===o)return ce(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?ce(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&p(e),t=t.replace(z,"='$1']"),n.matchesSelector&&g&&!S[t+" "]&&(!v||!v.test(t))&&(!y||!y.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&p(e),x(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==d&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&N.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(D),f){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return c=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",y=t.parentNode,v=s&&t.nodeName.toLowerCase(),m=!u&&!s,x=!1;if(y){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&m){x=(d=(l=(c=(f=(p=y)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],p=d&&y.childNodes[d];while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if(1===p.nodeType&&++x&&p===t){c[e]=[T,d,x];break}}else if(m&&(x=d=(l=(c=(f=(p=t)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===v:1===p.nodeType)&&++x&&(m&&((c=(f=p[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[T,x]),p===t))break;return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){var r,o=i(e,t),a=o.length;while(a--)e[r=O(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[b]?se(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return U.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function ye(){}ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=oe.tokenize=function(e,t){var n,i,o,a,s,u,l,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,u=[],l=r.preFilter;while(s){n&&!(i=F.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=_.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(B," ")}),s=s.slice(n.length));for(a in r.filter)!(i=V[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?oe.error(e):k(e,u).slice(0)};function ve(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function me(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,f,p=[T,s];if(u){while(t=t[r])if((1===t.nodeType||a)&&e(t,n,u))return!0}else while(t=t[r])if(1===t.nodeType||a)if(f=t[b]||(t[b]={}),c=f[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===T&&l[1]===s)return p[2]=l[2];if(c[o]=p,p[2]=e(t,n,u))return!0}return!1}}function xe(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function be(e,t,n){for(var r=0,i=t.length;r<i;r++)oe(e,t[r],n);return n}function we(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Te(e,t,n,r,i,o){return r&&!r[b]&&(r=Te(r)),i&&!i[b]&&(i=Te(i,o)),se(function(o,a,s,u){var l,c,f,p=[],d=[],h=a.length,g=o||be(t||"*",s.nodeType?[s]:s,[]),y=!e||!o&&t?g:we(g,p,e,s,u),v=n?i||(o?e:h||r)?[]:a:y;if(n&&n(y,v,s,u),r){l=we(v,d),r(l,[],s,u),c=l.length;while(c--)(f=l[c])&&(v[d[c]]=!(y[d[c]]=f))}if(o){if(i||e){if(i){l=[],c=v.length;while(c--)(f=v[c])&&l.push(y[c]=f);i(null,v=[],l,u)}c=v.length;while(c--)(f=v[c])&&(l=i?O(o,f):p[c])>-1&&(o[l]=!(a[l]=f))}}else v=we(v===a?v.splice(h,v.length):v),i?i(null,a,v,u):L.apply(a,v)})}function Ce(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=me(function(e){return e===t},s,!0),f=me(function(e){return O(t,e)>-1},s,!0),p=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u<o;u++)if(n=r.relative[e[u].type])p=[me(xe(p),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[b]){for(i=++u;i<o;i++)if(r.relative[e[i].type])break;return Te(u>1&&xe(p),u>1&&ve(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(B,"$1"),n,u<i&&Ce(e.slice(u,i)),i<o&&Ce(e=e.slice(i)),i<o&&ve(e))}p.push(n)}return xe(p)}function Ee(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,u,c){var f,h,y,v=0,m="0",x=o&&[],b=[],w=l,C=o||i&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,k=C.length;for(c&&(l=a===d||a||c);m!==k&&null!=(f=C[m]);m++){if(i&&f){h=0,a||f.ownerDocument===d||(p(f),s=!g);while(y=e[h++])if(y(f,a||d,s)){u.push(f);break}c&&(T=E)}n&&((f=!y&&f)&&v--,o&&x.push(f))}if(v+=m,n&&m!==v){h=0;while(y=t[h++])y(x,b,a,s);if(o){if(v>0)while(m--)x[m]||b[m]||(b[m]=j.call(u));b=we(b)}L.apply(u,b),c&&!o&&b.length>0&&v+t.length>1&&oe.uniqueSort(u)}return c&&(T=E,l=w),x};return n?se(o):o}return s=oe.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=a(e)),n=t.length;while(n--)(o=Ce(t[n]))[b]?r.push(o):i.push(o);(o=S(e,Ee(i,r))).selector=e}return o},u=oe.select=function(e,t,n,i){var o,u,l,c,f,p="function"==typeof e&&e,d=!i&&a(e=p.selector||e);if(n=n||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&g&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(Z,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}o=V.needsContext.test(e)?0:u.length;while(o--){if(l=u[o],r.relative[c=l.type])break;if((f=r.find[c])&&(i=f(l.matches[0].replace(Z,ee),K.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ve(u)))return L.apply(n,i),n;break}}}return(p||s(e,d))(i,t,!g,n,!t||K.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(D).join("")===b,n.detectDuplicates=!!f,p(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(P,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(e);w.find=E,w.expr=E.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=E.uniqueSort,w.text=E.getText,w.isXMLDoc=E.isXML,w.contains=E.contains,w.escapeSelector=E.escape;var k=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},D=w.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return g(t)?w.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return u.call(t,e)>-1!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t<r;t++)if(w.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)w.find(e,i[t],n);return r>1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&D.test(e)?w(e):e||[],!1).length}});var q,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),A.test(i[1])&&w.isPlainObject(t))for(i in t)g(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=r.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,q=w(r);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(w.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&w(e);if(!D.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(w(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return N(e,"iframe")?e.contentDocument:(N(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=w.filter(r,i)),this.length>1&&(O[e]||w.uniqueSort(i),H.test(e)&&i.reverse()),this.pushStack(i)}});var M=/[^\x20\t\r\n\f]+/g;function R(e){var t={};return w.each(e.match(M)||[],function(e,n){t[n]=!0}),t}w.Callbacks=function(e){e="string"==typeof e?R(e):w.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1){n=a.shift();while(++s<o.length)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1)}e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){w.each(n,function(n,r){g(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==x(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return w.each(arguments,function(e,t){var n;while((n=w.inArray(t,o,n))>-1)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?w.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l};function I(e){return e}function W(e){throw e}function $(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,r){var i=g(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t<o)){if((e=r.apply(s,u))===n.promise())throw new TypeError("Thenable self-resolution");l=e&&("object"==typeof e||"function"==typeof e)&&e.then,g(l)?i?l.call(e,a(o,n,I,i),a(o,n,W,i)):(o++,l.call(e,a(o,n,I,i),a(o,n,W,i),a(o,n,I,n.notifyWith))):(r!==I&&(s=void 0,u=[e]),(i||n.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(e){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(e,c.stackTrace),t+1>=o&&(r!==W&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred(function(e){n[0][3].add(a(0,e,g(i)?i:I,e.notifyWith)),n[1][3].add(a(0,e,g(t)?t:I)),n[2][3].add(a(0,e,g(r)?r:W))}).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},o={};return w.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=o.call(arguments),a=w.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?o.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&($(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||g(i[n]&&i[n].then)))return a.then();while(n--)$(i[n],s(n),a.reject);return a.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&B.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var F=w.Deferred();w.fn.ready=function(e){return F.then(e)["catch"](function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||F.resolveWith(r,[w]))}}),w.ready.then=F.then;function _(){r.removeEventListener("DOMContentLoaded",_),e.removeEventListener("load",_),w.ready()}"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(w.ready):(r.addEventListener("DOMContentLoaded",_),e.addEventListener("load",_));var z=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n)){i=!0;for(s in n)z(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,g(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(w(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},X=/^-ms-/,U=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function G(e){return e.replace(X,"ms-").replace(U,V)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Q(){this.expando=w.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[G(t)]=n;else for(r in t)i[G(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][G(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(G):(t=G(t))in r?[t]:t.match(M)||[]).length;while(n--)delete r[t[n]]}(void 0===t||w.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!w.isEmptyObject(t)}};var J=new Q,K=new Q,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Z.test(e)?JSON.parse(e):e)}function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=te(n)}catch(e){}K.set(e,t,n)}else n=void 0;return n}w.extend({hasData:function(e){return K.hasData(e)||J.hasData(e)},data:function(e,t,n){return K.access(e,t,n)},removeData:function(e,t){K.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),w.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=K.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){n=a.length;while(n--)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=G(r.slice(5)),ne(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){K.set(this,e)}):z(this,function(t){var n;if(o&&void 0===t){if(void 0!==(n=K.get(o,e)))return n;if(void 0!==(n=ne(o,e)))return n}else this.each(function(){K.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t),a=function(){w.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:w.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?w.queue(this[0],e):void 0===t?this:this.each(function(){var n=w.queue(this,e,t);w._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&w.dequeue(this,e)})},dequeue:function(e){return this.each(function(){w.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=w.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=J.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&w.contains(e.ownerDocument,e)&&"none"===w.css(e,"display")},se=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i};function ue(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return w.css(e,t,"")},u=s(),l=n&&n[3]||(w.cssNumber[t]?"":"px"),c=(w.cssNumber[t]||"px"!==l&&+u)&&ie.exec(w.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)w.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,w.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var le={};function ce(e){var t,n=e.ownerDocument,r=e.nodeName,i=le[r];return i||(t=n.body.appendChild(n.createElement(r)),i=w.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),le[r]=i,i)}function fe(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ae(r)&&(i[o]=ce(r))):"none"!==n&&(i[o]="none",J.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}w.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?w(this).show():w(this).hide()})}});var pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?w.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n<r;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))w.merge(p,o.nodeType?[o]:o);else if(me.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+w.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;w.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&w.inArray(o,r)>-1)i&&i.push(o);else if(l=w.contains(o.ownerDocument,o),a=ye(f.appendChild(o),"script"),l&&ve(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}!function(){var e=r.createDocumentFragment().appendChild(r.createElement("div")),t=r.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var be=r.documentElement,we=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function ke(){return!1}function Se(){try{return r.activeElement}catch(e){}}function De(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)De(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ke;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),e.each(function(){w.event.add(this,t,i,r,n)})}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.get(e);if(y){n.handler&&(n=(o=n).handler,i=o.selector),i&&w.find.matchesSelector(be,i),n.guid||(n.guid=w.guid++),(u=y.events)||(u=y.events={}),(a=y.handle)||(a=y.handle=function(t){return"undefined"!=typeof w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(M)||[""]).length;while(l--)d=g=(s=Ce.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=w.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=w.event.special[d]||{},c=w.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),w.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.hasData(e)&&J.get(e);if(y&&(u=y.events)){l=(t=(t||"").match(M)||[""]).length;while(l--)if(s=Ce.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||w.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t=w.event.fix(e),n,r,i,o,a,s,u=new Array(arguments.length),l=(J.get(this,"events")||{})[t.type]||[],c=w.event.special[t.type]||{};for(u[0]=t,n=1;n<arguments.length;n++)u[n]=arguments[n];if(t.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){s=w.event.handlers.call(this,t,l),n=0;while((o=s[n++])&&!t.isPropagationStopped()){t.currentTarget=o.elem,r=0;while((a=o.handlers[r++])&&!t.isImmediatePropagationStopped())t.rnamespace&&!t.rnamespace.test(a.namespace)||(t.handleObj=a,t.data=a.data,void 0!==(i=((w.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,u))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?w(i,this).index(l)>-1:w.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(w.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[w.expando]?e:new w.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Se()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Se()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&N(this,"input"))return this.click(),!1},_default:function(e){return N(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},w.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ee:ke,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:ke,isPropagationStopped:ke,isImmediatePropagationStopped:ke,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ee,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ee,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ee,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},w.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&we.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Te.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},w.event.addProp),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){w.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||w.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),w.fn.extend({on:function(e,t,n,r){return De(this,e,t,n,r)},one:function(e,t,n,r){return De(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,w(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=ke),this.each(function(){w.event.remove(this,e,n,t)})}});var Ne=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/<script|<style|<link/i,je=/checked\s*(?:[^=]|=\s*.checked.)/i,qe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Le(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")?w(e).children("tbody")[0]||e:e}function He(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Oe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),a=J.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)w.event.add(t,i,l[i][n])}K.hasData(e)&&(s=K.access(e),u=w.extend({},s),K.set(t,u))}}function Me(e,t){var n=t.nodeName.toLowerCase();"input"===n&&pe.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Re(e,t,n,r){t=a.apply([],t);var i,o,s,u,l,c,f=0,p=e.length,d=p-1,y=t[0],v=g(y);if(v||p>1&&"string"==typeof y&&!h.checkClone&&je.test(y))return e.each(function(i){var o=e.eq(i);v&&(t[0]=y.call(this,i,o.html())),Re(o,t,n,r)});if(p&&(i=xe(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=(s=w.map(ye(i,"script"),He)).length;f<p;f++)l=i,f!==d&&(l=w.clone(l,!0,!0),u&&w.merge(s,ye(l,"script"))),n.call(e[f],l,f);if(u)for(c=s[s.length-1].ownerDocument,w.map(s,Oe),f=0;f<u;f++)l=s[f],he.test(l.type||"")&&!J.access(l,"globalEval")&&w.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?w._evalUrl&&w._evalUrl(l.src):m(l.textContent.replace(qe,""),c,l))}return e}function Ie(e,t,n){for(var r,i=t?w.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||w.cleanData(ye(r)),r.parentNode&&(n&&w.contains(r.ownerDocument,r)&&ve(ye(r,"script")),r.parentNode.removeChild(r));return e}w.extend({htmlPrefilter:function(e){return e.replace(Ne,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=w.contains(e.ownerDocument,e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(a=ye(s),r=0,i=(o=ye(e)).length;r<i;r++)Me(o[r],a[r]);if(t)if(n)for(o=o||ye(e),a=a||ye(s),r=0,i=o.length;r<i;r++)Pe(o[r],a[r]);else Pe(e,s);return(a=ye(s,"script")).length>0&&ve(a,!u&&ye(e,"script")),s},cleanData:function(e){for(var t,n,r,i=w.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Ie(this,e,!0)},remove:function(e){return Ie(this,e)},text:function(e){return z(this,function(e){return void 0===e?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Re(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return z(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Re(this,arguments,function(t){var n=this.parentNode;w.inArray(this,e)<0&&(w.cleanData(ye(this)),n&&n.replaceChild(t,this))},e)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){w.fn[e]=function(e){for(var n,r=[],i=w(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),w(i[a])[t](n),s.apply(r,n.get());return this.pushStack(r)}});var We=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),$e=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Be=new RegExp(oe.join("|"),"i");!function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",be.appendChild(l).appendChild(c);var t=e.getComputedStyle(c);i="1%"!==t.top,u=12===n(t.marginLeft),c.style.right="60%",s=36===n(t.right),o=36===n(t.width),c.style.position="absolute",a=36===c.offsetWidth||"absolute",be.removeChild(l),c=null}}function n(e){return Math.round(parseFloat(e))}var i,o,a,s,u,l=r.createElement("div"),c=r.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===c.style.backgroundClip,w.extend(h,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),a}}))}();function Fe(e,t,n){var r,i,o,a,s=e.style;return(n=n||$e(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||w.contains(e.ownerDocument,e)||(a=w.style(e,t)),!h.pixelBoxStyles()&&We.test(a)&&Be.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function _e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}var ze=/^(none|table(?!-c[ea]).+)/,Xe=/^--/,Ue={position:"absolute",visibility:"hidden",display:"block"},Ve={letterSpacing:"0",fontWeight:"400"},Ge=["Webkit","Moz","ms"],Ye=r.createElement("div").style;function Qe(e){if(e in Ye)return e;var t=e[0].toUpperCase()+e.slice(1),n=Ge.length;while(n--)if((e=Ge[n]+t)in Ye)return e}function Je(e){var t=w.cssProps[e];return t||(t=w.cssProps[e]=Qe(e)||e),t}function Ke(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ze(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=w.css(e,n+oe[a],!0,i)),r?("content"===n&&(u-=w.css(e,"padding"+oe[a],!0,i)),"margin"!==n&&(u-=w.css(e,"border"+oe[a]+"Width",!0,i))):(u+=w.css(e,"padding"+oe[a],!0,i),"padding"!==n?u+=w.css(e,"border"+oe[a]+"Width",!0,i):s+=w.css(e,"border"+oe[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function et(e,t,n){var r=$e(e),i=Fe(e,t,r),o="border-box"===w.css(e,"boxSizing",!1,r),a=o;if(We.test(i)){if(!n)return i;i="auto"}return a=a&&(h.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===w.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+Ze(e,t,n||(o?"border":"content"),a,r,i)+"px"}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Fe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=G(t),u=Xe.test(t),l=e.style;if(u||(t=Je(s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"==(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=ue(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(w.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=G(t);return Xe.test(t)||(t=Je(s)),(a=w.cssHooks[t]||w.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Fe(e,t,r)),"normal"===i&&t in Ve&&(i=Ve[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return!ze.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):se(e,Ue,function(){return et(e,t,r)})},set:function(e,n,r){var i,o=$e(e),a="border-box"===w.css(e,"boxSizing",!1,o),s=r&&Ze(e,t,r,a,o);return a&&h.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Ze(e,t,"border",!1,o)-.5)),s&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),Ke(e,n,s)}}}),w.cssHooks.marginLeft=_e(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Fe(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(w.cssHooks[e+t].set=Ke)}),w.fn.extend({css:function(e,t){return z(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=$e(e),i=t.length;a<i;a++)o[t[a]]=w.css(e,t[a],!1,r);return o}return void 0!==n?w.style(e,t,n):w.css(e,t)},e,t,arguments.length>1)}});function tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}w.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[w.cssProps[e.prop]]&&!w.cssHooks[e.prop]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=tt.prototype.init,w.fx.step={};var nt,rt,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){rt&&(!1===r.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(at):e.setTimeout(at,w.fx.interval),w.fx.tick())}function st(){return e.setTimeout(function(){nt=void 0}),nt=Date.now()}function ut(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function lt(e,t,n){for(var r,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ct(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ae(e),y=J.get(e,"fxshow");n.queue||(null==(a=w._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,w.queue(e,"fx").length||a.empty.fire()})}));for(r in t)if(i=t[r],it.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!y||void 0===y[r])continue;g=!0}d[r]=y&&y[r]||w.style(e,r)}if((u=!w.isEmptyObject(t))||!w.isEmptyObject(d)){f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=y&&y.display)&&(l=J.get(e,"display")),"none"===(c=w.css(e,"display"))&&(l?c=l:(fe([e],!0),l=e.style.display||l,c=w.css(e,"display"),fe([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===w.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1;for(r in d)u||(y?"hidden"in y&&(g=y.hidden):y=J.access(e,"fxshow",{display:l}),o&&(y.hidden=!g),g&&fe([e],!0),p.done(function(){g||fe([e]),J.remove(e,"fxshow");for(r in d)w.style(e,r,d[r])})),u=lt(g?y[r]:0,r,p),r in y||(y[r]=u.start,g&&(u.end=u.start,u.start=0))}}function ft(e,t){var n,r,i,o,a;for(n in e)if(r=G(n),i=t[r],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=w.cssHooks[r])&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function pt(e,t,n){var r,i,o=0,a=pt.prefilters.length,s=w.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=nt||st(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:w.extend({},t),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},n),originalProperties:t,originalOptions:n,startTime:nt||st(),duration:n.duration,tweens:[],createTween:function(t,n){var r=w.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(ft(c,l.opts.specialEasing);o<a;o++)if(r=pt.prefilters[o].call(l,e,c,l.opts))return g(r.stop)&&(w._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return w.map(c,lt,l),g(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),w.fx.timer(w.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}w.Animation=w.extend(pt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ue(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(M);for(var n,r=0,i=e.length;r<i;r++)n=e[r],pt.tweeners[n]=pt.tweeners[n]||[],pt.tweeners[n].unshift(t)},prefilters:[ct],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),w.speed=function(e,t,n){var r=e&&"object"==typeof e?w.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return w.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in w.fx.speeds?r.duration=w.fx.speeds[r.duration]:r.duration=w.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&w.dequeue(this,r.queue)},r},w.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=w.isEmptyObject(e),o=w.speed(t,n,r),a=function(){var t=pt(this,w.extend({},e),o);(i||J.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=w.timers,a=J.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&ot.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||w.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=J.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=w.timers,a=r?r.length:0;for(n.finish=!0,w.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),w.each(["toggle","show","hide"],function(e,t){var n=w.fn[t];w.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ut(t,!0),e,r,i)}}),w.each({slideDown:ut("show"),slideUp:ut("hide"),slideToggle:ut("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){w.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),w.timers=[],w.fx.tick=function(){var e,t=0,n=w.timers;for(nt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||w.fx.stop(),nt=void 0},w.fx.timer=function(e){w.timers.push(e),w.fx.start()},w.fx.interval=13,w.fx.start=function(){rt||(rt=!0,at())},w.fx.stop=function(){rt=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(t,n){return t=w.fx?w.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=r.createElement("input"),t=r.createElement("select").appendChild(r.createElement("option"));e.type="checkbox",h.checkOn=""!==e.value,h.optSelected=t.selected,(e=r.createElement("input")).value="t",e.type="radio",h.radioValue="t"===e.value}();var dt,ht=w.expr.attrHandle;w.fn.extend({attr:function(e,t){return z(this,w.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?w.prop(e,t,n):(1===o&&w.isXMLDoc(e)||(i=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=w.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(M);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||w.find.attr;ht[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=ht[a],ht[a]=i,i=null!=n(e,t,r)?a:null,ht[a]=o),i}});var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;w.fn.extend({prop:function(e,t){return z(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&w.isXMLDoc(e)||(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),h.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this});function vt(e){return(e.match(M)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e?e.match(M)||[]:[]}w.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).addClass(e.call(this,t,mt(this)))});if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).removeClass(e.call(this,t,mt(this)))});if(!arguments.length)return this.attr("class","");if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])while(r.indexOf(" "+o+" ")>-1)r=r.replace(" "+o+" "," ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each(function(n){w(this).toggleClass(e.call(this,n,mt(this),t),t)}):this.each(function(){var t,i,o,a;if(r){i=0,o=w(this),a=xt(e);while(t=a[i++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else void 0!==e&&"boolean"!==n||((t=mt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&(" "+vt(mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;w.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=g(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,w(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=w.map(i,function(e){return null==e?"":e+""})),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(bt,""):null==n?"":n}}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:vt(w.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!N(n.parentNode,"optgroup"))){if(t=w(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=w.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=w.inArray(w.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},h.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in e;var wt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,i,o){var a,s,u,l,c,p,d,h,v=[i||r],m=f.call(t,"type")?t.type:t,x=f.call(t,"namespace")?t.namespace.split("."):[];if(s=h=u=i=i||r,3!==i.nodeType&&8!==i.nodeType&&!wt.test(m+w.event.triggered)&&(m.indexOf(".")>-1&&(m=(x=m.split(".")).shift(),x.sort()),c=m.indexOf(":")<0&&"on"+m,t=t[w.expando]?t:new w.Event(m,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=x.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:w.makeArray(n,[t]),d=w.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(i,n))){if(!o&&!d.noBubble&&!y(i)){for(l=d.delegateType||m,wt.test(l+m)||(s=s.parentNode);s;s=s.parentNode)v.push(s),u=s;u===(i.ownerDocument||r)&&v.push(u.defaultView||u.parentWindow||e)}a=0;while((s=v[a++])&&!t.isPropagationStopped())h=s,t.type=a>1?l:d.bindType||m,(p=(J.get(s,"events")||{})[t.type]&&J.get(s,"handle"))&&p.apply(s,n),(p=c&&s[c])&&p.apply&&Y(s)&&(t.result=p.apply(s,n),!1===t.result&&t.preventDefault());return t.type=m,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(v.pop(),n)||!Y(i)||c&&g(i[m])&&!y(i)&&((u=i[c])&&(i[c]=null),w.event.triggered=m,t.isPropagationStopped()&&h.addEventListener(m,Tt),i[m](),t.isPropagationStopped()&&h.removeEventListener(m,Tt),w.event.triggered=void 0,u&&(i[c]=u)),t.result}},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(r,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),h.focusin||w.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}});var Ct=e.location,Et=Date.now(),kt=/\?/;w.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+t),n};var St=/\[\]$/,Dt=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,r){var i;if(Array.isArray(t))w.each(t,function(t,i){n||St.test(e)?r(e,i):jt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==x(t))r(e,t);else for(i in t)jt(e+"["+i+"]",t[i],n,r)}w.param=function(e,t){var n,r=[],i=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){i(this.name,this.value)});else for(n in e)jt(n,e[n],t,i);return r.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&At.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}});var qt=/%20/g,Lt=/#.*$/,Ht=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mt=/^(?:GET|HEAD)$/,Rt=/^\/\//,It={},Wt={},$t="*/".concat("*"),Bt=r.createElement("a");Bt.href=Ct.href;function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(M)||[];if(g(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function _t(e,t,n,r){var i={},o=e===Wt;function a(s){var u;return i[s]=!0,w.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function zt(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&w.extend(!0,e,r),e}function Xt(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function Ut(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:Pt.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,w.ajaxSettings),t):zt(w.ajaxSettings,e)},ajaxPrefilter:Ft(It),ajaxTransport:Ft(Wt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,p,d,h=w.ajaxSetup({},n),g=h.context||h,y=h.context&&(g.nodeType||g.jquery)?w(g):w.event,v=w.Deferred(),m=w.Callbacks("once memory"),x=h.statusCode||{},b={},T={},C="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s){s={};while(t=Ot.exec(a))s[t[1].toLowerCase()]=t[2]}t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||C;return i&&i.abort(t),k(0,t),this}};if(v.promise(E),h.url=((t||h.url||Ct.href)+"").replace(Rt,Ct.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(M)||[""],null==h.crossDomain){l=r.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Bt.protocol+"//"+Bt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=w.param(h.data,h.traditional)),_t(It,h,n,E),c)return E;(f=w.event&&h.global)&&0==w.active++&&w.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Mt.test(h.type),o=h.url.replace(Lt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(qt,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(kt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Ht,"$1"),d=(kt.test(o)?"&":"?")+"_="+Et+++d),h.url=o+d),h.ifModified&&(w.lastModified[o]&&E.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&E.setRequestHeader("If-None-Match",w.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+$t+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)E.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(g,E,h)||c))return E.abort();if(C="abort",m.add(h.complete),E.done(h.success),E.fail(h.error),i=_t(Wt,h,n,E)){if(E.readyState=1,f&&y.trigger("ajaxSend",[E,h]),c)return E;h.async&&h.timeout>0&&(u=e.setTimeout(function(){E.abort("timeout")},h.timeout));try{c=!1,i.send(b,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(t,n,r,s){var l,p,d,b,T,C=n;c||(c=!0,u&&e.clearTimeout(u),i=void 0,a=s||"",E.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(b=Xt(h,E,r)),b=Ut(h,b,E,l),l?(h.ifModified&&((T=E.getResponseHeader("Last-Modified"))&&(w.lastModified[o]=T),(T=E.getResponseHeader("etag"))&&(w.etag[o]=T)),204===t||"HEAD"===h.type?C="nocontent":304===t?C="notmodified":(C=b.state,p=b.data,l=!(d=b.error))):(d=C,!t&&C||(C="error",t<0&&(t=0))),E.status=t,E.statusText=(n||C)+"",l?v.resolveWith(g,[p,C,E]):v.rejectWith(g,[E,C,d]),E.statusCode(x),x=void 0,f&&y.trigger(l?"ajaxSuccess":"ajaxError",[E,h,l?p:d]),m.fireWith(g,[E,C]),f&&(y.trigger("ajaxComplete",[E,h]),--w.active||w.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,t){w[t]=function(e,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:i,data:n,success:r},w.isPlainObject(e)&&e))}}),w._evalUrl=function(e){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return g(e)?this.each(function(t){w(this).wrapInner(e.call(this,t))}):this.each(function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=g(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Gt=w.ajaxSettings.xhr();h.cors=!!Gt&&"withCredentials"in Gt,h.ajax=Gt=!!Gt,w.ajaxTransport(function(t){var n,r;if(h.cors||Gt&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),w.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),w.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(i,o){t=w("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),r.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Yt=[],Qt=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Yt.pop()||w.expando+"_"+Et++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(Qt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=g(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Qt,"$1"+i):!1!==t.jsonp&&(t.url+=(kt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||w.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?w(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Yt.push(i)),a&&g(o)&&o(a[0]),a=o=void 0}),"script"}),h.createHTMLDocument=function(){var e=r.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),w.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var i,o,a;return t||(h.createHTMLDocument?((i=(t=r.implementation.createHTMLDocument("")).createElement("base")).href=r.location.href,t.head.appendChild(i)):t=r),o=A.exec(e),a=!n&&[],o?[t.createElement(o[1])]:(o=xe([e],t,a),a&&a.length&&w(a).remove(),w.merge([],o.childNodes))},w.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=vt(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&w.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?w("<div>").append(w.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.expr.pseudos.animated=function(e){return w.grep(w.timers,function(t){return e===t.elem}).length},w.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=w.css(e,"position"),f=w(e),p={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=w.css(e,"top"),u=w.css(e,"left"),(l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1)?(a=(r=f.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),g(t)&&(t=t.call(e,n,w.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+i),"using"in t?t.using.call(e,p):f.css(p)}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){w.offset.setOffset(this,e,t)});var t,n,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===w.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===w.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),i.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-w.css(r,"marginTop",!0),left:t.left-i.left-w.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===w.css(e,"position"))e=e.offsetParent;return e||be})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;w.fn[e]=function(r){return z(this,function(e,r,i){var o;if(y(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),w.each(["top","left"],function(e,t){w.cssHooks[t]=_e(h.pixelPosition,function(e,n){if(n)return n=Fe(e,t),We.test(n)?w(e).position()[t]+"px":n})}),w.each({Height:"height",Width:"width"},function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){w.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return z(this,function(t,n,i){var o;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?w.css(t,n,s):w.style(t,n,i,s)},t,a?i:void 0,a)}})}),w.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){w.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),w.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),w.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),w.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=o.call(arguments,2),i=function(){return e.apply(t||this,r.concat(o.call(arguments)))},i.guid=e.guid=e.guid||w.guid++,i},w.holdReady=function(e){e?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=N,w.isFunction=g,w.isWindow=y,w.camelCase=G,w.type=x,w.now=Date.now,w.isNumeric=function(e){var t=w.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var Jt=e.jQuery,Kt=e.$;return w.noConflict=function(t){return e.$===w&&(e.$=Kt),t&&e.jQuery===w&&(e.jQuery=Jt),w},t||(e.jQuery=e.$=w),w});

!function(){function e(e){var t=this;t.CONFIG=e,t.CONFIG.PUBLISHER={},t[t.CONFIG.SYSTEM.MODULESTORE]={},t[t.CONFIG.SYSTEM.ACTIVERESOURCES]={},t[t.CONFIG.SYSTEM.ADTEMPLATES]={},t.KERNEL=new this.KernelClass({common:{sequenceSlotCount:"0",dfpNetwork:"4444",dfpDesktopNetwork:"4444",dfpMobileNetwork:"4444",dfpMobileName:"mobile.rallye-magazin.de_sd",dfpDesktopName:"rallye-magazin.de_sd",dfpAdblockName:"testadblock_dfp",canCreateSlots:!1,useCmpTestScenario:!1,useTestYieldSetup:!0,yieldPercentage:1,kvFilter:["adset","bid","browserapp","cxsegments","mbrid","mbrct","mbrseg","nuggad","tagm","tagtype","yieldlove_ab","yieldlove_hb_pb","yieldlove_hb_sucbid","yieldlove_meta","yieldlove_pid","yieldlove_reload"],modularSlotNamePrefix:"local_",logTranslatorUrl:"https://cdn.stroeerdigitalgroup.de/metatag/libraries/logMessages.json",infoToolUrl:"https://cdn.stroeerdigitalgroup.de/metatag/libraries/info-Tool.min.js",infoToolCss:"https://cdn.stroeerdigitalgroup.de/metatag/libraries/info-Tool.css",viewportBuckets:[{name:"xxs",minWidth:0},{name:"xs",minWidth:360},{name:"s",minWidth:480},{name:"sm",minWidth:800},{name:"m",minWidth:1024},{name:"ml",minWidth:1280},{name:"l",minWidth:1366},{name:"xl",minWidth:1920},{name:"xxl",minWidth:2048},{name:"3xl",minWidth:2400},{name:"maxWidth",minWidth:9999}],AcNumber:"AC-13652",WtNumberDesktop:"WT-1694",WtNumberMobile:"WT-8646",css:".sdgCloaked{visibility: hidden;}.sdgSlotHull{position:relative;}.sdgSticky{position:sticky;top:0px;}.sdgRemoved{display: none;}.sdgUnfilled{}.sdgSlotName-stickyfooter>.sdgUnfilled{display:none;}.sdgCentered{display:flex;justify-content:center;align-items:center;}.sdgResponded>.sdgSpinner{display:none;}.sdgAnzeigenkennung{margin:0;padding:0;font-size:12px;font-family:arial,helvetica,freesans,sans-serif;}.sdgAnzeigenkennung:before{content:'Anzeige';}.sdgAnz-banner{transform:rotate(270deg);top:30px;position:absolute;left:-30px;}.sdgAnz-bb{transform:rotate(270deg);top:30px;position:absolute;left:-30px;}.sdgCentered>*:first-child{flex-grow:1;}.sdgSpinner{position:absolute;left: 50%;top: 50%;transform: translate(-50%,-50%);width: 50px;height: 40px;text-align: center;font-size: 10px;}.sdgSpinner > div{background-color: #333;height: 100%;width: 6px;display: inline-block;margin:0 3px 0 0;-webkit-animation: sdgStretchdelay 1.2s infinite ease-in-out;animation: sdgStretchdelay 1.2s infinite ease-in-out;}.sdgSpinner .sdgSpinRect2{-webkit-animation-delay: -1.1s;animation-delay: -1.1s;}.sdgSpinner .sdgSpinRect3 {-webkit-animation-delay: -1.0s;animation-delay: -1.0s;}.sdgSpinner .sdgSpinRect4{-webkit-animation-delay: -0.9s;animation-delay: -0.9s;}.sdgSpinner .sdgSpinRect5 {-webkit-animation-delay: -0.8s;animation-delay: -0.8s;}@-webkit-keyframes sdgStretchdelay{0%, 40%, 100% { -webkit-transform:scaleY(0.4)}20% {-webkit-transform:scaleY(1.0) }}@keyframes sdgStretchdelay{0%, 40%, 100% {transform:scaleY(0.4);-webkit-transform:scaleY(0.4);}20% {transform: scaleY(1.0);-webkit-transform: scaleY(1.0);}}"},layout:{reduceLayoutShift:!1,renderAdLabels:!0,useLoadingSpin:!0,loadingSpinner:"wave",useHeightAnimations:!0,animationDuration:1.2,centerAds:!1,useHull:!0,allowUnnecessaryResizeInView:!1,allowEmptySlotCollapse:!1,mobileNearViewHeightModifier:.5,mobileNearViewWidthModifier:.5,desktopNearViewHeightModifier:.2,desktopNearViewWidthModifier:.2,updateInterval:1e3},userConsent:{blockUntilCmpLoad:!0,frameworkVersion:1,blockUnlistedVendors:!0,siteCallsMessage:!1,consentCacheNonIAB:{},consentCache:{},tcf10controllerUrl:"https://cdn.stroeerdigitalgroup.de/metatag/libraries/messagev3.js",tcf20controllerUrl:"https://gdpr-tcfv2.sp-prod.net/wrapperMessagingWithoutDetection.js",messageDomain:"message375.sp-prod.net",messageDomainTcf2:"https://message375.sp-prod.net"},adserver:{dfp:{active:!0,functionName:"GoogleQueueDfp",config:{useSynchronTags:!1,useSingleRequest:!1,skipContentLoaded:!1,collapseEmptyDivs:!0,collapseDivsBeforeFetch:!0,correlatorUpdateTime:"50000",fetchAdsSerially:!1,loadGptScript:!0,safeframeSandbox:!1,setCentering:!1,iabVendorId:755,forceLimitedAds:!1,delayScriptCallUntilConsent:!1,gptUrl:"https://securepubads.g.doubleclick.net/tag/js/gpt.js",limitedAdsUrl:"https://pagead2.googlesyndication.com/tag/js/gpt.js"}},sssp:{active:!1,functionName:"StroeerSSP",useEndpoint:"prod",config:{endpointOld:"https://tracking.m6r.eu/sync/creative?format=script&debug=true&creativeId=",endpointDev:"https://clientui-mbrdsp-staging.ibillboard.com/creative-renderer/creatives/",endpointProd:"https://core.stroeer.com/creative-renderer/creatives/"}},directRender:{active:!1,functionName:"directRendering",config:{}}},videoAdserver:{ibb:{active:!0,functionName:"Video",vServerName:"ibb",config:{defaultVideoTagTemplate:"ibbVideoTag",prerollSlotName:"",prerollPresenterSlotName:"",midrollSlotName:"",postrollSlotName:"",postrollPresenterSlotName:"",overlaySlotName:"",companionRegion:"",jsonRootName:"adData",preroll:"preroll",midroll:"midroll",postroll:"postroll",overlay:"overlay",prepres:"prepres",postpres:"postpres",prestickysmall:"presticksmall",prestickylarge:"prestickylarge"}},dfp:{active:!1,functionName:"Video",vServerName:"dfp",config:{}},stroeerCore:{active:!1,functionName:"Video",vServerName:"stroeerCore",config:{defaultVideoTagTemplate:"stroeerCoreVideoTag",prerollSlotName:"",prerollPresenterSlotName:"",midrollSlotName:"",postrollSlotName:"",postrollPresenterSlotName:"",overlaySlotName:"",companionRegion:"",jsonRootName:"adData",preroll:"preroll",midroll:"midroll",postroll:"postroll",overlay:"overlay",prepres:"prepres",postpres:"postpres",prestickysmall:"presticksmall",prestickylarge:"prestickylarge"}}},formats:{flex1x4:{active:!0,availableOn:["sky"],useOriginalSizeEverywhere:!0,ident:"f1x4",minHeight:640,maxHeight:960,minWidth:160,maxWidth:240,dfpSizes:[[10,40]],useTemplate:"FlexAds",meetricsFormatCode:"FlexAd1x4"},flex1x3:{active:!0,availableOn:["sky"],useOriginalSizeEverywhere:!0,ident:"f1x3",minHeight:900,maxHeight:1350,minWidth:300,maxWidth:450,dfpSizes:[[10,30]],useTemplate:"FlexAds",meetricsFormatCode:"FlexAd1x3"},flex1x2:{active:!0,availableOn:["rectangle","topmobile2","sky"],useOriginalSizeEverywhere:!0,ident:"f1x2",minHeight:600,maxHeight:900,minWidth:300,maxWidth:450,dfpSizes:[[10,20]],useTemplate:"FlexAds",meetricsFormatCode:"FlexAd1x2"},flex1x1:{active:!0,availableOn:["rectangle","rectangle2","rectangle3","rectangle4","rectangle5","topmobile2","topmobile3","topmobile4"],useOriginalSizeEverywhere:!0,ident:"f1x1",minHeight:300,maxHeight:450,minWidth:300,maxWidth:450,dfpSizes:[[10,10]],useTemplate:"FlexAds",meetricsFormatCode:"FlexAd1x1"},flex2x1:{active:!0,availableOn:["banner","banner2","banner3","banner4","billboard","billboard2","billboard3","topmobile","topmobile2","topmobile3","topmobile4"],useOriginalSizeEverywhere:!0,ident:"f2x1",minHeight:150,maxHeight:900,minWidth:300,maxWidth:1800,dfpSizes:[[20,10]],useTemplate:"FlexAds",meetricsFormatCode:"FlexAd2x1"},flex3x1:{active:!0,availableOn:["banner","banner2","banner3","banner4","billboard","billboard2","billboard3","topmobile","topmobile2","topmobile3","topmobile4"],useOriginalSizeEverywhere:!0,ident:"f3x1",minHeight:100,maxHeight:600,minWidth:300,maxWidth:1800,dfpSizes:[[30,10]],useTemplate:"FlexAds",meetricsFormatCode:"FlexAd3x1"},flex3x4:{active:!0,availableOn:["topmobile2","topmobile3","topmobile4"],useOriginalSizeEverywhere:!0,ident:"f3x4",minHeight:400,maxHeight:600,minWidth:300,maxWidth:450,dfpSizes:[[30,40]],useTemplate:"FlexAds",meetricsFormatCode:"FlexAd3x4"},flex4x1:{active:!0,availableOn:["banner","banner2","banner3","banner4","billboard","billboard2","billboard3","topmobile","topmobile2","topmobile3","topmobile4"],useOriginalSizeEverywhere:!0,ident:"f4x1",minHeight:75,maxHeight:450,minWidth:300,maxWidth:1800,dfpSizes:[[40,10]],useTemplate:"FlexAds",meetricsFormatCode:"FlexAd4x1"},flex6x1:{active:!0,availableOn:["topmobile","topmobile2","topmobile3","topmobile4"],useOriginalSizeEverywhere:!0,ident:"f6x1",minHeight:50,maxHeight:300,minWidth:300,maxWidth:1800,dfpSizes:[[60,10]],useTemplate:"FlexAds",meetricsFormatCode:"FlexAd6x1"},flex8x1:{active:!0,availableOn:["banner","banner2","banner3","banner4","billboard","billboard2","billboard3"],useOriginalSizeEverywhere:!0,ident:"f8x1",minHeight:75,maxHeight:150,minWidth:600,maxWidth:1200,dfpSizes:[[80,10]],useTemplate:"FlexAds",meetricsFormatCode:"FlexAd8x1"},flex9x16:{active:!0,availableOn:["topmobile2"],useOriginalSizeEverywhere:!0,dfpSizes:[[90,160]],ident:"f9x16",minHeight:540,maxHeight:800,minWidth:300,maxWidth:450,useTemplate:"FlexAds",meetricsFormatCode:"FlexAd9x16"},flex10x1:{active:!0,availableOn:["banner2","banner3","banner4","billboard2","billboard3"],useOriginalSizeEverywhere:!0,dfpSizes:[[100,10]],ident:"f10x1",minHeight:90,maxHeight:180,minWidth:900,maxWidth:1800,useTemplate:"FlexAds",meetricsFormatCode:"FlexAd10x1"},wallpaper:{active:!0,ident:"wp",availableOn:["banner"],dfpSizes:[[848,90]],blockedPositions:["sky"],blockedZones:["_nowp"],useTemplate:"Wallpaper",meetricsFormatCode:"Wallpaper"},fireplace:{active:!0,ident:"firepl",availableOn:["banner"],dfpSizes:[[968,90]],blockedPositions:["sky"],blockedZones:["_nowp"],useTemplate:"Fireplace",meetricsFormatCode:"Fireplace"},sitebar:{active:!0,ident:"ds",availableOn:["sky"],dfpSizes:[[500,600]],useTemplate:"Sitebar"},billboard:{active:!0,ident:"bb",availableOn:["banner","billboard"],countSizesUp:!0,dfpSizes:[[770,250],[800,250],[970,250]],useTemplate:"Billboard",meetricsFormatCode:"Billboard"},stickybillboard:{active:!0,ident:"stbb",dfpSizes:[[1100,250]],connectedTo:"billboard",useTemplate:"StickyBillboard",meetricsFormatCode:"StickyBillboard"},nativead:{active:!1,ident:"na",availableOn:["teaser"],dfpSizes:[[300,200]],meetricsFormatCode:"NativeAd"},mobilenativead:{active:!1,ident:"mna",availableOn:["mobile_teaser"],dfpSizes:[[300,200]],meetricsFormatCode:"MobileNativeAd"},tickeraddisplay:{ident:"tickerad",active:!0,availableOn:["out_of_page"],dfpSizes:[[1,1]],useTemplate:"TickerAdDisplay"},mobilestickyad:{active:!0,ident:"stick",availableOn:["topmobile5","sticky","stickyfooter"],dfpSizes:[[320,50]],useTemplate:"MobileStickyAd"},doubledynamicsitebar:{active:!0,ident:"dds",availableOn:["sky"],blockedPositions:["billboard","banner","out_of_page"],dfpSizes:[[500,600]],useTemplate:"DoubleDynamicSitebar"},mediumrectangle:{active:!0,ident:"mrec",countSizesUp:!0,countFirstSizeUp:!0,availableOn:["rectangle","rectangle2","rectangle3","rectangle4","rectangle5","rectangle6","rectangle7","rectangle8","rectangle9"],dfpSizes:[[300,250]],meetricsFormatCode:"MediumRectangle"},omsrectangle:{active:!1,ident:"omsmrec",availableOn:["rectangle2"],dfpSizes:[[300,300]],meetricsFormatCode:"OMS_MediumRectangle"},qualityfooter:{active:!0,ident:"pubperf",availableOn:["pubperform"],dfpSizes:[[970,255]],meetricsFormatCode:"QualityFooter"},fullbanner:{active:!1,ident:"fullb",availableOn:["topmobile","topmobile2","topmobile3","topmobile4","topmobile5"],dfpSizes:[[468,60]],meetricsFormatCode:"Fullbanner"},leaderboard:{active:!0,ident:"leadb",countSizesUp:!0,availableOn:["banner","banner2","banner3","banner4","banner5"],dfpSizes:[[728,90]],meetricsFormatCode:"Leaderboard"},mobileleaderboard:{active:!1,ident:"mleadb",availableOn:["topmobile","topmobile2","topmobile3","topmobile4","topmobile5","topmobile6","topmobile7","topmobile8"],dfpSizes:[[728,90]],meetricsFormatCode:"MobileLeaderboard"},doubleleaderboard:{active:!1,ident:"dleadb",countSizesUp:!0,availableOn:["banner","banner2","banner3","banner4","banner5"],dfpSizes:[[728,180]],meetricsFormatCode:"DoubleLeaderboard"},skyscraper:{active:!0,ident:"sky",countSizesUp:!0,availableOn:["sky","sky2"],dfpSizes:[[120,600],[160,600],[200,600]],meetricsFormatCode:"Skyscraper"},halfpagead:{active:!0,ident:"hpad",availableOn:["sky","hpa"],dfpSizes:[[300,600]],meetricsFormatCode:"HalfpageAd"},banderole:{active:!0,ident:"band",availableOn:["sky"],dfpSizes:[[770,200]],meetricsFormatCode:"Banderole"},posterad:{active:!0,ident:"ptad",availableOn:["posterad"],dfpSizes:[[800,450]],useTemplate:"PosterAd",meetricsFormatCode:"PosterAd"},mobileposterad:{active:!0,ident:"mptad",availableOn:["topmobile2"],dfpSizes:[[300,252]],useTemplate:"PosterAd"},maxiad:{active:!0,ident:"maxi",availableOn:["lrec"],dfpSizes:[[640,480]],useTemplate:"MaxiAd",meetricsFormatCode:"MaxiAd"},mobilepresenter6x1:{active:!0,ident:"mpres6x1",availableOn:["topmobile"],dfpSizes:[[320,50]],useTemplate:"PresenterMobileBanner",meetricsFormatCode:"Mobile_PresenterAd_6-1"},mobilepresenter4x1:{active:!0,ident:"mpres4x1",availableOn:["topmobile"],dfpSizes:[[320,75]],useTemplate:"PresenterMobileBanner",meetricsFormatCode:"Mobile_PresenterAd_4-1"},mobilepresenter3x1:{active:!0,ident:"mpres3x1",availableOn:["topmobile"],dfpSizes:[[320,100]],useTemplate:"PresenterMobileBanner",meetricsFormatCode:"Mobile_PresenterAd_3-1"},mobilepresenter2x1:{active:!0,ident:"mpres2x1",availableOn:["topmobile"],dfpSizes:[[320,150]],useTemplate:"PresenterMobileBanner",meetricsFormatCode:"Mobile_PresenterAd_2-1"},mobilepresentermrec:{active:!0,ident:"mpresrec",availableOn:["topmobile"],dfpSizes:[[320,51]],useTemplate:"PresenterMobileBanner",meetricsFormatCode:"Mobile_PresenterAd_Rectangle"},mobilemrec:{active:!0,ident:"mmrec",availableOn:["topmobile2","topmobile3","topmobile4","topmobile5","topmobile6","topmobile7","topmobile8","galleryad","galleryad2","galleryad3","galleryad4","galleryad5"],dfpSizes:[[300,250]],meetricsFormatCode:"Mobile_MediumRectangle"},mobilehalfpagead:{active:!1,ident:"mhpad",availableOn:["topmobile2"],dfpSizes:[[300,600]],meetricsFormatCode:"Mobile_HalfpageAd"},mobilesitebar:{active:!1,ident:"mds",availableOn:["topmobile"],dfpSizes:[[400,50]],useTemplate:"MobileSitebar",meetricsFormatCode:"Mobile_Sitebar"},mobileexpandablestickyfooter:{active:!0,ident:"mesf",availableOn:["topmobile5","sticky","stickyfooter"],dfpSizes:[[320,52]],useTemplate:"MobileExpandableStickyFooter",meetricsFormatCode:"Mobile_Expandable_StickyFooter"},mobilead6x1:{active:!0,ident:"moad6x1",availableOn:["topmobile","topmobile2","topmobile3","topmobile4","topmobile5","topmobile6","topmobile7","topmobile8","galleryad","galleryad2","galleryad3","galleryad4","galleryad5","footerad","sticky","stickyfooter"],dfpSizes:[[320,50]],meetricsFormatCode:"MobileAd_6-1"},mobilead4x1:{active:!0,ident:"moad4x1",availableOn:["topmobile","topmobile2","topmobile3","topmobile4","topmobile5","topmobile6","topmobile7","topmobile8","galleryad","galleryad2","galleryad3","galleryad4","galleryad5"],dfpSizes:[[320,75]],meetricsFormatCode:"MobileAd_4-1"},mobilead3x1:{active:!0,ident:"moad3x1",availableOn:["topmobile","topmobile2","topmobile3","topmobile4","topmobile5","topmobile6","topmobile7","topmobile8","galleryad","galleryad2","galleryad3","galleryad4","galleryad5"],dfpSizes:[[320,100]],meetricsFormatCode:"MobileAd_3-1"},mobilead2x1:{active:!0,ident:"moad2x1",availableOn:["topmobile","topmobile2","topmobile3","topmobile4","topmobile5","topmobile6","topmobile7","topmobile8","galleryad","galleryad2","galleryad3","galleryad4","galleryad5"],dfpSizes:[[320,150]],meetricsFormatCode:"MobileAd_2-1"},mobiledockerad:{active:!0,ident:"mdcka",availableOn:["topmobile2"],dfpSizes:[[320,152]],useTemplate:"MobileDockerAd",meetricsFormatCode:"MobileDockerAd"},cubead:{active:!0,ident:"cube",availableOn:["topmobile"],meetricsFormatCode:"Mobile_CubeAd"},stickycompanionad:{active:!0,ident:"msca",availableOn:["topmobile5","sticky","stickyfooter"],dfpSizes:[[320,52]],useTemplate:"StickyCompanionAd",meetricsFormatCode:"StickyCompanionAd"},largeinline:{active:!0,ident:"lainl",availableOn:["topmobile2"],dfpSizes:[[320,480]],meetricsFormatCode:"MobileLargeInline"},videowall:{active:!0,ident:"vidwa",connectedTo:"wallpaper",meetricsFormatCode:"VideoWall"},intextspot:{active:!0,ident:"intxspt",connectedTo:"posterad",meetricsFormatCode:"InTextSpot"},mobileintextspot:{active:!0,ident:"intxspt",connectedTo:"mobileposterad",meetricsFormatCode:"InTextSpot"},brandbooster:{active:!0,ident:"brbo",connectedTo:"wallpaper",dfpSizes:[[1280,250]],blockedPositions:["sky"],useTemplate:"BrandBooster",meetricsFormatCode:"BrandBooster"},mobilebrandbooster:{active:!0,ident:"mbrbo",availableOn:["topmobile"],dfpSizes:[[320,48]],blockedPositions:["topmobile2","topmobile5"],useTemplate:"MobileBrandBooster",meetricsFormatCode:"MobileBrandBooster"},directionad:{active:!0,ident:"da",availableOn:["banner"],dfpSizes:[[1400,250]],blockedPositions:["sky"],useTemplate:"DirectionAd",meetricsFormatCode:"DirectionAd"},mobiledirectionad:{active:!1,ident:"mda",availableOn:["topmobile"],dfpSizes:[[323,100]],blockedPositions:["topmobile2","topmobile5","sticky","stickyfooter"],useTemplate:"MobileDirectionAd",meetricsFormatCode:"MobileDirectionAd"},fullframead:{active:!0,ident:"ffa",connectedTo:"wallpaper",blockedPositions:["sky"],useTemplate:"FullFrameAd",meetricsFormatCode:"FullFrameAd"},flagad:{active:!0,ident:"fla",connectedTo:"wallpaper",blockedPositions:["sky"],useTemplate:"unknown"},floorad:{active:!0,ident:"floor",availableOn:["out_of_page"],useTemplate:"FloorAd",meetricsFormatCode:"FloorAd"},videotakeover:{active:!0,ident:"vto",dfpSizes:[[1e3,250]],connectedTo:"wallpaper",useTemplate:"Videotakeover",meetricsFormatCode:"Videotakeover",blockedPositions:["sky"]}},modules:[{TTRACKER:{active:!1,timeOutTime:5e3,functionName:"TimeTracker"}},{POSTSCRIBE:{active:!0,functionName:"Postscribe"}},{ADSLOT_CONTROLLER:{active:!0,functionName:"AdSlotController.QueueController"}},{PUBLISHER_CONFIG:{active:!0,functionName:"PublisherSetup"}},{CONSENTMANAGER:{active:!0,externalConsent:!0,spAccountId:375,spBaseEndpoint:"https://cdn.privacy-mgmt.com",spControllerUrl:"https://cdn.privacy-mgmt.com/wrapperMessagingWithoutDetection.js",spControllerFile:"wrapperMessagingWithoutDetection.js",externalCMP:!1,nonIABCMP:!1,activateURIEncoding:!1,functionName:"ConsentFramework20"}},{INFOTOOL:{active:!0,functionName:"InfoTool"}},{FORMAT_CONFIG:{active:!0,functionName:"FormatController.Controller"}},{GENERIC_TARGETING:{active:!0,delayScriptCallUntilConsent:!1,functionName:"StandardTargets"}},{ADSERVER_CONTROLLER:{active:!0,functionName:"AdServerController"}},{PREBID:{active:!0,functionName:"Yieldlove",loadPattern:"atOnce",usePostscribe:!1,useCrossOrigin:!1,insertionQuery:"head",criticalModule:!0,waitForZoneSetting:!1,waitForPageTypeSetting:!1,timeout:"700",zonesUsingSpecialId:[],specialIdAppendum:"",waitForReponse:!0,reloadOnVisibility:!0,useCDNSwitch:!1,useStroeerCDN:!1,delayScriptCallUntilConsent:!1,baseURL:"https://cdn.stroeerdigitalgroup.de/metatag/bidderScripts/",yieldloveSiteId:"rallye-magazin.de",consentRequired:!1}},{MEETRICS:{active:!0,functionName:"MeetricsSdg",networkId:"679600",collectKeyValues:!1,url:"//s400.mxcdn.net/bb-mx/serve/mtrcs_679600.js",iabVendorId:152,consentRequired:!1,waitForTcMeta:!0}},{MBR_USER_ID:{active:!0,functionName:"mbrId",loadPattern:"atOnce",usePostscribe:!1,useCrossOrigin:!1,insertionQuery:"head",url:"https://tracking.m6r.eu/sync/dmp?gdprFallback=referer",iabVendorId:137,consentRequired:!0,legalBase:"linterest",waitForTcData:!0}},{NETID:{active:!1,functionName:"NetID",consentRequired:!1,waitForTcData:!0}},{AUDIENCEPIXEL:{active:!0,customerID:"osds",iabVendorId:394,timeoutTime:2e3,consentRequired:!0,legalBase:"linterest",functionName:"AudienceProjectPixel"}}],features:{contentContainerQuery:"div.container",contentWidthModifier:"0",contentTopModifier:"0",contentLeftModifier:"0",alternativeContentLoadIndicator:"rectangle",adhesionUnitQuery:"",adhesionUnitGap:"0",allowStickies:!0,allowBackgroundColor:!0,allowClickableBackground:!0,allowClickableTopBackground:!0,stickyStop:!1,stickyStopUnitQuery:"div#default"},targeting:{common:{collectBrowserData:!0,collectFlashVersion:!1,collectMetaKeys:!0,collectPageImpressions:!1,detectAdBlockPlus:!1,detectGoogleReferrer:!1},adscale:{active:!0,targetingType:"pixel",loadPattern:"metaTagSystemWindowLoadComplete",usePostscribe:!1,useCrossOrigin:!1,insertionQuery:"head",url:"//js.adscale.de/map.js",pixelMedia:"script",iabVendorId:136,oncePerSession:!1,consentRequired:!0,legalBase:"consent",waitForTcMeta:!0},xaxisLearn:{active:!0,targetingType:"pixel",loadPattern:"metaTagSystemWindowLoadComplete",usePostscribe:!1,useCrossOrigin:!1,insertionQuery:"head",url:"//de-gmtdmp.mookie1.com/t/v2/learn?tagid=V2_343&gdpr=#{GDPR}&gdpr_consent=#{GDPR_CONSENT}&src.rand=#{TIMESTAMP}&src.id=Stroeer",pixelMedia:"img",iabVendorId:98,oncePerSession:!1,consentRequired:!0,legalBase:"consent",waitForTcMeta:!0},theAdex:{active:!0,loadPattern:"metaTagSystemWindowLoadComplete",targetingType:"pixel",usePostscribe:!1,useCrossOrigin:!1,insertionQuery:"head",url:"//dmp.theadex.com/d/285/5184/s/adex.js?ts=#{TIMESTAMP}",pixelMedia:"script",iabVendorId:44,oncePerSession:!1,consentRequired:!0,legalBase:"linterest"},ibbmap:{active:!0,targetingType:"pixel",loadPattern:"metaTagSystemWindowLoadComplete",usePostscribe:!1,useCrossOrigin:!1,insertionQuery:"head",url:"//bbcdn-bbnaut.ibillboard.com/library/ibb_map.js",pixelMedia:"script",iabVendorId:428,oncePerSession:!1,consentRequired:!0,legalBase:"consent"},postCookie:{active:!0,targetingType:"pixel",loadPattern:"metaTagSystemWindowLoadComplete",usePostscribe:!1,useCrossOrigin:!1,insertionQuery:"head",url:"https://c1.adform.net/serving/cookie/match?party=1233",pixelMedia:"img",iabVendorId:735,oncePerSession:!0,consentRequired:!0,legalBase:"consent",waitForTcData:!0}},positions:{banner:{width:"728",height:"90",dfpSizes:[[31,31]],showAdvertLabel:!0,collectVisibilityValues:!0,canReloadOnVisibility:!0,rtaAuction:!0,kvPreset:{af:["ds","bri","dds"]}},kombitag_test:{width:"728",height:"90",dfpSizes:[[728,90],[728,180],[770,250],[800,250],[970,250]],showAdvertLabel:!0},banner2:{width:"728",height:"90",dfpSizes:[[31,32]],showAdvertLabel:!0,collectVisibilityValues:!0},banner3:{width:"728",height:"90",dfpSizes:[[31,33]],showAdvertLabel:!0,collectVisibilityValues:!0},banner4:{width:"728",height:"90",dfpSizes:[[31,34]],showAdvertLabel:!0,collectVisibilityValues:!0},banner5:{width:"728",height:"90",dfpSizes:[[31,35]],showAdvertLabel:!0,collectVisibilityValues:!0},billboard:{width:"770",height:"250",dfpSizes:[[32,31]],showAdvertLabel:!0,collectVisibilityValues:!0,rtaAuction:!0,kvPreset:{af:["ds","bri","vto","dds"]}},billboard2:{width:"770",height:"250",dfpSizes:[[32,32]],showAdvertLabel:!0,collectVisibilityValues:!0},billboard3:{width:"770",height:"250",dfpSizes:[[32,33]],showAdvertLabel:!0,collectVisibilityValues:!0},billboard4:{width:"770",height:"250",dfpSizes:[[32,34]],showAdvertLabel:!0,collectVisibilityValues:!0},button:{width:"162",height:"98",dfpSizes:[[162,98]],showAdvertLabel:!0},fullpagead:{width:"950",height:"600",dfpSizes:[[950,600]],showAdvertLabel:!0},halfpage:{positionOverwrite:"hpa"},listbreaker1:{positionOverwrite:"banner2"},listbreaker2:{positionOverwrite:"banner3"},listbreaker3:{positionOverwrite:"banner4"},maxiad:{width:"800",height:"600",dfpSizes:[[800,600],[640,480]],showAdvertLabel:!0},galleryad:{width:"320",height:"50",dfpSizes:[[320,255],[300,255]],dfpZonePostfix:"_gallery",isMobileSlot:!0,showAdvertLabel:!0,rtaAuction:!0},galleryad2:{width:"320",height:"50",dfpSizes:[[320,258],[300,258]],dfpZonePostfix:"_gallery2",isMobileSlot:!0,showAdvertLabel:!0,rtaAuction:!0},galleryad3:{width:"320",height:"50",dfpSizes:[[320,259],[300,259]],dfpZonePostfix:"_gallery3",isMobileSlot:!0,showAdvertLabel:!0,rtaAuction:!0},galleryad4:{width:"320",height:"50",dfpSizes:[[320,260],[300,260]],dfpZonePostfix:"_gallery4",isMobileSlot:!0,showAdvertLabel:!0,rtaAuction:!0},galleryad5:{width:"320",height:"50",dfpSizes:[[320,261],[300,261]],dfpZonePostfix:"_gallery5",isMobileSlot:!0,showAdvertLabel:!0,rtaAuction:!0},footerad:{width:"320",height:"50",dfpSizes:[[320,262],[41,31]],dfpZonePostfix:"_footer",isMobileSlot:!0,showAdvertLabel:!0},interstitial:{width:"320",height:"480",dfpSizes:[[320,480],[40,31]],dfpZonePostfix:"_int",isMobileSlot:!0,showAdvertLabel:!0},"out-of-page":{positionOverwrite:"out_of_page"},out_of_page:{width:"1",height:"1",dfpSizes:[[2,2]],dfpTagType:"outOfPageGpt",showAdvertLabel:!1,blockLoadingSpin:!0,kvPreset:{af:["ds","dds"]}},posterad:{width:"800",height:"450",dfpSizes:[[580,500],[580,360],[480,360],[42,31]],showAdvertLabel:!0,collectVisibilityValues:!0},rectangle:{width:"300",height:"250",dfpSizes:[[34,31]],showAdvertLabel:!0,collectVisibilityValues:!0,canReloadOnVisibility:!0,makeSticky:!1,rtaAuction:!0},rectangle_2:{positionOverwrite:"rectangle2"},rectangle_3:{positionOverwrite:"rectangle3"},rectangle_4:{positionOverwrite:"rectangle4"},rectangle_5:{positionOverwrite:"rectangle5"},rectangle_6:{positionOverwrite:"rectangle6"},rectangle_7:{positionOverwrite:"rectangle7"},rectangle2:{width:"300",height:"250",dfpSizes:[[34,32]],showAdvertLabel:!0,collectVisibilityValues:!0,rtaAuction:!0},rectangle3:{width:"300",height:"250",dfpSizes:[[34,33]],showAdvertLabel:!0,collectVisibilityValues:!0},rectangle4:{width:"300",height:"250",dfpSizes:[[34,34]],showAdvertLabel:!0,collectVisibilityValues:!0},rectangle5:{width:"300",height:"250",dfpSizes:[[34,35]],showAdvertLabel:!0},rectangle6:{width:"300",height:"250",dfpSizes:[[34,36]],showAdvertLabel:!0},rectangle7:{width:"300",height:"250",dfpSizes:[[34,37]],showAdvertLabel:!0},rectangle8:{width:"300",height:"250",dfpSizes:[[34,38]],showAdvertLabel:!0},rectangle9:{width:"300",height:"250",dfpSizes:[[34,39]],showAdvertLabel:!0},pubperform:{width:"970",height:"250",lazyLoad:!1,dfpSizes:[[36,31]],showAdvertLabel:!0},videobrand:{width:"1",height:"1",dfpSizes:[[3,3]],showAdvertLabel:!1},mobile_videobrand:{width:"1",height:"1",dfpSizes:[[3,3]],showAdvertLabel:!1,isMobileSlot:!0},sky:{width:"120",height:"600",dfpSizes:[[33,31]],showAdvertLabel:!0,makeSticky:!0,keepWidthFluid:!0,blockStrictSticky:!0,collectFreeSpace:!0,useAdhesionUnit:!0,collectVisibilityValues:!0,canReloadOnVisibility:!0,blockLoadingSpin:!0,centerAds:!1,rtaAuction:!0,kvPreset:{af:["firepl","wp","vidwa","bri","brbo","vto","ffa"]}},sky2:{width:"120",height:"600",dfpSizes:[[120,601],[300,599],[160,601],[33,32]],showAdvertLabel:!0},sky3:{width:"120",height:"600",dfpSizes:[[120,602],[300,599],[160,602],[33,33]],showAdvertLabel:!0},sky_2:{positionOverwrite:"sky2"},sky_3:{positionOverwrite:"sky3"},slidead:{width:"300",height:"250",dfpSizes:[[300,200],[302,250]],showAdvertLabel:!0},topmobile:{width:"320",height:"50",dfpSizes:[[320,51],[320,151],[37,31]],dfpZonePostfix:"_b1",isMobileSlot:!0,showAdvertLabel:!0,collectVisibilityValues:!0,canReloadOnVisibility:!0,rtaAuction:!0},topmobile2:{width:"320",height:"50",dfpSizes:[[300,252],[320,252],[37,32]],dfpZonePostfix:"_b2",isMobileSlot:!0,showAdvertLabel:!0,kvPreset:{flag:["inint"],af:["mbrbo"]},collectVisibilityValues:!0,canReloadOnVisibility:!0,rtaAuction:!0},topmobile3:{width:"320",height:"50",dfpSizes:[[300,253],[320,253],[37,33]],dfpZonePostfix:"_b3",isMobileSlot:!0,showAdvertLabel:!0,canReloadOnVisibility:!0,collectVisibilityValues:!0,rtaAuction:!0},topmobile4:{width:"320",height:"50",dfpSizes:[[300,254],[320,254],[37,34]],dfpZonePostfix:"_b4",isMobileSlot:!0,showAdvertLabel:!0,canReloadOnVisibility:!0,collectVisibilityValues:!0,rtaAuction:!0},topmobile5:{width:"320",height:"50",dfpSizes:[[300,256],[320,256],[37,35]],dfpZonePostfix:"_b5",isMobileSlot:!0,showAdvertLabel:!0,collectVisibilityValues:!0,rtaAuction:!0,kvPreset:{af:["mbrbo"]}},topmobile6:{width:"320",height:"50",dfpSizes:[[300,257],[320,257],[37,36]],dfpZonePostfix:"_b6",isMobileSlot:!0,showAdvertLabel:!0,collectVisibilityValues:!0,rtaAuction:!0},topmobile7:{width:"320",height:"50",dfpSizes:[[300,258],[320,258],[37,37]],dfpZonePostfix:"_b7",isMobileSlot:!0,showAdvertLabel:!0,collectVisibilityValues:!0,rtaAuction:!0},topmobile8:{width:"320",height:"50",dfpSizes:[[300,259],[320,259],[37,38]],dfpZonePostfix:"_b8",isMobileSlot:!0,collectVisibilityValues:!0,showAdvertLabel:!0,rtaAuction:!0},teaser:{width:"300",height:"150",dfpSizes:[[38,31]],showAdvertLabel:!0},teaser1:{width:"300",height:"150",dfpSizes:[[38,31]],showAdvertLabel:!0},teaser2:{width:"100",height:"60",dfpSizes:[[38,32]],showAdvertLabel:!0},teaser3:{width:"350",height:"30",dfpSizes:[[38,33]],showAdvertLabel:!0},teaser4:{width:"103",height:"60",dfpSizes:[[38,34]],showAdvertLabel:!0},teaser5:{width:"400",height:"20",dfpSizes:[[38,35]],showAdvertLabel:!0},teaser6:{width:"400",height:"20",dfpSizes:[[38,36]],showAdvertLabel:!0},teaser7:{width:"400",height:"20",dfpSizes:[[38,37]],showAdvertLabel:!0},mobile_teaser:{width:"444",height:"1",dfpZonePostfix:"_bTeaser",isMobileSlot:!0,dfpSizes:[[444,1],[39,31]],showAdvertLabel:!0},mobile_teaser2:{width:"444",height:"1",dfpZonePostfix:"_bTeaser_2",isMobileSlot:!0,dfpSizes:[[444,2],[39,32]],showAdvertLabel:!0},mobile_teaser3:{width:"444",height:"1",dfpZonePostfix:"_bTeaser_3",isMobileSlot:!0,dfpSizes:[[444,2],[39,33]],showAdvertLabel:!0},mobile_teaser4:{width:"444",height:"1",dfpZonePostfix:"_bTeaser_4",isMobileSlot:!0,dfpSizes:[[444,2],[39,34]],showAdvertLabel:!0},mobile_teaser5:{width:"444",height:"1",dfpZonePostfix:"_bTeaser_5",isMobileSlot:!0,dfpSizes:[[444,2],[39,35]],showAdvertLabel:!0},mobile_teaser6:{width:"444",height:"1",dfpZonePostfix:"_bTeaser_6",isMobileSlot:!0,dfpSizes:[[444,2],[39,36]],showAdvertLabel:!0},bb:{positionOverwrite:"billboard"},bb_pos2:{positionOverwrite:"billboard2"},bb_pos3:{positionOverwrite:"billboard3"},cb100:{height:"100",width:"300",dfpSizes:[[300,100]],showAdvertLabel:!0},cb275_pos1:{height:"275",width:"300",dfpSizes:[[300,275]],showAdvertLabel:!0},cb275_pos2:{height:"275",width:"300",dfpSizes:[[300,276]],showAdvertLabel:!0},cb75:{height:"75",width:"304",dfpSizes:[[304,75]],showAdvertLabel:!0},cbar50:{height:"50",width:"500",dfpSizes:[[500,50]],showAdvertLabel:!0},cbar90:{width:"940",height:"90",dfpSizes:[[940,90],[300,100]],showAdvertLabel:!0},cbmini_pos1:{height:"180",width:"610",dfpSizes:[[610,180]],showAdvertLabel:!0},cbmini_pos2:{height:"180",width:"610",dfpSizes:[[610,181]],showAdvertLabel:!0},cbmini_pos3:{height:"180",width:"610",dfpSizes:[[610,182]],showAdvertLabel:!0},cbmini_pos4:{height:"180",width:"610",dfpSizes:[[300,183]],showAdvertLabel:!0},cbr100:{height:"100",width:"300",dfpSizes:[[301,100]],showAdvertLabel:!0},cbr100_pos1:{height:"100",width:"300",dfpSizes:[[301,101],[301,100]],showAdvertLabel:!0},cbr100_pos2:{height:"100",width:"300",dfpSizes:[[301,102],[800,450],[580,500],[580,360],[480,360]],showAdvertLabel:!0},cbr200:{height:"200",width:"300",dfpSizes:[[300,200]],showAdvertLabel:!0},ft:{height:"90",width:"1018",dfpSizes:[[1018,90]],showAdvertLabel:!0},hpa:{height:"600",width:"300",dfpSizes:[[301,600],[301,601]],showAdvertLabel:!0},int:{positionOverwrite:"interstitial"},lrec:{width:"800",height:"600",dfpSizes:[[800,600],[45,31]],showAdvertLabel:!0},ma:{positionOverwrite:"topmobile2"},ma_bottom:{positionOverwrite:"topmobile4"},ma_middle:{positionOverwrite:"topmobile3"},ma_pos2:{positionOverwrite:"topmobile3"},ma_pos3:{positionOverwrite:"topmobile4"},md3:{width:"320",height:"50",dfpSizes:[[320,53]],dfpZonePostfix:"_md3",isMobileSlot:!0,showAdvertLabel:!0},momrec:{positionOverwrite:"topmobile2"},momrec_pos2:{positionOverwrite:"momrec"},momrec_pos3:{positionOverwrite:"topmobile3"},mrec:{positionOverwrite:"rectangle"},mrec_pos1:{positionOverwrite:"rectangle"},mrec_pos2:{positionOverwrite:"rectangle2"},mrec_pos3:{positionOverwrite:"rectangle3"},mrec_pos4:{positionOverwrite:"rectangle4"},mrec_pos5:{positionOverwrite:"rectangle5"},perf_cb200:{width:"336",height:"200",dfpSizes:[[337,200]],showAdvertLabel:!0},ph:{width:"962",height:"50",dfpSizes:[[962,50]],showAdvertLabel:!0},pop:{positionOverwrite:"out_of_page"},pres:{positionOverwrite:"topmobile"},prest:{height:"1",width:"5",dfpSizes:[[5,1]],dfpTagType:"outOfPageGpt",showAdvertLabel:!0},sb:{positionOverwrite:"banner"},sb_pos1:{positionOverwrite:"banner"},sb_pos2:{positionOverwrite:"banner2"},sticky:{width:"320",height:"50",dfpSizes:[[37,35]],isMobileSlot:!0,dfpZonePostfix:"_b5",showAdvertLabel:!0,collectVisibilityValues:!0,rtaAuction:!0},stickyfooter:{width:"320",height:"50",dfpSizes:[[50,31]],isMobileSlot:!0,dfpZonePostfix:"_stickyfooter",collectVisibilityValues:!0,canReloadOnVisibility:!0,blockLoadingSpin:!0,showAdvertLabel:!0,rtaAuction:!0},textlink:{height:"8",width:"8",dfpSizes:[[6,1]],showAdvertLabel:!0},tl:{positionOverwrite:"textlink"},tl_pos1:{positionOverwrite:"textlink"},transitionAd:{width:"300",height:"250",dfpSizes:[[336,280],[300,250]],dfpTagType:"interstitialGpt",dfpZonePostfix:"_int",isMobileSlot:!0,showAdvertLabel:!0}},videoPositions:{desktop:{test:{preroll:"a120b1d3-afd8-4676-8661-bd0d4d51761c",prepres:"",postpres:"",midroll:"",postroll:"",overlay:"",customKey:[]}},mew:{test:{preroll:"a120b1d3-afd8-4676-8661-bd0d4d51761c",prepres:"",postpres:"",midroll:"",postroll:"",overlay:"",customKey:[]}}},templates:{nativeBox:'<div class="Tmm Tltb Tts Tmc1 Tww1 Thh3 Tadblock"><div class="Ttsc Ttsv169"><a target="#{linktarget}" href="#{linkurl}"><h6>Anzeige&nbsp;</h6><h5>#{headline}</h5></a><div class="Ttsi"><a target="#{linktarget}" href="#{linkurl}"><img width="300" height="169" title="Werbung" src="#{imgsrc}" alt="Werbung" class="Tlz"><div class=""><i></i></div></a></div><p class="Ttst">#{maintext}<a target="#{linktarget}" href="#{linkurl}"> #{linktext}</a></p></div></div>',nativeTeaser:'<div class="Ttsc Ttsh100"><a href="#{linkurl}" target="#{linktarget}"><h6>Anzeige</h6><h5>#{headline}</h5></a><div class="Ttsi"><a href="#{linkurl}" target="#{linktarget}"><img width="100" height="100" src="#{imgsrc}"></a></div><p class="Ttst">#{maintext}<a href="#{linkurl}" target="#{linktarget}">#{linktext}</a></p></div>',nuggAdTemplate:"#{domain}/rc?nuggn=#{customerId}&nuggsid=#{siteId}&nuggtg=#{tags}&nuggrid=#{siteUrl}",stroeerSspTag:'<script type="text/javascript">adscale_slot_id="#{slotid}";adscale_abp = true;<\/script><script type="text/javascript" src="//js.adscale.de/getads.js"><\/script>',ibbVideoTag:"#{protocol}//video-adserver.ibillboard.com/getAd?tagid=#{tagID}&bust=#{misc}&ref=#{referrer}&key=#{keys}&gdpr=#{gdpr}&gdpr_consent=#{gdpr_consent}",stroeerCoreVideoTag:"#{protocol}//vh.adscale.de/vah?sid=#{tagID}&ref=#{referrer}&gdpr=#{gdpr}&gdpr_consent=#{gdpr_consent}&bust=#{misc}",loadingSpinner:'<div class="sdgSpinRect1"></div><div class="sdgSpinRect2"></div><div class="sdgSpinRect3"></div><div class="sdgSpinRect4"></div><div class="sdgSpinRect5"></div>'}}),window.getSDG=function(){return SDG},"object"==typeof localStorage&&"1"===localStorage.sdgDumpLogsToConsole&&t.sendCorsRequest("get",t.KERNEL.common.logTranslatorUrl,function(){e.LOGGER.MESSAGES=JSON.parse(this.responseText),e.LOGGER.MESSAGES_AVAILABLE=!0},function(){e.LOGGER.MESSAGES_AVAILABLE=!1},!1,"1"!==localStorage.sdgWaitForLogTranslator)}(e.prototype={modStore:function(){return this[SDG.CONFIG.SYSTEM.MODULESTORE]},core:function(){return this[SDG.CONFIG.SYSTEM.CORE]},getCore:function(){return this.core()},modConfig:function(){return"CONFIG.MODULES"},getRes:function(){return this.resources()},getSetup:function(){return this.CONFIG},getCN:function(){return this.core().get(SDG.CONFIG.MODULES.ADSLOT_CONTROLLER)},getPUB:function(){return this[SDG.CONFIG.SYSTEM.PUBLIC_API]},getConfig:function(){return SDG.core().get(SDG.CONFIG.MODULES.PUBLISHER_CONFIG)},getAdLib:function(){return this[SDG.CONFIG.SYSTEM.ADTEMPLATES]},getEventDispatcher:function(){return this[SDG.CONFIG.SYSTEM.EVENT_DISPATCHER]},getAdServer:function(){return this.core().get(SDG.CONFIG.MODULES.ADSERVER)},getFormatController:function(){return this.core().get(SDG.CONFIG.MODULES.FORMAT_CONFIG)},getVideoAdServer:function(){return this.core().get(SDG.CONFIG.MODULES.VIDEO)},getConsentManager:function(){return this.core().get(SDG.CONFIG.MODULES.CONSENTMANAGER)},getUtil:function(){return this[SDG.CONFIG.SYSTEM.UTILITY]},getLogger:function(){return this[SDG.CONFIG.SYSTEM.LOGGER]},getInfoTool:function(){return this.core().get(SDG.CONFIG.MODULES.INFOTOOL)},getTTracker:function(){return this.core().get(SDG.CONFIG.MODULES.TTRACKER)},getCookieLayer:function(){return this.core().get(SDG.CONFIG.MODULES.COOKIELAYER)},log:function(e,t,o){this.getLogger().saveLogEntry(e,t,o)},logDebug:function(e,t){this.log(e,"DEBUG",t)},logInfo:function(e,t){this.log(e,"INFO",t)},logNotice:function(e,t){this.log(e,"NOTICE",t)},logWarn:function(e,t){this.log(e,"WARNING",t)},logError:function(e,t){this.log(e,"ERROR",t)},logCrit:function(e,t){this.log(e,"CRITICAL",t)},logAlert:function(e,t){this.log(e,"ALERT",t)},logFatal:function(e,t){this.log(e,"EMERGENCY",t)},loglvl:function(e){return this.getLogger().getLogStringAsNumber(e)},buildAd:function(e,t){this.core().get(SDG.CONFIG.MODULES.FORMAT_CONFIG).buildAd(e,t)},addInfoToolReport:function(e){return this.core().get(SDG.CONFIG.MODULES.INFOTOOL).addInfoToolReport(e)},getPath:function(){return this.CONFIG.SYSTEM.MODULESTORE},sendCorsRequest:function(e,t,o,i,n,r){var a=this,s=new XMLHttpRequest,l=window.console&&"function"==typeof window.console.log;if(r=void 0===r||r,n=void 0!==n&&n,s.withCredentials=n,"withCredentials"in s)s.open(e,t,r);else{if("undefined"==typeof XDomainRequest)return void("undefined"!=typeof SDG&&a.log("SYSTEM: CORS not supported, canceling CORS request with url %o","DEBUG",[t]));(s=new XDomainRequest).open(e,t)}s.onload="function"==typeof o?o:function(){"undefined"!=typeof SDG&&a.log("SYSTEM: Response from CORS request to "+t,"DEBUG",s.responseText)},s.onerror="function"==typeof i?i:function(){l&&console.log("SDG: SYSTEM: CORS request with url %o returned an error.",[t])},"undefined"!=typeof SDG&&a.log("SYSTEM: Starting to load CORS resource: %o","DEBUG",[t]),s.send()},KernelClass:function(e){for(var t in e)e.hasOwnProperty(t)&&(e[t].constructor,Object,this[t]=e[t])}}).KernelClass.prototype={getPosition:function(e){var t=this.positions[e];return t||(SDG.logError("#!L1!#",e),"function"==typeof console.trace&&console.trace(),null)},getValueForPosition:function(e,t){return this.getPosition(e)?this.getPosition(e)[t]:null},setValueForPosition:function(e,t,o){var i=this.getPosition(e);return"string"==typeof o||"boolean"==typeof o||Array.isArray(o)?i[t]=o:(SDG.logError("#!L2!#"),"function"==typeof console.trace&&console.trace(),null)},getModule:function(t){var e=this.modules.filter(function(e){return e.hasOwnProperty(t)});return 0!==e.length?e[0][t]:{}},getValueForModule:function(e,t){var o=this.getModule(e);return!1===o.hasOwnProperty(t)?null:o[t]},setValueForModule:function(e,t,o){var i=this.getModule(e);return 0!==Object.keys(i).length&&(i[t]=o,!0)}},window.SDG=new e({PROTOCOLS:{HTTP:"http:",HTTPS:"https:"},MODULES:{PUBLISHER_CONFIG:"PublisherConfig",ADSERVER_CONTROLLER:"AdServerControl",ADSERVER:"AdServer",POSTSCRIBE:"postScribe",ADSLOT_CONTROLLER:"PlacementController",TAGMAN_CONVERTER:"TagManConverter",AD_LABELS:"AdLabels",GENERIC_TARGETING:"GenericTargets",FORMAT_CONFIG:"FormatController",TTRACKER:"timeTracker",INFOTOOL:"InfoTool",ADXPOSITIONS:"adxPosition",STICKYPLACEMENT:"stickySlot",CONSENTMANAGER:"Cmp",ADP:"audienceDiscoverPlattform",MEETRICS:"meetrics",NUGGAD_DMP:"nuggAdSegments",AUDIENCE_SCIENCE:"audienceScience",XAXISFOOTERBIDDER:"xaxisFooterBidder",OPENX:"openX",PREBID:"preBid",CRITEOONETAG:"criteoOneTag",NEUSTAR:"neustar",MBR_USER_ID:"mbrId",CRITEOBIDDER:"criteoBidder",VIDEO:"Video",PUBSTACK:"Pubstack",NETID:"NetID",COOKIELAYER:"CookieLayer",TRAFILLER:"Trafiller",AUDIENCEPIXEL:"AudienceProjectPixel"},SYSTEM:{CORE:"Core",ACTIVERESOURCES:"ResourcesContainer",UTILITY:"Utilities",EVENT_DISPATCHER:"EventDispatcher",LOGGER:"Logger",PUBLISHER:"COnf?",ADTEMPLATES:"AdTemplates",MODULESTORE:"ModuleStore",PUBLIC_API:"Publisher",MODULES:"ModuleStore"},LOGGER:{MESSAGES_AVAILABLE:!1,LEVELS:{NOLOG:0,DEBUG:10,INFO:20,NOTICE:30,WARNING:40,ERROR:50,CRITICAL:60,ALERT:70,EMERGENCY:80},MESSAGES:{}},STATES:{WINDOW_LOAD_COMPLETE:!1,LOADED_ALL:!1,BEFORE_LOAD_ALL:!1,DOM_CONTENT_LOADED:!1,TCF_INTERFACE_AVAILABLE:!1,CACHED_CONSENT_AVAILABLE:!1,CMP_CHOICE_SELECTED:!1,FULL_CONSENT_DATA_AVAILABLE:!1,USE_CONSENT_DATA:!1,INFO_TOOL_LOADED:!1}})}(),SDG[SDG.CONFIG.SYSTEM.UTILITY]={_browserStore:{activeViewportCollector:!1,activeScrollCollector:!1,viewportWidth:null,viewportHeight:null,scrollPositionTop:null,scrollPositionLeft:null,lastComputedScrollTop:null,lastComputedScrollLeft:null,scrollComputationRequested:!1,windowWidth:window.innerWidth,windowHeight:window.innerHeight},_adhesionUnitStore:{isActive:""!==SDG.KERNEL.features.adhesionUnitQuery,node:null,height:0,gap:parseInt(SDG.KERNEL.features.adhesionUnitGap),isVisible:!1},getBrowserStore:function(){return this._browserStore},getKeyForElementFromObject:function(e,t){var o,i=!1;for(o in e)if(e[o]===t){i=o;break}return i},copyToClipboard:function(e){if(window.clipboardData&&window.clipboardData.setData)return window.clipboardData.setData("Text",e);if(document.queryCommandSupported&&document.queryCommandSupported("copy")){var t=document.createElement("textarea");t.textContent=e,t.style.position="fixed",document.body.appendChild(t),t.select();try{return document.execCommand("copy")}catch(e){return SDG.logDebug("#!L3!#"),!1}finally{document.body.removeChild(t)}}},isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},inArray:function(e,t){if(!this.isArray(e))throw"InvalidArgumentException: "+e+" is not an array.";return"indexOf"in Array.prototype||(Array.prototype.indexOf=function(e,t){void 0===t&&(t=0),t<0&&(t+=this.length),t<0&&(t=0);for(var o=this.length;t<o;t++)if(t in this&&this[t]===e)return t;return-1}),-1!==e.indexOf(t)},findArrayInArray:function(e,o){var i;if(!this.isArray(e))throw"InvalidArgumentException: "+e+" is not an array.";for(i=0;i<o.length;i++)if(o[i].length===e.length&&e.every(function(e,t){return e===o[i][t]}))return i;return-1},generateRandomNumberString:function(e){return e=parseFloat(e)||9,String(Math.random()).substring(2,e+2)},mergeTargetingsRecursive:function(e,t){var o;for(o in t)t[o].constructor===Object?(e[o]||(e[o]={}),e[o]=this.mergeTargetingsRecursive(e[o],t[o])):e[o]instanceof Array&&t[o]instanceof Array?e[o]=e[o].concat(t[o]):e[o]=t[o];return e},mergeRecursiveObjectsInArrays:function(t,e){var r=this;return e.forEach(function(n){n.constructor===Object&&Object.keys(n).forEach(function(o){var i=[],e={};n[o].constructor===Object&&(t.map(function(t){t.constructor===Object&&Object.keys(t).map(function(e){t[e].constructor===Object&&o===e&&(t[o]=r.mergeRecursive(t[e],n[o])),i.push(e)})}),-1===i.indexOf(o)&&(e[o]=n[o],t.push(e)))})}),t},mergeRecursive:function(e,t){var o;for(o in t)t[o].constructor===Object?(e[o]||(e[o]={}),e[o]=this.mergeRecursive(e[o],t[o])):e[o]=t[o];return e},getMetaContent:function(e){for(var t=document.getElementsByTagName("meta")?document.getElementsByTagName("meta"):"",o=0;o<t.length;o++)if(t[o].getAttribute("name")===e)return t[o].getAttribute("content")},convertStringToKeywords:function(e,t){var o;return void 0!==e&&(o=e.toLowerCase().replace(/,\s?/g,"+").replace(/\xe4/gi,"ae").replace(/\xfc/gi,"ue").replace(/\xf6/gi,"oe").replace(/ und /gi,"+").replace(/ /g,"_").split("+"),"number"==typeof t&&(o=o.slice(0,10)),o)},getKeysFromObject:Object.keys||function(e){var t,o=[];for(t in e)e.hasOwnProperty(t)&&o.push(t);return o},transferParamKeysToObject:function(e,t){var o,i,n;if("object"!=typeof t)return!1;for(o in t)if(t.hasOwnProperty(o))if(SDG.getUtil().isArray(t[o]))for(i=0,n=t[o].length;i<n;i++)e[o]||(e[o]=[]),-1===e[o].indexOf(t[o][i])&&e[o].push(t[o][i]);else e[o]||(e[o]=[]),-1===e[o].indexOf(t[o])&&e[o].push(t[o]);return!0},hasObjectKeys:function(e){for(var t in e)if(e.hasOwnProperty(t))return!0;return!1},removeLineBreaks:function(e){return e.replace(/([\r\n])/g,"")},addEventListener:function(e,t,o){return e.addEventListener?(e.addEventListener(t,o,!1),!0):!!e.attachEvent&&e.attachEvent("on"+t,o)},removeEventListener:function(e,t,o){return e.removeEventListener?(e.removeEventListener(t,o,!1),!0):!!e.detachEvent&&e.detachEvent("on"+t,o)},loadScript:function(t,e,o,i,n,r,a,s){var l,d=this.generateRandomNumberString(12);if("function"!=typeof r&&(r=function(){void 0===t?SDG.logNotice("#!L4!#"):SDG.logNotice("#!L5!#",[t])}),i=void 0!==i&&i,n=void 0!==n&&n,(s=void 0!==s&&s)&&(this.setContentPreload(t,"script",e),void 0===t?SDG.logNotice("#!L6!#"):SDG.logNotice("#!L7!#",[t])),(l=document.createElement("script")).type="text/javascript",l.src=t,l.id=d,l.async=void 0===a||a,!i)return l.onerror=r,l.readyState?l.onreadystatechange=function(){"loaded"!==l.readyState&&"complete"!==l.readyState||(l.onreadystatechange=null,SDG.logDebug("#!L10!#",[t]),"function"==typeof o&&o())}:l.onload=function(){SDG.logDebug("#!L11!#",[t]),"function"==typeof o&&o()},SDG.logDebug("#!L12!#",[t]),e.appendChild(l),l;l.dataset.usedPostscribe="true",n&&(l.crossOrigin="true");try{SDG.core().get(SDG.CONFIG.MODULES.POSTSCRIBE)&&SDG.core().get(SDG.CONFIG.MODULES.POSTSCRIBE).parse(function(){try{SDG.core().get(SDG.CONFIG.MODULES.POSTSCRIBE).postscribe(e,l.outerHTML,{done:o,error:r})}catch(e){SDG.log("#!L8!#","ERROR",[t,e])}})}catch(e){SDG.logError("#!L9!#",[t,e])}},loadImage:function(e){return(new Image).src=e,!0},getPos:function(e){if(void 0!==e.nodeType)return e.getBoundingClientRect();SDG.logDebug("#!L13!#",[e])},isVisible:function(e){var t=e.getClientRects();return 0!==t.length&&(0<=t[0].top&&0<=t[0].left&&t[0].bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t[0].right<=(window.innerWidth||document.documentElement.clientWidth))},updateAdhesionUnit:function(){var e=SDG.KERNEL.features,t=this._adhesionUnitStore;t.node=t.isActive?document.querySelector(e.adhesionUnitQuery):null,null!==t.node?(t.height=t.node.offsetHeight+t.node.offsetTop+t.gap,t.isVisible=this.isVisible(t.node)):(t.height=0,t.isVisible=!1)},getAdhesionUnit:function(){return this._adhesionUnitStore},checkForInSkinBlock:function(){return!(/^(?=.*(Safari))(?!.*(Chrome|CriOS)).*$/gim.test(navigator.userAgent)||/FBAV\//gim.test(navigator.userAgent)||/(?!.*OPR).(?=.*Safari)((Chrome|CriOS)[\/\s](\d{1,}([\.][\.A-Za-z0-9]{1,})))/gim.test(navigator.userAgent))},getNormalizedPositions:function(e){for(var t={left:0,top:0};e;)e.tagName,t.left+=e.offsetLeft+e.clientLeft,t.top+=e.offsetTop+e.clientTop,e=e.offsetParent;return t},addIframeToNode:function(e,t,o,i){var n=document.createElement("iframe");n.width=t,n.height=o,n.scrolling="no",n.frameBorder=0,n.marginHeight=0,void(n.marginWidth=0)!==i&&this.addContentToIframe(n,i,"load"),e.appendChild(n)},addContentToIframe:function(e,t,o){var i,n;i=t.match(/^<!Doctype/gi)?t:'<!DOCTYPE html><html><head><script type="text/javascript">var metaTagIframeParsed = true;<\/script></head><body style="margin:0">'+t+"</body></html>",SDG.getUtil().addEventListener(e,o,function(){void 0===e.contentWindow.metaTagIframeParsed&&("MSIE"===SDG.getUtil().getBrowserData().app&&9<=SDG.getUtil().getBrowserData().version?(e.src="about:blank",(n=e.contentWindow.document||e.contentDocument).open(),n.write(i),n.close()):(e.contentWindow.inhalt=i,e.src='javascript:window["inhalt"]'))})},addCssToHead:function(e){var t=document.createElement("style");t.type="text/css",t.rel="stylesheet",t.appendChild(document.createTextNode(e)),document.getElementsByTagName("head")[0].appendChild(t)},addCssToElement:function(e,t){var o=document.createElement("style");o.type="text/css",o.rel="stylesheet",o.appendChild(document.createTextNode(t)),e.appendChild(o)},sendCorsRequest:function(e,t,o,i,n,r){return SDG.sendCorsRequest(e,t,o,i,n,r)},getObjectDimensions:function(e){var t=[];return t.left=this.getPos(e).left,t.top=this.getPos(e).top,t.width=e.offsetWidth,t.height=e.offsetHeight,t},getCurrentUrl:function(e){var t=void 0!==e?e:1200;return document.location.href.slice(0,t)},getBrowserData:function(){var e,t=navigator.userAgent,o=t.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(o[1])?(e=/\brv[ :]+(\d+)/g.exec(t)||[],{app:"MSIE",version:parseFloat(e[1])||""}):"Chrome"===o[1]&&null!==(e=t.match(/\b(OPR|Edge)\/(\d+)/))?{app:e[1],version:parseFloat(e[2])||""}:(o=o[2]?[o[1],o[2]]:[navigator.appName,navigator.appVersion,"-?"],null!==(e=t.match(/version\/(\d+)/i))&&o.splice(1,1,e[1]),{app:o[0],version:parseFloat(o[1])})},getSystemData:function(){var e={};return e.path=window.top.location,e.system=window.navigator.appVersion,e.browserLanguage=window.navigator.language,e.browserInfo=this.getBrowserData(),e},checkOS:function(){var e=this.getSystemData().system,t={os:"unknown",isTablet:!1,isMobile:!1};if(0<e.length)return 0<window.navigator.maxTouchPoints&&-1!==e.search("Macintosh")&&(t.os="MacOS",t.isTablet=!0),-1!==e.search("Macintosh")&&(t.os="Macintosh",t.isMobile=!1),-1!==e.search("Android")&&(t.os="Android",t.isMobile=!0),-1!==e.search("iPhone")&&(t.os="iPhone",t.isMobile=!0),-1!==e.search("webOS")&&(t.os="webOS",t.isMobile=!0),-1!==e.search("blackberry")&&(t.os="RIM",t.isMobile=!0),-1!==e.search("Windows")&&(t.os="Windows",t.isMobile=!1),t},setCookie:function(e,t,o){var i=new Date;i.setTime(i.getTime()+24*o*60*60*1e3);var n="expires="+i.toUTCString();document.cookie=e+"="+t+"; "+n},getCookie:function(e){for(var t,o=e+"=",i=document.cookie.split(";"),n=0;n<i.length;n++){for(t=i[n];" "===t.charAt(0);)t=t.substring(1);if(0===t.indexOf(o))return t.substring(o.length,t.length)}return""},deleteCookie:function(e){document.cookie=e+"=;expires=Wed; 01 Jan 1970"},getScrollPositions:function(){var e={},t=this.getBrowserStore();return!0!==t.activeScrollCollector&&this.activateScrollCollection(),e.top=t.scrollPositionTop,e.left=t.scrollPositionLeft,e},activateScrollCollection:function(){var e=this;!0!==e.getBrowserStore().activeScrollCollector&&(e.getBrowserStore().activeScrollCollector=!0,e.updateScrollPositions(),window.addEventListener("scroll",e.requestScrollComputation.bind(e)),e.adhesionUnitUpdate=window.setInterval(e.updateAdhesionUnit.bind(e),250))},requestScrollComputation:function(){var e=this.getBrowserStore();!1===e.scrollComputationRequested&&(e.scrollComputationRequested=!0,window.requestAnimationFrame(this.updateScrollPositions.bind(this)))},updateScrollPositions:function(){var e=this.getBrowserStore();this.updateAdhesionUnit(),e.scrollPositionTop=self.pageYOffset||document.documentElement.scrollTop||(document.body?document.body.scrollTop:0),e.scrollPositionLeft=self.pageXOffset||document.documentElement.scrollLeft||(document.body?document.body.scrollLeft:0),this.processScrollFeatures()},processScrollFeatures:function(){SDG.getAdLib().featureController.iterateScrollFeatures(),SDG.getCN().processControllerScrollFeatures(),this.getBrowserStore().scrollComputationRequested=!1},getViewportDimensions:function(){var e={},t=this.getBrowserStore();return t.activeViewportCollector||this.activateViewportCollection(),this.updateViewportDimensions(),e.width=t.viewportWidth,e.height=t.viewportHeight,e},activateViewportCollection:function(){this.getBrowserStore().activeViewportCollector=!0,this.updateViewportDimensions(),this.processViewportFeatures(),window.addEventListener("resize",function(){window.requestAnimationFrame(function(){var e=SDG.getUtil();e.updateViewportDimensions(),e.processViewportFeatures()})})},updateViewportDimensions:function(){var e=this.getBrowserStore();e.viewportWidth=document.documentElement.clientWidth||window.innerWidth,e.viewportHeight=document.documentElement.clientHeight||window.innerHeight},processViewportFeatures:function(){SDG.getAdLib().featureController.iterateResizeFeatures()},createMutationObserver:function(e,t,o){var i=new MutationObserver(function(e){e.forEach(function(e){o(e)})});return i.observe(e,t),i},deleteAllNodesInObject:function(e){for(var t=e.childNodes,o=t.length-1;0!==t.length;o--)e.removeChild(t[o])},showUserNotification:function(e,t,o,i){var n=document.createElement("div");n.id=t,n.style.cssText="position:fixed;left:0px;z-index:999999999 !important;transition: opacity 1s; opacity: 0;background:#FFFFFF;font-family: arial, helvetica, freesans, sans-serif !important; line-height: 16px !important;font-size: 18px !important;font-weight: 200 !important;color: black !important;text-align: left !important;margin:5px;border-style: dashed;border-width: 1px; border-color: #ff5a10;border-radius: 10px;padding: 5px;",n.appendChild(document.createTextNode(e)),document.querySelector("body").insertBefore(n,document.querySelector("body").firstChild),n.style.opacity="1",window.setTimeout(function(){n.style.opacity="1"},100),window.setTimeout(function(){n.style.opacity="0"},o),window.setTimeout(function(){null!==document.getElementById(t)&&document.querySelector("body").removeChild(document.getElementById(t))},i)},setSessionStorageData:function(e,t){return!!this.browserStorageAvailable("sessionStorage")&&(window.sessionStorage[e]=t,!0)},getSessionStorageData:function(e){return!(!this.browserStorageAvailable("sessionStorage")||!window.sessionStorage.getItem(e))&&window.sessionStorage.getItem(e)},deleteSessionStorageData:function(e){return!(!this.browserStorageAvailable("sessionStorage")||!window.sessionStorage.getItem(e))&&(window.sessionStorage.removeItem(e),!0)},setLocalStorageData:function(e,t){return!!this.browserStorageAvailable("localStorage")&&(window.localStorage[e]=t,!0)},getLocalStorageData:function(e){return!(!this.browserStorageAvailable("localStorage")||!window.localStorage.getItem(e))&&window.localStorage.getItem(e)},deleteLocalStorageData:function(e){return!(!this.browserStorageAvailable("localStorage")||!window.localStorage.getItem(e))&&(window.localStorage.removeItem(e),!0)},browserStorageAvailable:function(t){var o=this.getBrowserStore();if(o.hasOwnProperty(t+"Available"))return o[t+"Available"];try{var e=window[t],i="__storage_test__";return e.setItem(i,i),e.removeItem(i),o[t+"Available"]=!0}catch(e){return o[t+"Available"]=!1}},hasVendorConsent:function(t,o,e){var i=this,n=SDG.KERNEL.userConsent.consentCache,r=void 0!==e&&e;t="number"==typeof t?t:0,!0===n.hasOwnProperty("gdprApplies")?!0===n.gdprApplies&&this.processCmpResponse(n,t,r,o):SDG.getConsentManager()?i.getVendorConsents(function(e){i.processCmpResponse(e,t,r,o)}):o(null)},getCustomVendorConsent:function(t){var e=SDG.KERNEL.userConsent.consentCacheNonIAB,o=!1;return void 0!==e.consentedVendors?0!==e.consentedVendors.length&&e.consentedVendors.forEach(function(e){e.name===t&&(o=!0)}):SDG.logDebug("#!L14!#"),o},getTcMetaData:function(){var e,t=SDG.KERNEL.userConsent.consentCache,o=SDG.KERNEL.userConsent.frameworkVersion;return"object"==typeof t?(1===o&&t.hasOwnProperty("metadata")&&(e=t.metadata),2===o&&t.hasOwnProperty("tcString")&&(e=t.tcString)):SDG.logDebug("#!L15!#"),e},setCustomVendorConsent:function(e,t){},processCmpResponse:function(e,t,o,i){var n=!0===o?"consents":"legitimateInterests";"object"==typeof e&&!0===e.hasOwnProperty("gdprApplies")?!1===e.gdprApplies||!0===e.vendor[n][t]||!0===e.vendor.consents[t]?i(!0):i(!1):(i(!1),console.trace("SDG: CMP: Consent object is invalid, consent was not processed and vendor request was rejected"))},findAdSlotInArray:function(e,t){for(var o=-1,i=0;i<=e.length;i++)if(e.hasOwnProperty(i)){var n=e[i];if("object"==typeof n&&n.getName()===t.getName()){o=i;break}}return o},getVendorConsents:function(t){"function"==typeof window.__tcfapi?window.__tcfapi("getTCData",2,function(e){t(e)}):SDG.logError("#!L16!#")},queryCmpStatus:function(t){var e=SDG.KERNEL.userConsent.frameworkVersion;2===e&&("function"==typeof window.__tcfapi?window.__tcfapi("ping",e,function(e){t(e)}):SDG.logError("#!L17!#"))},loadVideoAdServerModule:function(e){var t=e.vServerName;SDG.logDebug("#!L18!#",[e.functionName,t]),SDG.core().set(SDG.CONFIG.MODULES.VIDEO,function(){return new SDG[SDG.CONFIG.SYSTEM.MODULESTORE][e.functionName]}),SDG.getEventDispatcher().trigger("SDG_VIDEO_MODULE_LOADED")},createUUID:function(){var e=1e11;return(Math.floor(9e11*Math.random())+e).toString(16)+(Math.floor(9e11*Math.random())+e).toString(16)+this.toHex((Math.floor(1e4*Math.random())+1e4).toString().substring(1))+(Math.floor(9e11*Math.random())+e).toString(16)},toHex:function(e){for(var t="",o=0;o<e.length;o++)t+=""+e.charCodeAt(o).toString(16);return t},toggleModuleActive:function(o,i){SDG.KERNEL.modules.forEach(function(e){for(var t in e)t===o&&(e[o].active=i)})},toggleAdserverActive:function(o,i){SDG.CONFIG.JSON.adserver.forEach(function(e){for(var t in e)t===o&&(e[o].active=i)})},isModuleActive:function(o){var i=!1;return SDG.KERNEL.modules.forEach(function(e){for(var t in e)t===o&&(i=e[o].active)}),i},selectVideoAdServerToLoad:function(){var e,t=SDG.KERNEL.videoAdserver;for(var o in t)if(t.hasOwnProperty(o)&&t[o].active){e=t[o];break}void 0!==e?(SDG.logDebug("#!L19!#",e.vServerName),SDG.getUtil().loadVideoAdServerModule(e)):SDG.logCrit("#!L20!#")},Template:function(e){this._template=e||""},setContentPreload:function(e,t,o){var i=document.createElement("link"),n=this.generateRandomNumberString(12);i.rel="preload",i.href=e,i.as=t,"object"==typeof o?o.appendChild(i):document.head.appendChild(i),i.id=n},getBaseYLUrl:function(){this._cdnObj={};var e="https://cdn-a.yieldlove.com/yieldlove-bidder-stroeer.js?",t="yieldlove";return.5<=Math.random()&&null!==SDG.KERNEL.getValueForModule("PREBID","baseURL")&&(e=SDG.KERNEL.getValueForModule("PREBID","baseURL"),t="stroeer"),this._cdnObj.baseUrl=e,this._cdnObj.cdnName=t,this._cdnObj.baseUrl},getYLId:function(){return SDG.KERNEL.getValueForModule("PREBID","yieldloveSiteId")},getBaseUrl:function(){return SDG.KERNEL.getValueForModule("PREBID","baseURL")},getYLCDN:function(){return!(void 0===this._cdnObj||!this._cdnObj.cdnName)&&this._cdnObj.cdnName},mergeConfigs:function(e,t){var o;return e.constructor===Array?(o=[].concat(e),this.mergeRecursiveObjectsInArrays(o,t)):e.constructor===Object?(o=this.mergeRecursive({},e),this.mergeRecursive(o,t)):void 0},readyPublisherConfig:function(e){var t={};return e.global||(e.global={}),e.global.common||(e.global.common={}),e.global.videoAdserver||(e.global.videoAdserver={}),e.global.videoPositions||(e.global.videoPositions={}),e.global.adserver||(e.global.adserver={}),e.global.formats||(e.global.formats={}),e.global.features||(e.global.features={}),e.global.targeting||(e.global.targeting={}),e.global.positions||(e.global.positions={}),e.global.recommendationAds||(e.global.recommendationAds={}),e.website||(e.website={}),e.website.videoAdserver||(e.website.videoAdserver={}),e.website.videoPositions||(e.website.videoPositions={}),e.website.common||(e.website.common={}),e.website.userConsent||(e.website.userConsent={}),e.website.features||(e.website.features={}),e.website.targeting||(e.website.targeting={}),e.website.positions||(e.website.positions={}),e.website.modules||(e.website.modules=[]),e.website.templates||(e.website.templates={}),t.common=this.mergeConfigs(e.global.common,e.website.common),t.userConsent=this.mergeConfigs(e.global.userConsent,e.website.userConsent),t.adserver=this.mergeConfigs(e.global.adserver,e.website.adserver),t.formats=this.mergeConfigs(e.global.formats,e.website.formats),t.features=this.mergeConfigs(e.global.features,e.website.features),t.modules=this.mergeConfigs(e.global.modules,e.website.modules),t.positions=this.mergeConfigs(e.global.positions,e.website.positions),t.targeting=this.mergeConfigs(e.global.targeting,e.website.targeting),t.recommendations=this.mergeConfigs(e.global.recommendationAds,e.website.recommendationAds),t.templates=this.mergeConfigs(e.global.templates,e.website.templates),t.videoAdserver=this.mergeConfigs(e.global.videoAdserver,e.website.videoAdserver),t.videoPositions=this.mergeConfigs(e.global.videoPositions,e.website.videoPositions),t},getViewportBuckets:function(){return SDG.KERNEL.common.viewportBuckets},transformViewportBuckets:function(){var o,e=SDG.getUtil().getViewportBuckets();return e.forEach(function(t){"string"==typeof t.name&&"number"==typeof t.minWidth?(void 0!==o&&e.forEach(function(e){"string"==typeof e.name&&e.name===o&&(e.maxWidth=t.minWidth-1)}),o=t.name):SDG.logError("SYSTEM: setting a value for a viewport buckets is wrong. The type of bucket name should be an string, current value of name is "+t.name+" and type is "+typeof t.name+". The type of bucket minWidth should be an number, current value of minWidth is "+t.minWidth+" and type is "+typeof t.minWidth)}),e},initUtilities:function(){this.activateScrollCollection(),this.activateViewportCollection()}},SDG[SDG.CONFIG.SYSTEM.UTILITY].Template.prototype={render:function(o){var i=this;return o=o||{},this._template.replace(/#{([^{}]*)}/gi,function(e,t){return i.cleanPlaceholder(o[t])})},isValidPlaceholder:function(e){return SDG.getUtil().inArray(["string","number"],typeof e)},cleanPlaceholder:function(e){return this.isValidPlaceholder(e)||(e=""),String(e)}},SDG[SDG.CONFIG.SYSTEM.EVENT_DISPATCHER]={init:function(){var e=this,t=SDG.CONFIG.STATES;e.browserData=SDG.getUtil().getBrowserData(),document.addEventListener("DOMContentLoaded",function(){SDG.logDebug("#!L21!#"),t.DOM_CONTENT_LOADED=!0,SDG.getEventDispatcher().trigger("SDG_DOM_CONTENT_LOADED")}),"complete"!==document.readyState?window.addEventListener("load",function(){window.setTimeout(function(){SDG.getEventDispatcher().trigger("SDG_WINDOW_LOAD_COMPLETE")},30)}):window.setTimeout(function(){SDG.getEventDispatcher().trigger("SDG_WINDOW_LOAD_COMPLETE")},200),window.addEventListener("metaTagSystemWindowLoadComplete",function(){t.WINDOW_LOAD_COMPLETE=!0,SDG.logDebug("#!L22!#")}),document.addEventListener("readystatechange",function(){"complete"===document.readyState&&(SDG.logDebug("#!L23!#"),t.LOADED_ALL=!0,SDG.getEventDispatcher().trigger("SDG_LOADED_ALL",this))}),window.addEventListener("message",function(e){if("string"==typeof e.data){if(-1!==e.data.indexOf("SDG_METATAG_DISCOVER")&&e.source.postMessage("SDG_METATAG_FOUND","*"),-1!==e.data.indexOf("SDG_EMPTY_RESPONSE#")){var t=e.data.match(/SDG_EMPTY_RESPONSE#([a-z-_0-9]+)#/);1<t.length&&SDG.getCN().getPlacementByPosition(t[1]).reportDefaultDelivery()}if(-1!==e.data.indexOf("SDG_AD_DELIVERED#")){var o=e.data.match(/SDG_AD_DELIVERED#([a-z-_0-9]+)#size([0-9]+)x([0-9]+)/);4===o.length&&SDG.getCN().getPlacementByPosition(o[1]).reportAdDelivery(o[2],o[3])}}}),e.SDG_ADP_MODULE_LOADED=e.setup("metaTagSystemAdpModuleLoaded",{type:"system"}),e.SDG_CMP_INTERFACE_AVAILABLE=e.setup("metaTagSystemCmpInterfaceAvailable",{type:"system"}),e.SDG_CMP_CACHED_CONSENT_AVAILABLE=e.setup("metaTagSystemCmpCachedConsentAvailable",{type:"system"}),e.SDG_CMP_CHOICE_UI_SHOWN=e.setup("metaTagSystemCmpChoiceUiShown",{type:"system"}),e.SDG_CHOICE_SELECTED=e.setup("metaTagSystemChoiceSelected",{type:"system"}),e.SDG_CMP_CHOICE_SELECTED=e.setup("metaTagSystemCmpChoiceSelected",{type:"system"}),e.SDG_CMP_FULL_CONSENT_AVAILABLE=e.setup("metaTagSystemCmpConsentAvailable",{type:"system"}),e.SDG_DOM_CONTENT_LOADED=e.setup("metaTagSystemContentLoaded",{type:"system"}),e.SDG_BEFORE_LOAD_ALL=e.setup("metaTagSystemBeforeLoadAll",{type:"system"}),e.SDG_LOADED_ALL=e.setup("metaTagSystemLoadedAll",{type:"system"}),e.SDG_NEW_LOG_ENTRY=e.setup("metaTagSystemNewLogEntry",{type:"system"}),e.SDG_AD_SERVER_MODULE_LOADED=e.setup("metaTagSystemAdServerModuleLoaded",{type:"system"}),e.SDG_VIDEO_MODULE_LOADED=e.setup("metaTagSystemVideoModuleLoaded",{type:"system"}),e.SDG_RTB_MODULE_LOADED=e.setup("metaTagSystemRtbModuleLoaded",{type:"system"}),e.SDG_CONTENT_ELEMENT_LOADED=e.setup("metaTagSystemContentElementLoaded",{type:"system"}),e.SDG_POSTSCRIBE_RESOURCE_LOADED=e.setup("metaTagSystemPostscribeResourceLoaded",{type:"system"}),e.SDG_CRITICAL_MODULES_LOADED=e.setup("metaTagSystemCriticalModulesLoaded",{type:"system"}),e.SDG_PREBID_RESOURCE_LOADED=e.setup("metaTagSystemPrebidResourceLoaded",{type:"system"}),e.SDG_PREBID_RESPONDED=e.setup("metaTagSystemPrebidResponded",{type:"system"}),e.SDG_YIELDLOVE_AUCTION_DONE=e.setup("metaTagSystemYieldloveAuctionDone",{type:"system"}),e.SDG_ADBLOCKER_CHECK_COMPLETE=e.setup("metaTagSystemAdBlockerCheckComplete",{type:"system"}),e.SDG_ZONE_SET=e.setup("metaTagSystemZoneSet",{type:"system"}),e.SDG_PAGETYPE_SET=e.setup("metaTagSystemPageTypeSet",{type:"system"}),e.SDG_WINDOW_LOAD_COMPLETE=e.setup("metaTagSystemWindowLoadComplete",{type:"system"}),e.SDG_SLOTS_FINALIZED=e.setup("metaTagSystemSlotsFinalized",{type:"system"}),e.SDG_PERFORMANCE_READY=e.setup("metaTagSystemPerformanceReady",{type:"system"}),e.SDG_INFO_TOOL_LOADED=e.setup("metaTagSystemInfoToolLoaded",{type:"system"}),e.SDG_SP_VENDOR_CONSENT=e.setup("metaTagSystemSpVendorConsent",{type:"system"}),e.SDG_LOAD_WAIT_QUEUE_READY=e.setup("metaTagSystemLoadWaitQueueReady",{type:"system"}),e.SLOT_REGISTERED=e.setup("metaTagSlotRegistered",{type:"slot",slot:"",placement:""}),e.SLOT_QUEUED=e.setup("metaTagSlotQueue",{type:"slot",slot:"",placement:""}),e.SLOT_PREPARED=e.setup("metaTagSlotPrepared",{type:"slot",slot:"",placement:""}),e.SLOT_DELETED=e.setup("metaTagSlotDeleted",{type:"slot",slot:"",placement:""}),e.SLOT_CALLING=e.setup("metaTagSlotCalling",{type:"slot",slot:"",placement:""}),e.SLOT_RESPONDED=e.setup("metaTagSlotResponded",{type:"slot",slot:"",placement:""}),e.SLOT_RENDERED=e.setup("metaTagSlotRendered",{type:"slot",position:"",placement:""}),e.SLOT_DONE=e.setup("metaTagSlotDone",{type:"slot",slot:"",placement:""}),e.SLOT_EMPTY=e.setup("metaTagSlotEmpty",{type:"slot",slot:"",placement:""}),e.SLOT_SIZE_AVAILABLE=e.setup("metaTagSlotSizeAvailable",{type:"slot",slot:"",placement:""}),e.SLOT_ENTERS_NEAR_VIEWPORT=e.setup("metaTagSlotEntersNearViewport",{type:"slot",slot:"",placement:""}),e.SLOT_LEAVES_NEAR_VIEWPORT=e.setup("metaTagSlotLeavesNearViewport",{type:"slot",slot:"",placement:""}),e.SLOT_ENTERS_EXACT_VIEWPORT=e.setup("metaTagSlotEntersExactViewport",{type:"slot",slot:"",placement:""}),e.SLOT_LEAVES_EXACT_VIEWPORT=e.setup("metaTagSlotLeavesExactViewport",{type:"slot",slot:"",placement:""}),e.SLOT_AUCTION_DONE=e.setup("metaTagSlotAuctionDone",{type:"slot",slot:"",placement:""}),e.SLOT_LAZY_LOAD_READY=e.setup("metaTagSlotLazyLoadReady",{type:"slot",position:"",placement:""}),e.SDG_SLOT_DELETED=e.setup("metaTagSystemSlotDeleted",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_REGISTERED=e.setup("metaTagSystemSlotRegistered",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_UNREGISTERED=e.setup("metaTagSystemSlotUnRegistered",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_PREPARED=e.setup("metaTagSystemSlotPrepared",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_QUEUED=e.setup("metaTagSystemSlotQueued",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_CALLING=e.setup("metaTagSystemSlotCalling",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_RENDERED=e.setup("metaTagSystemSlotRendered",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_SIZE_AVAILABLE=e.setup("metaTagSystemSlotSizeAvailable",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_RELOAD=e.setup("metaTagSystemSlotReload",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_RELOAD_VISIBILITY=e.setup("metaTagSystemSlotReloadVisibility",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_DONE=e.setup("metaTagSystemSlotDone",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_RESPONDED=e.setup("metaTagSystemSlotResponded",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_EMPTY=e.setup("metaTagSystemSlotEmpty",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_CONTAINER_FOUND=e.setup("metaTagSystemSlotContainerFound",{type:"system",position:"",placement:""}),e.SDG_SLOT_CONTAINER_AVAILABLE=e.setup("metaTagSystemSlotContainerAvailable",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_ENTERS_NEAR_VIEWPORT=e.setup("metaTagSystemSlotEntersNearViewport",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_LEAVES_NEAR_VIEWPORT=e.setup("metaTagSystemSlotLeavesNearViewport",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_ENTERS_EXACT_VIEWPORT=e.setup("metaTagSystemSlotEntersExactViewport",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_LEAVES_EXACT_VIEWPORT=e.setup("metaTagSystemSlotLeavesExactViewport",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_AUCTION_COMPLETE=e.setup("metaTagSystemSlotAuctionComplete",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_DIRECT_RENDERING=e.setup("metaTagSystemSlotDirectRendering",{type:"systemSlot",position:"",placement:""}),e.SDG_SLOT_AUCTION_ERROR=e.setup("metaTagSystemSlotAuctionError",{type:"system",position:"",placement:""}),e.SDG_SLOT_YL_RENDER_ERROR=e.setup("metaTagSystemSlotYlRenderError",{type:"system",position:"",placement:""}),e.SDG_SLOT_LAZY_LOAD_READY=e.setup("metaTagSystemSlotLazyLoadReady",{type:"systemSlot",position:"",placement:""}),e.SDG_NODE_NOW_STICKY=e.setup("metaTagNodeNowSticky",{type:"node"}),e.SDG_NODE_NOW_INERT_AGAIN=e.setup("metaTagNodeNowInertAgain",{type:"node"}),e.isComplete=!1},setup:function(e,t){var o;return"MSIE"!==this.browserData.app?o=new CustomEvent(e,{detail:t}):((o=document.createEvent("Event")).initEvent(e,!0,!0),o.detail=t),o},cancelEvent:function(e,t){SDG.logDebug("#!L24!#",[e,t.getName()])},trigger:function(e,t){var o,i="",n=this[e]?this[e]:void 0;if(n){switch(n.detail.type){case"position":if(!t.getContainer())return this.cancelEvent(e,t);o=t.getContainer(),n.detail.passedObject=t;break;case"slot":if(!t.getContainer())return!1;i=t.getName(),o=t.getContainer(),n.detail.passedObject=t,n.detail.placement=t,n.detail.slot=i,n.detail.position=i,t.setEventAndCheckGlobalAddOnExecution(n.type);break;case"systemSlot":i=t.getName(),o=window,n.detail.passedObject=t,n.detail.placement=t,n.detail.slot=i,n.detail.position=i;break;case"system":case"vendor":o=window,n.detail.passedObject=t;break;case"node":o=t}o.dispatchEvent(n),n.detail.passedObject="",-1<=n.detail.type.indexOf("slot")&&(n.detail.placement={},n.detail.slot="")}else SDG.logError("#!L25!#",e)}},SDG[SDG.CONFIG.SYSTEM.EVENT_DISPATCHER].init(),SDG[SDG.CONFIG.SYSTEM.LOGGER]={_logEntries:[],_logEntriesToConsole:"1"===SDG.getUtil().getLocalStorageData("sdgDumpLogsToConsole"),_consoleAvailable:window.console&&"function"==typeof window.console.log,_messageLoad:0===Object.keys(SDG.CONFIG.LOGGER.MESSAGES).length?"wait":"successful",_sendGenericError:!1,LogEntry:function(e,t,o){this._message=SDG.getUtil().removeLineBreaks(e),this._messageObjects=t,this._level=o,this._timeStamp=new Date},getStringForLogLevel:function(e){return SDG.getUtil().getKeyForElementFromObject(SDG.CONFIG.LOGGER.LEVELS,e)},getLogStringAsNumber:function(e){var t,o=SDG.CONFIG.LOGGER.LEVELS,i=o.NOLOG;for(t in o)o.hasOwnProperty(t)&&e.toUpperCase()===t&&(i=o[t]);return i},isValidLevel:function(e){return SDG.CONFIG.LOGGER.LEVELS.hasOwnProperty(e)},stringify:function(e){var t,o="",i=e.length;for(t=0;t<i;t++)o+=e[t].toString()+"\n";return o},getLogEntriesByLevel:function(e){var t,o,i=[],n=this.getLogStorage(),r=this._logEntries.length,a=void 0!==e?e:0;for(t=0;t<r;t++)n[t]._level>=a&&(o=n[t],i.push(o.toString()));return i},getLogStorage:function(){return this._logEntries},saveLogEntry:function(e,t,o){var i,n="string"==typeof t?this.isValidLevel(t)?t:"NOLOG":this.getStringForLogLevel(t),r="string"==typeof t?this.getLogStringAsNumber(n):t,a="SDG: "+n+": "+e,s=SDG.CONFIG.LOGGER.MESSAGES_AVAILABLE,l=void 0!==o?SDG.getUtil().isArray(o)?o:[o]:[];!0===s&&(a=this.replaceStubInLogMessages(a)),i=new SDG[SDG.CONFIG.SYSTEM.LOGGER].LogEntry(a,l,r),this.getLogStorage().push(i),SDG.getEventDispatcher().trigger("SDG_NEW_LOG_ENTRY",i),(50<=r||!0===this._logEntriesToConsole)&&this.sendLogToConsole(i)},sendLogToConsole:function(e){var t,o,i=[];if(!0===this._consoleAvailable){if(!1===SDG.CONFIG.LOGGER.MESSAGES_AVAILABLE&&50<=e._level){if(!1!==this._sendGenericError)return;t='Stroeer TagManager "MetaTag": An error occurred processing advertisements on your website. Please check the "Info-Tool" for detailed information. Documentation for the tool: https://stroeerdigitalgroup.atlassian.net/wiki/x/x2LNAQ',o=[],this._sendGenericError=!0}else t=e._message,o=e._messageObjects;0===o.length?window.console.log(t):((i=o.slice(0)).unshift(t),window.console.log.apply(this,i))}},getLogEntryByIndex:function(e){var t=[];return t.push(this.getLogStorage()[e]),t[0]},replaceStubInLogMessages:function(e){var t,o,i,n=SDG.CONFIG.LOGGER.MESSAGES,r=e,a=e.indexOf("#!");return!0===SDG.CONFIG.LOGGER.MESSAGES_AVAILABLE&&-1!==a&&(i=(t=e.match(/#!(\w*)!#/i))[1],null!==(o=t[0])&&n.hasOwnProperty(i)&&(r=e.replace(o,n[i]))),r},replaceStubInLogEntry:function(e){e._message=this.replaceStubInLogMessages(e._message)},loadMessageFile:function(){var e=this;!1===SDG.CONFIG.LOGGER.MESSAGES_AVAILABLE&&"wait"===e._messageLoad&&"failed"!==e._messageLoad&&SDG.getUtil().sendCorsRequest("get",SDG.KERNEL.common.logTranslatorUrl,function(){SDG.CONFIG.LOGGER.MESSAGES=JSON.parse(this.responseText),SDG.CONFIG.LOGGER.MESSAGES_AVAILABLE=!0,e._messageLoad="successful",SDG.logDebug("#!L26!#"),e.replaceStubInAllLogs()},function(){e._messageLoad="failed",SDG.logCrit("#!L27!#")},!1)},replaceStubInAllLogs:function(){var e=this.getLogStorage();0<e.length&&e.forEach(this.replaceStubInLogEntry.bind(this)),this.translateLogEntriesInInfoTool()},translateLogEntriesInInfoTool:function(){var e=SDG.CONFIG.STATES,t=SDG.getInfoTool();!0===e.INFO_TOOL_LOADED?t.populateLogPanelWithLogMessages():window.addEventListener("metaTagSystemInfoToolLoaded",function(){t.populateLogPanelWithLogMessages()})},activateConsoleLogging:function(){!0===this._consoleAvailable&&(this._logEntriesToConsole=!0),this.loadMessageFile()}},SDG[SDG.CONFIG.SYSTEM.LOGGER].LogEntry.prototype={toString:function(){return this._message+this._messageObjects},getLevel:function(){return this._level}},SDG.version=120,SDG.Publisher={registerSlot:function(e,t){return this.getController().registerSlot(e,t)},unregisterSlot:function(e,t){return this.getController().unregisterSlot(e,t)},unregisterAllSlots:function(e){return this.getController().unregisterAll(e)},registerModularSlot:function(e,t,o,i,n,r,a){return this.getController().createModularSlot(e,t,o,i,n,r,a)},loadAllSlots:function(e){return this.getController().loadMultipleSlots([],e)},loadMultipleSlots:function(e){return!1===Array.isArray(e)?(SDG.logError("#!L28!#"),!1):this.getController().loadMultipleSlots(e,!0)},loadSlot:function(e){return this.getController().loadSingleSlot(e,!0)},finalizeSlots:function(){return this.getController().finalizeSlotLayout()},setZone:function(e){var t=window.location.href,o=[];return-1<t.indexOf("sdgzone")&&null!==(o=t.match(/(?:sdgzone)=(\w+)/))?this.getConfig().setZone(o[1]):this.getConfig().setZone(e)},addSubZone:function(e){return this.getConfig().setZoneExtension(e)},setPageType:function(e){var t=window.location.href,o=[];return-1<t.indexOf("sdgpagetype")&&null!==(o=t.match(/(?:sdgpagetype)=(\w+)/))?this.getConfig().setPageType(o[1]):this.getConfig().setPageType(e)},addKeywords:function(e){return this.getConfig().addKeywords(e)},addKeyword:function(e){return this.getConfig().addKeyword(e)},removeKeywords:function(e){return this.getConfig().removeKeywords(e)},removeKeyword:function(e){return this.getConfig().removeKeyword(e)},addKeyValue:function(e,t){return this.getConfig().addKeyValue(e,t)},addKeyValues:function(e){return this.getConfig().addKeyValues(e)},removeKeyValue:function(e){return this.getConfig().removeKeyValue(e)},removeKeyValues:function(e){return this.getConfig().removeKeyValues(e)},blockFormats:function(e){return this.getConfig().blockFormats(e)},resetFormatBlocks:function(){return this.getConfig().resetFormatBlocks()},activateHeaderBidding:function(){var e=SDG.KERNEL.getValueForModule("PREBID","functionName");return!!SDG.KERNEL.setValueForModule("PREBID","active",!0)&&(SDG.logDebug("#!L29!#"),SDG.getCN().addCriticalModuleWait(e),SDG.core().set(SDG.CONFIG.MODULES.PREBID,function(){return new SDG[SDG.CONFIG.SYSTEM.MODULESTORE][e](SDG.KERNEL.getModule("PREBID"))}),SDG.getCN()._isHeaderBidderActive=!0)},getCustomVendorConsent:function(e){return SDG.getUtil().getCustomVendorConsent(e)},getIABVendorConsent:function(e,t){return SDG.getUtil().hasVendorConsent(e,t)},setAdServerConsent:function(e){var t=SDG.getConsentManager();return"object"==typeof t?t.setAdServerConsent(e):e},activateSecureProtocol:function(){return!0},getConfig:function(){return SDG.core().get(SDG.CONFIG.MODULES.PUBLISHER_CONFIG)},getAdServer:function(){return SDG.core().get(SDG.CONFIG.MODULES.ADSERVER)},getVideoAdServer:function(){return SDG.core().get(SDG.CONFIG.MODULES.VIDEO)},getController:function(){return SDG.getCN()},transitionAdvertisements:function(){void 0!==SDG.getAdServer()?SDG.getAdServer().determineTransitionAdCallState():window.addEventListener("metaTagSystemAdServerModuleLoaded",function(){SDG.getAdServer().determineTransitionAdCallState()})},generateVastUrls:function(e,t){return SDG.core().get(SDG.CONFIG.MODULES.VIDEO).parsePublisherInput(e,t)},getVastAdDataObject:function(e,t){return this.generateVastUrls(e,t)}},SDG.modStore().Advertisement=function(e,t,o,i){var n=this;n._mediaSegments={anchor:new SDG[SDG.CONFIG.SYSTEM.MODULESTORE].MediaClass(e,!!t.useAdServerNodeForAnchor)},n._countPixel={container:void 0},n._jsonData=t,n._connectedPlacement=o,n.formatParent=i,n.renderingNode=n.getRenderingNode(),n._visibilityDomNodes=[]},SDG.modStore().Advertisement.prototype={getAnchor:function(){return this.getMedia("anchor").getNode()},getPlacement:function(){return this._connectedPlacement},getRenderingNode:function(){var e=this.getPlacement().slotContainer().getHullClass().getAdServerElements().getAdServerAnchor(),t=this.formatParent.customRenderNodeQuery,o=t?document.querySelector(t):null;return t&&(o?e=o:SDG.logError("#!L30!#",[this.formatParent.name,this.formatParent.customRenderNodeQuery])),e},renderAnchor:function(){var e=this.getMedia("anchor");return this.getResponseParameters().useAdServerNodeForAnchor&&this.formatParent.customRenderNodeQuery&&SDG.logWarn("#!L31!#",[this.getResponseParameters().name]),e.attachTo(this.renderingNode),!0},addMedia:function(e,t,o){return this.getMediaStore()[e]=new SDG[SDG.CONFIG.SYSTEM.MODULESTORE].MediaClass(t,void 0!==o&&o),this.getMediaStore()[e]},getMediaStore:function(){return this._mediaSegments},getMedia:function(e){return this.getMediaStore()[e]},getResponseParameters:function(){return this._jsonData},startLocalBuildProcess:function(){return this.formatParent.executeFormatStartFunction(this)},finishLocalBuildProcess:function(){return this.formatParent.executeFormatFinishFunction(this)},addVisibilityNode:function(e){"object"==typeof e&&void 0!==e.tagName?this._visibilityDomNodes.push(e):SDG.logError("#!L32!#",[this.formatParent.name.toUpperCase()])},renderingComplete:function(){var e=this,t=e.getPlacement();t.setIdsForSystem("meetrics",{formatCode:e.formatParent.meetricsFormatCode,domNodes:e._visibilityDomNodes}),t.startVisibilityMeasurement(),e.executeCallback(),SDG.logDebug("#!L33!#",[e.getPlacement().getName().toUpperCase(),e.formatParent.name.toUpperCase()])},executeCallback:function(){if("function"==typeof this.getResponseParameters().callbackOnEnd)try{return this.getResponseParameters().callbackOnEnd(),!0}catch(e){return SDG.logError("#!L34!#",[e]),!1}return!0},startTemplate:function(){var e=SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES],t=this.formatParent.useTemplate;return"none"!==t?"function"==typeof e["template"+t]?e["template"+t](this):(SDG.logCrit("#!L35!#",[this.getResponseParameters().name]),!1):(SDG.logDebug("#!L36!#",[this.getResponseParameters().name]),!0)},createCountContainer:function(){return this._countPixel.container=document.createElement("div"),this._countPixel.container.className="sdgCountPixelAnker",this._countPixel.container.style.display="none",this._countPixel.container},addCountPixel:function(e,t){return this._countPixel[e]=t,this._countPixel[e]},getCountContainer:function(){return void 0!==this._countPixel.container?this._countPixel.container:this.createCountContainer()},setActiveBackground:function(){this._activeBackground=!0},deleteAllContent:function(){var e,t,o,i=this,n=this.getMediaStore();for(e in i._activeBackground&&SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].featureController.removeBackground(i.getAnchor()),n)n.hasOwnProperty(e)&&(o=n[e],"anchor"!==e&&o.detach());for(t in null!==i.getAnchor().parentNode&&i.getAnchor().parentNode.removeChild(i.getAnchor()),delete i._mediaSegments,i._countPixel)i._countPixel.hasOwnProperty(t)&&"container"!==t&&void 0!==i._countPixel[t]&&null!==i._countPixel[t].parentNode&&i._countPixel[t].parentNode.removeChild(i._countPixel[t]);return i._countPixel.container&&null!==i._countPixel.container.parentNode&&i._countPixel.container.parentNode.removeChild(i._countPixel.container),delete i._countPixel,!0}},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].featureController={currentStickies:[],currentBackgrounds:[],currentResizes:[],currentScrollTop:0,currentScrollLeft:0,currentViewportWidth:0,currentViewportHeight:0,iterateScrollFeatures:function(){this.currentStickies.forEach(function(e){e.recalcAfterScroll()}),this.currentBackgrounds.forEach(function(e){e.recalcAfterScroll()})},iterateResizeFeatures:function(){this.currentStickies.forEach(function(e){e.recalcAfterResize()}),this.currentResizes.forEach(function(e){e.recalcAfterResize()})},addSticky:function(e,t,o){return this.currentStickies.push(new this.StickyInstance(e,t,o)),!0},removeSticky:function(t){this.currentStickies=this.currentStickies.filter(function(e){return e.name!==t.nodeName+"#"+t.id||(e.setObjectInert(),!1)})},addResize:function(e,t,o){return this.currentResizes.push(new this.ResizeInstance(e,t,o)),!0},addBackground:function(e,t){return this.currentBackgrounds.push(new this.BackgroundInstance(e,t)),!0},removeBackground:function(t){this.currentBackgrounds=this.currentBackgrounds.filter(function(e){return e.name!==t.nodeName+"#"+t.id||(e.deleteColor(),!1)})}},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].startAdConstruction=function(e,t,o){var i,n=t.useAdServerNodeForAnchor?o.getAdServerNode():document.createElement("div");return"object"!=typeof o?(SDG.logFatal("#!L38!#",t.name),!1):(i=o.prepareNewAd(n,t,e)).startTemplate()?void this.finishAdConstruction(i):(SDG.logFatal("#!L37!#",[o.getName().toUpperCase(),e.useTemplate,t.name]),!1)},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].finishAdConstruction=function(e){var t=e.getResponseParameters(),o=e.getPlacement(),i=SDG.KERNEL;t.countPix&&(this.setupCountPixels(e),o.getContainer().appendChild(o.getAd().getCountContainer())),t.formatParams&&t.formatParams.useBackgroundColor&&i.features.allowBackgroundColor&&(o.getAd().setActiveBackground(),this.addBackground(t.formatParams.backgroundColor,o.getAd().getAnchor()),t.formatParams.backgroundClickable&&i.features.allowClickableBackground&&this.buildBackgroundClick(e)),i.features.allowStickies&&this.processStickySegments(e),e.renderingComplete()},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].setupCountPixels=function(e){var t=e.getResponseParameters();for(var o in t.countPix)t.countPix.hasOwnProperty(o)&&this.buildCountPixel(e,o,t.countPix[o].tech,t.countPix[o].url)},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].addSticky=function(e,t,o){o=void 0===o||o,e&&t?this.featureController.addSticky(e,t,o):SDG.logError("#!L39!#")},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].removeSticky=function(e){e&&"number"==typeof e.nodeType?this.featureController.removeSticky(e):SDG.logError("#!L40!#")},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].addBackground=function(e,t){t&&this.featureController.addBackground(e,t)?SDG.logDebug("#!L41!#",[e,t]):SDG.logError("#!L42!#")},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].removeBackground=function(e){e&&"number"==typeof e.nodeType?this.featureController.removeBackground(e):SDG.logError("#!L43!#")},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].addResize=function(e,t,o){t&&this.featureController.addResize(e,t,o)?SDG.logDebug("#!L44!#",[e,t]):SDG.logError("#!L45!#")},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].buildMediaSegments=function(e){var t,o,i,n=e.getPlacement(),r=e.getResponseParameters();for(var a in r.Media)if(r.Media.hasOwnProperty(a)){if("ExistingElement"===(t=r.Media[a]).file.type)o=e.addMedia(t.mediaName,SDG.getAdServer().getAdServerContainerForPlacement(n),!0);else{if(o=e.addMedia(t.mediaName,this.buildContainer(t),!1),!(i=this["build"+t.file.type+"Media"](t,e)))return SDG.logError("#!L46!#",[t]),!1;"string"==typeof i?o.getNode().innerHTML=i:o.getNode().appendChild(i),SDG.getUtil().hasObjectKeys(t.file.expandable)&&this.buildExpandable(t,e)}e.addVisibilityNode(o.getNode())}return!0},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].buildContainer=function(e){var t=document.createElement("div");return t.id="div-"+e.file.fileId,t.style.top="0px",t.style.left="0px",t.style.zIndex="2",t},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].buildExpandable=function(t,e){var o,i,n,r,a,s,l,d;switch(o=e.getMedia(t.mediaName).getNode(),i=t.file.expandable.collapsedHeight,n=t.file.expandable.collapsedWidth,r=t.file.height,a=t.file.width,o.style.position="absolute",o.style.overflow="hidden",t.file.expandable.direction){case"u":s="rect("+(r-i)+"px "+a+"px "+r+"px 0px)",l=-(r-i),d=0;break;case"ur":s="rect("+(r-i)+"px "+n+"px "+r+"px 0px)",l=-(r-i),d=0;break;case"r":s="rect(0px "+n+"px "+r+"px 0px)",d=l=0;break;case"rd":s="rect(0px "+n+"px "+i+"px 0px)",d=l=0;break;case"d":s="rect(0px "+a+"px "+i+"px 0px)",d=l=0;break;case"dl":s="rect(0px "+a+"px "+i+"px "+(a-n)+"px)",l=0,d=-(a-n);break;case"l":s="rect(0px "+a+"px "+r+"px "+(a-n)+"px)",l=0,d=-(a-n);break;case"lu":s="rect("+(r-i)+"px "+a+"px "+r+"px "+(a-n)+"px)",l=-(r-i),d=-(a-n)}for(var c in t.file.expandable.startExpanded?o.style.clip="rect(0px "+a+"px "+r+"px 0px)":o.style.clip=s,o.style.top=l+"px",o.style.left=d+"px",o.style.zIndex=100,o.style.width=a+"px",o.style.height=r+"px",window[t.file.expandable.collapseFunc]=function(){o.style.clip=s},window[t.file.expandable.expandFunc]=function(){o.style.clip="rect(0px "+a+"px "+r+"px 0px)"},e.getResponseParameters().Media)e.getResponseParameters().Media.hasOwnProperty(c)&&(window[e.getResponseParameters().Media[c].file.fileId+"_DoFSCommand"]=function(e){switch(e){case t.file.expandable.expandFsCommand:window[t.file.expandable.expandFunc]();break;case t.file.expandable.collapseFsCommand:window[t.file.expandable.collapseFunc]()}})},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].buildImageMedia=function(e,t){var o,i,n;return n=t.getMedia(e.mediaName).getNode(),(i=document.createElement("a")).href=e.links[0].url,i.target=e.links[0].target,i.id=e.file.fileId,(o=document.createElement("img")).width=e.file.width,o.height=e.file.height,o.border="0",o.src=e.file.url,i.appendChild(o),n.style.width=e.file.width+"px",n.style.height=e.file.height+"px",i},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].buildIframeMedia=function(e,t){var o,i;return i=t.getMedia(e.mediaName).getNode(),(o=document.createElement("iframe")).width=e.file.width,o.height=e.file.height,o.marginHeight="0",o.marginWidth="0",o.frameBorder="0",o.scrolling="no",o.src=e.file.url,i.style.width=e.file.width+"px",i.style.height=e.file.height+"px",o},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].buildHtmlMedia=function(e,t){var o,i,n=e.file.htmlString;return!1===/(<\/?.*?html\/?>?)|(<\/?.*?body\/?>?)/g.test(n)&&(n='<!DOCTYPE html><html><head><title>Advertisement</title><style>html, body {width: 100%; height: 100%};</style></head><body style="margin:0">'+n+"</body></html>"),i=t.getMedia(e.mediaName).getNode(),(o=document.createElement("iframe")).width=e.file.width,o.height=e.file.height,o.marginHeight="0",o.marginWidth="0",o.frameBorder="0",o.scrolling="no",o.onload=function(){o.onload="",o.contentWindow.inhalt=n,o.src='javascript:window["inhalt"]'},i.style.width=e.file.width+"px",i.style.height=e.file.height+"px",o},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].buildCountPixel=function(e,t,o,i){var n,r;if(r=e.getCountContainer(),"image"===o&&((n=document.createElement("img")).width=1,n.height=1,n.src=i,r.appendChild(e.addCountPixel(t,n))),"javascript"===o||"iframe"===o)if("javascript"===o&&"loading"!==document.readyState)e.addCountPixel(t,SDG.getUtil().loadScript(i,r));else if((n=document.createElement("iframe")).src="about:blank",n.width=1,n.height=1,r.appendChild(e.addCountPixel(t,n)),"javascript"===o){var a=function(){var e=n;e.contentWindow.inhalt='<!DOCTYPE html><html><head><title>Dynamic iframe</title></head><body style="margin:0;padding:0;"><script type="text/javascript" src="'+i+'"><\/script></body></html>',e.src='javascript:window["inhalt"]',n.removeEventListener("load",a,!1)};n.addEventListener("load",a,!1)}else n.src=i},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].setAdLabel=function(e,t,o){var i=document.createElement("div"),n=document.createElement("img");return i.id="sdgAdLabel",i.style.position=e,i.style.left=t+"px",i.style.top=o+"px",n.src="data:image/gif;base64,R0lGODlhCAA8AIABAGZmZv///yH5BAEAAAEALAAAAAAIADwAAAI9jI+py+2vwJFG2hluBZzCZHGYlmGVuXkf0okri16ePLUvfG55SVJuubu1VMEikGW71X6kE7GZIiqn1CqiAAA7",n.width="8",n.height="60",i.appendChild(n),i},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].processStickySegments=function(e){var t,o,i,n,r=e.getResponseParameters();for(var a in r.Media)r.Media.hasOwnProperty(a)&&((o=r.Media[a]).sticky||"top"!==o.position||(t=e.getMedia(o.mediaName).getNode()),!o.sticky||"right"!==o.position&&"left"!==o.position||(n=void 0===(i=SDG.getConfig().getPosition("sky").useAdhesionUnit)||i),o.sticky&&(void 0===t&&(t=e.getPlacement().getContainer()),this.addSticky(e.getMedia(o.mediaName).getNode(),t,n)))},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].buildBackgroundClick=function(e){var t,o,i,n,r,a,s,l,d=e.getResponseParameters().formatParams.backgroundClickUrl;for(var c in(t=document.createElement("div")).id="backgroundClickAnker-"+e.getAnchor().id,(o=document.createElement("div")).id="divBgLeft-"+e.getAnchor().id,(i=document.createElement("div")).id="divBgTop-"+e.getAnchor().id,(n=document.createElement("div")).id="divBgRight-"+e.getAnchor().id,a=SDG.getPUB().getConfig().getContentObject(),l=SDG.getUtil().getViewportDimensions().width,s=SDG.getUtil().getViewportDimensions().height,r=[i,o,n])r.hasOwnProperty(c)&&"DIV"===r[c].tagName&&(r[c].style.cssText="width:1px;height:1px;position:absolute;cursor:pointer;top:0;left:0;",r[c].onclick=function(){window.open(d)},t.appendChild(r[c]));!0===SDG.KERNEL.features.allowClickableTopBackground?(i.style.width=a.width+"px",i.style.height=e.getAnchor().style.height):t.removeChild(i),e.addMedia("backgroundClick",t),e.getAnchor().appendChild(t),t.style.position="absolute",t.style.width="1px",t.style.height="1px",t.style.zIndex="1",t.style.left=SDG.getUtil().getPos(e.getAnchor()).left-SDG.getUtil().getPos(t).left-(SDG.getUtil().getPos(t).left-a.left)+"px",t.style.top=SDG.getUtil().getPos(e.getAnchor()).top-(a.top+(SDG.getUtil().getPos(e.getAnchor()).top-a.top))+"px",o.style.width=a.left+"px",o.style.left=-a.left+"px",o.style.height=s+"px",n.style.width=l-a.width-a.left+"px",n.style.left=a.width+"px",n.style.height=s+"px",this.addResize(o,SDG.getPUB().getConfig().getContentObject().element,!0),this.addResize(n,SDG.getPUB().getConfig().getContentObject().element,!1),this.addSticky(o,t),this.addSticky(n,t),SDG.getPUB().getConfig().executeLocalBackgroundClickable(e)},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].buildVideoMedia=function(e,t){"use strict";var o,i,n;return n=t.getMedia(e.mediaName).getNode(),(i=document.createElement("a")).href=e.links[0].url,i.target=e.links[0].target,i.id=e.file.fileId,(o=document.createElement("video")).width=e.file.width,o.height=e.file.height,o.style="display: block; margin: 0 auto;",o.type="video/mp4",o.setAttribute("loop",!0),o.setAttribute("playsinline",!0),o.setAttribute("muted",!0),i.appendChild(o),n.style.width=e.file.width+"px",n.style.height=e.file.height+"px",i},SDG.modStore().MediaClass=function(e,t){this._node=e,this._attached=t},SDG.modStore().MediaClass.prototype={attachTo:function(e){if(this._attached)return!1;e.appendChild(this.getNode()),this._attached=!0},getNode:function(){return this._node},detach:function(){var e=this;e.getNode()&&null!==e.getNode().parentNode&&(e.getNode().parentNode.removeChild(e.getNode()),e._attached=!1)}},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].featureController.BackgroundInstance=function(e,t){var o=this,i=document.getElementsByTagName("body")[0].style;o.name=t.nodeName+"#"+t.id,o.inView=!1,o.color=e,o.inlineBackground=i.getPropertyValue("background")+(i.getPropertyPriority("background")?"#important":""),o.refObj=t,o.startTop=0,o.endTop=4e4,o.objOrgPosTop=SDG.getUtil().getPos(o.refObj).top,o.setBackgroundColor()},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].featureController.BackgroundInstance.prototype={recalcAfterScroll:function(){},setBackgroundColor:function(){SDG.getPUB().getConfig().executeLocalBackgroundColor(this.color),document.getElementsByTagName("body")[0].style.background=this.color},deleteColor:function(){var e=this.inlineBackground.split("#"),t=document.getElementsByTagName("body")[0].style;""!==e[0]?t.setProperty("background",e[0],2===e.length?e[1]:""):t.removeProperty("background")}},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].featureController.ResizeInstance=function(e,t,o){var i=this;i.refObj=t,i.resObj=e,i.recalcLeft=void 0!==o&&o,i.objOrgPosTop=SDG.getUtil().getPos(i.resObj).top,i.objOrgPosLeft=SDG.getUtil().getPos(i.resObj).left,i.name=e.nodeName+"#"+e.id},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].featureController.ResizeInstance.prototype={recalcAfterResize:function(){var e=this,t=SDG.getUtil().getViewportDimensions().width;"absolute"===e.resObj.style.position?e.recalcLeft?(e.resObj.style.width=SDG.getUtil().getPos(e.refObj).left+"px",e.resObj.style.left=-SDG.getUtil().getPos(e.refObj).left+"px"):e.resObj.style.width=t-SDG.getUtil().getPos(e.refObj).left-SDG.getUtil().getObjectDimensions(e.refObj).width+"px":"fixed"===e.resObj.style.position&&(e.recalcLeft?e.resObj.style.width=SDG.getUtil().getPos(e.refObj).left+"px":e.resObj.style.width=t-SDG.getUtil().getPos(e.refObj).left-SDG.getUtil().getObjectDimensions(e.refObj).width+"px")}},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].featureController.StickyInstance=function(e,t,o){var i=this;if(i.name=e.nodeName+"#"+e.id,i.active=!0,i.stickyObject=e,i.refObj=t,i.startTop=0,i.endTop=4e4,i.useAdhesionUnit=o,i.inlineStyles=[],i.stickyStop=!!SDG.getPUB().getConfig().getStickyStop()&&SDG.getPUB().getConfig().getStickyStop(),i.stickyStopActive=!1,i.stickyObjectHeightByChildDetected=!1,"object"==typeof SDG.getPUB().getConfig().getStickyStopUnit()&&!0===i.stickyStop&&(i.stickyStopUnit=SDG.getPUB().getConfig().getStickyStopUnit(),i.stickyStopUnitNormalizedPos=i.getNormalizedPosTop(i.stickyStopUnit)),i.objectOriginalPosTop=SDG.getUtil().getNormalizedPositions(i.stickyObject).top,i.refObjOriginalPosTop=SDG.getUtil().getNormalizedPositions(i.refObj).top,i.refObjNormalizedPosDifference=0,i.stickyObjPositions=SDG.getUtil().getPos(i.stickyObject),i.refObjPositions=SDG.getUtil().getPos(i.refObj),i.stickyObjectOriginalPosLeft=i.stickyObjPositions.left?parseFloat(this.stickyObjPositions.left):0,i.stickyObjectOriginalPosRight=i.stickyObjPositions.right?parseFloat(this.stickyObjPositions.right):0,i.refObjOriginalPosLeft=i.refObjPositions.left?parseFloat(i.refObjPositions.left):0,i.refObjOriginalPosRight=i.refObjPositions.right?parseFloat(i.refObjPositions.right):0,i.posToReference=i.getPosToReference(),i.formatFireplace=-1!==i.stickyObject.parentNode.id.search("fireplace"),["top","left","right","position","transition"].forEach(function(e){var t=i.stickyObject.style.getPropertyValue(e);""!==t?i.inlineStyles.push(e+"#"+t+(i.stickyObject.style.getPropertyPriority(e)?"#important":"")):i.inlineStyles.push(e)}),!0===i.stickyStop&&(i.stickyObjAnzKennungHeight=0,i.stickyObjHeight=SDG.getUtil().getObjectDimensions(i.stickyObject).height,"undefined"!==i.stickyObject.children)){var n,r=i.stickyObject.children;for(n=0;n<r.length;n++)"undefined"!==r[n].id&&-1!==r[n].id.search("_anz")&&(i.stickyObjAnzKennungHeight=r[n].offsetHeight);if(i.stickyObjHeight-i.stickyObjAnzKennungHeight<=0)for(n=0;n<r.length;n++){if("undefined"!==r[n].id)-1!==r[n].id.search("sdgAdServerContainer-sky")&&(i.stickyObjectHeightByChildDetected=!0,i.stickyObjectChildForHeightDetection=r[n],0===r[n].offsetHeight&&i.checkHeightOfSticky(r[n].children))}}i.recalcAfterScroll(),SDG.logDebug("#!L47!#",i.stickyObject),window.googletag.pubads().addEventListener("slotRenderEnded",function(){i.resetStickyPosDifference()})},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].featureController.StickyInstance.prototype={resetStickyPosDifference:function(){var e=SDG.getUtil().getNormalizedPositions(this.refObj).top;this.refObjNormalizedPosDifference=this.refObjOriginalPosTop-e},getNormalizedPosTop:function(e){if("object"==typeof e)return SDG.getUtil().getNormalizedPositions(e).top},getPosToReference:function(){var e=this.stickyObjectOriginalPosLeft;return e<this.refObjOriginalPosLeft?"left":e>=this.refObjOriginalPosRight?"right":"middle"},recalcAfterResize:function(){var e=this;"fixed"===e.stickyObject.style.position?e.resetStickyPositions():!0===e.stickyStop&&!0===e.stickyStopActive&&e.recalcStickyStopPos()},resetStickyPositions:function(){var e,t=this,o=t.stickyObject,i=SDG.getUtil(),n=i.getViewportDimensions().width,r=t.useAdhesionUnit?i.getAdhesionUnit().height:0;"right"===t.posToReference&&(e=t.refObjOriginalPosRight-SDG.getUtil().getPos(t.refObj).right,o.style.setProperty("left",t.stickyObjectOriginalPosLeft-e+"px","important"),o.style.setProperty("right","auto","important")),"left"===t.posToReference&&(e=t.refObjOriginalPosLeft-SDG.getUtil().getPos(t.refObj).left,o.style.setProperty("right",n-(t.stickyObjectOriginalPosRight-e)+"px","important"),o.style.setProperty("left","auto","important")),"middle"===t.posToReference&&(e=t.refObjOriginalPosLeft-SDG.getUtil().getPos(t.refObj).left,o.style.setProperty("left",t.stickyObjectOriginalPosLeft-e+"px","important"),o.style.setProperty("right","auto","important")),o.style.setProperty("top",r+"px","important")},setObjectSticky:function(){var e=this.stickyObject;e.style.setProperty("position","fixed","important"),e.style.setProperty("transition","none","important"),this.resetStickyPositions(),SDG.getEventDispatcher().trigger("SDG_NODE_NOW_STICKY",e)},setObjectInert:function(){var o=this.stickyObject,i=SDG.getUtil().getBrowserData().app;this.inlineStyles.forEach(function(e){var t=e.split("#");1<t.length?("MSIE"===i&&o.style.removeProperty(t[0]),o.style.setProperty(t[0],t[1],3===t.length?t[2]:"")):o.style.removeProperty(t[0])}),SDG.getEventDispatcher().trigger("SDG_NODE_NOW_INERT_AGAIN",o)},recalcStickyStopPos:function(){var e,t=this,o=t.stickyObject;e=!1===t.stickyObjectHeightByChildDetected?SDG.getUtil().getObjectDimensions(o).height:t.stickyObjectChildForHeightDetection.offsetHeight+t.stickyObjAnzKennungHeight,t.setObjectInert(),"right"===t.posToReference&&t.formatFireplace&&o.style.setProperty("position","absolute","important"),o.style.setProperty("top",t.stickyStopUnitNormalizedPos-e-t.objectOriginalPosTop+t.refObjNormalizedPosDifference+"px","important")},recalcAfterScroll:function(){var e=this,t=SDG.getUtil(),o=e.useAdhesionUnit?t.getAdhesionUnit().height:0;e.active&&(!0===e.stickyStop?(e.scrollTop=t.getScrollPositions().top,e.stickyObjectHeightByChildDetected?e.stickyObjHeight=e.stickyObjectChildForHeightDetection.offsetHeight:e.stickyObjHeight=SDG.getUtil().getObjectDimensions(e.stickyObject).height,e.stickyStopUnitNormalizedPos=e.getNormalizedPosTop(e.stickyStopUnit),e.stickyStopUnitNormalizedPos-e.stickyObjHeight-o<=e.scrollTop?(e.stickyStopActive=!0,e.recalcStickyStopPos()):(e.stickyStopActive=!1,e.recalcAfterScrollHelper())):e.recalcAfterScrollHelper())},checkHeightOfSticky:function(e){var t,o=e;for(t=0;t<o.length;t++)this.stickyObjectHeightByChild=o[t].offsetHeight,0!==this.stickyObjectHeightByChild?this.stickyObjectChildForHeightDetection=o[t]:"undefined"!==o[t].children&&this.checkHeightOfSticky(o[t].children)},recalcAfterScrollHelper:function(){var e=this,t=SDG.getUtil(),o=t.getScrollPositions().top,i=e.useAdhesionUnit?t.getAdhesionUnit().height:0,n=e.stickyObject;e.objectOriginalPosTop-(o+i+e.refObjNormalizedPosDifference)<0&&"fixed"!==n.style.position&&o>=e.startTop&&e.setObjectSticky(),(0<=e.objectOriginalPosTop-(o+i+e.refObjNormalizedPosDifference)||o>=this.endTop)&&"fixed"===n.style.position&&e.setObjectInert(),"fixed"===n.style.position&&e.resetStickyPositions()}},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].templateFlexAds=function(e){var t,o,i,n=e.getResponseParameters(),r=e.getPlacement(),a=e.getAnchor();if(e.startLocalBuildProcess()&&this.buildMediaSegments(e)){for(t in n.Media)n.Media.hasOwnProperty(t)&&((i=(o=e.getMedia(n.Media[t].mediaName)).getNode()).childNodes.forEach(function(e){e.style.cssText="width:100%;height:100%;position:absolute;top:0;left:0;bottom:0;right;0;",e.hasAttribute("width")&&(e.width="100%"),e.hasAttribute("height")&&(e.height="100%"),"A"===e.tagName&&e.hasChildNodes()&&(e.childNodes[0].width="auto",e.childNodes[0].height="auto",e.childNodes[0].style.cssText="width:100%;height:100%;display: block !important;position:relative !important;")}),i.style.position="relative",i.style.paddingBottom=100*e.formatParent.minHeight/e.formatParent.minWidth+"%",i.style.width="100%",i.style.height="auto",o.attachTo(a));return n.useAdServerNodeForAnchor||(r.getAdServerNode().style.display="none"),a.style.position="relative",a.style.minWidth=e.formatParent.minWidth+"px",a.style.maxWidth=e.formatParent.maxWidth+"px",a.style.minHeight=e.formatParent.minHeight+"px",a.style.maxHeight=e.formatParent.maxHeight+"px",a.style.margin="0 auto",e.renderAnchor(),!!e.finishLocalBuildProcess()&&(a.style.visibility="visible",!0)}return!1},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].templateNativeAd=function(e){var t=e.getResponseParameters(),o=e.getAnchor(),i={linkurl:t.Media[1].links[1].url,linktarget:t.Media[1].links[1].target,headline:t.formatParams.headline,maintext:t.formatParams.maintext,linktext:t.formatParams.linktext,imgsrc:t.Media[1].file.url,imgwidth:t.Media[1].file.width,imgheight:t.Media[1].file.height};return o.id=t.name,o.innerHTML=new SDG[SDG.CONFIG.SYSTEM.UTILITY].Template(SDG.getConfig().getTemplateForType("native"+t.formatParams.nativeType)).render(i),e.renderAnchor(),!0},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].templateSingleAd=function(e){var t,o,i,n,r,a,s=e.getResponseParameters(),l=e.getAnchor();if(e.startLocalBuildProcess()&&this.buildMediaSegments(e)){for(t in s.Media)s.Media.hasOwnProperty(t)&&(o=s.Media[t],n=(i=e.getMedia(o.mediaName)).getNode(),i.attachTo(l),r=o.expandable?o.expandable.collapsedWidth:parseFloat(n.style.width),a=o.expandable?o.expandable.collapsedHeight:parseFloat(n.style.height));return l.style.position="relative",l.style.width=r+"px",l.style.height=a+"px",l.id=s.name,e.renderAnchor(),!0}return!1},SDG.modStore().AdServerController=function(){"use strict";var e,t,o=SDG.KERNEL,i=o.adserver,n=o.videoAdserver;for(var r in-1<window.location.href.indexOf("isPreview=yes")&&-1<window.location.href.indexOf("&creativeId=")&&(i.sssp.active=!0,i.dfp.active=!1),i)if(i.hasOwnProperty(r)&&i[r].active){e=i[r];break}for(var a in SDG.getUtil().getLocalStorageData("sdgAdserverOverwrite")&&(e=i[this.getLocalStorageData("sdgAdserverOverwrite")],window.addEventListener("metaTagSystemBeforeLoadAll",function(){SDG.getUtil().showUserNotification("AdServer Overwrite detected! Setting AdServerModule to "+e.functionName,"Adserver_Overwrite",4e3,6e3)})),void 0!==e?this.loadAdServerModule(e):SDG.logCrit("#!L48!#"),n)if(n.hasOwnProperty(a)&&n[a].active){t=n[a];break}void 0!==t?(SDG.logDebug("#!L49!#",t.vServerName),this.loadVideoAdServerModule(t)):SDG.logCrit("#!L50!#")},SDG.modStore().AdServerController.prototype={loadAdServerModule:function(e){var t=SDG.KERNEL;SDG.logDebug("#!L51!#",e.functionName),SDG.core().set(SDG.CONFIG.MODULES.ADSERVER,function(){return new SDG[SDG.CONFIG.SYSTEM.MODULESTORE][e.functionName]}),window.requestAnimationFrame(function(){SDG.getUtil().addCssToHead(t.common.css)}),SDG.getCN()._adserverLoaded=!0,SDG.getEventDispatcher().trigger("SDG_AD_SERVER_MODULE_LOADED")},loadVideoAdServerModule:function(e){var t=e.vServerName;SDG.logDebug("#!L52!#",[e.functionName,t]),SDG.core().set(SDG.CONFIG.MODULES.VIDEO,function(){return new SDG[SDG.CONFIG.SYSTEM.MODULESTORE][e.functionName](t)}),SDG.getEventDispatcher().trigger("SDG_VIDEO_MODULE_LOADED")}},SDG.modStore().GoogleDfp=function(){"use strict";var e=this;!0===SDG.KERNEL.getValueForModule("TTRACKER","active")&&SDG.getTTracker().addToLogCollection("dfp"),e._pubconf=SDG.core().get(SDG.CONFIG.MODULES.PUBLISHER_CONFIG),e._kernel=SDG.KERNEL,e._adserverConfig=this._kernel.adserver.dfp.config,e.useAsynchronTags=!this._adserverConfig.useSingleRequest,e.useSingleRequest=this._adserverConfig.useSingleRequest,e.fullConsentEventFired=!1,e._defaultLoadType="standardGpt",e._firstCall=!0,e._keywordStorage=[],e._adserverConfigEntry="dfp",e._correlatorTimestamp=0,e._adServerName="Google Doubleclick for Publishers",e._isSlotLayoutFinished=!1,e._criticalLoadEventMissing=!0,e._sraQueue=[],e._firstZoneSet=!0,e._zoneReset=!1,e._loadQueue=[],e._loadTypes={instance:this,standardGpt:function(e){e.loadType="standardGpt",window.googletag.cmd.push(function(){SDG.logDebug("#!L53!#",e.getName().toUpperCase()),e.gptSlot=window.googletag.defineSlot(SDG.getAdServer().returnDfpPath(e),e.sizeParams.sizeArray,e.getAdServerNodeId()).addService(window.googletag.pubads())})},outOfPageGpt:function(e){e.loadType="outOfPageGpt",window.googletag.cmd.push(function(){SDG.logDebug("#!L54!#",e.getName().toUpperCase()),e.gptSlot=window.googletag.defineOutOfPageSlot(SDG.getAdServer().returnDfpPath(e),e.getAdServerNodeId()).addService(window.googletag.pubads())})}},e._loadSlotNumber=parseFloat(e._kernel.common.sequenceSlotCount)?parseFloat(e._kernel.common.sequenceSlotCount)+1:1,window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],e._adserverConfig.loadGptScript&&(SDG.KERNEL.getValueForModule("CONSENTMANAGER","active")&&!1===SDG.KERNEL.getValueForModule("CONSENTMANAGER","nonIABCMP")&&!0===e._adserverConfig.delayScriptCallUntilConsent?window.addEventListener("metaTagSystemCmpConsentAvailable",function(){!1===e.fullConsentEventFired&&(e.fullConsentEventFired=!0,e.loadDfpScript())}):e.loadDfpScript()),window.addEventListener("metaTagSystemZoneSet",function(){var e,t=SDG.getAdServer();if(!0===t._firstZoneSet)t._firstZoneSet=!1;else{for(var o in SDG.logDebug("#!L55!#"),t._zoneReset=!0,e=SDG.getCN().Slots)e.hasOwnProperty(o)&&e[o].setFlag("zoneReload",!0);(new Date).getTime()-t._correlatorTimestamp<1e4&&(SDG.logDebug("#!L56!#"),t.renewCorrelator())}}),SDG.getCN().getPlacementByDfpSize=function(e,t){var o,i,n,r=SDG.getCN().getSlotStore();for(var a in"number"!=typeof e&&(e=parseFloat(e)),"number"!=typeof t&&(t=parseFloat(t)),r)if(r.hasOwnProperty(a))for(i in(o=r[a]).sizeParams.sizeArray)if(o.sizeParams.sizeArray.hasOwnProperty(i)&&(n=o.sizeParams.sizeArray[i])[0]===e&&n[1]===t)return o;return!1}},SDG.modStore().GoogleDfp.prototype={init:function(){var i=this,o=window.googletag,t=SDG.CONFIG,n=SDG.KERNEL.getModule("CONSENTMANAGER");o.cmd.push(function(){i.updateKeyValues(),i.updateKeywords()}),SDG.core().set(SDG.CONFIG.MODULES.ADXPOSITIONS,function(){return new SDG[SDG.CONFIG.SYSTEM.MODULESTORE].adxPosition}),SDG.core().set(SDG.CONFIG.MODULES.STICKYPLACEMENT,function(){return new SDG[SDG.CONFIG.SYSTEM.MODULESTORE].stickyPlacements}),o.cmd.push(function(){var e=n.externalConsent,o=i._adserverConfig.iabVendorId;!1===e&&i.setProfileDataUsage(e),!0===n.active&&!1===n.nonIABCMP&&(!1===t.STATES.FULL_CONSENT_DATA_AVAILABLE?window.addEventListener("metaTagSystemCmpConsentAvailable",function(e){var t=e.detail.passedObject;i.checkGoogleVendorFromCache(o,t)}):i.checkGoogleVendorFromCache(o))}),i._adserverConfig.safeframeSandbox&&o.cmd.push(function(){SDG.logDebug("#!L57!#"),window.googletag.pubads().setSafeFrameConfig({sandbox:!0})}),o.cmd.push(function(){0===i._correlatorTimestamp&&(i._correlatorTimestamp=(new Date).getTime(),SDG.logDebug("#!L58!#"))}),i._adserverConfig.setCentering&&o.cmd.push(function(){SDG.logDebug("#!L59!#"),window.googletag.pubads().setCentering(!0)}),i._adserverConfig.fetchAdsSerially&&o.cmd.push(function(){SDG.logInfo("#!L60!#"),window.googletag.pubads().setFetchAdsSerially(!0)}),i.useAsynchronTags&&(SDG.Publisher.addKeyValue("tagtype","async"),o.cmd.push(function(){SDG.logInfo("#!L61!#"),window.googletag.pubads().enableAsyncRendering(),window.googletag.pubads().disableInitialLoad()})),i.useSingleRequest&&(SDG.Publisher.addKeyValue("tagtype","sra"),window.addEventListener("metaTagSystemSlotContainerAvailable",function(e){var t=e.detail.placement;!0===i.checkStatusForCMPListener(n)?window.addEventListener("metaTagSystemCmpConsentAvailable",function(){o.cmd.push(function(){"object"==typeof t.gptSlot&&SDG.getAdServer().displaySlot(t)})}):window.googletag.cmd.push(function(){"object"==typeof t.gptSlot&&SDG.getAdServer().displaySlot(t)})}),i._adserverConfig.skipContentLoaded||window.document.addEventListener("DOMContentLoaded",function(){SDG.Publisher.finalizeSlots()}),o.cmd.push(function(){SDG.logInfo("#!L62!#"),window.googletag.pubads().enableSingleRequest()})),i._adserverConfig.collapseEmptyDivs&&(i._adserverConfig.collapseDivsBeforeFetch?o.cmd.push(function(){SDG.logDebug("#!L63!#"),window.googletag.pubads().collapseEmptyDivs(!0,!0)}):o.cmd.push(function(){SDG.logDebug("#!L64!#"),window.googletag.pubads().collapseEmptyDivs(!0,!1)})),o.cmd.push(function(){window.googletag.pubads().addEventListener("slotRequested",function(e){var t=i.getSlotForEvent(e);null!==t&&t.sendPlacementCallingEvent()}),window.googletag.pubads().addEventListener("slotResponseReceived",function(e){var t=i.getSlotForEvent(e);null!==t&&t.loadProcessResponded()}),window.googletag.pubads().addEventListener("slotRenderEnded",function(e){var t=i.getSlotForEvent(e);null!==t&&(t.updatePlacementParameters({adserver:{lastAdServer:"doubleclick",advertiserId:e.advertiserId,orderId:e.campaignId,creativeId:e.creativeId,lineItemId:e.lineItemId,isEmpty:e.isEmpty,size:e.size?e.size.toString().replace(",","x"):0,websiteName:i.getWebsiteNameForPlacement(t)},doubleclick:{advertiserId:e.advertiserId,orderId:e.campaignId,creativeId:e.creativeId,labelIds:e.labelIds,lineItemId:e.lineItemId,isEmpty:e.isEmpty,serviceName:e.serviceName,size:e.size?e.size.toString().replace(",","x"):0,redirectCreativeId:e.sourceAgnosticCreativeId,redirectLineItemId:e.sourceAgnosticLineItemId,websiteName:i.getWebsiteNameForPlacement(t)}}),t.setFrameWindow(i.getDfpIframeForPlacement(t)),t.loadProcessRenderedResponse(),e.isEmpty&&(t.reportDefaultDelivery(),t.loadProcessDone()))}),window.googletag.pubads().addEventListener("slotOnload",function(e){var t=i.getSlotForEvent(e);null!==t&&(t.getIdsForSystem("adserver").lastSsp||t.setIdsForSystem("adserver",{lastSsp:"adexchange"}),t.setFrameWindow(i.getDfpIframeForPlacement(t)),t.loadProcessDone())})}),window.addEventListener("metaTagSystemBeforeLoadAll",function(){o.cmd.push(function(){void 0===window.googletag.pubadsReady?(SDG.logInfo("#!L65!#"),window.googletag.enableServices()):SDG.logInfo("#!L66!#")})})},loadDfpScript:function(){var e=document.getElementsByTagName("head")[0];SDG.getUtil().loadScript("//securepubads.g.doubleclick.net/tag/js/gpt.js",e,function(){!0===SDG.Publisher.getConfig().getValueForModule("TTRACKER","active")&&SDG.getTTracker().stopTracking("dfp",Date.now()),SDG.logNotice("#!L67!#",[e])},!1)},returnDfpPath:function(e){var t=this._kernel.getPosition(e.getName()),o=t.dfpZonePostfix,i=t.dfpPostUnit,n=this._pubconf.getZoneExtension(),r=this._pubconf.getPageType();return this.getDfpNetwork(e.getName())+"/"+this.getDfpWebsiteName(e.getName())+"/"+e.getZone()+(""!==n?"/"+n:"")+(""!==r?"_"+r:"")+(o||"")+(i?"/"+i:"")},getDfpNetwork:function(e){var t=this._kernel.common;return this._kernel.getValueForPosition(e,"isMobileSlot")&&t.dfpMobileName?t.dfpMobileNetwork:t.dfpDesktopNetwork},getDfpWebsiteName:function(e){var t=this._kernel.common;return this._kernel.getValueForPosition(e,"isMobileSlot")&&t.dfpMobileName?t.dfpMobileName:t.dfpDesktopName},returnAdServerPlacementName:function(e){var t="/"+this.returnDfpPath(e)+"/"+e.getName();return 128<t.length&&SDG.logAlert("#!L68!#",t),t},finishPlacementConstruction:function(e){var t=this._kernel.getPosition(e.getName());e.loadType=t.dfpTagType?t.dfpTagType:this._defaultLoadType,this.constructSizeArray(e),parseFloat(t.sequenceSlot)?parseFloat(t.sequenceSlot):(e.sequenceSlot=this._loadSlotNumber,this._loadSlotNumber++),e.setFlag("slotConstructed",!0)},constructSizeArray:function(e){var t,o=this._kernel.getPosition(e.getName()),i=o.formatMap,n=o.dfpSizes,r=[];for(t in i)i.hasOwnProperty(t)&&0!==i[t].length&&(r=r.concat(i[t]));void 0!==n&&(r=r.concat(n)),e.sizeParams.sizeArray=this.deleteDuplicateSizes(r)},deleteDuplicateSizes:function(e){var t,o={},i=[];for(t=0;e.length>t;t++)!1===o.hasOwnProperty(e[t][0]+"x"+e[t][1])&&(o[e[t][0]+"x"+e[t][1]]=!0,i.push(e[t]));return i},updateKeyValues:function(){window.googletag.cmd.push(function(){var e,t=SDG.Publisher.getConfig().getKeyValues();for(e in t)t.hasOwnProperty(e)&&window.googletag.pubads().setTargeting(e,t[e]);SDG.logDebug("#!L69!#")})},updateKeywords:function(){window.googletag.cmd.push(function(){window.googletag.pubads().setTargeting("keywords",SDG.Publisher.getConfig().getKeywords()),SDG.logDebug("#!L70!#")})},sendKeyValueUpdate:function(e){window.googletag.cmd.push(function(){window.googletag.pubads().setTargeting(e,SDG.Publisher.getConfig().getKeyValues()[e]),SDG.logDebug("#!L71!#",[e])})},sendKeyValueRemove:function(e){window.googletag.cmd.push(function(){window.googletag.pubads().clearTargeting(e)})},isCorrelatorValid:function(){return(new Date).getTime()-this._correlatorTimestamp<this._adserverConfig.correlatorUpdateTime},renewCorrelator:function(){this._correlatorTimestamp=(new Date).getTime(),SDG.logDebug("#!L72!#"),window.googletag.pubads().updateCorrelator()},loadAdServerSlots:function(e){var t=!e;0<[].concat(this.getLoadQueue()).length&&(this.useAsynchronTags&&this.processAsynchronousSlots(t),this.useSingleRequest&&this._isSlotLayoutFinished&&this.processSingleRequestSlots(t))},processAsynchronousSlots:function(e){var o=[],i=this,t=[].concat(this.getLoadQueue()),n=SDG.KERNEL.getModule("CONSENTMANAGER");t.forEach(function(t){SDG.getAdServer().finishPlacementConstruction(t),SDG.getAdServer().setupPlacementInGpt(t),SDG.getAdServer().removeFromLoadQueue(t),t.getContainer()?(window.googletag.cmd.push(function(){t.getContainer()&&SDG.getAdServer().executeGenericPreparation(t)?t.getFlag("dfpLoadedOnce")||(!0===i.checkStatusForCMPListener(n)?window.addEventListener("metaTagSystemCmpConsentAvailable",function(){t.setFlag("dfpLoadedOnce",!0),window.googletag.cmd.push(function(){SDG.getAdServer().displaySlot(t)})}):(t.setFlag("dfpLoadedOnce",!0),window.googletag.cmd.push(function(){SDG.getAdServer().displaySlot(t)}))):SDG.logAlert("#!L73!#",t.getName().toUpperCase())}),o.push(t)):window.addEventListener("metaTagSystemSlotContainerAvailable",function(e){e.detail.slot===t.getName()&&window.googletag.cmd.push(function(){SDG.getAdServer().executeGenericPreparation(t)?(t.getFlag("dfpLoadedOnce")||(!0===i.checkStatusForCMPListener(n)?window.addEventListener("metaTagSystemCmpConsentAvailable",function(){t.setFlag("dfpLoadedOnce",!0),window.googletag.cmd.push(function(){SDG.getAdServer().displaySlot(t)})}):(t.setFlag("dfpLoadedOnce",!0),window.googletag.cmd.push(function(){SDG.getAdServer().displaySlot(t)}))),SDG.getAdServer().sendRefreshCommand([t],!1)):SDG.logAlert("#!L74!#",t.getName().toUpperCase())})})}),0!==o.length&&this.sendRefreshCommand(o,e)},processSingleRequestSlots:function(e){var t=[],o=this,i=[].concat(this.getLoadQueue()),n=[],r=SDG.KERNEL.getModule("CONSENTMANAGER");i.forEach(function(e){SDG.getAdServer().finishPlacementConstruction(e),SDG.getAdServer().setupPlacementInGpt(e),SDG.getAdServer().removeFromLoadQueue(e),n.push(e.getName()),window.googletag.cmd.push(function(){SDG.getAdServer().executeGenericPreparation(e)})}),SDG.logDebug("#!L75!#",[n]),i.forEach(function(e){e.getFlag("dfpLoadedOnce")?t.push(e):(e.setFlag("dfpLoadedOnce",!0),e.getContainer()&&window.googletag.cmd.push(function(){!0===o.checkStatusForCMPListener(r)?window.addEventListener("metaTagSystemCmpConsentAvailable",function(){window.googletag.cmd.push(function(){SDG.getAdServer().displaySlot(e)})}):(e.setFlag("dfpLoadedOnce",!0),window.googletag.cmd.push(function(){SDG.getAdServer().displaySlot(e)}))}))}),0!==t.length&&this.sendRefreshCommand(t,e)},executeGenericPreparation:function(e){return e.executePreCallSetup()&&this.updateLocalTargeting(e)},sendRefreshCommand:function(e,i){window.googletag.cmd.push(function(){var t=[],o=[];e.forEach(function(e){t.push(e.gptSlot),o.push(e.getName())}),SDG.logNotice("#!L76!#",o.toString()),i&&(SDG.getAdServer()._correlatorTimestamp=(new Date).getTime()),window.googletag.pubads().refresh(t,{changeCorrelator:i})})},finalizeSlots:function(){this._isSlotLayoutFinished||(this._isSlotLayoutFinished=!0,SDG.logDebug("#!L77!#"),this.loadAdServerSlots(!0))},getAdCallHtml:function(e,t){return SDG.logNotice("#!L78!#",[e,t]),!0},readyMultiAdServerCall:function(e){return SDG.logNotice("#!L79!#",e),!0},returnMobileBreakpoint:function(){var e=this._kernel.common.mobileBreakpoint;return e?parseFloat(e):0},deleteAdserverPlacement:function(e){return window.googletag.cmd.push(function(){window.googletag.destroySlots([e.gptSlot])}),e.setFlag("dfpLoadedOnce",!1),!0},setupPlacementInGpt:function(e){"object"!=typeof e.gptSlot&&void 0!==e.loadType&&this._loadTypes[e.loadType]?(this._loadTypes[e.loadType].call(this,e),e.setFlag("zoneReload",!1)):"object"==typeof e.gptSlot&&!0===this._zoneReset&&!0===e.getFlag("zoneReload")&&(e.setFlag("zoneReload",!1),!0===this.deleteAdserverPlacement(e)&&this._loadTypes[e.loadType].call(this,e))},checkStatusForCMPListener:function(e){var t=e.active,o=e.nonIABCMP,i=SDG.CONFIG.STATES.FULL_CONSENT_DATA_AVAILABLE;return!0===t&&(!1===o&&!1===i)},updateLocalTargeting:function(e){for(var t in e.localTargeting)e.localTargeting.hasOwnProperty(t)&&e.gptSlot.setTargeting(t,e.localTargeting[t]);return!0},removeLocalTargetingKey:function(e,t){"object"==typeof e.gptSlot&&e.gptSlot.clearTargeting(t)},setPlacementAsynchron:function(e){return SDG.logDebug("#!L80!#",e),!0},wrapInFriendlyIframe:function(e){return SDG.logDebug("#!L81!#",e),!0},getSlotForEvent:function(e){var t=void 0!==e.slot.getSlotElementId()&&e.slot.getSlotElementId();return!1!==t&&void 0!==SDG.getCN().getPlacementByAdServerContainerId(t)?SDG.getCN().getPlacementByAdServerContainerId(t):null},getWebsiteNameForPlacement:function(e){var t=SDG.KERNEL.common;return e._posConfig.isMobileSlot?t.dfpMobileName:t.dfpDesktopName},getAdServerContainerForPlacement:function(e){var t,o,i,n;if(this.useSynchronTags)return document.querySelector("#"+e.getAdServerNodeId()+"_ad_container");for(i in t="object"==typeof(o=e.getAdServerNode())&&o.nodeName?o.childNodes:[])if(t.hasOwnProperty(i)&&"object"==typeof t[i]&&"function"==typeof t[i].getAttribute&&t[i].getAttribute("id")&&-1<t[i].getAttribute("id").indexOf("__container__")){n=t[i];break}return n},getDfpIframeForPlacement:function(e){for(var t,o=this.getAdServerContainerForPlacement(e),i="object"==typeof o?o.childNodes:[],n=0;i.length-1>=n;n++)if(i[n].nodeType&&1===i[n].nodeType&&"IFRAME"===i[n].tagName&&-1<i[n].id.indexOf("google_ads_iframe")){t=i[n];break}return t},displaySlot:function(e){window.googletag.display(e.getAdServerNodeId())},setProfileDataUsage:function(e){var t=!1===e?1:0;1==t&&window.googletag.cmd.push(function(){SDG.logDebug("#!L82!#"),window.googletag.pubads().setRequestNonPersonalizedAds(t)})},resizeAdServerContainers:function(e,t,o){var i;return(i=this.getDfpIframeForPlacement(e)).width=t,i.height=o,!0},getLoadQueue:function(){return this.getController().getSlotLoadQueue().filter(function(e){return""!==e})},removeFromLoadQueue:function(e){return!0===SDG.KERNEL.getValueForModule("TTRACKER","active")&&SDG.getTTracker().removeFromPlacementQueue(e),this.getController().removeSlotFromLoadQueue(e)},getController:function(){return SDG.getCN()},checkGoogleVendorFromCache:function(o,e){var i=this;if(void 0!==e)i.checkGoogleVendor(e,o);else{var t=SDG.KERNEL.userConsent.consentCache;t?(e=t,i.checkGoogleVendor(e,o)):(SDG.logError("#!L83!#"),window.__tcfapi("getTCData",2,function(e,t){t?i.checkGoogleVendor(e,o):SDG.logError("#!L84!#")}))}},checkGoogleVendor:function(e,t){if(!0===e.gdprApplies){var o=e.vendor.consents[t],i=e.vendor.legitimateInterests[t];void 0!==o?(SDG.logDebug("CMP: Google Advertising Products consent: "+o),void 0!==i?SDG.logDebug("CMP: Google Advertising Products legitimate interest: "+i):SDG.logDebug("#!L85!#")):void 0!==i?(SDG.logDebug("#!L86!#"),SDG.logDebug("CMP: Google Advertising Products legitimate interest: "+i)):(SDG.logError("#!L87!#"),SDG.logError("#!L88!#"))}else SDG.logError("#!L89!#")}},SDG.modStore().GoogleQueueDfp=function(){"use strict";var e=this;!0===SDG.Publisher.getConfig().getValueForModule("TTRACKER","active")&&SDG.getTTracker().addToLogCollection("dfp"),SDG.Publisher.addKeyValue("flag","gamqc"),e._pubconf=SDG.core().get(SDG.CONFIG.MODULES.PUBLISHER_CONFIG),e._kernel=SDG.KERNEL,e._adserverConfig=this._kernel.adserver.dfp.config,e.useAsynchronTags=!e._adserverConfig.useSingleRequest,e.useSingleRequest=e._adserverConfig.useSingleRequest,e.fullConsentEventFired=!1,e._defaultLoadType="standardGpt",e._firstCall=!0,e._keywordStorage=[],e._adserverConfigEntry="dfp",e._renewNextCorrelator=!1,e._adServerName="Google AdManager",e._isSlotLayoutFinished=!1,e._criticalLoadEventMissing=!0,e._sraQueue=[],e._firstZoneSet=!0,e._zoneReset=!1,e._loadQueue=[],e._loadTypes={instance:this,standardGpt:function(e){e.loadType="standardGpt",window.googletag.cmd.push(function(){SDG.logDebug("#!L90!#",e.getName().toUpperCase()),e.gptSlot=window.googletag.defineSlot(SDG.getAdServer().returnDfpPath(e),e.sizeParams.sizeArray,e.getAdServerNodeId()).addService(window.googletag.pubads())})},outOfPageGpt:function(e){e.loadType="outOfPageGpt",window.googletag.cmd.push(function(){SDG.logDebug("#!L91!#",e.getName().toUpperCase()),e.gptSlot=window.googletag.defineOutOfPageSlot(SDG.getAdServer().returnDfpPath(e),e.getAdServerNodeId()).addService(window.googletag.pubads())})}},e._loadSlotNumber=parseFloat(this._kernel.common.sequenceSlotCount)?parseFloat(this._kernel.common.sequenceSlotCount)+1:1,window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],e._adserverConfig.loadGptScript&&(SDG.KERNEL.getValueForModule("CONSENTMANAGER","active")&&!1===SDG.KERNEL.getValueForModule("CONSENTMANAGER","nonIABCMP")&&!0===e._adserverConfig.delayScriptCallUntilConsent?window.addEventListener("metaTagSystemCmpConsentAvailable",function(){!1===e.fullConsentEventFired&&(e.fullConsentEventFired=!0,e.loadDfpScript())}):e.loadDfpScript()),window.addEventListener("metaTagSystemZoneSet",function(){var e,t=SDG.getAdServer();if(!0===t._firstZoneSet)t._firstZoneSet=!1;else{for(var o in SDG.logDebug("#!L92!#"),t._zoneReset=!0,e=SDG.getCN().Slots)e.hasOwnProperty(o)&&e[o].setFlag("zoneReset",!0);(new Date).getTime()-t._correlatorTimestamp<1e4&&(SDG.logDebug("#!L93!#"),t.renewCorrelator())}}),SDG.getCN().getPlacementByDfpSize=function(e,t){var o,i,n,r=SDG.getCN().getSlotStore();for(var a in e="number"!=typeof e?parseFloat(e):e,t="number"!=typeof t?parseFloat(t):t,r)if(r.hasOwnProperty(a))for(i in(o=r[a]).sizeParams.sizeArray)if(o.sizeParams.sizeArray.hasOwnProperty(i)&&(n=o.sizeParams.sizeArray[i])[0]===e&&n[1]===t)return o;return!1}},SDG.modStore().GoogleQueueDfp.prototype={init:function(){var i=this,t=SDG.CONFIG,n=SDG.KERNEL.getModule("CONSENTMANAGER"),o=window.googletag;o.cmd.push(function(){i.updateKeyValues(),i.updateKeywords()}),SDG.core().set(SDG.CONFIG.MODULES.ADXPOSITIONS,function(){return new SDG[SDG.CONFIG.SYSTEM.MODULESTORE].adxPosition}),SDG.core().set(SDG.CONFIG.MODULES.STICKYPLACEMENT,function(){return new SDG[SDG.CONFIG.SYSTEM.MODULESTORE].stickyPlacements}),o.cmd.push(function(){var e=n.externalConsent,o=i._adserverConfig.iabVendorId;!1===e&&i.setProfileDataUsage(e),!0===n.active&&!1===n.nonIABCMP&&(!1===t.STATES.FULL_CONSENT_DATA_AVAILABLE?window.addEventListener("metaTagSystemCmpConsentAvailable",function(e){var t=e.detail.passedObject;i.checkGoogleVendorFromCache(o,t)}):i.checkGoogleVendorFromCache(o))}),i._adserverConfig.safeframeSandbox&&o.cmd.push(function(){SDG.logDebug("#!L94!#"),window.googletag.pubads().setSafeFrameConfig({sandbox:!0})}),i._adserverConfig.setCentering&&o.cmd.push(function(){SDG.logDebug("#!L95!#"),window.googletag.pubads().setCentering(!0)}),i._adserverConfig.fetchAdsSerially&&o.cmd.push(function(){SDG.logInfo("#!L96!#"),window.googletag.pubads().setFetchAdsSerially(!0)}),window.addEventListener("metaTagSystemSlotContainerAvailable",function(e){var t=e.detail.placement;o.cmd.push(function(){"object"==typeof t.gptSlot&&SDG.getAdServer().loadSlotForFirstTime(t)})}),i.useAsynchronTags&&(SDG.Publisher.addKeyValue("tagtype","async"),o.cmd.push(function(){SDG.logInfo("#!L97!#"),window.googletag.pubads().enableAsyncRendering()})),i.useSingleRequest&&(SDG.Publisher.addKeyValue("tagtype","sra"),i._adserverConfig.skipContentLoaded||window.document.addEventListener("DOMContentLoaded",function(){SDG.Publisher.finalizeSlots()}),o.cmd.push(function(){SDG.logInfo("#!L98!#"),window.googletag.pubads().enableSingleRequest()})),i._adserverConfig.collapseEmptyDivs&&(i._adserverConfig.collapseDivsBeforeFetch?o.cmd.push(function(){SDG.logDebug("#!L99!#"),window.googletag.pubads().collapseEmptyDivs(!0,!0)}):o.cmd.push(function(){SDG.logDebug("#!L100!#"),window.googletag.pubads().collapseEmptyDivs(!0,!1)})),o.cmd.push(function(){window.googletag.pubads().addEventListener("slotRequested",function(e){var t=i.getSlotForEvent(e);null!==t&&t.sendPlacementCallingEvent()}),window.googletag.pubads().addEventListener("slotResponseReceived",function(e){var t=i.getSlotForEvent(e);null!==t&&t.loadProcessResponded()}),window.googletag.pubads().addEventListener("slotRenderEnded",function(e){var t=i.getSlotForEvent(e);null!==t&&(t.updatePlacementParameters({adserver:{lastAdServer:"doubleclick",advertiserId:e.advertiserId,orderId:e.campaignId,creativeId:e.creativeId,lineItemId:e.lineItemId,isEmpty:e.isEmpty,size:e.size?e.size.toString().replace(",","x"):0,websiteName:i.getWebsiteNameForPlacement(t)},doubleclick:{advertiserId:e.advertiserId,orderId:e.campaignId,creativeId:e.creativeId,labelIds:e.labelIds,lineItemId:e.lineItemId,isEmpty:e.isEmpty,serviceName:e.serviceName,size:e.size?e.size.toString().replace(",","x"):0,redirectCreativeId:e.sourceAgnosticCreativeId,redirectLineItemId:e.sourceAgnosticLineItemId,websiteName:i.getWebsiteNameForPlacement(t)}}),t.setFrameWindow(i.getDfpIframeForPlacement(t)),t.loadProcessRenderedResponse(),null!==e.size&&t.reportAdDelivery(e.size[0],e.size[1]),e.isEmpty&&(t.reportDefaultDelivery(),t.loadProcessDone()))}),window.googletag.pubads().addEventListener("slotOnload",function(e){var t=i.getSlotForEvent(e);null!==t&&(t.getIdsForSystem("adserver").lastSsp||t.setIdsForSystem("adserver",{lastSsp:"adexchange"}),t.setFrameWindow(i.getDfpIframeForPlacement(t)),t.loadProcessDone())})}),window.addEventListener("metaTagSystemBeforeLoadAll",function(){o.cmd.push(function(){void 0===window.googletag.pubadsReady?(SDG.logInfo("#!L101!#"),window.googletag.enableServices()):SDG.logInfo("#!L102!#")})})},loadDfpScript:function(){var e=document.getElementsByTagName("head")[0];SDG.getUtil().loadScript("//securepubads.g.doubleclick.net/tag/js/gpt.js",e,function(){!0===SDG.Publisher.getConfig().getValueForModule("TTRACKER","active")&&SDG.getTTracker().stopTracking("dfp",Date.now()),SDG.logNotice("#!L103!#",[e])},!1)},returnDfpPath:function(e){var t=this._pubconf.getZoneExtension(),o=this._pubconf.getPageType();if("object"==typeof e){var i=this._kernel.getPosition(e.getName()),n=i.dfpZonePostfix,r=i.dfpPostUnit;return this.getDfpNetwork(e.getName())+"/"+this.getDfpWebsiteName(e.getName())+"/"+e.getZone()+(""!==t?"/"+t:"")+(""!==o?"_"+o:"")+(n||"")+(r?"/"+r:"")}if("string"==typeof e){var a=SDG.KERNEL.getPosition(e);return this.getDfpNetwork(e)+"/"+this.getDfpWebsiteName(e)+"/"+this._pubconf.getZone()+(""!==t?"/"+t:"")+(""!==o?"_"+o:"")+(a.dfpZonePostfix?a.dfpZonePostfix:"")+(a.dfpPostUnit?"/"+a.dfpPostUnit:"")}},getDfpNetwork:function(e){var t=this._kernel.common;return this._kernel.getValueForPosition(e,"isMobileSlot")&&t.dfpMobileName?t.dfpMobileNetwork:t.dfpDesktopNetwork},getDfpWebsiteName:function(e){var t=this._kernel.common;return this._kernel.getValueForPosition(e,"isMobileSlot")&&t.dfpMobileName?t.dfpMobileName:t.dfpDesktopName},returnAdServerPlacementName:function(e){var t="/"+this.returnDfpPath(e)+"/"+e.getName();return 128<t.length&&SDG.logAlert("#!L104!#",t),t},finishPlacementConstruction:function(e){var t=this._kernel.getPosition(e.getName());e.loadType=t.dfpTagType?t.dfpTagType:this._defaultLoadType,this.constructSizeArray(e),parseFloat(t.sequenceSlot)?parseFloat(t.sequenceSlot):(e.sequenceSlot=this._loadSlotNumber,this._loadSlotNumber++),e.setFlag("slotConstructed",!0)},constructSizeArray:function(e){var t,o=this._kernel.getPosition(e.getName()),i=o.formatMap,n=o.dfpSizes,r=[];for(t in i)i.hasOwnProperty(t)&&0!==i[t].length&&(r=r.concat(i[t]));void 0!==n&&(r=r.concat(n)),e.sizeParams.sizeArray=this.deleteDuplicateSizes(r)},deleteDuplicateSizes:function(e){var t,o={},i=[];for(t=0;e.length>t;t++)!1===o.hasOwnProperty(e[t][0]+"x"+e[t][1])&&(o[e[t][0]+"x"+e[t][1]]=!0,i.push(e[t]));return i},updateKeyValues:function(){window.googletag.cmd.push(function(){var e,t=SDG.getPUB().getConfig().getKeyValues();for(e in t)t.hasOwnProperty(e)&&window.googletag.pubads().setTargeting(e,t[e]);SDG.logDebug("#!L105!#")})},updateKeywords:function(){window.googletag.cmd.push(function(){window.googletag.pubads().setTargeting("keywords",SDG.getPUB().getConfig().getKeywords()),SDG.logDebug("#!L106!#")})},sendKeyValueUpdate:function(e){window.googletag.cmd.push(function(){window.googletag.pubads().setTargeting(e,SDG.getPUB().getConfig().getKeyValues()[e]),SDG.logDebug("#!L107!#",[e])})},sendKeyValueRemove:function(e){window.googletag.cmd.push(function(){window.googletag.pubads().clearTargeting(e)})},loadAdServerSlots:function(e){var t=e.getSlots(),o=!1;!0!==this.checkQueueCorrelatorStatus(e)&&!0!==this._renewNextCorrelator||(o=!(this._renewNextCorrelator=!1)),0<t.length&&(this.registerQueueSlotsWithGPT(e),this.processAdSlots(o,e))},registerQueueSlotsWithGPT:function(e){e.getSlots().forEach(function(e){this.finishPlacementConstruction(e),this.setupPlacementInGpt(e),e.executePreCallSetup()},this)},processAdSlots:function(e,t){var o=[],i=[],n=this,r=t.getSlots();r.forEach(function(e){window.googletag.cmd.push(function(){n.updateLocalTargeting(e)}),i.push(e.getName())},this),SDG.logDebug("#!L108!#",[i]),window.googletag.cmd.push(function(){!0===e?(SDG.logDebug("#!L109!#",t.name),n.renewCorrelator()):SDG.logDebug("#!L110!#",t.name)}),r.forEach(function(e){!0===SDG.Publisher.getConfig().getValueForModule("TTRACKER","active")&&SDG.getTTracker().removeFromPlacementQueue(e),!0!==e.getFlag("dfpLoadedOnce")?this.checkSlotContainerAndLoadFirstTime(e):o.push(e)},this),0!==o.length&&this.sendRefreshCommand(o)},checkSlotContainerAndLoadFirstTime:function(e){!0!==this.useAsynchronTags||null!==e.getContainer()?this.loadSlotForFirstTime(e):SDG.logDebug("#!L111!#",e.getName().toUpperCase())},checkQueueCorrelatorStatus:function(e){var t,o;return!(!(t=!0===e.connected?e.connectedQueue:e).hasOwnProperty("correlator")||!0!==(o=t.correlator).renew||!1!==o.changed)&&(o.changed=!0)},loadSlotForFirstTime:function(e){var t=this,o=SDG.KERNEL.getModule("CONSENTMANAGER");!0===this.checkStatusForCmpListener(o)?window.addEventListener("metaTagSystemCmpConsentAvailable",function(){e.setFlag("dfpLoadedOnce",!0),window.googletag.cmd.push(function(){t.displaySlot(e)})}):(e.setFlag("dfpLoadedOnce",!0),window.googletag.cmd.push(function(){t.displaySlot(e)}))},checkStatusForCmpListener:function(e){var t=e.active,o=e.nonIABCMP,i=SDG.CONFIG.STATES.FULL_CONSENT_DATA_AVAILABLE;return!0===t&&(!1===o&&!1===i)},sendRefreshCommand:function(e){window.googletag.cmd.push(function(){var t=[],o=[];e.forEach(function(e){t.push(e.gptSlot),o.push(e.getName())},this),SDG.logNotice("#!L112!#",o.toString()),window.googletag.pubads().refresh(t,{changeCorrelator:!1})})},renewCorrelator:function(){this._correlatorTimestamp=(new Date).getTime(),SDG.logDebug("#!L113!#"),window.googletag.pubads().updateCorrelator()},finalizeSlots:function(){this._isSlotLayoutFinished||(this._isSlotLayoutFinished=!0,SDG.logDebug("#!L114!#"))},getAdCallHtml:function(e,t){return SDG.logNotice("#!L115!#",[e,t]),!0},readyMultiAdServerCall:function(e){return SDG.logNotice("#!L116!#",e),!0},returnMobileBreakpoint:function(){var e=this._kernel.common.mobileBreakpoint;return e?parseFloat(e):0},deleteAdserverPlacement:function(e){return window.googletag.cmd.push(function(){window.googletag.destroySlots([e.gptSlot])}),e.setFlag("dfpLoadedOnce",!1),!0},setupPlacementInGpt:function(e){"object"!=typeof e.gptSlot&&void 0!==e.loadType&&this._loadTypes[e.loadType]?(this._loadTypes[e.loadType].call(this,e),e.setFlag("zoneReset",!1)):"object"==typeof e.gptSlot&&!0===this._zoneReset&&!0===e.getFlag("zoneReset")&&(e.setFlag("zoneReset",!1),!0===this.deleteAdserverPlacement(e)&&this._loadTypes[e.loadType].call(this,e))},updateLocalTargeting:function(e){for(var t in e.localTargeting)e.localTargeting.hasOwnProperty(t)&&void 0!==e.gptSlot&&e.gptSlot.setTargeting(t,e.localTargeting[t]);return!0},removeLocalTargetingKey:function(e,t){"object"==typeof e.gptSlot&&e.gptSlot.clearTargeting(t)},setPlacementAsynchron:function(e){return SDG.logDebug("#!L117!#",e),!0},wrapInFriendlyIframe:function(e){return SDG.logDebug("#!L118!#",e),!0},getSlotForEvent:function(e){var t=void 0!==e.slot.getSlotElementId()&&e.slot.getSlotElementId();return!1!==t&&void 0!==SDG.getCN().getPlacementByAdServerContainerId(t)?SDG.getCN().getPlacementByAdServerContainerId(t):null},getWebsiteNameForPlacement:function(e){var t=SDG.KERNEL.common;return e._posConfig.isMobileSlot?t.dfpMobileName:t.dfpDesktopName},getAdServerContainerForPlacement:function(e){var t,o,i,n;if(this.useSynchronTags)return document.querySelector("#"+e.getAdServerNodeId()+"_ad_container");for(i in t="object"==typeof(o=e.getAdServerNode())&&o.nodeName?o.childNodes:[])if(t.hasOwnProperty(i)&&"object"==typeof t[i]&&"function"==typeof t[i].getAttribute&&t[i].getAttribute("id")&&-1<t[i].getAttribute("id").indexOf("__container__")){n=t[i];break}return n},getDfpIframeForPlacement:function(e){for(var t,o=this.getAdServerContainerForPlacement(e),i="object"==typeof o?o.childNodes:[],n=0;i.length-1>=n;n++)if(i[n].nodeType&&1===i[n].nodeType&&"IFRAME"===i[n].tagName&&-1<i[n].id.indexOf("google_ads_iframe")){t=i[n];break}return t},setProfileDataUsage:function(e){var t=!1===e?1:0;1==t&&window.googletag.cmd.push(function(){SDG.logDebug("#!L119!#"),window.googletag.pubads().setRequestNonPersonalizedAds(t)})},displaySlot:function(e){window.googletag.display(e.getAdServerNodeId())},resizeAdServerContainers:function(e,t,o){var i;return(i=this.getDfpIframeForPlacement(e)).width=t,i.height=o,!0},getController:function(){return SDG.getCN()},checkGoogleVendorFromCache:function(o,e){var i=this;if(void 0!==e)i.checkGoogleVendor(e,o);else{var t=SDG.KERNEL.userConsent.consentCache;t?(e=t,i.checkGoogleVendor(e,o)):(SDG.logError("#!L120!#"),window.__tcfapi("getTCData",2,function(e,t){t?i.checkGoogleVendor(e,o):SDG.logError("#!L121!#")}))}},determineTransitionAdCallState:function(){!0===SDG.getUtil().checkOS().isMobile?void 0!==window.googletag.pubadsReady?0===window.googletag.pubads().getSlots().length?(SDG.logDebug("#!L122!#"),this.setupTransitionAds(!0)):(SDG.logDebug("#!L123!#"),this.setupTransitionAds(!1)):(SDG.logDebug("#!L124!#"),this.setupTransitionAds(!0)):SDG.logDebug("#!L125!#")},setupTransitionAds:function(e){if(!0===e){var t=!1;SDG.logDebug("#!L126!#"),window.addEventListener("metaTagSystemSlotDone",function(){!1===t&&(SDG.logDebug("#!L127!#"),SDG.getAdServer().loadTransitionAds(),t=!0)})}else this.loadTransitionAds()},loadTransitionAds:function(){var t=this.returnDfpPath("transitionAd");window.googletag.cmd.push(function(){var e=window.googletag.defineOutOfPageSlot(t,window.googletag.enums.OutOfPageFormat.INTERSTITIAL);e.addService(window.googletag.pubads()),window.googletag.display(e),SDG.logDebug("#!L128!#")})},checkGoogleVendor:function(e,t){if(!0===e.gdprApplies){var o=e.vendor.consents[t],i=e.vendor.legitimateInterests[t];void 0!==o?(SDG.logDebug("CMP: Google Advertising Products consent: "+o),void 0!==i?SDG.logDebug("CMP: Google Advertising Products legitimate interest: "+i):SDG.logDebug("#!L129!#")):void 0!==i?(SDG.logDebug("#!L130!#"),SDG.logDebug("CMP: Google Advertising Products legitimate interest: "+i)):(SDG.logError("#!L131!#"),SDG.logError("#!L132!#"))}else SDG.logError("#!L133!#")}},SDG.modStore().StroeerSSP=function(){"use strict";this._pubconf=SDG.core().get(SDG.CONFIG.MODULES.PUBLISHER_CONFIG),this._firstCall=!0,this._adserverConfigEntry="sssp",this._adServerName="StroeerSSP",this._loadQueue=[],this._loadTypes={instance:this,adblock:function(e){e.loadType="adblocker"}},this._loadSlotNumber=parseFloat(this._pubconf.getCommonValue("sequenceSlotCount"))?parseFloat(this._pubconf.getCommonValue("sequenceSlotCount"))+1:1,SDG.logNotice("#!L134!#"),this._pubconf.setValueForModule("PREBID","active",!1),SDG.getCN()._activeHeaderBidder=!1},SDG.modStore().StroeerSSP.prototype={loadAdServerSlots:function(e){var o=this;0<e.getSlots().length&&e.getSlots().forEach(function(e){e.getContainer()?!0!==e.getStatus("loaded")&&o.renderSlot(e):window.addEventListener("metaTagSystemSlotContainerAvailable",function(e){var t=e.detail.placement;!0!==t.getStatus("loaded")&&o.renderSlot(t)})})},renderSlot:function(e){var t=this.getParams(),o=t.isPreview,i=t.adSlot,n=this.getEndpoint(),r=e.getAdServerNode(),a=this.paramsObj.creativeId,s="metatag-preview:"+e.getName(),l=document.createElement("script"),d=document.createElement("script"),c=document.createElement("script");if(SDG.getAdServer().finishPlacementConstruction(e),e.getName()!==i)return SDG.logNotice("#!L135!#"),!1;e.executePreCallSetup()&&(o?(l.id="m6r-"+s,l.type="text/javascript","old"===SDG.KERNEL.adserver.sssp.useEndpoint?l.src=n+a+"&id="+s+"&checkcookies=true":l.src=n+a+"/preview",r.appendChild(l)):(d.type="text/javascript",d.innerHTML='var adscale_slot_id = "'+this.paramsObj.slotID+'"',r.appendChild(d),c.type="text/javascript",c.src="https://js.adscale.de/getads.js",r.appendChild(c)),e.setStatus("loaded",!0),e.loadProcessResponded())},getEndpoint:function(){var e=SDG.KERNEL.adserver.sssp;switch(e.useEndpoint){case"old":return e.config.endpointOld;case"dev":return e.config.endpointDev;case"prod":return e.config.endpointProd}},getParams:function(){var e,t,o,i,n=window.location.search.substring(1).split("&");if(this.paramsObj={},0!==n.length){for(e=0;e<n.length;e++)t=(i=n[e].split("="))[0],o=decodeURIComponent(i[1]),""!==t&&""!==o&&(this.paramsObj[t]=o);return this.paramsObj}},returnAdServerPlacementName:function(e){return e.getName()+"ssspId-"+this._pubconf.getValueForPosition(e.getName(),"ssspSlotId")},finishPlacementConstruction:function(e){parseFloat(this._pubconf.getValueForPosition(e.getName(),"sequenceSlot"))?parseFloat(this._pubconf.getValueForPosition(e,"sequenceSlot")):(e.sequenceSlot=this._loadSlotNumber,this._loadSlotNumber++),e.setFlag("slotConstructed",!0)},updateKeywords:function(){},sendKeyValueUpdate:function(e){},sendKeyValueRemove:function(e){},sdgEmptyResponse:function(){try{window.parent.postMessage("slot_"+this.paramsObj.slotName+"_is_empty","*")}catch(e){SDG.log(e,"#!L136!#")}},executeGenericPreparation:function(e){return e.executePreCallSetup()&&this.updateLocalTargeting(e)},getAdServerContainerForPlacement:function(e){return document.getElementById(e.getName()+"_sssp")},resizeAdServerContainers:function(e,t,o){var i;return(i=this.getAdServerContainerForPlacement(e)).width=t,i.height=o,!0},getAdCallHtml:function(e,t){var o={slotid:this._pubconf.getValueForPosition(e,"ssspSlotId")};return new SDG[SDG.CONFIG.SYSTEM.UTILITY].Template(this._pubconf.getTemplateForType(t)).render(o)},readyMultiAdServerCall:function(e){return SDG.logNotice("#!L137!#",e),!0},hideSspSlot:function(e){var t=e.match(/slot_([A-Za-z0-9-_]+)_is_empty/);Array.isArray(t)&&1<t.length&&SDG.getCN().getPlacementByPosition(t[1]).reportDefaultDelivery()},finalizeSlots:function(){},deleteAdserverPlacement:function(e){return SDG.logDebug("#!L138!#",e),!0},setPlacementAsynchron:function(e){return SDG.logDebug("#!L139!#",e),!0},wrapInFriendlyIframe:function(e){return e.setFlag("activeFriendlyIframe",!0),!0},getWaitQueue:function(){return this.getController().getSlotWaitQueues().filter(function(e){return""!==e})},removeFromLoadQueue:function(e){return this.getController().removeSlotFromLoadQueue(e)},getController:function(){return SDG.getCN()}},SDG.modStore().AudienceProjectPixel=function(){var e,t=this,o=SDG.KERNEL.getModule("AUDIENCEPIXEL"),i=SDG.KERNEL.getModule(["CONSENTMANAGER"]),n=SDG.KERNEL.userConsent.consentCache;if(void 0!==o.customerID?t.customerID=o.customerID:t.customerID="osds",void 0!==o.iabVendorId?t.iabVendorId=o.iabVendorId:t.iabVendorId=394,void 0!==o.timeoutTime?t.timeoutTime=o.timeoutTime:t.timeoutTime=2e3,e="consent"===o.legalBase,!0===i.active&&!1===i.nonIABCMP)if(!0===n.hasOwnProperty("gdprApplies")){if(!0===n.gdprApplies){var r=n.vendor.consents[t.iabVendorId];t.initialize(r)}}else window.addEventListener("metaTagSystemCmpConsentAvailable",function(){SDG.getUtil().hasVendorConsent(t.iabVendorId,function(e){t.initialize(e)},e)});else t.initialize()},SDG.modStore().AudienceProjectPixel.prototype={initialize:function(e){var t=this;t.disablePersonalisation=void 0!==e?!e:"",t.loadAudienceProjectPredictions(t.customerID,function(e){SDG.logDebug("#!L140!#"),t.passKeyValues(e)},{disablePersonalisation:t.disablePersonalisation})},loadAudienceProjectPredictions:function(e,t,o){var i=(o=o||{}).timeout||1e3,n="",r=document.referrer,a="",s="pdw-usr.userreport.com",l=window.location.origin||window.document.origin;if(r&&l&&-1===r.indexOf(l)){n=r;try{window.localStorage.setItem("apr_sref",n)}catch(e){SDG.logDebug("#!L141!#")}}if(!1!==o.disablePersonalisation)s="dnt-userreport.com";else try{a=window.localStorage.getItem("apr_dsu"),n=window.localStorage.getItem("apr_sref")}catch(e){SDG.logDebug("#!L142!#")}var d="https://"+s+"/"+(window.fetch?"api":"js")+"/v2/partner/"+encodeURIComponent(e)+"/uid?med="+encodeURIComponent(window.location.toString())+"&dsu="+encodeURIComponent(a||"")+"&ref="+encodeURIComponent(r||"")+"&sref="+encodeURIComponent(n||"")+"&gdpr="+encodeURIComponent(o.gdprApplies||"")+"&gdpr_consent="+encodeURIComponent(o.consentString||"");if(o.extra)for(var c in o.extra)o.extra.hasOwnProperty(c)&&(d+="&"+encodeURIComponent(c)+"="+encodeURIComponent(o.extra[c]));var g=setTimeout(function(){t&&t([]),t=null},i);if("function"==typeof window.fetch)fetch(d,{credentials:"include"}).then(function(e){return clearTimeout(g),e.json()}).then(function(e){window.apDataKeyValues=e.keyValues,t&&t(e.keyValues||[]),t=null}).catch(function(){clearTimeout(g),t&&t([]),t=null});else{var u=window.document.createElement("script");u.src=d,u.async=!0,u.onload=function(){clearTimeout(g),t&&t(window.apDataKeyValues),t=null},u.onerror=function(){clearTimeout(g),t&&t({}),t=null};var S=document.getElementsByTagName("script")[0]||document.body||document.head;S.parentNode.insertBefore(u,S)}!0!==o.disablePersonalisation&&this.apLauncher()},apLauncherExec:function(){var e,t=document.createElement("script");t.setAttribute("src","https://sak.userreport.com/sdm/launcher.js"),t.setAttribute("defer",""),t.id="userreport-launcher-script",t.setAttribute("type","text/javascript"),(e=document.getElementsByTagName("script")[0]).parentNode.insertBefore(t,e)},apLauncher:function(){var e=this;setTimeout(function(){e.apLauncherExec()},e.timeoutTime)},passKeyValues:function(e){var t=[];if(void 0!==e||e==={}){for(var o in e)e.hasOwnProperty(o)&&t.push(o+"-"+e[o]);SDG.Publisher.addKeyValues({nuggad:t})}else SDG.Publisher.addKeyValues({nuggad:"empty-response"}),SDG.logDebug("#!L143!#")}},SDG.modStore().ConsentFramework20=function(e){"use strict";var t=this;SDG.CONFIG.STATES.USE_CONSENT_DATA=!0,window.sdgCstmVenInt=!0,t._configParams=e,t._firstCmpCall=!0,t._externalCMP="boolean"==typeof e.externalCMP&&e.externalCMP,t._cmpCallbacks={eventListenerIds:[]},t.frameworkVersion=SDG.KERNEL.userConsent.frameworkVersion=2,!1===e.nonIABCMP&&t.checkCmpInterface(),!1===t._externalCMP&&t.setupSourcePoint(),!0===SDG.KERNEL.getValueForModule("TTRACKER","active")&&SDG.getTTracker().addToLogCollection("sourcepoint")},SDG.modStore().ConsentFramework20.prototype={checkCmpInterface:function(){return"function"!=typeof window.__tcfapi?this.addCmpInterface():this.sendTcfInterfaceAvailableEvent(),window.__tcfapi("addEventListener",2,this.cmpReportsEvent.bind(this)),!0},addCmpInterface:function(){var a,e=window,s=this;if(e!==window.top&&"function"!=typeof e.__tcfapi){for(SDG.logDebug("#!L144!#");e;){try{if(e.frames.__tcfapiLocator){a=e;break}}catch(e){}if(e===e.parent)break;e=e.parent}a?(window.__tcfapi=function(e,t,o,i){if(a){var n=Math.random()+"",r={__tcfapiCall:{command:e,parameter:i,version:t,callId:n}};s._cmpCallbacks[n]=o,"addEventListener"===e&&s._cmpCallbacks.eventListenerIds.push(n),a.postMessage(r,"*")}else o({msg:"CMP not found"},!1)},window.addEventListener("message",s.tcfPostMessageHandler.bind(s),!1),SDG.logDebug("#!L145!#")):SDG.logFatal("#!L146!#")}else"undefined"!=typeof module?module.exports=t:t();function t(){for(var e,n="__tcfapiLocator",r=[],a=window;a;){try{if(a.frames[n]){e=a;break}}catch(e){}if(a===window.top)break;a=a.parent}e||(function e(){var t=a.document,o=!!a.frames[n];if(!o)if(t.body){var i=t.createElement("iframe");i.style.cssText="display:none",i.name=n,t.body.appendChild(i)}else setTimeout(e,5);return!o}(),a.__tcfapi=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];if(!o.length)return r;if("setGdprApplies"===o[0])3<o.length&&2===parseInt(o[1],10)&&"boolean"==typeof o[3]&&(e=o[3],"function"==typeof o[2]&&o[2]("set",!0));else if("ping"===o[0]){var n={gdprApplies:e,cmpLoaded:!1,cmpStatus:"stub"};"function"==typeof o[2]&&o[2](n)}else r.push(o)},a.addEventListener("message",function(i){var n="string"==typeof i.data,e={};try{e=n?JSON.parse(i.data):i.data}catch(i){}var r=e.__tcfapiCall;r&&window.__tcfapi(r.command,r.version,function(e,t){var o={__tcfapiReturn:{returnValue:e,success:t,callId:r.callId}};n&&(o=JSON.stringify(o)),i.source.postMessage(o,"*")},r.parameter)},!1))}s.sendTcfInterfaceAvailableEvent()},setupSourcePoint:function(){var e=SDG.KERNEL,t=e.getModule("CONSENTMANAGER");window._sp_=window._sp_||{},window._sp_=this.createConfigObject(t),SDG.getUtil().loadScript(t.spBaseEndpoint+"/"+t.spControllerFile,document.getElementsByTagName("head")[0],function(){!0===e.getValueForModule("TTRACKER","active")&&SDG.getTTracker().stopTracking("sourcepoint",Date.now())},!1,!1,function(){SDG.logError("#!L147!#")})},createConfigObject:function(e){var t={config:{baseEndpoint:e.spBaseEndpoint,accountId:e.spAccountId,events:{onMessageChoiceError:function(e){SDG.logDebug("#!L148!#",e)},onSPPMObjectReady:function(){}}}};return!0===e.activateURIEncoding&&(t.config.propertyHref=encodeURI(window.location.href)),t},cachingConsentData:function(e){var t=SDG.KERNEL.userConsent;"object"==typeof e&&("boolean"==typeof e.gdprApplies?t.consentCache=e:"object"==typeof e.grants&&(t.consentCacheNonIAB=e),SDG.logDebug("#!L150!#",e))},cmpReportsEvent:function(e,t){var o=this,i=e.eventStatus;t?("tcloaded"!==i&&"useractioncomplete"!==i||(6===e.cmpId&&window.__tcfapi("getCustomVendorConsents",2,function(e,t){t&&o.cachingConsentData(e)}),"useractioncomplete"===i&&o.sendChoiceSelectedEvent(e),o.sendFullConsentAvailableEvent(e)),"cmpuishown"===i&&o.sendUiShownEvent(e)):console.trace('CMP: __tcfapi() event actor reports negative success in handling metaTag "cmpReportsEvent()". No further steps are taken.')},sendTcfInterfaceAvailableEvent:function(){!1===SDG.CONFIG.STATES.TCF_INTERFACE_AVAILABLE&&(SDG.CONFIG.STATES.TCF_INTERFACE_AVAILABLE=!0,SDG.getEventDispatcher().trigger("SDG_CMP_INTERFACE_AVAILABLE"))},sendChoiceSelectedEvent:function(e){!1===SDG.CONFIG.STATES.CMP_CHOICE_SELECTED&&(SDG.CONFIG.STATES.CMP_CHOICE_SELECTED=!0,SDG.getEventDispatcher().trigger("SDG_CHOICE_SELECTED",e),SDG.getEventDispatcher().trigger("SDG_CMP_CHOICE_SELECTED",e))},sendUiShownEvent:function(e){SDG.getEventDispatcher().trigger("SDG_CMP_CHOICE_UI_SHOWN",e)},sendFullConsentAvailableEvent:function(e){!1===SDG.CONFIG.STATES.FULL_CONSENT_DATA_AVAILABLE?(SDG.CONFIG.STATES.FULL_CONSENT_DATA_AVAILABLE=!0,SDG.logDebug("#!L151!#"),this.cachingConsentData(e),this.sendCachedConsentAvailableEvent(),SDG.getEventDispatcher().trigger("SDG_CMP_FULL_CONSENT_AVAILABLE",e)):void 0!==e&&!0===e.hasOwnProperty("gdprApplies")&&this.cachingConsentData(e)},sendCachedConsentAvailableEvent:function(){!1===SDG.CONFIG.STATES.CACHED_CONSENT_AVAILABLE&&(SDG.CONFIG.STATES.CACHED_CONSENT_AVAILABLE=!0,SDG.logDebug("#!L152!#"),SDG.getEventDispatcher().trigger("SDG_CMP_CACHED_CONSENT_AVAILABLE",SDG.KERNEL.userConsent.consentCache.metadata))},addNonIABVendorToConsentList:function(e,t){return SDG.getUtil().setCustomVendorConsent(e,t)},setAdServerConsent:function(e){var t=this,o=SDG.getAdServer(),i=SDG.CONFIG.STATES.USE_CONSENT_DATA;!0===e||!1===e?!0===i?(SDG.KERNEL.setValueForModule("CONSENTMANAGER","externalConsent",e),"object"==typeof o&&SDG.getAdServer().setProfileDataUsage(e),SDG.getUtil().queryCmpStatus(function(e){"object"==typeof e&&!0===e.hasOwnProperty("gdprApplies")&&("stub"!==e.cmpStatus&&"error"!==e.cmpStatus||(SDG.KERNEL.userConsent.consentCache="",t.sendFullConsentAvailableEvent({nonIAB:!0})))}),SDG.logDebug("#!L153!#",e)):SDG.logDebug("#!L154!#",e):SDG.logError("#!L155!#",e)},tcfPostMessageHandler:function(e){var t,o=this._cmpCallbacks;try{t=("string"==typeof e.data?JSON.parse(e.data):e.data).__tcfapiReturn}catch(e){}t&&"function"==typeof o[t.callId]&&(o[t.callId](t.returnValue,t.success),-1===o.eventListenerIds.indexOf(t.callId)&&delete o[t.callId])},getConfig:function(){return SDG.core().get(SDG.CONFIG.MODULES.PUBLISHER_CONFIG)}},SDG.modStore().tagManConverter=function(){"use strict";window.IM={version:2,GlobalAdTag:{setZone:function(e){return SDG.getPUB().setZone(e)},setPageType:function(e){return SDG.getPUB().setPageType(e)},addKeywords:function(e){return SDG.getPUB().addKeywords(e)},addKeyword:function(e){return SDG.getPUB().addKeyword(e)},removeKeywords:function(e){return SDG.getPUB().removeKeywords(e)},removeKeyword:function(e){return SDG.getPUB().removeKeyword(e)},addKeyValue:function(e,t){return SDG.getPUB().addKeyValue(e,t)},addKeyValues:function(e){return SDG.getPUB().addKeyValues(e)},removeKeyValue:function(e,t){return SDG.getPUB().removeKeyValue(e,t)},removeKeyValues:function(e){return SDG.getPUB().removeKeyValues(e)},activateSecureProtocol:function(){return SDG.getPUB().activateSecureProtocol()},activateHeaderBidding:function(){return SDG.getPUB().activateHeaderBidding()},load:function(e){return SDG.getPUB().loadSlot(e)},loadAll:function(e){return SDG.getPUB().loadAllSlots(e)},render:function(e){document.write('<div id="sdgTagManConverterContainer-'+e+'"><script>IM.GlobalAdTag.register("'+e+'","sdgTagManConverterContainer-'+e+'");<\/script></div>')},register:function(e,t,o){var i;if("object"==typeof(t="string"==typeof t?document.querySelector("#"+t):t)&&null!==t){if("string"==typeof t.tagName&&"SCRIPT"===t.tagName){var n=document.createElement("DIV");n.id="sdgDivOverwrite"+SDG.getUtil().generateRandomNumberString(8),t.parentNode.appendChild(n),t=n}}else SDG.logError("#!L156!#",[e]);return"string"==typeof o&&("synchronJs"===o&&(o=!1),"asyncJs"===o&&(o=!0)),o?SDG.getPUB().registerSlot(e,t):(i=SDG.getPUB().registerSlot(e,t))?i.load():void 0},unregister:function(e,t){return SDG.getPUB().unregisterSlot(e,t)},unregisterAll:function(e){return SDG.getPUB().unregisterAllSlots(e)},finalizeCall:function(e,t){return SDG.getCN().getPlacementByAdServerName(e).finalizeCall(t)},buildAd:function(e,t){return SDG.buildAd(e,t)},setupPlacementForRtb:function(){},processRtbFormat:function(){},setInitialLoadMode:function(){},addAdpValues:function(e){return SDG.getPUB().addAdpValues(e)}},Controller:{getPlaceByPos:function(e){return SDG.getCN().getPlacementByPosition(e)},getPosBySizeId:function(e){return SDG.getCN().getPosBySizeId(e)},getPlacementBySizeString:function(e){return SDG.getCN().getPlacementBySizeString(e)},getPlacementByAlias:function(e){return SDG.getCN().getPlacementByAdServerName(e)},getPosByAlias:function(e){return SDG.getCN().getPlacementByAdServerName(e).getName()},Video:{zoneDefinition:{companion_bottom:{status:"empty",div:""},companion_top:{status:"empty",div:""},companion_left:{status:"empty",div:""},companion_right:{status:"empty",div:""}},buildCompanionAd:function(e){var t;switch(e.ResTyp){case"Static":"image/jpeg"!==e.CreaTyp&&"image/gif"!==e.CreaTyp&&"image/png"!==e.CreaTyp||(t='<a href="'+e.ClickThro+'" target="_blank"><img src="'+e.ResCont+'" width="'+e.Width+'" height="'+e.Height+'" alt="'+e.AltText+'" border="0"></a>'),"HTML"===e.CreaTyp&&(t='<a href="'+e.ClickThro+'" target="_blank"><img src="'+e.ResCont+'" width="'+e.Width+'" height="'+e.Height+'" alt="'+e.AltText+'" border="0"></a>'),"application/x-shockwave-flash"===e.CreaTyp&&(t='<object id="adcompanionobject" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+e.Width+'" height="'+e.Height+'" codebase="<a href="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" target="_blank">http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab</a>"><param name="movie" value="'+e.ResCont+'"><param name="wmode" value="opaque"><param name="quality" value="high"><param name="SCALE" value="exactscale"><param name="allowScriptAccess" value="always"><param name="menu" value="false"><param name="flashvars" value="'+e.AdParam+'"><embed src="'+e.ResCont+'" quality="high" width="'+e.Width+'" height="'+e.Height+'" type="application/x-shockwave-flash" pluginspage="<a href="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank">http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash</a>" wmode="opaque" play="true" loop="true" allowscriptaccess="always" scale="exactscale" menu="false" name="adcompanionobject" flashvars="'+e.AdParam+'"></embed></object>');break;case"Iframe":t='<iframe id="imifr" src="'+e.ResCont+'" width="'+e.Width+'" height="'+e.Height+'" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe>';break;case"HTML":t=/script/i.test(e.ResCont)?'<div style="display:none;">Fehlerhaftes CompanionAd, JS gefunden</div>':e.ResCont;break;default:t='<div style="display:none;">Fehlerhaftes CompanionAd, CreaTyp Unbekannt</div>'}return t},insertCompanionAd:function(e,t){var o,i=void 0!==e?e:"",n=!1;if("object"!=typeof this.zoneDefinition[i])return SDG.logError("#!L157!#"),!1;if(n=this.zoneDefinition[i].div){o="string"==typeof n?document.querySelector("#"+n):n;var r=document.createElement("DIV");return r.id="imVideoCompanion-"+i,o.appendChild(r),r.innerHTML=t,this.zoneDefinition[i].status="filled",!0}return!(this.zoneDefinition[i].status="error")}}},Site:{getLocalContentObj:function(e){return SDG.getPUB().getConfig().getContentObject(e)},getSiteAdhesionUnit:function(){return SDG.getUtil().getAdhesionUnit().node}},getGT:function(){return IM.GlobalAdTag},getAds:function(){return SDG.getAdLib()},getCN:function(){return IM.Controller},getSite:function(){return IM.Site}},window.getIM=function(){return IM},window.imVideoAd={activateZone:function(e,t){var o=void 0!==e?e:"",i=void 0!==t?t:"",n=getIM().getCN().Video.zoneDefinition;return"object"==typeof n[o]&&(n[o].status="active",n[o].div=i,!0)}},window.im_companionad_call=function(e,t,o,i,n,r,a,s,l){var d={Width:t,Height:o,ResTyp:i,ResCont:n,CreaTyp:r,AltText:a,ClickThro:s,AdParam:l};return getIM().getCN().Video.insertCompanionAd(e,getIM().getCN().Video.buildCompanionAd(d))},SDG.getPUB().addKeyValue("tagmanversion","200")},SDG.modStore().FormatController={Controller:function(){var t=this;t._publisherBlocks=[],t._zoneBlocked=[],t._ranOnce=!1,t._viewportBuckets=SDG.getUtil().transformViewportBuckets(),t._viewportDimensions=SDG.getUtil().getViewportDimensions(),t._viewPortWidth=t._viewportDimensions.width||0,window.addEventListener("metaTagSystemZoneSet",function(e){t.checkFormatListForZoneBlocks(e.detail.passedObject)}),t.initFormats(JSON.parse(JSON.stringify(SDG.KERNEL.formats)))},FormatMaster:function(e,t,o){var i,n=!1,r=this;for(i in r.name=e,r.controller=o,t)t.hasOwnProperty(i)&&(r[i]=t[i]);"string"==typeof t.connectedTo&&("object"==typeof(n=SDG.KERNEL.formats[t.connectedTo])&&!0===n.hasOwnProperty("availableOn")&&!0===n.active?r.availableOn=n.availableOn:(SDG.KERNEL.formats[e].active=!1,r.active=!1)),!0===Array.isArray(t.blockedZones)&&r.controller._zoneBlocked.push(r),r.useOriginalSizeEverywhere=!!r.useOriginalSizeEverywhere&&r.useOriginalSizeEverywhere,r.availableOn=r.availableOn?r.availableOn:[],void 0!==r.blockedPositions&&(r.countBlockedPositions=t.blockedPositions.length+1),r.countSizesUp=!!r.countSizesUp&&r.countSizesUp,r.countFirstSizeUp=!!r.countFirstSizeUp&&r.countFirstSizeUp,r.customRenderNodeQuery=!!r.customRenderNodeQuery&&r.customRenderNodeQuery,r.useTemplate=r.useTemplate?r.useTemplate:"SingleAd",r.startFormat="function"==typeof r.startFormat&&r.startFormat,r.finishFormat="function"==typeof r.finishFormat&&r.finishFormat,r.slotOccurrenceCount=0,r.blockedByPublisher=!!r.blockedByPublisher&&r.blockedByPublisher,!0===r.active&&r.constructFormatMaps()}},SDG.modStore().FormatController.Controller.prototype={initFormats:function(e){var t,o,i=this.getFormatStore();for(t in SDG.logDebug("#!L158!#"),e)e.hasOwnProperty(t)&&(o=e[t],i[t]=new SDG[SDG.CONFIG.SYSTEM.MODULESTORE].FormatController.FormatMaster(t,o,this))},checkFormatListForZoneBlocks:function(){var t=this,o=t.getConfig().getZone();t._zoneBlocked.forEach(function(e){t.auditForZoneBlock(e,o)})},auditForZoneBlock:function(e,t){!0===e.isBlocked(t)&&this.blockFormat(e.name)},executeFormatBlock:function(e,t){if(!0!==SDG.KERNEL.formats.hasOwnProperty(e))return SDG.logError("#!L159!#",e),!1;this.blockFormat(e,t)},blockFormat:function(e,t){var o;return!1!==(o=this.getFormat(e))&&!1===o.blockedByPublisher&&o.block(t),!0},unblockFormat:function(e){var t;return!1!==(t=this.getFormat(e))&&t.unblock(),!0},resetFormatBlocks:function(){return SDG.Publisher.removeKeyValue("bf"),0!==this._publisherBlocks.length&&this._publisherBlocks.forEach(this.unblockFormat.bind(this)),!0},getFormatStore:function(){return SDG.KERNEL.formats},getFormat:function(e){return!!this.getFormatStore()[e]&&this.getFormatStore()[e]},buildAd:function(e,t){var o;o=e,"function"==typeof t&&(o.callbackOnEnd=t),this.allocateAdToFormat(o)},allocateAdToFormat:function(e){var t,o,i,n=SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES];e.adFormat||e.adType?(i=!e.adFormat&&e.adType?e.adType:e.adFormat?e.adFormat:"notset",(o=this.getFormat(i))?((t=o.evaluateRenderingPlacement(e)).setStatus("usesTemplate",!0),"none"!==o.useTemplate&&("function"==typeof n["template"+o.useTemplate]?o.setup(t,e):this.loadExternalTemplate(o,t,e))):SDG.logError("#!L160!#",i)):SDG.logFatal("#!L161!#",[e])},loadExternalTemplate:function(e,t,o){var i=SDG.getUtil().getSessionStorageData("devTemplate"),n=i?"templates-dev":"templates",r=i?"[DEV]_":"[PROD]_",a=i?".js":".min.js",s=e.useTemplate,l=window.document.head,d="//"+n+".stroeerdigital.de/"+r+s+a;SDG.getUtil().loadScript(d,l,function(){e.setup(t,o),SDG.logDebug("#!L162!#",[s,d])},!1,!1,function(){SDG.logError("#!L163!#",[s,d])})},editFormat:function(e){var t,o,i=SDG.KERNEL.formats;if(e.name){if(this.getFormatStore()[e.name])for(o in t=this.getFormatStore()[e.name],e)e.hasOwnProperty(o)&&"name"!==o&&(t[o]||(t[o]={}),t[o]=e[o]);if(i[e.name])for(o in t=i[e.name],e)e.hasOwnProperty(o)&&"name"!==o&&(t[o]||(t[o]={}),t[o]=e[o])}else SDG.logError("#!L164!#",[e])},searchFormatsForSize:function(t,e){var o,i=[];for(var n in e=void 0!==e&&Array.isArray(e)?e:this.getFormatStore())e.hasOwnProperty(n)&&(o=e[n]).dfpSizes&&0!==o.dfpSizes.length&&0!==o.dfpSizes.filter(function(e){return e[0]===t[0]&&e[1]===t[1]}).length&&i.push(o);return i},searchFormatsForAdSlot:function(e){var t,o=this.getFormatStore(),i=[];for(var n in o)o.hasOwnProperty(n)&&(t=o[n]).availableOn&&0!==t.availableOn.length&&-1!==t.availableOn.indexOf(e)&&i.push(t);return i},searchActiveFormats:function(e){return this.getFormat(e)},getConfig:function(){return SDG.getConfig()}},SDG.modStore().FormatController.FormatMaster.prototype={setup:function(e,t){var o=this;o.markUsedPositions(),t.formatParams&&t.formatParams.contentObjectRequired&&!SDG.getPUB().getConfig().getContentObject()?(window.addEventListener("metaTagSystemContentElementLoaded",function(){SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].startAdConstruction(o,t,e)}),SDG.logDebug("#!L165!#",t.name)):SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].startAdConstruction(o,t,e)},markUsedPositions:function(){var e,t,o=this;for(t in o.blockedPositions)o.blockedPositions.hasOwnProperty(t)&&"string"==typeof o.blockedPositions[t]&&((e=SDG.getCN().getPlacementByPosition(o.blockedPositions[t]))&&e.getContainer()?e.hideContainer():SDG.KERNEL.setValueForPosition(o.blockedPositions[t],"blockedByFormat",!0))},executeFormatStartFunction:function(e){if("function"!=typeof this.startFormat)return!0;try{return this.startFormat(e),!0}catch(e){return SDG.logError("#!L166!#",[e]),!1}},executeFormatFinishFunction:function(e){if("function"!=typeof this.finishFormat)return!0;try{return this.finishFormat(e),!0}catch(e){return SDG.logError("#!L167!#",[e]),!1}},constructFormatMaps:function(){var e=this;(e.slotOccurrenceCount=0)<e.availableOn.length?e.availableOn.forEach(e.constructFormatMapForSlot.bind(e)):(SDG.logInfo("#!L168!#",[e.name.toUpperCase()]),e.active=!1)},constructFormatMapForSlot:function(e){var t=[],o=this;null!==SDG.KERNEL.getValueForPosition(e,"width")?!1===o.isBlocked()?(o.dfpSizes&&(t=t.concat(o.constructSizeMapping(e))),o.getConfig().setFormatSizeForPosition(e,o.name,t)):o.getConfig().deleteFormatFromPosition(e,o.name):SDG.logWarn("#!L169!#",[o.name.toUpperCase(),e])},isBlocked:function(e){var t,o=this,i=o.blockedViewportBuckets||[],n=0!==i.length;return e=void 0!==e?e:o.getConfig().getZone(),t=n&&o.blockFormatByViewportSize(i),!!o.blockedZones&&-1!==o.blockedZones.indexOf(e)||!0===o.blockedByPublisher||t},blockFormatByViewportSize:function(e){var o=this.controller._viewPortWidth,i=!1,n=e;return this.controller._viewportBuckets.forEach(function(t){t.minWidth<=o&&t.maxWidth>=o&&n.forEach(function(e){t.name===e&&(i=!0)})}),i},constructSizeMapping:function(e){var t=[],o=[],i=this,n=i.removeBlockedSizesFromFormat(e);if(i.slotOccurrenceCount++,1<i.slotOccurrenceCount&&!0===i.countSizesUp){for(var r=0;n.length>r;r++)o[r]=[n[r][0],n[r][1]],SDG.KERNEL.getValueForPosition(e,"isMobile")||!0===i.countFirstSizeUp?o[r][0]=o[r][0]+(i.slotOccurrenceCount-1):o[r][1]=o[r][1]+(i.slotOccurrenceCount-1);i.useOriginalSizeEverywhere&&(t=t.concat(n)),t=t.concat(o)}else t=t.concat(n);return t},removeBlockedSizesFromFormat:function(e){var t=!1,o=this,i=[],n=SDG.KERNEL.getValueForPosition(e,"blockedSizes")||[];if(0!==n.length&&0!==o.dfpSizes.length)for(var r=0;o.dfpSizes.length>r;r++){for(var a=0;a<n.length;a++)n[a][0]===o.dfpSizes[r][0]&&n[a][1]===o.dfpSizes[r][1]&&(t=!0);!0!==t?i.push(o.dfpSizes[r]):t=!1}else i=o.dfpSizes;return i},block:function(e){var t=this,o=t.name;return t.blockedByPublisher=!0,t.controller._publisherBlocks.push(o),void 0!==e?this.removeFromAdSlot(e):(SDG.Publisher.addKeyValue("bf",t.ident),SDG.logDebug("#!L170!#",o.toUpperCase())),t.constructFormatMaps(),!0},removeFromAdSlot:function(e){var t,o=SDG.KERNEL,i=this.name,n=e.getName(),r=o.getPosition(n);t=this.availableOn.filter(function(e){return e!==n}),this.availableOn=t,r.hasOwnProperty("formatMap")&&r.formatMap.hasOwnProperty(i)&&delete r.formatMap[i],e.setTargeting({bf:this.ident}),SDG.logDebug("#!L171!#",[i.toUpperCase(),n])},unblock:function(){var e=this.controller,t=this.name;return this.blockedByPublisher=!1,this.constructFormatMaps(),e._publisherBlocks.splice(e._publisherBlocks.indexOf(t),1),SDG.logDebug("#!L172!#",t.toUpperCase()),!0},evaluateRenderingPlacement:function(e){var t="",o="";return void 0!==e.placementAdServerName&&(t=e.placementAdServerName),void 0!==e.renderingSlot&&(o=e.renderingSlot),""!==o&&SDG.getCN().getPlacementByPosition(o)?SDG.getCN().getPlacementByPosition(o):""!==t&&SDG.getCN().getPlacementByAdServerName(t)?SDG.getCN().getPlacementByAdServerName(t):void SDG.logCrit("#!L173!#",[e.name,this.name,e])},getIdentifier:function(){return!!this.ident&&this.ident},getConfig:function(){return SDG.getConfig()}},SDG.modStore().StandardTargets=function(){"use strict";var e=this,t=SDG.KERNEL,o=t.getModule("CONSENTMANAGER"),i=t.targeting.common;SDG.getCN().addCriticalModuleWait("targetings"),SDG.Publisher.addKeyValue("tagm","mt"),!0===i.ciStatus&&SDG.Publisher.addKeyValue("ci","1"),i.collectBrowserData&&e.collectBrowserData(),i.collectMetaKeys&&window.addEventListener("metaTagSystemBeforeLoadAll",function(){e.collectMetaKeys()}),i.collectPageImpressions&&window.addEventListener("metaTagSystemBeforeLoadAll",function(){e.collectPageImpression()}),!0===o.active&&!0!==o.nonIABCMP&&"function"==typeof window.__tcfapi&&e.evaluateConsentStatusKeyValue(),i.detectGoogleReferrer&&e.detectGoogleReferrer(),e.collectUrlParameters(),e.collectViewportDimensions(),e.collectGlobalFc(),e.startTargetingPixels()},SDG.modStore().StandardTargets.prototype={collectViewportDimensions:function(){var e,t,o,i,n,r=["240-256","257-320","321-359","360-374","375-414","415-432","433-480","481-640","641-720","721-847","848-864","865-964","965-1152","1153-1279","1280-1320","1321-1340","1341-1380","1381-1420","1421-1440","1441-1460","1461-1500","1501-1540","1541-1580","1581-1650","1651-1680","1681-1800","1801-1900","1901-1920","1921-2048","2049-2800","2801-3840"],a=["1-500","501-719","720-768","769-800","801-900","901-1024","1025-1080","1081-1152","1153-1200","1201-1440","1441-1600","1601-2160"],s=SDG.getUtil().getViewportDimensions().width,l=SDG.getUtil().getViewportDimensions().height;for(n=0;n<r.length;n++)e=r[n].split("-")[0],t=r[n].split("-")[1],e<=s&&s<=t&&(o=r[n]);for(n=0;n<a.length;n++)e=a[n].split("-")[0],t=a[n].split("-")[1],e<=l&&l<=t&&(i=a[n]);SDG.getPUB().addKeyValues({viewportWidth:[o],viewportHeight:[i]})},collectBrowserData:function(){var e=SDG.getUtil().getBrowserData();SDG.getPUB().addKeyValue("browserapp",e.app.toLowerCase()),SDG.getPUB().addKeyValue("browserversion",e.version.toString()),window.innerWidth<=450&&SDG.getUtil().checkForInSkinBlock()&&SDG.getPUB().addKeyValue("bf","inskin")},collectMetaKeys:function(){var e,t=SDG.getUtil().getMetaContent("keywords");"string"==typeof t&&(e=SDG.getUtil().convertStringToKeywords(t,6))&&SDG.getPUB().addKeywords(e)},collectUrlParameters:function(){var e=decodeURIComponent(window.location.href),t=[];-1<e.indexOf("sdmad")&&null!==(t=e.match(/(?:sdmad)=([a-zA-z-_0-9~]+)=([a-zA-z-_0-9~]+)/))&&SDG.getPUB().addKeyValue(t[1],t[2]),-1<e.indexOf("sdgkv")&&null!==(t=e.match(/(?:sdgkv)=([a-zA-z-_0-9~]+)=([a-zA-z-_0-9~]+)/))&&SDG.getPUB().addKeyValue(t[1],t[2])},collectGlobalFc:function(){var e;SDG.getUtil().getLocalStorageData("sdgInterstitialBlocker")&&((e=SDG.getUtil().getLocalStorageData("sdgInterstitialBlockerTimestamp"))&&(new Date).getTime()-parseFloat(e)<144e5?SDG.Publisher.addKeyValue("globalfc","interstitial"):(SDG.getUtil().deleteLocalStorageData("sdgInterstitialBlocker"),SDG.getUtil().deleteLocalStorageData("sdgInterstitialBlockerTimestamp")))},detectGoogleReferrer:function(){/google./.test(document.referrer)&&SDG.getPUB().addKeyValue("googref","1")},evaluateConsentStatusKeyValue:function(){window.__tcfapi("addEventListener",2,function(e,t){var o,i,n,r,a,s,l,d,c,g,u,S,p,m,h;!0===t&&("tcloaded"!==e.eventStatus&&"useractioncomplete"!==e.eventStatus||(o=e.vendor.consents,i=e.vendor.legitimateInterests,n=e.purpose.consents,r=o.hasOwnProperty(755)||o[755],a=i.hasOwnProperty(755)||i[755],s=o.hasOwnProperty(136)||o[136],l=o.hasOwnProperty(137)||o[137],d=o.hasOwnProperty(251)||o[251],c=n.hasOwnProperty(1)||n[1],g=n.hasOwnProperty(2)||n[2],u=n.hasOwnProperty(3)||n[3],S=n.hasOwnProperty(4)||n[4],p=n.hasOwnProperty(7)||n[7],m=n.hasOwnProperty(9)||n[9],h=n.hasOwnProperty(10)||n[10],c&&g&&u&&S&&p&&m&&h&&r&&s&&l&&d?SDG.Publisher.addKeyValue("cs","1"):SDG.Publisher.addKeyValue("cs","0"),!0!==r&&!0===a&&SDG.Publisher.addKeyValue("lta","1")))})},startTargetingPixels:function(){var e,t,o=SDG.KERNEL,i=SDG.CONFIG.STATES,n=o.targeting,r=SDG.getUtil(),a=SDG.getCN(),s=o.getModule("CONSENTMANAGER").active,l=this;for(e in n)if(n.hasOwnProperty(e)&&(t=n[e]).active){if(t.oncePerSession){if(parseFloat(r.getSessionStorageData("sdg_"+e)))continue;r.setSessionStorageData("sdg_"+e,"1")}t.criticalModule&&a.addCriticalModuleWait(e),s&&!0===t.consentRequired?!1===i.FULL_CONSENT_DATA_AVAILABLE?(SDG.logDebug("#!L174!#",e),window.addEventListener("metaTagSystemCmpConsentAvailable",function(e,t){l.startPixelWhenConsented(e,t)}.bind(l,t,e))):(SDG.logDebug("#!L175!#",e),l.startPixelWhenConsented(t,e)):l.fireSimplePixel(t,e)}a.criticalModuleLoaded("targetings")},startPixelWhenConsented:function(e,t){var i=this,o=!e.hasOwnProperty("legalBase")||"consent"===e.legalBase;SDG.getUtil().hasVendorConsent(e.iabVendorId,function(e,t,o){!0===o?(SDG.logDebug("#!L176!#",t),i.fireSimplePixel(e,t)):SDG.logNotice("#!L177!#",t)}.bind(i,e,t),o)},buildSimplePixel:function(e){var t=e.url,o=e.pixelMedia,i=void 0!==e.insertionQuery?e.insertionQuery:"head",n=void 0!==e.useCrossOrigin&&e.useCrossOrigin,r=void 0!==e.usePostscribe&&e.usePostscribe,a=SDG.KERNEL.getModule("CONSENTMANAGER").active,s=!0===a?SDG.getUtil().getTcMetaData():"";o&&(t=(t=(t=t.replace("#{TIMESTAMP}",SDG.getUtil().generateRandomNumberString(8))).replace("#{GDPR}",!0===a?"1":"0")).replace("#{GDPR_CONSENT}",s),"script"===o&&SDG.getUtil().loadScript(t,document.querySelector(i),function(){SDG.logDebug("#!L178!#",[t,i])},r,n),"img"===o&&(document.createElement("img").src=t,SDG.logDebug("#!L179!#",[t])))},fireSimplePixel:function(e){var t=this,o=SDG.CONFIG.STATES,i=!1;if(e.loadPattern){switch(e.loadPattern){case"metaTagSystemContentLoaded":i=!1===o.DOM_CONTENT_LOADED;break;case"metaTagSystemBeforeLoadAll":i=!1===o.LOADED_ALL;break;case"metaTagSystemWindowLoadComplete":i=!1===o.WINDOW_LOAD_COMPLETE}!0===i?window.addEventListener(e.loadPattern,function(){t.buildSimplePixel(e)}):t.buildSimplePixel(e)}else SDG.logError("#!L180!#",[e.url])}},SDG.modStore().InfoTool=function(){var o=this;o.modulesArray=SDG.KERNEL.modules,o._infoToolNode=!0,o._errorCount=0,o._placementCount=0,o._reportEntries=[],o._toolVisible=!1,o._cssLoaded=!1,o._isActive=!1,o._timeToShowMobileMS=3e3,o._waitingTimeToShowMessageMS=250,o._mainMessage="Finger entfernen sobald Nachricht verschwunden ist ",o._timerMessage="(warte "+Math.round(o._timeToShowMobileMS/1e3)+" sekunden)...",o._message=o._mainMessage+o._timerMessage,o._breakMessage="abgebrochen!",o._startTime=0,o._stopTime=0,o._timer=!1,o._threeTouches=!1,window.addEventListener("metaTagSystemNewLogEntry",function(e){if(!0===SDG.CONFIG.STATES.INFO_TOOL_LOADED){var t=e.detail.passedObject;o.addInfoToolLog(t._message,t._messageObjects,t._level,t._timeStamp)}}),window.addEventListener("metaTagSystemSlotRegistered",function(e){var t=e.detail.passedObject;o._placementCount++,o._toolVisible&&(o._placementCounterNode.innerHTML=o._placementCount),o.saveReportEntry(t.getName(),"registered.")}),window.addEventListener("metaTagSystemSlotDeleted",function(e){var t=e.detail.passedObject;o._placementCount--,o._toolVisible&&(o._placementCounterNode.innerHTML=o._placementCount),o.saveReportEntry(t.getName(),"deleted by user.")}),window.addEventListener("metaTagSystemSlotCalling",function(e){var t=e.detail.passedObject;o.saveReportEntry(t.getName(),"calling. Zone: "+t.getZone()+", Name: "+t.getAlias()+", Sizes: "+t.sizeParams.sizeArray.toString())}),window.addEventListener("metaTagSystemSlotDone",function(e){var n=e.detail.passedObject,t=void 0===window.pbjsYLHH?[]:window.pbjsYLHH.getAllWinningBids(),r="",a="",s="",l="",d={};0!==t.length&&t.forEach(function(e){var t=void 0===e.adUnitCode?"":e.adUnitCode,o=void 0===e.bidder?"":e.bidder,i=void 0===e.tracking?{}:e.tracking;t===n._slotName&&"stroeerCore"===o&&(a=void 0===i.campaignId?"":i.campaignId,s=void 0===i.buyerId?"":i.buyerId,l=void 0===i.buyerName?"":i.buyerName,r=void 0===e.creativeId?"":e.creativeId),""!==a&&(d.campaignId=a),""!==s&&(d.buyerId=s),""!==l&&(d.buyerName=l),""!==r&&(d.creativeId=r)}),0!==Object.keys(d).length?o.saveReportEntry(n.getName(),"finished. ID dump: "+JSON.stringify(n.getIdsForSystem("adserver"))+", Campaign information: "+JSON.stringify(d)):o.saveReportEntry(n.getName(),"finished. ID dump: "+JSON.stringify(n.getIdsForSystem("adserver")))}),window.addEventListener("metaTagSystemSlotYlRenderError",function(e){var t=SDG.getCN().getSlotByPosition(e.detail.passedObject);t&&o.saveReportEntry(e,"reports a fatal render error for creative from HeaderBidder. Impression forfeit! ID dump: "+JSON.stringify(t.getIdsForSystem("adserver")))}),(SDG.getUtil().checkOS().isMobile||SDG.getUtil().checkOS().isTablet)&&(window.addEventListener("touchstart",o.touchStart.bind(o)),window.addEventListener("touchend",o.touchEnd.bind(o))),window.showSdgDebug=function(){SDG.getLogger().loadMessageFile(),o.loadInfoTool(!1)},SDG.logDebug("Active modules: "+o.showActiveModules(o.modulesArray),[o.showActiveModulesObj(o.modulesArray)])},SDG.modStore().InfoTool.prototype={loadInfoTool:function(e){var t=this,o=SDG.getEventDispatcher();!0!==SDG.CONFIG.STATES.INFO_TOOL_LOADED?SDG.getUtil().loadScript(SDG.KERNEL.common.infoToolUrl,window.top.document.head,function(){t.showDebugTool(),e&&(t._startTime=0,t._stopTime=0,t._isActive=!0),SDG.CONFIG.STATES.INFO_TOOL_LOADED=!0,o.trigger("SDG_INFO_TOOL_LOADED")}):t.showDebugTool()},touchStart:function(e){var t=this;if(t._startTime=0,"interactive"===document.readyState||"complete"===document.readyState)try{3===e.touches.length&&(t._threeTouches=!0,t._isActive||(t._seconds!==t._timeToShowMobileMS&&(t._seconds=t._timeToShowMobileMS),t._timer=!1,t._startTime=Date.now(),t.showLoadMessage(t._waitingTimeToShowMessageMS,t._message,"sdg-startTouch-"+Date.now().toString(36)))),void 0!==t._messageUpdateInterval&&clearInterval(t._messageUpdateInterval)}catch(e){}},touchEnd:function(){var e,t=this;if(t._stopTime=Date.now(),"interactive"===document.readyState||"complete"===document.readyState){0===t._startTime?e=0:(e=parseInt(t._stopTime-t._startTime),t._startTime=0);try{!0===t._threeTouches&&e>=t._timeToShowMobileMS&&!1===SDG.getInfoTool()._isActive&&t.loadInfoTool(!0)}catch(e){}t._threeTouches=!1,t._timer=!0,void 0!==t._messageUpdateInterval&&clearInterval(t._messageUpdateInterval)}},showLoadMessage:function(e,t,o){var i=this;clearTimeout(i._messageTimeout),i._messageTimeout=setTimeout(function(){i._seconds=i._timeToShowMobileMS,0!==i._startTime&&(window.addEventListener("touchstart",function(){i.touchCheck(o)}.bind(i)),window.addEventListener("touchend",function(){i.touchCheck(o)}.bind(i)),SDG.getUtil().showUserNotification(t,o,.9*i._timeToShowMobileMS,i._timeToShowMobileMS))},e),!1===i._timer?(clearInterval(i._messageUpdateInterval),clearTimeout(i._intervalTimeout),i._intervalTimeout=setTimeout(function(){!0===i._threeTouches&&(i._messageUpdateInterval=setInterval(function(){null!==document.getElementById(o)&&(i._seconds<0&&(i._seconds=i._timeToShowMobileMS),i._seconds=i._seconds-1e3,i._timerMessage="(warte "+Math.round(i._seconds/1e3)+" sekunden)...",null!==document.getElementById(o)&&(document.getElementById(o).innerHTML=i._mainMessage+i._timerMessage))},1e3),i._timer=!0)},e)):clearInterval(i._messageUpdateInterval)},touchCheck:function(e){3!==event.touches.length&&null!==document.getElementById(e)&&(document.querySelector("body").removeChild(document.getElementById(e)),SDG.getUtil().showUserNotification(this._breakMessage,"sdg-touchBreak-"+Date.now().toString(36),500,750))},saveReportEntry:function(e,t){var o={slot:e,message:t};this._reportEntries.push(o)},showActiveModulesObj:function(e){var t=[];return e.forEach(function(e){-1!==JSON.stringify(e).search('"active":true')&&t.push(e)}),t},showActiveModules:function(e){var o=[];return e.forEach(function(e){if(-1!==JSON.stringify(e).search('"active":true'))for(var t in e)void 0!==t&&o.push(t)}),o.sort(),JSON.stringify(o)}},SDG.modStore().mbrId=function(e){var t=SDG.KERNEL,o=this;!0===t.getValueForModule("TTRACKER","active")&&SDG.getTTracker().addToLogCollection("MBR"),o._params=e,o._url=e.url,o._insertionQuery=e.insertionQuery,o._usePostscribe=e.usePostscribe,o._useCrossOrigin=e.useCrossOrigin,o._placementId=e.placementID,o._type=e.type,o._gdpr_applies=!1,o._consentString="",o.consentCache=SDG.KERNEL.userConsent.consentCache,t.common.mbrUserId="default",SDG.KERNEL.getModule(["CONSENTMANAGER"]).active?!0===o.consentCache.hasOwnProperty("gdprApplies")?!0===o.consentCache.gdprApplies&&(o.gdpr_applies=o.consentCache.gdprApplies,o.consentString=o.consentCache.tcString,o.requestUserId()):SDG.getUtil().getVendorConsents(function(e){o.gdpr_applies=e.gdprApplies,o.consentString=e.tcString,o.requestUserId()}):o.requestUserId()},SDG.modStore().mbrId.prototype={processUserId:function(){var e=SDG.KERNEL,t=e.common.mbrUserId;SDG.Publisher.addKeyValue("mbrid",t),!0===e.getValueForModule("TTRACKER","active")&&SDG.getTTracker().stopTracking("MBR",Date.now())},requestUserId:function(){var o=this,i=SDG.KERNEL.common;SDG.KERNEL.getModule(["CONSENTMANAGER"]).active&&(o._url=o._url+"&gdpr="+o.gdpr_applies.toString()+"&gdpr_consent="+o.consentString),SDG.getUtil().sendCorsRequest("GET",o._url,function(){var e=JSON.parse(this.responseText),t="";e.hasOwnProperty("mbrUserId")&&""!==e.mbrUserId&&(t=e.mbrUserId,i.mbrUserId=t),o.processUserId(),e.hasOwnProperty("mbrSegments")&&SDG.Publisher.addKeyValues({mbrseg:e.mbrSegments}),e.hasOwnProperty("mbrCategories")&&SDG.Publisher.addKeyValues({mbrct:e.mbrCategories}),e.hasOwnProperty("mbrSegmentsTest")&&SDG.Publisher.addKeyValues({mbrsegtest:e.mbrSegmentsTest})},function(){i.mbrUserId="failed",SDG.logDebug("#!L181!#"),o.processUserId()},!0)}},SDG.modStore().MeetricsSdg=function(e){var t=SDG.KERNEL,i=this;window.sdgMeetricsStatus="loading",i._url=e.url,!0===t.getValueForModule("TTRACKER","active")&&SDG.getTTracker().addToLogCollection("meetricsSDG"),i._networkId=e.networkId,i._loadStatus="loading",i._sentMeasurements=[],i._directRenderingDefaultValue=void 0===e.directRenderingDefaultValue?"direct-rendering":e.directRenderingDefaultValue,!0===SDG.getAdServer().useSingleRequest?window.addEventListener("metaTagSystemSlotsFinalized",i.getVisibilityValues.bind(i)):window.addEventListener("metaTagSystemSlotRegistered",function(e){var t=e.detail.passedObject.getName(),o=SDG.getUtil().checkOS().isMobile;(!0!==o&&"sky"===t||!0===o&&"topmobile2"===t)&&i.getVisibilityValues()}),""!==i._url?i.scriptNode=SDG.getUtil().loadScript(i._url,document.getElementsByTagName("head")[0],function(){!0===t.getValueForModule("TTRACKER","active")&&SDG.getTTracker().stopTracking("meetricsSDG",Date.now()),SDG.logNotice("#!L182!#",[i.scriptNode,document.head]),i._loadStatus="loaded",i.finishMeetricsSetup.call(i)}):SDG.logDebug("#!L183!#")},SDG.modStore().MeetricsSdg.prototype={_loadStatus:null,finishMeetricsSetup:function(){SDG.getCN().addVisibilityMeasurement("meetrics",this.globalAddon)},getVisibilityValues:function(){var t=this,e=t.selectAdSlotsToQuery();""!==e?SDG.getUtil().sendCorsRequest("GET","https://s385.mxcdn.net/679600/"+e,function(){var e=null!==this.responseText&&"string"==typeof this.responseText?JSON.parse(this.responseText):{};SDG.logDebug("#!L184!#",e),t.parseVisibilityValues(e)},function(){SDG.logDebug("#!L185!#")},!0):SDG.logDebug("#!L186!#")},selectAdSlotsToQuery:function(){var e,t=SDG.getCN().getSlotStore(),o="";for(var i in t)t.hasOwnProperty(i)&&(e=t[i],SDG.KERNEL.getPosition(e.getName()).collectVisibilityValues&&(o+=encodeURIComponent(e.getAlias())+","));return o=o.slice(0,-1)},parseVisibilityValues:function(e){var t,o,i,n,r,a,s,l,d=SDG.KERNEL,c=[];for(var g in!0===d.getValueForModule("TTRACKER","active")&&SDG.getTTracker().trackInternalProcess("meetricsParsing",Date.now(),!1),e)if(e.hasOwnProperty(g)){if(t=e[g],i=g.replace(/679600_/,""),o=SDG.getCN().getPlacementByAdServerName(i),!t.error){for(n in t)t.hasOwnProperty(n)&&"viewabilitySeconds"!==n&&"MRC"!==n&&(l=/([0-9]+)_([0-9]+)/.exec(n),r=parseFloat(l[1]),a=parseFloat(l[2]),s=t[n],50===r&&(60<=s&&-1===c.indexOf("50-1_75")&&c.push("50-1_75"),80<=s&&-1===c.indexOf("50-1_100")&&c.push("50-1_100")),60===r&&60<=s&&-1===c.indexOf("60-1_100")&&c.push("60-1_100"),65===r&&60<=s&&-1===c.indexOf("65-1_75")&&c.push("65-1_75"),70===r&&((999===a||1999===a||2999===a)&&60<=s&&-1===c.indexOf("70-1_75")&&c.push("70-1_75"),(1999===a||2999===a)&&80<=s&&-1===c.indexOf("70-2_100")&&c.push("70-2_100")),80===r&&((999===a||1999===a||2999===a)&&60<=s&&-1===c.indexOf("80-1_75")&&c.push("80-1_75"),(1999===a||2999===a)&&80<=s&&-1===c.indexOf("80-2_100")&&c.push("80-2_100")),100===r&&((999===a||1999===a||2999===a)&&60<=s&&-1===c.indexOf("100-1_75")&&c.push("100-1_75"),(1999===a||2999===a)&&80<=s&&-1===c.indexOf("100-2_100")&&c.push("100-2_100")));o.setTargeting({mtrcskv:c})}SDG.getUtil().transferParamKeysToObject(o.localTargeting,{mtrcskv:c}),!0===d.getValueForModule("TTRACKER","active")&&SDG.getTTracker().trackInternalProcess("meetricsParsing",Date.now(),!0)}},getMeetricsFormatCode:function(e){var t;switch(e){case"728x90":case"728x91":case"728x92":case"728x93":case"728x94":case"728x95":t="SuperBanner";break;case"728x180":t="DoubleLeaderboard";break;case"770x250":case"770x251":case"770x252":case"771x250":case"800x250":case"800x251":case"800x252":case"970x250":case"970x251":case"970x252":case"970x253":t="Billboard";break;case"970x255":t="QualityFooter";break;case"468x60":t="Fullbanner";break;case"120x600":t="Skyscraper_120";break;case"160x600":t="Skyscraper_160";break;case"200x600":t="Skyscraper_200";break;case"300x600":case"300x601":case"301x600":t="HalfpageAd";break;case"300x50":case"320x50":t="MobileAd_6-1";break;case"300x75":case"320x75":t="MobileAd_4-1";break;case"300x100":case"320x100":t="MobileAd_3-1";break;case"300x150":case"320x150":t="MobileAd_2-1";break;case"300x250":case"300x251":case"300x252":case"300x253":case"300x254":case"300x255":case"300x257":case"301x250":case"302x250":case"303x250":t="MediumRectangle";break;case"336x200":t="Kicker_Contentbox";break;case"610x180":case"610x181":case"610x182":t="TO_Contentbar_mini";break;case"610x250":t="Google_Contentbox";break;default:t="x-unknown-"+e}return t},checkMinimalAdInfoAndSendDataToMeetrics:function(t,e){var o=SDG.core().get(SDG.CONFIG.MODULES.MEETRICS);if(e.hasOwnProperty("websiteName")&&e.hasOwnProperty("lineItemId")&&e.hasOwnProperty("formatCode")&&"Blocker"!==e.formatCode){if(o._sentMeasurements.push(e),"object"==typeof window.de_meetrics&&"object"==typeof window.de_meetrics[o._networkId])try{window.de_meetrics[o._networkId].detect_ad(e),SDG.logDebug("#!L187!#",t.getName().toUpperCase())}catch(e){SDG.logDebug("#!L188!#","ERROR",[t.getName().toUpperCase(),e])}}else SDG.logDebug("#!L189!#",t.getName().toUpperCase())},getDataForDirectRendering:function(e,t,o){e.adslotName=void 0===t.getName()?"unknown-slot":t.getName(),e.deviceClass=SDG.KERNEL.getPosition(e.adslotName).isMobileSlot?"MEW":"Desktop","mobile"===e.deviceClass?e.websiteName=SDG.getPUB().getConfig().getCommonValue("dfpMobileName"):"desktop"===e.deviceClass&&(e.websiteName=SDG.getPUB().getConfig().getCommonValue("dfpDesktopName")),e.lineItemId=o,e.orderId=o,e.alias=encodeURIComponent(t.getAlias()),e.adServerNode=[t.getAdServerNode()],e.placementId=t.getZone(),e.measurementMode=o},getDirectRenderingValuesFromWinningBids:function(e,i,n){e.forEach(function(e){var t=void 0===e.adUnitCode?"":e.adUnitCode,o=void 0===e.tracking?{}:e.tracking;t===i.adslotName?(i.sizeId=void 0===e.getSize()?n:e.getSize(),0!==Object.keys(o).length?(i.lineItemId=void 0===o.campaignId?n:o.campaignId,i.advertiserId=void 0===o.buyerId?n:o.buyerId,i.creativeId=void 0===o.creativeId?n:o.creativeId):(i.lineItemId=n,i.advertiserId=n,i.creativeId=n)):(i.sizeId=n,i.lineItemId=n,i.advertiserId=n,i.creativeId=n)})},globalAddon:{execute:function(){var e=this,t=e.getIdsForSystem("adserver"),o=SDG.core().get(SDG.CONFIG.MODULES.MEETRICS),i=e.getIdsForSystem("meetrics")||{},n=e.getStatus("directRendering"),r=void 0===window.pbjsYLHH?[]:window.pbjsYLHH.getAllWinningBids(),a=o._directRenderingDefaultValue;!0===n?(o.getDataForDirectRendering(i,e,a),0!==r.length?o.getDirectRenderingValuesFromWinningBids(r,i,a):(i.sizeId=a,i.lineItemId=a,i.advertiserId=a,i.creativeId=a),SDG.logDebug("#!L190!#",e.getName().toUpperCase()),i.formatCode=o.getMeetricsFormatCode(i.sizeId),o.checkMinimalAdInfoAndSendDataToMeetrics(e,i)):(!1===t.hasOwnProperty("lastAdServer")&&(i.websiteName="Error-AdServerInfoMissing"),!1===t.isEmpty?(i.sizeId=void 0===i.sizeId?t.size:i.sizeId,i.lineItemId=void 0===i.lineItemId?t.lineItemId:i.lineItemId,i.orderId=void 0===i.orderId?t.orderId:i.orderId,i.creativeId=void 0===i.creativeId?t.creativeId:i.creativeId,i.advertiserId=void 0===i.advertiserId?t.advertiserId:i.advertiserId,i.deviceClass=SDG.KERNEL.getPosition(e.getName()).isMobileSlot?"MEW":"Desktop",i.websiteName=t.websiteName,i.placementId=e.getZone(),i.sspVendor=void 0===i.sspVendor?"out_of_page"===e.getName()?"direct":"Google AdX":i.sspVendor,i.adslotName=e.adScope?e.getName()+e.adScope:e.getName(),i.alias=encodeURIComponent(e.getAlias()),(void 0===i.domNodes||"object"!=typeof i.domNodes&&0===i.domNodes.length)&&(i.domNodes=[e.getAdServerNode()]),(void 0===i.formatCode||"object"==typeof i.formatCode&&""===i.formatCode)&&(i.formatCode=o.getMeetricsFormatCode(i.sizeId)),(void 0===i.measurementMode||"object"==typeof i.measurementMode&&""===i.measurementMode)&&(i.measurementMode="default"),e.setIdsForSystem("meetrics",i),o.checkMinimalAdInfoAndSendDataToMeetrics(e,i)):SDG.logDebug("#!L191!#",e.getName().toUpperCase()))},remove:function(){SDG.logDebug("#!L192!#",this.getName().toUpperCase())}}},SDG.modStore().NetID=function(){this.setupNetID(),this._yieldLoveAuctionId=0,this._mbrId=0},SDG.modStore().NetID.prototype={setupNetID:function(){var o=this;window.addEventListener("load",function(){var e=SDG.KERNEL.common.mbrUserId;e&&(o._mbrId=e),void 0!==SDG.getCN().Slots.rectangle&&void 0!==SDG.getCN().Slots.rectangle.getIdsForSystem("adserver").preBidAuctionId&&(o._yieldLoveAuctionId=SDG.getCN().Slots.rectangle.getIdsForSystem("adserver").preBidAuctionId);var t=document.createElement("img");t.src="//t.uimserv.net/drp_p/?evtID=935&att1="+o._mbrId+"&att2="+o._yieldLoveAuctionId,t.style="display:none",t.width="1",t.height="1",window.top.document.head.appendChild(t)})}},SDG.modStore().Neustar=function(e){this._url=e.url,this._partnerId=e.partnerId,this._insertionQuery=e.insertionQuery,this._usePostscribe=e.usePostscribe,this._useCrossOrigin=e.useCrossOrigin,this.loadNeustar(e)},SDG.modStore().Neustar.prototype={loadNeustar:function(e){var t=this;window.addEventListener(e.loadPattern,function(){window.setUpAgknTag=function(e){e.setBpId(t._partnerId),void 0!==SDG.getConsentManager()&&(e.setGdpr(1),e.setGdprConsent(SDG.Publisher.getConfig().getValueForUserConsent("consentCache").metadata))},SDG.getUtil().loadScript(t._url,document.querySelector(t._insertionQuery),function(){SDG.logInfo("#!L193!#")},t._usePostscribe,t._useCrossOrigin)})}},SDG[SDG.CONFIG.SYSTEM.MODULESTORE].AdLabel=function(e){var t=this,o=e.getName();t._slot=e,t._kernel=SDG.KERNEL,t._labelNode=document.createElement("div"),t._labelNode.id="sdg_"+o+"_anz",t._labelNode.className="sdgAnzeigenkennung sdgAnz-"+o+" sdgRemoved"},SDG[SDG.CONFIG.SYSTEM.MODULESTORE].AdLabel.prototype={init:function(){this.checkLabelStatus()},getNode:function(){return this._labelNode},checkLabelStatus:function(){var e=this._kernel.layout,t=this._slot,o=!0===e.renderAdLabels&&!0===t._posConfig.showAdvertLabel,i=!0===t.getStatus("adServerResponded")||!0===e.reduceLayoutShift,n=!1;!0==o&&!0==i&&!0!==t.getIdsForSystem("adserver").isEmpty&&(n=!0),this.toggleAdLabelVisibility(n)},toggleAdLabelVisibility:function(e){var t=this._slot,o=this.getNode();"boolean"!=typeof e?this.checkLabelStatus():!0===e?(o.classList.remove("sdgCloaked"),o.classList.remove("sdgRemoved"),t.setFlag("visibleAdLabel",!0)):(o.classList.add("sdgRemoved"),t.setFlag("visibleAdLabel",!1))},attachToNode:function(e){e.appendChild(this._labelNode)}},SDG[SDG.CONFIG.SYSTEM.MODULESTORE].AdServerNodes=function(e){var t=this;t._slot=e,t._parentNode=null,t._adserverNodeId="sdgAdServerContainer-"+e.getName(),t._adserverNode=document.createElement("div"),t._connectedAdServerNode=!1,t._connectedAdServerAnchor=!1,t._adServerAnchor=document.createElement("div"),t._useHullFeature=!0===SDG.KERNEL.layout.useHull,t._topPosUpdateInterval=0},SDG[SDG.CONFIG.SYSTEM.MODULESTORE].AdServerNodes.prototype={init:function(){this.finalizeAdServerNode(),this.finalizeAdServerAnchor()},getAdServerAnchor:function(){return!0===this._useHullFeature?this._adServerAnchor:this._slot.getContainer()},getAdServerNode:function(){return this._adserverNode},getAdServerNodeId:function(){return this._adserverNodeId},finalizeAdServerNode:function(){var e=this,t=e._slot,o=SDG.KERNEL.layout,i=SDG.getUtil().getAdhesionUnit().isActive;return e._adserverNode.id=e.getAdServerNodeId(),e._adserverNode.setAttribute("data-stroeer-slotname",t.getName()),!0===o.reduceLayoutShift&&!0!==t._posConfig.blockStrictSticky&&(e._adserverNode.classList.add("sdgSticky"),i&&0===e._topPosUpdateInterval&&(e._topPosUpdateInterval=window.setInterval(e.updateElementsTopPosition.bind(e),250))),!0===o.centerAds&&e.centerAdServerNode(),e._adserverNode},finalizeAdServerAnchor:function(){var e=this._slot;this._adServerAnchor.id="sdgAdServerAnchor-"+e.getName(),this._adServerAnchor.classList.add("sdgAdServerAnchor")},attachToNode:function(e){this._parentNode=e,this.connectAdServerElements()},connectAdServerElements:function(){var e=SDG.KERNEL.layout.useHull;!1===this._connectedAdServerNode&&this.connectAdServerNode(),!0===e&&!1===this._connectedAdServerAnchor&&this.connectAdServerAnchor()},connectAdServerNode:function(){this.getAdServerAnchor().appendChild(this.getAdServerNode()),this._connectedAdServerNode=!0},disconnectAdServerNode:function(){!0===this._connectedAdServerNode&&(this.getAdServerAnchor().removeChild(this.getAdServerNode()),this._connectedAdServerNode=!1)},connectAdServerAnchor:function(){this._parentNode.appendChild(this._adServerAnchor),this._connectedAdServerAnchor=!0},clearContentFromAdServerNode:function(){SDG.getUtil().deleteAllNodesInObject(this.getAdServerNode())},stabilizeAdServerElements:function(e,t){this.stabilizeElementDimensions(e,t),!0===SDG.KERNEL.layout.useHeightAnimations&&this.introduceElementAnimations()},stabilizeElementDimensions:function(e,t){!0===this._useHullFeature&&!0!==this._slot._posConfig.keepWidthFluid&&(this.getAdServerAnchor().style.minWidth=e+"px"),this.getAdServerAnchor().style.height=t+"px"},introduceElementAnimations:function(){this.getAdServerAnchor().style.transitionProperty="height",this.getAdServerAnchor().style.transitionDuration=SDG.KERNEL.layout.animationDuration+"s"},updateElementsTopPosition:function(){this.getAdServerNode().style.top=SDG.getUtil().getAdhesionUnit().height+"px"},centerAdServerNode:function(){!1!==this._slot._posConfig.centerAds&&this.getAdServerNode().classList.add("sdgCentered")}},SDG[SDG.CONFIG.SYSTEM.MODULESTORE].LoadSpinner=function(e){this._slot=e,this._kernel=SDG.KERNEL,this._spinnerNode=document.createElement("div")},SDG[SDG.CONFIG.SYSTEM.MODULESTORE].LoadSpinner.prototype={init:function(){var e=SDG.Publisher.getConfig().getTemplateForType("loadingSpinner"),t=new SDG.Utilities.Template(e).render();this._spinnerNode.classList.add("sdgSpinner"),this._spinnerNode.innerHTML=t},attachToNode:function(e){var t=this._kernel.layout;!0==(!0===t.reduceLayoutShift&&!0===t.useLoadingSpin)&&!0!==this._slot._posConfig.blockLoadingSpin&&e.appendChild(this._spinnerNode)}},SDG[SDG.CONFIG.SYSTEM.MODULESTORE].Placement=function(e){"use strict";var t=this,o=SDG.KERNEL,i=o.getPosition(e),n=i.loadPercent;t._slotContainer=null,t._adServerAlias="",t._nodesToClear=[],t._kernel=o,t._pubConfig=t.getConfig(),t._posConfig=i,t._slotName=e,t.loadType="",t.localZone="",t.localPageType="",t.localTargeting={},t.tagTemplateType="",t._systemIds={},t.frameWindow=void 0,t.eventQueue=[],t.visibility={vendor:null,lazyLoadEvent:t.endWaitingForLazyLoading.bind(t),loadPercent:void 0!==n&&0<n&&n<101?n:1,rate:0,intervalRef:0,_dimensions:{},_locationInPage:{top:0,left:0,right:0,bottom:0}},t._flags={activeAsyncModule:!1,activeFriendlyIframe:!1,activeLoadSequence:!1,containerAvailable:!1,lazyLoad:!!i.lazyLoad,rtaEnabled:!!i.rtaAuction,isMobileSlot:!!i.isMobileSlot},t._stats={},t.sizeParams={blockedSizes:[],sizeString:parseFloat(i.width)+"x"+parseFloat(i.height),sizeArray:[],width:parseFloat(i.width),height:parseFloat(i.height)},t.localAddons={}},SDG.modStore().Placement.prototype={globalAddons:{},visibilityMeasurement:{},constructAdSlot:function(e){var t=this,o=t.getName(),i=t._posConfig,n=o;return t.cleanAllStatus(),t.cleanAllSystemIds(),t.createSlotContainerClassForPlacement(e),!0===i.isLocalSlot&&(n="local"),!0===i.hasOwnProperty("reportAs")&&(n=i.reportAs),t.setTargeting({as:n}),t.setTargeting({adslot:o}),t.generateLocalPlacementParameters(),!0},setEventAndCheckGlobalAddOnExecution:function(e){var t=this,o=t.eventQueue;o.push(e),"metaTagSlotRendered"!==e&&"metaTagSlotDone"!==e||-1!==o.indexOf("metaTagSlotRendered")&&-1!==o.indexOf("metaTagSlotDone")&&(!0!==t.getStatus("usesTemplate")&&t.startVisibilityMeasurement(),t.executeGlobalAddons(),t.activateLocalAddons())},prepareNewAd:function(e,t,o){var i,n;return i=e||document.createElement("div"),n=t||null,this.adContent=new SDG[SDG.CONFIG.SYSTEM.MODULESTORE].Advertisement(i,n,this,o),this.getAd()},deleteAd:function(){return!!this.getAd()&&(this.getAd().deleteAllContent(),delete this.adContent,!0)},getAd:function(){return!!this.adContent&&this.adContent},sendLoadIntention:function(){var e=this,t=e.getFlag("containerAvailable"),o=e.getFlag("lazyLoad");return e.isInViewportRange()?(e.setStatus("loadIntended",!0),!0===o&&(e.setFlag("waitToLazyLoad",!0),!0===t&&e.startWaitingForLazyLoading()),!0):(SDG.logNotice("#!L194!#",e.getName().toUpperCase()),!1)},startWaitingForLazyLoading:function(){!0===this.getFlag("inView")?this.endWaitingForLazyLoading():this.getContainer().addEventListener("metaTagSlotEntersExactViewport",this.visibility.lazyLoadEvent)},endWaitingForLazyLoading:function(){this.getContainer().removeEventListener("metaTagSlotEntersExactViewport",this.visibility.lazyLoadEvent),this.setFlag("waitToLazyLoad",!1),this.setFlag("lazyLoadDone",!0),SDG.getCN().loadAdServerSlots(!0)},generateLocalPlacementParameters:function(){var e=this,t=e.getName(),o=e._kernel.getPosition(t),i=SDG.getUtil(),n=e.getAdServer(),r=e.extractDimensionsFromFormatMaps(),a=o.posCount?o.posCount.toString():"1";return e.reportDimensionsOfSlot("format",r.width,r.height),n?e._adServerAlias=n.returnAdServerPlacementName(e):window.addEventListener("metaTagSystemAdServerModuleLoaded",function(){e._adServerAlias=n.returnAdServerPlacementName(e)}),e._adServerAlias=n?n.returnAdServerPlacementName(e):t+"_AdServer_ERROR",i.hasObjectKeys(o.kvPreset)&&i.transferParamKeysToObject(e.localTargeting,o.kvPreset),o.collectFreeSpace&&e.getContainer()&&i.transferParamKeysToObject(e.localTargeting,{rfree:[e.calculateLeftSpaceToViewportBorder()]}),i.transferParamKeysToObject(e.localTargeting,{pc:a}),!0},deleteAdserverPlacement:function(){return this.getAdServer().deleteAdserverPlacement(this)},deleteSlot:function(){return this.slotContainer().disconnect(),this.resetSlot(),this.deleteAdserverPlacement(),this.deletePlacementContent(),!0},wrapInFriendlyIframe:function(){return this.getAdServer().wrapInFriendlyIframe(this)},executePreCallSetup:function(){var e=this;return e.resetSlot(),e.mapFormatsToPositions(),e.generateLocalPlacementParameters()?e.getFlag("activeFriendlyIframe")&&!e.wrapInFriendlyIframe()?(SDG.logAlert("#!L196!#",e.getName().toUpperCase()),!1):(e.sendPlacementPreparedEvent(),!0):(SDG.logAlert("#!L195!#",e.getName().toUpperCase()),!1)},loadProcessResponded:function(){this.sendPlacementRespondedEvent()},loadProcessRenderedResponse:function(){this.toggleAdLabel(),this.sendPlacementRenderingEvent()},loadProcessDone:function(){this.getStatus("loading")&&(this.sendSlotDiscoverMessage(),this.sendPlacementDoneEvent())},slotContainer:function(){return this._slotContainer},createSlotContainerClassForPlacement:function(e){this._slotContainer=new SDG[SDG.CONFIG.SYSTEM.MODULESTORE].SlotContainer(this,e),this._slotContainer.init()},getContainer:function(){return this.slotContainer().getNode()},getAdLabel:function(){return this.slotContainer().getHullClass().getAdLabelClass().getNode()},getAdServerElements:function(){return this.slotContainer().getHullClass().getAdServerElements()},getAdServerNodeId:function(){return this.slotContainer().getHullClass().getAdServerElements().getAdServerNodeId()},getAdServerNode:function(){return this.slotContainer().getHullClass().getAdServerElements().getAdServerNode()},toggleAdLabel:function(e){this.slotContainer().toggleAdLabel(e)},getLocationInPage:function(){return this.visibility._locationInPage},setLocationInPage:function(e){this.visibility._locationInPage=e},getDimensionsInPage:function(e){var t=this.sizeParams.width,o=this.sizeParams.height,i=this.visibility._dimensions,n=!0===i.hasOwnProperty("strict")&&i.strict,r=!0===i.hasOwnProperty("css")&&i.css,a=!0===i.hasOwnProperty("format")&&i.format,s=!0===i.hasOwnProperty("creative")&&i.creative;return e="boolean"==typeof e&&e,!1!==n&&!0!==e?(t=n.width,o=n.height):(!1!==r&&(t=r.width>t?r.width:t,o=r.height>o?r.height:o),!1!==s&&(o=s.height>o?s.height:o),!1!==a&&(!1===s||!1!==s&&s.height<5)&&(o=a.height>o?a.height:o)),{width:t,height:o}},reportDimensionsOfSlot:function(e,t,o){this.visibility._dimensions[e]={width:t,height:o},"strict"===e&&this.sendSizeAvailableEvent(t,o),"creative"===e&&!0===this.getFlag("hasStrictHeight")&&this.requestHeightChangeAfterPageLoad(o)},readyHullForDelivery:function(){var e=this.getDimensionsInPage(),t=e.width,o=e.height;this.executeDimensionChange(t,o),this.setFlag("hasStrictHeight",!0)},executeDimensionChange:function(e,t){var o=this.slotContainer().getHullClass();this.reportDimensionsOfSlot("strict",e,t),o.processDimensionChange(e,t)},requestHeightChangeAfterPageLoad:function(e,t){var o=this.getDimensionsInPage();t=t||!1,o.height!==e&&(!0===this.isResizeAllowed(e,t)?this.executeDimensionChange(o.width,e):this.delayDimensionChange(o.width,e))},isResizeAllowed:function(e,t){var o=!1,i=this.getDimensionsInPage().height<e,n=this._kernel.layout.allowUnnecessaryResizeInView||!1,r=this._kernel.layout.allowPriorityChangeAboveViewport||!1,a=this.getFlag("inView");return t=t||!1,!0===r&&!0===t&&(o=!0),!0===a&&!0==i&&(o=!0),!0!==a||!0!==n&&!0!==t||(o=!0),o},delayDimensionChange:function(e,t){this.setFlag("delayedHeightChange",e.toString()+"x"+t.toString())},checkQueuedHeightChange:function(){var e=this.getFlag("delayedHeightChange")||!1,t=!1!==e?e.split("x"):[0,0],o=t[0],i=t[1];!1!==e&&!0===this.isResizeAllowed(i)&&(this.setFlag("delayedHeightChange",!1),this.executeDimensionChange(o,i))},getContainerId:function(){var e=this;return e.getContainer()&&e.getContainer().hasAttribute("id")?e.getContainer().id:""!==e.getContainer().id&&e._slotContainer._containerId},hideContainer:function(){this.reportDefaultDelivery()},showContainer:function(){var e=this.getContainer();e&&(e.classList.remove("sdgCloaked"),e.classList.remove("sdgRemoved"))},getName:function(){return this._slotName},getAlias:function(){return this._adServerAlias},getFlag:function(e){return!!this._flags.hasOwnProperty(e)&&this._flags[e]},setFlag:function(e,t){this._flags[e]=t},getStatus:function(e){return!!this._stats.hasOwnProperty(e)&&this._stats[e]},setStatus:function(e,t){this._stats[e]=t},cleanAllStatus:function(){this._stats={}},cleanEventQueue:function(){this.eventQueue=["metaTagSlotRegistered"]},setIdsForSystem:function(e,t){var o;for(o in this._systemIds[e]||(this._systemIds[e]=t),t)t.hasOwnProperty(o)&&(this._systemIds[e][o]=t[o])},getIdsForSystem:function(e){return!!this._systemIds.hasOwnProperty(e)&&this._systemIds[e]},getAllSystemIds:function(){return this._systemIds},cleanAllSystemIds:function(){this._systemIds={}},mapFormatsToPositions:function(){var e,t=this._posConfig.formatMap;for(e in t)if(t.hasOwnProperty(e)){var o=SDG.getFormatController().getFormat(e),i=o.getIdentifier();void 0!==o.blockedPositions&&this.addBlockedPositionsToTargeting(o.blockedPositions,i),o&&i&&this.setTargeting({af:i})}},addBlockedPositionsToTargeting:function(e,t){for(var o=0;o<e.length;o++){var i=SDG.KERNEL.getPosition(e[o]);null!==i&&"object"==typeof i&&(void 0!==i.kvPreset?void 0!==i.kvPreset.af&&Array.isArray(i.kvPreset.af)?-1===i.kvPreset.af.indexOf(t)&&i.kvPreset.af.push(t):i.kvPreset.af=[t]:(i.kvPreset={},i.kvPreset.af=[t]))}},isLimitedByConfig:function(){return!0===this._posConfig.isBlocked||!0!==this.isInViewportRange()},getAddon:function(e){return this.localAddons[e]?this.localAddons[e]:!!this.globalAddons[e]&&this.globalAddons[e]},deleteAdServerContent:function(){var e=this;e.getContainer()&&(e.getAd()&&e.deleteAd(),e.clearNodeArrayList(),e.getAdServerElements().clearContentFromAdServerNode())},deletePlacementContent:function(){var e=this.getContainer();e&&(this.getAd()&&this.deleteAd(),SDG.getUtil().deleteAllNodesInObject(e))},resetSlot:function(){var e=this;return e.deactivateLocalAddons(),e.deleteAdServerContent(),e.cleanAllStatus(),e.cleanAllSystemIds(),e.cleanEventQueue(),e.showContainer(),!0},updatePlacementParameters:function(e){var t,o,i;for(var n in e)if("object"==typeof e[n]&&e.hasOwnProperty(n)){for(var r in o={},i=e[t=n])if("object"==typeof i[r]&&i.hasOwnProperty(r)){var a=i[r];for(var s in o[r]=o[r]||a,a)a.hasOwnProperty(s)&&(o[r][s]=a[s])}else o[r]=i[r];this.setIdsForSystem(t,o)}},executeGlobalAddons:function(){for(var e in this.globalAddons)this.globalAddons.hasOwnProperty(e)&&this.globalAddons[e].execute.call(this)},activateLocalAddons:function(){for(var e in this.localAddons){if(this.localAddons.hasOwnProperty(e))this.localAddons[e].activate.call(this)}},startVisibilityMeasurement:function(){var e=this.visibilityMeasurement,t=Object.keys(e);0<t.length&&"string"==typeof t[0]?e[t[0]].execute.call(this):SDG.logError("#!L197!#",this.getName().toUpperCase())},deactivateLocalAddons:function(){for(var e in this.localAddons){if(this.localAddons.hasOwnProperty(e))this.localAddons[e].deactivate.call(this)}},sendPlacementRegisteredEvent:function(){var e=SDG.getEventDispatcher(),t=this.getName();SDG.logInfo("#!L198!#",t.toUpperCase()),!0===this._kernel.getValueForModule("TTRACKER","active")&&SDG.getTTracker().addToPlacementCollection(t),e.trigger("SLOT_REGISTERED",this),e.trigger("SDG_SLOT_REGISTERED",this)},sendPlacementQueuedEvent:function(){var e=SDG.getEventDispatcher();SDG.logInfo("#!L199!#",this.getName().toUpperCase()),this.setStatus("slotQueued",!0),e.trigger("SLOT_QUEUED",this),e.trigger("SDG_SLOT_QUEUED",this)},sendPlacementPreparedEvent:function(){var e=SDG.getEventDispatcher();this.setStatus("loading",!0),SDG.logDebug("#!L200!#",this.getName().toUpperCase()),e.trigger("SLOT_PREPARED",this),e.trigger("SDG_SLOT_PREPARED",this)},sendPlacementCallingEvent:function(){var e=SDG.getEventDispatcher();this.setStatus("loaded",!0),SDG.logInfo("#!L201!#",this.getName().toUpperCase()),e.trigger("SLOT_CALLING",this),e.trigger("SDG_SLOT_CALLING",this)},sendPlacementRespondedEvent:function(){var e=SDG.getEventDispatcher();this.setStatus("adServerResponded",!0),SDG.logDebug("#!L202!#",this.getName().toUpperCase()),e.trigger("SLOT_RESPONDED",this),e.trigger("SDG_SLOT_RESPONDED",this)},sendPlacementRenderingEvent:function(){var e=SDG.getEventDispatcher();this.setStatus("responseRendered",!0),SDG.logDebug("#!L203!#",this.getName().toUpperCase()),e.trigger("SLOT_RENDERED",this),e.trigger("SDG_SLOT_RENDERED",this)},sendPlacementEmptyEvent:function(){var e=this,t=SDG.getEventDispatcher();e.setStatus("isEmpty",!0),SDG.logDebug("#!L204!#",e.getName().toUpperCase()),t.trigger("SLOT_EMPTY",e),t.trigger("SDG_SLOT_EMPTY",e),e.slotContainer().markContainerEmpty()},sendPlacementDoneEvent:function(){var e=this,t=SDG.getEventDispatcher(),o=e.getName();e.setStatus("loading",!1),SDG.logDebug("#!L205!#",e.getName().toUpperCase()),!0===e._kernel.getValueForModule("TTRACKER","active")&&SDG.getTTracker().stopTracking(o,Date.now()),t.trigger("SLOT_DONE",e),t.trigger("SDG_SLOT_DONE",e)},sendPlacementContainerAvailableEvent:function(){var e=this;e.setFlag("containerAvailable",!0),SDG.logDebug("#!L206!#",e.getName().toUpperCase()),SDG.getEventDispatcher().trigger("SDG_SLOT_CONTAINER_AVAILABLE",e),!0===e.getFlag("waitToLazyLoad")&&e.startWaitingForLazyLoading()},sendSlotDiscoverMessage:function(){"object"==typeof this.frameWindow&&"function"==typeof this.frameWindow.postMessage&&this.frameWindow.postMessage("SDG_SLOT_FOUND#"+this.getName()+"#","*")},sendSizeAvailableEvent:function(e,t){SDG.logDebug("#!L207!#",[this.getName().toUpperCase(),e,t]),SDG.getEventDispatcher().trigger("SLOT_SIZE_AVAILABLE",this),SDG.getEventDispatcher().trigger("SDG_SLOT_SIZE_AVAILABLE",this)},sendPlacementNearViewportEvent:function(e){var t=this,o=SDG.getEventDispatcher();t.checkQueuedHeightChange(e),!0===e?(o.trigger("SLOT_ENTERS_NEAR_VIEWPORT",t),o.trigger("SDG_SLOT_ENTERS_NEAR_VIEWPORT",t)):(o.trigger("SLOT_LEAVES_NEAR_VIEWPORT",t),o.trigger("SDG_SLOT_LEAVES_NEAR_VIEWPORT",t))},sendPlacementInViewportEvent:function(e){var t=this,o=SDG.getEventDispatcher();t.checkQueuedHeightChange(e),!0===e?(o.trigger("SLOT_ENTERS_EXACT_VIEWPORT",t),o.trigger("SDG_SLOT_ENTERS_EXACT_VIEWPORT",t)):(o.trigger("SLOT_LEAVES_EXACT_VIEWPORT",t),o.trigger("SDG_SLOT_LEAVES_EXACT_VIEWPORT",t))},reportAdDelivery:function(e,t){this.reportDimensionsOfSlot("creative",e,t),SDG.logDebug("#!L208!#",[this.getName().toUpperCase(),e,t])},reportDefaultDelivery:function(e){var t=this._kernel.layout,o=!0!==t.reduceLayoutShift||t.allowEmptySlotCollapse;e=void 0!==e?e:o,this.setStatus("executeEmptyCollapse",e),SDG.logDebug("#!L209!#",this.getName().toUpperCase()),this.sendPlacementEmptyEvent()},setZone:function(e){return this.localZone=e,this},getZone:function(){return""!==this.localZone?this.localZone:this._pubConfig.getZone()},setPageType:function(e){return this.localPageType=e,this},getPageType:function(){return""!==this.localPageType?this.localPageType:this._pubConfig.getPageType()},setFrameWindow:function(e){var t=this,o=SDG.CONFIG.STATES.DOM_CONTENT_LOADED;"object"==typeof e&&e.nodeName&&"IFRAME"===e.nodeName&&"object"==typeof e.contentWindow&&(t.frameWindow=e.contentWindow,!0===o?t.sendHostLoadedMessageToFrameWindow():document.addEventListener("DOMContentLoaded",function(){t.sendHostLoadedMessageToFrameWindow()}))},sendHostLoadedMessageToFrameWindow:function(){this.frameWindow.postMessage("IAB_HOST_LOADED","*")},setTargeting:function(e){return SDG.getUtil().transferParamKeysToObject(this.localTargeting,e)||SDG.logWarn("#!L210!#",this.getName().toUpperCase()),this},removeTargeting:function(e,t){for(var o=this,i=0;i<=Object.keys(o.localTargeting).length-1;i++)if(Object.keys(o.localTargeting)[i]===e){if(void 0!==t){var n=o.localTargeting[e],r=n.indexOf(t);n.splice(r,1)}else delete this.localTargeting[e];SDG.getAdServer()&&SDG.getAdServer().removeLocalTargetingKey(o,e)}return o},getFilteredKeyValues:function(){for(var e=this.localTargeting,t=Object.keys(e),o=this._kernel.common.kvFilter,i={},n=0;n<=t.length-1;n++)-1===o.indexOf(t[n])&&(i[t[n]]=e[t[n]]);return i},removeSizes:function(e){var t,o,i,n=this,r=SDG.getFormatController(),a=r.searchFormatsForAdSlot(n.getName());if(Array.isArray(e)){"number"==typeof e[0]||"string"==typeof e[0]?(t=[]).push(e):t=e;for(var s=0;s<t.length;s++){for(i in n._pubConfig.blockSizeForPosition(n.getName(),t[s]),o=t[s].toString(),n.sizeParams.sizeArray)n.sizeParams.sizeArray.hasOwnProperty(i)&&"function"!=typeof n.sizeParams.sizeArray[i]&&Array.isArray(n.sizeParams.sizeArray[i])&&n.sizeParams.sizeArray[i].toString()===o&&n.sizeParams.sizeArray.splice(i,1);r.searchFormatsForSize(t[s],a).forEach(function(e){e.constructFormatMaps()}),SDG.logNotice("#!L211!#",[n.getName().toUpperCase(),o])}}else SDG.logError("#!L212!#",n.getName().toUpperCase());return n},blockFormats:function(e){return!0===Array.isArray(e)?this.getConfig().blockFormats(e,this):SDG.logError("#!L213!#",this.getName().toUpperCase()),this},isInViewportRange:function(){var e=this._kernel,t=this._posConfig,o=!!e.common.mobileBreakpoint,i=!!t.isMobileSlot,n=0;o&&(n=parseFloat(e.common.mobileBreakpoint));var r=t.minViewportWidth?parseFloat(t.minViewportWidth):!i&&o?n:0,a=t.maxViewportWidth?parseFloat(t.maxViewportWidth):i&&o?n:4e4;return SDG.getUtil().getViewportDimensions().width>r&&SDG.getUtil().getViewportDimensions().width<a},calculateLeftSpaceToViewportBorder:function(){var e,t,o,i=SDG.getUtil().getViewportDimensions().width-SDG.getUtil().getPos(this.getContainer()).left,n=["0-99","100-199","200-299","300-399","400-499","500-6000"];for(o=0;o<n.length;o++)if(e=n[o].split("-")[0],t=n[o].split("-")[1],e<=i&&i<=t)return n[o];return 0},addNodeToClear:function(e){return e instanceof Node&&e.nodeType===Node.ELEMENT_NODE&&(this._nodesToClear.push(e),!0)},clearNodeArrayList:function(){var e=[].concat(this._nodesToClear);0!==e.length&&(e.forEach(function(e){!0===e.isConnected&&SDG.getUtil().deleteAllNodesInObject(e)}),this._nodesToClear=[])},extractDimensionsFromFormatMaps:function(){var e=this._posConfig,t=e.formatMap,o=parseInt(e.height),i=parseInt(e.width);for(var n in t)t.hasOwnProperty(n)&&t[n].forEach(function(e){e[1]>o&&(o=e[1]),e[0]>i&&(i=e[0])});return{height:o,width:i}},initializeContainerDimensions:function(){var e=this,t=e.getContainer().getClientRects(),o=e.extractDimensionsFromFormatMaps(),i=e._kernel.layout.updateInterval||1e3;0<t.length&&(e.reportDimensionsOfSlot("format",o.width,o.height),e.reportDimensionsOfSlot("css",t[0].width,t[0].height),e.updateLocationInPage(t)),!0!==e._posConfig.makeSticky&&(e.visibility.intervalRef=window.setInterval(e.updateLocationInPage.bind(e),i))},shouldSlotCollectVisibilityMarkers:function(){var e=this._kernel.layout.reduceLayoutShift,t=this.getFlag("lazyLoad"),o=this.isLimitedByConfig();return(!0===e||!0===t)&&!0!==o},evaluateVisibilityMarkers:function(){var e=this,t=e.getFlag("hasStrictHeight"),o=e._kernel.layout.reduceLayoutShift,i=e.isNearViewport(),n=e.isInViewport(),r=e.isAboveViewport(),a=!0===i.hasChanged&&!0===i.result,s=!0===n.hasChanged&&!0===n.result,l=!0===r.hasChanged&&!0===r.result;!1===t&&!0===o&&(s||l||a)&&e.readyHullForDelivery()},calculateCurrentViewport:function(e){var t=SDG.getUtil(),o=t.getScrollPositions(),i=t.getViewportDimensions(),n=o.top+i.height,r=o.left+i.width,a=e.height[0],s=e.height[1],l=e.width[0],d=e.width[1];return(o.top<=a&&s<=n||o.top<=s&&a<=n)&&(o.left<=l&&d<=r||o.left<=d&&l<=r)},deriveViewportStatusFlagChange:function(e,t){var o=this.getFlag(e),i=this.calculateCurrentViewport(t),n=o!==i;return this.setFlag(e,i),{hasChanged:n,result:i}},isNearViewport:function(){var e=this,t=e.getFlag("isMobileSlot"),o=e._kernel.layout,i=!0===t?o.mobileNearViewHeightModifier:o.desktopNearViewHeightModifier,n=!0===t?o.mobileNearViewWidthModifier:o.desktopNearViewWidthModifier,r=e.reviseViewportBorders(i,n),a=e.deriveViewportStatusFlagChange("nearView",r);return!0===a.hasChanged&&e.sendPlacementNearViewportEvent(a.result),a},isInViewport:function(){var e=this.reviseViewportBorders(.1,.1),t=this.deriveViewportStatusFlagChange("inView",e);return!0===t.hasChanged&&this.sendPlacementInViewportEvent(t.result),t},isAboveViewport:function(){var e="aboveView",t=this.getFlag(e),o=this.reviseViewportBorders(),i=SDG.getUtil().getScrollPositions().top>o.height[1],n=t!==i;return n&&this.setFlag(e,i),{hasChanged:n,result:i}},updateLocationInPage:function(e){var t,o,i=SDG.getUtil(),n=this.getDimensionsInPage(),r=i.getScrollPositions();void 0===e&&"object"==typeof(t=this.getContainer())&&(e="object"==typeof t?t.getClientRects():[]),!1!==(o=0!==e.length&&e[0])&&(this.visibility._locationInPage={top:parseInt(o.top+r.top),left:parseInt(o.left+r.left),right:parseInt(o.left+n.width+r.left),bottom:parseInt(o.top+r.top+n.height)},this.evaluateVisibilityMarkers())},reviseViewportBorders:function(e,t){var o=e||0,i=t||0,n=SDG.getUtil().getViewportDimensions(),r=this.getLocationInPage(),a=n.height*o,s=n.width*i;return{height:[r.top-a,r.bottom+a],width:[r.left-s,r.right+s]}},load:function(){return SDG.getCN().loadSingleSlot(this.getName()),this},getConfig:function(){return SDG.core().get(SDG.CONFIG.MODULES.PUBLISHER_CONFIG)},getAdServer:function(){return SDG.getAdServer()},getAdUnits:function(){var e=this._adServerAlias.split("/").filter(Boolean);return e.shift(),e.pop(),e}},SDG[SDG.CONFIG.SYSTEM.MODULESTORE].SlotContainer=function(e,t){var o=this;o._slot=e,o._kernel=SDG.KERNEL,o._containerId=t.containerId,o._containerNode=t.containerNode,o._hull=new SDG[SDG.CONFIG.SYSTEM.MODULESTORE].SlotHull(o._slot)},SDG.modStore().SlotContainer.prototype={init:function(){var e={containerId:this._containerId,containerNode:this._containerNode};this._hull.init(),this.connect(e)},connect:function(e){0<e.containerId.length&&(this._containerId=e.containerId),null!==e.containerNode&&this.checkContainerStatus(e.containerNode)},disconnect:function(){var e=this.getNode();e&&e.classList.remove("sdgSlotContainer","sdgSlotName-"+this._slot.getName(),"sdgSlotHull","sdgStrictSlot")},checkContainerStatus:function(e){e instanceof Node&&1===e.nodeType&&(this._containerNode=e,this.processContainer())},processContainer:function(){var e=this._slot,t=this.getNode(),o=e._posConfig;!0!==e.isLimitedByConfig()&&(this.insertBaseClassesToContainer(t,o),this.getHullClass().connectToParentAndAddSubNodes(t),!0===e.shouldSlotCollectVisibilityMarkers()&&(e.initializeContainerDimensions(),e.evaluateVisibilityMarkers())),e.sendPlacementContainerAvailableEvent()},insertBaseClassesToContainer:function(e,t){var o=this._slot.getName();void 0!==e.className&&""!==e.className&&" "!==e.className[e.className.length-1]&&(e.className=e.className+" "),e.hasAttribute("id")||(e.id="sdgSlot-"+o),-1===e.className.indexOf("sdgSlotContainer")&&(e.className=e.className+"sdgSlotContainer sdgSlotName-"+o),t.cssContainerPreset&&SDG.getUtil().addCssToElement(e,".sdgSlotName-"+o+"{"+t.cssContainerPreset+"}")},getContainerId:function(){var e=this.getNode();return e&&e.hasAttribute("id")?e.id:""!==this._containerId&&this._containerId},setContainerId:function(e){"string"==typeof e&&(this._containerId=e)},markContainerEmpty:function(){var e=this,t=e._slot,o=e.getNode();window.requestAnimationFrame(function(){o&&(!0===e._kernel.layout.reduceLayoutShift&&e.getHullClass().markHullUnfilled(),!0===t.getStatus("executeEmptyCollapse")&&(t.setStatus("executeEmptyCollapse",!1),o.classList.add("sdgRemoved")))})},toggleAdLabel:function(e){this.getHullClass().getAdLabelClass().toggleAdLabelVisibility(e)},getNode:function(){return this._containerNode},getHullClass:function(){return this._hull}},SDG[SDG.CONFIG.SYSTEM.MODULESTORE].SlotHull=function(e){var t=this;t._kernel=SDG.KERNEL,t._slot=e,t._parentNode=null,t._useHullFeature=!0===t._kernel.layout.useHull,t._hullNode=document.createElement("div"),t._hullNode.id="sdgSlotHull-"+e.getName(),t._adLabel=new SDG[SDG.CONFIG.SYSTEM.MODULESTORE].AdLabel(e),t._loadSpinner=new SDG[SDG.CONFIG.SYSTEM.MODULESTORE].LoadSpinner(e),t._adServerElements=new SDG[SDG.CONFIG.SYSTEM.MODULESTORE].AdServerNodes(e)},SDG[SDG.CONFIG.SYSTEM.MODULESTORE].SlotHull.prototype={init:function(){this._adLabel.init(),this._loadSpinner.init(),this._adServerElements.init()},getNode:function(){return!0===this._useHullFeature?this._hullNode:this._parentNode},getAdLabelClass:function(){return this._adLabel},getAdServerElements:function(){return this._adServerElements},connectToParentAndAddSubNodes:function(e){var t=this;t._parentNode=e,t._useHullFeature&&t._parentNode.appendChild(t.getNode()),t.getNode().classList.add("sdgSlotHull"),t._slot.getContainer().addEventListener("metaTagSlotResponded",t.actOnAdServerResponse.bind(t)),t.attachSubNodes()},attachSubNodes:function(){var e=this;e._adLabel.attachToNode(e.getNode()),e._loadSpinner.attachToNode(e.getNode()),e._adServerElements.attachToNode(e.getNode())},processDimensionChange:function(e,t){var o=this;window.requestAnimationFrame(function(){o.getNode().classList.add("sdgStrictSlot"),o.getAdServerElements().stabilizeAdServerElements(e,t)})},markHullUnfilled:function(){this.getNode().classList.add("sdgUnfilled")},actOnAdServerResponse:function(){this.getNode().classList.add("sdgResponded")}},SDG.modStore().adxPosition=function(){"use strict";SDG.getCN().addGlobalPlacementAddon("adxPos",this.globalAddon)},SDG.modStore().adxPosition.prototype={globalAddon:{execute:function(){var e=this.getIdsForSystem("doubleclick"),t=document.getElementById(this.gptSlot.getSlotElementId()),o=t?t.getElementsByTagName("iframe")[0]:null;e&&t&&o&&(!o||"770"!==o.width&&"800"!==o.width&&"970"!==o.width||(this.getAdServerElements().centerAdServerNode(),SDG.logDebug("#!L214!#",this.getName())))},remove:function(){}}},SDG.modStore().stickyPlacements=function(){"use strict";!0===SDG.KERNEL.features.allowStickies&&SDG.getCN().addGlobalPlacementAddon("stickySlot",this.globalAddon)},SDG.modStore().stickyPlacements.prototype={globalAddon:{execute:function(){var e=this,t=SDG.KERNEL.getPosition(e.getName());SDG.getCN().addLocalAddon(e,"stickySlot",{activate:function(){if(!e.getStatus("stickyBlocked")&&!e.getStatus("isSticky")&&!0===t.makeSticky)return SDG.getConfig().getContentObject()?SDG.getAdLib().addSticky(e.getContainer(),SDG.getConfig().getContentObject().element,t.useAdhesionUnit):window.addEventListener("metaTagSystemContentElementLoaded",function(){SDG.getAdLib().addSticky(e.getContainer(),SDG.getConfig().getContentObject().element,t.useAdhesionUnit)}),!0},deactivate:function(){return SDG.getAdLib().removeSticky(this.getContainer()),!0}})},remove:function(){SDG.getCN().removeLocalAddon(this,"stickySlot")}}},SDG.modStore().AdSlotController={Controller:function(){this.Slots={},this._containerQueue={},this._moduleWaitQueue=["global"],this._finalizeSlotsFired=!1,this._activeHeaderBidder=null,this._adserverLoaded=!1,this._adserverEventSet=!1,this._criticalModulesLoaded=!1,this._criticalLoadEventSet=!1,this._waitLoopFinished=!1,this._slotWaitQueue=[],this._slotLoadQueue=["","","","","","","","","","","","","","","","","","","",""],window.addEventListener("metaTagSystemSlotContainerFound",function(e){var t=e.detail.passedObject;t.slot.slotContainer().connect({containerId:t.containerId,containerNode:t.containerNode})})}},SDG.modStore().AdSlotController.Controller.prototype={registerSlot:function(e,t){var o,i,n=this,r=SDG.KERNEL,a=this.getSlotStore();return SDG.logDebug("#!L215!#",[e,t]),null!==r.getPosition(e)?(e=n.checkPositionOverwrite(e),!0!==r.getPosition(e).isBlocked?"object"!=typeof n.getSlotByPosition(e)?(o=a[e]=new SDG[SDG.CONFIG.SYSTEM.MODULESTORE].Placement(e),i=n.determineContainer(o,t),o.constructAdSlot(i),!1===o.isLimitedByConfig()&&!0===o.getFlag("rtaEnabled")&&!1===n.isSlotAlreadyInAuction(o)&&n.sendSlotToHeaderBidder(o),o.sendPlacementRegisteredEvent(),o):(SDG.logError("#!L216!#",e),null):(SDG.logWarn("#!L217!#",e),null)):(SDG.logCrit("#!L218!#",e),null)},unregisterSlot:function(e,t){var o=this.getSlotByPosition(e);return t=void 0===t||t,o?(t&&o.deletePlacementContent(),o.deleteSlot()?(SDG.getEventDispatcher().trigger("SLOT_DELETED",o),SDG.getEventDispatcher().trigger("SDG_SLOT_DELETED",o),SDG.getEventDispatcher().trigger("SDG_SLOT_UNREGISTERED",o),delete this.getSlotStore()[o.getName()],SDG.logNotice("#!L219!#",e.toUpperCase()),!0):void 0):(SDG.logWarn("#!L220!#",e),!1)},unregisterAll:function(e){var t=this.getSlotStore();for(var o in t)if(t.hasOwnProperty(o)){var i=t[o];this.unregisterSlot(i.getName(),e)}},createModularSlot:function(e,t,o,i,n,r,a){var s=!1,l=SDG.getUtil(),d=SDG.KERNEL.common;if(d.canCreateSlots){if(r=void 0!==r&&r,e=d.modularSlotNamePrefix+e,SDG.Publisher.addKeyValue("flags","modularslots"),!0!==l.isArray(n))return SDG.logError("#!L222!#",e.toUpperCase()),!1;for(var c=0;n.length>c;c++)if(!1===l.isArray(n[c])&&"fluid"!==n[c]){s=!0;break}return!0===s&&(SDG.logError("#!L221!#",e.toUpperCase()),n=[n]),SDG.Publisher.registerSlot(SDG.Publisher.getConfig().createPosition(e,o,i,n,r,a),t)}return SDG.logError("#!L223!#"),!1},loadSingleSlot:function(e){var t=SDG.getCN().getSlotByPosition(e);if(t.getStatus("loadIntended"))SDG.logInfo("#!L225!#",t.getName());else if(SDG.logInfo("#!L224!#",[e]),this.prepareSlotForWaiting(t))return this.loadAdServerSlots(!0)},loadMultipleSlots:function(e,t){var o,i=this,n=this.getSlotStore(),r=[];if(t="boolean"==typeof t&&t,0!==e.length)e.forEach(function(e){var t=SDG.getCN().getSlotByPosition(e);t&&r.push(t)});else for(var a in SDG.logDebug("#!L226!#"),n)n.hasOwnProperty(a)&&(!1!==(o=n[a]).getStatus("loaded")&&!0!==t||!1!==o.getStatus("loadIntended")||(r.push(o),e.push(o.getName())));return SDG.logInfo("#!L227!#",[e]),r.forEach(function(e){i.prepareSlotForWaiting(e)}),this.loadAdServerSlots(!t)},prepareSlotForWaiting:function(e){return!!e.sendLoadIntention()&&(!0===e.getFlag("lazyLoad")&&e.setFlag("waitToLazyLoad",!0),this.addSlotToWaitQueue(e),!0===e.getFlag("rtaEnabled")&&!1===e.getStatus("auctionComplete")&&!1===e.getStatus("auctionRequested")&&this.sendSlotToHeaderBidder(e),!0)},loadAdServerSlots:function(e){return!0===this._adserverLoaded&&!0===this._criticalModulesLoaded&&!0===this._waitLoopFinished?(this.getConfig().isFirstAdCallExecuted()||(this.getConfig().markFirstAdCallExecuted(),SDG.getEventDispatcher().trigger("SDG_BEFORE_LOAD_ALL")),this.getSlotWaitQueue().forEach(this.checkSlotWaitStatus.bind(this)),this.getAdServer().loadAdServerSlots(e)):this.waitLoopForModules(e)},waitLoopForModules:function(e){!0===this._adserverLoaded&&!0===this._criticalModulesLoaded&&!1===this._waitLoopFinished?(this._waitLoopFinished=!0,this.loadAdServerSlots(e)):(!1===this._criticalModulesLoaded&&!1===this._criticalLoadEventSet&&(this._criticalLoadEventSet=!0,window.addEventListener("metaTagSystemCriticalModulesLoaded",function(){SDG.getCN()._criticalModulesLoaded=!0,SDG.getCN().waitLoopForModules(e)})),!1===this._adserverLoaded&&!1===this._adserverEventSet&&(this._adserverEventSet=!0,window.addEventListener("metaTagSystemAdServerModuleLoaded",function(){SDG.getCN()._adserverLoaded=!0,SDG.getCN().waitLoopForModules(e)})))},checkSlotWaitStatus:function(e){return!!e&&(!0!==e.getFlag("waitToLazyLoad")&&(!0!==e.getStatus("inLoadQueue")&&!0!==e.getStatus("slotQueued")&&!0===e.getStatus("loadIntended")&&((!0!==this.isHeaderBidderActive()||!0!==e.getStatus("auctionRequested")||!0===e.getStatus("auctionComplete"))&&(e.getStatus("loaded")&&SDG.getEventDispatcher().trigger("SDG_SLOT_RELOAD",e),this.prepareSlotForLoading(e)))))},prepareSlotForLoading:function(e){return!!this.moveSlotToLoadQueue(e)},moveSlotToLoadQueue:function(e){var t=this.getSlotWaitQueue(),o=SDG.getUtil().findAdSlotInArray(t,e);return-1!==o&&(this.addSlotToLoadQueue(t[o],o),!0)},addSlotToLoadQueue:function(e,t){e.setStatus("inLoadQueue",!0),e.sendPlacementQueuedEvent(),this.getSlotLoadQueue()[t]=e},finalizeSlotLayout:function(){return SDG.logDebug("#!L228!#"),SDG.getCN()._finalizeSlotsFired=!0,SDG.getEventDispatcher().trigger("SDG_SLOTS_FINALIZED"),SDG.getAdServer()?SDG.getAdServer().finalizeSlots():(window.addEventListener("metaTagSystemAdServerModuleLoaded",function(){SDG.getAdServer().finalizeSlots()}),!0)},determineContainer:function(e,t){var o,i={containerId:"",containerNode:null};return"string"==typeof t?(i.containerId=t,(o=document.getElementById(t))?i.containerNode=o:this.addContainerToQueue(t,e)):t instanceof Node&&1===t.nodeType?(i.containerNode=t,i.containerId=t.id):SDG.logCrit("#!L229!#",[t]),i},checkPositionOverwrite:function(e){var t=SDG.KERNEL.getPosition(e).positionOverwrite;return void 0!==t?(SDG.logDebug("#!L230!#",[e,t]),t):e},isSlotAlreadyInAuction:function(e){return!(!0===e.getFlag("rtaEnabled")&&!1===e.getStatus("auctionRequested"))},isHeaderBidderActive:function(){return this._activeHeaderBidder},setHeaderBidderActivityTo:function(e){this._activeHeaderBidder=e},getSlotByPosition:function(e){var t,o=this.getSlotStore(),i=SDG.KERNEL.getPosition(e),n=null!==i?i.positionOverwrite:"";if(void 0!==n&&0!==n.length&&(e=n),!e)return!1;for(var r in o)if(o.hasOwnProperty(r)&&(t=o[r]).getName()===e)return t},getPlacementByPosition:function(e){return this.getSlotByPosition(e)},getPlacementByAdServerName:function(e){var t,o=this.getSlotStore();for(var i in o)if(o.hasOwnProperty(i)&&(t=o[i]).getAlias()===e)return t;return!1},getPlacementByAdServerContainerId:function(e){var t,o=this.getSlotStore();if("string"!=typeof e)return SDG.logInfo("#!L231!#"),!1;for(var i in o)if(o.hasOwnProperty(i)&&(t=o[i]).getAdServerNodeId()===e)return t},getPlacementByContainerId:function(e){var t,o=this.getSlotStore();if("string"!=typeof e)return SDG.logInfo("#!L232!#"),!1;for(var i in o)if(o.hasOwnProperty(i)&&(t=o[i]).getContainerId()===e)return t},processControllerScrollFeatures:function(){this.updateAllSlotContainerPositions()},updateAllSlotContainerPositions:function(){var e,t,o=this.getSlotStore();for(t in o)o.hasOwnProperty(t)&&(e=o[t]).getFlag("containerAvailable")&&e.shouldSlotCollectVisibilityMarkers()&&e.evaluateVisibilityMarkers()},addGlobalPlacementAddon:function(e,t){SDG.modStore().Placement.prototype.globalAddons[e]=t},addVisibilityMeasurement:function(e,t){SDG.modStore().Placement.prototype.visibilityMeasurement[e]=t},removeGlobalPlacementAddon:function(e){SDG.modStore().Placement.prototype.globalAddons[e].remove.call(this),delete SDG.modStore().Placement.prototype.globalAddons[e]},addLocalAddon:function(e,t,o){e.localAddons[t]=o},removeLocalAddon:function(e,t){e.localAddons[t].deactivate.call(e),delete e.localAddons[t]},getSlotWaitQueue:function(){return this._slotWaitQueue},addSlotToWaitQueue:function(e){e.setStatus("inWaitQueue",!0),this.getSlotWaitQueue().push(e)},removeSlotFromWaitQueue:function(e){var t=this.getSlotWaitQueue(),o=SDG.getUtil().findAdSlotInArray(t,e);if(-1!==o)return t.splice(o,1),!0},getSlotLoadQueue:function(){return this._slotLoadQueue},removeSlotFromLoadQueue:function(e){var t=this.getSlotLoadQueue(),o=SDG.getUtil().findAdSlotInArray(t,e);-1!==o&&(this.removeSlotFromWaitQueue(t[o]),t[o]="")},getModuleWaitQueue:function(){return this._moduleWaitQueue},addCriticalModuleWait:function(e){this.getModuleWaitQueue().push(e),SDG.logDebug("#!L233!#",e)},criticalModuleLoaded:function(e){var t=this.getModuleWaitQueue().indexOf(e);-1!==t&&(SDG.logDebug("#!L234!#",e),this.getModuleWaitQueue().splice(t,1)),0===this.getModuleWaitQueue().length&&(SDG.logInfo("#!L235!#"),this._criticalModulesLoaded=!0,SDG.getEventDispatcher().trigger("SDG_CRITICAL_MODULES_LOADED"))},getContainerQueue:function(){return this._containerQueue},addContainerToQueue:function(e,t){this._containerQueue[e]=t,this.isObserverActive()||this.enableObserver()},removeContainerFromQueue:function(e){var t=this.getContainerQueue();delete t[e],0===Object.keys(t).length&&this.disableObserver()},isObserverActive:function(){return!!this._containerObserver},enableObserver:function(){this._containerObserver=SDG.getUtil().createMutationObserver(document.getElementsByTagName("html")[0],{childList:!0,attributes:!1,characterData:!1,subtree:!0},this.checkObservedElements.bind(this))},disableObserver:function(){this._containerObserver.disconnect(),delete this._containerObserver},checkObservedElements:function(e){for(var t,o,i,n,r=e.addedNodes,a=0;r.length>a;a++)void 0!==(t=r[a])&&1===t.nodeType&&t.hasAttribute("id")&&(o=this.getContainerQueue(),i=t.id,o.hasOwnProperty(i)&&(n=o[i],SDG.getEventDispatcher().trigger("SDG_SLOT_CONTAINER_FOUND",{slot:n,containerId:i,containerNode:t}),this.removeContainerFromQueue(i)))},sendSlotToHeaderBidder:function(e){!0===this.isHeaderBidderActive()&&(e.setStatus("auctionRequested",!0),SDG.core().get(SDG.CONFIG.MODULES.PREBID).addSlotToNextAuction(e))},getPlacements:function(){return this.getSlotStore()},getSlotStore:function(){return this.Slots},getConfig:function(){return SDG.core().get(SDG.CONFIG.MODULES.PUBLISHER_CONFIG)},getAdServer:function(){return SDG.getAdServer()},getRecommendationAds:function(){return!1}},SDG.modStore().AdSlotController.QueueController=function(){"use strict";var e=this;e.Slots={},e._containerQueue={},e._moduleWaitQueue=["global"],e._finalizeSlotsFired=!1,e._activeHeaderBidder=null,e._adserverLoaded=!1,e._adserverEventSet=!1,e._criticalModulesLoaded=!1,e._criticalLoadEventSet=!1,e._waitLoopFinished=!1,e._slotWaitQueues=[],e._reduceLayoutShift=SDG.KERNEL.layout.reduceLayoutShift||!1,e._containerObserver="",window.addEventListener("metaTagSystemSlotContainerFound",function(e){var t=e.detail.passedObject;t.slot.slotContainer().connect({containerId:t.containerId,containerNode:t.containerNode})})},SDG.modStore().AdSlotController.QueueController.prototype={registerSlot:function(e,t){var o,i,n=this,r=SDG.KERNEL,a=this.getSlotStore();return SDG.logDebug("#!L236!#",[e,t]),null!==r.getPosition(e)?(e=n.checkPositionOverwrite(e),!0!==r.getPosition(e).isBlocked?"object"!=typeof n.getSlotByPosition(e)?(o=a[e]=new SDG[SDG.CONFIG.SYSTEM.MODULESTORE].Placement(e),i=n.determineContainer(o,t),o.constructAdSlot(i),!1===o.isLimitedByConfig()&&!0===o.getFlag("rtaEnabled")&&!1===n.isSlotAlreadyInAuction(o)&&n.sendSlotToHeaderBidder(o),o.sendPlacementRegisteredEvent(),o):(SDG.logError("#!L237!#",e),null):(SDG.logWarn("#!L238!#",e),null)):(SDG.logCrit("#!L239!#",e),null)},unregisterSlot:function(e,t){var o=this.getSlotByPosition(e);return t=void 0===t||t,o?(t&&o.deletePlacementContent(),o.deleteSlot()?(SDG.getEventDispatcher().trigger("SLOT_DELETED",o),SDG.getEventDispatcher().trigger("SDG_SLOT_DELETED",o),SDG.getEventDispatcher().trigger("SDG_SLOT_UNREGISTERED",o),delete this.getSlotStore()[o.getName()],this.removeSlotFromWaitQueue(o),SDG.logNotice("#!L240!#",e.toUpperCase()),!0):void 0):(SDG.logWarn("#!L241!#",e),!1)},unregisterAll:function(e){var t=this.getSlotStore();for(var o in t)if(t.hasOwnProperty(o)){var i=t[o];this.unregisterSlot(i.getName(),e)}},createModularSlot:function(e,t,o,i,n,r,a){var s=!1,l=SDG.getUtil(),d=SDG.KERNEL.common;if(d.canCreateSlots){if(r=void 0!==r&&r,e=d.modularSlotNamePrefix+e,SDG.Publisher.addKeyValue("flags","modularslots"),!0!==l.isArray(n))return SDG.logError("#!L243!#",e.toUpperCase()),!1;for(var c=0;n.length>c;c++)if(!1===l.isArray(n[c])&&"fluid"!==n[c]){s=!0;break}return!0===s&&(SDG.logError("#!L242!#",e.toUpperCase()),n=[n]),SDG.Publisher.registerSlot(SDG.Publisher.getConfig().createPosition(e,o,i,n,r,a),t)}return SDG.logError("#!L244!#"),!1},loadSingleSlot:function(e){var t=SDG.getCN().getSlotByPosition(e);if(this.canSlotBeQueued(t,!0))return SDG.logInfo("#!L245!#",[e]),this.sortSlotsIntoWaitQueues([t],"default"),this.loadAdServerSlots(!0);SDG.logInfo("#!L246!#",e)},loadMultipleSlots:function(e,o){var t,i=this,n=i.getSlotStore(),r=[],a=[],s="default";if(o="boolean"==typeof o&&o,0!==e.length)e.forEach(function(e){var t=i.getSlotByPosition(e);t&&!0===i.canSlotBeQueued(t,o)?(r.push(t),a.push(e)):SDG.logInfo("#!L247!#",e.toUpperCase())},i);else for(var l in SDG.logDebug("#!L248!#"),n)n.hasOwnProperty(l)&&(t=n[l],!0===i.canSlotBeQueued(t,o)&&(r.push(t),a.push(t.getName())));if(0<r.length)return SDG.logInfo("#!L249!#",[a]),!0===o&&(s="ml"+Math.round(1e4*Math.random())),i.sortSlotsIntoWaitQueues(r,s),i.loadAdServerSlots(!o);SDG.logInfo("#!L250!#")},canSlotBeQueued:function(e,t){return!1===e.getStatus("loading")&&(!0===e.getStatus("loaded")?!0===t&&!0!==e.getStatus("slotQueued"):!1===e.getStatus("loadIntended")||!0!==e.getStatus("slotQueued"))},sortSlotsIntoWaitQueues:function(e,o){var i={},n=this;for(var t in o=void 0===o?"default":o,e.forEach(function(e){if(!0===e.sendLoadIntention()){var t=n.checkWaitQueueName(e);""===t&&(t=o),i[t]instanceof Array?i[t].push(e):i[t]=[e]}}),i)i.hasOwnProperty(t)&&0!==i[t].length&&n.assignSlotsToWaitQueue(i[t],t)},checkWaitQueueName:function(e){var t="",o=e.getFlag("lazyLoad"),i=e.getFlag("rtaEnabled"),n=this.isHeaderBidderActive();return!0===o&&(t="lazl"+Math.round(1e4*Math.random())),!0===i&&!0===n&&(!0!==o&&(t="bidder"),!1===e.getStatus("auctionComplete")&&!1===e.getStatus("auctionRequested")&&this.sendSlotToHeaderBidder(e)),t},loadAdServerSlots:function(){var e=this;if(!0!==e._adserverLoaded||!0!==e._criticalModulesLoaded||!0!==e._waitLoopFinished)return e.waitLoopForModules();!1===e.getConfig().isFirstLoadCommandReceived()?(e.getConfig().markFirstLoadCommandReceived(),!0===e.setEventForWaitQueues()&&e.checkReadinessOfAllOpenQueues()):e.checkReadinessOfAllOpenQueues()},setEventForWaitQueues:function(){var o=this;return SDG.Publisher.addKeyValue("flag","qc"),window.addEventListener("metaTagSystemLoadWaitQueueReady",function(e){var t=e.detail.passedObject;SDG.logDebug("#!L251!#",t.name),void 0!==t&&(!1===o.getConfig().isFirstAdCallExecuted()&&(o.getConfig().markFirstAdCallExecuted(),SDG.getEventDispatcher().trigger("SDG_BEFORE_LOAD_ALL")),o.getAdServer().loadAdServerSlots(t))}),!0},waitLoopForModules:function(){var e=this;!0===e._adserverLoaded&&!0===e._criticalModulesLoaded&&!1===e._waitLoopFinished?(e._waitLoopFinished=!0,e.loadAdServerSlots()):(!1===e._criticalModulesLoaded&&!1===e._criticalLoadEventSet&&(e._criticalLoadEventSet=!0,window.addEventListener("metaTagSystemCriticalModulesLoaded",function(){e._criticalModulesLoaded=!0,e.waitLoopForModules()})),!1===e._adserverLoaded&&!1===e._adserverEventSet&&(e._adserverEventSet=!0,window.addEventListener("metaTagSystemAdServerModuleLoaded",function(){e._adserverLoaded=!0,e.waitLoopForModules()})))},checkSlotWaitStatus:function(e){return!!e&&(!0!==e.getFlag("waitToLazyLoad")&&(!0===e.getStatus("loadIntended")&&((!0!==this.isHeaderBidderActive()||!0!==e.getStatus("auctionRequested")||!0===e.getStatus("auctionComplete"))&&(e.setStatus("loadReady",!0),!0))))},finalizeSlotLayout:function(){return SDG.logDebug("#!L252!#"),SDG.getCN()._finalizeSlotsFired=!0,SDG.getEventDispatcher().trigger("SDG_SLOTS_FINALIZED"),SDG.getAdServer()?SDG.getAdServer().finalizeSlots():(window.addEventListener("metaTagSystemAdServerModuleLoaded",function(){SDG.getAdServer().finalizeSlots()}),!0)},determineContainer:function(e,t){var o,i={containerId:"",containerNode:null};return"string"==typeof t?(i.containerId=t,(o=document.getElementById(t))?i.containerNode=o:this.addContainerToQueue(t,e)):t instanceof Node&&1===t.nodeType?(i.containerNode=t,i.containerId=t.id):SDG.logCrit("#!L253!#",[t]),i},checkPositionOverwrite:function(e){var t=SDG.KERNEL.getPosition(e).positionOverwrite;return void 0!==t?(SDG.logDebug("#!L254!#",[e,t]),t):e},isSlotAlreadyInAuction:function(e){return!(!0===e.getFlag("rtaEnabled")&&!1===e.getStatus("auctionRequested"))},isHeaderBidderActive:function(){return this._activeHeaderBidder},setHeaderBidderActivityTo:function(e){this._activeHeaderBidder=e},getSlotByPosition:function(e){var t,o=this.getSlotStore(),i=SDG.KERNEL.getPosition(e),n=null!==i?i.positionOverwrite:"";if(void 0!==n&&0!==n.length&&(e=n),!e)return!1;for(var r in o)if(o.hasOwnProperty(r)&&(t=o[r]).getName()===e)return t},getPlacementByPosition:function(e){return this.getSlotByPosition(e)},getPlacementByAdServerName:function(e){var t,o=this.getSlotStore();for(var i in o)if(o.hasOwnProperty(i)&&(t=o[i]).getAlias()===e)return t;return!1},getPlacementByAdServerContainerId:function(e){var t,o=this.getSlotStore();if("string"!=typeof e)return SDG.logInfo("#!L255!#"),!1;for(var i in o)if(o.hasOwnProperty(i)&&(t=o[i]).getAdServerNodeId()===e)return t},getPlacementByContainerId:function(e){var t,o=this.getSlotStore();if("string"!=typeof e)return SDG.logInfo("#!L256!#"),!1;for(var i in o)if(o.hasOwnProperty(i)&&(t=o[i]).getContainerId()===e)return t},processControllerScrollFeatures:function(){this.updateAllSlotContainerPositions()},updateAllSlotContainerPositions:function(){var e,t,o=this.getSlotStore();for(t in o)o.hasOwnProperty(t)&&(e=o[t]).getFlag("containerAvailable")&&e.shouldSlotCollectVisibilityMarkers()&&e.evaluateVisibilityMarkers()},addGlobalPlacementAddon:function(e,t){SDG.modStore().Placement.prototype.globalAddons[e]=t},addVisibilityMeasurement:function(e,t){SDG.modStore().Placement.prototype.visibilityMeasurement[e]=t},removeGlobalPlacementAddon:function(e){SDG.modStore().Placement.prototype.globalAddons[e].remove.call(this),delete SDG.modStore().Placement.prototype.globalAddons[e]},addLocalAddon:function(e,t,o){e.localAddons[t]=o},removeLocalAddon:function(e,t){e.localAddons[t].deactivate.call(e),delete e.localAddons[t]},getSlotWaitQueues:function(){return this._slotWaitQueues},assignSlotsToWaitQueue:function(e,t){var o=this.findOpenQueue(t);e.forEach(function(e){o.addSlot(e)})},removeSlotFromWaitQueue:function(t){this.getSlotWaitQueues().filter(function(e){return!0===e.isOpen()}).forEach(function(e){e.removeSlot(t)})},findOpenQueue:function(e){var t,o=this.getSlotWaitQueues(),i=!1;0===o.length&&this.addNewWaitQueue(e);for(var n=0;o.length>n;n++)if(o[n].name===e&&!0===o[n].isOpen()){t=o[n],i=!0;break}return!1===i&&(this.addNewWaitQueue(e),t=o[o.length-1]),t},addNewWaitQueue:function(e){var t=new SDG[SDG.CONFIG.SYSTEM.MODULESTORE].AdSlotController.LoadQueue(e);return this.getSlotWaitQueues().push(t)},checkReadinessOfAllOpenQueues:function(){this.getSlotWaitQueues().filter(function(e){return!0===e.isOpen()}).forEach(function(e){e.checkReadiness()},this)},getModuleWaitQueue:function(){return this._moduleWaitQueue},addCriticalModuleWait:function(e){this.getModuleWaitQueue().push(e),SDG.logDebug("#!L257!#",e)},criticalModuleLoaded:function(e){var t=this.getModuleWaitQueue().indexOf(e);-1!==t&&(SDG.logDebug("#!L258!#",e),this.getModuleWaitQueue().splice(t,1)),0===this.getModuleWaitQueue().length&&(SDG.logInfo("#!L259!#"),this._criticalModulesLoaded=!0,SDG.getEventDispatcher().trigger("SDG_CRITICAL_MODULES_LOADED"))},getContainerQueue:function(){return this._containerQueue},addContainerToQueue:function(e,t){this._containerQueue[e]=t,this.isObserverActive()||this.enableObserver()},removeContainerFromQueue:function(e){var t=this.getContainerQueue();delete t[e],0===Object.keys(t).length&&this.disableObserver()},isObserverActive:function(){return!!this._containerObserver},enableObserver:function(){this._containerObserver=SDG.getUtil().createMutationObserver(document.getElementsByTagName("html")[0],{childList:!0,attributes:!1,characterData:!1,subtree:!0},this.checkObservedElements.bind(this))},disableObserver:function(){this._containerObserver.disconnect(),delete this._containerObserver},checkObservedElements:function(e){for(var t,o,i,n,r=e.addedNodes,a=0;r.length>a;a++)void 0!==(t=r[a])&&1===t.nodeType&&t.hasAttribute("id")&&(o=this.getContainerQueue(),i=t.id,o.hasOwnProperty(i)&&(n=o[i],SDG.getEventDispatcher().trigger("SDG_SLOT_CONTAINER_FOUND",{slot:n,containerId:i,containerNode:t}),this.removeContainerFromQueue(i)))},sendSlotToHeaderBidder:function(e){!0===this.isHeaderBidderActive()&&(e.setStatus("auctionRequested",!0),SDG.core().get(SDG.CONFIG.MODULES.PREBID).addSlotToNextAuction(e))},getPlacements:function(){return this.getSlotStore()},getSlotStore:function(){return this.Slots},getConfig:function(){return SDG.core().get(SDG.CONFIG.MODULES.PUBLISHER_CONFIG)},getAdServer:function(){return SDG.getAdServer()},getRecommendationAds:function(){return!1}},SDG.modStore().AdSlotController.LoadQueue=function(e){"use strict";var t=this;t.name=e,t.connected=!1,t.open=!0,t.slots=[],t.lastAction=0,t.timer=0,t.waitTime=60,t.readyStateTime=150,t.searchForConnectedQueue()},SDG.modStore().AdSlotController.LoadQueue.prototype={searchForConnectedQueue:function(){for(var e=this,t=e.controller().getSlotWaitQueues(),o=0;t.length>o;o++)if(!0===t[o].isOpen()&&-1===t[o].name.indexOf("laz")){e.connected=!0,e.connectedQueue=t[o];break}!0!==e.connected&&(e.correlator={renew:!0,changed:!1})},addSlot:function(e){this.getSlots().push(e),e.sendPlacementQueuedEvent(),this.lastAction=(new Date).getTime()},findSlot:function(e){for(var t=-1,o=this.getSlots(),i=0;i<o.length;i++)if(o[i].getName()===e.getName()){t=i;break}return t},removeSlot:function(e){var t=this.findSlot(e);return-1!==t&&(this.getSlots().splice(t,1),this.checkReadiness(),!0)},checkReadiness:function(){var e=this.getSlots();0!==e.length&&this.checkQueueSlots()===e.length&&this.reviewQueueStatus()},checkQueueSlots:function(){var e=this.getSlots(),t=0,o=e.filter(function(e){return!1===e.getStatus("loadReady")});return t=e.length-o.length,o.forEach(function(e){!0===this.controller().checkSlotWaitStatus(e)&&t++},this),t},reviewQueueStatus:function(){var e=this,t=(new Date).getTime(),o="complete"!==document.readyState?e.readyStateTime:e.waitTime;t-e.lastAction>o&&!0===e.isOpen()?e.closeQueue():e.setReviewTimer(o)},closeQueue:function(){this.open=!1,SDG.getEventDispatcher().trigger("SDG_LOAD_WAIT_QUEUE_READY",this)},isOpen:function(){return this.open},getSlots:function(){return this.slots},setReviewTimer:function(e){0!==this.timer&&window.clearTimeout(this.timer),this.timer=window.setTimeout(this.reviewQueueStatus.bind(this),e)},controller:function(){return SDG.getCN()}},SDG.modStore().Postscribe=function(){this._loadStatus="loading",this._debugModus=-1!==location.href.indexOf("psDebug=true"),this._commandQueue=[],document.addEventListener("readystatechange",function(){"complete"===document.readyState&&"complete"===document.readyState&&SDG.core().get(SDG.CONFIG.MODULES.POSTSCRIBE).startQueue()})},SDG.modStore().Postscribe.prototype={parse:function(e){"executing"!==this._loadStatus?this._commandQueue.push(e):e()},startQueue:function(){0!==this._commandQueue.length&&(this.loadPostscribe(),SDG.core().get(SDG.CONFIG.MODULES.POSTSCRIBE)._loadStatus="executing",SDG.log("#!L260!#","DEBUG"))},loadPostscribe:function(){var e=this;this.scriptNode=SDG.getUtil().loadScript("//cdn.stroeerdigitalgroup.de/metatag/libraries/postscribe.min.js",document.getElementsByTagName("head")[0],function(){SDG.core().get(SDG.CONFIG.MODULES.POSTSCRIBE)._loadStatus="loaded",SDG.getEventDispatcher().trigger("SDG_POSTSCRIBE_RESOURCE_LOADED"),e._commandQueue.forEach(function(e){e()})},!1,!1)}},SDG.modStore().Yieldlove=function(e){"use strict";!0===SDG.KERNEL.getValueForModule("TTRACKER","active")&&(SDG.getTTracker().addToLogCollection("yieldlove"),SDG.getTTracker().addToLogCollection("yieldlove_auction"));var n=this,t=e.functionName;if(n._loadStatus="WAITING",n._firstTimeAuction=!0,n._name=e.functionName,n._auctionStartTimer=!1,n._auctionStatus="idle",n._consentEventSet=!1,n._preBidLoadedEventSet=!1,n._consentStringPassed=!1,n._slotsToAuction=[],n._slotsCurrentlyAuctioned=[],n._safetyTimer="",n._params=e,n._loadStatus="none",n._bidder="",n._YLCDNBaseUrl="https://cdn-a.yieldlove.com/yieldlove-bidder-stroeer.js?",n.fullConsentEventFired=!1,n.YLSiteId="",n._useCDNSwitch=!!e.useCDNSwitch&&e.useCDNSwitch,n._useStroeerCDN=!!e.useStroeerCDN&&e.useStroeerCDN,n._useCDNSwitch?(window.yieldlove_ab=window.yieldlove_ab||{},window.yieldlove_ab.mts="0",n._url=SDG.getUtil().getBaseYLUrl(),n._CDN=SDG.getUtil().getYLCDN(),n.YLSiteId=n.selectYieldloveSiteId(),n.YLUrl=n._url+n.YLSiteId,"stroeer"===n._CDN&&(SDG.getUtil().setContentPreload(n.YLUrl,"script"),window.yieldlove_ab.mts="1")):n._useStroeerCDN?(n._url=SDG.getUtil().getBaseUrl(),n.YLSiteId=n.selectYieldloveSiteId(),n.YLUrl=n._url+n.YLSiteId,SDG.getUtil().setContentPreload(n.YLUrl,"script")):(n.YLSiteId=n.selectYieldloveSiteId(),n._url=n._YLCDNBaseUrl),!0!==n.isBrowserAllowed())return SDG.logNotice("#!L261!#"),SDG.getCN().criticalModuleLoaded(t),SDG.getEventDispatcher().trigger("SDG_PREBID_RESOURCE_LOADED"),void SDG.getCN().setHeaderBidderActivityTo(!1);SDG.getCN().setHeaderBidderActivityTo(!0),window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.pbjsYLHH=window.pbjsYLHH||{},window.pbjsYLHH.que=window.pbjsYLHH.que||[],window.yieldlove_prevent_autoload=!0,window.addEventListener("metaTagSystemPrebidResponded",function(){[].concat(n._slotsCurrentlyAuctioned).forEach(function(e){n.reportAuctionEndForSlot(SDG.getCN().getSlotByPosition(e))}),n.auctionFinished()}),window.addEventListener("metaTagSystemSlotAuctionError",function(e){var t=SDG.getCN().getSlotByPosition(e.detail.passedObject);t?(SDG.logError("#!L262!#",t.getName().toUpperCase()),n.reportAuctionEndForSlot(t)):SDG.logError("#!L263!#")}),window.addEventListener("metaTagSystemSlotYlRenderError",function(e){var t=SDG.getCN().getSlotByPosition(e.detail.passedObject);t?SDG.logCrit("#!L264!#",t.getName().toUpperCase()):SDG.logCrit("#!L265!#",e)}),SDG.KERNEL.getValueForModule("PREBID","reloadOnVisibility")&&window.addEventListener("metaTagSystemSlotReloadVisibility",function(e){var t,o=e.detail.slot,i=SDG.getUtil().getLocalStorageData("sdgBlockReload");SDG.KERNEL.getPosition(o).canReloadOnVisibility&&!1===i&&((t=SDG.getCN().getSlotByPosition(o)).setTargeting({ri:["1"]}),n.reportAuctionEndForSlot(t),SDG.Publisher.loadSlot(o))}),window.addEventListener("metaTagSystemYieldloveAuctionDone",function(){n.auctionFinished()}),window.addEventListener("metaTagSystemSlotAuctionComplete",function(e){n.reportAuctionEndForSlot(e.detail.placement)}),window.addEventListener("metaTagSystemSlotDirectRendering",function(e){var t=e.detail.placement;void 0!==t&&(t.executePreCallSetup(),n.prepareSlotForDirectRendering(t))}),!0===e.waitForZoneSetting||!0===e.waitForPageTypeSetting?!0===e.waitForZoneSetting?window.addEventListener("metaTagSystemZoneSet",n.loadYieldloveScript.bind(n)):!0===e.waitForPageTypeSetting&&window.addEventListener("metaTagSystemPageTypeSet",n.loadYieldloveScript.bind(n)):this.loadYieldloveScript(),!0===SDG.KERNEL.adserver.dfp.config.useSingleRequest&&!1===SDG.getCN()._finalizeSlotsFired?window.addEventListener("metaTagSystemSlotsFinalized",function(){n.waitForBidderLoaded.call(n)}):n.waitForBidderLoaded.call(n)},SDG.modStore().Yieldlove.prototype={loadYieldloveScript:function(){var e=this;"none"===e._loadStatus&&(e._loadStatus="loading",!0===SDG.KERNEL.getValueForModule("CONSENTMANAGER","active")&&!1===SDG.KERNEL.getValueForModule("CONSENTMANAGER","nonIABCMP")&&!0===SDG.KERNEL.getValueForModule("PREBID","delayScriptCallUntilConsent")?window.addEventListener("metaTagSystemCmpConsentAvailable",function(){!1===e.fullConsentEventFired&&(e.fullConsentEventFired=!0,e.loadScript())}):e.loadScript())},loadScript:function(){var e=this,t=this.selectYieldloveSiteId(),o=this._url+t,i=SDG.KERNEL.getValueForModule("TTRACKER","active");!0===i&&SDG.getTTracker().addToLogCollection("yl_script"),e.scriptNode=SDG.getUtil().loadScript(o,document.querySelector(e._params.insertionQuery),function(){e._loadStatus="LOADED",SDG.getCN().criticalModuleLoaded(e._name),e._bidder=window.YLHH.bidder=new YLHH.Bidder(t,[],{mode:"online"},window.googletag,window.pbjsYLHH,SDG),!0===i&&(SDG.getTTracker().stopTracking("yl_script",Date.now()),SDG.getTTracker().logYieldloveAuction()),SDG.getEventDispatcher().trigger("SDG_PREBID_RESOURCE_LOADED")},this._params.usePostscribe,this._params.useCrossOrigin,function(){e._loadStatus="ERROR",SDG.getCN().criticalModuleLoaded(e._name),SDG.logNotice("#!L266!#"),SDG.getCN().setHeaderBidderActivityTo(!1),SDG.getEventDispatcher().trigger("SDG_PREBID_RESOURCE_LOADED"),SDG.getCN().loadAdServerSlots(!0)})},getYLScriptFileName:function(e){return"yieldlove-bidder-stroeer_"+e+".js"},selectYieldloveSiteId:function(){var e=this,t=e._params.yieldloveSiteId,o=SDG.Publisher.getConfig().getZone()+"_"+SDG.Publisher.getConfig().getPageType(),i=!1;return e._useCDNSwitch?"yieldlove"===e._CDN?t=e._params.yieldloveSiteId:"stroeer"===e._CDN&&(t=e.getYLScriptFileName(t)):e._useStroeerCDN&&e._url!==e._YLCDNBaseUrl?t=e.getYLScriptFileName(t):(SDG.KERNEL.common.mobileBreakpoint&&SDG.getUtil().getViewportDimensions().width<=parseFloat(SDG.KERNEL.common.mobileBreakpoint)&&e._params.yieldloveMobileSiteId&&(t=e._params.yieldloveMobileSiteId),0!==e._params.zonesUsingSpecialId.length&&(e._params.zonesUsingSpecialId.forEach(function(e){-1!==o.indexOf(e)&&(i=!0)}),!0===i&&(t+="_"+e._params.specialIdAppendum))),t},addSlotToNextAuction:function(e){var t=e.getName();this.clearKeyValueTargeting(e),this._slotsToAuction.push(t),SDG.logDebug("#!L267!#",t.toUpperCase()),!1!==SDG.KERNEL.adserver.dfp.config.useSingleRequest&&!0!==SDG.getCN()._finalizeSlotsFired||this.checkBidderStartTimer()},checkBidderStartTimer:function(){var e=this;!1===e._firstTimeAuction&&(!1===e._auctionStartTimer||window.clearTimeout(e._auctionStartTimer),e._auctionStartTimer=window.setTimeout(e.waitForBidderLoaded.bind(e),55))},collectSlotsForAuction:function(){var e,t,o=SDG.getCN().getSlotStore(),i=[];for(var n in o)o.hasOwnProperty(n)&&(t=(e=o[n]).getName(),e.getFlag("rtaEnabled")&&!0===e.getStatus("loadIntended")&&!1===e.getStatus("auctionRequested")&&(e.setStatus("auctionRequested",!0),SDG.logDebug("#!L268!#",t.toUpperCase()),this.clearKeyValueTargeting(e),i.push(t)));return i},reportAuctionEndForSlot:function(e){var t=e.getName();SDG.logDebug("#!L269!#",t.toUpperCase()),e.setStatus("auctionComplete",!0),this._slotsCurrentlyAuctioned.splice(this._slotsCurrentlyAuctioned.indexOf(t),1),SDG.getCN().checkSlotWaitStatus(e)},prepareSlotForDirectRendering:function(e){var t=e.getName();e.setStatus("directRendering",!0),e.setStatus("auctionComplete",!0),this._slotsCurrentlyAuctioned.splice(this._slotsCurrentlyAuctioned.indexOf(t),1),SDG.logDebug("#!L270!#",t.toUpperCase()),SDG.getCN().removeSlotFromWaitQueue(e),e.sendPlacementCallingEvent(),e.loadProcessResponded()},waitForBidderLoaded:function(){var e=this,t=SDG.CONFIG.STATES.USE_CONSENT_DATA,o=SDG.KERNEL.getValueForModule("CONSENTMANAGER","nonIABCMP")||!1;"LOADED"===e._loadStatus?!0===t&&!1===o&&!1===e._consentStringPassed?e.waitForConsentData():e.passAuctionToYieldlove():!1===e._preBidLoadedEventSet&&window.addEventListener("metaTagSystemPrebidResourceLoaded",function(){!0===t&&!1===o&&!1===e._consentStringPassed?e.waitForConsentData():e.passAuctionToYieldlove()})},waitForConsentData:function(){var e=this,t=SDG.CONFIG.STATES,o=t.CACHED_CONSENT_AVAILABLE,i=t.FULL_CONSENT_DATA_AVAILABLE,n="function"==typeof e._bidder.setConsentString,r=SDG.getUtil();!0==n?!0===o||!0===i?(SDG.logDebug("#!L271!#"),e._bidder.setConsentString(r.getTcMetaData()),e._consentStringPassed=!0,e.passAuctionToYieldlove()):!1===e._consentEventSet&&(SDG.logDebug("#!L272!#"),window.addEventListener("metaTagSystemCmpCachedConsentAvailable",function(){e._bidder.setConsentString(r.getTcMetaData()),e._consentStringPassed=!0,e.passAuctionToYieldlove()})):(SDG.logCrit("#!L273!#"),e.cancelAllAuctions())},passAuctionToYieldlove:function(){var e,t=this;"ERROR"!==t._loadStatus&&(t._auctionStatus="running",!0===t._firstTimeAuction&&(t._firstTimeAuction=!1),0===t._slotsToAuction.length&&(SDG.logDebug("#!L274!#"),t._slotsToAuction=t.collectSlotsForAuction()),e=[].concat(t._slotsToAuction),t._slotsCurrentlyAuctioned=this._slotsCurrentlyAuctioned.concat(t._slotsToAuction),t._slotsToAuction=[],0!==e.length?(SDG.logNotice("#!L275!#",[e]),!0===SDG.KERNEL.getValueForModule("TTRACKER","active")&&SDG.getTTracker().stopTracking("ylwrapper_auction",Date.now()),t._bidder.startAuction(e)):SDG.logNotice("#!L276!#"))},auctionFinished:function(){SDG.logNotice("#!L277!#",[window.pbjsYLHH.getBidsRequested(),window.pbjsYLHH.getBidResponses()]),this._auctionStatus="idle",this._firstTimeAuction&&(this._firstTimeAuction=!1,SDG.getCN().criticalModuleLoaded(this._name)),!0===SDG.KERNEL.getValueForModule("TTRACKER","active")&&SDG.getTTracker().stopTracking("yieldlove_auction",Date.now()),SDG.getCN().loadAdServerSlots(!0)},cancelAllAuctions:function(){var t=this,o=SDG.getCN();t._auctionStatus="ERROR",t._loadStatus="ERROR",SDG.getCN().setHeaderBidderActivityTo(!1),t._slotsToAuction.forEach(function(e){t.reportAuctionEndForSlot(o.getSlotByPosition(e))}),t._slotsCurrentlyAuctioned.forEach(function(e){t.reportAuctionEndForSlot(o.getSlotByPosition(e))}),SDG.getCN().loadAdServerSlots(!0)},clearKeyValueTargeting:function(t){["hb_adid","hb_adid_stroeerCore","hb_bidder","hb_bidder_stroeerCor","hb_pb","hb_pb_stroeerCore","yieldlove_hb_prime","yieldlove_hb_sucbid","yieldlove_meta","yieldlove_pid"].forEach(function(e){t.removeTargeting(e)})},isBrowserAllowed:function(){var e=void 0!==this._params.blockedBrowsers?this._params.blockedBrowsers:[],t="";return!(0!==e.length&&(t=SDG.getUtil().getBrowserData().app,-1<e.indexOf(t)))}},SDG.modStore().PublisherSetup=function(){"use strict";this._config=SDG.KERNEL,this._kernel=SDG.KERNEL,this._zone="zoneError",this._pageType="",this._zoneExtension="",this._keywords={},this._keyValues={},this._protocol="http:"===location.protocol?SDG.CONFIG.PROTOCOLS.HTTP:SDG.CONFIG.PROTOCOLS.HTTPS,this._group=SDG.getUtil().generateRandomNumberString(SDG.KERNEL.common.grpLength),this._isFirstAdCallExecuted=!1,this._isFirstLoadCommandReceived=!1,this._contentObject={},this._contentObjectMutationObserver={}},SDG.modStore().PublisherSetup.prototype={getJsonConfig:function(){return this._kernel},getConfigPartition:function(e){return this._kernel[e]},getCommonValue:function(e){return this._kernel.common[e]},setCommonValue:function(e,t){return this._kernel.common[e]=t},getPosition:function(e){return this._kernel.getPosition(e)},getValueForModule:function(e,t){return this._kernel.getValueForModule(e,t)},setValueForModule:function(e,t,o){return this._kernel.setValueForModule(e,t,o)},getValueForUserConsent:function(e){return this._kernel.userConsent[e]},setValueForUserConsent:function(e,t){return this._kernel.userConsent[e]=t},getAdServerValue:function(e){return this._kernel.adserver[e]},getValueForAdServer:function(e,t){return this._kernel.adserver[e][t]},getVideoAdServerValue:function(e){return this._kernel.videoAdserver[e]},getValueForVideoAdServer:function(e,t){return this._kernel.videoAdserver[e][t]},getVideoPositions:function(e,t){return this._kernel.videoPositions[e][t]},getRecommendationValue:function(e,t){var o=this._kernel;return o.recommendations[e]?!o.recommendations[e][t]&&o.recommendations[e][t]:(SDG.logError("#!L278!#",e),null)},getLoggingValue:function(e){var t=this._kernel.getValueForModule("CORALOGIX",e);return t?"simple"===t?"simple":"complete":(SDG.logError("#!L279!#"),null)},getValueForFormat:function(e,t){var o=this.formats;return o[e]?o[e][t]?o[e][t]:null:(SDG.logError("#!L280!#",e),null)},getFeatureValue:function(e){return this._kernel.features[e]},setFeatureValue:function(e,t){return this._kernel.features[e]=t},getValueForPosition:function(e,t){return this._kernel.getValueForPosition(e,t)},setValueForPosition:function(e,t,o){return this._kernel.setValueForPosition(e,t,o)},addSizeForPosition:function(e,t){var o,i,n=this._kernel.getPosition(e);if(n){if(o=n.dfpSizes,i=n.blockedSizes,-1===SDG.getUtil().findArrayInArray(t,o)){if(i&&-1!==SDG.getUtil().findArrayInArray(t,i))return!1;o.push(t)}return!0}return null},blockSizeForPosition:function(e,t){var o,i,n,r=this._kernel.getPosition(e);return r?(o=r.dfpSizes,r.blockedSizes||(r.blockedSizes=[]),i=r.blockedSizes,-1===SDG.getUtil().findArrayInArray(t,i)&&i.push(t),-1!==(n=SDG.getUtil().findArrayInArray(t,o))&&o.splice(n,1),!0):null},setFormatSizeForPosition:function(e,t,o){var i=this._kernel.getPosition(e);return"string"==typeof t||Array.isArray(o)?(void 0===i.formatMap&&(i.formatMap={}),i.formatMap[t]=o):(SDG.logError("#!L281!#"),"function"==typeof console.trace&&console.trace(),null)},deleteFormatFromPosition:function(e,t){var o=this._kernel.getPosition(e).formatMap;void 0!==o&&o.hasOwnProperty(t)&&delete o[t]},createPosition:function(e,t,o,i,n,r){var a;if(!1===this._kernel.positions.hasOwnProperty(e))return(a=this._kernel.positions[e]={width:""+t,height:""+o,isMobileSlot:n,showAdvertLabel:!0,dfpTagType:"standardGpt",isLocalSlot:!0}).dfpSizes=i,void 0===r&&""===r||(a.dfpPostUnit=r),e;SDG.logError("#!L282!#",e)},getValueForTargeting:function(e,t){return this._kernel.targeting[e]?this._kernel.targeting[e][t]:(SDG.logError("#!L283!#",e),"function"==typeof console.trace&&console.trace(),null)},setValueForTargeting:function(e,t,o){return this._kernel.targeting[e]?"string"!=typeof o&&"boolean"!=typeof o?(SDG.logError("#!L285!#"),"function"==typeof console.trace&&console.trace(),null):(this._kernel.targeting[e][t]=o,this._kernel.targeting[e][t]):(SDG.logError("#!L284!#",e),"function"==typeof console.trace&&console.trace(),null)},getTemplateForType:function(e){return this._kernel.templates[e]},setZone:function(e){return this._zone=e.toLowerCase(),SDG.logDebug("#!L286!#",e),SDG.getEventDispatcher().trigger("SDG_ZONE_SET",e),!0},getZone:function(){return this._zone},setPageType:function(e){return this._pageType=e.toLowerCase(),SDG.logDebug("#!L287!#",e),SDG.getEventDispatcher().trigger("SDG_PAGETYPE_SET",e),!0},getPageType:function(){return this._pageType},setZoneExtension:function(e){return this._zoneExtension=e.toLowerCase(),!0},getZoneExtension:function(){return this._zoneExtension},activateSecureProtocol:function(){return this._protocol=SDG.CONFIG.PROTOCOLS.HTTPS,!0},getProtocol:function(){return this._protocol},getContentObject:function(e){var t,o=this._kernel.features,i=o.contentContainerQuery;return e=void 0===e?window:e,i?(t=e.document.querySelector(i))?{element:t,width:t.offsetWidth+parseFloat(o.contentWidthModifier),top:SDG.getUtil().getPos(t).top+parseFloat(o.contentTopModifier),left:SDG.getUtil().getPos(t).left+parseFloat(o.contentLeftModifier),widthUnmodified:t.offsetWidth,topUnmodified:SDG.getUtil().getPos(t).top,leftUnmodified:SDG.getUtil().getPos(t).left}:(this.monitorContentObject(),!1):(SDG.logFatal("#!L288!#"),!1)},monitorContentObject:function(){var e=SDG.getUtil().getBrowserData(),o=this._kernel.features;if("MSIE"===e.app&&e.version<=10||"Firefox"===e.app&&e.version<=16||"Safari"===e.app&&e.version<=6||"Chrome"===e.app&&e.version<=26||"Opera"===e.app&&e.version<=15)window.addEventListener("placementRegistered",function(e){var t=o.alternativeContentLoadIndicator;e.detail.passedObject.getName()===t&&SDG.getEventDispatcher().trigger("SDG_CONTENT_ELEMENT_LOADED",t)});else{var i=o.contentContainerQuery;this._contentObjectMutationObserver=SDG.getUtil().createMutationObserver(document.getElementsByTagName("html")[0],{childList:!0,attributes:!1,characterData:!1,subtree:!0},function(e){var t=e.addedNodes[0];void 0!==t&&t===document.querySelector(i)&&(SDG.getPUB().getConfig()._contentObjectMutationObserver.disconnect(),SDG.getEventDispatcher().trigger("SDG_CONTENT_ELEMENT_LOADED",t))})}},getAdhesionUnit:function(){return SDG.getUtil().getAdhesionUnit().node},getStickyStop:function(){return!!this.getFeatureValue("stickyStop")&&!!this.getFeatureValue("stickyStop")},getStickyStopUnit:function(){return this.getFeatureValue("stickyStopUnitQuery")&&document.querySelector(this.getFeatureValue("stickyStopUnitQuery"))||!1},isFeatureAvailable:function(e){return!!this._kernel.features[e]},getGroup:function(){return this._group},markFirstAdCallExecuted:function(){SDG.CONFIG.STATES.BEFORE_LOAD_ALL=!0},isFirstAdCallExecuted:function(){return SDG.CONFIG.STATES.BEFORE_LOAD_ALL},markFirstLoadCommandReceived:function(){this._isFirstLoadCommandReceived=!0},isFirstLoadCommandReceived:function(){return this._isFirstLoadCommandReceived},addKeyword:function(e){return this._keywords[e]=!0,this.getAdServer()&&this.getAdServer().updateKeywords(),!0},addKeywords:function(e){var t,o=e.length;if(SDG.getUtil().isArray(e)){for(t=0;t<o;t++)this._keywords[e[t]]=!0;return this.getAdServer()&&this.getAdServer().updateKeywords(),!0}return SDG.logWarn("#!L289!#"),!1},removeKeyword:function(e){return delete this._keywords[e],this.getAdServer()&&this.getAdServer().updateKeywords(),!0},removeKeywords:function(e){var t,o=e.length;if(SDG.getUtil().isArray(e)){for(t=0;t<o;t++)delete this._keywords[e[t]];return this.getAdServer()&&this.getAdServer().updateKeywords(),!0}return SDG.logWarn("#!L290!#"),!1},setKeywords:function(e){this._keywords={},this.addKeywords(e)},getKeywords:function(){var e,t=[];for(e in this._keywords)this._keywords.hasOwnProperty(e)&&t.push(e);return t},addKeyValue:function(e,t){return this._keyValues[e]||(this._keyValues[e]=[]),this._keyValues[e].push(t),this.getAdServer()&&this.getAdServer().sendKeyValueUpdate(e),!0},addKeyValues:function(e){var t,o,i;if("object"!=typeof e)return SDG.logWarn("#!L291!#"),!1;for(t in e)if(e.hasOwnProperty(t)){if(SDG.getUtil().isArray(e[t]))for(i=e[t].length,o=0;o<i;o++)this._keyValues[t]||(this._keyValues[t]=[]),this._keyValues[t].push(e[t][o]);else this._keyValues[t]||(this._keyValues[t]=[]),this._keyValues[t].push(e[t]);this.getAdServer()&&this.getAdServer().sendKeyValueUpdate(t)}return!0},addKeyValuePresetToPosition:function(e,t){var o,i,n,r=this._kernel.positions;if(r[e].kvPreset||(r[e].kvPreset={}),"object"==typeof t)for(o in t)if(t.hasOwnProperty(o))if(n=t[o].length,SDG.getUtil().isArray(t[o]))for(i=0;i<n;i++)r[e].kvPreset[o]||(r[e].kvPreset[o]=[]),r[e].kvPreset[o].push(t[o][i]);else r[e].kvPreset[o]||(r[e].kvPreset[o]=[]),r[e].kvPreset[o].push(t[o])},removeKeyValue:function(e){return delete this._keyValues[e],this.getAdServer()?this.getAdServer().sendKeyValueRemove(e):window.addEventListener("metaTagSystemAdServerModuleLoaded",function(){SDG.getAdServer().sendKeyValueRemove(e)}),!0},removeKeyValues:function(e){var t,o=e.length;if(SDG.getUtil().isArray(e)){for(t=0;t<o;t++)this.removeKeyValue(e[t]);return!0}return SDG.logWarn("#!L292!#"),!1},setKeyValues:function(e){this._keyValues={},this.addKeyValues(e)},getFilteredKeyValues:function(){for(var e=this.getKeyValues(),t=Object.keys(e),o=this._kernel.common.kvFilter,i={},n=0;n<=t.length-1;n++)-1===o.indexOf(t[n])&&(i[t[n]]=e[t[n]]);return i},blockFormats:function(e,t){return!0===Array.isArray(e)&&0!==e.length?(e.forEach(function(e){"string"==typeof e&&SDG.getFormatController().executeFormatBlock(e,t)}),!0):(SDG.logError("#!L293!#"),!1)},resetFormatBlocks:function(){return SDG.getFormatController().resetFormatBlocks()},executeLocalBackgroundColor:function(){return SDG.logDebug("#!L294!#"),!0},executeLocalBackgroundClickable:function(){return SDG.logDebug("#!L295!#"),!0},getKeyValues:function(){return this._keyValues},activateFormat:function(e){return this.editFormat(e)},editFormat:function(e){SDG.core().get(SDG.CONFIG.MODULES.FORMAT_CONFIG).editFormat(e)},getAdServer:function(){return SDG.getAdServer()},getVideoAdServer:function(){return SDG.getVideoAdServer()}},SDG.modStore().ServiceContainer=function(){},SDG.modStore().ServiceContainer.prototype={set:function(e,t){this[e]=t.call(this),"function"==typeof this[e].init&&this[e].init()},get:function(e){return this[e]},populate:function(e){var t=[],o=this,i=SDG.KERNEL,n=SDG.CONFIG.STATES,r=SDG.getUtil(),a=i.getModule("CONSENTMANAGER").active,s=SDG.modStore();for(var l in i[e])i[e].hasOwnProperty(l)&&(t=t.concat(i[e][l]));for(var d in t)if(t.hasOwnProperty(d))for(var c in t[d])if(t[d].hasOwnProperty(c)){var g=t[d][c],u=g.functionName;if((void 0!==u&&s.hasOwnProperty(u.split(".")[0])||s.hasOwnProperty(u))&&!0===g.active){if(!0===g.oncePerSession){if(parseFloat(r.getSessionStorageData("sdg_"+c)))continue;r.setSessionStorageData("sdg_"+c,"1")}!0===g.criticalModule&&SDG.getCN().addCriticalModuleWait(g.functionName),!0===a&&!0===g.consentRequired?!0===n.FULL_CONSENT_DATA_AVAILABLE?(SDG.logDebug("#!L296!#",g.functionName),o.startModuleWhenConsented(c,g)):(SDG.logDebug("#!L297!#",g.functionName),window.addEventListener("metaTagSystemCmpConsentAvailable",function(e,t){o.startModuleWhenConsented(e,t)}.bind(o,c,g))):o.buildModule(c,g)}}},startModuleWhenConsented:function(e,t){var i=this,o=!t.hasOwnProperty("legalBase")||"consent"===t.legalBase;SDG.getUtil().hasVendorConsent(t.iabVendorId,function(e,t,o){o?(SDG.logDebug("#!L298!#",t.functionName),i.buildModule(e,t)):(SDG.logNotice("#!L299!#",t.functionName),t.criticalModule&&SDG.getCN().criticalModuleLoaded(t.functionName))}.bind(i,e,t),o)},buildModule:function(e,t){this.set(SDG.CONFIG.MODULES[e],function(e){var t;return-1<e.functionName.indexOf(".")?(t=e.functionName.split("."),new SDG[SDG.CONFIG.SYSTEM.MODULESTORE][t[0]][t[1]](e)):new SDG[SDG.CONFIG.SYSTEM.MODULESTORE][e.functionName](e)}.bind(this,t))}},SDG.modStore().TimeTracker=function(){var e=this;e.timeoutTime=0,e.scriptCollection={},e.placementCollection={},e.placementQueue=[],e.devProcess=[],e.yieldLoveLogInfo={site:0,bidder:0,auction:0,slots:{}},e.numberOfModules=0,e.numberOfPlacements=0,e.isLogSent=!1,e.addToLogCollection("SDG_Core"),e.addToLogCollection("ylwrapper_auction")},SDG.modStore().TimeTracker.prototype={addToLogCollection:function(e){this.scriptCollection[e]={moduleName:e},this.scriptCollection[e].unixStartTime=this.setStartTime()},addToPlacementCollection:function(e){this.placementCollection[e]={Placement:e},this.placementCollection[e].unixStartTime=this.setStartTime(),this.addToPlacementQueue(e)},setStartTime:function(){return this._setStartTime=Date.now()},stopTracking:function(e,t){var o=this;if(o.scriptCollection.hasOwnProperty(e))return o.numberOfModules=o.numberOfModules+1,o.scriptCollection[e].unixEndTime=t,void(o.scriptCollection[e].LoadTime_ms=t-o.scriptCollection[e].unixStartTime);o.placementCollection.hasOwnProperty(e)&&(o.numberOfPlacements=o.numberOfPlacements+1,o.placementCollection[e].unixEndTime=t,o.placementCollection[e].LoadTime_ms=t-o.placementCollection[e].unixStartTime)},getScriptCollection:function(){return this.scriptCollection},getPlacementCollection:function(){return this.placementCollection},addToPlacementQueue:function(e){this.placementQueue.push(e)},removeFromPlacementQueue:function(e){this.trackTimeToCall();for(var t=0;t<this.placementQueue.length;t++)this.placementQueue[t]===e.getName()&&this.placementQueue.splice(t,1)},trackTimeToCall:function(){this.timeoutTime=SDG.Publisher.getConfig().getValueForModule("TTRACKER","timeOutTime"),this.timeoutTimer=window.setTimeout(function(){SDG.getEventDispatcher().trigger("SDG_PERFORMANCE_READY")},this.timeoutTime)},trackInternalProcess:function(e,t,o){var i=this;!1===o?(i.devProcess[e]={processName:e},i.devProcess[e].startTime=t):(i.devProcess[e].endTime=t,i.devProcess[e].totalTime=i.devProcess[e].startTime-i.devProcess[e].endTime)},logYieldloveAuction:function(){var h=this,f=!0,v=window.YLHH,D=h.getYieldloveLog();window.googletag.cmd.push(function(){window.googletag.pubads().addEventListener("slotRenderEnded",function(e){try{var t,o,i,n,r,a=v.bidder,s=a.data,l=a.tracker,d=s.auctions,c=s.adUnitData,g=h.scriptCollection,u="object"==typeof a&&"object"==typeof s&&"object"==typeof s.auctions,S=g.hasOwnProperty("yl_script")?g.yl_script.unixStartTime:-1,p=!(!0!=u||!l||!l.getTimeMaps)&&l.getTimeMaps(),m=e.slot.getSlotElementId();if(!0==u&&-1!==S&&(!0===f&&0<Object.keys(d).length&&(D.site=v.startTime-performance.timing.domLoading,D.bidder=v.startTime-S,D.auction=d[Object.keys(d)[0]].startTime-v.startTime,f=!1),c&&!1!==p)){if(r=SDG.getAdServer().getSlotForEvent(e).getName(),!(t=a.getAdUnitByGPTSlot(e.slot)))return;o=d[c[t.code].auctionId].startTime,i=D.slots=D.slots||{},n=p[m],i[r]=i[r]||{request:n.requestedTime-o,render:n.renderStartedTime-o,rendered:Date.now()-o}}}catch(e){SDG.logError("#!L300!#",e)}})})},setYieldloveLog:function(e){this.yieldLoveLogInfo=e},getYieldloveLog:function(){return this.yieldLoveLogInfo}},SDG.modStore().Video=function(e){this._pubconf=SDG.core().get(SDG.CONFIG.MODULES.PUBLISHER_CONFIG),this._kernel=SDG.KERNEL,this._videoConfig=this._kernel.videoAdserver[e].config,this._jsonRootName=this._videoConfig.jsonRootName,this._videoParentDiv=this._videoConfig.videoParentDiv,this._videoConfig.videoPostMessage&&window.addEventListener("message",function(e){SDG.Publisher.getVideoAdServer().videoPostMessage(e)}),this.preroll=this._videoConfig.preroll,this.midroll=this._videoConfig.midroll,this.postroll=this._videoConfig.postroll,this.overlay=this._videoConfig.overlay,this.presenterpre=this._videoConfig.prepres,this.presenterpost=this._videoConfig.postpres,this._defaultVideoTagTemplate=this._videoConfig.defaultVideoTagTemplate,this._keys=[]},SDG.modStore().Video.prototype={videoPostMessage:function(e){if("string"==typeof e.data&&-1!==e.data.indexOf("vastInteraction"))return-1!==e.data.indexOf("brandedPlayer")?(SDG.logDebug("#!L301!#",e.data),this.createBrandedPlayer(e),!0):-1!==e.data.indexOf("stopAd")&&(window.removeEventListener("message",function(e){SDG.Publisher.getVideoAdServer().videoPostMessage(e)}),this.destroyBrandedPlayer(),!0)},createBrandedPlayer:function(e){var t=e.source,o=this,i=JSON.parse(e.data),n={small:i.files[0],mid:i.files[1],large:i.files[2]},r=document.createElement("style"),a=document.createElement("div"),s=document.querySelector(this._videoParentDiv);r.id="im_css1",r.innerHTML=new SDG[SDG.CONFIG.SYSTEM.UTILITY].Template(this._pubconf.getTemplateForType("brandedPlayer")).render(n),document.getElementsByTagName("body")[0].appendChild(r),a.id="im_skin_wrap",a.innerHTML='<a id="im_skin" href="javascript:sdg_click()"><span id="anzeig">Anzeige</span></a><a href="javascript:sdg_moveback()"><span id="schliess">Schliessen</span></a>',s.insertBefore(a,s.firstChild),SDG.logDebug("#!L302!#",this._videoParentDiv),window.sdg_moveback=function(){t.postMessage("collapseAd","*"),o.destroyBrandedPlayer()},window.sdg_click=function(){t.postMessage("clickAd","*")}},destroyBrandedPlayer:function(){document.getElementById("im_skin_wrap").style.display="none",document.getElementById("im_css1")&&document.getElementById("im_css1").parentNode.removeChild(document.getElementById("im_css1")),SDG.logDebug("#!L303!#")},checkArrayForString:function(e,t){if(3<e.length)for(var o=0;o<t.length;o++)if(t[o].toString()===e.toString())return!0},checkConfigForVideoZone:function(t){var e=SDG.getUtil().checkOS().isMobile?"mew":"desktop",o=this._kernel.videoPositions[e],i=Object.keys(o),n=t,r=!1;if(-1<i.indexOf(t))r=!0;else for(var a=0;a<i.length;a++)void 0!==o[i[a]].possibleCoZones&&o[i[a]].possibleCoZones.forEach(function(e){e===t&&(r=!0,n=i[a],SDG.logDebug("#!L304!#",+e))});return!0!==r&&(n="rest",SDG.logWarn("#!L305!#",t)),n},getKeywordsFromConfig:function(e){var t=SDG.getUtil().checkOS().isMobile?"mew":"desktop",o=this._pubconf.getVideoPositions(t,e),i=[];return void 0!==o.customKey&&o.customKey.length&&(SDG.Publisher.addKeywords(o.customKey),i=o.customKey),i.join(";")},getTagIds:function(e,t){var o,i="00000000",n=SDG.getUtil().checkOS().isMobile?"mew":"desktop",r=this._kernel.videoPositions[n];return-1<Object.keys(r).indexOf(t)?(o=this._kernel.videoPositions[n][t]).hasOwnProperty(e)&&""!==o[e]?i=o[e]:SDG.logWarn("#!L307!#",e):SDG.logWarn("#!L306!#",t),i},createVideoTag:function(e,t){var o=this,i=SDG.getUtil(),n=SDG.CONFIG.STATES.USE_CONSENT_DATA,r=i.getTcMetaData(),a={protocol:"https:",tagID:o.getTagIds(e,t),keys:o.getKeywordsFromConfig(t),referrer:i.getCurrentUrl(250),misc:i.generateRandomNumberString(10),gdpr:!0===n?1:0,gdpr_consent:void 0!==r&&!0===n?r:""};if(SDG.logDebug("#!L308!#",[o._defaultVideoTagTemplate,t,e,a.tagID,a.keys]),"00000000"!==a.tagID)return new SDG[SDG.CONFIG.SYSTEM.UTILITY].Template(o._pubconf.getTemplateForType(o._defaultVideoTagTemplate)).render(a)},buildOutputForPublisher:function(e){var t=window[this._jsonRootName]={};for(var o in e.videozone=this.checkConfigForVideoZone(e.videozone),e)e.hasOwnProperty(o)&&"videozone"!==o&&!0===e[o]&&""!==this[o]&&(t[this._videoConfig.hasOwnProperty(o)&&0!==this._videoConfig[o].length?this._videoConfig[o]:o]=this.createVideoTag(o,e.videozone));return SDG.logDebug("#!L309!#",JSON.stringify(t)),window[this._jsonRootName]=t,window.vastDataReady=!0,t},parsePublisherInput:function(e,t){var o,i,n={},r=[];if("object"==typeof e)return void 0!==(n=e).videozone&&""!==n.videozone||(n.videozone="zoneError"!==this._pubconf.getZone()?this._pubconf.getZone():"rest"),this.buildOutputForPublisher(n);for(o=e.replace(/ /g,"").split(","),r=r.concat(o),i=0;o.length>i;i++)switch(o[i]){case"prer":n.preroll=!0,r.splice(r.indexOf("prer"),1);break;case"midr":n.midroll=!0,r.splice(r.indexOf("midr"),1);break;case"postr":n.postroll=!0,r.splice(r.indexOf("postr"),1);break;case"prepres":n.presenterpre=!0,r.splice(r.indexOf("prepres"),1);break;case"postpres":n.presenterpost=!0,r.splice(r.indexOf("postpres"),1);break;case"over":n.overlay=!0,r.splice(r.indexOf("over"),1)}for(i=0;r.length>i;i++)n[r[i]]=!0;return"string"==typeof e&&void 0===t&&(n.videozone="zoneError"!==this._pubconf.getZone()?this._pubconf.getZone():"rest"),"string"==typeof e&&"string"==typeof t&&(n.videozone=t),this.buildOutputForPublisher(n)}},function(){SDG[SDG.CONFIG.SYSTEM.CORE]=new SDG[SDG.CONFIG.SYSTEM.MODULESTORE].ServiceContainer,SDG[SDG.CONFIG.SYSTEM.ACTIVERESOURCES]=new SDG[SDG.CONFIG.SYSTEM.MODULESTORE].ServiceContainer;var e,t,o,i,n,r=SDG.getUtil();t=r.getLocalStorageData("sdgCmp"),o=r.getLocalStorageData("sdgClsDemo"),i=r.getLocalStorageData("sdgHullDemo"),n=document.location.href,e=SDG.KERNEL.getModule("CONSENTMANAGER"),(-1<n.indexOf("sdgCmp=")||!1!==t)&&((-1<n.indexOf("sdgCmp=tcf2")||"tcf2"===t)&&(e.functionName="ConsentFramework20",window.sdgCmpActive=!0,SDG.getUtil().toggleModuleActive("CONSENTMANAGER",!0)),(-1<n.indexOf("sdgCmp=exttcf2")||"exttcf2"===t)&&(e.functionName="ConsentFramework20",e.externalCMP=!0,window.sdgCmpActive=!0,SDG.getUtil().toggleModuleActive("CONSENTMANAGER",!0)),(-1<n.indexOf("sdgCmp=off")||"off"===t)&&(window.sdgCmpActive=!1,SDG.getUtil().toggleModuleActive("CONSENTMANAGER",!1))),-1<n.indexOf("isPreview=yes")&&-1<n.indexOf("&creativeId=")&&(SDG.KERNEL.getModule("MEETRICS").active=!1),-1<window.location.href.indexOf("webmail.freenet.de/Email/View/")&&SDG.getUtil().toggleModuleActive("CONSENTMANAGER",!1),-1===location.href.indexOf("webapps.ffh.de")&&-1===location.href.indexOf("webapps.harmonyfm.de")&&-1===location.href.indexOf("webapps.planetradio.de")||SDG.getUtil().toggleModuleActive("CONSENTMANAGER",!1);var a="object"==typeof SDG.KERNEL?SDG.KERNEL:SDG.CONFIG.JSON,s=a.common,l=Math.round(100*Math.random()),d=s.hasOwnProperty("yieldPercentage")?s.yieldPercentage:1,c="0";"1"===o&&(a.layout.reduceLayoutShift=!0,a.layout.leftCenterAds=!0,a.layout.centerAds=!0),"1"===i&&(a.layout.useHull=!0),"1"===SDG.getUtil().getLocalStorageData("sdgUseNewController")&&(a.adserver.dfp.functionName="GoogleQueueDfp",a.getModule("ADSLOT_CONTROLLER").functionName="AdSlotController.QueueController"),s.hasOwnProperty("useTestYieldSetup")&&!0===s.useTestYieldSetup&&l<=d&&(c="1"),SDG.getUtil().setLocalStorageData("sdgYieldtest",c),SDG[SDG.CONFIG.SYSTEM.CORE].populate("modules"),SDG.getUtil().initUtilities(),SDG.Publisher.addKeyValue("yt",c),SDG.getPUB().addKeyValue("adset","brsl"),SDG.getCN().criticalModuleLoaded("global"),!0===SDG.Publisher.getConfig().getValueForModule("TTRACKER","active")&&SDG.getTTracker().stopTracking("SDG_Core",Date.now()),window.addEventListener("metaTagSystemBeforeLoadAll",function(e){}),window.addEventListener("metaTagSystemLoadedAll",function(e){SDG.log("SYSTEM: Event: LOADED_ALL was triggered. DOM now ready.",SDG.loglvl("DEBUG"),e)}),SDG.Publisher.getConfig().executeLocalBackgroundColor=function(e){return!0},SDG.Publisher.getConfig().executeLocalBackgroundClickable=function(e){return!0},SDG.Publisher.getConfig().editFormat({name:"billboard",startFormat:function(e){}}),SDG.Publisher.getConfig().editFormat({name:"wallpaper",startFormat:function(e){}}),SDG.Publisher.getConfig().editFormat({name:"bridgead",startFormat:function(e){}})}();
//# sourceMappingURL=metaTag.min.js.map
/*!
 *	Stroer Ads
 *	rallye-magazin.de Banner Management
 *
 *  DOKU: https://stroeerdigitalgroup.atlassian.net/wiki/spaces/SDPUBLIC/pages/25306264/Deutsche+MetaTag+Dokumentation
 *
 *	Author: Sascha Falke
 *	Copyright (c) 2019 Kallinich Media GmbH & Co. KG
 */

function checkForActiveContentBlocker(callback){
    // Source: https://jonathanmh.com/how-to-detect-ad-blockers-adblock-ublock-etc/
    var testURL = 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js';
  
    var myInit = {
        method: 'HEAD',
        mode: 'no-cors'
    };
  
    var myRequest = new Request(testURL, myInit);
  
    fetch(myRequest).then(function(response) {
        return response;
    }).then(function(response) {
        //console.log(response);
        callback(false);
    }).catch(function(e){
        //console.log(e);
        callback(true);
    });
}

function initStroerBanners() {
    // If laterpay paywal not active, init Stroer Ads
    if (document.body.classList.contains('laterpay-active') === false)
    {
        var sky = false,
            viewportW = window.innerWidth,
            viewportH = window.innerHeight;
            
        if ( viewportW < 992) {
            // Mobile plan
            loadStroerMobile();
        } else {
            // Desktop plan
            if (viewportW >= 1200) sky = true;
            loadStroerDesktop(sky);
        }

        document.getElementById('stroerAdBillboard').addEventListener('metaTagSlotEmpty', function (eventObject) {
            //console.log('billboard removed');
            document.getElementsByClassName('container-billboard')[0].classList.add('hidden');
            ////console.log('system Event "metaTagSlotCalling", event information can be found here %o',eventObject);
            ////console.log('additionally the name of the adSlot is saved here %o',eventObject.detail.slot);
        });
        document.getElementById('stroerAdTopmobile2').addEventListener('metaTagSlotEmpty', function (eventObject) {
            //console.log('topmobile2 removed');
            document.getElementsByClassName('container-topmobile2')[0].classList.add('hidden');
        });

        //console.log('stroer init done');
    }
}

function loadStroerMobile() {
    //console.log('load mobile plan');
    
    SDG.Publisher.registerSlot('topmobile', 'stroerAdTopmobile').load();
	SDG.Publisher.registerSlot('topmobile2', 'stroerAdTopmobile2').load();
    SDG.Publisher.finalizeSlots();
}

function loadStroerDesktop(sky) {
    //console.log('load desktop plan');
    
    SDG.Publisher.registerSlot('banner', 'stroerAdBanner').load();
    if (sky) {
        document.getElementById('stroerAdSky').addEventListener('metaTagSlotRegistered', function (eventObject) {
            document.body.classList.add('has-sky');
            ////console.log('system Event "metaTagSlotCalling", event information can be found here %o',eventObject);
            ////console.log('additionally the name of the adSlot is saved here %o',eventObject.detail.slot);
        });
        SDG.Publisher.registerSlot('sky', 'stroerAdSky').load();
    }
    SDG.Publisher.registerSlot('billboard', 'stroerAdBillboard').load();
    SDG.Publisher.registerSlot('rectangle', 'stroerAdRectangle').load();
    SDG.Publisher.registerSlot('out-of-page', 'stroerAdOutofpage').load();
    SDG.Publisher.finalizeSlots();
}

// Wait until innerheight changes, for max 120 frames
function orientationChanged() {
    const timeout = 120;
    return new window.Promise(function(resolve) {
        const go = (i, height0) => {
        window.innerHeight != height0 || i >= timeout ?
            resolve() :
            window.requestAnimationFrame(() => go(i + 1, height0));
        };
        go(0, window.innerHeight);
    });
}

document.addEventListener("DOMContentLoaded", function() {
    /**
     * Version without ad blocker hint
     */
    var resultElement = document.getElementById('alertContentBlocker2');
    resultElement.parentNode.removeChild(resultElement);
    
    var zone = 'Rest',
        sky = false;
    
    // Add class to body
    document.body.classList.add('stroer-active');
    
    // Define page type
    if (document.body.classList.contains('level_0')) zone = 'Startseite';
    SDG.Publisher.setZone(zone);
    
    // Define keywords (maybe get keywords from page meta tag)
    //SDG.Publisher.addKeywords(['auto','auto_news','naesse','reifen']);
    
    // Init Stroer Ads depending on screen size
    initStroerBanners();
    
    /**
     * Version with ad blocker hint
     *
    checkForActiveContentBlocker( function(blocked) {
        var resultElement = document.getElementById('alertContentBlocker2'),
            // detect google bots, or alert content will be shown as teaser text in search results
            isBot = /bot|googlebot|crawler|spider|robot|crawling/i.test(navigator.userAgent);

        if (blocked && !isBot) {
            // GoogleAnalytics adblock counter = true
            tfqadEUpPoHvrMrMRM = "Yes";

            if (document.getElementsByClassName("seite_21").length === 0) {
                resultElement.innerHTML = '<div class="alert alert-danger"><p><strong>AdBlocker :(</strong></p><p>365 Tage im Jahr berichten wir aus der Welt des Rallyesports und bieten dir diese Inhalte kostenlos an. Unsere Arbeit finanzieren wir uns zum großen Teil über Werbung, die auf der Seite eingeblendet wird. Dein AdBlocker verhindert diese Werbung.</p><p>Du willst unsere unabhängige Berichterstattung unterstützen?</p><p><a class="btn btn-danger" href="https://www.rallye-magazin.de/adblocker-deaktivieren/" title="AdBlocker deaktivieren: So geht’s!">Wir erklären dir, wie man den AdBlocker nur für rallye-magazin.de deaktiviert.</a></p></div>';
            } else {
                resultElement.innerHTML = '<div class="alert alert-danger"><p><strong>AdBlocker :(</strong></p><p>Glückwunsch, ihr AdBlocker funktioniert. Leider können deshalb auch keine Kleinanzeigen eingeblendet werden.</p><p><a class="btn btn-danger" href="https://www.rallye-magazin.de/adblocker-deaktivieren/" title="AdBlocker deaktivieren: So geht’s!">Wir erklären dir, wie man den AdBlocker nur für rallye-magazin.de deaktiviert.</a></p></div>';
            }
        } else {
            // GoogleAnalytics adblock counter = false
            tfqadEUpPoHvrMrMRM = "No";
            
            var zone = 'Rest',
                sky = false;
            
            // Add class to body
            document.body.classList.add('stroer-active');
            
            // Define page type
            if (document.body.classList.contains('level_0')) zone = 'Startseite';
            SDG.Publisher.setZone(zone);
            
            // Define keywords (maybe get keywords from page meta tag)
            //SDG.Publisher.addKeywords(['auto','auto_news','naesse','reifen']);
            
            // Init Stroer Ads depending on screen size
            initStroerBanners();

            resultElement.parentNode.removeChild(resultElement);
        }

        // AdBlock count at Google Analytics
        if (typeof ga !=='undefined') {
            ga('send', 'event', 'Blocking Ads', tfqadEUpPoHvrMrMRM, {'nonInteraction': 1});
        } else if (typeof _gaq !=='undefined') {
            _gaq.push(['_trackEvent', 'Blocking Ads', tfqadEUpPoHvrMrMRM, undefined, undefined, true]);
        }
    });
    */
});

window.addEventListener('orientationchange', function() {
    //console.log('orientation changed');
    // Event is triggered before the rotation is completed -> window.innerWidth returns "old" value right after event was fired
    // Solution: https://stackoverflow.com/a/44579732
    SDG.Publisher.unregisterAllSlots(true);

    orientationChanged().then(function() {
        // Re-init Stroer Ads depending on screen size
        initStroerBanners();

        //console.log('stroer reload done');
    });
});

			/* decrypt helper function */
		function decryptCharcode(n,start,end,offset) {
			n = n + offset;
			if (offset > 0 && n > end) {
				n = start + (n - end - 1);
			} else if (offset < 0 && n < start) {
				n = end - (start - n - 1);
			}
			return String.fromCharCode(n);
		}
			/* decrypt string */
		function decryptString(enc,offset) {
			var dec = "";
			var len = enc.length;
			for(var i=0; i < len; i++) {
				var n = enc.charCodeAt(i);
				if (n >= 0x2B && n <= 0x3A) {
					dec += decryptCharcode(n,0x2B,0x3A,offset);	/* 0-9 . , - + / : */
				} else if (n >= 0x40 && n <= 0x5A) {
					dec += decryptCharcode(n,0x40,0x5A,offset);	/* A-Z @ */
				} else if (n >= 0x61 && n <= 0x7A) {
					dec += decryptCharcode(n,0x61,0x7A,offset);	/* a-z */
				} else {
					dec += enc.charAt(i);
				}
			}
			return dec;
		}
			/* decrypt spam-protected emails */
		function linkTo_UnCryptMailto(s) {
			location.href = decryptString(s,-2);
		}
		