PageSourceSearch

https://www.goautocity.com/_next/static/chunks/0lfoit2vizn_4.js

js goautocity.com collected 2026-10-01 15:34:23 UTC 65,756 bytes, 41 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,30255,81309,13488,e=>{"use strict";e.s(["Accordion",()=>d],30255);var t=e.i(91398),l=e.i(56572),r=e.i(91788),s=e.i(3200),i=e.i(53045),a=e.i(45246),n=e.i(68160);let o=e=>{let l=(e.html||"").replace(/<a(?=\s)(?![^>]*\starget=)(?=[^>]*\shref=["']?https?:)/gi,'<a target="_blank"'),r={},s=e.fontSize&&15!=e.fontSize;return(e.fontSize&&(r.fontSize=e.fontSize+"px",r.lineHeight="normal"),e?.colorStyle=="override"&&e?.fontColor&&e?.fontColor.toString().charAt(0)=="#"&&(r.color=e?.fontColor),e?.cssClasses||s)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"cElement cText "+(e?.cssClasses??""),style:r,"data-custom-font-size":s?"true":void 0,dangerouslySetInnerHTML:{__html:l}}),s&&(0,t.jsx)(a.default,{id:"6f76a537ac093771",children:".cText[data-custom-font-size=true] *{font-size:inherit;line-height:inherit}"})]}):(0,n.default)(l)};e.s(["Text",0,o],81309);let d=e=>{let a=null;if(e.children&&e.children[0]&&(e.children[0].props?.json?a=e.children[0].props.json:e.children[0].props?.children?.props?.json&&(a=e.children[0].props.children.props.json)),!a)return(0,t.jsx)(t.Fragment,{children:"There was a problem loading this accordion."});let n=(a[e.nodeId].nodes||[]).map(e=>a[e]).filter(Boolean);if(0===n.length)return(0,t.jsx)(t.Fragment,{children:"There was a problem loading this accordion."});(0,l.default)();let[d,c]=(0,r.useState)((e.startOpened??"no")=="yes"?0:null),m=(0,r.useRef)([]),[u,h]=(0,r.useState)({});return(0,r.useEffect)(()=>{let e={};m.current&&m.current.forEach((t,l)=>{t&&(e[l]=t.scrollHeight)}),h(e)},[e]),(0,t.jsx)("div",{className:"accordion",children:n.map((e,l)=>{let n=e.props?.title,h=[];for(let l of e.nodes||[]){let e=a[l];if(e)if(e.type?.resolvedName==="Text"&&e.props?.html){if(!n){let t=e.props.html.match(/<p>(.*?)<\/p>/);t&&(n=t[1])}h.push((0,t.jsx)(o,{...e.props},l))}else{let s=(0,t.jsx)(r.default.Fragment,{children:(0,t.jsx)(i.CreateNode,{node:e,nodeId:l,json:a,otherProps:e.props})},e.type?.resolvedName);h.push(s)}}n||(n=e.displayName||`Item ${l+1}`);let p=d===l;return(0,t.jsxs)("div",{className:"accordion-item",children:[(0,t.jsxs)("div",{className:"d-flex px-4 py-3 cursor-pointer border-bottom",onClick:()=>c(p?null:l),"aria-expanded":p,tabIndex:0,role:"button",children:[(0,t.jsx)("h4",{className:`h5 m-0 ${e.props.titleCssClass}`,children:n}),(0,t.jsx)(s.default,{className:"fa-solid fa-"+(p?"square-minus":"square-plus")+" ms-auto h5 mb-0 "+(p?"text-primary":"")})]}),(0,t.jsx)("div",{style:{maxHeight:p?`${u[l]||0}px`:"0",overflow:"hidden",transition:`max-height ${e.props.secondsTransition??.3}s ${e.props.typeTransition??"ease"}`},children:(0,t.jsx)("div",{ref:e=>m.current[l]=e,className:"accordion-body",children:h})})]},l)})})};var c=e.i(41158),m=e.i(90029),u=e.i(60134),h=e.i(26019);e.s(["BlogBlocks",0,l=>{let r;var s=void 0!==l.extras?l.extras:e.g.superProp?.extras,i=void 0!==l.responses?l.responses:e.g.superProp?.responses;let a=l.numberOfPosts??3,n=l.display??"columns";return s?.length>0&&s.forEach((e,t)=>{"BlogBlocks"!==e.type||l.selectedGroupId&&e.id!==l.selectedGroupId||(r={results:i[t]?.results??[],extras:e})}),(0,t.jsx)(m.Row,{className:"cElement cBlock justify-content-center",children:(0,t.jsxs)(u.Col,{id:"blog-posts",sm:12,children:["list"===n&&(0,t.jsx)(t.Fragment,{children:Array.isArray(r?.results)&&r.results.length>0?r.results.map(e=>(0,t.jsxs)(m.Row,{className:"border-bottom pb-4 mb-4",children:[e?.image?.url&&(0,t.jsx)(u.Col,{sm:3,children:(0,t.jsx)(c.default,{className:"text-primary",href:e.slug,"aria-label":e.title,children:(0,t.jsx)(h.default,{className:"img-fluid",width:e.image.width,height:e.image.height,alt:e.title,src:e.image.thumbnail??e.image.url})})}),(0,t.jsxs)(u.Col,{sm:e?.image?.url?9:12,children:[(0,t.jsx)("h2",{children:(0,t.jsx)(c.default,{className:"text-primary",href:e.slug,children:e.title})}),e?.excerpt&&(0,t.jsx)("p",{children:e.excerpt}),(0,t.jsx)(c.default,{className:"text-primary",href:e.slug,children:"Read more"})]})]},`post_${e.id}`)):(0,t.jsx)(t.Fragment,{children:"No blog posts found."})}),"columns"===n&&(0,t.jsx)(m.Row,{children:Array.isArray(r?.results)&&r.results.length>0?r.results.map(e=>(0,t.jsx)(u.Col,{sm:12,md:"columns"===n?Math.floor(12/a):12,className:"mb-4",children:(0,t.jsxs)("div",{className:"h-100 p-3",children:[e?.image?.url&&(0,t.jsx)(c.default,{href:e.slug,"aria-label":e.title,children:(0,t.jsx)(h.default,{className:"img-fluid mb-3",width:e.image.width,height:e.image.height,alt:e.title,src:e.image.thumbnail??e.image.url})}),(0,t.jsx)("h3",{className:"h5",children:(0,t.jsx)(c.default,{href:e.slug,className:"text-primary",children:e.title})}),e?.excerpt&&(0,t.jsx)("div",{className:"mb-2",dangerouslySetInnerHTML:{__html:e.excerpt}}),(0,t.jsx)(c.default,{href:e.slug,className:"text-primary fw-semibold",children:"Read more"})]})},e.id)):(0,t.jsx)(t.Fragment,{children:"No blog posts found."})})]})})}],13488)},86966,e=>{"use strict";var t=e.i(91398),l=e.i(91788);let r={},s=(0,l.createContext)(r),{Provider:i}=s;e.s(["CraftModalProvider",0,e=>{let[s,a]=(0,l.useReducer)((e,t)=>{switch(t.type){case"RESET":return r;case"UPDATE":return Object.assign({},e,t.payload);default:return e}},r);return(0,t.jsx)(i,{value:{state:s,dispatch:a},...e})},"craftModalContext",0,s])},53045,e=>{"use strict";e.s(["CreateNode",()=>eD],53045);var t,l,r=e.i(91398),s=e.i(91788),i=e.i(68489),a=e.i(21628),n=e.i(30255
1),o=e.i(13488),d=e.i(41158),c=e.i(72102),m=e.i(3828),u=e.i(86966),h=e.i(6163),p=e.i(3200),g=e.i(53854),f=e.i(80479);let x=(0,i.default)(()=>e.A(34297),{loadableGenerated:{modules:[9022]},ssr:!1}),b=(0,i.default)(()=>e.A(41280),{loadableGenerated:{modules:[66400]},ssr:!1});var v=e.i(98295),y=e.i(26019),j=e.i(60814);j.default.div.withConfig({displayName:"Check__StyledDiv",componentId:"sc-e5e57d1b-0"})`
2  font-size: ${e=>e.size?e.size:16}px;
3  color: ${e=>e?.color??"black"};
4  padding-right: 1rem;
5`;var w=e.i(60134),N=e.i(90029),k=e.i(56572),_=e.i(12040);let C=j.default.div.withConfig({displayName:"Container__StyledContainer",componentId:"sc-14fec6b5-0"})`${e=>e.$styleStr??""}`;var S=e.i(94182),P=e.i(88305),T=e.i(44470),I=e.i(67913),A=e.i(44434),$=e.i(70380),E=e.i(92525),M=e.i(3650),B=e.i(15172);let O=["youtube.com","www.youtube.com","m.youtube.com","youtu.be","youtube-nocookie.com","www.youtube-nocookie.com"],D=/^[\w-]{11}$/,R=/\.(mp4|webm)$/i;function F(t){let l=t?.thisSnippet?.results?.length>0?t.thisSnippet.results:t?.thisSnippet?.items||[];if(0===l.length)return(0,r.jsx)(r.Fragment,{children:"There was a problem loading this carousel."});l=l.map(e=>{let t={};try{t=JSON.parse(e.content)}catch(e){console.log("error parsing content json",e)}return{...e,content:t}});let[i,a]=(0,s.useState)(0),[n,o]=(0,s.useState)(!1);(0,s.useEffect)(()=>{if(t.autoScroll>0){if(n)return;let e=setInterval(()=>{a(e=>(e+1)%l.length)},1e3*t.autoScroll);return()=>clearInterval(e)}},[t.autoScroll,n,l.length]);let c=t=>{a(t),o(!0),e.g.cmsTrack("asc_media_interaction",{media_type:"gallery",event_action_result:"view images"}),setTimeout(()=>{o(!1)},5e3)};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"cElement cCarousel d-flex align-items-center cBlockCarousel",children:["yes"===t.showArrows&&(0,r.jsx)("div",{className:"pe-2 pe-lg-4",children:(0,r.jsx)(p.default,{className:"fa-regular fa-angle-left h2 m-0 text-muted cursor-pointer","aria-label":"Scroll left",role:"button",onClick:()=>c((i-1+l.length)%l.length)})}),(0,r.jsx)("div",{className:"w-100",children:l.map((e,l)=>(0,r.jsxs)("div",{className:"carousel-item position-relative "+(l===i?"active":"d-none")+" "+(t.borderRadius>0?"rounded border overflow-hidden":""),children:[(0,r.jsxs)(d.default,{href:e.content?.link&&""!==e.content.link?e.content.link:"#",title:e.title,target:/^https?:\/\//.test(e.content?.link)?"_blank":"_self",children:[e.content?.img_desktop!==""&&(0,r.jsx)("img",{src:e.content.img_desktop,alt:e.title,className:"img-fluid mb-0 "+(""!==e.content.img_mobile?"d-none d-md-block":""),width:e.content?.img_desktop_width||1900,height:e.content?.img_desktop_height||600}),e.content?.img_mobile!==""&&(0,r.jsx)("img",{src:e.content.img_mobile,alt:e.title,className:"img-fluid mb-0"+(""!==e.content.img_desktop?" d-md-none":""),width:e.content?.img_mobile_width||800,height:e.content?.img_mobile_height||253})]}),e.content?.disclaimer&&(0,r.jsx)("div",{className:"bg-white position-absolute bottom-0 end-0 py-1 px-2 text-center text-small",children:(0,r.jsx)($.OverlayTrigger,{placement:"top",overlay:(0,r.jsxs)(E.Popover,{id:"popover"+i,children:[(0,r.jsx)(E.Popover.Header,{as:"h3",children:"Disclaimer"}),(0,r.jsx)(E.Popover.Body,{children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:`${e.content.disclaimer}`}})})]}),children:(0,r.jsxs)("span",{className:"cursor-pointer",children:["Disclaimer",(0,r.jsx)(p.default,{className:"fa-regular fa-circle-question text-muted ms-1 float-right"})]})})})]},"item_"+l))}),"yes"===t.showArrows&&(0,r.jsx)("div",{className:"ps-2 ps-lg-4",children:(0,r.jsx)(p.default,{className:"fa-regular fa-angle-right h2 m-0 text-muted cursor-pointer","aria-label":"Scroll right",role:"button",onClick:()=>c((i+1)%l.length)})})]}),"yes"===t.showSwipe&&(0,r.jsx)("div",{className:"mt-3 text-center d-flex align-items-center text-nowrap",children:(0,r.jsx)("div",{className:"w-100 cursor-pointer",children:l.map((t,l)=>(0,r.jsx)(p.default,{className:"fa-"+(i!==l?"solid":"regular")+" fa-"+(i!==l?"circle-small":"circle-dot")+" me-1 "+(i===l?"text-primary":"text-muted"),onClick:()=>{a(l),e.g.cmsTrack("asc_media_interaction",{media_type:"gallery",event_action_result:"view images"})}},"item_"+l))})})]})}let z=({content:e,index:t})=>(0,r.jsx)($.OverlayTrigger,{placement:"top",overlay:(0,r.jsxs)(E.Popover,{id:"popover"+t,children:[(0,r.jsx)(E.Popover.Header,{as:"h3",children:"Disclaimer"}),(0,r.jsx)(E.Popover.Body,{children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:`${e.disclaimer}`}})})]}),children:(0,r.jsxs)("span",{className:"cursor-pointer",children:["Offer Details & Disclaimer",(0,r.jsx)(p.default,{className:"fa-regular fa-circle-question text-primary ms-1 float-right"})]})});function H(e,t){var l,s;let i=L(e,t),a=function(e){if(!e)return"";let t=e.split("T")[0];if(!t)return"";let l=new Date(`${t}T12:00:00`);return Number.isNaN(l.getTime())?t:(0,_.getFormattedDate)(l)||t}(t?.event_date),n=(l=t?.start_time,s=t?.end_time,l&&s?`${l} - ${s}`:l||s||""),o=W(t?.link_event),c=W(t?.link_registration);return(0,r.jsx)(v.Card,{className:"h-100 overflow-hidden border-0 shadow-sm",children:(0,r.jsxs)(N.Row,{className:"g
5-0 h-100",children:[(0,r.jsx)(w.Col,{md:5,className:"d-flex align-items-center justify-content-center",children:t?.img?(0,r.jsx)("img",{src:t.img,alt:i,style:{width:"100%",maxWidth:"600px",height:"300px",objectFit:"cover"}}):(0,r.jsx)("div",{className:"d-flex align-items-center justify-content-center bg-light text-muted",style:{width:"100%",maxWidth:"600px",height:"300px"},children:(0,r.jsx)(p.default,{className:"fa-regular fa-calendar-days h1 mb-0"})})}),(0,r.jsx)(w.Col,{md:7,children:(0,r.jsxs)(v.Card.Body,{className:"p-4 h-100 d-flex flex-column",children:[(0,r.jsx)("div",{className:"text-uppercase text-muted text-small font-weight-bold mb-2",children:"Event"}),(0,r.jsx)(v.Card.Title,{as:"h3",className:"h4 mb-3",children:i}),a&&(0,r.jsxs)("div",{className:"d-flex align-items-center text-muted mb-2",children:[(0,r.jsx)(p.default,{className:"fa-regular fa-calendar-days me-2"}),(0,r.jsx)("span",{children:a})]}),n&&(0,r.jsxs)("div",{className:"d-flex align-items-center text-muted mb-3",children:[(0,r.jsx)(p.default,{className:"fa-regular fa-clock me-2"}),(0,r.jsx)("span",{children:n})]}),t?.description&&(0,r.jsx)("div",{className:"mb-4",dangerouslySetInnerHTML:{__html:`${t.description}`}}),(c||o)&&(0,r.jsxs)("div",{className:"mt-auto d-flex flex-wrap gap-2",children:[c&&(0,r.jsx)(d.default,{href:c.href,target:c.target,rel:c.rel,className:"btn btn-primary",title:`Register for ${i}`,children:"Register"}),o&&(0,r.jsx)(d.default,{href:o.href,target:o.target,rel:o.rel,className:"btn btn-outline-primary",title:`View details for ${i}`,children:"View Details"})]})]})})]})})}function L(e,t){var l;return e?.title||t?.title||((l=t?.description)?l.replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim():"")||"Upcoming Event"}function W(e){let t=function(e){if("string"!=typeof e)return null;let t=e.trim();if(!t)return null;let l=/^(#|\?|\/(?!\/)|\.\.?\/)/.test(t),r=/^(https?:\/\/|mailto:|tel:)/i.test(t);return l||r?t:null}(e);if(!t)return null;let l=/^https?:\/\//i.test(t);return{href:t,rel:l?"noopener noreferrer":void 0,target:l?"_blank":"_self"}}function G(t,l,s,i){let a={dealer:e.g.dealerName,title:t.title||l.title||"Offer",img:l.img||"",subtitle:l.subtitle||"",description:l.description||"",disclaimer:l.disclaimer||""};return i?.serviceDisplay==="minimal"?(0,r.jsxs)("div",{className:"rounded p-3 bg-white mb-4",children:[(0,r.jsx)("h4",{className:"font-weight-bold h5",children:t.title}),(0,r.jsx)("p",{className:"h4 text-primary font-weight-bold",children:l.subtitle}),(0,r.jsx)("hr",{}),(0,r.jsx)("div",{className:"mb-4 c-offer-description",dangerouslySetInnerHTML:{__html:l.description}}),""!==l.link&&(0,r.jsxs)(d.default,{href:l.link,title:t.title,className:"btn btn-primary w-100 shopgenie-book-appt-btn",children:[(0,r.jsx)(p.default,{className:"fa-regular fa-calendar-week me-2"}),l.link_text]}),(0,r.jsxs)(d.default,{href:{pathname:"/print-offer",query:a},target:"_blank",rel:"noopener noreferrer",className:"d-inline-block text-primary mt-2",title:"Print "+(t.title||"offer"),children:[(0,r.jsx)(p.default,{className:"fa-regular fa-print me-1"}),"Print"]})]}):(0,r.jsxs)(v.Card,{children:[(0,r.jsx)("div",{className:"position-relative text-white text-start",children:""!==t.title?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:(i?.serviceDisplay==="photo"?"d-none":"")+" w-100 h-100 bg-darker opacity-50 position-absolute"}),(0,r.jsx)(v.Card.Img,{src:l.img,alt:t.title}),i?.serviceDisplay!=="photo"&&(0,r.jsxs)(v.Card.ImgOverlay,{children:[(0,r.jsx)(v.Card.Title,{className:"text-large font-weight-bold",children:t.title}),i?.serviceDisplay!=="photo_title"&&(0,r.jsx)(v.Card.Text,{className:"h1 font-weight-bold",children:l.subtitle})]})]}):(0,r.jsx)(v.Card.Img,{src:l.img,alt:l.title})}),""!==l.link&&(0,r.jsxs)("div",{className:"p-3 border-bottom text-center",children:[(0,r.jsx)(d.default,{href:l.link,title:t.title,className:"btn shopgenie-book-appt-btn btn-primary w-100 ",children:l.link_text}),(0,r.jsxs)(d.default,{href:{pathname:"/print-offer",query:a},target:"_blank",rel:"noopener noreferrer",className:"d-inline-block mt-3 text-primary",title:"Print "+(t.title||"offer"),children:[(0,r.jsx)(p.default,{className:"fa-regular fa-print me-1"}),"Print"]})]}),(0,r.jsxs)(v.Card.Body,{className:"text-center",children:[(0,r.jsx)("div",{className:"mb-3",dangerouslySetInnerHTML:{__html:l.description}}),""===l.link&&(0,r.jsxs)(d.default,{href:{pathname:"/print-offer",query:a},target:"_blank",rel:"noopener noreferrer",className:"d-inline-block mb-3 text-primary",title:"Print "+(t.title||"offer"),children:[(0,r.jsx)(p.default,{className:"fa-regular fa-print me-1"}),"Print"]}),""!==l.disclaimer&&(0,r.jsx)("div",{className:"text-muted",children:(0,r.jsx)($.OverlayTrigger,{placement:"top",overlay:(0,r.jsxs)(E.Popover,{id:"popover"+s,children:[(0,r.jsx)(E.Popover.Header,{as:"h3",children:"Disclaimer"}),(0,r.jsx)(E.Popover.Body,{children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:`${(0,_.nl2br)(l.disclaimer)}`}})})]}),children:(0,r.jsxs)("span",{className:"cursor-pointer",children:["Disclaimer",(0,r.jsx)(p.default,{className:"fa-regular fa-circle-question ms-1 text-muted"})]})})})]})]})}let U=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>|<script\b[^>]*\/>/gi;var V=e.i(5888),q=e.i(76474),K=e.i(80649);let J=(0,i.default)(()=>e.A(85537),{loadableGenerated:{modules:[56063]}}),Q=(0,i.default)(()=>e.A(26331),{loadableGenerated:{modules:[16702]}});var X=e.i(19293),Y=e.i(48914);let Z=(0,i.default)(()=>e.A(2440),{loadableGenerated:{modules:[6057]}}),ee=(0,i.default)(()=>
5e.A(69862),{loadableGenerated:{modules:[23380]},ssr:!0}),et=(0,i.default)(()=>e.A(19667),{loadableGenerated:{modules:[89485]},ssr:!0}),el=(0,i.default)(()=>e.A(2579),{loadableGenerated:{modules:[21336]},ssr:!0}),er=(0,i.default)(()=>e.A(36865),{loadableGenerated:{modules:[85350]},ssr:!0}),es=(0,i.default)(()=>e.A(37472),{loadableGenerated:{modules:[81885]},ssr:!1}),ei=(0,i.default)(()=>e.A(26050),{loadableGenerated:{modules:[37855]},ssr:!0}),ea=(0,i.default)(()=>e.A(2885),{loadableGenerated:{modules:[14600]},ssr:!0}),en=(0,i.default)(()=>e.A(30066),{loadableGenerated:{modules:[4865]},ssr:!0}),eo=(0,i.default)(()=>e.A(60051),{loadableGenerated:{modules:[63039]},ssr:!1}),ed=(0,i.default)(()=>e.A(66479),{loadableGenerated:{modules:[22760]},ssr:!1}),ec=(0,i.default)(()=>e.A(38686),{loadableGenerated:{modules:[93447]},ssr:!1}),em=(0,i.default)(()=>e.A(30447),{loadableGenerated:{modules:[30339]},ssr:!1}),eu=(0,i.default)(()=>e.A(9771),{loadableGenerated:{modules:[84371]},ssr:!1}),eh=(0,i.default)(()=>e.A(10923),{loadableGenerated:{modules:[38627]},ssr:!0}),ep=(0,i.default)(()=>e.A(2700),{loadableGenerated:{modules:[66551]},ssr:!1}),eg=(0,i.default)(()=>e.A(9983).then(e=>
5e.SelectFiFinanceModule),{loadableGenerated:{modules:[80015]},ssr:!1}),ef=(0,i.default)(()=>e.A(34843),{loadableGenerated:{modules:[39698]},ssr:!1}),ex=(0,i.default)(()=>e.A(20189),{loadableGenerated:{modules:[24584]},ssr:!1}),eb=(0,i.default)(()=>e.A(46825).then(e=>e.KbbTradeInAdvisorPageModule),{loadableGenerated:{modules:[81574]},ssr:!1}),ev=j.default.div.withConfig({displayName:"Plugin__CraftWrapper",componentId:"sc-5767a9c5-0"})`
6min-height: ${e=>e?.$activeStep===1&&_.pluginHeights[e?.$heightKey]?_.pluginHeights[e?.$heightKey].desktop:0}px;
7@media(max-width: 575px) {
8  min-height: ${e=>e?.$activeStep===1&&_.pluginHeights[e?.$heightKey]?_.pluginHeights[e?.$heightKey].mobile:0}px;
9}
10`,ey=j.default.div.withConfig({displayName:"Spacer__StyledSpacer",componentId:"sc-80fd6870-0"})`
11height: ${e=>e?.$desktopHeight??10}px;
12@media(max-width: 1024px) {
13  height: ${e=>e?.$mobileHeight??10}px;
14}
15`;var ej=e.i(68160),ew=e.i(35122),eN=e.i(24059),ek=e.i(81309);let e_=e=>{let t=e?.json??null;if(!t&&e.children&&e.children[0]&&(e.children[0].props?.json?t=e.children[0].props.json:e.children[0].props?.children?.props?.json&&(t=e.children[0].props.children.props.json)),!t)return e?.children?(0,r.jsx)(r.Fragment,{children:e.children}):(0,r.jsx)(r.Fragment,{children:"There was a problem loading this tab."});let l=t[e.nodeId],i=l?.nodes||[],a={dealer:e?.dealer,responses:e?.responses,extras:e?.extras,otherProps:e?.otherProps,isMobile:e?.isMobile,priority:e?.priority};return(0,r.jsx)("div",{className:"craftTabContent",children:i.map(e=>{let l=t[e];return l?l.type?.resolvedName==="Text"&&l.props?.html?(0,r.jsx)(ek.Text,{...l.props},e):(0,r.jsx)(s.default.Fragment,{children:(0,r.jsx)(eD,{node:l,nodeId:e,json:t,otherProps:l.props,...a})},e):null})})};var eC=Object.defineProperty,eS=new Map,eP=new WeakMap,eT=0;s.Component,null!=(null!=(l="useInsertionEffect"in s?s.useInsertionEffect:void 0)?l:s.useLayoutEffect)||s.useEffect;var eI=e.i(82752),eA=e.i(18413),e$=e.i(6773);let eE=(0,i.default)(()=>e.A(56551),{loadableGenerated:{modules:[61245]},ssr:!0}),eM=(0,i.default)(()=>e.A(91340),{loadableGenerated:{modules:[85410]},ssr:!1}),eB=(0,i.default)(()=>e.A(34297),{loadableGenerated:{modules:[9022]},ssr:!1}),eO={Accordion:n.Accordion,BlogBlocks:o.BlogBlocks,Button:t=>{let l=(0,s.useContext)(u.craftModalContext),{update:i}=(0,h.default)(),{dispatch:a}=l,n=(0,m.useRouter)(),{trackClick:o}=(0,g.useMatomoTracking)(),x=()=>{o("navlink","CMS Link: "+t.text);let l=(0,f.telHrefToDigits)(t.url);l?e.g.cmsTrack("asc_click_to_call",{comm_phone_number:l,department:"sales"}):e.g.cmsTrack("asc_cta_interaction",{element_text:t.text,element_type:"button",event_action:"redirect"})},b="";if(t?.customIconStyle==="far"||t?.customIconStyle==="fal"?b="regular":t?.customIconStyle==="fas"&&(b="solid"),t.version>1)if("link"===t.purpose)return(0,r.jsx)("div",{className:"text-"+(t?.textAlign!==void 0?t?.textAlign:"left"),children:(0,r.jsxs)(d.default,{href:t.url,target:t.external?"_blank":"_self",className:"btn btn-"+("solid"!==t.newSolidOrOutline?"outline-":"")+t.newVariant+(t.fullWidth?" w-100 text-start":"")+("sm"===t.size?" btn-sm":"")+("lg"===t.size?" btn-lg":""),onClick:x,"data-asc-tracked":"",title:t?.text,"aria-label":t?.text,children:[""!==t.customIcon&&"left"===t.customIconAlign&&(0,r.jsx)(p.default,{className:"fa-"+b+" fa-"+t.customIcon+" me-2",color:t.customIconColor??"inherit",btnSize:t.size}),""!==t.text?t.text:"Enter button text",""!==t.customIcon&&"right"===t.customIconAlign?(0,r.jsx)(p.default,{className:"fa-"+b+" fa-"+t.customIcon+" "+(t.fullWidth?"float-end":"ms-2"),color:t.customIconColor??"inherit",btnSize:t.size}):""===t.customIcon?(0,r.jsx)(p.default,{className:"fa-regular fa-angle-right text-white "+(t.fullWidth?"float-end":"ms-2"),btnSize:t.size}):null]})});else return(0,r.jsx)("div",{className:"text-"+(t?.textAlign!==void 0?t?.textAlign:"left"),children:(0,r.jsxs)(c.Button,{variant:("solid"!==t.newSolidOrOutline?"outline-":"")+t.newVariant,size:t.size,className:t.fullWidth?" w-100 text-start":"",onClick:l=>{"plugin"===t.purpose?(i({title:t.text,module:t.module,url:n.asPath,show:!0}),o("button","CMS Button: "+t.text+"("+t.module+")"),e.g.cmsTrack("asc_cta_interaction",{element_text:t.text,element_type:"button",event_action:"UPDATE_SLIDEOUT",event_action_result:`open ${t.module} slideout`})):(a({type:"UPDATE",payload:{[t?.targetModalId]:!0}}),o("button","CMS Button: "+t.text),e.g.cmsTrack("asc_cta_interaction",{element_text:t.text,element_type:"button",event_action:"OPEN_MODAL"}))},title:t?.text,"aria-label":t?.text,children:[""!==t.customIcon&&"left"===t.customIconAlign&&(0,r.jsx)(p.default,{className:"fa-"+b+" fa-"+t.customIcon+" me-2",color:t.customIconColor??"inherit",btnSize:t.size}),""!==t.text?t.text:"Enter button text",""!==t.customIcon&&"right"===t.customIconAlign?(0,r.jsx)(p.default,{className:"fa-"+b+" fa-"+t.customIcon+" "+(t.fullWidth?"float-end":"ms-2"),color:t.customIconColor??"inherit",btnSize:t.size}):""===t.customIcon?(0,r.jsx)(p.default,{className:"fa-regular fa-angle-right text-white "+(t.fullWidth?"float-end":"ms-2"),btnSize:t.size}):null]})});return"link"===t.purpose?(0,r.jsx)("div",{className:"text-"+(t?.textAlign!==void 0?t?.textAlign:"left"),children:(0,r.jsxs)(d.default,{href:t.url,target:t.external?"_blank":"_self",className:"btn mb-3 btn-"+("light"===t.theme?t.variant:"outline-default")+(t.fullWidth?" w-100 text-start":"")+("sm"===t.size?" btn-sm":"")+("lg"===t.size?" btn-lg":""),onClick:x,"data-asc-tracked":"",title:t?.text,"aria-label":t?.text,children:[""!==t.text?t.text:"Enter button text",(0,r.jsx)(p.default,{className:"fa-regular fa-angle-right "+(t.fullWidth?"float-end":"ms-2"),btnSize:t.size})]})}):(0,r.jsx)("div",{className:"text-"+(t?.textAlign!==void 0?t?.textAlign:"left"),children:(0,r.jsxs)(c.Button,{variant:"light"===t.theme?t.variant:"outline-default",size:t.size,className:t.fullWidth?" w-100 text-start":"",onClick:l=>{"plugin"===t.purpose?(i({title:t.text,module:t.module,url:n.asPath,show:!0}),o("button","CMS Button: "+t.text+"("+t.module+")"),e.g.cmsTrack("asc_cta_interaction",{element_text:t.text,element_type:"button",element_action:"UPDATE_SLIDEOUT",element_action_result:`open ${t.module} slideout`})):(a({type:"UPDATE",payload:{[t?.targetModalId]:!0}}),o("button","CMS Button: "+t.text),e.g.cmsTrack("asc_cta_interaction",{element_text:t.text,element_type:"button",element_action:"OPEN_MODAL"}))},title:t?.text,"aria-label":t?.text,children:[""!==t.text?t.text:"Enter button text",(0,r.jsx)(p.default,{className:"fa-regular fa-angle-right "+(t.fullWidth?"float-end":"ms-2"),btnSize:t.size})]})})},Cart:t=>{let l=t?.dealer,s=e=>(0,r.jsx)("div",{className:"cElement cCart d-inline-block "+(t.cssClasse
15s||""),children:e});return l?.shop==1?s((0,r.jsx)(b,{dealer:l,headerTheme:l?.settings?.header_theme,isMobile:t?.isMobile??!1})):e.g.dealerSettings?.enable_deposit_cart=="1"&&e.g.dealerSettings?.stripe_account_id&&l?.package?.indexOf("+dr")>-1?s((0,r.jsx)(x,{dealer:l,headerTheme:l?.settings?.header_theme,isMobile:t?.isMobile??!1})):null},Carousel:t=>{let l,i,a,n,o;if(!t.children[0])return(0,r.jsx)(r.Fragment,{children:"There was a problem loading this carousel."});let c=t.children[0].props.children.props.json,m=[];if(t.children.map((e,l)=>{let r=c[e.key],s=r.props?.visibleDesktop===""?1:parseInt(r.props?.visibleDesktop||0),i=r.props?.visibleMobile===""?1:parseInt(r.props?.visibleMobile||0);if(c[r.nodes[0]]){if(t?.isMobile&&i<1||!t?.isMobile&&s<1)return;m.push(c[r.nodes[0]])}}),0===m.length)return(0,r.jsx)(r.Fragment,{children:"There was a problem loading this carousel."});let[u,h]=(0,s.useState)(0);(0,s.useEffect)(()=>{if(t.autoScroll>0){let e=setInterval(()=>{h(e=>(e+1)%m.length)},1e3*t.autoScroll);return()=>clearInterval(e)}},[t.autoScroll]);let g={};return g=u>0?{loading:"lazy"}:{loading:"eager",fetchPriority:"high"},(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"cElement cCarousel d-flex align-items-center",children:["yes"===t.showArrows&&(0,r.jsx)("div",{className:"pe-2 pe-lg-4",children:(0,r.jsx)(p.default,{className:"fa-regular fa-angle-left h2 m-0 text-muted cursor-pointer","aria-label":"Scroll left",role:"button",onClick:()=>{h((u-1+m.length)%m.length),e.g.cmsTrack("asc_media_interaction",{media_type:"gallery",event_action_result:"view images"})}})}),(0,r.jsx)("div",{className:"w-100",children:(l=m[u].props,i="",l?.textAlign&&("right"===l.textAlign?i="ms-auto ":"center"===l.textAlign&&(i="mx-auto ")),a="",[25,50,75].includes(n=parseInt(l.opacity))&&(a=" opacity-"+n),o=(0,r.jsx)(y.default,{src:l.src,alt:l.altText||"",width:l.width||800,height:l.height||400,style:{borderRadius:`${l?.borderRadius}px`,width:l.fullWidth?"100%":void 0,height:l.fullWidth?"auto":void 0},className:"cElement cImage img-fluid "+i+(""!==i?"d-block ":"")+a+" "+l.cssClasses,...g}),l.link&&l.link.toString().length>0?(0,r.jsx)(d.default,{href:l.link,title:l.altText,target:1===l.external?"_blank":"_self",children:o}):o)}),"yes"===t.showArrows&&(0,r.jsx)("div",{className:"ps-2 ps-lg-4",children:(0,r.jsx)(p.default,{className:"fa-regular fa-angle-right h2 m-0 text-muted cursor-pointer","aria-label":"Scroll right",role:"button",onClick:()=>{h((u+1)%m.length),e.g.cmsTrack("asc_media_interaction",{media_type:"gallery",event_action_result:"view images"})}})})]}),"yes"===t.showSwipe&&(0,r.jsx)("div",{className:"mt-3 text-center d-flex align-items-center text-nowrap",children:(0,r.jsx)("div",{className:"w-100 cursor-pointer",children:m.map((t,l)=>(0,r.jsx)(p.default,{className:"fa-"+(u!==l?"solid":"regular")+" fa-"+(u!==l?"circle-small":"circle-dot")+" me-1 "+(u===l?"text-primary":"text-muted"),onClick:()=>{h(l),e.g.cmsTrack("asc_media_interaction",{media_type:"gallery",event_action_result:"view images"})}},"item_"+l))})})]})},TabContainer:e=>{var t;let l=e?.json??null;if(!l&&e.children&&e.children[0]&&(e.children[0].props?.json?l=e.children[0].props.json:e.children[0].props?.children?.props?.json&&(l=e.children[0].props.children.props.json)),!l)return(0,r.jsx)(r.Fragment,{children:"There was a problem loading these tabs."});let i=l[e.nodeId],a=i?.nodes||[],n=a.map(e=>l[e]).filter(Boolean);if(0===n.length)return(0,r.jsx)(r.Fragment,{children:"There was a problem loading these tabs."});let o=(0,s.useMemo)(()=>a[0]??"0",[a]),[d,c]=(0,s.useState)(o);(0,s.useEffect)(()=>{!a.includes(d)&&a.length>0&&c(a[0])},[d,a]);let m=e?.tabStyle==="pills"?"pills":"tabs",u=!0===(t=e?.justifyFill)||1===t?"yes":!1===t||0===t?"no":"string"!=typeof t?"":t.trim().toLowerCase();return(0,r.jsx)("div",{className:"cElement cTabContainer craftElement craftTabContainer",children:(0,r.jsx)(eN.Tabs,{id:`craft-tabs-${e.nodeId}`,activeKey:d,onSelect:e=>c(e??o),variant:m,fill:"fill"===u,justify:"justify"===u||"yes"===u,transition:!1,children:n.map((t,s)=>{var i;
15let n=a[s]??String(s),o=t.props?.title;if(!o)for(let e of t.nodes||[]){let t=l[e];if(t?.type?.resolvedName==="Text"&&t.props?.html){let e=t.props.html.match(/<p>(.*?)<\/p>/);e&&(o=e[1]);break}}o||(o=t.displayName||`Tab ${s+1}`);let c=d===n,m=`py-3 ${c?"font-weight-bold":"font-weight-normal"}`,u=(i=t.props?.titleCssClass)?i.split(/\s+/).filter(e=>e&&"font-weight-bold"!==e&&"font-weight-normal"!==e&&"fw-bold"!==e&&"fw-normal"!==e).join(" "):"",h=u?(0,r.jsx)("span",{className:u,children:(0,ej.default)(o)}):(0,ej.default)(o);return(0,r.jsx)(ew.Tab,{eventKey:n,title:h,tabClassName:m,children:(0,r.jsx)(e_,{...e,json:l,nodeId:n})},n)})})})},Check:e=>{let t="regular";"fal"===e.theme?t="regular":"fas"===e.theme&&(t="solid");let l="";return e?.vAlign&&e?.vAlign!=="arrows-to-line"?"arrow-up-to-line"===e.vAlign?l="align-items-start":"arrow-down-to-line"===e.vAlign&&(l="align-items-end"):l="align-items-center",(0,r.jsxs)("div",{className:"position-relative d-flex "+l+" p-2 craftElement craftCheck",children:[(0,r.jsx)("div",{className:"pe-3",children:(0,r.jsx)(p.default,{width:e.size||24,height:e.size||24,color:e.color,className:"fa-"+t+" fa-"+e.iconClass+" fa-fw "+e.cssClasses+" "+(e.rotate>0?"fa-rotate-"+e.rotate:"")})}),(0,r.jsx)("div",{className:"w-100",children:e.children})]})},ColorOverlay:e=>{var t="";return void 0!==e.visibleDesktop&&(""===e.visibleDesktop&&(t="d-sm-none "),""===e.visibleMobile&&(t="d-none d-sm-block ")),(0,r.jsx)("div",{className:t+" cElement cColorOverlay",style:{backgroundColor:e.color,opacity:`${e.opacity}%`}})},Column:e=>{let t=e?.parentProps?.props||null,l=6;return 3===e.colNum&&(l=4),50!==e.columnWidth&&(25===e.columnWidth?l=3:33===e.columnWidth?l=4:66===e.columnWidth?l=8:75===e.columnWidth&&(l=9)),(0,r.jsx)(w.Col,{xs:{order:e?.columnOrder??0,span:t?.mobileDisplay==="grid"?l:12},sm:{span:l,order:0},className:"cElement cColumn",children:void 0!==e.children?e.children:null})},ColumnLayout:e=>{let t="";return e?.valign==="middle"&&(t+=" d-flex align-items-center"),(0,r.jsx)(N.Row,{className:"cElement cColumnLayout "+(e?.bordered===1?"row-bordered ":"")+(e?.noGutters===1?"no-gutters ":"")+t,children:void 0!==e.children?e.children:null})},Container:t=>{let l,s;(0,k.default)();let i=e.g.dealerSettings?.darkmode===1,a=t.linkElement?t.linkTo??"":"",n="";1===t.border&&(n+=`border: ${t.borderSize}px solid ${t.borderColor};`),1===t.rounded&&(n+="border-radius: 0.5rem !important;"),(t.marginL>0||t.marginR>0||t.marginB>0||t.marginT>0)&&(n+=`margin: ${t.marginT} ${t.marginR} ${t.marginB} ${t.marginL};`),t?.fontColor!=="#4e5155"&&(n+=`color: ${t.fontColor};`),"color"===t.bgStyle?i?n+=`background-color: ${(0,_.invertGrayscaleHexColor)(t.bgPrimary)};`:n+=`background-color: ${t.bgPrimary};`:"gradient"===t.bgStyle?"split"===t.bgGradientStyle?n+=`
16      background-image: linear-gradient(90deg, ${t.bgPrimary}, ${t.bgPrimary} 50%, ${t.bgSecondary} 0, ${t.bgSecondary});
17
18      @media(max-width: 575px) {
19        background-image: linear-gradient(180deg, ${t.bgPrimary}, ${t.bgPrimary} 50%, ${t.bgSecondary} 0, ${t.bgSecondary});
20      }
21      `:n+=`background-image: linear-gradient(90deg, ${t.bgPrimary} 0%, ${t.bgSecondary} 100%);`:"image"===t.bgStyle&&""!==t.bgImage&&(n+=`background-image: url(${t.bgImage}); background-repeat: `+(!1===t.bgRepeat?"no-repeat ":"repeat")+";"+("automatic"===t.bgSize?"":" background-size: "+t.bgSize+"; background-position: center;")),t.paddingX>0&&(n+=`
22    padding-left: ${5*t.paddingX}% !important;
23    padding-right: ${5*t.paddingX}% !important;
24
25    @media(max-width: 575px) {
26      padding-left: 1rem !important;
27      padding-right: 1rem !important;
28    }
29    `);var o,c,m="";if(t?.visibleDesktop!==void 0||t?.visibleMobile!==void 0){let e=""===t.visibleDesktop?1:parseInt(t.visibleDesktop),l=""===t.visibleMobile?1:parseInt(t.visibleMobile);1===e&&l<1&&(m="d-none d-sm-block "),1===l&&e<1&&(m="d-sm-none ")}let u=""===a?"":(t.linkLabel??"").trim()||(o=t.json,c=t.nodeId,l="",s=e=>{for(let t of o[e]?.nodes??[]){let e=o[t],r="string"==typeof e?.props?.text?e.props.text.trim():"";if(e?.type?.resolvedName==="Heading"&&r)return r;e?.type?.resolvedName==="Button"&&r&&!l&&(l=r);let i=s(t);if(i)return i}return""},(o?s(c):"")||l)||a.split(/[?#]/)[0].replace(/\/+$/,"").split("/").pop().replace(/[-_]+/g," ").replace(/\b\w/g,e=>e.toUpperCase())||a;return(0,r.jsxs)(C,{className:m+"cElement cContainer "+(""!==a?" cContainerLinked cursor-pointer ":"")+(t?.stickToTop===1?" sticky-top ":"")+(1===t.fullWidth?" w-100 ":" container ")+(t?.cssClasse
29s?t.cssClasses:""),onClick:""!==a?e=>{if(""===a||!(e.target instanceof Element)||e.target.closest('a, button, input, select, textarea, label, iframe, [role="button"]'))return;let t=e.currentTarget.querySelector(":scope > .cContainerLink");t&&t.dispatchEvent(new MouseEvent("click",e.nativeEvent))}:void 0,$styleStr:n,children:[""!==a&&(0,r.jsx)(d.default,{href:a,className:"cContainerLink","aria-label":u,target:1===t.linkNewWindow?"_blank":void 0}),void 0!==t.children?t.children:null]})},ContentBlocks:t=>{var l,i=void 0!==t.extras?t.extras:e.g.superProp?.extras,a=void 0!==t.responses?t.responses:e.g.superProp?.responses;let n="Jobs"===t.selectedBlock?"no":t?.expandAccordion;i?.length>0&&i.forEach((e,r)=>{if("ContentBlocks"===e.type&&e.nodeId===t.nodeId){try{var s=a?.map(e=>Array.isArray(e.results)?e.results.filter(e=>e.dealer_id===t.locationId&&void 0!==e.reviewer):[]).flat();s&&Array.isArray(s)&&0!==s.length&&s[0]||(s=a[r].results)}catch(e){s=a[r].results}l={results:s,extras:e}}});let[o,m]=(0,s.useState)(!1),[u,h]=(0,s.use
29State)(null);function g({children:e,eventKey:t,expandAccordion:l,expanded:i,setExpanded:a,callback:n}){let{activeEventKey:o}=(0,s.useContext)(I.AccordionContext),d=(0,M.useAccordionButton)(t,()=>n&&n(t)),c=o===t;return"no"!==l||0!==t||i||(c=!1),(0,r.jsxs)("div",{className:"d-flex px-4 py-3 cursor-pointer border-bottom",onClick:e=>{d(e),a(!0)},children:[(0,r.jsx)("h4",{className:"h5 m-0",children:e}),(0,r.jsx)(p.default,{className:"fa-solid fa-"+(c?"square-minus":"square-plus")+" ms-auto h5 mb-0 "+(c?"text-primary":"")})]})}let x={};return("FAQs"===t.selectedBlock&&"object"==typeof l?(x={"@context":"https://schema.org","@type":"FAQPage",mainEntity:[]},l.results.map((e,t)=>{var l=e?.content?JSON.parse(e.content):null;x.mainEntity.push({"@type":"Question",name:e.title,acceptedAnswer:{"@type":"Answer",text:l?.content||""}})})):"Reviews"===t.selectedBlock&&"object"==typeof l&&1===e.g.superProp.dealer.results.related.length&&(x={"@context":"https://schema.org","@graph":[]},l.results.map((t,l)=>{var r=t?.content?JSON.parse(t.content):null;r&&x["@graph"].push({"@type":"Review",author:{"@type":"Person",name:t.title},datePublished:t.created.slice(0,10),reviewBody:r?.content.replace(/<\/?[^>]+(>|$)/g,""),reviewRating:{"@type":"Rating",ratingValue:"5",bestRating:"5"},itemReviewed:{"@type":"AutoDealer",name:e.g.superProp.related.name,address:{"@type":"PostalAddress",streetAddress:e.g.superProp.related.street1+(e.g.superProp.related.street2?", "+e.g.superProp.related.street2:""),addressLocality:e.g.superProp.related.city,addressRegion:e.g.superProp.related.state,postalCode:e.g.superProp.related.postalcode,addressCountry:e.g.superProp.related.country}}})})),"carousel"===t.display)?(0,r.jsx)(F,{...t,thisSnippet:l,markup:x}):"accordion"!==t.display?(0,r.jsxs)(r.Fragment,{children:[x!={}&&(0,r.jsx)(S.default,{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify((0,B.applySchemaOverrides)(x))}}),"Offers"===t.selectedBlock&&"masonry"===t.display?"object"==typeof l&&Array.isArray(l.results)&&l.results.length>0?(0,r.jsx)("div",{className:"masonry",children:(0,r.jsx)(r.Fragment,{children:l.results.map((e,l)=>{var s=e?.content?{type:"default",...JSON.parse(e.content)}:{type:"google",...e};return(0,r.jsx)("div",{className:"masonry-item",children:G(e,s,l,t)})})})}):null:(0,r.jsx)(N.Row,{className:"cElement cBlock justify-content-center "+("FAQs"===t.selectedBlock||"Jobs"===t.selectedBlock?"row-bordered":""),children:"object"==typeof l&&Array.isArray(l.results)&&l.results.length>0?(0,r.jsx)(r.Fragment,{children:l.results.map((l,s)=>{var i=l?.content?{type:"default",...JSON.parse(l.content)}:{type:"google",...l},a="columns"===t.display?t.sizePerRow??2:12;if("Staff"===t.selectedBlock){let s=function(e){let t;if("string"!=typeof e||""===e.trim())return null;try{t=new URL(e.trim())}catch(e){return null}if("http:"!==t.protocol&&"https:"!==t.protocol)return null;if(O.includes(t.hostname)){let e=t.pathname.split("/").filter(Boolean),l=t.searchParams.get("v");return(!l&&("youtu.be"===t.hostname?l=e[0]:["shorts","embed","live"].includes(e[0])&&(l=e[1])),l&&D.test(l))?{kind:"youtube",src:`https://www.youtube.com/embed/${l}?autoplay=1&rel=0&modestbranding=1`}:null}return R.test(t.pathname)?{kind:"file",src:e.trim()}:null}(i?.video);return(0,r.jsxs)(w.Col,{sm:"columns"===t.display?a:12,className:"p-3 text-center c-staff",children:[i?.img?(0,r.jsx)(P.Image,{alt:l.title,width:"300",height:"300",src:i.img,fluid:!0,className:"mb-4"}):(0,r.jsx)(P.Image,{alt:l.title,width:"300",height:"300",src:"https://static.overfuel.com/images/assets/person-placeholder.png",fluid:!0,className:"mb-4"}),(0,r.jsx)("p",{className:"text-medium notranslate",children:l.title}),i?.jobtitle&&(0,r.jsx)(r.Fragment,{children:i.jobtitle}),(0,r.jsxs)("div",{className:"pt-1",children:[i?.phone&&(0,r.jsx)(d.default,{href:"tel:"+i.phone,"data-asc-tracked":"",onClick:()=>{let t=(0,f.telHrefToDigits)("tel:"+i.phone);t&&e.g.cmsTrack("asc_click_to_call",{comm_phone_number:t,department:"sales"})},children:(0,r.jsx)(p.default,{className:"fa-regular fa-phone"+(i?.email?" me-3":"")})}),i?.email&&(0,r.jsx)(d.default,{href:"mailto:"+i.email,children:(0,r.jsx)(p.default,{className:"fa-regular fa-envelope"})})]}),s&&(0,r.jsx)("div",{className:"pt-3",children:(0,r.jsxs)(c.Button,{variant:"primary",size:"sm",onClick:()=>{h(s),e.g.cmsTrack("asc_media_interaction",{media_type:"watch_video_platform",event_action_result:"view image",product_name:"Watch Video"})},children:[(0,r.jsx)(p.default,{className:"fa-solid fa-play-circle me-2"}),"Watch Video"]})}),i?.content&&(0,r.jsx)("div",{className:"pt-3",dangerouslySetInnerHTML:{__html:`${i.content}`}})]},l.id)}if("FAQs"===t.selectedBlock){if("accordion"!==t.display)return(0,r.jsxs)(w.Col,{sm:"columns"===t.display?4:12,className:"pt-4 px-4 pb-2 c-faq",children:[(0,r.jsx)("h4",{className:"font-weight-bold text-medium mb-2",children:l.title}),i?.content!==null&&(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:`${i.content}`}})]},l.id)}else if("Jobs"===t.selectedBlock)return(0,r.jsxs)(w.Col,{sm:"columns"===t.display?4:12,className:"pt-4 px-4 pb-2 c-faq",children:[(0,r.jsx)("h4",{className:"font-weight-bold text-medium mb-2",children:l.title}),i?.content!==null&&(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:`${i.content}`}})]},l.id);else if("Events"===t.selectedBlock)return(0,r.jsx)(w.Col,{sm:"columns"===t.display?6:12,className:"mb-4 c-event",children:H(l,i)},l.id);else if("Promos"===t.selectedBlock)return(0,r.jsx)(w.Col,{sm:"columns"===t.display?4:12,className:"mb-4 c-promo",children:(0,r.jsx)("div",{className:"d-flex"+("columns"===t.display?"":" pb-4 border-bottom"),children:(0,r.jsxs)("div",{className:"w-100",children:[(0,r.jsxs)(d.default,{href:i?.link&&""!==i.link?i.link:"#",title:l.title,className:"d-block position-relative",children:[""!==i.img_desktop&&(0,r.jsx)("img",{src:i.img_desktop,alt:l.title,className:"img-fluid mb-0 "+(""!==i.img_mobile?"d-none d-md-block":""),width:"100%"}),""!==i.img_mobile&&(0,r.jsx)("img",{src:i.img_mobile,alt:l.title,className:"img-fluid mb-0 "+(""!==i.img_desktop?" d-md-none":""),width:"100%"}),"tooltip"===t.tooltipDisplay&&""!==i.disclaimer&&(0,r.jsx)("div",{className:"bg-white position-absolute bottom-0 start-0 py-1 px-2 text-center text-small text-muted border",children:(0,r.jsx)(z,{content:i,index:s})})]}),"tooltipbelow"===t.tooltipDisplay&&""!==i.disclaimer&&(0,r.jsx)("div",{className:"text-muted d-flex align-items-center mt-2",children:(0,r.jsx)(z,{content:i,index:s})}),"textbelow"===t.tooltipDisplay&&""!==i.disclaimer&&(0,r.jsx)("div",{className:"text-small text-muted mt-2 mb-0",children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:`${(0,_.nl2br)(i.disclaimer)}`}})})]})})},l.id);else if("Offers"===t.selectedBlock)return(0,r.jsx)(w.Col,{sm:"columns"===t.display?t?.serviceDisplay!==""?3:4:12,className:"c-offer "+("columns"===t.display?"text-center":"text-start"),children:G(l,i,s,t)},l.id);else if("Reviews"===t.selectedBlock&&i?.type==="default")return(0,r.jsx)(w.Col,{sm:"columns"===t.display?4:12,className:"pt-4 px-4 pb-2 c-review",children:(0,r.jsxs)("div",{className:"d-flex"+("columns"===t.display?"":" pb-1 mb-1 border-bottom"),children:[i?.review_source&&(0,r.jsx)("div",{className:"pe-3",children:(0,r.jsx)(y.default,{width:"40",height:"40",alt:"Review from "+i.review_source,src:"https://static.overfuel.com/images/icons/reviews/"+i.review_source.toLowerCase()+".webp"})}),(0,r.jsxs)("div",{className:"w-100",children:[(0,r.jsx)("h4",{className:"font-weight-bold text-medium mb-1",children:l.title}),i?.review_date&&(0,r.jsx)("div",{className:"mb-1",children:(0,r.jsx)("em",{children:i.review_date})}),i?.review_stars>0?[...Array(i.review_stars)].map((e,t)=>(0,r.jsx)(p.default,{className:"fa-solid fa-star me-1 text-primary"},"star"+t)):[void 0,void 0,void 0,void 0,void 0].map((e,t)=>(0,r.jsx)(p.default,{className:"fa-solid fa-star me-1 text-primary"},"star"+t)),i?.content!==null&&(0,r.jsx)("div",{className:"mt-2",dangerouslySetInnerHTML:{__html:`${i.content}`}})]})]})},l.id);else if("Reviews"===t.selectedBlock&&i?.type==="google")return(0,r.jsx)(w.Col,{sm:"columns"===t.display?4:12,className:"pt-4 px-4 pb-2 c-review",children:(0,r.jsxs)("div",{className:"d-flex",children:[(0,r.jsx)("div",{className:"w-10 pe-3 d-flex align-items-start",children:(0,r.jsx)(y.default,{width:"25",height:"25",alt:"Review from "+i.reviewer,src:"https://static.overfuel.com/images/icons/reviews/google.webp"})}),(0,r.jsx)("div",{className:"w-90 d-flex flex-column",children:(0,r.jsxs)("div",{className:"w-100",children:[(0,r.jsxs)("div",{className:"w-100 text-medium",children:[(0,r.jsx)("b",{children:i.reviewer}),(0,r.jsx)("br",{}),(0,r.jsx)("em",{children:(0,_.getFormattedDate)(i.created)})]}),(0,r.jsx)("div",{className:"w-100",children:i?.rating>0?[...Array(i.rating)].map((e,t)=>(0,r.jsx)(p.default,{className:"fa-solid fa-star me-1 text-primary"},"star"+t)):[void 0,void 0,void 0,void 0,void 0].map((e,t)=>(0,r.jsx)(p.default,{className:"fa-solid fa-star me-1 text-primary"},"star"+t))}),(0,r.jsx)("div",{className:"w-100",children:i?.text!==null&&(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:`${i.text}`}})})]})})]})},l.id)})}):"object"==typeof l&&Array.isArray(l.results)&&0===l.results.length?(0,r.jsx)(w.Col,{children:(0,r.jsxs)("div",{className:"border p-2 border-primary",children:["There are currently no"," ","Jobs"===t.selectedBlock?"job openings":"Events"===t.selectedBlock?"events":"Promos"===t.selectedBlock?"promotions":"Offers"===t.selectedBlock?"offers":"Staff"===t.selectedBlock?"staff information":"Reviews"===t.selectedBlock?"reviews":"FAQs"===t.selectedBlock?"FAQs":"content"," ","published at this time."]})}):(0,r.jsx)(w.Col,{children:(0,r.jsx)("div",{className:"border p-2 border-danger text-danger",children:"Some of the content on this page could not be loaded. We've notified the dealership and apologize for any inconvenience."})})}),u&&(0,r.jsxs)(A.Modal,{show:!0,size:"lg",onHide:()=>h(null),animation:!1,enforceFocus:!1,restoreFocus:!1,children:[(0,r.jsxs)("h3",{className:"border-bottom d-flex align-items-center bg-white w-100 h5 ps-4 pe-0 mb-0 float-start border-theme border-thick d-inline-block sticky-top",children:["Watch Video",(0,r.jsx)(c.Button,{variant:"link",className:"btn-xs ms-auto close text-large float-end d-inline-block me-0 py-0","aria-label":"Close video modal",onClick:()=>h(null),children:"×"})]}),(0,r.jsx)(A.Modal.Body,{children:"youtube"===u.kind?(0,r.jsx)("div",{className:"position-relative",style:{paddingBottom:"56.25%"},children:(0,r.jsx)("iframe",{title:"Watch Video",src:u.src,allow:"autoplay; encrypted-media; picture-in-picture",allowFullScreen:!0,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",border:0}})}
29):(0,r.jsx)("video",{src:u.src,controls:!0,autoPlay:!0,playsInline:!0,className:"w-100"})})]})]}):(0,r.jsxs)(r.Fragment,{children:[x!={}&&(0,r.jsx)(S.default,{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify((0,B.applySchemaOverrides)(x))}}),(0,r.jsx)(T.Accordion,{defaultActiveKey:"no"!==n||o?0:null,children:"object"==typeof l?(0,r.jsx)(r.Fragment,{children:l.results.map((e,l)=>{var s=e?.content?JSON.parse(e.content):null;let i="Events"===t.selectedBlock?L(e,s):e.title;return(0,r.jsxs)(T.Accordion.Item,{eventKey:l,children:[(0,r.jsx)(g,{expanded:o,setExpanded:m,eventKey:l,expandAccordion:n,children:i}),(0,r.jsx)(T.Accordion.Body,{children:"Events"===t.selectedBlock?H(e,s):s?.content!==null&&(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:`${s.content}`}})})]},l)})}):(0,r.jsx)("p",{children:"Some of the content on this page could not be loaded. We've notified the dealership and apologize for any inconvenience."})})]})},CraftCard:e=>(0,r.jsx)("div",{className:"cElement cCard",children:(0,r.jsxs)(v.Card,{className:"mb-3 mb-sm-0",children:[(0,r.jsx)(v.Card.Img,{as:y.default,width:"450",height:"225",className:"img-fluid",alt:e.cardHeader,variant:"top",src:e.cardImage}),(0,r.jsxs)(v.Card.Header,{className:"py-4 text-center",children:[(0,r.jsx)("h3",{className:"border-bottom h5 border-theme border-thick d-inline-block pb-3 mb-3",children:e.cardHeader}),(0,r.jsx)("p",{className:"m-0",children:e.cardBody})]}),(0,r.jsx)(v.Card.Footer,{className:"bg-lighter py-3 d-grid",children:(0,r.jsxs)(d.default,{href:e.cardButtonLink,title:e.cardButtonText,className:"btn btn-primary text-start font-weight-semibold w-100",target:e.external?"_blank":"_self",children:[e.cardButtonText,(0,r.jsx)(p.default,{className:"fa-regular fa-angle-right text-white float-end"})]})})]})}),CustomCSS:e=>{if(!e.customCSS)return null;let t=String(e.customCSS).replace(/<\/style/gi,"<\\/style");return(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:t}})},CustomHTML:e=>{let t=e.customHTML||"";return((0,s.useEffect)(()=>{(e=>{let t=[...new DOMParser().parseFromString(e,"text/html").querySelectorAll("script")];if(!t.length)return;let l=e=>new Promise(t=>{let l=document.createElement("script");[...e.attributes].forEach(e=>l.setAttribute(e.name,e.value)),e.src&&(l.onload=t,l.onerror=t),e.textContent&&(l.textContent=e.textContent),document.body.appendChild(l),e.src||t()});(async()=>{for(let e of t)await l(e)})()})(t)},[t]),t)?(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:t.replace(U,"")}}):null},Divider:e=>(0,r.jsx)("hr",{className:"cElement cDivider "+(e?.cssClasses!==""?e.cssClasses:"my-5")}),Forms:t=>{let l=(0,m.useRouter)(),{lead:i,vehicle:a}=(0,k.default)(),[n]=(0,s.useState)(()=>(0,q.createFormStore)()),{form:o,setFormData:d,fetchSchema:c,step:u,status:h}=(0,V.useStore)(n),[p,g]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{if(!1===p){var e=i?.phone;null!=e&&(e=e.replace("+1|","")),d({...o.data,firstname:i?.firstname,lastname:i?.lastname,email:i?.email,phone:e||null,postalcode:i?.postalcode,commpref:i?.commpref}),g(!0)}},[p]),(0,s.useEffect)(()=>{t?.nameOverride!==void 0&&o.data?.nameoverride!=t?.nameOverride&&d({...o.data,nameoverride:t.nameOverride})},[t?.nameOverride]),(0,s.useEffect)(()=>{t.selectedFormId&&c(e.g.dealerId,"id",t.selectedFormId)},[t.selectedFormId]),(0,s.useEffect)(()=>{g(!1)},[l.asPath]),(0,r.jsx)(q.FormStoreContext.Provider,{value:n,children:(0,r.jsxs)("div",{className:"cElement cForm p-4 border rounded bg-white",style:{minHeight:500},children:["loading"===h&&(0,r.jsx)(K.default,{}),o.id>0&&0===u&&(0,r.jsx)(Q,{}),1===u&&(0,r.jsx)(J,{module:t.selectedForm,confirmation:o.schema.confirmation instanceof Object?o.schema.confirmation:{header:"Submission successful!",messages:a?.title?`<p>We've received your inquiry about the ${a.title} and will be in touch shortly.</p>`:"<p>We've received your inquiry and will be in touch shortly.</p>"}})]})})},Heading:e=>{let t=`${e.headingType}`,l={textAlign:`${e.textAlign}`};return"override"===e.colorStyle&&(l.color=e.fontColor),(0,r.jsx)(t,{style:l,className:e.cssClasses,id:e.nodeId,children:e?.text&&("string"==typeof e.text?e.text.replace(/&amp;/g,"&").replace(/&nbsp;/g," ").trim():e.text)})},Icon:e=>{let t="regular";return"fal"===e.theme?t="regular":"fas"===e.theme&&(t="solid"),(0,r.jsx)("div",{className:"cElement cIcon text-"+e.textAlign,children:(0,r.jsx)(p.default,{color:e?.color,className:"fa-"+t+" fa-"+e.iconClass+" fa-fw "+e.cssClasse
29s+" "+(e.rotate>0?"fa-rotate-"+e.rotate:""),style:{color:e.color}})})},IFrame:e=>{let t=(0,m.useRouter)(),l="";try{for(let e in t.query)"utm_"==e.substring(0,4)&&(l+=e+"="+t.query[e]+"&");""!=l&&(l=l.substring(0,l.length-1))}catch(e){}return(0,r.jsx)("iframe",{height:e.height,src:e.frameURL+(""!=l?e.frameURL.includes("?")?"&"+l:"?"+l:""),width:"100%","aria-label":e.title||"Embedded content"})},Inventory:t=>{var l,i,a,n=void 0!==t.extras?t.extras:e.g.superProp?.extras,o=void 0!==t.responses?t.responses:e.g.superProp?.responses,c=[];n?.length>0&&n.forEach((e,l)=>{"Inventory"===e.type&&e.nodeId===t.nodeId&&(a={results:o[l].results,extras:e},c=o[l].results)});var n=a?.extras;let m=n?.dealer,[u,h]=(0,s.useState)(0);e.g.devDebug;let g=(0,_.mapOem)(m?.settings),f=(l=n.url,i="limit",l.replace(RegExp("[?&]"+i+"=[^&#]*(#.*)?$"),"$1").replace(RegExp("([?&])"+i+"=[^&]*&"),"$1"));f=(m?.settings.inventory_url_override||"/inventory")+"?"+f.split("?")[1];let x=t?.linkUrlOverride?.trim()?.length>0?t.linkUrlOverride.trim():f,b=n.buttonTextOverride&&n.buttonTextOverride.length>0?n.buttonTextOverride:"Browse inventory",v=m?.settings?.inventory_url_override_new||m?.settings?.inventory_url_override||"/inventory?condition[]=New",y=m?.settings?.inventory_url_override_used||m?.settings?.inventory_url_override||"/inventory?condition[]=Certified%20pre-owned&condition[]=Pre-owned";return(0,r.jsxs)(X.Container,{children:[(0,r.jsxs)(N.Row,{className:"cElement cInventory",children:[c instanceof Array&&c.length>0?c.map((e,l)=>(0,r.jsx)(Y.default,{priority:(!n.isMobile||!(l>=2))&&(!!n.isMobile||!(l>=6))||void 0,vehicle:e,visitorId:t.visitorId,showUnlockPrice:u,setShowUnlockPrice:h,dealer:m,lockPrice:m?.settings.lock_price,colCount:t.colCount,context:"craft",isMobile:n.isMobile},"v_"+e.id)):(0,r.jsx)(w.Col,{children:"No inventory matching your search criteria."}),g?(0,r.jsxs)(w.Col,{xs:12,className:"text-center pt-3",children:[(0,r.jsxs)(d.default,{href:v,className:"btn btn-primary me-2",children:["Shop New",(0,r.jsx)(p.default,{className:"fa-regular fa-angle-right ms-2"})]}),(0,r.jsxs)(d.default,{href:y,className:"btn btn-primary ms-2",children:["kia"===g?"Shop Pre-Owned":"Shop Used",(0,r.jsx)(p.default,{className:"fa-regular fa-angle-right ms-2"})]})]}):(0,r.jsx)(w.Col,{xs:12,className:"text-center pt-3",children:(0,r.jsxs)(d.default,{href:x,title:b??"Browse inventory",className:"btn btn-primary",children:[b??"Browse inventory",(0,r.jsx)(p.default,{className:"fa-regular fa-angle-right ms-2"})]})})]}),u>0&&(0,r.jsx)(Z,{showUnlockPrice:u,setShowUnlockPrice:h})]})},Image:e=>{var t="";e?.textAlign&&("right"===e.textAlign?t="ms-auto ":"center"===e.textAlign&&(t="mx-auto "));let l=parseInt(e?.width,10)>0?parseInt(e.width,10):void 0,s=parseInt(e?.height,10)>0?parseInt(e.height,10):void 0,i=!0==e.fullWidth||void 0===l,a="";[25,50,75].includes(parseInt(e?.opacity))&&(a=" opacity-"+e.opacity);let n=1===e.fetchPriority||!0===e.priority,o={fluid:!0,style:{borderRadius:`${e.borderRadius}px`,...i?{width:"100%",height:"auto"}:{}},width:l,height:s,src:e.src,alt:e.altText||"",loading:n?"eager":"lazy",fetchPriority:n?"high":"auto",className:"cElement cImage mb-2 "+t+(""!==t?"d-block":"")+a+" "+e.cssClasses};return e?.link&&e.link.toString().length>0?(0,r.jsx)(d.default,{href:e.link,title:e.altText,target:1===e.external?"_blank":"_self",children:(0,r.jsx)(P.Image,{...o})}):(0,r.jsx)(P.Image,{...o})},Map:e=>(0,r.jsx)("iframe",{src:"https://www.google.com/maps/embed/v1/search?q="+e.searchTerm+"&key=AIzaSyDNCy5KjYVZKZspyeNmAJ3E4rldiH28XfM",width:"100%",title:"Get directions to our store",style:{border:"0",height:"calc(100%)",maxHeight:"100%",filter:"grayscale(50%)"},allowFullScreen:!1,loading:"lazy"}),Modal:e=>{let t=(0,s.useContext)(u.craftModalContext),{dispatch:l}=t,i=()=>{l({type:"UPDATE",payload:{[e?.modalId]:!1}})};return(0,r.jsx)(r.Fragment,{children:t.state?.[e.modalId]&&(0,r.jsxs)(A.Modal,{size:"lg",show:t.state[e.modalId],onClose:i,onHide:i,id:e.modalId,children:[(0,r.jsxs)("h3",{className:"border-bottom bg-white w-100 h5 ps-4 pe-0 pt-4 pb-3 mb-0 float-start border-theme border-thick d-inline-block sticky-top",children:[e.modalTitle,(0,r.jsx)(c.Button,{variant:"link",className:"mt-n2 close text-large py-0 px-4 float-end d-inline-block text-muted","aria-label":"Close",onClick:i,children:"X"})]}),(0,r.jsx)(A.Modal.Body,{className:e?.modalPadding>0?"p-"+e.modalPadding:"",children:void 0!==e.children?e.children:null})]})})},Plugin:t=>{(0,k.default)();let l={dealer:t.dealer,context:"CraftPlugin"};t?.selectedPlugin=="ThirdPartyClearCar"?l.clearCarToken=t.clearCarToken:t?.selectedPlugin=="ThirdPartyDriveo"?l.driveoToken=t.driveoToken:t?.selectedPlugin=="ThirdPartyEdmunds"?(l.edmundsWidgetType=t?.edmundsWidgetType,l.edmundsDealerId=t?.edmundsDealerId):t?.selectedPlugin=="ThirdPartyOctaneService"||t?.selectedPlugin=="ThirdPartyOctaneCards"?(l.octaneClientId=t?.octaneClientId,l.octaneGA4=t?.octaneGA4):t?.selectedPlugin=="ThirdPartyCarfax"?l.carfaxToken=t?.carfaxToken:t?.selectedPlugin=="ThirdPartyUpstart"?l.upstartWebsiteID=t?.upstartWebsiteID:t?.selectedPlugin=="ThirdPartyRevolutionParts"?l.revolutionPartsHash=t?.revolutionPartsHash:t?.selectedPlugin=="ThirdPartyRevvable"&&(l.revvableDealerPublicId=t?.revvableDealerPublicId);let{form:i,setFormData:a,step:n}=(0,q.default)();(0,s.useEffect)(()=>{t?.nameOverride!==void 0&&i.data?.nameoverride!=t?.nameOverride&&a({...i.data,nameoverride:""===t.nameOverride?void 0:t.nameOverride})}
29,[t?.nameOverride,i.data?.nameoverride]);let o=t?.selectedPlugin==="TradeValue"&&e.g.dealerSettings?.trade_short_form?"TradeValueShort":t?.selectedPlugin;return(0,r.jsx)(ev,{$activeStep:0===n?n+1:n,$heightKey:o,className:(["ThirdPartyDriveo","ThirdPartyClearCar"].includes(t?.selectedPlugin)?"":"px-4 pt-0 pb-4 ")+"border rounded cElement cPlugin "+(e.g.dealerSettings?.darkmode===1?"":"bg-white")+" cPlugin"+t?.selectedPlugin,children:"AskQuestion"===t.selectedPlugin||"ConfirmAvailability"===t.selectedPlugin?(0,r.jsx)(ee,{...l}):"CreditCheckHard"===t.selectedPlugin||"CreditApp"===t.selectedPlugin?(0,r.jsx)(et,{...l}):"CreditCheckSoft"===t.selectedPlugin?(0,r.jsx)(el,{...l}):"PayDeposit"===t.selectedPlugin?(0,r.jsx)(er,{...l}):"PaymentCalculator"===t.selectedPlugin?(0,r.jsx)(es,{...l}):"ServiceScheduler"===t.selectedPlugin?(0,r.jsx)(ServiceScheduler,{...l}):"ShippingQuote"===t.selectedPlugin?(0,r.jsx)(ei,{...l}):"TestDrive"===t.selectedPlugin?(0,r.jsx)(ea,{...l}):"TradeValue"===t.selectedPlugin?(0,r.jsx)(en,{...l}):"ThirdPartyClearCar"===t.selectedPlugin?(0,r.jsx)(eo,{...l}):"ThirdPartyDriveo"===t.selectedPlugin?(0,r.jsx)(ed,{...l}):"ThirdPartyEdmunds"===t.selectedPlugin?(0,r.jsx)(ec,{...l}):"ThirdPartyOctaneService"===t.selectedPlugin?(0,r.jsx)(em,{...l}):"ThirdPartyOctaneCards"===t.selectedPlugin?(0,r.jsx)(eu,{...l}):"ThirdPartyCarfax"===t.selectedPlugin?(0,r.jsx)(eh,{...l}):"ThirdPartyUpstart"===t.selectedPlugin?(0,r.jsx)(ep,{...l}):"ThirdPartySelectFi"===t.selectedPlugin?(0,r.jsx)(eg,{...l}):"ThirdPartyRevolutionParts"===t.selectedPlugin?(0,r.jsx)(ef,{...l}):"ThirdPartyRevvable"===t.selectedPlugin?(0,r.jsx)(ex,{...l}):"ThirdPartyKbbTradeIn"===t.selectedPlugin?(0,r.jsx)(eb,{}):(0,r.jsx)(r.Fragment,{children:"There was a problem loading this form. Please try again."})})},SearchInput:eI.default,Spacer:e=>{var t="";return void 0!==e.visibleDesktop&&(""===e.visibleDesktop&&(t="d-sm-none "),""===e.visibleMobile&&(t="d-none d-sm-block ")),(0,r.jsx)(ey,{className:t,$desktopHeight:e.height,$mobileHeight:e.mobileHeight})},TabContent:e_,Text:ek.Text,Video:e=>{let{ref:l,inView:i}=function({threshold:e,delay:l,trackVisibility:r,rootMargin:i,scrollMargin:a,root:n,triggerOnce:o,skip:d,initialInView:c,fallbackInView:m,onChange:u}={}){var h;let[p,g]=s.useState(null),f=s.useRef(u),x=s.useRef(c),[b,v]=s.useState({inView:!!c,entry:void 0});f.current=u,s.useEffect(()=>{let s;if(void 0===x.current&&(x.current=c),!d&&p)return s=function(e,l,r={},s=t){if(void 0===window.IntersectionObserver&&void 0!==s){let t=e.getBoundingClientRect();return l(s,{isIntersecting:s,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:t,intersectionRect:t,rootBounds:t}),()=>{}}let{id:i,observer:a,elements:n}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var l;return`${t}_${"root"===t?!(l=e.root)?"0":(eP.has(l)||(eT+=1,eP.set(l,eT.toString())),eP.get(l)):e[t]}`}).toString(),l=eS.get(t);if(!l){let r,s=new Map,i=new IntersectionObserver(t=>{t.forEach(t=>{var l;let i=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),[...null!=(l=s.get(t.target))?l:[]].forEach(e=>{e(i,t)})})},e);r=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),l={id:t,observer:i,elements:s},eS.set(t,l)}return l}(r),o=n.get(e)||[];return n.has(e)||n.set(e,o),o.push(l),a.observe(e),function(){o.splice(o.indexOf(l),1),0===o.length&&(n.delete(e),a.unobserve(e)),0===n.size&&(a.disconnect(),eS.delete(i))}}(p,(e,t)=>{let l=x.current;x.current=e,(void 0!==l||e)&&(v({inView:e,entry:t}),f.current&&f.current(e,t),t.isIntersecting&&o&&s&&(s(),s=void 0))},{root:n,rootMargin:i,scrollMargin:a,threshold:e,trackVisibility:r,delay:l},m),()=>{s&&s()}},[Array.isArray(e)?e.toString():e,p,n,i,a,o,d,r,m,l]);let y=null==(h=b.entry)?void 0:h.target,j=s.useRef(void 0);p||!y||o||d||j.current===y||(j.current=y,v({inView:!!c,entry:void 0}),x.current=c);let w=[g,b.inView,b.entry];return w.ref=w[0],w.inView=w[1],w.entry=w[2],w}({threshold:.1,triggerOnce:!0}),a=Array.isArray(e.playlist)?e.playlist:[],n="youtube"===e.videoSource&&"playlist"===e.youTubeType,[o,d]=(0,s.use
29State)(0);if(n){if(0===a.length)return null;let e=a[o]??a[0],t=`https://www.youtube.com/embed/${e.videoId}?modestbranding=1&rel=0`;return(0,r.jsxs)("div",{className:"craft-video-playlist",children:[(0,r.jsx)("div",{className:"craft-video-playlist-player",children:(0,r.jsx)("iframe",{title:e.title,"aria-label":"Video player",src:t,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})}),(0,r.jsx)("div",{className:"craft-video-playlist-list-wrap",children:(0,r.jsx)("ul",{className:"craft-video-playlist-list",children:a.map((e,t)=>(0,r.jsx)("li",{children:(0,r.jsxs)("button",{type:"button",onClick:()=>d(t),"aria-current":t===o,className:t===o?"is-active":"",children:[(0,r.jsx)("img",{src:e.thumbnail,alt:"",loading:"lazy"}),(0,r.jsx)("span",{children:e.title})]})},`${t}-${e.videoId}`))})})]})}let c="https://www.youtube.com/embed/",m="https://img.youtube.com/vi/***/hqdefault.jpg";if("youtube"===e.videoSource&&""!==e.youTubeURL){let t=new URLSearchParams(e.youTubeURL.split("?")[1]);t.get("v")&&(c+=t.get("v")),c+="?modestbranding=1&mute=1&rel=0",c+="&autoplay=1",1===e.loop&&(c+="&loop=1"),m="<style>*{padding:0;margin:0;overflow:hidden}html,body{height:100%}img,span{position:absolute;width:100%;top:0;bottom:0;margin:auto}span{height:1.8em;text-align:center;font:30px/1.9 sans-serif;color:white;display:inline-block;background:#ff0000;border-radius:10px;width:80px;left:50%;margin-left:-40px;}</style><a href="+c+"><img src="+(m=m.replace("***",t.get("v")))+"><span>&#x25BA;</span></a>"}return(0,r.jsx)("div",{className:"position-relative craft-video",ref:l,children:"youtube"===e.videoSource?(0,r.jsx)("div",{className:"video",style:{position:"relative",paddingBottom:"53%",paddingTop:0,height:0},children:(0,r.jsx)("iframe",{id:"ytplayer","aria-label":"Video player",type:"text/html",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",border:0},src:c,srcDoc:m,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})}):i?(0,r.jsx)("div",{className:"cElement cVideo video-container",dangerouslySetInnerHTML:{__html:`
30                <video
31                  `+(1===e.loop?"loop":"")+`
32                  `+(1===e.autoPlay?"autoplay muted":"")+`
33                  playsinline
34                  `+(1===e.controls?"":"controls")+`
35                  src="${e.src}"
36                  poster="${e.poster}"
37                  width="${e.width||"100%"}"
38                  height="${e.height||"auto"}"
39                  class="video"
40                  preload="metadata"
41                />`}}):(0,r.jsx)(y.default,{alt:"video placeholder",src:e.poster,width:e.width||"1920",height:e.height||"1080",fetchPriority:"high",unoptimized:!1,priority:!0,style:{width:"100%",height:"auto",objectFit:"cover"}})})}},eD=t=>{let l=t?.dealer??t?.otherProps?.dealer?.results??e.g.superProp?.dealer?.results,i=void 0!==t.extras?t.extras:e.g.superProp?.extras,n=void 0!==t.responses?t.responses:e.g.superProp?.responses,o=t.node?.props?.priority??t?.priority,d={dealer:l,responses:n,extras:i,otherProps:t.otherProps,isMobile:t?.isMobile,priority:o},[c,m]=(0,s.useState)(!1),[u,h]=(0,s.useState)(!1),p=(0,s.useRef)(null);(0,s.useEffect)(()=>(document.addEventListener("click",g,!1),()=>{document.removeEventListener("click",g,!1)}),[]);let g=e=>{p.current&&!p.current.contains(e.target)&&m(!1)},f={dealer:l,showSearch:c,setShowSearch:m,isMobile:!1,hideClose:!0,disableEventListener:!0,iconClass:"text-primary",size:t?.node?.props?.size??"md",className:t?.node?.props?.cssClasses??t?.node?.props?.className??""},x=l?.settings?.searchv2==1;if(t.node.type?.resolvedName==="Menu"){let s=t.node.props.selectedMenu.includes("footer")?"footer":"header",i="header"===s&&!t.node.props.hideCart&&e.g.dealerSettings?.enable_deposit_cart=="1"&&e.g.dealerSettings?.stripe_account_id&&l?.package?.indexOf("+dr")>-1;return(0,r.jsxs)("div",{id:"header-nav",className:"d-flex align-items-center",children:[(0,r.jsx)("ul",{children:(0,r.jsx)(e$.default,{showMenu:u,setShowMenu:h,items:l.menus.main_nav,toplevel:!0,zone:s})}),i&&(0,r.jsx)("div",{className:"ms-3",children:(0,r.jsx)(eB,{dealer:l,headerTheme:l?.settings?.header_theme,isMobile:t?.isMobile??!1})})]})}if(t.node.type?.resolvedName==="MultiLocation"){let e=t.node.props?.onlyOneLocation??!1,s=t.node.props?.defaultLocationId??0;return(0,r.jsx)(eE,{dealer:l,isMobile:t.otherProps.userAgent?.isMobile,onlyOneLocation:e,defaultLocationId:s,nodeProps:t.node.props})}if(t.node.type?.resolvedName==="ShopByStyle"){var b;return(i?.length>
410&&i.forEach((e,l)=>{"ShopByStyle"===e.type&&e.id===t.selectedGroupId&&(b={results:n[l].results,extras:e})}),b?.results?.filters)?(0,r.jsx)(eA.default,{dealer:l,makes:b?.results?.filters?.make,body:b?.results?.filters?.body,condition:b?.results?.filters?.condition,electric:b?.results?.filters?.fuel?.counts?.Electric??0,hybrid:b?.results?.filters?.fuel?.counts?.Hybrid??0,h3override:t.node.props.h3override??!1}):(0,r.jsx)(r.Fragment,{children:"No inventory filters were available for this block."})}if(t.node.type?.resolvedName==="SearchInput"){let e={onClick:e=>{x&&m(!0)}};return x||(e.ref=p),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"position-relative",...e,children:(0,r.jsx)(eI.default,{...f,showSearch:!x&&c,setShowSearch:m})}),x&&(0,r.jsx)(eM,{dealer:l,showSearch:c,setShowSearch:m})]})}{if(t.node.type?.resolvedName===void 0)return s.default.createElement(t.node.type,{children:t.node.nodes.map(e=>(0,r.jsx)(s.default.Fragment,{children:(0,r.jsx)(eD,{node:t.json[e],nodeId:e,json:t.json,...d})},e))});let e={...d,nodeId:t.nodeId,json:t.json,parentProps:t.json[t.node.parent],...t.node.props};if(["Text","Heading","Button"].includes(t.node.type.resolvedName)){let t=i?.findIndex(e=>"InventoryCounts"===e.type)??-1,l=t>-1?n?.[t]?.results?.filters?.condition?.counts:void 0;e.html=(0,a.resolveInventoryVariables)(e.html,l),e.text=(0,a.resolveInventoryVariables)(e.text,l)}if("Video"===t.node.type.resolvedName&&"playlist"===e.youTubeType){let l=i?.findIndex(e=>"YouTubePlaylist"===e.type&&e.nodeId===t.nodeId)??-1;e.playlist=l>-1?n?.[l]?.results:void 0}return s.default.createElement(eO[t.node.type.resolvedName],{children:t.node.nodes.map(e=>(t.json[e].props.nodeId=e,(0,r.jsx)(s.default.Fragment,{children:(0,r.jsx)(eD,{node:t.json[e],nodeId:e,json:t.json,...d})},e))),...e})}}},80479,e=>{"use strict";var t=e.i(91788),l=e.i(53854);function r(e){if("string"!=typeof e||!/^tel:/i.test(e.trim()))return null;let t=e.trim().slice(4).replace(/\D/g,"");return 11===t.length&&t.startsWith("1")&&(t=t.slice(1)),10===t.length?t:null}e.s(["telHrefToDigits",0,r,"useCmsTelTracking",0,function(s){let{trackClick:i}=(0,l.useMatomoTracking)(),a=(0,t.useRef)(i);a.current=i,(0,t.useEffect)(()=>{let t=s?.current;if(!t)return;let l=l=>{let s=l.target?.closest?.('a[href^="tel:" i]');if(!s||!t.contains(s)||s.closest("[data-asc-tracked]"))return;let i=r(s.getAttribute("href"));i&&(a.current?.("link","call"),e.g.cmsTrack?.("asc_click_to_call",{comm_phone_number:i,department:"sales"}))};return t.addEventListener("click",l),()=>t.removeEventListener("click",l)},[s])}])}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.