PageSourceSearch

https://followthesun.base44.app/assets/MiniTrailMap-ii1FjifP.js

js followthesun.base44.app collected 2026-10-03 03:13:54 UTC 1,869 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/TileLayer-BG1NQQJV.js","assets/index-CTJpZp1J.js","assets/index-BGKGt1VK.css"])))=>i.map(i=>d[i]);
2import{j as l,r as u,_ as d}from"./index-CTJpZp1J.js";import{c as a,u as h,a as c,b as f,e as p,M as m,T as x,f as g}from"./TileLayer-BG1NQQJV.js";const s=a(function({center:t,children:n,...o},i){const r=new c.CircleMarker(t,o);return f(r,p(i,{overlayContainer:r}))},h),y=a(function({positions:t,...n},o){const i=new c.Polyline(t,n);return f(i,p(o,{overlayContainer:i}))},function(t,n,o){n.positions!==o.positions&&t.setLatLngs(n.positions)});function C({route:e,trailhead:t}){const n=g();return u.useEffect(()=>{e&&e.length>=2?d(async()=>{const{default:o}=await import("./TileLayer-BG1NQQJV.js").then(i=>i.l);return{default:o}},__vite__mapDeps([0,1,2])).then(({default:o})=>{n.fitBounds(o.latLngBounds(e),{padding:[20,20]})}):t&&n.setView(t,14)},[e,t]),null}function O({route:e,trailhead:t}){const n=e&&e.length>=2,o=n?e[0]:t;return o?l.jsx("div",{className:"w-full h-48 rounded-xl overflow-hidden border border-slate-200",style:{zIndex:0},children:l.jsxs(m,{center:o,zoom:13,style:{width:"100%",height:"100%"},zoomControl:!1,attributionControl:!1,dragging:!1,scrollWheelZoom:!1,doubleClickZoom:!1,touchZoom:!1,children:[l.jsx(x,{url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",maxZoom:18}),l.jsx(C,{route:n?e:null,trailhead:n?null:t}),n&&l.jsxs(l.Fragment,{children:[l.jsx(y,{positions:e,pathOptions:{color:"#059669",weight:4,opacity:.9}}),l.jsx(s,{center:e[0],radius:6,pathOptions:{fillColor:"#059669",fillOpacity:1,color:"#fff",weight:2}}),l.jsx(s,{center:e[e.length-1],radius:6,pathOptions:{fillColor:"#dc2626",fillOpacity:1,color:"#fff",weight:2}})]}),!n&&t&&l.jsx(s,{center:t,radius:8,pathOptions:{fillColor:"#059669",fillOpacity:1,color:"#fff",weight:2}})]})}):null}export{O 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.