1/*! For license information please see 4059.b3fdf4a8d48f05e4c0bf.chunk.min.js.LICENSE.txt */ 2(self.webpackChunk_signify_signify_multibrand=self.webpackChunk_signify_signify_multibrand||[]).push([[4059],{16654:function(e,t,i){var n,s;!function(o){if(void 0===(s="function"==typeof(n=o)?n.call(t,i,t,e):n)||(e.exports=s),e.exports=o(),!!0){var a=window.Cookies,r=window.Cookies=o();r.noConflict=function(){return window.Cookies=a,r}}}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var i=arguments[e];for(var n in i)t[n]=i[n]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function i(n){function s(){}function o(t,i,o){if("undefined"!=typeof document){"number"==typeof(o=e({path:"/"},s.defaults,o)).expires&&(o.expires=new Date(1*new Date+864e5*o.expires)),o.expires=o.expires?o.expires.toUTCString():"";try{var a=JSON.stringify(i);/^[\{\[]/.test(a)&&(i=a)}catch(e){}i=n.write?n.write(i,t):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var r="";for(var l in o)o[l]&&(r+="; "+l,!0!==o[l]&&(r+="="+o[l].split(";")[0]));return document.cookie=t+"="+i+r}}function a(e,i){if("undefined"!=typeof document){for(var s={},o=document.cookie?document.cookie.split("; "):[],a=0;a<o.length;a++){var r=o[a].split("="),l=r.slice(1).join("=");i||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var c=t(r[0]);if(l=(n.read||n)(l,c)||t(l),i)try{l=JSON.parse(l)}catch(e){}if(s[c]=l,e===c)break}catch(e){}}return e?s[e]:s}}return s.set=o,s.get=function(e){return a(e,!1)},s.getJSON=function(e){return a(e,!0)},s.remove=function(t,i){o(t,"",e(i,{expires:-1}))},s.defaults={},s.withConverter=i,s}(function(){})})},94059:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return at}});var n=i(42548),s=i(25136),o=i(35507),a=i(5467),r=i(57379),l=i(18900),c=i(76566),u=i(87e3),h=i(91396),g=i(77304),d=i(73807),f=i(70151),m=i(33557),p=i(14061),v=function(e,t,i,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let _=class extends n.lD{constructor(){super(...arguments),this.iconName=g.$,this.isHeartFilled=!1,this.isActiveTooltip=!1,this.defaultClass="wish-list-header__link",this.amountInWishList=-1,this.debounceTimeoutId=0}mounted(){this.checkIfItemExistInWishList(),p.A.$on("wishListIsUpdated",()=>{this.checkIfItemExistInWishList()})}get wishListIcon(){return this.iconType||(this.isHeartFilled?this.iconName.heartFilled:this.iconName.heartUnfilled)}get computedWishlistState(){return this.iconType||this.isHeartFilled?"in-wishlist":"not-in-wishlist"}get trackingInfo(){return{trackingEvent:h.J.WISH_LIST_HEADER_IMPRESSION,trackingInfo:(0,c.V)("wish-list-header","/wish-list-header","wish-list-header")}}triggerAnalyticsEvent(e){u.o.trackWishListInHeaderClick(e.currentTarget)}checkIfItemExistInWishList(){const e=f.Z.getItemsFromLocalStorage();0===this.amountInWishList&&1===e.length&&this.showTooltip(),this.amountInWishList=e.length,this.setActiveIcon(e.length>0)}setActiveIcon(e){this.isHeartFilled=e}showTooltip(){this.isActiveTooltip=!0,clearTimeout(this.debounceTimeoutId),this.debounceTimeoutId=window.setTimeout(()=>{this.isActiveTooltip=!1},4e3)}};v([(0,n.kv)({required:!0})],_.prototype,"translations",void 0),v([(0,n.kv)({default:""})],_.prototype,"wishListPagePath",void 0),v([(0,n.kv)({default:""})],_.prototype,"iconType",void 0),_=v([(0,n.uA)({name:"wish-list-header",components:{Icon:d.A,Tooltip:m.A}})],_);var b=_,y=i(22881),k=(0,y.A)(b,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("Tooltip",{staticClass:"wish-list-header",attrs:{"data-tracking-event":e.trackingInfo.trackingEvent,"data-tracking-info":e.trackingInfo.trackingInfo,disabled:!0,"is-show-via-timeout":e.isActiveTooltip,"popover-position":"bottom"},scopedSlots:e._u([{key:"activator",fn:function(){return[t("div",{staticClass:"wish-list-header__icon"},[t("a",{class:[e.defaultClass,e.computedWishlistState],attrs:{href:e.wishListPagePath,"aria-label":`icon ${e.wishListIcon}`},on:{click:function(t){return t.stopPropagation(),e.triggerAnalyticsEvent.apply(null,arguments)}}},[t("Icon",{attrs:{"icon-name":e.wishListIcon}})],1)])]},proxy:!0},{key:"tooltip",fn:function(){return[e.translations?.wishListTooltipMessage?t("span",{staticClass:"wish-list-header__tooltip-text"},[e._v("\n "+e._s(e.translations.wishListTooltipMessage)+"\n ")]):e._e(
2)]},proxy:!0}])})},[],!1,null,null,null),C=k.exports,S=function(e,t,i,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let I=class extends C{constructor(){super(...arguments),this.defaultClass="icon-button icon-button--ghost"}get wishListIcon(){return this.iconType||this.iconName.heartFilled}};I=S([(0,n.uA)({name:"wish-list-header"})],I);var w=I,A=(0,y.A)(w,void 0,void 0,!1,null,null,null).exports;const L=new class{getButtonIconAnalytics(e,t){return JSON.stringify({event:{effect:t,label:e}})}getHeadlineTrackingInfo(e){return JSON.stringify({event:{effect:"headline",label:this.getLastUrlSegment(e)}})}getLastUrlSegment(e){try{return new URL(e,"https://placeholder.com").pathname.split("/").findLast(Boolean)??e}catch{return e}}};var M=i(3040),x=function(e,t,i,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let T=class extends n.lD{constructor(){super(...arguments),this.iconArrowName=M.$M.internalLinkArrowRight}};x([(0,n.kv)({type:String})],T.prototype,"image",void 0),x([(0,n.kv)({type:String})],T.prototype,"text",void 0),x([(0,n.kv)({type:String})],T.prototype,"link",void 0),x([(0,n.kv)({type:String})],T.prototype,"target",void 0),x([(0,n.kv)({required:!1})],T.prototype,"darkTheme",void 0),x([(0,n.kv)({type:String})],T.prototype,"trackingInfo",void 0),T=x([(0,n.uA)({name:"navigation-card",components:{Icon:d.A}})],T);var P=T,F=(0,y.A)(P,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"navigation-card navigation-list",class:{"dark-theme":e.darkTheme}},[t("a",{staticClass:"navigation-card__link",attrs:{href:e.link,target:e.target,"data-tracking-info":e.trackingInfo}},[t("img",{staticClass:"navigation-card__image",attrs:{srcset:e.image,alt:e.text,loading:"lazy",fetchpriority:"low",src:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAEALAAAAAABAAEAAAIBTAA7"}}),e._v(" "),t("div",{staticClass:"navigation-card__wrapper"},[t("p",{staticClass:"navigation-card__text heading-4"},[e._v(e._s(e.text))]),e._v(" "),t("Icon",{attrs:{"icon-name":e.iconArrowName}})],1)])])},[],!1,null,null,null).exports,E=function(e,t,i,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let N=class extends n.lD{constructor(){super(...arguments),this.iconName=M.$M,this.iconSize=M.lK,this.IconGroup=M.Bn}get navigationListImage(){return"desktop"===this.source?"flyout-v2__block-image":"mobile-navigation__submenu__block-image"}get navigationListHeader(){return"desktop"===this.source?"flyout-v2__block-title":"mobile-navigation__submenu__block-title"}get navigationList(){return"desktop"===this.source?"flyout-v2__list":"mobile-navigation__submenu__list"}get navigationListItem(){return"desktop"===this.source?"flyout-v2__li":"mobile-navigation__submenu__li"}get navigationListItemLink(){return"desktop"===this.source?"flyout-v2__link":"mobile-navigation__submenu__link"}get navigationListLink(){return"desktop"===this.source?"flyout-v2__link navigation-menu-link--primary text-label--bold":"mobile-navigation__submenu__link mobile-navigation__submenu__link--primary"}get sectionLinkAriaLabel(){return`${this.submenuSection.link?.label??""} ${this.submenuSection.title??""}`.trim()}};E([(0,n.kv)({required:!0})],N.prototype,"submenuSection",void 0),E([(0,n.kv)({required:!0})],N.prototype,"source",void 0),N=E([(0,n.uA)({name:"navigation-list",components:{Icon:d.A}})],N);var O=N,R=(0,y.A)(O,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"navigation-list"},[e.submenuSection.image?t("img",{class:e.navigationListImage,attrs:{alt:e.submenuSection.title,loading:"lazy",fetchpriority:"low",srcset:e.submenuSection.image,src:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAEALAAAAAABAAEAAAIBTAA7"}}
2):e._e(),e._v(" "),t("header",{staticClass:"heading-4",class:e.navigationListHeader},[e.submenuSection.title&&e.submenuSection.titleLink?t("a",{staticClass:"flyout-v2__block-title--link",attrs:{href:e.submenuSection.titleLink,"data-tracking-info":e.submenuSection.titleLinkHeadlineTrackingInfo}},[t("span",[e._v(e._s(e.submenuSection.title))])]):e.submenuSection.title?t("span",[e._v("\n "+e._s(e.submenuSection.title)+"\n ")]):e._e()]),e._v(" "),e.submenuSection.link?t("div",{staticClass:"navigation-list--top-link",class:e.navigationListItem},[t("a",{staticClass:"mobile-navigation__submenu__link mobile-navigation__submenu__link--primary body-copy-1",attrs:{href:e.submenuSection.link.link,"aria-label":e.sectionLinkAriaLabel,"data-tracking-info":e.submenuSection.link.headlineTrackingInfo}},[e._v("\n "+e._s(e.submenuSection.link.label)+"\n ")])]):e._e(),e._v(" "),t("ul",{class:e.navigationList},e._l(e.submenuSection.items,function(i,n){return t("li",{key:n,class:e.navigationListItem},[t("a",{staticClass:"text-label body-copy-1",class:e.navigationListItemLink,attrs:{href:i.link,target:i.target,"data-tracking-info":i.headlineTrackingInfo}},[e._v(e._s(i.label))])])}),0),e._v(" "),e.submenuSection.link?t("div",{staticClass:"navigation-list--bottom-link",class:e.navigationListItem},[t("a",{staticClass:"body-copy-1",class:e.navigationListLink,attrs:{href:e.submenuSection.link.link,"data-tracking-info":e.submenuSection.link.headlineTrackingInfo}},[e._v("\n "+e._s(e.submenuSection.link.label)+"\n "),t("Icon",{attrs:{"icon-name":e.iconName.right,"icon-size":e.iconSize.sm,"icon-group":e.IconGroup.ui}})],1)]):e._e()])},[],!1,null,null,null).exports,D=function(e,t,i,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let j=class extends n.lD{constructor(){super(...arguments),this.iconNextName=this.isRTL?M.$M.left:M.$M.right,this.iconNextSize=M.lK.sm,this.iconNextGroup=M.Bn.ui,this.iconCloseName=M.$M.close,this.iconCloseSize=M.lK.md,this.iconCloseGroup=M.Bn.ui,this.closeButton=this.i18n?.closeButton??"Close",this.secondaryMenu=this.submenuLabel??"Secondary menu",this.analytics=L}closeFlyout(){this.$emit("closeFlyout")}checkMenuType(e,t){return e===t}};D([(0,n.kv)({required:!0})],j.prototype,"itemList",void 0),D([(0,n.kv)({required:!1})],j.prototype,"submenuItemList",void 0),D([(0,n.kv)({default:!1})],j.prototype,"isRTL",void 0),D([(0,n.kv)({default:!1})],j.prototype,"i18n",void 0),D([(0,n.kv)({required:!1})],j.prototype,"submenuLabel",void 0),D([(0,n.kv)({default:"container"})],j.prototype,"defaultContainer",void 0),D([(0,n.kv)({default:"col-lg col-md-4"})],j.prototype,"defaultSectionClass",void 0),j=D([(0,n.uA)({name:"flyout-element",components:{Icon:d.A,NavigationCard:F,NavigationList:R}})],j);var B=j,$=(0,y.A)(B,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flyout-v2"},[t("section",{staticClass:"flyout-v2__inner-wrapper",class:e.defaultContainer},[t("button",{staticClass:"flyout-v2__close-button",attrs:{type:"button","aria-label":e.closeButton,"data-tracking-info":e.analytics.getButtonIconAnalytics(e.closeButton,`close ${e.submenuItemList.title} flyout`)},on:{click:e.closeFlyout}},[t("Icon",{attrs:{"icon-name":e.iconCloseName,"icon-group":e.iconCloseGroup,"icon-size":e.iconCloseSize}})],1),e._v(" "),e.submenuItemList?.title?t("header",{staticClass:"flyout-v2__submenu-title heading-7"},[e._v("\n "+e._s(e.submenuItemList.title)+"\n ")]):e._e(),e._v(" "),t("nav",{staticClass:"row flyout-v2__nav",attrs:{"aria-label":e.secondaryMenu}},e._l(e.itemList,function(i,n){return t("section",{key:n,staticClass:"flyout-v2__block",class:["LinksMenuBlock"===i.type?"flyout-v2__block--links":"flyout-v2__block--cards",e.defaultSectionClass]},[e.checkMenuType(i.type,"Card")?t("NavigationCard",{attrs:{text:i.title,link:i.link,image:i.image,target:i.target,"tracking-info":i.headlineTrackingInfo}}):e.checkMenuType(i.type,"LinksMenuBlock")?t("NavigationList",{attrs:{"submenu-section":i,source:"desktop"}}
2):e._e()],1)}),0),e._v(" "),e.submenuItemList?.label&&e.submenuItemList?.link?t("a",{staticClass:"flyout-v2__submenu-link text-label--bold",attrs:{href:e.submenuItemList.link}},[t("span",[e._v(e._s(e.submenuItemList.label))]),e._v(" "),t("Icon",{attrs:{"icon-name":e.iconNextName,"icon-group":e.iconNextGroup,"icon-size":e.iconNextSize}})],1):e._e()])])},[],!1,null,null,null).exports,H=function(e,t,i,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let q=class extends ${constructor(){super(...arguments),this.hasLinkBlocks=!1,this.hasCardBlocks=!1,this.iconArrowName=M.$M.right,this.iconArrowSize=M.lK.sm}get navColumnClass(){return this.columnCount?`flyout-v2__nav--cols-${this.columnCount}`:""}};H([(0,n.kv)({required:!1})],q.prototype,"columnCount",void 0),H([(0,n.kv)({required:!1})],q.prototype,"link",void 0),q=H([(0,n.uA)({name:"flyout-element"})],q);var U=q,z=(0,y.A)(U,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flyout-v2"},[t("section",{staticClass:"flyout-v2__inner-wrapper",class:e.defaultContainer},[t("div",{staticClass:"flyout-v2__header"},[e.submenuItemList?.label?t("header",{staticClass:"flyout-v2__submenu-title heading-4"},[e.submenuItemList.link?t("a",{staticClass:"flyout-v2__submenu--link link",attrs:{href:e.submenuItemList.link,title:e.submenuItemList.label,"data-tracking-info":e.submenuItemList.headlineTrackingInfo}},[e._v("\n "+e._s(e.submenuItemList.label)+"\n "),t("Icon",{attrs:{"icon-name":e.iconArrowName,"icon-size":e.iconArrowSize}})],1):t("span",[e._v(e._s(e.submenuItemList.label))])]):e._e(),e._v(" "),t("button",{staticClass:"flyout-v2__close-button icon-button icon-button--ghost",attrs:{type:"button","aria-label":e.closeButton,"data-tracking-info":e.analytics.getButtonIconAnalytics(e.closeButton,`close ${e.submenuItemList.title} flyout`)},on:{click:e.closeFlyout}},[t("Icon",{attrs:{"icon-name":e.iconCloseName,"icon-group":e.iconCloseGroup,"icon-size":e.iconCloseSize}})],1)]),e._v(" "),t("nav",{staticClass:"flyout-v2__nav",class:e.navColumnClass,attrs:{"aria-label":e.secondaryMenu}},[e._l(e.itemList,function(i,n){return[e.checkMenuType(i.type,"LinksMenuBlock")?t("section",{key:n,staticClass:"flyout-v2__block flyout-v2__block--links"},[t("NavigationList",{attrs:{"submenu-section":i,source:"desktop"}})],1):e._e(),e._v(" "),e.checkMenuType(i.type,"Empty")?t("section",{key:n,staticClass:"flyout-v2__block"}):e._e(),e._v(" "),e.checkMenuType(i.type,"Card")?t("section",{key:n,staticClass:"flyout-v2__block flyout-v2__block--cards"},[t("NavigationCard",{attrs:{text:i.title,link:i.link,image:i.image,target:i.target,"dark-theme":i.darkTheme,"tracking-info":i.headlineTrackingInfo}})],1):e._e(),e._v(" "),e.checkMenuType(i.type,"StackedCards")?t("section",{key:n,staticClass:"flyout-v2__block flyout-v2__block--cards navigation-card--stacked-cards"},e._l(i.items,function(e,i){return t("NavigationCard",{key:i,attrs:{text:e.title,link:e.link,image:e.image,target:e.target,"dark-theme":e.darkTheme,"tracking-info":e.headlineTrackingInfo}})}),1):e._e()]})],2)])])},[],!1,null,null,null).exports,V=function(e,t,i,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let G=class extends n.lD{constructor(){super(...arguments),this.analytics=L,this.isOnMenu=!1,this.isFlyoutDown=!1,this.isFlyoutAvoidEvents=!1,this.inactivityPeriod=400,this.whichFlyoutIsNext=-1,this.whichFlyoutIsPrev=-1,this.slideClassName="",this.headerClassName="header-v2",this.defaultFlyoutHeight=550,this.enterTimeout=null}flyoutEvents(e,t,i){this.isFlyoutAvoidEvents||("enter"===i&&this.whichFlyoutIsNext!==t?this.enterTimeout=setTimeout(()=>{this.flyoutEnter(t),setTimeout(()=>{this.isFlyoutAvoidEvents=!1},100)},this.inactivityPeriod):"leave"===i&&(this.enterTimeout&&(clearTimeout(this.enterTimeout),this.enterTimeout=null),this.isOnMenu=!!e?.relatedTarget?.closest(".flyout-v2-trigger"),!this.isOnMenu&&this.isFlyoutDown&&(this.flyoutLeave(t),setTimeout(()=>{this.slideClassName="",this.whichFlyoutIsPrev=-1,this.isFlyoutAvoidEvents=!1},200))))}flyoutEnter(e){const t=this.$refs?.flyout[e],i=t.$el.clientHeight??this.defaultFlyoutHeight;this.$el.style.setProperty("--bg-flyout-height",`${i}px`),this.isFlyoutAvoidEvents=!0,this.isOnMenu=!0,this.isFlyoutDown?this.slideClassName=`${this.headerClassName}__menu--is-slide-down`:(this.slideClassName=`${this.headerClassName}__menu--sliding-down`,this.isFlyoutDown=!0),-1!==this.whichFlyoutIsNext&&(this.whichFlyoutIsPrev=this.whichFlyoutIsNext),this.whichFlyoutIsNext=e}flyoutLeave(e){this.isFlyoutAvoidEvents=!0,this.slideClassName=`${this.headerClassName}__menu--sliding-up`,this.$el.style.setProperty("--bg-flyout-height","0px"),this.isFlyoutDown=!1,this.whichFlyoutIsNext=-1,this.whichFlyoutIsPrev=e}toggleFlyout(e){this.isFlyoutDown?this.flyoutEvents(null,e,"leave"):this.flyoutEvents(null,e,"enter")}forceCloseFlyout(){this.isFlyoutAvoidEvents=!0,this.slideClassName="",this.$el.style.setProperty("--bg-flyout-height","0px"),this.isFlyoutDown=!1,this.isOnMenu=!1,this.whichFlyoutIsNext=-1,this.whichFlyoutIsPrev=-1,setTimeout(()=>{this.isFlyoutAvoidEvents=!1},this.inactivityPeriod)}flyoutClassName(e){return e.menu?"flyout-v2-trigger":""}triggerClassName(e){return this.whichFlyoutIsNext===e?"flyout-v2-trigger--to-visible":this.whichFlyoutIsPrev===e?"flyout-v2-trigger--from-visible":""}};V([(0,n.kv)({required:!0})],G.prototype,"menuItems",void 0),V([(0,n.kv)({required:!0})],G.prototype,"headerTranslations",void 0),V([(0,n.ox)("triggerClassName")],G.prototype,"triggerClassName",null),G=V([(0,n.uA)({name:"menu-block-container",components:{FlyoutElement:$}})],G);var W=G,K=(0,y.A)(W,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("ul",{ref:"menuBlockContainer",staticClass:"header-v2__menu",class:e.slideClassName},e._l(e.menuItems,function(i,n){return t("li",{key:n,staticClass:"header-v2__menu-item header-v2__menu-item--desktop",class:[e.triggerClassName(n),e.flyoutClassName(i)]},[i.menu?t("div",{staticClass:"header-v2__menu-item--submenu",on:{mouseenter:function(t){return e.flyoutEvents(t,n,"enter")},mouseleave:function(t){return e.flyoutEvents(t,n,"leave")},focus:function(t){return e.flyoutEvents(t,n,"enter")},blur:function(t){return e.flyoutEvents(t,n,"leave")},touchstart:function(t){return e.flyoutEvents(t,n,"enter")},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:(t.stopPropagation(),t.preventDefault(),e.toggleFlyout(n))}}},[t("a",{staticClass:"header-v2__menu-item__link flyout-v2-trigger__link",class:n,attrs:{href:i.link,"data-tracking-info":i.headlineTrackingInfo}},[e._v("\n "+e._s(i.title)+"\n ")]),e._v(" "),i.menu?t("FlyoutElement",{ref:"flyout",refInFor:!0,attrs:{"item-list":i.menu,"submenu-item-list":i.subMenu,"submenu-label":e.headerTranslations?.secondaryMenu},on:{closeFlyout:e.forceCloseFlyout}}
2):e._e()],1):t("a",{staticClass:"header-v2__menu-item__link",attrs:{href:i.link,"data-tracking-info":i.headlineTrackingInfo}},[e._v("\n "+e._s(i.title)+"\n ")])])}),0)},[],!1,null,null,null).exports,J=function(e,t,i,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let Y=class extends K{constructor(){super(...arguments),this.defaultFlyoutContainer="section-component"}};J([(0,n.kv)()],Y.prototype,"menuLabel",void 0),Y=J([(0,n.uA)({name:"menu-block-container",components:{FlyoutElement:z}})],Y);var Q=Y,Z=(0,y.A)(Q,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("nav",{staticClass:"header__menu-wrapper header__menu--desktop",attrs:{"aria-label":e.menuLabel}},[t("ul",{ref:"menuBlockContainer",staticClass:"header__menu navigation-items",class:e.slideClassName},[e._l(e.menuItems,function(i,n){return[i.showOnMobile||i.showOnTablet?e._e():t("li",{key:n,staticClass:"header__menu-item header__menu-item--desktop navigation-item",class:[e.triggerClassName(n),e.flyoutClassName(i)]},[i.menu?t("div",{staticClass:"header__menu-item--submenu",on:{mouseenter:function(t){return e.flyoutEvents(t,n,"enter")},mouseleave:function(t){return e.flyoutEvents(t,n,"leave")},focus:function(t){return e.flyoutEvents(t,n,"enter")},blur:function(t){return e.flyoutEvents(t,n,"leave")},touchstart:function(t){return e.flyoutEvents(t,n,"enter")},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:(t.stopPropagation(),t.preventDefault(),e.toggleFlyout(n))}}},[t("a",{staticClass:"header__menu-item--submenu__link flyout-v2-trigger__link body-copy-2 link",attrs:{href:i.link,title:i.title,"data-tracking-info":i.headlineTrackingInfo}},[e._v("\n "+e._s(i.title)+"\n ")]),e._v(" "),i.menu?t("FlyoutElement",{ref:"flyout",refInFor:!0,attrs:{"default-container":e.defaultFlyoutContainer,"default-section-class":"col-lg-3 col-md-4","item-list":i.menu,"submenu-item-list":i.subMenu,"submenu-label":e.headerTranslations?.secondaryMenu,"column-count":i.columnCount,"select-theme":i.selectTheme,link:i.link},on:{closeFlyout:e.forceCloseFlyout}}):e._e()],1):t("a",{ref:"flyout",refInFor:!0,staticClass:"header__menu-item__link link",attrs:{href:i.link,"data-tracking-info":i.headlineTrackingInfo},on:{mouseleave:function(t){return e.flyoutEvents(t,n,"leave")}}},[e._v("\n "+e._s(i.title)+"\n ")])])]})],2)])},[],!1,null,null,null).exports,X=i(99070);var ee=e=>{try{const t=new URL(e).hostname.split(".");return(t.length>2?t.slice(1):t).join(".")}catch{return}},te=i(16654),ie=i.n(te),ne=i(85623);class se{constructor(e){this.domain=ee(e),this.defaultCookieAttributes={domain:this.domain,path:"/",secure:"https:"===window.location.protocol}}getCookie(e){return ne.A.info("CookieService:","getCookie",e,ie().get(e)),ie().get(e)}setCookie(e,t,i={}){const n={...this.defaultCookieAttributes,...i};ne.A.info("CookieService:","setCookie",e,t,n),ie().set(e,t,n)}deleteCookie(e,t={}){const i={...this.defaultCookieAttributes,...t};ne.A.info("CookieService:","deleteCookie",e,i),ie().remove(e,i)}}var oe=function(e,t,i,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let ae=class extends n.lD{constructor(){super(...arguments),this.iconName=M.$M,this.iconSize=M.lK,this.isExpanded=!1,this.externalId=null}get isLoggedIn(){return!!this.externalId}get menuIconType(){return this.isLoggedIn?"logged-in":"logged-out"}mounted(){this.cookieService=new se(window.location.href),this.externalId=this.cookieService.getCookie("atc")??""}toggleDropdown(){this.isExpanded=!this.isExpanded}away(){this.isExpanded=!1}};oe([(0,n.kv)()],ae.prototype,"accountMenuItems",void 0),ae=oe([(0,n.uA)({name:"account-header",components:{Icon:d.A},directives:{onClickaway:X.u$}})],ae);var re=ae,le=(0,y.A)(re,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{directives:[{name:"on-clickaway",rawName:"v-on-clickaway",value:e.away,expression:"away"}],staticClass:"account-header"},[t("div",{staticClass:"account__dropdown"},[t("button",{staticClass:"icon-button icon-button--ghost",class:e.menuIconType,attrs:{type:"button"},on:{click:e.toggleDropdown}},[t("Icon",{attrs:{"icon-name":e.iconName.accountIcon,"icon-size":e.iconSize.lg}})],1),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.isExpanded,expression:"isExpanded"}],staticClass:"account__dropdown-list"},[t("ul",{staticClass:"account__dropdown-items"},e._l(e.accountMenuItems,function(i,n){return t("li",{key:n,staticClass:"account__dropdown-item"},[i.path?t("a",{staticClass:"account__dropdown-link body-copy-2 link",attrs:{href:i.path}}
2,[e._v(e._s(i.label))]):e._e()])}),0)])])])},[],!1,null,null,null).exports,ce=function(e,t,i,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let ue=class extends n.lD{constructor(){super(...arguments),this.iconName=M.$M,this.iconMobileMenuLabel=this.mobileMenuLabel??"Menu"}get showAccountButton(){return this.isEnableAddToProject&&this.accountMenuItems&&this.accountMenuItems.length>0}toggleMobileMenu(){this.$emit("toggleMobileMenu")}toggleSearchBar(){this.$emit("toggleSearchBar")}};ce([(0,n.kv)()],ue.prototype,"searchConfig",void 0),ce([(0,n.kv)()],ue.prototype,"wishListConfig",void 0),ce([(0,n.kv)()],ue.prototype,"mobileMenuLabel",void 0),ce([(0,n.kv)()],ue.prototype,"accountMenuItems",void 0),ce([(0,n.kv)({type:Boolean,default:!1})],ue.prototype,"isEnableAddToProject",void 0),ue=ce([(0,n.uA)({name:"header-icons",components:{WishListHeader:A,Icon:d.A,AccountHeader:le}})],ue);var he=ue,ge=(0,y.A)(he,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"header__icons"},[t("a",{directives:[{name:"show",rawName:"v-show",value:e.searchConfig.enabled,expression:"searchConfig.enabled"}],staticClass:"icon-button icon-button--ghost icon-button--search",attrs:{href:e.searchConfig?.link??"#","aria-label":e.searchConfig?.label},on:{click:function(t){return t.preventDefault(),e.toggleSearchBar.apply(null,arguments)}}},[t("Icon",{attrs:{"icon-name":e.iconName.search}})],1),e._v(" "),e.showAccountButton?t("AccountHeader",{attrs:{"account-menu-items":e.accountMenuItems}}):e.wishListConfig.enabled?t("WishListHeader",{attrs:{translations:e.wishListConfig?.translations,"wish-list-page-path":e.wishListConfig?.link}}):e._e(),e._v(" "),t("button",{staticClass:"icon-button icon-button--ghost header__mobile-menu-button",attrs:{type:"button","aria-label":e.iconMobileMenuLabel},on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.toggleMobileMenu.apply(null,arguments)}}},[t("Icon",{attrs:{"icon-name":e.iconName.hamburgerMenu}})],1)],1)},[],!1,null,null,null),de=ge.exports,fe=function(e,t,i,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let me=class extends n.lD{};fe([(0,n.kv)({required:!0})],me.prototype,"logo",void 0),me=fe([(0,n.uA)({name:"header-logo"})],me);var pe=me,ve=(0,y.A)(pe,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"header__prenav-logo"},[t("a",{staticClass:"header__logo-link",attrs:{href:e.logo.link}},[t("img",{staticClass:"header__prenav-logo-img",attrs:{alt:e.logo.alt,src:e.logo.src}})])])},[],!1,null,null,null).exports,_e=function(e,t,i,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let be=class extends((0,s.mixins)(o.A)){constructor(){super(...arguments),this.iconName=M.$M,this.iconSize=M.lK,this.columnThreshold=4}goBack(){this.$emit("closeSubMenu")}checkMenuType(e,t){return e===t}get computedMenuType(){return"NavigationLinksandCardsMenuItems"===this.menuType?"mobile-navigation__submenu__links-and-cards-menu":"mobile-navigation__submenu__image-links-menu"}get columnsPerRow(){return this.subMenuSections.length<=this.columnThreshold?"mobile-navigation__submenu--columns-2":"mobile-navigation__submenu--columns-3"}};_e([(0,n.kv)({required:!0})],be.prototype,"subMenuSections",void 0),_e([(0,n.kv)({required:!1})],be.prototype,"subMenu",void 0),_e([(0,n.kv)({required:!1})],be.prototype,"menuType",void 0),_e([(0,n.kv)({default:""})],be.prototype,"ariaLabel",void 0),_e([(0,n.kv)({default:""})],be.prototype,"backLinkLabel",void 0),be=_e([(0,n.uA)({name:"sub-menu
2-dialog",components:{Icon:d.A,NavigationCard:F,NavigationList:R}})],be);var ye=be,ke=(0,y.A)(ye,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("section",{staticClass:"mobile-navigation mobile-navigation_subnavigation",attrs:{role:"dialog"}},[t("header",{staticClass:"mobile-navigation__header mobile-navigation__header--sub-dialog"},[t("button",{staticClass:"icon-button icon-button--ghost mobile-navigation__back",attrs:{type:"button"},on:{click:e.goBack}},[t("Icon",{attrs:{"icon-name":e.iconName.internalLinkArrowRight}}),e._v(" "+e._s(e.backLinkLabel)+"\n ")],1),e._v(" "),t("button",{staticClass:"icon-button icon-button--ghost mobile-navigation__close",attrs:{type:"button"},on:{click:function(t){return e.$emit("toggleMobileMenu")}}},[t("Icon",{attrs:{"icon-name":e.iconName.close}})],1)]),e._v(" "),t("div",{staticClass:"mobile-navigation__content"},[t("section",{staticClass:"mobile-navigation__submenu",class:e.computedMenuType},[e.subMenu?.label?t("header",{staticClass:"mobile-navigation__submenu-title heading-3"},[e.subMenu.link?t("a",{staticClass:"mobile-navigation__submenu--link link",attrs:{href:e.subMenu.link,title:e.subMenu.label}},[t("strong",[e._v(e._s(e.subMenu.label))]),e._v(" "),t("Icon",{attrs:{"icon-name":e.iconName.right,"icon-size":e.iconSize.sm,"aria-hidden":"true"}})],1):t("strong",[e._v(e._s(e.subMenu.label))])]):e._e(),e._v(" "),t("nav",{staticClass:"mobile-navigation__submenu__columns",class:e.columnsPerRow,attrs:{"aria-label":e.ariaLabel}},e._l(e.subMenuSections,function(i,n){return t("section",{key:n,staticClass:"mobile-navigation__submenu__column",class:"LinksMenuBlock"===i.type?"mobile-navigation__submenu--links":"mobile-navigation__submenu__block--cards"},[e.checkMenuType(i.type,"Card")?t("NavigationCard",{attrs:{text:i.title,link:i.link,image:i.image,target:i.target,"dark-theme":i.darkTheme}}):e.checkMenuType(i.type,"LinksMenuBlock")?t("NavigationList",{attrs:{"submenu-section":i,source:"mobile"}}):e.checkMenuType(i.type,"StackedCards")?t("div",{staticClass:"navigation-card--stacked-cards"},e._l(i.items,function(e,i){return t("NavigationCard",{key:i,attrs:{text:e.title,link:e.link,image:e.image,target:e.target,"dark-theme":e.darkTheme}})}),1):e._e()],1)}),0)])])])},[],!1,null,null,null).exports,Ce=function(e,t,i,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let Se=class extends n.lD{constructor(){super(...arguments),this.iconName=M.$M,this.iconSize=M.lK,this.urlAliases={prof:"products"},this.currentView="tablet",this.selectedIndex=-1}mounted(){this.currentView=l.A.isMD()?"tablet":"mobile",l.A.onResize(()=>{this.currentView=l.A.isMD()?"tablet":"mobile"}),this.$nextTick(()=>{this.openSubmenuFromUrl()})}showLink(e){return e.showOnTablet&&"tablet"===this.currentView||e.showOnMobile&&"mobile"===this.currentView||!e.showOnTablet&&!e.showOnMobile}toggleMobileMenu(){this.$emit("toggleMobileMenu")}setVisibilitySubMenu(e){this.selectedIndex=e}onCloseSubmenu(){this.setVisibilitySubMenu(-1)}openSubmenuFromUrl(){const e=window.location.pathname.toLowerCase(),t=this.links.findIndex(t=>{const i=t.title?.toLowerCase().replaceAll(/\s+/g,"-")??"",n=Object.entries(this.urlAliases).filter(([,e])=>e===i).map(([e])=>e);return[i,...n].some(t=>e.includes(`/${t}`))});-1!==t&&this.links[t].menu&&this.setVisibilitySubMenu(t)}};Ce([(0,n.kv)({required:!0})],Se.prototype,"links",void 0),Ce([(0,n.kv)({required:!0})],Se.prototype,"ariaLabel",void 0),Ce([(0,n.kv)({required:!0})],Se.prototype,"searchConfig",void 0),Ce([(0,n.kv)({default:""})],Se.prototype,"backLinkLabel",void 0),Se=Ce([(0,n.uA)({name:"mobile-menu-dialog",components:{FlyoutElement:$,Icon:d.A,SubmenuDialog:ke}})],Se);var Ie=Se,we=(0,y.A)(Ie,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("section",{staticClass:"mobile-navigation mobile-navigation__wrapper",attrs:{role:"dialog"}},[t("header",{staticClass:"mobile-navigation__header"},[t("button",{staticClass:"icon-button icon-button--ghost mobile-navigation__close",attrs:{type:"button"},on:{click:e.toggleMobileMenu}},[t("Icon",{attrs:{"icon-name":e.iconName.close}})],1)]),e._v(" "),t("div",{staticClass:"mobile-navigation__content"},[t("nav",{staticClass:"mobile-navigation__primary",attrs:{"aria-label":e.ariaLabel}},[t("ul",{staticClass:"mobile-navigation__links"},[e._l(e.links,function(i,n){return[e.showLink(i)?t("li",{key:n,staticClass:"mobile-navigation__links__item"},[i.menu?t("div",[t("button",{staticClass:"mobile-navigation__link mobile-navigation__link--has-children link",attrs:{type:"button",title:i.title},on:{click:function(t){return e.setVisibilitySubMenu(n)}}},[e._v("\n "+e._s(i.title)+"\n "),t("Icon",{attrs:{"icon-name":e.iconName.right,"icon-size":e.iconSize.sm}})],1),e._v(" "),t("Transition",{attrs:{name:"mobile-submenu"}},[e.selectedIndex===n?t("SubmenuDialog",{attrs:{"aria-label":i.title,"sub-menu
2-sections":i.menu,"sub-menu":i.subMenu,"back-link-label":e.backLinkLabel,"menu-type":i.type},on:{closeSubMenu:e.onCloseSubmenu,toggleMobileMenu:e.toggleMobileMenu}}):e._e()],1)],1):t("a",{staticClass:"mobile-navigation__link link",attrs:{href:i.link,title:i.title,target:i.target}},[e._v(e._s(i.title)+"\n "),t("Icon",{attrs:{"icon-name":e.iconName.right,"icon-size":e.iconSize.sm}})],1)]):e._e()]})],2)])]),e._v(" "),e.searchConfig.enabled?t("footer",{staticClass:"mobile-navigation__footer"},[t("nav",{staticClass:"mobile-navigation__secondary",attrs:{"aria-label":e.ariaLabel}},[t("ul",{staticClass:"mobile-navigation__links"},[t("li",{staticClass:"mobile-navigation__links__item"},[t("a",{staticClass:"mobile-navigation__link link",attrs:{href:e.searchConfig.link,title:e.searchConfig.label}},[t("Icon",{attrs:{"icon-name":e.iconName.search}}),e._v("\n "+e._s(e.searchConfig.label)+"\n ")],1)])])])]):e._e()])},[],!1,null,null,null).exports,Ae=i(26660),Le=i.n(Ae);const Me=["Configurable"];const xe=new class{constructor(){this.fetchSearchSuggestions=async(e,t,i=1)=>{const n={url:e.searchEndpoint,method:"POST",data:{query:t,page:{current:i,size:250},sort:{_score:"desc"},filters:{all:[{locale:[e.locale]},{marketing_status:["Final Published"]}],none:[{type:Me}]}}};try{return(await Le().request(n)).data.results}catch{return ne.A.error("Error in retrieving search suggestions results"),[]}}}};var Te,Pe,Fe,Ee=i(60801),Ne=i(9845),Oe=i.n(Ne);!function(e){e.NAME_SPACE="search",e.TYPE="Normal"}(Te||(Te={})),function(e){e.UPDATE_SEARCH_PAGE_CONFIG="updateSearchPageConfig",e.TOGGLE_SEARCH_FROM_HEADER="toggleSearchFromHeader",e.CLOSE_SEARCH_FIELD="closeSearchField",e.OPEN_SEARCH_FIELD="openSearchField",e.FOCUS_SEARCH_FIELD="focusSearchField",e.BLUR_SEARCH_FIELD="blurSearchField"}(Pe||(Pe={})),function(e){e.UPDATE_SEARCH_PAGE_CONFIG="updateSearchPageConfig",e.TOGGLE_SEARCH_FIELD="toggleSearchFilter",e.UPDATE_SEARCH_FIELD_VISIBLE="updateSearchFieldVisible",e.UPDATE_SEARCH_FIELD_FOCUS="updateSearchFieldFocus"}(Fe||(Fe={}));var Re=i(82166),De=function(e,t,i,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let je=class extends(Oe()){constructor(){super(...arguments),this.focussedSuggestionIndex=-1,this.SearchType=Te.TYPE}handleFocusChange(){this.focus&&(this.focussedSuggestionIndex=0)}handleFocussedSuggestionIndexChange(e){this.setFocus(e)}handleSuggestionSelection(e){this.$emit("onSuggestionSelection",e);const t=e?.name?.value??"";Re.A.trackSuggestionsClick(this.$el,this.searchTerm,this.searchSuggestions.length,t)}setFocus(e){const t=`suggestion-${e}`;this.$refs[t][0].focus()}getSuggestionIndex(e){for(let t=0;t<this.searchSuggestions.length;t++){if(this.searchSuggestions[t]===e)return t}}navigateToPreviousSuggestion(e){const t=this.getSuggestionIndex(e),i=this.searchSuggestions.length-1;this.focussedSuggestionIndex=t>0?t-1:i}navigateToNextSuggestion(e){const t=this.getSuggestionIndex(e),i=this.searchSuggestions.length-1;this.focussedSuggestionIndex=t<i?t+1:0}};De([(0,n.kv)({required:!0})],je.prototype,"searchSuggestions",void 0),De([(0,n.kv)({default:!1})],je.prototype,"focus",void 0),De([(0,n.kv)({required:!1})],je.prototype,"translations",void 0),De([(0,n.kv)({required:!1})],je.prototype,"searchTerm",void 0),De([(0,n.ox)("focus")],je.prototype,"handleFocusChange",null),De([(0,n.ox)("focussedSuggestionIndex")],je.prototype,"handleFocussedSuggestionIndexChange",null),je=De([(0,n.uA)({name:"search-suggestions"})],je);var Be=je,$e=(0,y.A)(Be,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("ul",{staticClass:"search-suggestions",on:{click:function(e){e.stopPropagation()}}},e._l(e.searchSuggestions,function(i,n){return t("li",{key:n,staticClass:"search-suggestions__item"},[t("button",{ref:`suggestion-${n}`,refInFor:!0,staticClass:"search-suggestions__suggestion",attrs:{type:"button"},on:{click:function(t){return e.handleSuggestionSelection(i)},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.navigateToPreviousSuggestion(i))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.navigateToNextSuggestion(i))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"escape",void 0,t.key,void 0)?null:e.$emit("onEscape")}]}},[i.name?t("div",{staticClass:"search-suggestions__suggestion-list"},[t("div",{staticClass:"body-copy-1 search-suggestions__suggestion-list__text"},[e._v(e._s(i.name.value))]),e._v(" "),t("span",[e._v("Î")]),e._v(" "),t("div",{staticClass:"caption-1"},[e._v(e._s(i.type?.value===e.SearchType?e.translations.searchSuggestionsProductLabel:e.translations.searchSuggestionsFamilyLabel))])]):[e._v(e._s(i.suggestion))]],2)])}),0)},[],!1,null,null,null).exports,He=i(6278),qe=function(e,t,i,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let Ue=class extends n.lD{constructor(){super(...arguments),this.t={field:{placeholder:this.searchMenu.translations?.searchSuggestionsFieldPlaceholder}},this.ResultType=Te.TYPE,this.searchTerm="",this.searchSuggestions=[],this.searchSuggestionsFocus=!1,this.searchFieldFocus=!1}get hasSuggestions(){return!!this.searchSuggestions?.length}get showSuggestions(){return this.searchMenu.searchSuggestionsConfig.enabled&&this.hasSuggestions}get trackingInfo(){return{trackingEvent:"component/searchbar/impression",trackingInfo:(0,c.V)("search-header","/search-header","search-header")}}handleSearchFieldSubmission(e){this.searchMenu.searchPageLink&&(window.location.href=`${this.searchMenu.searchPageLink}?query=${e}`)}handleSearchFieldFocus(){this.searchFieldFocus=!0,this.searchSuggestionsFocus=!1}clearInput(){this.searchTerm="",this.resetSearchSuggestion()}handleSearchFieldEscape(){this.$emit("onEscape")}handleSearchChange(e){this.searchTerm=e,e.length<this.searchSuggestionsThreshold?this.resetSearchSuggestion():this.updateSuggestions()}updateSuggestions(){clearTimeout(this.searchSuggestionsServiceDebounceId),this.searchSuggestionsServiceDebounceId=setTimeout(()=>
2{this.getSearchSuggestions(this.searchTerm)},this.searchSuggestionsServiceDebounce)}handleSearchKeyArrowDown(){this.showSuggestions&&(this.searchSuggestionsFocus=!0)}resetSearchSuggestion(){this.searchSuggestions=[]}handleSearchSuggestionsEscape(){this.searchSuggestionsFocus=!1,this.searchFieldFocus=!0,this.$emit("onSearchSuggestionsEscape")}handleSuggestionSelection(e){const t=e?.url?.value||"";t&&(window.location.href=(0,He.PG)(t))}hasBrandsThatRequiringSemiConfigured(){return!(!this.searchMenu?.searchSuggestionsConfig?.brandsRequiringSemiConfiguredPdpLinkCheck||!Array.isArray(this.searchMenu?.searchSuggestionsConfig?.brandsRequiringSemiConfiguredPdpLinkCheck))&&this.searchMenu.searchSuggestionsConfig.brandsRequiringSemiConfiguredPdpLinkCheck.length>0}async getSearchSuggestions(e){let t=[],i=1;for(;t.length<this.searchMenu.searchSuggestionsConfig.numberOfSuggestions;){const n=await xe.fetchSearchSuggestions(this.searchMenu.searchSuggestionsConfig,e,i);if(!n?.length)break;const s=n.filter(e=>{if(e.type&&this.hasBrandsThatRequiringSemiConfigured()){return(this.searchMenu.searchSuggestionsConfig.brandsRequiringSemiConfiguredPdpLinkCheck?.map(e=>e.toLowerCase())??[]).includes(e.brand.value.toLowerCase())&&"semiconfigured"!==e.type.value.toLowerCase()&&!!e?.url?.value}return!!e?.url?.value});if(t=[...t,...s],n.length<250)break;i++}this.searchSuggestions=t.slice(0,this.searchMenu.searchSuggestionsConfig.numberOfSuggestions??5),Re.A.trackSuggestions(this.$el,this.searchTerm,this.searchSuggestions.length)}};qe([(0,n.kv)({default:3})],Ue.prototype,"searchSuggestionsThreshold",void 0),qe([(0,n.kv)({default:300})],Ue.prototype,"searchSuggestionsServiceDebounce",void 0),qe([(0,n.kv)({default:!1})],Ue.prototype,"initialSearchFieldFocus",void 0),qe([(0,n.kv)({required:!0})],Ue.prototype,"searchMenu",void 0),qe([(0,n.ku)()],Ue.prototype,"t",void 0),Ue=qe([(0,n.uA)({name:"header-search",components:{SearchField:Ee.A,SearchSuggestions:$e}})],Ue);var ze=Ue,Ve=(0,y.A)(ze,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"header__search",attrs:{"data-tracking-event":e.trackingInfo.trackingEvent,"data-tracking-info":e.trackingInfo.trackingInfo}},[t("SearchField",{ref:"searchField",staticClass:"search-form__field",attrs:{"input-value":e.searchTerm,focus:e.searchFieldFocus,"hijack-key-arrow-down":e.hasSuggestions,"show-clear":!0,name:"query"},on:{onSubmit:function(t){return e.handleSearchFieldSubmission(t)},onBlur:function(t){e.searchFieldFocus=!1},onFocus:e.handleSearchFieldFocus,onEscape:e.handleSearchFieldEscape,onChange:e.handleSearchChange,onKeyArrowDown:e.handleSearchKeyArrowDown,onClear:e.clearInput}}),e._v(" "),e.showSuggestions?t("SearchSuggestions",{ref:"suggestions",staticClass:"search-form__suggestions",attrs:{"search-term":e.searchTerm,"search-suggestions":e.searchSuggestions,focus:e.searchSuggestionsFocus,translations:e.searchMenu?.translations},on:{onSuggestionSelection:e.handleSuggestionSelection,onEscape:e.handleSearchSuggestionsEscape}}):e._e()],1)},[],!1,null,null,null).exports,Ge=function(e,t,i,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let We=class extends((0,s.mixins)(o.A,a.A,r.A)){constructor(){super(...arguments),this.isMobileMenuVisible=!1,this.isSearchVisible=!1,this.externalId=null,this.authenticationUrl="",this.accountMenuItemsLoggedIn=[],this.accountMenuItemsLoggedOut=[],this.translations=this.config.navigationTranslation,this.logo={alt:this.config.logoImage?.altText??"",src:this.config.logoImage?.path??"",link:this.config.logoLink??""},this.menuLabel=this.translations?.mainMenu??"",this.search={enabled:!!this.config.searchMenu,link:this.config.searchMenu?.searchPageLink,label:this.config.searchMenu?.translations?.searchTitle},this.wishList={enabled:this.config.wishListEnabled,link:this.config.wishListPagePath,translations:this.config.wishListTranslations},this.enableLogin=this.config.projectConfigModel?.gatedEnvironmentConfig?.enableLogin??!1}get accountMenuItems(){return this.isLoggedIn?this.accountMenuItemsLoggedIn:this.accountMenuItemsLoggedOut}get isLoggedIn(){return!!this.externalId}mounted(){this.cookieService=new se(window.location.href),this.externalId=this.cookieService.getCookie("atc")??"";const e=this.config.projectConfigModel?.sidebarConfigMap?.authenticationUrl||"",t=crypto?.randomUUID?.()??Date.now();this.authenticationUrl=e.replace("<StateValue>",encodeURIComponent(`${t}::${window.location.href}`));const i=this.config.projectConfigModel?.gatedEnvironmentMenuTranslationsMap,n=this.config.projectConfigModel?.gatedEnvironmentConfig;this.accountMenuItemsLoggedIn=[...this.config.wishListEnabled?[{path:this.config.wishListPagePath,label:i?.wishListText}]:[],{path:n?.projectsPagePath,label:i?.projectsText},{path:n?.profilePagePath,label:i?.profileText},{path:n?.signOutUrl,label:i?.signOutText}],this.accountMenuItemsLoggedOut=[...this.config.wishListEnabled?[{path:this.config.wishListPagePath,label:i?.wishListText}]:[],{path:this.authenticationUrl,label:i?.createText},{path:this.authenticationUrl,label:i?.signInText}],l.A.onResize(()=>{l.A.isLG()?this.removeBodyNoScroll():this.toggleBodyNoScroll(this.isMobileMenuVisible)})}onToggleMobileMenu(){this.isMobileMenuVisible=!this.isMobileMenuVisible,this.toggleBodyNoScroll(this.isMobileMenuVisible)}handleSearchFieldEscape(){this.isSearchVisible=!1,this.toggleBodyNoScroll(this.isSearchVisible)}onToggleSearchBar(){this.isSearchVisible=!this.isSearchVisible,this.toggleBodyNoScroll(this.isSearchVisible),this.isSearchVisible&&Re.A.trackPageLoadSearch(this.$el,"",0)}};Ge([(0,n.kv)({required:!0})],We.prototype,"config",void 0),We=Ge([(0,n.uA)({name:"header-component",components:{WishListHeader:A,MobileMenuDialog:we,HeaderIcons:de,MenuBlockContainer:Z,HeaderLogo:ve,HeaderSearch:Ve}})],We);var Ke=We,Je=(0,y.A)(Ke,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("header",e._b({staticClass:"header",attrs:{"data-cmp-name":"header-component"}},"header",[e.ssrAttributes,e.analyticsAttributes],!1),[t("Transition",{attrs:{name:"mobile-menu"}},[e.isMobileMenuVisible?t("MobileMenuDialog",{attrs:{"search-config":e.search,links:e.config.menu,"aria-label":e.menuLabel,"back-link-label":e.translations.backLinkLabel},on:{toggleMobileMenu:e.onToggleMobileMenu}}
2):e._e()],1),e._v(" "),t("div",{staticClass:"header__body header__container"},[t("div",{staticClass:"header__prenav"},[t("section",{staticClass:"section-component header__prenav-container"},[""!==e.logo.src?t("HeaderLogo",{attrs:{logo:e.logo}}):e._e(),e._v(" "),t("MenuBlockContainer",{attrs:{"menu-items":e.config.menu,"header-translations":e.config.navigationTranslation,"menu-label":e.menuLabel}}),e._v(" "),t("HeaderIcons",{attrs:{"search-config":e.search,"wish-list-config":e.wishList,"account-menu-items":e.accountMenuItems,"is-enable-add-to-project":e.enableLogin},on:{toggleMobileMenu:e.onToggleMobileMenu,toggleSearchBar:e.onToggleSearchBar}})],1)]),e._v(" "),e.config?.searchMenu?.searchSuggestionsConfig?.enabled&&e.isSearchVisible?t("div",{staticClass:"header__search-background",on:{click:e.handleSearchFieldEscape}}):e._e(),e._v(" "),t("div",{staticClass:"header__search-wrapper"},[t("section",{staticClass:"section-component header__search-container"},[e.config?.searchMenu?.searchSuggestionsConfig?.enabled&&e.isSearchVisible?t("HeaderSearch",{attrs:{"search-menu":e.config.searchMenu},on:{onEscape:e.handleSearchFieldEscape}}):e._e()],1)])])],1)},[],!1,null,null,null).exports,Ye=i(12897);const Qe=new class{constructor(){this.validateSessionId=async e=>{try{return(await(0,Ye.x)(e)).active}catch(e){return Promise.reject(e)}},this.getFamilyId=async(e,t)=>{try{return await(0,Ye.x)(e,(0,Ye.e)("POST",t))}catch(e){return Promise.reject(e)}}}};var Ze=function(e,t,i,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let Xe=class extends Ve{isConfigurationId(e){return/^[\da-z]+-[\da-f]{8}(?:-[\da-f]{4}){3}-[\da-f]{12}$/i.test(e.trim())}extractIds(e){const[t,i]=e.split(/-(.+)/).filter(Boolean);return{productId:t,sessionId:i}}async isSessionIdValid(e,t,i){const n=e.replace("{productId}",t).replace("{sessionId}",i);try{return await Qe.validateSessionId(n)}catch(e){return ne.A.error("HeaderSearch.vue: Session Id is not invalid.",e),!1}}generateUrl(e,t,i){return e.replace("<family_code>",i).replace("<configurator_id>",t)}async handleSearchFieldSubmission(e){if(this.isConfigurationId(e)){const t=this.configProps.configuratorConfig.summaryProductConfigurationEndpoint,{productId:i,sessionId:n}=this.extractIds(e);if(await this.isSessionIdValid(t,i,n)){const e=await this.fetchFamilyId(i);if(e){const t=this.configProps.configuratorPagePath,s=e.products[0].families[0].publicationId,o=this.generateUrl(t,i,s);window.location.href=`${o}?sessionID=${n}`}}else window.location.href=`${this.searchMenu.searchPageLink}?query=${e}`}else this.searchMenu.searchPageLink&&(window.location.href=`${this.searchMenu.searchPageLink}?query=${e}`)}async fetchFamilyId(e){const t=this.configProps.configuratorConfig.contentReferenceApiEndpoint,i={ids:[{id:e,idType:"KMAT"}],refTypes:["families"],locales:[this.configProps.configuratorConfig.locale]};return await Qe.getFamilyId(t,i)}};Ze([(0,n.y_)()],Xe.prototype,"configProps",void 0),Xe=Ze([(0,n.uA)({name:"header-search"})],Xe);var et=Xe,tt=(0,y.A)(et,void 0,void 0,!1,null,null,null).exports,it=function(e,t,i,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let nt=class extends Je{constructor(){super(...arguments),this.globalIconPath="/etc.clientlibs/signify-brand-signify-multibrand/clientlibs/clientlib-main/resources/icons/",this.configProps=this.config}};it([(0,n.ku)()],nt.prototype,"globalIconPath",void 0),it([(0,n.ku)()],nt.prototype,"configProps",void 0),nt=it([(0,n.uA)({name:"header-component",components:{HeaderSearch:tt}})],nt);var st=nt,ot=(0,y.A)(st,void 0,void 0,!1,null,null,null).exports;var at={getComponentDefinition:()=>ot}}}]);
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.