"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5282],{86977:function(e,r,t){t.d(r,{nm:function(){return _},xs:function(){return T},le:function(){return I}});var n=t(92809),i=(t(67294),t(27361)),a=t.n(i),o=t(69135),c=t(41120),l=t(85893),s=(0,c.Z)((function(e){return{ribbon:{color:a()(e,"palette.navigator.ribbonTextColor",e.palette.text.secondary),position:"absolute",top:"27px",right:"-58px",transform:"rotate(45deg)",backgroundColor:a()(e,"palette.navigator.accentColor",e.palette.primary.main),width:"220px","& div":{textAlign:"center",fontFamily:a()(e,"typography.h1.fontFamily"),textTransform:"uppercase",padding:e.spacing(1,6,.5,6.5)}}}}));function d(e){var r=s();return(0,l.jsx)("div",{className:r.ribbon,children:(0,l.jsx)("div",{children:e.children})})}var p=t(52829),m=t(40590),u=t(46409),g=t(8709),h=t(69713),x=t(25838),f=t(74619),j=t(71792),b=t(68751),v=t(8920),y=t(18463),Z=t(79912),w=t(22318),O=t(11543),k=t(99956),C=t(41749);function P(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function N(e){for(var r=1;r0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;switch(r.type){case S:return!e[r.name]||e[r.name]0&&""!==n[0].text&&null!==n[0].text&&(0,h.jsx)(z,{name:"productName",children:(0,h.jsx)(p.Z,{pt:.2,children:(0,h.jsx)(X,{name:n})})}),a&&null!==a&&""!==a&&!x&&(0,h.jsx)(p.Z,{textAlign:"center",mt:2,mb:t?2:3,children:(0,h.jsx)("div",{className:k.image,children:(0,h.jsx)(y.Xd,{src:a,alt:"",contain:!0})})}),(0,h.jsx)(K,{priceMsg:c,catalog:t,affirmEligible:l,showPrice:w}),(0,h.jsx)(z,{name:"primaryAction",children:(0,h.jsx)(p.Z,{textAlign:"center",className:k.naBtn,mb:4,children:r})}),!f&&(0,h.jsx)(z,{name:"sliderProductCompare",children:(0,h.jsx)(J,{slider:s})})]})}),""!==o()(d,"[0].title[0].text","")&&!b&&(0,h.jsx)(p.Z,{className:k.darkGrayBg,mt:1,children:(0,h.jsx)(j.Z,{container:!0,justifyContent:"center",children:(0,h.jsx)(j.Z,{item:!0,xs:12,lg:"compare2x2"===Z?10:12,children:(0,h.jsx)(z,{name:"featureProductCompare",children:(0,h.jsx)(Y,{title:d[0].title,feature:d[0].feature})})})})}),""!==o()(m,"[0].title[0].text","")&&!b&&(0,h.jsx)(j.Z,{container:!0,justifyContent:"center",children:(0,h.jsx)(j.Z,{item:!0,xs:12,lg:"compare2x2"===Z?10:12,children:(0,h.jsx)(z,{name:"includeProductCompare",children:(0,h.jsx)(Y,{title:m[0].title,feature:m[0].include})})})})]}),O&&(0,h.jsx)(p.Z,{mb:6,textAlign:"center",children:(0,h.jsx)(V,{pdpLink:u,pdpLabel:g})})]})]})}var W=(0,d.Z)((function(e){return{promoMsg:{backgroundColor:o()(e,"palette.secondary.main"),color:o()(e,"palette.text.secondary"),padding:e.spacing(.5,0)}}}));function F(e){var r=e.catalog,t=W();return(0,h.jsx)(p.Z,{textAlign:"center",className:"".concat(t.promoMsg),children:(0,h.jsx)(m.Z,{variant:"body2",children:(0,h.jsx)("span",{children:(0,h.jsx)(w.Z,H({},r.promo))})})})}var U=(0,d.Z)((function(e){return{title:(0,n.Z)({},e.breakpoints.up("md"),{fontSize:"2.4rem",lineHeight:"3.2rem"})}}));function X(e){var r=e.name,t=U();return(0,h.jsx)(p.Z,{textAlign:"center",px:4,children:(0,h.jsx)(m.Z,{variant:"h3",className:"".concat(t.title),children:(0,h.jsx)(g.Z,{render:r,htmlSerializer:u.x})})})}var q=(0,d.Z)((function(e){var r,t;return{priceContainer:{marginBottom:e.spacing(1)},price:(r={},(0,n.Z)(r,e.breakpoints.up("md"),{fontSize:"2.4rem",lineHeight:"3.2rem"}),(0,n.Z)(r,"& del",{fontSize:"85%",color:o()(e,"palette.navigator.grayText"),lineHeight:1.6}),r),affirmMsg:{"& p":(t={fontSize:"1.2rem",margin:e.spacing(0,0,2)},(0,n.Z)(t,e.breakpoints.down("sm"),{margin:e.spacing(1,0,2)}),(0,n.Z)(t,"& a",{color:o()(e,"palette.text.primary")}),t)}}}));function K(e){var r=e.priceMsg,t=e.catalog,n=e.affirmEligible,i=e.showPrice,a=q();return t&&(0,h.jsxs)(p.Z,{textAlign:"center",className:a.priceContainer,children:[(0,h.jsx)(m.Z,{variant:"h3",className:"".concat(a.price),children:(0,h.jsx)(Z.Z,H(H({priceMsg:r},t),{},{showPrice:i}))}),(0,h.jsx)(v.Z,{affirmEligible:n,classes:"".concat(a.affirmMsg),pageType:"product",affirmPromoMessage:t.affirm})]})}function J(e){var r=e.slider;return r&&r.map((function(e,r){return(0,h.jsx)(p.Z,{mx:4,children:(0,h.jsx)(f,H({},e))},r)}))}var Q=(0,d.Z)((function(e){return{titleContainer:{"& h6":{fontWeight:"bold",textAlign:"center",margin:e.spacing(1,0)}},listContainer:{"& * li":{listStyleType:"none",marginBottom:e.spacing(3),position:"relative","&::before":{content:'" "',width:".45em",height:".9em",border:"solid "+e.palette.secondary.main,borderWidth:"0 .12em .12em 0",position:"absolute",left:"-2.05em",top:".35rem",transform:"rotate(45deg)"}},"& p":{marginBottom:e.spacing(3)}}}}));function Y(e){var r=e.title,t=e.feature,n=Q();return(0,h.jsxs)(p.Z,{py:4,children:[(0,h.jsx)(p.Z,{borderBottom:1,mx:4,className:n.titleContainer,children:(0,h.jsx)(m.Z,{variant:"h6",gutterBottom:!0,children:(0,h.jsx)(g.Z,{render:r,htmlSerializer:u.x})})}),(0,h.jsx)(p.Z,{my:3,ml:4,mr:6,className:n.listContainer,children:(0,h.jsx)(g.Z,{render:t})})]})}function V(e){var r=e.pdpLink,t=e.pdpLabel;return(0,h.jsx)(p.Z,{textAlign:"center",children:(0,h.jsx)(b.Z,{component:O.Z,variant:"outlined",color:"primary",href:r,children:g.Z.asText(t)})})}var $=t(86977),ee=function(e){var r=e.children;return(0,h.jsx)(D,{children:r})};ee.displayName="EqualHeight";var re=ee,te=t(25838),ne=t(48122),ie=t(58885),ae=t(47534),oe=t(74619),ce=t(43832),le=t(8920),se=t(90212),de=t(63457),pe=t(26663),me=t(5391);function ue(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function ge(e){for(var r=1;r=1&&I[0]),D=I.slice(1)):D=I:"highlight-product"===v?(M.push(I[0]),D=I.slice(1)):"compare"!==v&&"compare2x2"!==v||(D=I);var B=je(),E=D&&a.selectedProductId&&D.findIndex((function(e){return a.selectedProductId===o()(e,"catalog.productId")})),A=E&&-1!==E?E:0;return(0,h.jsxs)(p.Z,{py:8,id:"card-top","data-slice-position":o()(e,"index"),"data-slice":o()(e,"data.type"),children:[f&&(0,h.jsx)(ae.default,{data:{fields:[{text:f}]},maxWidth:"md",zeroB:!0,zeroT:!0,label:"center"}),(0,h.jsx)(ce.Z,{maxWidth:"xl",children:("product-navigator"===v||"highlight-product"===v)&&I.length>0?(0,h.jsxs)(i.Fragment,{children:["highlight-product"===v&&I.length>0&&(0,h.jsxs)(h.Fragment,{children:[y&&void 0===M&&u.navigator&&u.navigator.noMoreQuestion&&(0,h.jsx)($.nm,{}),M&&M.map((function(e,r){return(0,h.jsx)($.le,{primaryActionButton:(0,h.jsx)(fe,{product:e,onCrossSellJourneyStart:T}),secondaryActionButton:(0,h.jsx)(fe,{product:e,color:"secondary",navigation:"pdp"}),image:o()(e,"product_image"),name:o()(e,"name"),catalog:o()(e,"catalog"),classId:o()(e,"catalog.classId"),promo_text:o()(e,"promo_text"),recommendDesc:o()(e,"recommend_text"),hideRecommendedText:"product-navigator"===v,priceMsg:o()(e,"priceMsg"),showPrice:o()(e,"showPrice"),affirmEligible:o()(e,"catalog.affirmEligible")},r)}))]}),D&&D.length>0&&(0,h.jsxs)(h.Fragment,{children:[("product-navigator"===v||"highlight-product"===v)&&y&&(0,h.jsx)(p.Z,{pb:3,pt:"product-navigator"===v?0:8,children:(0,h.jsx)(m.Z,{variant:"h3",align:"center",children:"YOU MIGHT ALSO LIKE"})}),(0,h.jsx)(p.Z,{pt:3,children:(0,h.jsx)(j.Z,{container:!0,spacing:3,alignItems:"stretch",direction:"row",children:D.map((function(e,r){return(0,h.jsx)(j.Z,{item:!0,xs:12,md:6,children:(0,h.jsx)($.xs,{image:o()(e,"product_image"),name:o()(e,"name"),catalog:o()(e,"catalog"),previewDesc:o()(e,"preview_description"),link:o()(e,"pdp_link","#"),priceMsg:o()(e,"priceMsg"),affirmEligible:o()(e,"catalog.affirmEligible"),showPrice:o()(e,"showPrice"),brand:t.theme})},r)}))})})]}),(Z||y)&&(0,h.jsx)(p.Z,{pt:8,display:"flex",justifyContent:"center",children:(0,h.jsx)(b.Z,{component:O.Z,onClick:k||y?function(e){e.preventDefault(),x.pushRoute("page",ge(ge({},a),{},{navigator:void 0})).then((function(){return window.scrollTo(0,0)}))}:null,href:k||y?_.as:Z,param:S,variant:"contained",color:"primary",children:w?g.Z.asText(w):"See All Products"})})]}):(0,h.jsxs)(h.Fragment,{children:[d&&(0,h.jsx)(p.Z,{my:4,textAlign:"center",className:B.btnGrpContainer,children:(0,h.jsx)(j.Z,{container:!0,justifyContent:"center",children:(0,h.jsx)(j.Z,{item:!0,xs:12,md:6,children:(0,h.jsx)(pe.Z,{orientation:"vertical",value:A,exclusive:!0,children:D.map((function(e,r){return(0,h.jsx)(me.Z,{component:O.Z,href:{__typename:"_internallink",routeNameOrUrl:"page"},param:ge(ge({},a),{},{selectedProductId:o()(e,"catalog.productId"),scrollTo:"scroll#card-top"}),onClick:function(r){r.preventDefault(),x.pushRoute("page",ge(ge({},a),{},{selectedProductId:o()(e,"catalog.productId"),scrollTo:"scroll#card-top"}))},selected:r===A,children:g.Z.asText(o()(e,"name"))},r)}))})})})}),(0,h.jsx)(p.Z,{pt:2,children:(0,h.jsx)(re,{children:(0,h.jsx)(j.Z,{container:!0,spacing:3,alignItems:"stretch",direction:"row",justifyContent:"center",children:D&&D.filter((function(e,r){return!d||r===A})).map((function(e,r){return(0,h.jsx)(j.Z,{item:!0,xs:12,md:6,lg:"compare"===v?4:6,children:(0,h.jsx)(G,{primaryActionButton:(0,h.jsx)(fe,{size:"auto",product:e,onCrossSellJourneyStart:T,showPrice:o()(e,"showPrice")}),catalog:o()(e,"catalog"),name:o()(e,"name"),image:o()(e,"product_image"),priceMsg:o()(e,"priceMsg"),showPrice:o()(e,"showPrice"),affirmEligible:o()(e,"catalog.affirmEligible"),slider:o()(e,"slider"),feature:o()(e,"feature"),include:o()(e,"include"),btnLabel:w?g.Z.asText(w):"See Schedules",href:k||y?_.as:Z,pdpLink:o()(e,"pdp_link","#"),pdpLabel:o()(e,"pdp_label","#"),navigation:o()(e,"navigation",null),hideImage:C,hideSlider:P,hideAll:N,label:v})},r)}))})})}),d&&(0,h.jsx)(j.Z,{container:!0,justifyContent:"center",children:(0,h.jsx)(j.Z,{item:!0,xs:12,md:6,children:(0,h.jsxs)(p.Z,{mt:6,display:"flex",justifyContent:0===A?"flex-end":"space-between",children:[0!==A&&(0,h.jsxs)(p.Z,{className:B.cardToggleLink,children:[(0,h.jsx)(p.Z,{children:(0,h.jsx)(O.Z,ge(ge({},(0,ne.Xv)({__typename:"_internallink",routeNameOrUrl:"page"},ge(ge({},a),{},{selectedProductId:o()(D[A-1],"catalog.productId"),scrollTo:"scroll#card-top"}))),{},{children:(0,h.jsx)(se.Z,{className:"".concat(B.backArrow," ").concat(B.arrowIcon)})}))}),(0,h.jsx)(p.Z,{ml:1,mr:2,children:(0,h.jsx)(O.Z,ge(ge({variant:"body2"},(0,ne.Xv)({__typename:"_internallink",routeNameOrUrl:"page"},ge(ge({},a),{},{selectedProductId:o()(D[A-1],"catalog.productId"),scrollTo:"scroll#card-top"}))),{},{children:g.Z.asText(o()(D[A-1],"name"))}))})]}),A