import{_ as n}from"./SearchForm.15cdfcdc.js";import{a0 as a,o as c,h as i,a1 as _}from"./entry.01d4b5f9.js";const f={__name:"SearchRoutes",setup(u){const r=a(),o=e=>{var s,t;r.push({name:"resultats",query:{origin:(s=e.origin)==null?void 0:s.id,destination:(t=e.destination)==null?void 0:t.id,date:e.date?_(e.date).format("YYYY-MM-DD"):void 0}})};return(e,s)=>{const t=n;return c(),i(t,{onSearch:o})}}};export{f as _};
//# sourceMappingURL=SearchRoutes.7729e083.js.map
