1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4701],{20859:function(n,e,t){t.d(e,{B:function(){return o}});var i=t(7297);function r(){var n=(0,i.Z)(["\n .flickity-enabled {\n position: relative;\n &:focus {\n outline: 0;\n }\n }\n .flickity-enabled {\n &.is-draggable {\n -webkit-tap-highlight-color: transparent;\n user-select: none;\n .flickity-viewport {\n cursor: move;\n cursor: -webkit-grab;\n cursor: grab;\n &.is-pointer-down {\n cursor: -webkit-grabbing;\n cursor: grabbing;\n }\n }\n }\n }\n"]);return r=function(){return n},n}var o=t(51192).ZP.div.withConfig({displayName:"flickity-styles__FlickityStyles",componentId:"sc-d773c386-0"})(r())},24701:function(n,e,t){t.r(e),t.d(e,{default:function(){return Rn}});var i=t(47568),r=t(29815),o=t(97582),a=t(97997),c=t(11720),s=t(42879),d=t(7297),l=t(51192),u=t(68193),f=t(78099),h=t(21026);function g(){var n=(0,d.Z)(["\n display: flex;\n justify-content: center;\n height: ",";\n width: ",";\n background-color: #fff;\n list-style: none;\n box-sizing: border-box;\n border: "," solid rgba(0, 0, 0, 0.1);\n border-radius: ",";\n box-shadow: 0 "," "," "," rgba(0, 0, 0, 0.2);\n "," {\n height: ",";\n width: ",";\n }\n"]);return g=function(){return n},n}function Z(){var n=(0,d.Z)(["\n height: ",";\n width: ",";\n list-style: none;\n "," {\n height: ",";\n width: ",";\n }\n"]);return Z=function(){return n},n}function p(){var n=(0,d.Z)(["\n position: absolute;\n right: 0;\n height: ",";\n min-width: ",";\n width: fit-content;\n border-radius: ",";\n "," {\n position: relative;\n width: ",";\n }\n span {\n color: ",";\n font-size: ",";\n font-weight: bold;\n letter-spacing: ",";\n line-height: ",";\n text-align: center;\n }\n &.disabledGetPricing {\n pointer-events: none;\n opacity: 0.6;\n }\n"]);return p=function(){return n},n}function m(){var n=(0,d.Z)([""]);return m=function(){return n},n}function v(){var n=(0,d.Z)(["\n margin: 0;\n padding: 0;\n color: #112436;\n font-size: ",";\n line-height: ",";\n font-weight: bold;\n letter-spacing: 0;\n width: inherit;\n "," {\n font-size: ",";\n line-height: ",";\n }\n"]);return v=function(){return n},n}function y(){var n=(0,d.Z)(["\n width: 100%;\n position: absolute;\n display: flex;\n flex-direction: column;\n bottom: 0;\n gap: ",";\n padding: ",";\n "," {\n flex-direction: row;\n padding: ",";\n }\n"]);return y=function(){return n},n}function b(){var n=(0,d.Z)(["\n display: flex;\n flex-direction: row;\n align-items: center;\n "," {\n flex-direction: column;\n align-items: auto;\n }\n"]);return b=function(){return n},n}function w(){var n=(0,d.Z)(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n width: 100%;\n span {\n color: #9ba1a9;\n font-size: ",";\n letter-spacing: 0;\n line-height: ",";\n width: inherit;\n }\n "," {\n padding: 0 0 "," 0;\n flex-direction: row;\n gap: ",";\n align-items: center;\n }\n"]);return w=function(){return n},n}function _(){var n=(0,d.Z)(["\n position: relative;\n right: 0;\n margin: 0;\n padding: 0;\n color: #08aa6f;\n font-size: ",";\n font-weight: bold;\n letter-spacing: 0;\n line-height: ",";\n text-align: right;\n"]);return _=function(){return n},n}function C(){var n=(0,d.Z)(["\n background: url(",") no-repeat;\n background-size: contain;\n "]);return C=function(){return n},n}function k(){var n=(0,d.Z)(["\n background-color: cadetblue;\n "]);return k=function(){return n},n}function P(){var n=(0,d.Z)(["\n height: ",";\n width: 100%;\n position: absolute;\n top: 0;\n background-color: skyblue;\n border-radius: "," "," 0 0;\n ","\n"]);return P=function(){return n},n}function x(){var n=(0,d.Z)(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: ",";\n left: ",";\n height: ",";\n width: ",";\n border-radius: ",";\n background-color: #e6f2ff;\n box-shadow: 0 "," "," 0 rgba(0, 0, 0, 0.1);\n span {\n color: ",";\n font-size: ",";\n font-weight: bold;\n letter-spacing: 0;\n line-height: ",";\n text-align: center;\n }\n"]);return x=function(){return n},n}function I(){var n=(0,d.Z)(["\n background: url(",") no-repeat;\n background-size: contain;\n "]);return I=function(){return n},n}function S(){var n=(0,d.Z)(["\n background-color: cadetblue;\n "]);return S=function(){return n},n}function N(){var n=(0,d.Z)(["\n position: absolute;\n top: ",";\n height: ",";\n width: ",";\n "," {\n top: ",";\n height: ",";\n width: ",";\n }\n ","\n"]);return N=function(){return n},n}var F=l.ZP.li.withConfig({displayName:"styles__CardContent",componentId:"sc-68168909-0"})(g(),(0,f.Z)(212),(0,f.Z)(240),(0,f.Z)(1),(0,f.Z)(4),(0,f.Z)(4),(0,f.Z)(6),(0,f.Z)(-4),(0,h.Z)("sm"),(0,f.Z)(216),(0,f.Z)(370)),q=(l.ZP.li.withConfig({displayName:"styles__CardPhantom",componentId:"sc-68168909-1"})(Z(),(0,f.Z)(212),(0,f.Z)(75),(0,h.Z)("sm"),(0,f.Z)(216),(0,f.Z)(100)),(0,l.ZP)(u.W4).withConfig({displayName:"styles__GetPricing",componentId:"sc-68168909-2"})(p(),(0,f.Z)(40),(0,f.Z)(107),(0,f.Z)(6),(0,h.Z)("sm"),(0,f.Z)(143),(function(n){return n.theme.colors.button}),(0,f.Z)(16),(0,f.Z)(.2),(0,f.Z)(32))),B=l.ZP.span.withConfig({displayName:"styles__Span",componentId:"sc-68168909-3"})(m()),E=l.ZP.h1.withConfig({displayName:"styles__Title",componentId:"sc-68168909-4"})(v(),(0,f.Z)(14),(0,f.Z)(20),(0,h.Z)("sm"),(0,f.Z)(16),(0,f.Z)(21)),R=l.ZP.div.withConfig({displayName:"styles__Body",componentId:"sc-68168909-5"})(y(),(0,f.Z)(16),(0,f.Z)(12),(0,h.Z)("sm"),(0,f.Z)(20)),T=l.ZP.div.withConfig({displayName:"styles__PriceSection",componentId:"sc-68168909-6"})(b(),(0,h.Z)("sm")),z=l.ZP.div.withConfig({displayName:"styles__PriceText",componentId:"sc-68168909-7"})(w(),(0,f.Z)(12),(0,f.Z)(20),(0,h.Z)("sm"),(0,f.Z)(8),(0,f.Z)(8)),O=l.ZP.h6.withConfig({displayName:"styles__PriceMount",componentId:"sc-68168909-8"})(_(),(0,f.Z)(18),(0,f.Z)(24)),U=l.ZP.div.withConfig({displayName:"styles__Header",componentId:"sc-68168909-9"})(P(),(0,f.Z)(90),(0,f.Z)(3),(0,f.Z)(3),(function(n){var e=n.imagePath;return e?(0,l.iv)(C(),e):(0,l.iv)(k())})),X=l.ZP.div.withConfig({displayName:"styles__NewTag",componentId:"sc-68168909-10"})(x(),(0,f.Z)(9),(0,f.Z)(19),(0,f.Z)(24.08),(0,f.Z)(44.92),(0,f.Z)(4),(0,f.Z)(2),(0,f.Z)(4),(function(n){return n.theme.typage.colors.blue}),(0,f.Z)(12),(0,f.Z)(22)),D=l.ZP.div.withConfig({displayName:"styles__ImageCar",componentId:"sc-68168909-11"})(N(),(0,f.Z)(21),(0,f.Z)(87),(0,f.Z)(116),(0,h.Z)("sm"),(0,f.Z)(24),(0,f.Z)(115),(0,f.Z)(153.33),(function(n){var e=n.imageurlPng;return e?(0,l.iv)(I(),e):(0,l.iv)(S())})),L=function(n){var e=n.getPricing,t=n.coverage,i=n.ingHeader,r=n.disabledLead,o=n.cardIndex,c=n.testIdPrefix,s=void 0===c?"typ-used-conquest":c,d=t.vehicle,l=t.dealers,u="New ".concat(d.make," ").concat(d.model),f=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0,minimumFractionDigits:0}).format(d.msrp);return(0,a.BX)(F,{"data-testid":"".concat(s,"-card-").concat(o,"-wrapper"),children:[(0,a.tZ)(U,{imagePath:i,"data-testid":"".concat(s,"-card-").concat(o,"-header"),children:(0,a.tZ)(X,{"data-testid":"".concat(s,"-card-").concat(o,"-tag"),children:(0,a.tZ)(B,{children:"New"})})}),(0,a.tZ)(D,{imageurlPng:d.imageurlPng,"data-testid":"".concat(s,"-card-").concat(o,"-image")}),(0,a.BX)(R,{"data-testid":"".concat(s,"-card-").concat(o,"-body"),children:[(0,a.tZ)(E,{"data-testid":"".concat(s,"-card-").concat(o,"-title"),children:u}),(0,a.BX)(T,{"data-testid":"".concat(s,"-card-").concat(o,"-price-section"),children:[(0,a.BX)(z,{"data-testid":"".concat(s,"-card-").concat(o,"-price-text"),children:[(0,a.tZ)(B,{children:"Starting at"}),(0,a.tZ)(O,{"data-testid":"".concat(s,"-card-").concat(o,"-price"),children:f})]}),(0,a.tZ)(q,{onClick:function(){e(l,d,{isAddressRequired:t.isAddressRequired,isAllPreselected:t.isPreselectable})},className:r?"":"disabledGetPricing","data-testid":"".concat(s,"-card-").concat(o,"-get-pricing-btn"),children:(0,a.tZ)(B,{children:"Get Pricing"})})]})]})]})},A=t(73917),M=t.n(A),j=t(20859);function Y(){var n=(0,d.Z)(["\n height: fit-content;\n display: block;\n padding: 0;\n &.leftp {\n padding-left: ",";\n "," {\n padding: 0;\n }\n }\n &.rightp {\n padding-right: ",";\n "," {\n padding: 0;\n }\n }\n"]);return Y=function(){return n},n}function H(){var n=(0,d.Z)(["\n height: fit-content;\n overflow: hidden;\n"]);return H=function(){return n},n}function Q(){var n=(0,d.Z)(["\n height: ",";\n "," {\n height: ",";\n }\n .flickity-button {\n cursor: pointer;\n position: absolute;\n top: calc(50% - 25px);\n display: flex;
1\n align-items: center;\n justify-content: center;\n height: ",";\n width: ",";\n border: none;\n background-color: #ffffff;\n box-shadow: "," "," "," 0 rgba(0, 0, 0, 0.1);\n animation-fill-mode: forwards;\n &:hover {\n .flickity-button-icon {\n fill: #007afd;\n }\n }\n }\n .flickity-button-icon {\n fill: #333333;\n padding: ",";\n height: ",";\n width: ",";\n }\n .previous {\n left: 0;\n border-radius: 0 "," "," 0;\n display: ",";\n &:disabled {\n display: none;\n }\n }\n .next {\n right: 0;\n border-radius: "," 0 0 ",";\n display: ",";\n &:disabled {\n display: none;\n }\n }\n"]);return Q=function(){return n},n}function W(){var n=(0,d.Z)(["\n height: ",";\n display: flex;\n align-items: center;\n"]);return W=function(){return n},n}var G=l.ZP.section.withConfig({displayName:"styles__ConquestWrap",componentId:"sc-16850e05-0"})(Y(),(0,f.Z)(8),(0,h.Z)("md"),(0,f.Z)(8),(0,h.Z)("md")),J=l.ZP.div.withConfig({displayName:"styles__ConquestOverview",componentId:"sc-16850e05-1"})(H()),K=(0,l.ZP)(j.B).withConfig({displayName:"styles__ConquestContainer",componentId:"sc-16850e05-2"})(Q(),(0,f.Z)(212),(0,h.Z)("sm"),(0,f.Z)(216),(0,f.Z)(50),(0,f.Z)(42),(0,f.Z)(-8),(0,f.Z)(1),(0,f.Z)(10),(0,f.Z)(2),(0,f.Z)(26),(0,f.Z)(26),(0,f.Z)(4),(0,f.Z)(4),(function(n){return n.enaButtons?"block":"none"}),(0,f.Z)(4),(0,f.Z)(4),(function(n){return n.enaButtons?"block":"none"})),V=(l.ZP.div.withConfig({displayName:"styles__Content",componentId:"sc-16850e05-3"})(W(),(0,f.Z)(216)),function(n){var e=n.children,t=n.setCurrent,i=n.enaButtons,r=n.className,o=n.testIdPrefix,s=void 0===o?"typ-used-conquest":o,d=null,l=(0,c.useState)(0),u=l[0],f=l[1];return(0,c.useEffect)((function(){null!==d&&d.on("select",(function(){return f(d.selectedIndex)}))}),[d]),(0,c.useEffect)((function(){return t&&t(u)}),[u]),(0,a.tZ)(G,{className:r||"","data-testid":"".concat(s,"-slider-wrapper"),children:(0,a.tZ)(J,{"data-testid":"".concat(s,"-slider-overview"),children:(0,a.tZ)(K,{enaButtons:i,"data-testid":"".concat(s,"-slider-container"),children:(0,a.tZ)(M(),{options:{reloadOnUpdate:!0,groupCells:!0,contain:!0,freeScroll:!0,prevNextButtons:!0,lazyLoad:!0,adaptiveHeight:!0,pageDots:!1},flickityRef:function(n){return d=n},children:e})})})})});function $(){var n=(0,d.Z)(["\n margin: "," 0;\n"]);return $=function(){return n},n}function nn(){var n=(0,d.Z)(["\n padding: 0;\n margin: 0 0 "," 0;\n padding-left: ",";\n display: flex;\n align-items: flex-start;\n align-content: center;\n flex-direction: column;\n "," {\n padding: 0;\n }\n"]);return nn=function(){return n},n}function en(){var n=(0,d.Z)(["\n color: #112436;\n font-size: ",";\n font-weight: bold;\n letter-spacing: 0;\n line-height: ",";\n "," {\n font-size: ",";\n line-height: ",";\n }\n"]);return en=function(){return n},n}function tn(){var n=(0,d.Z)(["\n color: #112436;\n font-size: ",";\n font-weight: bold;\n letter-spacing: 0;\n line-height: ",";\n "," {\n display: none;\n }\n"]);return tn=function(){return n},n}function rn(){var n=(0,d.Z)(["\n margin-right: ",";\n @media screen and (min-width: 768px) {\n &:not(:last-child) {\n margin-right: ",";\n }\n }\n"]);return rn=function(){return n},n}var on=l.ZP.div.withConfig({displayName:"styles__Content",componentId:"sc-5d6255f8-0"})($(),(0,f.Z)(48)),an=l.ZP.div.withConfig({displayName:"styles__TitleSection",componentId:"sc-5d6255f8-1"})(nn(),(0,f.Z)(16),(0,f.Z)(8),(0,h.Z)("md")),cn=l.ZP.span.withConfig({displayName:"styles__Title",componentId:"sc-5d6255f8-2"})(en(),(0,f.Z)(20),(0,f.Z)(24),(0,h.Z)("md"),(0,f.Z)(22),(0,f.Z)(32)),sn=l.ZP.span.withConfig({displayName:"styles__SubTitle",componentId:"sc-5d6255f8-3"})(tn(),(0,f.Z)(14),(0,f.Z)(22),(0,h.Z)("md")),dn=l.ZP.div.withConfig({displayName:"styles__CardWrapper",componentId:"sc-5d6255f8-4"})(rn(),(0,f.Z)(16),(0,f.Z)(16)),ln=t(2478),un=t(75231),fn=t(65416),hn=t(90969),gn=t(19456);function Zn(){var n=(0,d.Z)(["\n display: flex;\n justify-content: center;\n height: ",";\n width: ",";\n background-color: #fff;\n list-style: none;\n box-sizing: border-box;\n border: "," solid rgba(0, 0, 0, 0.1);\n border-radius: ",";\n box-shadow: 0 "," "," "," rgba(0, 0, 0, 0.2);\n "," {\n height: ",";\n width: ",";\n }\n"]);return Zn=function(){return n},n}function pn(){var n=(0,d.Z)(["\n height: ",";\n width: 100%;\n position: absolute;\n top: 0;\n border-radius: "," "," 0 0;\n background-color: #f1f0f0;\n "," {\n border-radius: ",";\n }\n"]);return pn=function(){return n},n}function mn(){var n=(0,d.Z)(["\n width: 100%;\n position: absolute;\n display: flex;\n flex-direction: column;\n bottom: 0;\n gap: ",";\n padding: ",";\n "," {\n border-radius: ",";\n }\n"]);return mn=function(){return n},n}function vn(){var n=(0,d.Z)(["\n display: flex;\n flex-direction: row;\n align-items: center;\n "]);return vn=function(){return n},n}function yn(){var n=(0,d.Z)(["\n display: flex;\n flex-direction: column;\n "]);return yn=function(){return n},n}function bn(){var n=(0,d.Z)(["\n width: 100%;\n gap: ",";\n padding: ",";\n ","\n .iconSkeleton {\n width: ",";\n height: ",";\n border-radius: ",";\n }\n "," {\n border-radius: ",";\n }\n"]);return bn=function(){return n},n}var wn=l.ZP.li.withConfig({displayName:"styles__SkeletonCardContent",componentId:"sc-b05f0eb2-0"})(Zn(),(0,f.Z)(212),(0,f.Z)(234),(0,f.Z)(1),(0,f.Z)(4),(0,f.Z)(4),(0,f.Z)(6),(0,f.Z)(-4),(0,h.Z)("sm"),(0,f.Z)(216),(0,f.Z)(370)),_n=l.ZP.div.withConfig({displayName:"styles__SkeletonHeader",componentId:"sc-b05f0eb2-1"})(pn(),(0,f.Z)(90),(0,f.Z)(3),(0,f.Z)(3),gn.n,(0,f.Z)(4)),Cn=l.ZP.div.withConfig({displayName:"styles__SkeletonBody",componentId:"sc-b05f0eb2-2"})(mn(),(0,f.Z)(4),(0,f.Z)(20),gn.n,(0,f.Z)(4)),kn=l.ZP.div.withConfig({displayName:"styles__SkeletonContent",componentId:"sc-b05f0eb2-3"})(bn(),(0,f.Z)(4),(function(n){var e=n.py,t=n.px;return"".concat((0,f.Z)(e)," ").concat((0,f.Z)(t))}),(function(n){return n.isRow?(0,l.iv)(vn()):(0,l.iv)(yn())}),(0,f.Z)(24),(0,f.Z)(22),(0,f.Z)(200),gn.n,(0,f.Z)(4)),Pn=t(88838),xn=function(){return(0,fn.Z)()===hn._.deviceType.desktop?(0,a.BX)(wn,{children:[(0,a.tZ)(_n,{children:(0,a.tZ)(Pn.Z,{offset:0,height:90,radius:!0,bg:"#FFF",delay:1.34})}),(0,a.BX)(Cn,{children:[(0,a.BX)(kn,{isRow:!0,py:0,px:2,children:[(0,a.tZ)(Pn.Z,{offset:-10,height:21,radius:!0,bg:"#FFF",delay:1.5}),(0,a.tZ)(Pn.Z,{offset:20,height:20,radius:!0,bg:"#FFF",delay:1.54})]}),(0,a.BX)(kn,{isRow:!0,py:0,px:2,children:[(0,a.tZ)(Pn.Z,{offset:-10,height:21,radius:!0,bg:"#FFF",delay:1.51}),(0,a.tZ)(Pn.Z,{offset:20,height:40,radius:!0,bg:"#FFF",delay:1.4})]})]})]}):(0,a.BX)(wn,{children:[(0,a.tZ)(_n,{children:(0,a.tZ)(Pn.Z,{offset:0,height:90,radius:!0,bg:"#FFF",delay:1.34})}),(0,a.BX)(Cn,{children:[(0,a.tZ)(Pn.Z,{offset:-90,height:21,radius:!0,bg:"#FFF",delay:1.5}),(0,a.BX)(kn,{isRow:!0,py:0,px:2,children:[(0,a.BX)(kn,{isRow:!1,py:4,px:0,children:[(0,a.tZ)(Pn.Z,{offset:0,height:21,radius:!0,bg:"#FFF",delay:1.51}),(0,a.tZ)(Pn.Z,{offset:0,height:21,radius:!0,bg:"#FFF",delay:1.51})]}),(0,a.tZ)(Pn.Z,{offset:20,height:40,radius:!0,bg:"#FFF",delay:1.4})]})]})]})},In=t(19594),Sn=t(75778),Nn=t(97931),Fn=t(47847),qn=t(70782),Bn="You are on the right track.",En="Check out these new vehicle options also!",Rn=function(n){var e=(0,fn.Z)(),t=n.make,d=n.model,l=n.zipCodeInfo,u=n.gclid,f=n.sourceId,h=n.onRemove,g=n.resetSearch,Z=n.phone,p=n.testIdPrefix,m=void 0===p?"typ-used-conquest":p,v=(0,Nn.b)(),y=v.state,b=y.newCarLeads,w=y.newCarLeadAllowed,_=y.fromConquest,C=y.originalSearch,k=y.uSession,P=v.setFromConquest,x=v.setConquestLoaded,I=(0,Fn.s)(),S=(0,c.useState)(!1),N=S[0],F=S[1],q=(0,c.useState)(!1),B=q[0],E=q[1],R={session:null===k||void 0===k?void 0:k.aws,user:null===k||void 0===k?void 0:k.awu},T=(0,c.useState)([]),z=T[0],O=T[1],U=(0,c.useState)(0),X=U[0],D=U[1],A=(0,c.useState)([]),M=A[0],j=A[1],Y=(0,c.useState)(null),H=Y[0],Q=Y[1],W=(0,c.useState)({isAddressRequired:!1,isAllPreselected:!1}),G=W[0],J=W[1],K=(0,c.useState)(!1),$=K[0],nn=K[1],en=(0,c.useState)([]),tn=en[
10],rn=en[1],gn=function(){var n=(0,i.Z)((function(){var n,e,i,r,a,c,s,g,Z;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),r=(0,un.Z)("conquestCoverage"),(0,un.Z)("conquestCoverageYear")&&(null===window||void 0===window||null===(a=window.localStorage)||void 0===a||a.removeItem("conquestCoverageYear")),r?(null===window||void 0===window||null===(c=window.localStorage)||void 0===c||c.removeItem("conquestCoverage"),[2]):(P(!1),[4,(0,ln.El)({providerId:f,zipCode:null===l||void 0===l?void 0:l.zip,sessionId:"".concat(R.session),trakingId:u||"",make:_?null===(n=C.make)||void 0===n?void 0:n.name:t.name,model:_?null===(e=C.model)||void 0===e?void 0:e.name:d.name},!0)]);case 1:return s=o.sent().coverageRawData,g=_&&(null===(i=s.coverages)||void 0===i?void 0:i.length)?s.coverages.filter((function(n){return n.vehicle.model!==d.name||n.vehicle.make!==t.name})):s.coverages,O(g),0!==(null===g||void 0===g?void 0:g.length)?((0,In.hR)(Sn.DY.TYP_CONQUEST_IMPRESSION),I(qn.w.TYP_CONQUEST_IMPRESSION)):(nn(!0),h("conquest")),[3,3];case 2:return Z=o.sent(),console.error(Z),[3,3];case 3:return[2]}}
1))}));return function(){return n.apply(this,arguments)}}(),Zn=function(){F(!N)},pn=function(n,e,t){n.length&&(j(n),Q(e),J(t),Zn()),I(qn.w.CONQUEST_MODEL_SELECTION)},mn=function(n){var t;try{if(t=n%3,z.length>3&&e===hn._.deviceType.desktop){var i=2*X-n;t=i>=-2&&i<=0?Math.abs(i):i>0?0:2}else if(z.length>3){var r=(X-n)%3;t=[0,1,2].includes(r)?r:1}}catch(o){t=0}return["/typ/1.1/conquest/background-1.jpg","/typ/1.1/conquest/background-2.png","/typ/1.1/conquest/background-3.png"][t]};(0,c.useEffect)((function(){nn(!1),O([]),gn()}),[g]),(0,c.useEffect)((function(){var n=b.map((function(n){return{model:n.name,make:n.makeName}}))||[],e=z.reduce((function(e,t){var i,r=t.vehicle,o=r.make,a=r.model;return(null===(i=n.filter((function(n){return n.make===o&&n.model===a})))||void 0===i?void 0:i.length)||e.push(t),e}),[]);O(e)}),[b]),(0,c.useEffect)((function(){z.length&&!B&&(x(!0),E(!0))}),[z.length,B,x]);var vn,yn=0===X?"leftp":X===z.length-1?"rightp":"";return $?null:(0,a.BX)(on,{"data-testid":"".concat(m,"-wrapper"),children:[(0,a.BX)(an,{"data-testid":"".concat(m,"-title-section"),children:[(0,a.tZ)(cn,{"data-testid":"".concat(m,"-title"),children:e===hn._.deviceType.mobile?Bn:"".concat(Bn," ").concat(En)}),(0,a.tZ)(sn,{"data-testid":"".concat(m,"-subtitle"),children:En})]}),(0,a.tZ)(V,{setCurrent:function(n){n>X&&z.length&&!tn.includes(n)&&(rn((0,r.Z)(tn).concat([n])),I(qn.w.SHOW_MORE_CONQUEST_MODELS),(0,In.hR)(Sn.DY.TYP_CONQUEST_SHOW_MORE_CLICK)),D(n)},enaButtons:z.length>0,className:yn,testIdPrefix:m,children:z.length?z.map((function(n,e){return(0,a.tZ)(dn,{"data-testid":"".concat(m,"-card-").concat(e),children:(0,a.tZ)(L,{getPricing:pn,coverage:n,ingHeader:mn(e),disabledLead:w,cardIndex:e,testIdPrefix:m})},e)})):Array.from(Array(3).keys()).map((function(n){return(0,a.tZ)(dn,{"data-testid":"".concat(m,"-skeleton-card-").concat(n),children:(0,a.tZ)(xn,{})},n)}))}),(0,a.tZ)(s.Z,{from:"conquest",open:N,setOpen:Zn,testIdPrefix:m,dealers:M,vehicle:H,usParams:R,gclid:u,device:null!==(vn=null===hn._||void 0===hn._?void 0:hn._.deviceType["".concat(e)])&&void 0!==vn?vn:"Unknown",sourceId:f,handlerPostMLD:function(n){var e=z.filter((function(e){return e.vehicle!==n}));e.length||setTimeout((function(){nn(!0)}),2e3),O(e)},zipCodeInfo:l,preSelectOptions:G,phone:Z})]})}},2478:function(n,e,t){t.d(e,{El:function(){return c}});var i=t(47568),r=t(14924),o=t(97582),a=t(49917),c=function(){var n=(0,i.Z)((function(n){var e,t,i,c,s,d=arguments;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:e=d.length>1&&void 0!==d[1]&&d[1],t=e?a.v.conquestClientUrl:a.v.conquestUrl,o.label=1;case 1:return o.trys.push([1,3,,4]),i="".concat(t),c=new URLSearchParams(n).toString(),[4,fetch("".concat(i,"?").concat(c),{headers:(0,r.Z)({},"".concat(a.v.headerApim.header_key),a.v.headerApim.header_value)}).then((function(n){return n.json()})).then((function(n){return n.coverages.filter((function(n){return n.vehicle.imageurlPng&&n.vehicle.imageurlJpg}))}))];case 2:return[2,{coverageRawData:{coverages:o.sent().slice(0,4)}}];case 3:return s=o.sent(),console.log(s.message),[2,{coverageRawData:{coverages:[]}}];case 4:return[2]}}
1))}));return function(e){return n.apply(this,arguments)}}();(function(){var n=(0,i.Z)((function(n){var e,t,i,c,s=arguments;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:return e=s.length>1&&void 0!==s[1]&&s[1],t=e?a.v.conquestClientUrl:a.v.conquestUrl,i="".concat(t),c=new URLSearchParams(n).toString(),[4,fetch("".concat(i,"?").concat(c),{headers:(0,r.Z)({},"".concat(a.v.headerApim.header_key),a.v.headerApim.header_value)}).then((function(n){return n.json()})).then((function(n){return n.coverages.filter((function(n){return n.vehicle.imageurlPng&&n.vehicle.imageurlJpg}))}))];case 1:return[2,{coverageRawData:{coverages:o.sent().slice(0,4)}}]}}))}))})(),function(){var n=(0,i.Z)((function(n,e,t,i,r){var c;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),c="".concat(a.v.siteUrl,"/api/conquest-carmax?make=").concat(n,"&model=").concat(e,"&zipcode=").concat(t,"&sourceId=").concat(i,"&programId=").concat(r),[4,fetch(c)];case 1:return[4,o.sent().json()];case 2:return[2,o.sent()];case 3:return o.sent(),[2,{ResultCars:[]}];case 4:return[2]}}
1))}))}()},75231:function(n,e){e.Z=function(n){try{var e=window.localStorage.getItem(n),t=e?JSON.parse(e):null;return e?t:null}catch(i){console.log("localStorage Error")}}}}]);
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.