PageSourceSearch

https://www.crownmotorspdx.com/_next/static/chunks/19262.e3f0aa9d93051b39.js

js crownmotorspdx.com collected 2026-10-08 02:39:49 UTC 14,035 bytes, 5 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[19262],{8075:(e,t,r)=>{r.d(t,{v:()=>s});let a=new Set(["http","https","mailto","tel"]),l=/[\x00-\x1f\x7f]/g;function s(e){let t;if(!e)return"#";let r=e.trim();if(!r)return"#";if(r.startsWith("/")&&!r.startsWith("//")&&!r.startsWith("/\\")||r.startsWith("#"))return r;let s=r.replace(l,"");if(s.startsWith("//"))return"#";try{t=decodeURIComponent(s).toLowerCase()}catch{return"#"}if(/^(javascript|data|vbscript):/.test(t))return"#";let n=s.match(/^([a-z][a-z0-9+.-]*):/i);if(!n)return"#";let i=n[1].toLowerCase();return a.has(i)?s:"#"}},13767:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(35635).A)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]])},16805:(e,t,r)=>{r.d(t,{y:()=>l});var a=r(39360);function l(e=0){let[t,r]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let t=document.createElement("div");t.setAttribute("aria-hidden","true"),t.setAttribute("data-is-scrolled-sentinel",""),t.style.cssText=`position:absolute;top:${e}px;left:0;width:1px;height:1px;pointer-events:none;visibility:hidden;z-index:-1`,document.body.appendChild(t);let a=new IntersectionObserver(e=>{let t=e[0];t&&r(!t.isIntersecting)},{threshold:0});return a.observe(t),()=>{a.disconnect(),t.remove()}},[e]),t}},19262:(e,t,r)=>{r.r(t),r.d(t,{default:()=>j});var a=r(48812),l=r(39360),s=r(9587),n=r.n(s),i=r(76209),o=r(62950),c=r(13767),d=r(39479),h=r(85975),x=r(58305),u=r(84621),b=r(92179);let m="global-search:open";var f=r(33231);function p(e){return/^https?:\/\//i.test(e)}function g({logoUrl:e,logoSrcSet:t,dealerName:r,navigation:s,onClose:o}){let[c,d]=(0,l.useState)(null);return(0,a.jsxs)("div",{className:"fixed inset-0 z-50 lg:hidden",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-black/80 backdrop-blur-sm",onClick:o,"aria-label":"Close menu"}),(0,a.jsxs)("div",{className:"absolute inset-0 bg-background overflow-y-auto overscroll-contain animate-in fade-in duration-200",children:[(0,a.jsxs)("div",{className:"sticky top-0 z-10 flex items-center justify-between px-4 py-4 bg-background border-b border-border",children:[(0,a.jsx)(n(),{href:"/",onClick:o,...(0,b.ev)({label:r,url:"/",menuName:"Mobile Menu"}),children:e&&(0,a.jsx)(i.A,{src:e,srcSet:t,sizes:"140px",alt:r,width:140,height:36,className:"h-9 w-auto"})}),(0,a.jsx)("button",{onClick:o,className:"w-11 h-11 flex items-center justify-center text-foreground hover:text-primary transition-colors","aria-label":"Close menu",children:(0,a.jsx)(f.A,{className:"w-6 h-6"})})]}),(0,a.jsxs)("nav",{className:"px-4 py-2",children:[s.map(e=>{let t=e.children&&e.children.length>0,r=e.link||"#",l=e.label??"";return t?(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{onClick:()=>d(c===l?null:l),className:"flex items-center justify-between w-full py-4 text-foreground font-semibold text-lg border-b border-border",children:[e.label,(0,a.jsx)(h.A,{className:`w-5 h-5 transition-transform ${c===l?"rotate-180":""}`})]}),c===l&&(0,a.jsx)("div",{className:"bg-muted/50 pl-4 pb-2",children:e.children.map(t=>{let r=t.link||"#";return p(r)?(0,a.jsx)("a",{href:r,target:"_blank",rel:"noopener noreferrer",onClick:o,...(0,b.ev)({label:t.label??"",url:r,menuName:e.label??"Mobile Menu"}),className:"block py-3 text-lg font-semibold text-foreground hover:text-primary border-b border-border/50",children:t.label},t.label):(0,a.jsx)(n(),{href:r,onClick:o,...(0,b.ev)({label:t.label??"",url:r,menuName:e.label??"Mobile Menu"}),className:"block py-3 text-lg font-semibold text-foreground hover:text-primary border-b border-border/50",children:t.label},t.label)})})]},l):p(r)?(0,a.jsx)("a",{href:r,target:"_blank",rel:"noopener noreferrer",onClick:o,...(0,b.ev)({label:e.label??"",url:r,menuName:"Mobile Menu"}),className:"block py-4 text-foreground font-semibold text-lg border-b border-border",children:e.label},l):(0,a.jsx)(n(),{href:r,onClick:o,...(0,b.ev)({label:e.label??"",url:r,menuName:"Mobile Menu"}),className:"block py-4 text-foreground font-semibold text-lg border-b border-border",children:e.label},l)}),(0,a.jsx)("div",{className:"pt-6 pb-4",children:(0,a.jsx)(n(),{href:"/dealers/",onClick:o,...(0,b.ZG)({label:"Store Locations",url:"/dealers/"}),className:"flex h-[3.75rem] w-full px-10 items-center justify-center gap-2 rounded-[1.75rem] bg-primary text-primary-foreground border border-primary font-semibold text-base transition-all cursor-pointer hover:bg-white hover:text-primary",children:"Store Locations"})})]})]})]})}var v=r(16805);function w(e){return/^https?:\/\//i.test(e)}function y({logoUrl:e,logoSrcSet:t,dealerName:r,navigation:s,salesPhone:f,mapsUrl:p}){let[y,j]=(0,l.useState)(!1),[N,k]=(0,l.useState)(!1),[S,C]=(0,l.useState)(null),A=(0,v.y)(),[M,$]=(0,l.useState)(""),z=(0,l.useRef)(null);(0,l.useEffect)(()=>{$(window.location.pathname);let e=()=>$(window.location.pathname);window.addEventListener("popstate",e);let t=new MutationObserver(()=>{let e=window.location.pathname;$(t=>t!==e?e:t)});return t.observe(document.head,{childList:!0,subtree:!0,attributes:!0}),()=>{window.removeEventListener("popstate",e),t.disconnect()}},[]),(0,l.useEffect)(()=>{let e=()=>k(!0);return window.addEventListener(m,e),()=>window.removeEventListener(m,e)},[]);let _=()=>{z.current=setTimeout(()=>C(null),100)},L=e=>M===e||M===e.replace(/\/$/,""),E=f.replace(/\D/g,"");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("header",{className:`fixed top-0 left-0 right-0 z-50 bg-white ${A?"shadow-md":"border-b border-gray-200"}`,children:[(0,a.jsxs)("div",{className:"lg:hidden flex items-center justify-between px-4 py-3 border-b border-gray-200",children:[(0,a.jsx)("button",{onClick:()=>j(!y),className:"w-11 h-11 flex items-center justify-center text-foreground hover:text-primary transition-colors","aria-label":"Open menu",children:(0,a.jsx)(o.A,{className:"w-6 h-6"})}),(0,a.jsx)(n(),{href:"/",...(0,b.ev)({label:r,url:"/",menuName:"Header Nav"}),className:"absolute left-1/2 -translate-x-1/2 max-w-[calc(100%-104px)] flex items-center justify-center",children:e&&(0,a.jsx)(i.A,{src:e,srcSet:t,sizes:"180px",alt:r,width:180,height:44,className:"h-10 w-auto max-w-full object-contain",priority:!0})}),(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[f&&(0,a.jsx)("a",{href:`tel:${E}`,...(0,b.nz)({label:"Sales Phone",url:`tel:${E}`,dept:"sales"}),className:"w-9 h-9 bg-primary/10 rounded-full flex items-center justify-center hover:bg-primary/20 transition-colors","aria-label":`Call ${(0,x.F)(f)}`,children:(0,a.jsx)(c.A,{className:"w-4 h-4 text-primary"})}),(0,a.jsx)("a",{href:p,target:"_blank",rel:"noopener noreferrer",...(0,b.ev)({label:"Get Directions",url:p,menuName:"Header Nav"}),className:"w-11 h-11 flex items-center justify-center text-foreground hover:text-primary transition-colors","aria-label":"Get directions",children:(0,a.jsx)(d.A,{className:"w-5 h-5"})})]})]}),(0,a.jsx)("div",{className:"hidden lg:block",children:(0,a.jsx)("div",{className:"border-b border-gray-200",children:(0,a.jsx)("div",{className:"max-w-[1600px] mx-auto px-6 lg:px-8 xl:px-12",children:(0,a.jsxs)("div",{className:"flex items-center justify-between h-20 xl:h-[88px] 2xl:h-24",children:[(0,a.jsx)(n(),{href:"/",...(0,b.ev)({label:r,url:"/",menuName:"Header Nav"}),className:"flex-shrink-0",children:e&&(0,a.jsx)(i.A,{src:e,srcSet:t,sizes:"(min-width: 1280px) 280px, 240px",alt:r,width:240,height:60,className:"h-11 xl:h-12 2xl:h-14 w-auto object-contain",priority:!0})}),(0,a.jsx)("nav",{className:"flex items-center gap-5 xl:gap-7 2xl:gap-10",children:s.map(e=>{let t=e.children&&e.children.length>0,r=e.link||"#";if(!t)return w(r)?(0,a.jsx)("a",{href:r,target:"_blank",rel:"noopener noreferrer",...(0,b.ev)({label:e.label??"",url:r,menuName:"Header Nav"}),className:"relative text-sm xl:text-base 2xl:text-[17px] font-medium transition-colors whitespace-nowrap text-foreground hover:text-primary after:absolute after:left-0 after:bottom-[-4px] after:h-[2px] after:w-full after:origin-left after:transition-transform after:duration-300 after:ease-out after:bg-primary after:scale-x-0 hover:after:scale-x-100",children:e.label},e.label):(0,a.jsx)(n(),{href:r,...(0,b.ev)({label:e.label??"",url:r,menuName:"Header Nav"}),className:`relative text-sm xl:text-base 2xl:text-[17px] font-medium transition-colors whitespace-nowrap
2                            after:absolute after:left-0 after:bottom-[-4px] after:h-[2px] after:w-full after:origin-left after:transition-transform after:duration-300 after:ease-out
3                            ${L(r)?"text-primary after:bg-primary after:scale-x-100":"text-foreground hover:text-primary after:bg-primary after:scale-x-0 hover:after:scale-x-100"}`,children:e.label},e.label);let l=e.label??"";return(0,a.jsxs)("div",{className:"relative",onMouseEnter:()=>{z.current&&clearTimeout(z.current),C(l)},onMouseLeave:_,children:[(0,a.jsxs)("button",{className:`relative flex items-center gap-1 text-sm xl:text-base 2xl:text-[17px] font-medium transition-colors whitespace-nowrap
4                              after:absolute after:left-0 after:bottom-[-4px] after:h-[2px] after:w-full after:origin-left after:transition-transform after:duration-300 after:ease-out
5                              ${S===l||e.children.some(e=>e.link&&L(e.link))?"text-primary after:bg-primary after:scale-x-100":"text-foreground hover:text-primary after:bg-primary after:scale-x-0 hover:after:scale-x-100"}`,children:[e.label,(0,a.jsx)(h.A,{className:`w-3.5 h-3.5 xl:w-4 xl:h-4 transition-transform ${S===l?"rotate-180":""}`})]}),S===l&&(0,a.jsx)("div",{className:"absolute top-full left-0 pt-3 z-50",children:(0,a.jsx)("div",{className:"w-auto min-w-56 bg-[#1e2235] shadow-2xl animate-in fade-in slide-in-from-top-2 duration-200",children:e.children.map(t=>{let r=t.link||"#";return w(r)?(0,a.jsx)("a",{href:r,target:"_blank",rel:"noopener noreferrer",...(0,b.ev)({label:t.label??"",url:r,menuName:e.label??"Header Nav"}),className:"block px-6 py-4 text-sm font-semibold uppercase tracking-wide whitespace-nowrap transition-all duration-200 ease-out border-l-2 text-white/80 border-transparent hover:bg-white/10 hover:text-white hover:border-white/30 hover:pl-7",children:t.label},t.label):(0,a.jsx)(n(),{href:r,...(0,b.ev)({label:t.label??"",url:r,menuName:e.label??"Header Nav"}),className:`block px-6 py-4 text-sm font-semibold uppercase tracking-wide whitespace-nowrap transition-all duration-200 ease-out border-l-2 ${L(r)?"bg-white/10 text-white border-primary":"text-white/80 border-transparent hover:bg-white/10 hover:text-white hover:border-white/30 hover:pl-7"}`,children:t.label},t.label)})})})]},l)})}),(0,a.jsxs)("div",{className:"flex items-center gap-2 xl:gap-3 flex-shrink-0",children:[(0,a.jsx)("button",{onClick:()=>k(!0),...(0,b.Vw)({label:"Header Search"}),className:"w-10 h-10 xl:w-11 xl:h-11 2xl:w-12 2xl:h-12 flex items-center justify-center rounded-full bg-gray-100 text-foreground hover:bg-primary hover:text-white transition-colors cursor-pointer","aria-label":"Search",children:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-4 h-4 xl:w-5 xl:h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2.5,children:[(0,a.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,a.jsx)("path",{strokeLinecap:"round",d:"M21 21l-4.35-4.35"})]})}),(0,a.jsx)(n(),{href:"/dealers/",...(0,b.ZG)({label:"Store Locations",url:"/dealers/"}),className:"flex h-10 xl:h-11 2xl:h-12 px-5 xl:px-6 2xl:px-7 items-center justify-center rounded-full bg-primary text-primary-foreground border border-primary font-semibold text-sm xl:text-base transition-all cursor-pointer hover:bg-white hover:text-primary whitespace-nowrap",children:"Store Locations"})]})]})})})})]}),N&&(0,a.jsx)(u.T,{isOpen:N,onClose:()=>k(!1),variant:"white"}),y&&(0,a.jsx)(g,{logoUrl:e,logoSrcSet:t,dealerName:r,navigation:s,onClose:()=>j(!1)}
5),(0,a.jsx)("div",{className:"pb-[68px] lg:pb-20 xl:pb-[88px] 2xl:pb-24"})]})}function j({websiteInfo:e}){let t=e?.logo_url??"",r=e?.logo_url_srcset??null,l=e?.name??"Sheppard Auto Group",s=e?.navigation??[],n=e?.phone_numbers?.find(e=>"Sales"===e.label)?.value??e?.phone_numbers?.[0]?.value??"",i=e?.address??"",o=e?.city??"",c=e?.state??"",d=e?.zip_code??"",h=`${i}, ${o}, ${c} ${d}`.trim(),x=`https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(h)}`;return(0,a.jsx)(y,{logoUrl:t,logoSrcSet:r,dealerName:l,navigation:s,salesPhone:n,mapsUrl:x})}},39479:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(35635).A)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},58305:(e,t,r)=>{r.d(t,{F:()=>a});function a(e){let t=e.replace(/\D/g,""),r=11===t.length&&t.startsWith("1")?t.slice(1):t;return 10!==r.length?e:`(${r.slice(0,3)}) ${r.slice(3,6)}-${r.slice(6)}`}},62950:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(35635).A)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]])},76209:(e,t,r)=>{r.d(t,{A:()=>n});var a=r(48812),l=r(8075);let s={position:"absolute",inset:0,width:"100%",height:"100%"};function n(e){let{src:t,alt:r,srcSet:n,sizes:i,className:o,style:c,priority:d}=e;if(!t?.trim()||"#"===t.trim()||"#"===(0,l.v)(t))return null;let h=d?"eager":"lazy",x=d?"high":"auto";return e.fill?(0,a.jsx)("img",{src:t,srcSet:n??void 0,sizes:i,alt:r,className:o,style:c?{...s,...c}:s,loading:h,fetchPriority:x,decoding:"async"}):(0,a.jsx)("img",{src:t,srcSet:n??void 0,sizes:i,alt:r,width:e.width,height:e.height,className:o,style:c,loading:h,fetchPriority:x,decoding:"async"})}},84621:(e,t,r)=>{r.d(t,{T:()=>s});var a=r(48812);let l=(0,r(90285).default)(()=>r.e(57664).then(r.bind(r,57664)).then(e=>({default:e.GlobalSearchModal})),{loadableGenerated:{webpack:()=>[57664]},ssr:!1,loading:()=>null});function s(e){return(0,a.jsx)(l,{...e})}}}]);

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.