PageSourceSearch

https://www.princessauto.com/_next/static/chunks/6141.a39e20b4a42d2d2f.js

js princessauto.com collected 2026-09-25 18:54:01 UTC 9,567 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6141],{36141:(e,t,l)=>{l.r(t),l.d(t,{LocatorMap:()=>d});var n=l(54568),i=l(72276),a=l(83985),r=l(81658),o=l(7620),s=l(1622);let d=e=>{let{locations:t,center:l,focusCenter:d,focusZoom:u,focusRadiusKm:f,shellSizeKey:c,selectedId:C,preferredStoreId:h,onSelect:p,onLoadedState:g,onClearFocus:m,noMarkerLabel:x,clusteredPins:w=!1,isStoreIcon:_=!0}=e,{isLoaded:k,loadError:v}=(0,r.RH)({googleMapsApiKey:"AIzaSyCsMuH9uXbCxXkscbN2c9oec84nujVr3B4",region:"CA"});(0,o.useEffect)(()=>{null==g||g({isLoaded:k,loadError:v})},[k,v,g]);let y=(0,o.useRef)(null),B=(0,o.useCallback)(e=>{if(d)return;if(h){let l=t.find(e=>e.id===h);if((null==l?void 0:l.latitude)&&(null==l?void 0:l.longitude)){let t={lat:l.latitude,lng:l.longitude};e.setCenter(t),e.setZoom(s.AQ);return}}let n=new google.maps.LatLngBounds,i=0;for(let e of t)null!=e.latitude&&null!=e.longitude&&(n.extend({lat:e.latitude,lng:e.longitude}),i=1);i>0?e.fitBounds(n,60):(e.setCenter(l),e.setZoom(s.fW))},[t,l,h,d]),S=(0,o.useCallback)(e=>{y.current=e,B(e)},[B]);(0,o.useEffect)(()=>{let e=y.current;if(e&&d&&(e.panTo(d),null!=u&&e.setZoom(u),null!=f)){let t=new google.maps.Circle({center:d,radius:1e3*f}).getBounds();t&&e.fitBounds(t)}},[d,u,f]),(0,o.useEffect)(()=>{let e=y.current;e&&(d||B(e))},[t,B,d]),(0,o.useEffect)(()=>{let e=y.current;if(!e||!C||d)return;let l=t.find(e=>e.id===C);(null==l?void 0:l.latitude)&&(null==l?void 0:l.longitude)&&(e.panTo({lat:l.latitude,lng:l.longitude}),e.setZoom(s.AQ))},[C,t,d]);let M=(0,o.useCallback)(e=>{if(C===e.id){null==m||m(),null==p||p(null);return}null==p||p(e.id)},[m,p,C]),A=(0,o.useCallback)(e=>(0,n.jsx)(n.Fragment,{children:t.map((t,l)=>{if(null==t.latitude||null==t.longitude)return null;let a=C===t.id,o={position:{lat:t.latitude,lng:t.longitude},icon:{url:(e=>{let{label:t,isSelected:l,isStoreDefault:n=!1,fillColor:a=i.s3S,selectedFillColor:r=i.ehg,size:o=42,isStoreIcon:s=!0}=e,d=l?r:a,u=s?'\n      <svg width="42" height="61" viewBox="0 0 42 61" fill="none" xmlns="http://www.w3.org/2000/svg">\n        <g clip-path="url(#clip0_2166_98071)">\n          <g filter="url(#filter0_i_2166_98071)">\n            <path d="M21 0C32.5982 0 42 8.69999 42 23.615C42 34.962 29.8435 51.347 24.0289 58.534C23.2016 59.521 22.0964 61 21 61C19.8799 61.001 18.7688 59.502 17.9723 58.534C12.159 51.351 0 34.965 0 23.615C0 8.69999 9.40182 0 21 0Z" fill="'.concat(d,'"/>\n          </g>\n          <mask id="mask0_2166_98071" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="10" y="8" width="22" height="26">\n            <path d="M32 8H10V34H32V8Z" fill="white"/>\n          </mask>\n          <g mask="url(#mask0_2166_98071)">\n            <path d="M31.4694 14.1225L21.53 8.14756C21.53 8.14756 20.9993 7.81556 20.4726 8.14756C19.4859 8.74156 10.5319 14.1245 10.5319 14.1245C10.5319 14.1245 10.0039 14.4415 10.0039 14.9945L10 17.0836V27.0046C10 27.5556 10.5306 27.8756 10.5306 27.8756L20.47 33.8515C20.47 33.8515 21.0007 34.1835 21.5274 33.8515C22.5141 33.2575 31.4681 27.8745 31.4681 27.8745C31.4681 27.8745 31.9961 27.5556 31.9961 27.0056L32 24.9155V14.9945C32 14.4435 31.4707 14.1225 31.4707 14.1225" fill="white"/>\n            <path d="M21 27C24.3137 27 27 24.3137 27 21C27 17.6863 24.3137 15 21 15C17.6863 15 15 17.6863 15 21C15 24.3137 17.6863 27 21 27Z" fill="').concat(d,'"/>\n            <path d="M21 30.5C26.2467 30.5 30.5 26.2467 30.5 21C30.5 15.7533 26.2467 11.5 21 11.5C15.7533 11.5 11.5 15.7533 11.5 21C11.5 26.2467 15.7533 30.5 21 30.5Z" stroke="').concat(d,'"/>\n          </g>\n        </g>\n        <defs>\n          <filter id="filter0_i_2166_98071" x="0" y="0" width="42" height="62" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">\n            <feFlood flood-opacity="0" result="BackgroundImageFix"/>\n            <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>\n            <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>\n            <feOffset dy="1"/>\n            <feGaussianBlur stdDeviation="0.5"/>\n            <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>\n            <feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.552941 0 0 0 0 0.8 0 0 0 1 0"/>\n            <feBlend mode="normal" in2="shape" result="effect1_innerShadow_2166_98071"/>\n          </filter>\n          <clipPath id="clip0_2166_98071">\n            <rect width="42" height="61" fill="white"/>\n          </clipPath>\n        </defs>\n      </svg>
1\n    ').trim():'<svg width="42" height="61" viewBox="0 0 42 61" fill="none" xmlns="http://www.w3.org/2000/svg">\n        <g filter="url(#filter0_i_35562_61429)">\n        <path d="M21 0C32.5982 0 42 8.70013 42 23.6146C42 34.9621 29.8435 51.3469 24.0289 58.5345C23.2016 59.5206 22.0964 60.9995 21 61C19.8799 61.0005 18.7688 59.5017 17.9723 58.5345C12.159 51.3507 0 34.9646 0 23.6146C0 8.70013 9.40182 0 21 0Z" fill="'.concat(d,'"/>\n</g>\n<path d="M28 13.3008C29.1392 13.3008 30.076 14.1669 30.1885 15.2764L30.2002 15.501V16.001C30.2002 16.1368 30.1857 16.2694 30.1621 16.3984C31.2897 17.4056 32 18.8701 32 20.501V28.001C32 29.1055 31.1046 30.001 30 30.001H21.9932C22.3761 29.429 22.5996 28.7411 22.5996 28.001V20.501C22.5996 18.2827 21.5817 16.3029 19.9883 15.001H23.8594C24.086 14.0271 24.9572 13.3008 26 13.3008H28ZM15.5 15.001C18.5376 15.001 21 17.4634 21 20.501V28.001C21 29.1055 20.1046 30.001 19 30.001H12C10.8954 30.001 10 29.1055 10 28.001V20.501C10 17.4634 12.4624 15.001 15.5 15.001ZM14.5 21.001C13.9477 21.001 13.5 21.4487 13.5 22.001C13.5 22.5533 13.9477 23.001 14.5 23.001H16.5C17.0523 23.001 17.5 22.5533 17.5 22.001C17.5 21.4487 17.0523 21.001 16.5 21.001H14.5ZM25.8789 14.5078C25.8638 14.5096 25.8489 14.5131 25.834 14.5156C25.8069 14.5202 25.7802 14.5256 25.7539 14.5322C25.7438 14.5348 25.7336 14.5372 25.7236 14.54C25.648 14.5618 25.5759 14.5919 25.5088 14.6299C25.4972 14.6364 25.4859 14.6434 25.4746 14.6504C25.4471 14.6674 25.4202 14.6855 25.3945 14.7051C25.3901 14.7084 25.3862 14.7124 25.3818 14.7158C25.3191 14.7653 25.2622 14.8218 25.2129 14.8848C25.2079 14.8912 25.2031 14.8978 25.1982 14.9043C25.074 15.0709 25 15.2772 25 15.501V19.2012C25.0001 19.6428 25.3581 20.0009 25.7998 20.001C26.2416 20.001 26.5995 19.6429 26.5996 19.2012V17.001H28C28.5523 17.001 29 16.5533 29 16.001V15.501C29 14.9487 28.5523 14.501 28 14.501H26C25.959 14.501 25.9186 14.503 25.8789 14.5078Z" fill="white"/>\n<defs>\n<filter id="filter0_i_35562_61429" x="0" y="0" width="42" height="62" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">\n<feFlood flood-opacity="0" result="BackgroundImageFix"/>\n<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>\n<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>\n<feOffset dy="1"/>\n<feGaussianBlur stdDeviation="0.5"/>\n<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>\n<feColorMatrix type="matrix" values="0 0 0 0 0.374908 0 0 0 0 0.700041 0 0 0 0 0.935482 0 0 0 1 0"/>\n<feBlend mode="normal" in2="shape" result="effect1_innerShadow_35562_61429"/>\n</filter>\n</defs>\n</svg>').trim(),f=n?u:'\n      <svg width="'.concat(o,'" height="').concat(1.45*o,'" viewBox="0 0 42 61" fill="none" xmlns="http://www.w3.org/2000/svg">\n        <g filter="url(#filter0_i)">\n          <path d="M21 0C32.5982 0 42 8.70013 42 23.6146C42 34.9621 29.8435 51.3469 24.0289 58.5345C23.2016 59.5206 22.0964 60.9995 21 61C19.8799 61.0005 18.7688 59.5017 17.9723 58.5345C12.159 51.3507 0 34.9646 0 23.6146C0 8.70013 9.40182 0 21 0Z" fill="').concat(d,'"/>\n        </g>\n        <circle cx="21" cy="21" r="11" fill="white"/>\n        <text x="21" y="21" text-anchor="middle" dominant-baseline="central" fill="').concat(a,'" font-size="14" font-weight="600" font-family="Arial, sans-serif">').concat(t,'</text>\n        <defs>\n          <filter id="filter0_i" x="0" y="0" width="42" height="62" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">\n            <feFlood flood-opacity="0" result="BackgroundImageFix"/>\n            <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>\n            <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>\n            <feOffset dy="1"/>\n            <feGaussianBlur stdDeviation="0.5"/>\n            <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>\n            <feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.552941 0 0 0 0 0.8 0 0 0 1 0"/>\n            <feBlend mode="normal" in2="shape" result="effect1_innerShadow"/>\n          </filter>\n        </defs>\n      </svg>\n    ').trim();return"data:image/svg+xml;charset=UTF-8,".concat(encodeURIComponent(f))})({label:x?"":String(l+1),isSelected:C===t.id,isStoreDefault:t.id===h,isStoreIcon:_}),scaledSize:new google.maps.Size(40,40)},onClick:()=>M(t),...a?{zIndex:Number(i.OGO)}:{}};return(0,n.jsx)(r.pH,{...o,...e?{clusterer:e}:{}},t.id)})}),[t,C,x,h,_,M]);return v?(0,n.jsx)("p",{className:"p-4 text-red-600",children:"Map failed to load."}):k?(0,n.jsx)(r.u6,{mapContainerStyle:{width:"100%",height:"100%"},center:l,zoom:null!=u?u:s.a7,onLoad:S,options:{streetViewControl:!1,mapTypeControl:!1},onClick:()=>{null==m||m(),null==p||p(null)},children:w?(0,n.jsx)(r.w1,{options:{gridSize:35,minimumClusterSize:3},children:e=>A(e)}):A()},c):(0,n.jsx)(a.Loader,{isOpen:!0})};d.displayName="LocatorMap"}}]);

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.