PageSourceSearch

https://coastal.bank.in/assets/InterestRates-B6YHFshR.js

js coastal.bank.in collected 2026-09-25 07:53:57 UTC 14,662 bytes, 116 lines download raw bytes

1import{c as y,r as d,j as e}from"./index-uvVIpnMf.js";import{a as g}from"./index-CzApALvg.js";import{H as k,F as R}from"./Footer-CYpRvizH.js";import{P as S}from"./piggy-bank-COdAc623.js";import{F as T}from"./file-text-C6w61H2L.js";import{C}from"./chart-no-axes-column-DtlOluqH.js";import{I as B}from"./info-mIkWHeFx.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const I=y("Clipboard",[["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"}]]);/**
7 * @license lucide-react v0.462.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const E=y("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]),N="https://coastal.bank.in",w=({children:i})=>e.jsx("div",{className:"w-full bg-white rounded-xl border border-slate-800 overflow-x-auto shadow-sm",children:i}),t="font-bold text-slate-900 text-center border border-slate-800 p-3 bg-slate-50",l="border border-slate-800 p-3 text-center whitespace-normal break-words",v=({id:i,title:h,description:j,href:b,icon:f,palette:p="primary",activeDoc:n,setActiveDoc:a})=>{const u={primary:{border:"border-primary/20 hover:border-primary/30",iconBg:"bg-gradient-to-br from-primary to-accent",activeBorder:"ring-2 ring-primary/40",activeText:"text-primary"},blue:{border:"border-blue-200 hover:border-blue-300",iconBg:"bg-gradient-to-br from-blue-600 to-blue-400",activeBorder:"ring-2 ring-blue-600",activeText:"text-blue-800"}},o=u[p]||u.primary,c=n===i;return e.jsxs("div",{role:"button",tabIndex:0,onClick:()=>{a(i),setTimeout(()=>window.open(b,"_blank"),100)},className:`group cursor-pointer p-8 rounded-2xl transition-all duration-300 shadow-lg hover:shadow-xl ${o.border} border bg-gradient-to-br from-card to-primary/5 hover:from-primary/5 hover:to-accent/5 ${c?o.activeBorder:""}`,children:[e.jsxs("div",{className:"flex items-start justify-between mb-6",children:[e.jsx("div",{className:`w-16 h-16 rounded-full flex items-center justify-center ${c?"scale-105":"group-hover:scale-110"} transition-transform duration-300`,children:e.jsx("div",{className:`${o.iconBg} w-12 h-12 rounded-full flex items-center justify-center shadow-md`,children:e.jsx(f,{className:"w-6 h-6 text-white"})})}),e.jsx("div",{className:`transition-colors ${c?o.activeText:"text-muted-foreground group-hover:text-foreground"}`,children:e.jsx(E,{className:"w-6 h-6"})})]}),e.jsx("h3",{className:`text-xl font-bold mb-2 transition-colors ${c?o.activeText:"text-foreground"}`,children:h}),e.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:j})]})};function z(){const[i,h]=d.useState(null),[j,b]=d.useState(!0),[f,p]=d.useState(""),n=d.useRef(null),[a,u]=d.useState({bulkDeposits:{rows:[]},savings:{effectiveDate:"",rows:[]},termDeposits:{existingDate:"",revisedDate:"",rows:[]},dailyDeposits:{effectiveDate:"",rows:[]},recurringDeposits:{effectiveDate:"",rows:[]}}),o=async()=>{try{b(!0),p("");const s=await g.get(`${N}/api/public/interest-rates`),r=await g.get(`${N}/api/public/bulk-deposit-rates`);let m={savings:{effectiveDate:"",rows:[]},termDeposits:{existingDate:"",revisedDate:"",rows:[]},dailyDeposits:{effectiveDate:"",rows:[]},recurringDeposits:{effectiveDate:"",rows:[]}};s.data?.success&&s.data?.data&&(m=s.data.data);let x={rows:[]};r.data?.success&&Array.isArray(r.data?.data)&&(x={rows:r.data.data}),u({...m,bulkDeposits:x})}catch(s){console.error("Failed to load Interest Rates / Bulk Deposit Rates:",s?.response?.data||s),p(s?.response?.data?.message||"Unable to load Interest Rates. Please try again later.")}finally{b(!1)}};d.useEffect(()=>{o()},[]),d.useEffect(()=>{if(!a.bulkDeposits.rows||a.bulkDeposits.rows.length===0)return;const s=setTimeout(()=>{n.current&&(n.current.scrollTop=n.current.scrollHeight)},100);return()=>clearTimeout(s)},[a.bulkDeposits.rows]);const c=[...a.bulkDeposits.rows||[]].sort((s,r)=>{const m=new Date(`${String(s.date).slice(0,10)}T00:00:00`).getTime(),x=new Date(`${String(r.date).slice(0,10)}T00:00:00`).getTime();return m-x});return e.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-background via-background to-primary/5",children:[e.jsx(k,{}),e.jsx("style",{children:`
12
13  /* =====================================================
14     BULK DEPOSIT SCROLLBAR
15     ===================================================== */
16
17  .bulk-deposit-scroll {
18    /*
19     * Show approximately 2 data rows at a time.
20     * The table header is included in this height.
21     */
22    max-height: 160px;
23
24    /*
25     * Always keep vertical scrolling enabled.
26     */
27    overflow-y: scroll;
28
29    /*
30     * Allow horizontal scrolling if required.
31     */
32    overflow-x: auto;
33
34    /*
35     * Clearly visible scrollbar.
36     */
37    scrollbar-width: auto;
38    scrollbar-color: #365D84 #E2E8F0;
39  }
40
41  .bulk-deposit-scroll::-webkit-scrollbar {
42    width: 14px;
43    height: 10px;
44  }
45
46  .bulk-deposit-scroll::-webkit-scrollbar-track {
47    background: #E2E8F0;
48    border-radius: 10px;
49  }
50
51  .bulk-deposit-scroll::-webkit-scrollbar-thumb {
52    background: #365D84;
53    border-radius: 10px;
54    border: 3px solid #E2E8F0;
55  }
56
57  .bulk-deposit-scroll::-webkit-scrollbar-thumb:hover {
58    background: #123A63;
59  }
60
61
62  /* =====================================================
63     MOBILE TABLE
64     ===================================================== */
65
66  @media (max-width: 640px) {
67
68    .mobile-fit-table {
69      table-layout: auto !important;
70    }
71
72    .mobile-fit-table th,
73    .mobile-fit-table td {
74      white-space: normal !important;
75      word-break: break-word !important;
76    }
77
78    /*
79     * Same approximately 2-row view on mobile.
80     */
81    .bulk-deposit-scroll {
82      max-height: 160px;
83    }
84
85  }
86
87`}),e.jsx("main",{className:"pb-16",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-6xl mx-auto",children:[e.jsxs("div",{className:"text-center mb-12 py-[10px]",children:[e.jsx("div",{className:"inline-flex items-center justify-center w-20 h-20 rounded-full bg-gradient-to-br from-primary/60 to-accent/50 mb-6 shadow-md",children:e.jsx(S,{className:"w-10 h-10 text-white"})}),e.jsx("h1",{className:"text-4xl font-bold text-[#08357a] mb-4",children:"Interest Rates for Deposits"}),e.jsx("p",{className:"text-lg text-muted-foreground",children:"Coastal Local Area Bank Ltd., Corporate Office: Vijayawada"})]}),e.jsxs("div",{className:"space-y-12",children:[e.jsx("section",{children:e.jsxs("div",{className:"p-6 rounded-2xl border border-primary/20 shadow-lg",children:[e.jsx("h2",{className:"text-lg font-bold text-slate-900 mb-6",children:"1) Bulk Deposit Rates (Callable) - Rs. 1Cr & Above"}),e.jsx("div",{ref:n,className:"bulk-deposit-scroll w-full rounded-xl border border-slate-800 shadow-sm",children:e.jsxs("table",{className:"w-full border-collapse",children:[e.jsx("thead",{className:"bg-slate-50",children:e.jsxs("tr",{children:[e.jsx("th",{className:`
88                ${t}
89                sticky
90                top-0
91                z-10
92              `,children:"Date"}),e.jsx("th",{className:`
93                ${t}
94                sticky
95                top-0
96                z-10
97              `,children:"1 Year"})]})}),e.jsx("tbody",{children:c.length>0?c.map((s,r)=>e.jsxs("tr",{className:"bg-white",children:[e.jsx("td",{className:l,children:(()=>{const[m,x,D]=String(s.date).slice(0,10).split("-");return`${D}-${x}-${m} ${s.createdTime}`})()}),e.jsxs("td",{className:l,children:[Number(s.oneYear).toFixed(2),"%"]})]},s.id??r)):e.jsx("tr",{children:e.jsx("td",{colSpan:2,className:l,children:"No Bulk Deposit Rates available."})})})]})})]})}),e.jsx("section",{children:e.jsxs("div",{className:"p-6 rounded-2xl border border-primary/20 shadow-lg",children:[e.jsx("h2",{className:"text-lg font-bold text-slate-900 mb-6",children:"2) Interest rates on Savings Bank Deposits"}),e.jsx(w,{children:e.jsxs("table",{className:"w-full border-collapse border border-slate-800",children:[e.jsx("thead",{className:"bg-slate-50",children:e.jsxs("tr",{children:[e.jsx("th",{className:t,children:"Nature"}),e.jsxs("th",{className:t,children:["Rate of Interest w.e.f."," ",a.savings.effectiveDate||"—"]})]})}),e.jsx("tbody",{children:a.savings.rows.map((s,r)=>s.type==="heading"?e.jsx("tr",{className:"bg-slate-50",children:e.jsx("td",{colSpan:2,className:`
98              border
99              border-slate-800
100              p-3
101              text-center
102              font-semibold
103              w-full
104            `,children:s.nature})},s.id??r):e.jsxs("tr",{children:[e.jsx("td",{className:`
105              border
106              border-slate-800
107              p-3
108              text-left
109              w-[50%]
110            `,children:s.nature}),e.jsx("td",{className:`
111              border
112              border-slate-800
113              p-3
114              text-center
115              w-[50%]
116            `,children:s.rate})]},s.id??r))})]})})]})}),e.jsx("section",{children:e.jsxs("div",{className:"p-6 rounded-2xl border border-primary/20 shadow-lg overflow-x-auto",children:[e.jsx("h2",{className:"text-lg font-bold text-slate-900 mb-6",children:"3) Term Deposits / Recurring Deposits"}),e.jsx(w,{children:e.jsxs("table",{className:"w-full border-collapse border border-slate-800",children:[e.jsxs("thead",{className:"bg-slate-50",children:[e.jsxs("tr",{children:[e.jsx("th",{className:t,children:"Tenor"}),e.jsxs("th",{className:t,colSpan:2,children:["Existing",e.jsxs("div",{className:"text-xs font-normal",children:["w.e.f."," ",a.termDeposits.existingDate||"—"]})]}),e.jsxs("th",{className:t,colSpan:2,children:["Revised",e.jsxs("div",{className:"text-xs font-normal",children:["w.e.f."," ",a.termDeposits.revisedDate||"—"]})]})]}),e.jsxs("tr",{children:[e.jsx("th",{className:t}),e.jsx("th",{className:t,children:"Public % p.a"}),e.jsx("th",{className:t,children:"Senior Citizens % p.a"}),e.jsx("th",{className:t,children:"Public % p.a"}),e.jsx("th",{className:t,children:"Senior Citizens % p.a"})]})]}),e.jsx("tbody",{children:a.termDeposits.rows.map((s,r)=>e.jsxs("tr",{children:[e.jsx("td",{className:l,children:s.tenor}),e.jsx("td",{className:l,children:s.existingPublic}),e.jsx("td",{className:l,children:s.existingSenior}),e.jsx("td",{className:l,children:s.revisedPublic}),e.jsx("td",{className:l,children:s.revisedSenior})]},s.id??r))})]})})]})}),e.jsx("section",{children:e.jsxs("div",{className:"p-6 rounded-2xl border border-primary/20 shadow-lg",children:[e.jsx("h2",{className:"text-lg font-bold text-slate-900 mb-6",children:"4) Daily Deposits / Recurring Deposits"}),e.jsxs("div",{className:"mb-8",children:[e.jsx("h3",{className:"text-xl font-semibold mb-4",children:"i) Interest rates on Coastal Samvrudhi Daily Deposits:"}),e.jsx("div",{className:"w-full",children:e.jsxs("table",{className:"w-full border-collapse border border-slate-800 text-sm sm:text-base mobile-fit-table",children:[e.jsxs("thead",{className:"bg-slate-50",children:[e.jsxs("tr",{children:[e.jsx("th",{className:t,children:"Scheme"}),e.jsx("th",{className:t,children:"Tenor"}),e.jsxs("th",{className:t,children:["w.e.f."," ",a.dailyDeposits.effectiveDate||"—"]})]}),e.jsxs("tr",{children:[e.jsx("th",{className:t}),e.jsx("th",{className:t}),e.jsx("th",{className:t,children:"Public"})]})]}),e.jsx("tbody",{children:a.dailyDeposits.rows.map((s,r)=>e.jsxs("tr",{children:[e.jsx("td",{className:l,children:s.scheme}),e.jsx("td",{className:l,children:s.tenor}),e.jsx("td",{className:l,children:s.publicRate})]},s.id??r))})]})})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl font-semibold mb-4",children:"ii) Interest rates on Recurring Daily Deposits:"}),e.jsx("div",{className:"w-full",children:e.jsxs("table",{className:"w-full border-collapse border border-slate-800 text-sm sm:text-base mobile-fit-table",children:[e.jsxs("thead",{className:"bg-slate-50",children:[e.jsxs("tr",{children:[e.jsx("th",{className:t,children:"Scheme"}),e.jsx("th",{className:t,children:"Tenor"}),e.jsxs("th",{className:t,colSpan:2,children:["w.e.f."," ",a.recurringDeposits.effectiveDate||"—"]})]}),e.jsxs("tr",{children:[e.jsx("th",{className:t}),e.jsx("th",{className:t}),e.jsx("th",{className:t,children:"Public"}),e.jsx("th",{className:t,children:"Sr. Citizen"})]})]}),e.jsx("tbody",{children:a.recurringDeposits.rows.map((s,r)=>e.jsxs("tr",{children:[e.jsx("td",{className:l,children:s.scheme}),e.jsx("td",{className:l,children:s.tenor}),e.jsx("td",{className:l,children:s.publicRate}),e.jsx("td",{className:l,children:s.seniorRate})]},s.id??r))})]})})]})]})}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsxs("h2",{className:"text-3xl font-bold text-slate-900 mb-4",children:[e.jsx(T,{className:"inline w-6 h-6 mr-2 text-primary align-text-bottom"})," Additional Documents"]}),e.jsx("p",{className:"text-muted-foreground",children:"Access detailed policies and methodology documents"})]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[e.jsx(v,{id:"methodology",title:"Interest Calculation Methodology",description:"Comprehensive methodology and formulas used for calculating interest on various deposit schemes",href:"/documents/Interest_Calculation_Methodology.pdf",icon:C,activeDoc:i,setActiveDoc:h}),e.jsx(v,{id:"premature",title:"Premature Penalty on Term Deposits",description:"Detailed penalty structure and charges applicable for early withdrawal of term deposits",href:"/documents/Premature_Penalty_on_Domestic_Term_Deposits_w.e.f._01.07.2020.pdf",icon:I,palette:"blue",activeDoc:i,setActiveDoc:h})]})]}),e.jsxs("div",{className:"mt-12 p-8 rounded-2xl bg-gradient-to-r from-muted/30 via-muted/20 to-muted/30 border border-muted/50 text-center",children:[e.jsx("div",{className:"w-14 h-14 bg-gradient-to-br from-primary/20 to-accent/20 rounded-full flex items-center justify-center mx-auto mb-4",children:e.jsx(B,{className:"w-7 h-7 text-primary"})}),e.jsxs("p",{className:"text-sm text-muted-foreground leading-relaxed max-w-3xl mx-auto",children:[e.jsx("strong",{children:"Important Note:"})," Interest rates are subject to change as per bank's policy and RBI guidelines. For the most up-to-date information, please contact our customer service at"," ",e.jsx("strong",{className:"text-primary",children:"0866-2494425"}),"."]})]})]})]})})}),e.jsx(R,{})]})}
116export{z 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.