1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3464],{3464:(e,a,l)=>{l.r(a),l.d(a,{default:()=>x});var s=l(95155),t=l(12115),r=l(94850),n=l(13824),c=l(72167),i=l(13086);l(8799),l(5933);var d=l(57434);n.EA.workerSrc="//unpkg.com/pdfjs-dist@".concat(n.rE,"/build/pdf.worker.min.mjs");let o=(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-gray-100 text-gray-400 transition-colors animate-pulse",children:(0,s.jsx)(d.A,{className:"w-8 h-8"})}),m=(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-red-50 text-red-500 transition-colors",children:(0,s.jsx)(d.A,{className:"w-8 h-8"})}),u=t.memo(e=>{let{pdfUrl:a}=e,l=(0,t.useMemo)(()=>"#"!==a?a:null,[a]);return(0,s.jsx)(c.A,{file:l,loading:o,error:m,className:"w-full h-full",children:(0,s.jsx)(i.A,{pageNumber:1,width:160,renderTextLayer:!1,renderAnnotationLayer:!1,className:"w-full h-full [&>canvas]:!w-full [&>canvas]:!h-full [&>canvas]:!object-cover"})})});u.displayName="PdfThumbnail";let x=e=>{let{departmentName:a,data:l,loading:n=!1}=e,c=(0,t.useMemo)(()=>{let e={};return l.forEach(a=>{let l=a.category||"General Syllabus";e[l]||(e[l]=[]),e[l].push(a)}),e},[l]);return n?(0,s.jsx)("div",{className:"py-10 text-center text-gray-500",children:"Loading syllabus documents..."}):0===l.length?(0,s.jsx)("div",{className:"py-10 text-center text-gray-500",children:"No syllabus or schema documents found."}):(0,s.jsxs)("div",{className:" w-full pb-10",children:[(0,s.jsx)("h2",{className:"text-2xl text-center md:text-start font-semibold text-[#1D1D1F] mb-4",children:"Academic Syllabus & Schema"}),Object.entries(c).map(e=>{let[a,l]=e;return(0,s.jsxs)("div",{className:" pb-6",children:[(0,s.jsx)("h3",{className:"text-[20px] font-bold text-textGray mb-2",children:a}),(0,s.jsx)("div",{className:"flex flex-row flex-wrap gap-6 mt-2",children:l.map((e,a)=>{let l=e.pdfUrl?"".concat("https://apiserver.cec.edu.in","/academic-syllabus/file/").concat(e.pdfUrl):"#";return(0,s.jsx)(r.P.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.05*a},className:"flex flex-col w-40",children:(0,s.jsx)("a",{href:l,target:"_blank",rel:"noopener noreferrer",className:"block transition-transform hover:scale-105",children:(0,s.jsx)("div",{className:"w-40 h-48 overflow-hidden rounded shadow bg-gray-100 relative group",children:(0,s.jsx)(u,{pdfUrl:l})})})},e.id)})})]},a)})]})}}}]); 2//# sourceMappingURL=3464.ecf6cdb6dcedc315.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.