import{J as c,E as p,T as m,b as t,V as o,S as _,i as u,_ as f}from"#entry";const d={class:"how-to-arrive d-flex ga-n2 ma-3 rounded-xl position-absolute bottom-0"},g=c({__name:"HowToArriveNav",props:{place:{type:Object,default:()=>({latitude:0,longitude:0})}},setup(r){const e=r;function n(s){const a=e.place.latitude,i=e.place.longitude;return`https://www.openstreetmap.org/directions?from=&to=${a},${i}&${{foot:"engine=fossgis_osrm_foot",bike:"engine=fossgis_osrm_bike",car:"engine=fossgis_osrm_car",transit:null}[s]}#map=14/${a}/${i}`}const l=u(()=>`geo:${e.place.latitude},${e.place.longitude}?q=${e.place.name}`);return(s,a)=>(p(),m("div",d,[t(o,{variant:"text",size:"small",icon:"mdi-walk",href:n("foot")},null,8,["href"]),t(o,{variant:"text",size:"small",icon:"mdi-bike",href:n("bike")},null,8,["href"]),t(o,{variant:"text",size:"small",icon:"mdi-car",href:n("car")},null,8,["href"]),t(o,{variant:"text",size:"small",icon:"mdi-open-in-new",href:_(l)},null,8,["href"])]))}}),x=Object.assign(f(g,[["__scopeId","data-v-ca08f0c3"]]),{__name:"HowToArriveNav"});export{x as _};
