/*! For license information please see 460-9198e9e17671980faa9e.js.LICENSE.txt */
"use strict";(self.webpackChunkvixen=self.webpackChunkvixen||[]).push([[460],{1108:(e,t,r)=>{r.d(t,{u:()=>u});var n=r(3099),o=r(5114);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function i(){i=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},l="function"==typeof Symbol?Symbol:{},s=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",u=l.toStringTag||"@@toStringTag";function d(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var a=t&&t.prototype instanceof g?t:g,i=Object.create(a.prototype),l=new P(n||[]);return o(i,"_invoke",{value:O(e,r,l)}),i}function m(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",f="suspendedYield",v="executing",y="completed",_={};function g(){}function b(){}function w(){}var x={};d(x,s,(function(){return this}));var S=Object.getPrototypeOf,C=S&&S(S(E([])));C&&C!==r&&n.call(C,s)&&(x=C);var j=w.prototype=g.prototype=Object.create(x);function N(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,l,s){var c=m(e[o],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==a(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,l,s)}),(function(e){r("throw",e,l,s)})):t.resolve(d).then((function(e){u.value=e,l(u)}),(function(e){return r("throw",e,l,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function O(t,r,n){var o=h;return function(a,i){if(o===v)throw Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var l=n.delegate;if(l){var s=k(l,n);if(s){if(s===_)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var c=m(t,r,n);if("normal"===c.type){if(o=n.done?y:f,c.arg===_)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var a=m(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,_;var i=a.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,_):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,_)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function E(t){if(t||""===t){var r=t[s];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(a(t)+" is not iterable")}return b.prototype=w,o(j,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:b,configurable:!0}),b.displayName=d(w,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,d(e,u,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},N(T.prototype),d(T.prototype,c,(function(){return this})),t.AsyncIterator=T,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new T(p(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},N(j),d(j,u,"Generator"),d(j,s,(function(){return this})),d(j,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=E,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return l.type="throw",l.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,_):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:E(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function l(e,t,r,n,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(n,o)}var s,c,u=(0,n.gD)({key:"customizerConfigs",get:(s=i().mark((function e(t){var r,n,a,l,s,c,u,d,p,m,h,f,v,y,_,g,b,w,x,S,C,j,N,T,O,k,L,A,P,E,I,B,D,V,M,W,F,R,U,H,G,J,q,K,Y,z,Z,$,X,Q,ee,te,re,ne,oe,ae,ie,le,se,ce,ue,de,pe,me,he,fe,ve,ye,_e,ge,be,we,xe,Se,Ce,je,Ne,Te,Oe,ke,Le,Ae,Pe,Ee,Ie,Be,De,Ve,Me,We,Fe,Re,Ue,He,Ge,Je,qe,Ke,Ye,ze,Ze,$e,Xe,Qe,et,tt,rt,nt,ot,at,it,lt,st,ct;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return st=t.get,ct=st(o.FUk),e.abrupt("return",{srpCardShowStockVin:"true"===(null==ct||null===(r=ct[4])||void 0===r?void 0:r.carbox_show_stock_vin)||!1,formPhoneRequired:"true"===(null==ct||null===(n=ct[0])||void 0===n?void 0:n.forms__phone_required)||!1,showConditionalCashIncentives:(null==ct||null===(a=ct[4])||void 0===a?void 0:a.show_conditional_cash_incentives)||!1,frontpageSubheroHide:(null==ct||null===(l=ct[3])||void 0===l?void 0:l.frontpage_subhero_hide)||!1,frontpageSubheroHideDesktop:(null==ct||null===(s=ct[3])||void 0===s?void 0:s.frontpage_subhero_desktop_only)||!1,showSrpForm:(null==ct||null===(c=ct[4])||void 0===c?void 0:c.carbox_inline_form)||!1,hideVdpForm:null===(u=null==ct||null===(d=ct[4])||void 0===d?void 0:d.vdp_form_primary_hide)||void 0===u||u,emailValidation:"true"===(null==ct||null===(p=ct[0])||void 0===p?void 0:p.forms__email_required)||!1,showTextarea:(null==ct||null===(m=ct[0])||void 0===m?void 0:m.show_lead_form_textarea)||!1,showHeadersecondaryNumber:(null==ct||null===(h=ct[2])||void 0===h?void 0:h.header_include_secondary_phone)||!1,showHeaderTertiaryNumber:(null==ct||null===(f=ct[2])||void 0===f?void 0:f.header_include_tertiary_phone)||!1,hideInventoryCount:(null==ct||null===(v=ct[0])||void 0===v?void 0:v.hide_inventory_count)||!1,showFooterContacts:{showSecondaryPhone:null!==(y=null==ct||null===(_=ct[2])||void 0===_?void 0:_.footer_include_secondary_phone)&&void 0!==y&&y,showTertiaryPhone:null!==(g=null==ct||null===(b=ct[2])||void 0===b?void 0:b.footer_include_tertiary_phone)&&void 0!==g&&g},vdpHideAddons:null===(w=null==ct||null===(x=ct[4])||void 0===x?void 0:x.vdp_hide_addons)||void 0===w||w,vdpHideIncentives:null===(S=null==ct||null===(C=ct[4])||void 0===C?void 0:C.vdp_hide_incentives)||void 0===S||S,carboxShowTextSpecs:null===(j=null==ct||null===(N=ct[4])||void 0===N?void 0:N.vdp_form_primary_hide)||void 0===j||j,showVdpdealerDiscount:(null==ct||null===(T=ct[4])||void 0===T?void 0:T.vdp_hide_dealer_discount)||!1,showVdpTotalDiscounts:!0===(null==ct||null===(O=ct[4])||void 0===O?void 0:O.vdp_hide_total_savings)||!1,showFrontpageSliderOnlyOnDesktop:(null==ct||null===(k=ct[3])||void 0===k?void 0:k.frontpage_heroSlider_show_desktop_only)||!1,reserveFlagOn:null!==(L="true"===(null==ct||null===(A=ct[6])||void 0===A?void 0:A.reserve_flag_on))&&void 0!==L&&L,showMsrpDisclaimer:null!==(P="true"===(null==ct||null===(E=ct[4])||void 0===E?void 0:E.pricing_msrp_disclaimer_show_settings))&&void 0!==P&&P,instantSearchActive:"on"===(null==ct||null===(I=ct[0])||void 0===I?void 0:I.instantSearch__is_active)||!1,overrideFinanceRate:"true"===(null==ct||null===(B=ct[4])||void 0===B?void 0:B.calc_override_incentives)||!1,showCouponAutoExpire:!0===(null==ct||null===(D=ct[0])||void 0===D?void 0:D.show_coupon_auto_expire)||!1,smartPathActive:"false"!==(null!==(V=null==ct||null===(M=ct[6])||void 0===M?void 0:M.smartpath_is_active)&&void 0!==V?V:"false"),smartPathShowModal:"false"!==(null!==(W=null==ct||null===(F=ct[6])||void 0===F?void 0:F.smartpath_show_smartpath_modal)&&void 0!==W?W:"false"),smartPathShowLockUnlockCta:"true"===(null!==(R=null==ct||null===(U=ct[6])||void 0===U?void 0:U.smartpath_show_lock_unlock_cta)&&void 0!==R?R:"true")||!0===(null===(H=null==ct||null===(G=ct[6])||void 0===G?void 0:G.smartpath_show_lock_unlock_cta)||void 0===H||H),smartPathShowEstimatePaymentCta:"true"===(null!==(J=null==ct||null===(q=ct[6])||void 0===q?void 0:q.smartpath_show_estimate_payment_cta)&&void 0!==J?J:"true")||!0===(null===(K=null==ct||null===(Y=ct[6])||void 0===Y?void 0:Y.smartpath_show_estimate_payment_cta)||void 0===K||K),smartPathShowValueYourTradeCta:"true"===(null!==(z=null==ct||null===(Z=ct[6])||void 0===Z?void 0:Z.smartpath_show_value_your_trade_cta)&&void 0!==z?z:"true")||!0===(null===($=null==ct||null===(X=ct[6])||void 0===X?void 0:X.smartpath_show_value_your_trade_cta)||void 0===$||$),smartPathOption:"false"!==(null!==(Q=null==ct||null===(ee=ct[6])||void 0===ee?void 0:ee.smartpath_option_one)&&void 0!==Q?Q:"false"),smartPathNewUnloacked:"false"!==(null!==(te=null==ct||null===(re=ct[6])||void 0===re?void 0:re.smartpath_new_unlocked)&&void 0!==te?te:"false"),showLeaseOfferFinePrint:null!==(ne=null==ct||null===(oe=ct[4])||void 0===oe?void 0:oe.show_lease_offer_fine_print)&&void 0!==ne&&ne||!1,showFinanceOfferFinePrint:null!==(ae=null==ct||null===(ie=ct[4])||void 0===ie?void 0:ie.show_finance_offer_fine_print)&&void 0!==ae&&ae||!1,canadaLuxTaxDisclaimer:null!==(le=null==ct||null===(se=ct[4])||void 0===se?void 0:se.disclaimer_canada)&&void 0!==le&&le||!1,nissanShowTrimInTitle:null!==(ce=null==ct||null===(ue=ct[6])||void 0===ue?void 0:ue.nissan_show_trim_in_title)&&void 0!==ce&&ce||!1,nissanRelocatePackageHighlightsToUnderVehThumbs:null!==(de=null==ct||null===(pe=ct[6])||void 0===pe?void 0:pe.nissan_relocate_package_highlights_under_v_thumbs)&&void 0!==de&&de||!1,vdpShowTotalAddons:null!==(me=null==ct||null===(he=ct[4])||void 0===he?void 0:he.vdp_show_total_addons)&&void 0!==me&&me||!1,vdpShowSellingPrice:null!==(fe=null==ct||null===(ve=ct[4])||void 0===ve?void 0:ve.vdp_show_selling_price)&&void 0!==fe&&fe||!1,hideVdpTotalSavings:(null==ct||null===(ye=ct[4])||void 0===ye||null===(ye=ye[4])||void 0===ye?void 0:ye.vdp_hide_total_savings)||!1,vdpShowTotalIncentives:(null==ct||null===(_e=ct[4])||void 0===_e?void 0:_e.vdp_show_total_incentives)||!1,vdpShowConditionalPrice:(null==ct||null===(ge=ct[4])||void 0===ge?void 0:ge.vdp_show_conditional_price)||!1,pricingTitleConditionalPrice:(null==ct||null===(be=ct[4])||void 0===be?void 0:be.pricing_title_conditional_price)||!1,paymentType:(null==ct||null===(we=ct[4])||void 0===we?void 0:we.incentives_finance__term)||!1,priceStackUseSrpHtml:null!==(xe=null==ct||null===(Se=ct[4])||void 0===Se?void 0:Se.price_stack__use_html)&&void 0!==xe&&xe||!1,omitFirstSliderImage:"true"===(null!==(Ce=null==ct||null===(je=ct[4])||void 0===je?void 0:je.vehicle_image__used_omit_first_image)&&void 0!==Ce?Ce:"false"),showRockHillHpVideo:null!==(Ne=null==ct||null===(Te=ct[7])||void 0===Te?void 0:Te.show_video)&&void 0!==Ne&&Ne,rockHillHpVideoAutoPlay:null!==(Oe=null==ct||null===(ke=ct[7])||void 0===ke?void 0:ke.autoplay)&&void 0!==Oe&&Oe,textFeature:null!==(Le=null==ct||null===(Ae=ct[7])||void 0===Ae?void 0:Ae.text_form)&&void 0!==Le&&Le,enableGravityFormApiVixen:null!==(Pe=null==ct||null===(Ee=ct[0])||void 0===Ee?void 0:Ee.enable_gravity_form_api_vixen)&&void 0!==Pe&&Pe,searchRestrictByType:null!==(Ie=null==ct||null===(Be=ct[0])||void 0===Be?void 0:Be.search__restrict_by_type)&&void 0!==Ie&&Ie,isDdoaActive:null!==(De="true"===(null==ct||null===(Ve=ct[6])||void 0===Ve?void 0:Ve.ddoa_is_active))&&void 0!==De&&De,translateToSpanishBtn:null!==(Me=null==ct||null===(We=ct[0])||void 0===We?void 0:We.translate_to_spanish_btn)&&void 0!==Me&&Me,translateToSpanishBtnText:(null==ct||null===(Fe=ct[0])||void 0===Fe?void 0:Fe.translate_to_spanish_btn_text)||"ESPAÑOL",translateToSpanishUrl:(null==ct||null===(Re=ct[0])||void 0===Re?void 0:Re.translate_to_spanish_url)||"",isGroupSite:(null==ct||null===(Ue=ct[0])||void 0===Ue?void 0:Ue.is_group_site)||!1,hideStartingAtMainNav:(null==ct||null===(He=ct[0])||void 0===He?void 0:He.hide_starting_at_main_nav)||!1,hideStartingAtNewVehicles:(null==ct||null===(Ge=ct[0])||void 0===Ge?void 0:Ge.hide_starting_at_new_vehicles)||!1,headerJellybeanNoStockText:(null==ct||null===(Je=ct[0])||void 0===Je?void 0:Je.header_jellybean_no_stock_text)||"Contact Us!",scheduleServiceUrl:(null==ct||null===(qe=ct[0])||void 0===qe?void 0:qe.schedule_service_url)||"/schedule-service/",couponsOrderPartsUrl:(null==ct||null===(Ke=ct[0])||void 0===Ke?void 0:Ke.coupons__order_parts_url)||"/parts/",hideCouponTitle:(null==ct||null===(Ye=ct[0])||void 0===Ye?void 0:Ye.hide_coupon_title)||!1,pricingTitleNoPriceClickable:(null==ct||null===(ze=ct[4])||void 0===ze?void 0:ze.pricing_title_no_price_clickable)||!1,pricingContactNumberNoPrice:(null==ct||null===(Ze=ct[4])||void 0===Ze?void 0:Ze.pricing_contact_number_no_price)||"",pricingTitleNoPrice:(null==ct||null===($e=ct[4])||void 0===$e?void 0:$e.pricing_title_no_price)||"",dopplerEnrolled:(null==ct||null===(Xe=ct[6])||void 0===Xe?void 0:Xe.doppler__enrolled)||!1,dopplerSrpBannerDetails:{imageSrc:(null==ct||null===(Qe=ct[6])||void 0===Qe||null===(Qe=Qe.doppler__srpBannerCta)||void 0===Qe?void 0:Qe.src)||""},dopplerDealerId:(null==ct||null===(et=ct[6])||void 0===et||null===(et=et.doppler__dealerId)||void 0===et?void 0:et.replace(/ /g,""))||"",dopplerSalesButtonCta:(null==ct||null===(tt=ct[6])||void 0===tt||null===(tt=tt.doppler__salesButtonCta)||void 0===tt?void 0:tt.src)||"",dopplerDealerZipcode:(null==ct||null===(rt=ct[6])||void 0===rt?void 0:rt.doppler__dealer_zipcode)||"",dopplerVdpCtaHideFlag:(null==ct||null===(nt=ct[6])||void 0===nt?void 0:nt.doppler__vdp_cta_hide_flag)||!1,vehicleVideoSrcKey:(null==ct||null===(ot=ct[4])||void 0===ot?void 0:ot.vehicle_video_src)||"",hideJBInvCountAndStartingMsrp:(null==ct||null===(at=ct[6])||void 0===at?void 0:at.hide_inv_count_start_msrp_specific_jb)||"",displaySrpTaggedBanners:(null==ct||null===(it=ct[6])||void 0===it?void 0:it.display_tagged_specials_banners_srp)||!1,displayVdpTaggedBanners:(null==ct||null===(lt=ct[6])||void 0===lt?void 0:lt.display_tagged_specials_banners_vdp)||!1});case 3:case"end":return e.stop()}}),e)})),c=function(){var e=this,t=arguments;return new Promise((function(r,n){var o=s.apply(e,t);function a(e){l(o,r,n,a,i,"next",e)}function i(e){l(o,r,n,a,i,"throw",e)}a(void 0)}))},function(e){return c.apply(this,arguments)})})},31:(e,t,r)=>{r.d(t,{L:()=>b});var n=r(6540),o=r(6942),a=r.n(o),i=r(3176),l=r(9197),s=r(3346),c=r(2895),u=r(5409),d=r(780),p=r(3099),m=r(413),h=r(1319),f=r(6283),v=r(1108),y=r(4848);function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}function g(e,t,r){var n;return n=function(e,t){if("object"!=_(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==_(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b=function(e){var t,r,o=e.title,_=e.image,b=e.startingPrice,w=e.url,x=e.stock,S=e.className,C=e.showWithTitle,j=void 0!==C&&C,N=e.titleClassName,T=e.displayBtn,O=void 0!==T&&T,k=e.stockClassName,L=e.subTitle,A=e.productPageUrl,P=e.showProductLinks,E=e.hideDefaultStockLayout,I=void 0===E||E,B=e.showExtraBtn,D=void 0!==B&&B,V=e.extraBtnClassName,M=e.extraBtnTitle,W=e.viewInventoryBtnText,F=void 0===W?"View Inventory":W,R=e.exploreVehicleBtnText,U=void 0===R?"Explore":R,H=e.showInventoryLink,G=void 0!==H&&H,J=e.startingPriceClassName,q=e.showPriceLabel,K=e.isMegaMenu,Y=e.isNewVehicleSection,z=e.imgClassName,Z=(0,n.useContext)(f.a).translate,$=(0,p.vc)(d.yW),X=(0,p.vc)(v.u),Q=X.hideStartingAtMainNav,ee=X.hideStartingAtNewVehicles,te=X.headerJellybeanNoStockText,re=X.hideInventoryCount,ne=X.hideJBInvCountAndStartingMsrp,oe=(0,i.FE)(u.A,S),ae=(0,i.FE)(u.A,N),ie=(0,i.FE)(u.A,k),le=(0,p.vc)((0,d.P$)(m.N.JAGUARCINCINNATI)),se=g(g({},m.N.WOLFECADILLACCALGARY,"View Inventory"),"Wolfe Chevrolet GMC Buick Calgary","View Inventory"),ce=(0,p.vc)(d.ZE),ue="In Stock";return ue=(null!==(r=null==se?void 0:se[ce])&&void 0!==r?r:ue)||ue,(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)(s.N,{to:null!=w?w:"",className:a()(u.A.card,oe),onClick:function(){$&&(0,h.Sd)("TrackLinkClick",{linkText:null!=o?o:"",linkUrl:null!=w?w:""})},children:[!!_&&(0,y.jsx)(l.E,{className:a()(u.A.card_Img,z),src:_,alt:o,maxWidth:1200}),(0,y.jsxs)("p",{className:a()(u.A.card_Title,ae,"card_Title"),children:[o," ",!re&&!!x&&j&&!((null==o?void 0:o.toLowerCase())===(null==ne?void 0:ne.toLowerCase()))&&(0,y.jsx)("span",{children:"(".concat(x,")")})," "]}),!!L&&(0,y.jsxs)("p",{className:a()(u.A.card_Sub_Title),children:[" ",L," "]}),!!b&&"Contact Us!"!==b&&(!Q&&K&&!((null==o?void 0:o.toLowerCase())===(null==ne?void 0:ne.toLowerCase()))||Y&&!ee)&&(0,y.jsxs)("p",{className:a()(u.A.card_Price,u.A.starting_Price,g({},u.A.request_Now,"Request Now"===b),J),children:[q&&(0,y.jsx)("span",{children:q}),null==Z?void 0:Z(b)]}),!!x&&!re&&!j&&(0,y.jsxs)(y.Fragment,{children:[I&&(0,y.jsxs)("p",{className:a()(u.A.card_Stock,ie),children:[null!==(t=null==Z?void 0:Z(ue))&&void 0!==t?t:ue,": ",(0,y.jsx)("strong",{children:x})]}),!I&&(0,y.jsx)("p",{className:a()(u.A.card_Stock,ie),children:(0,y.jsxs)("strong",{children:[x," In Stock!"]})})]}),(!x||!b)&&!le&&(0,y.jsx)(s.N,{to:"contact-us",children:(0,y.jsx)("p",{className:a()(u.A.card_Stock,ie),children:null==Z?void 0:Z(te)})}),D&&(0,y.jsx)("span",{className:V,children:M})]}),!!G&&(0,y.jsxs)(c.$,{element:"a",href:null!=w?w:"",className:a()(u.A.link_Btn,"btn-link"),children:["View Inventory"," >"]}),!!O&&(0,y.jsxs)("div",{className:a()(u.A.btn_Section,"btn_Section"),children:[(0,y.jsx)(c.$,{element:"a",href:null!=w?w:"",className:u.A.btn_Md,children:F}),(0,y.jsxs)(c.$,{element:"a",href:null!=w?w:"",className:a()(u.A.btn_Md,u.A.outline_Dark_Gray,"btn-outline-gray"),children:[U," ",o]})]}),P&&(0,y.jsx)(s.N,{to:null!=A?A:"",className:u.A.product_Info,target:"_blank",children:"Product Information"})]})}},3581:(e,t,r)=>{r.d(t,{I:()=>A});var n=r(6540),o=r(6942),a=r.n(o),i=r(3176),l=r(2895),s=r(3099),c=r(7228),u=r(9518),d=function(e){return e.reduce((function(e,t){return e.then((function(e){return t().then(Array.prototype.concat.bind(e))}))}),Promise.resolve([]))},p=r(3346),m=r(7120),h=r(9883),f=r(3947),v=r(8857),y=r(1319);const _={searchbar_Contain:"EXJj2",icon_btn_only:"STn0k",search_Btn:"uq_4H",search_Input:"cPtSe",find_Vehicle_Search:"XslNH",autocomplete_Wrapper:"srqUE",input_Wrapper:"Ioaug",autocomplete_Link:"TEbdA",hovered:"kiA5R",br_0:"SWgvX",footer_Search_Bar_Bg:"SlQ_V",search_Row_Reverse:"I0dCA"};var g=r(9188),b=r(5114),w=r(9197),x=r(5220),S=r(1158),C=r(4848);function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}function N(){N=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var a=t&&t.prototype instanceof y?t:y,i=Object.create(a.prototype),l=new P(n||[]);return o(i,"_invoke",{value:O(e,r,l)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",m="suspendedYield",h="executing",f="completed",v={};function y(){}function _(){}function g(){}var b={};c(b,i,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(E([])));x&&x!==r&&n.call(x,i)&&(b=x);var S=g.prototype=y.prototype=Object.create(b);function C(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,a,i,l){var s=d(e[o],e,a);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==j(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return r("throw",e,i,l)}))}l(s.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function O(t,r,n){var o=p;return function(a,i){if(o===h)throw Error("Generator is already running");if(o===f){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var l=n.delegate;if(l){var s=k(l,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var c=d(t,r,n);if("normal"===c.type){if(o=n.done?f:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=f,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=d(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function E(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(j(t)+" is not iterable")}return _.prototype=g,o(S,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:_,configurable:!0}),_.displayName=c(g,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,s,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},C(T.prototype),c(T.prototype,l,(function(){return this})),t.AsyncIterator=T,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new T(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},C(S),c(S,s,"Generator"),c(S,i,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=E,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return l.type="throw",l.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:E(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function T(e,t,r,n,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(n,o)}function O(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){T(a,n,o,i,l,"next",e)}function l(e){T(a,n,o,i,l,"throw",e)}i(void 0)}))}}function k(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],s=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return L(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var A=function(e){var t,r,o,T=e.className,L=e.placeholder,A=e.isGetDirection,P=void 0!==A&&A,E=e.onSearch,I=e.icon,B=e.placeholders,D=e.autotype,V=e.getDirectionPlaceholder,M=e.btnClassName,W=e.inputClassName,F=e.inputWrapperClassName,R=e.showSearchIcon,U=void 0!==R&&R,H=e.btnText,G=void 0===H?"Search":H,J=e.showBtnIcon,q=void 0===J||J,K=(0,f.zy)(),Y=(0,f.Zp)(),z=(0,f.g)().lang,Z=(0,i.FE)(_,T),$=(0,i.FE)(_,M),X=(0,i.FE)(_,F),Q=(0,s.vc)(c.Qk),ee=(0,s.vc)(b.HXF),te=(0,s.lZ)(S._2),re=(0,n.useRef)(null),ne=k((0,n.useTransition)(),2)[1],oe=(0,s.vc)(b.btb),ae=(0,n.useRef)(0),ie=(0,n.useRef)(null),le=(0,n.useMemo)((function(){return new m.A(null!=B?B:[],{threshold:.3,keys:["display_name"]})}),[B]),se=function(){ee&&!P&&te(!0)},ce=k((0,n.useState)(-1),2),ue=ce[0],de=ce[1],pe=function(e){return function(){return de(e)}},me=k((0,n.useState)([]),2),he=me[0],fe=me[1],ve=null!==(t=null!==(r=null==D?void 0:D[ae.current])&&void 0!==r?r:L)&&void 0!==t?t:"",ye=!1,_e=!1;if(null!==(o=K.pathname)&&void 0!==o&&o.startsWith("/inventory")){var ge,be,we,xe,Se,Ce=(null!==(ge=K.pathname)&&void 0!==ge?ge:"").split("-"),je=Ce[Ce.length-1];ye=!(0,g.w2)(je)&&((null===(be="".concat(K.pathname).concat(K.search))||void 0===be?void 0:be.indexOf("used"))>-1||(null===(we="".concat(K.pathname).concat(K.search))||void 0===we?void 0:we.indexOf("Used"))>-1),_e=!(0,g.w2)(je)&&((null===(xe="".concat(K.pathname).concat(K.search))||void 0===xe?void 0:xe.indexOf("new"))>-1||(null===(Se="".concat(K.pathname).concat(K.search))||void 0===Se?void 0:Se.indexOf("New"))>-1)}var Ne=function(e){var t=new URLSearchParams;t.append("s",e.trim());var r=t.toString(),n="inventory";ye&&(n="inventory/used"),_e&&(n="inventory/new"),!oe||_e||ye||(n="inventory/new");var o="/".concat(n,"/").concat(r?"?".concat(r):"");Y((0,v.X7)(o,z))};(0,n.useEffect)((function(){de(-1)}),[he]);var Te=(0,n.useCallback)((function(e){if("ArrowDown"===e.key&&(e.preventDefault(),de((function(e){var t=e+1;return t>=he.length&&(t=-1),t}))),"ArrowUp"===e.key&&(e.preventDefault(),de((function(e){var t=e-1;return t<-1&&(t=he.length-1),t}))),"Enter"===e.key)if(e.preventDefault(),-1!==ue)re.current&&(re.current.value=""),Y((0,v.X7)((0,h.Uq)(new URLSearchParams({type:ye?"used":_e?"new":"",model:he[ue].item,ref:"fromsearch"})),z));else{var t,r,n,o=new URLSearchParams;o.append("s",null!==(t=null===(r=re.current)||void 0===r?void 0:r.value.trim())&&void 0!==t?t:""),ye&&o.set("type","used"),_e&&o.set("type","new"),!oe||_e||ye||o.set("type","new");var a=o.toString(),i=a?"?".concat(a):"",l="/inventory/".concat(i);Y((0,v.X7)(l,z)),null==ie||null===(n=ie.current)||void 0===n||n.reset()}}),[ue,he]);return(0,n.useEffect)((function(){fe([]),de(-1)}),[K]),(0,n.useEffect)((function(){var e=!0,t=null!=D?D:[],r=function(){var n=O(N().mark((function n(){return N().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t.length&&e){n.next=2;break}return n.abrupt("return");case 2:return n.next=4,d(t.map((function(t){return O(N().mark((function r(){var n,o;return N().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=(0,u.N0)(t),o=Array.from(n),r.next=4,d(o.map((function(r){return O(N().mark((function n(){return N().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e){n.next=2;break}return n.abrupt("return");case 2:if(re.current&&(re.current.placeholder=r),r!==t){n.next=8;break}return n.next=6,(0,i.cb)(300);case 6:n.next=10;break;case 8:return n.next=10,(0,i.cb)(150);case 10:case"end":return n.stop()}}),n)})))})));case 4:case"end":return r.stop()}}),r)})))})));case 4:return n.next=6,r();case 6:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}();return r(),function(){e=!1}}),[D]),(0,C.jsxs)("form",{ref:ie,onSubmit:function(e){var t,r;e.preventDefault();var n=e.currentTarget,o=new FormData(n).get("search")||"";if(P){var a=encodeURIComponent(Q),i=encodeURIComponent(o);return(0,y.cC)(),void window.open("https://maps.google.com/maps?daddr=".concat(a,"&saddr=").concat(i),"_blank")}(0,y.Yt)({searchValue:o}),(0,y.xD)("asc_element_configuration_".concat(Date.now()),{event_action:"keyup",event:"asc_element_configuration",page_type:null===(t=window)||void 0===t||null===(t=t.asc_datalayer)||void 0===t?void 0:t.page_type,element_text:"query",element_type:"search_bar",element_value:o,product_name:"Fox Dealer",element_subtype:"field",element_title:null,element_state:null}),E?null==E||E(o):null==Ne||Ne(o),null==ie||null===(r=ie.current)||void 0===r||r.reset()},className:a()(_.searchbar_Contain,Z),children:[(0,C.jsxs)("div",{className:a()(_.input_Wrapper,X),children:[(0,C.jsx)("input",{ref:re,type:"search",name:"search",className:a()(_.search_Input,W),placeholder:P?V:ve,"aria-label":"Search",autoComplete:"off",onChange:function(e){ne((function(){fe(le.search(e.target.value).map((function(e){return e.item})))}))},onKeyDown:Te,onClick:function(){var e;(0,y.xD)("asc_element_configuration_".concat(Date.now()),{event_action:"click",event:"asc_element_configuration",page_type:null===(e=window)||void 0===e||null===(e=e.asc_datalayer)||void 0===e?void 0:e.page_type,element_text:"search text",link_url:null,event_action_result:"search",element_type:"form"}),null==se||se()}}),!!U&&(0,C.jsx)("span",{className:_.icon,onClick:se,children:(0,C.jsx)("i",{className:"foxicon foxicon-search"})}),!!he.length&&(0,C.jsx)("div",{className:_.autocomplete_Wrapper,children:(0,C.jsx)("ul",{children:he.map((function(e,t){return(0,C.jsx)("li",{children:(0,C.jsx)(p.N,{to:(0,h.Uq)(new URLSearchParams({type:ye?"used":"new",model:e.item,ref:"fromsearch"})),onMouseEnter:pe(t),className:a()(_.autocomplete_Link,(r={},n=_.hovered,o=ue===t,i=function(e,t){if("object"!=j(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=j(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n),(n="symbol"==j(i)?i:i+"")in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,r)),children:e.display_name})},e.item);var r,n,o,i}))})})]}),(0,C.jsxs)(l.$,{type:"submit",className:a()(_.search_Btn,"btn-icon btn-rounded btn-sm",$),children:[q&&(0,C.jsx)(w.E,{src:null!=I?I:x.A.searchIcoWhite,resize:!1,alt:"Search"}),(0,C.jsx)("span",{children:G})]})]})}},8550:(e,t,r)=>{r.r(t),r.d(t,{default:()=>I});var n=r(3947),o=r(6540),a=r(8857),i=r(3099),l=r(780),s=r(1319),c=r(1158),u=r(6942),d=r.n(u),p=r(9188),m=r(8903),h=r(7957);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function v(){v=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var a=t&&t.prototype instanceof g?t:g,i=Object.create(a.prototype),l=new P(n||[]);return o(i,"_invoke",{value:O(e,r,l)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",m="suspendedYield",h="executing",y="completed",_={};function g(){}function b(){}function w(){}var x={};c(x,i,(function(){return this}));var S=Object.getPrototypeOf,C=S&&S(S(E([])));C&&C!==r&&n.call(C,i)&&(x=C);var j=w.prototype=g.prototype=Object.create(x);function N(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,a,i,l){var s=d(e[o],e,a);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==f(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return r("throw",e,i,l)}))}l(s.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function O(t,r,n){var o=p;return function(a,i){if(o===h)throw Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var l=n.delegate;if(l){var s=k(l,n);if(s){if(s===_)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var c=d(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===_)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var a=d(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,_;var i=a.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,_):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,_)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function E(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(f(t)+" is not iterable")}return b.prototype=w,o(j,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:b,configurable:!0}),b.displayName=c(w,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,c(e,s,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},N(T.prototype),c(T.prototype,l,(function(){return this})),t.AsyncIterator=T,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new T(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},N(j),c(j,s,"Generator"),c(j,i,(function(){return this})),c(j,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=E,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return l.type="throw",l.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,_):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:E(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function y(e,t,r,n,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(n,o)}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],s=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var b=5e3,w=1e4;function x(){return(0,h.E)()?w:b}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x(),a=(0,n.zy)(),i=_((0,o.useState)({headerScripts:[],footerScripts:[]}),2),l=i[0],s=i[1];(0,o.useEffect)((function(){var t;(t=v().mark((function t(){var n,o,a;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=9;break}return t.next=3,Promise.resolve().then(r.bind(r,8903));case 3:return n=t.sent,o=n.getScripts,t.next=7,o(e);case 7:a=t.sent,s(a);case 9:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(e){y(a,n,o,i,l,"next",e)}function l(e){y(a,n,o,i,l,"throw",e)}i(void 0)}))})()}),[]);var c=(0,o.useRef)([]),u=function(){c.current.forEach((function(e){e.remove()})),c.current=[]},d=function(e,r){(0,m.extractAsReactElements)(e.elements).filter((function(e){return"script"===e.type||"meta"===e.type})).forEach((function(n){var o,a,i;"header"===r&&"meta"===n.type?(o=c,a=n,i=document.createElement("meta"),Object.entries(a.props).forEach((function(e){var t=_(e,2),r=t[0],n=t[1];"children"!==r&&(i[r]=n)})),document.head.appendChild(i),o.current.push(i)):function(e,t,r,n,o){var a,i,l="header"===r?document.head:document.body;if(null!==(a=t.props)&&void 0!==a&&a.src||null!==(i=t.props)&&void 0!==i&&i.dangerouslySetInnerHTML){var s=document.createElement("script");Object.entries(t.props).forEach((function(e){var t=_(e,2),r=t[0],n=t[1];"children"!==r&&"dangerouslySetInnerHTML"!==r&&s.setAttribute(r,n),"dangerouslySetInnerHTML"===r&&(s.innerHTML=null==n?void 0:n.__html)})),-1!==s.src.indexOf("askava")&&(s.onload=function(){var e;"function"==typeof(null===(e=window)||void 0===e||null===(e=e.askAva)||void 0===e?void 0:e.__load)&&askAva.__load()}),-1!==s.src.indexOf("les_video")&&(s.onload=function(){"function"==typeof window.int_les_vid&&window.int_les_vid()}),n?function(e,t,r,n){setTimeout((function(){t.appendChild(r),e.current.push(r)}),n)}(e,l,s,o):function(e,t,r){t.appendChild(r),e.current.push(r)}(e,l,s)}}(c,n,r,e.shouldDelayLoad,t)}))},h=function(e){return function(t){return t.page===e||"all"===t.page&&t.shouldDelayLoad}};(0,o.useEffect)((function(){u();var e=setTimeout((function(){!function(e){var t;if("/"===e.pathname&&(l.headerScripts.filter(h("homepage")).forEach((function(e){return d(e,"header")})),l.footerScripts.filter(h("homepage")).forEach((function(e){return d(e,"footer")}))),null!==(t=e.pathname)&&void 0!==t&&t.startsWith("/inventory")){var r,n=null==e||null===(r=e.pathname)||void 0===r||null===(r=r.split("/"))||void 0===r?void 0:r.filter(Boolean),o=null==n?void 0:n[n.length-1],a=(null!=o?o:"").split("-"),i=a[a.length-1];(0,p.w2)(i)||(l.headerScripts.filter(h("srp")).forEach((function(e){return d(e,"header")})),l.footerScripts.filter(h("srp")).forEach((function(e){return d(e,"footer")}))),(0,p.w2)(i)&&(l.headerScripts.filter(h("vdp")).forEach((function(e){return d(e,"header")})),l.footerScripts.filter(h("vdp")).forEach((function(e){return d(e,"footer")})))}}(a)}),500);return function(){u(),e&&clearTimeout(e)}}),[l,a.key])}var C=r(4848),j=(0,o.createContext)({requestScriptMap:new Map}),N=function(e){var t=e.children,r=e.requestScriptMap;return(0,C.jsx)(j.Provider,{value:{requestScriptMap:r},children:t})},T=r(1734),O=r(5865),k=r(413),L=r(4702);const A=function(){var e=(0,n.zy)(),t=(0,o.useRef)(0),r=(0,i.lZ)(c.VH);return console.log("start time",new Date),(0,o.useEffect)((function(){t.current&&clearTimeout(t.current),t.current=setTimeout((function(){console.log("end time",new Date),r(!0)}),3e5)}),[e.key]),null};var P=function(e){var t=e.children,r=(0,n.zy)(),o=r.pathname,a=function(e,t,r){var n="";if(e){var o=(null!=e&&e.endsWith("/")?e:"".concat(e,"/"))+t;Object.keys(r).forEach((function(e){e.split(",").forEach((function(t){var a,i,l,s,c=t;null!==(a=c)&&void 0!==a&&a.startsWith("http")&&(c=null!==(l=null===(s=new URL(t))||void 0===s?void 0:s.pathname)&&void 0!==l?l:"/"),c.startsWith("/")||(c="/".concat(c));var u=new URL(c,"https://www.foxdealer.com/");(u.pathname.endsWith("/")?u.pathname:"".concat(u.pathname,"/"))+u.search===o&&(n=r[e]),null!=Object&&null!==(i=Object.keys)&&void 0!==i&&null!==(i=i.call(Object,r))&&void 0!==i&&i.includes(n)&&(n=r[n])}))}))}return n}(o,r.search,(0,i.vc)(l.of)),s=new URL(a,"https://www.foxdealer.com/");return o===a||"".concat(o,"/")===a?(0,C.jsx)(C.Fragment,{children:t}):a&&!a.startsWith("http")?(0,C.jsx)(n.rd,{to:{pathname:null==s?void 0:s.pathname,search:null==s?void 0:s.search},statusCode:301,replace:!0}):a?"undefined"!=typeof window?(window.location.href=a,(0,C.jsx)(C.Fragment,{})):(0,C.jsx)(C.Fragment,{}):(0,C.jsx)(C.Fragment,{children:t})},E=r(2389);const I=(0,o.memo)((function(e){var t,r,u,p,m,h,f,v=e.siteConfig,y=e.platform,_=e.siteUrl,g=e.i18nextInstance,b=(0,n.zy)(),w=(0,n.VL)(),j=w.setValue,I=w.getValue,B=(0,n.bk)(),D=B.setSyncData,V=B.getSyncData,M=(0,a.JK)(b.pathname),W="undefined"!=typeof window&&window._request_version?window._request_version:Date.now(),F=(0,o.useMemo)((function(){return new Map}),[]);(0,o.useEffect)((function(){window.scrollTo(0,0),(0,s.f4)()}),[b.key]);var R=Number(null!==(t=new URLSearchParams(null==b?void 0:b.search).get("deferTime"))&&void 0!==t?t:x());S(v.uniqueId,R);var U=(0,o.useMemo)((function(){return function(e){var t=e.set;t(l.Hd,v),t(c.A4,"desktop"!==y),t(O.$p,{setRequestVar:j,getRequestVar:I}),t(O.Tm,{setSyncData:D,getSyncData:V}),t(l.sW,_)}}),[]),H=!M&&(null!==(r=null===(u=v.siteLanguages)||void 0===u?void 0:u.length)&&void 0!==r?r:1)>1,G=(null==b||null===(p=b.pathname)||void 0===p?void 0:p.length)>1&&!(null!=b&&null!==(m=b.pathname)&&void 0!==m&&m.endsWith("/"))&&0===(null==b||null===(h=b.search)||void 0===h?void 0:h.length);if((0,o.useEffect)((function(){var e=function(){};return H||G||((0,s.UU)(v),(0,s.L0)(),e=(0,s.qG)()),e}),[H,G]),(0,o.useEffect)((function(){var e;if(null!=v&&null!==(e=v.options)&&void 0!==e&&null!==(e=e.ascbSettings)&&void 0!==e&&e.isEnabled){for(var t,r,n,o=null!==(t=JSON.parse(null!==(r=null==v||null===(n=v.options)||void 0===n||null===(n=n.ascbSettings)||void 0===n?void 0:n.ascbOptions)&&void 0!==r?r:"{}"))&&void 0!==t?t:{},a={mobile:{}},i=0;i<(null===(l=Object.keys(o))||void 0===l?void 0:l.length);i++){var l,s,c,u,d,p,m,h;null!==(s=Object.keys(o))&&void 0!==s&&null!==(s=s[i])&&void 0!==s&&null!==(c=(u=s).includes)&&void 0!==c&&c.call(u,"mobile")?a.mobile["".concat(null===(d=Object.keys(o))||void 0===d||null===(d=d[i])||void 0===d?void 0:d.replace("fdi_ada_mobileT","t"))]=o[null===(p=Object.keys(o))||void 0===p?void 0:p[i]]:a["".concat(null===(m=Object.keys(o))||void 0===m||null===(m=m[i])||void 0===m?void 0:m.replace("fdi_ada_",""))]=o[null===(h=Object.keys(o))||void 0===h?void 0:h[i]]}var f=document.createElement("script");f.src="https://acsbapp.com/apps/app/dist/js/app.js",f.async=!0,f.onload=function(){var e,t;"function"==typeof(null===(e=window)||void 0===e?void 0:e.acsbJS.init)&&(null===(t=window)||void 0===t||null===(t=t.acsbJS)||void 0===t||t.init(null!=a?a:{}))},document.head.appendChild(f)}}),[]),(0,o.useEffect)((function(){var e="".concat(document.location.protocol,"//script.crazyegg.com/pages/scripts/0064/3225.js?").concat(Math.floor((new Date).getTime()/36e5));(0,L.k)(e)}),[]),H)return(0,C.jsx)(n.rd,{to:{pathname:"/".concat((0,a.i5)()).concat(b.pathname),search:b.search,hash:b.hash},replace:!0,statusCode:302});if(G){var J=new URL(_.slice(0,_.length-1),"https://www.foxdealer.com/");return(0,C.jsx)(n.rd,{to:{pathname:"".concat(b.pathname,"/"),search:J.search},replace:!0,statusCode:301})}return(0,C.jsxs)("div",{className:d()(v.slug,v.theme),"data-theme":v.theme,"data-site":v.slug,"data-site-unique-id":k.H[null!==(f=null==v?void 0:v.siteId)&&void 0!==f?f:""]||"","data-siteurl":_,children:[(0,C.jsx)("script",{dangerouslySetInnerHTML:{__html:"window._request_version=".concat(W)}}),(0,C.jsx)(E.xC,{i18n:g,children:(0,C.jsx)(i.bi,{initializeState:U,children:(0,C.jsx)(N,{requestScriptMap:F,children:(0,C.jsx)(n.tH,{FallbackComponent:T.x,children:(0,C.jsxs)(P,{children:[(0,C.jsx)(n.sv,{}),(0,C.jsx)(A,{})]})})})})})]})}))},1506:(e,t,r)=>{r.d(t,{O:()=>h});var n=r(3325),o=r(4889),a=(r(673),r(6133),r(6773),r(159),r(5876),r(5265)),i=r(3099),l=r(1319),s=r(780),c=r(4848);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}var d=["slides","className"];function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){var n,o,a,i;n=e,o=t,a=r[t],i=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==u(i)?i:i+"")in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h=function(e){var t=e.slides,r=e.className,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,d),p=(0,a.g)(),h=(0,i.vc)(s.yW),f=function(e,t){var r,n;(0,l.Sd)("TrackCarousel",{interactionLabel:e,interactionValue:"".concat(t.realIndex,"/").concat(null!==(r=null==t||null===(n=t.slides)||void 0===n?void 0:n.length)&&void 0!==r?r:0)})};return(0,c.jsx)(n.RC,m(m(m(m({onSlideChange:p,modules:[o.Ij,o.dK,o.Vx,o._R]},h?{onNavigationNext:function(e){return f("next slide",e)}}:{}),h?{onNavigationPrev:function(e){return f("previous slide",e)}}:{}),u),{},{className:r,children:t(n.qr)}))}},7957:(e,t,r)=>{r.d(t,{E:()=>a});var n=r(6540);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function a(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:768,a="undefined"==typeof window,i=(e=(0,n.useState)(a?1024:window.innerWidth),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],s=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=i[0],s=i[1];return(0,n.useEffect)((function(){if(!a){var e=function(){s(window.innerWidth)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}}),[a]),l<=r}},5265:(e,t,r)=>{r.d(t,{g:()=>o});var n=r(1319);function o(){return function(e){var t=e.slides[e.activeIndex];if(t instanceof HTMLElement){var r,o,a,i,l=t.dataset;null!=l&&l.track&&(0,n.xD)("asc_media_interaction_".concat(Date.now()),{creative_name:null!==(r=null==l?void 0:l.title)&&void 0!==r?r:"",event:"asc_media_interaction",event_action_result:null!==(o=null==l?void 0:l.fdaAction)&&void 0!==o?o:"click/touch",link_url:l.linkUrl,media_type:null==l?void 0:l.mediaType,page_type:null!==(a=null===(i=window)||void 0===i||null===(i=i.asc_datalayer)||void 0===i?void 0:i.page_type)&&void 0!==a?a:"custom"})}}}},1012:(e,t,r)=>{r.r(t),r.d(t,{default:()=>Ct});var n=r(3947),o=r(6540),a=r(9523),i=r(3099),l=r(6940),s=r(6942),c=r.n(s),u=r(780),d=r(1140);var p=r(4848),m=function(){return(0,p.jsx)("div",{className:c()("skeleton_Box","at018")})},h=r(1734),f=r(8125);const v={explore_Vehicle:"H5hEr",explore_Vehicle_Contain:"v1P25",title:"udQVU",tab_Title_Contain:"j9oqF",card_Contain:"iUHaG",inventory_Card:"DWFsj"};function y(e){return function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return _(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var g=function(){return(0,p.jsx)("div",{className:c()(v.explore_Vehicle,"container container-fluid"),children:(0,p.jsxs)("div",{className:v.explore_Vehicle_Contain,children:[(0,p.jsx)("div",{className:c()(v.title,"skeleton_Box")}),(0,p.jsx)("div",{className:v.tab_Title_Contain,children:y(Array(4)).map((function(e,t){return(0,p.jsx)("div",{className:c()(v.tab_Title,"skeleton_Box")},t)}))}),(0,p.jsx)("div",{className:v.card_Contain,children:y(Array(4)).map((function(e,t){return(0,p.jsx)(f.s,{className:v.inventory_Card},t)}))})]})})};r(3463);function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var w=function(){return(0,p.jsx)("div",{className:c()("Dxmt2","container container-fluid"),children:(0,p.jsxs)("div",{className:"columns is_vcentered",children:[(0,p.jsxs)("div",{className:"column is_6",children:[(0,p.jsx)("div",{className:c()("FB6An","skeleton_Box")}),(e=Array(5),function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?b(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e,t){return(0,p.jsx)("span",{className:c()("skeleton_Box","qwjUd")},t)}))]}),(0,p.jsx)("div",{className:"column is_6",children:(0,p.jsx)("div",{className:c()("gsWCH","skeleton_Box")})})]})});var e},x=r(5535);const S={map_Section:"p4R96",map_Data:"pyj1G",title_Box:"yfUJN",sm_Title_Box:"d2xBd",sub_Title_Box:"YbZ9U",search_Box:"nwRNv",map_Box:"jrmX5",time_List:"G84CS",text_Box:"YCaBR",time_List_Contain:"AgPbh"};function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var j=function(){return(0,p.jsx)("div",{className:S.map_Section,children:(0,p.jsxs)("div",{className:"columns is_gapless",children:[(0,p.jsx)("div",{className:"column is_6",children:(0,p.jsx)("div",{className:S.map_Data,children:(0,p.jsxs)("div",{className:S.map_Data_Wrap,children:[(0,p.jsx)("div",{className:c()(S.title_Box,"skeleton_Box")}),(0,p.jsx)("div",{className:c()(S.sub_Title_Box,"skeleton_Box")}),(0,p.jsx)(x.d,{className:S.search_Box}),(0,p.jsxs)("div",{className:S.sm_Title_Box,children:[(0,p.jsx)("span",{className:c()("skeleton_Box",S.text_Box)}),(0,p.jsx)("span",{className:c()("skeleton_Box",S.text_Box)})]}),(0,p.jsx)("div",{className:S.time_List_Contain,children:(e=Array(7),function(e){if(Array.isArray(e))return C(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return C(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e,t){return(0,p.jsxs)("div",{className:S.time_List,children:[(0,p.jsx)("span",{className:c()("skeleton_Box",S.text_Box)}),(0,p.jsx)("span",{className:c()("skeleton_Box",S.text_Box)})]},t)}))})]})})}),(0,p.jsx)("div",{className:"column is_6",children:(0,p.jsx)("div",{className:c()(S.map_Box,"skeleton_Box")})})]})});var e},N=r(1506),T=r(3346),O=r(9216),k=r(9197),L=r(6982),A=r(3176);const P={wrapper:"DxbjH",vehicle_Search_Contain:"vZeX5",banner_d_None:"HVanL",banner_Aspect_Ratio:"ZrN6N",banner_Img_Wrapper:"orjD6",banner_Link:"iRcIK",banner_Picture:"lZKrd",banner_Img:"BaLsJ",show_In_Mobile:"dHcbE"};var E=r(5114);const I={disclaimer_Container:"pUSEH",active:"xgOcw",disclaimer_Text:"J9f6o",disclaimer_Btn:"QH4la"};function B(e){return B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},B(e)}function D(e,t,r){var n;return n=function(e,t){if("object"!=B(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=B(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==B(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var M=function(e){var t,r,n=e.text,a=e.className,i=e.btnClassName,l=e.textClassName,s=e.activeClassName,u=(t=(0,o.useState)(!1),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],s=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return V(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?V(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=u[0],m=u[1],h=(0,A.FE)(I,a),f=(0,A.FE)(I,i),v=(0,A.FE)(I,l),y=(0,A.FE)(I,s);return null!=n&&n.trim()?(0,p.jsxs)("div",{className:c()(I.disclaimer_Container,h,D({},I.active,d),D({},y,d)),children:[(0,p.jsxs)("button",{type:"button",className:c()(I.disclaimer_Btn,f),onClick:function(e){var t;null==e||null===(t=e.preventDefault)||void 0===t||t.call(e),m((function(e){return!e}))},children:["[ ",(0,p.jsx)("span",{className:I.animation,children:"+"}),"Disclaimer ]"]}),!!n&&(0,p.jsx)("div",{className:c()(I.disclaimer_Text,v),dangerouslySetInnerHTML:{__html:n}})]}):null},W=r(7957);function F(e){return F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},F(e)}function R(e){return function(e){if(Array.isArray(e))return G(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||H(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],s=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||H(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(e,t){if(e){if("string"==typeof e)return G(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?G(e,t):void 0}}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const J=function(e){var t,r,n,a,l,s,m=e.loop,h=void 0!==m&&m,f=e.sliderClassName,v=e.hideFullwidthBanner,y=void 0!==v&&v,_=e.className,g=e.delay,b=void 0===g?3e3:g,w=e.disclaimerClassName,x=void 0===w?"disclaimer-right":w,S=e.disclaimerVertical,C=void 0!==S&&S,j=e.singleImage,I=e.isSingleImage,B=e.openBeamanEventPage,D=e.bannerDisclaimerClassName,V=e.bannerDisclaimerV2ClassName,H=e.bannerLinkClassName,G=(0,i.vc)(L.nB),J=(0,i.vc)(L.l5),q=(0,i.vc)(E.Z$4),K=(0,i.vc)(E.TOj),Y=(0,i.vc)(d.y3),z=(0,i.vc)(u.ZE);if((0,W.E)()&&(G=J),!G.length)return null;1===G.length&&(s=!0);var Z,$,X,Q,ee=U((0,o.useState)(G),2),te=ee[0],re=ee[1],ne=(0,A.FE)(P,f),oe=(0,A.FE)(P,_),ae=null!==(t=null==te||null===(r=te.filter)||void 0===r?void 0:r.call(te,(function(e){var t;return!(null==e||null===(t=e.imageSrc)||void 0===t||!t.length)})))&&void 0!==t?t:[],ie=U((0,o.useState)(1920),2),le=ie[0],se=ie[1];return(0,o.useEffect)((function(){if("function"==typeof window.fdiPersonalizedBanners){var e,t=new window.fdiPersonalizedBanners({pageType:["homepage"]},z,"staging");return null==t||null===(e=t.onDelivery)||void 0===e||e.call(t,(function(e){var t;console.log(e,":::personalizedBanners");var r=null===(t=e.filter((function(e){var t;return!(null==e||null===(t=e.schedule)||void 0===t||null===(t=t.pages)||void 0===t||null===(t=t.srp)||void 0===t||!t.show)})).map((function(e){var t,r,n,o,a,i,l,s,c,u,d,p;return{imageTitle:null!==(t=e.title)&&void 0!==t?t:"",imageSrc:null!==(r=null==e||null===(n=e.schedule)||void 0===n||null===(n=n.pages)||void 0===n||null===(n=n.srp)||void 0===n||null===(n=n.images)||void 0===n||null===(n=n.desktop)||void 0===n?void 0:n.url)&&void 0!==r?r:"",link:null!==(o=null==e||null===(a=e.schedule)||void 0===a||null===(a=a.pages)||void 0===a||null===(a=a.srp)||void 0===a?void 0:a.url)&&void 0!==o?o:"",linkTarget:null!==(i=null==e||null===(l=e.schedule)||void 0===l||null===(l=l.pages)||void 0===l||null===(l=l.srp)||void 0===l?void 0:l.target)&&void 0!==i?i:"_blank",imageDisclaimer:null!==(s=null==e||null===(c=e.schedule)||void 0===c?void 0:c.disclaimer)&&void 0!==s?s:"",queryFields:null==e||null===(u=e.schedule)||void 0===u||null===(u=u.pages)||void 0===u||null===(u=u.srp)||void 0===u?void 0:u.query_fields,isDefaultBanner:null==e?void 0:e.isDefaultBanner,mobileImage:null!==(d=null==e||null===(p=e.schedule)||void 0===p||null===(p=p.pages)||void 0===p||null===(p=p.srp)||void 0===p||null===(p=p.images)||void 0===p||null===(p=p.mobile)||void 0===p?void 0:p.url)&&void 0!==d?d:""}})))||void 0===t?void 0:t.filter((function(e){return!!e.imageSrc}));re([].concat(R(G),R(r))),console.log([].concat(R(G),R(r)))})),function(){null==t||t.cancel()}}}),[]),(0,o.useEffect)((function(){if(!(0,A.tz)()){var e=function(){se(window.innerWidth)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}}),[A.tz]),(0,p.jsx)(p.Fragment,{children:I?(0,p.jsx)(k.E,{src:null!=j?j:"",alt:"",className:c()("img_Block",P.banner_Img),onClick:B,maxWidth:le,width:1600,height:500}):s?ae.map((function(e,t){var r;return(0,p.jsx)("div",{className:P.banner_Img_Wrapper,children:(0,p.jsxs)(T.N,{className:c()(P.banner_Link,H),to:null==e?void 0:e.link,target:null!==(r=null==e?void 0:e.linkTarget)&&void 0!==r?r:"_blank",children:[(0,p.jsxs)("picture",{className:P.banner_Picture,children:[(0,p.jsx)("source",{media:"(max-width: 55em)",srcSet:null==e?void 0:e.mobileImage}),(0,p.jsx)(k.E,{loading:0===t?"eager":"lazy",src:null==e?void 0:e.imageSrc,alt:null==e?void 0:e.alt,maxWidth:le,className:c()(P.banner_Img),width:1600,height:500})]}),!(null==e||!e.imageDisclaimer)&&(0,p.jsx)(p.Fragment,{children:C?(0,p.jsx)(M,{className:P.verticle_Desclaimer,text:null==e?void 0:e.imageDisclaimer.replaceAll("\n","<br>"),btnClassName:c()(P.vertical_Disclaimer_New,V),activeClassName:P.verticle_Desclaimer_Active}):(0,p.jsx)(O.M,{showDisclaimerBelowItem:Y,className:c()(D),text:null==e?void 0:e.imageDisclaimer.replaceAll("\n","<br>")})})]},t)})})):(0,p.jsx)("div",{className:c()(P.wrapper,y&&"container-free",(Z={},$=P.banner_d_None,X=!!q,Q=function(e,t){if("object"!=F(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=F(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}($),($="symbol"==F(Q)?Q:Q+"")in Z?Object.defineProperty(Z,$,{value:X,enumerable:!0,configurable:!0,writable:!0}):Z[$]=X,Z),oe),children:(0,p.jsx)(N.O,{autoplay:{delay:null!==(n=null==K?void 0:K.autoplaySpeed)&&void 0!==n?n:b},loop:h,effect:null!==(a=null==K?void 0:K.transitionType)&&void 0!==a?a:"slide",speed:null!==(l=null==K?void 0:K.sliderSpeed)&&void 0!==l?l:300,navigation:!0,autoHeight:!0,onClick:function(e){setTimeout((function(){return e.update()}),1)},observer:!0,observeParents:!0,pagination:{clickable:!0},className:c()(ne,"full_Width_Slider home_Banner_Slider ".concat(y&&"home_Banner_Wrapped")),slides:function(e){return ae.map((function(t,r){var n;return(0,p.jsx)(e,{"data-events":"carouselClick","data-asset-position":r,"data-total-asset":null==ae?void 0:ae.length,"data-asset-label":t.imageTitle,"data-fda-action":"click/touch","data-title":null==t?void 0:t.imageTitle,"data-link-url":null==t?void 0:t.link,"data-media-type":"hero banner","data-media-url":null==t?void 0:t.imageSrc,children:(0,p.jsx)("div",{className:P.banner_Img_Wrapper,children:(0,p.jsxs)(T.N,{className:P.banner_Link,to:null==t?void 0:t.link,target:null!==(n=null==t?void 0:t.linkTarget)&&void 0!==n?n:"_blank",children:[(0,p.jsxs)("picture",{className:P.banner_Picture,children:[(0,p.jsx)("source",{media:"(max-width: 55em)",srcSet:null==t?void 0:t.mobileImage}),(0,p.jsx)(k.E,{loading:0===r?"eager":"lazy",src:null==t?void 0:t.imageSrc,alt:null==t?void 0:t.alt,maxWidth:le,resize:!1,width:1600,height:500,className:P.banner_Img})]}),!!t.imageDisclaimer&&(0,p.jsx)(p.Fragment,{children:C?(0,p.jsx)(M,{className:P.verticle_Desclaimer,text:t.imageDisclaimer.replaceAll("\n","<br>"),btnClassName:c()(P.vertical_Disclaimer_New,V),activeClassName:P.verticle_Desclaimer_Active}):(0,p.jsx)(O.M,{showDisclaimerBelowItem:Y,className:c()(x,D),text:t.imageDisclaimer.replaceAll("\n","<br>")})})]})})},"slide_".concat(r))}))}})})})};var q=r(3325),K=(r(673),r(159),r(4889));function Y(e){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(e)}var z=["slides","className","pagination","navigation"];function Z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(r),!0).forEach((function(t){var n,o,a,i;n=e,o=t,a=r[t],i=function(e,t){if("object"!=Y(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=Y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==Y(i)?i:i+"")in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var X=function(e){var t=e.slides,r=e.className,n=e.pagination,o=e.navigation,a=void 0!==o&&o,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,z);return(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(q.RC,$($({pagination:n,navigation:a,modules:[K.dK,K.Vx]},i),{},{className:r,children:t(q.qr)}))})},Q=r(7046);var ee=r(2895),te=r(31),re=r(5409),ne=r(413),oe=r(1319),ae=r(6283),ie=r(1108);function le(e){return le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},le(e)}var se=function(e){var t,r,n,a,l,s=e.title,d=e.image,m=e.startingPrice,h=e.url,f=e.stock,v=e.className,y=e.showWithTitle,_=void 0!==y&&y,g=e.titleClassName,b=e.displayBtn,w=void 0!==b&&b,x=e.stockClassName,S=e.subTitle,C=e.productPageUrl,j=e.showProductLinks,N=e.hideDefaultStockLayout,O=void 0===N||N,L=e.showExtraBtn,P=void 0!==L&&L,E=e.extraBtnClassName,I=e.extraBtnTitle,B=e.viewInventoryBtnText,D=void 0===B?"View Inventory":B,V=e.exploreVehicleBtnText,M=void 0===V?"Explore":V,W=e.contentBackgroundColor,F=void 0===W?"grey":W,R=e.vehicleCategory,U=void 0===R?"":R,H=e.showVehicleCategory,G=void 0===H||H,J=e.isMegaMenu,q=void 0!==J&&J,K=e.isNewVehicleSection,Y=void 0!==K&&K,z=(0,o.useContext)(ae.a).translate,Z=(0,i.vc)(u.yW),$=(0,i.vc)(ie.u),X=$.hideStartingAtMainNav,Q=$.hideStartingAtNewVehicles,te=$.headerJellybeanNoStockText,se=$.hideInventoryCount,ce=(0,A.FE)(re.A,v),ue=(0,A.FE)(re.A,g),de=(0,A.FE)(re.A,x),pe={customTitle:{sites:{siteNameAndTitle:[[ne.N.WOLFECADILLACCALGARY,"View Inventory"]]}}},me=(0,i.vc)(u.ZE),he=pe.customTitle.sites.siteNameAndTitle.length,fe=(0,i.vc)((0,u.P$)(ne.N.JAGUARCINCINNATI)),ve=pe.customTitle.sites.siteNameAndTitle,ye="In Stock";return function(){for(var e=0;e<he;e++)me===ve[e][0]&&(ye=ve[e][1])}(),(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)(T.N,{to:null!=h?h:"",className:c()(re.A.card,re.A.full_Height_Img_Left_Content_Right,ce),onClick:function(){Z&&(0,oe.Sd)("TrackLinkClick",{linkText:null!=s?s:"",linkUrl:null!=h?h:""})},children:[(0,p.jsx)("div",{className:re.A.card_Img_Column,children:!!d&&(0,p.jsx)(k.E,{className:re.A.card_Img,src:d,alt:s,maxWidth:800})}),(0,p.jsxs)("div",{className:re.A.card_Content_Column,style:{backgroundColor:"".concat(F)},children:[G&&(0,p.jsx)("span",{className:re.A.card_Category,children:U}),(0,p.jsxs)("span",{className:c()(re.A.card_Title,ue,"card_Title"),children:[s," ",!se&&_&&!!f&&(0,p.jsx)("span",{children:"(".concat(f,")")})," "]}),!!S&&(0,p.jsxs)("span",{className:c()(re.A.card_Sub_Title),children:[" ",S," "]}),(0,p.jsxs)("div",{className:re.A.card_Content_Bottom,children:[!!m&&(!X&&q||Y&&!Q)&&(0,p.jsx)("p",{className:c()(re.A.card_Price,re.A.starting_Price,(r={},n=re.A.request_Now,a="Request Now"===m,l=function(e,t){if("object"!=le(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=le(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n),(n="symbol"==le(l)?l:l+"")in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a,r)),children:null==z?void 0:z(m)}),!!f&&!se&&!_&&(0,p.jsxs)(p.Fragment,{children:[O&&(0,p.jsxs)("p",{className:c()(re.A.card_Stock,de),children:[null!==(t=null==z?void 0:z(ye))&&void 0!==t?t:ye,": ",(0,p.jsx)("strong",{children:f})]}),!O&&(0,p.jsx)("p",{className:c()(re.A.card_Stock,de),children:(0,p.jsxs)("strong",{children:[f," In Stock!"]})})]}),!f&&!fe&&(0,p.jsx)("p",{className:c()(re.A.card_Stock,de),children:null==z?void 0:z(te)})]}),P&&(0,p.jsx)("span",{className:E,children:I}),!!w&&(0,p.jsxs)("div",{className:c()(re.A.btn_Section,"btn_Section"),children:[(0,p.jsx)(ee.$,{element:"a",href:null!=h?h:"",className:re.A.btn_Md,children:D}),(0,p.jsxs)(ee.$,{element:"a",href:null!=h?h:"",className:c()(re.A.btn_Md,re.A.outline_Dark_Gray,"btn-outline-gray"),children:[M," ",s]})]}),j&&(0,p.jsx)(T.N,{to:null!=C?C:"",className:re.A.product_Info,target:"_blank",children:"Product Information"})]})]})})};const ce={};var ue=r(3262);function de(e){return de="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},de(e)}var pe=function(e){var t,r,n,a,l,s=e.title,d=e.image,m=e.startingPrice,h=e.url,f=e.stock,v=e.className,y=e.showWithTitle,_=void 0!==y&&y,g=e.titleClassName,b=e.stockClassName,w=e.subTitle,x=e.productPageUrl,S=e.showProductLinks,C=e.hideDefaultStockLayout,j=void 0===C||C,N=e.vehicleCategory,O=e.showVehicleCategory,L=void 0===O||O,P=e.singleColContentClassName,E=e.isMegaMenu,I=void 0!==E&&E,B=e.isNewVehicleSection,D=void 0!==B&&B,V=e.imgClassName,M=(0,o.useContext)(ae.a).translate,W=(0,i.vc)(ie.u),F=W.hideStartingAtMainNav,R=W.hideStartingAtNewVehicles,U=W.headerJellybeanNoStockText,H=W.hideInventoryCount,G=(0,A.FE)(re.A,v),J=(0,A.FE)(re.A,g),q=(0,A.FE)(re.A,b),K={customTitle:{sites:{siteNameAndTitle:[[ne.N.WOLFECADILLACCALGARY,"View Inventory"]]}}},Y=(0,i.vc)(ue.DU),z=(0,i.vc)(u.ZE),Z=K.customTitle.sites.siteNameAndTitle.length,$=(0,i.vc)((0,u.P$)(ne.N.JAGUARCINCINNATI)),X=K.customTitle.sites.siteNameAndTitle,Q="In Stock";return function(){for(var e=0;e<Z;e++)z===X[e][0]&&(Q=X[e][1])}(),(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)(T.N,{to:null!=h?h:"",className:c()(re.A.card,re.A.single_Img_Center_Content_Container,G),children:[(0,p.jsx)("div",{className:re.A.card_Img_Column,children:!!d&&(0,p.jsx)(k.E,{className:c()(re.A.card_Img,V),src:d,alt:s,maxWidth:800})}),(0,p.jsx)("div",{className:c()(re.A.card_Content_Column,P),children:(0,p.jsxs)("div",{className:re.A.single_Col_Inventory_Content,children:[(0,p.jsxs)("div",{className:re.A.single_Col_Left_Details,children:[(0,p.jsxs)("span",{className:c()(re.A.card_Title,J,"card_Title"),children:[s," ",!H&&_&&!!f&&(0,p.jsx)("span",{children:"(".concat(f,")")})," "]}),L&&(0,p.jsx)("span",{className:re.A.card_Category,children:N}),(0,p.jsxs)("span",{className:c()(re.A.card_Sub_Title),children:[" ",w," "]}),(0,p.jsxs)("div",{className:re.A.card_Content_Bottom,children:[!!f&&!H&&!_&&(0,p.jsxs)(p.Fragment,{children:[j&&(0,p.jsxs)("p",{className:c()(re.A.card_Stock,q),children:[null!==(t=null==M?void 0:M(Q))&&void 0!==t?t:Q,": ",(0,p.jsx)("strong",{children:f})]}),!j&&(0,p.jsx)("p",{className:c()(re.A.card_Stock,q),children:(0,p.jsxs)("strong",{children:[f," In Stock!"]})})]}),!f&&!$&&(0,p.jsx)("p",{className:c()(re.A.card_Stock,q),children:null==M?void 0:M(U)}),!!m&&(!F&&I||D&&!R)&&(0,p.jsx)("p",{className:c()(re.A.card_Price,re.A.starting_Price,(r={},n=re.A.request_Now,a="Request Now"===m,l=function(e,t){if("object"!=de(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=de(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n),(n="symbol"==de(l)?l:l+"")in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a,r)),children:null==M?void 0:M(m)})]})]}),(0,p.jsx)("div",{className:re.A.single_Col_Btn_Container,children:Y&&!f?(0,p.jsx)(T.N,{to:"/contact-us",className:re.A.product_Info_Single_Col,target:"_blank",children:"Contact Us"}):S&&(0,p.jsx)(T.N,{to:null!=x?x:"",className:re.A.product_Info_Single_Col,target:"_blank",children:"View Inventory"})})]})})]})})};function me(e){return me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},me(e)}var he=["cardClassName","items","paginationDots","showStock","slidesPerViews","titleClassName","displayBtn","displayPrice","stockClassName","noPriceLabel","specialStock","spaceBetween","hideDefaultStockLayout","showExtraBtn","extraBtnClassName","exploreVehicleBtnText","viewInventoryBtnText","extraBtnTitle","navigation","isCardTwoColumn","contentBackgroundColor","paginationFraction","sliderClassName","slidesPerViewsTablet","slidesPerViewsMobile","showVehicleCategory","vehicleCategory","isSingleColumn","showProductLinks","showWithTitle","singleColContentClassName","startingPriceClassName","showPriceLabel","priceLabelDefault","imgClassName"];function fe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ve(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(r),!0).forEach((function(t){var n,o,a,i;n=e,o=t,a=r[t],i=function(e,t){if("object"!=me(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=me(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==me(i)?i:i+"")in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ye=function(e){var t=e.cardClassName,r=e.items,n=e.paginationDots,o=void 0!==n&&n,a=e.showStock,i=void 0===a||a,l=e.slidesPerViews,s=void 0===l?5:l,u=e.titleClassName,d=e.displayBtn,m=void 0!==d&&d,h=e.displayPrice,f=void 0===h||h,v=e.stockClassName,y=e.noPriceLabel,_=e.specialStock,g=e.spaceBetween,b=void 0===g?18:g,w=e.hideDefaultStockLayout,x=e.showExtraBtn,S=void 0!==x&&x,C=e.extraBtnClassName,j=e.exploreVehicleBtnText,T=e.viewInventoryBtnText,O=e.extraBtnTitle,k=e.navigation,L=void 0===k||k,P=e.isCardTwoColumn,E=e.contentBackgroundColor,I=e.paginationFraction,B=void 0!==I&&I,D=e.sliderClassName,V=e.slidesPerViewsTablet,M=void 0===V?3:V,W=e.slidesPerViewsMobile,F=void 0===W?2:W,R=e.showVehicleCategory,U=void 0===R||R,H=e.vehicleCategory,G=e.isSingleColumn,J=e.showProductLinks,q=e.showWithTitle,K=void 0!==q&&q,Y=e.singleColContentClassName,z=e.startingPriceClassName,Z=e.showPriceLabel,$=e.priceLabelDefault,X=void 0===$?"Starting at":$,Q=e.imgClassName,ee=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,he),re=(0,A.FE)(ce,t),ne=(0,A.FE)(ce,D),oe=(0,A.FE)(ce,u),ae=(0,A.FE)(ce,v);return(0,p.jsx)(N.O,ve(ve({navigation:L,className:c()("carSwipper",ne),slidesPerView:s,spaceBetween:b,pagination:B?{type:"fraction",renderFraction:function(e,t){return'<span class="'.concat(e,'"></span> of <span class="').concat(t,'"></span>')}}:o,centerInsufficientSlides:!0,breakpoints:{0:{slidesPerView:1,centerInsufficientSlides:!0},481:{slidesPerView:F},881:{slidesPerView:M},1025:{slidesPerView:s}}},ee),{},{slides:function(e){return r.map((function(t,r){var n;return(0,p.jsx)(e,{children:P?(0,p.jsx)(se,{stock:t.inventory_count,url:t["inventory-url"],image:t["image-src"],title:t.title,vehicleCategory:null!=H?H:t.vehicleCategory,showVehicleCategory:U,startingPrice:t.lowest_price?"Starting at $".concat(t.lowest_price):y,className:re,showStock:i,titleClassName:oe,displayBtn:m,displayPrice:f,stockClassName:ae,specialStock:_,subTitle:null!=t&&t.subtitle?null==t?void 0:t.subtitle:"",hideDefaultStockLayout:w,showExtraBtn:S,viewInventoryBtnText:T,exploreVehicleBtnText:j,extraBtnClassName:C,extraBtnTitle:O,contentBackgroundColor:null!==(n=null==t?void 0:t.bgColor)&&void 0!==n?n:E,isNewVehicleSection:!0}):G?(0,p.jsx)(pe,{stock:t.inventory_count,url:t["inventory-url"],image:t["image-src"],title:t.title,startingPrice:t.lowest_price?"Starting at $".concat(t.lowest_price):y,className:re,showStock:i,showWithTitle:K,titleClassName:oe,displayBtn:m,displayPrice:f,stockClassName:ae,specialStock:_,subTitle:null!=t&&t.subtitle?null==t?void 0:t.subtitle:"",hideDefaultStockLayout:w,showExtraBtn:S,viewInventoryBtnText:T,exploreVehicleBtnText:j,extraBtnClassName:C,extraBtnTitle:O,showProductLinks:J,singleColContentClassName:Y,vehicleCategory:t.vehicleCategory,isNewVehicleSection:!0,imgClassName:Q}):(0,p.jsx)(te.L,{stock:t.inventory_count,url:t["inventory-url"],image:t["image-src"],title:t.title,startingPrice:t.lowest_price?"".concat(X," $").concat(t.lowest_price):y,className:re,showStock:i,titleClassName:oe,displayBtn:m,displayPrice:f,stockClassName:ae,specialStock:_,subTitle:null!=t&&t.subtitle?null==t?void 0:t.subtitle:"",hideDefaultStockLayout:w,showExtraBtn:S,viewInventoryBtnText:T,exploreVehicleBtnText:j,extraBtnClassName:C,extraBtnTitle:O,startingPriceClassName:z,showPriceLabel:Z,isNewVehicleSection:!0,imgClassName:Q})},r)}))}}))};function _e(e){return _e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_e(e)}function ge(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function be(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(r),!0).forEach((function(t){var n,o,a,i;n=e,o=t,a=r[t],i=function(e,t){if("object"!=_e(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=_e(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==_e(i)?i:i+"")in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ge(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const we=function(){var e=(0,i.vc)(Q.d),t=e.map((function(e){return e.category})),r=e.map((function(e){var t;return be(be({},e),{},{details:null==e||null===(t=e.details)||void 0===t?void 0:t.map((function(e){return be(be({},e),{},{"inventory-url":e.inventory_count?null==e?void 0:e["inventory-url"]:"contact-us",noStockLabel:""})}))})})),n={clickable:!0,renderBullet:function(e,r){return'<span class="'.concat(r,'">').concat(t[e],"</span>")}};return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("section",{className:c()("container container-fluid","xdTu2"),children:[(0,p.jsx)("h2",{className:"uL50g",children:"Find Your Next Vehicle"}),(0,p.jsx)("div",{className:"foxDealer_Slider_Default_Theme arrows_Outside arrow_Bottom_Rounded",children:(0,p.jsx)(X,{pagination:n,navigation:!0,spaceBetween:0,allowTouchMove:!1,className:"custom-paging custom_Paging_Btn",slides:function(e){return r.map((function(t,r){return null!=t&&t.details?(0,p.jsx)(e,{children:(0,p.jsx)("div",{className:"fhpy9",children:(0,p.jsx)(ye,{items:t.details,slidesPerViews:"auto",spaceBetween:0,loop:!1,specialStock:"Contact Us!",titleClassName:"vkWHU",stockClassName:"ljxDd",startingPriceClassName:"twmz1",showPriceLabel:"MSRP* STARTING AT",showStock:!1,priceLabelDefault:"",sliderClassName:"no_Swiper_In_Desktop foxDealer_Slider_Default_Theme arrows_Outside arrow_Bottom_Rounded",slidesPerViewsMobile:2,cardClassName:"Bx4na"})})},r):null}))}})}),(0,p.jsx)("div",{className:c()("ISxWF","text-center"),children:(0,p.jsx)(ee.$,{element:"a",href:"/inventory/",className:c()("LUL5f","btn-outline btn-rounded btn_Black btn_Bold btn_InlineBlock"),children:"Explore All Vehicles"})})]})})},xe={welcome_Title:"Q01fv",img_Wrapper:"SqRgW",welcome_Img:"N7nZ2",welcome_Content_Wrapper:"D5GUw",welcome_Parallax_Section:"IR5Xh",welcome_Parallax_Content:"qe9AG",title:"L1lbj",sub_Title:"Agf99",description:"uT89d",welcome_Parallax_img:"HwEhj",welcome_Section_Column:"GlX0O",fluidvids:"MUrTe"};function Se(e){return Se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Se(e)}const Ce=function(e){var t,r,n=e.className,o=e.columnsClassName,a=e.leftColumnClassName,l=e.rightColumnClassName,s=e.imageClassName,u=e.imageWrapperClassName,d=e.titleClassName,m=e.subTitleClassName,h=e.contentClassName,f=e.imgAspectRatio,v=e.contentWrapperClassName,y=e.replaceImgWithVideo,_=void 0!==y&&y,g=e.isIframeVideo,b=void 0!==g&&g,w=e.iframeUrl,x=e.videoUrl,S=e.children,C=e.isTextLeft,j=void 0!==C&&C,N=(0,i.vc)(E.JnO);if(!Object.keys(N).length)return null;var T,O,L,P,I=(0,A.FE)(xe,n);return(0,p.jsx)("section",{className:c()(xe.welcome_Section,I),style:{"--aspect-ratio":f},children:(0,p.jsxs)("div",{className:c()("columns",o,(T={},O="is_flex_direction_row_reverse",L=j,P=function(e,t){if("object"!=Se(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=Se(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(O),(O="symbol"==Se(P)?P:P+"")in T?Object.defineProperty(T,O,{value:L,enumerable:!0,configurable:!0,writable:!0}):T[O]=L,T)),children:[(0,p.jsx)("div",{className:c()("column",a),children:_?(0,p.jsx)("div",{className:c()(xe.video_Wrapper),children:b?(0,p.jsx)("div",{className:xe.fluidvids,children:(0,p.jsx)("iframe",{src:w,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})}):(0,p.jsxs)("video",{className:"w_100",controls:!0,autoPlay:!0,muted:!0,children:[(0,p.jsx)("source",{src:x,type:"video/mp4"}),"Your browser does not support HTML video."]})}):(0,p.jsx)("div",{className:c()(xe.img_Wrapper,u),children:(0,p.jsx)(k.E,{className:c()(xe.welcome_Img,s),src:null!==(t=null==N?void 0:N.imageUrl)&&void 0!==t?t:"",alt:null!==(r=null==N?void 0:N.title)&&void 0!==r?r:"",maxWidth:1024})})}),(0,p.jsx)("div",{className:c()("column",l),children:(0,p.jsxs)("div",{className:c()(xe.welcome_Content_Wrapper,v),children:[!(null==N||!N.title)&&(0,p.jsx)("h1",{className:c()(xe.welcome_Title,d),dangerouslySetInnerHTML:{__html:null==N?void 0:N.title}}),!(null==N||!N.subtitle)&&(0,p.jsx)("h3",{className:c()(xe.aboutUs_SubTitle,m),children:null==N?void 0:N.subtitle}),!(null==N||!N.description)&&(0,p.jsx)("div",{className:c()(xe.welcome_Content,h),dangerouslySetInnerHTML:{__html:null==N?void 0:N.description}}),S]})})]})})},je={bg_Grey:"YMoum",sub_Hero_Main:"ztvEJ",sub_Hero_Container:"JKvpk",width_100:"G_D_H",subhero_Columns:"GShxr",subhero_col:"U49WO",sub_Hero_Btn:"rd2lZ",sub_Hero_Btn_Title:"GYkYr",new_vehicles_Section:"Jnzp3",explore_Vehicles_Title:"y6tlb",aboutUs_wrapper:"T6QOw",columns:"Deam4",column:"ZuvgO",about_Content:"PbqTj",aboutUs_Title:"NoLH5",about_desc_limit:"DYYUV",aboutUs_Description:"HuRzB",about_Content_img:"ukdHa",position_img:"OcdDC",mt_30:"E5Zgv",filter_overlay_mobile:"wKdCP",active:"GSxbY",coffee_with_Vince:"i86DO",p_2:"lti2Z",check_Video:"t6r6e",get_To_Learn:"LVaGi",whyBuySection:"ZzXD_",why_Buy_heading:"uUbn4",video_Align:"AvaQB",homepage_map:"h73Zd",map_Columns:"r6EnC",home_map_iframe:"IBkQe",map_contact_info:"SsPjw",map_site:"l4ogu",map_contact_info_wrap:"vKnl7",map_title:"wM6mU",contact_Time_List:"FQYkl",btn_Row:"fv3B3",tab_Btn:"RaAwH",tab_Active_Btn:"vCJ8o",give_Call_Para:"idGPp",filter_Close_Btn:"MF8VA",d_Block:"bO9gA",mobileview_Btn:"BFCSQ",contact_Map:"R54F4",contact_Time:"AApNP",line_Divider:"x0JkU",contact_Number:"XgWMN",insta_Feed:"nLUid",insta_Btn_Group:"gew2I",follow_Us_InstaBtn:"lPTaf",insta_Header_Btn:"cSLjQ",insta_Icon:"LXbFL",contact_Info_Link:"advnZ",fw_500:"l_TZd",find_Your_Vehicle:"fqVOZ",find_Your_Vehicle_Input_Wrapper:"l0EmL",find_Your_Vehicle_Btn:"yz5kb",explore_Btn:"XOfFH",explore_Vehicle_Card:"NKG7t",footer_Social:"SLqBR",startShooping_Container:"V8_8R",shopping_container_width:"pqxF7",Online_experience:"cE9wl",online_Exp_title:"C42QQ",btn_video_group:"IKrwV",btn_shop:"bjMJE",desktop_btn_set:"NhEj6",mobile_btn_set:"MV5hV",Checkout_shop:"qD2Gh",img_group_service:"csRvV",service_vehicle_Container:"AyLY3",btn_service_group:"OLtbY","img-group-service":"NPJN4",stock_position:"hKn_E",fluidVids:"e5i4q",fluidvids_item:"qVbFN",video_Wrapper:"Lt6Rg",search_Wrapper:"fKgV3",search_Btn_Flex:"kb8_v",flex_Column:"X4CPx",flex_Width:"IGN5N",service_Vehicle_Content:"hwuA5",service_Vehicle_Content_Wrap:"UwQz3",service_Vehicle_Btn:"x3jCg",service_Vehicle_Img:"tFKjc",hero_Section:"_taoE",search_Container:"d0TYE",search_Title:"oDYCT",hero_search:"AS944",hero_Search_Input:"Vmha_",hero_Search_Btn:"yFFtc",explore_Vehicles_Categories:"RY8i8",explore_Vehicles_Categories_Item:"gtqUc",explore_Vehicles_Slider_Wapper:"F_a9x",time_Section_Wrap:"yATJr",time_Section:"c2LUK",search_Bar:"PoiO6",search_Btn:"SEutS",join_Mailing:"Qtw6B",newletter_Content_Column:"pjEbP",newletter_Title:"CNQnk",newletter_Social_Column:"iNnBH",newletter_Btn:"RP6CX",newletter_Social_Icons:"v4DOW",newletter_Social_Link:"qse3U",HP_Static_Card:"IiJn2",drop_Down_Order:"xhyIC",btn_Search:"xgJV9",mobile_Subhero_Section:"dsdxA",mobile_only:"QjHaz",d_none:"smmfz",home_Section_Wrapper:"EOpKn",vehicle_Search_form:"Fcl6B",hero_Search_Select:"zdKuO",search_Filter_Col:"IKIvg",sub_Hero_Nav_Img:"kTmaH",sub_Hero_Label:"tqMBR",right_col:"vj6Lo",welcome_Section:"Lk4Mh",welcome_Content:"owIff",height_100:"j0OLL",welcome_Section_Column:"i8frq",left_Col:"IvJRZ",homepage_Image_Wrapper:"DJy3V",HP_Static_Card_Title:"nhbk5",disclaimer_Btn:"bbqce"},Ne=function(){return(0,p.jsx)(p.Fragment,{children:(0,p.jsx)("div",{className:c()("container my_2",je.welcome_Section),children:(0,p.jsx)(Ce,{className:"my_2",imgAspectRatio:"1024/373",titleClassName:"text_Normal",contentClassName:"opacity_0_6",imageClassName:c()(je.height_100,"w_100"),rightColumnClassName:c()("pt_0",je.right_col),contentWrapperClassName:c()(je.welcome_Content,"pt_0"),columnsClassName:c()(je.welcome_Section_Column,""),leftColumnClassName:je.left_Col,imageWrapperClassName:c()(je.height_100,"w_100")})})})},Te={home_Static_Card:"a3baO",home_Static_Img:"Hy29O",home_Static_Card_Btn:"uiEtz",home_Static_Card_Title:"oF1XB",home_Static_Img_Wrapper:"vMYvU",home_Static_Card_Content_Wrapper:"teZzb",mrgnLeft:"ApkgV"},Oe=function(e){var t=e.className,r=e.image,n=e.title,o=e.subTitle,a=e.imageClassName,i=e.imageWrapperClassName,l=e.titleClassName,s=e.subTitleClassName,u=e.btnClassName,d=e.imgAspectRatio,m=e.contentWrapperClassName,h=e.url,f=e.url2,v=e.showButton,y=void 0===v||v,_=e.btnText,g=void 0===_?"Learn More":_,b=e.btnText2,w=e.urlTarget,x=void 0===w?"_self":w,S=e.secondLineTitle,C=(0,A.FE)(Te,t),j=d?{"--aspect-ratio":d}:{};return(0,p.jsxs)("div",{className:c()(Te.home_Static_Card,C),style:j,children:[(0,p.jsx)("div",{className:c()(Te.home_Static_Img_Wrapper,i),children:(0,p.jsx)(k.E,{className:c()(Te.home_Static_Img,a),src:null!=r?r:"",alt:n,maxWidth:2048})}),(0,p.jsxs)("div",{className:c()(Te.home_Static_Card_Content_Wrapper,m),children:[!!o&&(0,p.jsx)("p",{className:c()(Te.home_Static_Card_SubTitle,s),children:o}),(!!n||!!S)&&(0,p.jsxs)("p",{className:c()(Te.home_Static_Card_Title,l),children:[n,!!S&&(0,p.jsx)("span",{children:S})]}),(0,p.jsx)(T.N,{to:null!=h?h:"",target:x,children:y&&(0,p.jsx)("span",{className:c()(u,Te.home_Static_Card_Btn),children:g})}),!!f&&(0,p.jsx)(T.N,{to:null!=f?f:"",target:x,children:y&&(0,p.jsx)("span",{className:c()(u,Te.home_Static_Card_Btn,Te.mrgnLeft),children:b})})]})]})},ke=function(){return(0,p.jsx)(p.Fragment,{children:(0,p.jsx)("div",{className:"container my_2",children:(0,p.jsxs)("div",{className:"columns",children:[(0,p.jsx)("div",{className:"column",children:(0,p.jsx)(Oe,{className:je.HP_Static_Card,imgAspectRatio:"1.5",image:"https://cdn-pods.foxdealer.com/cdjrwestcovina/Service_76d2a2af1c_6cb1dfbd15.png",subTitle:"Mopar Service",title:"Service That Won't Let You Down",contentWrapperClassName:je.HP_Static_Card_Content_Wrapper,titleClassName:je.HP_Static_Card_Title,url:"/schedule-service/",btnText:"Schedule Service"})}),(0,p.jsx)("div",{className:"column",children:(0,p.jsx)(Oe,{className:je.HP_Static_Card,imgAspectRatio:"1.5",image:"https://cdn-pods.foxdealer.com/cdjrwestcovina/Buying_Center_b027787c86_80c73002a7.png",subTitle:"Value Your Trade",title:"We Pay Top Dollar!",secondLineTitle:"Even If You Don't Buy From Us",contentWrapperClassName:je.HP_Static_Card_Content_Wrapper,titleClassName:je.HP_Static_Card_Title,url:"/instant-cash-offer/"})})]})})})};var Le=r(3581),Ae=r(832),Pe=r.n(Ae),Ee=r(8778),Ie=r(7228),Be=[{featureType:"all",elementType:"geometry",stylers:[{hue:"#ff4400"},{saturation:-68},{lightness:-4},{gamma:.72}]},{featureType:"administrative",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"administrative",elementType:"labels.text",stylers:[{color:"#2f2b24"},{visibility:"off"}]},{featureType:"landscape",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"labels.text.fill",stylers:[{color:"#6c6861"}]},{featureType:"landscape.man_made",elementType:"geometry",stylers:[{gamma:3.1}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"geometry.fill",stylers:[{visibility:"on"},{lightness:"11"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#6c6861"}]},{featureType:"poi.park",elementType:"all",stylers:[{hue:"#44ff00"},{saturation:-23}]},{featureType:"road",elementType:"geometry.fill",stylers:[{visibility:"on"},{color:"#cdc9c1"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#b3ac9d"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#6c6861"}]},{featureType:"road.highway",elementType:"all",stylers:[{visibility:"on"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{visibility:"on"}]},{featureType:"road.highway",elementType:"labels.text",stylers:[{visibility:"on"}]},{featureType:"road.highway",elementType:"labels.icon",stylers:[{visibility:"on"}]},{featureType:"road.highway.controlled_access",elementType:"all",stylers:[{visibility:"on"}]},{featureType:"road.highway.controlled_access",elementType:"labels.icon",stylers:[{visibility:"on"}]},{featureType:"road.arterial",elementType:"all",stylers:[{visibility:"on"}]},{featureType:"road.arterial",elementType:"labels.icon",stylers:[{visibility:"on"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#6c6861"}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{saturation:-64},{hue:"#ff9100"},{lightness:16},{gamma:.47},{weight:2.7}]},{featureType:"transit.line",elementType:"geometry",stylers:[{lightness:-48},{gamma:1.2},{saturation:-23}]},{featureType:"transit.line",elementType:"geometry.fill",stylers:[{color:"#cdc9c1"}]},{featureType:"transit.station",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"water",elementType:"all",stylers:[{hue:"#00ccff"},{gamma:.44},{saturation:-33}]},{featureType:"water",elementType:"geometry.fill",stylers:[{lightness:"28"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#ffffff"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{gamma:.11},{weight:5.6},{saturation:99},{hue:"#0091ff"},{lightness:-86}]}];function De(e){return De="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},De(e)}var Ve=["address","siteName","siteLogo","className","panByX","panByY","markerIcon","secondaryAddresses","showInfoWindow","isFullMap","mapTheme","zoom"];function Me(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function We(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(r),!0).forEach((function(t){var n,o,a,i;n=e,o=t,a=r[t],i=function(e,t){if("object"!=De(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=De(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==De(i)?i:i+"")in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Fe=function(e){var t=e.address,r=e.siteName,n=e.siteLogo,a=e.className,i=e.panByX,l=e.panByY,s=e.markerIcon,c=e.secondaryAddresses,u=e.showInfoWindow,d=e.isFullMap,m=void 0!==d&&d,h=e.mapTheme,f=void 0===h?Be:h,v=e.zoom,y=void 0===v?16:v,_=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,Ve),g=(0,o.useRef)(null),b='<div class="get-directions" ><img style="max-width: 150px;" src='.concat(n," alt=").concat(r," /> </div>");return(0,o.useEffect)((function(){if(g.current){var e=new window.google.maps.StyledMapType(f,{name:"Styled Map"}),n=new window.google.maps.Geocoder,o={zoom:y,scrollwheel:!1,mapTypeControl:!1,mapTypeControlOptions:{style:window.google.maps.MapTypeControlStyle.DROPDOWN_MENU,mapTypeIds:["roadmap","satellite","hybrid","terrain","styled_map"]},navigationControl:!0,mapTypeId:window.google.maps.MapTypeId.ROADMAP},a=new window.google.maps.LatLngBounds,d=new window.google.maps.Map(g.current,o),p=!i||-150,m=!l||0;n&&n.geocode({address:t},(function(t,n){if(n===window.google.maps.GeocoderStatus.OK&&n!==window.google.maps.GeocoderStatus.ZERO_RESULTS){var o=new window.google.maps.Marker({position:t[0].geometry.location,map:d,title:r,draggable:!1,animation:window.google.maps.Animation.DROP,icon:s}),a=new window.google.maps.InfoWindow({content:b,ariaLabel:"Uluru"});d.setCenter(t[0].geometry.location),d.panBy(p,m),d.mapTypes.set("styled_map",e),d.setMapTypeId("styled_map"),u&&a.open(d,o)}})),n&&null!=c&&c.length&&c.forEach((function(t){console.log(t,"secondary Address"),n.geocode({address:t},(function(t,n){if(n===window.google.maps.GeocoderStatus.OK&&n!==window.google.maps.GeocoderStatus.ZERO_RESULTS){var o=new window.google.maps.Marker({position:t[0].geometry.location,map:d,title:r,draggable:!1,animation:window.google.maps.Animation.DROP,icon:s}),i=new window.google.maps.InfoWindow({content:b,ariaLabel:"Uluru"});a.extend(o.position),d.mapTypes.set("styled_map",e),d.setMapTypeId("styled_map"),u&&i.open(d,o)}}))})),null!=c&&c.length&&d.fitBounds(a)}}),[g]),(0,p.jsx)("div",We(We({},_),{},{id:"googleMap",className:a,ref:g,style:{minHeight:m?"720px":"350px",maxHeight:"1000px",height:"100%"}}))},Re=r(388),Ue=r(9986),He=r(7985);const Ge={homepage_map:"WMP8z",map_Columns:"y1H5a",map_contact_info:"XVRx5",map_site:"xAUVj",map_contact_info_wrap:"k3FCH",map_search:"LvviE",search_Input:"yL7Hl",search_Btn:"q6qOv",map_title:"bsC9l",contact_Time_List:"TfwKW",give_Call_Para:"g6V1L",time_Wrapper:"y6r0w",time_Tab_Btn:"Qg9oY",time_Content:"o6aB_",tab_Order:"DXfre",time_Tab_Btn_Active:"f9TOs",homepage_Map_Full:"e_cMQ",time_Section_Wrapper:"PPsfe",card_Wrapper:"_mWvW",card_Inner:"pR_Ss",search_Icon_Btn_Only:"RvOpb"},Je=function(e){var t,r=(0,o.useContext)(ae.a).translate,n=e.callTitle,a=void 0===n?"".concat(null!==(t=null==r?void 0:r(null!=="Give us a call"?"Give us a call":""))&&void 0!==t?t:"Give us a call"):n,i=e.callNumber,l=e.timeListData;return(0,p.jsxs)(p.Fragment,{children:[!!i&&(0,p.jsxs)("p",{className:Ge.give_Call_Para,children:[(0,p.jsx)("span",{children:a}),(0,p.jsx)("strong",{children:(0,p.jsx)("a",{href:"tel:".concat(i),"data-events":"clickToCall","data-vehicle-details":"","data-click-to-call-department":"Sales","data-fda-action":"click/touch",children:i})})]}),(0,p.jsx)(He.O,{className:Ge.contact_Time_List,items:l})]})};var qe=r(8267),Ke=[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}],Ye=r(5220);function ze(e){return ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ze(e)}function Ze(e){return function(e){if(Array.isArray(e))return Qe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Xe(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],s=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||Xe(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xe(e,t){if(e){if("string"==typeof e)return Qe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Qe(e,t):void 0}}function Qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const et=function(e){var t,r,n,a,l=e.className,s=e.searchBarClassName,m=e.searchInputClassName,h=e.searchBtnClassName,f=e.columnsClassName,v=e.infoClassName,y=e.infoWrapperClassName,_=e.iframeConainerClassName,g=e.titleClassName,b=e.addressClassName,w=e.tabBtnClassName,x=e.tabBtnActiveClassName,S=e.mapShowInfoWindow,C=void 0!==S&&S,j=e.tabContentClassName,N=e.mapSiteLogo,T=e.fullMap,O=void 0!==T&&T,k=e.mapTheme,L=e.markerIcon,P=e.mapZoom,I=e.panByX,B=(0,i.vc)(d.PS),D=(0,i.vc)(u.yK),V=(0,i.vc)(E.Sj$),M=(0,i.vc)(Ie.gG),W=(0,i.vc)(Ie.cY),F=(0,i.vc)(Ie.W_),R=(0,i.vc)(Ie.ai),U=(0,i.vc)(E.CId),H=(0,i.vc)(E.WmV),G=(0,i.vc)(E.I03),J=(0,i.vc)(Ie.al),q=(0,i.vc)(d.u_),K=(0,i.vc)(Ie.Qk),Y=(0,i.vc)(Ie.q8),z=$e((0,o.useState)(!1),2),Z=z[0],$=z[1],X=(0,o.useCallback)((function(e){e&&!Z&&$(!0)}),[Z]),Q=(0,A.FE)(Ge,l),ee=$e((0,o.useState)(0),2),te=ee[0],re=ee[1],ne=[(0,p.jsx)(Je,{callNumber:M,timeListData:V}),(0,p.jsx)(Je,{callNumber:W,timeListData:U})].concat(Ze(H?[(0,p.jsx)(Je,{callNumber:F,timeListData:H})]:[]),Ze(G?[(0,p.jsx)(Je,{callNumber:R,timeListData:G})]:[]));return(0,qe.U)(),(0,p.jsx)("section",{className:c()(Ge.homepage_map,(t={},r=Ge.homepage_Map_Full,n=O,a=function(e,t){if("object"!=ze(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=ze(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r),(r="symbol"==ze(a)?a:a+"")in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t),Q),children:(0,p.jsxs)("div",{className:c()(Ge.map_Columns,"columns is_gapless",f),children:[(0,p.jsx)("div",{className:c()(Ge.map_contact_info,"column",v),children:(0,p.jsxs)("div",{className:c()(Ge.map_contact_info_wrap,y),children:[(0,p.jsx)("h2",{className:c()(Ge.map_title,g),children:null==Y?void 0:Y.replace("&#039;","'")}),(0,p.jsx)("address",{className:b,children:(0,p.jsx)("a",{href:J,target:"_blank",rel:"noopener noreferrer","data-events":"getDirections",children:K})}),(0,p.jsx)(Le.I,{icon:Ye.A.searchIcoWhite,isGetDirection:!0,getDirectionPlaceholder:q,className:c()(s,"icon_btn_only"),inputClassName:m,btnClassName:c()(h,"btn_Radius_Zero")}),(0,p.jsxs)("div",{className:Ge.time_Wrapper,children:[null==B?void 0:B.map((function(e,t){return(0,p.jsx)(Re.A,{id:t,activeTab:te,setActiveTab:re,title:e,className:c()(Ge.time_Tab_Btn,w),activeClassName:c()(Ge.time_Tab_Btn_Active,x)},t)})),null==ne?void 0:ne.map((function(e,t){return(0,p.jsx)(Ue.A,{className:c()(Ge.time_Content,j),id:t,activeTab:te,children:e},t)}))]})]})}),(0,p.jsx)("div",{className:c()(Ge.map_site,"column",_),children:(0,p.jsx)(Pe(),{partialVisibility:!0,onChange:X,children:(0,p.jsxs)(p.Fragment,{children:[Z&&(0,p.jsx)(Ee.Wrapper,{apiKey:"AIzaSyCzAKNcfFIBDi5b063W49_JDzCRHfr83qE",libraries:["places"],children:(0,p.jsx)(Fe,{address:K,siteName:D,isFullMap:O,panByX:null!=I?I:0,showInfoWindow:C,siteLogo:N,mapTheme:null!=k?k:Ke,zoom:P,markerIcon:L})}),!Z&&(0,p.jsx)("div",{style:{display:"block",width:"100%",height:"100%",minHeight:"350px"}})]})})})]})})},tt=function(){var e=(0,i.vc)(u.yK),t=(0,i.vc)(E.ct0),r=[""];return(0,p.jsx)("section",{className:je.time_Section_Wrap,children:(0,p.jsx)(et,{className:je.time_Section,searchBarClassName:je.search_Bar,searchBtnClassName:je.search_Btn,mapShowInfoWindow:null==r?void 0:r.includes(e),mapSiteLogo:null!=r&&r.includes(e)?t:"",markerIcon:"https://cdn-pods.foxdealer.com/cdjrwestcovina/google_map_location_icon_c1479c183d.jpg"})})};var rt=r(6861),nt=r(8857),ot=r(9883);const at={VehicleSearch__select:"YpEOm",VehicleSearch__submit:"QffCm",claremonttoyota_Search_Form:"mdDiP",search_form:"ry_cQ",type_Ordering:"Tal4j",model_Ordering:"bGt49",body_Ordering:"dybOT",make_Ordering:"hLkKn",search_Order:"ojHsM",year_Ordering:"ZyryN",schedule_Service_Btn:"ZcOMt",hero_Search_Btn:"aTQfR"};function it(e){return it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},it(e)}function lt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function st(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(r),!0).forEach((function(t){ct(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ct(e,t,r){var n;return n=function(e,t){if("object"!=it(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=it(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==it(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ut(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var dt=function(e){var t,r,n,a,l,s,d,m,h=e.className,f=e.setSelectedFormOptions,v=e.formOptions,y=e.selectedFormOptions,_=e.isLoading,g=void 0!==_&&_,b=e.allModelsTitle,w=void 0===b?"ALL MODELS":b,x=e.allBodyStylesTitle,S=void 0===x?"ALL BODY STYLES":x,C=e.showPrice,j=void 0===C||C,N=e.showMakeOptions,O=void 0!==N&&N,k=e.showconditionOptions,L=void 0!==k&&k,P=e.showBodyStyle,E=void 0===P||P,I=e.conditionOptionsTitle,B=void 0===I?"ALL":I,D=e.showYear,V=void 0!==D&&D,M=e.searchIcon,W=void 0===M||M,F=e.YearTitle,R=void 0===F?"Year":F,U=e.btnText,H=void 0===U?"Search":U,G=e.btnClassName,J=e.selectClassName,q=e.selectColumnClassName,K=e.btnColumnClassName,Y=(0,A.FE)(at,h),z=(d=(0,o.useState)("/inventory/"),m=2,function(e){if(Array.isArray(e))return e}(d)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],s=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(d,m)||function(e,t){if(e){if("string"==typeof e)return ut(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ut(e,t):void 0}}(d,m)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),Z=z[0],$=z[1],X=(0,o.useRef)(null),Q=(0,i.vc)((0,u.P$)(ne.N.NORWALKTOYOTA)),te=(0,o.useCallback)((function(e){var t=st(st({},y),{},ct({},e.target.name,e.target.value));null==f||f(t);var r=new URLSearchParams;t.model&&r.set("model",t.model.toLowerCase()),t.standardbody&&r.set("standardbody",t.standardbody.toLowerCase()),t.msrp&&r.set("display_price",t.msrp.toLowerCase()),t.type&&r.set("type",t.type.toLowerCase()),t.year&&r.set("year",t.year.toLowerCase()),t.make&&r.set("make",t.make.toLowerCase()),$((0,ot.Uq)(r))}),[y]);return(0,p.jsxs)("form",{ref:X,className:c()(at.vehicle_Search_form,Y),children:[(0,p.jsxs)("div",{className:c()("columns is_mobile is_multiline",at.search_form),children:[!!L&&(0,p.jsx)("div",{className:c()("column is_6_mobile",at.type_Ordering,q),children:(0,p.jsxs)("select",{name:"type",className:c()(at.VehicleSearch__select,J),value:y.type,onChange:te,children:[(0,p.jsx)("option",{disabled:g,value:"",children:B}),(null!==(t=null==v?void 0:v.type)&&void 0!==t?t:[]).map((function(e){return(0,p.jsx)("option",{disabled:g,value:e.item,children:e.display_name},"".concat(e.display_name,"_").concat(e.item))}))]})}),(0,p.jsx)("div",{className:c()("column is_6_mobile",at.model_Ordering,q),children:(0,p.jsxs)("select",{name:"model",className:c()(at.VehicleSearch__select,J),value:y.model,onChange:te,children:[(0,p.jsx)("option",{disabled:g,value:"",children:w}),(null!==(r=v.model)&&void 0!==r?r:[]).map((function(e){return(0,p.jsx)("option",{disabled:g,value:e.item,children:e.display_name},"".concat(e.display_name,"_").concat(e.item))}))]})}),!!E&&(0,p.jsx)("div",{className:c()("column is_6_mobile",at.body_Ordering,q),children:(0,p.jsxs)("select",{name:"standardbody",className:c()(at.VehicleSearch__select,J),value:y.standardbody,onChange:te,children:[(0,p.jsx)("option",{disabled:g,value:"",children:S}),(null!==(n=v.standardbody)&&void 0!==n?n:[]).map((function(e){return(0,p.jsx)("option",{disabled:g,value:e.item,children:e.display_name},"".concat(e.display_name,"_").concat(e.item))}))]})}),!!O&&(0,p.jsx)("div",{className:c()("column is_6_mobile",at.make_Ordering,q),children:(0,p.jsxs)("select",{name:"make",className:c()(at.VehicleSearch__select,J),value:y.make,onChange:te,children:[(0,p.jsx)("option",{disabled:g,value:"",children:"Make"}),(null!==(a=null==v?void 0:v.make)&&void 0!==a?a:[]).map((function(e){return(0,p.jsx)("option",{disabled:g,value:e.item,children:e.display_name},"".concat(e.display_name,"_").concat(e.item))}))]})}),!!j&&(0,p.jsx)("div",{className:c()("column is_6_mobile",at.price_Ordering,q),children:(0,p.jsxs)("select",{name:"msrp",className:c()(at.VehicleSearch__select,J),value:y.msrp,onChange:te,children:[(0,p.jsx)("option",{disabled:g,value:"",children:"ALL PRICES"}),(null!==(l=v.msrp)&&void 0!==l?l:[]).map((function(e){return(0,p.jsx)("option",{disabled:g,value:e.item,children:e.display_name},"".concat(e.display_name,"_").concat(e.item))}))]})}),!!V&&(0,p.jsx)("div",{className:c()("column is_6_mobile",at.year_Ordering,q),children:(0,p.jsxs)("select",{name:"year",className:c()(at.VehicleSearch__select,J),value:y.year,onChange:te,children:[(0,p.jsx)("option",{disabled:g,value:"",children:R}),(null!==(s=v.year)&&void 0!==s?s:[]).map((function(e){return(0,p.jsx)("option",{disabled:g,value:e.item,children:e.display_name},"".concat(e.display_name,"_").concat(e.item))}))]})}),(0,p.jsx)("div",{className:c()("column",at.search_Order,K),children:(0,p.jsxs)(T.N,{to:Z,title:"search",className:c()(at.VehicleSearch__submit,G),children:[W?(0,p.jsx)("i",{className:"foxicon foxicon-search"}):""," ",H]})})]}),Q&&(0,p.jsx)("div",{className:at.schedule_Service_Btn,children:(0,p.jsx)(ee.$,{element:"a",targetSelf:!1,href:"https://api.connectcdk.com/api/nc-cosa-consumer-ui/v1/?subscriptionId=&cid=2001668",className:at.hero_Search_Btn,children:"Schedule A Service Appointment"})})]})},pt=r(5865);function mt(e){return mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mt(e)}function ht(){ht=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var a=t&&t.prototype instanceof y?t:y,i=Object.create(a.prototype),l=new L(n||[]);return o(i,"_invoke",{value:N(e,r,l)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",m="suspendedYield",h="executing",f="completed",v={};function y(){}function _(){}function g(){}var b={};c(b,i,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(A([])));x&&x!==r&&n.call(x,i)&&(b=x);var S=g.prototype=y.prototype=Object.create(b);function C(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,a,i,l){var s=d(e[o],e,a);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==mt(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return r("throw",e,i,l)}))}l(s.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function N(t,r,n){var o=p;return function(a,i){if(o===h)throw Error("Generator is already running");if(o===f){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var l=n.delegate;if(l){var s=T(l,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var c=d(t,r,n);if("normal"===c.type){if(o=n.done?f:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=f,n.method="throw",n.arg=c.arg)}}}function T(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,T(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=d(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(mt(t)+" is not iterable")}return _.prototype=g,o(S,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:_,configurable:!0}),_.displayName=c(g,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,s,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},C(j.prototype),c(j.prototype,l,(function(){return this})),t.AsyncIterator=j,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new j(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},C(S),c(S,s,"Generator"),c(S,i,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return l.type="throw",l.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function ft(e,t,r,n,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(n,o)}var vt=(0,i.K0)({key:"searchFormOptions",get:function(e){return function(){var t,r=(t=ht().mark((function t(r){var n,o,a,i,l,s,c,u,d,p,m,h,f,v,y,_,g,b,w,x,S;return ht().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return f=r.get,v={per_page:"0",offset:"0",include:"aggregations"},e.model&&(v["filters[model]"]=e.model),e.standardbody&&(v["filters[standardbody]"]=e.standardbody),e.msrp&&(v["filters[msrp]"]=e.msrp),e.make&&(v["filters[make]"]=e.make),e.type&&(v["filters[type]"]=e.type),e.year&&(v["filters[year]"]=e.year),t.next=10,(0,pt.cW)(f,"search",v);case 10:return y=t.sent,_=null!==(n=null==y||null===(o=y.aggregations)||void 0===o||null===(o=o.model)||void 0===o?void 0:o.list)&&void 0!==n?n:[],g=null!==(a=null==y||null===(i=y.aggregations)||void 0===i||null===(i=i.standardbody)||void 0===i?void 0:i.list)&&void 0!==a?a:[],b=null!==(l=null==y||null===(s=y.aggregations)||void 0===s||null===(s=s.msrp)||void 0===s?void 0:s.list)&&void 0!==l?l:[],w=null!==(c=null==y||null===(u=y.aggregations)||void 0===u||null===(u=u.make)||void 0===u?void 0:u.list)&&void 0!==c?c:[],x=null!==(d=null==y||null===(p=y.aggregations)||void 0===p||null===(p=p.type)||void 0===p?void 0:p.list)&&void 0!==d?d:[],S=null!==(m=null==y||null===(h=y.aggregations)||void 0===h||null===(h=h.year)||void 0===h?void 0:h.list)&&void 0!==m?m:[],t.abrupt("return",{model:_.map((function(e){return{display_name:"".concat(e.display_name," (").concat(e.count,")"),item:e.item}})),standardbody:g.map((function(e){return{display_name:"".concat(e.display_name," (").concat(e.count,")"),item:e.item}})),msrp:b.map((function(e){return{display_name:"".concat(e.display_name," (").concat(e.count,")"),item:e.item}})),make:w.map((function(e){return{display_name:"".concat(e.display_name," (").concat(e.count,")"),item:e.item}})),type:x.map((function(e){return{display_name:"".concat(e.display_name," (").concat(e.count,")"),item:e.item}})),year:S.map((function(e){return{display_name:"".concat(e.display_name," (").concat(e.count,")"),item:e.item}}))});case 18:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(e){ft(a,n,o,i,l,"next",e)}function l(e){ft(a,n,o,i,l,"throw",e)}i(void 0)}))});return function(e){return r.apply(this,arguments)}}()}}),yt=r(1158);const _t={hero_Search_Section:"m00LJ",image_Video_El:"pKkIT",search_Container:"qLTN6",search_Title:"OSpM5",hp_btn_hero_wrap:"H_w5i",hp_btn_hero:"sMdsz",hero_search:"kr7IG",hero_search_Mobile:"rrbB4",hero_Search_Input:"tJtip",hero_Search_Btn:"Q0UJb",hero_Search_Select:"Ao7kp",hero_Search_Select_Column:"ghh6D",hero_Search_Btn_Column:"_FSDk",home_banner_video:"qR_0L",home_banner_spacer:"Cd68A"};function gt(e){return gt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gt(e)}function bt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],s=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return wt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?wt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function wt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const xt=function(e){var t,r=e.className,l=e.image,s=void 0===l?"":l,d=e.imgClassName,m=e.video,h=void 0===m?"":m,f=e.videoPoster,v=void 0===f?"":f,y=e.searchWithOptions,_=void 0!==y&&y,g=e.heroWithSubHeroButtons,b=void 0!==g&&g,w=e.subHeroBtnclassName,x=e.btnText,S=void 0===x?"Go":x,C=e.btnClassName,j=e.showBtnIcon,N=void 0!==j&&j,T=e.selectClassName,O=e.selectColumnClassName,L=e.btnColumnClassName,P=e.searchContainerClassName,I=e.titleClassName,B=e.searchClassName,D=e.searchFormCondition,V=void 0===D?"":D,M=e.showSearchBarAtTopMobile,W=void 0!==M&&M,F=e.subHeroBtnItemClassName,R=e.title,U=void 0===R?"Search Our Inventory":R,H=(0,i.vc)(yt.A4),G="MBESCONDIDO"===(0,i.vc)(u.ZE),J=(0,i.vc)(u.yK),q=(0,i.vc)(rt.tl),K=(0,A.FE)(_t,w),Y=(0,i.vc)(E._T1),z=(0,i.vc)(a.hC),Z=(0,i.vc)(a.N7),$=(0,n.Zp)(),X=(0,n.g)().lang,Q=function(e){var t=new URLSearchParams;t.append("s",e.trim());var r=t.toString(),n="/inventory/".concat(r?"?".concat(r):"");$((0,nt.X7)(n,X))},te=bt((0,o.useState)({model:"",standardbody:"",msrp:"",type:V,year:"",make:""}),2),re=te[0],ne=te[1],oe=(0,i.xf)(vt(re)),ae=bt((0,o.useState)({model:[],standardbody:[],msrp:[],type:[],year:[],make:[]}),2),ie=ae[0],le=ae[1];(0,o.useEffect)((function(){"hasValue"===oe.state&&le(oe.contents)}),[oe.contents]);var se,ce,ue,de,pe=(0,o.useRef)(null);return(0,o.useEffect)((function(){if(pe.current){var e=new IntersectionObserver((function(e){e.forEach((function(e){"HP_with_Search_Video"===e.target.id&&(e.isIntersecting&&pe.current&&!pe.current.ended?pe.current.play():pe.current&&pe.current.pause())}))}),{root:null,rootMargin:"0px",threshold:.1});return e.observe(pe.current),function(){pe.current&&e.unobserve(pe.current)}}}),[pe]),(0,p.jsxs)("section",{className:c()(_t.hero_Search_Section,r,_t.home_banner_spacer),children:[!!W&&(0,p.jsx)(Le.I,{className:c()(_t.hero_search,(se={},ce=_t.hero_search_Mobile,ue=W,de=function(e,t){if("object"!=gt(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=gt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(ce),(ce="symbol"==gt(de)?de:de+"")in se?Object.defineProperty(se,ce,{value:ue,enumerable:!0,configurable:!0,writable:!0}):se[ce]=ue,se),B,"mb_1"),inputClassName:_t.hero_Search_Input,btnClassName:c()(_t.hero_Search_Btn,C),btnText:S,showBtnIcon:N,placeholders:q,autotype:Y,onSearch:Q}),(0,p.jsx)("div",{className:_t.home_banner_video,children:h?(0,p.jsx)("video",{ref:pe,id:"HP_with_Search_Video",poster:v,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,className:c()(_t.image_Video_El,d),children:(0,p.jsx)("source",{src:h,type:"video/mp4"})}):(0,p.jsx)(k.E,{className:c()(_t.image_Video_El,d),loading:"eager",src:s,alt:J,height:"100%"})}),(0,p.jsxs)("div",{className:c()(_t.search_Container,P),children:[(0,p.jsx)("p",{className:c()(_t.search_Title,I),children:U}),_?(0,p.jsx)(dt,{setSelectedFormOptions:ne,formOptions:ie,showMakeOptions:!0,selectedFormOptions:re,isLoading:"loading"===oe.state,showPrice:!1,showconditionOptions:!0,showBodyStyle:!0,allBodyStylesTitle:"Body Style",showYear:!0,conditionOptionsTitle:"Condition",allModelsTitle:"Model",searchIcon:N,className:c()(_t.hero_search,B),btnText:S,btnClassName:c()(_t.hero_Search_Btn,C),selectClassName:c()(_t.hero_Search_Select,T),selectColumnClassName:c()(_t.hero_Search_Select_Column,O),btnColumnClassName:c()(_t.hero_Search_Btn_Column,L)}):!W&&(G&&H?(0,p.jsx)(Le.I,{className:c()(_t.hero_search,B),inputClassName:_t.hero_Search_Input,btnClassName:c()(_t.hero_Search_Btn,C),btnText:S,showBtnIcon:N,placeholder:"SEARCH OUR INVENTORY",onSearch:Q}):(0,p.jsx)(Le.I,{className:c()(_t.hero_search,B),inputClassName:_t.hero_Search_Input,btnClassName:c()(_t.hero_Search_Btn,C),btnText:S,showBtnIcon:N,placeholders:q,autotype:Y,onSearch:Q})),b&&(0,p.jsx)("div",{className:_t.hp_btn_hero_wrap,children:null===(t=null!=z&&z.length?z:Z)||void 0===t?void 0:t.map((function(e,t){return(0,p.jsx)("div",{className:c()(_t.hp_btn_hero,K),children:(0,p.jsx)(ee.$,{className:c()(_t.srp_Card_Btn,"btn-sm btn-block",F),element:"a",href:null==e?void 0:e.url,targetSelf:"_blank"!==(null==e?void 0:e.target),children:null==e?void 0:e.label})},t)}))})]})]})};var St=r(1944);const Ct=function(){var e,t,r=(0,i.vc)(a.Bt),s=(0,i.vc)(u.yK),f=null!==(e=null===(t=function(e){switch(e){case"Canada Cadillac Version 1":return{title:"Home Page - Canada Cadillac Version 16",description:""};case"Murray Cadillac Abbotsford":case"Murray Cadillac Lethbridge":return{title:"New and Used Cadillac Dealer | Serving Fraser Valley,  Abbotsford, Mission & Aldergrove | Murray Cadillac Abbotsford",description:""};case"Carter Cadillac":return{title:"New & Used Cadillac Dealer | Serving Airdrie, Calgary, Okotoks & High River, AB | Carter Cadillac",description:"Carter Cadillac carries an impressive selection of new and pre-owned cars, crossovers and  SUVs in Calgary. No matter what vehicle you might have in mind, we’ve got the perfect  fit for you! We also have an extensive collection of quality pre-owned and certified vehicles at  affordable prices. Whether you’re looking for new or pre-owned, Carter Cadillac is your trusted  dealership. We look forward to seeing you soon!"};case"Wolfe Cadillac Calgary":return{title:"Wolfe Cadillac Calgary - New & Used Cadillac Dealership - Cadillac Dealer Near Me - Serving Cochrane,Airdrie & Chestermere",description:"Wolfe Cadillac Calgary promises nothing but the highest quality new and used cars in Calgary fordrivers who prefer luxury. Visit us or book online!"};case"Wolfe Cadillac Edmonton":return{title:"Wolfe Cadillac Edmonton - New & Used Cadillac Dealer - Serving Edmonton, St. Albert & Sherwood Park - Cadillac Dealership Near Me",description:"Wolfe Cadillac Edmonton prides itself on being the first Cadillac Exclusive Dealership in Edmonton. Considered the best Cadillac dealership in Edmonton by our customers, when it comes to purchasing a Cadillac, we aim to provide you with a great purchasing experience and awesome customer service. Before & after your purchase."};case"Murray Cadillac Brandon":return{title:"New & Used Cadillac Dealer | Serving Minnedosa, Souris & Carberry, MB | Murray GM in Brandon, MB!",description:"Murray Cadillac in Brandon, Manitoba treats the needs of each individual customer with  paramount concern. We know that you have high expectations, and as a car dealer we enjoy the challenge  of meeting and exceeding those standards each and every time. Allow us to demonstrate our commitment to  excellence!"};case"Murray Cadillac Moose Jaw":return{title:"New & Used Chevrolet Cadillac Buick GMC Dealer | Serving Regina, Caronport & Chamberlain, SK  | Murray GM in Moose Jaw!",description:"Murray GM in Moose Jaw, SK treats the needs of each individual customer with paramount  concern. We know that you have high expectations, and as a car dealer we enjoy the challenge of  meeting and exceeding those standards each and every time. Allow us to demonstrate our  commitment to excellence!"};case"Ulmer Cadillac":return{title:"New & Used Cadillac Dealer | Serving Blackfoot, Marshall & Kitscoty, AB  | Ulmer Cadillac in Lloydminster, SK",description:"At Ulmer Cadillac, we’re proud to offer some of the most competitive prices around.  If you’re shopping for a new or used car, truck, or SUV, we have what you need. Our doors have  been opened since 1987! Stop in for a test drive today!"};case"Murray Medicine Hat Cadillac":return{title:"New & Pre-Owned Vehicles | Murray Cadillac Medicine Hat",description:"We offer an impressive array of new and pre-owned cars, trucks, and SUVs. But more than that,  we provide a dealership experience you&#039;ll be excited to repeat. We strive to be your first and only  destination for all of your automotive needs, and to exceed your expectations every time you step through  our doors."};case"Claremont Toyota":return{title:"New & Used Toyota Dealer | Serving Ontario, Rancho Cucamonga &amp; Pomona, CA | Claremont Toyota",description:"Check out Claremont Toyotas great selection of New, Used or Leased Toyota vehicles! Our sales team can assist you in English, Spanish, Farsi, French, and Tagalog!"};case"Toyota of Huntington Beach":return{title:"Toyota of Huntington Beach | Serving Westminster, Fountain Valley, Costa Mesa & Santa Ana",description:"With our GREAT selection of new & used Toyota and quality pre-owned vehicles, & you wont get burned at the beach shopping at Toyota of Huntington Beach!"};case"Jaguar Demo":return{title:"Home Page - Jaguar Demo",description:""};case"Land Rover Demo":return{title:"Home Page - Land Rover Demo",description:""};case"Joseph Toyota of Cincinnati":return{title:"New & Used Toyota Dealer | Serving Fairfield, Cleves, & Harrison, OH | Joseph Toyota of Cincinnati",description:"At Joseph Toyota of Cincinnati your satisfaction is our top priority. We are committed to providing service that is based on our values of being easy, true, and clear. Visit our dealership near downtown Cincinnati, accessible from all freeways, and you will find a knowledgeable team who is truly here to help you."};case"I-10 Toyota":return{title:"New & Used Toyota Dealer | Serving Indio, Palm Desert, Coachella, CA | I-10 Toyota in Indio, CA",description:"At I-10 Toyota, we understand that car-shoppers have no shortage of options when it comes to purchasing and servicing vehicles. Serving Indio and the surrounding area for over 30 years"};case"Toyota of San Bernardino":return{title:"New & Used Toyota Dealer | Serving Colton, Rialto, Fontana, CA | Toyota of San Bernardino",description:"At Toyota of San Bernardino, we understand that car-shoppers have no shortage of options when it comes to purchasing and servicing vehicles. Serving San Bernardino and the surrounding area for over 30 years, we’ve curated our website to help you quickly and conveniently find the right vehicle for you."};case"Cole European Land Rover":return{title:"New & Used Land Rover Dealer | Serving Alamo, Danville &amp; San Ramon, CA | Cole Land Rover in Walnut Creek, CA",description:"You won’t find a better deal on certified Land Rover vehicles in the Walnut Creek area than at Cole European Land Rover. We have an inventory of Land Rover-approved certified new and pre-owned vehicles that are backed by a warranty so that you will feel confident that your car will be maintained by the Jaguar family."};case"Land Rover Ventura":return{title:"New & Used Land Rover Dealer | Serving Ventura, Oxnard & Camarillo, CA | Land Rover Ventura",description:"We have the vehicles that you have always dreamed of owning. Whether you want the Range Rover, Range Rover Sport, Velar, Evoque, Discovery, or Discovery Sport from, our dealership can provide. On top of our exciting new inventory, we also have an impressive pre-owned inventory that includes many certified pre-owned vehicles."};case"Cole European Jaguar":return{title:"New & Used Jaguar Dealer | Serving Alamo, Danville &amp; San Ramon, CA | Cole European in Walnut Creek, California",description:"Family owned since 1963, Cole European Jaguar has the newest selection of Jaguar vehicles available on the market. In addition to our new cars, we have a vast inventory of Jaguar-approved certified pre-owned vehicles and used luxury cars from other automakers."};case"Jaguar Ventura":return{title:"New & Used Jaguar Dealer | Serving Ventura, Oxnard &amp; Camarillo, CA | Jaguar Ventura",description:"When you come to us we want you to have an experience that is worthy of the luxurious Jaguar brand. With every interaction, we aim to achieve 100% customer satisfaction, and we know that you will love the vehicles and the services that we have to offer."};case"Jaguar Fairfield Certified Pre-Owned &amp; Service":return{title:"Certified Used Jaguar Dealer | Serving Westport, Wilton, New Canaan, CT | Jaguar Fairfield",description:"The Jaguar brand is iconic not just because of its exquisite design and performance capability. It's iconic because it's the luxury brand that other vehicles aspire to become. Are you ready for your elite luxury vehicle?"};case"Jaguar Cincinnati":return{title:"New & Used Jaguar Dealer | Serving Mason, West Chester, Ft. Mitchell, KY | Jaguar Cincinnati",description:"Drivers looking to get behind the wheel of a Jaguar model are expecting a top-notch and unforgettable experience. That’s what we aim to achieve in all aspects here at the Jaguar Cincinnati dealership."};case"Monrovia CDJR":return{title:"Monrovia CDJR | New &amp; Used Chrysler Dodge Jeep Ram Dealer",description:"Monrovia CDJR is ready to help you find your next Chrysler, Jeep, Dodge, or RAM car, truck, or SUV in and around Azusa, Baldwin Park, and West Covina."};case"Land Rover Fairfield":return{title:"New & Used Land Rover Dealer | Serving Westport, Wilton, New Canaan, CT | Land Rover Fairfield",description:"Land Rover vehicles are built on a legacy and heritage of excellence and refinement. Thanks to our staff members, vast selection of both new and pre-owned models, shopping here will be an experience that stands out for many years to come."};case"Cincinnati Land Rover":return{title:"New & Used Land Rover Dealer | Serving Mason, West Chester, Ft. Mitchell, KY | Land Rover Cincinnati",description:"If you’re ready to find a truly luxurious vehicle filled with power and modern technologies, then you’ve come to the right place. We carry all your favorite Land Rover models, including the Land Rover Range Rover, Discovery, and Range Rover Evoque. Come to us to find your everyday driving vehicle that is fit to drive on all your vacation."};case"Land Rover Princeton":return{title:"New & Used Land Rover Dealer | Serving Princeton NJ, Bridgewater, NJ, West Windsor NJ, Newtown, PA | Land Rover Princeton",description:"Land Rover Princeton in Princeton, NJ welcomes you to our website. As a premier Land Rover dealer in NJ, we are thrilled to have the opportunity to serve any and all of your Land Rover and Range Rover needs. Our staff is committed to helping you get into that luxurious Land Rover you’ve been dreaming of today."};case"Jaguar Cerritos":return{title:"New & Used Jaguar Dealer | Serving Cerritos, Downey, and Long Beach, CA | Jaguar Cerritos",description:"The excellent treatment you'll receive and comfort you'll find in leasing or owning a Jaguar begins when you enter the Jaguar Cerritos showroom, and stays with you as long as you're behind the wheel. In addition to our extensive inventory of Jaguar vehicles, we also offer Jaguar parts and service at our dealership in Cerritos, CA. Jaguar vehicles aren't just our product, they're our passion and anyone who shares that passion is a friend of ours."};case"Land Rover Cerritos":return{title:"New & Used Land Rover Dealer | Serving Cerritos, Long Beach & Downey, CA",description:"Land Rover Cerritos, Serving Cerritos and Surrounding Areas. Local drivers seeking more than a car, but a driving experience, are the ones who tend to arrive in our Land Rover dealership in Cerritos."};case"Viva Los Angeles CDJR":return{title:"Distribuidor de Chrysler Dodge Jeep Ram nuevo y usado en el centro de Los Ángeles | Los Angeles CDJR",description:"LA CDJR tiene un ENORME inventario de más de 900 brillantes nuevos vehículos Chrysler, Dodge, Jeep y Ram en stock. ¡Convenientemente ubicado en el corazón del centro de la ciudad, justo a la salida de la 110, nuestro personal de ventas profesional se complace en ayudarlo a subir a su automóvil soñado hoy!"};case"Sierra Honda of Monrovia":return{title:"New & Used Honda Dealer near Pasadena, Arcadia & Monrovia, CA",description:"At Sierra Honda of Monrovia, your New &amp; Used Honda dealer serving Pasadena, Arcadia &amp; Monrovia, we&#039;ll make your car buying experience hassle free &amp; enjoyable! Stop by today!"};case"Jim Gauthier Cadillac":return{title:"".concat(e," | New & Used Cadillac dealer serving Winnipeg, Rural Manitoba and northwest Ontario."),description:"Gauthier Cadillac sells and services Cadillacs in Winnipeg, Manitoba. Come and visit our distinctive Cadillac Experience Center at 2400 McPhillips Street in Winnipeg."};case"Gastonia Nissan":return{title:"Gastonia Nissan | New & Used Nissan Dealership | Near Charlotte.",description:"Looking for a new or used Nissan near Charlotte? Check out Gastonia Nissan's extensive inventory and find the perfect car for your needs and budget."};case"M&#039;Lady Nissan":return{title:"M'Lady Nissan | Nissan Sales & Service in Crystal Lake, IL",description:"M'Lady Nissan is your go-to resource for new and used Nissan sales. Visit our Nissan dealer in Crystal Lake, IL, to buy or lease a Nissan or for Nissan service."};case"Mycarpark":return{title:"Used Car Truck & SUV Dealer | Serving Fresno, Hanford & Visalia CA. My Car Park in Selma, CA",description:"My Car Park by Fahrney want to be convenient for you to purchase a car, truck or SUV. We start by being conveniently located right off of the 99 freeway in the heart of the Valley; just a short drive from both Fresno and Visalia. Additionally, we make sure to keep our team trained in our processes so that your visit won’t be any longer than it needs to be."};case"Honda Kingsport":return{title:"Honda Kingport | New and Used Honda Dealership",description:"Visit Honda Kingsport in Kingsport, TN near Bristol and Johnson City for research assistance, new or used car financing, or vehicle maintenance and repairs!"};case"Honda Morristown":return{title:"Honda Dealership Serving Knoxville & Kingsport | Honda Morristown",description:"Honda Morristown is a new and used dealership in Morristown, Tennessee that serves Knoxville and Kingsport drivers. Explore our dealership on-site or online now!"};case"Toyota of Las Vegas":return{title:"New & Used Toyota Dealer serving Las Vegas, Henderson, Spring Valley and Paradise, NV | Toyota of Las Vegas",description:"Toyota of Las Vegas offers a no hassle car buying experience. We proudly serve Las Vegas, Henderson, Spring Valley & Paradise. We have the new or used Toyota for your every need! Stop by for a test drive today!"};default:return{title:"",description:""}}}(s))||void 0===t?void 0:t.title)&&void 0!==e?e:"",v=(0,i.vc)(St.hy),y=(0,i.vc)(d.MJ),_=(0,i.vc)(d.cZ),b=(0,i.vc)(d.yV),x=(0,i.vc)(d.Wc);return(0,o.useEffect)((function(){var e,t,r;"function"==typeof(null===(e=window)||void 0===e||null===(e=e.EDM)||void 0===e?void 0:e.loadWidgets)&&(null===(t=window)||void 0===t||null===(t=t.EDM)||void 0===t||null===(r=t.loadWidgets)||void 0===r||r.call(t))}),[]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(l.e,{pageType:"home",title:f,description:"Welcome to ".concat(s,"!}"),images:r}),(0,p.jsxs)("section",{className:je.home_Section_Wrapper,children:[(0,p.jsx)(n.tH,{FallbackComponent:h.x,children:(0,p.jsx)(o.Suspense,{fallback:(0,p.jsx)(m,{}),children:(0,p.jsx)(J,{className:c()(je.home_Banner,"foxDealer_Slider_Default_Theme arrow_white"),bannerDisclaimerClassName:je.disclaimer_Btn})})}),(0,p.jsx)(n.tH,{FallbackComponent:h.x,children:(0,p.jsx)(o.Suspense,{fallback:(0,p.jsx)(m,{}),children:(0,p.jsx)(xt,{video:_,image:y,searchWithOptions:!b,heroWithSubHeroButtons:x,className:je.vehicle_Search_form,selectClassName:je.hero_Search_Select,selectColumnClassName:c()(je.search_Filter_Col,je.drop_Down_Order),btnColumnClassName:je.btn_Search,titleClassName:je.homeSearchText})})})]}),v&&(0,p.jsx)(n.tH,{FallbackComponent:h.x,children:(0,p.jsx)("div",{className:"edmunds-trade-in","data-display":"standard-autocomplete"})}),(0,p.jsx)(n.tH,{FallbackComponent:h.x,children:(0,p.jsx)(o.Suspense,{fallback:(0,p.jsx)(g,{}),children:(0,p.jsx)(we,{})})}),(0,p.jsx)(n.tH,{FallbackComponent:h.x,children:(0,p.jsx)(o.Suspense,{fallback:(0,p.jsx)(w,{}),children:(0,p.jsx)(ke,{})})}),(0,p.jsx)(n.tH,{FallbackComponent:h.x,children:(0,p.jsx)(o.Suspense,{fallback:(0,p.jsx)(w,{}),children:(0,p.jsx)(Ne,{})})}),(0,p.jsx)(n.tH,{FallbackComponent:h.x,children:(0,p.jsx)(o.Suspense,{fallback:(0,p.jsx)(j,{}),children:(0,p.jsx)(tt,{})})})]})}},4702:(e,t,r)=>{r.d(t,{k:()=>o});var n={};function o(e){return new Promise((function(t,r){if("loaded"!==n[e])if("loading"!==n[e]){n[e]="loading";var o=document.createElement("script");o.src=e,o.defer=!0,o.async=!0,o.addEventListener("load",(function(){setTimeout((function(){n[e]="loaded",t()}),100)})),o.addEventListener("error",(function(){n[e]="error",r(new Error("Failed to load script: ".concat(e)))})),document.head.appendChild(o)}else{var a=document.querySelector('script[src="'.concat(e,'"]'));a&&(a.addEventListener("load",(function(){n[e]="loaded",t()})),a.addEventListener("error",(function(){n[e]="error",r(new Error("Failed to load script: ".concat(e)))})))}else t()}))}},5409:(e,t,r)=>{r.d(t,{A:()=>n});const n={card:"AuWfI",card_Img:"pKCZ4",card_Title:"e164o",card_sm:"QGKMj",card_Price:"GM0CA",card_Stock:"NSfU9",canada_Cadillac_Card:"Lbmrd",card_Title_Capitalize:"rI4hV",btn_Section:"JfW0p",btn_Md:"B83P4",outline_Dark_Gray:"jVBan",card_Title_noWrap:"q6frC",vehicle_Inventory_Card:"_i4wp",card_Range_Rover:"ZAT6Z",card_Sub_Title:"gk7GA",stock_Visible_On_Hover:"xdyJR",product_Info:"dtUeC",card_Two_Column:"iADhH",card_Info_Wrap:"LnO3b",starting_Price:"iDEX2",request_Now:"XTfrB",full_Height_Img_Left_Content_Right:"vPfty",full_Height_Img_Left_Content_Rightv2:"LSKkK",card_Img_Column:"Z_xCo",card_Content_Column:"S_GFs",card_Content_Bottom:"CyfWp",card_Category:"ytk7X",link_Btn:"JVheu",font_sm_title:"xKeLl",card_Theme_1:"WK9zD",used_Jellybean_Card:"RrQZK",single_Img_Center_Content_Container:"tGsxt",single_Col_Inventory_Content:"d8mAZ",product_Info_Single_Col:"O4OFK",single_Col_Btn_Container:"KB_KN"}}}]);