1import{j as e}from"./vendor-utils-08cea7db.js";import{r as l}from"./vendor-react-6fd6cd74.js";import{M as c,T as m,h as p,P as d,L as s,u}from"./vendor-ui-da366511.js";const f=new s.Icon({iconUrl:"https://raw.githubusercontent.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-gold.png",shadowUrl:"https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/images/marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],shadowSize:[41,41]});function h({center:t,zoom:a,locationData:r}){const o=u();return l.useEffect(()=>{if(t)o.flyTo(t,a,{duration:1.5});else if(r&&r.length>0){const n=s.latLngBounds(r.map(i=>i.coordinates));o.fitBounds(n,{padding:[50,50]})}},[t,a,o,r]),null}function j({locationData:t,activeCoords:a,zoom:r,onLocationClick:o}){return e.jsxs(e.Fragment,{children:[e.jsx("style",{dangerouslySetInnerHTML:{__html:` 2 .custom-map-theme .leaflet-tile-pane { 3 filter: none !important; 4 mix-blend-mode: normal !important; 5 opacity: 1 !important; 6 } 7 .leaflet-container { 8 background: #f0f0f0 !important; 9 border: none !important; 10 outline: none !important; 11 } 12 .leaflet-control-attribution { 13 border: none !important; 14 background: transparent !important; 15 font-size: 8px !important; 16 opacity: 0.4 !important; 17 } 18 /* Style zoom controls */ 19 .leaflet-bar a { 20 background-color: white !important; 21 color: black !important; 22 border: 1px solid #ccc !important; 23 } 24 .leaflet-bar a:hover { 25 background-color: #f4f4f4 !important; 26 } 27 `}}),e.jsxs(c,{center:[9.93,-84.1],zoom:11,style:{height:"100%",width:"100%",zIndex:0},scrollWheelZoom:!1,className:"custom-map-theme",children:[e.jsx(h,{center:a,zoom:r,locationData:t}),e.jsx(m,{attribution:"Tiles © Esri â Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community",url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}"}),t.map((n,i)=>e.jsx(p,{position:n.coordinates,icon:f,eventHandlers:{click:()=>o(n.coordinates)},children:e.jsx(d,{children:e.jsx("div",{className:"text-center font-ramillas",children:e.jsx("p",{className:"font-bold text-[10px] uppercase",children:n.name.split(",")[0]})})})},i))]})]})}export{j as default};
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.