function gaOptout(n){document.cookie=disableStr+"=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/";window[disableStr]=!0;dkLog("opting out of analytics");n!==!0&&alert("Das Tracking durch Google Analytics wurde in Ihrem Browser für diese Website deaktiviert.")}function gaOptin(){document.cookie=disableStr+"=false; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/";window[disableStr]=!1;dkLog("opting into analytics")}function checkAb(){return __awaiter(this,void 0,void 0,function(){function n(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(){try{return[2,fetch(new Request("https://pagead2.googlesyndication.com/gampad/ads?gdfp_req=1&pvsid=388174743887292&correlator=1130084843322106&output=ldjh&impl=fifs&eid=21068602&vrg=2021022301&ptt=17&&sfv=1-0-37&ecs=20210301&iu_parts=2313336%2Cdk-Content-Unten%2Cdk-Sidebar-Oben%2Cdk-Sidebar-Mitte%2CUnten%2Cdk-Skyscraper-Rechts%2Cdk-Billboard%2Cdk-Content-Mitte&enc_prev_ius=%2F0%2F1%2C%2F0%2F2%2C%2F0%2F3%2F%2F4%2C%2F0%2F5%2C%2F0%2F6%2C%2F0%2F7&prev_iu_szs=320x50%7C666x250%7C300x250%7C468x60%2C320x50%7C300x250%2C320x50%7C300x600%7C300x250%2C320x50%7C160x600%2C320x50%7C986x200%7C986x250%7C728x90%7C970x90%7C970x250%2C320x50%7C580x400%7C300x250%7C468x60%7C300x100%7C320x480%7C250x250%7C666x250%7C336x280&fluid=height%2Cheight%2Cheight%2Cheight%2Cheight%2Cheight&cust_params=mid%3D12252%252C12265%252C12258%252C12260%252C12255%26pagesection%3DStart%26pagetype%3DIndex%26country%3DDE%26region%3D23%252C2&bc=31&abxe=1&lmt=1614583421&dt=1614583421074&dlt=1614583420826&idt=132&frm=20&biw=1841&bih=646&oid=3&adxs=433%2C1111%2C1111%2C1416%2C436%2C477&adys=2216%2C370%2C2177%2C0%2C155%2C1805&adks=2005610576%2C3225383149%2C56528232%2C1057497840%2C702380580%2C1486497772&ucis=1%7C2%7C3%7C4%7C5%7C6&ifi=1&u_tz=60&u_his=7&u_h=1080&u_w=1920&u_ah=1080&u_aw=1858&u_cd=24&u_nplug=3&u_nmime=4&u_sd=1&flash=0&url=https%3A%2F%2Fwww.digitalkamera.de%2F&ref=https%3A%2F%2Fwww.digitalkamera.de%2FTestbericht%2FTestbericht_Nikon_Z_7II%2F12080.aspx&vis=1&dmc=8&scr_x=0&scr_y=0&psz=670x250%7C300x250%7C300x600%7C0x0%7C980x220%7C670x400&msz=670x250%7C300x250%7C300x600%7C160x-1%7C970x200%7C670x400&ga_vid=262266823.1614583421&ga_sid=1614583421&ga_hid=1737642659&fws=0%2C0%2C0%2C512%2C0%2C0&ohw=0%2C0%2C0%2C0%2C0%2C0",{method:"HEAD",mode:"no-cors"})).then(function(){return!1})["catch"](function(n){return console.log("e",n),!0})]}catch(n){return console.log(" error",n),[2,!1]}return[2]})})}return __generator(this,function(t){switch(t.label){case 0:return[4,n()];case 1:return[2,t.sent()]}})})}function insertIframe(n,t,i,r){var u=$.parseHTML(getIframeHtml(t,i,r))[0];return n.replaceWith(u),$(u)}function setupWidget(n,t,i,r,u,f){if(console.info(n,f),n.overrideHeight!=null&&n.overrideWidth!=null){var e=insertIframe(t,i,u,!1);console.log(e);e.css("width",n.overrideWidth);e.css("height",n.overrideHeight)}else f.push($.get(r,function(n){n!=null&&n.length>1&&insertIframe(t,i,u,!0)}))}function loadWidgetReplacement(){return __awaiter(this,void 0,void 0,function(){var t,u,f,i,r,e,o,s,n;return __generator(this,function(h){switch(h.label){case 0:return t=getQueryVariable("previewadid"),[4,checkAb()];case 1:return(u=h.sent(),f=!(dkWindows.dkConsentHelper.getCookie("_sp_enable_dfp_personalized_ads")==="false")&&!u,i=$("div[data-widget-slot]"),r=[],!t)?[3,3]:(e=getQueryVariable("slots").split(","),[4,getSizeInfo(parseInt(t))]);case 2:return o=h.sent(),i.each(function(n,i){var s=$(i),u,h;s.data("widget-slot-disabled")!==undefined&&f||(u=s.data("widget-slot"),e.indexOf(u.toString())<0)||(h=getIframeUrl(t,u,2),setupWidget(o,s,h,h,u,r))}),[3,5];case 3:return dkWindows.dkVars.dontShowAds===!0||dkWindows.dkVars.isBot===!0?[2]:(s=i.map(function(n,t){return parseInt($(t).data("widget-slot"))}).get(),[4,getWidgetInfo(s,u)]);case 4:if(n=h.sent(),n==null)return[2];i.each(function(t,i){var e=$(i),u,o,s,h;e.data("widget-slot-disabled")!==undefined&&f||(u=e.data("widget-slot"),console.log("slotId",u),o=n.infos.find(function(n){return n.slot===u}),o)&&(s=getIframeUrl(n.guid,u,0),h=getIframeUrl(n.guid,u,1),setupWidget(o,e,s,h,u,r))});h.label=5;case 5:return $.when.apply($,r).done(function(){dkWindows.iFrameResize({log:!1,heightCalculationMethod:"lowestElement"},".iframeResize")}),[2]}})})}function getIframeUrl(n,t,i){var u=i==2?"Preview":"Deliver",r="";return i==1&&(r="?check=true"),abServerApi+"/Widgets/"+u+"/"+t+"/"+n+r}function getIframeHtml(n,t,i){var u="",r="api-widget";return i&&(r+=" iframeResize"),t===8&&(u='style="width:160px;height:600px; overflow:hidden;"',r=""),'<iframe class="'+r+'" '+u+' src="'+n+'" scrolling="no" />'}function getSizeInfo(n){return __awaiter(this,void 0,void 0,function(){var t;return __generator(this,function(i){switch(i.label){case 0:return[4,fetch(abServerApi+"/Widgets/Preview/"+n)];case 1:return(t=i.sent(),t.status>=400)?[2,null]:[4,t.json()];case 2:return[2,i.sent()]}})})}function getWidgetInfo(n,t){return __awaiter(this,void 0,void 0,function(){var u,o,i,f,r,s,h,e;return __generator(this,function(c){switch(c.label){case 0:return u="",o=t?"?blocking=true":"?blocking=false",i="nocapping",f=getQueryVariable(i)||window.localStorage.getItem(i),f==="1"?(window.localStorage.setItem(i,"1"),u="&preview=true"):f==="0"&&window.localStorage.removeItem(i),r=dkWindows.dkVars.targeting||{mids:[]},r.mids==null&&(r.mids=[]),s=dkWindows.dkConsentHelper.getCookie("euconsent-v2"),h={Targeting:r,Slots:n,TcfString:s},[4,fetch(abServerApi+"/Widgets/Frame"+o+u,{body:JSON.stringify(h),method:"POST",headers:{Accept:"text/html","Content-Type":"application/json"}})];case 1:return(e=c.sent(),e.status>=400)?[2,null]:[4,e.json()];case 2:return[2,c.sent()]}})})}function getQueryVariable(n){for(var i,u=window.location.search.substring(1),r=u.split("&"),t=0;t<r.length;t++)if(i=r[t].split("="),i[0]===n)return i[1];return""}var gaProperty="UA-2505808-1",disableStr="ga-disable-"+gaProperty,WidgetHelper,WorkshopWidget,__awaiter,__generator,dkWindows,abServerApi,UrlType,dkWindow,ConsentHelper;if(window.trackOutboundLink=function(){},document.cookie.indexOf(disableStr+"=true")>-1)window[disableStr]=!0,dkLog("disabling analytics");else if(document.cookie.indexOf(disableStr+"=false")>-1){window[disableStr]=!1;dkLog("enabling analytics"),function(n,t,i,r,u,f,e){n.GoogleAnalyticsObject=u;n[u]=n[u]||function(){(n[u].q=n[u].q||[]).push(arguments)};n[u].l=1*new Date;f=t.createElement(i);e=t.getElementsByTagName(i)[0];f.async=1;f.src=r;e.parentNode.insertBefore(f,e)}(window,document,"script","//www.google-analytics.com/analytics.js","ga");ga("create",gaProperty,"auto",{legacyCookieDomain:"digitalkamera.de"});ga("set","anonymizeIp",!0);var dkVarpath=document.location.pathname,dkVarpathArray=dkVarpath.split("/"),dkVaridString=dkVarpathArray[dkVarpathArray.length-1].replace(".aspx",""),dkVarid=parseInt(dkVaridString,10);!isNaN(dkVarid)&&dkVarpath.indexOf("/Zubeh%C3%B6r-Test/")!==-1&&dkVarid<9025?ga("send","pageview",dkVarpath.replace("/Zubeh%C3%B6r-Test/","/Meldung/")):ga("send","pageview");window.trackOutboundLink=function(n){console.info(n.currentTarget);ga("send","event","outbound","click",n.currentTarget.href)}}(function(n){"use strict";n.jscroll={defaults:{debug:!1,autoTrigger:!0,autoTriggerUntil:!1,loadingHtml:"<small>Laden…<\/small>",loadingFunction:!1,padding:0,nextSelector:"a.jscroll:last",contentSelector:"",pagingSelector:"",callback:!1}};var t=function(t,i){var s=t.data("jscroll"),p=typeof i=="function"?{callback:i}:i,r=n.extend({},n.jscroll.defaults,p,s||{}),h=t.css("overflow-y")==="visible",w=t.find(r.nextSelector).first(),f=n(window),b=n("body"),u=h?f:t,k=n.trim(w.prop("href")+" "+r.contentSelector),d=function(){var t=n(r.loadingHtml).filter("img").attr("src"),i;t&&(i=new Image,i.src=t)},c=function(){t.find(".jscroll-inner").length||t.contents().wrapAll('<div class="jscroll-inner" />')},l=function(n){var t;r.pagingSelector?n.closest(r.pagingSelector).hide():(t=n.parent().not(".jscroll-inner,.jscroll-added").addClass("jscroll-next-parent").hide(),t.length||n.wrap('<div class="jscroll-next-parent" />').parent().hide())},e=function(){return u.off(".jscroll").removeData("jscroll").find(".jscroll-inner").children().unwrap().filter(".jscroll-added").children().unwrap()},a=function(){if(t.is(":visible")){c();var n=t.find("div.jscroll-inner").first(),e=t.data("jscroll"),i=parseInt(t.css("borderTopWidth"),10),s=isNaN(i)?0:i,l=parseInt(t.css("paddingTop"),10)+s,a=h?u.scrollTop():t.offset().top,v=n.length?n.offset().top:0,f=Math.ceil(a-v+u.height()+l);if(!e.waiting&&f+r.padding>=n.outerHeight())return o("info","jScroll:",n.outerHeight()-f,"from bottom. Loading next request..."),y()}},g=function(n){return n=n||t.data("jscroll"),n&&n.nextHref?(v(),!0):(o("warn","jScroll: nextSelector not found - destroying"),e(),!1)},v=function(){var i=t.find(r.nextSelector).first();if(i.length)if(r.autoTrigger&&(r.autoTriggerUntil===!1||r.autoTriggerUntil>0)){l(i);var e=b.height()-t.offset().top,o=t.height()<e?t.height():e,s=t.offset().top-f.scrollTop()>0?f.height()-(t.offset().top-n(window).scrollTop()):f.height();o<=s&&a();u.off(".jscroll").on("scroll.jscroll",function(){return a()});r.autoTriggerUntil>0&&r.autoTriggerUntil--}else{u.off(".jscroll");i.on("click.jscroll",function(){return l(i),y(),!1})}},y=function(){var u=t.find("div.jscroll-inner").first(),i=t.data("jscroll");return i.waiting=!0,u.append('<div class="jscroll-added" />').children(".jscroll-added").last().html('<div class="jscroll-loading" id="jscroll-loading">'+r.loadingHtml+"<\/div>").promise().done(function(){r.loadingFunction&&r.loadingFunction()}),t.animate({scrollTop:u.outerHeight()},0,function(){var f=i.nextHref;u.find("div.jscroll-added").last().load(f,function(u,s){if(s==="error")return e();var h=n(this).find(r.nextSelector).first();i.waiting=!1;i.nextHref=h.prop("href")?n.trim(h.prop("href")+" "+r.contentSelector):!1;n(".jscroll-next-parent",t).remove();g();r.callback&&r.callback.call(this,f);o("dir",i)})})},o=function(n){var i,t;if(r.debug&&typeof console=="object"&&(typeof n=="object"||typeof console[n]=="function"))if(typeof n=="object"){i=[];for(t in n)typeof console[t]=="function"?(i=n[t].length?n[t]:[n[t]],console[t].apply(console,i)):console.log.apply(console,i)}else console[n].apply(console,Array.prototype.slice.call(arguments,1))};return t.data("jscroll",n.extend({},s,{initialized:!0,waiting:!1,nextHref:k})),c(),d(),v(),n.extend(t.jscroll,{destroy:e}),t};n.fn.jscroll=function(i){return this.each(function(){var r=n(this),u=r.data("jscroll");u&&u.initialized||t(r,i)})}})(jQuery);!function(){function i(n){var t=Array.isArray(n)?{label:n[0],value:n[1]}:"object"==typeof n&&"label"in n&&"value"in n?n:{label:n,value:n};this.label=t.label||t.value;this.value=t.value}function e(n,t,i){var r,u,f;for(r in t)u=t[r],f=n.input.getAttribute("data-"+r.toLowerCase()),n[r]="number"==typeof u?parseInt(f):!1===u?null!==f:u instanceof Function?null:f,n[r]||0===n[r]||(n[r]=r in i?i[r]:u)}function n(n,t){return"string"==typeof n?(t||document).querySelector(n):n||null}function u(n,t){return r.call((t||document).querySelectorAll(n))}function f(){u("input.awesomplete").forEach(function(n){new t(n)})}var t=function(i,r){var u=this;Awesomplete.count=(Awesomplete.count||0)+1;this.count=Awesomplete.count;this.isOpened=!1;this.input=n(i);this.input.setAttribute("autocomplete","off");this.input.setAttribute("aria-owns","awesomplete_list_"+this.count);this.input.setAttribute("role","combobox");r=r||{};e(this,{minChars:2,maxItems:10,autoFirst:!1,data:t.DATA,filter:t.FILTER_CONTAINS,sort:!1!==r.sort&&t.SORT_BYLENGTH,item:t.ITEM,replace:t.REPLACE},r);this.index=-1;this.container=n.create("div",{className:"awesomplete",around:i});this.ul=n.create("ul",{hidden:"hidden",role:"listbox",id:"awesomplete_list_"+this.count,inside:this.container});this.status=n.create("span",{className:"visually-hidden",role:"status","aria-live":"assertive","aria-atomic":!0,inside:this.container,textContent:0!=this.minChars?"Type "+this.minChars+" or more characters for results.":"Begin typing for results."});this._events={input:{input:this.evaluate.bind(this),blur:this.close.bind(this,{reason:"blur"}),keydown:function(n){var t=n.keyCode;u.opened&&(13===t&&u.selected?(n.preventDefault(),u.select()):27===t?u.close({reason:"esc"}):38!==t&&40!==t||(n.preventDefault(),u[38===t?"previous":"next"]()))}},form:{submit:this.close.bind(this,{reason:"submit"})},ul:{mousedown:function(n){n.preventDefault()},click:function(n){var t=n.target;if(t!==this){for(;t&&!/li/i.test(t.nodeName);)t=t.parentNode;t&&0===n.button&&(n.preventDefault(),u.select(t,n.target))}}}};n.bind(this.input,this._events.input);n.bind(this.input.form,this._events.form);n.bind(this.ul,this._events.ul);this.input.hasAttribute("list")?(this.list="#"+this.input.getAttribute("list"),this.input.removeAttribute("list")):this.list=this.input.getAttribute("data-list")||r.list||[];t.all.push(this)},r;t.prototype={set list(t){if(Array.isArray(t))this._list=t;else if("string"==typeof t&&t.indexOf(",")>-1)this._list=t.split(/\s*,\s*/);else if((t=n(t))&&t.children){var i=[];r.apply(t.children).forEach(function(n){if(!n.disabled){var t=n.textContent.trim(),r=n.value||t,u=n.label||t;""!==r&&i.push({label:u,value:r})}});this._list=i}document.activeElement===this.input&&this.evaluate()},get selected(){return this.index>-1},get opened(){return this.isOpened},close:function(t){this.opened&&(this.ul.setAttribute("hidden",""),this.isOpened=!1,this.index=-1,this.status.setAttribute("hidden",""),n.fire(this.input,"awesomplete-close",t||{}))},open:function(){this.ul.removeAttribute("hidden");this.isOpened=!0;this.status.removeAttribute("hidden");this.autoFirst&&-1===this.index&&this.goto(0);n.fire(this.input,"awesomplete-open")},destroy:function(){var i,r;n.unbind(this.input,this._events.input);n.unbind(this.input.form,this._events.form);i=this.container.parentNode;i.insertBefore(this.input,this.container);i.removeChild(this.container);this.input.removeAttribute("autocomplete");this.input.removeAttribute("aria-autocomplete");r=t.all.indexOf(this);-1!==r&&t.all.splice(r,1)},next:function(){var n=this.ul.children.length;this.goto(this.index<n-1?this.index+1:n?0:-1)},previous:function(){var t=this.ul.children.length,n=this.index-1;this.goto(this.selected&&-1!==n?n:t-1)},goto:function(t){var i=this.ul.children;this.selected&&i[this.index].setAttribute("aria-selected","false");this.index=t;t>-1&&i.length>0&&(i[t].setAttribute("aria-selected","true"),this.status.textContent=i[t].textContent+", list item "+(t+1)+" of "+i.length,this.input.setAttribute("aria-activedescendant",this.ul.id+"_item_"+this.index),this.ul.scrollTop=i[t].offsetTop-this.ul.clientHeight+i[t].clientHeight,n.fire(this.input,"awesomplete-highlight",{text:this.suggestions[this.index]}))},select:function(t,i){if(t?this.index=n.siblingIndex(t):t=this.ul.children[this.index],t){var r=this.suggestions[this.index];n.fire(this.input,"awesomplete-select",{text:r,origin:i||t})&&(this.replace(r),this.close({reason:"select"}),n.fire(this.input,"awesomplete-selectcomplete",{text:r}))}},evaluate:function(){var n=this,t=this.input.value;t.length>=this.minChars&&this._list&&this._list.length>0?(this.index=-1,this.ul.innerHTML="",this.suggestions=this._list.map(function(r){return new i(n.data(r,t))}).filter(function(i){return n.filter(i,t)}),!1!==this.sort&&(this.suggestions=this.suggestions.sort(this.sort)),this.suggestions=this.suggestions.slice(0,this.maxItems),this.suggestions.forEach(function(i,r){n.ul.appendChild(n.item(i,t,r))}),0===this.ul.children.length?(this.status.textContent="No results found",this.close({reason:"nomatches"})):(this.open(),this.status.textContent=this.ul.children.length+" results found")):(this.close({reason:"nomatches"}),this.status.textContent="No results found")}};t.all=[];t.FILTER_CONTAINS=function(t,i){return RegExp(n.regExpEscape(i.trim()),"i").test(t)};t.FILTER_STARTSWITH=function(t,i){return RegExp("^"+n.regExpEscape(i.trim()),"i").test(t)};t.SORT_BYLENGTH=function(n,t){return n.length!==t.length?n.length-t.length:n<t?-1:1};t.ITEM=function(t,i,r){return n.create("li",{innerHTML:""===i.trim()?t:t.replace(RegExp(n.regExpEscape(i.trim()),"gi"),"<mark>$&<\/mark>"),"aria-selected":"false",id:"awesomplete_list_"+this.count+"_item_"+r})};t.REPLACE=function(n){this.input.value=n.value};t.DATA=function(n){return n};Object.defineProperty(i.prototype=Object.create(String.prototype),"length",{get:function(){return this.label.length}});i.prototype.toString=i.prototype.valueOf=function(){return""+this.label};r=Array.prototype.slice;n.create=function(t,i){var r=document.createElement(t),u,f,e;for(u in i)f=i[u],"inside"===u?n(f).appendChild(r):"around"===u?(e=n(f),e.parentNode.insertBefore(r,e),r.appendChild(e)):u in r?r[u]=f:r.setAttribute(u,f);return r};n.bind=function(n,t){var i,r;if(n)for(i in t)r=t[i],i.split(/\s+/).forEach(function(t){n.addEventListener(t,r)})};n.unbind=function(n,t){var i,r;if(n)for(i in t)r=t[i],i.split(/\s+/).forEach(function(t){n.removeEventListener(t,r)})};n.fire=function(n,t,i){var r=document.createEvent("HTMLEvents"),u;r.initEvent(t,!0,!0);for(u in i)r[u]=i[u];return n.dispatchEvent(r)};n.regExpEscape=function(n){return n.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")};n.siblingIndex=function(n){for(var t=0;n=n.previousElementSibling;t++);return t};"undefined"!=typeof Document&&("loading"!==document.readyState?f():document.addEventListener("DOMContentLoaded",f));t.$=n;t.$$=u;"undefined"!=typeof self&&(self.Awesomplete=t);"object"==typeof module&&module.exports&&(module.exports=t)}();$(document).ready(function(){var n=$("a.gallerybox");n.length>0&&n.colorbox({photo:!0,opacity:.4,scrolling:!1})}),function(n){function i(n){return n!==null&&n!==undefined&&n.length>0&&(typeof n!="string"||n.trim().length>0)}function r(n){var i=$(n.currentTarget),r=i.closest("ul"),t;r.data("original")!=null&&(t=i.find("img"),t.length>0&&!i.hasClass("active")&&t.attr("src",t.attr("src").replace(r.data("original").toString(),r.data("hover").toString())))}function u(n){var i=$(n.currentTarget),r=i.closest("ul"),t;r.data("original")!=null&&(t=i.find("img"),t.length>0&&!i.hasClass("active")&&t.attr("src",t.attr("src").replace(r.data("hover").toString(),r.data("original").toString())))}function f(n,t,i){var r,u;if(t<0)for(r=n+t;r<0;)t++,r=n+t;else for(u=n+t;u>i;)t++,u=n+t;return n+t}function e(n,t){n.activeIndex===0||n.slides.length<=n.params.slidesPerView?t.find(n.params.control).find(".up").addClass("disabled"):t.find(n.params.control).find(".up").removeClass("disabled");n.activeIndex+n.params.slidesPerView>=n.slides.length?t.find(n.params.control).find(".down").addClass("disabled"):t.find(n.params.control).find(".down").removeClass("disabled")}function o(n,i){t("localStorage")&&window.localStorage.setItem(n,i)}function s(n){return t("localStorage")?window.localStorage.getItem(n):null}function h(n){t("localStorage")&&window.localStorage.removeItem(n)}function t(n){try{var i=window[n],t="__storage_test__";return i.setItem(t,t),i.removeItem(t),!0}catch(r){return!1}}function c(n,t,i){var r=i,u=n.find("li").length;return t.find(".down").addClass("enabled"),u<=r?r=u:t.find(".down").removeClass("disabled"),r}function l(n){for(var i,u=window.location.search.substring(1),r=u.split("&"),t=0;t<r.length;t++)if(i=r[t].split("="),i[0]===n)return i[1];return null}n.isNotNullOrEmpty=i;n.singular="Dieses Produkt ";n.plural="Diese Produkte ";n.switchInImg=r;n.switchOutImg=u;n.moveTarget=f;n.updateButton=e;n.setItem=o;n.getItem=s;n.removeItem=h;n.calculateSlideCount=c;n.getQueryVariable=l}(WidgetHelper||(WidgetHelper={}));WorkshopWidget=function(){function n(n){var t=this;this.workshopIndex=0;this.forcedLoc="";this.mainWrap=$(n);$(document).ready(function(){try{t.setUpWidget()}catch(n){t.mainWrap.remove();console.error(n);console.info(WidgetHelper.getQueryVariable);console.info(WidgetHelper)}})}return n.prototype.setUpWidget=function(){this.api="api-test.medianord.de";var n,t;WidgetHelper.getQueryVariable("lat")!=null&&WidgetHelper.getQueryVariable("long")!=null&&(n=parseFloat(WidgetHelper.getQueryVariable("lat")),t=parseFloat(WidgetHelper.getQueryVariable("long")));n!=null&&t!=null&&(this.forcedLoc="?latitude="+n+"&longitude="+t);window.blockWorkshopAd!==!0?this.loadWidget():this.mainWrap.remove()},n.prototype.loadWidget=function(){var n=this,t=this.getWsIndex();$.when($.get("https://"+this.api+"/Workshops/"+t+this.forcedLoc)).then(function(i){i!=null&&i.value!=null&&i.value.length>0?(n.mainWrap.find("div").html(i.value),n.incrementWsIndex(t,i.count)):n.mainWrap.remove()},function(){return n.mainWrap.remove()})},n.prototype.getWsIndex=function(){var n=parseInt(WidgetHelper.getItem("wsIndex"));return(n==null||isNaN(n))&&(n=0),this.workshopIndex=n,n},n.prototype.incrementWsIndex=function(n,t){n++;n>=t?WidgetHelper.setItem("wsIndex","0"):WidgetHelper.setItem("wsIndex",n+"")},n.prototype.getProfileLocation=function(){var n=window.dkVars;return n&&n.widgetLocation!=null&&n.widgetLocation.length>0?n.widgetLocation:null},n.prototype.setManualLoc=function(n){WidgetHelper.isNotNullOrEmpty(n)?(this.forcedLoc="?manualLoc="+n,WidgetHelper.setItem("widgetLocation",n)):this.getProfileLocation()!==null?this.forcedLoc="?manualLoc="+this.getProfileLocation():(this.forcedLoc="",WidgetHelper.removeItem("widgetLocation"))},n.prototype.init=function(){},n}();!function(n){function tt(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function o(n,t,i){n.addEventListener(t,i,!1)}function bt(n,t,i){n.removeEventListener(t,i,!1)}function kt(n){return s+"["+function(n){var t="Host page: "+n;return window.top!==window.self&&(t=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+n:"Nested host page: "+n),t}(n)+"]"}function it(n){return t[n]?t[n].log:g}function i(n,t){y("log",n,t,it(n))}function rt(n,t){y("info",n,t,it(n))}function u(n,t){y("warn",n,t,!0)}function y(n,t,i,r){!0===r&&"object"==typeof console&&console[n](kt(t),i)}function dt(n){function tt(){it("Height");it("Width");ct(function(){ht(h);et(e);y("onResized",h)},h,"init")}function it(n){var f=Number(t[e]["max"+n]),o=Number(t[e]["min"+n]),r=n.toLowerCase(),u=Number(h[r]);i(e,"Checking "+r+" is in range "+o+"-"+f);u<o&&(u=o,i(e,"Set "+r+" to min value"));f<u&&(u=f,i(e,"Set "+r+" to max value"));h[r]=""+u}function b(n){return c.substr(c.indexOf(":")+pt+n)}function ut(n,t){!function(n,t,i){v[i]||(v[i]=setTimeout(function(){v[i]=null;n()},t))}(function(){f("Send Page Info","pageInfo:"+function(){var t=document.body.getBoundingClientRect(),n=h.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:n.height,iframeWidth:n.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(n.top-t.top,10),offsetLeft:parseInt(n.left-t.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})}(),n,t)},32,t)}function at(n){var t=n.getBoundingClientRect();return ft(e),{x:Math.floor(Number(t.left)+Number(r.x)),y:Math.floor(Number(t.top)+Number(r.y))}}function vt(n){var t=n?at(h.iframe):{x:0,y:0},f={x:Number(h.width)+t.x,y:Number(h.height)+t.y};i(e,"Reposition requested from iFrame (offset x:"+t.x+" y:"+t.y+")");window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(n?"Offset":"")](f.x,f.y):u(e,"Unable to scroll to requested position, window.parentIFrame not found"):(r=f,yt(),i(e,"--"))}function yt(){!1!==y("onScroll",r)?et(e):ot()}function y(n,t){return p(e,n,t)}var k,wt,d,kt,a,dt,g,nt,c=n.data,h={},e=null;"[iFrameResizerChild]Ready"===c?function(){for(var n in t)f("iFrame requested init",lt(n),t[n].iframe,n)}():s===(""+c).substr(0,l)&&c.substr(l).split(":")[0]in t?(a=c.substr(l).split(":"),dt=a[1]?parseInt(a[1],10):0,g=t[a[0]]&&t[a[0]].iframe,nt=getComputedStyle(g),h={iframe:g,id:a[0],height:dt+function(n){if("border-box"!==n.boxSizing)return 0;var t=n.paddingTop?parseInt(n.paddingTop,10):0,i=n.paddingBottom?parseInt(n.paddingBottom,10):0;return t+i}(nt)+function(n){if("border-box"!==n.boxSizing)return 0;var t=n.borderTopWidth?parseInt(n.borderTopWidth,10):0,i=n.borderBottomWidth?parseInt(n.borderBottomWidth,10):0;return t+i}(nt),width:a[2],type:a[3]},e=h.id,t[e]&&(t[e].loaded=!0),(kt=h.type in{"true":1,"false":1,undefined:1})&&i(e,"Ignoring init message from meta parent page"),!kt&&(d=!0,t[wt=e]||(d=!1,u(h.type+" No settings for "+wt+". Message was: "+c)),d)&&(i(e,"Received: "+c),k=!0,null===h.iframe&&(u(e,"IFrame ("+h.id+") not found"),k=!1),k&&function(){var f,u=n.origin,r=t[e]&&t[e].checkOrigin;if(r&&""+u!="null"&&!(r.constructor===Array?function(){var n=0,t=!1;for(i(e,"Checking connection is from allowed list of origins: "+r);n<r.length;n++)if(r[n]===u){t=!0;break}return t}():(f=t[e]&&t[e].remoteHost,i(e,"Checking connection is from: "+f),u===f)))throw new Error("Unexpected message received from: "+u+" for "+h.iframe.id+". Message was: "+n.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&function(){switch(t[e]&&t[e].firstRun&&t[e]&&(t[e].firstRun=!1),h.type){case"close":w(h.iframe);break;case"message":!function(n){i(e,"onMessage passed: {iframe: "+h.iframe.id+", message: "+n+"}");y("onMessage",{iframe:h.iframe,message:JSON.parse(n)});i(e,"--")}(b(6));break;case"autoResize":t[e].autoResize=JSON.parse(b(9));break;case"scrollTo":vt(!1);break;case"scrollToOffset":vt(!0);break;case"pageInfo":ut(t[e]&&t[e].iframe,e),function(){function r(r,f){function e(){t[n]?ut(t[n].iframe,n):u()}["scroll","resize"].forEach(function(t){i(n,r+t+" listener for sendPageInfo");f(window,t,e)})}function u(){r("Remove ",bt)}var n=e;r("Add ",o);t[n]&&(t[n].stopPageInfo=u)}();break;case"pageInfoStop":t[e]&&t[e].stopPageInfo&&(t[e].stopPageInfo(),delete t[e].stopPageInfo);break;case"inPageLink":!function(n){var t,u=n.split("#")[1]||"",f=decodeURIComponent(u),o=document.getElementById(f)||document.getElementsByName(f)[0];o?(t=at(o),i(e,"Moving to in page link (#"+u+") at x: "+t.x+" y: "+t.y),r={x:t.x,y:t.y},yt(),i(e,"--")):window.top!==window.self?window.parentIFrame?window.parentIFrame.moveToAnchor(u):i(e,"In page link #"+u+" not found and window.parentIFrame not found"):i(e,"In page link #"+u+" not found")}(b(9));break;case"reset":st(h);break;case"init":tt();y("onInit",h.iframe);break;default:tt()}}())):rt(e,"Ignored: "+c)}function p(n,i,r){var u=null,f=null;if(t[n]){if("function"!=typeof(u=t[n][i]))throw new TypeError(i+" on iFrame["+n+"] is not a function");f=u(r)}return f}function ut(n){var i=n.id;delete t[i]}function w(n){var t=n.id;if(!1!==p(t,"onClose",t)){i(t,"Removing iFrame: "+t);try{n.parentNode&&n.parentNode.removeChild(n)}catch(n){u(n)}p(t,"onClosed",t);i(t,"--");ut(n)}else i(t,"Close iframe cancelled by onClose event")}function ft(t){null===r&&i(t,"Get page position: "+(r={x:window.pageXOffset!==n?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==n?window.pageYOffset:document.documentElement.scrollTop}).x+","+r.y)}function et(n){null!==r&&(window.scrollTo(r.x,r.y),i(n,"Set page position: "+r.x+","+r.y),ot())}function ot(){r=null}function st(n){i(n.id,"Size reset requested by "+("init"===n.type?"host page":"iFrame"));ft(n.id);ct(function(){ht(n);f("reset","reset",n.iframe,n.id)},n,"reset")}function ht(n){function e(u){nt||"0"!==n[u]||(nt=!0,i(r,"Hidden iFrame detected, creating visibility listener"),function(){function r(){Object.keys(t).forEach(function(n){!function(n){function i(i){return"0px"===(t[n]&&t[n].iframe.style[i])}t[n]&&null!==t[n].iframe.offsetParent&&(i("height")||i("width"))&&f("Visibility change","resize",t[n].iframe,n)}(n)})}function u(n){i("window","Mutation observed: "+n[0].target+" "+n[0].type);b(r,16)}var n=tt();n&&function(){var t=document.querySelector("body");new n(u).observe(t,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0})}()}())}function u(t){!function(t){n.id?(n.iframe.style[t]=n[t]+"px",i(n.id,"IFrame ("+r+") "+t+" set to "+n[t]+"px")):i("undefined","messageData id not set")}(t);e(t)}var r=n.iframe.id;t[r]&&(t[r].sizeHeight&&u("height"),t[r].sizeWidth&&u("width"))}function ct(n,t,r){r!==t.type&&e&&!window.jasmine?(i(t.id,"Requesting animation frame"),e(n)):n()}function f(n,r,f,e,o){var h,c=!1;e=e||f.id;t[e]&&(f&&"contentWindow"in f&&null!==f.contentWindow?(h=t[e]&&t[e].targetOrigin,i(e,"["+n+"] Sending msg to iframe["+e+"] ("+r+") targetOrigin: "+h),f.contentWindow.postMessage(s+r,h)):u(e,"["+n+"] IFrame("+e+") not found"),o&&t[e]&&t[e].warningTimeout&&(t[e].msgTimeout=setTimeout(function(){!t[e]||t[e].loaded||c||(c=!0,u(e,"IFrame has not responded within "+t[e].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))},t[e].warningTimeout)))}function lt(n){return n+":"+t[n].bodyMarginV1+":"+t[n].sizeWidth+":"+t[n].log+":"+t[n].interval+":"+t[n].enablePublicMethods+":"+t[n].autoResize+":"+t[n].bodyMargin+":"+t[n].heightCalculationMethod+":"+t[n].bodyBackground+":"+t[n].bodyPadding+":"+t[n].tolerance+":"+t[n].inPageLinks+":"+t[n].resizeFrom+":"+t[n].widthCalculationMethod}function at(r,e){function nt(n){var t=n.split("Callback"),i;2===t.length&&(i="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1),this[i]=this[n],delete this[n],u(s,"Deprecated: '"+n+"' has been renamed '"+i+"'. The old method will be removed in the next major version."))}function v(n){1/0!==t[s][n]&&0!==t[s][n]&&(r.style[n]=t[s][n]+"px",i(s,"Set "+n+" = "+t[s][n]+"px"))}function k(n){if(t[s]["min"+n]>t[s]["max"+n])throw new Error("Value for min"+n+" can not be greater than max"+n);}var a,l,y,p,b,c,s=(""===(l=r.id)&&(r.id=(a=e&&e.id||h.id+d++,null!==document.getElementById(a)&&(a+=d++),l=a),g=(e||{}).log,i(l,"Added missing iframe ID: "+l+" ("+r.src+")")),l);s in t&&"iFrameResizer"in r?u(s,"Ignored iFrame, already setup."):(c=(c=e)||{},t[s]={firstRun:!0,iframe:r,remoteHost:r.src&&r.src.split("/").slice(0,3).join("/")},function(n){if("object"!=typeof n)throw new TypeError("Options is not an object");}(c),Object.keys(c).forEach(nt,c),function(n){for(var i in h)Object.prototype.hasOwnProperty.call(h,i)&&(t[s][i]=Object.prototype.hasOwnProperty.call(n,i)?n[i]:h[i])}(c),t[s]&&(t[s].targetOrigin=!0===t[s].checkOrigin?function(n){return""===n||null!==n.match(/^(about:blank|javascript:|file:\/\/)/)?"*":n}(t[s].remoteHost):"*"),function(){switch(i(s,"IFrame scrolling "+(t[s]&&t[s].scrolling?"enabled":"disabled")+" for "+s),r.style.overflow=!1===(t[s]&&t[s].scrolling)?"hidden":"auto",t[s]&&t[s].scrolling){case"omit":break;case!0:r.scrolling="yes";break;case!1:r.scrolling="no";break;default:r.scrolling=t[s]?t[s].scrolling:"no"}}(),k("Height"),k("Width"),v("maxHeight"),v("minHeight"),v("maxWidth"),v("minWidth"),"number"!=typeof(t[s]&&t[s].bodyMargin)&&"0"!==(t[s]&&t[s].bodyMargin)||(t[s].bodyMarginV1=t[s].bodyMargin,t[s].bodyMargin=t[s].bodyMargin+"px"),y=lt(s),(b=tt())&&(p=b,r.parentNode&&new p(function(n){n.forEach(function(n){Array.prototype.slice.call(n.removedNodes).forEach(function(n){n===r&&w(r)})})}).observe(r.parentNode,{childList:!0})),o(r,"load",function(){f("iFrame.onload",y,r,n,!0),function(){var n=t[s]&&t[s].firstRun,i=t[s]&&t[s].heightCalculationMethod in wt;!n&&i&&st({iframe:r,height:0,width:0,type:"init"})}()}),f("init",y,r,n,!0),t[s]&&(t[s].iframe.iFrameResizer={close:w.bind(null,t[s].iframe),removeListeners:ut.bind(null,t[s].iframe),resize:f.bind(null,"Window resize","resize",t[s].iframe),moveToAnchor:function(n){f("Move to anchor","moveToAnchor:"+n,t[s].iframe,s)},sendMessage:function(n){f("Send Message","message:"+(n=JSON.stringify(n)),t[s].iframe,s)}}))}function b(n,t){null===a&&(a=setTimeout(function(){a=null;n()},t))}function vt(){"hidden"!==document.visibilityState&&(i("document","Trigger event: Visiblity change"),b(function(){yt("Tab Visable","resize")},16))}function yt(n,i){Object.keys(t).forEach(function(r){(function(n){return t[n]&&"parent"===t[n].resizeFrom&&t[n].autoResize&&!t[n].firstRun})(r)&&f(n,i,t[r].iframe,r)})}function gt(){o(window,"message",dt);o(window,"resize",function(){!function(n){i("window","Trigger event: "+n);b(function(){yt("Window "+n,"resize")},16)}("resize")});o(document,"visibilitychange",vt);o(document,"-webkit-visibilitychange",vt)}function k(){function r(n,i){i&&(function(){if(!i.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==i.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+i.tagName+">");}(),at(i,n),t.push(i))}var t;return function(){for(var t=["moz","webkit","o","ms"],n=0;n<t.length&&!e;n+=1)e=window[t[n]+"RequestAnimationFrame"];e?e=e.bind(window):i("setup","RequestAnimationFrame not supported")}(),gt(),function(i,f){switch(t=[],function(n){n&&n.enablePublicMethods&&u("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(i),typeof f){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(f||"iframe"),r.bind(n,i));break;case"object":r(i,f);break;default:throw new TypeError("Unexpected data type ("+typeof f+")");}return t}}if("undefined"!=typeof window){var c,d=0,g=!1,nt=!1,pt=7,s="[iFrameSizer]",l=s.length,r=null,e=window.requestAnimationFrame,wt={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},t={},a=null,h={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){u("onMessage function not defined")},onResized:function(){},onScroll:function(){return!0}},v={};window.jQuery&&((c=window.jQuery).fn?c.fn.iFrameResize||(c.fn.iFrameResize=function(n){return this.filter("iframe").each(function(t,i){at(i,n)}).end()}):rt("","Unable to bind to jQuery, it is not fully loaded."));"function"==typeof define&&define.amd?define([],k):"object"==typeof module&&"object"==typeof module.exports&&(module.exports=k());window.iFrameResize=window.iFrameResize||k()}}();__awaiter=this&&this.__awaiter||function(n,t,i,r){function u(n){return n instanceof i?n:new i(function(t){t(n)})}return new(i||(i=Promise))(function(i,f){function o(n){try{e(r.next(n))}catch(t){f(t)}}function s(n){try{e(r["throw"](n))}catch(t){f(t)}}function e(n){n.done?i(n.value):u(n.value).then(o,s)}e((r=r.apply(n,t||[])).next())})};__generator=this&&this.__generator||function(n,t){function o(n){return function(t){return s([n,t])}}function s(e){if(f)throw new TypeError("Generator is already executing.");while(r)try{if(f=1,u&&(i=e[0]&2?u["return"]:e[0]?u["throw"]||((i=u["return"])&&i.call(u),0):u.next)&&!(i=i.call(u,e[1])).done)return i;(u=0,i)&&(e=[e[0]&2,i.value]);switch(e[0]){case 0:case 1:i=e;break;case 4:return r.label++,{value:e[1],done:!1};case 5:r.label++;u=e[1];e=[0];continue;case 7:e=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(e[0]===6||e[0]===2)){r=0;continue}if(e[0]===3&&(!i||e[1]>i[0]&&e[1]<i[3])){r.label=e[1];break}if(e[0]===6&&r.label<i[1]){r.label=i[1];i=e;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(e);break}i[2]&&r.ops.pop();r.trys.pop();continue}e=t.call(n,r)}catch(o){e=[6,o];u=0}finally{f=i=0}if(e[0]&5)throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},f,u,i,e;return e={next:o(0),"throw":o(1),"return":o(2)},typeof Symbol=="function"&&(e[Symbol.iterator]=function(){return this}),e};dkWindows=window;abServerApi="https://api-test.medianord.de",function(n){n[n.Normal=0]="Normal";n[n.Preload=1]="Preload";n[n.Preview=2]="Preview"}(UrlType||(UrlType={}));$(document).ready(function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(n){switch(n.label){case 0:return[4,loadWidgetReplacement()];case 1:return n.sent(),[2]}})})});!function(n){function t(r){if(i[r])return i[r].exports;var u=i[r]={i:r,l:!1,exports:{}};return n[r].call(u.exports,u,u.exports,t),u.l=!0,u.exports}var i={};t.m=n;t.c=i;t.d=function(n,i,r){t.o(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:r})};t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});Object.defineProperty(n,"__esModule",{value:!0})};t.t=function(n,i){var r,u;if((1&i&&(n=t(n)),8&i)||4&i&&"object"==typeof n&&n&&n.__esModule)return n;if(r=Object.create(null),t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&i&&"string"!=typeof n)for(u in n)t.d(r,u,function(t){return n[t]}.bind(null,u));return r};t.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(i,"a",i),i};t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)};t.p="";t(t.s=3)}([function(n){n.exports=function(n){return"object"==typeof n?null!==n:"function"==typeof n}},function(n,t,i){n.exports=!i(2)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(n){n.exports=function(n){try{return!!n()}catch(n){return!0}}},function(n,t,i){"use strict";i.r(t);i(4);!function(){if("function"!=typeof __tcfapi){var t,r=[],n=window,i=n.document;!n.__tcfapi&&function t(){var u=!!n.frames.__tcfapiLocator,r;return u||(i.body?(r=i.createElement("iframe"),r.style.cssText="display:none",r.name="__tcfapiLocator",i.body.appendChild(r)):setTimeout(t,5)),!u}()&&(n.__tcfapi=function(){for(var f,u=arguments.length,n=new Array(u),i=0;i<u;i++)n[i]=arguments[i];if(!n.length)return r;"setGdprApplies"===n[0]?n.length>3&&2===parseInt(n[1],10)&&"boolean"==typeof n[3]&&(t=n[3],"function"==typeof n[2]&&n[2]("set",!0)):"ping"===n[0]?(f={gdprApplies:t,cmpLoaded:!1,apiVersion:"2.0"},"function"==typeof n[2]&&n[2](f,!0)):r.push(n)},n.addEventListener("message",function(t){var r="string"==typeof t.data,u={},i;try{u=r?JSON.parse(t.data):t.data}catch(t){}i=u.__tcfapiCall;i&&n.__tcfapi(i.command,i.parameter,i.version,function(n,u){var f={__tcfapiReturn:{returnValue:n,success:u,callId:i.callId}};r&&(f=JSON.stringify(f));t.source.postMessage(f,"*")})},!1))}}()},function(n,t,i){var u=i(5).f,r=Function.prototype,f=/^\s*function ([^ (]*)/;"name"in r||i(1)&&u(r,"name",{configurable:!0,get:function(){try{return(""+this).match(f)[1]}catch(n){return""}}})},function(n,t,i){var r=i(6),u=i(7),f=i(10),e=Object.defineProperty;t.f=i(1)?Object.defineProperty:function(n,t,i){if(r(n),t=f(t,!0),r(i),u)try{return e(n,t,i)}catch(n){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(n[t]=i.value),n}},function(n,t,i){var r=i(0);n.exports=function(n){if(!r(n))throw TypeError(n+" is not an object!");return n}},function(n,t,i){n.exports=!i(1)&&!i(2)(function(){return 7!=Object.defineProperty(i(8)("div"),"a",{get:function(){return 7}}).a})},function(n,t,i){var u=i(0),r=i(9).document,f=u(r)&&u(r.createElement);n.exports=function(n){return f?r.createElement(n):{}}},function(n){var t=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(n,t,i){var r=i(0);n.exports=function(n,t){if(!r(n))return n;var i,u;if(t&&"function"==typeof(i=n.toString)&&!r(u=i.call(n))||"function"==typeof(i=n.valueOf)&&!r(u=i.call(n))||!t&&"function"==typeof(i=n.toString)&&!r(u=i.call(n)))return u;throw TypeError("Can't convert object to primitive value");}}]);window._sp_={config:{accountId:1061,wrapperAPIOrigin:"https://wrapper-api.sp-prod.net/tcfv2",mmsDomain:"https://consent.digitalkamera.de"}};window.nonIabVendorConsents=[];dkWindow=window;ConsentHelper=function(){function n(){this.debug=!1}return n.prototype.consentLog=function(n){this.debug&&console.log(n)},n.prototype.setCookie=function(n,t,i){var r=new Date;r.setTime(r.getTime()+i*864e5);var e="expires="+r.toUTCString(),u=location.host.split(".").reverse(),f="."+u[1]+"."+u[0];document.cookie=n+"="+t+";"+e+";domain="+f+";path=/";this.consentLog("Setting Cookie to :"+t+"on domain: "+f)},n.prototype.getCookie=function(n){for(var t,r=n+"=",f=decodeURIComponent(document.cookie),u=f.split(";"),i=0;i<u.length;i++){for(t=u[i];t.charAt(0)==" ";)t=t.substring(1);if(t.indexOf(r)==0)return t.substring(r.length,t.length)}return""},n.prototype.removeVendor=function(n){var t=n,i=dkWindow.nonIabVendorConsents.indexOf(t);i>-1?(dkWindow.nonIabVendorConsents.splice(i,1),this.consentLog("removing vendor: "+t)):this.consentLog("no action needed "+t+"not in consented to");this.consentLog("new cookie value: "+dkWindow.nonIabVendorConsents);this.setCookie("noniab_vendors",JSON.stringify(dkWindow.nonIabVendorConsents),90);n==="ga"&&dkWindow.gaOptout(!0)},n.prototype.addVendor=function(n){var t=n;typeof dkWindow.nonIabVendorConsents=="undefined"?dkWindow.nonIabVendorConsents=[t]:dkWindow.nonIabVendorConsents.indexOf(t)===-1&&dkWindow.nonIabVendorConsents.push(t);this.setCookie("noniab_vendors",JSON.stringify(dkWindow.nonIabVendorConsents),90);this.consentLog("adding vendor: "+t);n==="ga"&&dkWindow.gaOptin()},n.prototype.getNonIabVendors=function(){var n=this.getCookie("noniab_vendors"),t;return this.consentLog("cookie_val: "+n),n!=""?t=JSON.parse(n):this.consentLog("no noniab_vendors cookie"),t},n}();dkWindow.dkConsentHelper=new ConsentHelper;typeof dkWindow.dkConsentHelper.getNonIabVendors()!="undefined"&&(dkWindow.nonIabVendorConsents=dkWindow.dkConsentHelper.getNonIabVendors())