1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9231],{48318:function(e,t,r){var n=r(27378);let i=(0,n.forwardRef)(function({testId:e="fs-checkbox",partial:t,...r},i){return n.createElement("input",{ref:i,"data-fs-checkbox":!0,"data-testid":e,"data-fs-checkbox-partial":t,type:"checkbox",...r})});t.Z=i},86194:function(e,t,r){var n=r(27378),i=r(70928);let a=(0,n.forwardRef)(function({value:e,as:t="span",variant:r="selling",testId:a="fs-price",formatter:o=e=>e,SRText:s,...c},d){let l=o(e,r);return n.createElement(t,{ref:d,"data-fs-price":!0,"data-fs-price-variant":r,"data-testid":a,...c},s&&n.createElement(i.Z,{text:s}),l)});t.Z=a},70928:function(e,t,r){var n=r(27378);t.Z=function({text:e,as:t}){let r=t??"span";return n.createElement(r,{"data-fs-sr-only":!0},e)}},16225:function(e,t,r){r.d(t,{S:function(){return useProductComparison}});var n=r(27378),i=r(67244);function useProductComparison(){let e=(0,n.useContext)(i.A);if(void 0===e)throw Error("useProductComparison must be used within a ProductComparisonProvider");return e}},85058:function(e,t,r){var n=r(27378),i=r(48318),a=r(54410);let o=(0,n.forwardRef)(function({testId:e="fs-checkbox-field",id:t,label:r,value:o,name:s,error:c,disabled:d,alignment:l="center",...u},f){let p=!d&&c&&""!==c;return n.createElement("div",{ref:f,"data-testid":e,"data-fs-checkbox-field":!0,"data-fs-checkbox-field-error":c&&""!==c,"data-fs-checkbox-field-alignment":l},n.createElement(i.Z,{id:t,value:o??r,name:s,defaultChecked:u?.checked,disabled:d,...u}),n.createElement("div",{"data-fs-checkbox-field-content":!0},n.createElement(a.Z,{"data-fs-checkbox-field-label":!0,htmlFor:t},r),p&&n.createElement("span",{"data-fs-checkbox-field-error-message":!0},c)))});t.Z=o},57392:function(e,t,r){r.d(t,{Z:function(){return DiscountBadge_DiscountBadge}});var n=r(27378),i=r(19327);let useDiscountPercent=(e,t)=>(0,n.useMemo)(()=>{let r=e-t,n=100*r/e;return Math.round(n)},[t,e]);var DiscountBadge_DiscountBadge=({listPrice:e,spotPrice:t,thresholdLow:r=15,thresholdHigh:a=40,size:o,testId:s="fs-discount-badge"})=>{let c=useDiscountPercent(e,t);if(0===c)return n.createElement(n.Fragment,null);let d=c<=r?"low":c<=a?"medium":"high";return n.createElement(i.Z,{"data-fs-discount-badge":!0,"data-fs-discount-badge-variant":d,size:o,"data-testid":s},c,"% off")}},22515:function(e,t,r){var n=r(27378);let i=(0,n.forwardRef)(function({testId:e="fs-product-card",variant:t="default",bordered:r=!1,outOfStock:i,children:a,...o},s){return n.createElement("article",{ref:s,"data-fs-product-card":i?"out-of-stock":"","data-fs-product-card-variant":t,"data-fs-product-card-bordered":r,"data-testid":e,...o},a)});t.Z=i},7856:function(e,t,r){var n=r(27378),i=r(7655),a=r(21398),o=r(54410),s=r(89429),c=r(29935),d=r(57392),l=r(19327),u=r(16268);let f=(0,n.forwardRef)(function({testId:e="fs-product-card-content",title:t,linkProps:r,price:f,outOfStock:p,outOfStockLabel:h="Out of stock",ratingValue:v,showDiscountBadge:m,buttonLabel:b="Add",onButtonClick:g,children:y,includeTaxes:E=!1,includeTaxesLabel:w="Tax included",sponsored:k=!1,sponsoredLabel:V="Sponsored",deliveryPromiseBadges:Z,...C},P){let x=f?.listPrice?f.listPrice:0,I=f?.value?f.value:0;return n.createElement("section",{ref:P,"data-fs-product-card-content":!0,"data-fs-product-card-badge":m,"data-testid":e,...C},k&&n.createElement("span",{"data-fs-product-card-sponsored-label":!0},V),n.createElement("div",{"data-fs-product-card-heading":!0},n.createElement("h3",{"data-fs-product-card-title":!0},n.createElement(i.Z,{...r,title:t},n.createElement("span",null,t))),!p&&n.createElement(a.Z,{"data-fs-product-card-prices":!0,value:I,listPrice:x,formatter:f?.formatter}),E&&n.createElement(o.Z,{"data-fs-product-card-taxes-label":!0},w),v&&n.createElement(s.Z,{value:v,icon:n.createElement(c.Z,{name:"Star"})})),m&&!p&&n.createElement(d.Z,{listPrice:x,spotPrice:I}),p&&n.createElement(l.Z,null,h),Z&&n.createElement("div",{"data-fs-product-card-delivery-promise-badges":!0},Z.map(e=>n.createElement("span",{"data-fs-product-card-delivery-promise-badge":!0,"data-fs-product-card-delivery-promise-badge-availability":e.availability,key:e.label},e.label))),g&&!p&&n.createElement("div",{"data-fs-product-card-actions":!0},n.createElement(u.Z,{variant:"primary",icon:n.createElement(c.Z,{name:"ShoppingCart"}),iconPosition:"left",size:"small",onClick:g},b)))});t.Z=f},18393:function(e,t,r){var n=r(27378);let i=(0,n.forwardRef)(function({testId:e="fs-product-card-image",aspectRatio:t=1,children:r,...i},a){return n.createElement("div",{ref:a,"data-fs-product-card-image":!0,"data-testid":e,style:{"--fs-product-card-image-aspect-ratio":t},...i},r)});t.Z=i},21398:function(e,t,r){var n=r(27378),i=r(86194);let a=(0,n.forwardRef)(function({testId:e="fs-product-price",value:t,listPrice:r,formatter:a,...o},s){let c=r??0,d=t??0;return n.createElement("div",{ref:s,"data-fs-product-price":!0,"data-testid":e,...o},d!==c&&0!==c?n.createElement(n.Fragment,null,n.createElement(i.Z,{value:c,formatter:a,testId:"list-price","data-value":c,variant:"listing",SRText:"Original price:"}),n.createElement(i.Z,{value:d,formatter:a,testId:"price","data-value":d,variant:"spot",
1SRText:"Price:"})):n.createElement(i.Z,{value:d,formatter:a,testId:"price","data-value":d,variant:"spot",SRText:"Price:"}))});t.Z=a},89429:function(e,t,r){var n=r(27378),i=r(29935),a=r(87296),o=r(72663);let s=(0,n.forwardRef)(function({children:e,testId:t="fs-rating",length:r=5,value:s=0,icon:c,onChange:d,disabled:l,...u},f){let[p,h]=(0,n.useState)(0),v={"data-fs-rating-icon-outline":!0},m=n.isValidElement(c)?c:n.createElement(i.Z,{name:"Star"});return n.createElement(o.Z,{ref:f,"data-fs-rating":!0,"data-fs-rating-actionable":"function"==typeof d,"data-testid":t,...u},Array.from({length:r}).map((e,r)=>{let o=r+1;return n.createElement("li",{key:`rating-${r}`,"data-fs-rating-item":o<=(p||s)?"full":o-s>0&&o-s<1?"partial":"empty","data-testid":`${t}-item`},d?n.createElement(a.Z,{"data-fs-rating-button":!0,icon:m,size:"small","aria-label":"rate",onClick:()=>{d(o)},onMouseEnter:()=>h(o),onMouseLeave:()=>h(s),disabled:l}):n.createElement(n.Fragment,null,n.createElement("div",{"data-fs-rating-icon-wrapper":!0},m),n.isValidElement(c)?n.cloneElement(c,v):n.createElement(i.Z,{name:"Star","data-fs-rating-icon-outline":!0})))}))});t.Z=s},54621:function(e,t,r){var n=r(27378),i=r(85058),a=r(16225);let o=(0,n.forwardRef)(function({id:e,label:t,onChange:r,product:o,...s},c){let{productIds:d,handleProductsIds:l}=(0,a.S)(),u=d.some(e=>e===o.id);return n.createElement("div",{"data-fs-product-comparison-trigger":!0},o.hasSpecifications&&n.createElement(i.Z,{"data-fs-product-comparison-trigger-checkbox-field":!0,ref:c,id:`product-comparison-trigger-${e}`,label:t,checked:u,onClick:e=>{e.stopPropagation()},onChange:e=>{r?.(e),l(o)},...s}))});t.Z=o},67244:function(e,t,r){r.d(t,{A:function(){return i}});var n=r(27378);let i=(0,n.createContext)(void 0);t.Z=function({children:e}){let[t,r]=(0,n.useState)([]),[a,o]=(0,n.useState)([]),[s,c]=(0,n.useState)(!1),d=(0,n.useCallback)(e=>{r(t=>t.includes(e?.id)?t.filter(t=>t!==e.id):[...t,e.id]),o(t=>t.some(t=>t.id===e.id)?t.filter(t=>t.id!==e.id):[...t,e])},[]);return n.createElement(i.Provider,{value:{isOpen:s,setIsOpen:c,productIds:t,products:a,handleProductsIds:d,handleProductsComparison:function(e){let t=e.map(t=>{let r=e.find(e=>e.id===t.id);return{...t,...r}});o(t)},clearProducts:function(){r([]),o([])}}},e)}},4250:function(e,t,r){var n=r(27378);let i=(0,n.forwardRef)(function({testId:e="store-tile",children:t,...r},i){return n.createElement("li",{ref:i,role:"listitem","data-fs-tile":!0,"data-testid":e,...r},t)});t.Z=i},83255:function(e,t,r){var n=r(27378);let i=(0,n.forwardRef)(function({testId:e="store-tiles",children:t,...r},i){let a=n.Children.count(t);return n.createElement("ul",{ref:i,role:"list","data-fs-tiles":!0,"data-fs-tiles-variant":3===a?"expanded-first":2===a?"expanded-first-two":"","data-fs-content":"tiles","data-testid":e,...r},t)});t.Z=i},9957:function(e,t,r){r.d(t,{YD:function(){return useInView},df:function(){return d}});var n=r(27378);function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i=new Map,a=new WeakMap,o=0,s=void 0;function observe(e,t,r,n){if(void 0===r&&(r={}),void 0===n&&(n=s),void 0===window.IntersectionObserver&&void 0!==n){var c=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:c,intersectionRect:c,rootBounds:c}),function(){}}var d=function(e){var t=Object.keys(e).sort().filter(function(t){return void 0!==e[t]}).map(function(t){var r;return t+"_"+("root"===t?(r=e.root)?(a.has(r)||(o+=1,a.set(r,o.toString())),a.get(r)):"0":e[t])}).toString(),r=i.get(t);if(!r){var n,s=new Map,c=new IntersectionObserver(function(t){t.forEach(function(t){var r,i=t.isIntersecting&&n.some(function(e){return t.intersectionRatio>=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),null==(r=s.get(t.target))||r.forEach(function(e){e(i,t)})})},e);n=c.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r
1={id:t,observer:c,elements:s},i.set(t,r)}return r}(r),l=d.id,u=d.observer,f=d.elements,p=f.get(e)||[];return f.has(e)||f.set(e,p),p.push(t),u.observe(e),function(){p.splice(p.indexOf(t),1),0===p.length&&(f.delete(e),u.unobserve(e)),0===f.size&&(u.disconnect(),i.delete(l))}}var c=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function isPlainChildren(e){return"function"!=typeof e.children}var d=function(e){function InView(t){var r;return(r=e.call(this,t)||this).node=null,r._unobserveCb=null,r.handleNode=function(e){!r.node||(r.unobserve(),e||r.props.triggerOnce||r.props.skip||r.setState({inView:!!r.props.initialInView,entry:void 0})),r.node=e||null,r.observeNode()},r.handleChange=function(e,t){e&&r.props.triggerOnce&&r.unobserve(),isPlainChildren(r.props)||r.setState({inView:e,entry:t}),r.props.onChange&&r.props.onChange(e,t)},r.state={inView:!!t.initialInView,entry:void 0},r}InView.prototype=Object.create(e.prototype),InView.prototype.constructor=InView,_setPrototypeOf(InView,e);var t=InView.prototype;return t.componentDidUpdate=function(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},t.componentWillUnmount=function(){this.unobserve(),this.node=null},t.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,r=e.root,n=e.rootMargin,i=e.trackVisibility,a=e.delay,o=e.fallbackInView;this._unobserveCb=observe(this.node,this.handleChange,{threshold:t,root:r,rootMargin:n,trackVisibility:i,delay:a},o)}},t.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},t.render=function(){if(!isPlainChildren(this.props)){var e=this.state,t=e.inView,r=e.entry;return this.props.children({inView:t,entry:r,ref:this.handleNode})}var i=this.props,a=i.children,o=i.as,s=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(i,c);return n.createElement(o||"div",_extends({ref:this.handleNode},s),a)},InView}(n.Component);function useInView(e){var t=void 0===e?{}:e,r=t.threshold,i=t.delay,a=t.trackVisibility,o=t.rootMargin,s=t.root,c=t.triggerOnce,d=t.skip,l=t.initialInView,u=t.fallbackInView,f=n.useRef(),p=n.useState({inView:!!l}),h=p[0],v=p[1],m=n.useCallback(function(e){void 0!==f.current&&(f.current(),f.current=void 0),!d&&e&&(f.current=observe(e,function(e,t){v({inView:e,entry:t}),t.isIntersecting&&c&&f.current&&(f.current(),f.current=void 0)},{root:s,rootMargin:o,threshold:r,trackVisibility:a,delay:i},u))},[Array.isArray(r)?r.toString():r,s,o,c,d,a,u,i]);(0,n.useEffect)(function(){f.current||!h.entry||c||d||v({inView:!!l})});var b=[m,h.inView,h.entry];return b.ref=b[0],b.inView=b[1],b.entry=b[2],b}d.displayName="InView",d.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}}}]);
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.