PageSourceSearch

https://www.tarihcizgisi.com/_next/static/chunks/e3252f91a45789c5.js

js tarihcizgisi.com collected 2026-10-02 01:46:10 UTC 15,187 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2394],{42394:function(e,t,l){l.r(t),l.d(t,{default:function(){return j}});var s=l(57437),a=l(77945),r=l(32489),n=l(73247),i=l(51817),c=l(76858),o=l(60429),d=l(2265),x=l(26544),m=l(91193);let h=(e,t,l)=>(0,m.UH)({nameLocal:e,nameEn:t},l),u=(e,t,l)=>("en"===l?e:t)||"",p={cognate:"\uD83C\uDF3F Leh\xe7e Evrimi (Proto-T\xfcrk\xe7e → bug\xfcn)","loan-in":"⬇️ Anadolu T\xfcrk\xe7esine Gelen","loan-out":"⬆️ T\xfcrk\xe7eden D\xfcnyaya Giden"},b={"\xf6z T\xfcrk\xe7e":"#C0392B",Türkçe:"#A93226","T\xfcrk\xe7e (t\xfcretme/bileşik)":"#922B21",Arapça:"#1E8449",Farsça:"#117A65",Fransızca:"#2471A3",İngilizce:"#2E86C1",Yunanca:"#8E44AD","Eski Yunanca":"#7D3C98",Latince:"#6C3483",İtalyanca:"#AF601A",Ermenice:"#B7950B",Rusça:"#5D6D7E",Moğolca:"#CA6F1E",Soğdca:"#1ABC9C",bilinmiyor:"#95A5A6"},g=e=>b[e||""]||"#7F8C8D";function j({onClose:e}){let t=(0,x.NT)(),l=(0,x.Jr)(),c="en"===l?"en":"tr",[m,b]=(0,d.useState)(null),[j,N]=(0,d.useState)(!0),[k,y]=(0,d.useState)("tablo"),[v,w]=(0,d.useState)(""),[C,L]=(0,d.useState)(null),[T,D]=(0,d.useState)(""),[E,S]=(0,d.useState)(""),[A,z]=(0,d.useState)(null),[_,B]=(0,d.useState)(!1);(0,d.useEffect)(()=>{fetch("/api/dil-atlasi").then(e=>e.json()).then(e=>{b(e),N(!1)}).catch(()=>N(!1))},[]),(0,d.useEffect)(()=>{if("etimoloji"!==k)return;if(!T.trim()&&!E){z(null);return}B(!0);let e=setTimeout(()=>{let e=new URLSearchParams({ety:T.trim()});E&&e.set("origin",E),fetch(`/api/dil-atlasi?${e}`).then(e=>e.json()).then(e=>{z(e),B(!1)}).catch(()=>B(!1))},250);return()=>clearTimeout(e)},[k,T,E]);let K=e=>e.replace(" T\xfcrk\xe7esi","").replace("T\xfcrkmence","T\xfcrkmen").replace("\xd6zbek\xe7e","\xd6zbek").replace("Uygurca","Uygur").replace("Kazak\xe7a","Kazak").replace("Kırgızca","Kırgız").replace("Tatarca","Tatar").replace("\xc7uvaş\xe7a","\xc7uvaş"),Z=(0,d.useMemo)(()=>{if(!m?.sentences)return[];let e=v.trim().toLocaleLowerCase(c);return e?m.sentences.map(t=>({...t,items:t.items.filter(t=>t.tr.toLocaleLowerCase("tr").includes(e)||(t.en||"").toLocaleLowerCase(c).includes(e)||Object.values(t.forms).some(t=>t.toLocaleLowerCase("tr").includes(e)))})).filter(e=>e.items.length):m.sentences},[m,v,c]),F=(0,d.useMemo)(()=>{if(!m)return[];let e=v.trim().toLocaleLowerCase(c);return e?m.table.map(t=>({...t,words:t.words.filter(t=>t.gloss.toLocaleLowerCase("tr").includes(e)||(t.en||"").toLocaleLowerCase(c).includes(e)||Object.values(t.forms).some(t=>t.toLocaleLowerCase("tr").includes(e)))})).filter(e=>e.words.length):m.table},[m,v,c]),G=(0,d.useMemo)(()=>{let e={};return(m?.journeys||[]).forEach(t=>(e[t.type]||=[]).push(t)),e},[m]);return(0,s.jsx)(o.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[800] flex items-center justify-center bg-black/50 backdrop-blur-sm p-3 sm:p-4",onClick:e,children:(0,s.jsxs)(o.E.div,{initial:{scale:.96,y:20},animate:{scale:1,y:0},className:"w-full max-w-5xl h-[90vh] flex flex-col bg-lh-surface backdrop-blur-md border border-lh-border rounded-[16px] shadow-panel overflow-hidden",onClick:e=>e.stopPropagation(),children:[(0,s.jsxs)("div",{className:"flex items-center justify-between px-5 py-3 border-b border-lh-border bg-gradient-to-r from-emerald-500/10 to-amber-500/10",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(a.Z,{className:"w-5 h-5 text-lh-accent-text"}),(0,s.jsx)("h3",{className:"text-base font-bold text-lh-text",children:t("T\xfcrk Dili Atlası")}),(0,s.jsx)("span",{className:"text-[11px] text-lh-muted-2 hidden sm:inline",children:t("— g\xfcnl\xfck kelimelerin leh\xe7e karşılıkları & kelime yolculuğu")})]}),(0,s.jsx)("button",{onClick:e,className:"p-1 rounded-lg text-lh-muted-2 hover:text-lh-text hover:bg-lh-surface-3 transition",children:(0,s.jsx)(r.Z,{className:"w-5 h-5"})})]}),(0,s.jsxs)("div",{className:"flex gap-1 px-3 py-2 border-b border-lh-border shrink-0",children:[[["tablo","\uD83D\uDCCB G\xfcnl\xfck Kelimeler"],["cumle","\uD83D\uDCAC G\xfcnl\xfck C\xfcmleler"],["yolculuk","\uD83E\uDDED Kelime Yolculuğu"],["etimoloji","\uD83D\uDCD6 Etimoloji S\xf6zl\xfcğ\xfc"]].map(([e,l])=>(0,s.jsx)("button",{onClick:()=>{y(e),L(null)},className:`px-3 py-1.5 rounded-lg text-xs font-medium transition ${k===e?"bg-lh-accent text-lh-accent-fg":"bg-lh-surface-2 text-lh-text-2 hover:bg-lh-surface-3"}`,children:t(l)},e)),("tablo"===k||"cumle"===k)&&(0,s.jsxs)("div",{className:"ml-auto relative",children:[(0,s.jsx)(n.Z,{className:"w-3.5 h-3.5 text-lh-muted-3 absolute left-2 top-1/2 -translate-y-1/2"}),(0,s.jsx)("input",{value:v,onChange:e=>w(e.target.value),placeholder:"cumle"===k?t("c\xfcmle ara…"):t("kelime ara…"),className:"pl-7 pr-2 py-1 text-xs rounded-lg bg-lh-surface-3 border border-lh-border text-lh-text placeholder:text-lh-muted-3 w-36 focus:w-48 transition-all outline-none"})]})]}),(0,s.jsx)("div",{className:"flex-1 overflow-auto p-4",children:j?(0,s.jsx)("div",{className:"flex items-center justify-center h-full text-lh-muted-3",children:(0,s.jsx)(i.Z,{className:"w-6 h-6 animate-spin"})}):"tablo"===k?(0,s.jsxs)("div",{className:"space-y-5",children:[F.map(e=>(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"atlas-eyebrow mb-1.5",children:t(e.label)}),(0,s.jsx)("div",{className:"overflow-x-auto rounded-xl border border-lh-border",children:(0,s.jsxs)("table",{className:"w-full text-xs border-collapse",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{className:"bg-lh-surface-2",children:[(0,s.jsx)("th",{className:"sticky left-0 bg-lh-surface-2 px-2 py-1.5 text-left font-bold text-lh-text-2 whitespace-nowrap",children:t("Kavram")}),m.columns.map(e=>(0,s.jsx)("th",{className:"px-2 py-1.5 text-left font-medium text-lh-muted-2 whitespace-nowrap",children:t(K(e))},e))]})}),(0,s.jsx)("tbody",{children:e.words.map(e=>(0,s.jsxs)("tr",{className:`border-t border-lh-border-subtle hover:bg-lh-surface-3 ${e.hasJourney?"cursor-pointer":""}`,onClick:()=>{if(e.hasJourney){let t=m.journeys.find(t=>t.id===e.id);t&&(L(t),y("yolculuk"))}},children:[(0,s.jsxs)("td",{className:"sticky left-0 bg-lh-surface px-2 py-1.5 whitespace-nowrap",children:[(0,s.jsx)("span",{className:"font-bold text-lh-text",children:h(e.gloss,e.en,l)}),e.proto&&(0,s.jsx)("span",{className:"ml-1 text-[10px] text-lh-muted-3 italic",children:e.proto}
1),e.hasJourney&&(0,s.jsx)("span",{className:"ml-1 text-[9px] text-lh-accent-text",children:"\uD83E\uDDED"}),(0,s.jsx)("div",{className:"text-[9px] text-lh-muted-3",children:u(e.gloss,e.en,l)})]}),m.columns.map(t=>(0,s.jsx)("td",{className:"px-2 py-1.5 text-lh-text-2 whitespace-nowrap",children:e.forms[t]||(0,s.jsx)("span",{className:"text-lh-muted-3",children:"\xb7"})},t))]},e.id))})]})})]},e.category)),!F.length&&(0,s.jsx)("p",{className:"text-center text-sm text-lh-muted-3 mt-8",children:t("Eşleşme yok.")})]}):"cumle"===k?(0,s.jsxs)("div",{className:"space-y-5",children:[(0,s.jsx)("p",{className:"text-[11px] text-lh-muted-2",children:t("G\xfcnl\xfck hayatta en sık kullanılan kalıpların T\xfcrk leh\xe7elerindeki karşılıkları — selamlaşmadan seyahate.")}),Z.map(e=>(0,s.jsxs)("div",{children:[(0,s.jsxs)("h4",{className:"atlas-eyebrow mb-1.5",children:[t(e.label)," ",(0,s.jsxs)("span",{className:"opacity-50",children:["(",e.items.length,")"]})]}),(0,s.jsx)("div",{className:"overflow-x-auto rounded-xl border border-lh-border",children:(0,s.jsxs)("table",{className:"w-full text-xs border-collapse",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{className:"bg-lh-surface-2",children:[(0,s.jsx)("th",{className:"sticky left-0 bg-lh-surface-2 px-2 py-1.5 text-left font-bold text-lh-text-2 whitespace-nowrap",children:"en"===l?t("İfade"):t("T\xfcrk\xe7e")}),(m?.sentColumns||[]).filter(e=>"T\xfcrkiye T\xfcrk\xe7esi"!==e).map(e=>(0,s.jsx)("th",{className:"px-2 py-1.5 text-left font-medium text-lh-muted-2 whitespace-nowrap",children:t(K(e))},e))]})}),(0,s.jsx)("tbody",{children:e.items.map(e=>(0,s.jsxs)("tr",{className:"border-t border-lh-border-subtle hover:bg-lh-surface-3 align-top",children:[(0,s.jsxs)("td",{className:"sticky left-0 bg-lh-surface px-2 py-1.5",children:[(0,s.jsx)("span",{className:"font-bold text-lh-text",children:h(e.tr,e.en,l)}),u(e.tr,e.en,l)&&(0,s.jsx)("div",{className:"text-[9px] text-lh-muted-3",children:u(e.tr,e.en,l)})]}),(m?.sentColumns||[]).filter(e=>"T\xfcrkiye T\xfcrk\xe7esi"!==e).map(t=>(0,s.jsx)("td",{className:"px-2 py-1.5 text-lh-text-2",children:e.forms[t]||(0,s.jsx)("span",{className:"text-lh-muted-3",children:"\xb7"})},t))]},e.id))})]})})]},e.category)),!Z.length&&(0,s.jsx)("p",{className:"text-center text-sm text-lh-muted-3 mt-8",children:t("Eşleşme yok.")})]}):"etimoloji"===k?(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsxs)("div",{className:"relative flex-1 max-w-xs",children:[(0,s.jsx)(n.Z,{className:"w-3.5 h-3.5 text-lh-muted-3 absolute left-2 top-1/2 -translate-y-1/2"}),(0,s.jsx)("input",{value:T,onChange:e=>D(e.target.value),placeholder:t("T\xfcrk\xe7e kelime ara (k\xf6keni)…"),autoFocus:!0,className:"w-full pl-7 pr-2 py-1.5 text-sm rounded-lg bg-lh-surface-3 border border-lh-border text-lh-text placeholder:text-lh-muted-3 outline-none"})]}),m?.etyStats&&(0,s.jsxs)("span",{className:"text-[11px] text-lh-muted-3",children:[m.etyStats.total.toLocaleString(c)," ",t("kelime \xb7 k\xf6ken")]})]}),m?.etyStats&&(0,s.jsx)("div",{className:"flex flex-wrap gap-1.5",children:m.etyStats.byOrigin.slice(0,16).map(e=>(0,s.jsxs)("button",{onClick:()=>S(E===e.origin?"":e.origin),className:`px-2 py-0.5 rounded-full text-[11px] border transition ${E===e.origin?"text-white":"text-lh-text-2 bg-lh-surface-2"}`,style:E===e.origin?{background:g(e.origin),borderColor:g(e.origin)}:{borderColor:g(e.origin)+"55"},children:[t(e.origin)," ",(0,s.jsx)("span",{className:"opacity-60",children:e.count.toLocaleString(c)})]},e.origin))}),_?(0,s.jsx)("div",{className:"flex justify-center py-8 text-lh-muted-3",children:(0,s.jsx)(i.Z,{className:"w-5 h-5 animate-spin"})}):A?(0,s.jsxs)("div",{className:"space-y-1.5",children:[(0,s.jsxs)("p",{className:"text-[11px] text-lh-muted-3",children:[A.total.toLocaleString(c)," ",t("sonu\xe7"),A.total>60?" "+t("(ilk 60)"):""]}),A.results.map(e=>(0,s.jsxs)("div",{className:"p-2.5 rounded-lg bg-lh-surface-2 border border-lh-border",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,s.jsx)("span",{className:"text-sm font-bold text-lh-text",children:e.glossTr}),e.pos&&(0,s.jsx)("span",{className:"text-[10px] text-lh-muted-3 italic",children:t(e.pos)}),(0,s.jsx)("span",{className:"text-[10px] px-1.5 py-0.5 rounded-full text-white",style:{background:g(e.originLang)},children:e.originLang?t(e.originLang):"?"})]}),e.etymology&&(0,s.jsx)("p",{className:"text-[11px] text-lh-muted-2 mt-1 leading-snug",children:e.etymology})]},e.id)),!A.results.length&&(0,s.jsx)("p",{className:"text-center text-sm text-lh-muted-3 py-6",children:t("Eşleşme yok.")})]}):(0,s.jsxs)("p",{className:"text-center text-sm text-lh-muted-3 py-8",children:[t("Kelime yazın ya da bir k\xf6ken dili se\xe7in —")," ",m?.etyStats?.total.toLocaleStr
1ing(c)," ",t("T\xfcrk\xe7e kelimenin etimolojisi (Vikis\xf6zl\xfck/CC BY-SA).")]})]}):C?(0,s.jsx)(f,{j:C,onBack:()=>L(null),shortLang:K}):(0,s.jsxs)("div",{className:"space-y-5",children:[(0,s.jsx)("p",{className:"text-[11px] text-lh-muted-2",children:t("Bir kelimenin Asya bozkırlarından bug\xfcne yolculuğunu veya Anadolu T\xfcrk\xe7esindeki alıntıların k\xf6kenini g\xf6rmek i\xe7in se\xe7in:")}),Object.keys(G).map(e=>(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"text-xs font-bold text-lh-text-2 mb-2",children:t(p[e]||e)}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:G[e].map(e=>(0,s.jsxs)("button",{onClick:()=>L(e),className:"px-3 py-1.5 rounded-lg bg-lh-surface-2 border border-lh-border hover:bg-lh-surface-3 hover:border-lh-accent-soft-border text-sm font-medium text-lh-text-2 transition",children:[h(e.gloss,e.en,l),u(e.gloss,e.en,l)&&(0,s.jsx)("span",{className:"text-[10px] text-lh-muted-3 ml-1",children:u(e.gloss,e.en,l)})]},e.id))})]},e))]})}),(0,s.jsx)("div",{className:"px-4 py-2 border-t border-lh-border text-[10px] text-lh-muted-3 shrink-0",children:t("Karşılaştırmalı T\xfcrkoloji (Clauson, R\xe4s\xe4nen) ve etimoloji (Nişanyan) temelli k\xfcrat\xf6rl\xfc \xe7ekirdek set \xb7 genişletilebilir.")})]})})}function f({j:e,onBack:t,shortLang:l}){let a=(0,x.NT)(),r=(0,x.Jr)(),n=e.steps.filter(e=>"stage"===e.kind||"source"===e.kind),i=e.steps.filter(e=>"modern"===e.kind||"target"===e.kind),o="cognate"!==e.type;return(0,s.jsxs)("div",{className:"max-w-3xl mx-auto",children:[(0,s.jsx)("button",{onClick:t,className:"text-xs text-lh-accent-text hover:underline mb-3",children:a("← Kelime Yolculuğu")}),(0,s.jsxs)("div",{className:"flex items-baseline gap-2 flex-wrap mb-1",children:[(0,s.jsx)("h2",{className:"text-2xl font-bold text-lh-text",children:h(e.gloss,e.en,r)}),u(e.gloss,e.en,r)&&(0,s.jsx)("span",{className:"text-sm text-lh-muted-3",children:u(e.gloss,e.en,r)}),e.proto&&(0,s.jsx)("span",{className:"text-sm text-lh-amber italic",children:e.proto})]}),e.note&&(0,s.jsx)("p",{className:"text-sm text-lh-text-2 leading-relaxed mb-4",children:e.note}),n.length>0&&(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5 mb-4",children:[n.map((e,t)=>(0,s.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,s.jsxs)("div",{className:"px-3 py-2 rounded-xl bg-[color-mix(in_srgb,var(--lh-amber)_12%,transparent)] border border-[color-mix(in_srgb,var(--lh-amber)_30%,transparent)] text-center",children:[(0,s.jsx)("div",{className:"text-base font-bold text-lh-amber",dir:"auto",children:e.form}),e.latin&&e.latin!==e.form&&(0,s.jsx)("div",{className:"text-[10px] text-lh-muted-2",children:e.latin}),(0,s.jsxs)("div",{className:"text-[9px] text-lh-muted-2",children:[a(e.lang),e.region?` \xb7 ${a(e.region)}`:""]}),e.note&&(0,s.jsx)("div",{className:"text-[9px] text-lh-muted-3 max-w-[150px]",children:e.note})]}),t<n.length-1&&(0,s.jsx)(c.Z,{className:"w-4 h-4 text-lh-muted-3 shrink-0"})]},t)),i.length>0&&(0,s.jsx)(c.Z,{className:"w-4 h-4 text-lh-green shrink-0"})]}),i.length>0&&(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-[11px] font-medium text-lh-muted-2 mb-2",children:o?a("Sonu\xe7"):a("Bug\xfcnk\xfc T\xfcrk leh\xe7eleri")}),(0,s.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-2",children:i.map((e,t)=>(0,s.jsxs)("div",{className:"px-2.5 py-2 rounded-lg bg-[color-mix(in_srgb,var(--lh-green)_6%,transparent)] border border-[color-mix(in_srgb,var(--lh-green)_20%,transparent)] text-center",children:[(0,s.jsx)("div",{className:"text-base font-bold text-lh-text",dir:"auto",children:e.form}),(0,s.jsx)("div",{className:"text-[10px] text-lh-green",children:a(l(e.lang))}),e.branch&&"modern"===e.kind&&(0,s.jsx)("div",{className:"text-[9px] text-lh-muted-3",children:a(e.branch)})]},t))})]})]})}},51817:function(e,t,l){l.d(t,{Z:function(){return s}});let s=(0,l(79205).Z)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])}}]);

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.