PageSourceSearch

https://www.neudoerfler.com/assets/js/main.1790854928.js

js neudoerfler.com collected 2026-10-02 19:53:58 UTC 36,459 bytes, 2 lines download raw bytes

1(()=>{var e,t,o,i={465:(e,t,o)=>{e.exports=function(e){o.e(644).then(function(t){e(o(1336))}.bind(null,o)).catch(o.oe)}},647:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>v});var i=o(5962),a=o(4738),n=o(8426),s=o(1500),r=o(9103),l=o(8379),d=o(8850),c=!1,u=a.A.scrollTop,h=null,f=["[data-header-bar]"],p=function(e){if(c)console.log("lockScroll: already locked");else{console.log("lockScroll: ",e),n.A.emit(r.PR);var t=(0,i.A)("body"),o=d.A.get("scrollbarWidth")||(0,l.XJ)(),s=t.css("backgroundColor");if(c=!0,u=a.A.scrollTop,t.css({overflow:"hidden",position:"absolute",width:"100%",height:"calc(100vh + ".concat(u,"px)"),top:"-".concat(u,"px"),left:0}),(0,i.A)("html").css({position:"absolute",width:"100%",height:"calc(100vh + ".concat(u,"px)"),left:0,top:0,overflow:"hidden",borderRight:o?"".concat((0,l.XJ)(),"px solid ").concat(s):""}),e){h=e;var p=(0,i.A)(h),y=null,v=function(e){var t=e.targetTouches[0].clientY-y;(0===h.scrollTop&&t>0||h.scrollHeight-h.scrollTop<=h.clientHeight&&t<0)&&e.preventDefault()};p.on("touchstart",function(e){1===e.targetTouches.length&&(y=e.targetTouches[0].clientY)}),p.on("touchmove",function(e){e.stopPropagation(),1===e.targetTouches.length&&v(e)})}a.A.breakpoint.size<750&&(0,i.A)(f).each(function(e){(0,i.A)(e).css({width:o?"calc(100% - ".concat(o,"px)"):"100%"})}),window.scrollTo(0,0),n.A.emit(r.Ly)}},y=function(){c?(console.log("releaseScroll"),(0,i.A)(f).each(function(e){(0,i.A)(e).css({width:""})}),n.A.emit(r.i8),c=!1,(0,i.A)("body").css({overflow:"",position:"",width:"",height:"",top:"",left:""}),(0,i.A)("html").css({position:"",width:"",height:"",overflow:"",left:"",top:"",borderRight:""}),h&&((0,i.A)(h).off("touchstart").off("touchmove"),h=null),window.scrollTo(0,u),n.A.emit(r.AU)):console.log("releaseScroll: already released")};const v=function(e){var t,o,l=!1,d=(0,i.A)(e),c=d.find("[data-menu-item]"),u=d.find("[data-menu-search-form]"),h=d.find("[data-language-selector]"),f=function(e){var t=e.keyCode||e.which;l&&27===t&&(n.A.emit(r.XT),n.A.emit(r.qq))},v=function(){!l&&t&&(l=!0,d.addClass("is-open"),s.os.killTweensOf(e),s.os.set(e,{display:"block",opacity:1,yPercent:-100}),s.os.to(e,{duration:.55,yPercent:0,opacity:1,ease:"power4.inOut"}),s.os.set(c.nodes,{opacity:0,y:-45}),s.os.to(c.nodes.reverse(),{duration:1,opacity:1,y:0,delay:.2,ease:"power4.out",stagger:.1}),s.os.set(u.nodes,{opacity:0}),s.os.to(u.nodes,{duration:1,opacity:1,delay:.6,ease:"power4.out"}),s.os.set(h.nodes,{opacity:0}),s.os.to(h.nodes,{duration:1,opacity:1,delay:.6,ease:"power4.out"}),document.addEventListener("keyup",f),p((0,i.A)("[data-nav-scroll]").get(0)))},g=function(){l&&t&&(l=!1,s.os.killTweensOf(e),s.os.to(u.nodes,{duration:.15,opacity:0,ease:"power2.in"}),s.os.to(h.nodes,{duration:.15,opacity:0,ease:"power2.in"}),s.os.to(c.nodes.reverse(),{duration:.25,opacity:0,y:-30,ease:"power2.in",stagger:.05}),s.os.to(e,{duration:.55,yPercent:-100,opacity:1,ease:"power4.inOut",clearProps:"all",delay:.1,onComplete:function(){d.removeClass("is-open"),y()}}),document.removeEventListener("keyup",f))},m=function(){o=a.A.breakpoint.size;var i=t;i!==(t=o<999)&&d.removeClass("is-open"),i&&!t?(s.os.set(e,{clearProps:"all"}),s.os.set(c.nodes,{clearProps:"all"}),l=!1,y()):t&&!i&&a.A.disableTabbingOnElement(e)};return{init:function(){o=a.A.breakpoint.size,(t=o<999)&&a.A.disableTabbingOnElement(e),a.A.on("breakpoint",m),n.A.on(r.B1,v),n.A.on(r.XT,g),document.querySelectorAll(".header__menu ul.level_3 a").forEach(function(e){e.addEventListener("click",function(t){var o=e.closest(".has-children");o&&(o.style.display="none",setTimeout(function(){o.style.display=""},300))})})},destroy:function(){a.A.off("breakpoint",m),n.A.off(r.B1,v),n.A.off(r.XT,g),s.os.killTweensOf(e)}}}},728:(e,t,o)=>{window.Promise||(window.Promise=o(7087)),Array.from=o(8089),o(1735),o(620),o(9491).polyfill(),o(8638).shim(),o(2770),o(7149)},2166:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var i=o(4738),a=o(5962);const n=function(e){var t=(0,a.A)(e),o=t.find("[data-item]"),n=t.find("[data-text]"),s=!1,r=function(){if(!s&&i.A.width<750)s=!0,o.css("top",null);else if(i.A.width>=750){s=!1;var e=n.height()-o.height();o.css("top","".concat(e,"px"))}};return{init:function(){r(),i.A.on("resize",r)},destroy:function(){i.A.off("resize",r)}}}},2579:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>r});var i=o(5962),a=o(4738),n=o(1500),s=o(465);o(5127);const r=function(e,t){var o,r,l,d=(0,i.A)(e),c=d.find("[data-dragger]"),u=d.find("[data-sli
1der]"),h=d.find("[data-image-wrap]").eq(0),f=d.find("[data-wrap]").eq(0),p=d.find("[data-instructions]"),y=!1,v=!1,g=!1,m=function(){if(!g){var e=Math.round(l.x);n.Ay.set(f.get(0),{x:e}),n.Ay.set(h.get(0),{x:-e})}},b=function(){var e=l.endX;v||(v=!0,d.addClass("js-has-engaged")),d.removeClass("js-is-engaging"),e<o&&e>-o&&(g=!0,n.Ay.to(c.get(0),.5,{x:0,ease:Back.easeOut}),n.Ay.to(f.get(0),.5,{x:0,ease:Back.easeOut}),n.Ay.to(h.get(0),.5,{x:0,ease:Back.easeOut}),l.update(!0),setTimeout(function(){g=!1},500))},k=function(){y||(y=!0,n.Ay.set(p.get(0),{clearProps:"all"})),d.addClass("js-is-engaging")},A=function(){l=Draggable.create(c.get(0),{type:"x",edgeResistance:.75,bounds:u.get(0),throwProps:!0,onThrowUpdate:m,onDrag:m,onDragStart:k,overshootTolerance:.01,allowNativeTouchScrolling:!1,onDragEnd:b,zIndexBoost:!1})[0],function(){if(!(0,i.A)("html").hasClass("is-live-preview")){var t=new IntersectionObserver(function(e){e.forEach(function(e){var o=e.target;if(e.isIntersecting&&e.intersectionRatio>=.6){var i=d.width()/8;n.Ay.to(c.get(0),.75,{x:i/2,ease:Quad.easeInOut}),n.Ay.to(f.get(0),.75,{x:i/2,ease:Quad.easeInOut}),n.Ay.to(h.get(0),.75,{x:-i/2,ease:Quad.easeInOut}),n.Ay.to(c.get(0),.65,{x:-i/3,delay:.75,ease:Quad.easeInOut}),n.Ay.to(f.get(0),.65,{x:-i/3,delay:.75,ease:Quad.easeInOut}),n.Ay.to(h.get(0),.65,{x:i/3,delay:.75,ease:Quad.easeInOut}),n.Ay.to(c.get(0),.75,{x:0,delay:1.25,ease:Back.easeOut}),n.Ay.to(f.get(0),.75,{x:0,delay:1.25,ease:Back.easeOut}),n.Ay.to(h.get(0),.75,{x:0,delay:1.25,ease:Back.easeOut}),n.Ay.to(p.get(0),.75,{opacity:1,delay:.3}),t.unobserve(o)}})},{root:null,threshold:.6});t.observe(e)}}(),a.A.on("resize",w)},w=function(){a.A.width!==r&&(0!==l.x&&(n.Ay.to(c.get(0),.5,{x:0}),n.Ay.to(f.get(0),.5,{x:0}),n.Ay.to(h.get(0),.5,{x:0})),l.applyBounds(),r=a.A.width,o=1.5*c.width())};return{init:function(){r=a.A.width,o=1.5*c.width(),s(function(){A()})},destroy:function(){a.A.off("resize",w)}}}},2634:()=>{},3343:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var i=o(5962),a=o(1500);const n=function(e){var t=(0,i.A)(e),o=t.find("[data-history-more-link]"),n=t.find("[data-history-more-link-wrap]"),s=t.find("[data-history-content]"),r=!1;return{init:function(){o.on("click",function(e){e.preventDefault(),r?(t.removeClass("-open"),s.css({height:s.height()}),s.attr("aria-hidden","true"),a.Ay.to(s.nodes,.6,{height:0,ease:"quart.inOut",onComplete:function(){s.css({height:""})}}),a.Ay.to(n.nodes,.1,{autoAlpha:1}),r=!1):function(){t.addClass("-open"),s.css({height:"auto"}),s.attr("aria-hidden","false");var e=s.height();s.css({height:0}),a.Ay.to(s.nodes,.6,{height:e,ease:"quart.inOut",onComplete:function(){s.css({height:"auto"})}}),a.Ay.to(n.nodes,.1,{autoAlpha:0}),r=!0}()})},destroy:function(){o.off("click")}}}},3632:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var i=o(5962),a=o(4738);const n=function(e,t){var o=(0,i.A)(e),n=o.find("[data-panel-toggle]"),s=o.find("[data-panel]"),r=o.find("[data-filtergroup-toggle]"),l=o.find("[data-categorygroup]"),d=o.find("[data-show-results-btn]"),c=!1,u=function(e){e.preventDefault()},h=function(){c?s.css({height:"",overflow:"hidden"}):s.css({height:"100%",overflow:"auto"}),c=!c};return{init:function(){n.on("click",function(e){e.preventDefault(),h()}),r.on("click",function(e){e.preventDefault(),function(e){var t=(0,i.A)(e.triggerTarget),a=o.find(t.attr("href"));a.length>0&&(l.css({display:"none"}),a.css({display:"block"}),r.removeClass("is-selected"),t.addClass("is-selected"))}(e)}),d.on("click",function(e){h()}),a.A.on("resize",u)},destroy:function(){a.A.off("resize",u)}}}},3818:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>d});var i=o(5962),a=o(4738),n=o(1500);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function r(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,l(i.key),i)}}function l(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var i=o.call(e,t||"default");if("object"!=s(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}var d=function(){return e=function e(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$el=(0,i.A)(t),this.$video=this.$el.is("video")?this.$el:this.$el.find("video"),this.video=this.$video.get(0),this.video?(this.videoIsPlaying=!1,this.videoFallbackTimer=null,this.hideImageTimer=null,this.hasFadedIn=!1,this.videoAspectRatio=16/9,this.sources={landscape:
1o.sources&&(o.sources.desktop||o.sources.mobile)||null,portrait:o.sources&&(o.sources.mobile||o.sources.desktop)||null},this.sources.landscape||this.sources.portrait?(this.onLoadStart=this.onLoadStart.bind(this),this.onTimeUpdate=this.onTimeUpdate.bind(this),this.onFallbackTimer=this.onFallbackTimer.bind(this),this.onResize=this.onResize.bind(this),void this.init()):(console.warn("No sources"),void this.cantPlayVideo())):(console.warn("No video"),void this.cantPlayVideo())},t=[{key:"getVideoFormat",value:function(){return this.$el.height()/this.$el.width()>1?"portrait":"landscape"}},{key:"init",value:function(){console.log("init"),this.video.canPlayType&&this.video.canPlayType("video/mp4")?(this.maybeSwapSource(),this.$video.css("opacity",0),a.A.on("resize",this.onResize)):this.cantPlayVideo()}},{key:"destroy",value:function(){this.videoIsPlaying&&this.$el.find("[data-image]").css({visibility:""}),this.hideImageTimer&&(clearTimeout(this.hideImageTimer),this.hideImageTimer=null),this.killVideo(),this.$el.css({visiblity:""}).removeClass("js-is-playing js-cant-play-video")}},{key:"stopFallbackTimer",value:function(){console.log("stopFallbackTimer"),this.video&&this.videoFallbackTimer&&(clearTimeout(this.videoFallbackTimer),this.videoFallbackTimer=null)}},{key:"startFallbackTimer",value:function(e){console.log("startFallbackTimer"),this.stopFallbackTimer(),this.videoFallbackTimer=setTimeout(this.onFallbackTimer,e)}},{key:"addVideoEventListeners",value:function(){this.video&&(this.video.addEventListener("timeupdate",this.onTimeUpdate),this.video.addEventListener("loadstart",this.onLoadStart),this.video.addEventListener("loadedmetadata",this.onLoadStart),this.video.addEventListener("loadeddata",this.onLoadStart),this.video.addEventListener("canplay",this.onLoadStart))}},{key:"removeVideoEventListeners",value:function(){this.video&&(this.video.removeEventListener("timeupdate",this.onTimeUpdate),this.video.removeEventListener("loadstart",this.onLoadStart),this.video.removeEventListener("loadedmetadata",this.onLoadStart),this.video.removeEventListener("loadeddata",this.onLoadStart),this.video.removeEventListener("canplay",this.onLoadStart))}},{key:"killVideo",value:function(){this.stopFallbackTimer(),this.removeVideoEventListeners(),this.video&&(this.video.pause(),this.videoIsPlaying=!1)}},{key:"maybeSwapSource",value:function(){if(console.log("maybeSwapSource"),this.video){var e=this.getVideoFormat(),t=this.video.getAttribute("src"),o=this.sources[e];o&&t!==o&&(this.killVideo(),this.video.src=o,this.playAndCatch())}}},{key:"playAndCatch",value:function(){var e=this;console.log("playAndCatch"),this.addVideoEventListeners(),this.video.muted=!0,this.startFallbackTimer(1e3);var t=this.video.play();void 0!==t&&t.then(function(){console.log("playAndCatch.play"),e.stopFallbackTimer()}).catch(function(t){console.log(["playAndCatch.catch",t]),"NotAllowedError"!==t.name&&"NotSupportedError"!==t.name||(console.log("playAndCatch.catch: killing it"),e.cantPlayVideo())})}},{key:"cantPlayVideo",value:function(){this.killVideo(),this.$el.addClass("js-cant-play-video"),this.$video.css({visiblity:"hidden"});var e=this.$el.find("[data-image]");e.length&&!e.hasClass("lazyload")&&e.addClass("lazyload")}},{key:"onFallbackTimer",value:function(){this.cantPlayVideo()}},{key:"onResize",value:function(){this.maybeSwapSource(),this.resizeVideo()}},{key:"onVideoPlaying",value:function(){var e=this;this.videoIsPlaying=!0,this.resizeVideo(),this.hideImageTimer=setTimeout(function(){e.$el.find("[data-image]").css({visibility:"hidden"})},2e3),requestAnimationFrame(function(){e.$el.addClass("js-is-playing")})}},{key:"onTimeUpdate",value:function(){!this.video||this.video.currentTime<.001||(this.removeVideoEventListeners(),this.stopFallbackTimer(),this.onVideoPlaying(),this.hasFadedIn||n.Ay.to(this.$video.get(0),.5,{opacity:1}),this.hasFadedIn=!0)}},{key:"onLoadStart",value:function(){this.resizeVideo(),this.videoIsPlaying||this.startFallbackTimer(6e3)}},{key:"updateVideoAspectRatio",value:function(){this.$video.css({width:"",height:""}),this.videoAspectRatio=this.$video.width()/this.$video.height()}},{key:"resizeVideo",value:function(){var e=this.$el.width(),t=this.$el.height(),o=e/t;this.updateVideoAspectRatio(),this.videoAspectRatio>o?this.$video.css({height:t+"px",width:t*this.videoAspectRatio+"px",top:0,left:(e-t*this.videoAspectRatio)/2+"px"}):this.$video.css({width:e+"px",height:e/this.videoAspectRatio+"px",left:0,top:(t-e/this.videoAspectRatio)/2+"px"})}}],t&&r(e.prototype,t),o&&r(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o}()},4938:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var i=o(5962),a=(o(4738),o(8426),o(3395));const n=function(e,t){var o=(0,i.A)(e),n=o.find("[data-paginated-list-wrap]"),s=o.find("[data-paginated-nav-wrap]"),r=o.find("[data-paginated-nav-link]"),l=function(e){var t=(0,i.A)("<div>".concat(e,"</div>")),o=t.find("[data-paginated-list-wrap] > *"),a=t.find("[data-paginated-nav-link]");console.log(o),n.append(o),a.length>0?r.attr("href",a.attr("href")):s.css("display","none")};return{init:function(){o.addClass("js-inited"),o.on("click","[data-paginated-nav-link]",function(e){var t;e.preventDefault(),t=(0,i.A)(e.triggerTarget).attr("href"),a.A.get(t).type("text/html").then(function(e){var t=e||{},o=t.status,i=t.text;200===o&&i&&l(i)}).catch(function(e){console.error(e)})})},destroy:function(){o.off("click")}}}},5121:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>f});var i=o(5962),a=o(1500);function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function s(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,l(i.key),i)}}function r(e,t,o){return(t=l(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function l(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var i=o.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}var d=o(1104),c=o(6766),u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.cb=t,this.youtubeLoaded=!1,this.VimeoConstructor=!1,this.playerReady=!1}return t=e,o=[{key:"init",value:function(e,t){console.log("init"),this.autoplay=t,e.is("iframe")?this.initEmbed(e):e.is("video")&&this.initHtmlPlayer(e)}},{key:"initEmbed",value:function(t){var o=this;console.log("initEmbed"),this.isYoutube=-1===t.attr("src").indexOf("vimeo"),this.isHtmlPlayer=!1,this.isYoutube?e.youtubeLoaded?(console.log("YouTube already loaded"),this.createYoutubePlayer(t)):(console.log("YouTube not loaded"),d(function(i){console.log("loadYoutube"),e.YouTubePlayer=i,e.youtubeLoaded=!0,o.createYoutubePlayer(t)})):e.vimeoLoaded?this.createVimeoPlayer(t):(console.log("Vimeo not loaded"),c(function(i){console.log("loadVimeo"),e.VimeoConstructor=i.default,o.createVimeoPlayer(t)}))}},{key:"createYoutubePlayer",value:function(t){console.log("createYoutubePlayer"),this.player=e.YouTubePlayer(t.get(0)),this.ytReadyListener=this.player.on("ready",this.onPlayerReady.bind(this)),this.ytChangeListener=this.player.on("stateChange",this.onPlayerStateChange.bind(this))}},{key:"createVimeoPlayer",value:function(t){var o=this;console.log("createVimeoPlayer"),this.player=new e.VimeoConstructor(t.get(0)),this.player.on("play",function(){o.onPlayerStateChange({data:1})}),this.player.on("pause",function(){o.onPlayerStateChange({data:2})}),this.onPlayerReady()}},{key:"initHtmlPlayer",value:function(e){console.log("initHtmlPlayer")}},{key:"onPlayerReady",value:function(){console.log("onPlayerReady",this),this.playerReady=!0}},{key:"play",value:function(){console.log("play"),this.playerReady&&(this.isYoutube?this.player.playVideo():this.player.play())}},{key:"pause",value:function(){console.log("pause"),this.playerReady&&(this.isYoutube?this.player.pauseVideo():this.player.pause())}},{key:"onPlayerStateChange",value:function(e){console.log("onPlayerStateChange",this),this.cb(e.data)}},{key:"destroy",value:function(){console.log("destroy"),this.isYoutube?e.youtubeLoaded&&(this.player.off(this.ytReadyListener),this.player.off(this.ytChangeListener),this.player.destroy()):this.isHtmlPlayer||e.vimeoLoaded&&(this.player.off("play"),this.player.off("pause")),this.playerReady=!1,this.autoplay=!1}},{key:"PLAY",get:function(){return 1}},{key:"PAUSE",get:function(){return 2}}],o&&s(t.prototype,o),i&&s(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,o,i}();r(u,"YouTubePlayer",!1),r(u,"youtubeLoaded",!1),r(u,"VimeoConstructor",!1),r(u,"vimeoLoaded",!1);const h=u,f=function(e){var t,o=(0,i.A)(e),n=o.find("[data-link]"),s=o.find("[data-embed-wrap]"),r=o.find("[data-embed]"),l=o.find("[data-close]"),d=(0,i.A)(e.closest("[data-vi
1deo-embed-item]")),c=!1,u=function(){a.Ay.killTweensOf(n.get(0)),document.removeEventListener("keyup",f),a.Ay.to(s.get(0),.1,{opacity:0,clearProps:"all",onComplete:function(){d.length>0&&d.css({zIndex:""})}}),o.removeClass("is-playing")},f=function(e){27===(e.keyCode||e.which)&&(t.pause(),u())},p=function(e){e.preventDefault(),t.pause(),u()},y=function(){a.Ay.killTweensOf(n.get(0)),document.addEventListener("keyup",f),a.Ay.set(s.get(0),{display:"block",opacity:0}),a.Ay.to(s.get(0),.3,{opacity:1}),o.addClass("is-playing"),d.length>0&&d.css({zIndex:5})},v=function(e){e===t.PLAY&&o.hasClass("is-playing")},g=function(e){e.preventDefault(),c?(t.play(),y()):(c=!0,r.html(r.data("embed")),t.init(r.find("iframe"),!0),y())};return{init:function(){t=new h(v),o.find("[data-link]").on("click",g),l.on("click",p)},destroy:function(){o.off("click"),t.destroy()}}}},6822:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var i=o(5962),a=(o(4738),o(1500));const n=function(e,t){var o=(0,i.A)(e),n=o.find("[data-popup-inner]"),s=o.find("[data-popup-close-button]"),r=o.find("[data-popup-link-button]"),l=function(){window.vrsg.setCookie("newsletterPopupClosed","1",7),a.Ay.to(o.get(0),.1,{opacity:0,ease:"Sine.easeOut",onComplete:function(){o.css({display:"none"})}})};return{init:function(){s.on("click",function(){l()}),r.on("click",function(){l()}),"1"!==window.vrsg.getCookie("newsletterPopupClosed")&&setTimeout(function(){a.Ay.set(o.get(0),{display:"flex",opacity:0}
1),a.Ay.set(n.get(0),{opacity:0,y:50}),a.Ay.to(o.get(0),.3,{opacity:1,ease:"Sine.easeOut"}),a.Ay.to(n.get(0),.2,{delay:.4,opacity:1,ease:"Sine.easeOut"}),a.Ay.to(n.get(0),.6,{delay:.4,y:0,ease:"Quint.easeOut",onComplete:function(){n.attr("tabindex","-1").focus()}})},3e4)},destroy:function(){s.off("click"),r.off("click")}}}},7116:(e,t,o)=>{"use strict";o(728);var i=o(8379);window.lazySizesConfig={init:!1},o(4390),window.HTMLPictureElement&&!document.msElementsFromPoint||o(3402);const a=o(6879);var n,s,r,l=o(5962),d=o(4738),c=o(6836),u=o(8850),h=o(8607),f=function(){},p=function(e){var t=document.querySelector("#lightBox-Swiper").swiper;switch(e.key||e.keyCode||e.which){case"Escape":case 27:v();break;case"ArrowLeft":case 37:t&&t.slidePrev();break;case"ArrowRight":case 39:t&&t.slideNext()}},y=function(e){var t=n.find("[data-lightbox-image]"),o=e.data("lightbox-image"),i=g(t,o);r.empty(),t.each(function(e,t){var o=(0,l.A)(e);if(""!==o.data("lightbox-image")){var i=(0,l.A)('<div class="swiper-slide pos-r w-100 h-100" data-lightbox-slide><div class="lightbox-slideshow__slide-inner pos-r w-100 h-100" style="background-image: url('+o.data("lightbox-image")+')"></div></div>');r.append(i)}}),s.css({display:"block",opacity:0}
1),r.css({opacity:0}),document.addEventListener("keyup",p),m(i),s.attr("tabindex","-1").focus(),h.uo.to(s.nodes,.4,{opacity:1}),h.uo.to(r.nodes,.5,{delay:.2,opacity:1})},v=function(){s.css({display:"none"}),document.removeEventListener("keyup",p)},g=function(e,t){var o=0;return e.each(function(e,i){(0,l.A)(e).data("lightbox-image")===t&&(o=i)}),o},m=function(e){new Swiper("#lightBox-Swiper",{grabCursor:!0,slidesPerView:1,spaceBetween:10,centeredSlides:!0,loop:!0,initialSlide:e,pagination:{type:"bullets",clickable:!0,el:".swiper-pagination"},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},keyboard:{enabled:!0,onlyInViewport:!0}})};const b=function(){n=(0,l.A)("body"),s=n.find("[data-lightbox]"),r=n.find("[data-lightbox-image-container]"),n.on("click","[data-lightbox-trigger]",function(e){y((0,l.A)(e.triggerTarget))}),s.on("click","[data-lightbox-close-button]",function(e){v()}),d.A.on("resize",f)};var k=function(){u.A.set("scrollbarWidth",(0,i.XJ)()),d.A.init(),d.A.releaseTabbing(),c.A.init(),a.init(),b(),(0,l.A)("body").on("click","[data-scroll-anchor-link]",function(e){e.preventDefault();var t=(0,l.A)(e.triggerTarget).attr("href");if(""!==t){var o=(0,l.A)(t);o.length>0&&d.A.scrollTo(o.nodes[0],{duration:1e3,easing:function(e,t,o,i){return(e/=i/2)<1?o/2*e*e*e*e*e+t:o/2*((e-=2)*e*e*e*e+2)+t}})}}),(0,l.A)('a[href*="//"]:not([href*="'+document.location.hostname+'"]):not([target])').attr({target:"_blank",rel:"noopener noreferrer"})},A="production";console.log("Environment: "+A),o(3431)(function(){k()})},7647:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var i=o(5962),a=o(1500);const n=function(e,t){var o=(0,i.A)(e),n=o.find("[data-wrap]"),s=o.find("[data-more-link]"),r=s.find("[data-more-link-text-more]"),l=s.find("[data-more-link-text-less]"),d=s.find("[data-more-link-sign]"),c=o.find("[data-more-wrap]"),u=!1,h=-1,f=!1,p=(0,i.A)('<div class="palette__tooltip">lorem</div>');return{init:function(){n.append(p),p.css({opacity:0}),o.find("[data-color-item]").on("mouseenter",function(e){var o,n,s=(0,i.A)(e.target);o=s.attr("aria-label"),n=s.position().top+s.height(),clearTimeout(h),h=setTimeout(function(){p.css({opacity:0,top:n+4}),p.text(t.colorLabel+": "+o),a.Ay.to(p.get(0),.3,{opacity:1,ease:"Sine.easeOut"}),f=!0},f?150:50)}),o.find("[data-color-item]").on("mouseleave",function(){clearTimeout(h),a.Ay.to(p.get(0),.1,{opacity:0,ease:"Sine.easeOut",onComplete:function(){f=!1}})}),s.on("click",function(e){e.preventDefault(),u?(r.css({display:""}),l.css({display:""}),d.text("+"),c.css({display:""}),u=!1):(r.css({display:"none"}),l.css({display:"inline"}),d.text("–"),c.css({display:"flex"}),u=!0)})},destroy:function(){s.off("click")}}}},7757:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});const i=function(e,t){var o=t.autoplay,i=t.interval;return{init:function(){new Swiper("#heroSwiper",{grabCursor:!0,slidesPerView:1,spaceBetween:10,centeredSlides:!0,loop:!0,autoplay:{delay:o?i+"000":1e9},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},keyboard:{enabled:!0,onlyInViewport:!0}})}}}},8152:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>l});var i=o(4738),a=o(8426),n=o(1500),s=o(5962),r=o(9103);const l=function(e){var t=30,o=150,l=999,d={none:0,s:0,sp:0,m:20,mp:20,l:20,lp:20,xl:20},c={none:0,s:0,sp:0,m:40,mp:40,l:40,lp:40,xl:40},u=(0,s.A)(e),h=!1,f=(0,s.A)("body"),p=f.hasClass("is-magazine-article")||f.hasClass("is-about-frontpage")||f.hasClass("is-404")||(0,s.A)(".hero").hasClass("has-transparent-header"),y=p,v=i.A.breakpoint,g=!1,m=i.A.scroll.top,b=!0,k=!1,A=d[v.name],w=c[v.name],T=v.size<l?u.find("[data-header-bar]"):u.find("[data-header-content]"),S=u.find("[data-header-bg]"),P=u.find("[data-header-menu]"),L=(u.find("[data-language-selector]"),u.find("[data-toggle]")),E=L.find("span"),C=!0,x=function(e){e&&k?(k=!1,u.removeClass("is-small"),n.os.to(T.get(0),{duration:.5,y:0,ease:"power4.out"}),n.os.to(S.get(0),{duration:.5,y:0,ease:"power4.out"})):e||k||(k=!0,u.addClass("is-small"),n.os.set(T.get(0),{y:-A}),n.os.set(S.get(0),{y:-w}))},O=function(){b||(b=!0,n.os.to(T.get(0),{duration:.5,y:0,yPercent:0,ease:"power4.out"}),n.os.to(S.get(0),{duration:.5,y:0,yPercent:0,ease:"power4.out"}))},V=function(){b&&(b=!1,n.os.to(T.get(0),{duration:.15,yPercent:-100,ease:"power2.in"}),n.os.to(S.get(0),{duration:.15,yPercent:-100,ease:"power2.in"}),k=m>t)},F=function(e){p&&e&&(y=!y,u.toggleClass("is-opaque"))},j=function(){if(!g){var e=i.A.scroll.top;if(Math.abs(e-m)>5){var a=e<m;C=a,a?(O(),x(e<t),F(!y&&e<o)):e>t&&(F(y&&e>=o),V()),m=e}}},R=function(){if(!g){var e=i.A.scroll.top;C?(O(),x(e<t),F(!y&&e<o)):e>t&&(F(y&&e>=o),V())}},$=function(){var e=v;v=i.A.breakpoint,A=d[v.name],w=c[v.name],e.size>=l&&v.size<l?(n.os.killTweensOf(T.get(0)),n.os.set(T.get(0),{clearProps:"all"}),T=u.find("[data-header-bar]")):e.size<l&&v.size>=l&&(n.os.killTweensOf(T.get(0)),n.os.set(T.get(0),{clearProps:"all"}),T=u.find("[data-header-content]"),h&&(h=!1,u.removeClass("is-open"),n.os.utils.toArray(L.get(0).children).forEac
1h(function(e){return n.os.killTweensOf(e)}),n.os.set(E.nodes,{clearProps:"all"}),g=!1),i.A.releaseTabbing()),k&&(k=!1,x(!1))},z=function(){h||(h=!0,u.addClass("is-open"),n.os.utils.toArray(L.get(0).children).forEach(function(e){return n.os.killTweensOf(e)}),n.os.to(E.get(1),{duration:.3,opacity:0,scaleX:0}),n.os.to(E.get(0),{duration:.5,rotation:45,y:7,scaleX:.9}),n.os.to(E.get(2),{duration:.5,rotation:-45,y:-7,scaleX:.9}),i.A.lockTabbing([e],L))},I=function(){h&&(h=!1,u.removeClass("is-open"),n.os.utils.toArray(L.get(0).children).forEach(function(e){return n.os.killTweensOf(e)}),n.os.to(E.get(1),{duration:.5,opacity:1,scaleX:1,clearProps:"all"}),n.os.to(E.get(0),{duration:.5,rotation:0,y:14,scaleX:1,clearProps:"all"}),n.os.to(E.get(2),{duration:.5,rotation:0,y:-14,scaleX:1,clearProps:"all"}),i.A.releaseTabbing(L),i.A.disableTabbingOnElement(P.get(0)))},B=function(e){e.preventDefault(),a.A.emit(r.B1),g=!0},D=function(e){e.preventDefault(),a.A.emit(r.XT),g=!1},N=function(e){h?D(e):B(e)},_=function(){return g=!0},U=function(){return g=!1},Y=function(){b||(O(),x(m<t))};return{init:function(){p||u.addClass("has-opaque-header"),a.A.on(r.B1,z),a.A.on(r.XT,I),a.A.on(r.Ly,_),a.A.on(r.qq,U),u.on("click","[data-toggle]",N),u.on("focusin",Y),i.A.on("scroll",j),i.A.on("scrollend",R),i.A.on("breakpoint",$),x(m<t);var e=i.A.scroll.top;F(y&&e>=o)},destroy:function(){u.off("click"),u.off("focusin"),a.A.off(r.B1,z),a.A.off(r.XT,I),a.A.off(r.Ly,_),a.A.off(r.qq,U),i.A.off("scroll",j),i.A.off("scrollend",R),i.A.off("breakpoint",$)}}}},8965:(e,t,o)=>{var i={"./AboutSlideshow.js":9126,"./ColorPalette.js":7647,"./FrontFeature.js":2166,"./Header.js":8152,"./HeroSlideshow.js":7757,"./HeroVideo.js":3818,"./HistoryArticle.js":3343,"./LandingSlider.js":2579,"./Menu.js":647,"./NewsletterPopup.js":6822,"./PaginatedList.js":4938,"./ProductFilter.js":3632,"./VideoEmbed.js":5121,"./VideoLoop.js":9252};function a(e){var t=n(e);return o(t)}function n(e){if(!o.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}a.keys=function(){return Object.keys(i)},a.resolve=n,e.exports=a,a.id=8965},9103:(e,t,o)=>{"use strict";o.d(t,{AU:()=>l,B1:()=>i,Ly:()=>n,PR:()=>d,XT:()=>a,i8:()=>r,qq:()=>s});var i="MENU_OPEN",a="MENU_CLOSE",n="SCROLL_LOCKED",s="SCROLL_UNLOCKED",r="BEFORE_SCROLL_RELEASED",l="SCROLL_RELEASED",d="BEFORE_SCROLL_LOCKED"},9126:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});const i=function(e,t){return{init:function(){new Swiper("#aboutSwiper",{grabCursor:!0,slidesPerView:1,spaceBetween:10,centeredSlides:!0,loop:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},keyboard:{enabled:!0,onlyInViewport:!0}})}}}},9252:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>l});var i=o(5962),a=o(4738);function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function s(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,r(i.key),i)}}function r(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var i=o.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}var l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$el=(0,i.A)(t),this.$video=this.$el.find("[data-video]"),this.video=this.$video.get(0),this.$image=this.$el.find("[data-image]"),this.videoIsPlaying=!1,this.videoFallbackTimer=null,this.videoSources={landscape:this.$video.attr("data-landscape")||this.$video.attr("data-portrait"),portrait:this.$video.attr("data-portrait")||this.$video.attr("data-landscape")},this.onLoadStart=this.onLoadStart.bind(this),this.onTimeUpdate=this.onTimeUpdate.bind(this),this.onFallbackTimer=this.onFallbackTimer.bind(this),this.init()}return t=e,o=[{key:"init",value:function(){console.log("init"),this.video.canPlayType&&this.video.canPlayType("video/mp4")?this.maybeSwapSource():this.cantPlayVideo()}},{key:"destroy",value:function(){this.killVideo()}},{key:"stopFallbackTimer",value:function(){console.log("stopFallbackTimer"),clearTimeout(this.videoFallbackTimer),this.videoFallbackTimer=null}},{key:"startFallbackTimer",value:function(e){console.log("startFallbackTimer"),this.stopFallbackTimer(),this.videoFallbackTimer=setTimeout(this.onFallbackTimer,e)}},{key:"addVideoEventListeners",value:function(){this.video.addEventListener("timeupdate",this.onTimeUpdate),this.video.addEventListener("loadstart",this.onLoadStart),this.video.addEventListener("loadedmetadata",this.onLoadStart),this.video.addEventListener("loadeddata",this.onLoadStart),this.video.addEventListener("canplay",this.onLoadStart)}},{key:"removeVideoEventListeners",value:function(){this.video.removeEventListener("timeupdate",this.onTimeUpdate),this.video.removeEventListener("loadstart",this.onLoadStart),this.video.removeEventListener("loadedmetadata",this.onLoadStart),this.video.removeEventListener("loadeddata",this.onLoadStart),this.video.removeEventListener("canplay",this.onLoadStart)}},{key:"killVideo",value:function(){this.stopFallbackTimer(),this.removeVideoEventListeners(),this.video.pause(),this.videoIsPlaying=!1}},{key:"maybeSwapSource",value:function(){if(this.videoSources.landscape&&this.videoSources.portrait){console.log("foo");var t=e.getVideoFormat(),o=this.video.getAttribute("src"),i=this.videoSources[t];o!==i&&(this.killVideo(),this.video.src=i,this.playAndCatch())}}},{key:"playAndCatch",value:function(){var e=this;this.addVideoEventListeners(),this.video.muted=!0,this.startFallbackTimer(1e3);var t=this.video.play();void 0!==t&&t.then(function(){console.log("playAndCatch.play"),e.stopFallbackTimer()}).catch(function(t){console.log(["playAndCatch.catch",t]),"NotAllowedError"!==t.name&&"NotSupportedError"!==t.name||(console.log("playAndCatch.catch: killing it"),e.cantPlayVideo())})}},{key:"cantPlayVideo",value:function(){console.log("cantPlayVideo"),this.killVideo(),this.$image.addClass("lazyload"),this.$video.length&&this.$video.remove()}},{key:"onFallbackTimer",value:function(){console.log("onFallbackTimer"),this.cantPlayVideo()}},{key:"onTimeUpdate",value:function(){!this.video||this.video.currentTime<.001||(this.removeVideoEventListeners(),this.stopFallbackTimer(),this.$video.addClass("is-playing"),this.videoIsPlaying=!0)}},{key:"onLoadStart",value:function(){this.videoIsPlaying||this.startFallbackTimer(6e3)}}],n=[{key:"getVideoFormat",value:function(){return a.A.height/a.A.width>1?"portrait":"landscape"}}],o&&s(t.prototype,o),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,o,n}()}},a={};function n(e){var t=a[e];if(void 0!==t)return t.exports;var o=a[e]={id:e,loaded:!1,exports:{}};return i[e].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.m=i,e=[],n.O=(t,o,i,a)=>
1{if(!o){var s=1/0;for(c=0;c<e.length;c++){for(var[o,i,a]=e[c],r=!0,l=0;l<o.length;l++)(!1&a||s>=a)&&Object.keys(n.O).every(e=>n.O[e](o[l]))?o.splice(l--,1):(r=!1,a<s&&(s=a));if(r){e.splice(c--,1);var d=i();void 0!==d&&(t=d)}}return t}a=a||0;for(var c=e.length;c>0&&e[c-1][2]>a;c--)e[c]=e[c-1];e[c]=[o,i,a]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((t,o)=>(n.f[o](e,t),t),[])),n.u=e=>"draggable.bundle.js",n.miniCssF=e=>{},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},o="neudoerfler:",n.l=(e,i,a,s)=>{if(t[e])t[e].push(i);else{var r,l;if(void 0!==a)for(var d=document.getElementsByTagName("script"),c=0;c<d.length;c++){var u=d[c];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==o+a){r=u;break}}r||(l=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,n.nc&&r.setAttribute("nonce",n.nc),r.setAttribute("data-webpack",o+a),r.src=e),t[e]=[i];var h=(o,i)=>{r.onerror=r.onload=null,clearTimeout(f);var a=t[e];if(delete t[e],r.parentNode&&r.parentNode.removeChild(r),a&&a.forEach(e=>e(i)),o)return o(i)},f=setTimeout(h.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=h.bind(null,r.onerror),r.onload=h.bind(null,r.onload),l&&document.head.appendChild(r)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");if(o.length)for(var i=o.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=o[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={792:0};n.f.j=(t,o)=>{var i=n.o(e,t)?e[t]:void 0;if(0!==i)if(i)o.push(i[2]);else{var a=new Promise((o,a)=>i=e[t]=[o,a]);o.push(i[2]=a);var s=n.p+n.u(t),r=new Error;n.l(s,o=>{if(n.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var a=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.src;r.message="Loading chunk "+t+" failed.\n("+a+": "+s+")",r.name="ChunkLoadError",r.type=a,r.request=s,i[1](r)}},"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,o)=>{var i,a,[s,r,l]=o,d=0;if(s.some(t=>0!==e[t])){for(i in r)n.o(r,i)&&(n.m[i]=r[i]);if(l)var c=l(n)}for(t&&t(o);d<s.length;d++)a=s[d],n.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return n.O(c)},o=self.webpackChunkneudoerfler=self.webpackChunkneudoerfler||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var s=n.O(void 0,[96],()=>n(7116));s=n.O(s)})();
2//# sourceMappingURL=main.js.map

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.