PageSourceSearch

https://www.gooyadubai.ae/_nuxt/CuzuTgPc.js

js gooyadubai.ae collected 2026-10-02 01:10:38 UTC 44,230 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/_nuxt/DZ6zgc-J.js","/_nuxt/wTUN7Kzk.js","/_nuxt/-DLWNC6n.js","/_nuxt/Dkyd3T5m.js","/_nuxt/entry.BE92-Bik.css","/_nuxt/yFFVnsya.js","/_nuxt/Xq-tkkbV.js","/_nuxt/BMVw6UMh.js","/_nuxt/Cy3kuDHi.js","/_nuxt/CEhgJnN3.js","/_nuxt/poOW0nuE.js","/_nuxt/C90W3vFq.js","/_nuxt/ChUxrKzq.js","/_nuxt/KXDfhFVj.js","/_nuxt/BX4v9dxa.js","/_nuxt/CbH07I4k.js","/_nuxt/CxCcfHXN.js","/_nuxt/D7agGoI6.js","/_nuxt/AOcWTlQG.js","/_nuxt/8OCP1k-F.js","/_nuxt/Dw8tTD9R.js","/_nuxt/XPbWMILr.js","/_nuxt/CsayrMZb.js","/_nuxt/CzkDDCph.js","/_nuxt/PGcPv1Ux.js","/_nuxt/EBY1djgu.js","/_nuxt/Cn7fHZh4.js","/_nuxt/CbEEM7Mm.js","/_nuxt/C8ruQou2.js","/_nuxt/DfqUrezJ.js","/_nuxt/iHkHjoQ9.js","/_nuxt/sxBn5GFh.js","/_nuxt/vomKIK4p.js","/_nuxt/CQAZmYKt.js","/_nuxt/By3kTgl5.js","/_nuxt/Dh5mzWV7.js"])))=>i.map(i=>d[i]);
2import{as as Ie,o as U,s as Te,b as Re,u as O,f as Q,n as Z,m as ne,a as q,B as je,J as Fe,k as _e,_ as le,z as xe,q as ze,h as Ge,i as X}from"#entry";import{c as m,d as G,b as ie,e as a,f as I,i as f,u as e,z as u,an as j,Q as t,B as n,j as d,D as E,ae as H,E as Ue,P as te,F as N,G as z,az as ce,r as R,w as ue,aw as Oe,as as Ve,k as ae,v as ye,C as V,A as P,Z as J,l as He,ai as ee}from"./-DLWNC6n.js";import{u as we}from"./PGcPv1Ux.js";import{X as ke,bh as qe,aS as Ke}from"./EBY1djgu.js";import{_ as Ae}from"./DlAUqK2U.js";import{q as We}from"./CxCcfHXN.js";import{c as Ye}from"./Dh5mzWV7.js";import{_ as Je}from"./wTUN7Kzk.js";import{l as Ze}from"./ChUTPxTv.js";import{u as Qe,a as Xe,b as et,c as tt}from"./By3kTgl5.js";import{H as ot}from"./BuxlbRQ6.js";import{_ as st}from"./C5acKc6W.js";import{a as pe}from"./DVRoJnrK.js";import{_ as rt}from"./6olSodPa.js";import{c as at,_ as nt,a as lt,b as it}from"./yFFVnsya.js";import{_ as ct}from"./BMVw6UMh.js";import{_ as ut}from"./Cy3kuDHi.js";import{n as be}from"./GwOGwvMC.js";import{u as dt}from"./CziazsXU.js";import{n as W}from"./BupsjGHr.js";import{u as pt}from"./vomKIK4p.js";import"./KXDfhFVj.js";import"./BdoJzPtu.js";import"./Xq-tkkbV.js";const bt=Ie("/logo_final.png"),me={ios:"https://apps.apple.com/app/gooya-dubai/id6755238616",android:"https://play.google.com/store/apps/details?id=ae.gooyadubai.app"},ge=30,$e="gooya_app_banner_dismissed_until",Se="app-install-banner",Ce="app-banner-space",mt=`html[data-app-banner="off"] .${Se}{display:none!important}html[data-app-banner="off"] .${Ce}{padding-top:0!important}`,gt=`(function(){try{var d=document.documentElement,u=navigator.userAgent||'';var m=document.cookie.match(/(?:^|;\\s*)${$e}=([^;]*)/);var t=m?Number(decodeURIComponent(m[1])):0;if(!/iPhone|iPad|iPod|Android/i.test(u)||t>Date.now())d.setAttribute('data-app-banner','off');}catch(e){}})()`;function fe(){const r=navigator.userAgent||"",o=typeof navigator.maxTouchPoints=="number"&&navigator.maxTouchPoints>1;return/iPhone|iPad|iPod/.test(r)||o&&/Macintosh/.test(r)?"ios":/Android/.test(r)?"android":"other"}function Me(){const r=U("app-banner-platform",()=>fe()),o=Te($e,{maxAge:ge*86400,sameSite:"lax",default:()=>null}),p=U("app-banner-mounted",()=>!1),s=m(()=>p.value?(r.value==="ios"||r.value==="android")&&!(Number(o.value)>Date.now()):!0);function l(){r.value=fe(),p.value=!0}function c(){o.value=Date.now()+ge*864e5,document.documentElement.setAttribute("data-app-banner","off")}const g=m(()=>r.value==="ios"?me.ios:me.android);return{platform:r,visible:s,storeUrl:g,init:l,dismiss:c}}const ft=["dir"],ht={class:"flex items-center gap-2 px-2 py-2.5"},vt=["href","aria-label"],_t={class:"block truncate text-[13px] font-bold leading-5 text-white"},xt={class:"block truncate text-[11px] leading-5 text-white/60"},yt=["src"],wt={class:"shrink-0 rounded-full bg-[#e01b22] px-4 py-1.5 text-[13px] font-bold text-white"},kt=["aria-label"],At=G({__name:"AppInstallBanner",setup(r){const{visible:o,platform:p,storeUrl:s,init:l,dismiss:c}=Me();Re({style:[{innerHTML:mt,tagPriority:"critical"}],script:[{innerHTML:gt,tagPriority:"critical"}]});const{labelText:g,pageDir:y,textAlign:w}=we();ie(l);const M=m(()=>p.value==="ios");return(h,S)=>(a(),I(H,{name:"app-banner"},{default:f(()=>[e(o)?(a(),u("div",{key:0,class:j([e(Se),"fixed inset-x-0 top-0 z-[60] border-b border-white/10 bg-[#141b2e]/95 backdrop-blur md:hidden"]),style:{"padding-top":"env(safe-area-inset-top, 0px)"},dir:e(y)},[t("div",ht,[t("a",{href:e(s),target:"_blank",rel:"noopener","aria-label":e(M)?e(g)("دریافت اپلیکیشن گویا دبی از App Store","Get the Gooya Dubai app on the App Store","حمّل تطبيق جويا دبي من App Store"):e(g)("دریافت اپلیکیشن گویا دبی از Google Play","Get the Gooya Dubai app on Google Play","حمّل تطبيق جويا دبي من Google Play"),class:"flex min-w-0 flex-1 items-center gap-2",onClick:S[0]||(S[0]=(...k)=>e(c)&&e(c)(...k))},[S[2]||(S[2]=t("img",{src:bt,alt:"",width:"40",height:"40",class:"h-10 w-10 shrink-0 rounded-[10px] ring-1 ring-white/10"},null,-1)),t("span",{class:j(["min-w-0 flex-1",e(w)])},[t("span",_t,n(e(g)("اپلیکیشن گویا دبی","Gooya Dubai app","تطبيق جويا دبي")),1),t("span",xt,n(e(g)("سریع‌تر، راحت‌تر و رایگان","Faster, easier and free","أسرع وأسهل ومجاني")),1)],2),t("img",{src:e(M)?"/icons/app-store.svg":"/icons/google-play.svg",alt:"",width:"24",height:"24",class:"h-6 w-6 shrink-0"},null,8,yt),t("span",wt,n(e(g)("دریافت","Get","تحميل")),1
2)],8,vt),t("button",{type:"button",class:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-white/50 hover:bg-white/10","aria-label":e(g)("بستن","Close","إغلاق"),onClick:S[1]||(S[1]=(...k)=>e(c)&&e(c)(...k))},[d(e(ke),{class:"h-4 w-4"})],8,kt)])],10,ft)):E("",!0)]),_:1}))}}),$t=Ae(At,[["__scopeId","data-v-73021216"]]),St=["aria-expanded"],Ct=["aria-selected","onClick"],Mt=G({__name:"LanguageSwitcher",setup(r){const{locale:o,locales:p,setLocale:s}=O(),l=R(!1),c=R(null),g=R(null),y=m(()=>{const k=p.value;return k.find(v=>v.code===o.value)??k[0]}),w=Q(),M=U("hreflang-locale-urls",()=>({path:"",urls:{}}));function h(k){l.value=!1;const v=M.value.path===w.path?M.value.urls[k]:"";if(v){Z(new URL(v).pathname+w.hash);return}s(k)}function S(k){const v=k.target;g.value?.contains(v)||c.value?.contains(v)||(l.value=!1)}return ie(()=>{document.addEventListener("click",S)}),Ue(()=>{document.removeEventListener("click",S)}),(k,v)=>(a(),u("div",{ref_key:"buttonRef",ref:c,class:"relative"},[t("button",{type:"button",class:"flex h-9 items-center gap-1.5 rounded-lg border border-[rgb(var(--color-border))] bg-[rgb(var(--color-background))] px-3 py-2 text-sm text-[rgb(var(--color-text))] hover:bg-[rgb(var(--color-surface))] transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500","aria-expanded":e(l),"aria-haspopup":"listbox","aria-label":"Change language",onClick:v[0]||(v[0]=x=>l.value=!e(l))},[t("span",null,n(e(y)?.name??e(o)),1),(a(),u("svg",{xmlns:"http://www.w3.org/2000/svg",class:j(["h-4 w-4 text-[rgb(var(--color-text-muted))] transition-transform",e(l)&&"rotate-180"]),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[...v[1]||(v[1]=[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2))],8,St),d(H,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"opacity-0 scale-95","enter-to-class":"opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"opacity-100 scale-100","leave-to-class":"opacity-0 scale-95"},{default:f(()=>[te(t("div",{ref_key:"dropdownRef",ref:g,class:"absolute end-0 top-full z-50 mt-1 min-w-[8rem] overflow-hidden rounded-lg border border-[rgb(var(--color-border))] bg-[rgb(var(--color-background))] shadow-lg",role:"listbox"},[(a(!0),u(N,null,z(e(p),x=>(a(),u("button",{key:x.code,type:"button",role:"option",class:j(["w-full px-4 py-2.5 text-start text-sm transition-colors hover:bg-[rgb(var(--color-surface))] focus:bg-[rgb(var(--color-surface))] focus:outline-none",e(o)===x.code?"font-medium text-primary-600 dark:text-primary-400":"text-[rgb(var(--color-text))]"]),"aria-selected":e(o)===x.code,onClick:A=>h(x.code)},n(x.name),11,Ct))),128))],512),[[ce,e(l)]])]),_:1})],512))}});function Pt(){const{$api:r}=ne(),o=R(""),p=R(""),s=Ye(c=>{p.value=c},300);ue(o,c=>s(c));const l=Oe({queryKey:m(()=>We.ads.list({search:p.value})),queryFn:()=>r("/ads/",{query:{search:p.value,page_size:10}}),enabled:m(()=>p.value.length>=2)});return{searchTerm:o,results:m(()=>l.data.value?.results??[]),isLoading:l.isLoading,isFetching:l.isFetching}}const Et={class:"relative"},Dt=["placeholder"],Lt={key:0,class:"absolute end-3 top-1/2 -translate-y-1/2 h-4 w-4 rounded-full border-2 border-primary-500 border-t-transparent animate-spin"},Bt={class:"absolute end-0 start-0 top-full z-50 mt-1 max-h-80 overflow-auto rounded-lg border border-[rgb(var(--color-border))] bg-[rgb(var(--color-background))] shadow-lg"},Nt={key:0,class:"p-4 text-center text-sm text-[rgb(var(--color-text-muted))]"},It={class:"p-4 text-center text-sm text-[rgb(var(--color-text-muted))]"},Tt={class:"py-1"},Rt=["onMousedown"],jt={class:"line-clamp-1 font-medium text-[rgb(var(--color-text))]"},Ft={key:0,class:"text-xs text-[rgb(var(--color-text-muted))]"},zt=G({__name:"AppSearch",setup(r){const{t:o}=O(),p=q(),s=je(),{searchTerm:l,results:c,isLoading:g,isFetching:y}=Pt(),w=R(!1),M=R(null),h=m(()=>(c.value?.length??0)>0),S=m(()=>w.value&&l.value.length>=2);function k(){w.value=!0}function v(_){w.value=!1,s.push(p(`/ads/${_.slug}`)),l.value=""}function x(){l.value.length>=2&&(w.value=!0)}function A(){setTimeout(()=>{w.value=!1},150)}function D(){l.value.trim()&&(s.push(p(`/ads?search=${encodeURIComponent(l.value)}`)),w.value=!1)}return(_,b)=>(a(),u("div",{class:"relative w-full",onBlur:A},[t("div",Et,[b[1]||(b[1]=t("span",{class:"pointer-events-none absolute start-3 top-1/2 -translate-y-1/2 text-[rgb(var(--color-text-muted))]"},[t("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})])],-1)),te(t("input",{ref_key:"inputRef",ref:M,"onUpdate:modelValue":b[0]||(b[0]=i=>ye(l)?l.value=i:null),type:"search",autocomplete:"off",class:"w-full rounded-lg border border-[rgb(var(--color-border))] bg-[rgb(var(--color-background))] py-2 pe-10 ps-9 text-sm text-[rgb(var(--color-text))] placeholder-[rgb(var(--color-text-muted))] focus:border-primary-500 focus:outline-none focus:ring-1 focus:ring-primary-500",placeholder:e(o)("common.search"),onFocus:x,onInput:k,onKeydown:ae(D,["enter"])},null,40,Dt),[[Ve,e(l)]]),d(H,{name:"fade"},{default:f(()=>[e(y)?(a(),u("span",Lt)):E("",!0)]),_:1})]),d(H,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:f(()=>[te(t("div",Bt,[e(g)&&!e(h)?(a(),u("div",Nt,n(e(o)("common.loading")),1)):e(l).length>=2&&!e(h)&&!e(y)?(a(),u(N,{key:1},[t("div",It,n(e(o)("common.noResults")),1),t("button",{type:"button",class:"w-full border-t border-[rgb(var(--color-border))] px-4 py-3 text-start text-sm text-primary-600 dark:text-primary-400 hover:bg-[rgb(var(--color-surface))]",onMousedown:V(D,["prevent"])},n(e(o)("common.seeAll")),33)],64)):(a(),u(N,{key:2},[t("ul",Tt,[(a(!0),u(N,null,z(e(c),i=>(a(),u("li",{key:i.id,class:"cursor-pointer border-b border-[rgb(var(--color-border))]/50 px-4 py-3 last:border-0 hover:bg-[rgb(var(--color-surface))] focus:bg-[rgb(var(--color-surface))] focus:outline-none",onMousedown:V($=>v(i),["prevent"])},[t("p",jt,n(i.title),1),i.price!=null?(a(),u("p",Ft,n(i.price.toLocaleStr
2ing())+" "+n(i.currency),1)):E("",!0)],40,Rt))),128))]),t("button",{type:"button",class:"w-full border-t border-[rgb(var(--color-border))] px-4 py-3 text-start text-sm text-primary-600 dark:text-primary-400 hover:bg-[rgb(var(--color-surface))]",onMousedown:V(D,["prevent"])},n(e(o)("common.seeAll")),33)],64))],512),[[ce,e(S)]])]),_:1})],32))}}),Gt={class:"sticky top-0 z-50 border-b border-[rgb(var(--color-border))] bg-[rgb(var(--color-background))] shadow-sm"},Ut={class:"page-shell grid grid-cols-[auto_minmax(0,1fr)_auto] items-center gap-3 py-2.5 md:gap-4 md:py-3"},Ot={class:"flex shrink-0 items-center"},Vt={class:"inline-flex overflow-hidden rounded-lg bg-white/0 shadow-[0_1px_8px_rgba(15,23,42,0.06)] ring-1 ring-black/[0.04] md:rounded-xl md:shadow-[0_2px_12px_rgba(15,23,42,0.08)]"},Ht=["src","alt"],qt={class:"sr-only"},Kt={class:"hidden min-h-0 min-w-0 justify-self-center self-center md:block","aria-label":"Main"},Wt={class:"flex max-w-full list-none flex-wrap items-center justify-center gap-x-0.5 gap-y-1 px-0 [-ms-overflow-style:none] [scrollbar-width:none] md:gap-x-1 [&::-webkit-scrollbar]:hidden"},Yt={key:0},Jt={key:0,"aria-hidden":"true",class:"pointer-events-none absolute -top-1 start-1 rounded-full bg-[#e01b22] px-1.5 py-px text-[9px] font-extrabold leading-4 text-white shadow-sm"},Zt={key:1,class:"invisible absolute start-0 top-full z-50 min-w-[230px] translate-y-1 rounded-xl border border-slate-200 bg-white py-1.5 opacity-0 shadow-lg transition-[opacity,visibility] group-hover:visible group-hover:opacity-100 group-has-[:focus-visible]:visible group-has-[:focus-visible]:opacity-100"},Qt={class:"flex shrink-0 items-center justify-end gap-2 sm:gap-3 md:gap-4"},Xt={class:"order-last flex shrink-0 items-center gap-2 sm:gap-3 md:gap-4"},eo={class:"md:hidden border-t border-[rgb(var(--color-border))] bg-[rgb(var(--color-surface))] px-4 py-3"},to={class:"flex flex-col gap-0.5","aria-label":"Mobile main"},oo={key:0,class:"hidden md:block lg:hidden border-t border-[rgb(var(--color-border))] bg-[rgb(var(--color-surface))]"},so={class:"page-shell flex gap-1 overflow-x-auto py-2 [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden"},ro=["onClick"],ao="/language-school/es-world",no="2026-11-01",re="inline-flex min-h-10 max-w-[10.5rem] items-center justify-center rounded-lg px-1.5 py-2 text-center xl:px-3 text-[13px] font-medium leading-snug text-[rgb(var(--color-text))] transition-colors hover:bg-[rgb(var(--color-surface))] hover:text-primary-600 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 md:text-[14px] dark:hover:text-primary-400",he="bg-primary-600/10 text-primary-700 ring-1 ring-inset ring-primary-500/35 dark:bg-primary-500/15 dark:text-primary-300 dark:ring-primary-400/30",lo=G({__name:"AppHeader",setup(r){const o=[{path:"/guide",labelKey:"nav.dubaiGuide"},{path:"/flight-status",labelKey:"nav.flightStatus"},{path:"/currency",labelKey:"nav.currencyRates"},{path:"/language-school/es-world",labelKey:"nav.languageSchool"},{path:"/news",labelKey:"nav.uaeNews"}],p=[{path:"/flight-status/dubai-to-tehran",fa:"پروازهای دبی به تهران",en:"Dubai to Tehran flights",ar:"رحلات دبي إلى طهران"},{path:"/flight-status/tehran-to-dubai",fa:"پروازهای تهران به دبی",en:"Tehran to Dubai flights",ar:"رحلات طهران إلى دبي"},{path:"/flight-status/dubai-to-istanbul",fa:"پروازهای دبی به استانبول",en:"Dubai to Istanbul flights",ar:"رحلات دبي إلى إسطنبول"},{path:"/flight-status/istanbul-to-dubai",fa:"پروازهای استانبول به دبی",en:"Istanbul to Dubai flights",ar:"رحلات إسطنبول إلى دبي"}],{t:s,locale:l}=O(),c=q(),g=Q(),y=Fe(),w=_e(),{onHomeCategory:M}=Qe();function h(T){return T==="fa"?"/":`/${T}`}const S=m(()=>(g.path.replace(/\/$/,"")||"/")!==h(l.value)),k=m(()=>Date.now()<new Date(`${no}T00:00:00Z`).getTime()),v=m(()=>o.map(T=>({to:c(T.path),label:s(T.labelKey),isNew:k.value&&T.path===ao,submenu:T.path==="/flight-status"?p.map(C=>({to:c(C.path),label:l.value==="en"?C.en:l.value==="ar"?C.ar:C.fa})):[]}))),x=m(()=>l.value==="en"?"View all":l.value==="ar"?"عرض الكل":"مشاهده همه"),A=m(()=>l.value==="en"?"New":l.value==="ar"?"جديد":"جدید");function D(){y.toggleMobileMenu()}function _(){y.toggleSidebar()}function b(){if(window.matchMedia("(min-width: 768px)").matches){y.openProfileDrawer();return}Z(c("/profile"))}function i(T){const C=T.replace(/\/$/,"");return C===""?"/":C}const $=m(()=>i(c("/"))),F=m(()=>i(c("/dashboard"))),oe=m(()=>c("/")),se=m(()=>i(g.path)===$.value),De=m(()=>i(g.path)===F.value),de=m(()=>w.isAuthenticated&&xe(w.user));return(T,C)=>{const B=le,Le=Mt,Be=zt,Ne=Je;return a(),u("header",Gt,[t("div",Ut,[t("div",Ot,[d(B,{to:e(c)("/"),
2class:"inline-flex shrink-0 items-center justify-center self-center rounded-xl transition-opacity hover:opacity-90 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 md:rounded-2xl"},{default:f(()=>[t("span",Vt,[t("img",{src:e(Ze),alt:e(s)("common.brandName"),width:"240",height:"56",class:"h-9 w-auto max-h-10 max-w-[200px] object-contain object-center md:h-11 md:max-h-12 md:max-w-[260px] lg:h-12 lg:max-h-14 lg:max-w-[280px]",decoding:"async"},null,8,Ht)]),t("span",qt,n(e(s)("seo.siteName")),1)]),_:1},8,["to"])]),t("nav",Kt,[t("ul",Wt,[t("li",null,[d(B,{to:oe.value,class:j([re,se.value?he:""])},{default:f(()=>[P(n(e(s)("nav.home")),1)]),_:1},8,["to","class"])]),de.value?(a(),u("li",Yt,[d(B,{to:e(c)("/dashboard"),class:j([re,De.value?he:""])},{default:f(()=>[P(n(e(s)("nav.businessDashboard")),1)]),_:1},8,["to","class"])])):E("",!0),(a(!0),u(N,null,z(v.value,L=>(a(),u("li",{key:L.to,class:"group relative"},[d(B,{to:L.to,class:j(re)},{default:f(()=>[P(n(L.label),1)]),_:2},1032,["to"]),L.isNew?(a(),u("span",Jt,n(A.value),1)):E("",!0),L.submenu.length?(a(),u("div",Zt,[(a(!0),u(N,null,z(L.submenu,K=>(a(),I(B,{key:K.to,to:K.to,class:"block whitespace-nowrap px-4 py-2 text-[13px] font-medium text-slate-700 transition-colors hover:bg-slate-50 hover:text-[#e01b22]"},{default:f(()=>[P(n(K.label),1)]),_:2},1032,["to"]))),128)),d(B,{to:L.to,class:"mt-1 block whitespace-nowrap border-t border-slate-100 px-4 pb-1 pt-2.5 text-[13px] font-bold text-[#e01b22] transition-colors hover:bg-slate-50"},{default:f(()=>[P(n(x.value),1)]),_:1},8,["to"])])):E("",!0)]))),128))])]),t("div",Qt,[d(Le,{class:"shrink-0"}),e(w).isAuthenticated?E("",!0):(a(),u(N,{key:0},[d(B,{to:e(c)("/auth/required-login"),class:"rounded-lg px-3 py-2 text-sm font-medium text-[rgb(var(--color-text-muted))] transition-colors hover:bg-[rgb(var(--color-surface))] hover:text-[rgb(var(--color-text))] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2"},{default:f(()=>[P(n(e(s)("auth.login")),1)]),_:1},8,["to"]),d(B,{to:e(c)("/auth/register"),class:"rounded-lg bg-primary-600 px-3 py-2 text-sm font-medium text-white transition hover:bg-primary-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 dark:bg-primary-500 dark:hover:bg-primary-600"},{default:f(()=>[P(n(e(s)("auth.register")),1)]),_:1},8,["to"])],64)),t("div",Xt,[d(B,{to:e(c)("/ads/create"),class:"hidden min-h-10 items-center justify-center rounded-lg bg-[#e01b22] px-3 py-2 text-sm font-semibold text-white shadow-sm transition hover:bg-[#c4161c] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#e01b22]/50 focus-visible:ring-offset-2 md:inline-flex"},{default:f(()=>[P(n(e(s)("nav.postAd")),1)]),_:1},8,["to"]),e(w).isAuthenticated?(a(),u("button",{key:0,type:"button",class:"hidden min-h-10 cursor-pointer items-center rounded-lg px-3 py-2 text-[13px] font-semibold text-[rgb(var(--color-text))] transition-colors hover:bg-[rgb(var(--color-surface))] hover:text-[#e01b22] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#e01b22]/40 focu
2s-visible:ring-offset-2 md:inline-flex",onClick:b},n(e(s)("nav.profile")),1)):E("",!0)]),e(w).isAuthenticated?(a(),I(B,{key:1,to:e(c)("/profile"),class:"min-h-10 rounded-lg px-2.5 py-2 text-xs font-semibold text-[rgb(var(--color-text))] transition-colors hover:bg-[rgb(var(--color-surface))] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#e01b22]/40 focus-visible:ring-offset-2 md:hidden","aria-label":e(s)("nav.profile")},{default:f(()=>[P(n(e(s)("nav.profile")),1)]),_:1},8,["to","aria-label"])):E("",!0),t("button",{type:"button",class:"md:hidden flex min-h-10 min-w-10 items-center justify-center rounded-lg text-[rgb(var(--color-text))] hover:bg-[rgb(var(--color-surface))] focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2","aria-label":"Toggle sidebar",onClick:_},[...C[5]||(C[5]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h16"})],-1)])]),t("button",{type:"button",class:"md:hidden flex min-h-10 min-w-10 items-center justify-center rounded-lg text-[rgb(var(--color-text))] hover:bg-[rgb(var(--color-surface))] focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2","aria-label":"Toggle menu",onClick:D},[...C[6]||(C[6]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16m-7 6h7"})],-1)])])])]),d(H,{"enter-active-class":"transition ease-out duration-200","enter-from-class":"opacity-0 -translate-y-2","enter-to-class":"opacity-100 translate-y-0","leave-active-class":"transition ease-in duration-150","leave-from-class":"opacity-100 translate-y-0","leave-to-class":"opacity-0 -translate-y-2"},{default:f(()=>[te(t("div",eo,[d(Ne,null,{fallback:f(()=>[...C[7]||(C[7]=[t("div",{class:"relative w-full mb-3","aria-hidden":"true"},null,-1)])]),default:f(()=>[d(Be,{class:"mb-3"})]),_:1}),t("nav",to,[d(B,{to:e(c)("/"),class:"min-h-11 rounded-lg px-3 py-3 text-[rgb(var(--color-text))] hover:bg-[rgb(var(--color-background))] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-inset",onClick:C[0]||(C[0]=L=>e(y).toggleMobileMenu())},{default:f(()=>[P(n(e(s)("nav.home")),1)]),_:1},8,["to"]),de.value?(a(),I(B,{key:0,to:e(c)("/dashboard"),class:"min-h-11 rounded-lg px-3 py-3 text-[rgb(var(--color-text))] hover:bg-[rgb(var(--color-background))] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-inset",onClick:C[1]||(C[1]=L=>e(y).toggleMobileMenu())},{default:f(()=>[P(n(e(s)("nav.businessDashboard")),1)]),_:1},8,["to"])):E("",!0),(a(!0),u(N,null,z(v.value,L=>(a(),I(B,{key:L.to,to:L.to,class:"min-h-11 rounded-lg px-3 py-3 text-[rgb(var(--color-text))] hover:bg-[rgb(var(--color-background))] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-inset",onClick:C[2]||(C[2]=K=>e(y).toggleMobileMenu())},{default:f(()=>[P(n(L.label),1)]),_:2},1032,["to"]))),128)),d(B,{to:e(c)("/help-support"),class:"min-h-11 rounded-lg px-3 py-3 text-[rgb(var(--color-text))] hover:bg-[rgb(var(--color-background))] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-inset",onClick:C[3]||(C[3]=L=>e(y).toggleMobileMenu())},{default:f(()=>[P(n(e(s)("nav.help")),1)]),_:1},8,["to"]),d(B,{to:e(c)("/ads/create"),class:"min-h-11 rounded-lg px-3 py-3 font-semibold text-[#e01b22] hover:bg-[rgb(var(--color-background))] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#e01b22]/40 focu
2s-visible:ring-inset",onClick:C[4]||(C[4]=L=>e(y).toggleMobileMenu())},{default:f(()=>[P(n(e(s)("nav.postAd")),1)]),_:1},8,["to"])])],512),[[ce,e(y).isMobileMenuOpen]])]),_:1}),S.value?(a(),u("div",oo,[t("div",so,[(a(!0),u(N,null,z(e(ot),L=>(a(),u("button",{key:`strip-${L.slug}`,type:"button",class:"shrink-0 rounded-full px-3 py-1.5 text-[13px] font-medium text-[rgb(var(--color-text))] transition hover:bg-[rgb(var(--color-background))] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2",onClick:K=>e(M)(L)},n(e(s)(L.labelKey)),9,ro))),128))])])):E("",!0)])}}}),io={key:0,class:"page-shell pb-8"},co=G({__name:"CategorySeoSection",setup(r){const o=Q(),p=m(()=>{const s=o.path.replace(/^\/(en|ar)(?=\/|$)/,"")||"/";if(s==="/doctors"||s.startsWith("/doctors?"))return null;const l=s.replace(/\/+$/,"").slice(1);return l&&pe[l]?pe[l]:null});return(s,l)=>{const c=st;return e(p)?(a(),u("div",io,[d(c,{content:e(p)},null,8,["content"])])):E("",!0)}}}),uo={class:"mt-auto border-t border-slate-200/80 bg-gradient-to-b from-slate-50 via-white to-white dark:border-slate-800 dark:from-slate-950 dark:via-slate-950 dark:to-slate-900"},po={class:"hidden border-b border-slate-200/80 bg-[linear-gradient(135deg,#fff5f5_0%,#f8fafc_55%,#ffffff_100%)] md:block dark:border-slate-800 dark:bg-[linear-gradient(135deg,#1a0a0a_0%,#0f172a_55%,#020617_100%)]"},bo={class:"page-shell flex flex-nowrap items-center justify-between gap-6 py-10",dir:"ltr"},mo={class:"flex shrink-0 flex-nowrap gap-4"},go=["aria-label"],fo=["alt"],ho=["aria-label"],vo=["alt"],_o=["dir"],xo={class:"page-shell py-12 md:py-14"},yo={class:"grid gap-10 md:grid-cols-2 lg:grid-cols-12 lg:gap-8"},wo={class:"flex flex-col gap-4 lg:col-span-4"},ko={class:"max-w-sm text-sm leading-7 text-[rgb(var(--color-text-muted))]"},Ao={class:"lg:col-span-2"},$o={class:"mb-4 text-xs font-bold uppercase tracking-[0.14em] text-[rgb(var(--color-text-muted))]"},So={class:"flex flex-col gap-3"},Co={class:"lg:col-span-3"},Mo={class:"mb-4 text-xs font-bold uppercase tracking-[0.14em] text-[rgb(var(--color-text-muted))]"},Po={class:"flex flex-col gap-3"},Eo={class:"lg:col-span-3"},Do={class:"mb-4 text-xs font-bold uppercase tracking-[0.14em] text-[rgb(var(--color-text-muted))]"},Lo={class:"flex flex-col gap-3"},Bo={class:"mb-4 mt-8 text-xs font-bold uppercase tracking-[0.14em] text-[rgb(var(--color-text-muted))]"},No={class:"flex gap-3"},Io=["aria-label"],To=["aria-label"],Ro={class:"mt-12 flex flex-col items-center justify-between gap-3 border-t border-slate-200/80 pt-6 text-center text-sm text-[rgb(var(--color-text-muted))] md:flex-row md:text-start dark:border-slate-800"},jo={class:"flex flex-col gap-2 py-2"},Fo=["href"],zo={dir:"ltr",class:"unicode-bidi-plaintext"},Go=["href"],Uo=["href"],Oo="https://play.google.com/store/apps/details?id=ae.gooyadubai.app",Vo="https://apps.apple.com/gb/app/gooya-dubai/id6755238616",Ho="https://www.instagram.com/gooya_dubai/",Y="https://wa.me/971502616831",qo="https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png",Ko="https://upload.wikimedia.org/wikipedia/commons/3/3c/Download_on_the_App_Store_Badge.svg",Wo=G({__name:"AppFooter",setup(r){const{t:o,locale:p}=O(),s=q(),{$api:l}=ne(),c=m(()=>p.value==="fa"||p.value==="ar"),g=m(()=>new Date().getFullYear()),y=m(()=>[{to:s("/guide"),label:o("nav.dubaiGuide")},{to:s("/currency"),label:o("currency.title")},{to:s("/flight-status"),label:o("nav.flightStatus")},{to:s("/hotels"),label:o("nav.hotelBooking")}]),w=m(()=>[{to:s("/help-support"),label:o("profileMenu.help")},{to:s("/verification"),label:o("verification.title")},{to:s("/terms"),label:o("profileMenu.terms")},{to:s("/privacy"),label:o("profileMenu.privacy")}]),M=m(()=>[{to:s("/app"),label:o("nav.downloadApp")},{to:s("/ads/create"),label:o("nav.postAd")},{to:s("/news"),label:o("news.title")}]),h=R(!1),S=R("+971502616831"),k=R("[email protected]"),v=R(Y),x=m(()=>be(S.value)),A=m(()=>`tel:${x.value.replace(/\s/g,"")}`);return ue(h,async D=>{if(D)try{const b=await l("/support/contact-info/public/"),i=b&&typeof b=="object"&&"data"in b&&b.data&&typeof b.data=="object"?b.data:b??{};i.phone&&(S.value=be(String(i.phone))),i.email&&(k.value=String(i.email).trim());let $=i.whatsapp_link?String(i.whatsapp_link).trim():"";if(!$&&i.whatsapp_number){const F=String(i.whatsapp_number).replace(/[\s+]/g,"");F&&($=`https://wa.me/${F}`)}v.value=$||Y}catch{v.value=Y}}),(D,_)=>{const b=le;return a(),u("footer",uo,[t("div",po,[t("div",bo,[t("div",mo,[t("a",{href:Oo,target:"_blank",rel:"noopener noreferrer",class:"inline-flex h-[52px] w-[168px] shrink-0 items-center justify-center rounded-xl bg-white/80 shadow-sm ring-1 ring-slate-200/80 transition hover:-translate-y-0.5 hover:shadow-md md:h-14 md:w-[180px] dark:bg-slate-900/60 dark:ring-slate-700","aria-label":e(o)("footer.googlePlayAria")},[t("img",{src:qo,alt:e(o)("common.getOnGooglePlay"),width:"646",height:"250",class:"max-h-full max-w-full object-contain object-center",loading:"lazy",decoding:"async"},null,8,fo)],8,go),t("a",{href:Vo,target:"_blank",rel:"noopener noreferrer",class:"inline-flex h-[52px] w-[168px] shrink-0 items-center justify-center rounded-xl bg-white/80 shadow-sm ring-1 ring-slate-200/80 transition hover:-translate-y-0.5 hover:shadow-md md:h-14 md:w-[180px] dark:bg-slate-900/60 dark:ring-slate-700","aria-label":e(o)("footer.appStoreAria")},[t("img",{src:Ko,alt:e(o)("common.downloadOnAppStore"),width:"120",height:"40",class:"max-h-full max-w-full object-contain object-center dark:brightness-[1.08]",loading:"lazy",decoding:"async"},null,8,vo)],8,ho)]),t("p",{class:"min-w-0 text-right text-sm text-[rgb(var(--color-text))] md:text-base lg:shrink-0 lg:text-nowrap",dir:e(c)?"rtl":"ltr"},n(e(o)("footer.appDownloadCta")),9,_o)])]),t("div",xo,[t("div",yo,[t("div",w
2o,[d(b,{to:e(s)("/"),class:"inline-flex w-fit text-2xl font-bold text-[#E11B22] transition-colors hover:text-[#c0161c]"},{default:f(()=>[P(n(e(o)("seo.siteName")),1)]),_:1},8,["to"]),t("p",ko,n(e(o)("footer.aboutDescription")),1)]),t("div",Ao,[t("h3",$o,n(e(o)("nav.footerLinks")),1),t("ul",So,[(a(!0),u(N,null,z(e(M),i=>(a(),u("li",{key:i.to},[d(b,{to:i.to,class:"text-sm font-medium text-[rgb(var(--color-text))] transition-colors hover:text-[#E11B22]"},{default:f(()=>[P(n(i.label),1)]),_:2},1032,["to"])]))),128))])]),t("div",Co,[t("h3",Mo,n(e(o)("nav.dubaiGuide")),1),t("ul",Po,[(a(!0),u(N,null,z(e(y),i=>(a(),u("li",{key:i.to},[d(b,{to:i.to,class:"text-sm font-medium text-[rgb(var(--color-text))] transition-colors hover:text-[#E11B22]"},{default:f(()=>[P(n(i.label),1)]),_:2},1032,["to"])]))),128))])]),t("div",Eo,[t("h3",Do,n(e(o)("nav.help")),1),t("ul",Lo,[t("li",null,[t("button",{type:"button",class:"text-sm font-medium text-[rgb(var(--color-text))] transition-colors hover:text-[#E11B22]",onClick:_[0]||(_[0]=i=>h.value=!0)},n(e(o)("profileMenu.contactUs")),1)]),(a(!0),u(N,null,z(e(w),i=>(a(),u("li",{key:i.to},[d(b,{to:i.to,class:"text-sm font-medium text-[rgb(var(--color-text))] transition-colors hover:text-[#E11B22]"},{default:f(()=>[P(n(i.label),1)]),_:2},1032,["to"])]))),128))]),t("h3",Bo,n(e(o)("nav.social")),1),t("div",No,[t("a",{href:Ho,target:"_blank",rel:"noopener noreferrer",class:"flex h-10 w-10 items-center justify-center rounded-full border border-slate-200 bg-white text-slate-600 shadow-sm transition hover:-translate-y-0.5 hover:border-pink-300 hover:bg-pink-50 hover:text-pink-600 dark:border-slate-700 dark:bg-slate-900 dark:text-slate-300 dark:hover:border-pink-700 dark:hover:bg-pink-950/40 dark:hover:text-pink-400","aria-label":e(o)("footer.instagramAria")},[..._[3]||(_[3]=[t("svg",{class:"h-5 w-5",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},[t("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"})],-1)])],8,Io),t("a",{href:Y,target:"_blank",rel:"noopener noreferrer",class:"flex h-10 w-10 items-center justify-center rounded-full border border-slate-200 bg-white text-slate-600 shadow-sm transition hover:-translate-y-0.5 hover:border-emerald-300 hover:bg-emerald-50 hover:text-emerald-600 dark:border-slate-700 dark:bg-slate-900 dark:text-slate-300 dark:hover:border-emerald-700 dark:hover:bg-emerald-950/40 dark:hover:text-emerald-400","aria-label":e(o)("footer.whatsappAria")},[..._[4]||(_[4]=[t("svg",{class:"h-5 w-5",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},[t("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"})],-1)])],8,To)])])]),t("div",Ro,[t("p",null,"© "+n(e(g))+" "+n(e(o)("seo.siteName"))+". "+n(e(o)("nav.copyright")),1)])]),d(e(at),{open:e(h),"onUpdate:open":_[2]||(_[2]=i=>ye(h)?h.value=i:null)},{default:f(()=>[d(e(nt),{class:"sm:max-w-md",dir:"rtl"},{default:f(()=>[d(e(lt),null,{default:f(()=>[d(e(it),null,{default:f(()=>[P(n(e(o)("profileMenu.contactDialogTitle")),1)]),_:1}),d(e(ct),null,{default:f(()=>[P(n(e(o)("profileMenu.contactDialogHours")),1)]),_:1})]),_:1}),t("div",jo,[t("a",{href:e(A),class:"flex w-full items-center justify-center rounded-lg bg-[#E53E3E] py-3 text-sm font-semibold text-white"},[t("span",zo,n(e(x)),1)],8,Fo),t("a",{href:e(v)||Y,target:"_blank",rel:"noopener noreferrer",class:"flex w-full items-center justify-center rounded-lg bg-[#25D366] py-3 text-sm font-semibold text-white"},n(e(o)("profileMenu.whatsapp")),9,Go),t("a",{href:`mailto:${e(k)}?subject=${encodeURIComponent(String(e(o)("profileMenu.mailSubject")))}`,class:"flex w-full items-center justify-center rounded-lg bg-[#1A202C] py-3 text-sm font-semibold text-white",dir:"ltr"},n(e(k)),9,Uo)]),d(e(ut),null,{default:f(()=>[d(e(rt),{variant:"outline",class:"w-full",onClick:_[1]||(_[1]=i=>h.value=!1)},{default:f(()=>[P(n(e(o)("common.close")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["open"])])}}}),Pe="wc_campaign_banner_dismissed_ids";function Yo(r){if(!r||typeof r!="object")return null;const o=Number(r.id);return!Number.isFinite(o)||o<=0?null:{id:o,placement:String(r.placement||""),is_active:r.is_active!==!1,title:String(r.title||"").trim(),subtitle:String(r.subtitle||"").trim(),cta_text:String(r.cta_text||"").trim(),image_url:String(r.image_url||"").trim(),target_type:String(r.target_type||"none").trim().toLowerCase(),target_value:String(r.target_value||"").trim(),bg_color:String(r.bg_color||"#FFF9EC").trim(),title_color:String(r.title_color||"#151518").trim(),subtitle_color:String(r.subtitle_color||"#6B7280").trim(),cta_bg_color:String(r.cta_bg_color||"#E3B23C").trim(),cta_text_color:String(r.cta_text_color||"#FFFFFF").trim(),dismissible:r.dismissible!==!1,priority:Number(r.priority||0),platforms:Array.isArray(r.platforms)?r.platforms.map(p=>String(p)):[]}}function ve(){try{const r=sessionStorage.getItem(Pe);if(!r)return new Set;const o=JSON.parse(r);return Array.isArray(o)?new Set(o.map(p=>Number(p)).filter(p=>Number.isFinite(p)&&p>0)):new Set}catch{return new Set}}function Jo(r){try{sessionStorage.setItem(Pe,JSON.stringify(Array.from(r)))}catch{}}function Ee(){const r=Q(),o=q(),{$api:p}=ne(),{locale:s}=O(),l=U("wc-banner-data",()=>null),c=U("wc-banner-dismissed",()=>!1),g=U("wc-banner-started",()=>!1),y=U("wc-banner-locale",()=>""),w=m(()=>o("/").replace(/\/+$/,"")||"/"),M=m(()=>(r.path.replace(/\/+$/,"")||"/")===w.value),h=m(()=>!!l.value&&!c.value&&M.value);async function S(){const v=String(s.value||"fa");if(!(g.value&&y.value===v)){g.value=!0,y.value=v;try{const x=await p("/campaign-banner/active/",{query:{placement:"home_above_nav",platform:"web",lang:v}}),A=Yo(x?.banner),D=ve();l.value=A,c.value=!!A&&D.has(A.id)}catch{l.value=null,c.value=!1}}}function k(){const v=l.value?.id;if(v){const x=ve();x.add(v),Jo(x)}c.value=!0}return{banner:l,visible:h,dismiss:k,init:S}
2}const Zo={key:0,class:"fixed inset-x-0 z-40 md:hidden",style:{bottom:"calc(60px + env(safe-area-inset-bottom, 0px))"},dir:"rtl"},Qo=["onKeydown"],Xo={class:"flex h-[38px] w-[38px] shrink-0 items-center justify-center rounded-[9px] bg-[#151518] p-1"},es=["src","alt"],ts={class:"min-w-0 flex-1"},os=G({__name:"WorldCupCampaignBanner",setup(r){const o=q(),p=Ge(),{banner:s,visible:l,dismiss:c,init:g}=Ee(),{capture:y}=dt(),{locale:w}=O();ie(g),ue(w,()=>{g()});const M=m(()=>s.value?.image_url?ze(s.value.image_url,p.public.apiBase):""),h=m(()=>({backgroundColor:s.value?.bg_color||"#FFF9EC",borderTopColor:s.value?.bg_color||"#FFF9EC"})),S=m(()=>({color:s.value?.title_color||"#151518"})),k=m(()=>({color:s.value?.subtitle_color||"#6B7280"})),v=m(()=>({backgroundColor:s.value?.cta_bg_color||"#E3B23C",color:s.value?.cta_text_color||"#FFFFFF"}));function x(){const A=s.value;if(A){if(y("prediction_banner_click",{placement:"mobile_bottom"}),A.target_type==="route"&&A.target_value){const D=A.target_value.startsWith("/")?A.target_value:`/${A.target_value}`;Z(o(D));return}if(A.target_type==="url"&&A.target_value){window.location.href=A.target_value;return}Z(o("/world-cup-predictions/leaderboard"))}}return(A,D)=>(a(),I(H,{name:"wc-banner"},{default:f(()=>[e(l)?(a(),u("div",Zo,[t("div",{role:"button",tabindex:"0",class:"flex w-full items-center gap-2.5 border-t py-2 pe-1.5 ps-3 text-right",style:J(e(h)),onClick:x,onKeydown:[ae(V(x,["prevent"]),["enter"]),ae(V(x,["prevent"]),["space"])]},[t("span",Xo,[e(M)?(a(),u("img",{key:0,src:e(M),alt:e(s)?.title||"campaign banner",class:"h-full w-full object-contain"},null,8,es)):(a(),I(e(qe),{key:1,class:"h-5 w-5 text-[#D4AF37]"}))]),t("span",ts,[t("span",{class:"block truncate text-[13px] font-extrabold",style:J(e(S))},n(e(s)?.title),5),e(s)?.subtitle?(a(),u("span",{key:0,class:"block truncate text-[11px]",style:J(e(k))},n(e(s).subtitle),5)):E("",!0)]),e(s)?.cta_text?(a(),u("span",{key:0,class:"shrink-0 rounded-[20px] px-[14px] py-[7px] text-[12px] font-extrabold",style:J(e(v))},n(e(s).cta_text),5)):E("",!0),e(s)?.dismissible!==!1?(a(),u("button",{key:1,type:"button","aria-label":"dismiss",class:"shrink-0 p-1.5 text-[#6B7280]",onClick:D[0]||(D[0]=V((..._)=>e(c)&&e(c)(..._),["stop","prevent"]))},[d(e(ke),{class:"h-[18px] w-[18px]"})])):E("",!0)],44,Qo)])):E("",!0)]),_:1}))}}),ss=Ae(os,[["__scopeId","data-v-e98a5dd9"]]),rs="/_nuxt/dashboard.DSUGsiS0.png",as="/_nuxt/dubai.60EiDoKL.png",ns="/_nuxt/home.DxZCilBB.png",ls="/_nuxt/profile.Ce_NPE9K.png",is="/_nuxt/save.BCmbDj8r.png",cs=["dir"],us={class:"flex items-end justify-around px-0 py-[9px] pb-[calc(9px+env(safe-area-inset-bottom,0px))]"},ds={class:"flex h-8 w-8 items-center justify-center rounded-full bg-[#E53E3E] shadow-sm"},ps={class:"mt-[5px] text-[11px] font-medium text-gray-500"},bs=["src","alt"],ms=G({__name:"BottomNav",setup(r){const o=W(rs),p=W(as),s=W(ns),l=W(ls),c=W(is),{t:g}=O(),{pageDir:y}=we(),w=Q(),M=_e(),h=q(),S=m(()=>[{id:"business-explore",to:h("/"),label:g("nav.businessExplore"),img:s},{id:"business-dashboard",to:h("/dashboard"),label:g("nav.businessDashboard"),img:o},{to:h("/ads/create"),label:g("nav.postAd"),id:"post",isCenter:!0,requiresAuth:!0},{to:h("/guide"),label:g("nav.dubaiGuide"),id:"guide",img:p},{to:h("/profile"),label:g("nav.profile"),id:"profile",img:l,requiresAuth:!0}]),k=m(()=>[{to:h("/"),label:g("nav.home"),id:"home",img:s},{to:h("/favorites"),label:g("nav.saved"),id:"saved",img:c,requiresAuth:!0},{to:h("/ads/create"),label:g("nav.postAd"),id:"post",isCenter:!0,requiresAuth:!0},{to:h("/guide"),label:g("nav.dubaiGuide"),id:"guide",img:p},{to:h("/profile"),label:g("nav.profile"),id:"profile",img:l,requiresAuth:!0}]),v=m(()=>M.isAuthenticated&&xe(M.user)?S.value:k.value);function x(_){const b=_.replace(/\/$/,"");return b===""?"/":b}function A(_){const b=x(w.path),i=typeof _.to=="string"?_.to:x(_.to.path),$=x(h("/")),F=x(h("/dashboard"));return _.id==="business-dashboard"?b===F:_.id==="business-explore"?b===$:_.id==="home"?b===i:_.id==="post"?b===i||b.startsWith(`${i}/`)||b.includes("/ads/create"):b===i||b.startsWith(`${i}/`)}
2async function D(_,b){const i=typeof b.to=="string"?b.to:b.to.path;b.requiresAuth&&!M.isAuthenticated&&(_.preventDefault(),await Z({path:h("/auth/required-login"),query:{redirect:i}}))}return(_,b)=>{const i=le;return a(),u("nav",{class:"fixed inset-x-0 bottom-0 z-50 border-t border-gray-200 bg-white md:hidden",dir:e(y)},[t("div",us,[(a(!0),u(N,null,z(e(v),$=>(a(),I(i,{key:$.id,to:$.to,class:j(["flex min-w-0 flex-1 flex-col items-center",[$.isCenter?"relative -mt-6 max-w-[64px] flex-none":"",!$.isCenter&&A($)?"text-[#E53E3E]":$.isCenter?"":"text-gray-400"]]),onClick:F=>D(F,$)},{default:f(()=>[$.isCenter?(a(),u(N,{key:0},[t("span",ds,[d(e(Ke),{class:"h-5 w-5 text-white","stroke-width":2.5})]),t("span",ps,n($.label),1)],64)):(a(),u(N,{key:1},[t("img",{src:$.img,alt:$.label,class:"h-6 w-6 object-contain transition-all duration-200",style:J(A($)?{filter:"brightness(0) saturate(100%) invert(36%) sepia(89%) saturate(2476%) hue-rotate(343deg) brightness(93%) contrast(92%)"}:{filter:"brightness(0) saturate(100%) invert(55%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(95%) contrast(90%)"})},null,12,bs),t("span",{class:j(["mt-[5px] max-w-full truncate text-[11px] font-medium",A($)?"text-[#E53E3E]":"text-gray-400"])},n($.label),3)],64))]),_:2},1032,["to","class","onClick"]))),128))])],8,cs)}}}),gs=ee(()=>X(()=>import("./DZ6zgc-J.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]),import.meta.url).then(r=>r.default||r)),fs=ee(()=>X(()=>import("./Cn7fHZh4.js"),__vite__mapDeps([26,27,2,3,4,25]),import.meta.url).then(r=>r.default||r)),hs=ee(()=>X(()=>import("./C8ruQou2.js"),__vite__mapDeps([28,2,3,4,24,13,25]),import.meta.url).then(r=>r.default||r)),vs=ee(()=>X(()=>import("./DfqUrezJ.js"),__vite__mapDeps([29,30,2,13,25,31,3,4,32]),import.meta.url).then(r=>r.default||r)),_s=ee(()=>X(()=>import("./CQAZmYKt.js"),__vite__mapDeps([33,2,3,4,34,35,32,24,13,25]),import.meta.url).then(r=>r.default||r)),Vs=G({__name:"default",setup(r){const{showModal:o,closeModal:p}=Xe(),{showModal:s,closeModal:l}=et(),{showModal:c,closeModal:g}=pt(),{showModal:y,closeModal:w}=tt(),{visible:M}=Ee(),{visible:h}=Me();return(S,k)=>{const v=$t,x=lo,A=gs,D=co,_=Wo,b=ss,i=ms,$=fs,F=hs,oe=vs,se=_s;return a(),u("div",{class:j(["min-h-screen bg-[rgb(var(--color-background))] text-[rgb(var(--color-text))] flex flex-col",[e(Ce),e(h)?"pt-[56px] md:pt-0":""]])},[d(v),d(x,{class:"hidden md:block"}),d(A),t("main",{class:j(["flex-1 md:pb-0",e(M)?"pb-[136px]":"pb-20"])},[He(S.$slots,"default"),d(D)],2),d(_,{class:"hidden md:block mt-auto"}),d(b),d(i),e(o)?(a(),I($,{key:0,onClose:e(p)},null,8,["onClose"])):E("",!0),e(s)?(a(),I(F,{key:1,onClose:e(l)},null,8,["onClose"])):E("",!0),e(c)?(a(),I(oe,{key:2,onClose:e(g)},null,8,["onClose"])):E("",!0),e(y)?(a(),I(se,{key:3,onClose:e(w)},null,8,["onClose"])):E("",!0)],2)}}});export{Vs 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.