1import{j as e,O as f,v as o,s as j,D as m,ai as l,b1 as N}from"./index-CMQG5J0E.js";import{B as c}from"./briefcase-CNK5D8-_.js";import{H as i}from"./heart-CWgJA_G8.js";import"./react-pRwqyV2Z.js";import"./charts-m7s5G5wy.js";import"./router-D_N-N4OQ.js";const y=[{category:"Social Security",amount:1461,icon:c,color:"text-blue-400",bgColor:"bg-blue-500/20",borderColor:"border-blue-500"},{category:"Medicare",amount:874,icon:i,color:"text-pink-400",bgColor:"bg-pink-500/20",borderColor:"border-pink-500"},{category:"Interest on Debt",amount:882,icon:m,color:"text-debt",bgColor:"bg-debt/20",borderColor:"border-debt",highlight:!0},{category:"National Defense",amount:874,icon:l,color:"text-green-400",bgColor:"bg-green-500/20",borderColor:"border-green-500"},{category:"Health (Medicaid)",amount:616,icon:i,color:"text-purple-400",bgColor:"bg-purple-500/20",borderColor:"border-purple-500"},{category:"Income Security",amount:415,icon:c,color:"text-orange-400",bgColor:"bg-orange-500/20",borderColor:"border-orange-500"},{category:"Veterans Benefits",amount:303,icon:l,color:"text-cyan-400",bgColor:"bg-cyan-500/20",borderColor:"border-cyan-500"},{category:"Education",amount:139,icon:N,color:"text-yellow-400",bgColor:"bg-yellow-500/20",borderColor:"border-yellow-500"}],a=[...y].sort((r,n)=>n.amount-r.amount),x=a.findIndex(r=>r.category==="Interest on Debt")+1,v=a[0].amount;function F({annualInterest:r,isLoading:n}){const s=r?r/1e9:882,b=(s/874*100).toFixed(0),d=(s/139).toFixed(1),g=s*1e9/365,u=s*1e9/12;return n?e.jsx("div",{className:"debt-card p-6 md:p-8 animate-slide-up",children:e.jsxs("div",{className:"animate-pulse space-y-4",children:[e.jsx("div",{className:"h-8 bg-muted/50 rounded w-3/4 mx-auto"}),e.jsx("div",{className:"h-24 bg-muted/50 rounded"})]})}):e.jsxs("div",{id:"interest-ranking",className:"debt-card p-6 md:p-8 animate-slide-up relative",children:[e.jsx(f,{variant:"corner",title:"Interest Payment Ranking",text:`Interest on U.S. debt is now the #${x} largest federal expense at $${o(Math.round(s))}B/year! That's ${d}x more than education spending. See how interest compares:`,url:"https://www.us-debt-clock.com/#interest-ranking",hashtags:["USDebt","InterestPayments","FederalSpending"]}),e.jsxs("div",{className:"flex items-center justify-center gap-3 mb-4",children:[e.jsx(j,{className:"text-debt",size:24}),e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-center",children:"Interest Payment Ranking"}),e.jsx(m,{className:"text-debt",size:24})]}),e.jsxs("p",{className:"text-center text-muted-foreground mb-6",children:["Interest on debt is now the ",e.jsxs("span",{className:"text-debt font-bold",children:["#",x," largest"]})," federal expenditure"]}),e.jsxs("div",{className:"glass-card p-6 bg-debt/10 border border-debt/30 text-center mb-6",children:[e.jsx("p",{className:"text-sm text-muted-foreground mb-2 uppercase tracking-wide",children:"Annual Interest Payments (FY2024)"}),e.jsxs("p",{className:"text-4xl md:text-5xl font-bold text-debt",children:["$",o(Math.round(s))," Billion"]}),e.jsxs("p",{className:"text-xs text-muted-foreground mt-2",children:["$",(s/1e3).toFixed(2)," Trillion per year"]})]}),e.jsxs("div",{className:"glass-card p-6 mb-6",children:[e.jsx("h3",{className:"text-sm font-semibold text-center mb-4 text-muted-foreground uppercase tracking-wide",children:"Federal Spending Comparison (FY2024)"}),e.jsx("div",{className:"space-y-3",children:a.map((t,w)=>{const h=t.icon,p=t.amount/v*100;return e.jsxs("div",{className:`${t.highlight?"glass-card p-3 border border-debt/30":""}`,children:[e.jsxs("div",{className:"flex items-center justify-between mb-1",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(h,{className:t.color,size:16}),e.jsx("span",{className:`text-sm ${t.highlight?"text-debt font-semibold":"text-white/80"}`,children:t.category})]}),e.jsxs("span",{className:`text-sm font-semibold ${t.highlight?"text-debt":"text-white/70"}`,children:["$",o(t.amount),"B"]})]}),e.jsx("div",{className:"w-full bg-black/40 rounded-full h-3 overflow-hidden",children:e.jsx("div",{className:`h-full rounded-full transition-all duration-500 ${t.highlight?"bg-gradient-to-r from-debt to-yellow-500":t.bgColor.replace("/20","/60")}`,style:{width:`${p}%`}})})]},t.category)})})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4 mb-6",children:[e.jsxs("div",{className:"glass-card p-4 text-center",children:[e.jsx("p",{className:"text-xs text-muted-foreground mb-1",children:"Daily Interest"}),e.jsxs("p",{className:"text-xl font-bold text-debt",children:["$",(g/1e9).toFixed(2),"B"]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"per day"})]}),e.jsxs("div",{className:"glass-card p-4 text-center",children:[e.jsx("p",{className:"text-xs text-muted-foreground mb-1",children:"Monthly Interest"}),e.jsxs("p",{className:"text-xl font-bold text-yellow-400",children:["$",(u/1e9).toFixed(1),"B"]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"per month"})]}),e.jsxs("div",{className:"glass-card p-4 text-center",children:[e.jsx("p",{className:"text-xs text-muted-foreground mb-1",children:"vs Defense"}),e.jsxs("p",{className:"text-xl font-bold text-green-400",children:[b,"%"]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"of defense budget"})]})]}),e.jsx("div",{className:"glass-card p-4 bg-debt/5 border border-debt/20",children:e.jsxs("p",{className:"text-sm text-center text-muted-foreground",children:[e.jsx("span",{className:"text-debt font-semibold",children:"Alarming trend:"})," Interest payments now exceed what we spend on"," ",e.jsx("span",{className:"text-debt font-bold",children:"national defense"}),". The government spends"," ",e.jsxs("span",{className:"text-debt font-bold",children:[d,"x more"]})," on interest than on education. At current rates, interest will consume over"," ",e.jsx("span",{className:"text-debt font-bold",children:"$1 trillion annually"})," by 2026."]})})]})}export{F as InterestPaymentRanking};
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.