1import{_ as z}from"./BQlWkqZF.js";import D from"./B6GvcwEj.js";import{_ as k}from"./Cp872QXy.js";import{u as I,_ as U}from"./QzXNfUoG.js";import{l as $,b as _,c as C,E as N,k as Y,L as s,a2 as r,X as L,M as c,a0 as b,J as g,I as E,u as o,a7 as A,m as G,$ as d,Z as J,O as e,_ as S}from"./D0-hQYVk.js";import{_ as K}from"./fgoIO6Fg.js";import{_ as O}from"./e4f4XwOc.js";import M from"./DRbN6rRW.js";import{u as X}from"./7n0kwaUl.js";import{ad as Z,g as j}from"./HcjQPm2H.js";/* empty css */import{a as H}from"./CEVb8XC5.js";import"./BU-KwPJ4.js";import"./C-eCv2z-.js";import"./CUqoJWnU.js";import"./E-NrAW5l.js";import"./BQKJVgSt.js";import"./B2h8GqJQ.js";import"./CE22jpvv.js";import"./DTOWLWxX.js";import"./BK--eHlS.js";import"./BwJmeUo2.js";import"./D3pEHXw3.js";const Q=$({__name:"SlideTop",props:{stores:{}},setup(P){const a=_(3),t=_(768);C(t,m=>{a.value=u()});function u(){return t.value>=768?3:t.value>=640?2:1}const n=()=>{t.value=window.innerWidth};return N(()=>{n(),window.addEventListener("resize",n),a.value=u()}),Y(()=>{window.removeEventListener("resize",n)}),(m,v)=>{const f=A;return s(),r(K,{slidesPerView:o(a)},{default:L(()=>[(s(!0),c(E,null,b(m.stores,(i,p)=>(s(),r(f,{key:`${p}`},{default:L(()=>[g(k,{class:"swiper-slide",place:i,isFilter:!0,url:{name:"/stores",params:{slug:i.slug}}},null,8,["place","url"])]),_:2},1024))),128))]),_:1},8,["slidesPerView"])}}}),ee={class:"container-fluid bg-white"},oe={key:1,class:"container"},se={key:0,class:"section-title"},ne={class:"main-snippet-container"},te={key:3,class:"my-3"},ie={class:"row socios-reservandonos"},re={class:"col-sm-5"},ae=["src"],Ve=$({__name:"[category]",setup(P){const a=Z(),t=X(),{getRecommendedNearYou:u,recommendedNearYou:n,getTop:m,top:v,isLoading:f}=H(a),{serviceCategory:i,getServiceCategory:p,isLoading:V}=I(),y=G(()=>f.value||V.value),q=_(!1),R=_(!1);N(()=>{p(),h()});const B=async()=>{u(t.location,!0)},h=()=>{m(t.location),u(t.location)},F=()=>{h()};return C(()=>a.fullPath,async()=>{p(),h()}),(T,l)=>{const W=z;return s(),c("div",ee,[o(i)?(s(),r(D,{key:0,serviceCategory:o(i)},null,8,["serviceCategory"])):d("",!0),y.value?(s(),r(W,{key:2,message:T.$t("slug.obtainingPlaces")},null,8,["message"])):(s(),c("div",oe,[g(O,{onUpdateLocation:F}),o(i)?(s(),c("h3",se," Top 5 en "+J(o(i).name),1)):d("",!0),g(Q,{stores:o(v)},null,8,["stores"]),o(v).length?d("",!0):(s(),r(M,{key:1,message:"Lo sentimos, pero no se encontraron lugares que coincidan con su búsqueda"})),l[2]||(l[2]=e("h3",{class:"section-title"},"Recomendaciones cerca de ti",-1)),e("div",ne,[(s(!0),c(E,null,b(o(n).data,(w,x)=>(s(),r(k,{key:x,place:w,isFilter:!0,url:{name:"/stores/detail",params:{slug:w.slug}}},null,8,["place","url"]))),128))]),!y.value&&!o(n).data.length?(s(),r(M,{key:2,message:"Lo sentimos, pero no se encontraron lugares que coincidan con su búsqueda"})):d("",!0),o(n).showMore?(s(),c("div",te,[g(U,{onShowMore:l[0]||(l[0]=w=>B()),page:o(n).page-1,showMore:o(n).showMore,isLoadingShowMore:q.value,isLoadingLessMore:R.value},null,8,["page","showMore","isLoadingShowMore","isLoadingLessMore"])])):d("",!0),e("div",ie,[e("div",re,[e("img",{src:`${o(j).imageKeyCDN}/assets/images/delivery/socios-reservandonos.png`,class:"img-fluid",alt:"App Reservandonos"},null,8,ae)]),l[1]||(l[1]=e("div",{class:"col-sm-7"},[e("h2",null,[S(" Conviértete en socio "),e("br"),S(" Reservándonos ")]),e("ul",null,[e("li",null,"Digitaliza tu tienda y gestionar la nueva solicitud."),e("li",null,"Iniciar un negocio online y ampliar un negocio."),e("li",null," Gestionar las solicitudes de nuevos pedidos en función de su disponibilidad. "),e("li",null," Promociona tu negocio con muchas ofertas que atraen a los clientes. ")])],-1))])]))])}}});export{Ve 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.