PageSourceSearch

https://www.university.com/_next/static/chunks/9123-c079d4895aab3cce.js

js university.com collected 2026-10-02 03:05:58 UTC 9,110 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9123],{29123:function(e,t,l){l.r(t),l.d(t,{AltVideo1Desktop:function(){return h},Video1:function(){return d},Video2:function(){return f},Video3:function(){return x}});var s=l(61446),r=l(33324),i=l(38005),a=l(9176),n=l(33232),c=l(13555);function o(){let[e,t]=(0,r.useState)({width:0,height:0});return(0,r.useEffect)(()=>{function e(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),e}function u(e){let t=(0,c.usePathname)(),l=(0,r.useRef)(),s=(0,r.useRef)(!1),i=(0,r.useRef)(-1),a=(0,r.useRef)(!1),n=(0,r.useCallback)(()=>{if(!e||!s.current||a.current)return;a.current=!0;let l=JSON.stringify({pathname:t,eventType:"video_progress",eventName:e,eventData:{videoPercent:i.current,videoId:e}});navigator.sendBeacon?navigator.sendBeacon("/api/log-event",new Blob([l],{type:"application/json"})):fetch("/api/log-event",{method:"POST",headers:{"Content-Type":"application/json"},body:l,keepalive:!0}).catch(()=>{})},[e,t]),o=(0,r.useCallback)(()=>{s.current=!0,i.current=0},[]),u=(0,r.useCallback)(()=>{if(!e||!s.current||!l.current)return;let{currentTime:t,duration:r}=l.current;if(!r||r<=0)return;let a=t/r*100;a>=98&&i.current<100?i.current=100:a>=50&&i.current<50&&(i.current=50)},[e]);return(0,r.useEffect)(()=>{let e=()=>{"hidden"===document.visibilityState&&n()},t=()=>n();return document.addEventListener("visibilitychange",e),window.addEventListener("beforeunload",t),()=>{document.removeEventListener("visibilitychange",e),window.removeEventListener("beforeunload",t),n()}},[n]),{streamRef:l,markManualPlay:o,onTimeUpdate:u}}let d=e=>{let{src:t,overlay:l,noOverflow:c,disabled:d,className:h,autoplay:f=!0,overlaySrc:x,ref:p,priority:m,title:w,videoId:v}=e,[g,j]=(0,r.useState)(!0),[N,b]=(0,r.useState)(!1),[y,S]=(0,r.useState)(!1),[k,T]=(0,r.useState)(1),[E,C]=(0,r.useState)(!0),[R,L]=(0,r.useState)(!1),F=o(),[U,z]=(0,r.useState)(!1),O=F.width<1024,P=(0,r.useRef)(null),{streamRef:V,markManualPlay:_,onTimeUpdate:q}=u(v);(0,r.useEffect)(()=>S(!0),[]);let A=y&&(!!f||N);return(0,r.useEffect)(()=>{if(A)return;let e=P.current;if(!e)return;let t=new IntersectionObserver(e=>{let[l]=e;l.isIntersecting&&(b(!0),t.disconnect())},{rootMargin:"300px"});return t.observe(e),()=>t.disconnect()},[A]),(0,r.useEffect)(()=>{if(!m||!P.current)return;let e=P.current,t=e=>{e.setAttribute("fetchpriority","high"),e.setAttribute("loading","eager")},l=e.querySelector("iframe");if(l){t(l);return}let s=new MutationObserver(e=>{for(let l of e)for(let e of Array.from(l.addedNodes))if(e instanceof HTMLIFrameElement){t(e),s.disconnect();return}});return s.observe(e,{childList:!0,subtree:!0}),()=>s.disconnect()},[m]),(0,s.jsx)("div",{ref:P,className:"relative",children:(0,s.jsx)("div",{className:c?"w-full relative":" w-full relative",children:(0,s.jsxs)("div",{className:!O||U||c?"relative max-w-[100%]":"",ref:p,children:[A?O?(0,s.jsx)(i.F,{className:"w-full ".concat(!c&&""," lg:hidden ").concat(h&&h),src:t,title:w,height:"100%",width:"100%",responsive:!0,autoplay:!!f&&f,loop:!0,muted:E,controls:R,currentTime:k,streamRef:V,onTimeUpdate:q}):(0,s.jsx)(i.F,{className:"w-full h-full hidden lg:block ".concat(h&&h),src:t,title:w,height:"100%",width:"100%",responsive:!0,autoplay:!!f&&f,loop:!0,muted:E,controls:R,currentTime:k,streamRef:V,onTimeUpdate:q}):(0,s.jsx)("div",{className:"w-full aspect-video ".concat(null!=h?h:"")}),l&&g&&(0,s.jsxs)("div",{className:"absolute top-0 left-0 h-full w-full z-10 ".concat(l&&l),children:[x&&(0,s.jsx)(n.default,{src:x,alt:w?"".concat(w," preview"):"Video preview",className:"w-full h-full object-fill",width:1200,height:1200}),!d&&(0,s.jsx)(a.KP$,{style:{top:"calc(50% - 32px)",left:"calc(50% - 32px)"},className:"absolute z-20 h-[65px] w-[65px] lg:h-[83px] lg:w-[83px] cursor-pointer text-white",onClick:()=>{_(),j(!1),T(0),C(!1),L(!0),z(!0)},height:256,width:256})]})]})})})},h=e=>{let{src:t,overlay:l,noOverflow:n,disabled:c,videoId:d}=e,[h,f]=(0,r.useState)(!0),[x,p]=(0,r.useState)(1),[m,w]=(0,r.useState)(!0),[v,g]=(0,r.useState)(!1),j=o(),[N,b]=(0,r.useState)(!1),y=j.width<1024,{streamRef:S,markManualPlay:k,onTimeUpdate:T}=u(d);return(0,s.jsxs)("div",{style:{background:N?"":"linear-gradient(180deg, rgba(255, 255, 255, 0.31) 0%, rgba(255, 255, 255, 0.11) 100%)"},className:"".concat(y&&N?"fixed z-50 top-0 left-0 w-full h-screen bg-[rgb(0,0,0)] flex flex-col justify-center items-center ":"relative"," lg:p-[1px]"),children:[y&&N&&(0,s.jsxs)("div",{className:"group w-full flex justify-end px-4 gap-4 items-center",onClick:()=>{f(!0),w(!0),g(!1),b(!1)},children:[(0,s.jsx)("p",{className:"text-xl text-white",children:"CLOSE"}),(0,s.jsx)(a.JqX,{className:"text-white group-hover:text-3xl text-2xl transition-all duration-500"})]}),(0,s.jsx)("div",{className:n?"w-full relative":"min-h-[618px] w-full relative",children:(0,s.jsxs)("div",{className:!y||N||n?"relative":"w-[150%] ml-[-25%]",children:[y?(0,s.jsx)(i.F,{className:"w-full ".concat(!n&&"min-h-[280px]"," lg:hidden"),src:t,height:"100%",width:"100%",responsive:!0,autoplay:!0,loop:!0,muted:m,controls:v,currentTime:x,streamRef:S,onTimeUpdate:T}):(0,s.jsx)(i.F,{className:"w-full h-full hidden lg:block ".concat(!n&&"min-h-[618px]"),src:t,height:"100%",width:"100%",responsive:!0,autoplay:!0,loop:!0,muted:m,controls:v,currentTime:x,streamRef:S,onTimeUpdate:T}),l&&h&&(0,s.jsx)("div",{className:"absolute top-0 left-0 h-full w-full ".concat(l&&l),children:!c&&(0,s.jsx)(a.KP$,{style:{to
1p:"calc(50% - 32px)",left:"calc(50% - 32px)"},className:"absolute h-[65px] w-[65px] lg:h-[83px] lg:w-[83px] cursor-pointer text-white",onClick:()=>{k(),f(!1),p(0),w(!1),g(!0),b(!0)},height:256,width:256})})]})})]})},f=e=>{let{src:t,overlay:l,noOverflow:n,disabled:c,className:d,videoId:h}=e,[f,x]=(0,r.useState)(!0),[p,m]=(0,r.useState)(1),[w,v]=(0,r.useState)(!0),[g,j]=(0,r.useState)(!1),N=o(),[b,y]=(0,r.useState)(!1),S=N.width<1024,{streamRef:k,markManualPlay:T,onTimeUpdate:E}=u(h);return(0,s.jsxs)("div",{style:{background:""},className:"".concat(S&&b?"fixed z-50 top-0 left-0 w-full h-screen bg-[rgb(0,0,0)] flex flex-col justify-center items-center ":"relative"),children:[S&&b&&(0,s.jsxs)("div",{className:"group w-full flex justify-end px-4 gap-4 items-center",onClick:()=>{x(!0),v(!0),j(!1),y(!1)},children:[(0,s.jsx)("p",{className:"text-xl text-white",children:"CLOSE"}),(0,s.jsx)(a.JqX,{className:"text-white group-hover:text-3xl text-2xl transition-all duration-500"})]}),(0,s.jsx)("div",{className:n?"w-full relative":" w-full relative",children:(0,s.jsxs)("div",{className:!S||b||n?"relative max-w-[100%]":"w-[150%] ml-[-25%]",children:[S?(0,s.jsx)(i.F,{className:"w-full ".concat(!n&&""," lg:hidden"),src:t,height:"100%",width:"100%",responsive:!0,autoplay:!0,loop:!0,muted:w,controls:g,currentTime:p,streamRef:k,onTimeUpdate:E}):(0,s.jsx)(i.F,{className:"w-full h-full hidden lg:block ".concat(d&&d),src:t,height:"100%",width:"100%",responsive:!0,autoplay:!0,loop:!0,muted:w,controls:g,currentTime:p,streamRef:k,onTimeUpdate:E}),l&&f&&(0,s.jsx)("div",{className:"absolute top-0 left-0 h-full w-full ".concat(l&&l),children:!c&&(0,s.jsx)(a.KP$,{style:{top:"calc(50% - 32px)",left:"calc(50% - 32px)"},className:"absolute h-[65px] w-[65px] lg:h-[83px] lg:w-[83px] cursor-pointer text-white",onClick:()=>{T(),x(!1),m(0),v(!1),j(!0),y(!0)},height:256,width:256})})]})})]})},x=e=>{let{src:t,overlay:l,noOverflow:n,disabled:c,className:d,videoId:h}=e,[f,x]=(0,r.useState)(!0),[p,m]=(0,r.useState)(1),[w,v]=(0,r.useState)(!0),[g,j]=(0,r.useState)(!1),N=o(),[b,y]=(0,r.useState)(!1),S=N.width<1024,{streamRef:k,markManualPlay:T,onTimeUpdate:E}=u(h);return(0,s.jsxs)("div",{style:{background:""},className:"".concat(S&&b?"fixed z-50 top-0 left-0 w-full h-screen bg-[rgb(0,0,0)] flex flex-col justify-center items-center ":"relative"),children:[S&&b&&(0,s.jsxs)("div",{className:"group w-full flex justify-end px-4 gap-4 items-center",onClick:()=>{x(!0),v(!0),j(!1),y(!1)},children:[(0,s.jsx)("p",{className:"text-xl text-white",children:"CLOSE"}),(0,s.jsx)(a.JqX,{className:"text-white group-hover:text-3xl text-2xl transition-all duration-500"})]}),(0,s.jsx)("div",{className:n?"w-full relative":" w-full relative",children:(0,s.jsxs)("div",{className:!S||b||n?"relative":"w-[150%] ml-[-25%]",children:[S?(0,s.jsx)(i.F,{className:"w-full ".concat(!n&&""," lg:hidden"),src:t,height:"100%",width:"100%",responsive:!0,autoplay:!0,loop:!0,muted:w,controls:g,currentTime:p,streamRef:k,onTimeUpdate:E}):(0,s.jsx)(i.F,{className:"w-full h-full hidden lg:block ".concat(d&&d),src:t,height:"580px",width:"600px",responsive:!0,autoplay:!0,loop:!0,muted:w,controls:g,currentTime:p,streamRef:k,onTimeUpdate:E}),l&&f&&(0,s.jsx)("div",{className:"absolute top-0 left-0 h-full w-full ".concat(l&&l),children:!c&&(0,s.jsx)(a.KP$,{style:{top:"calc(50% - 32px)",left:"calc(50% - 32px)"},className:"absolute h-[65px] w-[65px] lg:h-[83px] lg:w-[83px] cursor-pointer text-white",onClick:()=>{T(),x(!1),m(0),v(!1),j(!0),y(!0)},height:256,width:256})})]})})]})}}}]);

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.