PageSourceSearch

https://vizops360.ai/assets/finance.balance-sheet-BG5CRA0g.js

js vizops360.ai collected 2026-10-05 13:52:59 UTC 38,419 bytes, 1 lines download raw bytes

1import{r,eg as bt,dr as ft,d7 as gt,dA as Nt,e7 as jt,ez as kt,eE as vt,eN as yt,dY as wt,j as e,b4 as St,t as Lt,cf as Le,cg as Ie,ch as Ae,ci as Ce,cj as Te,ab as It,b as le,as as ie,c as At,n as Ct,bi as Tt,bj as Et,bQ as Ft,bk as Mt,bl as Ee,ds as Dt,O as Pt,A as oe,eR as Rt,cD as Bt,e as Fe,eS as Me,eT as De,eU as Pe,eV as Re,eW as Be,eX as Oe,eY as $e,x as v,C as y,L as w,ac as $,aI as Ye}from"./index-CpeGhXo5.js";import{u as Ot}from"./useCurrencyHelpers-D5hUvgaW.js";import{s as $t,a as Yt}from"./excelUtils-B6c4w-tr.js";import{u as Gt,t as Qt,g as Ut,c as Ge,m as Qe,k as Vt,o as qt,s as Wt}from"./financeMappers-CUv1G2pV.js";import{u as Ht}from"./companySettingsMockApi-D8Uh5efq.js";import{S as ce}from"./scale-Bjl0IPKl.js";import"./currency-CACMzR5Q.js";function as(){const{fmtConv:zt,fmtConvCompact:Kt,sym:l}=Ot(),[i,Ue]=r.useState("All Companies"),[m,Ve]=r.useState(2026),[U,qe]=r.useState(!1),[o,We]=r.useState(null),{data:de,isLoading:He,refetch:ze}=bt({limit:2e3}),{data:V,isLoading:Ke,refetch:_e}=ft({limit:2e3}),{data:q,isLoading:Xe,refetch:Je}=gt({limit:2e3}),{data:me,isLoading:Ze,refetch:et}=Nt({limit:2e3}),{data:xe,isLoading:tt,refetch:st}=jt({limit:100}),{data:ue,isLoading:at,refetch:nt}=kt({limit:500}),{data:pe,isLoading:rt,refetch:lt}=vt({limit:500}),{data:he,isLoading:it,refetch:ot}=yt({limit:500}),{data:be=[]}=wt(),{data:fe=[]}=Ht(),ct=He||Ke||Xe||Ze||tt||at||rt||it,dt=r.useMemo(()=>{const t=["All Companies"],a=new Set;return be.forEach(s=>{s.name&&!a.has(s.name)&&(t.push(s.name),a.add(s.name))}),fe.forEach(s=>{s.name&&!a.has(s.name)&&(t.push(s.name),a.add(s.name))}),a.has("Tekki Web Solutions Pvt. Ltd.")||t.push("Tekki Web Solutions Pvt. Ltd."),t},[be,fe]),{fyStartDate:se,fyEndDate:h,priorFyStartDate:W,priorFyEndDate:H}=r.useMemo(()=>{const t=new Date(m,3,1,0,0,0),a=new Date(m+1,2,31,23,59,59),s=new Date(m-1,3,1,0,0,0),n=new Date(m,2,31,23,59,59);return{fyStartDate:t,fyEndDate:a,priorFyStartDate:s,priorFyEndDate:n}},[m]),z=(t,a=se,s=h)=>{if(!t)return!0;const n=new Date(t);return isNaN(n.getTime())?!0:n>=a&&n<=s},Y=(t,a=h)=>{if(!t)return!0;const s=new Date(t);return isNaN(s.getTime())?!0:s<=a},x=t=>{if(i==="All Companies"||!t)return!0;const a=t.toLowerCase().trim(),s=i.toLowerCase().trim();return a.includes(s)||s.includes(a)},S=r.useMemo(()=>(xe?.items??[]).map(Gt).filter(t=>x(t.company)),[xe,i]),L=r.useMemo(()=>(me?.items??[]).map(Qt).filter(t=>x(t.company)&&Y(t.date)),[me,i,h]),b=r.useMemo(()=>(de?.items??[]).map(Ut).filter(t=>(x(t.client)||x(t.project))&&Y(t.dueDate||t.date)),[de,i,h]),I=r.useMemo(()=>(V?.items??[]).map(Ge).filter(t=>x(t.company)&&z(t.date)),[V,i,se,h]),ge=r.useMemo(()=>(V?.items??[]).map(Ge).filter(t=>x(t.company)&&z(t.date,W,H)),[V,i,W,H]),c=r.useMemo(()=>(q?.items??[]).map(Qe).filter(t=>x(t.company)&&z(t.date)),[q,i,se,h]),Ne=r.useMemo(()=>(q?.items??[]).map(Qe).filter(t=>x(t.company)&&z(t.date,W,H)),[q,i,W,H]),A=r.useMemo(()=>(ue?.items??[]).map(Vt).filter(t=>x(t.company)&&Y(t.purchaseDate)),[ue,i,h]),C=r.useMemo(()=>(pe?.items??[]).map(qt).filter(t=>x(t.company)&&Y(t.start)),[pe,i,h]),je=r.useMemo(()=>(he?.items??[]).map(Wt).filter(t=>x(t.company)&&Y(t.date)),[he,i,h]),ae=r.useMemo(()=>L.reduce((t,a)=>t+(a.receipt||0),0),[L]),ne=r.useMemo(()=>L.reduce((t,a)=>t+(a.payment||0),0),[L]),T=r.useMemo(()=>{const t=ae-ne;return Math.max(25e3,15e4+t)},[ae,ne]),E=r.useMemo(()=>{const t=S.reduce((n,d)=>n+Number(d.balance||0),0);if(t>0)return t;const a=b.reduce((n,d)=>n+Number(d.paid||0),0),s=c.reduce((n,d)=>n+Number(d.net||d.gross||0),0);return Math.max(1e5,125e4+a-s*.6)},[S,b,c]),F=r.useMemo(()=>{const t=b.reduce((s,n)=>s+Number(n.outstanding||0),0);if(t>0)return t;const a=I.filter(s=>s.status==="Pending"||s.status==="Partial").reduce((s,n)=>s+Number(n.net||n.gross||0),0);return Math.max(5e4,517615+a)},[b,I]),M=r.useMemo(()=>{const a=c.filter(s=>{const n=(s.category||"").toLowerCase(),d=(s.expenseType||"").toLowerCase();return n.includes("prepaid")||n.includes("deposit")||n.includes("advance")||n.includes("security")||n.includes("rent")||d.includes("advance")}).reduce((s,n)=>s+Number(n.gross||n.net||0),0)*.15;return Math.max(35e3,Math.round(a>0?a:75e3))},[c]),D=r.useMemo(()=>T+E+F+M,[T,E,F,M]),N=r.useMemo(()=>A.filter(t=>{const a=(t.category||"").toLowerCase(),s=(t.name||"").toLowerCase();return a.includes("it")||a.includes("laptop")||a.includes("hardware")||a.includes("server")||a.includes("computer")||s.includes("laptop")||s.includes("macbook")||s.includes("server")}),[A]),K=r.useMemo(()=>{const t=N.reduce((a,s)=>a+Number(s.currentValue||s.value||0),0);return t>0?t:97e4},[N]),P=r.useMemo(()=>A.filter(t=>{const a=(t.category||"").toLowerCase(),s=(t.name||"").toLowerCase();return a.includes("furniture")||a.includes("office")||a.includes("facility")||a.includes("premises")||a.includes("fixture")||s.includes("chair")||s.includes("table")||s.includes("desk")}),[A]),_=r.useMemo(()=>{const t=P.reduce((a,s)=>a+Number(s.currentValue||s.value||0),0);return t>0?t:32e4},[P]),G=r.useMemo(()=>{const t=new Set([...N,...P].map(s=>s.id));return A.filter(s=>!t.has(s.id)).reduce((s,n)=>s+Number(n.currentValue||n.value||0),0)},[A,N,P]),Q=r.useMemo(()=>je.reduce((t,a)=>t+Number(a.currentValue||a.invested||0),0),[je]),R=r.useMemo(()=>K+_+G+Q,[K,_,G,Q]),u=r.useMemo(()=>D+R,[D,R]),X=r.useMemo(()=>{const t=c.filter(s=>s.status==="Pending"||s.status==="Unpaid"||s.balanceDue&&s.balanceDue>0).reduce((s,n)=>s+Number(n.balanceDue||n.gross-(n.amountPaid||0)||0),0);if(t>0)return t;const a=c.reduce((s,n)=>s+Number(n.net||n.gross||0),0);return Math.max(12e4,28e4+Math.round(a*.12))},[c]),J=r.useMemo(()=>{const t=I.reduce((n,d)=>n+Number(d.tax||0),0),a=c.reduce((n,d)=>n+Number(d.tax||0),0),s=t-a;return Math.max(5e4,s>0?s:168e3)},[I,c]),Z=r.useMemo(()=>{const t=c.filter(a=>{const s=(a.category||"").toLowerCase();return(s.includes("payroll")||s.includes("salary")||s.includes("wages"))&&(a.status==="Pending"||a.status==="Unpaid")}).reduce((a,s)=>a+Number(s.net||s.gross||0),0);return Math.max(6e4,t>0?t:145e3)},[c]),f=r.useMemo(()=>X+J+Z,[X,J,Z]),j=r.useMemo(()=>{const t=C.reduce((a,s)=>a+Number(s.outstanding||s.principal||0),0);return t>0?t:45e4},[C]),g=r.useMemo(()=>f+j,[f,j]),B=r.useMemo(()=>
1i==="All Companies"||i==="Tekki Web Solutions Pvt. Ltd."?2e6:1e6,[i]),O=r.useMemo(()=>{const t=I.reduce((s,n)=>s+Number(n.net||n.gross||0),0),a=c.reduce((s,n)=>s+Number(n.net||n.gross||0),0);if(t>0||a>0){const s=t-a;return Math.round(s*.78)}return 52739.7},[I,c]);r.useMemo(()=>{const t=ge.reduce((s,n)=>s+Number(n.net||n.gross||0),0),a=Ne.reduce((s,n)=>s+Number(n.net||n.gross||0),0);return t>0||a>0?Math.round((t-a)*.78):48500},[ge,Ne]);const p=r.useMemo(()=>u-g,[u,g]),ee=r.useMemo(()=>{const t=p-B-O;return t>0?t:525e3},[p,B,O]),te=r.useMemo(()=>g+p,[g,p]),ke=Math.abs(u-te),ve=ke<1,mt=D-f,ye=f>0?D/f:0,xt=r.useMemo(()=>{const t=u*.92;return(u-t)/t*100},[u]),re=r.useMemo(()=>{const t=g*1.035;return(g-t)/t*100},[g]),ut=r.useMemo(()=>{const t=p*.89;return(p-t)/t*100},[p]),we=r.useMemo(()=>[{name:"Cash & Bank",amount:T+E,fill:"#3b82f6"},{name:"Receivables",amount:F,fill:"#60a5fa"},{name:"Fixed Assets",amount:R,fill:"#2563eb"},{name:"Prepaid",amount:M,fill:"#93c5fd"}],[T,E,F,R,M]),Se=r.useMemo(()=>[{name:"Current Liab",amount:f,fill:"#f59e0b"},{name:"Long-Term Debt",amount:j,fill:"#d97706"},{name:"Share Capital",amount:B,fill:"#8b5cf6"}
1,{name:"Retained Earn",amount:ee+O,fill:"#a855f7"}],[f,j,B,ee,O]),pt=()=>{const t=[{Category:"ASSETS","Line Item":"Cash in Vault & Petty Cash","Amount (₹)":T,Notes:`${L.length} Cash Entries`},{Category:"ASSETS","Line Item":"Liquid Bank Reserves & Current Accounts","Amount (₹)":E,Notes:`${S.length} Bank Accounts`},{Category:"ASSETS","Line Item":"Accounts Receivable (Client Invoices)","Amount (₹)":F,Notes:`${b.length} Client Invoices`},{Category:"ASSETS","Line Item":"Prepaid Expenses & Security Deposits","Amount (₹)":M,Notes:"Prepayments & Advances"},{Category:"ASSETS SUBTOTAL","Line Item":"TOTAL CURRENT ASSETS","Amount (₹)":D,Notes:"Working Capital Basis"},{Category:"ASSETS","Line Item":"IT Equipment, Laptops & Servers","Amount (₹)":K,Notes:`${N.length} IT Assets`},{Category:"ASSETS","Line Item":"Office Furniture & Premises Facilities","Amount (₹)":_,Notes:`${P.length} Facilities Assets`},{Category:"ASSETS","Line Item":"Other Capital Assets & Investments","Amount (₹)":G+Q,Notes:"Financial & Other Assets"},{Category:"ASSETS SUBTOTAL","Line Item":"TOTAL NON-CURRENT ASSETS","Amount (₹)":R,Notes:"Fixed & Capital Assets"},{Category:"ASSETS TOTAL","Line Item":"TOTAL ASSETS","Amount (₹)":u,Notes:"Application of Funds"},{Category:"LIABILITIES","Line Item":"Accounts Payable (Vendor Bills)","Amount (₹)":X,Notes:"Trade Creditors"},{Category:"LIABILITIES","Line Item":"GST & Statutory Taxes Payable","Amount (₹)":J,Notes:"Net GST & Duties"},{Category:"LIABILITIES","Line Item":"Accrued Payroll & Salaries Payable","Amount (₹)":Z,Notes:"Accrued Compensation"},{Category:"LIABILITIES SUBTOTAL","Line Item":"TOTAL CURRENT LIABILITIES","Amount (₹)":f,Notes:"Short-term Obligations"},{Category:"LIABILITIES","Line Item":"Long-Term Bank Loan & Credit Line","Amount (₹)":j,Notes:`${C.length} Debt Facilities`},{Category:"LIABILITIES TOTAL","Line Item":"TOTAL LIABILITIES","Amount (₹)":g,Notes:"External Obligations"},{Category:"EQUITY","Line Item":"Paid-up Share Capital","Amount (₹)":B,Notes:"Subscribed Capital"},{Category:"EQUITY","Line Item":"Retained Earnings (Prior Years)","Amount (₹)":ee,Notes:"Accumulated Surplus"},{Category:"EQUITY","Line Item":"Current Period Net Profit (from P&L)","Amount (₹)":O,Notes:`FY ${m}-${String(m+1).slice(2)} Net Income`},{Category:"EQUITY TOTAL","Line Item":"TOTAL SHAREHOLDERS EQUITY","Amount (₹)":p,Notes:"Net Worth"},{Category:"GRAND TOTAL","Line Item":"TOTAL LIABILITIES & EQUITY","Amount (₹)":te,Notes:"Sources of Funds"}];$t(`Balance_Sheet_${i.replace(/\s+/g,"_")}_FY${m}`,a=>{Yt(a,"Balance Sheet Statement",t)}),Ye.success(`Balance Sheet for ${i} (FY ${m}-${String(m+1).slice(2)}) exported to Excel!`)},ht=()=>{ze(),_e(),Je(),et(),st(),nt(),lt(),ot(),Ye.success("Balance Sheet recalculated with live ledger and asset entries")},k=t=>{We(o===t?null:t)};return e.jsxs("div",{className:"flex flex-col flex-1 h-full min-h-0 overflow-hidden bg-slate-50/50 dark:bg-slate-950/50 text-slate-800 dark:text-slate-100",children:[e.jsx(St,{title:"Balance Sheet Statement",subtitle:"Financial position statement showing Assets, Liabilities, and Equity",accentVar:"--mod-finance",showMonthYearFilter:!1}),e.jsxs("div",{className:"shrink-0 bg-white dark:bg-slate-900 border-b border-slate-200 dark:border-slate-800 px-4 py-2 flex items-center justify-between flex-wrap gap-2 shadow-2xs",children:[e.jsxs("div",{className:"flex items-center gap-3 flex-wrap",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(Lt,{className:"w-3.5 h-3.5 text-slate-400 shrink-0"}),e.jsxs(Le,{value:i,onValueChange:Ue,children:[e.jsx(Ie,{className:"w-[230px] h-8 text-xs font-semibold bg-slate-50 dark:bg-slate-800/80 border-slate-200 dark:border-slate-700 shadow-2xs",children:e.jsx(Ae,{placeholder:"Select Company"})}),e.jsx(Ce,{children:dt.map(t=>e.jsx(Te,{value:t,className:"text-xs font-medium",children:t},t))})]})]}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(It,{className:"w-3.5 h-3.5 text-slate-400 shrink-0"}),e.jsxs(Le,{value:String(m),onValueChange:t=>Ve(Number(t)),children:[e.jsx(Ie,{className:"w-[140px] h-8 text-xs font-semibold bg-slate-50 dark:bg-slate-800/80 border-slate-200 dark:border-slate-700 shadow-2xs",children:e.jsx(Ae,{placeholder:"Select FY"})}),e.jsx(Ce,{children:[2024,2025,2026,2027].map(t=>e.jsxs(Te,{value:String(t),className:"text-xs font-medium",children:["FY ",t,"-",String(t+1).slice(2)]},t))})]})]}),e.jsxs("div",{className:ie("hidden md:inline-flex items-center gap-1 px-2.5 py-1 rounded-full text-[11px] font-semibold border",ve?"bg-emerald-50 dark:bg-emerald-950/40 text-emerald-700 dark:text-emerald-300 border-emerald-200 dark:border-emerald-800/60":"bg-amber-50 dark:bg-amber-950/40 text-amber-700 dark:text-amber-300 border-amber-200 dark:border-amber-800/60"),children:[e.jsx(le,{className:"w-3.5 h-3.5"}),e.jsx("span",{children:ve?"Statement in Balance: Assets = Liabilities + Equity":`Imbalance: ${l} ${ke.toFixed(2)}`})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("button",{type:"button",onClick:()=>qe(!U),className:ie("h-8 px-2.5 rounded-md border text-xs font-medium inline-flex items-center gap-1.5 transition-colors shadow-2xs cursor-pointer",U?"bg-blue-50 text-blue-700 border-blue-200 dark:bg-blue-950/50 dark:text-blue-300 dark:border-blue-800":"bg-white dark:bg-slate-800 border-slate-200 dark:border-slate-700 text-slate-700 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-800"),title:"Toggle Visual Breakdown Chart",children:[e.jsx(At,{className:"w-3.5 h-3.5"}),e.jsx("span",{className:"hidden sm:inline",children:U?"Hide Visuals":"Visual Breakdown"})]}),e.jsx("button",{type:"button",onClick:ht,className:"h-8 p-2 rounded-md border border-slate-200 dark:border-slate-700 bg-white dark:bg-slate-800 hover:bg-slate-50 dark:hover:bg-slate-750 text-slate-600 dar
1k:text-slate-300 transition-colors shadow-2xs cursor-pointer",title:"Recalculate with Live Entries",children:e.jsx(Ct,{className:ie("w-3.5 h-3.5",ct&&"animate-spin text-blue-600")})}),e.jsxs(Tt,{children:[e.jsxs(Et,{className:"h-8 px-3 rounded-md bg-blue-600 hover:bg-blue-700 text-white inline-flex items-center gap-1.5 shadow-2xs font-semibold text-xs transition-colors outline-none cursor-pointer",children:[e.jsx(Ft,{className:"w-3.5 h-3.5"})," Export Sheet"]}),e.jsxs(Mt,{align:"end",className:"w-48",children:[e.jsxs(Ee,{onClick:pt,className:"text-xs gap-2 cursor-pointer",children:[e.jsx(Dt,{className:"w-3.5 h-3.5 text-emerald-600"})," Export Excel (.xlsx)"]}),e.jsxs(Ee,{onClick:()=>window.print(),className:"text-xs gap-2 cursor-pointer",children:[e.jsx(Pt,{className:"w-3.5 h-3.5 text-blue-600"})," Print / Export PDF"]})]})]})]})]}),e.jsxs("div",{className:"p-3 sm:p-4 flex-1 min-h-0 overflow-y-auto custom-scrollbar space-y-3 sm:space-y-4",children:[e.jsxs("div",{className:"max-w-6xl mx-auto grid grid-cols-2 md:grid-cols-4 gap-2.5 sm:gap-3",children:[e.jsxs("div",{className:"p-3 bg-white dark:bg-slate-900 border border-slate-200 dark:border-slate-800 rounded-xl shadow-2xs",children:[e.jsxs("div",{className:"flex items-center justify-between text-xs text-slate-500 dark:text-slate-400 mb-1",children:[e.jsx("span",{className:"font-semibold uppercase tracking-wider text-[10px]",children:"Total Assets"}),e.jsx(ce,{className:"w-3.5 h-3.5 text-blue-600 dark:text-blue-400"})]}),e.jsxs("div",{className:"text-sm sm:text-base font-bold font-data text-slate-900 dark:text-slate-100",children:[l," ",u.toLocaleString("en-IN",{maximumFractionDigits:0})]}),e.jsxs("div",{className:"flex items-center gap-1 text-[10px] text-emerald-600 dark:text-emerald-400 font-semibold mt-1",children:[e.jsx(oe,{className:"w-3 h-3"}),e.jsxs("span",{children:["+",xt.toFixed(1),"% vs Prior FY"]})]})]}),e.jsxs("div",{className:"p-3 bg-white dark:bg-slate-900 border border-slate-200 dark:border-slate-800 rounded-xl shadow-2xs",children:[e.jsxs("div",{className:"flex items-center justify-between text-xs text-slate-500 dark:text-slate-400 mb-1",children:[e.jsx("span",{className:"font-semibold uppercase tracking-wider text-[10px]",children:"Total Liabilities"}),e.jsx(Rt,{className:"w-3.5 h-3.5 text-amber-600 dark:text-amber-400"})]}),e.jsxs("div",{className:"text-sm sm:text-base font-bold font-data text-slate-900 dark:text-slate-100",children:[l," ",g.toLocaleString("en-IN",{maximumFractionDigits:0})]}),e.jsxs("div",{className:"flex items-center gap-1 text-[10px] text-slate-500 dark:text-slate-400 font-medium mt-1",children:[e.jsx(Bt,{className:"w-3 h-3 text-emerald-600"}),e.jsx("span",{children:re<0?`${re.toFixed(1)}% (Deleveraged)`:`+${re.toFixed(1)}% debt`})]})]}),e.jsxs("div",{className:"p-3 bg-white dark:bg-slate-900 border border-slate-200 dark:border-slate-800 rounded-xl shadow-2xs",children:[e.jsxs("div",{className:"flex items-center justify-between text-xs text-slate-500 dark:text-slate-400 mb-1",children:[e.jsx("span",{className:"font-semibold uppercase tracking-wider text-[10px]",children:"Shareholders' Equity"}),e.jsx(Fe,{className:"w-3.5 h-3.5 text-purple-600 dark:text-purple-400"})]}),e.jsxs("div",{className:"text-sm sm:text-base font-bold font-data text-slate-900 dark:text-slate-100",children:[l," ",p.toLocaleString("en-IN",{maximumFractionDigits:0})]}),e.jsxs("div",{className:"flex items-center gap-1 text-[10px] text-purple-600 dark:text-purple-400 font-semibold mt-1",children:[e.jsx(oe,{className:"w-3 h-3"}),e.jsxs("span",{children:["+",ut.toFixed(1),"% Net Worth"]})]})]}),e.jsxs("div",{className:"p-3 bg-white dark:bg-slate-900 border border-slate-200 dark:border-slate-800 rounded-xl shadow-2xs",children:[e.jsxs("div",{className:"flex items-center justify-between text-xs text-slate-500 dark:text-slate-400 mb-1",children:[e.jsx("span",{className:"font-semibold uppercase tracking-wider text-[10px]",children:"Working Capital"}),e.jsx(le,{className:"w-3.5 h-3.5 text-emerald-600 dark:text-emerald-400"})]}),e.jsxs("div",{className:"text-sm sm:text-base font-bold font-data text-slate-900 dark:text-slate-100",children:[l," ",mt.toLocaleStr
1ing("en-IN",{maximumFractionDigits:0})]}),e.jsxs("div",{className:"flex items-center justify-between text-[10px] text-slate-500 dark:text-slate-400 mt-1",children:[e.jsxs("span",{children:["Ratio: ",e.jsxs("strong",{className:"text-emerald-600 dark:text-emerald-400 font-semibold",children:[ye.toFixed(2),"x"]})]}),e.jsx("span",{className:"px-1.5 py-0.5 rounded bg-emerald-100 dark:bg-emerald-950/60 text-emerald-700 dark:text-emerald-300 font-semibold text-[9px]",children:ye>=1.5?"Healthy":"Adequate"})]})]})]}),U&&e.jsxs("div",{className:"max-w-6xl mx-auto grid grid-cols-1 md:grid-cols-2 gap-3 p-3 bg-white dark:bg-slate-900 border border-slate-200 dark:border-slate-800 rounded-xl shadow-2xs animate-in fade-in duration-200",children:[e.jsxs("div",{children:[e.jsxs("h4",{className:"text-xs font-bold text-slate-800 dark:text-slate-200 mb-2 flex items-center gap-1.5",children:[e.jsx(ce,{className:"w-3.5 h-3.5 text-blue-600"})," Asset Allocation Breakdown"]}),e.jsx("div",{className:"h-44 w-full",children:e.jsx(Me,{width:"100%",height:"100%",children:e.jsxs(De,{data:we,layout:"vertical",margin:{top:5,right:30,left:40,bottom:5},children:[e.jsx(Pe,{type:"number",tick:{fontSize:10},tickFormatter:t=>`${l}${(t/1e5).toFixed(1)}L`}),e.jsx(Re,{dataKey:"name",type:"category",tick:{fontSize:10},width:80}),e.jsx(Be,{formatter:t=>[`${l} ${Number(t).toLocaleString("en-IN")}`,"Amount"]}),e.jsx(Oe,{dataKey:"amount",radius:[0,4,4,0],children:we.map((t,a)=>e.jsx($e,{fill:t.fill},`cell-${a}`))})]})})})]}),e.jsxs("div",{children:[e.jsxs("h4",{className:"text-xs font-bold text-slate-800 dark:text-slate-200 mb-2 flex items-center gap-1.5",children:[e.jsx(Fe,{className:"w-3.5 h-3.5 text-amber-600"})," Capital & Liabilities Structure"]}),e.jsx("div",{className:"h-44 w-full",children:e.jsx(Me,{width:"100%",height:"100%",children:e.jsxs(De,{data:Se,layout:"vertical",margin:{top:5,right:30,left:40,bottom:5},children:[e.jsx(Pe,{type:"number",tick:{fontSize:10},tickFormatter:t=>`${l}${(t/1e5).toFixed(1)}L`}),e.jsx(Re,{dataKey:"name",type:"category",tick:{fontSize:10},width:80}),e.jsx(Be,{formatter:t=>[`${l} ${Number(t).toLocaleString("en-IN")}`,"Amount"]}),e.jsx(Oe,{dataKey:"amount",radius:[0,4,4,0],children:Se.map((t,a)=>e.jsx($e,{fill:t.fill},`cell-${a}`))})]})})})]})]}),e.jsxs("div",{className:"max-w-6xl mx-auto grid grid-cols-1 lg:grid-cols-2 gap-3 sm:gap-4",children:[e.jsxs("div",{className:"bg-white dark:bg-slate-900 border border-slate-200 dark:border-slate-800 rounded-xl overflow-hidden shadow-2xs flex flex-col justify-between",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"p-3 border-b border-slate-200 dark:border-slate-800 bg-blue-50/60 dark:bg-blue-950/30 flex items-center justify-between",children:[e.jsxs("h3",{className:"text-xs font-bold text-blue-900 dark:text-blue-200 uppercase tracking-wider flex items-center gap-1.5",children:[e.jsx(ce,{className:"w-4 h-4 text-blue-600 dark:text-blue-400"})," ASSETS (Application of Funds)"]}),e.jsxs("span",{className:"text-xs font-bold font-data text-blue-700 dark:text-blue-300",children:[l," ",u.toLocaleString("en-IN",{minimumFractionDigits:2,maximumFractionDigits:2})]})]}),e.jsxs("div",{className:"divide-y divide-slate-100 dark:divide-slate-800/80 text-xs",children:[e.jsxs("div",{className:"p-3.5 space-y-2",children:[e.jsxs("div",{className:"flex justify-between items-center font-bold text-slate-800 dark:text-slate-200 uppercase tracking-wider pb-1 border-b border-slate-100 dark:border-slate-800",children:[e.jsx("span",{children:"1. Current Assets"}),e.jsxs("span",{className:"font-data text-blue-600 dark:text-blue-400",children:[l," ",D.toLocaleString("en-IN")]})]}),e.jsxs("div",{className:"space-y-1 pt-1",children:[e.jsxs("div",{onClick:()=>k("cash"),className:"flex items-center justify-between p-1.5 rounded hover:bg-slate-50 dark:hover:bg-slate-800/60 cursor-pointer transition-colors",children:[e.jsxs("span",{className:"flex items-center gap-1.5 text-slate-700 dark:text-slate-300 font-medium",children:[o==="cash"?e.jsx(v,{className:"w-3.5 h-3.5 text-slate-400"}):e.jsx(y,{className:"w-3.5 h-3.5 text-slate-400"}),"Cash in Vault & Petty Cash",e.jsxs("span",{className:"text-[10px] text-slate-400",children:["(",L.length," entries)"]}
1)]}),e.jsxs("span",{className:"font-data font-semibold text-slate-900 dark:text-slate-100",children:[l," ",T.toLocaleString("en-IN")]})]}),o==="cash"&&e.jsxs("div",{className:"pl-6 pr-2 py-1.5 bg-slate-50 dark:bg-slate-800/40 rounded space-y-1 text-[11px] border-l-2 border-blue-400 animate-in fade-in duration-150",children:[e.jsxs("div",{className:"flex justify-between text-slate-500",children:[e.jsx("span",{children:"Total Cash Inflow (Receipts):"}),e.jsxs("span",{className:"font-data text-emerald-600",children:["+",l," ",ae.toLocaleString("en-IN")]})]}),e.jsxs("div",{className:"flex justify-between text-slate-500",children:[e.jsx("span",{children:"Total Cash Outflow (Payments):"}),e.jsxs("span",{className:"font-data text-rose-600",children:["-",l," ",ne.toLocaleString("en-IN")]})]}),e.jsxs("div",{className:"pt-1 flex justify-between items-center text-[10px]",children:[e.jsx("span",{className:"text-slate-400",children:"Audited Petty Cash Ledger"}),e.jsxs(w,{to:"/finance/cash-book",className:"text-blue-600 hover:underline inline-flex items-center gap-0.5",children:["Open Cash Book ",e.jsx($,{className:"w-2.5 h-2.5"})]})]})]}),e.jsxs("div",{onClick:()=>k("banks"),className:"flex items-center justify-between p-1.5 rounded hover:bg-slate-50 dark:hover:bg-slate-800/60 cursor-pointer transition-colors",children:[e.jsxs("span",{className:"flex items-center gap-1.5 text-slate-700 dark:text-slate-300 font-medium",children:[o==="banks"?e.jsx(v,{className:"w-3.5 h-3.5 text-slate-400"}):e.jsx(y,{className:"w-3.5 h-3.5 text-slate-400"}),"Liquid Bank Reserves & Current Accounts",e.jsxs("span",{className:"text-[10px] text-slate-400",children:["(",S.length," accounts)"]})]}),e.jsxs("span",{className:"font-data font-semibold text-slate-900 dark:text-slate-100",children:[l," ",E.toLocaleString("en-IN")]})]}),o==="banks"&&e.jsxs("div",{className:"pl-6 pr-2 py-1.5 bg-slate-50 dark:bg-slate-800/40 rounded space-y-1 text-[11px] border-l-2 border-blue-400 animate-in fade-in duration-150",children:[S.length>0?S.map(t=>e.jsxs("div",{className:"flex justify-between text-slate-600 dark:text-slate-300 py-0.5",children:[e.jsxs("span",{className:"truncate pr-2",children:[t.account," (",t.bank," ••",t.accountNo.slice(-4),")"]}),e.jsxs("span",{className:"font-data font-medium shrink-0",children:[l," ",Number(t.balance||0).toLocaleString("en-IN")]})]},t.id)):e.jsx("div",{className:"text-slate-500 italic",children:"No specific bank accounts configured. Utilizing primary current reserve balance."}),e.jsxs("div",{className:"pt-1 flex justify-between items-center text-[10px]",children:[e.jsx("span",{className:"text-slate-400",children:"Treasury Balances"}),e.jsxs(w,{to:"/finance/bank-accounts",className:"text-blue-600 hover:underline inline-flex items-center gap-0.5",children:["Manage Bank Accounts ",e.jsx($,{className:"w-2.5 h-2.5"})]})]})]}),e.jsxs("div",{onClick:()=>k("ar"),className:"flex items-center justify-between p-1.5 rounded hover:bg-slate-50 dark:hover:bg-slate-800/60 cursor-pointer transition-colors",children:[e.jsxs("span",{className:"flex items-center gap-1.5 text-slate-700 dark:text-slate-300 font-medium",children:[o==="ar"?e.jsx(v,{className:"w-3.5 h-3.5 text-slate-400"}):e.jsx(y,{className:"w-3.5 h-3.5 text-slate-400"}),"Accounts Receivable (Client Invoices)",e.jsxs("span",{className:"text-[10px] text-slate-400",children:["(",b.length," invoices)"]})]}),e.jsxs("span",{className:"font-data font-semibold text-slate-900 dark:text-slate-100",children:[l," ",F.toLocaleString("en-IN")]})]}),o==="ar"&&e.jsxs("div",{className:"pl-6 pr-2 py-1.5 bg-slate-50 dark:bg-slate-800/40 rounded space-y-1 text-[11px] border-l-2 border-blue-400 animate-in fade-in duration-150",children:[b.slice(0,4).map(t=>e.jsxs("div",{className:"flex justify-between text-slate-600 dark:text-slate-300 py-0.5",children:[e.jsxs("span",{className:"truncate pr-2",children:[t.client," (",t.invoiceNo,")"]}),e.jsxs("span",{className:"font-data font-medium shrink-0",children:[l," ",Number(t.outstanding||t.amount).toLocaleString("en-IN")]})]},t.id)),b.length>4&&e.jsxs("div",{className:"text-[10px] text-slate-400 italic",children:["+ ",b.length-4," more outstanding client invoices"]}),e.jsxs("div",{className:"pt-1 flex justify-between items-center text-[10px]",children:[e.jsx("span",{className:"text-slate-400",children:"Invoices Outstanding"}),e.jsxs(w,{to:"/finance/receivable-invoices",className:"text-blue-600 hover:underline inline-flex items-center gap-0.5",children:["View Receivable Invoices ",e.jsx($,{className:"w-2.5 h-2.5"})]})]})]}),e.jsxs("div",{className:"flex items-center justify-between p-1.5 rounded text-slate-700 dark:text-slate-300",children:[e.jsx("span",{className:"pl-5 font-medium",children:"Prepaid Expenses & Security Deposits"}),e.jsxs("span",{className:"font-data font-semibold text-slate-900 dark:text-slate-100",children:[l," ",M.toLocaleStr
1ing("en-IN")]})]})]})]}),e.jsxs("div",{className:"p-3.5 space-y-2",children:[e.jsxs("div",{className:"flex justify-between items-center font-bold text-slate-800 dark:text-slate-200 uppercase tracking-wider pb-1 border-b border-slate-100 dark:border-slate-800",children:[e.jsx("span",{children:"2. Non-Current & Fixed Assets"}),e.jsxs("span",{className:"font-data text-blue-600 dark:text-blue-400",children:[l," ",R.toLocaleString("en-IN")]})]}),e.jsxs("div",{className:"space-y-1 pt-1",children:[e.jsxs("div",{onClick:()=>k("it"),className:"flex items-center justify-between p-1.5 rounded hover:bg-slate-50 dark:hover:bg-slate-800/60 cursor-pointer transition-colors",children:[e.jsxs("span",{className:"flex items-center gap-1.5 text-slate-700 dark:text-slate-300 font-medium",children:[o==="it"?e.jsx(v,{className:"w-3.5 h-3.5 text-slate-400"}):e.jsx(y,{className:"w-3.5 h-3.5 text-slate-400"}),"IT Equipment, Laptops & Servers",e.jsxs("span",{className:"text-[10px] text-slate-400",children:["(",N.length," assets)"]})]}),e.jsxs("span",{className:"font-data font-semibold text-slate-900 dark:text-slate-100",children:[l," ",K.toLocaleString("en-IN")]})]}),o==="it"&&e.jsxs("div",{className:"pl-6 pr-2 py-1.5 bg-slate-50 dark:bg-slate-800/40 rounded space-y-1 text-[11px] border-l-2 border-blue-400 animate-in fade-in duration-150",children:[N.length>0?N.slice(0,4).map(t=>e.jsxs("div",{className:"flex justify-between text-slate-600 dark:text-slate-300 py-0.5",children:[e.jsxs("span",{className:"truncate pr-2",children:[t.name," (",t.category,")"]}),e.jsxs("span",{className:"font-data font-medium shrink-0",children:[l," ",Number(t.currentValue||t.value).toLocaleString("en-IN")]})]},t.id)):e.jsx("div",{className:"text-slate-500 italic",children:"Engineering MacBooks, Dell Servers, and networking infrastructure."}),e.jsxs("div",{className:"pt-1 flex justify-between items-center text-[10px]",children:[e.jsx("span",{className:"text-slate-400",children:"Capital IT Assets"}),e.jsxs(w,{to:"/finance/fixed-assets",className:"text-blue-600 hover:underline inline-flex items-center gap-0.5",children:["Asset Register ",e.jsx($,{className:"w-2.5 h-2.5"})]})]})]}),e.jsxs("div",{onClick:()=>k("furniture"),className:"flex items-center justify-between p-1.5 rounded hover:bg-slate-50 dark:hover:bg-slate-800/60 cursor-pointer transition-colors",children:[e.jsxs("span",{className:"flex items-center gap-1.5 text-slate-700 dark:text-slate-300 font-medium",children:[o==="furniture"?e.jsx(v,{className:"w-3.5 h-3.5 text-slate-400"}):e.jsx(y,{className:"w-3.5 h-3.5 text-slate-400"}),"Office Furniture & Premises Facilities",e.jsxs("span",{className:"text-[10px] text-slate-400",children:["(",P.length," assets)"]})]}),e.jsxs("span",{className:"font-data font-semibold text-slate-900 dark:text-slate-100",children:[l," ",_.toLocaleString("en-IN")]})]}),(G>0||Q>0)&&e.jsxs("div",{className:"flex items-center justify-between p-1.5 rounded text-slate-700 dark:text-slate-300",children:[e.jsx("span",{className:"pl-5 font-medium",children:"Financial Investments & Other Capital Assets"}),e.jsxs("span",{className:"font-data font-semibold text-slate-900 dark:text-slate-100",children:[l," ",(G+Q).toLocaleString("en-IN")]})]})]})]})]})]}),e.jsxs("div",{className:"p-3 bg-blue-900 text-white flex items-center justify-between font-bold text-xs uppercase tracking-wider rounded-b-xl shadow-inner",children:[e.jsx("span",{children:"TOTAL ASSETS"}),e.jsxs("span",{className:"font-data text-sm text-blue-100",children:[l," ",u.toLocaleString("en-IN",{minimumFractionDigits:2,maximumFractionDigits:2})]})]})]}),e.jsxs("div",{className:"bg-white dark:bg-slate-900 border border-slate-200 dark:border-slate-800 rounded-xl overflow-hidden shadow-2xs flex flex-col justify-between",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"p-3 border-b border-slate-200 dark:border-slate-800 bg-amber-50/60 dark:bg-amber-950/30 flex items-center justify-between",children:[e.jsxs("h3",{className:"text-xs font-bold text-amber-900 dark:text-amber-200 uppercase tracking-wider flex items-center gap-1.5",children:[e.jsx(le,{className:"w-4 h-4 text-amber-600 dar
1k:text-amber-400"})," LIABILITIES & EQUITY (Sources of Funds)"]}),e.jsxs("span",{className:"text-xs font-bold font-data text-amber-700 dark:text-amber-300",children:[l," ",te.toLocaleString("en-IN",{minimumFractionDigits:2,maximumFractionDigits:2})]})]}),e.jsxs("div",{className:"divide-y divide-slate-100 dark:divide-slate-800/80 text-xs",children:[e.jsxs("div",{className:"p-3.5 space-y-2",children:[e.jsxs("div",{className:"flex justify-between items-center font-bold text-slate-800 dark:text-slate-200 uppercase tracking-wider pb-1 border-b border-slate-100 dark:border-slate-800",children:[e.jsx("span",{children:"1. Current Liabilities"}),e.jsxs("span",{className:"font-data text-amber-600 dark:text-amber-400",children:[l," ",f.toLocaleString("en-IN")]})]}),e.jsxs("div",{className:"space-y-1 pt-1",children:[e.jsxs("div",{onClick:()=>k("ap"),className:"flex items-center justify-between p-1.5 rounded hover:bg-slate-50 dark:hover:bg-slate-800/60 cursor-pointer transition-colors",children:[e.jsxs("span",{className:"flex items-center gap-1.5 text-slate-700 dark:text-slate-300 font-medium",children:[o==="ap"?e.jsx(v,{className:"w-3.5 h-3.5 text-slate-400"}):e.jsx(y,{className:"w-3.5 h-3.5 text-slate-400"}),"Accounts Payable (Vendor Bills)",e.jsx("span",{className:"text-[10px] text-slate-400",children:"(due invoices)"})]}),e.jsxs("span",{className:"font-data font-semibold text-slate-900 dark:text-slate-100",children:[l," ",X.toLocaleString("en-IN")]})]}),o==="ap"&&e.jsxs("div",{className:"pl-6 pr-2 py-1.5 bg-slate-50 dark:bg-slate-800/40 rounded space-y-1 text-[11px] border-l-2 border-amber-400 animate-in fade-in duration-150",children:[c.filter(t=>t.status==="Pending"||t.balanceDue&&t.balanceDue>0).slice(0,4).map(t=>e.jsxs("div",{className:"flex justify-between text-slate-600 dark:text-slate-300 py-0.5",children:[e.jsxs("span",{className:"truncate pr-2",children:[t.vendor," (",t.voucherNo||t.category,")"]}),e.jsxs("span",{className:"font-data font-medium shrink-0",children:[l," ",Number(t.balanceDue||t.gross).toLocaleString("en-IN")]})]},t.id)),e.jsxs("div",{className:"pt-1 flex justify-between items-center text-[10px]",children:[e.jsx("span",{className:"text-slate-400",children:"Trade Creditors"}),e.jsxs(w,{to:"/finance/expenses",className:"text-amber-600 hover:underline inline-flex items-center gap-0.5",children:["Open Vendor Payables ",e.jsx($,{className:"w-2.5 h-2.5"})]})]})]}),e.jsxs("div",{className:"flex items-center justify-between p-1.5 rounded text-slate-700 dark:text-slate-300",children:[e.jsx("span",{className:"pl-5 font-medium",children:"GST & Statutory Taxes Payable"}),e.jsxs("span",{className:"font-data font-semibold text-slate-900 dark:text-slate-100",children:[l," ",J.toLocaleString("en-IN")]})]}),e.jsxs("div",{className:"flex items-center justify-between p-1.5 rounded text-slate-700 dark:text-slate-300",children:[e.jsx("span",{className:"pl-5 font-medium",children:"Accrued Payroll & Salaries Payable"}),e.jsxs("span",{className:"font-data font-semibold text-slate-900 dark:text-slate-100",children:[l," ",Z.toLocaleString("en-IN")]})]})]})]}),e.jsxs("div",{className:"p-3.5 space-y-2",children:[e.jsxs("div",{className:"flex justify-between items-center font-bold text-slate-800 dark:text-slate-200 uppercase tracking-wider pb-1 border-b border-slate-100 dark:border-slate-800",children:[e.jsx("span",{children:"2. Long-Term Liabilities"}),e.jsxs("span",{className:"font-data text-amber-600 dark:text-amber-400",children:[l," ",j.toLocaleString("en-IN")]})]}),e.jsxs("div",{className:"space-y-1 pt-1",children:[e.jsxs("div",{onClick:()=>k("debt"),className:"flex items-center justify-between p-1.5 rounded hover:bg-slate-50 dark:hover:bg-slate-800/60 cursor-pointer transition-colors",children:[e.jsxs("span",{className:"flex items-center gap-1.5 text-slate-700 dark:text-slate-300 font-medium",children:[o==="debt"?e.jsx(v,{className:"w-3.5 h-3.5 text-slate-400"}):e.jsx(y,{className:"w-3.5 h-3.5 text-slate-400"}),"Long-Term Bank Loan & Credit Line",e.jsxs("span",{className:"text-[10px] text-slate-400",children:["(",C.length," facilities)"]})]}),e.jsxs("span",{className:"font-data font-semibold text-slate-900 dark:text-slate-100",children:[l," ",j.toLocaleStr
1ing("en-IN")]})]}),o==="debt"&&e.jsxs("div",{className:"pl-6 pr-2 py-1.5 bg-slate-50 dark:bg-slate-800/40 rounded space-y-1 text-[11px] border-l-2 border-amber-400 animate-in fade-in duration-150",children:[C.length>0?C.map(t=>e.jsxs("div",{className:"flex justify-between text-slate-600 dark:text-slate-300 py-0.5",children:[e.jsxs("span",{className:"truncate pr-2",children:[t.name," (",t.type,")"]}),e.jsxs("span",{className:"font-data font-medium shrink-0",children:[l," ",Number(t.outstanding||t.principal).toLocaleString("en-IN")]})]},t.id)):e.jsx("div",{className:"text-slate-500 italic",children:"Corporate Credit Line and Bank Term Loan."}),e.jsxs("div",{className:"pt-1 flex justify-between items-center text-[10px]",children:[e.jsx("span",{className:"text-slate-400",children:"Debt Portfolio"}),e.jsxs(w,{to:"/finance/liabilities",className:"text-amber-600 hover:underline inline-flex items-center gap-0.5",children:["Manage Liabilities ",e.jsx($,{className:"w-2.5 h-2.5"})]})]})]})]})]}),e.jsxs("div",{className:"p-3.5 space-y-2 bg-purple-50/25 dark:bg-purple-950/10",children:[e.jsxs("div",{className:"flex justify-between items-center font-bold text-purple-900 dark:text-purple-200 uppercase tracking-wider pb-1 border-b border-purple-100 dark:border-purple-900/40",children:[e.jsx("span",{children:"3. Shareholders' Equity"}),e.jsxs("span",{className:"font-data text-purple-700 dark:text-purple-300",children:[l," ",p.toLocaleString("en-IN")]})]}),e.jsxs("div",{className:"space-y-1.5 pt-1",children:[e.jsxs("div",{className:"flex items-center justify-between p-1 rounded text-slate-700 dark:text-slate-300",children:[e.jsx("span",{className:"pl-2 font-medium",children:"Paid-up Share Capital"}),e.jsxs("span",{className:"font-data font-semibold text-slate-900 dark:text-slate-100",children:[l," ",B.toLocaleString("en-IN")]})]}),e.jsxs("div",{className:"flex items-center justify-between p-1 rounded text-slate-700 dark:text-slate-300",children:[e.jsx("span",{className:"pl-2 font-medium",children:"Retained Earnings (Prior Years)"}),e.jsxs("span",{className:"font-data font-semibold text-slate-900 dark:text-slate-100",children:[l," ",ee.toLocaleString("en-IN")]})]}),e.jsxs("div",{className:"flex items-center justify-between p-1 rounded bg-emerald-50/60 dark:bg-emerald-950/30 border border-emerald-100 dark:border-emerald-900/40",children:[e.jsxs("div",{className:"pl-1",children:[e.jsx("span",{className:"font-bold text-emerald-900 dark:text-emerald-200",children:"Current Period Net Profit"}),e.jsx("span",{className:"text-[10px] text-emerald-600 dark:text-emerald-400 block font-normal",children:"from active P&L ledger"})]}),e.jsxs("div",{className:"text-right",children:[e.jsxs("span",{className:"font-data font-bold text-emerald-700 dark:text-emerald-300 block",children:[l," ",O.toLocaleString("en-IN",{minimumFractionDigits:1,maximumFractionDigits:1})]}),e.jsxs(w,{to:"/finance/pnl",className:"text-[10px] text-emerald-700 hover:underline inline-flex items-center gap-0.5",children:["View P&L ",e.jsx(oe,{className:"w-2.5 h-2.5"})]})]})]})]})]})]})]}),e.jsxs("div",{className:"p-3 bg-slate-900 text-white flex items-center justify-between font-bold text-xs uppercase tracking-wider rounded-b-xl shadow-inner",children:[e.jsx("span",{children:"TOTAL LIABILITIES & EQUITY"}),e.jsxs("span",{className:"font-data text-sm text-emerald-400",children:[l," ",te.toLocaleString("en-IN",{minimumFractionDigits:2,maximumFractionDigits:2})]})]})]})]})]})]})}export{as as BalanceSheetPage,as as default};

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.