PageSourceSearch

https://epsiloninsurance.netlify.app/_next/static/chunks/6369.23219700cfb954aa.js

js epsiloninsurance.netlify.app collected 2026-10-03 10:44:44 UTC 5,748 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6369],{6369:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>h});var n=l(95155),o=l(12115),s=l(85203),a=l.n(s),r=l(44897),i=l(82332);let p=[{featureType:"all",elementType:"all",stylers:[{saturation:"16"},{lightness:"-3"},{visibility:"on"},{weight:"1.18"}]},{featureType:"administrative",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"landscape",elementType:"all",stylers:[{saturation:"20"},{lightness:"14"}]},{featureType:"landscape",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"landscape.man_made",elementType:"all",stylers:[{saturation:"20"},{lightness:"14"}]},{featureType:"poi",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{visibility:"on"},{color:"#9adbe9"}]},{featureType:"water",elementType:"labels",stylers:[{visibility:"on"},{color:"#45afba"}]}];var u=l(66729),g=l.n(u),c=l(87358);let d={};d=l(8905),"true"===c.env.NEXT_PUBLIC_AVISO_CLIENT&&(d=l(83465)),"true"===c.env.NEXT_PUBLIC_IS_TEMPLATE&&(d=l(47572));let m=d;var y=l(11896);let f=e=>{let{children:t,className:l,zoom:s=10,stateBounds:u,useCluster:c}=e||{},d=a()(g().container,m.container,l),f=(0,o.useRef)(null),h=(0,o.useRef)(null),[w,T]=(0,o.useState)(!1);window.innerWidth;let{isLoaded:b}=(0,r.KD)({id:"google-map-script",googleMapsApiKey:"AIzaSyCQzNqf1TFn6dsoUhk3hoLukM17ssxFSoU"}),C=()=>{let e=h?.current;if(!e)return;let l=o.Children.toArray(t).filter(e=>e.type===i.A);if(1===l?.length){let t=l[0];e?.setZoom(16);let n=t?.props?.position?.lat,o=t?.props?.position?.lng;return e?.panTo({lat:n,lng:o})}let n={lat:-44,lng:112},s={lat:-10,lng:154},a=new window.google.maps.LatLngBounds(new window.google.maps.LatLng(n.lat,n.lng),new window.google.maps.LatLng(s.lat,s.lng));e?.fitBounds(a)},x=o.Children.toArray(t).find(e=>e.props.active),k=e=>{let t=h?.current;if(e?t?.setZoom(e):t?.setZoom(16),x){let e=x?.props?.position?.lat,l=x?.props?.position?.lng;return t?.panTo({lat:e,lng:l})}};(0,o.useEffect)(()=>{let e=h.current;if(x)return k();let t=_[u];if(u&&e&&t){let{southWest:t,northEast:l}=_[u],n=new window.google.maps.LatLngBounds(new window.google.maps.LatLng(t.lat,t.lng),new window.google.maps.LatLng(l.lat,l.lng));return e?.fitBounds(n)}return C()},[u,x]);let E=(0,o.useCallback)(e=>{h.current=e,(()=>{let e=h?.current;if(e){e?.setMapTypeId("roadmap");let t=e?.getFeatureLayer("COUNTRY"),l="#0055B8";if(!l)return console.log("No stroke color found for this website");let n={strokeColor:l,strokeOpacity:1,strokeWeight:1.5,fillOpacity:0};t.style=e=>{if("ChIJ38WHZwf9KysRUhNblaFnglM"===e.feature.placeId)return n}}})(),C()},[]),I=(0,o.useCallback)(e=>{let t=e.getMap(),l=e?.getMarkers();if(!l?.length)return;if(t&&t?.getZoom()>=12){t?.panTo(e.getCenter()),t?.setZoom(16);return}let n=new window.google.maps.LatLngBounds;l?.forEach(e=>{let t=e?.getPosition();t&&n.extend(t)}),n.extend({lat:n.getNorthEast().lat()+.05,lng:n.getNorthEast().lng()+.05}
1),n.extend({lat:n.getSouthWest().lat()-.05,lng:n.getSouthWest().lng()-.05}),t&&t?.fitBounds(n)},[]);return(0,n.jsxs)("div",{className:d,ref:f,children:[b&&(0,n.jsx)(r.u6,{mapContainerStyle:{width:"100%",height:"calc(100% + 45px)",flex:1,backgroundColor:"#000"},zoom:s,onLoad:E,onProjectionChanged:()=>!w&&T(!0),options:{disableDefaultUI:!0,draggable:!0,keyboardShortcuts:!1,scaleControl:!1,zoomControl:!1,scrollwheel:!1,styles:p,mapId:"5e3fb6ea802ba115",mapTypeId:"roadmap"},children:c?(0,n.jsx)(r.w1,{averageCenter:!0,title:"Click to zoom",minimumClusterSize:2,enableRetinaIcons:!0,gridSize:50,zoomOnClick:!1,onClick:I,maxZoom:20,styles:[{url:(0,y.A)({type:"cluster",width:42})?.url,height:42,width:42,className:g().cluster,textSize:16,textColor:"#FFF",fontFamily:"var(--tertiary-font)",fontWeight:"600"}],children:e=>(0,n.jsx)(n.Fragment,{children:o.Children.toArray(t)?.map(t=>o.isValidElement(t)?(0,o.cloneElement)(t,{...t.props,clusterer:e,map:h.current,isActiveMarker:x}):null)})}):(0,n.jsx)(n.Fragment,{children:t})}),(0,n.jsxs)("div",{className:m.controls,children:[(0,n.jsxs)("button",{type:"button",className:m.control,onClick:()=>{let e=h?.current;e&&k((e?.getZoom()||0)+1)},"aria-label":"Zoom in",children:[(0,n.jsx)("span",{className:m.plus}),(0,n.jsx)("span",{className:m.plus})]}),(0,n.jsx)("button",{type:"button",className:m.control,onClick:()=>{let e=h?.current;e&&k((e?.getZoom()||0)-1)},"aria-label":"Zoom out",children:(0,n.jsx)("span",{className:m.minus})})]})]})};f.Marker=i.A;let h=f,_={"New South Wales & ACT":{southWest:{lat:-37.505,lng:140.999},northEast:{lat:-28.157,lng:153.638}},Victoria:{southWest:{lat:-39.159,lng:140.961},northEast:{lat:-33.98,lng:150.084}},Queensland:{southWest:{lat:-29.178,lng:138},northEast:{lat:-9.142,lng:153.552}},"Western Australia":{southWest:{lat:-35.134,lng:112.921},northEast:{lat:-13.689,lng:129}},"South Australia":{southWest:{lat:-38.063,lng:129},northEast:{lat:-25.999,lng:141.002}},Tasmania:{southWest:{lat:-43.74,lng:144.575},northEast:{lat:-39.573,lng:148.479}},"Northern Territory":{southWest:{lat:-25.999,lng:129},northEast:{lat:-10.951,lng:138.001}}}},8905:e=>{e.exports={controls:"eps_controls__tqnh9",control:"eps_control__d3g_I",plus:"eps_plus__thuAE",fadeInUp:"eps_fadeInUp__3CcRi"}},47572:e=>{e.exports={controls:"tmp_controls__xl6Yf",control:"tmp_control__jkahJ",plus:"tmp_plus__GqCu5",fadeInUp:"tmp_fadeInUp__1_u9K"}},66729:e=>{e.exports={container:"styles_container__OW_tG",fadeInUp:"styles_fadeInUp__W7gEF"}},83465:e=>{e.exports={controls:"nqs_controls__Q8yp_",control:"nqs_control__mHghr",plus:"nqs_plus__nTy9Q",fadeInUp:"nqs_fadeInUp___YeeH"}}}]);

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.