"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[73812],{19232:(e,t,o)=>{o.d(t,{A:()=>h});var n=o(29747),r=o(29607),a=o(98471);let i=(0,r.i7)({"0%":{backgroundPositionX:"0"},"100%":{backgroundPositionX:"-".concat(a.hO.RURAL,"px")}}),s=(0,r.i7)({"0%":{backgroundPositionX:"0"},"100%":{backgroundPositionX:"-".concat(a.hO.SUBURBAN,"px")}}),l=(0,r.i7)({"0%":{backgroundPositionX:"0"},"100%":{backgroundPositionX:"-".concat(a.hO.URBAN,"px")}}),c={container:{backgroundPositionY:0,backgroundRepeat:"repeat-x",height:"130px",pointerEvents:"none"},["containerAnimated_".concat(a.C5.RURAL)]:{animation:"".concat(i," 50s linear infinite")},["containerAnimated_".concat(a.C5.SUBURBAN)]:{animation:"".concat(s," 50s linear infinite")},["containerAnimated_".concat(a.C5.URBAN)]:{animation:"".concat(l," 50s linear infinite")}};var d=o(69071);let h=function(e){let{sceneryID:t,animate:o=!1,blackStroke:r,...i}=e;if(!t||!(0,d.q)(t))return null;let s={backgroundImage:"url('data:image/svg+xml;utf8,".concat(encodeURIComponent(a.dQ[t].replace(/currentColor/g,r?"rgba(24, 24, 24, 0.85)":"#C9C9C9")),"')")},l=o&&c["containerAnimated_".concat(t)];return(0,n.Y)("div",{css:[c.container,l],style:s,...i,"data-component":"Scenery"})}},47003:(e,t,o)=>{o.d(t,{A:()=>c});var n=o(29747),r=o(10983),a=o(19009),i=o(36384),s=o(8595),l=o(71566);let c=function(e){let{useBaseLink:t=!0,children:o,href:c,icon:d,theme:h=a.C.DARK,...p}=e,u=t?s.default:"a";return(0,n.Y)("div",{css:l.mh.root,"data-component":"IconLink",children:(0,n.FD)(u,{href:c,css:[i.Il.primarySubhead,l.dz[h],l.mh.container],...p,"data-element":"Container",children:[(0,n.Y)(r.default,{name:d,css:l.mh.icon,"data-element":"Icon"}),(0,n.Y)("span",{children:o})]})})}},54320:(e,t,o)=>{o.d(t,{A:()=>l});var n=o(29747),r=o(20735),a=o(47003),i=o(87782),s=o(73270);let l=function(e){let{customerServiceNumber:{value:t,display:o},isCustomerServiceEnabled:l,theme:c=i.H.LIGHT_HIGHLIGHTED,customSubTextContainerStyles:d,customSubTextStyles:h,...p}=e,u=l?s.K.isBusinessHours:s.K.isNotBusinessHours,m=l?"".concat(u.sales.text," ").concat(o):u.sales.text,M=l?"tel:".concat(t):u.sales.action;return(0,n.Y)(a.A,{theme:c,icon:r.Ze.PHONE,href:M,useBaseLink:!l,...p,"data-element":"IconCTA","data-component":"PhoneSupport",children:(0,n.FD)("div",{css:d,children:[(0,n.Y)("span",{children:m}),(0,n.Y)("span",{css:h,children:u.sales.subtext})]})})}},65215:(e,t,o)=>{o.d(t,{A:()=>R});var n=o(29747),r=o(14232),a=o(44032),i=o(64959),s=o(53345),l=o(19232),c=o(98471),d=o(47608);let h=[d.e["car--jeep-wrangler"],d.e["car--ford-f-150"],d.e["car--ford-mustang"],d.e["car--commercial-van"],d.e["car--sedan"],d.e["car--convertible"],d.e["car--rv"],d.e["car--suv"],d.e["car--atv-utv"],d.e["car--racing"]];var p=o(61430),u=o(86329),m=o(63276),M=o(44364),v=o(46605),k=o(29607),g=o(84265);let b=(0,k.i7)({"0%":{right:"120%"},"100%":{right:136}}),f=(0,k.i7)({"0%":{left:"120%"},"100%":{left:136}}),C=(0,k.i7)({"0%":{right:"100%"},"100%":{right:-30}}),w=(0,k.i7)({"0%":{right:"100%"},"100%":{width:"100%",right:"0%"}}),A=(0,k.i7)({"0%":{transform:"rotateZ(0deg)"},"100%":{transform:"rotateZ(1080deg)"}}),S=(0,k.i7)({"0%":{transform:"rotateZ(0deg)"},"100%":{transform:"rotateZ(3600deg)"}});(0,k.i7)({"0%":{transform:"rotateZ(1080deg)"},"100%":{transform:"rotateZ(0deg)"}}),(0,k.i7)({"0%":{transform:"rotateZ(3600deg)"},"100%":{transform:"rotateZ(0deg)"}});let L=(0,k.i7)({"0%":{backgroundPosition:"0 0"},"100%":{backgroundPosition:"-25vw 0"}}),I=(0,k.i7)({"0%":{backgroundPosition:"0 0"},"100%":{backgroundPosition:"-15vw 0"}}),E=(0,k.i7)({"0%":{right:-200},"100%":{right:40}}),H="".concat(v.E.MS3000,"ms"),V="".concat(v.E.MS3000,"ms"),x="".concat(v.E.MS5000,"ms"),y=(e,t)=>({animation:"".concat(e," ").concat(H," ").concat(g.U.QUAD_EASE_OUT," forwards"),[m.MQ.M]:{animationName:t||e,animationDuration:V},[m.MQ.L]:{animationDuration:x}}),_={car:{bottom:-6,position:"absolute",right:0,[m.MQ.XL]:{bottom:0,transform:"translateX(-180px)"}},carAnimate:[y(b),{"[class$=back-wheel], [class$=front-wheel]":y(A,S)}],carAnimateNewForLarge:[y(C),{"[class$=back-wheel], [class$=front-wheel]":y(A,S)}],carAnimateNewForSmall:[y(w),{"[class$=back-wheel], [class$=front-wheel]":y(A,S),display:"flex",justifyContent:"center"}],carAnimateReverse:[y(f),{"[class$=back-wheel], [class$=front-wheel]":y(A,S)}],carMobile:{bottom:-6,position:"absolute",right:"-10%",transform:"translateX(-15%) scale(-0.8,0.8)",[m.MQ.M]:{transform:"translateX(-35%) scale(-0.8,0.8)"},[m.MQ.XL]:{bottom:0,transform:"translateX(-47%) scale(-1,1)"}},carMobileModal:{bottom:-6,position:"absolute",right:"-10%",transform:"translateX(-15%) scale(-0.8,0.8)",[m.MQ.M]:{transform:"translateX(-30%) scale(-0.8,0.8)"},[m.MQ.XL]:{bottom:0,transform:"translateX(-35%) scale(-1,1)"}},carPaymentOptionsContainerFooter:{[m.MQ.XL]:{left:"50%",marginLeft:90,width:"max-content"}},carReverse:{bottom:-6,position:"absolute",left:116,[m.MQ.XL]:{bottom:0,transform:"translateX(-180px)"}},root:{position:"relative",overflow:"hidden"},scenery:{backgroundSize:"auto 75px",height:"100%",left:0,opacity:.5,position:"absolute",right:0,top:0,[m.MQ.XL]:{backgroundSize:"auto 133px"}},sceneryAnimate:y(L,I),shop:{backgroundImage:"url(/static/assets/pdp/shop.svg)",backgroundRepeat:"no-repeat",bottom:0,height:83,position:"absolute",width:130,[m.MQ.XL]:{backgroundSize:"contain",height:122,right:40,transform:"translateX(-90px)",width:205}},shopAnimate:y(E),shopOnFedex:{backgroundImage:"url(/static/assets/pdp/fedex-shop.svg)",backgroundRepeat:"no-repeat",bottom:0,height:83,position:"absolute",width:130,[m.MQ.XL]:{backgroundSize:"contain",height:122,right:40,transform:"translateX(-90px)",width:205}},shopOnOrange:{backgroundImage:"url(/static/assets/pdp/shop-orange.svg)"},vanMobile:{bottom:-6,left:"1%",position:"absolute",[m.MQ.M]:{left:"25%"},[m.MQ.XL]:{bottom:0,left:"-10%",transform:"translateX(43%)"}},vanMobileModal:{bottom:-6,left:"-10px",position:"absolute",[m.MQ.M]:{left:"20%"},[m.MQ.XL]:{bottom:0,left:"-10%",transform:"translateX(25%)"}}},Y=v.E.MS8000,R=(0,r.memo)(function(e){let{vehicleType:t,sceneryType:o=c.C5.URBAN,isFedex:d,animateIn:k,onOrangeBg:g,rotateVehicles:b,isMobileInstall:f,isMobileInstallModal:C,isNoShop:w,hideShop:A,isPaymentOptionsContainerFooter:S,...L}=e,I=(0,u.v)(),[E,H]=(0,r.useState)(!1),[V,x]=(0,r.useState)(0),{isMobile:y}=(0,p.A)();(0,r.useEffect)(()=>{if(!I)return H(!0),()=>{};let e=setTimeout(()=>{H(!0)},v.E.MS5000);return()=>clearTimeout(e)},[I]),(0,r.useEffect)(()=>{if(b&&E&&I){let e=setInterval(()=>{let e=V+1;e>h.length-1&&(e=0),x(e)},Y);return()=>clearInterval(e)}return()=>{}},[E,V,I,h,b]);let R=h[V];return(0,n.FD)("div",{css:_.root,...L,role:"img","data-component":"InstallationAnimation",children:[(0,n.Y)(l.A,{sceneryID:o,css:[_.scenery,k&&_.sceneryAnimate],blackStroke:g,"data-element":"Scenary"}),f&&(0,n.Y)(a.A,{carId:b?R:t||s.Wd.AUDI_A6,solid:!0,solidColor:M.l.GLOBAL.WHITE,strokeWidthForBreakpoint:{[m.dj.S]:i.AM/.8,[m.dj.M]:i.AM/.8,[m.dj.L]:i.AM/.8,[m.dj.XL]:i.AM/1},css:[k&&_.carAnimateReverse,_.carReverse,f&&C?_.carMobileModal:_.carMobile]}),!A&&!f&&(0,n.Y)("div",{css:[_.shopAnimate,d&&_.shopOnFedex,k&&_.shopAnimate,w||d?"":_.shop,g&&_.shopOnOrange]}),(0,n.Y)(a.A,{carId:b?R:f?s.Wd.MOBILE_INSTALL_VAN:d?s.Wd.JEEP_WRANGLER:s.Wd.AUDI_A6,scaleForBreakpoint:{[m.dj.S]:.8,[m.dj.M]:.8,[m.dj.L]:.8,[m.dj.XL]:1},solid:!0,solidColor:g?M.l.GLOBAL.ORANGE:M.l.GLOBAL.WHITE,strokeWidthForBreakpoint:{[m.dj.S]:i.AM/.8,[m.dj.M]:i.AM/.8,[m.dj.L]:i.AM/.8,[m.dj.XL]:i.AM/1},css:[k&&_.carAnimate,_.car,f?C?_.vanMobileModal:_.vanMobile:"",w&&(y?_.carAnimateNewForSmall:_.carAnimateNewForLarge),S?_.carPaymentOptionsContainerFooter:""],"data-element":"Car"})]})})},69071:(e,t,o)=>{o.d(t,{q:()=>r,s:()=>n});var n=function(e){return e["scenery--rural"]="scenery--rural",e["scenery--suburban"]="scenery--suburban",e["scenery--urban"]="scenery--urban",e}({});function r(e){return!!e&&e in n}},73270:(e,t,o)=>{o.d(t,{K:()=>r});var n=o(79478);let r={isBusinessHours:{sales:{action:"/",icon:"phone",text:"Call",subtext:"(888) 410 0604"},support:{action:n.ph[n.bw.CUSTOMER_SUPPORT],icon:"mail",text:"Email",subtext:"info@simpletire.com"},learnMore:{action:"/learn",icon:"learn",text:"Learn more about tires",subtext:""},chat:{action:n.ph[n.bw.CUSTOMER_SUPPORT],icon:"sms",text:"Chat",subtext:"Fastest option!"}},isNotBusinessHours:{sales:{action:"/contact",icon:"phone",text:"Call",subtext:"(888) 410 0604"},support:{action:n.ph[n.bw.CUSTOMER_SUPPORT],icon:"mail",text:"Email",subtext:"info@simpletire.com"},learnMore:{action:"/learn",icon:"learn",text:"Learn more about tires",subtext:""},chat:{action:n.ph[n.bw.CUSTOMER_SUPPORT],icon:"sms",text:"Chat",subtext:"Fastest option!"}}}},73812:(e,t,o)=>{o.d(t,{A:()=>A});var n=o(29747),r=o(14232),a=o(19009),i=o(57532),s=o(10983),l=o(20735),c=o(30908),d=o(18079),h=o(63276),p=o(44364),u=o(63381),m=o(36384);let M={chevronModal:{display:"inline",color:p.l.LIGHT.GRAY_70,marginLeft:5},container:{h3:[m.gI.primaryHeadline.base,{marginBottom:u.E.SIZE_40,[h.MQ.S]:{marginTop:u.E.SIZE_80},[h.MQ.L]:{marginTop:u.E.SIZE_50}}],h4:[m.Il.bodyCopy,{display:"inline-block",marginBottom:u.E.SIZE_05,fontWeight:"bold"}],p:[m.Il.bodyCopy,{marginBottom:u.E.SIZE_30,fontWeight:450}]},instalationTitle:[m.Il.secondarySubhead,{marginLeft:u.E.SIZE_10,marginRight:u.E.SIZE_10}],largePledgeIcon:{"& svg":{width:64,height:74}},link:[m.Il.secondarySubhead,{color:p.l.GLOBAL.BLACK,fontWeight:"normal",span:{borderBottom:0,textDecoration:"underline"}}],modalLink:[m.Il.primarySubhead,{a:{fontWeight:"bold",marginTop:u.E.SIZE_10,display:"inline-block"}}],root:{"> div":{display:"flex",alignItems:"center"},alignItems:"center",backgroundColor:p.l.LIGHT.GRAY_10,borderRadius:8,display:"flex",justifyContent:"space-between",padding:"".concat(u.E.SIZE_15,"px ").concat(u.E.SIZE_10,"px"),width:"100%"},scenery:{"> div":{height:"100%",width:400},borderBottom:d.s.SOLID_GRAY_20_1PX,height:125,margin:"0 -".concat(u.E.SIZE_20,"px ").concat(u.E.SIZE_40,"px"),[h.MQ.M]:{"> div":{width:750}},[h.MQ.L]:{margin:"0 -".concat(u.E.SIZE_60,"px ").concat(u.E.SIZE_40,"px"),"> div":{width:500}},[h.MQ.XL]:{"> div":{width:600}}},supportPromptButton:{"&:not(:last-child)":{paddingBottom:u.E.SIZE_20}},supportPromptTitle:[m.Il.tertiaryHeadline,{paddingBottom:u.E.SIZE_20}]};var v=o(70630),k=o(65215),g=o(94248),b=o(54320),f=o(46476),C=o(9526);let w=function(e){let{carType:t,isOpen:o,onClose:r,onOpenAllShopsModal:d,title:h="title"}=e,{customerServiceNumber:p,customerServiceEnabled:u}=(0,f.Z0)(e=>({customerServiceNumber:e.customerServiceNumber,customerServiceEnabled:e.customerServiceEnabled}));return(0,n.Y)(v.default,{contentLabel:h,theme:C.wD.LIGHT,onClose:r,isOpen:o,"data-element":"Modal","data-component":"SiteInstallationSatisfactionPledgeModal",children:(0,n.FD)("div",{css:M.container,children:[(0,n.FD)("h3",{children:[(0,i.ui)("pdp.installation.pledge.badgeTitle"),"."]}),(0,n.Y)(s.default,{css:M.largePledgeIcon,name:l.Ze.INSTALL_SHIELD,"data-element":"Icon"}),(0,n.Y)("div",{css:M.scenery,children:(0,n.Y)(k.A,{vehicleType:t,rotateVehicles:!t,"aria-label":(0,i.ui)("pdp.installation.illustrationAltText"),css:[M.illustration],animateIn:!0,"data-element":"InstallationAnimation"})}),(0,n.Y)("h4",{children:(0,i.ui)("pdp.installation.pledge.commited")}),(0,n.Y)("p",{children:(0,i.ui)("pdp.installation.pledge.commitedDescription")}),(0,n.Y)("h4",{children:(0,i.ui)("pdp.installation.pledge.dedicated")}),(0,n.Y)("p",{children:(0,i.ui)("pdp.installation.pledge.dedicatedDescription")}),(0,n.Y)("h4",{children:(0,i.ui)("pdp.installation.pledge.gotYourBack")}),(0,n.FD)("p",{children:[(0,n.Y)("span",{children:(0,i.ui)("pdp.installation.pledge.gotYourBackDescription")}),(0,n.Y)("br",{}),(0,n.FD)("span",{css:M.modalLink,children:[(0,n.Y)(c.A,{theme:a.C.LIGHT,href:"/returns-and-refunds",isExternal:!0,"data-element":"Link",children:(0,i.ui)("pdp.installation.pledge.refundsPolicy")}),(0,n.Y)(s.default,{css:M.chevronModal,name:l.Ze.CHEVRON_SMALL_RIGHT,"data-element":"Icon"})]})]}),(0,n.Y)("h4",{children:(0,i.ui)("pdp.installation.pledge.weCanHelp")}),(0,n.FD)("p",{children:[(0,n.Y)("span",{children:(0,i.ui)("pdp.installation.pledge.weCanHelpDescription")}),d&&(0,n.FD)("span",{children:[(0,n.Y)("br",{}),(0,n.FD)("span",{css:M.modalLink,children:[(0,n.Y)(c.A,{theme:a.C.LIGHT,onClick:()=>{r(),d&&d()},children:(0,i.ui)("pdp.installation.pledge.browserShops")}),(0,n.Y)(s.default,{css:M.chevronModal,name:l.Ze.CHEVRON_SMALL_RIGHT})]})]})]}),(0,n.FD)("div",{css:M.supportPrompt,children:[(0,n.Y)("h3",{css:M.supportPromptTitle,children:(0,i.ui)("support.disabled")}),(0,n.Y)("div",{css:M.supportPromptButton,children:(0,n.Y)(b.A,{customerServiceNumber:p,isCustomerServiceEnabled:u,theme:a.C.LIGHT,"data-element":"PhoneSupport"})}),(0,n.Y)("div",{css:M.supportPromptButton,children:(0,n.Y)(g.A,{isCustomerServiceEnabled:u,theme:a.C.LIGHT,"data-element":"EmailSupport"})})]})]})})},A=function(e){let{carType:t,onOpenAllShopsModal:o}=e,[d,h]=(0,r.useState)(!1);return(0,n.FD)("div",{css:M.root,"data-component":"SiteInstallationSatisfactionPledge",children:[(0,n.FD)("div",{children:[(0,n.Y)(s.default,{name:l.Ze.INSTALL_SHIELD,"data-element":"Icon"}),(0,n.Y)("span",{css:M.instalationTitle,children:(0,i.ui)("pdp.installation.pledge.badgeTitle")}),(0,n.Y)(c.A,{css:M.link,onClick:()=>h(!0),theme:a.C.LIGHT,"data-element":"Link",children:(0,i.ui)("pdp.installation.pledge.learMore")})]}),(0,n.Y)(w,{carType:t,isOpen:d,onClose:()=>h(!1),onOpenAllShopsModal:o,"data-element":"SiteInstallationSatisfactionPledgeModal"})]})}},86329:(e,t,o)=>{o.d(t,{v:()=>r});var n=o(14232);function r(){let[e,t]=(0,n.useState)(!0);return(0,n.useEffect)(()=>{"function"==typeof window.matchMedia&&t(!window.matchMedia("(prefers-reduced-motion)").matches)},[]),e}},94248:(e,t,o)=>{o.d(t,{A:()=>l});var n=o(29747),r=o(20735),a=o(47003),i=o(87782),s=o(73270);let l=function(e){let{isCustomerServiceEnabled:t,theme:o=i.H.LIGHT_HIGHLIGHTED,customSubTextContainerStyles:l,customSubTextStyles:c,...d}=e,h=t?s.K.isBusinessHours:s.K.isNotBusinessHours;return(0,n.Y)(a.A,{theme:o,icon:r.Ze.MAIL,href:h.support.action,...d,"data-element":"IconCTA","data-component":"EmailSupport",children:(0,n.FD)("div",{css:l,children:[(0,n.Y)("span",{children:h.support.text}),(0,n.Y)("span",{css:c,children:h.support.subtext})]})})}},98471:(e,t,o)=>{o.d(t,{C5:()=>r,dQ:()=>i,hO:()=>a});var n=o(69071);let r={RURAL:n.s["scenery--rural"],SUBURBAN:n.s["scenery--suburban"],URBAN:n.s["scenery--urban"]},a={RURAL:1641,SUBURBAN:1512,URBAN:1397},i={[n.s["scenery--rural"]]:'',[n.s["scenery--suburban"]]:'',[n.s["scenery--urban"]]:''}}}]);