PageSourceSearch

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

js gooyadubai.ae collected 2026-09-24 14:29:01 UTC 46,535 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/_nuxt/C7lkPNBT.js","/_nuxt/CVoKLib-.js","/_nuxt/-DLWNC6n.js","/_nuxt/Bgb7k7C8.js","/_nuxt/entry.DGRKrywB.css","/_nuxt/_-IzBapm.js","/_nuxt/Xq-tkkbV.js","/_nuxt/Fbsio-WS.js","/_nuxt/CKrLUiEU.js","/_nuxt/I5z846HX.js","/_nuxt/poOW0nuE.js","/_nuxt/C90W3vFq.js","/_nuxt/CfVdlt2c.js","/_nuxt/KXDfhFVj.js","/_nuxt/BX4v9dxa.js","/_nuxt/CbH07I4k.js","/_nuxt/CxCcfHXN.js","/_nuxt/CusR1y-b.js","/_nuxt/CQ2qTguw.js","/_nuxt/Dw8tTD9R.js","/_nuxt/XPbWMILr.js","/_nuxt/CaAFzvOw.js","/_nuxt/0AQYRYF8.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{ak as Te,o as U,p as Fe,b as _e,u as q,f as Q,n as Z,m as ae,a as V,y as Re,F as je,k as xe,_ as le,x as ye,c as ze,r as Ge,i as qe,h as X}from"#entry";import{c as d,d as G,b as ie,e as r,f as T,i as _,u as e,z as i,an as F,Q as t,B as a,j as g,D as M,ae as H,E as Ue,P as te,F as N,G as I,az as ce,r as j,w as ue,aw as Oe,as as He,k as ne,v as we,C as O,A as P,Z as J,l as Ve,ai as ee}from"./-DLWNC6n.js";import{u as ke}from"./PGcPv1Ux.js";import{X as $e,bh as Ke,aS as We}from"./EBY1djgu.js";import{_ as Ae}from"./DlAUqK2U.js";import{q as Ye}from"./CxCcfHXN.js";import{c as Je}from"./Dh5mzWV7.js";import{_ as Ze}from"./CVoKLib-.js";import{l as Qe}from"./ChUTPxTv.js";import{u as Xe,a as et,b as tt,c as ot}from"./By3kTgl5.js";import{H as st}from"./BuxlbRQ6.js";import{a as pe}from"./VUPNgwFK.js";import{_ as rt}from"./CVxDngRZ.js";import{c as nt,_ as at,a as lt,b as it}from"./_-IzBapm.js";import{_ as ct}from"./Fbsio-WS.js";import{_ as ut}from"./CKrLUiEU.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=Te("/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,Se="gooya_app_banner_dismissed_until",Ce="app-install-banner",Ee="app-banner-space",mt=`html[data-app-banner="off"] .${Ce}{display:none!important}html[data-app-banner="off"] .${Ee}{padding-top:0!important}`,gt=`(function(){try{var d=document.documentElement,u=navigator.userAgent||'';var m=document.cookie.match(/(?:^|;\\s*)${Se}=([^;]*)/);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 n=navigator.userAgent||"",o=typeof navigator.maxTouchPoints=="number"&&navigator.maxTouchPoints>1;return/iPhone|iPad|iPod/.test(n)||o&&/Macintosh/.test(n)?"ios":/Android/.test(n)?"android":"other"}function Me(){const n=U("app-banner-platform",()=>fe()),o=Fe(Se,{maxAge:ge*86400,sameSite:"lax",default:()=>null}),p=U("app-banner-mounted",()=>!1),s=d(()=>p.value?(n.value==="ios"||n.value==="android")&&!(Number(o.value)>Date.now()):!0);function l(){n.value=fe(),p.value=!0}function c(){o.value=Date.now()+ge*864e5,document.documentElement.setAttribute("data-app-banner","off")}const b=d(()=>n.value==="ios"?me.ios:me.android);return{platform:n,visible:s,storeUrl:b,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"],$t=G({__name:"AppInstallBanner",setup(n){const{visible:o,platform:p,storeUrl:s,init:l,dismiss:c}=Me();_e({style:[{innerHTML:mt,tagPriority:"critical"}],script:[{innerHTML:gt,tagPriority:"critical"}]});const{labelText:b,pageDir:y,textAlign:k}=ke();ie(l);const C=d(()=>p.value==="ios");return(h,A)=>(r(),T(H,{name:"app-banner"},{default:_(()=>[e(o)?(r(),i("div",{key:0,class:F([e(Ce),"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(C)?e(b)("دریافت اپلیکیشن گویا دبی از App Store","Get the Gooya Dubai app on the App Store","حمّل تطبيق جويا دبي من App Store"):e(b)("دریافت اپلیکیشن گویا دبی از Google Play","Get the Gooya Dubai app on Google Play","حمّل تطبيق جويا دبي من Google Play"),class:"flex min-w-0 flex-1 items-center gap-2",onClick:A[0]||(A[0]=(...v)=>e(c)&&e(c)(...v))},[A[2]||(A[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:F(["min-w-0 flex-1",e(k)])},[t("span",_t,a(e(b)("اپلیکیشن گویا دبی","Gooya Dubai app","تطبيق جويا دبي")),1),t("span",xt,a(e(b)("سریع‌تر، راحت‌تر و رایگان","Faster, easier and free","أسرع وأسهل ومجاني")),1)],2),t("img",{src:e(C)?"/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,a(e(b)("دریافت","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(b)("بستن","Close","إغلاق"),onClick:A[1]||(A[1]=(...v)=>e(c)&&e(c)(...v))},[g(e($e),{class:"h-4 w-4"})],8,kt)])],10,ft)):M("",!0)]),_:1}))}}),At=Ae($t,[["__scopeId","data-v-73021216"]]),St=["aria-expanded"],Ct=["aria-selected","onClick"],Et=G({__name:"LanguageSwitcher",setup(n){const{locale:o,locales:p,setLocale:s}=q(),l=j(!1),c=j(null),b=j(null),y=d(()=>{const v=p.value;return v.find(m=>m.code===o.value)??v[0]}),k=Q(),C=U("hreflang-locale-urls",()=>({path:"",urls:{}}));function h(v){l.value=!1;const m=C.value.path===k.path?C.value.urls[v]:"";if(m){Z(new URL(m).pathname+k.hash);return}s(v)}function A(v){const m=v.target;b.value?.contains(m)||c.value?.contains(m)||(l.value=!1)}return ie(()=>{document.addEventListener("click",A)}),Ue(()=>{document.removeEventListener("click",A)}),(v,m)=>(r(),i("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:m[0]||(m[0]=w=>l.value=!e(l))},[t("span",null,a(e(y)?.name??e(o)),1),(r(),i("svg",{xmlns:"http://www.w3.org/2000/svg",class:F(["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"},[...m[1]||(m[1]=[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2))],8,St),g(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:_(()=>[te(t("div",{ref_key:"dropdownRef",ref:b,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"},[(r(!0),i(N,null,I(e(p),w=>(r(),i("button",{key:w.code,type:"button",role:"option",class:F(["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)===w.code?"font-medium text-primary-600 dark:text-primary-400":"text-[rgb(var(--color-text))]"]),"aria-selected":e(o)===w.code,onClick:$=>h(w.code)},a(w.name),11,Ct))),128))],512),[[ce,e(l)]])]),_:1})],512))}});function Mt(){const{$api:n}=ae(),o=j(""),p=j(""),s=Je(c=>{p.value=c},300);ue(o,c=>s(c));const l=Oe({queryKey:d(()=>Ye.ads.list({search:p.value})),queryFn:()=>n("/ads/",{query:{search:p.value,page_size:10}}),enabled:d(()=>p.value.length>=2)});return{searchTerm:o,results:d(()=>l.data.value?.results??[]),isLoading:l.isLoading,isFetching:l.isFetching}}const Pt={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"},Nt={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"},Bt={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"},Ft=["onMousedown"],Rt={class:"line-clamp-1 font-medium text-[rgb(var(--color-text))]"},jt={key:0,class:"text-xs text-[rgb(var(--color-text-muted))]"},zt=G({__name:"AppSearch",setup(n){const{t:o}=q(),p=V(),s=Re(),{searchTerm:l,results:c,isLoading:b,isFetching:y}=Mt(),k=j(!1),C=j(null),h=d(()=>(c.value?.length??0)>0),A=d(()=>k.value&&l.value.length>=2);function v(){k.value=!0}function m(x){k.value=!1,s.push(p(`/ads/${x.slug}`)),l.value=""}function w(){l.value.length>=2&&(k.value=!0)}function $(){setTimeout(()=>{k.value=!1},150)}function D(){l.value.trim()&&(s.push(p(`/ads?search=${encodeURIComponent(l.value)}`)),k.value=!1)}return(x,f)=>(r(),i("div",{class:"relative w-full",onBlur:$},[t("div",Pt,[f[1]||(f[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:C,"onUpdate:modelValue":f[0]||(f[0]=u=>we(l)?l.value=u: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:w,onInput:v,onKeydown:ne(D,["enter"])},null,40,Dt),[[He,e(l)]]),g(H,{name:"fade"},{default:_(()=>[e(y)?(r(),i("span",Lt)):M("",!0)]),_:1})]),g(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:_(()=>[te(t("div",Nt,[e(b)&&!e(h)?(r(),i("div",Bt,a(e(o)("common.loading")),1)):e(l).length>=2&&!e(h)&&!e(y)?(r(),i(N,{key:1},[t("div",It,a(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:O(D,["prevent"])},a(e(o)("common.seeAll")),33)],64)):(r(),i(N,{key:2},[t("ul",Tt,[(r(!0),i(N,null,I(e(c),u=>(r(),i("li",{key:u.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:O(S=>m(u),["prevent"])}
2,[t("p",Rt,a(u.title),1),u.price!=null?(r(),i("p",jt,a(u.price.toLocaleString())+" "+a(u.currency),1)):M("",!0)],40,Ft))),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:O(D,["prevent"])},a(e(o)("common.seeAll")),33)],64))],512),[[ce,e(A)]])]),_:1})],32))}}),Gt={class:"sticky top-0 z-50 border-b border-[rgb(var(--color-border))] bg-[rgb(var(--color-background))] shadow-sm"},qt={class:"page-shell grid grid-cols-[auto_minmax(0,1fr)_auto] items-center gap-3 py-2.5 md:gap-4 md:py-3"},Ut={class:"flex shrink-0 items-center"},Ot={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"],Vt={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"],no="/hotels",ao="2026-10-15",re="inline-flex min-h-10 max-w-[10.5rem] items-center justify-center rounded-lg px-3 py-2 text-center 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(n){const o=[{path:"/guide",labelKey:"nav.dubaiGuide"},{path:"/flight-status",labelKey:"nav.flightStatus"},{path:"/currency",labelKey:"nav.currencyRates"},{path:"/hotels",labelKey:"nav.hotelBooking"},{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}=q(),c=V(),b=Q(),y=je(),k=xe(),{onHomeCategory:C}=Xe();function h(R){return R==="fa"?"/":`/${R}`}const A=d(()=>(b.path.replace(/\/$/,"")||"/")!==h(l.value)),v=d(()=>Date.now()<new Date(`${ao}T00:00:00Z`).getTime()),m=d(()=>o.map(R=>({to:c(R.path),label:s(R.labelKey),isNew:v.value&&R.path===no,submenu:R.path==="/flight-status"?p.map(E=>({to:c(E.path),label:l.value==="en"?E.en:l.value==="ar"?E.ar:E.fa})):[]}))),w=d(()=>l.value==="en"?"View all":l.value==="ar"?"عرض الكل":"مشاهده همه"),$=d(()=>l.value==="en"?"New":l.value==="ar"?"جديد":"جدید");function D(){y.toggleMobileMenu()}function x(){y.toggleSidebar()}function f(){if(window.matchMedia("(min-width: 768px)").matches){y.openProfileDrawer();return}Z(c("/profile"))}function u(R){const E=R.replace(/\/$/,"");return E===""?"/":E}const S=d(()=>u(c("/"))),z=d(()=>u(c("/dashboard"))),oe=d(()=>c("/")),se=d(()=>u(b.path)===S.value),Le=d(()=>
2u(b.path)===z.value),de=d(()=>k.isAuthenticated&&ye(k.user));return(R,E)=>{const B=le,Ne=Et,Be=zt,Ie=Ze;return r(),i("header",Gt,[t("div",qt,[t("div",Ut,[g(B,{to:e(c)("/"),class:"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:_(()=>[t("span",Ot,[t("img",{src:e(Qe),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",Vt,a(e(s)("seo.siteName")),1)]),_:1},8,["to"])]),t("nav",Kt,[t("ul",Wt,[t("li",null,[g(B,{to:oe.value,class:F([re,se.value?he:""])},{default:_(()=>[P(a(e(s)("nav.home")),1)]),_:1},8,["to","class"])]),de.value?(r(),i("li",Yt,[g(B,{to:e(c)("/dashboard"),class:F([re,Le.value?he:""])},{default:_(()=>[P(a(e(s)("nav.businessDashboard")),1)]),_:1},8,["to","class"])])):M("",!0),(r(!0),i(N,null,I(m.value,L=>(r(),i("li",{key:L.to,class:"group relative"},[g(B,{to:L.to,class:F(re)},{default:_(()=>[P(a(L.label),1)]),_:2},1032,["to"]),L.isNew?(r(),i("span",Jt,a($.value),1)):M("",!0),L.submenu.length?(r(),i("div",Zt,[(r(!0),i(N,null,I(L.submenu,K=>(r(),T(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:_(()=>[P(a(K.label),1)]),_:2},1032,["to"]))),128)),g(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:_(()=>[P(a(w.value),1)]),_:1},8,["to"])])):M("",!0)]))),128))])]),t("div",Qt,[g(Ne,{class:"shrink-0"}),e(k).isAuthenticated?M("",!0):(r(),i(N,{key:0},[g(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:_(()=>[P(a(e(s)("auth.login")),1)]),_:1},8,["to"]),g(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:_(()=>[P(a(e(s)("auth.register")),1)]),_:1},8,["to"])],64)),t("div",Xt,[g(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:_(()=>[P(a(e(s)("nav.postAd")),1)]),_:1},8,["to"]),e(k).isAuthenticated?(r(),i("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:f},a(e(s)("nav.profile")),1)):M("",!0)]),e(k).isAuthenticated?(r(),T(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:_(()=>[P(a(e(s)("nav.profile")),1)]),_:1},8,["to","aria-label"])):M("",!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:x},[...E[5]||(E[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},[...E[6]||(E[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)])])])]),g(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:_(()=>[te(t("div",eo,[g(Ie,null,{fallback:_(()=>[...E[7]||(E[7]=[t("div",{class:"relative w-full mb-3","aria-hidden":"true"},null,-1)])]),default:_(()=>[g(Be,{class:"mb-3"})]),_:1}),t("nav",to,[g(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:E[0]||(E[0]=L=>e(y).toggleMobileMenu())},{default:_(()=>[P(a(e(s)("nav.home")),1)]),_:1},8,["to"]),de.value?(r(),T(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:E[1]||(E[1]=L=>e(y).toggleMobileMenu())},{default:_(()=>[P(a(e(s)("nav.businessDashboard")),1)]),_:1},8,["to"])):M("",!0),(r(!0),i(N,null,I(m.value,L=>(r(),T(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:E[2]||(E[2]=K=>e(y).toggleMobileMenu())},{default:_(()=>[P(a(L.label),1)]),_:2},1032,["to"]))),128)),g(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:E[3]||(E[3]=L=>e(y).toggleMobileMenu())},{default:_(()=>[P(a(e(s)("nav.help")),1)]),_:1},8,["to"]),g(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:E[4]||(E[4]=L=>e(y).toggleMobileMenu())},{default:_(()=>[P(a(e(s)("nav.postAd")),1)]),_:1},8,["to"])])],512),[[ce,e(y).isMobileMenuOpen]])]),_:1}),A.value?(r(),i("div",oo,[t("div",so,[(r(!0),i(N,null,I(e(st),L=>(r(),i("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(C)(L)},a(e(s)(L.labelKey)),9,ro))),128))])])):M("",!0)])}}}),io=["dir"],co={class:"text-lg font-bold text-[rgb(var(--color-text))] sm:text-xl"},uo={class:"mt-3 space-y-3 text-sm leading-7 text-[rgb(var(--color-text-muted))] sm:text-[15px]"},po={key:0,class:"mt-6 space-y-6"},bo={class:"text-base font-bold text-[rgb(var(--color-text))]"},mo={class:"mt-2 space-y-3 text-sm leading-7 text-[rgb(var(--color-text-muted))] sm:text-[15px]"},go={key:1,class:"mt-6"},fo={class:"text-base font-bold text-[rgb(var(--color-text))]"},ho={class:"mt-3 divide-y divide-[rgb(var(--color-border))] border-t border-[rgb(var(--color-border))]"},vo={class:"flex cursor-pointer list-none items-center justify-between gap-3 text-sm font-semibold text-[rgb(var(--color-text))]"},_o={class:"mt-2 text-sm leading-7 text-[rgb(var(--color-text-muted))]"},xo=G({__name:"CategorySeoContent",props:{content:{}},setup(n){const o=n,{locale:p}=q(),s=d(()=>p.value==="en"),l=d(()=>p.value==="ar"),c=d(()=>s.value?o.content.headingEn||o.content.heading:l.value&&(o.content.headingAr||o.content.headingEn)||o.content.heading),b=d(()=>s.value?o.content.introEn||o.content.intro:l.value&&(o.content.introAr||o.content.introEn)||o.content.intro),y=d(()=>s.value?o.content.faqEn||o.content.faq:l.value&&(o.content.faqAr||o.content.faqEn)||o.content.faq),k=d(()=>s.value?o.content.sectionsEn||[]:l.value?o.content.sectionsAr||[]:o.content.sections||[]),C=d(()=>s.value?"Frequently asked questions":l.value?"الأسئلة الشائعة":"پرسش‌های پرتکرار");return _e(()=>{const h=ze(y.value);return{script:h?[{type:"application/ld+json",children:JSON.stringify(h)}]:[]}}),(h,A)=>(r(),i("section",{class:F(["mt-8 rounded-xl border border-[rgb(var(--color-border))] bg-[rgb(var(--color-surface))] p-5 sm:p-6",e(s)?"text-left":"text-right"]),dir:e(s)?"ltr":"rtl"},[t("h2",co,a(e(c)),1),t("div",uo,[(r(!0),i(N,null,I(e(b),(v,m)=>(r(),i("p",{key:m},a(v),1))),128))]),e(k).length?(r(),i("div",po,[(r(!0),i(N,null,I(e(k),(v,m)=>(r(),i("div",{key:m},[t("h3",bo,a(v.h),1),t("div",mo,[(r(!0),i(N,null,I(v.p,(w,$)=>(r(),i("p",{key:$},a(w),1))),128))])]))),128))])):M("",!0),e(y).length?(r(),i("div",go,[t("h3",fo,a(e(C)),1),t("div",ho,[(r(!0),i(N,null,I(e(y),(v,m)=>(r(),i("details",{key:m,class:"group py-3"},[t("summary",vo,[t("span",null,a(v.question),1),A[0]||(A[0]=t("span",{class:"shrink-0 text-[rgb(var(--color-text-muted))] transition-transform group-open:rotate-45","aria-hidden":"true"},"+",-1))]),t("p",_o,a(v.answer),1)]))),128))])])):M("",!0)],10,io))}}),yo={key:0,class:"page-shell pb-8"},wo=G({__name:"CategorySeoSection",setup(n){const o=Q(),p=d(()=>{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=xo;return e(p)?(r(),i("div",yo,[g(c,{content:e(p)},null,8,["content"])])):M("",!0)}}}),ko={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"},$o={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%)]"},Ao={class:"page-shell flex flex-nowrap items-center justify-between gap-6 py-10",dir:"ltr"},So={class:"flex shrink-0 flex-nowrap gap-4"},Co=["aria-label"],Eo=["alt"],Mo=["aria-label"],Po=["alt"],Do=["dir"],Lo={class:"page-shell py-12 md:py-14"},No={class:"grid gap-10 md:grid-cols-2 lg:grid-cols-12 lg:gap-8"},Bo={class:"flex flex-col gap-4 lg:col-span-4"},Io={class:"max-w-sm text-sm leading-7 text-[rgb(var(--color-text-muted))]"},To={class:"lg:col-span-2"},Fo={class:"mb-4 text-xs font-bold uppercase tracking-[0.14em] text-[rgb(var(--color-text-muted))]"},Ro={class:"flex flex-col gap-3"},jo={class:"lg:col-span-3"},zo={class:"mb-4 text-xs font-bold uppercase tracking-[0.14em] text-[rgb(var(--color-text-muted))]"},Go={class:"flex flex-col gap-3"},qo={class:"lg:col-span-3"},Uo={class:"mb-4 text-xs font-bold uppercase tracking-[0.14em] text-[rgb(var(--color-text-muted))]"},Oo={class:"flex flex-col gap-3"},Ho={class:"mb-4 mt-8 text-xs font-bold uppercase tracking-[0.14em] text-[rgb(var(--color-text-muted))]"},Vo={class:"flex gap-3"},Ko=["aria-label"],Wo=["aria-label"],Yo={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"},Zo=["href"],Qo={dir:"ltr",class:"unicode-bidi-plaintext"},Xo=["href"],es=["href"],ts="https://play.google.com/store/apps/details?id=ae.gooyadubai.app",os="https://apps.apple.com/gb/app/gooya-dubai/id6755238616",ss="https://www.instagram.com/gooya_dubai/",Y="https://wa.me/971502616831",rs="https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png",ns="https://upload.wikimedia.org/wikipedia/commons/3/3c/Download_on_the_App_Store_Badge.svg",as=G({__name:"AppFooter",setup(n){const{t:o,locale:p}=q(),s=V(),{$api:l}=ae(),c=d(()=>p.value==="fa"||p.value==="ar"),b=d(()=>new Date().getFullYear()),y=d(()=>[{to:s("/guide"),label:o("nav.dubaiGuide")},{to:s("/currency"),label:o("currency.title")},{to:s("/flight-status"),label:o("nav.flightStatus")}]),k=d(()=>[{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")}]),C=d(()=>[{to:s("/ads"),label:o("nav.ads")},{to:s("/ads/create"),label:o("nav.postAd")},{to:s("/news"),label:o("news.title")}]),h=j(!1),A=j("+971502616831"),v=j("[email protected]"),m=j(Y),w=d(()=>be(A.value)),$=d(()=>`tel:${w.value.replace(/\s/g,"")}`);return ue(h,async D=>{if(D)try{const f=await l("/support/contact-info/public/"),u=f&&typeof f=="object"&&"data"in f&&f.data&&typeof f.data=="object"?f.data:f??{};u.phone&&(A.value=be(String(u.phone))),u.email&&(v.value=String(u.email).trim());let S=u.whatsapp_link?String(u.whatsapp_link).trim():"";if(!S&&u.whatsapp_number){const z=String(u.whatsapp_number).replace(/[\s+]/g,"");z&&(S=`https://wa.me/${z}`)}m.value=S||Y}catch{m.value=Y}}),(D,x)=>{const f=le;return r(),i("footer",ko,[t("div",$o,[t("div",Ao,[t("div",So,[t("a",{href:ts,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:rs,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,Eo)],8,Co),t("a",{href:os,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:ns,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,Po)],8,Mo)]),t("p",{class:"shrink-0 text-nowrap text-right text-sm text-[rgb(var(--color-text))] md:text-base",dir:e(c)?"rtl":"ltr"},a(e(o)("footer.appDownloadCta")),9,Do)])]),t("div",Lo,[t("div",No,[t("div",Bo,[g(f,{to:e(s)("/"),
2class:"inline-flex w-fit text-2xl font-bold text-[#E11B22] transition-colors hover:text-[#c0161c]"},{default:_(()=>[P(a(e(o)("seo.siteName")),1)]),_:1},8,["to"]),t("p",Io,a(e(o)("footer.aboutDescription")),1)]),t("div",To,[t("h3",Fo,a(e(o)("nav.footerLinks")),1),t("ul",Ro,[(r(!0),i(N,null,I(e(C),u=>(r(),i("li",{key:u.to},[g(f,{to:u.to,class:"text-sm font-medium text-[rgb(var(--color-text))] transition-colors hover:text-[#E11B22]"},{default:_(()=>[P(a(u.label),1)]),_:2},1032,["to"])]))),128))])]),t("div",jo,[t("h3",zo,a(e(o)("nav.dubaiGuide")),1),t("ul",Go,[(r(!0),i(N,null,I(e(y),u=>(r(),i("li",{key:u.to},[g(f,{to:u.to,class:"text-sm font-medium text-[rgb(var(--color-text))] transition-colors hover:text-[#E11B22]"},{default:_(()=>[P(a(u.label),1)]),_:2},1032,["to"])]))),128))])]),t("div",qo,[t("h3",Uo,a(e(o)("nav.help")),1),t("ul",Oo,[t("li",null,[t("button",{type:"button",class:"text-sm font-medium text-[rgb(var(--color-text))] transition-colors hover:text-[#E11B22]",onClick:x[0]||(x[0]=u=>h.value=!0)},a(e(o)("profileMenu.contactUs")),1)]),(r(!0),i(N,null,I(e(k),u=>(r(),i("li",{key:u.to},[g(f,{to:u.to,class:"text-sm font-medium text-[rgb(var(--color-text))] transition-colors hover:text-[#E11B22]"},{default:_(()=>[P(a(u.label),1)]),_:2},1032,["to"])]))),128))]),t("h3",Ho,a(e(o)("nav.social")),1),t("div",Vo,[t("a",{href:ss,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")},[...x[3]||(x[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,Ko),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")},[...x[4]||(x[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,Wo)])])]),t("div",Yo,[t("p",null,"© "+a(e(b))+" "+a(e(o)("seo.siteName"))+". "+a(e(o)("nav.copyright")),1)])]),g(e(nt),{open:e(h),"onUpdate:open":x[2]||(x[2]=u=>we(h)?h.value=u:null)},{default:_(()=>[g(e(at),{class:"sm:max-w-md",dir:"rtl"},{default:_(()=>[g(e(lt),null,{default:_(()=>[g(e(it),null,{default:_(()=>[P(a(e(o)("profileMenu.contactDialogTitle")),1)]),_:1}),g(e(ct),null,{default:_(()=>[P(a(e(o)("profileMenu.contactDialogHours")),1)]),_:1})]),_:1}),t("div",Jo,[t("a",{href:e($),class:"flex w-full items-center justify-center rounded-lg bg-[#E53E3E] py-3 text-sm font-semibold text-white"},[t("span",Qo,a(e(w)),1)],8,Zo),t("a",{href:e(m)||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"},a(e(o)("profileMenu.whatsapp")),9,Xo),t("a",{href:`mailto:${e(v)}?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"},a(e(v)),9,es)]),g(e(ut),null,{default:_(()=>[g(e(rt),{variant:"outline",class:"w-full",onClick:x[1]||(x[1]=u=>h.value=!1)},{default:_(()=>[P(a(e(o)("common.close")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["open"])])}}}),Pe="wc_campaign_banner_dismissed_ids";function ls(n){if(!n||typeof n!="object")return null;const o=Number(n.id);return!Number.isFinite(o)||o<=0?null:{id:o,placement:String(n.placement||""),is_active:n.is_active!==!1,title:String(n.title||"").trim(),subtitle:String(n.subtitle||"").trim(),cta_text:String(n.cta_text||"").trim(),image_url:String(n.image_url||"").trim(),target_type:String(n.target_type||"none").trim().toLowerCase(),target_value:String(n.target_value||"").trim(),bg_color:String(n.bg_color||"#FFF9EC").trim(),title_color:String(n.title_color||"#151518").trim(),subtitle_color:String(n.subtitle_color||"#6B7280").trim(),cta_bg_color:String(n.cta_bg_color||"#E3B23C").trim(),cta_text_color:String(n.cta_text_color||"#FFFFFF").trim(),dismissible:n.dismissible!==!1,priority:Number(n.priority||0),platforms:Array.isArray(n.platforms)?n.platforms.map(p=>String(p)):[]}}function ve(){try{const n=sessionStorage.getItem(Pe);if(!n)return new Set;const o=JSON.parse(n);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 is(n){try{sessionStorage.setItem(Pe,JSON.stringify(Array.from(n)))}catch{}}function De(){const n=Q(),o=V(),{$api:p}=ae(),{locale:s}=q(),l=U("wc-banner-data",()=>null),c=U("wc-banner-dismissed",()=>!1),b=U("wc-banner-started",()=>!1),y=U("wc-banner-locale",()=>""),k=d(()=>o("/").replace(/\/+$/,"")||"/"),C=d(()=>(n.path.replace(/\/+$/,"")||"/")===k.value),h=d(()=>!!l.value&&!c.value&&C.value);async function A(){const m=String(s.value||"fa");if(!(b.value&&y.value===m)){b.value=!0,y.value=m;try{const w=await p("/campaign-banner/active/",{query:{placement:"home_above_nav",platform:"web",lang:m}}),$=ls(w?.banner),D=ve();l.value=$,c.value=!!$&&D.has($.id)}catch{l.value=null,c.value=!1}}}function v(){const m=l.value?.id;if(m){const w=ve();w.add(m),is(w)}c.value=!0}return{banner:l,visible:h,dismiss:v,init:A}}const cs={key:0,class:"fixed inset-x-0 z-40 md:hidden",style:{bottom:"calc(60px + env(safe-area-inset-bottom, 0px))"},dir:"rtl"},us=["onKeydown"],ds={class:"flex h-[38px] w-[38px] shrink-0 items-center justify-center rounded-[9px] bg-[#151518] p-1"},ps=["src","alt"],bs={class:"min-w-0 flex-1"},ms=G({__name:"WorldCupCampaignBanner",setup(n){const o=V(),p=qe(),{banner:s,visible:l,dismiss:c,init:b}=De(),{capture:y}=dt(),{locale:k}=q();ie(b),ue(k,()=>{b()});const C=d(()=>s.value?.image_url?Ge(s.value.image_url,p.public.apiBase):""),h=d(()=>({backgroundColor:s.value?.bg_color||"#FFF9EC",borderTopColor:s.value?.bg_color||"#FFF9EC"})),A=d(()=>({color:s.value?.title_color||"#151518"})),v=d(()=>({color:s.value?.subtitle_color||"#6B7280"})),m=d(()=>({backgroundColor:s.value?.cta_bg_color||"#E3B23C",color:s.value?.cta_text_color||"#FFFFFF"}));function w(){const $=s.value;if($){if(y("prediction_banner_click",{placement:"mobile_bottom"}),$.target_type==="route"&&$.target_value){const D=$.target_value.startsWith("/")?$.target_value:`/${$.target_value}`;Z(o(D));return}if($.target_type==="url"&&$.target_value){window.location.href=$.target_value;return}Z(o("/world-cup-predictions/leaderboard"))}}return($,D)=>(r(),T(H,{name:"wc-banner"},{default:_(()=>[e(l)?(r(),i("div",cs,[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:w,onKeydown:[ne(O(w,["prevent"]),["enter"]),ne(O(w,["prevent"]),["space"])]},[t("span",ds,[e(C)?(r(),i("img",{key:0,src:e(C),alt:e(s)?.title||"campaign banner",class:"h-full w-full object-contain"},null,8,ps)):(r(),T(e(Ke),{key:1,class:"h-5 w-5 text-[#D4AF37]"}))]),t("span",bs,[t("span",{class:"block truncate text-[13px] font-extrabold",style:J(e(A))},a(e(s)?.title),5),e(s)?.subtitle?(r(),i("span",{key:0,class:"block truncate text-[11px]",style:J(e(v))},a(e(s).subtitle),5)):M("",!0)]),e(s)?.cta_text?(r(),i("span",{key:0,class:"shrink-0 rounded-[20px] px-[14px] py-[7px] text-[12px] font-extrabold",style:J(e(m))},a(e(s).cta_text),5)):M("",!0),e(s)?.dismissible!==!1?(r(),i("button",{key:1,type:"button","aria-label":"dismiss",class:"shrink-0 p-1.5 text-[#6B7280]",onClick:D[0]||(D[0]=O((...x)=>e(c)&&e(c)(...x),["stop","prevent"]))},[g(e($e),{class:"h-[18px] w-[18px]"})])):M("",!0)],44,us)])):M("",!0)]),_:1}))}}),gs=Ae(ms,[["__scopeId","data-v-e98a5dd9"]]),fs="/_nuxt/dashboard.DSUGsiS0.png",hs="/_nuxt/dubai.60EiDoKL.png",vs="/_nuxt/home.DxZCilBB.png",_s="/_nuxt/profile.Ce_NPE9K.png",xs="/_nuxt/save.BCmbDj8r.png",ys=["dir"],ws={class:"flex items-end justify-around px-0 py-[9px] pb-[calc(9px+env(safe-area-inset-bottom,0px))]"},ks={class:"flex h-8 w-8 items-center justify-center rounded-full bg-[#E53E3E] shadow-sm"},$s={class:"mt-[5px] text-[11px] font-medium text-gray-500"},As=["src","alt"],Ss=G({__name:"BottomNav",setup(n){const o=W(fs),p=W(hs),s=W(vs
2),l=W(_s),c=W(xs),{t:b}=q(),{pageDir:y}=ke(),k=Q(),C=xe(),h=V(),A=d(()=>[{id:"business-explore",to:h("/"),label:b("nav.businessExplore"),img:s},{id:"business-dashboard",to:h("/dashboard"),label:b("nav.businessDashboard"),img:o},{to:h("/ads/create"),label:b("nav.postAd"),id:"post",isCenter:!0,requiresAuth:!0},{to:h("/guide"),label:b("nav.dubaiGuide"),id:"guide",img:p},{to:h("/profile"),label:b("nav.profile"),id:"profile",img:l,requiresAuth:!0}]),v=d(()=>[{to:h("/"),label:b("nav.home"),id:"home",img:s},{to:h("/favorites"),label:b("nav.saved"),id:"saved",img:c,requiresAuth:!0},{to:h("/ads/create"),label:b("nav.postAd"),id:"post",isCenter:!0,requiresAuth:!0},{to:h("/guide"),label:b("nav.dubaiGuide"),id:"guide",img:p},{to:h("/profile"),label:b("nav.profile"),id:"profile",img:l,requiresAuth:!0}]),m=d(()=>C.isAuthenticated&&ye(C.user)?A.value:v.value);function w(x){const f=x.replace(/\/$/,"");return f===""?"/":f}function $(x){const f=w(k.path),u=typeof x.to=="string"?x.to:w(x.to.path),S=w(h("/")),z=w(h("/dashboard"));return x.id==="business-dashboard"?f===z:x.id==="business-explore"?f===S:x.id==="home"?f===u:x.id==="post"?f===u||f.startsWith(`${u}/`)||f.includes("/ads/create"):f===u||f.startsWith(`${u}/`)}async function D(x,f){const u=typeof f.to=="string"?f.to:f.to.path;f.requiresAuth&&!C.isAuthenticated&&(x.preventDefault(),await Z({path:h("/auth/required-login"),query:{redirect:u}}))}return(x,f)=>{const u=le;return r(),i("nav",{class:"fixed inset-x-0 bottom-0 z-50 border-t border-gray-200 bg-white md:hidden",dir:e(y)},[t("div",ws,[(r(!0),i(N,null,I(e(m),S=>(r(),T(u,{key:S.id,to:S.to,class:F(["flex min-w-0 flex-1 flex-col items-center",[S.isCenter?"relative -mt-6 max-w-[64px] flex-none":"",!S.isCenter&&$(S)?"text-[#E53E3E]":S.isCenter?"":"text-gray-400"]]),onClick:z=>D(z,S)},{default:_(()=>[S.isCenter?(r(),i(N,{key:0},[t("span",ks,[g(e(We),{class:"h-5 w-5 text-white","stroke-width":2.5})]),t("span",$s,a(S.label),1)],64)):(r(),i(N,{key:1},[t("img",{src:S.img,alt:S.label,class:"h-6 w-6 object-contain transition-all duration-200",style:J($(S)?{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,As),t("span",{class:F(["mt-[5px] max-w-full truncate text-[11px] font-medium",$(S)?"text-[#E53E3E]":"text-gray-400"])},a(S.label),3)],64))]),_:2},1032,["to","class","onClick"]))),128))])],8,ys)}}}),Cs=ee(()=>X(()=>import("./C7lkPNBT.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]),import.meta.url).then(n=>n.default||n)),Es=ee(()=>X(()=>import("./Cn7fHZh4.js"),__vite__mapDeps([25,26,2,3,4,24]),import.meta.url).then(n=>n.default||n)),Ms=ee(()=>X(()=>import("./C8ruQou2.js"),__vite__mapDeps([27,2,3,4,23,13,24]),import.meta.url).then(n=>n.default||n)),Ps=ee(()=>X(()=>import("./DfqUrezJ.js"),__vite__mapDeps([28,29,2,13,24,30,3,4,31]),import.meta.url).then(n=>n.default||n)),Ds=ee(()=>X(()=>import("./CQAZmYKt.js"),__vite__mapDeps([32,2,3,4,33,34,31,23,13,24]),import.meta.url).then(n=>n.default||n)),tr=G({__name:"default",setup(n){const{showModal:o,closeModal:p}=et(),{showModal:s,closeModal:l}=tt(),{showModal:c,closeModal:b}=pt(),{showModal:y,closeModal:k}=ot(),{visible:C}=De(),{visible:h}=Me();return(A,v)=>{const m=At,w=lo,$=Cs,D=wo,x=as,f=gs,u=Ss,S=Es,z=Ms,oe=Ps,se=Ds;return r(),i("div",{class:F(["min-h-screen bg-[rgb(var(--color-background))] text-[rgb(var(--color-text))] flex flex-col",[e(Ee),e(h)?"pt-[56px] md:pt-0":""]])},[g(m),g(w,{class:"hidden md:block"}),g($),t("main",{class:F(["flex-1 md:pb-0",e(C)?"pb-[136px]":"pb-20"])},[Ve(A.$slots,"default"),g(D)],2),g(x,{class:"hidden md:block mt-auto"}),g(f),g(u),e(o)?(r(),T(S,{key:0,onClose:e(p)},null,8,["onClose"])):M("",!0),e(s)?(r(),T(z,{key:1,onClose:e(l)},null,8,["onClose"])):M("",!0),e(c)?(r(),T(oe,{key:2,onClose:e(b)},null,8,["onClose"])):M("",!0),e(y)?(r(),T(se,{key:3,onClose:e(k)},null,8,["onClose"])):M("",!0)],2)}}});export{tr 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.