1window.wt_teaserTracking = function(conf) { 2 if ((conf.mode === "page" || conf.mode === "config") && conf.requestCounter === 1) { 3 var wt_teaserTrackingConfig_v2 = window.wt_teaserTrackingConfig_v2 || { 4 teaserAttribute: "data-wt-teaser", 5 viewPercent: 75, 6 viewTime: 750, 7 attribution: "last", // first, last, all 8 maxSendTeasers: { 9 session: 10000, 10 page: 1000 11 }, 12 clearConversions: true, 13 autoEngagements: true 14 }; 15 16 17 window.wt_ttv2 = window.wt_ttv2 || []; 18 window.wt_ttv2.push( 19 { 20 selector: ".wishlist-content", 21 exclude: [ 22 ".wishlist-btn" 23 ] 24 }); 25 26if("undefined"!==typeof document.querySelectorAll&&"undefined"!==typeof document.querySelector){var ViewPort=function(f,k,m){var g=[],p=!0,l=!0,e="",h="";this.setItems=function(d){if("undefined"!==typeof d&&null!==d&&d.length)for(var a=0;a<d.length;a++)g.push(t(d[a]))};this.deleteItems=function(d){if("object"===typeof d&&null!==d&&d.length)for(var a=0;a<d.length;a++)g.indexOf(d[a])&&g.splice(g.indexOf(d[a]),1)};var r=function(){e=window.innerHeight||self.innerHeight||document.documentElement&&document.documentElement.clientHeight|| 27document.body.clientHeight;h=window.innerWidth||self.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body.clientWidth;p=!0},t=function(d){d.wt_vp=d.wt_vp||{};d.wt_vp.dimension=b(d);return d},q=function(d){window.setTimeout(function(){for(var a=[],s=!1,c=0;c<d.length;c++)d[c].wt_vp.dimension=b(d[c]),d[c].wt_vp.dimension.visible.height.percent>=f.percent.on&&d[c].wt_vp.dimension.visible.width.percent>=f.percent.on?(d[c].wt_vp.on-=50,a.push(d[c]),0>=d[c].wt_vp.on&& 28(s=!0)):delete d[c].wt_vp.on;a.length&&(s&&!l?k(a):q(a))},50)},n=function(d){window.setTimeout(function(){for(var a=[],c=0;c<d.length;c++)d[c].wt_vp.dimension=b(d[c]),d[c].wt_vp.dimension.hidden.height.percent>=f.percent.off&&d[c].wt_vp.dimension.hidden.width.percent>=f.percent.off?(d[c].wt_vp.off-=50,0===d[c].wt_vp.off?(delete d[c].wt_vp.on,delete d[c].wt_vp.off):a.push(d[c])):delete d[c].wt_vp.off;a.length&&n(a)},50)},b=function(d){var a=d.wt_vp.dimension||{rec:null,visible:{height:{percent:null, 29pixel:null},width:{percent:null,pixel:null}},hidden:{height:{percent:null,pixel:null},width:{percent:null,pixel:null}}},b=d.getBoundingClientRect();a.rec={height:"undefined"!==typeof b.height?b.height:d.clientHeight,width:"undefined"!==typeof b.width?b.width:d.clientWidth,top:b.top,right:b.right,bottom:b.bottom,left:b.left};d=a.visible.height;var b=a.rec,c=0;(0<=b.top||0<b.top+b.height)&&b.top<e&&(c+=b.height,c+=0>b.top?b.top:0,c-=b.top+b.height>e?b.height+b.top-e:0);if(0>=b.left+b.width||b.left>= 30h)c=0;d.pixel=c;d=a.visible.width;b=a.rec;c=0;(0<=b.left||0<b.left+b.width)&&b.left<h&&(c=b.width,c+=0>b.left?b.left:0,c-=b.left+b.width>h?b.left+b.width-h:0);if(0>=b.top+b.height||b.top>=e)c=0;d.pixel=c;a.visible.height.percent=100*a.visible.height.pixel/a.rec.height;a.visible.width.percent=100*a.visible.width.pixel/a.rec.width;a.hidden.height.pixel=a.rec.height-a.visible.height.pixel;a.hidden.width.pixel=a.rec.width-a.visible.width.pixel;a.hidden.height.percent=100-a.visible.height.percent;a.hidden.width.percent= 31100-a.visible.width.percent;return a};this.start=function(){if(l&&g.length){c();var b=window,a=c;b.addEventListener?b.addEventListener("scroll",a,!1):b.attachEvent&&b.attachEvent("onscroll",a);b=window;a=c;b.addEventListener?b.addEventListener("resize",a,!1):b.attachEvent&&b.attachEvent("onresize",a);l=!1}};this.stop=function(){if(!l){var b=window,a=c;b.removeEventListener?b.removeEventListener("scroll",a,!1):b.detachEvent&&b.detachEvent("onscroll",a);b=window;a=c;b.removeEventListener?b.removeEventListener("resize", 32a,!1):b.detachEvent&&b.detachEvent("onresize",a);l=!0}};var c=function(){r();if(g.length&&p){p=!1;for(var c=[],a=[],s=0;s<g.length;s++){g[s].wt_vp.dimension=b(g[s]);var e=g[s].wt_vp.dimension,h=e.hidden.height.percent>=f.percent.off&&e.hidden.width.percent>=f.percent.off;e.visible.height.percent>=f.percent.on&&e.visible.width.percent>=f.percent.on&&"undefined"===typeof g[s].wt_vp.on?(g[s].wt_vp.on=f.view.on,c.push(g[s])):0>=g[s].wt_vp.on&&h&&"undefined"===typeof g[s].wt_vp.off&&(g[s].wt_vp.off=f.view.off, 33a.push(g[s]))}c.length&&q(c);a.length&&n(a)}};r();this.setItems(m);this.start()},CompatibilityMode=function(f,k,m,g){window.wt_ttv2=window.wt_ttv2||[];var p=function(){},l=function(e){if(e&&"{"==e.charAt(0)&&"}"==e.charAt(e.length-1))try{var g=eval("("+e+")");if(g&&null!==g)return g}catch(f){}return!1},e=function(){if(k.teaserAttribute){for(var e=document.querySelectorAll("*["+k.teaserAttribute+"]"),g={},f=0,n=e.length;f<n;f++)for(var b=e[f].attributes,c=0,d=b.length;c<d;c++){var a;if(a=b[c].name=== 34k.teaserAttribute)a=l(b[c].value),a=!a||"object"!==typeof a.ck||"string"!==typeof a.ck["520"]&&"string"!==typeof a.ck["521"]?!1:!0;a&&(a=l(b[c].value),b[c].value="",a={selector:e[f],data:{rank:"undefined"!==typeof a.ck["520"]?a.ck["520"]:"",name:"undefined"!==typeof a.ck["521"]?a.ck["521"]:"",type:"undefined"!==typeof a.ck["522"]?a.ck["522"]:null,requestId:"undefined"!==typeof a.ck["529"]? 35a.ck["529"]:null,targetGroup:"undefined"!==typeof a.ck["530"]?a.ck["530"]:null,rule:"undefined"!==typeof a.ck["531"]?a.ck["531"]:null,itemPage:"undefined"!==typeof a.ck["532"]?a.ck["532"]:null,itemPosition:"undefined"!==typeof a.ck["533"]?a.ck["533"]:null,seen:"undefined"!==typeof a.ckv},conversion:{type:"undefined"!==typeof a.vic?"view":"undefined"!==typeof a.ctc?"click":"product"}},g[a.data.name+a.data.rank]=a)}var e=[],s;for(s in g)e.push(g[s]);window.wt_ttv2.push(e)}},h=function(e,f,h,n,b,c,d,a,s,u,k,v, 36l,p,w){if(f||e)e={rank:e?e:"",name:f?f:"",type:h?h:"",content:d?d:"",variant:a?a:"",requestId:k?k:"",targetGroup:v?v:"",rule:l?l:"",itemPage:p?p:"",itemPosition:w?w:"",cType:u?"view":"product",cGoal:"both"},"1"===n&&g.wasSeenOrLimitReached({wt_ttv2:{data:e}})?(g.track("view",[e]),u&&(m.setEngagement(e),m.setConversion(e))):"1"===b&&(g.track("click",[e]),m.setEngagement(e),m.setConversion(e))};this.searchTeaser=function(){e()};window.wt_tt=window.wt_tt||f;window.wt_tt.tt=window.wt_tt.tt||{version:"1.0.3", 37teaserAttribute:k.teaserAttribute,searchTeaser:e,addClickParameter:h,checkTeaserCookie:p,checkTeaserConversions:p,startScrollPosition:p,sendTeaserAction:p,setScrollPos:p}},TeaserElementStorage=function(f,k){var m=(f.trackId+"").split(",")[0],g="wt_ttv2_c_"+m,p="wt_ttv2_e_"+m,l="name rank type content variant requestId targetGroup rule itemPage itemPosition cType cGoal cValue".split(" "),e=function(b,c){for(var d=[],a=0,n=c.length;a<n;a++)d.push(c[a].join("*"));3E3>=f.wtEscape(d.join("~")).length? 38f.setCookie(b,d.join("~")):("first"===k?c.pop():c.shift(),e(b,c)
38)},h=function(b){b=f.getCookie(b).split("~");for(var c=[],d=0,a=b.length,e;d<a;d++)b[d]&&(e=b[d].split("*"),c.push(e));return c},r=function(b){var c="";switch(b){case "view":c="0";break;case "click":c="1";break;case "product":c="2";break;case "0":c="view";break;case "1":c="click";break;case "2":c="product"}return c},t=function(b){var c="";switch(b){case "order":c="0";break;case "goal":c="1";break;case "both":c="2";break;case "0":c="order"; 39break;case "1":c="goal";break;case "2":c="both"}return c},q=function(b){for(var c=" ".split(" "),d=0,a=l.length;d<a;d++){if("undefined"!==typeof b[l[d]]&&b[l[d]]){var e=c,n=d,f;f=b[l[d]];f+="";f=f.replace(/[\*~]/g,"");e[n]=f}"cType"===l[d]&&(c[d]=r(c[d]));"cGoal"===l[d]&&(c[d]=t(c[d]))}return c},n=function(b){for(var c=[],d=0,a=b.length;d<a;d++){for(var e=b[d],n={},f=!1,g=0,h=e.length;g<h;g++)"cType"===l[g]&&(e[g]=r(e[g])),"cGoal"===l[g]&&(e[g]=t(e[g])),e[g]&&(n[l[g]]=e[g],f=!0);f&&c.push(n)}return c}; 40this.deleteGoal=function(){for(var b=h(g),c=[],d=0,a=b.length;d<a;d++){var n=b[d];"0"===n[11]&&c.push(n)}e(g,c)};this.deleteOrder=function(){for(var b=h(g),c=[],d=0,a=b.length;d<a;d++){var n=b[d];"1"===n[11]&&c.push(n)}e(g,c)};this.setEngagement=function(b){b=q(b);e(p,[b])};this.getEngagement=function(){return n(h(p))};this.deleteEngagement=function(){f.setCookie(p,"",-3600)};this.setConversion=function(b){var c=h(g);b=q(b);for(var d=!1,a=0,n=c.length;a<n;a++){var f=c[a].join("*")===b.join("*");if("first"=== 41k){if(f){d=!0;break}}else if(f){c.splice(a,1);break}}d||(c.push(b),e(g,c))};this.getConversion=function(){return n(h(g))}},TeaserElementTracking=function(f,k){var m=k.session,g=k.page,p=k.sendMultipleTeaserViews,l="wt_ttv2_s_"+(f.trackId+"").split(",")[0],e,h,r={rank:["ck520",""],name:["ck521",""],type:["ck522",""],view:["ck523",""],click:["ck524",""],conf:["ck528",""],requestId:["ck529",""],targetGroup:["ck530",""],rule:["ck531",""],itemPage:["ck532", 42""],itemPosition:["ck533",""]},t=function(b,c,d,a){if("object"===typeof c)for(var e in c){var n=e+"";t(b+n,c[n],d,a)}else{"undefined"===typeof a[b]&&(a[b]=[]);if(a[b].length<d)for(e=a[b].length;e<d;e++)a[b].push("");a[b].push(c)}},q=function(b){var c="&ct=webtrekk_ignore",d;for(d in b)var a=d+"",c=c+("&"+a+"="+f.wtEscape(b[a].join(";")));return c},n=function(b,c){if(c){f.config.dynamicParameters||(f.config.dynamicParameters={});for(var d in b){var a=d+"";f.config.dynamicParameters[a]=b[a].join(";")}}else f.quicksend(f.wtEscape(f.contentId.split(";")[0])+ 43",1,"+f.baseparams(),q(b))};this.track=function(b,c){if(0<c.length&&("view"===b||"click"===b||"pi"===b||"conf"===b)){for(var d=0,a=c.length;d<a;d++)c[d][b]&&null!==c[d][b]||(c[d][b]="1");for(var a="conf"===b,d={},e=0,f=c.length,g;e<f;e++){g=c[e];for(var h in g){var k=h+"";"undefined"!==typeof r[k]&&t(r[k][0],g[k],e,d)}}if(a)n(d,a);else{for(h={};0<d.ck521.length;){for(var m in d)a=m+"","undefined"===typeof h[a]&&(h[a]=[]),h[a].push(d[a][0]),d[a].shift();6144<q(h).length&&(n(h,!1),h={})}"undefined"!== 44typeof h.ck521&&0<h.ck521.length&&n(h,!1)}}};this.wasSeenOrLimitReached=function(b){b=p||"undefined"===typeof b.wt_ttv2||"undefined"!==typeof b.wt_ttv2.data?!1:!0;if(b=!b){a:{if(-1!==g){if(0>=h){b=!0;break a}h--}b=!1}if(b=!b){a:{if(-1!==m){if(0>=e){b=!0;break a}e--;f.setCookie(l,e)}b=!1}b=!b}}return b};h=g;e=function(){if(m){var b=f.getCookie(l);return b&&!isNaN(b)?parseInt(b):m}return 0}()},TeaserAttribution=function(f,k,m,g){var p=function(e,f){if(e&&"string"===typeof e)if(f+="",e=e.replace(",", 45"."),f=f.replace(",","."),-1!==e.search(/%$/)){e=e.replace("%","");var g=parseFloat(e)/100,k=parseFloat(f);if(!isNaN(g)&&!isNaN(k)&&0!==g)return k*g+""}else if(g=parseFloat(e),!isNaN(g))return g+"";return"1"},l=function(e){var g=[];switch(k.attribution){case "last":g.push(e.pop());break;case "first":g.push(e.shift());break;default:g=e}return g};this.init=function(){if(f.config.orderValue||"undefined"!==typeof wt_teaserConversions&&wt_teaserConversions){var e=m.getConversion();if(0<e.length)if("undefined"!== 46typeof wt_teaserConversions&&wt_teaserConversions){for(var h=[],r=0,t=e.length;r<t;r++){var q=e[r];"product"!==q.cType&&"order"!==q.cGoal&&(q.conf=p(q.cValue,""),h.push(q))}0<h.length&&(e=l(h),g.track("conf",e));k.clearConversions&&(m.deleteGoal(),m.deleteEngagement())}else{for(var h=f.config.product?f.config.product.split(";
46"):[],r=f.config.productCost?f.config.productCost.split(";"):[],t=[],q=0,n=e.length;q<n;q++){var b=e[q];if("goal"!==b.cGoal){b.conf="";if("product"===b.cType){var c;a:{c=0;for(var d= 47h.length;c<d;c++)if(h[c]===b.name)break a;c=!1}d="";!1!==c&&(d="undefined"!==typeof r[c]?r[c]:"",b.conf=p(d,f.config.orderValue))}else b.conf=p(b.cValue,f.config.orderValue);b.conf&&t.push(b)}}0<t.length&&(e=l(t),g.track("conf",e));k.clearConversions&&(m.deleteOrder(),m.deleteEngagement())}}}},TeaserCore=function(f,k){window.wt_ttv2=window.wt_ttv2||[];var m=new TeaserElementStorage(f,k.attribution),g=new TeaserElementTracking(f,{session:k.maxSendTeasers.session,page:k.maxSendTeasers.page,sendMultipleTeaserViews:!1}), 48p=new CompatibilityMode(f,k,m,g),l=new TeaserAttribution(f,k,m,g),e=new ViewPort({view:{on:k.viewTime,off:k.viewTime},percent:{on:k.viewPercent,off:k.viewPercent}},function(e){for(var b=[],c=0,d=e.length;c<d;c++)g.wasSeenOrLimitReached(e[c])&&("view"===e[c].wt_ttv2.data.cType&&(m.setEngagement(e[c].wt_ttv2.data),m.setConversion(e[c].wt_ttv2.data)),b.push(e[c].wt_ttv2.data),delete e[c].wt_ttv2.data);0<b.length&&g.track("view",b)}),h=function(e,b){var c=r(b),d=e.querySelectorAll("a,area,button,input[type=submit]"), 49a=("string"===typeof e.tagName?e.tagName:"string"===typeof e.nodeName?e.nodeName:"").toLowerCase();if("a"===a||"area"===a)d=[e];for(var a=0,h=d.length;a<h;a++)(function(a,b){"undefined"===typeof a.wt_ttv2&&(a.wt_ttv2={});"undefined"===typeof a.wt_exclude&&(a.wt_ttv2.click=b,f.registerEvent(a,"click",function(){var b=a.wt_ttv2.click;g.track("click",[b]);m.setEngagement(b);m.setConversion(b)}))})(d[a],c)},r=function(e){var b={},c;for(c in e){var d=c+"";b[d]=e[d]}return b},t=function(e){if(e&&null!== 50e)if("string"===typeof e)try{return document.querySelector(e)}catch(b){}else if("object"===typeof e)return e;return null},q=function(){if(0<arguments.length){var f=arguments;"undefined"!==typeof f[0].length&&(0<f[0].length&&"string"!==typeof f[0][0])&&(f=arguments[0]);e.stop();for(var b=0,c=f.length;b<c;b++)if(f[b]&&null!==f[b])if("string"===typeof f[b][0]&&"object"===typeof f[b][1]){var d=f[b][0],a=f[b][1];if("string"===typeof a.name&&a.name||"string"===typeof a.rank&&a.rank)a.cType="string"===typeof a.cType&& 51a.cType?a.cType:"product",a.cGoal="string"===typeof a.cGoal&&a.cGoal?a.cGoal:"both","view"===d&&g.wasSeenOrLimitReached({wt_ttv2:{data:a}})?(g.track(d,[a]),"view"===a.cType&&(m.setEngagement(a),m.setConversion(a))):"click"===d&&(g.track(d,[a]),m.setEngagement(a),m.setConversion(a))}else if(f[b]&&null!==f[b]&&"undefined"!==typeof f[b].selector&&"object"===typeof f[b].data&&("string"===typeof f[b].data.name&&f[b].data.name||"string"===typeof f[b].data.rank&&f[b].data.rank)){d=t(f[b].selector);a=f[b]; 52"object"!==typeof a.conversion&&(a.conversion={});a.conversion.type="string"!==typeof a.conversion.type||"view"!==a.conversion.type&&"click"!==a.conversion.type?"product":a.conversion.type;a.conversion.goal="string"!==typeof a.conversion.goal||"order"!==a.conversion.goal&&"goal"!==a.conversion.goal?"both":a.conversion.goal;a.conversion.value="string"===typeof a.conversion.value||"number"===typeof a.conversion.value?a.conversion.value+"":"";a.data.cType=a.conversion.type;a.data.cGoal=a.conversion.goal; 53a.data.cValue=a.conversion.value;if("undefined"!==typeof f[b].exclude&&(a=f[b].exclude,"number"===typeof a.length&&0<a.length))for(var k=0,l=a.length;k<l;k++){var p=t(a[k]);p&&null!==p&&(p.wt_exclude=!0)}if(a=d)if(a=null!==d)a=d,l=f[b].data,"undefined"===typeof a.wt_ttv2?(k=r(l),l=r(l),a.wt_ttv2={data:k,click:l},"undefined"!==typeof k.seen&&k.seen||e.setItems([a]),a=!0):a=!1;a&&h(d,f[b].data)}e.start()}};this.sendPageEngagement=function(){if(k.autoEngagements||"undefined"!==typeof wt_teaserEngagements&& 54wt_teaserEngagements){var e=m.getEngagement();0<e.length&&g.track("pi",e)}};this.sendTeaserAttribution=function(){l.init()};this.init=function(){p.searchTeaser();for(var e=0;e<window.wt_ttv2.length;e++)q(window.wt_ttv2[e]);window.wt_ttv2={push:q,length:0,version:"1.0.3"}}},teaserCore=null,config=wt_teaserTrackingConfig_v2;"page"===conf.mode&&"after"===conf.type?(teaserCore=new TeaserCore(conf.instance,config),teaserCore.sendPageEngagement(),teaserCore.
54init()):"page"===conf.mode&&"before"===conf.type? 55(teaserCore=new TeaserCore(conf.instance,config),teaserCore.sendTeaserAttribution()):"config"===conf.mode&&"before"===conf.type&&(teaserCore=new TeaserCore(conf.instance,config),teaserCore.init())}; 56 57 } 58};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.