1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2602],{25660:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>h});var r=o(10940),l=o(38740),a=o.n(l),s=o(90886),n=o(87439),i=o.n(n),c=o(20788),d=o(52827);let p=({stats:e})=>(0,r.jsx)("div",{className:"flex gap-4 items-stretch w-full",children:e.map(e=>(0,r.jsxs)("div",{className:"flex flex-col gap-1 flex-1 min-w-0 justify-center p-4 rounded-2xl bg-softgrey2",children:[(0,r.jsx)("p",{className:"text-[35px] font-bold text-[#9AA5B1]",children:e.value??"-"}),(0,r.jsx)("p",{className:"text-sm text-black1",children:e.label})]},e.label))}),u=({eyebrow:e,title:t,banner:o,rolloutSectionLabel:l,rolloutStats:a,peopleSectionLabel:s,peopleTableColumns:n,peopleEmptyTitle:u,peopleEmptyDescription:x,peopleEmptyCtaLabel:f,onPeopleEmptyCtaClick:m,activitySectionLabel:h,activityStats:v,experiencesTitle:b,experiencesDescription:g,experiencesCtaLabel:j,onExperiencesCtaClick:N})=>(0,r.jsxs)("div",{className:"flex flex-col gap-6 w-full bg-white rounded-2xl overflow-hidden",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-1 p-4 bg-[#E4F6FC]",children:[(0,r.jsx)("p",{className:"text-sm text-black3",children:e}),(0,r.jsx)("p",{className:"text-[28px] font-bold text-black2",children:t})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-6 px-4 pb-4",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-4 p-4 rounded-2xl bg-[#EDFCF4] border-l-4 border-green",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)("p",{className:"text-lg font-bold text-black2",children:o.title}),(0,r.jsx)("p",{className:"text-sm text-black3 max-w-3xl",children:o.description})]}),(0,r.jsxs)(d.$,{className:"w-fit normal-case",onClick:o.onCtaClick,children:[(0,r.jsx)(c.GYj,{className:"size-3.5"}),o.ctaLabel]})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsx)("p",{className:"text-sm font-bold text-black2",children:l}),(0,r.jsx)(p,{stats:a})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsx)("p",{className:"text-sm font-bold text-black2",children:s}),(0,r.jsxs)("div",{className:"flex flex-col w-full rounded-2xl border border-softgrey1 overflow-hidden",children:[(0,r.jsx)("div",{className:"flex w-full bg-softgrey2 border-b border-[#DEE2E6]",children:n.map(e=>(0,r.jsx)("div",{className:"flex-1 min-w-0 px-4 py-2",children:(0,r.jsx)("p",{className:"text-sm font-bold text-black5",children:e})},e))}),(0,r.jsxs)("div",{className:"flex flex-col gap-4 items-center py-6",children:[(0,r.jsx)(i(),{src:"/static/no-result.svg",alt:"",width:128,height:128}),(0,r.jsxs)("div",{className:"flex flex-col gap-2 items-center text-center text-black3 max-w-lg",children:[(0,r.jsx)("p",{className:"text-base font-semibold",children:u}),(0,r.jsx)("p",{className:"text-sm",children:x})]}),(0,r.jsxs)(d.$,{variant:"outlined",className:"w-fit normal-case",onClick:m,children:[(0,r.jsx)(c.GYj,{className:"size-3.5"}),f]})]})]})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsx)("p",{className:"text-sm font-bold text-black2",children:h}),(0,r.jsx)(p,{stats:v})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsx)("p",{className:"text-sm font-bold text-black2",children:"Experiences running now"}),(0,r.jsxs)("div",{className:"flex items-center gap-4 p-4 rounded-2xl bg-softgrey2 border-l-4 border-green",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-2 flex-1 min-w-0",children:[(0,r.jsx)("p",{className:"text-lg font-bold text-black2",children:b}),(0,r.jsx)("p",{className:"text-sm text-black3",children:g})]}),(0,r.jsxs)(d.$,{className:"w-fit shrink-0 normal-case",onClick:N,children:[j,(0,r.jsx)(c.LSg,{className:"size-3.5"})]})]})]})]})]});var x=o(42366),f=o(96024);function m(){let{coordinator:e,isLoading:t}=(0,x.I)(),o=e?.schoolName??"Your School",{redirectPending:l}=(0,f.K)({moduleZeroId:e?.moduleZeroRedirectId,stepId:e?.moduleZeroRedirectStepId,trainingHref:"/coordinator/training",storageKey:"coordinator-module-zero-redirect-seen"});return t||l?null:(0,r.jsx)(u,{eyebrow:"Performance",title:o,banner:{title:"Let's get your competitions running",description:"Invite the participants who'll compete. Once they join, their progress and activity fill in here.",ctaLabel:"Invite Participants"},rolloutSectionLabel:"Participant rollout",rolloutStats:[{label:"Invited"},{label:"Joined"},{label:"Training complete"},{label:"Competing"}],peopleSectionLabel:"People",peopleTableColumns:["Participants","Stage","Last Active","Competitions","Students"],peopleEmptyTitle:"No one on your team yet",peopleEmptyDescription:"Invite your participants â once they join, their rollout stage and activity show here.",peopleEmptyCtaLabel:"Invite Participants",activitySectionLabel:"Competition activity",activityStats:[{label:"Students"},{label:"Competitions run"},{label:"Completed"},{label:"Interviews"},{label:"Modules"},{label:"Leaderboards"}],experiencesTitle:"No competitions running yet",experiencesDescription:"Once a competition launches, it shows up here live â participants, tools in use, and status.",experiencesCtaLabel:"Browse the Experience Catalog"})}function h(){return(0,r.jsxs)(s.R,{breadcrumbSuffix:[{label:"Performance"}],children:[(0,r.jsx)(a(),{children:(0,r.jsx)("title",{children:"Performance | KANU"})}),(0,r.jsx)("div",{className:"p-4",children:(0,r.jsx)(m,{})})]})}},34872:(e,t,o)=>{"use strict";o.d(t,{Mz:()=>G,Rp:()=>M,UC:()=>X,ZL:()=>W,bL:()=>Y,bm:()=>q,i3:()=>J,l9:()=>H});var r=o(62544),l=o(41375),a=o(67237),s=o(39717),n=o(21048),i=o(67722),c=o(85378),d=o(6896),p=o(36413),u=o(37959),x=o(61678),f=o(48776),m=o(58159),h=o(76496),v=o(15207),b=o(17971),g=o(10940),j="Popover",[N,C]=(0,s.A)(j,[p.Bk]),w=(0,p.Bk)(),[y,P]=N(j),k=e=>{let{__scopePopover:t,children:o,open:l,defaultOpen:a,onOpenChange:s,modal:n=!1}=e,i=w(t),c=r.useRef(null),[u,x]=r.useState(!1),[f,m]=(0,h.i)({prop:l,defaultProp:a??!1,onChange:s,caller:j});return(0,g.jsx)(p.bL,{...i,children:(0,g.jsx)(y,{scope:t,contentId:(0,d.B)(),triggerRef:c,open:f,onOpenChange:m,onOpenToggle:r.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:u,onCustomAnchorAdd:r.useCallback(()=>x(!0),[]),onCustomAnchorRemove:r.useCallback(()=>x(!1),[]),modal:n,children:o})})};k.displayName=j;var R="PopoverAnchor",I=r.forwardRef((e,t)=>
1{let{__scopePopover:o,...l}=e,a=P(R,o),s=w(o),{onCustomAnchorAdd:n,onCustomAnchorRemove:i}=a;return r.useEffect(()=>(n(),()=>i()),[n,i]),(0,g.jsx)(p.Mz,{...s,...l,ref:t})});I.displayName=R;var _="PopoverTrigger",E=r.forwardRef((e,t)=>{let{__scopePopover:o,...r}=e,s=P(_,o),n=w(o),i=(0,a.s)(t,s.triggerRef),c=(0,g.jsx)(f.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":B(s.open),...r,ref:i,onClick:(0,l.mK)(e.onClick,s.onOpenToggle)});return s.hasCustomAnchor?c:(0,g.jsx)(p.Mz,{asChild:!0,...n,children:c})});E.displayName=_;var S="PopoverPortal",[L,O]=N(S,{forceMount:void 0}),A=e=>{let{__scopePopover:t,forceMount:o,children:r,container:l}=e,a=P(S,t);return(0,g.jsx)(L,{scope:t,forceMount:o,children:(0,g.jsx)(x.C,{present:o||a.open,children:(0,g.jsx)(u.Z,{asChild:!0,container:l,children:r})})})};A.displayName=S;var F="PopoverContent",D=r.forwardRef((e,t)=>{let o=O(F,e.__scopePopover),{forceMount:r=o.forceMount,...l}=e,a=P(F,e.__scopePopover);return(0,g.jsx)(x.C,{present:r||a.open,children:a.modal?(0,g.jsx)(K,{...l,ref:t}):(0,g.jsx)(Z,{...l,ref:t})})});D.displayName=F;var T=(0,m.TL)("PopoverContent.RemoveScroll"),K=r.forwardRef((e,t)=>{let o=P(F,e.__scopePopover),s=r.useRef(null),n=(0,a.s)(t,s),i=r.useRef(!1);return r.useEffect(()=>{let e=s.current;
1if(e)return(0,v.Eq)(e)},[]),(0,g.jsx)(b.A,{as:T,allowPinchZoom:!0,children:(0,g.jsx)($,{...e,ref:n,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,l.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),i.current||o.triggerRef.current?.focus()}),onPointerDownOutside:(0,l.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,o=0===t.button&&!0===t.ctrlKey;i.current=2===t.button||o},{checkForDefaultPrevented:!1}),onFocusOutside:(0,l.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),Z=r.forwardRef((e,t)=>{let o=P(F,e.__scopePopover),l=r.useRef(!1),a=r.useRef(!1);return(0,g.jsx)($,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(l.current||o.triggerRef.current?.focus(),t.preventDefault()),l.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(l.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let r=t.target;o.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),$=r.forwardRef((e,t)=>{let{__scopePopover:o,trapFocus:r,onOpenAutoFocus:l,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:d,onPointerDownOutside:u,onFocusOutside:x,onInteractOutside:f,...m}=e,h=P(F,o),v=w(o);return(0,i.Oh)(),(0,g.jsx)(c.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:l,onUnmountAutoFocus:a,children:(0,g.jsx)(n.qW,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:f,onEscapeKeyDown:d,onPointerDownOutside:u,onFocusOutside:x,onDismiss:()=>h.onOpenChange(!1),children:(0,g.jsx)(p.UC,{"data-state":B(h.open),role:"dialog",id:h.contentId,...v,...m,ref:t,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),z="PopoverClose",U=r.forwardRef((e,t)=>{let{__scopePopover:o,...r}=e,a=P(z,o);return(0,g.jsx)(f.sG.button,{type:"button",...r,ref:t,onClick:(0,l.mK)(e.onClick,()=>a.onOpenChange(!1))})});U.displayName=z;var M=r.forwardRef((e,t)=>{let{__scopePopover:o,...r}=e,l=w(o);return(0,g.jsx)(p.i3,{...l,...r,ref:t})});function B(e){return e?"open":"closed"}M.displayName="PopoverArrow";var Y=k,G=I,H=E,W=A,X=D,q=U,J=M},42366:(e,t,o)=>{"use strict";o.d(t,{I:()=>d,y:()=>c});var r=o(10940),l=o(62544),a=o(21072),s=o(25298),n=o(82887);let i=(0,l.createContext)({coordinator:null,isLoading:!1,error:void 0}),c=({children:e})=>{let{data:t,isLoading:o,error:l}=(0,a.Ay)("users/me/navigation",n.hS,{revalidateOnFocus:!1}),c=t?.role===s.tz.COORDINATOR?{schoolName:t.university?.title,schoolLogoUrl:t.university?.logoUrl,competitions:t.competitions,moduleZero:t.moduleZero,moduleZeroRedirectId:t.voyageRedirect?.moduleZeroId,moduleZeroRedirectStepId:t.voyageRedirect?.stepId}:null;return(0,r.jsx)(i.Provider,{value:{coordinator:c,isLoading:o,error:l},children:e})},d=()=>(0,l.useContext)(i)},90833:(e,t,o)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/coordinator",function(){return o(25660)}])},90886:(e,t,o)=>{"use strict";o.d(t,{R:()=>f});var r=o(10940),l=o(42366),a=o(27965),s=o(7684),n=o(35295),i=o(20788),c=o(21818),d=o(11461),p=o(50316);let u=({activeCompetitionId:e,collapsed:t,onToggle:o})=>{let a=(0,n.useRouter)(),{coordinator:s}=(0,l.I)(),u=s?.competitions??[];return(0,r.jsxs)(p.n,{collapsed:t,onToggle:o,children:[(0,r.jsx)(c.m,{label:"School",entityName:s?.sc
1hoolName??"Your School",entityLogoUrl:s?.schoolLogoUrl,activeHref:a.pathname,links:[{label:"Training",href:"/coordinator/training",icon:i.z7B},{label:"Performance",href:"/coordinator",icon:i.TKI},{label:"People",href:"/coordinator/people",icon:i.SrR}]}),(0,r.jsx)(d.y,{label:"Competition",activeItemId:e,activeHref:a.asPath,items:u.map(e=>({id:e._id,label:e.title,href:`/coordinator/competition/${e._id}/appearance`,subLinks:[{label:"Appearance",href:`/coordinator/competition/${e._id}/appearance`,icon:(0,r.jsx)(i.WfV,{})},{label:"Participants",href:`/coordinator/competition/${e._id}/participants`,icon:(0,r.jsx)(i.hjP,{})},{label:"Insights",href:`/coordinator/competition/${e._id}/insights`,icon:(0,r.jsx)(i.YCQ,{})}]})),createLabel:"Create a competition",createHref:"/coordinator/competition/create"})]})};function x({breadcrumbSuffix:e,activeCompetitionId:t,children:o}){let{coordinator:n}=(0,l.I)(),i=n?.schoolName??"Your School",{collapsed:c,onToggle:d}=(0,a.X)("coordinator-sidebar-collapsed"),p=t?[{label:n?.competitions.find(e=>e._id===t)?.title??"Competition",href:`/coordinator/competition/${t}/appearance`}]:[];return(0,r.jsx)(s.N,{sidebar:(0,r.jsx)(u,{activeCompetitionId:t,collapsed:c,onToggle:d}),breadcrumbs:[{label:i},...p,...e],children:o})}let f=e=>(0,r.jsx)(l.y,{children:(0,r.jsx)(x,{...e})})},96024:(e,t,o)=>{"use strict";o.d(t,{K:()=>a});var r=o(35295),l=o(62544);function a({moduleZeroId:e,stepId:t,trainingHref:o,storageKey:s,showWelcome:n}){let i=(0,r.useRouter)(),[c,d]=(0,l.useState)(!1);return(0,l.useEffect)(()=>d(!0),[]),(0,l.useEffect)(()=>{if(!e||sessionStorage.getItem(s)===e)return;sessionStorage.setItem(s,e);let r=new URLSearchParams({moduleZeroId:e});t&&r.set("stepId",t),n&&r.set("showWelcome","true"),i.replace(`${o}?${r}`)},[e,t,i,o,s,n]),{redirectPending:!!e&&(!c||sessionStorage.getItem(s)!==e)}}}},e=>{e.O(0,[4906,122,5302,7267,7536,4465,1359,1250,8357,9229,1772,3460,3234,5754,438,4308,2224,2543,7595,9362,9001,6506,636,6593,8792],()=>e(e.s=90833)),_N_E=e.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.