PageSourceSearch

https://maven.com/_next/static/chunks/pages/admin/recaps-3ae169a1ea6a221b.js

js maven.com collected 2026-10-02 02:22:17 UTC 24,882 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8837fcfc-50c7-438c-8563-cae28c72d3f2",e._sentryDebugIdIdentifier="sentry-dbid-8837fcfc-50c7-438c-8563-cae28c72d3f2")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2059,3452,5424,9735],{4910:(e,t,r)=>{"use strict";r.d(t,{CT:()=>s,PN:()=>n,j_:()=>a,rj:()=>i});let n=e=>Array.from({length:e},(e,t)=>t+1);function a(e){return e.filter(e=>void 0!==e)}function s(e,t){return e.map(e=>e[t]).join(",")}function i(e,t){return e[(t+e.length)%e.length]}},8962:function(e){e.exports=function(e,t,r){t.prototype.isBetween=function(e,t,n,a){var s=r(e),i=r(t),o="("===(a=a||"()")[0],l=")"===a[1];return(o?this.isAfter(s,n):!this.isBefore(s,n))&&(l?this.isBefore(i,n):!this.isAfter(i,n))||(o?this.isBefore(s,n):!this.isAfter(s,n))&&(l?this.isAfter(i,n):!this.isBefore(i,n))}}},20355:function(e){e.exports=function(e,t,r){var n=t.prototype,a=n.format;r.en.ordinal=function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"},n.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return a.bind(this)(e);var n=this.$utils(),s=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return r.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return r.ordinal(t.week(),"W");case"w":case"ww":return n.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return n.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return n.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}});return a.bind(this)(s)}}},20508:(e,t,r)=>{"use strict";r.d(t,{A:()=>o,h:()=>u});var n=r(37876),a=r(14232),s=r(66563),i=r(13006),o=function(e){return e.courseVideo="courseVideo",e}({});let l=e=>{let{forwardRef:t,src:r,fullCover:o=!1,trackVimeoAnalytics:l}=e,u=(e=>{let t=(0,i.st)(),[r,n]=(0,a.useState)(!1),[o,l]=(0,a.useState)();return(0,a.useEffect)(()=>{if(!e)return;let t=document.getElementById("vimeo_player-".concat(e.videoId));l(new s.A(t))},[e]),(0,a.useEffect)(()=>{if(!e||!o)return;let a=i.XN.courseVideoPlay,s=i.XN.courseVideoWatchedHalf,l=i.XN.courseVideoPause,u=i.XN.courseVideoEnded,c=()=>{t.track(a,e.eventProperties)},d=()=>{t.track(l,e.eventProperties),r||null==o||o.getPlayed().then(r=>{if(0===r.length)return;let a=r[0][1];null==o||o.getDuration().then(r=>{a/r>.5&&(n(!0),t.track(s,e.eventProperties))})})},f=()=>{t.track(u,e.eventProperties)};return o.on("play",c),o.on("pause",d),o.on("ended",f),()=>{o.off("play",c),o.off("pause",d),o.off("ended",f)}},[r,t,e,o]),o})(l);return(0,a.useImperativeHandle)(t,()=>({pause:()=>null==u?void 0:u.pause()})),(0,n.jsx)("div",{className:"pb-9/16 relative h-0 w-full",children:(0,n.jsx)("iframe",{id:l&&"vimeo_player-".concat(l.videoId),className:"absolute top-0 left-0 h-full w-full bg-black ".concat(o?"":"rounded-2xl"),width:"560",height:"315",src:r,title:"Video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; controls",allowFullScreen:!0,loading:"lazy"})})},u=a.forwardRef((e,t)=>(0,n.jsx)(l,{forwardRef:t,...e}))},25431:(e,t,r)=>{"use strict";r.d(t,{$O:()=>o,By:()=>a,S6:()=>i,zh:()=>s});var n=r(91040),a=function(e){return e.MalformedObject="malformed_object",e.SchoolNameTaken="school.name_taken",e.SchoolSlugTaken="school.slug_taken",e.CourseSlugTaken="course.slug_taken",e.FormResponseProhibited="form_response.prohibited",e.UserEmailInUse="users.email_already_in_use",e.AssetNotFound="asset.not_found",e.ZoomAuth="zoom_auth",e}({});function s(e){var t,r,s,i,o;if(!n.A.isAxiosError(e))return null;let l=null!=(o=null==(r=e.response)||null==(t=r.data)?void 0:t.error_type)?o:null==(i=e.response)||null==(s=i.data)?void 0:s.type;return"string"!=typeof l?null:Object.values(a).some(e=>e===l)?l:null}function i(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Something went wrong.";if(!n.A.isAxiosError(e))return r;let a=null==(t=e.response)?void 0:t.data;if(a&&"object"==typeof a){if("detail"in a&&"string"==typeof a.detail)return a.detail;if("message"in a&&"string"==typeof a.message)return a.message}return r}function o(e){var t;return!!n.A.isAxiosError(e)&&(null==(t=e.response)?void 0:t.status)===400}},25483:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(57509);let a=()=>{let{isSuccess:e,data:t}=(0,n.A)("staff",null);return e&&t}},28755:(e,t,r)=>{"use strict";r.d(t,{DP:()=>_,G6:()=>T,LU:()=>N,N0:()=>x,NU:()=>j,P7:()=>D,Rt:()=>v,Sn:()=>M,TY:()=>Y,Yv:()=>S,cw:()=>$,dv:()=>z,eU:()=>w,ow:()=>p,tX:()=>k,z6:()=>b,zR:()=>g});var n=r(56557),a=r.n(n),s=r(20355),i=r.n(s),o=r(8962),l=r.n(o),u=r(82908),c=r.n(u),d=r(64301),f=r.n(d),h=r(71576),m=r.n(h);a().extend(i()),a().extend(l()),a().extend(c()),a().extend(f()),a().extend(m());var p=function(e){return e.IsoDate="YYYY-MM-DD",e.MonthDayYear="MMMM D, YYYY",e.ShortMonthDayYear="MMM D, YYYY",e.MonthDayYearTimeWithTz="LL @ LT z",e.Time="h:mm A",e.TimeWithTz="LT z",e.TimeWithTzParens="LT (z)",e.ShortMonthDay="MMM D",e.VeryShortMonthDay="M/D",e.ShortMonthDayTimeTimezone="MMM D, h:mmA (z)",e.LongDayOfWeekMonthDay="dddd, MMM D",e.DayOfWeekMonthDay="ddd, MMM D",e.DayOfWeekShortMonthDay="ddd, M/D",e.DayOfWeekMonthDayTime="ddd, MMM D, h:mmA",e.DayOfWeekMonthDayTimeTimezone="ddd, MMM D, h:mmA (z)",e.DayOfWeekMonthDayYearTimeTimezone="ddd, MMM D, YYYY, h:mmA z",e.DayOfWeekMonthDayYear="ddd, MMM D, YYYY",e.DayOfWeek="ddd",e}({});function g(e){var t,r;return e&&null!=(r=null==(t=a()(e))?void 0:t.toDate())?r:null}
1function v(e,t){let{convertTimezone:r=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=a()(e);return"string"==typeof r?n=n.tz(r):r&&(n=n.tz(a().tz.guess())),n.format(t)}let y=e=>e.format("MMMM").length<5,M=e=>{let t=a()(e);return y(t)?t.format("MMMM D"):t.format("MMM D")},x=e=>a()(e).format("MMM YYYY"),Y=e=>{let t=a()(e);return y(t)?t.format("MMMM D, YYYY"):t.format("MMM D, YYYY")},D=e=>a()(e).format("D, YYYY"),w=e=>y(a()(e))?a()(e).format("MMMM D, YYYY | HH:mmA"):a()(e).format("MMM D, YYYY | HH:mmA"),j=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return t?e.tz(a().tz.guess()).format("MM-DD-YY HH:mmA"):e.format("MM-DD-YY HH:mmA Z")},b=e=>a()(e).format();function S(){return v(a()().toISOString(),"YYYY-MM-DD")}let N=e=>a()(e).isBefore(a()(),"day"),$=e=>a()(e).isBefore(a()());function z(){return a()().endOf("day").toDate()}function k(e,t){let{includeYear:r=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||!t)return"";let n=e.format(r&&e.year()!==t.year()?"MMM D, YYYY":"MMM D"),a=t.format(r?"MMM D, YYYY":"MMM D");return"".concat(n," – ").concat(a)}function T(e,t){if(!e||!t)return"";let r=e.isSame(t,"day")?"LT z":"ddd, MMM D, h:mmA (z)",n=e.format("ddd, MMM D, h:mmA"),a=t.format(r);return"".concat(n," – ").concat(a)}function _(e,t,r){return a().tz("".concat(e,"T").concat(t),r).tz()}},29012:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(37876),a=r(14232),s=r(88501);let i=e=>{let{children:t,optional:r,right:a,as:s="div"}=e;return t||r||a?(0,n.jsxs)(s,{className:"flex items-baseline justify-between gap-2 text-gray-800",children:[t?(0,n.jsx)("div",{className:"ph5",children:t}):null,r&&(0,n.jsx)("span",{className:"p4",children:"(Optional)"}),a?(0,n.jsx)("div",{children:a}):null]}):null},o=e=>{let{children:t,htmlFor:r,label:o,labelRight:l,description:u,descriptionRight:c,errorMessage:d,required:f,showOptional:h=!0,focusOnError:m=!1,onClick:p,as:g}=e,v=null;d?v=(0,n.jsx)(s.s,{children:d}):u&&(v=(0,n.jsx)("div",{className:"p3 text-pretty text-gray-700",children:u})),c&&(v=(0,n.jsxs)("div",{className:"flex gap-4",children:[(0,n.jsx)("div",{children:v}),(0,n.jsx)("div",{className:"ml-auto",children:c})]}));let y=(0,a.useRef)(null);return(0,a.useEffect)(()=>{y.current&&m&&d&&y.current.focus()},[d,m]),(0,n.jsxs)(null!=g?g:"label",{ref:y,className:"block space-y-2",htmlFor:r,onClick:p,children:[(0,n.jsx)(i,{as:"fieldset"===g?"legend":"div",right:l,optional:!f&&h,children:o}),t?(0,n.jsx)("div",{children:t}):null,v]})}},34439:(e,t,r)=>{"use strict";r.d(t,{l:()=>i,x:()=>o});var n=r(37876),a=r(14232);let s=(0,a.createContext)(void 0),i=e=>{let{children:t,syllabusId:r,title:a,pageContext:i,moduleItemId:o}=e;return(0,n.jsx)(s.Provider,{value:{syllabusId:r,pageContext:i,moduleItemId:o,title:a},children:t})};function o(){let e=(0,a.useContext)(s);if(void 0===e)throw Error("useSyllabusContext must be used within a SyllabusEditorContextProvider");return e}},36909:(e,t,r)=>{"use strict";r.d(t,{I$:()=>o,KL:()=>c,LA:()=>l,jg:()=>i,mT:()=>u,ti:()=>s});var n=r(91040),a=r(70969);let s={svg:"svg",png:"png",jpeg:"jpeg"},i={logo:"logo",icon:"icon",symbol:"symbol"},o=async e=>{let t=await (0,a.ln)(),{data:r}=await n.A.get("".concat(a.jg,"/assets/brand_logos/").concat(e),t);return r},l={school_event_recording:"school_event_recording",syllabus_video:"syllabus_video",workshop_video:"workshop_video"};function u(e){return e.asset_type===l.syllabus_video}function c(e){return"cohort_id"in e}},42139:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(37876),a=r(14232),s=r(4910),i=r(88992);let o="Previous",l=e=>{let{currentPage:t,totalPages:r,handlePageChange:l}=e,u=(()=>{if(r<=10)return(0,s.PN)(r);let e=new Set([1,r]),n=t<=4,a=t>=r-3;if(n)for(let t=2;t<=5;t++)e.add(t);else if(a)for(let t=r-4;t<r;t++)e.add(t);else e.add(t-1),e.add(t),e.add(t+1);return Array.from(e).sort((e,t)=>e-t)})();return(0,n.jsxs)("div",{className:"relative z-20 flex flex-wrap items-center justify-center",children:[(0,n.jsx)(i.A,{size:"x-small",type:"secondary",onClick:()=>l(t-1,o),className:"rounded-r-none",disabled:1===t,children:o}),u.map((e,r)=>{let s=r>0&&u[r]-u[r-1]>1;return(0,n.jsxs)(a.Fragment,{children:[s&&(0,n.jsx)("div",{className:"flex items-center justify-center px-3 py-1 text-gray-500",children:"..."}),(0,n.jsx)(i.A,{size:"x-small",type:t===e?"primary":"secondary",onClick:()=>l(e,e.toString()),className:"min-w-10 rounded-none",children:e})]},"page-".concat(e))}),(0,n.jsx)(i.A,{size:"x-small",type:"secondary",onClick:()=>l(t+1,(t+1).toString()),className:"rounded-l-none",disabled:t===r,children:"Next"})]})}},49435:(e,t,r)=>{"use strict";function n(e){let t;if(e.includes("<iframe")){var r;let t=null==(r=e.match(/src="(.*?)"/))?void 0:r[1];if(!t)return null;e=t}e.startsWith("http")||(e="https://".concat(e));try{t=new URL(e)}catch(e){return null}if("youtu.be"===t.hostname)return t.pathname.slice(1)||null;if("youtube.com"!==t.hostname&&"www.youtube.com"!=t.hostname)return null;let n=t.pathname.substring(1).split("/");switch(n[0]){case"shorts":case"embed":case"live":return n[1]||null;case"watch":return t.searchParams.get("v")||null;case"playlist":return t.searchParams.get("list")||null;default:return null}}function a(e){return"https://www.youtube.com/embed/".concat(e)}function s(e,t){return(null==t?void 0:t.highQualityImage)?"https://img.youtube.com/vi/".concat(e,"/hqdefault.jpg"):"https://img.youtube.com/vi/".concat(e,"/default.jpg")}r.d(t,{Ho:()=>a,c5:()=>n,w2:()=>s})},50065:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(37876);r(14232);var a=r(57128);let s=e=>{let{size:t=a.or.Xs,className:r,stroke:s=a.Ol}=e;return(0,n.jsx)("svg",{className:r,width:t,height:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M13 6L8 11L3 6",stroke:s,strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})}},55424:(e,t,r)=>{"use strict";function n(e){return"string"==typeof e}function a(e){return"number"==typeof e}r.d(t,{E:()=>a,K:()=>n})},64301:function(e){e.exports=function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(r,n,a){var s,i=function(e,r,n){void 0===n&&(n={});var a,s,i,o,l=new Date(e);return(void 0===(a=n)&&(a={}
1),(o=t[i=r+"|"+(s=a.timeZoneName||"short")])||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:r,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:s}),t[i]=o),o).formatToParts(l)},o=function(t,r){for(var n=i(t,r),s=[],o=0;o<n.length;o+=1){var l=n[o],u=l.type,c=l.value,d=e[u];d>=0&&(s[d]=parseInt(c,10))}var f=s[3],h=s[0]+"-"+s[1]+"-"+s[2]+" "+(24===f?0:f)+":"+s[4]+":"+s[5]+":000",m=+t;return(a.utc(h).valueOf()-(m-=m%1e3))/6e4},l=n.prototype;l.tz=function(e,t){void 0===e&&(e=s);var r=this.utcOffset(),n=this.toDate(),i=n.toLocaleString("en-US",{timeZone:e}),o=Math.round((n-new Date(i))/1e3/60),l=a(i).$set("millisecond",this.$ms).utcOffset(-(15*Math.round(n.getTimezoneOffset()/15))-o,!0);if(t){var u=l.utcOffset();l=l.add(r-u,"minute")}return l.$x.$timezone=e,l},l.offsetName=function(e){var t=this.$x.$timezone||a.tz.guess(),r=i(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return r&&r.value};var u=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return u.call(this,e,t);var r=a(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return u.call(r,e,t).tz(this.$x.$timezone,!0)},a.tz=function(e,t,r){var n=r&&t,i=r||t||s,l=o(+a(),i);if("string"!=typeof e)return a(e).tz(i);var u=function(e,t,r){var n=e-60*t*1e3,a=o(n,r);if(t===a)return[n,t];var s=o(n-=60*(a-t)*1e3,r);return a===s?[n,a]:[e-60*Math.min(a,s)*1e3,Math.max(a,s)]}(a.utc(e,n).valueOf(),l,i),c=u[0],d=u[1],f=a(c).utcOffset(d);return f.$x.$timezone=i,f},a.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},a.tz.setDefault=function(e){s=e}}}()},71576:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(n,a,s){var i=a.prototype;s.utc=function(e){var t={date:e,utc:!0,args:arguments};return new a(t)},i.utc=function(t){var r=s(this.toDate(),{locale:this.$L,utc:!0});return t?r.add(this.utcOffset(),e):r},i.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var o=i.parse;i.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),o.call(this,e)};var l=i.init;i.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var u=i.utcOffset;i.utcOffset=function(n,a){var s=this.$utils().u;if(s(n))return this.$u?0:s(this.$offset)?u.call(this):this.$offset;if("string"==typeof n&&null===(n=function(e){void 0===e&&(e="");var n=e.match(t);if(!n)return null;var a=(""+n[0]).match(r)||["-",0,0],s=a[0],i=60*a[1]+ +a[2];return 0===i?0:"+"===s?i:-i}(n)))return this;var i=16>=Math.abs(n)?60*n:n,o=this;if(a)return o.$offset=i,o.$u=0===n,o;if(0!==n){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(i+l,e)).$offset=i,o.$x.$localOffset=l}else o=this.utc();return o};var c=i.format;i.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,t)},i.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var d=i.toDate;i.toDate=function(e){return"s"===e&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var f=i.diff;i.diff=function(e,t,r){if(e&&this.$u===e.$u)return f.call(this,e,t,r);var n=this.local(),a=s(e).local();return f.call(n,a,t,r)}}}()},72756:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/recaps",function(){return r(99361)}])},80914:(e,t,r)=>{"use strict";r.d(t,{AP:()=>i,BY:()=>c,_S:()=>s,fG:()=>f,j_:()=>u,kY:()=>d,sc:()=>o,zS:()=>l,zq:()=>h});var n=r(56557),a=r.n(n);function s(e){try{return localStorage.getItem(e)}catch(e){return null}}function i(e,t){try{localStorage.setItem(e,t)}catch(e){}}function o(e){try{localStorage.removeItem(e)}catch(e){}}function l(e){let t=s(e),r=t?JSON.parse(t):[];return Array.isArray(r)?r:[]}function u(e,t){i(e,JSON.stringify(t))}function c(e,t){let r=l(e);r.push(t),localStorage.setItem(e,JSON.stringify(r))}function d(e,t){return l(e).includes(t)}function f(e){let t=s(e);return null===t?t:a()(t)}function h(e,t){i(e,t.toISOString())}},81014:(e,t,r)=>{"use strict";r.d(t,{o:()=>c});var n=r(37876),a=r(14232),s=r(5048);let i=(0,a.createContext)(null);var o=r(90050),l=r(50181);let u=e=>!e.isLayoutDirty&&e.willUpdate(!1),c=({children:e,id:t,inherit:r=!0})=>{let c=(0,a.useContext)(s.L),d=(0,a.useContext)(i),[f,h]=function(){let e=function(){let e=(0,a.useRef)(!1);return(0,l.E)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}(),[t,r]=(0,a.useState)(0),n=(0,a.useCallback)(()=>{e.current&&r(t+1)},[t]);return[(0,a.useCallback)(()=>o.Gt.postRender(n),[n]),t]}(),m=(0,a.useRef)(null),p=c.id||d;null===m.current&&((e=>!0==(!0===e)||"id"===e)(r)&&p&&(t=t?p+"-"+t:p),m.current={id:t,group:!0===r&&c.group||function(){let e=new Set,t=new WeakMap,r=()=>e.forEach(u);return{add:n=>{e.add(n),t.set(n,n.addEventListener("willUpdate",r))},remove:n=>{e.delete(n);let a=t.get(n);a&&(a(),t.delete(n)),r()},dirty:r}}()});let g=(0,a.useMemo)(()=>({...m.current,forceRender:f}),[h]);return(0,n.jsx)(s.L.Provider,{value:g,children:e})}},81288:(e,t,r)=>{"use strict";r.d(t,{_:()=>n});var n=function(e){return e.editable="editable",e.readonly="readonly",e}({})},82908:function(e){e.exports=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,r,n){var a=r.prototype,s=a.format;n.en.formats=e,a.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var r,n,a=this.$locale().formats,i=(r=t,n=void 0===a?{}:a,r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,r,a){var s=a&&a.toUpperCase();return r||n[a]||e[a]||n[s].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,r){return t||r.slice(1)})}));return s.call(this,i)}}}()},88501:(e,t,r)=>{"use strict";r.d(t,{s:()=>a});var n=r(37876);r(14232);let a=e=>{let{children:t}=e;return(0,n.jsx)("div",{className:"p3 text-pretty text-red-700",children:t})}},91736:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(37876);r(14232);var a=r(57128);let s=e=>{let{size:t=a.or.Lg,className:r}=e;return(0,n.jsx)("svg",{className:r,width:t,height:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.7897 3.21029C15.0701 3.49068 15.0701 3.94526 14.7897 4.22563L6.41364 12.6013C6.13327 12.8817 5.67871 12.8817 5.39834 12.6013L1.2103 8.41367C0.929916 8.13331 0.929896 7.67873 1.21026 7.39834C1.49062 7.11795 1.9452 7.11793 2.22559 7.3983L5.90597 11.0783L13.7744 3.21027C14.0548 2.9299 14.5094 2.92991 14.7897 3.21029Z",fill:"currentColor"})})}},94504:(e,t,r)=>{"use strict";function n(e,t){return 0===t?0:e/t}function a(e,t){let[r,n]=t;return Math.min(e=Math.max(e,r),n)}
1function s(e){return e.toLocaleString("en-US")}function i(e){return e.toLocaleString("en-US",{notation:"compact",compactDisplay:"short",maximumFractionDigits:1})}r.d(t,{Qr:()=>n,ZV:()=>s,qE:()=>a,wk:()=>i})},96834:(e,t,r)=>{"use strict";r.d(t,{Y:()=>c,c:()=>d});var n=r(37876),a=r(69241),s=r(81014),i=r(2315),o=r(14232),l=r(29012);let u=o.createContext(null),c=e=>{let{children:t,name:r,label:a,defaultValue:i,value:c,size:d="medium",onChange:f}=e,[h,m]=(0,o.useState)(null!=c?c:i),p=(0,o.useId)();return(0,n.jsx)(u.Provider,{value:{name:null!=r?r:p,onChange:e=>{m(e),null==f||f(e)},selected:null!=c?c:h,groupId:p,controlled:void 0!==c,size:d},children:(0,n.jsx)(l.A,{as:"fieldset",label:a,required:!0,children:(0,n.jsx)("div",{className:"group/fieldset flex w-max rounded-md border border-gray-300 bg-gray-200",children:(0,n.jsx)(s.o,{children:t})})})})},d=e=>{let{children:t,value:r}=e,{name:s,onChange:l,selected:c,groupId:d,controlled:f,size:h}=(0,o.useContext)(u),m=(0,o.useId)(),[p,g]=(0,o.useState)(!1);(0,o.useEffect)(()=>{g(!0)},[]);let[v,y]=(0,o.useState)(!!c);return(0,o.useEffect)(()=>{c&&y(!0)},[c]),(0,n.jsxs)("label",{htmlFor:m,className:(0,a.A)("group peer has-checked:text-primary-dark h5 highlight:text-primary-dark relative -m-[1px] cursor-pointer rounded-md font-medium text-gray-700 transition-colors duration-150 select-none active:bg-gray-300","small"===h?"px-4 py-1.5":"px-5 py-3"),children:[(0,n.jsx)("input",{className:"invisible absolute",type:"radio",id:m,name:s,value:r,defaultChecked:f?void 0:c===r,checked:f?c===r:void 0,onChange:()=>{l(r)}}),(0,n.jsx)("div",{className:"relative z-5",children:t}),c===r&&(0,n.jsx)(i.P.span,{layout:v,layoutId:"".concat(d,"-").concat(s),transition:{type:"spring",stiffness:1e3,damping:40,mass:.5},initial:!!p&&!v&&{opacity:0,scale:0},animate:!!p&&!v&&{opacity:1,scale:1},"aria-hidden":"true",className:"absolute inset-0 rounded-md bg-white shadow-lg"})]})}},99361:(e,t,r)=>{"use strict";r.r(t),r.d(t,{apiGetSampleRecaps:()=>M,default:()=>y});var n=r(37876),a=r(56557),s=r.n(a),i=r(89099),o=r(14232),l=r(28755),u=r(70969),c=r(84588),d=r(8656),f=r(33353),h=r(25483),m=r(69565),p=r(42139),g=r(57424),v=r(96834);let y=()=>{let e=(0,h.A)(),t=(0,i.useRouter)(),[r,a]=o.useState(1),[u,y]=o.useState("edits");(0,o.useEffect)(()=>{if(!t.isReady)return;let e=t.query,n=parseInt(t.query.page);n?n!==r&&a(n):(e.page=r.toString(),t.replace({pathname:t.pathname,query:{page:r.toString(),by:t.query.by}},void 0,{shallow:!0}));let s=t.query.by;s?s!==u&&y(s):t.replace({pathname:t.pathname,query:{page:t.query.page,by:u}},void 0,{shallow:!0})},[t.isReady,r,u,t]);let{data:x,isSuccess:Y}=(0,d.IT)([f.I.recaps,r,u],()=>M(r,4,u),{enabled:e&&t.isReady,refetchOnWindowFocus:!1});return e?Y?x?(0,n.jsxs)("div",{className:"container mx-auto flex flex-col gap-6 px-4 py-8",children:[(0,n.jsx)("h1",{className:"p2",children:"Sampled student recaps"}),(0,n.jsxs)(v.Y,{label:"Sort by",defaultValue:u,onChange:e=>t.push({pathname:t.pathname,query:{page:r.toString(),by:e}}),children:[(0,n.jsx)(v.c,{value:"edits",children:"Last edited desc"}),(0,n.jsx)(v.c,{value:"created",children:"Created desc"})]}),(0,n.jsx)(p.A,{currentPage:r,totalPages:x.totalPages,handlePageChange:e=>t.push({pathname:t.pathname,query:{page:e.toString()}})}),(0,n.jsx)("div",{className:"flex flex-col gap-16",children:x.recaps.map(e=>{var t,r,a,i;let o=(0,c.Oe)((0,c.hf)(e.school.slug,e.course.slug)),u=(0,c.Oe)((0,c.Ci)({slugs:{school:e.school.slug,course:e.course.slug,cohort:e.cohort.slug}}).location()),d=(0,c.Oe)((0,c.yS)(e.current_recap.slug)),f=null!=(r=null!=(t=e.initial_recap.content)?t:e.initial_recap.default_template)?r:"",h=null!=(i=null!=(a=e.current_recap.content)?a:e.current_recap.default_template)?i:"",p=f!==h;return(0,n.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,n.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,n.jsxs)("div",{className:"flex flex-col rounded-lg border border-gray-300 p-6 shadow-md",children:[(0,n.jsx)("h3",{className:"l1 mb-4 font-medium text-gray-700",children:"\uD83C\uDFC1 Initial Recap"}),(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsx)(m.default,{content:f,type:m.EditorType.readonly,format:"wrap-up"})})]}),(0,n.jsxs)("div",{className:"flex flex-col rounded-lg border border-gray-300 p-6 shadow-md",children:[(0,n.jsx)("h3",{className:"l1 mb-4 font-medium text-gray-700",children:p?"\uD83D\uDFE2 Edited recap":"\uD83D\uDFE1 No recap edits"}),(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsx)(m.default,{content:h,type:m.EditorType.readonly,format:"wrap-up"})})]})]}),(0,n.jsx)("div",{className:"px-4 py-2 text-gray-800",children:(0,n.jsxs)("div",{className:"line-clamp-1 flex gap-2",children:[(0,n.jsx)(g.A,{className:"line-clamp-1 underline",href:o,children:(0,n.jsx)("p",{children:e.course.name})}),(0,n.jsxs)("p",{className:"",children:["ended ",s()(e.cohort.end_date).format(l.ow.DayOfWeekMonthDayYear)]})," |",(0,n.jsx)(g.A,{className:"underline",href:d,children:"wrapup"}),"|"," ",(0,n.jsx)(g.A,{className:"underline",href:u,children:"student home"})]})})]},e.user_id)})})]}):(0,n.jsx)("div",{children:"No data"}):(0,n.jsx)("div",{children:"Loading..."}):null};async function M(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"edits";return(0,u.Jt)("internal/recaps-sample?page=".concat(e,"&limit=").concat(t,"&sort_by=").concat(r))}}},e=>{e.O(0,[6701,6617,888,5352,2045,7790,8162,2553,9932,4688,6563,2315,7675,4182,301,3597,9565,636,6593,8792],()=>e(e.s=72756)),_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.