PageSourceSearch

https://www.visitbaku.app/_next/static/chunks/app/%5Blocale%5D/pag…?dpl=dpl_GDFGdQkgMMdSUetTcHEgetUiGGwV

js visitbaku.app collected 2026-09-24 13:44:01 UTC 51,312 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[465],{5890:(e,t,r)=>{"use strict";r.d(t,{default:()=>eh});var a=r(5155),s=r(2115),l=r(2619),i=r.n(l),n=r(5239),c=r(4019),o=r(9902),d=r(5506),x=r(4274),h=r(3017),p=r(5126);let f={c:"BAK",city:"Baku",country:"Azerbaijan"},m=[f,{c:"IST",city:"Istanbul",country:"T\xfcrkiye"},{c:"DXB",city:"Dubai",country:"United Arab Emirates"},{c:"DOH",city:"Doha",country:"Qatar"},{c:"SVO",city:"Moscow",country:"Russia"},{c:"LED",city:"Saint Petersburg",country:"Russia"},{c:"TBS",city:"Tbilisi",country:"Georgia"},{c:"ALA",city:"Almaty",country:"Kazakhstan"},{c:"IKA",city:"Tehran",country:"Iran"},{c:"LHR",city:"London",country:"United Kingdom"},{c:"CDG",city:"Paris",country:"France"},{c:"FRA",city:"Frankfurt",country:"Germany"},{c:"AMS",city:"Amsterdam",country:"Netherlands"},{c:"FCO",city:"Rome",country:"Italy"},{c:"MAD",city:"Madrid",country:"Spain"},{c:"BER",city:"Berlin",country:"Germany"},{c:"VIE",city:"Vienna",country:"Austria"},{c:"DEL",city:"Delhi",country:"India"},{c:"PEK",city:"Beijing",country:"China"},{c:"JFK",city:"New York",country:"United States"},{c:"DMM",city:"Ad Dammam",country:"Saudi Arabia"},{c:"TLV",city:"Tel Aviv",country:"Israel"},{c:"KZN",city:"Kazan",country:"Russia"},{c:"AYT",city:"Antalya",country:"T\xfcrkiye"}],u=["IST","DXB","DOH","SVO","LHR","FRA","AMS","TBS"],b=e=>e.toLowerCase().normalize("NFD").replace(/[̀-ͯ]/g,"");var g=r(727),j=r(5513),v=r(7205),w=r(8901),k=r(1321),N=r(3558),y=r(8576),C=r(5405),S=r(7141),_=r(6467),M=r(3366),$=r(8674),P=r(2192);let A=["Mo","Tu","We","Th","Fr","Sa","Su"];function L({label:e,value:t,onChange:r,minISO:l}){let[i,n]=(0,s.useState)(!1),c=t?(0,_.H)(t):null,o=(0,M.o)(new Date),d=(()=>{if(!l)return o;let e=(0,M.o)((0,_.H)(l));return(0,y.Y)(e,o)?o:e}
1)(),[x,h]=(0,s.useState)((0,$.w)(c??d)),p=(0,s.useRef)(null),f=(0,$.w)(d);(0,s.useEffect)(()=>{if(!i)return;let e=e=>{p.current&&!p.current.contains(e.target)&&n(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[i]);let m=(0,s.useMemo)(()=>(0,v.k)({start:(0,P.k)((0,$.w)(x),{weekStartsOn:1}),end:(0,k.$)((0,w.p)(x),{weekStartsOn:1})}),[x]),u=!(0,S.t)(x,f)&&(0,y.Y)(f,x);return(0,a.jsxs)("div",{ref:p,className:"relative",children:[(0,a.jsxs)("button",{type:"button",onClick:()=>n(e=>!e),className:"w-full rounded-[13px] bg-[#f4f5f7] px-4 py-2.5 text-left dark:bg-[#1e2026] lg:rounded-[14px] lg:py-3",children:[(0,a.jsx)("span",{className:"block text-[11px] font-extrabold tracking-[0.07em] text-[#6b7280]",children:e}),(0,a.jsxs)("span",{className:"mt-1 flex items-center justify-between gap-2",children:[(0,a.jsx)("span",{className:`text-[16px] font-bold ${c?"text-[#14171c] dark:text-white":"text-[#9aa1ad]"}`,children:c?(0,N.GP)(c,"d MMM yyyy"):"—"}),(0,a.jsxs)("svg",{viewBox:"0 0 24 24",className:"h-4 w-4 shrink-0 text-[#8b929d]",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":!0,children:[(0,a.jsx)("rect",{x:"3",y:"4.5",width:"18",height:"16",rx:"2.5"}),(0,a.jsx)("path",{d:"M3 9h18M8 2.5v4M16 2.5v4",strokeLinecap:"round"})]})]})]}),i&&(0,a.jsxs)("div",{className:"absolute left-0 top-[calc(100%+8px)] z-30 w-[300px] max-w-[86vw] rounded-[18px] border border-[#e6e8ec] bg-white p-4 shadow-[0_18px_44px_rgba(10,22,48,0.18)] dark:border-[#2c2f32] dark:bg-[#181a1c]",children:[(0,a.jsxs)("div",{className:"mb-3 flex items-center justify-between",children:[(0,a.jsx)("button",{type:"button",disabled:!u,onClick:()=>h(e=>(0,j.P)(e,-1)),className:"flex h-8 w-8 items-center justify-center rounded-[10px] text-[#14171c] transition-colors hover:bg-[#f4f5f7] disabled:opacity-30 disabled:hover:bg-transparent dark:text-white dark:hover:bg-[#1e2026]","aria-label":"Previous month",children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:"h-4 w-4",fill:"none",stroke:"currentColor",strokeWidth:"2.2","aria-hidden":!0,children:(0,a.jsx)("path",{d:"M15 6l-6 6 6 6",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,a.jsx)("div",{className:"text-[15px] font-extrabold text-[#14171c] dark:text-white",children:(0,N.GP)(x,"LLLL yyyy")}),(0,a.jsx)("button",{type:"button",onClick:()=>h(e=>(0,j.P)(e,1)),className:"flex h-8 w-8 items-center justify-center rounded-[10px] text-[#14171c] transition-colors hover:bg-[#f4f5f7] dark:text-white dark:hover:bg-[#1e2026]","aria-label":"Next month",children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:"h-4 w-4",fill:"none",stroke:"currentColor",strokeWidth:"2.2","aria-hidden":!0,children:(0,a.jsx)("path",{d:"M9 6l6 6-6 6",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),(0,a.jsx)("div",{className:"mb-1 grid grid-cols-7 text-center text-[11px] font-bold text-[#9aa1ad]",children:A.map(e=>(0,a.jsx)("div",{className:"py-1",children:e},e))}),(0,a.jsx)("div",{className:"grid grid-cols-7 gap-y-1",children:m.map(e=>{let t=(0,S.t)(e,x),s=c&&(0,C.r)(e,c),l=(0,C.r)(e,o),i=(0,y.Y)(e,d);return(0,a.jsx)("button",{type:"button",disabled:i,onClick:()=>{r((0,N.GP)(e,"yyyy-MM-dd")),n(!1)},className:`mx-auto flex h-9 w-9 items-center justify-center rounded-full text-[13.5px] font-semibold transition-colors ${s?"bg-[#1f6fe5] text-white":i?"cursor-not-allowed text-[#c3c8d0] dark:text-[#3a3f47]":t?"text-[#14171c] hover:bg-[#eaf1fe] dark:text-white dark:hover:bg-[#1f6fe5]/15":"text-[#c3c8d0] hover:bg-[#f4f5f7] dark:text-[#4b5563] dark:hover:bg-[#1e2026]"} ${l&&!s?"ring-1 ring-inset ring-[#1f6fe5]/40":""}`,children:(0,N.GP)(e,"d")},e.toISOString())})}),c&&(0,a.jsx)("button",{type:"button",onClick:()=>{r(""),n(!1)},className:"mt-3 w-full rounded-[12px] bg-[#f4f5f7] py-2.5 text-[13px] font-bold text-[#6b7280] transition-colors hover:text-[#14171c] dark:bg-[#1e2026] dark:hover:text-white",children:"✕"})]})]})}let D=e=>e.trim().replace(/[^A-Za-z0-9]+/g,"-").replace(/(^-|-$)/g,"")||"City",E="cursor-pointer rounded-[13px] bg-[#f4f5f7] px-4 py-2.5 transition-colors hover:bg-[#ebedf1] dark:bg-[#1e2026] dark:hover:bg-[#23262c] lg:rounded-[14px] lg:py-3",T="cursor-pointer text-[11px] font-extrabold tracking-[0.07em] text-[#6b7280]";function F(){let e=(0,p.c)("homeV2"),t=e.raw("search.forms.flights"),l={from:t?.[0]?.label??"FROM",to:t?.[1]?.label??"TO",depart:t?.[2]?.label??"DEPART"},i=e("flightSearch.placeholder"),n=e("search.find"),[c,o]=(0,s.use
1State)(null),[d,x]=(0,s.useState)(f),[h,j]=(0,s.useState)(""),[v,w]=(0,s.useState)(`${f.city} (${f.c})`),[k,N]=(0,s.useState)(null),[y,C]=(0,s.useState)(""),[S,_]=(0,s.useState)(!1),M=(0,s.useRef)(null),$=(0,s.useRef)(null),P=(0,s.useRef)(null),[A,F]=(0,s.useState)(m);(0,s.useEffect)(()=>{let e=!0;return r.e(587).then(r.bind(r,587)).then(t=>{e&&F(t.WORLD_AIRPORTS)}),()=>{e=!1}},[]);let I=e=>`${e.city} (${e.c})`,O=(0,s.useMemo)(()=>{let e="from"===k?h:v,t="from"===k?c:d;return function(e,t=8,r=m){let a=b(e.trim());if(!a){let e=u.map(e=>r.find(t=>t.c===e)).filter(e=>!!e);return(e.length?e:r).slice(0,t)}let s=[];for(let e of r){let t=e.c.toLowerCase(),r=b(e.city),l=b(e.country),i=-1;t===a?i=0:t.startsWith(a)?i=1:r.startsWith(a)?i=2:r.includes(a)?i=3:l.startsWith(a)?i=4:l.includes(a)&&(i=5),i>=0&&s.push({a:e,score:i})}return s.sort((e,t)=>e.score-t.score),s.slice(0,t).map(e=>e.a)}(t&&e===I(t)?"":e,8,A)},[k,h,v,c,d,A]),R=()=>{P.current=setTimeout(()=>N(null),130)},B=()=>{P.current&&clearTimeout(P.current)},z=e=>k===e&&O.length>0?(0,a.jsx)("ul",{className:"absolute left-0 right-0 top-[calc(100%+6px)] z-30 max-h-[280px] overflow-y-auto rounded-[14px] border border-[#e6e8ec] bg-white py-1.5 shadow-[0_16px_40px_rgba(10,22,48,0.16)] dark:border-[#2c2f32] dark:bg-[#181a1c]",onMouseDown:B,children:O.map(e=>(0,a.jsx)("li",{children:(0,a.jsxs)("button",{type:"button",onMouseDown:t=>{t.preventDefault(),"from"===k?(o(e),j(I(e))):"to"===k&&(x(e),w(I(e))),N(null),_(!1)},className:"flex w-full items-center gap-3 px-4 py-2.5 text-left transition-colors hover:bg-[#f4f5f7] dark:hover:bg-[#1e2026]",children:[(0,a.jsx)("span",{className:"w-[42px] shrink-0 font-mono text-[13px] font-bold text-[#1f6fe5]",children:e.c}),(0,a.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,a.jsx)("span",{className:"block truncate text-[15px] font-semibold text-[#14171c] dark:text-white",children:e.city}),(0,a.jsx)("span",{className:"block truncate text-[12px] text-[#6b7280]",children:e.country})]})]})},e.c))}):null;return(0,a.jsx)("div",{className:"px-2.5",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-2.5 smP:grid-cols-[1.2fr_1.2fr_1fr_auto]",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)("div",{className:`${E} ${S?"ring-2 ring-[#1f6fe5]":""}`,onClick:()=>M.current?.focus(),children:[(0,a.jsx)("label",{className:T,children:l.from}),(0,a.jsx)("input",{ref:M,value:h,onChange:e=>{j(e.target.value),o(null),N("from")},onFocus:e=>{B(),N("from"),e.target.select()},onBlur:R,placeholder:i,autoComplete:"off",className:"mt-1 w-full cursor-pointer truncate border-0 bg-transparent p-0 text-[16px] font-bold text-[#14171c] outline-none placeholder:font-semibold placeholder:text-[#9aa2ad] dark:text-white"})]}),z("from")]}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)("div",{className:E,onClick:()=>$.current?.focus(),children:[(0,a.jsx)("label",{className:T,children:l.to}),(0,a.jsx)("input",{ref:$,value:v,onChange:e=>{w(e.target.value),N("to")},onFocus:e=>{B(),N("to"),e.target.select()},onBlur:R,placeholder:i,autoComplete:"off",className:"mt-1 w-full cursor-pointer truncate border-0 bg-transparent p-0 text-[16px] font-bold text-[#14171c] outline-none placeholder:font-semibold placeholder:text-[#9aa2ad] dark:text-white"})]}),z("to")]}),(0,a.jsx)(L,{label:l.depart,value:y,onChange:C}),(0,a.jsx)("button",{type:"button",onClick:function(){if(!c){_(!0),N("from"),M.current?.focus();return}window.open(function(e,t,r){let a=`${D(e.city)}-to-${D(t.city)}`,s=`https://www.trip.com/flights/${a}/tickets-${e.c}-${t.c}?flighttype=S&dcity=${e.c}&acity=${t.c}`;return r&&(s+=`&ddate=${r}`),`${s}&${g.vc}`}(c,d,y),"_blank","noopener,noreferrer")},className:"flex items-center justify-center rounded-[14px] bg-[#1f6fe5] px-7 py-3 text-[16px] font-bold text-white transition-colors hover:brightness-110",children:n})]})})}let I="cursor-pointer rounded-[13px] bg-[#f4f5f7] px-4 py-2.5 transition-colors hover:bg-[#ebedf1] dark:bg-[#1e2026] dark:hover:bg-[#23262c] lg:rounded-[14px] lg:py-3",O="cursor-pointer text-[11px] font-extrabold tracking-[0.07em] text-[#6b7280]",R=()=>(0,a.jsxs)("svg",{viewBox:"0 0 24 24",className:"h-4 w-4 text-[#6b7280]",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":!0,
1children:[(0,a.jsx)("circle",{cx:"12",cy:"8",r:"3.4"}),(0,a.jsx)("path",{d:"M5.5 20a6.5 6.5 0 0 1 13 0",strokeLinecap:"round"})]}),B=()=>(0,a.jsxs)("svg",{viewBox:"0 0 24 24",className:"h-4 w-4 text-[#6b7280]",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":!0,children:[(0,a.jsx)("path",{d:"M3 7v11M3 12h18v6M21 18v-4a3 3 0 0 0-3-3H10v4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("circle",{cx:"6.5",cy:"10.5",r:"1.6"})]});function z({value:e,min:t,max:r,onChange:s}){let l="flex h-8 w-8 items-center justify-center rounded-full border border-[#e2e6ee] text-[18px] font-bold leading-none text-[#14171c] transition-colors hover:border-[#1f6fe5] hover:text-[#1f6fe5] disabled:opacity-30 disabled:hover:border-[#e2e6ee] disabled:hover:text-[#14171c] dark:border-[#2c2f32] dark:text-white";return(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("button",{type:"button",className:l,disabled:e<=t,onClick:()=>s(e-1),"aria-label":"−",children:"−"}),(0,a.jsx)("span",{className:"w-5 text-center text-[15px] font-bold text-[#14171c] dark:text-white",children:e}),(0,a.jsx)("button",{type:"button",className:l,disabled:e>=r,onClick:()=>s(e+1),"aria-label":"+",children:"+"})]})}function V(){let e=(0,p.c)("homeV2"),t=e.raw("search.forms.hotels"),r={city:t?.[0]?.label??"CITY",checkin:t?.[1]?.label??"CHECK-IN",checkout:t?.[2]?.label??"CHECK-OUT",guests:t?.[3]?.label??"GUESTS"},[l,i]=(0,s.useState)("Baku"),[n,c]=(0,s.useState)(""),[o,d]=(0,s.useState)(""),[x,h]=(0,s.use
1State)(2),[f,m]=(0,s.useState)(1),[u,b]=(0,s.useState)(!1),j=(0,s.useRef)(null),v=(0,s.useRef)(null);return(0,s.useEffect)(()=>{n&&o&&o<n&&d("")},[n,o]),(0,s.useEffect)(()=>{if(!u)return;let e=e=>{v.current&&!v.current.contains(e.target)&&b(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[u]),(0,a.jsx)("div",{className:"px-2.5",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-2.5 smP:grid-cols-[1.4fr_1fr_1fr_1fr_auto]",children:[(0,a.jsxs)("div",{className:I,onClick:()=>j.current?.focus(),children:[(0,a.jsx)("label",{className:O,children:r.city}),(0,a.jsx)("input",{ref:j,value:l,onChange:e=>i(e.target.value),autoComplete:"off",className:"mt-1 w-full cursor-pointer truncate border-0 bg-transparent p-0 text-[16px] font-bold text-[#14171c] outline-none placeholder:font-semibold placeholder:text-[#9aa2ad] dark:text-white"})]}),(0,a.jsx)(L,{label:r.checkin,value:n,onChange:c}),(0,a.jsx)(L,{label:r.checkout,value:o,onChange:d,minISO:n||void 0}),(0,a.jsxs)("div",{ref:v,className:"relative",children:[(0,a.jsxs)("button",{type:"button",onClick:()=>b(e=>!e),className:`w-full text-left ${I}`,children:[(0,a.jsx)("span",{className:`block ${O}`,children:r.guests}),(0,a.jsxs)("span",{className:"mt-1 flex items-center gap-3 text-[16px] font-bold text-[#14171c] dark:text-white",children:[(0,a.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,a.jsx)(R,{}),x]}),(0,a.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,a.jsx)(B,{}),f]})]})]}),u&&(0,a.jsxs)("div",{className:"absolute left-0 top-[calc(100%+8px)] z-30 w-[260px] max-w-[86vw] rounded-[18px] border border-[#e6e8ec] bg-white p-4 shadow-[0_18px_44px_rgba(10,22,48,0.18)] dark:border-[#2c2f32] dark:bg-[#181a1c]",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between py-1.5",children:[(0,a.jsxs)("span",{className:"flex items-center gap-2 text-[15px] font-bold text-[#14171c] dark:text-white",children:[(0,a.jsx)(R,{}),r.guests]}),(0,a.jsx)(z,{value:x,min:1,max:12,onChange:h})]}),(0,a.jsxs)("div",{className:"mt-2 flex items-center justify-between py-1.5",children:[(0,a.jsxs)("span",{className:"flex items-center gap-2 text-[15px] font-bold text-[#14171c] dark:text-white",children:[(0,a.jsx)(B,{}),f]}),(0,a.jsx)(z,{value:f,min:1,max:8,onChange:m})]})]})]}),(0,a.jsx)("button",{type:"button",onClick:function(){let e=(0,g.r9)({city:l,checkin:n,checkout:o,adults:x,rooms:f});window.open(e,"_blank","noopener,noreferrer")},className:"flex items-center justify-center rounded-[14px] bg-[#1f6fe5] px-7 py-3 text-[16px] font-bold text-white transition-colors hover:brightness-110",children:e("search.find")})]})})}var G=r(2381),q=r(63);function K(){let e=(0,c.c)("homeV2"),t=(0,q.useRouter)(),r=(0,c.Y)(),l=r===o.q?"/tours-in-baku":`/${r}/tours-in-baku`,i=e.raw("search.forms.tours"),n=i?.[1]?.label??"DATE",[d,x]=(0,s.useState)("");return(0,s.useEffect)(()=>{x(e=>e||(0,N.GP)((0,G.f)(new Date,3),"yyyy-MM-dd"))},[]),(0,a.jsx)("div",{className:"px-2.5",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-2.5 smP:grid-cols-[1fr_auto]",children:[(0,a.jsx)(L,{label:n,value:d,onChange:x}),(0,a.jsx)("button",{type:"button",onClick:function(){t.push(l)},className:"flex items-center justify-center rounded-[14px] bg-[#1f6fe5] px-7 py-3 text-[16px] font-bold text-white transition-colors hover:brightness-110",children:e("search.find")})]})})}function Y(){let e=(0,p.c)("homeV2"),t=e.raw("search.forms.transfer"),r={from:t?.[0]?.label??"FROM",date:t?.[2]?.label??"DATE"},[l,i]=(0,s.useState)(t?.[0]?.value??""),[n,c]=(0,s.useState)("");return(0,s.useEffect)(()=>{c(e=>e||(0,N.GP)((0,G.f)(new Date,1),"yyyy-MM-dd"))},[]),(0,a.jsx)("div",{className:"px-2.5",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-2.5 smP:grid-cols-[1.6fr_1fr_auto]",children:[(0,a.jsxs)("div",{className:"cursor-pointer rounded-[13px] bg-[#f4f5f7] px-4 py-2.5 transition-colors hover:bg-[#ebedf1] dark:bg-[#1e2026] dark:hover:bg-[#23262c] lg:rounded-[14px] lg:py-3",children:[(0,a.jsx)("label",{className:"cursor-pointer text-[11px] font-extrabold tracking-[0.07em] text-[#6b7280]",children:r.from}
1),(0,a.jsx)("input",{value:l,onChange:e=>i(e.target.value),autoComplete:"off",className:"mt-1 w-full cursor-pointer truncate border-0 bg-transparent p-0 text-[16px] font-bold text-[#14171c] outline-none placeholder:font-semibold placeholder:text-[#9aa2ad] dark:text-white"})]}),(0,a.jsx)(L,{label:r.date,value:n,onChange:c}),(0,a.jsx)("button",{type:"button",onClick:function(){window.open(g.X9.airportTransfer,"_blank","noopener,noreferrer")},className:"flex items-center justify-center rounded-[14px] bg-[#1f6fe5] px-7 py-3 text-[16px] font-bold text-white transition-colors hover:brightness-110",children:e("search.find")})]})})}function H(){let e=(0,p.c)("homeV2"),t=e.raw("search.forms.car"),r={city:t?.[0]?.label??"PICKUP CITY",from:t?.[1]?.label??"FROM",to:t?.[2]?.label??"TO"},[l,i]=(0,s.useState)("Baku"),[n,c]=(0,s.useState)(""),[o,d]=(0,s.useState)("");return(0,s.useEffect)(()=>{c(e=>e||(0,N.GP)((0,G.f)(new Date,3),"yyyy-MM-dd")),d(e=>e||(0,N.GP)((0,G.f)(new Date,6),"yyyy-MM-dd"))},[]),(0,s.useEffect)(()=>{n&&o&&o<n&&d("")},[n,o]),(0,a.jsx)("div",{className:"px-2.5",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-2.5 smP:grid-cols-[1.3fr_1fr_1fr_auto]",children:[(0,a.jsxs)("div",{className:"cursor-pointer rounded-[13px] bg-[#f4f5f7] px-4 py-2.5 transition-colors hover:bg-[#ebedf1] dark:bg-[#1e2026] dark:hover:bg-[#23262c] lg:rounded-[14px] lg:py-3",children:[(0,a.jsx)("label",{className:"cursor-pointer text-[11px] font-extrabold tracking-[0.07em] text-[#6b7280]",children:r.city}),(0,a.jsx)("input",{value:l,onChange:e=>i(e.target.value),autoComplete:"off",className:"mt-1 w-full cursor-pointer truncate border-0 bg-transparent p-0 text-[16px] font-bold text-[#14171c] outline-none placeholder:font-semibold placeholder:text-[#9aa2ad] dark:text-white"})]}),(0,a.jsx)(L,{label:r.from,value:n,onChange:c}),(0,a.jsx)(L,{label:r.to,value:o,onChange:d,minISO:n||void 0}),(0,a.jsx)("button",{type:"button",onClick:function(){window.open(g.X9.discoverCars,"_blank","noopener,noreferrer")},className:"flex items-center justify-center rounded-[14px] bg-[#1f6fe5] px-7 py-3 text-[16px] font-bold text-white transition-colors hover:brightness-110",children:e("search.find")})]})})}var W=r(8072),U=r(1700),X=r(7129);let Q="#f5b301",Z=({t:e,role:t})=>{let r=(0,c.c)("testimonials"),s=e.text??"";if(e.textKey)try{s=r(e.textKey)}catch{}return(0,a.jsx)("article",{className:"min-w-0 flex-[0_0_86%] xsP:flex-[0_0_60%] smP:flex-[0_0_340px]",children:(0,a.jsxs)("div",{className:"flex h-full flex-col rounded-[20px] border border-[#e6e8ec] bg-white px-6 py-[22px] dark:border-[#2c2f32] dark:bg-[#181a1c]",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[e.avatar?(0,a.jsx)(n.default,{src:e.avatar,alt:e.name,width:44,height:44,className:"h-11 w-11 shrink-0 rounded-full object-cover"}):(0,a.jsx)("div",{className:"flex h-11 w-11 shrink-0 items-center justify-center rounded-full bg-[#f1f2f5] text-[14px] font-extrabold text-[#6b7280] dark:bg-[#22262c] dark:text-[#9aa1ad]","aria-hidden":!0,children:e.name.split(" ").map(e=>e[0]??"").slice(0,2).join("").toUpperCase()}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5 text-[16px] font-extrabold tracking-[-0.015em] text-[#14171c] dark:text-white",children:[(0,a.jsx)("span",{className:"truncate",children:e.name}),(0,a.jsx)("span",{className:"shrink-0 text-[14px] leading-none","aria-hidden":!0,children:e.country})]}),(0,a.jsx)("div",{className:"mt-0.5 text-[13px] text-[#8b929d]",children:t})]})]}),(0,a.jsx)("div",{className:"mt-4 flex gap-[3px] text-[14px]",style:{color:Q},role:"img","aria-label":"5 / 5",children:"★★★★★"}),(0,a.jsx)("blockquote",{className:"mt-3 text-[16px] leading-[1.5] text-[#14171c] dark:text-[#d5d8dd]",children:s})]})})},J=(0,s.memo)(()=>{let e=(0,c.Y)(),t=(0,c.c)("testimonials"),[r,l]=(0,W.A)({loop:!0,align:"start",containScroll:"trimSnaps",duration:28},[(0,U.A)({delay:4200,stopOnInteraction:!1,stopOnMouseEnter:!0,stopOnFocusIn:!0})]),[n,d]=(0,s.useState)(!0),x=(0,s.useCallback)(()=>l?.scrollPrev(),[l]),h=(0,s.useCallback)(()=>l?.scrollNext(),[l]);(0,s.useEffect)(()=>
1{if(!l)return;let e=()=>d(l.canScrollNext()||l.canScrollPrev());e(),l.on("reInit",e)},[l]);let p="flex h-10 w-10 items-center justify-center rounded-full border border-[#e2e6ee] bg-white text-[15px] text-[#14171c] transition-colors hover:border-[#1f6fe5] hover:text-[#1f6fe5] disabled:opacity-40 dark:border-[#2c2f32] dark:bg-[#1e2026] dark:text-white";return(0,a.jsxs)("section",{id:"reviews",className:"mt-12","aria-labelledby":"reviews-heading",children:[(0,a.jsxs)("div",{className:"flex items-end justify-between gap-6 sm:flex-col sm:items-start sm:gap-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-[14px] font-bold text-[#8b929d]",children:t("label")}),(0,a.jsxs)("h2",{id:"reviews-heading",className:"mt-1.5 text-[30px] font-extrabold leading-[1.1] tracking-[-0.03em] text-[#14171c] dark:text-white sm:text-[24px]",children:[t("heading")," ",(0,a.jsx)("span",{className:"text-[#1f6fe5]",children:t("feedback")})]})]}),(0,a.jsxs)("div",{className:"flex shrink-0 items-center gap-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5 rounded-full border border-[#e6e8ec] bg-white px-3.5 py-2 dark:border-[#2c2f32] dark:bg-[#1e2026]",children:[(0,a.jsx)("span",{className:"text-[14px]",style:{color:Q},children:"★"}),(0,a.jsx)("span",{className:"text-[15px] font-extrabold text-[#14171c] dark:text-white",children:"5,0"})]}),(0,a.jsx)("div",{className:"text-[14px] font-semibold text-[#6b7280]",children:t("ratingCaption")})]})]}),(0,a.jsx)("div",{className:"mt-[18px] overflow-hidden py-1",ref:r,children:(0,a.jsx)("div",{className:"flex touch-pan-y gap-3.5",children:X.r.map(e=>(0,a.jsx)(Z,{t:e,role:(e=>{try{return t(e)}catch{return e}})(e.roleKey)},e.name))})}),(0,a.jsxs)("div",{className:"mt-2 flex items-center justify-between gap-4",children:[(0,a.jsxs)("div",{className:"flex gap-2",hidden:!n,children:[(0,a.jsx)("button",{type:"button",onClick:x,"aria-label":t("ariaPrev"),className:p,children:"←"}),(0,a.jsx)("button",{type:"button",onClick:h,"aria-label":t("ariaNext"),className:p,children:"→"})]}),(0,a.jsx)(i(),{href:((t="")=>{let r=e===o.q?"":`/${e}`;return`${r}${t?`/${t}`:""}`})("write-review"),className:"text-[14px] font-bold text-[#14171c] transition-colors hover:text-[#1f6fe5] dark:text-white",children:t("writeReview")})]})]})});J.displayName="ReviewsCarousel";var ee=r(8368);let et="rounded-[13px] border border-[#e6e8ec] bg-[#f4f5f7] px-[14px] py-3 dark:border-[#2c2f32] dark:bg-[#1e2026]",er="w-full border-0 bg-transparent p-0 text-[15px] font-semibold text-[#14171c] outline-none placeholder:font-medium placeholder:text-[#9aa2ad] dark:text-white";function ea(){let e=(0,p.c)("homeV2.contact"),[t,r]=(0,s.useState)(""),[l,i]=(0,s.useState)(""),[n,c]=(0,s.useState)(""),[o,d]=(0,s.useState)(""),[x,h]=(0,s.use
1State)("idle");async function f(){if(!("sending"===x||o.trim())&&(l.trim()||n.trim())){if(n.length>5e3)return void h("error");h("sending");try{await ee.Ay.send("service_qo9ogbq","template_zi59qjg",{name:t,email:l,message:n},"OBLOrDcgiO41VBYrT"),h("sent"),r(""),i(""),c("")}catch{h("error")}}}return(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-[17px] font-extrabold tracking-[-0.02em] text-[#14171c] dark:text-white",children:e("title")}),(0,a.jsx)("div",{className:"mt-1 text-[14px] leading-[1.5] text-[#6b7280] dark:text-gray-400",children:e("subtitle")}),"sent"===x?(0,a.jsx)("div",{className:"mt-4 rounded-[13px] bg-[#eaf7ef] px-4 py-3 text-[14px] font-bold text-[#1f9d55] dark:bg-[#1f9d55]/15",children:e("sent")}):(0,a.jsxs)("div",{className:"mt-4 flex flex-col gap-2",children:[(0,a.jsx)("div",{className:et,children:(0,a.jsx)("input",{className:er,placeholder:e("name"),value:t,onChange:e=>r(e.target.value),autoComplete:"name"})}),(0,a.jsx)("div",{className:et,children:(0,a.jsx)("input",{className:er,placeholder:e("contact"),value:l,onChange:e=>i(e.target.value),autoComplete:"email"})}),(0,a.jsx)("div",{className:et,children:(0,a.jsx)("textarea",{rows:3,className:`${er} block resize-none`,placeholder:e("message"),value:n,onChange:e=>c(e.target.value)})}),(0,a.jsx)("input",{type:"text",tabIndex:-1,autoComplete:"off",value:o,onChange:e=>d(e.target.value),className:"absolute h-0 w-0 opacity-0","aria-hidden":!0}),(0,a.jsx)("button",{type:"button",onClick:f,disabled:"sending"===x,className:"rounded-[13px] bg-[#1f6fe5] py-3.5 text-center text-[15px] font-bold text-white transition-colors hover:brightness-110 disabled:opacity-60",children:e("submit")}),"error"===x&&(0,a.jsx)("div",{className:"text-[13px] font-semibold text-[#e5484d]",children:e("error")}),(0,a.jsx)("div",{className:"text-[12px] text-[#8b929d]",children:e("privacy")})]})]})}function es(){let e=(0,c.c)("homeV2.footer"),t=(0,c.c)("homeV2.contact"),r=(0,c.Y)(),[l,i]=(0,s.useState)(""),[n,o]=(0,s.useState)(""),[d,x]=(0,s.useState)("idle");async function h(){if("busy"!==d&&l.trim()){x("busy");try{let e=await fetch("/api/newsletter",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({email:l,locale:r,source:"home-footer",website:n})}),t=await e.json().catch(()=>({ok:!1}));e.ok&&!1!==t.ok?(x("ok"),i("")):x("err")}catch{x("err")}}}return"ok"===d?(0,a.jsx)("div",{className:"mt-3.5 rounded-[13px] bg-[#eaf7ef] px-4 py-3 text-[14px] font-bold text-[#1f9d55] dark:bg-[#1f9d55]/15",children:t("sent")}):(0,a.jsxs)("div",{className:"mt-3.5",children:[(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)("div",{className:"min-w-0 flex-1 rounded-[13px] border border-[#e6e8ec] bg-[#f4f5f7] px-[14px] py-3 dark:border-[#2c2f32] dark:bg-[#1e2026]",children:(0,a.jsx)("input",{type:"email",placeholder:"[email protected]",value:l,onChange:e=>i(e.target.value),onKeyDown:e=>"Enter"===e.key&&h(),className:"w-full border-0 bg-transparent p-0 text-[15px] font-semibold text-[#14171c] outline-none placeholder:text-[#9aa2ad] dark:text-white"})}),(0,a.jsx)("input",{type:"text",tabIndex:-1,autoComplete:"off",value:n,onChange:e=>o(e.target.value),className:"absolute h-0 w-0 opacity-0","aria-hidden":!0}),(0,a.jsx)("button",{type:"button",onClick:h,disabled:"busy"===d,className:"shrink-0 rounded-[13px] bg-[#1f6fe5] px-4 py-3 text-[14px] font-bold text-white transition-colors hover:brightness-110 disabled:opacity-60",children:e("subscribe")})]}),"err"===d&&(0,a.jsx)("div",{className:"mt-1.5 text-[12px] font-semibold text-[#e5484d]",children:t("error")})]})}let el=[{href:"https://www.instagram.com/visitbaku.app",title:"Instagram",icon:(0,a.jsx)(x.InstagramIcon,{className:"h-[15px] w-[15px]"})},{href:"https://www.facebook.com/visitbakuapp",title:"Facebook",icon:(0,a.jsx)(x.FacebookIcon,{className:"h-[19px] w-[19px]"})},{href:"https://t.me/visitbakublog",title:"Telegram",icon:(0,a.jsx)(x.TelegramIcon,{className:"h-[15px] w-[15px]"})},{href:"https://www.youtube.com/@visitbaku-app-youtube",title:"YouTube",icon:(0,a.jsx)(x.YoutubeIcon,{className:"h-[16px] w-[16px]"})},{href:"https://apps.apple.com/us/developer/mukhammed-aliiev/id1773315125",title:"Ap
1p Store",icon:(0,a.jsx)(x.AppleIcon,{className:"h-[15px] w-[15px]"})},{href:"https://play.google.com/store/apps/details?id=com.vistbaku.app",title:"Google Play",icon:(0,a.jsx)(x.GooglePlay,{className:"h-[15px] w-[15px]"})}],ei=[(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"M12 21s-6-5.3-6-10a6 6 0 1 1 12 0c0 4.7-6 10-6 10z"}),(0,a.jsx)("circle",{cx:"12",cy:"11",r:"2.2"})]}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"M4 8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2 2 2 0 0 0 0 4 2 2 0 0 1-2 2H6a2 2 0 0 1-2-2 2 2 0 0 0 0-4z"}),(0,a.jsx)("path",{d:"M12 6.5v11",strokeDasharray:"2 2"})]}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"M3 7v11M3 12h18v6M21 18v-4a3 3 0 0 0-3-3H10v4"}),(0,a.jsx)("circle",{cx:"6.6",cy:"10.4",r:"1.4"})]}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("rect",{x:"3.6",y:"3.6",width:"7",height:"7",rx:"1.6"}),(0,a.jsx)("rect",{x:"13.4",y:"3.6",width:"7",height:"7",rx:"1.6"}),(0,a.jsx)("rect",{x:"3.6",y:"13.4",width:"7",height:"7",rx:"1.6"}),(0,a.jsx)("rect",{x:"13.4",y:"13.4",width:"7",height:"7",rx:"1.6"})]}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("rect",{x:"5",y:"3.5",width:"14",height:"17",rx:"2.5"}),(0,a.jsx)("path",{d:"M8.5 8h7M8.5 12h7M8.5 16h4"})]})],en=["flights","hotels","tours","transfer","car"],ec=[(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("rect",{x:"6",y:"2.6",width:"12",height:"18.8",rx:"3"}),(0,a.jsx)("path",{d:"M9.6 18.4h4.8"})]}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"M12 2.8l7.4 2.6v6.2c0 4.4-3 7.7-7.4 9.6-4.4-1.9-7.4-5.2-7.4-9.6V5.4z"}),(0,a.jsx)("path",{d:"M9.2 12.2l2 2 3.6-4"})]}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"M3.4 15.6h17.2M5.6 15.6l1.6-6.2A2.4 2.4 0 0 1 9.5 7.6h5a2.4 2.4 0 0 1 2.3 1.8l1.6 6.2"}),(0,a.jsx)("path",{d:"M6.4 15.6v2.4M17.6 15.6v2.4"})]}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"M2.8 14.6h18.4M4.6 14.6l1.8-5.4A2.6 2.6 0 0 1 8.9 7.4h6.2a2.6 2.6 0 0 1 2.5 1.8l1.8 5.4v3.4H4.6z"}),(0,a.jsx)("circle",{cx:"7.8",cy:"17.2",r:"1.2"}),(0,a.jsx)("circle",{cx:"16.2",cy:"17.2",r:"1.2"})]})],eo="bg-white dark:bg-[#181a1c] border border-[#e6e8ec] dark:border-[#2c2f32]",ed="text-[#6b7280] dark:text-gray-400";function ex({title:e,href:t,cta:r,subtitle:s}){return(0,a.jsxs)("div",{className:"mb-4 flex items-baseline justify-between gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"text-[21px] font-extrabold tracking-[-0.025em] text-[#14171c] dark:text-white m-0 smP:text-[26px]",children:e}),s&&(0,a.jsx)("div",{className:`mt-1.5 text-[15px] ${ed}`,children:s})]}),t&&r&&(0,a.jsx)(i(),{href:t,className:"shrink-0 text-[14px] font-bold text-[#1f6fe5]",children:r})]})}function eh({heroImg:e,tours:t,hotels:r,posts:l,links:x}){let p=(0,c.c)("homeV2"),f=(0,c.c)("homeFaq").raw("items"),m=(0,c.c)("testimonials"),u=(0,c.c)(),b=(0,d.y)(),g=(0,c.Y)(),j=(e="")=>`${g===o.q?"":`/${g}`}${e?`/${e}`:""}`,[v,w]=(0,s.useState)("flights"),[k,N]=(0,s.useState)(0),[y,C]=(0,s.useState)(()=>t.slice(0,8));(0,s.useEffect)(()=>{C([...t].sort(()=>Math.random()-.5).slice(0,8))},[t]);let[S,_]=(0,s.useState)(()=>r.slice(0,8));(0,s.useEffect)(()=>{_([...r].sort(()=>Math.random()-.5).slice(0,8))},[r]);let[M,$]=(0,s.useState)(null),[P,A]=(0,s.useState)(null);(0,s.useEffect)(()=>{fetch("/api/mini-weather").then(e=>e.ok?e.json():null).then(e=>{e&&"number"==typeof e.temp&&$({temp:e.temp})}).catch(()=>{}),fetch("/api/rates?currency=USD").then(e=>e.ok?e.json():null).then(e=>{let t=e?.conversion_rates?.AZN;"number"==typeof t&&A(t)}).catch(()=>{})},[]);let L=M?`${Math.round(M.temp)>0?"+":""}${Math.round(M.temp)}\xb0`:p("hero.nowValue"),D=p("hero.nowDesc"),E=P?`${new Intl.NumberFormat(g,{minimumFractionDigits:2,maximumFractionDigits:2}).format(P)} ₼`:p("hero.rateValue"),T=p.raw("services.items"),I=(p.raw("regions.items"),p.raw("search.trust")),O=p.raw(`search.forms.${v}`),R="transfer"===v?[O[0],O[2]].filter(Boolean):O,B=[{href:x.esim,ext:!1},{href:x.insurance,ext:!0},{href:x.transfer,ext:!0},{href:x.car,ext:!0}],z={flights:x.claim,hotels:x.hotels,tours:x.tours,transfer:x.transfer,car:x.car},G=[{label:u("navigation.tours"),href:j("tours-in-baku")},{label:u("navigation.hotels"),href:j((0,o.Vp)(g))},{label:p("search.tabs.flights"),href:"#search"},{label:T[2]?.title??"",href:x.transfer,ext:!0},{label:u("navigation.carRental"),href:"https://www.discovercars.com/?a_aid=daviex",ext:!0},{label:u("navigation.blog"),href:j("blog")}
1],q=[{label:u("navigation.claimFlightCompensation"),href:j((0,o.Em)(g))},{label:u("navigation.esim"),href:j((0,o.wU)(g))},{label:T[1]?.title??"",href:x.insurance,ext:!0},{label:u("footerNew.weather"),href:j("baku-weather")},{label:u("footerNew.currency"),href:j("currency-converter")},{label:u("navigation.dishes"),href:j(b)},{label:u("aboutUs.breadcrumb"),href:j("about-us")},{label:u("footerNew.cont"),href:j("contact-us")},{label:"Visit Baku",href:j("visit-baku")}],W=[{label:u("navigation.faq"),href:j("faq")},{label:u("Footer.footer2"),href:j("privacy-policy")},{label:m("writeReview"),href:j("write-review")}],U=[{label:p("search.tabs.tours"),href:"#tours"},{label:p("search.tabs.flights"),href:"#search"},{label:p("search.tabs.hotels"),href:"#hotels"},{label:p("nav.services"),href:"#services"},{label:p("blog.title"),href:"#blog"}];return(0,a.jsxs)("div",{className:"bg-[#f4f5f7] pb-24 dark:bg-[#0f1115] lg:pb-0",style:{fontFamily:"var(--font-manrope, Manrope), inherit"},children:[(0,a.jsxs)("div",{className:"mx-auto max-w-[1200px] px-4 pt-4",children:[(0,a.jsxs)("div",{className:"relative flex min-h-[420px] items-center overflow-hidden rounded-[28px] sm:min-h-[248px] sm:rounded-[20px]",children:[(0,a.jsx)(n.default,{src:e,alt:p("hero.imageAlt"),fill:!0,priority:!0,sizes:"(max-width: 1200px) 100vw, 1200px",className:"object-cover",style:{objectPosition:"68% center"}}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-black/25 via-transparent to-transparent sm:hidden"}),(0,a.jsxs)("div",{className:"relative m-5 max-w-[520px] rounded-[24px] bg-white/95 p-6 shadow-[0_18px_44px_rgba(10,22,48,0.16)] backdrop-blur dark:bg-[#181a1c]/95 sm:m-3 sm:rounded-[16px] sm:p-4",children:[(0,a.jsx)("h1",{className:"m-0 mb-4 text-[34px] font-extrabold leading-[1.05] tracking-[-0.03em] text-[#14171c] dark:text-white sm:mb-1.5 sm:text-[20px] sm:leading-[1.18]",children:p("hero.title")}),(0,a.jsx)("p",{className:"m-0 mb-6 max-w-[450px] text-[16px] leading-[1.55] text-[#3f4854] dark:text-gray-300 sm:mb-3 sm:text-[12.5px] sm:leading-[1.4]",children:p("hero.subtitle")}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,a.jsx)(i(),{href:x.tours,className:"rounded-[14px] bg-[#1f6fe5] px-6 py-3.5 text-[15px] font-bold text-white transition-colors hover:brightness-110 sm:rounded-[11px] sm:px-4 sm:py-2 sm:text-[13px]",children:p("hero.ctaTours")}),!1]})]}),(0,a.jsxs)("div",{className:"absolute right-7 top-7 hidden w-[228px] flex-col gap-2.5 lg:flex",children:[(0,a.jsx)(ep,{label:p("hero.nowLabel"),big:L,small:D}),(0,a.jsx)(ep,{label:p("hero.rateLabel"),big:E,small:p("hero.rateDesc")})]})]}),(0,a.jsx)("div",{className:"sh mt-3 flex gap-2 overflow-x-auto lg:hidden",children:[{l:p("hero.nowLabel"),v:L},{l:p("hero.rateLabel"),v:E}].map((e,t)=>(0,a.jsxs)("div",{className:`shrink-0 rounded-[14px] px-3.5 py-2.5 ${eo}`,children:[(0,a.jsx)("div",{className:"text-[10px] font-extrabold tracking-[0.08em] text-[#6b7280]",children:e.l}),(0,a.jsx)("div",{className:"mt-1 text-[15px] font-extrabold text-[#14171c] dark:text-white",children:e.v})]},t))}),(0,a.jsxs)("div",{id:"search",className:`relative z-[5] mx-1 mt-4 rounded-[24px] p-2.5 pb-5 shadow-[0_20px_48px_rgba(10,22,48,0.13)] sm:mx-3 lg:mt-[-34px] ${eo}`,children:[(0,a.jsx)("div",{className:"sh overflow-x-auto px-2 pb-3.5 pt-1.5",children:(0,a.jsx)("div",{className:"inline-flex gap-[3px] rounded-[14px] bg-[#f1f2f5] p-1 dark:bg-[#22262c]",children:en.map(e=>{let t=e===v;return(0,a.jsxs)("button",{type:"button",onClick:()=>w(e),className:`flex shrink-0 items-center gap-2 whitespace-nowrap rounded-[11px] px-[18px] py-2.5 text-[15px] font-bold transition-colors sm:gap-1.5 sm:rounded-[10px] sm:px-3.5 sm:py-2 sm:text-[13.5px] ${t?"bg-white text-[#14171c] shadow-[0_2px_8px_rgba(10,22,48,0.12)] dark:bg-[#0f1115] dark:text-white":"bg-transparent text-[#6b7280]"}`,children:[(0,a.jsx)("span",{className:`h-[7px] w-[7px] shrink-0 rounded-full sm:hidden ${t?"bg-[#1f6fe5]":"bg-[#c3c8d0] dark:bg-[#4b5563]"}`}),p(`search.tabs.${e}`)]},e)})})}),"flights"===v?(0,a.jsx)(F,{}):"hotels"===v?(0,a.jsx)(V,{}):"tours"===v?(0,a.jsx)(K,{}):"transfer"===v?(0,a.jsx)(Y,{}):"car"===v?(0,a.jsx)(H,{}):(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-2.5 px-2.5 lg:grid-cols-[repeat(auto-fit,minmax(140px,1fr))]",children:[R.map((e,t)=>(0,a.jsxs)("div",{className:"rounded-[14px] bg-[#f4f5f7] px-4 py-3 dark:bg-[#1e2026]",children:[(0,a.jsx)("div",{className:"text-[11px] font-extrabold tracking-[0.07em] text-[#6b7280]",children:e.label}),(0,a.jsx)("div",{className:"mt-1.5 truncate text-[16px] font-bold text-[#14171c] dark:text-white",children:e.value})]},t)),"transfer"===v||"car"===v?(0,a.jsx)("a",{href:z[v],target:"_blank",rel:"nofollow sponsored noopener",className:"col-span-2 flex items-center justify-center rounded-[14px] bg-[#1f6fe5] px-6 py-3 text-[16px] font-bold text-white transition-colors hover:brightness-110 lg:col-span-1",children:p("search.find")}):(0,a.jsx)(i(),{href:z[v],className:"col-span-2 flex items-center justify-center rounded-[14px] bg-[#1f6fe5] px-6 py-3 text-[16px] font-bold text-white transition-colors hover:brightness-110 lg:col-span-1",children:p("search.find")})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-x-6 gap-y-2 px-3 pt-4 text-[13px] font-semibold text-[#6b7280]",children:I.map((e,t)=>(0,a.jsx)("div",{children:e},t))})]}),(0,a.jsxs)("div",{id:"services",className:"mt-12",children:[(0,a.jsx)(ex,{title:p("services.title"),href:x.esim,cta:p("services.all")}),(0,a.jsx)("div",{className:"sh grid grid-cols-2 gap-3.5 lg:grid-cols-4 sm:flex sm:gap-3 sm:overflow-x-auto sm:pb-1",children:T.map((e,t)=>{let r=B[t]??{href:x.contact,ext:!1},s=`flex min-h-[200px] flex-col rounded-[20px] p-[22px] transition-all hover:border-[#1f6fe5] hover:shadow-[0_10px_26px_rgba(10,22,48,0.09)] sm:min-h-[188px] sm:w-[214px] sm:shrink-0 sm:p-5 ${eo}`,l=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-2.5",children:[(0,a.jsx)("div",{className:"flex h-[42px] w-[42px] shrink-0 items-center justify-center rounded-[13px] bg-[#f1f4f9] dark:bg-[#20242b]",children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:"h-[21px] w-[21px]",fill:"none",stroke:"#1f6fe5",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,
1children:ec[t]})}),(0,a.jsx)("div",{className:"whitespace-nowrap rounded-full bg-[#eaf1fe] px-[11px] py-1.5 text-[12px] font-extrabold text-[#1f6fe5] dark:bg-[#1f6fe5]/15",children:e.tag})]}),(0,a.jsx)("div",{className:"mt-4 text-[19px] font-extrabold leading-[1.25] tracking-[-0.02em] text-[#14171c] dark:text-white",children:e.title}),(0,a.jsx)("div",{className:`mt-1.5 text-[14px] leading-[1.45] ${ed}`,children:e.text}),(0,a.jsxs)("div",{className:"mt-auto flex items-center gap-1.5 pt-4 text-[14px] font-bold text-[#14171c] dark:text-white",children:[e.cta," ",(0,a.jsx)("span",{className:"text-[#1f6fe5]",children:"→"})]})]});return r.ext?(0,a.jsx)("a",{href:r.href,target:"_blank",rel:"nofollow sponsored noopener",className:s,children:l},t):(0,a.jsx)(i(),{href:r.href,className:s,children:l},t)})})]}),(0,a.jsxs)(i(),{href:x.claim,id:"refund",className:"mt-12 grid items-center gap-7 rounded-[24px] p-8 text-white lg:grid-cols-[1.3fr_1fr]",style:{background:"linear-gradient(120deg,#10306c,#1f6fe5)"},children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-[11px] font-extrabold tracking-[0.1em] text-[#a9caff]",children:p("refund.eyebrow")}),(0,a.jsx)("div",{className:"mt-3 text-[26px] font-extrabold leading-[1.15] tracking-[-0.03em] sm:text-[23px] sm:leading-[1.18]",children:p("refund.title")}),(0,a.jsx)("div",{className:"mt-3 max-w-[560px] text-[15px] leading-[1.55] text-white/85",children:p("refund.subtitle")})]}),(0,a.jsxs)("div",{className:"rounded-[18px] border border-white/25 bg-white/10 p-5",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2.5 text-[15px] font-semibold text-white/90",children:[(0,a.jsx)("div",{children:p("refund.b1")}),(0,a.jsx)("div",{children:p("refund.b2")}),(0,a.jsx)("div",{children:p("refund.b3")})]}),(0,a.jsx)("div",{className:"mt-4 rounded-[12px] bg-white px-3.5 py-3.5 text-center text-[15px] font-bold text-[#14171c]",children:p("refund.cta")})]})]}),t.length>0&&(0,a.jsxs)("div",{id:"tours",className:"mt-12",children:[(0,a.jsx)(ex,{title:p("tours.title"),subtitle:p("tours.subtitle"),href:x.tours,cta:p("tours.all")}),(0,a.jsx)("div",{className:"sh grid grid-cols-4 gap-3.5 sm:flex sm:overflow-x-auto sm:pb-2",children:y.map((e,t)=>(0,a.jsxs)(i(),{href:e.href,className:`flex w-full flex-col overflow-hidden rounded-[20px] sm:w-[292px] sm:shrink-0 ${eo}`,children:[(0,a.jsx)("div",{className:"relative h-[160px] w-full overflow-hidden bg-[#dbe3ee] dark:bg-[#22262c] lg:h-[168px]",children:(0,a.jsx)(n.default,{src:e.img,alt:e.title,fill:!0,sizes:"292px",className:"object-cover"})}),(0,a.jsxs)("div",{className:"flex flex-1 flex-col px-3.5 pb-3.5 pt-3 lg:px-4 lg:pb-[18px] lg:pt-4",children:[(0,a.jsx)("div",{className:"line-clamp-2 text-[15px] font-extrabold leading-[1.28] tracking-[-0.015em] text-[#14171c] dark:text-white lg:text-[17px] lg:leading-[1.3]",children:e.title}),e.meta&&(0,a.jsx)("div",{className:`mt-1 line-clamp-1 text-[12.5px] leading-[1.4] lg:text-[14px] ${ed}`,children:e.meta}),(0,a.jsxs)("div",{className:"mt-auto flex items-center justify-between gap-1.5 pt-3",children:[(0,a.jsxs)("div",{className:"flex min-w-0 items-center gap-1.5",children:[e.rating&&(0,a.jsxs)("span",{className:"shrink-0 whitespace-nowrap text-[13px] font-bold text-[#14171c] dark:text-white",children:["★ ",e.rating]}),e.reviews&&(0,a.jsx)("span",{className:`truncate text-[12px] ${ed}`,children:e.reviews})]}),e.price&&(0,a.jsx)("span",{className:"shrink-0 whitespace-nowrap text-[17px] font-extrabold text-[#1f6fe5] lg:text-[20px]",children:e.price})]})]})]},t))})]}),!1,r.length>0&&(0,a.jsxs)("div",{id:"hotels",className:"mt-12",children:[(0,a.jsx)(ex,{title:p("hotels.title"),href:x.hotels,cta:p("hotels.all")}),(0,a.jsx)("div",{className:"sh flex gap-3.5 overflow-x-auto pb-2",children:S.map((e,t)=>(0,a.jsxs)("a",{href:e.href,target:"_blank",rel:"nofollow sponsored noopener",className:`flex w-[250px] shrink-0 flex-col overflow-hidden rounded-[20px] sm:w-[268px] ${eo}`,children:[(0,a.jsx)("div",{className:"relative h-[150px] w-full overflow-hidden bg-[#dbe3ee] dark:bg-[#22262c] lg:h-[160px]",children:(0,a.jsx)(n.default,{src:e.img,alt:e.title,fill:!0,sizes:"268px",className:"object-cover"})}),(0,a.jsxs)("div",{className:"flex flex-1 flex-col px-3.5 pb-3.5 pt-3 lg:px-4 lg:pb-[17px] lg:pt-[15px]",children:[(0,a.jsx)("div",{className:"line-clamp-2 text-[15px] font-extrabold tracking-[-0.015em] text-[#14171c] dark:text-white lg:text-[16
1px]",children:e.title}),e.meta&&(0,a.jsx)("div",{className:`mt-1 line-clamp-1 text-[12.5px] lg:text-[13px] ${ed}`,children:e.meta}),(0,a.jsxs)("div",{className:"mt-auto flex items-center justify-between gap-1.5 pt-3",children:[(0,a.jsxs)("div",{className:"flex min-w-0 items-center gap-1.5",children:[e.rating&&(0,a.jsx)("span",{className:"shrink-0 rounded-[8px] bg-[#eaf1fe] px-2 py-1 text-[12.5px] font-extrabold text-[#1f6fe5] dark:bg-[#1f6fe5]/15",children:e.rating}),e.reviews&&(0,a.jsx)("span",{className:`truncate text-[12px] ${ed}`,children:e.reviews})]}),e.price&&(0,a.jsx)("span",{className:"shrink-0 whitespace-nowrap text-[16px] font-extrabold text-[#14171c] dark:text-white lg:text-[18px]",children:e.price})]})]})]},t))})]}),l.length>0&&(0,a.jsxs)("div",{id:"blog",className:"mt-12",children:[(0,a.jsx)(ex,{title:p("blog.title"),href:x.blog,cta:p("blog.all")}),(0,a.jsx)("div",{className:"grid grid-cols-2 gap-3.5 lg:grid-cols-4",children:l.map((e,t)=>(0,a.jsxs)(i(),{href:e.href,className:`overflow-hidden rounded-[20px] ${eo}`,children:[(0,a.jsx)("div",{className:"relative h-[132px] w-full overflow-hidden bg-[#dbe3ee] dark:bg-[#22262c]",children:e.img&&(0,a.jsx)(n.default,{src:e.img,alt:e.title,fill:!0,sizes:"(max-width:1024px) 50vw, 280px",className:"object-cover"})}),(0,a.jsxs)("div",{className:"px-4 pb-[18px] pt-[15px]",children:[(0,a.jsx)("div",{className:`text-[12px] font-bold ${ed}`,children:e.date}),(0,a.jsx)("div",{className:"mt-1.5 text-[16px] font-extrabold leading-[1.32] tracking-[-0.015em] text-[#14171c] dark:text-white",children:e.title})]})]},t))})]}),(0,a.jsx)(J,{}),(0,a.jsx)("div",{className:"mt-12 grid",children:(0,a.jsxs)("div",{id:"app",className:"flex flex-col rounded-[24px] p-7 text-white sm:p-8",style:{background:"linear-gradient(140deg,#0f2c62,#1f6fe5)"},children:[(0,a.jsx)("div",{className:"text-[11px] font-extrabold tracking-[0.1em] text-[#a9caff]",children:p("app.eyebrow")}),(0,a.jsx)("div",{className:"mt-3 max-w-[420px] text-[26px] font-extrabold leading-[1.15] tracking-[-0.03em] sm:text-[22px] sm:leading-[1.18]",children:p("app.title")}),(0,a.jsx)("div",{className:"mt-3 max-w-[460px] text-[15px] leading-[1.55] text-white/85",children:p("app.subtitle")}),(0,a.jsxs)("div",{className:"mt-auto flex gap-2.5 pt-6",children:[(0,a.jsx)("a",{href:x.appStore,target:"_blank",rel:"noopener",className:"rounded-[12px] border border-white/30 bg-white/15 px-5 py-3 text-[14px] font-bold",children:"App Store"}),(0,a.jsx)("a",{href:x.googlePlay,target:"_blank",rel:"noopener",className:"rounded-[12px] border border-white/30 bg-white/15 px-5 py-3 text-[14px] font-bold",children:"Google Play"})]})]})}),(0,a.jsxs)("section",{id:"faq",className:"mt-12",children:[(0,a.jsxs)("div",{className:"lg:grid lg:grid-cols-[0.8fr_1.5fr] lg:items-start lg:gap-9",children:[(0,a.jsxs)("div",{className:"lg:sticky lg:top-[90px]",children:[(0,a.jsx)("div",{className:"text-[14px] font-bold text-[#8b929d]",children:p("faq.eyebrow")}),(0,a.jsx)("h2",{className:"mt-1.5 text-[21px] font-extrabold leading-[1.14] tracking-[-0.03em] text-[#14171c] dark:text-white smP:text-[26px] lg:text-[30px]",children:p("faq.title")}),(0,a.jsx)("div",{className:`mt-3 text-[15px] leading-[1.55] ${ed}`,children:p("faq.subtitle")}),(0,a.jsx)("div",{className:`mt-5 hidden rounded-[20px] p-[22px] lg:block ${eo}`,children:(0,a.jsx)(ea,{})})]}),(0,a.jsx)("div",{className:"mt-5 flex flex-col gap-2 lg:mt-0",children:f.map((e,t)=>{let r=k===t;return(0,a.jsxs)("div",{onClick:()=>N(r?null:t),className:`cursor-pointer rounded-[16px] border px-5 py-[18px] transition-colors ${r?"border-[#1f6fe5]":"border-[#e6e8ec] dark:border-[#2c2f32]"} bg-white dark:bg-[#181a1c]`,children:[(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)("div",{className:"text-[16px] font-bold leading-[1.35] tracking-[-0.015em] text-[#14171c] dark:text-white lg:text-[17px]",children:e.q}),(0,a.jsx)("div",{className:`ml-auto flex h-[30px] w-[30px] shrink-0 items-center justify-center rounded-full text-[17px] font-bold leading-none ${r?"bg-[#1f6fe5] text-white":"bg-[#f1f2f5] text-[#6b7280] dark:bg-[#22262c] dark:text-gray-300"}`,children:r?"−":"+"})]}),r&&(0,a.jsx)("div",{className:`mt-3 text-[15px] leading-[1.6] ${ed} lg:pr-[46px]`,children:e.a})]},t)})})]}),(0,a.jsx)("div",{className:`mt-3 rounded-[20px] p-[22px] lg:hidden ${eo}`,children:(0,a.jsx)(ea,{})})]})]}),(0,a.jsx)("footer",{className:"mt-14 border-t border-[#e6e8ec] bg-white dark:border-[#2c2f32] dark:bg-[#14171c]",children:(0,a.jsxs)("div",{className:"mx-auto max-w-[1200px] px-4 py-10 sm:px-6",children:[(0,a.jsxs)("div",{className:"grid gap-9 sm:gap-8 lg:grid-cols-[1.1fr_1fr_1fr_1.3fr]",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,a.jsx)(h.A,{className:"h-[34px] w-[34px] rounded-[11px]"}),(0,a.jsx)("div",{className:"text-[18px] font-extrabold tracking-[-0.02em] text-[#14171c] dark:text-white",children:"Visit Baku"})]}),(0,a.jsx)("div",{className:`mt-3 max-w-[240px] text-[14px] leading-[1.55] ${ed}`,children:p("footer.about")}),(0,a.jsx)("div",{className:"mt-4 flex flex-wrap items-center gap-2",children:el.map(e=>(0,a.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer","aria-label":e.title,title:e.title,className:"flex h-[34px] w-[34px] items-center justify-center rounded-[10px] border border-[#e2e6ee] text-[#6b7280] transition-colors hover:border-[#1f6fe5] hover:text-[#1f6fe5] dark:border-[#2c2f32]",children:e.icon},e.title))})]}),[{title:p("footer.trip"),links:G},{title:p("footer.services"),links:q}].map(e=>(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-[13px] font-extrabold tracking-[0.06em] text-[#8b929d]",children:e.title}),(0,a.jsx)("div",{className:"mt-3.5 flex flex-col gap-2.5",children:e.links.map(e=>(0,a.jsx)("a",{href:e.href,..."ext"in e&&e.ext?{target:"_blank",rel:"nofollow sponsored noopener"}:{},className:"text-[15px] font-semibold text-[#14171c] transition-colors hover:text-[#1f6fe5] dark:text-white",children:e.label},e.label))})]},e.title)),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-[13px] font-extrabold tracking-[0.06em] text-[#8b929d]",children:p("footer.newsTitle")}),(0,a.jsx)("div",{className:`mt-3 text-[14px] leading-[1.5] ${ed}`,children:p("footer.newsText")}),(0,a.jsx)(es,{}),(0,a.jsx)(i(),{href:j("blog/visit-baku-wins-netty-2025"),title:"Netty Milli İnternet M\xfckafatı — Qalib 2025",className:"mt-4 inline-flex items-center gap-3 rounded-lg px-2.5 py-1.5 ring-1 ring-black/5 transition hover:bg-white/80 hover:ring-black/10 dark:ring-white/10 dark:hover:bg-[#1e2325]/80",children:(0,a.jsx)(n.default,{src:"/assets/winner-netty-award.avif",alt:"Netty Milli İnternet M\xfckafatı — Qalib 2025",width:120,height:56,className:"h-11 w-auto object-contain",unoptimized:!0})})]})]}),(0,a.jsxs)("div",{className:"mt-8 flex flex-wrap items-center justify-between gap-4 border-t border-[#eceef2] pt-5 dark:border-[#22262c]",children:[(0,a.jsx)("div",{className:"text-[13px] text-[#8b929d]",children:p("footer.rights")}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-5 text-[13px] font-semibold text-[#6b7280]",children:[W.map(e=>(0,a.jsx)("a",{href:e.href,className:"hover:text-[#1f6fe5]",children:e.label},e.label)),(0,a.jsx)("a",{href:"mailto:[email protected]",className:"hover:text-[#1f6fe5]",children:"[email protected]"})]})]})]})}),(0,a.jsx)("div",{className:"fixed bottom-0 left-0 right-0 z-40 grid grid-cols-5 ga
1p-0.5 border-t border-[#e6e8ec] bg-white/95 px-2 pb-3.5 pt-2 backdrop-blur-md dark:border-[#2c2f32] dark:bg-[#14171c]/95 lg:hidden",children:U.map((e,t)=>(0,a.jsxs)("a",{href:e.href,className:"flex min-h-[46px] flex-col items-center justify-center gap-1 text-[11px] font-bold text-[#6b7280] transition-colors hover:text-[#1f6fe5] dark:text-gray-400",children:[(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:"h-[21px] w-[21px]",fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:ei[t]}),e.label]},e.href))})]})}function ep({label:e,big:t,small:r}){return(0,a.jsxs)("div",{className:"rounded-[18px] bg-white/95 p-4 shadow-[0_10px_26px_rgba(10,22,48,0.1)] dark:bg-[#181a1c]/95",children:[(0,a.jsx)("div",{className:"text-[11px] font-extrabold tracking-[0.09em] text-[#6b7280]",children:e}),(0,a.jsxs)("div",{className:"mt-1.5 flex items-baseline gap-2",children:[(0,a.jsx)("div",{className:"text-[25px] font-extrabold text-[#14171c] dark:text-white",children:t}),(0,a.jsx)("div",{className:"text-[13px] text-[#6b7280]",children:r})]})]})}},6902:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,4069,23)),Promise.resolve().then(r.bind(r,5890))}},e=>{e.O(0,[6707,9800,5748,3361,9987,786,8299,2782,7635,6861,5885,1980,9299,9485,3189,1702,7908,9621,4709,9998,4269,9173,7931,4276,408,9872,9473,4409,2076,7358],()=>e(e.s=6902)),_N_E=e.O()}]);

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.