PageSourceSearch

https://www.smartledger.ai/_next/static/chunks/0ojzeniag..a5.js

js smartledger.ai collected 2026-10-05 12:38:27 UTC 17,677 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,58351,e=>{"use strict";var t=e.i(43476),s=e.i(57688),a=e.i(72520),i=e.i(65956);e.s(["CTASection",0,function(){let{open:e}=(0,i.useDemoModal)();return(0,t.jsxs)("section",{className:"relative overflow-hidden bg-sl-navy",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 bg-sl-accent/[0.06] blur-3xl"}),(0,t.jsx)("div",{className:"relative z-10 mx-auto max-w-page px-6 py-20 lg:px-8 lg:py-28",children:(0,t.jsxs)("div",{className:"mx-auto max-w-3xl text-center",children:[(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(s.default,{src:"/assets/slai_white.svg",alt:"SmartLedger AI",width:140,height:36,style:{height:"auto"},className:"h-9 w-auto object-contain"})}),(0,t.jsx)("p",{className:"mt-8 text-[11px] font-semibold uppercase tracking-[0.18em] text-sl-accent",children:"Ready When You Are"}),(0,t.jsxs)("h2",{className:"mt-4 text-3xl font-bold leading-[1.1] tracking-tight text-white 2xl:text-[36px]",children:["Let AI run the books."," ",(0,t.jsx)("span",{className:"text-sl-accent",children:"You verify."})]}),(0,t.jsx)("p",{className:"mx-auto mt-4 max-w-2xl text-base leading-relaxed text-white/70",children:"Start a 7-day free trial on your own books or your clients' in minutes — or book a 20-minute walkthrough and we'll show you the full platform live, from AI bookkeeping to compliance and reports."}),(0,t.jsxs)("div",{className:"mt-10 flex flex-col items-center justify-center gap-4 sm:flex-row",children:[(0,t.jsxs)("a",{href:"https://app.smartledger.ai/onboarding/email",target:"_blank",rel:"noopener noreferrer","data-gtm":"signup_click_footer_cta",className:"cta-arrow cta-solid-invert inline-flex h-12 w-full items-center justify-center gap-2 rounded-none px-8 text-sm font-semibold sm:w-auto",children:["Start Free Trial",(0,t.jsx)(a.ArrowRight,{className:"h-4 w-4"})]}),(0,t.jsxs)("button",{type:"button",onClick:e,"data-gtm":"demo_click_footer_cta",className:"inline-flex items-center gap-2 rounded-none border border-white/40 px-6 py-3 text-sm font-semibold text-white transition-colors hover:border-sl-accent hover:text-sl-accent",children:["Book a 20-min Demo",(0,t.jsx)(a.ArrowRight,{className:"h-4 w-4"})]})]}),(0,t.jsx)("p",{className:"mt-6 text-xs font-medium text-white/45",children:"7-day free trial · No charge today · Built for Indian GST, TDS and ITR"})]})})]})}])},55910,63727,54385,e=>{"use strict";var t=e.i(43476),s=e.i(71645),a=e.i(88653),i=e.i(24511),l=e.i(75254);let n=(0,l.default)("briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);e.s(["Briefcase",0,n],63727);var r=e.i(95468),c=e.i(44523);let d=(0,l.default)("clipboard-check",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]]);e.s(["ClipboardCheck",0,d],54385);let o=(0,l.default)("file-exclamation-point",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var x=e.i(5257),h=e.i(94351),m=e.i(7233),p=e.i(55436),f=e.i(39616),u=e.i(81418),b=e.i(83086),w=e.i(61911);let g=[{id:"c1",name:"Nandi Agro Exports",gstin:"29AAECN4821K1ZQ",plan:"PRO",status:"ok",statusText:"No pending actions",color:"#1f7a5c"},{id:"c2",name:"Kaveri Hospitality LLP",gstin:"29AAJFK3390M1ZL",plan:"PRO",status:"action",statusText:"GSTR-3B draft ready for review",color:"#5b4a1f"},{id:"c3",name:"Bluewave Logistics Pvt Ltd",gstin:"29AABCB7712H1ZD",plan:"FREE",status:"ok",statusText:"No pending actions",color:"#1f4a7a"},{id:"c4",name:"Sharma Textiles",plan:"FREE",status:"action",statusText:"3 bank entries need categorising",color:"#6b2f1f"},{id:"c5",name:"Zenith Pharma Distributors",gstin:"29AAACZ1058P1ZR",plan:"PRO",status:"ok",statusText:"No pending actions",color:"#2f1f6b"}
1],j=[{client:"Kaveri Hospitality LLP",text:"GSTR-3B for Aug drafted · 2 items flagged for partner review"},{client:"Sharma Textiles",text:"Bank statement reconciled · 3 entries need a category"},{client:"Nandi Agro Exports",text:"TDS workings for Q2 prepared · matched to 26AS"},{client:"Zenith Pharma Distributors",text:"Tally sync complete · 214 vouchers pulled, 0 conflicts"}];function k(e){return e.split(" ").filter(Boolean).slice(0,2).map(e=>e[0]).join("").toUpperCase()}function N(){return(0,t.jsxs)("div",{className:"flex items-center gap-3 border-b border-[#e8edf7] bg-[#eef0f6] px-3 py-2 dark:border-white/10 dark:bg-[#0a1020]",children:[(0,t.jsxs)("div",{className:"flex gap-1.5",children:[(0,t.jsx)("span",{className:"h-2 w-2 rounded-full bg-[#ff5f57]"}),(0,t.jsx)("span",{className:"h-2 w-2 rounded-full bg-[#febc2e]"}),(0,t.jsx)("span",{className:"h-2 w-2 rounded-full bg-[#28c840]"})]}),(0,t.jsx)("div",{className:"flex flex-1 items-center justify-center rounded-none bg-white px-3 py-[3px] text-[9px] font-medium text-sl-muted dark:bg-white/5 dark:text-white/55",children:"app.smartledger.ai/mehta-associates/practice"})]})}let v=[{icon:n,label:"Practice",active:!0},{icon:u.ShieldCheck,label:"Compliance"},{icon:d,label:"Work"},{icon:f.Settings,label:"Settings"}];function y(){return(0,t.jsxs)("div",{className:"hidden w-[64px] shrink-0 flex-col items-center border-r border-white/10 bg-[#101A45] py-2.5 text-white md:flex",children:[(0,t.jsx)("div",{className:"mb-3 flex h-9 w-9 items-center justify-center bg-white shadow-[0_2px_8px_rgba(0,0,0,0.18)]",children:(0,t.jsx)("span",{className:"h-5 w-5 bg-gradient-to-br from-sl-accent to-[#192F5F]"})}),(0,t.jsx)("div",{className:"flex flex-col gap-1",children:v.map(e=>{let{icon:s,label:a,active:i}=e;return(0,t.jsxs)("div",{className:`flex w-[56px] flex-col items-center gap-1 py-2 text-[8px] font-medium ${i?"bg-sl-accent text-white":"text-white/60"}`,children:[(0,t.jsx)(s,{className:"h-4 w-4"}),a]},a)})})]})}function A(e){let{selectedId:s,onSelect:a}=e;return(0,t.jsxs)("aside",{className:"hidden w-[210px] shrink-0 flex-col bg-[#192F5F] text-white lg:flex",children:[(0,t.jsxs)("div",{className:"px-3 pt-3",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("span",{className:"text-[13px] font-bold",children:["SmartLedger",(0,t.jsx)("span",{className:"text-sl-accent",children:".AI"})]}),(0,t.jsx)("span",{className:"border border-sl-accent/60 px-1 text-[7px] font-bold text-sl-accent",children:"v1.1"})]}),(0,t.jsxs)("div",{className:"mt-3 flex items-center gap-2 bg-white/5 px-2 py-1.5 text-[9px] text-white/50",children:[(0,t.jsx)(p.Search,{className:"h-3 w-3"})," Jump to anything… ",(0,t.jsx)("span",{className:"ml-auto text-[7px]",children:"⌘K"})]}),(0,t.jsxs)("div",{className:"mt-3 flex items-center gap-2",children:[(0,t.jsx)("span",{className:"flex h-8 w-8 items-center justify-center bg-white text-[10px] font-bold text-sl-navy",children:"MA"}),(0,t.jsxs)("span",{className:"min-w-0",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1.5 text-[11px] font-bold",children:[(0,t.jsx)("span",{className:"truncate",children:"Mehta & Associates"}),(0,t.jsx)("span",{className:"border border-sl-accent px-1 text-[6px] font-bold text-sl-accent",children:"CA PRO"})]}),(0,t.jsx)("span",{className:"block text-[8px] font-semibold uppercase tracking-wider text-white/45",children:"Practice Growth"})]})]}),(0,t.jsxs)("div",{className:"mt-3 flex items-center justify-center gap-1.5 bg-sl-accent py-2 text-[11px] font-semibold text-white",children:[(0,t.jsx)(m.Plus,{className:"h-3.5 w-3.5"})," Add Client"]})]}),(0,t.jsxs)("div",{className:"mt-4 px-3",children:[(0,t.jsx)("p",{className:"text-[8px] font-bold uppercase tracking-wider text-white/40",children:"Jump to client"}),(0,t.jsx)("ul",{className:"mt-2 space-y-0.5",children:g.map(e=>(0,t.jsx)("li",{children:(0,t.jsxs)("button",{type:"button",onClick:()=>a(e.id),className:`flex w-full items-center gap-2 px-1.5 py-1.5 text-left text-[11px] transition-colors ${s===e.id?"bg-white/10 text-white":"text-white/75 hover:bg-white/5"}`,children:[(0,t.jsx)("span",{className:"flex h-5 w-5 shrink-0 items-center justify-center text-[8px] font-bold text-white",style:{backgroundColor:e.color},children:k(e.name)}),(0,t.jsx)("span",{className:"truncate",children:e.name})]})},e.id))})]}),(0,t.jsxs)("div",{className:"mt-auto flex items-center gap-2 border-t border-white/10 px-3 py-3",children:[(0,t.jsx)("span",{className:"flex h-8 w-8 items-center justify-center bg-sl-accent text-[11px] font-bold",children:"P"}),(0,t.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,t.jsx)("span",{className:"block truncate text-[11px] font-semibold",children:"CA Priya Mehta"}),(0,t.jsx)("span",{className:"block text-[8px] text-white/50",children:"Firm Owner · FY 26–27"})]}),(0,t.jsx)(x.Headphones,{className:"h-3.5 w-3.5 text-white/50"})]})]})}function S(){return(0,t.jsxs)("div",{className:"flex items-center gap-2 border-b border-[#e3e8f2] bg-white px-4 py-2.5 text-[11px] text-sl-muted dark:border-white/10 dark:bg-[#0f1a3a] dark:text-white/55",children:[(0,t.jsx)(h.Home,{className:"h-3.5 w-3.5"}),(0,t.jsx)("span",{children:"/"}),(0,t.jsx)("span",{className:"font-semibold text-sl-navy dark:text-white",children:"Practice"}),(0,t.jsxs)("span",{className:"ml-auto hidden items-center gap-1.5 text-[10px] md:flex",children:[(0,t.jsx)(w.Users,{className:"h-3 w-3"})," 3 team members online"]})]})}function C(e){let{label:s,value:a,sub:i,accent:l}=e;return(0,t.jsxs)("div",{className:"border border-[#e3e8f2] bg-white p-3 dark:border-white/10 dark:bg-white/[0.03]",children:[(0,t.jsx)("p",{className:"text-[10px] font-medium text-sl-muted dark:text-white/55",children:s}),(0,t.jsx)("p",{className:`mt-1 text-[22px] font-bold leading-none ${l?"text-sl-accent-ink dark:text-sl-accent":"text-sl-navy dark:text-white"}`,children:a}),i?(0,t.jsxs)("p",{className:"mt-1.5 flex items-center gap-1 text-[9px] text-sl-muted dark:text-white/50",children:[l?(0,t.jsx)(b.Sparkles,{className:"h-2.5 w-2.5 text-sl-accent"}):(0,t.jsx)(o,{className:"h-2.5 w-2.5"}),i]}):null]})}function P(e){let{label:s,count:a,active:i,onClick:l}=e;return(0,t.jsxs)("button",{type:"button",onClick:l,"aria-pressed":i,className:`whitespace-nowrap border px-2 py-1 text-[10px] font-semibold transition-colors ${i?"border-sl-navy bg-sl-navy text-white dark:border-white/20 dark:bg-white/15":"border-[#e3e8f2] bg-white text-sl-navy hover:border-sl-navy/40 dark:border-white/10 dark:bg-transparent dark:text-white/80"}`,children:[s," (",a,")"]})}
1e.s(["PracticeDashboardMock",0,function(){let[e,l]=(0,s.useState)("all"),[n,d]=(0,s.useState)("c2"),[o,x]=(0,s.useState)(0);(0,s.useEffect)(()=>{if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let e=window.setInterval(()=>x(e=>(e+1)%j.length),4200);return()=>window.clearInterval(e)},[]);let h=(0,s.useMemo)(()=>g.filter(t=>"all"===e||t.status===e),[e]),m={all:g.length,action:g.filter(e=>"action"===e.status).length,ok:g.filter(e=>"ok"===e.status).length};return(0,t.jsxs)("div",{className:"overflow-hidden rounded-none border border-white/75 bg-white text-left shadow-[0_40px_100px_-40px_rgba(24,39,94,0.4)] dark:border-white/10 dark:bg-[#0b1224]",children:[(0,t.jsx)(N,{}),(0,t.jsxs)("div",{className:"flex bg-[#f4f6fb] dark:bg-[#0b1224]",children:[(0,t.jsx)(y,{}),(0,t.jsx)(A,{selectedId:n,onSelect:d}),(0,t.jsxs)("div",{className:"relative flex min-w-0 flex-1 flex-col",children:[(0,t.jsx)(S,{}),(0,t.jsxs)("div",{className:"flex-1 space-y-4 p-4 md:p-5",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-[20px] font-bold leading-tight text-sl-navy dark:text-white md:text-[24px]",children:"Good morning, CA Priya"}),(0,t.jsxs)("p",{className:"mt-1 text-[11px] text-sl-muted dark:text-white/55 md:text-[12px]",children:["Mehta & Associates · here's where your ",g.length," clients stand today."]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-3 gap-2.5",children:[(0,t.jsx)(C,{label:"Active Clients",value:String(g.length)}),(0,t.jsx)(C,{label:"Filings Due This Week",value:"4",sub:"2 drafted by AI",accent:!0}),(0,t.jsx)(C,{label:"Documents To Review",value:"7",sub:"Across 3 clients"})]}),(0,t.jsxs)("div",{className:"rounded-none border border-[#e3e8f2] bg-white dark:border-white/10 dark:bg-white/[0.03]",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2 border-b border-[#e3e8f2] px-3 py-2.5 dark:border-white/10",children:[(0,t.jsx)("p",{className:"text-[13px] font-bold text-sl-navy dark:text-white",children:"Clients"}),(0,t.jsxs)("div",{className:"flex gap-1",children:[(0,t.jsx)(P,{label:"All",count:m.all,active:"all"===e,onClick:()=>l("all")}),(0,t.jsx)(P,{label:"Action needed",count:m.action,active:"action"===e,onClick:()=>l("action")}),(0,t.jsx)(P,{label:"Up to date",count:m.ok,active:"ok"===e,onClick:()=>l("ok")})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-[1fr_auto_auto] items-center gap-3 border-b border-[#e3e8f2] bg-[#f8f9fc] px-3 py-1.5 text-[9px] font-semibold uppercase tracking-wider text-sl-muted dark:border-white/10 dark:bg-white/[0.02] dark:text-white/45",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1",children:["Client ",(0,t.jsx)(c.ChevronsUpDown,{className:"h-2.5 w-2.5"})]}),(0,t.jsx)("span",{className:"w-12",children:"Plan"}),(0,t.jsxs)("span",{className:"flex w-40 items-center gap-1 md:w-52",children:["Status ",(0,t.jsx)(c.ChevronsUpDown,{className:"h-2.5 w-2.5"})]})]}),(0,t.jsx)("ul",{className:"divide-y divide-[#eef1f7] dark:divide-white/5",children:(0,t.jsx)(a.AnimatePresence,{initial:!1,children:h.map(e=>(0,t.jsx)(i.m.li,{layout:!0,initial:{opacity:0,y:6},animate:{opacity:1,y:0},exit:{opacity:0,y:-6},transition:{duration:.18},children:(0,t.jsxs)("button",{type:"button",onClick:()=>d(e.id),"aria-pressed":n===e.id,className:`grid w-full grid-cols-[1fr_auto_auto] items-center gap-3 px-3 py-2.5 text-left transition-colors ${n===e.id?"bg-sl-accent/[0.07] dark:bg-sl-accent/10":"hover:bg-[#f8f9fc] dark:hover:bg-white/[0.03]"}`,children:[(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-2.5",children:[(0,t.jsx)("span",{className:"flex h-7 w-7 shrink-0 items-center justify-center text-[10px] font-bold text-white",style:{backgroundColor:e.color},children:k(e.name)}),(0,t.jsxs)("span",{className:"min-w-0",children:[(0,t.jsx)("span",{className:"block truncate text-[12px] font-semibold text-sl-navy dark:text-white",children:e.name}),e.gstin?(0,t.jsxs)("span",{className:"flex items-center gap-1 text-[9px] text-sl-muted dark:text-white/45",children:[e.gstin,(0,t.jsx)(r.CheckCircle2,{className:"h-2.5 w-2.5 text-[#1f9d61]"})]}):(0,t.jsx)("span",{className:"text-[9px] text-sl-muted/70 dark:text-white/30",children:"GSTIN not added"})]})]}),(0,t.jsx)("span",{className:"w-12",children:(0,t.jsx)("span",{className:`inline-block px-1.5 py-[2px] text-[8px] font-bold tracking-wider ${"PRO"===e.plan?"bg-sl-navy text-white dark:bg-white/15":"bg-[#eef1f7] text-sl-muted dark:bg-white/10 dark:text-white/60"}`,children:e.plan})}),(0,t.jsxs)("span",{className:"flex w-40 items-center gap-1.5 text-[11px] font-medium md:w-52",children:[(0,t.jsx)("span",{className:`h-1.5 w-1.5 shrink-0 rounded-full ${"ok"===e.status?"bg-[#1f9d61]":"bg-sl-accent"}`}),(0,t.jsx)("span",{className:`truncate ${"ok"===e.status?"text-sl-navy dark:text-white/85":"text-sl-accent-ink dark:text-sl-accent"}`,children:e.statusText})]})]})},e.id))})})]})]}),(0,t.jsx)("div",{className:"pointer-events-none absolute bottom-4 right-4 hidden w-[300px] md:block",children:(0,t.jsx)(a.AnimatePresence,{mode:"wait",children:(0,t.jsxs)(i.m.div,{initial:{opacity:0,y:10}
1,animate:{opacity:1,y:0},exit:{opacity:0,y:-6},transition:{duration:.3},className:"flex gap-2.5 border border-sl-navy/10 bg-white p-3 shadow-[0_16px_40px_-16px_rgba(24,39,94,0.45)] dark:border-white/10 dark:bg-[#131f44]",children:[(0,t.jsx)("span",{className:"flex h-7 w-7 shrink-0 items-center justify-center bg-sl-accent text-white",children:(0,t.jsx)(b.Sparkles,{className:"h-3.5 w-3.5"})}),(0,t.jsxs)("span",{className:"min-w-0",children:[(0,t.jsxs)("span",{className:"block text-[9px] font-semibold uppercase tracking-wider text-sl-accent-ink dark:text-sl-accent",children:["SmartAgent · ",j[o].client]}),(0,t.jsx)("span",{className:"mt-0.5 block text-[11px] leading-snug text-sl-navy dark:text-white/85",children:j[o].text})]})]},o)})})]})]})]})}],55910)},63113,e=>{"use strict";var t=e.i(43476),s=e.i(71645),a=e.i(46361);e.s(["ScaledMock",0,function(e){let{children:i,nativeWidth:l=1100,className:n="",mobileFallback:r="invoice"}=e,[c,d]=(0,s.useState)(!0);(0,s.useEffect)(()=>{let e=window.matchMedia("(min-width: 768px)"),t=()=>d(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]);let o=(0,s.useRef)(null),x=(0,s.useRef)(null),[h,m]=(0,s.useState)(1),[p,f]=(0,s.useState)(void 0);return((0,s.useLayoutEffect)(()=>{let e=o.current,t=x.current;if(!e||!t)return;let s=()=>{let s=Math.min(1,e.clientWidth/l);m(s),f(t.offsetHeight*s)};s();let a=new ResizeObserver(s);return a.observe(e),a.observe(t),()=>a.disconnect()},[l,c]),c)?(0,t.jsx)("div",{ref:o,className:`w-full overflow-hidden ${n}`,style:{height:p},children:(0,t.jsx)("div",{ref:x,style:{width:l,transform:`scale(${h})`,transformOrigin:"top left"},children:i})}):null===r?null:"string"==typeof r?(0,t.jsx)("div",{className:n,children:(0,t.jsx)(a.SectionVisual,{kind:r})}):(0,t.jsx)("div",{className:n,children:r})}])}]);

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.