1import{j as a}from"./router-BbhUQokr.js";import{u as c,a as o,e as l,U as h}from"./index-YHcahCCO.js";import{P as x}from"./PerformantResponsiveContainer-DA7bj-rq.js";import{L as p,C as f,X as k,Y as y,T as j,d as u,e as r}from"./charts-CMe_y1k7.js";import"./vendor-nUoiNgbM.js";import"./ui-CCI7xipb.js";import"./supabase-KpB3PWUv.js";import"./motion-ChDy0vFR.js";const F=({data:s,loading:i})=>{const{language:n}=c(),e=n==="tr";if(i||!s)return a.jsx(o,{className:"glass-morphism-card border-border/20 shadow-sm",children:a.jsx(l,{className:"p-6",children:a.jsx("div",{className:"animate-pulse h-[350px] bg-muted rounded"})})});const d=s.rollingVol.filter((t,m)=>m%3===0);return a.jsx(o,{className:"glass-morphism-card border-border/20 shadow-sm",children:a.jsxs(l,{className:"p-6",children:[a.jsx("h3",{className:"text-lg font-semibold text-foreground mb-4",children:e?"Kayan YıllıklandırılmıŠOynaklık":"Rolling Annualized Volatility"}),a.jsx(x,{height:350,children:a.jsxs(p,{data:d,children:[a.jsx(f,{strokeDasharray:"2 4",vertical:!1,stroke:"hsl(var(--border))",strokeOpacity:.5}),a.jsx(k,{dataKey:"date",tick:{fontSize:11,fill:"hsl(var(--muted-foreground))"},tickFormatter:t=>t.slice(5)}),a.jsx(y,{tick:{fontSize:11,fill:"hsl(var(--muted-foreground))"},tickFormatter:t=>`${t.toFixed(0)}%`}),a.jsx(j,{contentStyle:h,formatter:t=>[`${t.toFixed(1)}%`]}),a.jsx(u,{}),a.jsx(r,{type:"monotone",dataKey:"vol30",name:e?"30 Günlük":"30-Day",stroke:"hsl(var(--primary))",dot:!1,strokeWidth:1.5}),a.jsx(r,{type:"monotone",dataKey:"vol60",name:e?"60 Günlük":"60-Day",stroke:"hsl(var(--chart-3))",dot:!1,strokeWidth:1.5}),a.jsx(r,{type:"monotone",dataKey:"vol90",name:e?"90 Günlük":"90-Day",stroke:"hsl(var(--chart-2))",dot:!1,strokeWidth:1.5})]})})]})})};export{F as VolatilityChart};
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.