PageSourceSearch

https://www.icsi.edu/assets/ListOfToppers-2EmorT_U.js

js icsi.edu collected 2026-10-02 03:42:26 UTC 4,548 bytes, 1 lines download raw bytes

1import{u as y,r as t,f as S,j as e,L as I}from"./index-CMfIf9m3.js";import{P as M}from"./Pagination-Ce7GXy-u.js";import{P as A}from"./PageFooterRow-cP7M-1TF.js";import{E as R}from"./ExaminationSidebar-Bi7iLkiP.js";import{g as P}from"./pageApi-CQcdcx_c.js";const T="list-of-toppers",x=9,w="LIST OF PRIZE WINNERS FOR SECURING THE HIGHEST / SECOND HIGHEST MARKS",O="IN THE FINAL/PROFESSIONAL PROGRAMME EXAMINATION OF “COMPANY SECRETARYSHIP” AS PER PRIZE CRITERIA",v=["Sr. No.","Session","Roll No.","Registration Number","Name and Address","Criteria"],H=[["1","October 1970","1204","9844-69","Dr. Suresh Gupta, New Delhi","Highest Marks"],["2","April 1971","NONE ELIGIBLE","","",""],["3","April 1971","2451","1102-71","Ms. Aruna Roy, Chennai","Highest Marks"],["4","October 1971","1982","1245-71","Mr. Vinod Khanna, Mumbai","Second Highest Marks"],["5","April 1972","3021","1588-72","Dr. Preeti Singh, Bangalore","Highest Marks"],["6","October 1972","1422","1690-72","Mr. Ramesh Babu, Hyderabad","Highest Marks"],["7","April 1973","2911","2011-73","Ms. Kavita Reddy, Pune","Second Highest Marks"],["8","October 1973","1755","2240-73","Dr. Anil Mehta, Ahmedabad","Highest Marks"],["9","April 1974","3302","2581-74","Mr. S. K. Bose, Kolkata","Highest Marks"],["10","October 1974","2110","2890-74","Ms. Meena Kumari, Jaipur","Highest Marks"]],L=i=>i.slice(2).some(n=>(n||"").trim().toUpperCase()==="NONE ELIGIBLE"),_=()=>{y("List of Toppers");const[i,n]=t.useState(1),[r,m]=t.useState(null),[g,h]=t.useState(!1);t.useEffect(()=>{let s=!1;return P(T).then(a=>{s||(m(a),h(!0))}).catch(()=>{s||(m(null),h(!0))}),()=>{s=!0}},[]);const{header:d,body:p}=t.useMemo(()=>{const s=r?.blocks?.find(l=>l.type==="table"),a=Array.isArray(s?.value?.rows)?s.value.rows:[];if(a.length>1){const[l,...o]=a;return{header:l,body:o}}return{header:v,body:H}},[r]),{title:u,subtitle:N}=t.useMemo(()=>{const s=(r?.blocks??[]).filter(a=>a.type==="heading");return{title:s[0]?.value?.text?.trim()||w,subtitle:s[1]?.value?.text?.trim()||O}},[r]),b=Math.max(1,Math.ceil(p.length/x)),c=Math.min(i,b),f=p.slice((c-1)*x,c*x),E=d.length||6,j=S(r?.updated_at);return e.jsxs("div",{className:"min-h-screen bg-white",children:[e.jsxs("div",{className:"bg-[#dfe3e9] px-4 py-3 text-xs text-gray-700",children:[e.jsx(I,{to:"/",className:"text-[#1d3564] underline",children:"Home"}),e.jsx("span",{className:"mx-1",children:"/"}),e.jsx("span",{className:"font-semibold",children:"Examination"})]}),e.jsxs("div",{className:"mx-auto max-w-[1200px] px-4 py-6",children:[e.jsx("div",{className:"mb-6",children:e.jsx("h1",{className:"inline-block border-b-2 border-[#0b4173] pb-1 text-2xl font-bold text-gray-800",children:"Examination"})}),e.jsxs("div",{className:"flex flex-col gap-8 lg:flex-row",children:[e.jsx(R,{}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("h2",{className:"text-base font-bold tracking-wide text-[#0b4173]",children:u}),e.jsx("p",{className:"mb-4 text-sm text-gray-800",children:N}),e.jsxs("p",{className:"mb-2 flex items-center gap-1 text-xs text-gray-500 sm:hidden",children:[e.jsx("span",{"aria-hidden":"true",children:"↔"})," Scroll horizontally to view the full table"]}),g?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"overflow-x-auto",tabIndex:0,role:"region","aria-label":"List of toppers",children:e.jsxs("table",{className:"w-full min-w-[680px] border-collapse text-sm",children:[e.jsx("thead",{children:e.jsx("tr",{className:"bg-[#0b4173] text-left text-white",children:d.map((s,a)=>e.jsx("th",{scope:"col",className:"border border-[#0b4173] px-3 py-2 font-semibold",children:s},a))})}),e.jsx("tbody",{children:f.map((s,a)=>e.jsx("tr",{className:"odd:bg-white even:bg-[#f7f9fc]",children:L(s)?e.jsxs(e.Fragment,{children:[e.jsx("td",{className:"border border-gray-200 px-3 py-2 text-gray-700",children:s[0]}),e.jsx("td",{className:"border border-gray-200 px-3 py-2 text-gray-700",children:s[1]}),e.jsx("td",{colSpan:Math.max(1,E-2),className:"border border-gray-200 px-3 py-2 text-center font-semibold text-red-600",children:"NONE ELIGIBLE"})]}):d.map((l,o)=>e.jsx("td",{className:"border border-gray-200 px-3 py-2 text-gray-700",children:s[o]??""},o))},a))})]})}),e.jsx(M,{page:c,totalPages:b,onPage:n})]}):e.jsxs("div",{className:"space-y-3 py-8",children:[e.jsx("div",{className:"h-8 w-full animate-pulse rounded bg-gray-100"}),e.jsx("div",{className:"h-24 w-full animate-pulse rounded bg-gray-100"}),e.jsx("div",{className:"h-24 w-5/6 animate-pulse rounded bg-gray-100"})]}),e.jsx(A,{lastUpdated:j})]})]})]})]})};export{_ 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.