1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,87758,12801,e=>{"use strict";var t=e.i(43476),a=e.i(71645);let r="aa.cookie-consent";function n(){try{return window.localStorage}catch{return null}}function i(e){return{zorunlu:!0,analitik:e?.analitik===!0,pazarlama:e?.pazarlama===!0}}function l(e){let t;if(!e)return null;try{t=JSON.parse(e)}catch{return null}if("object"!=typeof t||null===t)return null;let a=t;return 1!==a.version||"string"!=typeof a.decidedAt||""===a.decidedAt||"object"!=typeof a.categories||null===a.categories?null:{version:1,decidedAt:a.decidedAt,categories:i(a.categories)}}function o(e=n()){if(!e)return null;try{return e.getItem(r)}catch{return null}}function s(e,t=n(),a=new Date){let l={version:1,decidedAt:a.toISOString(),categories:i(e)};try{t?.setItem(r,JSON.stringify(l))}catch{}return l}function c(e,t){return"zorunlu"===t||e?.categories[t]===!0}e.s(["allowAllSelection",0,function(){return{zorunlu:!0,analitik:!0,pazarlama:!0}},"isCategoryAllowed",0,c,"parseConsentRecord",0,l,"readRawConsent",0,o,"rejectAllSelection",0,function(){return{zorunlu:!0,analitik:!1,pazarlama:!1}},"writeConsent",0,s],12801);let d=new Set,u=null,h=null,m=!1;function f(e){return d.add(e),window.addEventListener("storage",e),()=>{d.delete(e),window.removeEventListener("storage",e)}}function _(){let e=o();return m&&e===u||(u=e,h=l(e),m=!0),h}function p(){return null}let g=()=>{};function x(){return g}let j=()=>!0,y=()=>!1,b=(0,a.createContext)(null);function k(){let e=(0,a.useContext)(b);if(!e)throw Error("useCookieConsent, CookieConsentProvider içinde kullanılmalıdır.");return e}e.s(["CookieConsentProvider",0,function({children:e}){let r=(0,a.useSyncExternalStore)(f,_,p),n=(0,a.useSyncExternalStore)(x,j,y),[i,l]=(0,a.useState)(!1),o=(0,a.useCallback)(e=>{for(let t of(s(e),l(!1),d))t()},[]),u=(0,a.useCallback)(e=>c(r,e),[r]),h=(0,a.useCallback)(()=>l(!0),[]),m=(0,a.useCallback)(()=>l(!1),[]);return(0,t.jsx)(b.Provider,{value:{record:r,ready:n,needsDecision:n&&null===r,allows:u,save:o,preferencesOpen:i,openPreferences:h,closePreferences:m},children:e})},"useConsentAllows",0,function(e){return k().allows(e)},"useCookieConsent",0,k],87758)},81595,e=>{"use strict";var t=e.i(43476),a=e.i(22016),r=e.i(71645),n=e.i(70094),i=e.i(87758),l=e.i(12801),o=e.i(71574);let s=["analitik","pazarlama"],c={analitik:{title:"chrome.cookie_cat_analytics_title",body:"chrome.cookie_cat_analytics_body"},pazarlama:{title:"chrome.cookie_cat_marketing_title",body:"chrome.cookie_cat_marketing_body"}};function d({record:e,onClose:a,onDecide:i}){let u=(0,o.useT)(),h=(0,r.useRef)(null),m=(0,r.useId)(),f=(0,r.useId)(),[_,p]=(0,r.useState)(()=>e?.categories??(0,l.rejectAllSelection)());return(0,r.useEffect)(()=>{let e=h.current;if(!e)return;let t=document.activeElement,r=()=>Array.from(e.querySelectorAll("button, [href], input:not([disabled])"));r()[0]?.focus();let n=t=>{if("Escape"===t.key){t.preventDefault(),a();return}if("Tab"!==t.key)return;let n=r();if(0===n.length)return;let i=n[0],l=n[n.length-1],o=document.activeElement;t.shiftKey&&(o===i||!e.contains(o))?(t.preventDefault(),l.focus()):t.shiftKey||o!==l||(t.preventDefault(),i.focus())};return document.addEventListener("keydown",n),document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",n),document.body.style.overflow="",t?.focus()}},[a]),(0,t.jsx)("div",{className:"aa-cookiedlg",onMouseDown:e=>{e.target===e.currentTarget&&a()},children:(0,t.jsxs)("div",{ref:h,className:"aa-cookiedlg__panel",role:"dialog","aria-modal":"true","aria-labelledby":m,"aria-describedby":f,children:[(0,t.jsxs)("div",{className:"aa-cookiedlg__head",children:[(0,t.jsx)("h2",{id:m,children:u("chrome.cookie_dialog_title")}),(0,t.jsx)("button",{type:"button",className:"aa-cookiedlg__close","aria-label":u("chrome.cookie_dialog_close_aria"),onClick:a,children:(0,t.jsx)(n.SiteIcon,{id:"x"})})]}),(0,t.jsx)("p",{id:f,className:"aa-cookiedlg__intro",children:u("chrome.cookie_dialog_intro")}),(0,t.jsxs)("ul",{className:"aa-cookiedlg__list",children:[(0,t.jsxs)("li",{className:"aa-cookiedlg__row",children:[(0,t.jsxs)("div",{className:"aa-cookiedlg__row-text",children:[(0,t.jsx)("h3",{children:u("chrome.cookie_cat_essential_title")}),(0,t.jsx)("p",{children:u("chrome.cookie_cat_essential_body")})]}),(0,t.jsxs)("label",{className:"aa-cookiedlg__toggle",children:[(0,t.jsx)("input",{type:"checkbox",checked:!0,disabled:!0,readOnly:!0}),(0,t.jsx)("span",{children:u("chrome.cookie_cat_locked")})]})]}),s.map(e=>(0,t.jsxs)("li",{className:"aa-cookiedlg__row",children:[(0,t.jsxs)("div",{className:"aa-cookiedlg__row-text",children:[(0,t.jsx)("h3",{id:`${m}-${e}`,children:u(c[e].title)}),(0,t.jsx)("p",{children:u(c[e].body)})]}),(0,t.jsx)("label",{className:"aa-cookiedlg__toggle",children:(0,t.jsx)("input",{type:"checkbox",checked:_[e],"aria-labelledby":`${m}-${e}`,onChange:t=>p(a=>({...a,[e]:t.target.checked}))})})]},e))]}),(0,t.jsxs)("div",{className:"aa-cookiedlg__actions",children:[(0,t.jsx)("button",{type:"button",className:"aa-btn aa-btn--ghost2",onClick:()=>i((0,l.rejectAllSelection)()),children:u("chrome.cookie_reject")}),(0,t.jsx)("button",{type:"button",className:"aa-btn aa-btn--ghost2",onClick:()=>i((0,l.allowAllSelection)()),children:u("chrome.cookie_accept_all")}),(0,t.jsx)("button",{type:"button",className:"aa-btn aa-btn--primary",onClick:()=>i(_),children:u("chrome.cookie_save")})]})]})})}e.s(["CookieBanner",0,function(){let{needsDecision:e,record:r,save:n,preferencesOpen:s,openPreferences:c,closePreferences:u}=(0,i.useCookieConsent)(),h=(0,o.useT)();return(0,t.jsxs)(t.Fragment,{children:[e&&(0,t.jsx)("section",{className:"aa-cookie",role:"region","aria-label":h("chrome.cookie_region_aria"),children:(0,t.jsxs)("div",{className:"aa-wrap aa-cookie__in",children:[(0,t.jsxs)("div",{className:"aa-cookie__text",children:[(0,t.jsx)("h2",{className:"aa-cookie__title",children:h("chrome.cookie_title")}),(0,t.jsx)("p",{children:(()=>{let[e,r]=h("chrome.cookie_body").split("{link}");return(0,t.jsxs)(t.Fragment,{children:[e,(0,t.jsx)(a.default,{href:"/cerez-politikasi",children:h("chrome.cookie_policy_link_text")}),r]})})()})]}),(0,t.jsxs)("div",{className:"aa-cookie__actions",children:[(0,t.jsx)("button",{type:"button",className:"aa-btn aa-btn--ghost2",onClick:()=>n((0,l.rejectAllSelection)()),children:h("chrome.cookie_reject")}),(0,t.jsx)("button",{type:"button",className:"aa-btn aa-btn--ghost2",onClick:c,children:h("chrome.cookie_manage")}),(0,t.jsx)("button",{type:"button",className:"aa-btn aa-btn--primary",onClick:()=>n((0,l.allowAllSelection)()),children:h("chrome.cookie_accept_all")})]})]})}),s&&(0,t.jsx)(d,{record:r,onClose:u,onDecide:n})]})}],81595)},8341,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={cancelIdleCallback:function(){return l},requestIdleCallback:function(){return i}};for(var n in r)Object.defineProperty(a,n,{enumerable:!0,get:r[n]});let i="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},l="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esMo
1dule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},19083,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={ESCAPE_REGEX:function(){return l},htmlEscapeAttributeString:function(){return d},htmlEscapeJsonString:function(){return c}};for(var n in r)Object.defineProperty(a,n,{enumerable:!0,get:r[n]});let i={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},l=/[&><\u2028\u2029]/g,o={"&":"&",'"':""","'":"'","<":"<",">":">"},s=/[&"'<>]/g;function c(e){return e.replace(l,e=>i[e])}function d(e){return e.replace(s,e=>o[e])}},79520,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={default:function(){return y},handleClientScriptLoad:function(){return g},initScriptLoader:function(){return x}};for(var n in r)Object.defineProperty(a,n,{enumerable:!0,get:r[n]});let i=e.r(55682),l=e.r(90809),o=e.r(43476),s=i._(e.r(74080)),c=l._(e.r(71645)),d=e.r(42732),u=e.r(22737),h=e.r(8341),m=e.r(19083),f=new Map,_=new Set,p=e=>{let{src:t,id:a,onLoad:r=()=>{},onReady:n=null,dangerouslySetInnerHTML:i,children:l="",strategy:o="afterInteractive",onError:c,stylesheets:d}=e,h=a||t;if(h&&_.has(h))return;if(f.has(t)){_.add(h),f.get(t).then(r,c);return}let m=()=>{n&&n(),_.add(h)},p=document.createElement("script"),g=new Promise((e,t)=>{p.addEventListener("load",function(t){e(),r&&r.call(this,t),m()}),p.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});i?(p.innerHTML=i.__html||"",m()):l?(p.textContent="string"==typeof l?l:Array.isArray(l)?l.join(""):"",m()):t&&(p.src=t,f.set(t,g)),(0,u.setAttributesFromProps)(p,e),"worker"===o&&p.setAttribute("type","text/partytown"),p.setAttribute("data-nscript",o),d&&(e=>{if(s.default.preinit)return e.forEach(e=>{s.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let a=document.createElement("link");a.type="text/css",a.rel="stylesheet",a.href=e,t.appendChild(a)})}})(d),document.body.appendChild(p)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,h.requestIdleCallback)(()=>p(e))}):p(e)}function x(e){e.forEach(g),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");_.add(t)})}function j(e){let{id:t,src:a="",onLoad:r=()=>{},onReady:n=null,strategy:i="afterInteractive",onError:l,stylesheets:u,...f}=e,{updateScripts:g,scripts:x,getIsSsr:j,appDir:y,nonce:b}=(0,c.useContext)(d.HeadManagerContext);b=f.nonce||b;let k=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||a;k.current||(n&&e&&_.has(e)&&n(),k.current=!0)},[n,t,a]);let v=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!v.current){if("afterInteractive"===i)p(e);else"lazyOnload"===i&&("complete"===document.readyState?(0,h.requestIdleCallback)(()=>p(e)):window.addEventListener("load",()=>{(0,h.requestIdleCallback)(()=>p(e))}));v.current=!0}},[e,i]),("beforeInteractive"===i||"worker"===i)&&(g?(x[i]=(x[i]||[]).concat([{id:t,src:a,onLoad:r,onReady:n,onError:l,...f,nonce:b}]),g(x)):j&&j()?_.add(t||a):j&&!j()&&p({...e,nonce:b})),y){if(u&&u.forEach(e=>{s.default.preinit(e,{as:"style"})}),"beforeInteractive"===i)if(!a)return f.dangerouslySetInnerHTML&&(f.children=f.dangerouslySetInnerHTML.__html,delete f.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,m.htmlEscapeJsonString)(JSON.stringify([0,{...f,id:t}]))})`}});else return s.default.preload(a,f.integrity?{as:"script",integrity:f.integrity,nonce:b,crossOrigin:f.crossOrigin}:{as:"script",nonce:b,crossOrigin:f.crossOrigin}),(0,o.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,m.htmlEscapeJsonString)(JSON.stringify([a,{...f,id:t}]))})`}});"afterInteractive"===i&&a&&s.default.preload(a,f.integrity?{as:"script",integrity:f.integrity,nonce:b,crossOrigin:f.crossOrigin}:{as:"script",nonce:b,crossOrigin:f.crossOrigin})}return null}Object.defineProperty(j,"__nextScript",{value:!0});let y=j;("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esMo
1dule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},3303,(e,t,a)=>{t.exports=e.r(79520)},29465,e=>{"use strict";var t=e.i(43476),a=e.i(3303),r=e.i(87758);let n="G-BL1TRMQ41E";e.s(["SiteAnalytics",0,function(){return(0,r.useConsentAllows)("analitik")?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.default,{src:`https://www.googletagmanager.com/gtag/js?id=${n}`,strategy:"afterInteractive"}),(0,t.jsx)(a.default,{id:"ga-gtag-init",strategy:"afterInteractive",children:` 2 window.dataLayer = window.dataLayer || []; 3 function gtag(){dataLayer.push(arguments);} 4 gtag('js', new Date()); 5 gtag('config', '${n}'); 6 `})]}):null}])},41477,e=>{"use strict";var t=e.i(43476),a=e.i(57688),r=e.i(22016),n=e.i(18566),i=e.i(89322),l=e.i(74534),o=e.i(87758),s=e.i(71574);function c(){let{openPreferences:e}=(0,o.useCookieConsent)(),a=(0,s.useT)();return(0,t.jsx)("button",{type:"button",className:"aa-footer__linkbtn",onClick:e,children:a("chrome.cookie_footer_link")})}var d=e.i(70094),u=e.i(37842);let h=new Set(["/odeme","/hesabim"]),m=new Set(["/giris"]),f=[{headingKey:"chrome.footer_col_journey",links:[{href:"/al",labelKey:"common.buy_ticket"},{href:"/#seferler",labelKey:"chrome.footer_schedules"},{href:"/#guzergahlar",labelKey:"chrome.nav_routes"},{href:"/duraklar",labelKey:"common.stops"},{href:"/hesabim",labelKey:"chrome.footer_my_account"}]},{headingKey:"chrome.nav_corporate",links:[{href:"/hakkimizda",labelKey:"common.about"},{href:"/blog",labelKey:"common.blog"},{href:"/duyurular",labelKey:"common.announcements"},{href:"/kariyer",labelKey:"common.careers"},{href:"/iletisim",labelKey:"common.contact"}]},{headingKey:"chrome.footer_col_help",links:[{href:"/sss",labelKey:"chrome.footer_faq"},{href:"/#bilet-sorgula",labelKey:"common.check_ticket"},{href:"/iptal-iade-kosullari",labelKey:"chrome.footer_refund_short"},{href:"/kayip-esya",labelKey:"chrome.nav_lost_found"},{href:"/yardim-merkezi",labelKey:"chrome.footer_help_center"}]},{headingKey:"chrome.footer_col_legal",links:[{href:"/mesafeli-satis-sozlesmesi",labelKey:"common.link_distance_sales"},{href:"/iptal-iade-kosullari",labelKey:"common.link_cancellation_refund_terms"},{href:"/kvkk",labelKey:"common.link_kvkk"},{href:"/gizlilik",labelKey:"common.link_privacy"},{href:"/cerez-politikasi",labelKey:"common.link_cookie_policy"},{href:"/on-bilgilendirme-formu",labelKey:"chrome.footer_preinfo"},{href:"/uyelik-sozlesmesi",labelKey:"chrome.footer_membership"}]}],_=(()=>{let e=new Set,t=[];for(let a of f.flatMap(e=>e.links))e.has(a.href)||(e.add(a.href),t.push(a));return t})();function p({phone:e,phoneHref:a,email:n,emailHref:i,documentNo:l,brandNote:o,copyright:d}){let u=(0,s.useT)();return(0,t.jsx)("footer",{className:"aa-footer aa-footer--slim",children:(0,t.jsxs)("div",{className:"aa-wrap",children:[(0,t.jsx)("nav",{className:"aa-footer__inline","aria-label":u("chrome.slim_footer_nav_aria"),children:(0,t.jsxs)("ul",{children:[_.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:e.href,children:u(e.labelKey)})},e.href)),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:a,children:e})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:i,children:n})})]})}),(0,t.jsxs)("div",{className:"aa-footer__bottom",children:[(0,t.jsx)("p",{className:"aa-meta aa-footer__brandnote",children:o}),(0,t.jsxs)("p",{className:"aa-meta",children:[d,(0,t.jsx)("br",{}),(0,t.jsx)("span",{children:u("chrome.footer_document_no",{documentNo:l})}),(0,t.jsx)(c,{}),(0,t.jsx)("br",{}),(0,t.jsx)(g,{})]})]})]})})}function g(){let[e,a]=(0,s.useT)()("chrome.footer_ravensoft_credit").split("{link}");return(0,t.jsxs)("span",{className:"aa-footer__credit",children:[e,(0,t.jsx)("a",{href:"https://raven.com.tr",target:"_blank",rel:"noopener noreferrer",children:"Ravensoft"}),a]})}function x(){return(0,t.jsx)("div",{className:"aa-consentgate",children:(0,t.jsx)("div",{className:"aa-wrap",children:(0,t.jsx)(c,{})})})}e.s(["SiteFooter",0,function(){let e,o,_=(0,n.usePathname)(),j=(0,s.useT)(),{phone:y,phoneHref:b,email:k,emailHref:v,address:w,documentNo:N,appStoreUrl:S,googlePlayUrl:C,tagline:A,brandNote:E,copyright:
6I}=(e=(0,i.useContent)(),o=(0,i.useTc)(),{...(0,l.useContactChannels)(),documentNo:e("footer.document_no","â"),appStoreUrl:e("footer.app.ios"),googlePlayUrl:e("footer.app.android"),tagline:o("footer.tagline","footer.tagline_i18n"),brandNote:e("footer.brand_note","AnkaraAir ve AnkaraAir Exclusive Travel bir {{corporate.company_name}} markasıdır."),copyright:o("footer.copyright","footer.copyright_i18n")});return h.has(_)?(0,t.jsx)(x,{}):m.has(_)?(0,t.jsx)(p,{phone:y,phoneHref:b,email:k,emailHref:v,documentNo:N,brandNote:E,copyright:I}):(0,t.jsx)("footer",{className:"aa-footer",children:(0,t.jsxs)("div",{className:"aa-wrap",children:[(0,t.jsxs)("div",{className:"aa-footer__top",children:[(0,t.jsxs)("div",{className:"aa-footer__brand",children:[(0,t.jsx)(a.default,{className:"aa-footer__logo",src:"/site/logo.png",alt:"Ankara Air",width:318,height:140,unoptimized:!0}),(0,t.jsx)("p",{children:A}),(0,t.jsx)(u.SocialLinks,{className:"aa-social"})]}),(S||C)&&(0,t.jsxs)("div",{className:"aa-footer__apps",children:[S&&(0,t.jsxs)("a",{className:"aa-storebtn",href:S,target:"_blank",rel:"noopener noreferrer","aria-label":j("chrome.footer_appstore_aria"),children:[(0,t.jsx)(d.SiteIcon,{id:"apple"}),(0,t.jsxs)("span",{children:[(0,t.jsx)("small",{children:j("chrome.footer_download_small")}),"App Store"]})]}),C&&(0,t.jsxs)("a",{className:"aa-storebtn",href:C,target:"_blank",rel:"noopener noreferrer","aria-label":j("chrome.footer_googleplay_aria"),children:[(0,t.jsx)(d.SiteIcon,{id:"google-play"}),(0,t.jsxs)("span",{children:[(0,t.jsx)("small",{children:j("chrome.footer_download_small")}),"Google Play"]})]})]})]}),(0,t.jsxs)("div",{className:"aa-footer__grid",children:[f.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{children:j(e.headingKey)}),(0,t.jsx)("ul",{children:e.links.map(a=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:a.href,children:j(a.labelKey)})},`${e.headingKey}-${a.href}`))})]},e.headingKey)),(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{children:j("common.contact")}),(0,t.jsxs)("address",{children:[(0,t.jsxs)("span",{children:[(0,t.jsx)(d.SiteIcon,{id:"map-pin"}),w]}),(0,t.jsxs)("a",{href:b,children:[(0,t.jsx)(d.SiteIcon,{id:"phone"}),y]}),(0,t.jsxs)("a",{href:v,children:[(0,t.jsx)(d.SiteIcon,{id:"mail"}),k]})]})]})]}),(0,t.jsxs)("div",{className:"aa-footer__bottom",children:[(0,t.jsx)("p",{className:"aa-meta aa-footer__brandnote",children:E}),(0,t.jsxs)("p",{className:"aa-meta",children:[I,(0,t.jsx)("br",{}),(0,t.jsx)("span",{children:j("chrome.footer_document_no",{documentNo:N})}),(0,t.jsx)(c,{}),(0,t.jsx)("br",{}),(0,t.jsx)(g,{})]}),(0,t.jsxs)("div",{className:"aa-footer__pay",children:[(0,t.jsx)(a.default,{src:"/site/pay-visa.svg",alt:"Visa",width:1e3,height:325,unoptimized:!0}),(0,t.jsx)(a.default,{src:"/site/pay-mastercard.svg",alt:"Mastercard",width:999,height:776,unoptimized:!0})]})]})]})})}],41477)},11773,7389,e=>{"use strict";var t=e.i(43476),a=e.i(71645);let r="aa.theme",n="data-theme",i="(prefers-color-scheme: dark)",l=["light","dark","system"];function o(){try{return window.localStorage}catch{return null}}function s(e=o()){if(!e)return"light";try{var t;return t=e.getItem(r),("system"===t||"light"===t||"dark"===t?t:null)??"light"}catch{return"light"}}function c(e,t=o()){try{t?.setItem(r,e)}catch{}return e}function d(){try{if("function"!=typeof window.matchMedia)return!1;return window.matchMedia(i).matches}catch{return!1}}function u(e,t){return"system"===e?t?"dark":"light":e}function h(e,t){if(t){if("system"===e)return void t.removeAttribute(n);t.setAttribute(n,e)}}JSON.stringify(r),JSON.stringify(n),e.s(["PREFERS_DARK_QUERY",0,i,"THEME_STORAGE_KEY",0,r,"applyThemeAttribute",0,h,"nextThemePreference",0,function(e){let t=l.indexOf(e);return l[(t+1)%l.length]},"prefersDarkScheme",0,d,"readThemePreference",0,s,"resolveTheme",0,u,"writeThemePreference",0,c],7389);let m=new Set;function f(e){return m.add(e),window.addEventListener("storage",e),()=>{m.delete(e),window.removeEventListener("storage",e)}}function _(){return s()}function p(){return"light"}function g(e){if("function"!=typeof window.matchMedia)return()=>{};let t=window.matchMedia(i);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}let x=(0,a.createContext)(null);e.s(["SiteThemeProvider",0,function({children:e}){let n=(0,a.useSyncExternalStore)(f,_,p),i=u(n,(0,a.useSyncExternalStore)(g,d,()=>!1));(0,a.useEffect)(()=>{let e=document.documentElement;function t(t){(null===t.key||t.key===r)&&h(s(),e)}return h(s(),e),window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)},[]);let l=(0,a.useCallback)(e=>{for(let t of(c(e),h(e,document.documentElement),m))t()},[]);return(0,t.jsx)(x.Provider,{value:{preference:n,theme:i,setPreference:l},children:e})},"useSiteTheme",0,function(){let e=(0,a.useContext)(x);if(!e)throw Error("useSiteTheme, SiteThemeProvider içinde kullanılmalıdır.");return e}],11773)},73973,e=>{"use strict";var t=e.i(43476),a=e.i(57688),r=e.i(22016),n=e.i(18566),i=e.i(71645),l=e.i(74534),o=e.i(70094),s=e.i(29354),c=e.i(71574);let d=[{code:"tr",flag:"ð¹ð·",short:"TR",labelKey:"chrome.lang_turkish"},{code:"en",flag:"ð¬ð§",short:"EN",labelKey:"chrome.lang_english"}];function u(){let{triggerRef:e,panelRef:a,open:r,toggle:n}=(0,s.useDropdown)("right"),{locale:i,setLocale:l}=(0,c.useLocale)(),u=(0,c.useT)(),h=d.find(e=>e.code===i)??d[0];return(0,t.jsxs)("div",{className:"aa-lang",children:[(0,t.jsxs)("button",{ref:e,className:"aa-lang__toggle",type:"button","aria-expanded":r,"aria-haspopup":"true","aria-label":u("chrome.lang_select_aria"),onClick:n,children:[(0,t.jsx)("span",{className:"flag","aria-hidden":"true",children:h.flag}),(0,t.jsx)("span",{className:"label",children:h.short}),(0,t.jsx)(o.SiteIcon,{id:"chevron-down"})]}),(0,t.jsx)("div",{ref:a,className:`aa-lang__menu${r?" is-open":""}`,role:"menu",children:d.map(e=>(0,t.jsxs)("a",{role:"menuitem",href:"#",className:e.code===i?"is-active":void 0,"aria-current":e.code===i?"page":void 0,onClick:t=>{t.preventDefault(),l(e.code),n()},children:[(0,t.jsx)("span",{className:"flag","aria-hidden":"true",children:e.flag}),(0,t.jsx)("span",{className:"label",children:u(e.labelKey)})]},e.code))})]})}var h=e.i(66027),m=e.i(74683);let f="aa.announcement-reads";function _(){try{return window.localStorage}catch{return null}}function p(e){let t;if(!e)return null;try{t=JSON.parse(e)}catch{return null}if("object"!=typeof t||null===t)return null;let a=t;return Array.isArray(a.ids)&&"string"==typeof a.updatedAt&&""!==a.updatedAt?{ids:a.ids.filter(e=>"string"==typeof e&&""!==e).slice(-50),updatedAt:a.updatedAt}:null}function g(e=_()){if(!e)return null;try{return e.getItem(f)}catch{return null}}function x(e,t){return p(e)?.ids.includes(t)===!0}function j(){let{triggerRef:e,panelRef:a,open:n,toggle:l}=(0,s.useDropdown)("right"),d=(0,i.useId)(),u=(0,c.useT)(),[j,y]=(0,i.useState)(!1),{data:b,isPending:k}=(0,h.useQuery)({queryKey:["site","announcements"],queryFn:m.siteApi.announcements,enabled:j,staleTime:3e5}),[v,w]=(0,i.useState)(g),N=b?.data??[],S=N.filter(e=>!x(v,e.id)),C=e=>{0!==e.length&&w(t=>(function(e,t,a=_(),r=new Date){let n=p(e)?.ids??[],i=JSON.stringify({ids:[...n,...t.filter(e=>!n.includes(e))].slice(-50),updatedAt:r.toISOString()});try{a?.setItem(f,i)}catch{}return i})(t,e))};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{ref:e,type:"button",className:"aa-notifications-toggle","aria-expanded":n,"aria-controls":d,"aria-label":S.length>0?u("chrome.notif_aria_unread",{unread:S.length}):u("chrome.notif_aria"),onClick:()=>{y(!0),l()},children:[(0,t.jsx)(o.SiteIcon,{id:"bell-bold"}),S.length>0&&(0,t.jsx)("span",{className:"aa-notif__badge aa-num","aria-hidden":"true",children:S.length})]}),(0,t.jsxs)("div",{ref:a,id:d,role:"group",className:`aa-menu aa-notifications-menu${n?" is-open":""}`,"aria-label":u("chrome.notif_aria"),children:[(0,t.jsxs)("div",{className:"aa-notif__head",children:[(0,t.jsx)("strong",{children:u("chrome.notif_aria")}),(0,t.jsx)("button",{type:"button",className:"aa-notif__mark",disabled:0===S.length,onClick:()=>C(S.map(e=>e.id)),children:u("chrome.notif_mark_all")})]}),(0,t.jsx)("div",{className:"aa-notif__list","aria-busy":n&&k,children:k?(0,t.jsx)("div",{className:"aa-notif__empty",children:u("chrome.notif_loading")}):0===N.length?(0,t.jsx)("div",{className:"aa-notif__empty",children:u("chrome.notif_empty")}):N.map(e=>(0,t.jsxs)(r.default,{href:`/duyurular/${e.id}`,className:`aa-notif__item ${x(v,e.id)?"is-read":"is-unread"}`,onClick:()=>C([e.id]),children:[(0,t.jsx)("span",{className:"aa-notif__dot","aria-hidden":"true"}),(0,t.jsxs)("span",{className:"aa-notif__body",children:[(0,t.jsx)("span",{className:"aa-notif__title",children:e.title}),""!==e.body.trim()?(0,t.jsx)("span",{className:"aa-notif__excerpt",style:{display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:e.body}):null,(0,t.jsx)("span",{className:"aa-notif__meta",children:function(e,t,a=new Date){let r=new Date(e);if(Number.isNaN(r.getTime()))return"";let n=Math.floor((a.getTime()-r.getTime())/6e4);if(n<1)return t("chrome.notif_time_just_now");if(n<60)return t("chrome.notif_time_minutes",{n:n});let i=Math.floor(n/60);if(i<24)return t("chrome.notif_time_hours",{n:i});let l=Math.floor(i/24);if(l<=7)return t("chrome.notif_time_days",{n:l});let o=e=>String(e).padStart(2,"0");return`${o(r.getDate())}.${o(r.getMonth()+1)}.${r.getFullYear()}`}(e.published_at,u)})]})]},e.id))})]})]})}var y=e.i(11773),b=e.i(7389);let k={system:"chrome.theme_system",light:"chrome.theme_light",dark:"chrome.theme_dark"},v={system:"monitor",light:"sun",dark:"moon"};function w({variant:e="icon"}){let{preference:a,theme:r,setPreference:n}=(0,y.useSiteTheme)(),i=(0,c.useT)();if("row"===e){let e=i(k[a]);return(0,t.jsxs)("button",{type:"button",className:"aa-themerow",onClick:()=>n((0,b.nextThemePreference)(a)),children:[(0,t.jsx)("span",{className:"aa-themerow__label",children:i("chrome.theme_label")}),(0,t.jsxs)("span",{className:"aa-themerow__value",children:[(0,t.jsx)(o.SiteIcon,{id:v[a]}),e]})]})}let l="dark"===r,s=i(l?"chrome.theme_to_light":"chrome.theme_to_dark");return(0,t.jsx)("button",{type:"button",className:"aa-theme-toggle","aria-label":s,"aria-pressed":l,title:s,onClick:()=>n(l?"light":"dark"),children:(0,t.jsx)(o.SiteIcon,{id:l?"sun":"moon"})})}let N=["site","session"];async function S(){let e=await fetch("/api/customer-auth/session",{headers:{Accept:"application/json"}});if(!e.ok)return null;let t=await e.json().catch(()=>null);return t?.customer??null}let C=[{href:"/hakkimizda",labelKey:"common.about",icon:"shield-check"},{href:"/blog",labelKey:"common.blog",icon:"route"},{href:"/duyurular",labelKey:"common.announcements",icon:"bell"},{href:"/kayip-esya",labelKey:"chrome.nav_lost_found",icon:"search"},{href:"/kariyer",labelKey:"common.careers",icon:"briefcase"}];function A({variant:e,onNavigate:a}){let{data:n}=(0,h.useQuery)({queryKey:N,queryFn:S,retry:!1,staleTime:3e5}),i=(0,c.useT)();return n?(0,t.jsx)(E,{customer:n,variant:e,onNavigate:a}):(0,t.jsxs)(r.default,{className:"cta"===e?"aa-btn aa-btn--primary aa-header__cta":"aa-btn aa-btn--primary",href:"/giris",onClick:a,children:[(0,t.jsx)(o.SiteIcon,{id:"power-bold"}),i("chrome.login_cta")]})}function E({customer:e,variant:a,onNavigate:n}){let{initial:i,label:l}
6=function(e){let t=(e.name??"").trim().split(/\s+/).filter(Boolean);if(t.length>0){let e=t[0],a=e.charAt(0).toLocaleUpperCase("tr"),r=t.length>1?t[t.length-1]:null;return{initial:a,label:null===r?e:`${e} ${r.charAt(0).toLocaleUpperCase("tr")}.`}}let a=(e.phone??"").trim();return{initial:null,label:""===a?"Hesabım":a}}(e),s=(0,c.useT)();return(0,t.jsxs)(r.default,{className:`aa-header__me${"row"===a?" aa-header__me--row":""}`,href:"/hesabim","aria-label":s("chrome.account_aria",{label:l}),onClick:n,children:[(0,t.jsx)("span",{className:"aa-header__me-av","aria-hidden":"true",children:i??(0,t.jsx)(o.SiteIcon,{id:"user"})}),(0,t.jsx)("span",{className:"aa-header__me-name","aria-hidden":"true",children:l})]})}e.s(["SiteHeader",0,function(){let e=(0,n.usePathname)(),d=(0,c.useT)(),{phone:h,phoneHref:m,email:f,emailHref:_}=(0,l.useContactChannels)(),{triggerRef:p,panelRef:g,open:x,toggle:y,close:b}=(0,s.useDropdown)(),[k,v]=(0,i.useState)(!1);return((0,i.useEffect)(()=>(document.body.style.overflow=k?"hidden":"",()=>{document.body.style.overflow=""}),[k]),"/odeme"===e)?(0,t.jsx)("header",{className:"aa-header is-solid aa-header--checkout",children:(0,t.jsxs)("div",{className:"aa-wrap",children:[(0,t.jsx)(r.default,{href:"/",className:"aa-header__logo","aria-label":d("chrome.logo_home_aria"),children:(0,t.jsx)(a.default,{src:"/site/logo.png",alt:"Ankara Air",width:318,height:140,unoptimized:!0})}),(0,t.jsxs)("span",{className:"aa-secure",children:[(0,t.jsx)(o.SiteIcon,{id:"shield-check"}),d("common.secure_payment")]}),(0,t.jsxs)("a",{className:"aa-phone aa-phone--plain",href:m,children:[(0,t.jsx)(o.SiteIcon,{id:"headset"}),(0,t.jsx)("span",{className:"aa-num typewriter",children:h})]}),(0,t.jsx)(w,{}),(0,t.jsx)(j,{})]})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("header",{className:"aa-header is-solid",children:(0,t.jsxs)("div",{className:"aa-wrap",children:[(0,t.jsx)(r.default,{href:"/",className:"aa-header__logo","aria-label":d("chrome.logo_home_aria"),children:(0,t.jsx)(a.default,{src:"/site/logo.png",alt:"Ankara Air",width:318,height:140,unoptimized:!0})}),(0,t.jsxs)("nav",{className:"aa-nav","aria-label":d("chrome.main_nav_aria"),children:[(0,t.jsx)(r.default,{className:"aa-nav__link",href:"/#bilet-sorgula",children:d("common.check_ticket")}),(0,t.jsx)(r.default,{className:"aa-nav__link",href:"/#seferler",children:d("chrome.nav_trips")}),(0,t.jsx)(r.default,{className:"aa-nav__link",href:"/#guzergahlar",children:d("chrome.nav_routes")}),(0,t.jsxs)("button",{ref:p,className:"aa-nav__link","aria-expanded":x,"aria-haspopup":"true",onClick:y,children:[(0,t.jsx)("span",{children:d("chrome.nav_corporate")}),(0,t.jsx)(o.SiteIcon,{id:"chevron-down"})]}),(0,t.jsx)(r.default,{className:"aa-nav__link",href:"/iletisim",children:d("common.contact")})]}),(0,t.jsxs)("div",{className:"aa-header__right",children:[(0,t.jsxs)("a",{className:"aa-phone",href:m,children:[(0,t.jsx)(o.SiteIcon,{id:"headset"}),(0,t.jsx)("span",{className:"aa-num typewriter",children:h})]}),(0,t.jsx)(u,{}),(0,t.jsx)(w,{}),(0,t.jsx)(j,{}),(0,t.jsx)(A,{variant:"cta"})]}),(0,t.jsx)("button",{className:"aa-burger","aria-label":d("chrome.open_menu_aria"),"aria-expanded":k,onClick:()=>v(!0),children:(0,t.jsx)(o.SiteIcon,{id:"menu"})})]})}),(0,t.jsx)("div",{ref:g,className:`aa-menu${x?" is-open":""}`,role:"menu",children:C.map(a=>(0,t.jsxs)(r.default,{role:"menuitem",href:a.href,"aria-current":e.startsWith(a.href)?"page":void 0,onClick:b,children:[(0,t.jsx)(o.SiteIcon,{id:a.icon}),(0,t.jsx)("span",{children:d(a.labelKey)})]},a.href))}),(0,t.jsxs)("div",{className:`aa-sheet${k?" is-open":""}`,"aria-hidden":!k,inert:!k,children:[(0,t.jsxs)("div",{className:"aa-sheet__top",children:[(0,t.jsx)(a.default,{src:"/site/logo.png",alt:"Ankara Air",width:318,height:140,style:{width:"auto"},unoptimized:!0}),(0,t.jsx)("button",{"aria-label":d("chrome.close_menu_aria"),onClick:()=>v(!1),children:(0,t.jsx)(o.SiteIcon,{id:"x",className:"aa-icon",style:{width:22,height:22}})})]}),(0,t.jsx)(r.default,{href:"/#bilet-sorgula",onClick:()=>v(!1),children:d("common.check_ticket")}),(0,t.jsx)(r.default,{href:"/#seferler",onClick:()=>v(!1),children:d("chrome.nav_trips")}),(0,t.jsx)(r.default,{href:"/#guzergahlar",onClick:()=>v(!1),children:d("chrome.nav_routes")}),(0,t.jsx)(r.default,{href:"/hakkimizda",onClick:()=>v(!1),children:d("common.about")}),(0,t.jsx)(r.default,{href:"/duyurular",onClick:()=>v(!1),children:d("common.announcements")}),(0,t.jsx)(r.default,{href:"/kariyer",onClick:()=>v(!1),children:d("common.careers")}),(0,t.jsx)(r.default,{href:"/iletisim",onClick:()=>v(!1),children:d("common.contact")}),(0,t.jsx)("a",{href:m,children:h}),(0,t.jsx)("a",{href:_,children:f}),(0,t.jsx)(w,{variant:"row"}),(0,t.jsx)(A,{variant:"row",onNavigate:()=>v(!1)})]})]})}],73973)},97613,e=>{"use strict";var t=e.i(43476),a=e.i(17751),r=e.i(12598),n=e.i(71645),i=e.i(61238),l=e.i(18446),o=e.i(89322),s=e.i(87758),c=e.i(11773),d=e.i(71574);
6e.s(["SiteProviders",0,function({children:e,initialSiteData:u}){let[h]=(0,n.useState)(()=>{let e=new a.QueryClient({defaultOptions:{queries:{staleTime:3e4,retry:(e,t)=>(!(t instanceof i.ApiError)||!(t.status<500))&&e<2}}});return u&&e.setQueryData((0,l.siteDataQueryKey)("tr"),u),e});return(0,t.jsx)(r.QueryClientProvider,{client:h,children:(0,t.jsx)(d.SiteLocaleProvider,{children:(0,t.jsx)(s.CookieConsentProvider,{children:(0,t.jsx)(c.SiteThemeProvider,{children:(0,t.jsx)(o.SiteContentProvider,{children:e})})})})})}])},12162,e=>{"use strict";var t=e.i(43476),a=e.i(89322),r=e.i(70094),n=e.i(71574);e.s(["WhatsAppFloat",0,function(){let e=(0,a.useContent)(),i=(0,n.useT)(),l=e("contact.whatsapp").replace(/[^0-9]/g,"");return""===l?null:(0,t.jsxs)("a",{className:"aa-wa",href:`https://wa.me/${l}`,target:"_blank",rel:"noopener noreferrer","aria-label":i("chrome.whatsapp_aria"),children:[(0,t.jsx)(r.SiteIcon,{id:"headset"}),(0,t.jsx)("span",{className:"aa-wa__label",children:i("chrome.whatsapp_label")})]})}])}]);
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.