1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[14866],{10719:(e,r,t)=>{t.d(r,{Ah:()=>n,CB:()=>o,CR:()=>l,Vm:()=>i,jf:()=>d,qN:()=>u,x1:()=>c});let n=[{code:"TR",label:"T\xfcrkiye",currency:"TRY",language:"tr-TR"}],a={AZ:"Azerbaycan",GE:"G\xfcrcistan",KZ:"Kazakistan",RU:"Rusya",TR:"T\xfcrkiye",DE:"Almanya",FR:"Fransa",GB:"BirleÅik Krallık",US:"Amerika BirleÅik Devletleri"};function l(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["data","items","content","results","records"];if(Array.isArray(e))return e;if(!e||"object"!=typeof e)return[];for(let t of r){let n=e[t];if(Array.isArray(n))return n;if(n&&"object"==typeof n){let e=l(n,r);if(e.length>0)return e}}return[]}function i(e){let r=String(e||"").trim().toUpperCase();return/^[A-Z]{2,3}$/.test(r)?r:""}function o(e){return Array.isArray(e)?Array.from(new Set(e.map(i).filter(Boolean))).sort():[]}function s(e){return"TR"===e?"tr-TR":"DE"===e?"de-DE":"FR"===e?"fr-FR":"GB"===e?"en-GB":"US"===e?"en-US":e?e.toLowerCase():"tr-TR"}function u(e){let r=l(e).filter(e=>(null==e?void 0:e.active)!==!1).map(e=>{let r=i(e.country_code),t=String(e.currency||"").trim().toUpperCase(),n=String(e.language||"").trim();return r?{code:r,label:a[r]||r,currency:t||"-",language:n||s(r)}:null}).filter(e=>!!e),t=new Map;r.forEach(e=>t.set(e.code,e));let o=Array.from(t.values()).sort((e,r)=>e.label.localeCompare(r.label,"tr"));return o.length>0?o:n}function d(e,r){var t;let n=i(e)||"TR";return(null==(t=r.find(e=>e.code===n))?void 0:t.label)||a[n]||n}function c(e,r){var t;let n=i(e)||"TR";return(null==(t=r.find(e=>e.code===n))?void 0:t.language)||s(n)}},20779:(e,r,t)=>{t.d(r,{E:()=>o});var n=t(12115),a=t(36489),l=t(10719),i=t(47210);function o(e){var r;let{data:t}=(0,a.useSession)(),o=e||(null==t?void 0:t.accessToken)||"",s=!!o,u=(0,i.E)("/market-settings",o,void 0,void 0,{strategy:"rare",shouldRevalidate:s}),d=(0,n.useMemo)(()=>(0,l.qN)(u.data),[u.data]);return{options:d.length>0?d:l.Ah,isLoading:s&&!u.data&&!u.error,error:null!=(r=u.error)?r:null,refresh:u.mutate}}},23700:(e,r,t)=>{async function n(e,r){var t,n,l,i,o;let s=await e.json().catch(()=>({}));if(401===e.status||(null==s?void 0:s.message)==="Unauthorized"||(null==s||null==(t=s.error)?void 0:t.code)==="UNAUTHORIZED"||(null==s||null==(n=s.error)?void 0:n.code)==="TOKEN_CHANGED")throw(null==r?void 0:r.signOut)&&await r.signOut(),new a("Oturum s\xfcresi doldu veya ge\xe7ersiz",401,s);if(!(e.ok&&(null==s?void 0:s.success)!==!1)){let r=null==s?void 0:s.details;throw new a((null==s?void 0:s.error_message)||(null==r?void 0:r.error_message)||(null==s||null==(l=s.error)?void 0:l.description)||(null==r||null==(i=r.error)?void 0:i.description)||(null==r?void 0:r.message)||(null==s?void 0:s.message)||("string"==typeof(null==s?void 0:s.error)?s.error:"")||(400===(o=e.status)?"G\xf6nderilen bilgiler ge\xe7ersiz veya eksik.":401===o?"Oturum s\xfcresi doldu veya ge\xe7ersiz.":403===o?"Bu iÅlem i\xe7in yetkiniz yok.":404===o?"İstenen iÅlem bulunamadı.":408===o||504===o?"İstek zamanında tamamlanamadı.":429===o?"\xc7ok fazla deneme yapıldı. Bir s\xfcre sonra yeniden deneyin.":o>=500?"Servis isteÄi tamamlayamadı. L\xfctfen tekrar deneyin.":"İstek baÅarısız oldu (".concat(o,").")),e.status,s)}return s}t.d(r,{fp:()=>a,j:()=>n,n2:()=>l});class a extends Error{constructor(e,r,t){super(e),this.status=r,this.details=t,this.name="ClientResponseError"}}let l="application/vnd.msgpack, application/json, */*"},25016:(e,r,t)=>{t.d(r,{cn:()=>l});var n=t(2821),a=t(75889);function l(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,a.QP)((0,n.$)(r))}},47210:(e,r,t)=>{t.d(r,{E:()=>c});var n=t(46512),a=t(12115),l=t(38620),i=t(23700);let o=()=>Math.random();function s(){let e="undefined"==typeof document?"visible":document.visibilityState,r="undefined"==typeof navigator||navigator.onLine;return"hidden"!==e&&!1!==r}let u={refreshInterval:3e5,dedupingInterval:3e4,focusThrottleInterval:6e4,revalidateOnFocus:!0,revalidateOnReconnect:!1,refreshWhenHidden:!1,refreshWhenOffline:!1,shouldRevalidate:!0},d={critical:{...u,refreshInterval:12e4,dedupingInterval:15e3,revalidateOnFocus:!0,revalidateOnReconnect:!0,shouldRevalidate:!0},realtime:{...u,refreshInterval:6e4,dedupingInterval:15e3},normal:{...u},rare:{...u,refreshInterval:9e5,dedupingInterval:6e4},manual:{...u,refreshInterval:0,dedupingInterval:3e4,revalidateOnFocus:!1,revalidateOnReconnect:!1}};function c(e,r,t,u){let c,v=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},f=(0,a.useRef)(null);(0,a.useEffect)(()=>()=>{var e;null==(e=f.current)||e.abort(),f.current=null},[]);let h=d[v.strategy||"normal"],{refreshInterval:m=h.refreshInterval,dedupingInterval:y=h.dedupingInterval,revalidateOnFocus:g=h.revalidateOnFocus,revalidateOnReconnect:p=h.revalidateOnReconnect,revalidateIfStale:R=!0,revalidateOnMount:k=!0,refreshWhenHidden:b=h.refreshWhenHidden,refreshWhenOffline:A=h.refreshWhenOffline,focusThrottleInterval:O=h.focusThrottleInterval,keepPreviousData:T=!0,shouldRevalidate:E=h.shouldRevalidate,errorRetryPolicy:M}=v,I="number"==typeof t?Math.max(t,1):void 0;if(e.includes("?"))c="/api/proxy".concat(e);else{let r=void 0!==I&&u?"?page=".concat(I,"&size=").concat(u):"";c="/api/proxy".concat(e).concat(r)}let w=E?[c,r]:null,C=async()=>{await (0,l.d)()},z=M?(e,r,t,n,a)=>{var l={retryCount:a.retryCount,baseDelayMs:M.baseDelayMs,maxDelayMs:M.maxDelayMs,revalidate:n,revalidateOptions:a};let{retryCount:i,baseDelayMs:u,maxDelayMs:d,revalidate:c,revalidateOptions:v,isActive:f=s,schedule:h=(e,r)=>globalThis.setTimeout(e,r),random:m}=l;h(()=>{f()&&c(v)},function(e,r,t){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o,a=Math.min(Math.max(1,Math.floor(e||1))-1,8),l=Math.min(t,r*2**a);return Math.min(t,Math.max(r,Math.round(l*(.75+.5*Math.min(Math.max(n(),0),1)))))}(i,u,d,m))}:void 0,{data:x,error:D,mutate:S,isValidating:B}=(0,n.Ay)(w,async()=>{var e;null==(e=f.current)||e.abort();let r=new AbortController;f.current=r;
1try{let e=await fetch(c,{headers:{Accept:i.n2},signal:r.signal});return(0,i.j)(e,{signOut:C})}finally{f.current===r&&(f.current=null)}},{refreshInterval:m,dedupingInterval:y,revalidateOnFocus:g,revalidateOnReconnect:p,revalidateIfStale:R,revalidateOnMount:k,refreshWhenHidden:b,refreshWhenOffline:A,focusThrottleInterval:O,keepPreviousData:T,shouldRetryOnError:!!M,...z?{onErrorRetry:z}:{}});return{data:x,error:D,mutate:S,isValidating:B}}}}]);
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.