PageSourceSearch

https://www.wizconnected.com/etc.clientlibs/signify-brand-wiz/clie…er-module.a1173c3362295310c03d.chunk.min.js

js wizconnected.com collected 2026-09-24 09:13:08 UTC 85,631 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_signify_wiz=self.webpackChunk_signify_wiz||[]).push([[457],{7379:function(t,e,i){var n=i(7607),o=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};const a="data-tracking-event",s="data-tracking-info";let r=class extends n.lD{get analyticsAttributes(){return{...this.config.analytics?.event&&{[a]:this.config.analytics.event},...this.config.analytics?.info&&{[s]:this.config.analytics.info}}}getAnalyticsEvent(){return this.config.analytics?.event}getAnalyticsInfo(){return this.config.analytics?.info}};o([(0,n.kv)({required:!0})],r.prototype,"config",void 0),r=o([n.uA],r),e.A=r},5467:function(t,e,i){var n=i(7607),o=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let a=class extends n.lD{get ssrAttributes(){return this.config.ssr?.attributes}get isBrowser(){return"undefined"!=typeof window}get ssrComponentId(){return this.ssrAttributes?.["data-cmp-id"]}};o([(0,n.kv)({required:!0})],a.prototype,"config",void 0),a=o([n.uA],a),e.A=a},117:function(t,e,i){i.r(e),i.d(e,{default:function(){return We}});var n=i(5136),o=i(7607),a=i(5467),s=i(7379),r=i(5507),c=i(5568),l=i(7436),u=i(8743),d=i(118),p=i(8078),h=i(9070),m=i(4641),g=i(5938),v=i(1310),f=i(5397),y=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let _=class extends o.lD{constructor(){super(...arguments),this.renderDialog=!1,this.animateOpen=!1,this.contentShown=!1,this.closeTimer=null}mounted(){this.onIsOpenChange()}onIsOpenChange(){if(this.closeTimer&&(window.clearTimeout(this.closeTimer),this.closeTimer=null),this.isOpen)return this.renderDialog=!0,this.animateOpen=!1,this.contentShown=!1,document.body.classList.add("no-scroll","no-scroll--sidebar"),void this.$nextTick(()=>{this.dialogRef?.open||this.dialogRef.showModal(),requestAnimationFrame(()=>{requestAnimationFrame(()=>{this.animateOpen=!0,this.contentShown=!0,this.dialogRef.focus()})})});document.body.classList.remove("no-scroll","no-scroll--sidebar"),this.contentShown=!1,this.animateOpen=!1,this.closeTimer=window.setTimeout(()=>{this.dialogRef?.open&&this.dialogRef.close(),this.renderDialog=!1,this.closeTimer=null},300)}onAfterLeave(){this.dialogRef?.open&&this.dialogRef.close()}close(){this.$emit("close")}beforeDestroy(){this.closeTimer&&window.clearTimeout(this.closeTimer),document.body.classList.remove("no-scroll","no-scroll--sidebar"),this.dialogRef?.open&&this.dialogRef.close()}};y([(0,o.kv)()],_.prototype,"title",void 0),y([(0,o.kv)()],_.prototype,"isOpen",void 0),y([(0,o.kv)({default:"close"})],_.prototype,"closeAriaLabel",void 0),y([(0,o.oS)()],_.prototype,"dialogRef",void 0),y([(0,o.ox)("isOpen")],_.prototype,"onIsOpenChange",null),_=y([(0,o.uA)({name:"hue-sidebar",components:{HueIcon:l.A,HueButton:f.A}})],_);var b=_,C=i(2881),k=(0,C.A)(b,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("transition",{on:{"after-leave":t.onAfterLeave}},[t.renderDialog?e("dialog",{ref:"dialogRef",staticClass:"sidebar-dialog",attrs:{"aria-label":t.title,"aria-modal":"true"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"escape",void 0,e.key,void 0)?null:t.close.apply(null,arguments)}}},[e("div",{staticClass:"sidebar",class:{"sidebar--open":t.animateOpen}},[e("button",{staticClass:"overlay",attrs:{type:"button","aria-label":t.closeAriaLabel},on:{click:t.close}}),t._v(" "),e("div",{staticClass:"sidebar__panel",on:{click:function(t){t.stopPropagation()}}},[e("div",{staticClass:"sidebar__header"},[e("h2",{staticClass:"sidebar__header-title heading-5--bold",attrs:{id:"sidebar-title"}},[t._v("\n                        "+t._s(t.title)+"\n                    ")]),t._v(" "),e("HueButton",{staticClass:"button--close-icon",attrs:{"aria-label":t.closeAriaLabel},on:{click:t.close}},[e("HueIcon",{attrs:{name:"close"}})],1)],1),t._v(" "),t.contentShown?e("div",{staticClass:"sidebar__content"},[t._t("content")],2):t._e()])])]):t._e()])},[],!1,null,"621ae51e",null),A=k.exports;const M=new class{getButtonIconAnalytics(t,e){return JSON.stringify({event:{effect:e,label:t}})}};var I=i(4196),P=i(6566),S=i(659),x=i(8600),T=i(5203),L=i(1849),w=i(6503),O=i(479),N=i(1059),R=i(9836),H=i(3310),E=function(t,e,
1i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let D=class extends o.lD{};D=E([(0,o.uA)({name:"hue-error-message",components:{HueIcon:l.A}})],D);var F=D,$=(0,C.A)(F,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"error-message"},[e("span",{staticClass:"error-message__icon-placeholder"},[e("HueIcon",{attrs:{name:"error"}})],1),t._v(" "),e("span",{staticClass:"footnote error-message__text"},[t._t("default")],2)])},[],!1,null,"4e65dfbe",null).exports,j=i(687),B=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let q=class extends o.lD{constructor(){super(...arguments),this.bundleItemsShown=!1}get showStrikeThroughPrice(){return this.props.pricesOriginalPrice!==this.props.pricesFinalPrice}get renderQuantityTimesPrice(){return this.props.quantity>0&&!!this.props.pricesPrice}get isFixedProduct(){return!(!this.props.productFixedProduct||1!==this.props.productFixedProduct)}get showExcludedFromPromotion(){return 1===this.props.productExcludedFromPromotion}get hasBundleItems(){return this.props.bundlePartsEnabled&&this.props.bundleOptions?.length>0}get bundleItemsVisibilityLabel(){return this.bundleItemsShown?this.props.translations.hideBundlePartsLabel:this.props.translations.showBundlePartsLabel}get itemError(){return this.props.errorMessage?this.props.errorMessage:"out_of_stock"===this.props.availability?this.props.translations.outOfStockMessage:"quantity_not_available"===this.props.availability?this.props.translations.qtyUnavailableMessageWithCount:null}get priceDetailsUiConfig(){return{size:j.J.SM,alignToEnd:!1,invertVerticalOrder:!0}}removeItem(){this.$emit("deleteItems",this.props.id)}onQuantityChange(t,e,i,n){isNaN(i)||this.$emit("updateItems",t,e,i,n)}toggleBundleItemsVisibility(){this.bundleItemsShown=!this.bundleItemsShown,this.bundleItemsShown&&this.$nextTick(()=>{this.$refs.bundleItemsRef[0]?.$el.querySelector(".product-line-item__link")?.focus()})}};B([(0,o.kv)({required:!0})],q.prototype,"props",void 0),q=B([(0,o.uA)({name:"hue-cart-list-item",components:{HueIcon:l.A,HueImage:L.A,HueQuantity:w.A,HueButton:f.A,HuePriceDetails:O.A,HuePromoDisplayText:N.A,HueTransitionExpand:R.A,HueProductLineItem:H.A,HueErrorMessage:$}})],q);var z=q,U=(0,C.A)(z,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"cart-list-item",attrs:{"data-tracking-info":t.props.analytics.dataTrackingInfo}},[e("div",{staticClass:"cart-list-item__top-content"},[e("div",{staticClass:"cart-list-item__image-holder"},[t.props.productUrl?e("a",{staticClass:"cart-list-item__image-link",attrs:{href:t.props.productUrl,tabindex:"-1"}},[e("HueImage",{staticClass:"cart-list-item__img",attrs:{src:t.props.productImageUrl,alt:t.props.productName,"lazy-load":!0}})],1):e("HueImage",{staticClass:"cart-list-item__img",attrs:{src:t.props.productImageUrl,alt:t.props.productName,"lazy-load":!0}})],1),t._v(" "),e("div",{staticClass:"cart-list-item__content-holder"},[e("div",{staticClass:"cart-list-item__content"},[t.props.productUrl?e("a",{staticClass:"cart-list-item__link",attrs:{href:t.props.productUrl}},[e("h3",{staticClass:"body-copy-1 cart-list-item__description"},[t._v(t._s(t.props.productName))])]):e("h3",{staticClass:"body-copy-1 cart-list-item__description"},[t._v(t._s(t.props.productName))]),t._v(" "),t.props.isFree?[t.props.quantity?e("h4",{staticClass:"footnote cart-list-item__quantity-times-price"},[t._v("\n                        "+t._s(t.props.quantity)+"x\n                    ")]):t._e()]:[t.renderQuantityTimesPrice?e("h4",{staticClass:"footnote cart-list-item__quantity-times-price"},[t._v("\n                        "+t._s(t.props.quantity)+"x "+t._s(t.props.pricesPrice)+"\n                    ")]):t._e()],t._v(" "),t.props?t._e():e("span",{staticClass:"heading-7 cart-list-item__delivery"}),t._v(" "),t.props.productDisplayText?e("HuePromoDisplayText",{staticClass:"cart-list-item__display-text",attrs:{html:t.props.productDisplayText,"icon-name":"about"}}):t._e()],2),t._v(" "),e("div",{staticClass:"cart-list-item__price"},[t.props.isFree?[e("h6",{staticClass:"cart-list-item__offered-price"},[t._v(t._s(t.props.translations.freeLabel))])]:[e("HuePriceDetails",{attrs:{"current-price":t.props.pricesFinalPrice,original:t.props.originalContext,"secondary-pricing":t.props.secondaryPriceContext,"price-aria-label":t.props.priceAriaLabel,"ui-config":t.priceDetailsUiConfig}})],t._v(" "),t.showExcludedFromPromotion?e("p",{staticClass:"cart-list-item__exclude-promo footnote"},[t._v("\n                    "+t._s(t.props.translations.excludedFromPromotion)+"\n                ")]):t._e()],2)])]),t._v(" "),e("div",{staticClass:"cart-list-item__bottom-content"},[e("div",{},[t.hasBundleItems?e("div",{staticClass:"cart-list-item__bundle-items",attrs:{id:"bundle-items"}},[e("HueTransitionExpand",[t.bundleItemsShown?e("div",t._l(t.props.bundleOptions,function(t,i){return e("HueProductLineItem",{key:t.id,ref:"bundleItemsRef",refInFor:!0,attrs:{"product-name":t.name,"image-url":t.imageUrl,label:`${t.quantity}x`,"highlight-label":!1,"product-url":t.productUrl,index:i,"tab-index":-1}})}),1):t._e()])],1):t._e(),t._v(" "),e("div",{staticClass:"cart-list-item__controls-holder"},[t.hasBundleItems?[e("button",{staticClass:"cart-list-item__bundle-items-show-products-button link link--primary link--md",attrs:{"aria-expanded":t.bundleItemsShown?"true":"false","aria-controls":"bundle-items",type:"button"},on:{click:t.toggleBundleItemsVisibility}},[t._v("\n                        "+t._s(t.bundleItemsVisibilityLabel)+"\n                    ")])]:t._e(),t._v(" "),t.isFixedProduct?t._e():e("div",{staticClass:"cart-list-item__controls"},[e("HueButton",{staticClass:"cart-list-item__delete-button button button--grey button--md button--icon",attrs:{theme:"grey","data-tracking-event":t.props.analytics.dataTrackingEventRemoveItem,"data-tracking-info":t.props.analytics.dataTrackingInfoRemoveItem,"aria-label":""},on:{click:t.removeItem},scopedSlots:t._u([{key:"icon",fn:function(){return[e("HueIcon",{attrs:{name:"trashcan","aria-hidden":"true"}})]},proxy:!0}],null,!1,1515681175)}),t._v(" "),e("HueQuantity",{attrs:{id:`${t.props.id}-quantity`,"is-disabled":t.props.isDisabled,"stock-quantity":t.props.productQty},on:{input:(e,i,n)=>t.onQuantityChange(t.props.id,e,i,n),onRemove:t.removeItem},model:{value:t.props.quantity,callback:function(e){t.$set(t.props,"quantity",e)},expression:"props.quantity"}})],1)],2)])]),t._v(" "),t.itemError?e("div",{staticClass:"cart-list-item__error-message"},[e("HueErrorMessage",{staticClass:"cart-list-item__show-error"},[t._v("\n            "+t._s(t.itemError)+"\n        ")])],1):t._e()])},[],!1,null,null,null).exports,G=i(4654),V=i(1619),Q=i(5973);
1class W{static trackCartRemoveEvent(t,e,i){const n=(0,Q.uc)("cart-list-item","",e,!0,"click",{miniCart:!0},"clicked item will be removed from cart",i);(0,x.Xu)(t,n)}}var J=i(2605),K=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let X=class extends((0,n.mixins)(I.A)){constructor(){super(...arguments),this.dataTrackingInfo=(0,P.V)("cart-list-item","/cart-list-item","cart-list-item")}created(){this.priceFormattingService=new T._(this.priceFormatting)}getCartItem(t){const e=this.priceFormattingService.format(t.prices?.original_price?.value??0),i=this.priceFormattingService.format(t.prices?.final_price?.value??0),n=this.getBundleItems(t.bundle_options),o=this.getPriceDisplay(t,i,e);return{id:t.id,quantity:t.quantity,availability:t.availability,productName:t.product.name,productImageUrl:t.product.image_url,productSeoProductName:t.product.seo_product_name,productCtn:t.product.ctn,productGlobalProductId:t.product.global_product_id,productDisplayText:"",productFixedProduct:t.product.fixed_product,productExcludedFromPromotion:t.product.excluded_from_promotion,productQty:t.product.qty,errorMessage:t.errorMessage,pricesOriginalPrice:e,pricesFinalPrice
1:i,pricesPrice:this.priceFormattingService.format(t.prices?.price?.value??0),originalContext:o.original,secondaryPriceContext:o.secondary,isFree:0===t.prices?.price.value,bundleOptions:n,productUrl:this.productUrl(t),bundlePartsEnabled:this.config.bundlePartsEnabled,isDisabled:this.isOutOfStock(t.availability),translations:{...this.t,qtyUnavailableMessageWithCount:this.$t(this.t.quantityUnavailableMessage,{count:t.product.qty})||""},analytics:{dataTrackingInfo:this.dataTrackingInfo,dataTrackingEventRemoveItem:"component/cart-list-item/remove",dataTrackingInfoRemoveItem:this.trackingInfoRemoveItem(t)},priceAriaLabel:this.parsePriceAriaLabel(n?.length>0,i,e)}}getPriceDisplay(t,e,i){if(this.hasEqualCurrentAndOriginalPrices(t))return{original:{price:""}};const n=this.getOmnibusData(t.product.am_omnibus_lowest_price_message);return(0,V.AY)({priceData:{specialPriceSource:t.product.special_price_source??null,retailPriceTooltip:this.config.retailPriceTooltip??"",omnibus:n},currentPrice:e??"",currentPriceNumber:t.prices?.final_price?.value??0,originalPrice:i??"",labels:{retailPrice:this.t.retailPrice,originalPrice:this.t.originalPrice}})}hasEqualCurrentAndOriginalPrices(t){const e=t.prices?.final_price?.value,i=t.prices?.original_price?.value;return"number"==typeof e&&e===i}getOmnibusData(t){const e=(0,J.J)(t??"");if(!e?.price||!e?.days)return{};return{lastLowestPriceLabel:this.t.lastLowestPriceLabel.replace("{0}",()=>e.days.toString()??""),price:this.priceFormattingService.format(e.price??0),priceNumber:e.price??0,tooltipText:this.t.tooltipText,discount:this.t.discount??""}}onDeleteItem(t){const e=this.getItemById(t);if(e){const t=(0,S.Cl)("cartRemove",[e],this.config?.bridgeFilterKey);W.trackCartRemoveEvent("component/cart-list-item/remove",this.$el,t)}this.$emit("deleteItems",t)}isOutOfStock(t){return t===G.F.OUT_OF_STOCK}trackingInfoRemoveItem(t){const e=(0,S.Cl)("cartRemove",[t],this.config?.bridgeFilterKey);return(0,x.h9)({effect:"clicked item will be removed from cart",products:e,category:"cart-list-item",attributes:{miniCart:!1}})}productUrl(t){if(this.config.productDetailPageUrl?.includes("{seoName}")){if(t.product?.seo_product_name&&t.product?.ctn)return this.config.productDetailPageUrl.replace("{seoName}",t.product?.seo_product_name).replace("{ctn}",t.product?.ctn);if(t.product?.ctn)return this.config.productDetailPageUrl.replace("{seoName}","-").replace("{ctn}",t.product?.ctn)}else if(t.product?.global_product_id)return this.config.productDetailPageUrl?.replace("{ctn}",t.product.global_product_id)}getBundleItems(t=[]){return t.filter(t=>(t?.values?.length??0)>0).map(t=>{const e=t.values[0];return{id:e.id,name:e.product.name,imageUrl:e.product.image_url,quantity:e.quantity,productUrl:this.productUrl(e)}})}getItemById(t){return this.items.find(e=>e.id===t)}parsePriceAriaLabel(t,e,i){const n=this.config.bundlePartsEnabled&&t,o=e!==i;return{simpleProduct:{promo:this.$t(this.t.productWithPromoPrice,{currentPrice:e,originalPrice:i})||"",noPromo:this.$t(this.t.productWithNoPromoPrice,{originalPrice:i})||""},bundleProduct:{promo:this.$t(this.t.bundleWithPromoPrice,{currentPrice:e,originalPrice:i})||"",noPromo:this.$t(this.t.productWithNoPromoPrice,{originalPrice:i})||""}}[n?"bundleProduct":"simpleProduct"][o?"promo":"noPromo"]??""}};K([(0,o.kv)({required:!0})],X.prototype,"items",void 0),K([(0,o.y_)()],X.prototype,"t",void 0),K([(0,o.y_)()],X.prototype,"config",void 0),K([(0,o.y_)()],X.prototype,"priceFormatting",void 0),X=K([(0,o.uA)({name:"cart-item-list",components:{HueCartListItem:U}})],X);var Y=X,Z=(0,C.A)(Y,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"cart-item-list"},t._l(t.items,function(i){return e("HueCartListItem",{key:i.id,attrs:{props:t.getCartItem(i)},on:{deleteItems:t.onDeleteItem,updateItems:(e,i,n,o)=>t.$emit("updateItems",e,i,n,o)}})}),1)},[],!1,null,null,null).exports,tt=i(1371),et=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let it=class extends((0,n.mixins)(I.A)){constructor(){super(...arguments),this.miniCartTranslations=this.translations,this.reactiveT=o.lD.observable(this.buildTranslations())}get provideT(){return this.reactiveT}onCartDataChanged(){this.reactiveT=this.buildTranslations()}buildTranslations(){const t=this.cartData?.itemsInCart||0;return{...this.translations,subtotal:1===t?this.$t(this.translations.subtotalOfProduct,{count:1})||"":this.$t(this.translations.subtotalOfProducts,{count:t})||""}}};
1et([(0,o.kv)()],it.prototype,"cartData",void 0),et([(0,o.kv)({default:!1})],it.prototype,"showEmptyCart",void 0),et([(0,o.y_)("miniCartTranslations")],it.prototype,"translations",void 0),et([(0,o.ku)("t")],it.prototype,"miniCartTranslations",void 0),et([(0,o.TR)("reactiveTranslations")],it.prototype,"provideT",null),et([(0,o.ox)("cartData")],it.prototype,"onCartDataChanged",null),it=et([(0,o.uA)({name:"mini-cart-sidebar-body",components:{PriceSummary:tt.A,CartItemList:Z}})],it);var nt=it,ot=(0,C.A)(nt,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"mini-cart-sidebar-body"},[t.showEmptyCart?t._e():[e("CartItemList",{attrs:{items:t.cartData.items},on:{deleteItems:e=>t.$emit("deleteItems",e),updateItems:(e,i,n,o)=>t.$emit("updateItems",e,i,n,o)}}),t._v(" "),e("PriceSummary",{attrs:{"cart-prices":t.cartData.prices,shipping:t.cartData.shipping_addresses}})]],2)},[],!1,null,null,null).exports,at=i(4172),st=i(8956),rt=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let ct=class extends o.lD{constructor(){super(...arguments),this.miniCartTranslations=this.translations,this.buttonTheme=at.Y6}};rt([(0,o.kv)({default:!0})],ct.prototype,"isCartEmpty",void 0),rt([(0,o.kv)()],ct.prototype,"cartFooterPrice",void 0),rt([(0,o.kv)()],ct.prototype,"cartValid",void 0),rt([(0,o.y_)("miniCartTranslations")],ct.prototype,"translations",void 0),rt([(0,o.y_)("miniCartLinks")],ct.prototype,"miniCartLinks",void 0),rt([(0,o.ku)("t")],ct.prototype,"miniCartTranslations",void 0),ct=rt([(0,o.uA)({name:"mini-cart-sidebar-footer",components:{Total:st.A,HueButton:f.A}})],ct);var lt=ct,ut=(0,C.A)(lt,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"mini-cart-sidebar-footer"},[t.isCartEmpty?[e("p",{staticClass:"text-label mini-cart-sidebar-footer__message"},[t._v(t._s(t.translations.emptyCartLabel))]),t._v(" "),e("HueButton",{staticClass:"mini-cart-sidebar-footer__cta-button",attrs:{url:t.miniCartLinks.continueShoppingLink,"full-width":!0,theme:t.buttonTheme.PRIMARY}},[e("span",{staticClass:"button__text"},[t._v("\n                "+t._s(t.translations.continueShopping)+"\n            ")])])]:[e("Total",{attrs:{"cart-total":t.cartFooterPrice}}),t._v(" "),e("HueButton",{staticClass:"mini-cart-sidebar-footer__cta-button",attrs:{url:t.miniCartLinks.checkoutLink,"full-width":!0,theme:t.buttonTheme.PRIMARY,disabled:!t.cartValid}},[e("span",{staticClass:"button__text"},[t._v("\n                "+t._s(t.translations.checkoutLabel)+"\n            ")])]),t._v(" "),t.miniCartLinks.cartPageLink?e("div",{staticClass:"mini-cart-sidebar-footer__view-cart"},[e("a",{attrs:{href:t.miniCartLinks.cartPageLink}},[t._v(t._s(t.translations.viewCart))])]):t._e()]],2)},[],!1,null,null,null).exports,dt=i(2883),pt=i(9770),ht=i(7950),mt=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let gt=class extends dt.A{constructor(){super(...arguments),this.shouldGetWithoutCache=!0}};mt([(0,o.kv)({default:""})],gt.prototype,"cartLoaderAriaLive",void 0),gt=mt([(0,o.uA)({name:"mini-cart-sidebar-container",components:{Loader:pt.A,LoaderWrapper:ht.A,MiniCartSidebarFooter:ut,MiniCartSidebarBody:ot}})],gt);var vt=gt,ft=(0,C.A)(vt,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"mini-cart-sidebar-container"},[t.isLoading?e("LoaderWrapper",[e("p",{staticClass:"visually-hidden",attrs:{"aria-live":"polite"}},[t._v(t._s(t.cartLoaderAriaLive))]),t._v(" "),e("Loader",{attrs:{theme:"blue",size:"xl"}})],1):t._e(),t._v(" "),e("MiniCartSidebarBody",{attrs:{"cart-data":t.shoppingCart,"show-empty-cart":t.showEmptyCart},on:{deleteItems:t.deleteCartItems,updateItems:(e,i,n,o)=>t.updateCartItems(e,i,n,o)}}
1),t._v(" "),e("MiniCartSidebarFooter",{attrs:{"cart-footer-price":t.shoppingCart?.prices,"is-cart-empty":t.showEmptyCart,"cart-valid":t.shoppingCart?.valid}})],1)},[],!1,null,null,null).exports,yt=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};const _t=(0,u.MF)(d.kA.NAME_SPACE),bt=_t.Action,Ct=_t.State;let kt=class extends((0,n.mixins)(v.A)){constructor(){super(...arguments),this.priceFormatting=this.configuration.priceFormatting,this.t=this.miniCartTranslations,this.links=this.miniCartLinks,this.config=this.configuration}shouldOpenMiniCartChanged(t){this.miniCartOpen(t)}mounted(){this.miniCartOpen(this.shouldOpenMiniCart)}miniCartOpen(t){if(!t)return;const e=new URL(this.configuration.cartPageLink).pathname;window.location.pathname===e&&(this.setMiniCartOpen(!1),window.location=this.configuration.cartPageLink)}get authenticationPending(){return!!m.P.myAccount.enabled&&(!this.$auth||this.$auth.isLoading)}get miniCartLinks(){const{cartPageLink:t,continueShoppingLink:e,checkoutLink:i,productDetailPageUrl:n}=this.configuration;return{cartPageLink:t,continueShoppingLink:e,checkoutLink:i,productDetailPageUrl:n}}get miniCartTranslations(){return Object.fromEntries(["bundleWithPromoPrice","cartIconAriaLabel","checkout","checkoutLabel","close","continueShopping","discount","emptyCartLabel","excludedFromPromotion","freeLabel","hideBundlePartsLabel","lastLowestPriceLabel","miniCartLoaderAriaLive","miniCartTitle","originalPrice","outOfStockMessage","productWithNoPromoPrice","productWithPromoPrice","quantityUnavailableMessage","requestedQuantityExceedsMaximumAllowed","requestedQuantityUnavailable","retailPrice","shipping","showBundlePartsLabel","subtotalOfProduct","subtotalOfProducts","taxes","tooltipText","total","viewCart"].map(t=>[t,this.configuration.translations[t]]))}};yt([(0,o.kv)({required:!0})],kt.prototype,"configuration",void 0),yt([(0,o.ku)()],kt.prototype,"priceFormatting",void 0),yt([(0,o.ku)("miniCartTranslations")],kt.prototype,"t",void 0),yt([(0,o.ku)("miniCartLinks")],kt.prototype,"links",void 0),yt([(0,o.ku)()],kt.prototype,"config",void 0),yt([bt(d.Pq.SET_PRODUCT_AMOUNT)],kt.prototype,"updateCartTotalQuantity",void 0),yt([bt(d.Pq.SET_MINI_CART_OPEN)],kt.prototype,"setMiniCartOpen",void 0),yt([Ct],kt.prototype,"shouldOpenMiniCart",void 0),yt([(0,o.ox)("shouldOpenMiniCart")],kt.prototype,"shouldOpenMiniCartChanged",null),kt=yt([(0,o.uA)({name:"mini-cart-container",components:{MiniCartSidebarContainer:ft,HueSidebar:A}})],kt);var At=kt,Mt=(0,C.A)(At,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"mini-cart"},[e("HueSidebar",{attrs:{"is-open":t.shouldOpenMiniCart,title:t.miniCartTranslations.miniCartTitle,"close-aria-label":t.t.close},on:{close:function(e){return t.$emit("closeMiniCart")}},scopedSlots:t._u([{key:"content",fn:function(){return[t.shouldOpenMiniCart?e("MiniCartSidebarContainer",{attrs:{"is-authentication-pending":t.authenticationPending,"cart-loader-aria-live":t.miniCartTranslations.miniCartLoaderAriaLive,"is-mini-cart":!0},on:{onCartUpdated:t.updateCartTotalQuantity}}):t._e()]},proxy:!0}])})],1)},[],!1,null,null,null).exports,It=i(5669),Pt=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};const St=(0,u.MF)(d.kA.NAME_SPACE),xt=St.State,Tt=St.Action;let Lt=class extends((0,n.mixins)(v.A)){constructor(){super(...arguments),this.myCartTitle=this.configuration?.translations?.shoppingCart??"My cart",this.analytics=M,this.notificationTimerMaxDuration=5e3,this.shouldDisplayExtraFields=!!this.configuration.productDetailsEnabled}mounted(){m.P.pageInfo.type!==g.g.CART_AND_CHECKOUT&&(this.authenticationPending?this.$wait?.start("CartIconContainer.authenticationPending"):this.getProductAmount())}closeNotification(){this.callShowNotificationSuccess({showNotificationSuccess:!1}),this.callShowNotificationError(!1)}onAuthenticationPendingChange(t){m.P.pageInfo.type===g.g.CART_AND_CHECKOUT||t||(this.$wait?.end("CartIconContainer.authenticationPending"),this.getProductAmount())}onShowNotificationSuccessChange(t){t&&this.startPopupTimer()}onShowNotificationErrorChange(t){t&&this.startPopupTimer()}get cartPageLink(){return m.P.cart.miniCart?void 0:this.configuration.cartPageLink}get ariaHaspopup(){return m.P.cart.miniCart?"dialog":"false"}onCartIconClick(){m.P.cart.miniCart?(this.clearAddToCartResponse(null),this.setMiniCartOpen(!0)):window.location=this.cartPageLink}startPopupTimer(){clearTimeout(this.notificationTimer),this.notificationTimer=window.setTimeout(()=>{this.showNotificationSuccess?this.callShowNotificationSuccess({showNotificationSuccess:!1}):this.callShowNotificationError(!1),this.setAddToCartError(null)},this.notificationTimerMaxDuration)}stopPopupTimer(){clearTimeout(this.notificationTimer)}onMouseOver(){this.stopPopupTimer()}onMouseLeave(){this.startPopupTimer()}get addToCartErrorMessage(){return this.addToCartError===It.o.INSUFFICIENT_STOCK?this.configuration.translations.notificationErrorTitle:this.configuration.translations.addToCartErrorMessage}};Pt([(0,o.kv)({required:!0})],Lt.prototype,"configuration",void 0),Pt([(0,o.kv)({default:!1})],Lt.prototype,"showIconLabel",void 0),Pt([(0,o.kv)({default:"0"})],Lt.prototype,"cartIconTabIndex",void 0),Pt([(0,o.kv)({default:!1})],Lt.prototype,"cartIconAriaHidden",void 0),Pt([xt],Lt.prototype,"showNotificationSuccess",void 0),Pt([xt],Lt.prototype,"showNotificationError",void 0),Pt([xt],Lt.prototype,"lastAddedProductPrice",void 0),Pt([xt],Lt.prototype,"productQuantity",void 0),Pt([xt],Lt.prototype,"lastAddedProductName",void 0),Pt([xt],Lt.prototype,"lastAddedProductImage",void 0),Pt([xt],Lt.prototype,"addToCartError",void 0),Pt([Tt(d.Pq.GET_PRODUCT_AMOUNT)],Lt.prototype,"getProductAmount",void 0),Pt([Tt(d.Pq.SHOW_NOTIFICATION_SUCCESS)],Lt.prototype,"callShowNotificationSuccess",void 0),Pt([Tt(d.Pq.SHOW_NOTIFICATION_ERROR)],Lt.prototype,"callShowNotificationError",void 0),Pt([Tt(d.Pq.SET_MINI_CART_OPEN)],Lt.prototype,"setMiniCartOpen",void 0),Pt([Tt(d.Pq.SET_ADD_TO_CART_RESPONSE)],Lt.prototype,"clearAddToCartResponse",void 0),Pt([Tt(d.Pq.SET_ADD_TO_CART_ERROR)],Lt.prototype,"setAddToCartError",void 0),Pt([(0,o.ox)("authenticationPending")],Lt.prototype,"onAuthenticationPendingChange",null),Pt([(0,o.ox)("showNotificationSuccess")],Lt.prototype,"onShowNotificationSuccessChange",null),Pt([(0,o.ox)("showNotificationError")],Lt.prototype,"onShowNotificationErrorChange",null),Lt=Pt([(0,o.uA)({components:{MiniCartContainer:Mt,Notification:p.A,HueIcon:l.A,HueSidebar:A},directives:{onClickaway:h.u$},name:"cart-icon-container"})],Lt);var wt,Ot,Nt=Lt,Rt=(0,C.A)(Nt,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"header-icons"},[e("div",{staticClass:"cart-icon-container"},[e("button",{staticClass:"cart-icon-container__icons-button",attrs:{type:"button",tabindex:t.cartIconTabIndex,"aria-hidden":t.cartIconAriaHidden,"aria-label":t.configuration.translations.cartIconAriaLabel,"aria-controls":t.configuration.translations.title,"aria-haspopup":t.ariaHaspopup,title:t.myCartTitle,"data-tracking-info":t.analytics.getButtonIconAnalytics(t.myCartTitle,"Go to Shopping cart")},on:{click:t.onCartIconClick}},[e("div",{staticClass:"cart-icon-container__icon"},[e("HueIcon",{attrs:{name:"cart",group:"hue"}}),t._v(" "),t.productQuantity>0?e("div",{staticClass:"badge badge--small cart-icon-container__badge"},[t._v("\n                    "+t._s(t.productQuantity)+"\n                ")]):t._e()],1),t._v(" "),t.showIconLabel?e("span",{staticClass:"cart-icon-container__label"},[t._v(t._s(t.myCartTitle))]):t._e()]),t._v(" "),t.showNotificationSuccess||t.shouldDisplayExtraFields||t.showNotificationError?e("div",{attrs:{role:"button",tabindex:"0"},on:{mouseover:function(e){return t.onMouseOver()},focus:function(e){return t.onMouseOver()},mouseleave:function(e){return t.onMouseLeave()},blur:function(e){return t.onMouseLeave()}}},[e("Notification",{directives:[{name:"on-clickaway",rawName:"v-on-clickaway",value:t.closeNotification,expression:"closeNotification"}],attrs:{"is-open":t.showNotificationSuccess},scopedSlots:t._u([t.shouldDisplayExtraFields?{key:"header",fn:function(){return[e("div",{staticClass:"cart-icon-container__header-wrapper"},[e("h6",{staticClass:"heading-6"},[t._v(t._s(t.configuration.translations.notificationSuccessTitle))]),t._v(" "),t.shouldDisplayExtraFields?e("button",{staticClass:"link cart-icon-container__close-button",attrs:{type:"button"},on:{click:function(e){return t.closeNotification()}}},[e("HueIcon",{attrs:{name:"close"}})],1):t._e()])]},proxy:!0}:{key:"header",fn:function(){return[e("p",{staticClass:"body-copy-1--bold"},[t._v(t._s(t.configuration.translations.notificationSuccessTitle))])]},proxy:!0},t.shouldDisplayExtraFields?{key:"body",fn:function(){return[e("div",{staticClass:"cart-icon__product-details-container"},[e("div",{staticClass:"cart-icon__product-image-container"},[t.lastAddedProductImage?e("img",{staticClass:"cart-icon__details-image",attrs:{src:`${t.lastAddedProductImage}?wid=110&hei=110&$jpgsmall$`,srcset:`${t.lastAddedProductImage}?wid=220&hei=220&$jpglarge$ 2x`,alt:t.lastAddedProductName}}):t._e()]),t._v(" "),e("div",{staticClass:"cart-icon__details-product-info"},[e("p",{staticClass:"text-label--semibold"},[t._v("\n                                "+t._s(t.lastAddedProductName)+"\n                            ")]),t._v(" "),e("p",{staticClass:"text-label--regular"},[t._v(t._s(t.lastAddedProductPrice))]),t._v(" "),e("p",[e("span",{staticClass:"text-label"},[t._v(t._s(t.configuration.translations.units)+" :")]),t._v(" "),e("span",{staticClass:"text-label--regular"},[t._v(t._s(t.productQuantity))])])])])]},proxy:!0}:{key:"body",fn:function(){return[e("p",{staticClass:"body-copy-0"},[t._v("\n                        "+t._s(t.lastAddedProductName)+"\n                    ")])]},proxy:!0},t.shouldDisplayExtraFields?{key:"footer",fn:function(){return[e("a",{staticClass:"button button--secondary button--sm cart-icon__cta",attrs:{href:t.cartPageLink}},[t._v("\n                        "+t._s(t.configuration.translations.checkout)+"\n                    ")])]},proxy:!0}:{key:"footer",fn:function(){return[e("a",{staticClass:"button button--secondary button--sm",attrs:{href:t.cartPageLink}},[t._v("\n                        "+t._s(t.configuration.translations.checkout)+"\n                    ")])]},proxy:!0}],null,!0)}),t._v(" "),e("Notification",{directives:[{name:"on-clickaway",rawName:"v-on-clickaway",value:t.closeNotification,expression:"closeNotification"}],attrs:{"is-open":t.showNotificationError},scopedSlots:t._u([{key:"header",fn:function(){return[e("p",{staticClass:"body-copy-1--bold"},[t._v(t._s(t.addToCartErrorMessage))])]},proxy:!0}],null,!1,955106434)})],1):t._e()]),t._v(" "),e("MiniCartContainer",{attrs:{configuration:t.configuration},on:{closeMiniCart:function(e){return t.setMiniCartOpen(!1)}}}
1)],1)},[],!1,null,null,null).exports,Ht=i(6217);!function(t){t.SM="sm",t.MD="md"}(wt||(wt={})),function(t){t.PRIMARY="primary",t.DARK="dark",t.LIGHT="light",t.DELETE="delete"}(Ot||(Ot={}));var Et=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let Dt=class extends o.lD{constructor(){super(...arguments),this.linkTheme=Ot,this.buttonTheme=at.Y6,this.buttonSize=at.S4,this.iconName=c.Rt,this.iconNameUI=c.zH,this.iconGroup=c.jc,this.iconPrevName=this.isRTL?c.zH.right:c.zH.left,this.iconPrevSize=c.Jw.SM,this.iconPrevGroup=c.jc.UI}getLinkClasses(t){return["my-account-modal__link",{"my-account-modal__link--active":this.isSignedIn&&t.active}]}};Et([(0,o.kv)({required:!0})],Dt.prototype,"links",void 0),Et([(0,o.kv)({required:!0})],Dt.prototype,"signInLabel",void 0),Et([(0,o.kv)({required:!0})],Dt.prototype,"signOutLabel",void 0),Et([(0,o.kv)({required:!0})],Dt.prototype,"createAccountLabel",void 0),Et([(0,o.kv)({required:!0})],Dt.prototype,"learnMoreLabel",void 0),Et([(0,o.kv)()],Dt.prototype,"learnMoreLink",void 0),Et([(0,o.kv)()],Dt.prototype,"isSignedIn",void 0),Et([(0,o.kv)({required:!1,default:"Back"})],Dt.prototype,"backToMainMenu",void 0),Et([(0,o.kv)({required:!1,default:!1})],Dt.prototype,"isHamburgerMenu",void 0),Et([(0,o.kv)({required:!1,default:!1})],Dt.prototype,"isRTL",void 0),Dt=Et([(0,o.uA)({name:"hue-my-account-modal",components:{HueIcon:l.A,HueLink:Ht.A,HueButton:f.A}})],Dt);var Ft=Dt,$t=(0,C.A)(Ft,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"my-account-modal"},[t.isHamburgerMenu?e("button",{staticClass:"my-account-modal__back-icon my-account-modal__link body-copy-1--bold",attrs:{type:"button","data-test":"hamburger-menu"},on:{click:function(e){return t.$emit("closeClick")}}},[e("HueIcon",{attrs:{name:t.iconPrevName,group:t.iconPrevGroup,size:t.iconPrevSize}}),t._v("\n        "+t._s(t.backToMainMenu)+"\n    ")],1):e("button",{staticClass:"my-account-modal__close-icon",attrs:{type:"button","aria-label":t.iconNameUI.close,"data-test":"hamburger-close-icon"},on:{click:function(e){return t.$emit("closeClick")}}},[e("HueIcon",{attrs:{name:t.iconNameUI.close}})],1),t._v(" "),t._l(t.links,function(i,n){return[i.external?e("HueLink",{key:n,staticClass:"my-account-modal__link my-account-modal__link--external",attrs:{"data-test":`my-account-link-${n+1}`,theme:t.linkTheme.DARK,href:i.link,target:"_blank"}},[t._v("\n            "+t._s(i.text)+"\n            "),e("HueIcon",{staticClass:"my-account-modal__link-icon",attrs:{name:t.iconName.uiControl
1sMiniExternal,group:t.iconGroup.HUE}})],1):e("button",{key:n,staticClass:"my-account-modal__link link link--dark link--md",class:t.getLinkClasses(i),attrs:{"data-test":`my-account-button-${n+1}`,type:"button"},on:{click:function(e){return t.$emit("linkClick",i)}}},[t._v("\n            "+t._s(i.text)+"\n        ")])]}),t._v(" "),t.isSignedIn?e("button",{staticClass:"my-account-modal__sign-out-link my-account-modal__link",attrs:{type:"button","data-test":"my-account-sign-out-button"},on:{click:e=>t.$emit("signOutClick",e)}},[e("HueIcon",{attrs:{name:"log-out"}}),t._v("\n        "+t._s(t.signOutLabel)+"\n    ")],1):[e("HueButton",{staticClass:"my-account-modal__sign-in-button",attrs:{label:t.signInLabel,theme:t.buttonTheme.PRIMARY,"full-width":!0,size:t.buttonSize.SM,"data-test":"my-account-sign-in-button"},on:{click:function(e){return t.$emit("signInClick")}}}),t._v(" "),e("button",{staticClass:"my-account-modal__create-account-link my-account-modal__link link link--primary link--md",attrs:{type:"button","data-test":"my-account-sign-up-button"},on:{click:e=>t.$emit("signUpClick",e)}},[t._v("\n            "+t._s(t.createAccountLabel)+"\n        ")]),t._v(" "),t.learnMoreLink?e("HueLink",{staticClass:"my-account-modal__learn-more-link my-account-modal__link",attrs:{label:t.learnMoreLabel,href:t.learnMoreLink,"data-test":"learn more"}}):t._e()]],2)},[],!1,null,"3a34eba2",null).exports,jt=i(2289),Bt=i(5623),qt=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let zt=class extends((0,n.mixins)(v.A,I.A)){constructor(){super(...arguments),this.myAccountTitle=this.configuration.translations?.myAccount??"My Account",this.modalOpen=!1,this.isAuthenticated=!1,this.iconName=c.Rt,this.iconGroup=c.jc,this.iconSize=c.Jw,this.activeLink="",this.analytics=M}mounted(){this.activeLink=window.location.hash.slice(1),this.listenForRouteChange()}async onAuthenticationPendingChange(t){if(!t)try{this.isAuthenticated=!!await(jt.c?.getIdToken())}catch(t){t instanceof jt.u&&Bt.A.info("MyAccountHeaderComponent","onAuthenticationPendingChange","Suppressing MyAccountLoginRequiredError",t)}}get classNames(){return["my-account-container",{"my-account-container--signed-in":this.isAuthenticated}]}get signOutLabel(){return this.configuration.translations.signOut}get signInLabel(){return this.configuration.translations.signIn}get createAccountLabel(){return this.configuration.translations.createAccount}get learnMoreLabel(){return this.configuration.translations.learnMore}get learnMoreLink(){return this.configuration.learnMore}get links(){return this.configuration.links.map(t=>{const e=t.link.split("#")[1];return t.active=!!this.activeLink&&this.activeLink.includes(e),t})}toggleModal(){this.modalOpen=!this.modalOpen,this.isHamburgerMenu&&this.$emit("toggleModalInHeader",this.modalOpen)}hideModal(){this.modalOpen=!1}onLinkClick(t){this.isAuthenticated?window.location.href=t.link:this.logIn(t.redirectUri)}listenForRouteChange(){window.addEventListener("onRouteChange",t=>{this.hideModal(),this.activeLink=t.detail})}};qt([(0,o.kv)({required:!0})],zt.prototype,"configuration",void 0),qt([(0,o.kv)({required:!0})],zt.prototype,"isAuthenticationPending",void 0),qt([(0,o.kv)({default:!1})],zt.prototype,"showIconLabel",void 0),qt([(0,o.kv)({required:!1,default:"Back"})],zt.prototype,"backToMainMenu",void 0),qt([(0,o.kv)({required:!1,default:!1})],zt.prototype,"isHamburgerMenu",void 0),qt([(0,o.kv)({required:!1,default:!1})],zt.prototype,"isRTL",void 0),qt([(0,o.kv)({default:"0"})],zt.prototype,"myAccountTabIndex",void 0),qt([(0,o.kv)({default:!1})],zt.prototype,"myAccountAriaHidden",void 0),qt([(0,o.ox)("isAuthenticationPending",{immediate:!0})],zt.prototype,"onAuthenticationPendingChange",null),zt=qt([(0,o.uA)({name:"my-account-header-container",components:{HueMyAccountModal:$t,HueIcon:l.A},directives:{onClickaway:h.u$}})],zt);var Ut=zt,Gt=(0,C.A)(Ut,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{directives:[{name:"on-clickaway",rawName:"v-on-clickaway",value:t.hideModal,expression:"hideModal"}],class:t.classNames},[e("button",{staticClass:"my-account-container__icons-button",attrs:{tabindex:t.myAccountTabIndex,"aria-hidden":t.myAccountAriaHidden,type:"button","data-tracking-info":t.analytics.getButtonIconAnalytics(t.myAccountTitle,(t.modalOpen?"open":"close")+" My Account")},on:{click:t.toggleModal}},[e("HueIcon",{attrs:{name:t.iconName.profile,group:t.iconGroup.HUE,size:t.iconSize.MD}}),t._v(" "),t.showIconLabel?e("span",{staticClass:"my-account-container__label"},[t._v(t._s(t.myAccountTitle))]):t._e()],1),t._v(" "),t.modalOpen?e("HueMyAccountModal",{attrs:{links:t.links,"sign-out-label":t.signOutLabel,"sign-in-label":t.signInLabel,"create-account-label":t.createAccountLabel,"learn-more-label":t.learnMoreLabel,"learn-more-link":t.learnMoreLink,"is-signed-in":t.isAuthenticated,"back-to-main-menu":t.backToMainMenu,"is-hamburger-menu":t.isHamburgerMenu,"is-r-t-l":t.isRTL},on:{closeClick:t.toggleModal,signInClick:t.logIn,signUpClick:e=>t.signUp(e.target),signOutClick:e=>t.logOut(e.target),linkClick:e=>t.onLinkClick(e)}}):t._e()],1)},[],!1,null,null,null).exports,Vt=i(9845),Qt=i.n(Vt),Wt=i(3040),Jt=i(3807),Kt=function(t,e,
1i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let Xt=class extends((0,n.mixins)(I.A)){constructor(){super(...arguments),this.icons=Wt.$M}mounted(){this.$refs.search.focus()}};Kt([(0,o.y_)()],Xt.prototype,"t",void 0),Kt([(0,o.kv)({default:"off"})],Xt.prototype,"autocomplete",void 0),Kt([(0,o.kv)()],Xt.prototype,"name",void 0),Kt([(0,o.kv)({default:"button"})],Xt.prototype,"buttonType",void 0),Kt([(0,o.kv)()],Xt.prototype,"inputValue",void 0),Xt=Kt([(0,o.uA)({name:"search-field",components:{Icon:Jt.default}})],Xt);var Yt=Xt,Zt=(0,C.A)(Yt,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("label",{staticClass:"search-field-v2"},[e("input",{ref:"search",staticClass:"search-field-v2__input",attrs:{type:"text",name:t.name,autocomplete:t.autocomplete,placeholder:t.t.f
1ield.placeholder},domProps:{value:t.inputValue},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e=>t.$emit("onSubmit",t.inputValue,e.target)).apply(null,arguments)},input:e=>t.$emit("onChange",e.target.value),focus:()=>t.$emit("onFocus"),blur:()=>t.$emit("onBlur")}}),t._v(" "),e("button",{staticClass:"search-field-v2__button",attrs:{type:t.buttonType},on:{click:function(e){return t.$emit("onSubmit",t.inputValue)}}},[e("Icon",{staticClass:"search-field-v2__icon",attrs:{"icon-name":t.icons.search}})],1)])},[],!1,null,null,null),te=Zt.exports,ee=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let ie=class extends(Qt()){};ee([(0,o.kv)({required:!0})],ie.prototype,"searchSuggestions",void 0),ie=ee([(0,o.uA)({name:"search-suggestions"})],ie);var ne=ie,oe=(0,C.A)(ne,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"search-suggestions-v2-wrapper"},[e("div",{staticClass:"search-suggestions-v2"},t._l(t.searchSuggestions,function(i){return e("div",{key:i.id,staticClass:"search-suggestions-v2__item"},[e("a",{staticClass:"search-suggestions-v2__item-link",attrs:{href:i.link}},[t._v(t._s(i.name))])])}),0)])},[],!1,null,null,null).exports,ae=i(9034),se=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let re=class extends(Qt()){get showSearchSuggestion(){return!!(this.suggestionsEnabled&&this.searchSuggestions?.length>0)}};se([(0,o.kv)({required:!0})],re.prototype,"searchSuggestions",void 0),se([(0,o.kv)({required:!0})],re.prototype,"suggestionsEnabled",void 0),se([(0,o.kv)()],re.prototype,"inputValue",void 0),re=se([(0,o.uA)({name:"search-input",components:{SearchField:te,SearchSuggestions:oe,TransitionExpand:ae.A}})],re);var ce=re,le=(0,C.A)(ce,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("SearchField",{attrs:{"input-value":t.inputValue},on:{onSubmit:(e,i)=>t.$emit("onSubmit",e,i),onChange:e=>t.$emit("onChange",e)}}),t._v(" "),e("transition-expand",[t.showSearchSuggestion?e("SearchSuggestions",{attrs:{"search-suggestions":t.searchSuggestions}}):t._e()],1)],1)},[],!1,null,null,null).exports,ue=i(1860),de=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let pe=class extends o.lD{constructor(){super(...arguments),this.searchTerm="",this.searchSuggestions=[],this.debounceTimeoutId=0,this.suggestionsMinimumCharacters=3}onSearchInputChange(t){this.searchTerm=t,clearTimeout(this.debounceTimeoutId),this.debounceTimeoutId=window.setTimeout(()=>{this.getSuggestions()},300)}async getSuggestions(){if(this.config.suggestionsEnabled&&this.searchTerm.length>=this.suggestionsMinimumCharacters&&this.config.endpoint)try{const t=await ue.k.getSearchSuggestionsData(this.config.endpoint,this.searchTerm);this.searchSuggestions=t.results}catch(t){Bt.A.log("Could not retrieve suggestions",t)}else this.searchSuggestions=[]}isValidSearchTerm(){return""!==this.searchTerm?.trim()}onSearchInputSubmit(t){this.searchTerm=t,this.searchSuggestions=[],this.redirectToSearchPage()}redirectToSearchPage(){this.isValidSearchTerm()&&(window.location.href=`${this.config?.searchPageLink}?query=${encodeURIComponent(this.searchTerm)}`)}};de([(0,o.kv)({required:!0})],pe.prototype,"config",void 0),pe=de([(0,o.uA)({name:"search-container",components:{SearchInput:le,TransitionExpand:ae.A}})],pe);var he=pe,me=(0,C.A)(he,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{staticClass:"search-v2 header__search"},[e("transition-expand",[e("div",{staticClass:"search__field-v2 container"},[e("SearchInput",{attrs:{"input-value":t.searchTerm,"search-suggestions":t.searchSuggestions,"suggestions-enabled":t.config.suggestionsEnabled},on:{onSubmit:e=>t.onSearchInputSubmit(e),onChange:e=>t.onSearchInputChange(e)}})],1)])],1)}
1,[],!1,null,null,null).exports,ge=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let ve=class extends o.lD{};ge([(0,o.kv)({type:String})],ve.prototype,"image",void 0),ge([(0,o.kv)({type:String})],ve.prototype,"text",void 0),ge([(0,o.kv)({type:String})],ve.prototype,"link",void 0),ve=ge([(0,o.uA)({name:"navigation-card"})],ve);var fe=ve,ye=(0,C.A)(fe,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("a",{staticClass:"navigation-card__link",attrs:{href:t.link}},[e("img",{staticClass:"navigation-card__image",attrs:{srcset:t.image,alt:"",loading:"lazy",fetchpriority:"low"}}),t._v(" "),e("div",{staticClass:"navigation-card__title-wrapper"},[e("p",{staticClass:"navigation-card__title heading-6"},[t._v(t._s(t.text))])])])},[],!1,null,null,null).exports,_e=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let be=class extends o.lD{constructor(){super(...arguments),this.iconNextName=this.isRTL?c.zH.left:c.zH.right,this.iconNextSize=c.Jw.SM,this.iconNextGroup=c.jc.UI,this.iconCloseName=c.zH.close,this.iconCloseSize=c.Jw.MD,this.iconCloseGroup=c.jc.UI,this.closeButton=this.i18n?.closeButton??"Close",this.secondaryMenu=this.submenuLabel??"Secondary menu",this.analytics=M}closeFlyout(){this.$emit("closeFlyout")}get flyoutNavClasses(){return`flyout-v2__nav--count-${this.itemList.length}`}};_e([(0,o.kv)({required:!0})],be.prototype,"itemList",void 0),_e([(0,o.kv)({required:!1})],be.prototype,"submenuItemList",void 0),_e([(0,o.kv)({default:!1})],be.prototype,"isRTL",void 0),_e([(0,o.kv)({default:!1})],be.prototype,"i18n",void 0),_e([(0,o.kv)({required:!1})],be.prototype,"submenuLabel",void 0),be=_e([(0,o.uA)({name:"flyout-element",components:{NavigationCard:ye,HueIcon:l.A}})],be);var Ce=be,ke=(0,C.A)(Ce,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"flyout-v2"},[e("section",{staticClass:"container flyout-v2__inner-wrapper"},[e("button",{staticClass:"flyout-v2__close-button",attrs:{type:"button","aria-label":t.closeButton,"data-tracking-info":t.analytics.getButtonIconAnalytics(t.closeButton,`close ${t.submenuItemList.title} flyout`)},on:{click:t.closeFlyout}},[e("HueIcon",{attrs:{name:t.iconCloseName,group:t.iconCloseGroup,size:t.iconCloseSize}})],1),t._v(" "),t.submenuItemList?.title?e("header",{staticClass:"flyout-v2__submenu-title heading-4"},[t._v("\n            "+t._s(t.submenuItemList.title)+"\n        ")]):t._e(),t._v(" "),e("nav",{staticClass:"flyout-v2__nav",class:t.flyoutNavClasses,attrs:{"aria-label":t.secondaryMenu}},t._l(t.itemList,function(i,n){return e("section",{key:n,staticClass:"flyout-v2__block",class:"LinksMenuBlock"===i.type?"flyout-v2__block--links":"flyout-v2__block--cards"},["Card"===i.type?[i.link&&i.image?e("NavigationCard",{attrs:{text:i.title,link:i.link,image:i.image}}):t._e()]:[i.image?e("img",{staticClass:"flyout-v2__block-image",attrs:{srcset:i.image,alt:i.title,loading:"lazy",fetchpriority:"low",src:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAEALAAAAAABAAEAAAIBTAA7"}}):t._e(),t._v(" "),i.title?e("header",{staticClass:"flyout-v2__block-title heading-7"},[t._v(t._s(i.title))]):t._e(),t._v(" "),e("ul",{staticClass:"flyout-v2__list"},[t._l(i.items,function(i,n){return e("li",{key:n,staticClass:"flyout-v2__li"},[e("a",{staticClass:"flyout-v2__link text-label",attrs:{href:i.link}},[t._v(t._s(i.label))])])}),t._v(" "),i.link?e("li",{staticClass:"flyout-v2__li"},[e("a",{staticClass:"flyout-v2__link navigation-menu-link--primary text-label--bold",attrs:{href:i.link.link}},[t._v("\n                                "+t._s(i.link.label)+"\n                                "),e("HueIcon",{attrs:{name:t.iconNextName,group:t.iconNextGroup,size:t.iconNextSize}})],1)]):t._e()],2)]],2)}),0),t._v(" "),t.submenuItemList?.label&&t.submenuItemList?.link?e("a",{staticClass:"flyout-v2__submenu-link text-label--bold",attrs:{href:t.submenuItemList.link}},[e("span",[t._v(t._s(t.submenuItemList.label))]),t._v(" "),e("HueIcon",{attrs:{name:t.iconNextName,group:t.iconNextGroup,size:t.iconNextSize}})],1):t._e()])])}
1,[],!1,null,null,null).exports,Ae=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let Me=class extends o.lD{constructor(){super(...arguments),this.isOnMenu=!1,this.isFlyoutDown=!1,this.isFlyoutAvoidEvents=!1,this.inactivityPeriod=400,this.whichFlyoutIsNext=-1,this.whichFlyoutIsPrev=-1,this.slideClassName="",this.defaultFlyoutHeight=550,this.enterTimeout=null}flyoutEvents(t,e,i){if("enter"===i&&this.whichFlyoutIsNext!==e)this.enterTimeout=setTimeout(()=>{this.flyoutEnter(e),setTimeout(()=>{this.isFlyoutAvoidEvents=!1},100)},this.inactivityPeriod);else if("leave"===i){if(this.isFlyoutAvoidEvents)return;this.enterTimeout&&(clearTimeout(this.enterTimeout),this.enterTimeout=null),this.isOnMenu=!!t?.relatedTarget?.closest(".flyout-v2-trigger"),!this.isOnMenu&&this.isFlyoutDown&&(this.flyoutLeave(e),setTimeout(()=>{this.slideClassName="",this.whichFlyoutIsPrev=-1,this.isFlyoutAvoidEvents=!1},500))}}flyoutEnter(t){const e=this.$refs[`flyout-${t}`][0],i=e?.$el?.clientHeight??this.defaultFlyoutHeight;this.$el.style.setProperty("--bg-flyout-height",`${i}px`),this.isFlyoutAvoidEvents=!0,this.isOnMenu=!0,this.isFlyoutDown?this.slideClassName="header-v2__menu--is-slide-down":(this.slideClassName="header-v2__menu--sliding-down",this.isFlyoutDown=!0),-1!==this.whichFlyoutIsNext&&(this.whichFlyoutIsPrev=this.whichFlyoutIsNext),this.whichFlyoutIsNext=t}flyoutLeave(t){this.isFlyoutAvoidEvents=!0,this.slideClassName="header-v2__menu--sliding-up",this.$el.style.setProperty("--bg-flyout-height","0px"),this.isFlyoutDown=!1,this.whichFlyoutIsNext=-1,this.whichFlyoutIsPrev=t}toggleFlyout(t){this.isFlyoutDown?this.flyoutEvents(null,t,"leave"):this.flyoutEvents(null,t,"enter")}forceCloseFlyout(){this.isFlyoutAvoidEvents=!0,this.slideClassName="header-v2__menu--sliding-up",this.$el.style.setProperty("--bg-flyout-height","0px"),this.isFlyoutDown=!1,this.isOnMenu=!1,this.whichFlyoutIsNext=-1,setTimeout(()=>{this.slideClassName="",this.isFlyoutAvoidEvents=!1,this.whichFlyoutIsPrev=-1},500)}flyoutClassName(t){return t.menu?"flyout-v2-trigger":""}triggerClassName(t){return this.whichFlyoutIsNext===t?"flyout-v2-trigger--to-visible":this.whichFlyoutIsPrev===t?"flyout-v2-trigger--from-visible":""}calculateRightMenuIndex(t){return t+this.menuItemsLeft.length}};Ae([(0,o.kv)({required:!0})],Me.prototype,"menuItemsLeft",void 0),Ae([(0,o.kv)({required:!1,default:()=>[]})],Me.prototype,"menuItemsRight",void 0),Ae([(0,o.kv)({required:!0})],Me.prototype,"headerTranslations",void 0),Ae([(0,o.ox)("triggerClassName")],Me.prototype,"triggerClassName",null),Me=Ae([(0,o.uA)({name:"menu-block-container",components:{FlyoutElement:ke}})],Me);var Ie=Me,Pe=(0,C.A)(Ie,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("ul",{ref:"menuBlockContainer",staticClass:"header-v2__menu",class:t.slideClassName},[t._l(t.menuItemsLeft,function(i,n){return e("li",{key:`menu-${n}`,staticClass:"header-v2__menu-item header-v2__menu-item--desktop",class:[t.triggerClassName(n),t.flyoutClassName(i)]},[i.menu?e("div",{staticClass:"header-v2__menu-item--submenu",on:{mouseenter:function(e){return t.flyoutEvents(e,n,"enter")},mouseleave:function(e){return t.flyoutEvents(e,n,"leave")},focus:function(e){return t.flyoutEvents(e,n,"enter")},blur:function(e){return t.flyoutEvents(e,n,"leave")},touchstart:function(e){return t.flyoutEvents(e,n,"enter")},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.stopPropagation(),e.preventDefault(),t.toggleFlyout(n))}}},[e("a",{staticClass:"header-v2__menu-item__link flyout-v2-trigger__link",class:n,attrs:{href:i.link}},[t._v("\n                "+t._s(i.title)+"\n            ")]),t._v(" "),i.menu?e("FlyoutElement",{ref:`flyout-${n}`,refInFor:!0,attrs:{"item-list":i.menu,"submenu-item-list":i.subMenu,"submenu-label":t.headerTranslations?.secondaryMenu},on:{closeFlyout:t.forceCloseFlyout}}):t._e()],1):e("a",{staticClass:"header-v2__menu-item__link",attrs:{href:i.link}},[t._v("\n            "+t._s(i.title)+"\n        ")])])}),t._v(" "),t.menuItemsRight.length?[e("li",{staticClass:"header-v2__menu-item-divider",attrs:{"aria-hidden":"true",role:"presentation"}}),t._v(" "),t._l(t.menuItemsRight,function(i,n){return e("li",{key:`menu-${t.calculateRightMenuIndex(n)}`,staticClass:"header-v2__menu-item header-v2__menu-item--desktop",class:[t.triggerClassName(t.calculateRightMenuIndex(n)),t.flyoutClassName(i)]},[i.menu?e("div",{staticClass:"header-v2__menu-item--submenu",on:{mouseenter:function(e){t.flyoutEvents(e,t.calculateRightMenuIndex(n),"enter")},mouseleave:function(e){t.flyoutEvents(e,t.calculateRightMenuIndex(n),"leave")},focus:function(e){t.flyoutEvents(e,t.calculateRightMenuIndex(n),"enter")},blur:function(e){t.flyoutEvents(e,t.calculateRightMenuIndex(n),"leave")},touchstart:function(e){t.flyoutEvents(e,t.calculateRightMenuIndex(n),"enter")},keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"]))return null;e.stopPropagation(),e.preventDefault(),t.toggleFlyout(t.calculateRightMenuIndex(n))}}},[e("a",{staticClass:"header-v2__menu-item__link flyout-v2-trigger__link",class:t.calculateRightMenuIndex(n),attrs:{href:i.link}},[t._v("\n                    "+t._s(i.title)+"\n                ")]),t._v(" "),i.menu?e("FlyoutElement",{ref:`flyout-${t.calculateRightMenuIndex(n)}`,refInFor:!0,attrs:{"item-list":i.menu,"submenu-item-list":i.subMenu,"submenu-label":t.headerTranslations?.secondaryMenu},on:{closeFlyout:t.forceCloseFlyout}}):t._e()],1):e("a",{staticClass:"header-v2__menu-item__link",attrs:{href:i.link}},[t._v("\n                "+t._s(i.title)+"\n            ")])])})]:t._e()],2)}
1,[],!1,null,null,null).exports,Se=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let xe=class extends o.lD{constructor(){super(...arguments),this.icons=Wt.$M,this.iconSize=Wt.lK}};Se([(0,o.kv)({required:!0})],xe.prototype,"config",void 0),xe=Se([(0,o.uA)({name:"mobile-country-selector",components:{Icon:Jt.default}})],xe);var Te=xe,Le=(0,C.A)(Te,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"mobile-country-selector"},[e("span",{staticClass:"mobile-country-selector__country-name heading-6--sans"},[t._v("\n        "+t._s(t.config.topCountrySelectorConfig.countryName)+"\n    ")]),t._v(" "),e("a",{staticClass:"mobile-country-selector__region-link text-link",attrs:{href:t.config.regionLink}},[t._v("\n        "+t._s(t.config.regionText)+"\n        "),t.config.regionText?e("Icon",{attrs:{"icon-name":t.icons.right,"icon-size":t.iconSize.sm}}):t._e()],1)])},[],!1,null,null,null).exports,we=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let Oe=class extends o.lD{constructor(){super(...arguments),this.activeIndex=-1,this.showSecondaryMenu=!1,this.showMyAccountMenu=!1,this.mobileMenuSecondary="",this.mainMenuTabIndex="0",this.mainMenuAriaHidden=!1,this.iconCloseName=c.zH.close,this.iconCloseSize=c.Jw.MD,this.iconCloseGroup=c.jc.UI,this.iconNextName=this.isRTL?c.zH.left:c.zH.right,this.iconNextSize=c.Jw.SM,this.iconNextGroup=c.jc.UI,this.iconPrevName=this.isRTL?c.zH.right:c.zH.left,this.iconPrevSize=c.Jw.SM,this.iconPrevGroup=c.jc.UI,this.iconAccountName=c.Rt.profile,this.iconAccountSize=c.Jw.MD,this.iconAccountGroup=c.jc.HUE,this.closeHamburgerMenu=this.config.navigationTranslation?.closeHamburgerMenu??"Close hamburger menu",this.mainMenu=this.config.navigationTranslation?.mainMenu??"Main menu",this.secondaryMenu=this.config.navigationTranslation?.secondaryMenu??"Secondary menu",this.backToMainMenu=this.config.navigationTranslation?.backLinkLabel??"Back",this.myAccountTitle=this.config.myAccountMenu?.translations?.myAccount??"My account",this.myCartTitle=this.config.cartMenu?.translations?.title??"My cart",this.animationTime=500,this.analytics=M}get cartPageLink(){return this.config.cartMenu?.cartPageLink}get renderAccountLink(){return!!this.config.myAccountMenu.accountPageLink&&!this.config.myAccountMenu.enabled}getIconHighlightedName(t){const e=t?.split("|");return e?.[1]??""}getIconHighlightedGroup(t){const e=t?.split("|");return e?.[0]??"ui"}get countrySelectorDetails(){return{...this.config.topCountrySelector,regionText:this.config.changeRegionText,regionLink:this.config.changeRegionLink}}get allMenuItems(){return[...this.config.menu,...this.config.highlightedMenuItems||[]]}gotoSubmenu(t){this.activeIndex=t,this.showSecondaryMenu=!0,this.mobileMenuSecondary="mobile-navigation-v2--secondary",this.mainMenuTabIndex="-1",this.mainMenuAriaHidden=!0,setTimeout(()=>{const t=this.$refs.mobileSecondaryMenuBackButton;t?.focus()},this.animationTime)}get activeSubnavigation(){const t=this.allMenuItems[this.activeIndex];if(!t?.menu||0===t.menu.length)return{type:"none",title:"",menuLinksBlocks:[],menuCardsBlocks:[]};return{...t,menuLinksBlocks:t.menu.filter(t=>"LinksMenuBlock"===t.type),menuCardsBlocks:t.menu.filter(t=>"Card"===t.type)}}get isLinksMenuBlock(){return this.activeSubnavigation.menuLinksBlocks?.length>0}get validMenuCardsBlocks(){return this.activeSubnavigation.menuCardsBlocks.filter(t=>t.link&&t.image)}get menuCardsBlocksClass(){return`mobile-navigation-v2__secondary-block-wrapper--count-${this.validMenuCardsBlocks.length}`}get isCards(){return this.validMenuCardsBlocks.length>0}setShowMyAccountMenu(t){this.showMyAccountMenu=t}linksMenuBlockClasses(t){return"NavigationLinksandCardsMenuItems"===t?"mobile-navigation-v2__secondary-block-wrapper--links-and-cards":"mobile-navigation-v2__secondary-block-wrapper--only-l
1inks"}gotoMainMenu(){this.mobileMenuSecondary="",this.showSecondaryMenu=!1,this.activeIndex=-1,this.mainMenuTabIndex="0",this.mainMenuAriaHidden=!1,this.$emit("focusOnCloseMobileButton")}};we([(0,o.kv)({required:!0})],Oe.prototype,"config",void 0),we([(0,o.kv)({required:!1,default:!1})],Oe.prototype,"isRTL",void 0),we([(0,o.oS)()],Oe.prototype,"mobileMainMenu",void 0),we([(0,o.oS)()],Oe.prototype,"mobileSecondaryMenu",void 0),we([(0,o.oS)()],Oe.prototype,"mobileMyAccountMenu",void 0),Oe=we([(0,o.uA)({name:"mobile-navigation",components:{NavigationCard:ye,CartIconContainer:Rt,MyAccountHeaderContainer:Gt,HueIcon:l.A,MobileCountrySelector:Le}})],Oe);var Ne=Oe,Re=(0,C.A)(Ne,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"mobile-navigation-v2",class:t.mobileMenuSecondary},[e("nav",{ref:"mobileMainMenu",staticClass:"mobile-navigation-v2__primary",attrs:{"aria-label":t.mainMenu}},[e("ul",{staticClass:"mobile-navigation-v2__main"},[t._l(t.config.menu,function(i,n){return e("li",{key:i.title,staticClass:"mobile-navigation-v2__main-item"},[i.menu&&i.menu.length>0?e("button",{staticClass:"mobile-navigation-v2__link body-copy-2",attrs:{tabindex:t.mainMenuTabIndex,"aria-hidden":t.mainMenuAriaHidden,type:"button","data-tracking-info":t.analytics.getButtonIconAnalytics(i.title,"navigate to submenu")},on:{click:function(e){return e.preventDefault(),t.gotoSubmenu(n)}}},[e("span",{staticClass:"mobile-navigation-v2__link-label"},[t._v(t._s(i.title))]),t._v(" "),e("HueIcon",{attrs:{name:t.iconNextName,group:t.iconNextGroup,size:t.iconNextSize}})],1):e("a",{staticClass:"mobile-navigation-v2__link body-copy-2",attrs:{href:i.link,tabindex:t.mainMenuTabIndex,"aria-hidden":t.mainMenuAriaHidden}},[e("span",{staticClass:"mobile-navigation-v2__link-label"},[t._v(t._s(i.title))])])])}),t._v(" "),t.config.highlightedMenuItems?.length?[e("li",{staticClass:"mobile-navigation-v2__menu-item-divider",attrs:{"aria-hidden":"true",role:"presentation"}}),t._v(" "),t._l(t.config.highlightedMenuItems,function(i,n){return e("li",{key:i.title,staticClass:"mobile-navigation-v2__generic-item"},[i.menu&&i.menu.length>0?e("button",{staticClass:"mobile-navigation-v2__link body-copy-1",attrs:{tabindex:t.mainMenuTabIndex,"aria-hidden":t.mainMenuAriaHidden,type:"button","data-tracking-info":t.analytics.getButtonIconAnalytics(i.title,"navigate to submenu")},on:{click:function(e){return e.preventDefault(),t.gotoSubmenu(t.config.menu.length+n)}}},[e("HueIcon",{attrs:{name:t.getIconHighlightedName(i.icon),group:t.getIconHighlightedGroup(i.icon)}}),t._v(" "),e("span",{staticClass:"mobile-navigation-v2__link-label"},[t._v(t._s(i.title))]),t._v(" "),e("HueIcon",{attrs:{name:t.iconNextName,group:t.iconNextGroup,size:t.iconNextSize}})],1):e("a",{staticClass:"mobile-navigation-v2__link body-copy-1",attrs:{href:i.link,tabindex:t.mainMenuTabIndex,"aria-hidden":t.mainMenuAriaHidden}},[e("HueIcon",{attrs:{name:t.getIconHighlightedName(i.icon),group:t.getIconHighlightedGroup(i.icon)}}),t._v(" "),e("span",{staticClass:"mobile-navigation-v2__link-label"},[t._v(t._s(i.title))])],1)])})]:t._e()],2),t._v(" "),e("ul",{staticClass:"mobile-navigation-v2__generic"},[t.config.myAccountMenu.enabled||t.renderAccountLink?e("li",{ref:"mobileMyAccountMenu",staticClass:"mobile-navigation-v2__generic-item"},[t.config.myAccountMenu.enabled?[e("MyAccountHeaderContainer",{attrs:{configuration:t.config.myAccountMenu,"is-authentication-pending":!0,"show-icon-label":!0,"back-to-main-menu":t.backToMainMenu,"is-r-t-l":t.isRTL,"is-hamburger-menu":!0,"my-account-tab-index":t.mainMenuTabIndex,"my-account-aria-hidden":t.mainMenuAriaHidden},on:{toggleModalInHeader:e=>t.setShowMyAccountMenu(e)}})]:t.renderAccountLink?e("a",{staticClass:"mobile-navigation-v2__generic-link",attrs:{href:t.config.myAccountMenu.accountPageLink,tabindex:t.mainMenuTabIndex,"aria-hidden":t.mainMenuAriaHidden}},[e("HueIcon",{attrs:{name:t.iconAccountName,group:t.iconAccountGroup,size:t.iconAccountSize}}),t._v(" "),e("span",{staticClass:"mobile-navigation-v2__generic-icon-label"},[t._v(t._s(t.myAccountTitle))])],1):t._e()],2):t._e(),t._v(" "),t.cartPageLink?e("li",{staticClass:"mobile-navigation-v2__generic-item"},[e("CartIconContainer",{attrs:{configuration:t.config.cartMenu,"show-icon-label":!0,"cart-icon-tab-index":t.mainMenuTabIndex,"cart-icon-aria-hidden":t.mainMenuAriaHidden}})],1):t._e()]),t._v(" "),t.config.topCountrySelectorEnabled?e("ul",{staticClass:"mobile-navigation-v2__country-selector"},[e("li",[e("MobileCountrySelector",{attrs:{config:t.countrySelectorDetails}})],1)]):t._e()]),t._v(" "),e("nav",{ref:"mobileSecondaryMenu",staticClass:"mobile-navigation-v2__secondary",attrs:{"aria-label":t.secondaryMenu}},[t.showSecondaryMenu?[e("button",{ref:"mobileSecondaryMenuBackButton",staticClass:"mobile-navigation-v2__back body-copy-1--bold",attrs:{type:"button","data-tracking-event":"component/header/click","data-tracking-info":'{"event":{"effect":"navigate from submenu to main menu"}}'},on:{click:function(e){return e.preventDefault(),t.gotoMainMenu.apply(null,arguments)}}},[e("HueIcon",{attrs:{name:t.iconPrevName,group:t.iconPrevGroup,size:t.iconPrevSize}}),t._v("\n                "+t._s(t.backToMainMenu)+"\n            ")],1),t._v(" "),e("transition",{attrs:{name:"mobile-submenu"}},[e("section",{staticClass:"mobile-navigation-v2__secondary-all-blocks"},[t.activeSubnavigation.subMenu?.title?e("header",{staticClass:"mobile-navigation-v2__secondary-submenu-title heading-4--bold"},[t._v("\n                        "+t._s(t.activeSubnavigation.subMenu.title)+"\n                    ")]):t._e(),t._v(" "),t.isLinksMenuBlock?e("div",{staticClass:"mobile-navigation-v2__secondary-block-wrapper--links",class:t.linksMenuBlockClasses(t.activeSubnavigation.type)},t._l(t.activeSubnavigation.menuLinksBlocks,function(i,n){return e("section",{key:`${t.activeSubnavigation.title}-${i.title}-${n}`,staticClass:"mobile-navigation-v2__secondary-block"},[e("div",{staticClass:"mobile-navigation-v2__secondary-title-wrapper"},[i.image?e("img",{staticClass:"mobile-navigation-v2__secondary-title-image",attrs:{srcset:i.image,alt:i.title,loading:"lazy",fetchpriority:"low",src:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAEALAAAAAABAAEAAAIBTAA7"}}):t._e(),t._v(" "),i.title?e("header",{staticClass:"mobile-navigation-v2__secondary-title text-label--bold"},[t._v("\n                                    "+t._s(i.title)+"\n                                ")]):t._e()]),t._v(" "),e("ul",{staticClass:"mobile-navigation-v2__secondary-menu"},t._l(i.items,function(i,o){return e("li",{key:`${t.activeSubnavigation.title}-${n}-${o}`,staticClass:"mobile-navigation-v2__secondary-item"},[e("a",{staticClass:"mobile-navigation-v2__secondary-link mobile-navigation-v2__secondary-link--black text-label",attrs:{href:i.link}},[t._v("\n                                        "+t._s(i.label)+"\n                                    ")])])}),0),t._v(" "),i.link?e("a",{staticClass:"mobile-navigation-v2__secondary-link text-label--bold",attrs:{href:i.link.link}},[t._v("\n                                "+t._s(i.link.label)+"\n                                "),e("HueIcon",{attrs:{name:t.iconNextName,group:t.iconNextGroup,size:t.iconNextSize}})],1):t._e()])}),0):t._e(),t._v(" "),t.showSecondaryMenu&&t.isCards?e("div",{staticClass:"mobile-navigation-v2__secondary-block-wrapper",class:t.menuCardsBlocksClass},t._l(t.validMenuCardsBlocks,function(i,n){return e("div",{key:`${t.activeSubnavigation.title}-${i.title}-${n}`,staticClass:"mobile-navigation-v2__secondary-card"},[e("NavigationCard",{attrs:{text:i.title,link:i.link,image:i.image}})],1)}),0):t._e(),t._v(" "),t.activeSubnavigation.subMenu?.label&&t.activeSubnavigation.subMenu?.link?e("a",{staticClass:"text-label--bold mobile-navigation-v2__secondary-submenu-link",attrs:{href:t.activeSubnavigation.subMenu.link}},[t._v("\n                        "+t._s(t.activeSubnavigation.subMenu.label)+"\n                        "),e("HueIcon",{attrs:{name:t.iconNextName,group:t.iconNextGroup,size:t.iconNextSize}})],1):t._e()])])]:t._e()],2)])},[],!1,null,null,null),He=Re.exports,Ee=i(8900),De=i(615),Fe=function(t,e,
1i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};const $e=(0,u.MF)(De.UX.NAME_SPACE).Action;let je=class extends(Qt()){constructor(){super(...arguments),this.iconName=Wt.$M,this.iconSize=Wt.lK,this.countryConfig=this.config.topCountrySelectorConfig,this.id="",this.languages=[{language:this.countryConfig.countryDisplayLanguage,link:this.countryConfig.link},{language:this.countryConfig.alternateDisplayLanguage,link:this.countryConfig.alternateLink}],this.visible=!1,this.prepareVisible=!1}get sortedLanguages(){return this.languages.sort((t,e)=>t.language>e.language?1:-1)}get currentLanguage(){return this.config.topCountrySelectorConfig.countryDisplayLanguage}showFlyout(){this.timeoutShow=setTimeout(()=>{this.prepareVisible=!0},50),this.visible=!0,this.attachClickEvent()}hideFlyout(){this.prepareVisible=!1,this.timeoutHide=setTimeout(()=>{this.visible=!1},250),this.removeClickEvent()}async toggleFlyout(t){if(this.visible)this.hideFlyout();else{this.showFlyout(),await this.closeSearchField();const e=t.currentTarget;this.currentFlyout=e.parentNode}}get triggerClassName(){return["flyout-trigger",this.prepareVisible&&"flyout-trigger--enter",this.visible&&"flyout-trigger--visible"].filter(t=>t).join(" ")}beforeDestroy(){clearTimeout(this.timeoutShow),clearTimeout(this.timeoutHide)}handleOutsideClick(t){const e=t.target;this.visible&&!this.currentFlyout.contains(e)&&this.hideFlyout(),this.visible||this.$el.contains(e)||this.removeClickEvent()}attachClickEvent(){document.addEventListener("click",this.handleOutsideClick)}removeClickEvent(){document.removeEventListener("click",this.handleOutsideClick)}};Fe([$e(De.tA.CLOSE_SEARCH_FIELD)],je.prototype,"closeSearchField",void 0),Fe([(0,o.kv)({required:!0})],je.prototype,"config",void 0),je=Fe([(0,o.uA)({name:"top-country-selector",components:{Icon:Jt.default}})],je);var Be=je,qe=(0,C.A)(Be,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"top-country-selector"},[e("div",{staticClass:"top-country-selector__section",class:t.triggerClassName,attrs:{tabindex:"0",role:"button"},on:{click:function(e){return t.toggleFlyout(e)},keyup:function(e){return t.toggleFlyout(e)}}},[e("span",{staticClass:"top-country-selector__country-code text-label--semibold"},[t._v("\n            "+t._s(`${t.countryConfig.countryCode} | ${t.countryConfig.countryLanguage}`)+"\n        ")]),t._v(" "),e("span",{staticClass:"top-country-selector__icon-up"},[e("Icon",{attrs:{"icon-name":t.iconName.up,"icon-size":t.iconSize.sm}})],1),t._v(" "),e("span",{staticClass:"top-country-selector__icon-down"},[e("Icon",{attrs:{"icon-name":t.iconName.down,"icon-size":t.iconSize.sm}})],1),t._v(" "),e("div",{staticClass:"top-country-selector__flyout"},[t.countryConfig.hasAlternate?e("ul",{staticClass:"top-country-selector__flyout-list"},t._l(t.sortedLanguages,function(i,n){return e("li",{key:n,staticClass:"top-country-selector__flyout-li"},[e("div",{staticClass:"flyout-list-container"},[e("a",{staticClass:"top-country-selector__flyout-link",attrs:{href:i.link}},[e("div",{staticClass:"radio-field"},[e("input",{staticClass:"radio-field__input",attrs:{id:i.language+n,type:"radio"},domProps:{checked:t.currentLanguage===i.language}}),t._v(" "),e("label",{staticClass:"radio-field__label",attrs:{for:i.language+n,"aria-label":i.language}},[e("span",{staticClass:"radio-field__icon"})])]),t._v(" "),e("span",{staticClass:"top-country-selector__flyout-language"},[t._v("\n                                "+t._s(i.language)+"\n                            ")])])])])}),0):e("ul",{staticClass:"top-country-selector__flyout-list"},[e("li",{staticClass:"top-country-selector__flyout-li"},[e("div",{staticClass:"flyout-list-container"},[e("a",{staticClass:"top-country-selector__flyout-link",attrs:{href:t.countryConfig.link}},[e("div",{staticClass:"radio-field"},[e("input",{staticClass:"radio-field__input",attrs:{id:t.countryConfig.countryDisplayLanguage,type:"radio",checked:""}}),t._v(" "),e("label",{staticClass:"radio-field__label",attrs:{for:t.countryConfig.countryDisplayLanguage,"aria-label":t.countryConfig.countryDisplayLanguage}},[e("span",{staticClass:"radio-field__icon"})])]),t._v(" "),e("span",{staticClass:"top-country-selector__flyout-language"},[t._v("\n                                "+t._s(t.countryConfig.countryDisplayLanguage)+"\n                            ")])])])])]),t._v(" "),e("div",[e("a",{staticClass:"top-country-selector__region-link",attrs:{href:t.config.regionLink}},[e("div",{staticClass:"top-country-selector__flyout-country"},[e("span",{staticClass:"flyout-country-name"},[t._v("\n                            "+t._s(t.countryConfig.countryName)+"\n                        ")])]),t._v(" "),t.config.regionText?e("span",{staticClass:"top-country-selector__flyout-change-region text-link"},[t._v("\n                        "+t._s(t.config.regionText)+"\n                        "),e("Icon",{attrs:{"icon-name":t.iconName.right}})],1):t._e()])])])])])}
1,[],!1,null,null,null).exports,ze=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let Ue=class extends((0,n.mixins)(a.A,s.A,v.A,r.A)){constructor(){super(...arguments),this.globalIconPath=this.config.global.paths.icons,this.t=this.config.searchMenu?.translations,this.logoAltText=this.config.logoImage.altText??"",this.logoImageSrc=this.config.logoImage.imageReference,this.isStickyHeader=this.config.stickyHeader??!1,this.hamburgerMenu=this.config.navigationTranslation?.hamburgerMenu??"Hamburger menu",this.myAccountTitle=this.config.myAccountMenu?.translations?.myAccount??"My account",this.searchTitle=this.config.searchMenu?.translations?.title??"Search",this.mainMenu=this.config.navigationTranslation?.mainMenu??"Main menu",this.closeHamburgerMenu=this.config.navigationTranslation?.mainMenu??"Close hamburger menu",this.openSearch=!1,this.openMobileMenu=!1,this.iconName=c.Rt,this.iconNameUI=c.zH,this.iconGroup=c.jc,this.iconSize=c.Jw,this.animationTime=500,this.analytics=M,this.isMobile=!1,this.isAnotherStickyComponent=!1,this.isAnotherStickyComponentXS=!1,this.intersectionObserver=null,this.isIntersectionObserver=!1,this.mutationObserver=null,this.isMutationObserver=!1}mounted(){this.isAnotherStickyComponent=document.body.classList.contains("sticky-component"),this.isAnotherStickyComponentXS=document.body.classList.contains("sticky-component--xs-isolate"),this.goToStickyHeader(),setTimeout(()=>{this.$refs.headerV2.classList.remove("header-v2--loading")},this.animationTime),Ee.A.onResize(()=>{this.isMobile=!Ee.A.isLG()}),this.isMobile=!Ee.A.isLG()}toggleSearch(){this.openSearch=!this.openSearch}get cartPageLink(){return this.config.cartMenu?.cartPageLink}get renderAccountLink(){return!!this.config.myAccountMenu.accountPageLink&&!this.config.myAccountMenu.enabled}get displayCountrySelector(){return this.config?.topCountrySelectorEnabled&&!this.isMobile}get countrySelectorDetails(){return{...this.config?.topCountrySelector,regionText:this.config?.changeRegionText,regionLink:this.config?.changeRegionLink}}openMobileNavigation(){const t=this.$refs.headerV2Main,e=this.$refs.headerV2Mobile;this.openMobileMenu=!0,this.setBodyNoScroll(),t.setAttribute("aria-hidden","true"),e.showModal()}focusOnCloseMobileNavigationButton(){const t=this.$refs.closeMobileMenuNavigationButton;t?.focus()}closeMobileNavigation(){const t=this.$refs.headerV2Main,e=this.$refs.headerV2Mobile;this.openMobileMenu=!1,this.removeBodyNoScroll(),t.removeAttribute("aria-hidden"),e.close()}goToStickyHeader(){if(this.isStickyHeader){const t=this.$refs.headerComponentV2;if(!this.isAnotherStickyComponent&&!this.isIntersectionObserver){const e=this.isAnotherStickyComponentXS?"sticky-component--header-s":"sticky-component--header",i=this.isAnotherStickyComponentXS?"header-v2--sticky-s":"header-v2--sticky";document.body.classList.add(e),this.intersectionObserver=new IntersectionObserver(e=>{t.classList.toggle(i,(e[0]?.boundingClientRect.y??0)<0)},{root:null,threshold:1}),this.intersectionObserver.observe(t.parentElement),this.isIntersectionObserver=!0,this.observeBodyClasses()}}}backFromStickyHeader(){if(this.isStickyHeader){const t=this.$refs.headerComponentV2;this.isIntersectionObserver&&this.intersectionObserver&&(document.body.classList.remove("sticky-component--header","sticky-component--header-s"),this.intersectionObserver.unobserve(t.parentElement),this.isIntersectionObserver=!1,this.unObserveBodyClasses())}}observeBodyClasses(){this.isMutationObserver||(this.mutationObserver=new MutationObserver(t=>{t.forEach(t=>{this.isAnotherStickyComponent=t.target.classList.contains("sticky-component"),this.isAnotherStickyComponentXS=t.target.classList.contains("sticky-component--xs-isolate"),this.isAnotherStickyComponent?this.backFromStickyHeader():this.isAnotherStickyComponentXS&&(this.backFromStickyHeader(),this.goToStickyHeader())})}),this.mutationObserver.observe(document.body,{attributes:!0,attributeFilter:["class"]}),this.isMutationObserver=!0)}unObserveBodyClasses(){this.isMutationObserver&&(this.mutationObserver?.disconnect(),this.isMutationObserver=!1)}};ze([(0,o.kv)({required:!0})],Ue.prototype,"config",void 0),ze([(0,o.ku)()],Ue.prototype,"globalIconPath",void 0),ze([(0,o.ku)()],Ue.prototype,"t",void 0),Ue=ze([(0,o.uA)({name:"header-component-v2",components:{HueIcon:l.A,CartIconContainer:Rt,MyAccountHeaderContainer:Gt,SearchContainer:me,MenuBlockContainer:Pe,MobileNavigation:He,TopCountrySelector:qe}})],Ue);var Ge=Ue,Ve=(0,C.A)(Ge,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("header",t._b({ref:"headerComponentV2",staticClass:"header-v2-wrapper",attrs:{"data-cmp-name":"header-component-v2","data-tracking-event":t.config.impression,"data-tracking-info":t.config.trackingInfo}},"header",[t.ssrAttributes,t.analyticsAttributes],!1),[e("div",{ref:"headerV2",staticClass:"header-v2 header-v2--loading",class:{"header-v2--search-open":t.openSearch}},[t.openSearch?e("div",{staticClass:"header-v2__search-container"},[e("SearchContainer",{attrs:{config:t.config.searchMenu}}),t._v(" "),e("div",{staticClass:"header-v2__search-container-close",on:{click:t.toggleSearch}}
1)],1):t._e(),t._v(" "),e("dialog",{ref:"headerV2Mobile",attrs:{id:"hamburgerMenu","aria-modal":"true"}},[e("Transition",{attrs:{name:"mobile-menu"}},[t.openMobileMenu?e("div",{staticClass:"header-v2__mobile-wrapper"},[e("header",{staticClass:"header-v2__mobile-top"},[e("button",{ref:"closeMobileMenuNavigationButton",staticClass:"header-v2__mobile-hamburger-button",attrs:{type:"button","aria-label":t.closeHamburgerMenu,"data-tracking-info":t.analytics.getButtonIconAnalytics(t.closeHamburgerMenu,"close mobile navigation")},on:{click:t.closeMobileNavigation}},[e("HueIcon",{attrs:{name:t.iconNameUI.close,group:t.iconGroup.UI,size:t.iconSize.MD}})],1)]),t._v(" "),e("MobileNavigation",{attrs:{config:t.config},on:{focusOnCloseMobileButton:t.focusOnCloseMobileNavigationButton}})],1):t._e()])],1),t._v(" "),e("section",{ref:"headerV2Main",staticClass:"header-v2__container container"},[e("div",{staticClass:"header-v2__logo"},[e("a",{staticClass:"header-v2__logo-link",attrs:{href:t.config.logoLink}},[e("img",{staticClass:"header-v2__logo-image",attrs:{src:t.logoImageSrc,alt:t.logoAltText}})])]),t._v(" "),e("nav",{staticClass:"header-v2__menu-wrapper header__menu--desktop",attrs:{"aria-label":t.mainMenu}},[e("MenuBlockContainer",{attrs:{"menu-items-left":t.config.menu,"header-translations":t.config.navigationTranslation,"menu-items-right":t.config.highlightedMenuItems}})],1),t._v(" "),e("div",{staticClass:"header-v2__icons"},[t.displayCountrySelector?e("TopCountrySelector",{attrs:{config:t.countrySelectorDetails}}):t._e(),t._v(" "),t.config.searchMenu?e("button",{staticClass:"header-v2__icons-button header-v2__search-button",attrs:{type:"button","aria-label":t.searchTitle,"data-tracking-info":t.analytics.getButtonIconAnalytics(t.searchTitle,(t.openSearch?"open":"close")+" search")},on:{click:t.toggleSearch}},[e("HueIcon",{attrs:{name:t.iconName.search,group:t.iconGroup.HUE,size:t.iconSize.MD}})],1):t._e(),t._v(" "),t.config.myAccountMenu.enabled?e("MyAccountHeaderContainer",{attrs:{configuration:t.config.myAccountMenu,"is-authentication-pending":t.authenticationPending,"is-hamburger-menu":!1}}):t.renderAccountLink?e("a",{staticClass:"header-v2__icons-button header-v2__my-account-button",attrs:{href:t.config.myAccountMenu.accountPageLink,"aria-label":t.myAccountTitle,"data-tracking-info":t.analytics.getButtonIconAnalytics(t.myAccountTitle,"go to My Account")}},[e("HueIcon",{attrs:{name:t.iconName.profile,group:t.iconGroup.HUE,size:t.iconSize.MD}})],1):t._e(),t._v(" "),t.cartPageLink?e("CartIconContainer",{attrs:{configuration:t.config.cartMenu}}):t._e(),t._v(" "),e("button",{staticClass:"header-v2__icons-button header-v2__hamburger-button",attrs:{type:"button","aria-label":t.hamburgerMenu,"aria-expanded":t.openMobileMenu,"aria-controls":"hamburgerMenu","data-tracking-info":t.analytics.getButtonIconAnalytics(t.hamburgerMenu,(t.openMobileMenu?"open":"close")+" mobile navigation")},on:{click:t.openMobileNavigation}},[e("HueIcon",{attrs:{name:t.iconNameUI.hamburger,group:t.iconGroup.UI,size:t.iconSize.MD}})],1)],1)])])])},[],!1,null,null,null).exports,Qe=i(5619);var We={getComponentDefinition:()=>Ve,getStoreDefinitions:()=>[Qe.D]}},9836:function(t,e,i){i.d(e,{A:function(){return r}});var n=i(7607),o=function(t,e,i,n){var o,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(a<3?o(s):a>3?o(e,i,s):o(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let a=class extends n.lD{afterEnter(t){t.style.height="auto"}enter(t){const{height:e}=getComputedStyle(t);t.style.height="0",setTimeout(()=>{t.style.height=e})}leave(t){const{height:e}=getComputedStyle(t);t.style.height=e,setTimeout(()=>{t.style.height="0"})}};a=o([(0,n.uA)({name:"hue-transition-expand"})],a);var s=a,r=(0,i(2881).A)(s,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("transition",{attrs:{name:"expand"},on:{enter:t.enter,afterEnter:t.afterEnter,leave:t.leave}},[t._t("default")],2)},[],!1,null,"c9675900",null).exports}}]);

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.