1/*! For license information please see customSso.app.d2ca127ed4b740f3b315.js.LICENSE.txt */ 2"use strict"; 3!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9055a73f-03ec-5acf-b2f7-c7a8bdf16757")}catch(e){}}(); 4(self.webpackChunkcodio_dashboard=self.webpackChunkcodio_dashboard||[]).push([[8987],{23633(e,t,n){n.d(t,{A:()=>u});n(96540);var a=n(94861),r=n(2543),o=n.n(r),i=n(76359),s=n(52038),l=n(74848),c=n(48320);const d=e=>{var t=(0,c.dC)(1);try{const{name:t,label:n,placeholder:a,readOnly:r,type:i="text",onChange:c=()=>{},onBlur:d=()=>{},onFocus:u=()=>{},onClickInput:h=()=>{},autoComplete:p="off",setValue:m,isPristine:f,required:g,errorMessage:w,isFormDisabled:A,value:x,fullWidth:y,forceValidate:v,needValidation:b=!0,showError:C,showRequired:j,autoFocus:S,startAdornment:R,endAdornment:k,hintText:N,disabled:M,maxRows:F,minRows:T,multiline:I,size:L,onKeyDown:O,inputProps:V,rows:$,sx:D}=e,P=e=>{let t=e.currentTarget.value;if("number"===i&&""!==t){const e=Number(t);t=isNaN(e)?t:e}m(t),c(t)},W=(v||!f)&&b&&(C||j);return(0,l.jsx)(s.A,{fullWidth:y,disabled:M||A,isError:W,required:g,label:n,name:t,placeholder:a,onChange:P,onBlur:d,onFocus:u,onClickInput:h,onKeyDown:O,readOnly:r,autoComplete:p,type:i,startAdornment:R,endAdornment:k,value:o().isUndefined(x)?"":x,autoFocus:S,errorMessage:w,hint:N,minRows:T,maxRows:F,multiline:I,size:L,inputProps:V,rows:$,sx:D})}finally{t.f()}};d.displayName="FormTextField";const u=o().flowRight(a.N$,i.s)(d)},68346(e,t,n){n.d(t,{Z:()=>o});var a=n(45182),r=n(14799);const o=(0,n(9594).Ay)(a.A)((({theme:e})=>({display:"flex",flexDirection:"column",alignSelf:"center",width:"100%",backgroundColor:(0,r.X4)(e.colorSchemes.light.palette.background.paper,.4),...e.applyStyles("dark",{backgroundColor:(0,r.X4)(e.colorSchemes.dark.palette.background.paper,.4)}),padding:e.spacing(6),gap:e.spacing(2),border:"none",[e.breakpoints.up("sm")]:{width:"600px"}})))},71494(e,t,n){n.d(t,{A:()=>s});var a=n(2543),r=n.n(a),o=n(59763),i=(n(96540),n(74848));const s=({id:e,confirmationText:t,captcha:n,captchaTemplate:a})=>(0,i.jsx)(o.A,{id:e,children:(()=>{const e=t.split(a);return 1===e.length?t:r().flatMap(e,((e,t)=>{const a=e?(0,i.jsx)(o.A,{component:"span",children:e},t):null;return 0===t?a:[(0,i.jsx)(o.A,{component:"span",sx:{fontWeight:"bold"},"aria-label":"captcha",children:n},`captcha-${t}`),a]}))})()})},1678(e,t,n){n.d(t,{A:()=>g});var a=n(2543),r=n.n(a),o=n(96540),i=n(12104),s=n(94861),l=n(13285),c=n(76288),d=n(41622),u=n(23633),h=n(52421),p=n(71494),m=n(74848);const f=o.forwardRef(((e,t)=>{const{validate:n,disabled:a,disableNo:f,waitFunc:g=()=>{},placeholder:w}=e,A=(0,o.useRef)(),[x,y]=o.useState(null),[v,b]=o.useState(null),[C,j]=o.useState(!1),[S,R]=o.use
4State((0,d.QG)(e.captcha)),[k,N]=o.useState(e.label||"Enter Code"),[M,F]=o.useState(e.confirmationText||"Confirmation code: {{{captcha}}}"),[T,I]=o.useState(!1),[L,O]=o.useState(!1),V=(0,o.useMemo)((()=>(0,d.$C)(8)),[]),$=(0,o.useCallback)((e=>{x(e),A.current?.close()}),[x]);(0,o.useImperativeHandle)(t,(()=>({open:e=>new i.Promise((t=>{y((()=>t)),b(e),R((0,d.QG)(e?.captcha||S||(0,d.qW)())),e?.label&&N(e.label),e?.confirmationText&&F(e.confirmationText),e?.skipCaptcha&&(O(e.skipCaptcha),I(!0)),A.current?.open()})),close:$})),[]);const D=(0,o.useCallback)((async()=>{const e=v||{};if(e.disabled||a)return;const t=i.Promise.try(e.waitFunc||g);t.isPending()&&j(!0);try{const a=await t,r=e.validate||n;(!r||r&&!1!==a)&&$(!0)}finally{j(!1)}}),[v,x,a,n,g]),P=()=>{((v||{}).disableNo||f)&&C||$()},W={};r().assign(W,e,v);const{buttonTitles:E}=W,z=C?c.FV.LOADING:c.FV.NORMAL,_=W.disabled||!T?c.FV.DISABLED:z,H=W.disableNo?z:c.FV.NORMAL,q=[{title:E?E[1]:"No",type:c.QW.TEXT,handler:P,state:H},{title:E?E[0]:"Yes",type:c.QW.PRIMARY,handler:D,state:_}],B=W.title||"Confirm",X=`confirmation-text-${V}`,G=L?null:(0,m.jsx)(s.Ay,{onValid:()=>I(!0),onInvalid:()=>I(!1),children:(0,m.jsxs)(l.A,{spacing:2,sx:{pt:2},children:[(0,m.jsx)(p.A,{id:X,captcha:S,captchaTemplate:"{{{captcha}}}",confirmationText:M}),(0,m.jsx)(u.A,{name:"confirm",required:!0,label:k,placeholder:w||S,fullWidth:!0,validations:{ignoreCase:S},onKeyDown:e=>{e.keyCode===h.Ri&&T&&(e.preventDefault(),D()),e.keyCode===h.wq&&(e.preventDefault(),P())},autoFocus:!0,inputProps:{"aria-labelledby":X}})]})});return(0,m.jsxs)(c.Ay,{ref:A,title:B,buttons:q,onClose:()=>x(),children:[W.children,G]})}));f.displayName="ModalConfirmPromisedWithCode";const g=f},52038(e,t,n){n.d(t,{A:()=>m});var a=n(53988),r=n(72287),o=n(23807),i=n(47086),s=n(96540),l=n(2543),c=n.n(l),d=n(41622),u=n(74848),h=n(48320);const p=s.forwardRef(((e,t)=>{var n=(0,h.dC)(1);try{const{inputRef:n,id:l,isError:h,label:p,name:m,placeholder:f,onChange:g,onBlur:w,onFocus:A,onClickInput:x,readOnly:y,autoComplete:v,type:b,startAdornment:C,endAdornment:j,value:S,defaultValue:R,autoFocus:k,errorMessage:N,hint:M,belowInput:F,size:T,rows:I,minRows:L,maxRows:O,multiline:V,onKeyDown:$,inputProps:D,...P}=e;let W=M;const E=l||(0,s.useMemo)((()=>(0,d.$C)(8)),[]);return W&&c().isString(W)&&(W=(0,u.jsx)(i.A,{error:!1,children:M})),(0,u.jsxs)(a.A,{error:h,...P,ref:t,children:[p?(0,u.jsx)(o.A,{htmlFor:E,children:p}):null,(0,u.jsx)(r.A,{id:E,inputRef:n,name:m,placeholder:f,hiddenLabel:!0,onChange:g,onBlur:w,onFocus:A,onClick:x,onKeyDown:$,readOnly:y,autoComplete:v,type:b,startAdornment:C,endAdornment:j,value:S,defaultValue:R,variant:"filled",autoFocus:k,size:T,rows:I,minRows:L,maxRows:O,multiline:V,inputProps:D}),h&&N?(0,u.jsx)(i.A,{children:N}):null,W||null,F||null]})}finally{n.f()}}));p.displayName="TextField";const m=p},52421(e,t,n){n.d(t,{Av:()=>x,Hm:()=>A,Pm:()=>f,Ql:()=>m,R:()=>p,Ri:()=>a,T1:()=>w,Wy:()=>g,YY:()=>i,dL:()=>s,gf:()=>u,iU:()=>d,iX:()=>l,iy:()=>o,u5:()=>c,wq:()=>r,zh:()=>h});const a=13,r=27,o=32,i=33,s=34,l=36,c=35,d=37,u=38,h=39,p=40,m=45,f=48,g=57,w=107,A=96,x=105},76359(e,t,n){n.d(t,{s:()=>o});var a=n(96540),r=n(74848);const o=e=>a.forwardRef(((t,n)=>((0,a.useImperativeHandle)(n,(()=>({setValue:e=>{t.setValue(e)},getValue:()=>t.value,resetValue:()=>t.resetValue(),isValid:()=>t.isValid,isPristine:()=>t.isPristine}))),(0,r.jsx)(e,{...t}))))},72804(e,t,n){n.d(t,{A:()=>o});var a=n(13285),r=(n(96540),n(74848));const o=({children:e,...t})=>{const{sx:n,...o}=t||{};return(0,r.jsx)(a.A,{sx:{minHeight:"100%"},children:(0,r.jsx)(a.A,{direction:{xs:"column-reverse",md:"row"},sx:{justifyContent:"center",gap:{xs:6,sm:12},p:{xs:2,sm:4},m:"auto",...n},...o,children:e})})}},39026(e,t,n){n.d(t,{A:()=>p});var a=n(13285),r=n(59763),o=n(96540),i=n(2543),s=n.n(i),l=n(1678),c=n(34619),d=n(74713),u=n(5608),h=n(74848);const p=o.forwardRef(((e,t)=>{const n=o.useRef(),i=o.useRef(),p=()=>{n.current?.close()};return(0,o.useImperativeHandle)(t,(()=>({open:()=>n.current?.open(),close:p,login:async e=>{let t;try{return await c.A.login(s().trim(e.user),e.password,e.isRememberMe,!1)}catch(e){if(e.message&&e.message.includes(d.nk.STRICT_SSO_VIOLATION)){return await(i.current?.open(e.message))||(window.location.href="/home"),null}if(!e.message||!e.message.includes("NOT_ALLOWED_SINGLE_LOGIN"))throw e;t=!0}if(t){return await(n.current?.open())?c.A.login(s().trim(e.user),e.password,e.isRememberMe,!0):null}},logout:async()=>{let e=!1;try{await c.A.logout()}catch(t){if(!t.message||!t.message.includes("NOT_ALLOWED_SINGLE_LOGIN"))throw t;e=!0}if(e){if(!await(n.current?.open()))return;await c.A.logout(!0)}}})),[]),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(l.A,{ref:n,title:"Clear Single Login Status",children:(0,h.jsxs)(a.A,{spacing:2,children:[(0,h.jsx)(r.A,{children:"You have an assignment in exam proctoring mode that is not marked as complete. Do you want to mark the assignment as complete to clear this status?"}),(0,h.jsx)(r.A,{children:"To complete this action, please enter the confirmation code below."})]})}),(0,h.jsx)(u.A,{ref:i})]})}))}
4,54630(e,t,n){n.r(t),n.d(t,{default:()=>f});var a=n(242),r=n(13285),o=n(59763),i=n(60673),s=n(96540),l=n(58297),c=n(25703),d=n(72804),u=n(68346),h=n(66774),p=n(39026),m=n(74848);const f=(0,c.A)((e=>{const t=s.useRef(),n=new URLSearchParams(window.location.search),c=t=>{const{slug:a}=e.router.params;let r=`${l.A.oauthUrl}loginBySso/${a}`;t&&(r+="?submitStrict=true");const o=n.get("prevUrl");return o&&(r+=t?`&prevUrl=${o}`:`?prevUrl=${o}`),r};return(0,s.useEffect)((()=>{(async()=>{let e=!1;"true"===(n.get("querySubmitStrict")||"false")&&(e=await(t.current?.open())),window.location=c(e)})()}),[]),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(d.A,{children:[(0,m.jsxs)(r.A,{sx:{flexDirection:"column",alignSelf:"center",gap:1,maxWidth:450},children:[(0,m.jsx)(i.A,{sx:{display:{xs:"none",md:"flex"}},children:(0,m.jsx)(h.A,{})}),(0,m.jsx)(o.A,{variant:"h2",children:"Log in to your account"})]}),(0,m.jsx)(r.A,{spacing:1,sx:{alignSelf:"center"},children:(0,m.jsx)(u.Z,{variant:"outlined",children:(0,m.jsx)(r.A,{sx:{width:"100%"},children:(0,m.jsx)(a.A,{sx:{alignSelf:"center"},href:c(),children:"Login"})})})})]}),(0,m.jsx)(p.A,{ref:t})]})}))},66774(e,t,n){n.d(t,{A:()=>f});var a=n(96540),r=n(79675),o=n(97909),i=n(74848);const s=({interactive:e})=>{const t=e?o.H:o.c;return(0,i.jsx)(r.A,{variant:"rectangular",width:t.width,height:t.height})};var l=n(47843);const c=()=>(0,i.jsx)(r.A,{variant:"rectangular",width:l.c.width,height:l.c.height});var d=n(95842);const u=()=>(0,i.jsx)(r.A,{variant:"rectangular",width:d.c.width,height:d.c.height});var h=n(58297);const p={default:(0,a.lazy)((()=>n.e(507).then(n.bind(n,70507)))),umich:(0,a.lazy)((()=>n.e(8195).then(n.bind(n,18195)))),rasa:(0,a.lazy)((()=>n.e(2961).then(n.bind(n,82961))))},m={default:(0,i.jsx)(s,{}),umich:(0,i.jsx)(c,{}),rasa:(0,i.jsx)(u,{})},f=e=>{const t=h.A.themeName||"default",n=p[t];if(!n)return null;const r=m[t];return(0,i.jsx)(a.Suspense,{fallback:r,children:(0,i.jsx)(n,{...e})})}},97909(e,t,n){n.d(t,{H:()=>r,c:()=>a});const a={width:150,height:28},r={height:28,width:147}},47843(e,t,n){n.d(t,{c:()=>a});const a={width:103,height:50}},95842(e,t,n){n.d(t,{c:()=>a});const a={width:150,height:28}},45182(e,t,n){n.d(t,{A:()=>m});var a=n(96540),r=n(34164),o=n(46797),i=n(9594),s=n(54317),l=n(72515),c=n(16051),d=n(34947);function u(e){return(0,d.Ay)("MuiCard",e)}(0,c.A)("MuiCard",["root"]);var h=n(74848);const p=(0,i.Ay)(l.A,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),m=a.forwardRef((function(e,t){const n=(0,s.b)({props:e,name:"MuiCard"}),{className:a,raised:i=!1,...l}=n,c={...n,raised:i},d=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"]},u,t)})(c);return(0,h.jsx)(p,{className:(0,r.A)(d.root,a),elevation:i?8:void 0,ref:t,ownerState:c,...l})}))},9404(e,t,n){n.d(t,{A:()=>o,W:()=>i});var a=n(96540),r=n(44956);function o(){return a.useContext(r.A)}function i({props:e,states:t}){const n=a.useContext(r.A),o={};return t.forEach((t=>{const a=e[t];o[t]=void 0===a&&n?n[t]:a})),[o,n]}},13531(e,t,n){n.d(t,{A:()=>i,T:()=>o});var a=n(16051),r=n(34947);function o(e){return(0,r.Ay)("MuiSelect",e)}const i=(0,a.A)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","nativeInput","error"])}
4,79675(e,t,n){n.d(t,{A:()=>b});var a=n(96540),r=n(34164),o=n(46797);function i(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function s(e){return parseFloat(e)}var l=n(17437),c=n(9594),d=n(96942),u=n(54317),h=n(42788),p=n(16051),m=n(34947);function f(e){return(0,m.Ay)("MuiSkeleton",e)}(0,p.A)("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);var g=n(74848);const w=l.i7` 5 0% { 6 opacity: 1; 7 } 8 9 50% { 10 opacity: 0.4; 11 } 12 13 100% { 14 opacity: 1; 15 } 16`,A=l.i7` 17 0% { 18 transform: translateX(-100%); 19 } 20 21 50% { 22 /* +0.5s of delay between each loop */ 23 transform: translateX(100%); 24 } 25 26 100% { 27 transform: translateX(100%); 28 } 29`,x="string"!=typeof w?l.AH` 30 animation: ${w} 2s ease-in-out 0.5s infinite; 31 `:null,y="string"!=typeof A?l.AH` 32 &::after { 33 animation: ${A} 2s linear 0.5s infinite; 34 } 35 `:null,v=(0,c.Ay)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!1!==n.animation&&t[n.animation],n.hasChildren&&t.withChildren,n.hasChildren&&!n.width&&t.fitContent,n.hasChildren&&!n.height&&t.heightAuto]}})((0,d.A)((({theme:e})=>{const t=i(e.shape.borderRadius)||"px",n=s(e.shape.borderRadius),a=(0,h.z6)(e,{animation:"none"}),r=(0,h.z6)(e,{"&::after":{animation:"none",display:"none"}});return{display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:e.alpha(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${n}${t}/${Math.round(n/.6*10)/10}${t}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:({ownerState:e})=>e.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:e})=>e.hasChildren&&!e.width,style:{maxWidth:"fit-content"}},{props:({ownerState:e})=>e.hasChildren&&!e.height,style:{height:"auto"}},{props:{animation:"pulse"},style:x||{animation:`${w} 2s ease-in-out 0.5s infinite`}},...a?[{props:{animation:"pulse"},style:a}]:[],{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient(\n 90deg,\n transparent,\n ${(e.vars||e).palette.action.hover},\n transparent\n )`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:y||{"&::after":{animation:`${A} 2s linear 0.5s infinite`}}},...r?[{props:{animation:"wave"},style:r}]:[]]}}))),b=a.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiSkeleton"}),{animation:a="pulse",className:i,component:s="span",height:l,style:c,variant:d="text",width:h,...p}=n,m={...n,animation:a,component:s,variant:d,hasChildren:Boolean(p.children)},w=(e=>{const{classes:t,variant:n,animation:a,hasChildren:r,width:i,height:s}=e,l={root:["root",n,a,r&&"withChildren",r&&!i&&"fitContent",r&&!s&&"heightAuto"]};return(0,o.A)(l,f,t)})(m);return(0,g.jsx)(v,{as:s,ref:t,className:(0,r.A)(w.root,i),ownerState:m,...p,style:{width:h,height:l,...c}})}))}}]); 36//# sourceMappingURL=http://sourcemaps.codio.test:22334/dashboard/js/customSso.app.d2ca127ed4b740f3b315.js.map 37//# debugId=9055a73f-03ec-5acf-b2f7-c7a8bdf16757
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.