1import{_ as I}from"./DaPvGAIB.js";import{d as $,u as j,a as D,aG as M,c as S,r as c,e as d,f as r,h as m,L as p,K as f,j as u,g as e,i as s,Y as U,Z as G,t as n,aH as L,k as V,G as F,_ as P,a1 as T}from"./CeEiuf4C.js";import{_ as A}from"./BErIrAc4.js";import{u as E}from"./Batbbcoj.js";import"./YNX5Li0Q.js";import"./DEWw1r4L.js";import"./Bf2wCGDh.js";const O={id:"branches-section",class:"bg-gray-50 py-16"},R={class:"mt-12 mb-16 flex flex-wrap justify-center gap-8"},q={class:"to-primary-950 flex h-48 items-center justify-center bg-gradient-to-r from-slate-950 via-slate-700"},H={class:"text-center text-white"},K={class:"text-3xl font-semibold"},W={class:"flex flex-grow flex-col p-6"},Y={class:"flex-grow space-y-3"},Z={class:"flex items-start space-x-3"},z=["href"],J={class:"flex items-center space-x-3"},Q=["href"],X={class:"flex items-center space-x-3"},ee=["href"],te={class:"mt-auto space-y-2 pt-6"},se=["onClick"],ue=$({__name:"OurBranches",setup(oe){const{t:l}=j(),h=D();M();const{fetchAllBranches:x}=E(),{branchData:y}=x(),v=S(()=>y.value||[]);c(null);const i=c(!1),o=c(null),g=_=>{o.value=_,i.value=!0},w=()=>{i.value=!1,setTimeout(()=>{o.value=null},300)};return(_,a)=>{const b=I,k=L,C=P,N=A,B=T;return r(),d("section",O,[m(C,null,{default:u(()=>[m(b,{title:s(l)("home.branches.title")},null,8,["title"]),e("div",R,[(r(!0),d(U,null,G(s(v),t=>(r(),d("div",{key:t.branchId,class:"flex w-full flex-col overflow-hidden rounded-xl bg-white shadow-lg transition-all duration-300 hover:scale-105 hover:shadow-xl sm:w-1/2 md:w-1/2 lg:w-1/4","<!--":"",Encadrement:"",lors:"",de:"",la:"",sélection:"",désactivé:"","--":""},[e("div",q,[e("div",H,[e("h3",K," GoDubai "+n(t.cityName||t.name),1)])]),e("div",W,[e("div",Y,[e("div",Z,[a[0]||(a[0]=e("i",{class:"fas fa-map-marker-alt text-secondary-500 mt-1"},null,-1)),e("a",{href:`https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(t.address)}`,target:"_blank",rel:"noopener noreferrer",class:"hover:text-secondary-500 text-sm text-gray-600 transition-colors"},n(t.name),9,z)]),e("div",J,[a[1]||(a[1]=e("i",{class:"fas fa-phone text-secondary-500"},null,-1)),e("a",{href:`tel:${t.phone}`,class:"hover:text-secondary-500 text-sm text-gray-600 transition-colors"},n(t.phone),9,Q)]),e("div",X,[a[2]||(a[2]=e("i",{class:"fas fa-envelope text-secondary-500"},null,-1)),e("a",{href:`mailto:${t.email}`,class:"hover:text-secondary-500 text-sm text-gray-600 transition-colors"},n(t.email),9,ee)])]),e("div",te,[t.slug&&t.isShowWebsite?(r(),p(k,{key:0,to:s(h)({name:"agence-slug",params:{slug:t.slug}}),class:"bg-primary hover:bg-primary-600 flex w-full items-center justify-center rounded-full px-4 py-2 text-white transition duration-500"},{default:u(()=>[V(n(s(l)("home.branches.viewDetails")),1)]),_:2},1032,["to"])):f("",!0),e("button",{onClick:F(ae=>g(t),["stop"]),class:"border-primary text-primary hover:bg-primary flex w-full cursor-pointer items-center justify-center rounded-full border px-4 py-2 transition duration-500 hover:text-white"},n(s(l)("home.branches.contactButton")),9,se)])])]))),128))])]),_:1}),s(o)?(r(),p(B,{key:0,"is-show":s(i),title:`GoDubai ${s(o).cityName||s(o).name}`,"onUpdate:isShow":w},{default:u(()=>[m(N,{branchId:s(o).branchId,branchName:s(o).cityName||s(o).name},null,8,["branchId","branchName"])]),_:1},8,["is-show","title"])):f("",!0)])}}});export{ue 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.