PageSourceSearch

https://cish.org.in/static/js/125.090f5b3d.chunk.js

js cish.org.in collected 2026-10-09 04:29:09 UTC 6,034 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[125],{2125(e,t,s){s.r(t),s.d(t,{default:()=>h});var a=s(5043),l=s(9722),i=s(7571),x=s(9648),r=s(1680),n=s(7118),c=s(7933),d=s(5732),o=s(579);const m={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_BACKEND_URL||"";function h(){const[e,t]=(0,a.useState)(null),[s,h]=(0,a.useState)(!0),[p,j]=(0,a.useState)("inhouse");(0,a.useEffect)(()=>{u()},[]);const u=async()=>{try{h(!0);const e=await l.A.get("".concat(m,"/api/research/funded"));t(e.data),j(e.data.default_tab||"inhouse")}catch(e){console.error("Error fetching research funded data:",e)}finally{h(!1)}};return s?(0,o.jsx)(i.A,{title:"Research Funded Projects",subtitle:"Loading...",breadcrumbs:[{label:"Research",href:"/research"},{label:"Funded Projects"}],children:(0,o.jsx)("div",{className:"text-center py-12",children:"Loading..."})}):e?(0,o.jsxs)(i.A,{title:e.page_title,subtitle:"Research projects at ICAR-CISH",breadcrumbs:[{label:"Research",href:"/research"},{label:"Funded Projects"}],children:[e.intro_text&&(0,o.jsx)("div",{className:"mb-8",children:(0,o.jsx)(c.A,{content:e.intro_text})}),(0,o.jsxs)(d.tU,{value:p,onValueChange:j,className:"mt-8",children:[(0,o.jsxs)(d.j7,{className:"grid grid-cols-1 sm:grid-cols-2 w-full mb-6 h-auto gap-2 sm:gap-0 bg-gray-100 p-1 rounded-lg",children:[(0,o.jsx)(d.Xi,{value:"inhouse",className:"text-sm sm:text-base py-2 px-3 whitespace-normal text-center",children:"Ongoing In-House Projects"}),(0,o.jsx)(d.Xi,{value:"externally_aided",className:"text-sm sm:text-base py-2 px-3 whitespace-normal text-center",children:"Externally Aided Projects"})]}),(0,o.jsxs)(d.av,{value:"inhouse",children:[(0,o.jsx)(x.w,{icon:r.A,title:"Ongoing In-House Projects"}),e.inhouse_projects&&e.inhouse_projects.length>0?(0,o.jsx)("div",{className:"overflow-x-auto -mx-4 sm:mx-0",children:(0,o.jsx)("div",{className:"inline-block min-w-full align-middle",children:(0,o.jsx)("div",{className:"overflow-hidden shadow-sm rounded-lg",children:(0,o.jsxs)("table",{className:"min-w-full border-collapse bg-white",children:[(0,o.jsx)("thead",{className:"bg-[#0E6D2B] text-white",children:(0,o.jsxs)("tr",{children:[(0,o.jsx)("th",{className:"px-3 py-3 text-left text-xs sm:text-sm font-semibold whitespace-nowrap",children:"S. No."}),(0,o.jsx)("th",{className:"px-3 py-3 text-left text-xs sm:text-sm font-semibold min-w-[200px]",children:"Name Of Proposed Activity"}),(0,o.jsx)("th",{className:"px-3 py-3 text-left text-xs sm:text-sm font-semibold min-w-[150px]",children:"Principal Investigator"}),(0,o.jsx)("th",{className:"px-3 py-3 text-left text-xs sm:text-sm font-semibold",children:"Division"}),(0,o.jsx)("th",{className:"px-3 py-3 text-left text-xs sm:text-sm font-semibold min-w-[150px]",children:"Co-Principal Investigator"})]})}),(0,o.jsx)("tbody",{className:"divide-y divide-gray-200",children:e.inhouse_projects.map((e,t)=>(0,o.jsxs)("tr",{className:"hover:bg-gray-50",children:[(0,o.jsx)("td",{className:"px-3 py-3 text-xs sm:text-sm text-gray-900",children:e.s_no}),(0,o.jsx)("td",{className:"px-3 py-3 text-xs sm:text-sm font-medium text-gray-900",children:e.activity_title}),(0,o.jsx)("td",{className:"px-3 py-3 text-xs sm:text-sm text-gray-700",children:e.principal_investigator}),(0,o.jsx)("td",{className:"px-3 py-3 text-xs sm:text-sm text-gray-700",children:e.division}),(0,o.jsx)("td",{className:"px-3 py-3 text-xs sm:text-sm text-gray-700",children:e.co_principal_investigator||"-"})]},t))})]})})})}):(0,o.jsx)("div",{className:"text-center py-8 text-gray-500",children:"No in-house projects available"})]}),(0,o.jsxs)(d.av,{value:"externally_aided",children:[(0,o.jsx)(x.w,{icon:n.A,title:"Ongoing Externally Aided Projects"}),e.externally_aided_projects&&e.externally_aided_projects.length>0?(0,o.jsx)("div",{className:"overflow-x-auto -mx-4 sm:mx-0",children:(0,o.jsx)("div",{className:"inline-block min-w-full align-middle",children:(0,o.jsx)("div",{className:"overflow-hidden shadow-sm rounded-lg",children:(0,o.jsxs)("table",{className:"min-w-full border-collapse bg-white",children:[(0,o.jsx)("thead",{className:"bg-[#0E6D2B] text-white",children:(0,o.jsxs)("tr",{children:[(0,o.jsx)("th",{className:"px-3 py-3 text-left text-xs sm:text-sm font-semibold whitespace-nowrap",children:"S. No."}),(0,o.jsx)("th",{className:"px-3 py-3 text-left text-xs sm:text-sm font-semibold min-w-[120px]",children:"Scheme"}),(0,o.jsx)("th",{className:"px-3 py-3 text-left text-xs sm:text-sm font-semibold min-w-[200px]",children:"Project Title"}),(0,o.jsx)("th",{className:"px-3 py-3 text-left text-xs sm:text-sm font-semibold min-w-[150px]",children:"PI / Nodal Officer"}),(0,o.jsx)("th",{className:"px-3 py-3 text-left text-xs sm:text-sm font-semibold",children:"Period"})]})}),(0,o.jsx)("tbody",{className:"divide-y divide-gray-200",children:e.externally_aided_projects.map((e,t)=>(0,o.jsxs)("tr",{className:"hover:bg-gray-50",children:[(0,o.jsx)("td",{className:"px-3 py-3 text-xs sm:text-sm text-gray-900",children:e.s_no}),(0,o.jsx)("td",{className:"px-3 py-3 text-xs sm:text-sm",children:(0,o.jsx)("span",{className:"px-2 py-1 bg-blue-100 text-blue-700 rounded text-xs font-medium whitespace-nowrap",children:e.scheme})}),(0,o.jsx)("td",{className:"px-3 py-3 text-xs sm:text-sm font-medium text-gray-900",children:e.project_title}),(0,o.jsx)("td",{className:"px-3 py-3 text-xs sm:text-sm text-gray-700",children:e.pi_or_nodal_officer}),(0,o.jsx)("td",{className:"px-3 py-3 text-xs sm:text-sm text-gray-700 whitespace-nowrap",children:e.period})]},t))})]})})})}):(0,o.jsx)("div",{className:"text-center py-8 text-gray-500",children:"No externally aided projects available"})]})]})]}):(0,o.jsx)(i.A,{title:"Research Funded Projects",subtitle:"Not found",breadcrumbs:[{label:"Research",href:"/research"},{label:"Funded Projects"}],children:(0,o.jsx)("div",{className:"text-center py-12",children:"Content not available"})})}}}]);
2//# sourceMappingURL=125.090f5b3d.chunk.js.map

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.