PageSourceSearch

https://sipm-library.vercel.app/_next/static/chunks/71f15f34ce4a3c1a.js

js sipm-library.vercel.app collected 2026-10-03 07:43:26 UTC 16,356 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return s},searchParamsToUrlQuery:function(){return i},urlQueryToSearchParams:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function i(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function a(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function l(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,a(e));else t.set(r,a(n));return t}function s(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return l},formatWithValidation:function(){return u},urlObjectKeys:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(90809)._(e.r(98183)),a=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",l=e.hash||"",s=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),s&&"object"==typeof s&&(s=String(i.urlQueryToSearchParams(s)));let c=e.search||s&&`?${s}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==u?(u="//"+(u||""),o&&"/"!==o[0]&&(o="/"+o)):u||(u=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${o}${c}${l}`}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return l(e)}},18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(71645);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=i(e,n)),t&&(o.current=i(t,n))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return b},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return j},NormalizeError:function(){return y},PageNotFoundError:function(){return m},SP:function(){return g},ST:function(){return x},WEB_VITALS:function(){return i},execOnce:function(){return a},getDisplayName:function(){return d},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return s},isResSent:function(){return f},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return S}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=["CLS","FCP","FID","INP","LCP","TTFB"];function a(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let l=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>l.test(e);function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=u();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}
1" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let g="undefined"!=typeof performance,x=g&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class b extends Error{}class y extends Error{}class m extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class j extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function S(e){return JSON.stringify({message:e.message,stack:e.stack})}},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return i}});let n=e.r(18967),o=e.r(52817);function i(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return b},useLinkStatus:function(){return m}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(90809),a=e.r(43476),l=i._(e.r(71645)),s=e.r(95057),u=e.r(8372),c=e.r(18581),d=e.r(18967),f=e.r(5550);e.r(33525);let p=e.r(91949),h=e.r(73668),g=e.r(65165);function x(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}function b(t){var r;let n,o,i,[s,b]=(0,l.useOptimistic)(p.IDLE_LINK_STATUS),m=(0,l.useRef)(null),{href:j,as:v,children:S,prefetch:C=null,passHref:w,replace:P,shallow:k,scroll:O,onClick:E,onMouseEnter:R,onTouchStart:I,legacyBehavior:_=!1,onNavigate:B,ref:F,unstable_dynamicOnHover:L,...T}=t;n=S,_&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let D=l.default.useContext(u.AppRouterContext),z=!1!==C,N=!1!==C?null===(r=C)||"auto"===r?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,{href:A,as:M}=l.default.useMemo(()=>{let e=x(j);return{href:e,as:v?x(v):e}},[j,v]);if(_){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=l.default.Children.only(n)}let U=_?o&&"object"==typeof o&&o.ref:F,W=l.default.useCallback(e=>(null!==D&&(m.current=(0,p.mountLinkInstance)(e,A,D,N,z,b)),()=>{m.current&&((0,p.unmountLinkForCurrentNavigation)(m.current),m.current=null),(0,p.unmountPrefetchableInstance)(e)}),[z,A,D,N,b]),$={ref:(0,c.useMergedRef)(W,U),onClick(t){_||"function"!=typeof E||E(t),_&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!D||t.defaultPrevented||function(t,r,n,o,i,a,s){if("undefined"!=typeof window){let u,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){i&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),s){let e=!1;if(s({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);l.default.startTransition(()=>{d(n||r,i?"replace":"push",a??!0,o.current)})}}(t,A,M,m,P,O,B)},onMouseEnter(e){_||"function"!=typeof R||R(e),_&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),D&&z&&(0,p.onNavigationIntent)(e.currentTarget,!0===L)},onTouchStart:function(e){_||"function"!=typeof I||I(e),_&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),D&&z&&(0,p.onNavigationIntent)(e.currentTarget,!0===L)}};return(0,d.isAbsoluteUrl)(M)?$.href=M:_&&!w&&("a"!==o.type||"href"in o.props)||($.href=(0,f.addBasePath)(M)),i=_?l.default.cloneElement(o,$):(0,a.jsx)("a",{...T,...$,children:n}),(0,a.jsx)(y.Provider,{value:s,children:i})}e.r(84508);let y=(0,l.createContext)(p.IDLE_LINK_STATUS),m=()=>(0,l.useContext)(y);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},53501,e=>{"use strict";var t=e.i(43476),r=e.i(22016),n=e.i(71645);function o(){let[e,o]=(0,n.useState)(!1),[i,a]=(0,n.useState)(!1),[l,s]=(0,n.useState)(!1),[u,c]=(0,n.useState)(null);(0,n.useEffect)(()=>{{window.innerWidth<768&&setTimeout(()=>a(!0),500);let e=localStorage.getItem("isLoggedIn"),t=localStorage.getItem("userInfo");"true"===e&&t&&(s(!0),c(JSON.parse(t)));let r=()=>{let e=localStorage.getItem("isLoggedIn"),t=localStorage.getItem("userInfo");"true"===e&&t?(s(!0),c(JSON.parse(t))):(s(!1),c(null))};return window.addEventListener("auth-change",r),()=>window.removeEventListener("auth-change",r)}},[]);let d=()=>{localStorage.removeItem("isLoggedIn"),localStorage.removeItem("userInfo"),s(!1),c(null),window.dispatchEvent(new Event("auth-change")),window.location.href="/"};return(0,t.jsxs)(t.Fragment,{children:[i&&(0,t.jsx)("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.3)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:9999,padding:"20px"},children:(0,t.jsxs)("div",{style:{backgroundColor:"white",borderRadius:"20px",padding:"30px",maxWidth:"400px",width:"100%",textAlign:"center",boxShadow:"0 10px 40px rgba(0,0,0,0.3)"},children:[(0,t.jsx)("div",{style:{fontSize:"50px",marginBottom:"15px"},children:"📱"}),(0,t.jsx)("h2",{style:{fontSize:"22px",fontWeight:"700",color:"#002B5B",marginBottom:"15px"},children:"Better Experience Available"}),(0,t.jsx)("p",{style:{fontSize:"16px",color:"#666",marginBottom:"20px",lineHeight:"1.6"},children:"For the best experience, please access our library portal on desktop or tablet mode."}),(0,t.jsx)("div",{style:{display:"flex",gap:"10px",justifyContent:"center"},children:(0,t.jsx)("button",{onClick:()=>a(!1),style:{backgroundColor:"#FFC107",color:"#002B5B",padding:"12px 30px",border:"none",borderRadius:"25px",fontWeight:"600",cursor:"pointer",fontSize:"15px"},children:"Continue on Mobile"})})]})}),(0,t.jsx)("header",{style:{backgroundImage:'url("https://img.freepik.com/free-photo/books-arrangement-with-copy-space_23-2148898331.jpg")',backgroundSize:"cover",backgroundPosition:"center",backgroundColor:"#002B5B",color:"white",padding:"15px 0",position:"sticky",top:0,zIndex:1e3,boxShadow:"0 2px 10px rgba(0,0,0,0.1)"},children:(0,t.jsx)("div",{style:{backgroundColor:"rgba(0, 43, 91, 0.85)",padding:"15px 0"},children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,t.jsxs)(r.default,{href:"/",style:{textDecoration:"none",display:"flex",alignItems:"center",gap:"15px"},children:[(0,t.jsx)("img",{src:"https://media.collegedekho.com/media/img/institute/logo/SNJV-LOGO.png",alt:"SIPM Logo",style:{width:"60px",height:"60px",borderRadius:"12px",objectFit:"contain",backgroundColor:"white",padding:"5px"}}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{style:{fontSize:"18px",fontWeight:"600",color:"white"},children:"Sanjeev Institute of"}),(0,t.jsx)("div",{style:{fontSize:"14px",color:"#FFC107"},children:"Planning and Management"})]})]}),(0,t.jsxs)("nav",{style:{display:"flex",gap:"25px",alignItems:"center"},children:[(0,t.jsx)(r.default,{href:"/",style:{color:"white",textDecoration:"none",fontSize:"15px",fontWeight:"500",transition:"color 0.3s"},children:"Home"}),(0,t.jsx)(r.default,{href:"/catalogue",style:{color:"white",textDecoration:"none",fontSize:"15px",fontWeight:"500",transition:"color 0.3s"},children:"Books"}),(0,t.jsx)(r.default,{href:"/ai-assistant",style:{color:"white",textDecoration:"none",fontSize:"15px",fontWeight:"500",transition:"color 0.3s"},children:"AI Assistant"}),(0,t.jsx)(r.default,{href:"/borrow",style:{color:"white",textDecoration:"none",fontSize:"15px",fontWeight:"500",transition:"color 0.3s"},children:"Borrow/Return"}),(0,t.jsx)(r.default,{href:"/dashboard",style:{color:"white",textDecoration:"none",fontSize:"15px",fontWeight:"500",transition:"color 0.3s"},children:"Dashboard"}),(0,t.jsx)(r.default,{href:"/librarian",style:{color:"#002B5B",backgroundColor:"#FFC107",padding:"8px 14px",borderRadius:"20px",textDecoration:"none",fontSize:"14px",fontWeight:"700"},children:"Librarian Profile"}),(0,t.jsx)(r.default,{href:"/about",style:{color:"white",textDecoration:"none",fontSize:"15px",fontWeight:"500",transition:"color 0.3s"},children:"Contact"}),l?(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"15p
1x"},children:[(0,t.jsxs)("div",{style:{fontSize:"13px",color:"#FFC107"},children:["👤 ",u?.role||"User"]}),(0,t.jsx)("button",{onClick:d,style:{backgroundColor:"#FFC107",color:"#002B5B",padding:"8px 20px",border:"none",borderRadius:"25px",fontWeight:"600",cursor:"pointer",fontSize:"14px",transition:"all 0.3s"},children:"Logout"})]}):(0,t.jsx)(r.default,{href:"/login",children:(0,t.jsx)("button",{style:{backgroundColor:"#FFC107",color:"#002B5B",padding:"8px 20px",border:"none",borderRadius:"25px",fontWeight:"600",cursor:"pointer",fontSize:"14px",transition:"all 0.3s"},children:"Login"})})]}),(0,t.jsx)("button",{onClick:()=>o(!e),style:{display:"block",fontSize:"24px",background:"none",border:"none",color:"white",cursor:"pointer"},className:"mobile-menu-btn",children:e?"✕":"☰"})]}),e&&(0,t.jsxs)("nav",{style:{marginTop:"15px",display:"flex",flexDirection:"column",gap:"15px",borderTop:"1px solid rgba(255,255,255,0.2)",paddingTop:"15px"},children:[(0,t.jsx)(r.default,{href:"/",style:{color:"white",textDecoration:"none",padding:"10px",borderRadius:"5px",transition:"background 0.3s"},children:"Home"}),(0,t.jsx)(r.default,{href:"/catalogue",style:{color:"white",textDecoration:"none",padding:"10px",borderRadius:"5px",transition:"background 0.3s"},children:"Books"}),(0,t.jsx)(r.default,{href:"/ai-assistant",style:{color:"white",textDecoration:"none",padding:"10px",borderRadius:"5px",transition:"background 0.3s"},children:"AI Assistant"}),(0,t.jsx)(r.default,{href:"/borrow",style:{color:"white",textDecoration:"none",padding:"10px",borderRadius:"5px",transition:"background 0.3s"},children:"Borrow/Return"}),(0,t.jsx)(r.default,{href:"/dashboard",style:{color:"white",textDecoration:"none",padding:"10px",borderRadius:"5px",transition:"background 0.3s"},children:"Dashboard"}),(0,t.jsx)(r.default,{href:"/librarian",style:{color:"#002B5B",backgroundColor:"#FFC107",textAlign:"center",textDecoration:"none",padding:"10px",borderRadius:"25px",fontWeight:"700"},children:"Librarian Profile"}),(0,t.jsx)(r.default,{href:"/about",style:{color:"white",textDecoration:"none",padding:"10px",borderRadius:"5px",transition:"background 0.3s"},children:"Contact"}),l?(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"10px"},children:[(0,t.jsxs)("div",{style:{fontSize:"13px",color:"#FFC107"},children:["👤 ",u?.role||"User"]}),(0,t.jsx)("button",{onClick:d,style:{backgroundColor:"#FFC107",color:"#002B5B",padding:"10px 20px",border:"none",borderRadius:"25px",fontWeight:"600",cursor:"pointer"},children:"Logout"})]}):(0,t.jsx)(r.default,{href:"/login",children:(0,t.jsx)("button",{style:{backgroundColor:"#FFC107",color:"#002B5B",padding:"10px",border:"none",borderRadius:"25px",fontWeight:"600",cursor:"pointer"},children:"Login"})})]})]})})})]})}e.s(["default",()=>o])}]);

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.