PageSourceSearch

https://www.zeiss.nl/etc.clientlibs/zeiss-aem-app/jupiter/clientli…/ProductOverview.8b8f7949c9d25ee4.chunk.js

js zeiss.nl collected 2026-10-01 05:40:04 UTC 18,688 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkzeiss_greenfield_aem=self.webpackChunkzeiss_greenfield_aem||[]).push([["45590"],{40114:function(e,t,i){i.d(t,{O:()=>h,Z:()=>u});var s=i(89665),o=i(87335),n=i(48949),l=i(85429),a=i(6294);let r='[data-js-select="TopicTile"]',c="topic-tile__link--active",_="category-navigation--expanded",h="classChange",d=class extends s.hp{constructor(e){var t,i,s,o;super(e),this.$root=e,this.$expand_link=null==(t=this.$root)?void 0:t.querySelector('[data-js-select="CategoryNavigation_expand-link"]'),this.$expand_link__icon=null==(i=this.$expand_link)?void 0:i.querySelector(".icon"),this.$tiles_container=null==(s=this.$root)?void 0:s.querySelector('[data-js-select="CategoryNavigation_tiles-container"]'),this.$tiles=null==(o=this.$root)?void 0:o.querySelectorAll(r),this.tile_event_listener=this.tile_click_event.bind(this),this.expand_link_event_listener=this.toggle_tiles_visibility.bind(this),this.$custom_event_target=null}connect(e){var t,i;super.connect(e),null==(t=this.$expand_link)||t.addEventListener("click",this.expand_link_event_listener),null==(i=this.$tiles)||i.forEach(e=>{e.addEventListener("click",this.tile_event_listener)}),this.update_selected_label()}disconnect(e){var t,i;super.disconnect(e),null==(t=this.$expand_link)||t.removeEventListener("click",this.expand_link_event_listener),null==(i=this.$tiles)||i.forEach(e=>{e.removeEventListener("click",this.tile_event_listener)})}update_active_tile(e){var t;let i=null==(t=this.$root)?void 0:t.querySelector(`.${c}`);if(i&&i.classList.remove(c),this.$tiles&&e<this.$tiles.length){let t=this.$tiles[e].querySelector(".topic-tile__link");null==t||t.classList.add(c)}this.update_selected_label()}tile_click_event(e){let t=e.target.closest(r),i=null;t&&(i=Array.from(t.parentNode.children).indexOf(t),this.update_active_tile(i),this.toggle_tiles_visibility()),this.update_selected_label(),this.$custom_event_target&&(0,n.Z)(this.$custom_event_target,"category-navigation__tile-click",{ev_target:e.target,closest_tile:t,t
1ile_index:i})}update_selected_label(){var e,t,i,s,o;let n=null==(t=null==(e=this.$root)?void 0:e.querySelector(`.${c}`))?void 0:t.closest(r),l=null==(i=this.$expand_link)?void 0:i.querySelector(".category-navigation__expand-link-label");if(n){let e=null==(s=n.querySelector(".topic-tile__title"))?void 0:s.textContent;if(e){let t=null==(o=this.$expand_link)?void 0:o.querySelector(".category-navigation__expand-link-label--selected");t&&(t.textContent=e,null==l||l.classList.add("elevate"))}}}toggle_tiles_visibility(e){var t,i;e&&(e.preventDefault(),e.stopPropagation()),this.check_viewport_mobile()&&((null==(t=this.$root)?void 0:t.classList.contains(_))?this.close_tiles_container(()=>{var e;null==(e=this.$root)||e.classList.remove(_),this.trigger_class_change_event()}):(null==(i=this.$root)||i.classList.add(_),this.trigger_class_change_event(),this.open_tiles_container()))}open_tiles_container(){this.$tiles_container&&a.p8.fromTo(this.$tiles_container,{opacity:0,y:-25,height:0},Object.assign({opacity:1,y:0,height:"auto"},o.l.SELECT)),this.$expand_link__icon&&a.p8.fromTo(this.$expand_link__icon,{rotate:0},Object.assign({rotate:"180deg"},o.l.SELECT))}close_tiles_container(e){this.$tiles_container&&a.p8.to(this.$tiles_container,Object.assign(Object.assign({opacity:0,y:-25,height:0},o.l.SELECT),{onComplete:e})),this.$expand_link__icon&&a.p8.to(this.$expand_link__icon,Object.assign({rotate:"0deg"},o.l.SELECT))}check_viewport_mobile(){return l.Z.viewport_width<l.Z.breakpoint_by_name("l")}trigger_class_change_event(){this.$root&&(0,n.Z)(this.$root,h)}},u=d=function(e,t,i,s){var o,n=arguments.length,l=n<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(l=(n<3?o(l):n>3?o(t,i,l):o(t,i))||l);return n>3&&l&&Object.defineProperty(t,i,l),l}([s.lE.register("CategoryNavigation")],d)},56266:function(e,t,i){i.d(t,{Z:()=>d,l:()=>_});var s,o=i(89665),n=i(90105),l=i(48949),a=i(6294);let r="header-disclaimer|closed",c="header--with-disclaimer",_="disclaimer-is-off",h=s=class extends o.hp{constructor(e){super(e),this.handle_close_button=()=>{var e;let t=this.$root.scrollHeight;a.p8.killTweensOf(this.$root),this.$root.style.height=`${t}px`,this.$root.style.willChange="height, padding, opacity",a.p8.timeline({onComplete:()=>{this.$root.removeAttribute("style"),this.$root.remove(),(0,l.Z)(this.$root,_)}}).to(this.$root,{height:0,opacity:0,duration:.85,ease:"power2.inOut"},0),s.track_event("Close","Disclaimer","Close Disclaimer"),sessionStorage.setItem(r,"true"),null==(e=this.$header)||e.classList.remove(c)},this.open_disclaimer=()=>{this.$root.style.display="block"},this.add_disclaimer_content_links_tracking=()=>{this.get_disclaimer_links().forEach(e=>{e.addEventListener("click",()=>s.track_event("Click","","Open"))})},this.$root=e}disconnect(e){var t;super.disconnect(e),null==(t=this.$disclaimer_close_button)||t.removeEventListener("click",this.handle_close_button)}loaded(e){var t;super.loaded(e),this.$header=document.querySelector(`.${c}`),this.should_remove_disclaimer()?(this.$root.remove(),(0,l.Z)(this.$root,_),this.$header.classList.remove(c)):(this.$disclaimer_close_button=this.$root.querySelector('[data-js-select="HeaderDisclaimer_close-button"]'),null==(t=this.$disclaimer_close_button)||t.addEventListener("click",this.handle_close_button),this.$disclaimer_content=this.$root.querySelector('[data-js-select="HeaderDisclaimer_content"]'),this.open_disclaimer(),this.add_disclaimer_content_links_tracking(),this.enhance_country_switch_accessibility(),(0,l.Z)(this.$root,_))}should_remove_disclaimer(){var e;let t=this.$root.querySelector('[data-js-select="HeaderDisclaimer_content-container"]'),i=JSON.parse(null!=(e=null==t?void 0:t.dataset.allowedCountries)?e:"[]"),s=(window.userdata?window.userdata.country:navigator.language.split("-")[1]).toUpperCase();return sessionStorage.getItem(r)||!!i.length&&!i.includes(s)}get_disclaimer_links(){var e,t;return null!=(t=null==(e=this.$disclaimer_content)?void 0:e.querySelectorAll("a"))?t:[]}get_accessibility_label(){var e,t;let i="Jump to the country switch to change your website location when you are from the US.",s=this.$root.querySelector(".header-disclaimer__content-container");if(!s)return console.warn("Header disclaimer content container not found."),i;let o=null!=(e=s.getAttribute("data-i18n-labels"))?e:"{}",n={};if(o)try{n=JSON.parse(o)}catch(e){console.warn("Could not parse i18n labels:",e)}return(null==(t=n.country_switch_aria_label)?void 0:t.trim())?n.country_switch_aria_label:i}enhance_country_switch_accessibility(){let e=this.get_accessibility_label();
1this.get_disclaimer_links().forEach(t=>{t.setAttribute("aria-label",e),t.setAttribute("aria-describedby","header-disclaimer-text")})}static track_event(e,t,i){n.Z.push_event({name:"Functional",type:t,action:e,value:i,detail:"",moduleType:"Disclaimer",moduleSection:"Header"})}},d=h=s=function(e,t,i,s){var o,n=arguments.length,l=n<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(l=(n<3?o(l):n>3?o(t,i,l):o(t,i))||l);return n>3&&l&&Object.defineProperty(t,i,l),l}([o.lE.register("HeaderDisclaimer")],h)},87335:function(e,t,i){i.d(t,{C:()=>a,l:()=>l});var s=i(89665),o=i(25317),n=i(6294);let l={COLLAPSE:{duration:.3,ease:o.Lp.easeInOut},SELECT:{ease:o.Lp.easeOut,duration:.5,clearProps:"all"},UPSCALE:{duration:.3,ease:o.EA.easeInOut,force3D:!1,clearProps:!0,repeat:1,yoyo:!0,scale:1.2},HEADER_NAVIGATION:{duration:.5,ease:o.Lp.easeOut},FADE_IN_OUT_BACKDROP:{duration:.4,ease:o.Lp.easeInOut,clearProps:!0},FADE_IN_OUT_CONTENT:{duration:.2,ease:o.Lp.easeInOut,clearProps:!0}},a=new class{collapse_animation(e){let{$node:t,is_collapsed:i=!0,height_collapsed:o=0,height_expanded:a="auto",animation_settings:r={},hide_collapsed:c=!1}=e,_=Object.assign(Object.assign({},l.COLLAPSE),r);t&&(i?n.p8.fromTo(t,{height:a},Object.assign(Object.assign(Object.assign({},_),c?{display:"none"}:{}),{height:o})):n.p8.fromTo(t,Object.assign(Object.assign({},c?{display:"block"}:{}),{height:o}),Object.assign(Object.assign({},_),{onComplete:()=>{t.querySelectorAll('[data-module="FKMultiStepForm"]').forEach(e=>{var t;null==(t=s.lE.module_instance_from_node(e))||t._swiper.update()})},height:a})))}}},2320:function(e,t,i){i.r(t),i.d(t,{default:()=>$});var s,o=i(75456),n=i(40114),l=i(56266),a=i(89665),r=i(62349),c=i(85429),_=i(6294),h=i(49127),d=i(21611);_.p8.registerPlugin(h.L);let u="product-overview--js-init",v="header",g="category-navigation",y="product-overview__category-products--visible",p="product-overview--sticky",m=s=class extends a.hp{constructor(){super(...arguments),this.last_scroll_y=0,this.initial_header_height=0,this.initial_meta_height=0,this.initial_disclaimer_height=0,this.header_disclaimer_removed=!1,this.initial_category_navigation_height=0,this.is_anchor_scroll_in_progress=!1,this.sticky_should_be_locked=!1,this.should_reactivate_sticky=!1,this.sticky_reactivated=!1,this.on_disclaimer_removed=()=>{this.header_disclaimer_removed=!0},this.route_to=(e,t)=>(function(e,t,i,s){return new(i||(i=Promise))(function(o,n){function l(e){try{r(s.next(e))}catch(e){n(e)}}function a(e){try{r(s.throw(e))}catch(e){n(e)}}function r(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(l,a)}r((s=s.apply(e,t||[])).next())})})(this,void 0,void 0,function*(){var i,o,n,l;t.set("perform_scroll",!1);let a=null==(i=this.$root)?void 0:i.querySelectorAll('[data-js-select="ProductOverview_category-products"]'),r=null==(o=this.$root)?void 0:o.querySelectorAll('[data-js-select="TopicTile"]'),c=e.getAttribute("id"),_=Array.from(null!=r?r:[]).findIndex(e=>!!e.querySelector(`a[href="#${c}"]`));null==(l=null==(n=this.category_navigation_instance)?void 0:n.update_active_tile)||l.call(n,_),e.classList.add(y),null==a||a.forEach(t=>{t!==e&&t.classList.remove(y)}),s.trigger_image_load(),this.scroll_to_top()}),this.prevent_default_scroll=e=>{let{target:t}=e;t instanceof HTMLElement&&!t.closest(`.${g}__inner`)&&e.preventDefault()},this.update_category_navigation_expansion_styles=()=>{var e;let t=this.is_category_navigation_expanded,i=null==(e=this.$category_navigation)?void 0:e.querySelector(`.${g}__inner`);if(i)if(t){let e=this.calculate_available_inner_height();this.apply_inner_container_styles(i,e),this.disable_body_scroll()}else this.reset_inner_container_styles(i),this.enable_body_scroll()},this.handle_scroll_and_resize=()=>{var e;this.update_category_navigation_position(),(null==(e=this.$category_navigation)?void 0:e.classList.contains(`${g}--expanded`))&&this.update_category_navigation_expansion_styles()},this.handle_scroll_and_resize_throttled=(0,d.P2)(this.handle_scroll_and_resize,25,{leading:!1}),this.update_category_navigation_position=()=>{var e,t,i,s;let o=document.querySelector(v),n=null!=(e=null==o?void 0:o.getBoundingClientRect().height)?e:0;this.update_sticky_css_vars(n);let l=window.scrollY,a=l-this.last_scroll_y>0;this.last_scroll_y=l;let r=null==(t=this.$category_navigation)?void 0:t.getBoundingClientRect(),c=null==(s=null==(i=this.$root)?void 0:i.querySelector(".product-overview__headline-container"))?void 0:s.getBoundingClientRect(),_=this.$category_navigation?this.$category_navigation.getBoundingClientRect().top+l:0,h=l>=_-n,d=this.is_category_navigation_sticky;if(this.reset_sticky_flags(l,_,n),!this.check_viewport_mobile())return void this.remove_sticky_classes();this.should_deactivate_sticky(d,a,r,5)||(this.handle_sticky_activation(h,a),this.should_remove_sticky_on_scroll_up(!this.is_anchor_scroll_in_progress&&!a&&d,c,r)&&this.remove_sticky_classes(),this.check_sticky_reactivation(a,o,5))}}loaded(e){var t,i,s,o,a;super.loaded(e),this.$root=e,this.category_navigation_instance=null,this.$header_disclaimer=document.querySelector('[data-js-select="HeaderDisclaimer"]'),this.product_overview_overview_container=null==(t=this.$root)?void 0:t.querySelector(".product-overview__overview-container"),this.$category_navigation=this.$root.querySelector('[data-module="CategoryNavigation"]'),this.init_category_navigation(),this.update_cached_header_heights(),this.$root.classList.add(u),window.addEventListener("scroll",this.handle_scroll_and_resize_throttled),null==(i=this.$category_navigation)||i.addEventListener(n.O,this.update_category_navigation_expansion_styles),null==(s=this.$header_disclaimer)||s.addEventListener(l.l,this.on_disclaimer_removed),this.initial_category_navigation_height=null!=(a=null==(o=this.$category_navigation)?void 0:o.getBoundingClientRect().height)?a:0,this.route_to_hash_target_on_load()}disconnect(e){var t,i,s;super.disconnect(e),null==(t=this.$root)||t.classList.remove(u),window.removeEventListener("scroll",this.handle_scroll_and_resize_throttled),null==(i=this.$category_navigation)||i.removeEventListener(n.O,this.update_category_navigation_expansion_styles),null==(s=this.$header_disclaimer)||s.removeEventListener(l.l,this.on_disclaimer_removed)}update_cached_header_heights(){var e,t,i,s;let o=document.querySelector(v),n=document.querySelector('[data-js-select="Header_meta"]');this.initial_header_height=null!=(e=null==o?void 0:o.getBoundingClientRect().height)?e:0,this.initial_meta_height=null!=(t=null==n?void 0:n.getBoundingClientRect().height)?t:0,this.header_disclaimer_removed||(this.initial_disclaimer_height=null!=(s=null==(i=this.$header_disclaimer)?void 0:i.getBoundingClientRect().height)?s:0)}route_to_hash_target_on_load(){var e;let t=(0,o.rR)();if(!t)return;let i=null==(e=this.$root)?void 0:e.querySelector(`#${t}`);i&&this.route_to(i,new Map)}get is_category_navigation_sticky(){var e,t;return null!=(t=null==(e=this.$category_navigation)?void 0:e.classList.contains(`${g}--sticky`))&&t}scroll_to_top(){var e;let t=null==(e=this.$root)?void 0:e.closest('[data-js-select="ProductOverview"]'),i=this.product_overview_overview_container;if(!t||!i)return;let s=this.header_final_height,o=this.check_viewport_mobile()?this.get_mobile_scroll_target(i,s,this.is_category_navigation_sticky):this.get_desktop_scroll_target(t,s);this.perform_scroll_to(o)}get header_final_height(){return this.initial_header_height-this.initial_meta_height-(this.header_disclaimer_removed?this.initial_disclaimer_height:0)}get_mobile_scroll_target(e,t,i){var s,o;let n=e.getBoundingClientRect().top+window.scrollY-10,l=this.initial_category_navigation_height;i&&(l=null!=(o=null==(s=this.$category_navigation)?void 0:s.getBoundingClientRect().height)?o:l);let a=n+l-t;return i&&(a-=l),a}get_desktop_scroll_target(e,t){let i=parseFloat(window.getComputedStyle(e).paddingTop);return e.offsetTop+i-t}perform_scroll_to(e){this.is_anchor_scroll_in_progress=!0,_.p8.to(window,{duration:.5,scrollTo:{y:e},onComplete:()=>{this.is_anchor_scroll_in_progress=!1,this.sticky_should_be_locked=!1,this.is_category_navigation_sticky&&this.update_category_navigation_position()}})}init_category_navigation(){var e;this.$category_navigation&&(this.category_navigation_instance=a.lE.module_instance_from_node(this.$category_navigation),null==(e=this.category_navigation_instance)||e.update_active_tile(0))}disable_body_scroll(){document.body.classList.add("disable-scroll"),document.addEventListener("touchmove",this.prevent_default_scroll,{passive:!1})}enable_body_scroll(){document.body.classList.remove("disable-scroll"),document.removeEventListener("touchmove",this.prevent_default_scroll)}get is_category_navigation_expanded(){var e,t;return null!=(t=null==(e=this.$category_navigation)?void 0:e.classList.contains(`${g}--expanded`))&&t}calculate_available_inner_height(){var e;if(!this.$category_navigation)return 0;let t=this.$category_navigation.getBoundingClientRect(),i=this.is_category_navigation_expanded?87:null!=(e=t.height)?e:87,s=window.innerHeight-(t.to
1p+i);return s>0?s:0}apply_inner_container_styles(e,t){e.style.height=`${t}px`,e.style.overflow="auto"}reset_inner_container_styles(e){e.style.height="",e.style.overflow=""}update_sticky_css_vars(e){var t;document.documentElement.style.setProperty("--category-navigation-sidebar-position",`${e}px`);let i=null==(t=this.$category_navigation)?void 0:t.getBoundingClientRect().height;void 0!==i&&document.documentElement.style.setProperty("--category-navigation-height",`${i-32}px`)}should_deactivate_sticky(e,t,i,s){if(e&&t&&this.product_overview_overview_container&&i){let e=this.product_overview_overview_container.getBoundingClientRect(),t=i.bottom;if(e.bottom<=t-s)return this.remove_sticky_classes(),this.sticky_should_be_locked=!0,this.sticky_reactivated=!1,!0}return!1}should_remove_sticky_on_scroll_up(e,t,i){return!!e&&!!t&&!!i&&t.top>=i.top}check_sticky_reactivation(e,t,i){var s,o,n;if(!e&&this.sticky_should_be_locked&&(this.should_reactivate_sticky=!0),this.should_reactivate_sticky&&this.sticky_should_be_locked&&!this.sticky_reactivated&&this.product_overview_overview_container&&t){let e=this.product_overview_overview_container.getBoundingClientRect(),l=t.getBoundingClientRect(),a=null!=(s=parseFloat(window.getComputedStyle(this.product_overview_overview_container).paddingBottom))?s:0;e.bottom>=l.bottom+i+a&&(null==(o=this.$category_navigation)||o.classList.add(`${g}--sticky`),null==(n=this.$root)||n.classList.add(p),this.sticky_should_be_locked=!1,this.sticky_reactivated=!0,this.should_reactivate_sticky=!1)}}reset_sticky_flags(e,t,i){e<t-i&&(this.sticky_should_be_locked=!1,this.sticky_reactivated=!1,this.should_reactivate_sticky=!1)}remove_sticky_classes(){var e,t;null==(e=this.$category_navigation)||e.classList.remove(`${g}--sticky`),null==(t=this.$root)||t.classList.remove(p)}handle_sticky_activation(e,t){var i,s;!this.sticky_should_be_locked&&e&&t&&(null==(i=this.$category_navigation)||i.classList.add(`${g}--sticky`),null==(s=this.$root)||s.classList.add(p))}resize_observed(){this.handle_scroll_and_resize(),this.update_cached_header_heights(),this.check_viewport_mobile()&&this.$category_navigation&&(this.initial_category_navigation_height=this.$category_navigation.getBoundingClientRect().height)}static trigger_image_load(){document.dispatchEvent(new Event(r.Up))}check_viewport_mobile(){let e=c.Z.breakpoint_by_name("l");return c.Z.viewport_width<e}},$=m=s=function(e,t,i,s){var o,n=arguments.length,l=n<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(l=(n<3?o(l):n>3?o(t,i,l):o(t,i))||l);return n>3&&l&&Object.defineProperty(t,i,l),l}([a.lE.register("ProductOverview"),a.Sp,a.hg],m)}}]);

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.