PageSourceSearch

https://ucci.edu.ky/_next/static/chunks/159-fadd014fe9cacb7d.js

js ucci.edu.ky collected 2026-10-01 12:17:15 UTC 18,093 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[159],{89861:(e,l,t)=>{t.d(l,{w:()=>d});var r=t(95155),a=t(4617),s=t.n(a),i=t(48173),n=t.n(i);let d=e=>{let{link:l,children:t,className:a}=e;return l&&!l.startsWith("/")?(0,r.jsx)("a",{href:l,className:s()("block w-fit",a),target:"_blank",rel:"noopener noreferrer",children:t}):(0,r.jsx)(n(),{href:l||"#",className:s()("block w-fit",a),passHref:!0,children:t})}},24990:(e,l,t)=>{t.d(l,{j:()=>c});var r=t(95155),a=t(60994),s=t(5565),i=t(4617),n=t.n(i),d=t(89861);let c=e=>{let{text:l,link:t,wrapperClassName:i,className:c,hideIcon:o}=e;return(0,r.jsx)(d.w,{link:t,className:i,children:(0,r.jsxs)("button",{className:n()("flex items-center justify-between gap-3 p-1 pl-4 cursor-pointer rounded-full transition-colors duration-300 bg-tertiary-10 hover:bg-tertiary-20 lg:p-2 lg:pl-8 lg:gap-5 text-base font-bold text-secondary-10",c),children:[(0,r.jsx)("span",{className:"whitespace-nowrap",children:l}),!o&&(0,r.jsx)("div",{className:"flex items-center justify-center w-10 h-10 rounded-full bg-primary-10",children:(0,r.jsx)(s.default,{src:a.default,width:16,height:16,alt:"arrow-icon"})})]})})}},87346:(e,l,t)=>{t.d(l,{t:()=>n});var r=t(95155),a=t(4617),s=t.n(a),i=t(89861);let n=e=>{let{text:l,link:t,className:a}=e;return(0,r.jsx)(i.w,{link:t,children:(0,r.jsx)("button",{className:s()("flex items-center justify-center h-12 py-3 px-4 cursor-pointer rounded-full border border-1 transition-colors duration-300 border-primary-40 bg-primary-50 backdrop-blur-lg lg:h-14 lg:py-4 lg:px-8 hover:bg-secondary-20",a),children:(0,r.jsx)("span",{className:"text-base font-bold whitespace-nowrap text-primary-10",children:l})})})}},64510:(e,l,t)=>{t.d(l,{A:()=>n});var r=t(95155),a=t(4617),s=t.n(a),i=t(12115);let n=(0,i.memo)(e=>{let{tabs:l,defaultActiveIndex:t=0,containerClassName:a,listClassName:n,textClassName:d,onChange:c}=e,[o,x]=(0,i.useState)(t),m=(e,l)=>{x(e),c(l)};return(0,r.jsx)("div",{className:s()("flex lg:justify-center overflow-x-auto hide-scrollbar px-4 lg:px-0",a),children:(0,r.jsx)("ul",{className:s()("flex justify-center lg:flex-wrap items-center gap-1 max-w-fit p-0.5 rounded-2xl bg-primary-10 whitespace-nowrap lg:p-1",n),children:l.map((e,l)=>(0,r.jsx)("li",{className:s()("min-w-[182px] px-4 py-2.5 rounded-[14px] text-center text-base leading-[150%] text-primary-80 cursor-pointer whitespace-nowrap transition-colors duration-300 lg:min-w-[214px] lg:px-8 lg:py-4 lg:rounded-xl lg:hover:opacity-60",d,l===o?"bg-secondary-20 pointer-events-none text-white font-bold":""),onClick:()=>m(l,e.name),children:e.name},e._id))})})})},75320:(e,l,t)=>{t.d(l,{AccordionItem:()=>h});var r=t(95155),a=t(26615),s=t(3011),i=t(12115),n=t(5565),d=t(11807);let c={src:"/_next/static/media/accordeon-plus-icon.9ddab6b8.svg",height:32,width:32,blurWidth:0,blurHeight:0},o={src:"/_next/static/media/accordeon-minus-icon.2ace7a0d.svg",height:32,width:32,blurWidth:0,blurHeight:0};var x=t(4617),m=t.n(x);let h=(0,i.memo)(e=>{let{data:l}=e,[t,x]=(0,i.useState)(!1),{title:h,description:u}=l;return(0,r.jsxs)("div",{className:"p-4 faq-item border border-primary-20 bg-primary-10 shadow-main rounded-2xl lg:p-6",children:[(0,r.jsxs)("button",{onClick:()=>{x(!t)},className:"w-full text-left flex justify-between items-center",children:[(0,r.jsx)("h3",{className:"text-xl leading-6 text-secondary-10 font-black lg:text-[24px] lg:leading-7",children:h}),(0,r.jsx)("span",{className:"flex items-center justify-center min-w-6 h-6 text-3xl text-secondary-20 md:min-w-8 md:h-8",children:(0,r.jsx)(n.default,{src:t?o:c,width:32,height:32,alt:"link-icon",className:"w-6 h-6 md:w-8 md:h-8"})})]}),(0,r.jsx)(s.P.div,{initial:!1,animate:{height:t?"auto":0},className:m()("overflow-hidden"),transition:{duration:.3},children:(0,r.jsx)("div",{className:"mt-2",children:(0,r.jsx)(a.RK,{value:u,components:{types:{image:e=>{let{value:l}=e;return(0,r.jsx)(n.default,{src:(0,d.dk)(l).url(),fill:!0,alt:l.alt||"",className:"!static !h-auto rounded-2xl"})}},block:{normal:e=>{let{children:l}=e;return(0,r.jsx)("p",{className:"mb-3 text-sm text-secondary-10 lg:text-base lg:leading-6 last:mb-0",children:l})},h3:e=>{let{children:l}=e;return(0,r.jsx)("h3",{className:"mb-6 text-secondary-10 text-heading-4 lg:text-heading-3 font-black",children:l})},h4:e=>{let{children:l}=e;return(0,r.jsx)("h4",{className:"mb-4 text-secondary-10 text-heading-4 font-black",children:l})}},list:{bullet:e=>{let{children:l}=e;return(0,r.jsx)("ul",{className:"list-disc pl-6 mb-4",children:l})},number:e=>{let{children:l}=e;return(0,r.jsx)("ol",{className:"list-decimal pl-6 mb-4",children:l})}},listItem:{bullet:e=>{let{children:l}=e;return(0,r.jsx)("li",{className:"text-sm text-secondary-10 lg:text-base lg:leading-6",children:l})},number:e=>{let{children:l}=e;return(0,r.jsx)("li",{className:"text-sm text-secondary-10 lg:text-base lg:leading-6",children:l})}},marks:{link:e=>{var l;let{value:t,children:a}=e;return(0,r.jsx)("a",{href:null==t?void 0:t.href,target:(null==t?void 0:null===(l=t.href)||void 0===l?void 0:l.startsWith("http"))?"_blank":"_self",rel:"noopener noreferrer",className:"text-secondary-20 underline hover:text-secondary-25",children:a})}}}})})})]})})},11807:(e,l,t)=>{t.d(l,{dk:()=>d,fP:()=>o,z0:()=>c});var r=t(15743),a=t(59371),s=t.n(a),i=t(28293);let n=(0,r.UU)({apiVersion:"2022-03-07",dataset:"production",projectId:"xjx3vl06",useCdn:!1}),d=e=>s()(n).image(e),c=e=>(0,i.HM)(e,n.config()),o=async(e,l)=>{try{return await n.fetch(e,l)}catch(e){return console.log("Sanity fetch error ".concat(e)),null}}},47738:(e,l,t)=>{t.d(l,{default:()=>u});var r=t(95155),a=t(5565),s=t(12115),i=t(63448),n=t(1247),d=t(28807),c=t(30630),o=t(11807),x=t(47132),m=t(89861);let h=(0,s.memo)(e=>{let{item:l}=e,{image:t,title:s,link:i}=l;return(0,r.jsxs)("div",{className:"relative flex flex-col w-full h-full shadow-main rounded-2xl overflow-hidden h-ull",children:[(0,r.jsx)("div",{className:"h-[180px] md:h-[240px]",children:t?(0,r.jsx)(a.default,{sizes:"100vw",src:(0,o.dk)(t).url(),width:378,height:200,alt:"logo",className:"w-full h-[180px] object-cover md:h-[240px]"}):null}),(0,r.jsx)("div",{className:"flex flex-col h-full px-4 pt-3 pb-4 bg-primary-10 md:px-6 md:pt-5 md:pb-6",children:(0,r.jsxs)("div",{className:"flex justify-between",children:[(0,r.jsx)("h3",{className:"mt-1 text-heading-4 font-black text-secondary-10 md:mt-2 md:text-heading-3",children:s}),(0,r.jsx)(m.w,{link:"".concat(i),className:"flex items-center justify-center min-w-9 h-9 rounded-full border border-1 border-tertiary-10 bg-tertiary-10 transition-colors duration-300 md:min-w-12 md:h-12 hover:bg-primary-10",children:(0,r.jsx)(a.default,{src:x.default,width:16,height:16,alt:"arrow-icon"})})]})})]})});t(2252);let u=(0,s.memo)(e=>{let{data:l}=e,{title:t,description:o,items:x}=l,m=(0,s.useRef)(null),u=(0,s.useRef)(null);return(0,r.jsx)("section",{className:"pt-16 pb-8 overflow-hidden bg-primary-20 lg:py-[120px]",children:(0,r.jsxs)("div",{className:"container",children:[(0,r.jsxs)("div",{className:"mb-8 lg:mb-12",children:[(0,r.jsxs)("div",{className:"flex justify-between items-center",children:[(0,r.jsx)("h2",{className:"text-heading-3 text-secondary-10 lg:text-heading-2 font-black",children:t}),(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)("div",{ref:m,className:"slider-arrow",children:(0,r.jsx)(a.default,{src:d.A,width:24,height:24,alt:"Slider arrow left"})}),(0,r.jsx)("div",{ref:u,className:"slider-arrow",children:(0,r.jsx)(a.default,{src:c.A,width:24,height:24,alt:"Slider arrow right"})})]})]}),o&&(0,r.jsx)("div",{className:"mt-5 text-lg leading-normal text-secondary-10",children:o})]}),(0,r.jsx)(n.RC,{slidesOffsetBefore:0,modules:[i.Vx],spaceBetween:16,slidesPerView:1,breakpoints:{768:{slidesPerView:2},1024:{slidesPerView:2,spaceBetween:32}},onBeforeInit:e=>{var l;if((null==e?void 0:null===(l=e.params)||void 0===l?void 0:l.navigation)&&m.current&&u.current){let l=e.params.navigation;l.prevEl=m.current,l.nextEl=u.current,e.navigation.init(),e.navigation.update()}},scrollbar:{draggable:!1},children:x.map(e=>(0,r.jsx)(n.qr,{className:"flex items-stretch !h-auto",children:(0,r.jsx)(h,{item:e})},e._key))},"slider")]})})})},66733:(e,l,t)=>{t.d(l,{default:()=>u});var r=t(95155),a=t(5565),s=t(4617),i=t.n(s),n=t(12115),d=t(63448),c=t(1247);t(2252);var o=t(28807),x=t(30630),m=t(11807);let h=(0,n.memo)(e=>{let{person:l}=e,{image:t,name:s,position:i,achievements:n}=l;return(0,r.jsxs)("div",{className:"relative flex flex-col w-full h-full shadow-main rounded-2xl overflow-hidden h-auto",children:[t?(0,r.jsx)(a.default,{sizes:"33vw",src:(0,m.dk)(t).url(),width:0,height:0,alt:"logo",className:"w-full h-[180px] object-cover md:h-[240px]"}):null,(0,r.jsxs)("div",{className:"flex flex-col h-full p-4 rounded-b-2xl border-t-0 border-r border-b border-l border-primary-20 bg-primary-10 md:pt-5 md:pb-6 md:px-6",children:[(0,r.jsx)("div",{className:"flex items-center justify-between mb-3",children:(0,r.jsx)("h3",{className:"text-heading-4 font-black text-secondary-10 md:text-heading-3",children:s})}),i&&(0,r.jsx)("p",{className:"text-sm text-primary-80 md:text-base",children:i}),n&&(0,r.jsx)("div",{className:"flex items-center flex-wrap gap-2 pt-2 mt-auto lg:pt-4",children:n.map(e=>(0,r.jsx)("span",{className:"py-[7px] px-4 text-xs rounded-[78px] text-primary-80 bg-primary-20 first:text-secondary-20 first:bg
1-secondary-30",children:e.achievement},e._key))})]})]})}),u=(0,n.memo)(e=>{let{data:l}=e,{title:t,background:s,person:m}=l,u=(0,n.useRef)(null),g=(0,n.useRef)(null);return(0,r.jsx)("section",{className:i()("pt-8 pb-16 bg-primary-10 lg:py-[120px]",{white:"bg-primary-10",gray:"bg-primary-20"}[s]),children:(0,r.jsxs)("div",{className:"container",children:[(0,r.jsxs)("div",{className:"flex justify-between items-center mb-8 lg:mb-12",children:[(0,r.jsx)("h2",{className:"text-heading-3 text-secondary-10 lg:text-heading-2 font-black",children:t}),(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)("div",{ref:u,className:"slider-arrow",children:(0,r.jsx)(a.default,{src:o.A,width:24,height:24,alt:"Slider arrow left"})}),(0,r.jsx)("div",{ref:g,className:"slider-arrow",children:(0,r.jsx)(a.default,{src:x.A,width:24,height:24,alt:"Slider arrow right"})})]})]}),(0,r.jsx)(c.RC,{slidesOffsetBefore:0,modules:[d.Vx],spaceBetween:16,slidesPerView:1,loop:!0,breakpoints:{768:{slidesPerView:2},1024:{slidesPerView:3,spaceBetween:32}},onBeforeInit:e=>{var l;if((null==e?void 0:null===(l=e.params)||void 0===l?void 0:l.navigation)&&u.current&&g.current){let l=e.params.navigation;l.prevEl=u.current,l.nextEl=g.current,e.navigation.init(),e.navigation.update()}},scrollbar:{draggable:!1},children:m.map((e,l)=>(0,r.jsx)(c.qr,{className:"!h-auto",children:(0,r.jsx)(h,{person:e})},e._key+"".concat(l)))},"slider")]})})})},43125:(e,l,t)=>{t.d(l,{default:()=>c});var r=t(95155),a=t(12115);t(2252);var s=t(11807),i=t(5565);let n={src:"/_next/static/media/star-icon.6a3d5e2d.svg",height:15,width:16,blurWidth:0,blurHeight:0},d=(0,a.memo)(e=>{let{data:l}=e,{name:t,text:a,avatar:d,addedAt:c}=l;return(0,r.jsxs)("div",{className:"min-w-[280px] max-h-60 p-6 rounded-2xl overflow-y-auto hide-scrollbar lg:max-h-[208px] lg:min-w-[402px] bg-primary-10",children:[(0,r.jsxs)("div",{className:"flex flex-col lg:flex-row lg:items-center gap-3 mb-4",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[d?(0,r.jsx)(i.default,{src:(0,s.dk)(d).url(),width:48,height:48,sizes:"100vw",alt:"Person avatar",className:"w-12 h-12 object-cover rounded-full"}):null,(0,r.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,r.jsx)("p",{className:"text-base font-bold lg:text-[18px] text-secondary-10",children:t}),(0,r.jsx)("span",{className:"text-xs text-primary-90",children:new Date(c).toLocaleDateString("en-GB",{day:"2-digit",month:"long",year:"numeric"}).replace(/(\d{2}) (\w+) (\d{4})/,"$1 $2, $3")})]})]}),(0,r.jsx)("div",{className:"flex items-center gap-2 lg:ml-auto",children:Array.from({length:5}).map((e,l)=>(0,r.jsx)(i.default,{src:n,width:16,height:15,alt:"Star icon",className:""},l))})]}),(0,r.jsx)("p",{className:"text-sm lg:text-base text-secondary-10",children:a})]})}),c=(0,a.memo)(e=>{let{data:l}=e,{title:t,description:a,firstRow:s,secondRow:i}=l,n=[...s,...s],c=[...i,...i];return(0,r.jsx)("section",{className:"bg-primary-20 py-16 lg:py-[120px]",children:(0,r.jsxs)("div",{className:"mx-auto",children:[t&&(0,r.jsx)("h2",{className:"text-heading-3 text-center text-secondary-10 lg:text-heading-2 mb-8 lg:mb-12 leading-[110%] font-black ",children:t}),a&&(0,r.jsx)("p",{className:"text-center max-w-[800px] text-base lg:text-[18px] text-primary-80 mx-auto mb-8 lg:mb-12",children:a}),(0,r.jsx)("div",{className:"group overflow-hidden mb-4 lg:mb-9",children:(0,r.jsx)("div",{className:"animate-rightScroll flex items-center gap-4 lg:gap-6 group-hover:animate-playStatePaused",children:n.map((e,l)=>(0,r.jsx)("div",{children:(0,r.jsx)(d,{data:e})},e._id+l))})}),(0,r.jsx)("div",{className:"group overflow-hidden",children:(0,r.jsx)("div",{className:"animate-leftScroll flex items-center gap-4 lg:gap-6 group-hover:animate-playStatePaused",children:c.map((e,l)=>(0,r.jsx)("div",{children:(0,r.jsx)(d,{data:e})},e._id+l))})})]})})})},15480:(e,l,t)=>{t.d(l,{default:()=>h});var r=t(95155),a=t(26615),s=t(5565),i=t(11807),n=t(4617),d=t.n(n);let c=e=>{let{text:l,view:t}=e;return(0,r.jsx)("span",{className:d()("inline-block py-[7px] px-[16px] rounded-[78px] text-xs",{dark:"border border-primary-90 bg-primary-70 text-primary-10",light:"bg-secondary-30 text-secondary-20"}[t]),children:l})};var o=t(12115),x=t(24990),m=t(61470);let h=(0,o.memo)(e=>{let{data:l}=e,[t,n]=(0,o.useState)(!1),{title:h,hideTitle:u,reverse:g,description:p,link:b,media:f,mediaLabel:j,backgroundImage:v,displayBackgroun
1dGradient:w,displayContentGradient:y}=l,N=Array.isArray(f)?f[0]:f,k=N&&"image"===N._type,S=(0,o.useRef)(null);return(0,o.useEffect)(()=>{if(window.YT){l();return}window.onYouTubeIframeAPIReady=l;let e=document.createElement("script");function l(){if(!S.current)return;let e=window.YT;new e.Player(S.current,{events:{onStateChange:l=>{l.data===e.PlayerState.PLAYING?n(!0):l.data===e.PlayerState.PAUSED&&n(!1)}}})}e.src="https://www.youtube.com/iframe_api",e.async=!0,document.body.appendChild(e)},[]),(0,r.jsxs)("section",{className:d()("relative py-16 lg:py-[120px]",v?"":"bg-primary-10"),children:[v?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.default,{src:(0,i.dk)(v).url(),alt:"backgroundImage",fill:!0,sizes:"100vw",priority:!0,className:"absolute inset-0 w-full h-full object-cover"}),w?(0,r.jsx)("div",{className:"absolute inset-0 w-full h-full bg-secondary-15"}):null]}):null,(0,r.jsx)("div",{className:"container relative z-[1]",children:(0,r.jsxs)("div",{className:d()("lg:flex bg-primary-20 rounded-2xl lg:rounded-3xl",g?"lg:flex-row-reverse":"lg-flex-row"),children:[(0,r.jsxs)("div",{className:"flex flex-col justify-center p-6 lg:w-[51.7%] lg:py-[74px] lg:px-10",children:[!u&&(0,r.jsx)("h2",{className:"mb-4 lg:mb-5 text-heading-3 lg:text-heading-2 font-black text-secondary-10",children:h}),(0,r.jsx)("div",{children:(0,r.jsx)(a.RK,{value:p,components:{block:{normal:e=>{let{children:l}=e;return(0,r.jsx)("p",{className:"mb-6 text-base text-primary-80 lg:mb-7 lg:text-lg lg:leading-[26px] last:mb-0",children:l})}},list:{bullet:e=>{let{children:l}=e;return(0,r.jsx)("ul",{className:"list-disc text-base lg:text-lg lg:leading-[26px] pl-6 mb-6 text-primary-80",children:l})},number:e=>{let{children:l}=e;return(0,r.jsx)("ol",{className:"list-decimal text-base lg:text-lg lg:leading-[26px] pl-6 mb-6 text-primary-80",children:l})}},listItem:{bullet:e=>{let{children:l}=e;return(0,r.jsx)("li",{children:l})},number:e=>{let{children:l}=e;return(0,r.jsx)("li",{children:l})}}}})}),(null==b?void 0:b.showLink)&&(0,r.jsx)(x.j,{text:b.text,link:b.url,className:"mt-6 lg:mt-10"})]}),(0,r.jsxs)("div",{className:"relative min-h-[260px] lg:w-[48.3%] lg:min-h-[432px]",children:[j&&(0,r.jsx)("div",{className:d()("absolute top-4 left-4 lg:top-6 lg:left-6 z-[2] transition-opacity duration-300",t?"opacity-0 pointer-events-none":"opacity-100 pointer-events-auto"),children:(0,r.jsx)(c,{text:j,view:"dark"})}),k&&y?(0,r.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-primary-60 z-[1] rounded-bl-2xl rounded-br-2xl lg:rounded-bl-none lg:rounded-br-3xl lg:rounded-tr-3xl"}):null,k?(0,r.jsx)(s.default,{src:(0,i.dk)(N).url(),alt:"Media",fill:!0,priority:!0,className:d()("w-full h-full object-cover max-lg:rounded-bl-2xl max-lg:rounded-br-2xl ",g?"lg:rounded-bl-3xl lg:rounded-tl-3xl":"lg:rounded-br-3xl lg:rounded-tr-3xl")}):(0,r.jsx)("iframe",{ref:S,src:"".concat((0,m.Z)((null==N?void 0:N.url)||""),"?enablejsapi=1"),title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:d()("w-full h-full min-h-[260px] max-lg:rounded-bl-2xl max-lg:rounded-br-2xl lg:min-h-[432px]",g?"lg:rounded-bl-3xl lg:rounded-tl-3xl":"lg:rounded-br-3xl lg:rounded-tr-3xl")})]})]})})]})})},61470:(e,l,t)=>{t.d(l,{Z:()=>a});let r=/(?:youtube\.com\/(?:.*v=|.*\/)|youtu\.be\/|youtube.com\/embed\/)([^"&?/ ]{11})/,a=e=>{let l=e.match(r);return l?"https://www.youtube.com/embed/".concat(l[1]):""}},40342:(e,l,t)=>{t.d(l,{Q:()=>a});var r=t(75828);let a=(0,r.createServerReference)("7f6d6eacedc5015302b98310f6a8d8a865e4aed88f",r.callServer,void 0,r.findSourceMapURL,"revalidateSyncTags")},28807:(e,l,t)=>{t.d(l,{A:()=>r});let r={src:"/_next/static/media/arrow-left-icon.c3d15ba2.svg",height:24,width:24,blurWidth:0,blurHeight:0}},30630:(e,l,t)=>{t.d(l,{A:()=>r});let r={src:"/_next/static/media/arrow-right-icon.8b880c50.svg",height:24,width:24,blurWidth:0,blurHeight:0}},47132:(e,l,t)=>{t.r(l),t.d(l,{default:()=>r});let r={src:"/_next/static/media/link-arrow-icon-black.3b5bca75.svg",height:16,width:16,blurWidth:0,blurHeight:0}},60994:(e,l,t)=>{t.r(l),t.d(l,{default:()=>r});let r={src:"/_next/static/media/top-right-black-arrow-icon.ff0ccc82.svg",height:16,width:16,blurWidth:0,blurHeight:0}}}]);

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.