import{_ as i,u}from"./CXVd19p6.js";import{d as m,c as p,b as d,a as f,g as o,o as a,w as g,f as s,e as l,_ as x}from"./JQJBiNWj.js";const k={key:1,class:"w-full h-full flex flex-col gap-2 items-center justify-center text-gray-400 bg-gray-50 bg-opacity-80 rounded-lg cursor-default select-none"},y={class:"text-5xl"},h=m({__name:"WithMarker",props:{lat:{default:0},lng:{default:0}},setup(t){const c=p(()=>t.lat&&t.lng);return(e,n)=>{const r=i,_=x;return o(c)?(a(),d(r,{key:0,center:[e.lat,e.lng],zoom:14},{default:g(()=>[s(o(u),{"lat-lng":[e.lat,e.lng]},null,8,["lat-lng"])]),_:1},8,["center"])):(a(),f("div",k,[l("span",y,[s(_,{name:"material-symbols:location-off-rounded"})]),n[0]||(n[0]=l("p",{class:"text-xl"},"Localização não encontrada.",-1))]))}}}),M=Object.assign(h,{__name:"UiMapWithMarker"});export{M as _};
