","sandbox":"allow-scripts","id":"awin-plugin-Targeting360",style:{26:"0px",28:"hidden",32:"normal",39:"0px 0px",43:"auto",110:"auto",114:"static",116:"0px 0px",192:"auto",197:"auto",198:"auto",199:"auto",200:"auto",201:"0px",206:"0px",284:"auto",324:"0px",332:"rgba(0, 0, 0, 0)"}},"children":[]}, {"tag":"iframe","attrib":{"src":"https://www.mainadv.com/retargeting/live/zanox_rtg.aspx?Key=ZX&visitorIp=BEYERDYNAMIC_DE&pageType=home",style:{26:"0px",28:"hidden",32:"normal",39:"0px 0px",43:"auto",110:"auto",114:"static",116:"0px 0px",192:"auto",197:"auto",198:"auto",199:"auto",200:"auto",201:"0px",206:"0px",284:"auto",324:"0px",332:"rgba(0, 0, 0, 0)"}},"children":[]}, {"tag":"div","attrib":{"id":"kp_rtrgt_opt_div_3008435107231854",style:{26:"1px",28:"hidden",39:"50% 50%",110:"auto",114:"absolute",116:"50% 50%",198:"auto",200:"auto",201:"1px",206:"1px",250:"none",284:"auto",324:"1px",332:"rgba(0, 0, 0, 0)"}},"children":[ {"tag":"iframe","attrib":{"id":"kp_3008435107231854","scrolling":"no","src":"https://opt.kuponacdn.de/mastertag_opt.html?v=000dbedbbbaf5e4d&kp_customer_id=62580","width":"0","height":"0",style:{26:"0px",32:"normal",43:"auto",114:"static",192:"auto",197:"auto",199:"auto",201:"0px",206:"0px",250:"inline",324:"0px"}},"children":[]},]}, {"tag":"div","attrib":{style:{39:"506px 0px",43:"auto",110:"auto",114:"static",116:"506px 0px",192:"auto",197:"auto",198:"auto",199:"auto",200:"auto",206:"0px",284:"auto",324:"0px",332:"rgba(0, 0, 0, 0)"}},"children":[ {"text":"\n\n"},]}, {"tag":"div","attrib":{"id":"kpdiv62580",style:{26:"auto",28:"hidden",39:"50% 50%",43:"auto",110:"auto",114:"static",116:"50% 50%",192:"auto",197:"auto",198:"auto",199:"auto",200:"auto",201:"auto",206:"auto",250:"none",284:"auto",324:"auto",332:"rgba(0, 0, 0, 0)"}},"children":[ {"tag":"iframe","attrib":{"id":"kp62580","scrolling":"no","srcdoc":" ","width":"0","height":"0",style:{26:"0px",32:"normal",201:"0px",206:"0px",250:"inline",324:"0px"}},"children":[]},]}, {"tag":"iframe","attrib":{"src":"https://ad4m.at/frame.html","width":"1px","height":"1px",style:{26:"1px",32:"normal",39:"50% 50%",43:"auto",110:"auto",114:"static",116:"50% 50%",192:"auto",197:"auto",198:"auto",199:"auto",200:"auto",201:"1px",206:"1px",250:"none",284:"auto",324:"1px",332:"rgba(0, 0, 0, 0)"}},"children":[]}, {"tag":"div","attrib":{"id":"tp_rtrgt_div_7993037474691743",style:{26:"1px",28:"hidden",39:"50% 50%",110:"auto",114:"absolute",116:"50% 50%",198:"auto",200:"auto",201:"1px",206:"1px",250:"none",284:"auto",324:"1px",332:"rgba(0, 0, 0, 0)"}},"children":[ {"tag":"iframe","attrib":{"id":"tp_rtrgt_iframe_7993037474691743","scrolling":"no","src":"https://ad.ad-srv.net/retarget?a=62580&version=1&event=view&cat=0&gdpr=0&gdpr_consent=&segment=&items=","width":"0","height":"0",style:{26:"0px",32:"normal",43:"auto",114:"static",192:"auto",197:"auto",199:"auto",201:"0px",206:"0px",250:"inline",324:"0px"}},"children":[]},]}, {"tag":"div","attrib":{"id":"kpdiv3321",style:{26:"auto",28:"hidden",39:"50% 50%",43:"auto",110:"auto",114:"static",116:"50% 50%",192:"auto",197:"auto",198:"auto",199:"auto",200:"auto",201:"auto",206:"auto",250:"none",284:"auto",324:"auto",332:"rgba(0, 0, 0, 0)"}},"children":[ {"tag":"iframe","attrib":{"id":"kp3321","scrolling":"no","srcdoc":"","width":"0","height":"0",style:{26:"0px",32:"normal",201:"0px",206:"0px",250:"inline",324:"0px"}},"children":[]},]}, {"tag":"div","attrib":{style:{26:"auto",39:"50% 50%",43:"auto",110:"auto",114:"static",116:"50% 50%",192:"auto",197:"auto",198:"auto",199:"auto",200:"auto",201:"auto",206:"auto",250:"none",284:"auto",324:"auto",332:"rgba(0, 0, 0, 0)"}},"children":[ {"tag":"img","attrib":{"src":"https://r.adserver01.de/rt/perf_de.php?gdpr=0&gdpr_consent=","alt":"","width":"1","height":"1",style:{26:"1px",32:"normal",201:"1px",206:"1px",250:"inline",324:"1px",337:"auto 1 / 1"}},"children":[]}, {"text":" "}, {"text":"\n"}, {"tag":"img","attrib":{"src":"https://ad11.adfarm1.adition.com/tagging?type=image&network=42&tag[Markierung_T2.AdvancedStore_Vzm]=ASRETVZM2","alt":"","width":"1","height":"1",style:{26:"1px",32:"normal",201:"1px",206:"1px",250:"inline",324:"1px",337:"auto 1 / 1"}},"children":[]}, {"text":" "}, {"text":"\n"}, {"tag":"img","attrib":{"src":"https://ad11.adfarm1.adition.com/tagging?type=image&network=42&tag[Markierung_T2.advancedStore_Adbundle]=1","alt":"","width":"1","height":"1",style:{26:"1px",32:"normal",201:"1px",206:"1px",250:"inline",324:"1px",337:"auto 1 / 1"}},"children":[]}, {"text":" "},]}, {"tag":"div","attrib":{style:{26:"auto",39:"50% 50%",43:"auto",110:"auto",114:"static",116:"50% 50%",192:"auto",197:"auto",198:"auto",199:"auto",200:"auto",201:"auto",206:"auto",250:"none",284:"auto",324:"auto",332:"rgba(0, 0, 0, 0)"}},"children":[ {"tag":"img","attrib":{"src":"https://ad.doubleclick.net/ddm/activity/gdpr=0;gdpr_consent=;src=9028776;type=invmedia;cat=de-rt0;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;ord=1?","alt":"","width":"1","height":"1",style:{26:"1px",32:"normal",201:"1px",206:"1px",250:"inline",324:"1px",337:"auto 1 / 1"}},"children":[]},]}, {"tag":"div","attrib":{style:{26:"auto",39:"50% 50%",43:"auto",110:"auto",114:"static",116:"50% 50%",192:"auto",197:"auto",198:"auto",199:"auto",200:"auto",201:"auto",206:"auto",250:"none",284:"auto",324:"auto",332:"rgba(0, 0, 0, 0)"}},"children":[ {"tag":"img","attrib":{"src":"https://track.adform.net/Serving/TrackPoint/?pm=1351292&ADFPageName=DE%20-%20Reach%20-%20Tech%20-%20Suite&ADFdivider=|","alt":"","width":"1","height":"1",style:{26:"1px",32:"normal",201:"1px",206:"1px",250:"inline",324:"1px",337:"auto 1 / 1"}},"children":[]}, {"text":"\n\n"}, {"tag":"img","attrib":{"src":"https://ad.doubleclick.net/ddm/activity/gdpr=0;gdpr_consent=;src=5252003;type=invmedia;cat=gtoqjgvk;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;ord=1?","alt":"","width":"1","height":"1",style:{26:"1px",32:"normal",201:"1px",206:"1px",250:"inline",324:"1px",337:"auto 1 / 1"}},"children":[]},]}, {"tag":"img","attrib":{"loading":"eager","src":"https://as.ad4m.at/ad/dst?a=1759&b=2&c=3ZydQIFv9jCc2_0tkHlAo_oIM_efMssF&e=17915&f=&g=&h=&i=&z=0&y=1&d=https%3A%2F%2Feurope.beyerdynamic.com%2F","width":"1","height":"1",style:{26:"1px",32:"normal",39:"50% 50%",43:"auto",110:"auto",114:"static",116:"50% 50%",192:"auto",197:"auto",198:"auto",199:"auto",200:"auto",201:"1px",206:"1px",250:"none",284:"auto",324:"1px",332:"rgba(0, 0, 0, 0)",337:"auto 1 / 1"}},"children":[]}, {"tag":"img","attrib":{"loading":"eager","src":"https://cm.g.doubleclick.net/pixel?google_nid=advs&google_cm&google_sc&a=3ZydQIFv9jCc2_0tkHlAo_oIM_efMssF&c=1","width":"1","height":"1",style:{26:"1px",32:"normal",39:"50% 50%",43:"auto",110:"auto",114:"static",116:"50% 50%",192:"auto",197:"auto",198:"auto",199:"auto",200:"auto",201:"1px",206:"1px",250:"none",284:"auto",324:"1px",332:"rgba(0, 0, 0, 0)",337:"auto 1 / 1"}},"children":[]}, {"tag":"img","attrib":{"loading":"eager","src":"https://pixel.onaudience.com/?partner=234&mapped=3ZydQIFv9jCc2_0tkHlAo_oIM_efMssF&gdpr=0&gdpr_consent=","width":"1","height":"1",style:{26:"1px",32:"normal",39:"50% 50%",43:"auto",110:"auto",114:"static",116:"50% 50%",192:"auto",197:"auto",198:"auto",199:"auto",200:"auto",201:"1px",206:"1px",250:"none",284:"auto",324:"1px",332:"rgba(0, 0, 0, 0)",337:"auto 1 / 1"}},"children":[]}, {"tag":"img","attrib":{"loading":"eager","src":"https://ih.adscale.de/tpui?tpid=25&tpuid=3ZydQIFv9jCc2_0tkHlAo_oIM_efMssF&cburl=https%3A%2F%2Fas%2Ead4m%2Eat%2Fad%2Fdpe%3Fa%3D3ZydQIFv9jCc2_0tkHlAo_oIM_efMssF%26b%3D__ADSCALE_USER_ID__%26c%3D6","width":"1","height":"1",style:{26:"1px",32:"normal",39:"50% 50%",43:"auto",110:"auto",114:"static",116:"50% 50%",192:"auto",197:"auto",198:"auto",199:"auto",200:"auto",201:"1px",206:"1px",250:"none",284:"auto",324:"1px",332:"rgba(0, 0, 0, 0)",337:"auto 1 / 1"}},"children":[]}, {"tag":"img","attrib":{"loading":"eager","src":"https://rtb-csync.smartadserver.com/redir/?partnerid=132&partneruserid=3ZydQIFv9jCc2_0tkHlAo_oIM_efMssF&gdpr=0&gdpr_consent=&redirurl=https%3A%2F%2Fas%2Ead4m%2Eat%2Fad%2Fdpe%3Fa%3D3ZydQIFv9jCc2_0tkHlAo_oIM_efMssF%26c%3D9%26b%3DSMART_USER_ID","width":"1","height":"1",style:{26:"1px",32:"normal",39:"50% 50%",43:"auto",110:"auto",114:"static",116:"50% 50%",192:"auto",197:"auto",198:"auto",199:"auto",200:"auto",201:"1px",206:"1px",250:"none",284:"auto",324:"1px",332:"rgba(0, 0, 0, 0)",337:"auto 1 / 1"}},"children":[]}, {"tag":"img","attrib":{"loading":"eager","src":"https://dsum-sec.casalemedia.com/rum?cm_dsp_id=5&external_user_id=3ZydQIFv9jCc2_0tkHlAo_oIM_efMssF","width":"1","height":"1",style:{26:"1px",32:"normal",39:"50% 50%",43:"auto",110:"auto",114:"static",116:"50% 50%",192:"auto",197:"auto",198:"auto",199:"auto",200:"auto",201:"1px",206:"1px",250:"none",284:"auto",324:"1px",332:"rgba(0, 0, 0, 0)",337:"auto 1 / 1"}},"children":[]}, {"tag":"img","attrib":{"loading":"eager","src":"https://simage2.pubmatic.com/AdServer/Pug?vcode=bz0yJnR5cGU9MSZjb2RlPTM0MjkmdGw9MTI5NjAw&r=https%3A%2F%2Fas%2Ead4m%2Eat%2Fad%2Fdpe%3Fa%3D3ZydQIFv9jCc2_0tkHlAo_oIM_efMssF%26b%3D%24%7BPUBMATIC%5FUID%7D%26c%3D5","width":"1","height":"1",style:{26:"1px",32:"normal",39:"50% 50%",43:"auto",110:"auto",114:"static",116:"50% 50%",192:"auto",197:"auto",198:"auto",199:"auto",200:"auto",201:"1px",206:"1px",250:"none",284:"auto",324:"1px",332:"rgba(0, 0, 0, 0)",337:"auto 1 / 1"}},"children":[]}, {"tag":"img","attrib":{"loading":"eager","src":"https://a.twiago.com/rtb/usermatch.php?umid=11&userid=3ZydQIFv9jCc2_0tkHlAo_oIM_efMssF&call_type=redirect&rtbprovider=openrtb&redirecturl=https%3A%2F%2Fas%2Ead4m%2Eat%2Fad%2Fdpe%3Fa%3D3ZydQIFv9jCc2_0tkHlAo_oIM_efMssF%26b%3D%25userid%25%26c%3D7","width":"1","height":"1",style:{26:"1px",32:"normal",39:"50% 50%",43:"auto",110:"auto",114:"static",116:"50% 50%",192:"auto",197:"auto",198:"auto",199:"auto",200:"auto",201:"1px",206:"1px",250:"none",284:"auto",324:"1px",332:"rgba(0, 0, 0, 0)",337:"auto 1 / 1"}},"children":[]},]}}; let zIndexMax = 0 let base_url = "http:\/\/europe.beyerdynamic.com"; function url_canonicalize( url ) { url = url.replace(/[?;]jsessionid=[!0-9a-z]+/i,'') let parts = new URL(url) let path = parts.pathname if (( path.length >= 2 )&&( path[0]=='/' )&&( path[1]=='/' )) { path = path.substr( 1 ) } // Transforms // to / if set at the beginning of path let path_parts = [] let path_orig_parts = path.split('/') for ( let i = 0 ; i < path_orig_parts.length ; i++ ) { let path_part = path_orig_parts[i] if (( i==1 )&&( path_part=='' )) continue if ( path_part == '.' ) continue // removes /. if ( path_part == '..' ) { if ( path_parts.length>1 ) { // removes /xxx/.. path_parts.pop() } continue; // and ^/../ which is weird stuff } path_parts.push( path_part ) } path = path_parts.join('/'); let portStr = parts.port ? ':'+parts.port : '' let queryStr = parts.search ? parts.search : '' let hashStr = parts.hash ? parts.hash : '' return parts.protocol + '//' + parts.hostname + portStr + path + queryStr + hashStr } function strip_filename( path ) { last_slash = path.lastIndexOf('/') return ( last_slash >= 0 )? path.substr( 0, last_slash+1 ) : '/' } function getAbsoluteUrl( url ) { if ( url.match(/^data:|^javascript:/i ) ) return url let base_parts = new URL(base_url) if ( base_parts.protocol && base_parts.hostname ) { if ( url.indexOf('//') == 0 ) { url = base_parts.protocol + url } if ( url.indexOf('/') == 0 ) { url = base_parts.protocol + '//' + base_parts.hostname + url; } if ( ! url.match(/^[a-z]{3,5}:\/\//i) ) { let base_path = base_parts.pathname ? base_parts.pathname : '/' url = base_parts.protocol + '//' + base_parts.hostname + strip_filename( base_path ) + url } } return url_canonicalize(url) } function convert_url( tagName, attrib, value ) { let entry = cache_url switch ( attrib ) { case 'src': entry = entry.replace(/index2\.php/,'display2.php') case 'href': if ( value.startsWith('data:') ) return value let postfix = '' if ( tagName.toLowerCase() == 'iframe' ) postfix = '&inframe=1' console.log('convert url : ',entry+encodeURIComponent( getAbsoluteUrl(value) )+postfix) return entry+encodeURIComponent( getAbsoluteUrl(value) )+postfix } return value } let console_timing_count = 0 function console_timing() { if ( !( console_timing_count++ % 1000 ) ) { console.log('1000 ticks') } } let parse_inBody = false function parse_json( json, parentStyles ) { console_timing() if ( json.tag ) { let tag switch ( json.tag ) { case 'head': tag = document.head; break; case 'body': tag = document.body; break; //document.createElement('div'); // document.body.appendChild(tag) break; default: tag = document.createElement(json.tag) } if ( json.tag == 'base' ) { if ( json.attrib.href ) base_url = json.attrib.href } if ( json.tag == 'head' ) { let style = document.createElement('style') style.innerHTML = '.w { '+default_styles_css+' }' tag.appendChild(style) } let ourStyle = {} for ( const attrib in json.attrib ) { if ( attrib == 'style' ) { for ( const style in json.attrib.style ) { let value = json.attrib.style[style] let key = wikiwix_styles[style] if ( default_styles[key] != value ) { tag.style[key] = value } ourStyle[style] = value } for ( const style in parentStyles ) { if ( !ourStyle.hasOwnProperty(style) ) { let value = parentStyles[style] let key = wikiwix_styles[style] if ( default_styles[key] != value ) { tag.style[wikiwix_styles[style]] = parentStyles[style] } ourStyle[style] = parentStyles[style] } } if ( ourStyle[style_to_id['position'] ] != 'static' ) { let zIndex = parseInt(ourStyle[style_to_id['z-index']]) if (( zIndex != NaN )&&( zIndex > zIndexMax )) zIndexMax = zIndex } } else { try { tag.setAttribute( attrib, convert_url(json.tag,attrib,json.attrib[attrib]) ) } catch (err) {} } } if ( json.tag == 'body' ) { tag.style.overflowY='auto' /* tag.style.height='auto' tag.style.inset='0' tag.style.margin='0' tag.style.zIndex='0'*/ } if ( parse_inBody ) tag.setAttribute('class','w') json.children.forEach( (child)=>{ let node = parse_json(child,ourStyle) if (( node instanceof Node )&&( json.tag != 'html' )) tag.appendChild( node ) } ) return tag } else if ( json.text ) { return document.createTextNode( json.text ) } return false } parse_json(wikiwix_dom.head,{}) parse_inBody = true parse_json(wikiwix_dom.body,{}) if ( zIndexMax > 0 ) { $('#wikiwix_container').css('z-index',zIndexMax+1) $('#wikiwix_login_container').css('z-index',zIndexMax+2) $('#wikiwix_minimizer').css('z-index',zIndexMax+3) }