@eclass/ui-kit 1.18.0 → 1.18.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eclass-ui-kit.es.js +8 -3
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +1 -1
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/molecules/Tooltip/{Tooltip.d.ts → NewTooltip.d.ts} +3 -1
- package/dist/molecules/index.d.ts +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -408,5 +408,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
408
408
|
`},gD=function(e){var t=w.useState(ww(e.gapMode)),r=t[0],n=t[1];w.useEffect(function(){n(ww(e.gapMode))},[e.gapMode]);var i=e.noRelative,a=e.noImportant,o=e.gapMode,l=o===void 0?"margin":o;return w.createElement(hD,{styles:mD(r,!i,l,a?"":"!important")})},yD=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},bD=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},Cw=function(e,t){var r=t;do{var n=Ew(e,r);if(n){var i=kw(e,r),a=i[1],o=i[2];if(a>o)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},xD=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},SD=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Ew=function(e,t){return e==="v"?yD(t):bD(t)},kw=function(e,t){return e==="v"?xD(t):SD(t)},wD=function(e,t,r,n,i){var a=n,o=r.target,l=t.contains(o),s=!1,u=a>0,c=0,d=0;do{var f=kw(e,o),p=f[0],h=f[1],y=f[2],v=h-y-p;(p||v)&&Ew(e,o)&&(c+=v,d+=p),o=o.parentNode}while(!l&&o!==document.body||l&&(t.contains(o)||t===o));return(u&&(i&&c===0||!i&&a>c)||!u&&(i&&d===0||!i&&-a>d))&&(s=!0),s},eh=!1;if(typeof window!="undefined")try{var qu=Object.defineProperty({},"passive",{get:function(){return eh=!0,!0}});window.addEventListener("test",qu,qu),window.removeEventListener("test",qu,qu)}catch{eh=!1}var ta=eh?{passive:!1}:!1,Qu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Tw=function(e){return[e.deltaX,e.deltaY]},Pw=function(e){return e&&"current"in e?e.current:e},CD=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ED=function(e){return`
|
|
409
409
|
.block-interactivity-`+e+` {pointer-events: none;}
|
|
410
410
|
.allow-interactivity-`+e+` {pointer-events: all;}
|
|
411
|
-
`},kD=0,ra=[];function TD(e){var t=w.useRef([]),r=w.useRef([0,0]),n=w.useRef(),i=w.useState(kD++)[0],a=w.useState(function(){return Sw()})[0],o=w.useRef(e);w.useEffect(function(){o.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+i);var y=[e.lockRef.current].concat((e.shards||[]).map(Pw)).filter(Boolean);return y.forEach(function(v){return v.classList.add("allow-interactivity-"+i)}),function(){document.body.classList.remove("block-interactivity-"+i),y.forEach(function(v){return v.classList.remove("allow-interactivity-"+i)})}}},[e.inert,e.lockRef.current,e.shards]);var l=w.useCallback(function(y,v){if("touches"in y&&y.touches.length===2)return!o.current.allowPinchZoom;var m=Qu(y),g=r.current,b="deltaX"in y?y.deltaX:g[0]-m[0],x="deltaY"in y?y.deltaY:g[1]-m[1],C,P=y.target,E=Math.abs(b)>Math.abs(x)?"h":"v",A=Cw(E,P);if(!A)return!0;if(A?C=E:(C=E==="v"?"h":"v",A=Cw(E,P)),!A)return!1;if(!n.current&&"changedTouches"in y&&(b||x)&&(n.current=C),!C)return!0;var _=n.current||C;return wD(_,v,y,_==="h"?b:x,!0)},[]),s=w.useCallback(function(y){var v=y;if(!(!ra.length||ra[ra.length-1]!==a)){var m="deltaY"in v?Tw(v):Qu(v),g=t.current.filter(function(C){return C.name===v.type&&C.target===v.target&&CD(C.delta,m)})[0];if(g&&g.should){v.preventDefault();return}if(!g){var b=(o.current.shards||[]).map(Pw).filter(Boolean).filter(function(C){return C.contains(v.target)}),x=b.length>0?l(v,b[0]):!o.current.noIsolation;x&&v.preventDefault()}}},[]),u=w.useCallback(function(y,v,m,g){var b={name:y,delta:v,target:m,should:g};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(x){return x!==b})},1)},[]),c=w.useCallback(function(y){r.current=Qu(y),n.current=void 0},[]),d=w.useCallback(function(y){u(y.type,Tw(y),y.target,l(y,e.lockRef.current))},[]),f=w.useCallback(function(y){u(y.type,Qu(y),y.target,l(y,e.lockRef.current))},[]);w.useEffect(function(){return ra.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",s,ta),document.addEventListener("touchmove",s,ta),document.addEventListener("touchstart",c,ta),function(){ra=ra.filter(function(y){return y!==a}),document.removeEventListener("wheel",s,ta),document.removeEventListener("touchmove",s,ta),document.removeEventListener("touchstart",c,ta)}},[]);var p=e.removeScrollBar,h=e.inert;return w.createElement(w.Fragment,null,h?w.createElement(a,{styles:ED(i)}):null,p?w.createElement(gD,{gapMode:"margin"}):null)}var PD=fB(xw,TD),_w=w.forwardRef(function(e,t){return w.createElement(Zu,ea({},e,{ref:t,sideCar:PD}))});_w.classNames=Zu.classNames;var _D=_w,OD=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},na=new WeakMap,Ju=new WeakMap,ec={},th=0,AD=function(e,t,r){t===void 0&&(t=OD(e)),r===void 0&&(r="data-aria-hidden");var n=Array.isArray(e)?e:[e];ec[r]||(ec[r]=new WeakMap);var i=ec[r],a=[],o=new Set,l=function(u){!u||o.has(u)||(o.add(u),l(u.parentNode))};n.forEach(l);var s=function(u){!u||n.indexOf(u)>=0||Array.prototype.forEach.call(u.children,function(c){if(o.has(c))s(c);else{var d=c.getAttribute("aria-hidden"),f=d!==null&&d!=="false",p=(na.get(c)||0)+1,h=(i.get(c)||0)+1;na.set(c,p),i.set(c,h),a.push(c),p===1&&f&&Ju.set(c,!0),h===1&&c.setAttribute(r,"true"),f||c.setAttribute("aria-hidden","true")}})};return s(t),o.clear(),th++,function(){a.forEach(function(u){var c=na.get(u)-1,d=i.get(u)-1;na.set(u,c),i.set(u,d),c||(Ju.has(u)||u.removeAttribute("aria-hidden"),Ju.delete(u)),d||u.removeAttribute(r)}),th--,th||(na=new WeakMap,na=new WeakMap,Ju=new WeakMap,ec={})}};function Yn(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function De(){return De=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},De.apply(this,arguments)}var FD=["preset"],MD={slideInBottom:De({},pS,{custom:{offsetY:16,reverse:!0}}),slideInRight:De({},pS,{custom:{offsetX:16,reverse:!0}}),scale:De({},WI,{custom:{initialScale:.95,reverse:!0}}),none:{}},RD=re(Bu.section),ID=w.forwardRef(function(e,t){var r=e.preset,n=Yn(e,FD),i=MD[r];return w.createElement(RD,De({ref:t},i,n))}),LD=function(){function e(){this.modals=void 0,this.modals=[]}var t=e.prototype;return t.add=function(n){this.modals.push(n)},t.remove=function(n){this.modals=this.modals.filter(function(i){return i!==n})},t.isTopModal=function(n){var i=this.modals[this.modals.length-1];return i===n},e}(),rh=new LD;function BD(e,t){M.useEffect(function(){return t&&rh.add(e),function(){rh.remove(e)}},[t,e])}function DD(e){var t=e.isOpen,r=e.onClose,n=e.id,i=e.closeOnOverlayClick,a=i===void 0?!0:i,o=e.closeOnEsc,l=o===void 0?!0:o,s=e.useInert,u=s===void 0?!0:s,c=e.onOverlayClick,d=e.onEsc,f=M.useRef(null),p=M.useRef(null),h=KC(n,"chakra-modal","chakra-modal--header","chakra-modal--body"),y=h[0],v=h[1],m=h[2];zD(f,t&&u),BD(f,t);var g=M.useRef(null),b=M.useCallback(function(q){g.current=q.target},[]),x=M.useCallback(function(q){q.key==="Escape"&&(q.stopPropagation(),l&&(r==null||r()),d==null||d())},[l,r,d]),C=M.useState(!1),P=C[0],E=C[1],A=M.useState(!1),_=A[0],$=A[1],Y=M.useCallback(function(q,J){return q===void 0&&(q={}),J===void 0&&(J=null),De({role:"dialog"},q,{ref:ma(J,f),id:y,tabIndex:-1,"aria-modal":!0,"aria-labelledby":P?v:void 0,"aria-describedby":_?m:void 0,onClick:Ut(q.onClick,function(ue){return ue.stopPropagation()})})},[m,_,y,v,P]),X=M.useCallback(function(q){q.stopPropagation(),g.current===q.target&&(!rh.isTopModal(f)||(a&&(r==null||r()),c==null||c()))},[r,a,c]),G=M.useCallback(function(q,J){return q===void 0&&(q={}),J===void 0&&(J=null),De({},q,{ref:ma(J,p),onClick:Ut(q.onClick,X),onKeyDown:Ut(q.onKeyDown,x),onMouseDown:Ut(q.onMouseDown,b)})},[x,b,X]);return{isOpen:t,onClose:r,headerId:v,bodyId:m,setBodyMounted:$,setHeaderMounted:E,dialogRef:f,overlayRef:p,getDialogProps:Y,getDialogContainerProps:G}}function zD(e,t){var r=e.current;M.useEffect(function(){if(!(!e.current||!t))return AD(e.current)},[t,e,r])}var $D=["className","children","containerProps"],ND=["className","transition"],VD=["className"],jD=["className"],HD=["className"],WD=["onClick","className"],Ow=wn({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),UD=Ow[0],Xn=Ow[1],nh=function(t){var r=t.portalProps,n=t.children,i=t.autoFocus,a=t.trapFocus,o=t.initialFocusRef,l=t.finalFocusRef,s=t.returnFocusOnClose,u=t.blockScrollOnMount,c=t.allowPinchZoom,d=t.preserveScrollBarGap,f=t.motionPreset,p=t.lockFocusAcrossFrames,h=t.onCloseComplete,y=e1("Modal",t),v=DD(t),m=De({},v,{autoFocus:i,trapFocus:a,initialFocusRef:o,finalFocusRef:l,returnFocusOnClose:s,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:d,motionPreset:f,lockFocusAcrossFrames:p});return w.createElement(UD,{value:m},w.createElement(jT,{value:y},w.createElement(Sv,{onExitComplete:h},m.isOpen&&w.createElement(po,r,n))))};nh.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"};var GD=re(Bu.div),YD=Fe(function(e,t){var r=e.className,n=e.children,i=e.containerProps,a=Yn(e,$D),o=Xn(),l=o.getDialogProps,s=o.getDialogContainerProps,u=l(a,t),c=s(i),d=Ue("chakra-modal__content",r),f=Ii(),p=De({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},f.dialog),h=De({display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},position:"fixed",left:0,top:0},f.dialogContainer),y=Xn(),v=y.motionPreset;return w.createElement(XD,null,w.createElement(re.div,De({},c,{className:"chakra-modal__content-container",tabIndex:-1,__css:h}),w.createElement(ID,De({preset:v,className:d},u,{__css:p}),n)))});function XD(e){var t=Xn(),r=t.autoFocus,n=t.trapFocus,i=t.dialogRef,a=t.initialFocusRef,o=t.blockScrollOnMount,l=t.allowPinchZoom,s=t.finalFocusRef,u=t.returnFocusOnClose,c=t.preserveScrollBarGap,d=t.lockFocusAcrossFrames,f=fv(),p=f[0],h=f[1];return w.useEffect(function(){!p&&h&&setTimeout(h)},[p,h]),w.createElement(nD,{autoFocus:r,isDisabled:!n,initialFocusRef:a,finalFocusRef:s,restoreFocus:u,contentRef:i,lockFocusAcrossFrames:d},w.createElement(_D,{removeScrollBar:!c,allowPinchZoom:l,enabled:o,forwardProps:!0},e.children))}var KD=Fe(function(e,t){var r=e.className;e.transition;var n=Yn(e,ND),i=Ue("chakra-modal__overlay",r),a=Ii(),o=De({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},a.overlay),l=Xn(),s=l.motionPreset,u=s==="none"?{}:jI;return w.createElement(GD,De({},u,{__css:o,ref:t,className:i},n))}),ZD=Fe(function(e,t){var r=e.className,n=Yn(e,VD),i=Xn(),a=i.headerId,o=i.setHeaderMounted;w.useEffect(function(){return o(!0),function(){return o(!1)}},[o]);var l=Ue("chakra-modal__header",r),s=Ii(),u=De({flex:0},s.header);return w.createElement(re.header,De({ref:t,className:l,id:a},n,{__css:u}))}),qD=Fe(function(e,t){var r=e.className,n=Yn(e,jD),i=Xn(),a=i.bodyId,o=i.setBodyMounted;w.useEffect(function(){return o(!0),function(){return o(!1)}},[o]);var l=Ue("chakra-modal__body",r),s=Ii();return w.createElement(re.div,De({ref:t,className:l,id:a},n,{__css:s.body}))}),QD=Fe(function(e,t){var r=e.className,n=Yn(e,HD),i=Ue("chakra-modal__footer",r),a=Ii(),o=De({display:"flex",alignItems:"center",justifyContent:"flex-end"},a.footer);return w.createElement(re.footer,De({ref:t},n,{__css:o,className:i}))}),JD=Fe(function(e,t){var r=e.onClick,n=e.className,i=Yn(e,WD),a=Xn(),o=a.onClose,l=Ue("chakra-modal__close-btn",n),s=Ii();return w.createElement(d8,De({ref:t,__css:s.closeButton,className:l,onClick:Ut(r,function(u){u.stopPropagation(),o()})},i))});wn(),re(YI);function Aw(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function ia(){return ia=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ia.apply(this,arguments)}var ez=ni({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),tz=ni({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});ni({"0%":{left:"-40%"},"100%":{left:"100%"}}),ni({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function rz(e){var t=e.value,r=t===void 0?0:t,n=e.min,i=e.max,a=e.valueText,o=e.getValueText,l=e.isIndeterminate,s=HC(r,n,i),u=function(){if(r!=null)return Br(o)?o(r,s):a};return{bind:{"data-indeterminate":l?"":void 0,"aria-valuemax":i,"aria-valuemin":n,"aria-valuenow":l?void 0:r,"aria-valuetext":u(),role:"progressbar"},percent:s,value:r}}var nz=["size","isIndeterminate"],iz=["size","max","min","valueText","getValueText","value","capIsRound","children","thickness","color","trackColor","isIndeterminate"],Fw=function(t){return w.createElement(re.circle,ia({cx:50,cy:50,r:42,fill:"transparent"},t))},az=function(t){var r=t.size,n=t.isIndeterminate,i=Aw(t,nz);return w.createElement(re.svg,ia({viewBox:"0 0 100 100",__css:{width:r,height:r,animation:n?tz+" 2s linear infinite":void 0}},i))},oz=function(t){var r,n=t.size,i=n===void 0?"48px":n,a=t.max,o=a===void 0?100:a,l=t.min,s=l===void 0?0:l,u=t.valueText,c=t.getValueText,d=t.value,f=t.capIsRound,p=t.children,h=t.thickness,y=h===void 0?"10px":h,v=t.color,m=v===void 0?"#0078d4":v,g=t.trackColor,b=g===void 0?"#edebe9":g,x=t.isIndeterminate,C=Aw(t,iz),P=rz({min:s,max:o,value:d,valueText:u,getValueText:c,isIndeterminate:x}),E=x?void 0:((r=P.percent)!=null?r:0)*2.64,A=hC(E)?void 0:E+" "+(264-E),_=x?{css:{animation:ez+" 1.5s linear infinite"}}:{strokeDashoffset:66,strokeDasharray:A,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},$={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:i};return w.createElement(re.div,ia({className:"chakra-progress"},P.bind,C,{__css:$}),w.createElement(az,{size:i,isIndeterminate:x},w.createElement(Fw,{stroke:b,strokeWidth:y,className:"chakra-progress__track"}),w.createElement(Fw,ia({stroke:m,strokeWidth:y,className:"chakra-progress__indicator",strokeLinecap:f?"round":void 0,opacity:P.value===0&&!x?0:void 0},_))),p)};re("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});function tr(){return tr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tr.apply(this,arguments)}function Mw(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var lz={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},sz=["openDelay","closeDelay","closeOnClick","closeOnMouseDown","closeOnEsc","onOpen","onClose","placement","id","isOpen","defaultIsOpen","arrowSize","arrowShadowColor","arrowPadding","modifiers","isDisabled","gutter","offset","direction"];function uz(e){e===void 0&&(e={});var t=e,r=t.openDelay,n=r===void 0?0:r,i=t.closeDelay,a=i===void 0?0:i,o=t.closeOnClick,l=o===void 0?!0:o,s=t.closeOnMouseDown,u=t.closeOnEsc,c=u===void 0?!0:u,d=t.onOpen,f=t.onClose,p=t.placement,h=t.id,y=t.isOpen,v=t.defaultIsOpen,m=t.arrowSize,g=m===void 0?10:m,b=t.arrowShadowColor,x=t.arrowPadding,C=t.modifiers,P=t.isDisabled,E=t.gutter,A=t.offset,_=t.direction,$=Mw(t,sz),Y=Pm({isOpen:y,defaultIsOpen:v,onOpen:d,onClose:f}),X=Y.isOpen,G=Y.onOpen,q=Y.onClose,J=JL({enabled:X,placement:p,arrowPadding:x,modifiers:C,gutter:E,offset:A,direction:_}),ue=J.referenceRef,ce=J.getPopperProps,$e=J.getArrowInnerProps,Ce=J.getArrowProps,Ie=Lc(h,"tooltip"),R=w.useRef(null),N=w.useRef(),D=w.useRef(),z=w.useCallback(function(){P||(N.current=window.setTimeout(G,n))},[P,G,n]),V=w.useCallback(function(){N.current&&clearTimeout(N.current),D.current=window.setTimeout(q,a)},[a,q]),te=w.useCallback(function(){l&&V()},[l,V]),ye=w.useCallback(function(){s&&V()},[s,V]),Ee=w.useCallback(function(be){X&&be.key==="Escape"&&V()},[X,V]);km("keydown",c?Ee:void 0),w.useEffect(function(){return function(){clearTimeout(N.current),clearTimeout(D.current)}},[]),km("mouseleave",V,function(){return R.current});var He=w.useCallback(function(be,ot){be===void 0&&(be={}),ot===void 0&&(ot=null);var Ht=tr({},be,{ref:ma(R,ot,ue),onMouseEnter:Ut(be.onMouseEnter,z),onClick:Ut(be.onClick,te),onMouseDown:Ut(be.onMouseDown,ye),onFocus:Ut(be.onFocus,z),onBlur:Ut(be.onBlur,V),"aria-describedby":X?Ie:void 0});return Ht},[z,V,ye,X,Ie,te,ue]),bn=w.useCallback(function(be,ot){var Ht;return be===void 0&&(be={}),ot===void 0&&(ot=null),ce(tr({},be,{style:tr({},be.style,(Ht={},Ht[Je.arrowSize.var]=g?Ll(g):void 0,Ht[Je.arrowShadowColor.var]=b,Ht))}),ot)},[ce,g,b]),Zn=w.useCallback(function(be,ot){be===void 0&&(be={}),ot===void 0&&(ot=null);var Ht=tr({ref:ot},$,be,{id:Ie,role:"tooltip",style:tr({},be.style,{position:"relative",transformOrigin:Je.transformOrigin.varRef})});return Ht},[$,Ie]);return{isOpen:X,show:z,hide:V,getTriggerProps:He,getTooltipProps:Zn,getTooltipPositionerProps:bn,getArrowProps:Ce,getArrowInnerProps:$e}}var cz=["children","label","shouldWrapChildren","aria-label","hasArrow","bg","portalProps","background","backgroundColor","bgColor"],fz=re(Bu.div),dz=Fe(function(e,t){var r,n,i=on("Tooltip",e),a=an(e),o=Qy(),l=a.children,s=a.label,u=a.shouldWrapChildren,c=a["aria-label"],d=a.hasArrow,f=a.bg,p=a.portalProps,h=a.background,y=a.backgroundColor,v=a.bgColor,m=Mw(a,cz),g=(r=(n=h!=null?h:y)!=null?n:f)!=null?r:v;g&&(i.bg=g,i[Je.arrowBg.var]=xC(o,"colors",g));var b=uz(tr({},m,{direction:o.direction})),x=Fl(l)||u,C;if(x)C=w.createElement(re.span,tr({tabIndex:0},b.getTriggerProps()),l);else{var P=w.Children.only(l);C=w.cloneElement(P,b.getTriggerProps(P.props,P.ref))}var E=!!c,A=b.getTooltipProps({},t),_=E?Ml(A,["role","id"]):A,$=pm(A,["role","id"]);return s?w.createElement(w.Fragment,null,C,w.createElement(Sv,null,b.isOpen&&w.createElement(po,p,w.createElement(re.div,tr({},b.getTooltipPositionerProps(),{__css:{zIndex:i.zIndex,pointerEvents:"none"}}),w.createElement(fz,tr({variants:lz},_,{initial:"exit",animate:"enter",exit:"exit",__css:i}),s,E&&w.createElement(gS,$,c),d&&w.createElement(re.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},w.createElement(re.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:i.bg}}))))))):w.createElement(w.Fragment,null,l)}),pz=JT;pz.defaultProps={theme:F1};function vz(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=[].concat(t),i=t[t.length-1];return YA(i)&&n.length>1?n=n.slice(0,n.length-1):i=F1,zC.apply(void 0,n.map(function(a){return function(o){return Br(a)?a(o):hz(o,a)}}))(i)}function hz(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.apply(void 0,[{}].concat(t,[Rw]))}function Rw(e,t,r,n){if((Br(e)||Br(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var i=Br(e)?e.apply(void 0,arguments):e,a=Br(t)?t.apply(void 0,arguments):t;return Ot({},i,a,Rw)}}const tc={deepSkyBlue:"#0189FF",azureRadiance:"#017BE5",blueGrey:"#60798E",veryLightBlue:"#E0EEFA",linkWater:"#C7DEF2",ziggurat:"#B0CFE0"},Kn={main:tc,secondary:{pumpkin:"#FF7A14",polishedBronze:"#CD7F32",cornsilk:"#FFF5DF",linen:"#F8ECE0"},alert:{deepSkyBlue:tc.deepSkyBlue,veryLightBlue:tc.veryLightBlue,jadeGreen:"#28A745",ice:"#E9F6EC",red:"#CC0000",veryLightPinkThree:"#F9DFDF",orangeyYelow:"#F5A623",pale:"#FDEED6"},icon:{cetaceanBlue:"#08044F",deepSkyBlue:tc.deepSkyBlue,lightSeaGreen:"#1EBDAF",orangeRed:"#FF554D",ripeMango:"#FFBC27"},neutral:{darkCharcoal:"#2F2F2F",davysGrey:"#5C5C5C",gray:"#808080",spanishGrey:"#999999",silverSand:"#C6C6C6",platinum:"#E8E8E8",cultured:"#F4F4F4",cultured2:"#F8F8F8",white:"#FFFFFF"}},mz={global:e=>({".react-ripples":{h:"100%",display:"grid!important"},".chakra-button":{borderStyle:"none"},".chakra-modal__content-container":{padding:"1.87rem",zIndex:"1400",justifyContent:"center",alignItems:"center",overflow:"auto"},".chakra-modal__content":{borderRadius:"0.5rem",background:"white",color:"inherit",zIndex:"1400",maxWidth:"36.813rem",boxShadow:"0px 4px 16px rgba(92, 92, 92, 0.2)"},".chakra-modal__header":{paddingInlineStart:"1.5rem",paddingInlineEnd:"1.5rem",fontSize:"1.25rem",fontWeight:"700",textAlign:"center",".chakra-icon":{width:"13rem"}},".chakra-modal__close-btn":{width:"2rem",height:"2rem",borderRadius:"0.5rem",fontSize:"0.75rem",position:"absolute",top:"0.5rem",right:"0.75rem",color:"#60798E",backgroundColor:"transparent",borderStyle:"none"}})},ll="solid .063rem",gz={borders:{normal:`${ll} ${Kn.neutral.darkCharcoal}`,light:`${ll} ${Kn.neutral.platinum}`,active:`${ll} ${Kn.main.deepSkyBlue}`,success:`${ll} ${Kn.alert.jadeGreen}`,error:`${ll} ${Kn.alert.red}`,white:`solid .125rem ${Kn.neutral.white}`},radii:{small:".25rem",big:".5rem",rounded:"50%"},shadows:{sm:"0 .125rem .5rem 0 rgba(0,0,0,.20)",md:"0 .25rem 1rem 0 rgba(0,0,0,.20)",lg:"0 .5rem 2rem 0 rgba(0,0,0,.20)"},space:{xxs:".25rem",xs:".5rem",s:"1rem",m:"1.5rem",l:"2rem",xl:"3rem",xxl:"5rem"}};var X$="",K$="",Z$="",q$="",Q$="";const yz={fonts:{body:"Roboto",outstanding:"Lora"}},bz=vz(B(I(I({colors:Kn},gz),yz),{styles:mz})),U=e=>`var(--chakra-${e})`;function sl({children:e,bg:t=U("colors-icon-ripeMango"),color:r=U("colors-neutral-darkCharcoal"),size:n="md",m:i="0"}){const a={md:{borderRadius:"0.25em",fontWeight:"400",p:"0.25em 0.84em"},sm:{borderRadius:"0.42em",fontWeight:"700",p:"0.17em 0.67em"}};return O(ft,{bg:t,borderRadius:a[n].borderRadius,color:r,display:"inline-block",fontSize:"0.75rem",fontWeight:a[n].fontWeight,lineHeight:".875rem",m:i,p:a[n].p,children:e})}sl.displayName="Label";function ih({value:e=0}){let t=e;return e>100?t=100:e<0&&(t=0),O(oz,{size:"1rem",value:t,thickness:"1rem",color:U("colors-main-deepSkyBlue"),trackColor:U("colors-neutral-platinum")})}ih.displayName="Progress";var xz=globalThis&&globalThis.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)i.hasOwnProperty(a)&&(n[a]=i[a])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),aa=globalThis&&globalThis.__assign||function(){return aa=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},aa.apply(this,arguments)},Sz=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},wz={position:"relative",display:"inline-flex",overflow:"hidden"},Cz=function(e){e===void 0&&(e={});var t;return t=function(r){xz(n,r);function n(i){var a=r.call(this,i)||this;return a.timer=0,a.onClick=function(o){var l=a.props,s=l.during,u=l.onClick,c=l.color;o.stopPropagation();var d=o.pageX,f=o.pageY,p=o.currentTarget,h=p.getBoundingClientRect(),y=d-(h.left+window.scrollX),v=f-(h.top+window.scrollY),m=Math.max(h.width,h.height);a.setState(function(g){return{rippleStyle:aa({},g.rippleStyle,{left:y,top:v,opacity:1,transform:"translate(-50%, -50%)",transition:"initial",backgroundColor:c})}},function(){a.timer=setTimeout(function(){a.setState(function(g){return{rippleStyle:aa({},g.rippleStyle,{opacity:0,transform:"scale("+m/9+")",transition:"all "+s+"ms"})}})},50)}),u&&u(o)},a.state={rippleStyle:{position:"absolute",borderRadius:"50%",opacity:0,width:35,height:35,transform:"translate(-50%, -50%)",pointerEvents:"none"}},a}return n.prototype.componentWillUnmount=function(){clearTimeout(this.timer)},n.prototype.render=function(){var i=this.props,a=i.children;i.during,i.color,i.onClick;var o=i.className,l=Sz(i,["children","during","color","onClick","className"]),s=this.state.rippleStyle;return Lr.default.createElement("div",aa({},l,{className:("react-ripples "+o).trim(),style:wz,onClick:this.onClick}),a,Lr.default.createElement("s",{style:s}))},n}(Lr.default.PureComponent),t.displayName="Ripples",t.propTypes={during:Wu.number,color:Wu.string,onClick:Wu.func,className:Wu.string},t.defaultProps=aa({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},e),t},ah=globalThis&&globalThis.__assign||function(){return ah=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},ah.apply(this,arguments)},Ez=function(e){return function(t){return Lr.default.createElement(e,ah({},t))}},Iw=Ez(Cz());function oh({children:e,color:t="rgba(204,204,204,0.2)"}){return O(Iw,{during:1e3,color:t,children:O(ft,{children:e})})}oh.displayName="Ripples";function ze({w:e="1rem",h:t="1rem",color:r=U("colors-main-ziggurat"),m:n="0",viewBox:i="0 0 16 16",children:a,title:o}){return ne(R1,{w:e,h:t,viewBox:i,color:r,m:n,children:[ne("title",{children:["icon",o&&`-${o}`]}),a]})}function lh(e){return ne(ze,B(I({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"academicRecord",children:[O("path",{d:"M14 0H2C1.73478 0 1.48043 0.105357 1.29289 0.292893C1.10536 0.48043 1 0.734784 1 1V7C1 7.26522 1.10536 7.51957 1.29289 7.70711C1.48043 7.89464 1.73478 8 2 8H14C14.2652 8 14.5196 7.89464 14.7071 7.70711C14.8946 7.51957 15 7.26522 15 7V1C15 0.734784 14.8946 0.48043 14.7071 0.292893C14.5196 0.105357 14.2652 0 14 0V0Z",fill:"currentColor"}),O("path",{d:"M15 10H1V12H15V10Z",fill:"currentColor"}),O("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]}))}lh.displayName="AcademicRecord";function sh(e){return O(ze,B(I({},e),{children:ne("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[O("path",{d:"M22.142 44.1483C34.0945 44.1483 43.784 34.4588 43.784 22.5063C43.784 10.5537 34.0945 0.864258 22.142 0.864258C10.1895 0.864258 0.5 10.5537 0.5 22.5063C0.5 34.4588 10.1895 44.1483 22.142 44.1483Z",fill:"#FDEED6"}),O("path",{d:"M19 24.1013C19.8284 24.1013 20.5 23.4297 20.5 22.6013C20.5 21.7729 19.8284 21.1013 19 21.1013C18.1716 21.1013 17.5 21.7729 17.5 22.6013C17.5 23.4297 18.1716 24.1013 19 24.1013Z",fill:"#FFBC27"}),O("path",{d:"M24 24.1013C24.8284 24.1013 25.5 23.4297 25.5 22.6013C25.5 21.7729 24.8284 21.1013 24 21.1013C23.1716 21.1013 22.5 21.7729 22.5 22.6013C22.5 23.4297 23.1716 24.1013 24 24.1013Z",fill:"#FFBC27"}),O("path",{d:"M29 24.1013C29.8284 24.1013 30.5 23.4297 30.5 22.6013C30.5 21.7729 29.8284 21.1013 29 21.1013C28.1716 21.1013 27.5 21.7729 27.5 22.6013C27.5 23.4297 28.1716 24.1013 29 24.1013Z",fill:"#FFBC27"}),O("path",{d:"M44.178 13.8843C41.157 8.63532 35.491 5.10132 29 5.10132C19.335 5.10132 11.5 12.9363 11.5 22.6013C11.5 32.2663 19.335 40.1013 29 40.1013C35.108 40.1013 40.484 36.9723 43.615 32.2303",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),O("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.282 13.9192C50.6627 13.9192 51.782 15.0385 51.782 16.4192V20.9862C51.782 22.3669 50.6627 23.4862 49.282 23.4862C47.9013 23.4862 46.782 22.3669 46.782 20.9862V16.4192C46.782 15.0385 47.9013 13.9192 49.282 13.9192ZM47.5143 25.6514C48.4906 24.6751 50.0735 24.6751 51.0498 25.6515L51.0958 25.6975C52.0721 26.6738 52.072 28.2567 51.0957 29.233C50.1194 30.2093 48.5365 30.2093 47.5602 29.2329L47.5142 29.1869C46.5379 28.2106 46.5379 26.6277 47.5143 25.6514Z",fill:"#FFBC27"})]})}))}sh.displayName="ArrowRight";function uh(e){return ne(ze,B(I({},e),{children:[ne("g",{clipPath:"url(#clip0)",children:[O("mask",{id:"mask0",style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:O("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),O("g",{mask:"url(#mask0)",children:O("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),O("defs",{children:O("clipPath",{id:"clip0",children:O("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]}))}uh.displayName="ArrowRight";function ch(e){return ne(ze,B(I({},e),{children:[O("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),O("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 8h2a1 1 0 011 1v6a1 1 0 01-1 1H9v-4H7v4H1a1 1 0 01-1-1V9a1 1 0 011-1h2V4.618l-.553.277a1 1 0 01-.894-1.79l6-3a1 1 0 01.894 0l6 3a1 1 0 11-.894 1.79L13 4.618V8zM3 13h2v-3H3v3zm2-5V4a.98.98 0 00-.07-.347L8 2.118l3.07 1.535A.98.98 0 0011 4v4H5zm6 5h2v-3h-2v3z",clipRule:"evenodd"})]}))}ch.displayName="Certificate";function fh(e){return O(ze,B(I({},e),{children:O("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 8c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zm3.6 0L7 11.4 12.4 6 11 4.6l-4 4-2-2L3.6 8z",clipRule:"evenodd"})}))}fh.displayName="CircularCheck";function rc(e){return O(ze,B(I({},e),{children:O("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zM7 12V7h2v5H7zm0-7c0 .6.4 1 1 1s1-.4 1-1-.4-1-1-1-1 .4-1 1z",clipRule:"evenodd"})}))}rc.displayName="CircularInformation";function dh(e){return ne(ze,B(I({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",children:[O("path",{d:"M7.99998 12C8.29998 12 8.49998 11.9 8.69998 11.7L14.4 6L13 4.6L8.99998 8.6V0H6.99998V8.6L2.99998 4.6L1.59998 6L7.29998 11.7C7.49998 11.9 7.69998 12 7.99998 12Z",fill:"currentColor"}),O("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]}))}dh.displayName="Download";function ph(e){return O(ze,B(I({},e),{w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goAhead",children:O("path",{d:"M2.07407 12L8 6L2.07407 5.18061e-07L-8.65485e-07 2.1L3.85185 6L-1.83588e-07 9.9L2.07407 12V12Z",fill:"currentColor"})}))}ph.displayName="GoAhead";function vh(e){return O(ze,B(I({},e),{w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goBack",children:O("path",{d:"M5.92593 2L0 8L5.92593 14L8 11.9L4.14815 8L8 4.1L5.92593 2Z",fill:"currentColor"})}))}vh.displayName="GoBack";function hh(e){return ne(ze,B(I({},e),{w:"12px",viewBox:"0 0 14 14",title:"multimedia",children:[O("path",{d:"M3 6C4.65685 6 6 4.65685 6 3C6 1.34315 4.65685 0 3 0C1.34315 0 0 1.34315 0 3C0 4.65685 1.34315 6 3 6Z",fill:"currentColor"}),O("path",{d:"M11 6C12.6569 6 14 4.65685 14 3C14 1.34315 12.6569 0 11 0C9.34315 0 8 1.34315 8 3C8 4.65685 9.34315 6 11 6Z",fill:"currentColor"}),O("path",{d:"M3 14C4.65685 14 6 12.6569 6 11C6 9.34315 4.65685 8 3 8C1.34315 8 0 9.34315 0 11C0 12.6569 1.34315 14 3 14Z",fill:"currentColor"}),O("path",{d:"M11 14C12.6569 14 14 12.6569 14 11C14 9.34315 12.6569 8 11 8C9.34315 8 8 9.34315 8 11C8 12.6569 9.34315 14 11 14Z",fill:"currentColor"})]}))}hh.displayName="Multimedia";function Lw({fill:e="#fff"}){return O("div",{className:"loaderAsync","data-testid":"loaderAsync",children:ne("svg",{id:"prefix__eXySq0EBKm11",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 20",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",width:38,height:20,children:[O("style",{dangerouslySetInnerHTML:{__html:"@keyframes eXySq0EBKm12_f_o{0%,33.333333%,to{fill-opacity:.4}66.666667%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm13_f_o{0%,66.666667%,to{fill-opacity:.4}33.333333%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm14_f_o{0%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}33.333333%,66.666667%{fill-opacity:.4}to{fill-opacity:1}}"}}),O("circle",{r:2.502,transform:"translate(29.526 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm12_f_o 600ms linear infinite normal forwards"}}),O("circle",{r:2.502,transform:"translate(19 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm13_f_o 600ms linear infinite normal forwards"}}),O("circle",{r:2.053,transform:"matrix(1.21764 0 0 1.21764 8.562 10.002)",fill:e,style:{animation:"eXySq0EBKm14_f_o 600ms linear infinite normal forwards"}})]})})}function mh(e){return O(ze,B(I({},e),{viewBox:"0 0 12 12",w:"12px",title:"profile",children:O("path",{fill:"currentColor",d:"M5 6a3 3 0 100-6 3 3 0 000 6zM5 7c-3.375 0-5 2.106-5 3.333V11a1 1 0 001 1h8a1 1 0 001-1v-.667C10 9.106 8.375 7 5 7z"})}))}mh.displayName="Profile";function gh(e){return ne(ze,B(I({},e),{children:[O("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 2h2a1 1 0 011 1v12a1 1 0 01-1 1H1a1 1 0 01-1-1V3a1 1 0 011-1h2V0h2v2h2V0h2v2h2V0h2v2zM2 14h12V5H2v9z",clipRule:"evenodd"}),O("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),O("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),O("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),O("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),O("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),O("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]}))}gh.displayName="Schedule";function yh(e){return ne(ze,B(I({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[O("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),O("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),O("path",{d:"M6 4C6.55228 4 7 3.55228 7 3C7 2.44772 6.55228 2 6 2C5.44772 2 5 2.44772 5 3C5 3.55228 5.44772 4 6 4Z",fill:"white"})]}))}yh.displayName="TinyAlertInfo";function bh(e){return ne(ze,B(I({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[ne("g",{clipPath:"url(#clip0_2165_6683)",children:[O("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),O("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.87867 2.46447L2.46446 3.87868L4.58578 6L2.46446 8.12132L3.87867 9.53553L5.99999 7.41421L8.12131 9.53553L9.53553 8.12132L7.41421 6L9.53553 3.87868L8.12131 2.46447L5.99999 4.58579L3.87867 2.46447Z",fill:"white"})]}),O("defs",{children:O("clipPath",{id:"clip0_2165_6683",children:O("rect",{width:"12px",height:"12px",fill:"white"})})})]}))}bh.displayName="TinyAlertError";function xh(e){return ne(ze,B(I({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[O("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),O("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),O("path",{d:"M6 8C5.44771 8 5 8.44772 5 9C5 9.55228 5.44772 10 6 10C6.55228 10 7 9.55228 7 9C7 8.44772 6.55228 8 6 8Z",fill:"white"})]}))}xh.displayName="TinyAlertWarning";function Sh(e){return ne(ze,B(I({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[ne("g",{clipPath:"url(#clip0_2191_1138)",children:[O("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),O("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.41421 5.53549L2 6.94971L3.41421 8.36392L4.82843 9.77813L9.77817 4.82839L8.36396 3.41417L4.82843 6.94971L3.41421 5.53549Z",fill:"white"})]}),O("defs",{children:O("clipPath",{id:"clip0_2191_1138",children:O("rect",{width:"12",height:"12",fill:"white"})})})]}))}Sh.displayName="TinyAlertSuccess";function wh(e){return O(ze,B(I({},e),{w:"14px",h:"16px",viewBox:"0 0 14 16",title:"password",children:O("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C4.95714 0 3.28571 1.67143 3.28571 3.71429V4.64286H1.42857C0.871429 4.64286 0.5 5.01429 0.5 5.57143V13.9286C0.5 14.4857 0.871429 14.8571 1.42857 14.8571H12.5714C13.1286 14.8571 13.5 14.4857 13.5 13.9286V5.57143C13.5 5.01429 13.1286 4.64286 12.5714 4.64286H10.7143V3.71429C10.7143 1.67143 9.04286 0 7 0ZM7.92857 10.8643V12.0714H6.07143V10.8643C5.51429 10.5857 5.14286 9.93571 5.14286 9.28571C5.14286 8.26429 5.97857 7.42857 7 7.42857C8.02143 7.42857 8.85714 8.26429 8.85714 9.28571C8.85714 9.93571 8.48571 10.5857 7.92857 10.8643ZM5.14286 3.71429V4.64286H8.85714V3.71429C8.85714 2.69286 8.02143 1.85714 7 1.85714C5.97857 1.85714 5.14286 2.69286 5.14286 3.71429Z",fill:"currentColor"})}))}wh.displayName="Password";function Ch(e){return ne(ze,B(I({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"pen",children:[O("path",{d:"M8.1 3.5L0.3 11.3C0.1 11.5 0 11.7 0 12V15C0 15.6 0.4 16 1 16H4C4.3 16 4.5 15.9 4.7 15.7L12.5 7.9L8.1 3.5Z",fill:"currentColor"}),O("path",{d:"M15.7 3.3L12.7 0.3C12.3 -0.1 11.7 -0.1 11.3 0.3L9.5 2.1L13.9 6.5L15.7 4.7C16.1 4.3 16.1 3.7 15.7 3.3Z",fill:"currentColor"})]}))}Ch.displayName="Pen";function Eh(e){return O(ze,B(I({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"plusSign",children:O("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8C0 3.6 3.6 0 8 0C12.4 0 16 3.6 16 8C16 12.4 12.4 16 8 16C3.6 16 0 12.4 0 8ZM9 9H12V7H9V4H7V7H4V9H7V12H9V9Z",fill:"currentColor"})}))}Eh.displayName="PlusSign";function kh(e){return ne(ze,B(I({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"trashCan",children:[O("path",{d:"M2 6V14C2 15.1 2.9 16 4 16H12C13.1 16 14 15.1 14 14V6H2Z",fill:"currentColor"}),O("path",{d:"M12 3V1C12 0.4 11.6 0 11 0H5C4.4 0 4 0.4 4 1V3H0V5H16V3H12ZM10 3H6V2H10V3Z",fill:"currentColor"})]}))}kh.displayName="TrashCan";function Th(e){return O(ze,B(I({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"textBubble",children:O("path",{d:"M1 0H15C15.552 0 16 0.448 16 1V11C16 11.552 15.552 12 15 12H10L4 16V12H1C0.448 12 0 11.552 0 11V1C0 0.448 0.448 0 1 0Z",fill:"currentColor"})}))}Th.displayName="TextBubble";var kz=Object.freeze(Object.defineProperty({__proto__:null,AcademicRecord:lh,AlertInfo:sh,ArrowRight:uh,Certificate:ch,CircularCheck:fh,CircularInformation:rc,Download:dh,GoAhead:ph,GoBack:vh,Multimedia:hh,Loader:Lw,Profile:mh,Schedule:gh,TinyAlertInfo:yh,TinyAlertError:bh,TinyAlertWarning:xh,TinyAlertSuccess:Sh,Password:wh,Pen:Ch,PlusSign:Eh,TrashCan:kh,TextBubble:Th},Symbol.toStringTag,{value:"Module"}));function Bw({status:e,text:t,margin:r="0"}){const n={success:{icon:O(Sh,{}),text:"Success",bg:U("colors-alert-ice"),color:U("colors-neutral-darkCharcoal")},error:{icon:O(bh,{}),text:"Error",bg:U("colors-alert-veryLightPinkThree"),color:U("colors-neutral-darkCharcoal")},info:{icon:O(yh,{}),text:"Info",bg:U("colors-alert-veryLightBlue"),color:U("colors-neutral-darkCharcoal")},warning:{icon:O(xh,{}),text:"Warning",bg:U("colors-alert-pale"),color:U("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:U("colors-main-blueGrey"),color:U("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:U("colors-main-ziggurat"),color:U("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:U("colors-neutral-cultured"),color:U("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:U("colors-neutral-white")}};return n[e]?ne(ft,{margin:r,"data-testid":"TinyAlert-Box",backgroundColor:n[e].bg,display:"flex",flexDirection:"row",alignItems:"center",padding:".125em .25em",gap:".25rem",width:"fit-content",borderRadius:".25rem",className:"TinyAlert-Box",children:[n[e].icon&&O(ft,{lineHeight:0,sx:{">svg":{margin:0}},children:n[e].icon}),O(ft,{as:"span",color:n[e].color,fontSize:".75rem",fontStyle:"normal",fontWeight:"400",fontFamily:"Roboto",lineHeight:".875rem",margin:"0",children:t!=null?t:n[e].text})]}):null}Bw.displayName="TinyAlert";function nc({bg:e,borderColorActive:t=[U("colors-main-deepSkyBlue"),U("colors-neutral-white")],children:r,color:n=U("colors-neutral-white"),disabled:i=!1,fillLoader:a=U("colors-neutral-white"),isFullWidth:o=!1,leftIcon:l,m:s="0",isLoading:u=!1,onClick:c,rightIcon:d,rounded:f=!1,size:p="regular",touchDark:h=!1,type:y="button",tabIndex:v,id:m}){var A,_,$;let g=r!=null?r:null;!r&&!d&&!l&&(g="Button");const b=".75rem",x=f?"12px":U("radii-small"),C=(A=e==null?void 0:e.main)!=null?A:U("colors-main-deepSkyBlue"),P=h?"rgba(160, 160, 160, 0.2)":"rgba(255, 255, 255, 0.2)",E=!r&&(d!=null?d:l)?"onlyIcon":"";return O(ft,{margin:s,sx:{".react-ripples":{borderRadius:x,display:`${o?"grid":"inline-flex!important"}`}},children:O(Iw,{color:P,children:O(kv,{id:m,fontWeight:"500",fontSize:p==="regular"?"medium":"small",bg:C,size:p==="regular"?"md":"sm",borderRadius:x,color:n,className:E,disabled:i&&u?!1:i,height:"auto",minHeight:p==="regular"?"2.813rem":"2rem",minWidth:p==="regular"?"9rem":"auto",lineHeight:"initial",iconSpacing:U("space-xs"),isActive:!1,isLoading:u,leftIcon:l,onClick:Y=>{!u&&!i&&(c==null||c(Y))},type:y,tabIndex:v,paddingTop:p==="regular"?b:U(E?"space-xs":"space-xxs"),paddingBottom:p==="regular"?b:U(E?"space-xs":"space-xxs"),paddingLeft:U(p==="regular"?"space-s":"space-xs"),paddingRight:U(p==="regular"?"space-s":"space-xs"),position:"relative",isFullWidth:o,rightIcon:d,spinner:O(Lw,{fill:a}),_active:{bg:(_=e==null?void 0:e.main)!=null?_:U("colors-main-azureRadiance")},_disabled:{opacity:"50%",cursor:"not-allowed"},_focus:{boxShadow:"none"},_focusVisible:{boxShadow:`inset 0 0 0 2px ${t[0]}, inset 0 0 0 4px ${t[1]}`},_hover:{bg:($=e==null?void 0:e.hover)!=null?$:U("colors-main-azureRadiance")},sx:{"&[data-loading]":{boxShadow:"none",cursor:"wait"},"&.onlyIcon span":{m:0},span:{h:"1rem"}},children:g})})})}nc.displayName="Btn";function Dw({children:e,disabled:t=!1,isFullWidth:r=!1,leftIcon:n,m:i="0",isLoading:a=!1,onClick:o,rightIcon:l,size:s="regular",type:u="button",tabIndex:c,id:d}){return O(nc,{id:d,disabled:t,isFullWidth:r,isLoading:a,leftIcon:n,m:i,onClick:o,rightIcon:l,size:s,type:u,tabIndex:c,children:e})}Dw.displayName="BtnPrimary";function zw({children:e,disabled:t=!1,isFullWidth:r=!1,leftIcon:n,m:i="0",isLoading:a=!1,onClick:o,rightIcon:l,size:s="regular",type:u="button",tabIndex:c,id:d}){return O(nc,{id:d,bg:{main:U("colors-main-veryLightBlue"),hover:U("colors-main-linkWater")},fillLoader:U("colors-main-deepSkyBlue"),borderColorActive:[U("colors-main-deepSkyBlue"),U("colors-neutral-white")],color:U("colors-main-deepSkyBlue"),disabled:t,isFullWidth:r,isLoading:a,leftIcon:n,m:i,onClick:o,rightIcon:l,size:s,touchDark:!0,type:u,tabIndex:c,children:e})}zw.displayName="BtnSecondary";function $w({children:e,iconStatus:t="multimedia",rightIcon:r,withoutColor:n=!1,m:i="0",type:a="button",tabIndex:o,id:l,onClick:s}){var m;const u=U("colors-neutral-gray"),c=U("colors-main-deepSkyBlue"),d=U("colors-neutral-white"),f=n?U("colors-main-blueGrey"):c,p={ahead:O(ph,{color:f}),answer:O(Th,{color:f}),back:O(vh,{color:f}),delete:O(kh,{color:f}),download:O(dh,{color:f}),edit:O(Ch,{color:f}),more:O(Eh,{color:f}),multimedia:O(hh,{color:f}),password:O(wh,{color:f}),record:O(lh,{color:f}),noIcon:O(ho,{})},h=(m=p[t])!=null?m:p.multimedia,y=r?h:void 0,v=r?void 0:h;return O(kv,{id:l,type:a,tabIndex:o,height:"24px",background:"transparent",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:"14px",lineHeight:"16px",textDecorationLine:"underline",borderRadius:"12px",paddingTop:U("space-xxs"),paddingBottom:U("space-xxs"),paddingLeft:U("space-xs"),paddingRight:U("space-xs"),color:u,rightIcon:y,leftIcon:v,m:i,onClick:s,_hover:{color:`${c}`},_focusVisible:{boxShadow:`inset 0 0 0 2px ${c}, inset 0 0 0 4px ${d}`},_focus:{boxShadow:"none"},_active:{bg:"transparent"},sx:{"&:hover":{"svg path":{fill:`${c}`},"@media (hover: none)":{color:`${u}`,"svg path":{fill:f}}}},children:e})}$w.displayName="BtnTertiary";function Nw({children:e,m:t="0",onClick:r,id:n}){return O(ft,{as:"button",id:n,backgroundColor:"transparent",borderStyle:"none",width:"fit-content",padding:".25em",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:".875rem",lineHeight:"1rem",textDecorationLine:"underline",color:U("colors-main-deepSkyBlue"),m:t,onClick:r,_hover:{color:U("colors-neutral-darkCharcoal"),cursor:"pointer"},children:e})}Nw.displayName="BtnLink";const Tz=({children:e,label:t,isDisabled:r=!1,m:n,placement:i="bottom"})=>O(dz,{sx:{bg:U("colors-neutral-darkCharcoal"),borderRadius:"10px",fontSize:"12px",maxWidth:"170px",padding:"8px",".chakra-tooltip__arrow":{bg:`${U("colors-neutral-darkCharcoal")} !important`}},closeOnClick:!0,label:t,m:n,hasArrow:!0,isDisabled:r,placement:i,children:O("span",{children:e})}),Pz=4;function Vw(){const{background:e,labels:t,logo:r,logoAlt:n,Profile:i}=w.useContext(ic);return ne(ft,{as:"header",bgImg:e,bgPos:"center",bgSize:"cover",height:"8.75rem",borderBottom:U("borders-light"),pos:"relative",children:[ne(ft,{p:"1rem",children:[(i==null?void 0:i.id)!==Pz&&O(sl,{bg:U("colors-neutral-white"),m:"0 0 .625rem 0",children:ne(zu,{children:[O(mh,{m:"0 .25rem 0 0"}),i==null?void 0:i.name]})}),t!==void 0&&t.length>0&&O(CS,{direction:"row",spacing:".625rem",wrap:"wrap",children:t.map((a,o)=>O(sl,{bg:a.id==="NEW"?U("colors-secondary-pumpkin"):void 0,children:a.text},o))})]}),r!==void 0&&r.length>0&&O(SS,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:U("borders-light"),bg:U("colors-neutral-white"),overflow:"hidden",borderRadius:U("radii-small"),w:"6.25rem",children:O(QI,{src:r,alt:n!=null?n:"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}Vw.displayName="Header";function Ph({date:e}){return e==null||e.length===0?null:O(Gi,{fontSize:".75rem",color:U("colors-neutral-darkCharcoal"),m:"0",children:e})}Ph.displayName="DateStatus";function jw({type:e,progressValue:t=0}){switch(e){case"schedule":return O(gh,{});case"certificate":return O(ch,{});case"circularCheck":return O(fh,{});case"progress":return O(ih,{value:t});case"circularInformation":return O(rc,{});case"info":return O(rc,{});default:return null}}const _z=7;function Hw({progress:e,status:t}){return ne(ho,{children:[ne(zu,{children:[O(jw,{type:e.icon,progressValue:e.progress}),O(Gi,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:e==null?void 0:e.label})]}),(t==null?void 0:t.id)===_z&&(e==null?void 0:e.finalGrade)&&(e==null?void 0:e.finalGrade.length)>0&&O(sl,{size:"sm",bg:e.isApproved?U("colors-alert-jadeGreen"):U("colors-alert-red"),color:U("colors-neutral-white"),children:e==null?void 0:e.finalGrade})]})}function Ww(){const{name:e,dateStatus:t,information:r,progress:n,status:i}=w.useContext(ic);return n==null?null:ne(ft,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(t==null?void 0:t.hasDates)&&ne(P8,{direction:"row",divider:t.init!==void 0&&t.init.length>0&&t.end!==void 0&&n.icon!==null&&t.end.length>0?O(ft,{h:".5rem",w:"1px",bg:U("colors-neutral-silverSand"),alignSelf:"center"}):O(ho,{}),children:[O(Ph,{date:t.init}),O(Ph,{date:t.end})]}),O(h8,{as:"h2",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:e}),O(zu,{mt:"1rem",justify:"space-between",children:O(Hw,{progress:n,status:i})}),r!=null&&(r==null?void 0:r.length)>0&&O(S8,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:U("borders-light"),children:r.map((a,o)=>{var l;return ne(w8,{display:"flex",children:[O(jw,{type:a.icon}),O(ft,{display:"inline-block",ml:".625rem",children:a.href!==void 0&&((l=a.href)==null?void 0:l.length)>0?O(g8,{isExternal:!0,href:a.href,color:U("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:a.text}):O(Gi,{m:"0",color:U("colors-neutral-gray"),fontSize:".75rem",children:a.text})})]},o)})})]})}Ww.displayName="Section";const j={name:"Orientaci\xF3n en la prevenci\xF3n de contagio de COVID-19",background:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT76y4DAhqWAlCspmGYWcbxSDnLw3p1FzJQKA&usqp=CAU",logo:"https://procalidad.cl/wp-content/uploads/2021/05/logo-achs.png",logoAlt:"op",status:{id:6,name:"NEXT",detail:"",style:""},Profile:{id:4,name:"Alumno"},progress:{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule",progress:0,isApproved:!1,finalGrade:""},dateStatus:{hasDates:!0,init:"Inicia 17 ene 2022",end:"Finaliza 10 ene 2023"},information:[{icon:"schedule",text:"Certificado por ACHS",href:"http://google.com"},{icon:"certificate",text:"Certificado por ACHS",href:""},{icon:"circularCheck",text:"Certificado por ACHS",href:"http://google.com"},{icon:"circularInformation",text:"Certificado por ACHS",href:""}],action:{enabled:!0,text:"Tu curso a\xFAn no comienza",hasIcon:!1,href:"https://platform.eclass.io/",targetBlank:!1},labels:[{id:"OBLIGATORY",text:"Obligatorio"}]},Uw={noHabilitado:B(I({},j),{id:1,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:1,name:"noHabilitado"}),progress:B(I({},j.progress),{label:"Inscripci\xF3n no habilitada",icon:"circularInformation"}),dateStatus:B(I({},j.dateStatus),{hasDates:!1}),information:null,action:B(I({},j.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[]}),inscripcionFutura:B(I({},j),{id:1,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:1,name:"noHabilitado"}),progress:B(I({},j.progress),{label:"Podr\xE1s inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"}),dateStatus:B(I({},j.dateStatus),{hasDates:!1}),information:null,action:B(I({},j.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[{id:"NEW",text:"Nuevo"}]}),inscripcionFinalizo:B(I({},j),{id:1,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:1,name:"noHabilitado"}),progress:B(I({},j.progress),{label:"El per\xEDodo de inscripci\xF3n finaliz\xF3 el 31 de marzo de 2022",icon:"circularInformation"}),dateStatus:B(I({},j.dateStatus),{hasDates:!1}),information:null,action:B(I({},j.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[{id:"NEW",text:"Nuevo"}]}),preInscripcion:B(I({},j),{logo:"https://cdn.eclass.com/img/productos/logos/logo-utec-square.jpg",background:"https://cdn.eclass.com/img/cursos/default1.png",id:2,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:2,name:"preInscripcion"}),progress:B(I({},j.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:B(I({},j.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{text:"Solicitar inscripci\xF3n",targetBlank:!0}),labels:[]}),preInscripcion2:B(I({},j),{id:3,hasFinanzeFreezed:!1,logo:"",status:B(I({},j.status),{id:2,name:"preInscripcion"}),progress:B(I({},j.progress),{label:"Estamos procesando tu solicitud de inscripci\xF3n",icon:"circularInformation"}),dateStatus:B(I({},j.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{text:"Ver informaci\xF3n del curso",targetBlank:!0}),labels:[]}),inscripcion:B(I({},j),{background:"https://cdn.eclass.com/img/cursos/default2.png",id:4,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:3,name:"inscripcion"}),progress:B(I({},j.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:B(I({},j.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{text:"Inscr\xEDbete",targetBlank:!0})}),inscripcion2:B(I({},j),{id:5,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:3,name:"inscripcion"}),progress:B(I({},j.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:B(I({},j.dateStatus),{hasDates:!0}),information:[],action:B(I({},j.action),{text:"Inscr\xEDbete",targetBlank:!0}),labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"}]}),noDisponible:B(I({},j),{id:6,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:B(I({},j.status),{id:4,name:"no disponible"}),progress:B(I({},j.progress),{label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"}),dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{text:"Ver informaci\xF3n del curso",targetBlank:!0}),labels:[]}),noDisponible2:B(I({},j),{background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:7,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:4,name:"no disponible"}),progress:B(I({},j.progress),{label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"}),dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{enabled:!1}),labels:[]}),noDisponible3:B(I({},j),{background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:57,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:B(I({},j.status),{id:4,name:"no disponible"}),progress:B(I({},j.progress),{label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"}),dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{enabled:!1}),labels:[]}),activado:B(I({},j),{id:8,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:5,name:"disponible"}),progress:B(I({},j.progress),{label:"\xA1Ya puedes ingresar a tu curso y comenzar a estudiar!",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar:B(I({},j),{id:9,hasFinanzeFreezed:!1,logo:"",status:B(I({},j.status),{id:6,name:"sinEstudiar"}),progress:B(I({},j.progress),{label:"Tu curso inici\xF3 hace 3 d\xEDas, \xA1Comienza a estudiar!",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar2:B(I({},j),{id:10,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:B(I({},j.status),{id:6,name:"sinEstudiar"}),progress:B(I({},j.progress),{label:"Tu curso finaliza en 7 d\xEDas",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar3:B(I({},j),{id:11,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:6,name:"sinEstudiar"}),progress:B(I({},j.progress),{label:"Tu curso finaliza ma\xF1ana a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar4:B(I({},j),{logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:12,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:6,name:"sinEstudiar"}),progress:B(I({},j.progress),{label:"Tu curso finaliza hoy a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),continuar:B(I({},j),{id:13,hasFinanzeFreezed:!0,status:B(I({},j.status),{id:7,name:"continuar"}),logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:B(I({},j.progress),{label:"Has completado un 25% de tu curso",icon:"progress",progress:25}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"}),labels:[]}),continuar2:B(I({},j),{id:14,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:7,name:"continuar"}),logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:B(I({},j.progress),{label:"Has completado un 100% de tu curso",icon:"progress",progress:100}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{text:"Ir a mi curso"}),labels:[]}),pendiente:B(I({},j),{background:"https://cdn.eclass.com/img/cursos/default3.png",id:15,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:8,name:"pendiente"}),progress:B(I({},j.progress),{label:"\xA1Curso finalizado! Estamos calculando tu promedio final",icon:"circularInformation"}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{text:"Ir a mi curso"}),labels:[]}),terminado:B(I({},j),{id:16,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:7,name:"QUALIFIED"}),progress:B(I({},j.progress),{label:"Curso aprobado con nota",icon:"circularCheck",isApproved:!0,finalGrade:"6,5"}),dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{text:"Ir a mi curso"}),labels:[]}),terminado2:B(I({},j),{logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:17,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:B(I({},j.status),{id:7,name:"QUALIFIED"}),progress:B(I({},j.progress),{label:"Curso reprobado con nota",icon:"circularCheck",isApproved:!1,finalGrade:"3,5"}),dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{text:"Ir a mi curso"}),labels:[]}),terminado3:B(I({},j),{id:18,hasFinanzeFreezed:!1,logo:"",status:B(I({},j.status),{id:9,name:"terminado"}),progress:B(I({},j.progress),{label:"Curso finalizado",icon:"circularCheck"}),dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{text:"Ir a mi curso"}),labels:[]})},Oz=Object.keys(Uw).map(e=>Uw[e]),Gw=4,_h=(e,t=Gw)=>e||t!==Gw;function Az(e=4){const t=e*Zw+Kw*(e-1);return{px:`${t*16}px`,rem:`${t}rem`,remValue:t}}function Fz({isOpen:e,onOpen:t,onClose:r,showOverlay:n,modalPaymentText:i}){const a={backgroundColor:"transparent"};function o(){return O(KD,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[l,s]=w.useState(O(o,{}));return w.useEffect(()=>{n&&s(O(o,{}))},[n]),ne(nh,{isCentered:!0,isOpen:e,onClose:r,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[l,ne(YD,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[ne(ZD,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[O(sh,{w:"52",h:"45",viewBox:"0 0 45 52"}),i.title]}),O(JD,{size:"md",color:U("colors-main-blueGrey"),_hover:a,_focus:a,_active:a}),O(qD,{p:"1rem 2rem 2rem 2rem",children:O(Gi,{align:"center",children:i.body})}),O(QD,{justifyContent:"center",borderTop:"1px solid",borderTopColor:U("colors-neutral-platinum"),p:"1rem",children:O(kv,{onClick:r,color:U("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:a,_focus:a,_active:a,children:i.buttonName})})]})]})}nh.displayName="Modal";function Yw({modalPaymentText:e}){const{action:t,Profile:r,hasFinanzeFreezed:n}=w.useContext(ic),{isOpen:i,onOpen:a,onClose:o}=Pm(),[l,s]=w.useState(!1),u={backgroundColor:"transparent"},c=()=>{s(!0),a()};return t==null?null:ne(SS,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:U("colors-neutral-platinum"),children:[_h(t.enabled,r==null?void 0:r.id)?ne(ho,{children:[n?O(ft,{color:U("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",p:"0",zIndex:"inherit !important",_hover:u,_focus:u,_active:u,onClick:()=>c(),fontSize:"1rem !important",children:t.text}):O(Gi,{color:U("colors-main-deepSkyBlue"),fontWeight:"500",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:t.text}),t.hasIcon&&O(uh,{color:U("colors-main-deepSkyBlue")})]}):O(Gi,{fontWeight:"500",lineHeight:"1.172rem",color:U("colors-neutral-spanishGrey"),m:"0",children:t.text}),O(Fz,{isOpen:i,onClose:o,showOverlay:l,onOpen:a,modalPaymentText:e})]})}Yw.displayName="Footer";const ic=w.createContext({});function Mz({enabled:e,children:t}){return e?O(oh,{children:t}):O(ho,{children:t})}function Xw({data:e,modalPaymentText:t}){var n,i,a,o,l,s,u,c;const r={boxShadow:`0 2px 7px 0 ${U("colors-neutral-silverSand")}`};return O(ic.Provider,{value:e,children:O(M8,{as:"article",border:U("borders-light"),borderRadius:U("radii-big"),cursor:"pointer",transition:"box-shadow .3s",_active:r,_hover:r,_focus:r,overflow:"hidden",children:O(Mz,{enabled:_h((i=(n=e.action)==null?void 0:n.enabled)!=null?i:!1,(a=e.Profile)==null?void 0:a.id),children:ne(zu,{direction:"column",justify:"space-between",h:"100%",children:[ne(ft,{children:[!e.hasFinanzeFreezed&&_h((l=(o=e.action)==null?void 0:o.enabled)!=null?l:!1,(s=e.Profile)==null?void 0:s.id)&&O(F8,{href:(u=e.action)==null?void 0:u.href,isExternal:(c=e.action)==null?void 0:c.targetBlank}),O(Vw,{}),O(Ww,{})]}),O(Yw,{modalPaymentText:t})]})})})})}Xw.displayName="CourseBox";const Kw=1.25,Zw=17.8125;function qw({courses:e,modalPaymentText:t,m:r="0 auto"}){return e===void 0?null:O(ft,{display:"grid",gridColumnGap:`${Kw}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${Zw}rem, 1fr))`,m:r,w:"100%",children:e==null?void 0:e.map(n=>O(Xw,{data:n,modalPaymentText:t},n.id))})}qw.displayName="CourseList",oe.Btn=nc,oe.BtnLink=Nw,oe.BtnPrimary=Dw,oe.BtnSecondary=zw,oe.BtnTertiary=$w,oe.CourseList=qw,oe.CourseStatus=Hw,oe.Icons=kz,oe.Label=sl,oe.Progress=ih,oe.Ripples=oh,oe.TinyAlert=Bw,oe.TooltipLabel=Tz,oe.dataFake=Oz,oe.maxWidthCoursesList=Az,oe.theme=bz,oe.vars=U,Object.defineProperties(oe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
411
|
+
`},kD=0,ra=[];function TD(e){var t=w.useRef([]),r=w.useRef([0,0]),n=w.useRef(),i=w.useState(kD++)[0],a=w.useState(function(){return Sw()})[0],o=w.useRef(e);w.useEffect(function(){o.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+i);var y=[e.lockRef.current].concat((e.shards||[]).map(Pw)).filter(Boolean);return y.forEach(function(v){return v.classList.add("allow-interactivity-"+i)}),function(){document.body.classList.remove("block-interactivity-"+i),y.forEach(function(v){return v.classList.remove("allow-interactivity-"+i)})}}},[e.inert,e.lockRef.current,e.shards]);var l=w.useCallback(function(y,v){if("touches"in y&&y.touches.length===2)return!o.current.allowPinchZoom;var m=Qu(y),g=r.current,b="deltaX"in y?y.deltaX:g[0]-m[0],x="deltaY"in y?y.deltaY:g[1]-m[1],C,P=y.target,E=Math.abs(b)>Math.abs(x)?"h":"v",A=Cw(E,P);if(!A)return!0;if(A?C=E:(C=E==="v"?"h":"v",A=Cw(E,P)),!A)return!1;if(!n.current&&"changedTouches"in y&&(b||x)&&(n.current=C),!C)return!0;var _=n.current||C;return wD(_,v,y,_==="h"?b:x,!0)},[]),s=w.useCallback(function(y){var v=y;if(!(!ra.length||ra[ra.length-1]!==a)){var m="deltaY"in v?Tw(v):Qu(v),g=t.current.filter(function(C){return C.name===v.type&&C.target===v.target&&CD(C.delta,m)})[0];if(g&&g.should){v.preventDefault();return}if(!g){var b=(o.current.shards||[]).map(Pw).filter(Boolean).filter(function(C){return C.contains(v.target)}),x=b.length>0?l(v,b[0]):!o.current.noIsolation;x&&v.preventDefault()}}},[]),u=w.useCallback(function(y,v,m,g){var b={name:y,delta:v,target:m,should:g};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(x){return x!==b})},1)},[]),c=w.useCallback(function(y){r.current=Qu(y),n.current=void 0},[]),d=w.useCallback(function(y){u(y.type,Tw(y),y.target,l(y,e.lockRef.current))},[]),f=w.useCallback(function(y){u(y.type,Qu(y),y.target,l(y,e.lockRef.current))},[]);w.useEffect(function(){return ra.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",s,ta),document.addEventListener("touchmove",s,ta),document.addEventListener("touchstart",c,ta),function(){ra=ra.filter(function(y){return y!==a}),document.removeEventListener("wheel",s,ta),document.removeEventListener("touchmove",s,ta),document.removeEventListener("touchstart",c,ta)}},[]);var p=e.removeScrollBar,h=e.inert;return w.createElement(w.Fragment,null,h?w.createElement(a,{styles:ED(i)}):null,p?w.createElement(gD,{gapMode:"margin"}):null)}var PD=fB(xw,TD),_w=w.forwardRef(function(e,t){return w.createElement(Zu,ea({},e,{ref:t,sideCar:PD}))});_w.classNames=Zu.classNames;var _D=_w,OD=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},na=new WeakMap,Ju=new WeakMap,ec={},th=0,AD=function(e,t,r){t===void 0&&(t=OD(e)),r===void 0&&(r="data-aria-hidden");var n=Array.isArray(e)?e:[e];ec[r]||(ec[r]=new WeakMap);var i=ec[r],a=[],o=new Set,l=function(u){!u||o.has(u)||(o.add(u),l(u.parentNode))};n.forEach(l);var s=function(u){!u||n.indexOf(u)>=0||Array.prototype.forEach.call(u.children,function(c){if(o.has(c))s(c);else{var d=c.getAttribute("aria-hidden"),f=d!==null&&d!=="false",p=(na.get(c)||0)+1,h=(i.get(c)||0)+1;na.set(c,p),i.set(c,h),a.push(c),p===1&&f&&Ju.set(c,!0),h===1&&c.setAttribute(r,"true"),f||c.setAttribute("aria-hidden","true")}})};return s(t),o.clear(),th++,function(){a.forEach(function(u){var c=na.get(u)-1,d=i.get(u)-1;na.set(u,c),i.set(u,d),c||(Ju.has(u)||u.removeAttribute("aria-hidden"),Ju.delete(u)),d||u.removeAttribute(r)}),th--,th||(na=new WeakMap,na=new WeakMap,Ju=new WeakMap,ec={})}};function Yn(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function De(){return De=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},De.apply(this,arguments)}var FD=["preset"],MD={slideInBottom:De({},pS,{custom:{offsetY:16,reverse:!0}}),slideInRight:De({},pS,{custom:{offsetX:16,reverse:!0}}),scale:De({},WI,{custom:{initialScale:.95,reverse:!0}}),none:{}},RD=re(Bu.section),ID=w.forwardRef(function(e,t){var r=e.preset,n=Yn(e,FD),i=MD[r];return w.createElement(RD,De({ref:t},i,n))}),LD=function(){function e(){this.modals=void 0,this.modals=[]}var t=e.prototype;return t.add=function(n){this.modals.push(n)},t.remove=function(n){this.modals=this.modals.filter(function(i){return i!==n})},t.isTopModal=function(n){var i=this.modals[this.modals.length-1];return i===n},e}(),rh=new LD;function BD(e,t){M.useEffect(function(){return t&&rh.add(e),function(){rh.remove(e)}},[t,e])}function DD(e){var t=e.isOpen,r=e.onClose,n=e.id,i=e.closeOnOverlayClick,a=i===void 0?!0:i,o=e.closeOnEsc,l=o===void 0?!0:o,s=e.useInert,u=s===void 0?!0:s,c=e.onOverlayClick,d=e.onEsc,f=M.useRef(null),p=M.useRef(null),h=KC(n,"chakra-modal","chakra-modal--header","chakra-modal--body"),y=h[0],v=h[1],m=h[2];zD(f,t&&u),BD(f,t);var g=M.useRef(null),b=M.useCallback(function(q){g.current=q.target},[]),x=M.useCallback(function(q){q.key==="Escape"&&(q.stopPropagation(),l&&(r==null||r()),d==null||d())},[l,r,d]),C=M.useState(!1),P=C[0],E=C[1],A=M.useState(!1),_=A[0],$=A[1],Y=M.useCallback(function(q,J){return q===void 0&&(q={}),J===void 0&&(J=null),De({role:"dialog"},q,{ref:ma(J,f),id:y,tabIndex:-1,"aria-modal":!0,"aria-labelledby":P?v:void 0,"aria-describedby":_?m:void 0,onClick:Ut(q.onClick,function(ue){return ue.stopPropagation()})})},[m,_,y,v,P]),X=M.useCallback(function(q){q.stopPropagation(),g.current===q.target&&(!rh.isTopModal(f)||(a&&(r==null||r()),c==null||c()))},[r,a,c]),G=M.useCallback(function(q,J){return q===void 0&&(q={}),J===void 0&&(J=null),De({},q,{ref:ma(J,p),onClick:Ut(q.onClick,X),onKeyDown:Ut(q.onKeyDown,x),onMouseDown:Ut(q.onMouseDown,b)})},[x,b,X]);return{isOpen:t,onClose:r,headerId:v,bodyId:m,setBodyMounted:$,setHeaderMounted:E,dialogRef:f,overlayRef:p,getDialogProps:Y,getDialogContainerProps:G}}function zD(e,t){var r=e.current;M.useEffect(function(){if(!(!e.current||!t))return AD(e.current)},[t,e,r])}var $D=["className","children","containerProps"],ND=["className","transition"],VD=["className"],jD=["className"],HD=["className"],WD=["onClick","className"],Ow=wn({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),UD=Ow[0],Xn=Ow[1],nh=function(t){var r=t.portalProps,n=t.children,i=t.autoFocus,a=t.trapFocus,o=t.initialFocusRef,l=t.finalFocusRef,s=t.returnFocusOnClose,u=t.blockScrollOnMount,c=t.allowPinchZoom,d=t.preserveScrollBarGap,f=t.motionPreset,p=t.lockFocusAcrossFrames,h=t.onCloseComplete,y=e1("Modal",t),v=DD(t),m=De({},v,{autoFocus:i,trapFocus:a,initialFocusRef:o,finalFocusRef:l,returnFocusOnClose:s,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:d,motionPreset:f,lockFocusAcrossFrames:p});return w.createElement(UD,{value:m},w.createElement(jT,{value:y},w.createElement(Sv,{onExitComplete:h},m.isOpen&&w.createElement(po,r,n))))};nh.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"};var GD=re(Bu.div),YD=Fe(function(e,t){var r=e.className,n=e.children,i=e.containerProps,a=Yn(e,$D),o=Xn(),l=o.getDialogProps,s=o.getDialogContainerProps,u=l(a,t),c=s(i),d=Ue("chakra-modal__content",r),f=Ii(),p=De({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},f.dialog),h=De({display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},position:"fixed",left:0,top:0},f.dialogContainer),y=Xn(),v=y.motionPreset;return w.createElement(XD,null,w.createElement(re.div,De({},c,{className:"chakra-modal__content-container",tabIndex:-1,__css:h}),w.createElement(ID,De({preset:v,className:d},u,{__css:p}),n)))});function XD(e){var t=Xn(),r=t.autoFocus,n=t.trapFocus,i=t.dialogRef,a=t.initialFocusRef,o=t.blockScrollOnMount,l=t.allowPinchZoom,s=t.finalFocusRef,u=t.returnFocusOnClose,c=t.preserveScrollBarGap,d=t.lockFocusAcrossFrames,f=fv(),p=f[0],h=f[1];return w.useEffect(function(){!p&&h&&setTimeout(h)},[p,h]),w.createElement(nD,{autoFocus:r,isDisabled:!n,initialFocusRef:a,finalFocusRef:s,restoreFocus:u,contentRef:i,lockFocusAcrossFrames:d},w.createElement(_D,{removeScrollBar:!c,allowPinchZoom:l,enabled:o,forwardProps:!0},e.children))}var KD=Fe(function(e,t){var r=e.className;e.transition;var n=Yn(e,ND),i=Ue("chakra-modal__overlay",r),a=Ii(),o=De({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},a.overlay),l=Xn(),s=l.motionPreset,u=s==="none"?{}:jI;return w.createElement(GD,De({},u,{__css:o,ref:t,className:i},n))}),ZD=Fe(function(e,t){var r=e.className,n=Yn(e,VD),i=Xn(),a=i.headerId,o=i.setHeaderMounted;w.useEffect(function(){return o(!0),function(){return o(!1)}},[o]);var l=Ue("chakra-modal__header",r),s=Ii(),u=De({flex:0},s.header);return w.createElement(re.header,De({ref:t,className:l,id:a},n,{__css:u}))}),qD=Fe(function(e,t){var r=e.className,n=Yn(e,jD),i=Xn(),a=i.bodyId,o=i.setBodyMounted;w.useEffect(function(){return o(!0),function(){return o(!1)}},[o]);var l=Ue("chakra-modal__body",r),s=Ii();return w.createElement(re.div,De({ref:t,className:l,id:a},n,{__css:s.body}))}),QD=Fe(function(e,t){var r=e.className,n=Yn(e,HD),i=Ue("chakra-modal__footer",r),a=Ii(),o=De({display:"flex",alignItems:"center",justifyContent:"flex-end"},a.footer);return w.createElement(re.footer,De({ref:t},n,{__css:o,className:i}))}),JD=Fe(function(e,t){var r=e.onClick,n=e.className,i=Yn(e,WD),a=Xn(),o=a.onClose,l=Ue("chakra-modal__close-btn",n),s=Ii();return w.createElement(d8,De({ref:t,__css:s.closeButton,className:l,onClick:Ut(r,function(u){u.stopPropagation(),o()})},i))});wn(),re(YI);function Aw(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function ia(){return ia=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ia.apply(this,arguments)}var ez=ni({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),tz=ni({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});ni({"0%":{left:"-40%"},"100%":{left:"100%"}}),ni({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function rz(e){var t=e.value,r=t===void 0?0:t,n=e.min,i=e.max,a=e.valueText,o=e.getValueText,l=e.isIndeterminate,s=HC(r,n,i),u=function(){if(r!=null)return Br(o)?o(r,s):a};return{bind:{"data-indeterminate":l?"":void 0,"aria-valuemax":i,"aria-valuemin":n,"aria-valuenow":l?void 0:r,"aria-valuetext":u(),role:"progressbar"},percent:s,value:r}}var nz=["size","isIndeterminate"],iz=["size","max","min","valueText","getValueText","value","capIsRound","children","thickness","color","trackColor","isIndeterminate"],Fw=function(t){return w.createElement(re.circle,ia({cx:50,cy:50,r:42,fill:"transparent"},t))},az=function(t){var r=t.size,n=t.isIndeterminate,i=Aw(t,nz);return w.createElement(re.svg,ia({viewBox:"0 0 100 100",__css:{width:r,height:r,animation:n?tz+" 2s linear infinite":void 0}},i))},oz=function(t){var r,n=t.size,i=n===void 0?"48px":n,a=t.max,o=a===void 0?100:a,l=t.min,s=l===void 0?0:l,u=t.valueText,c=t.getValueText,d=t.value,f=t.capIsRound,p=t.children,h=t.thickness,y=h===void 0?"10px":h,v=t.color,m=v===void 0?"#0078d4":v,g=t.trackColor,b=g===void 0?"#edebe9":g,x=t.isIndeterminate,C=Aw(t,iz),P=rz({min:s,max:o,value:d,valueText:u,getValueText:c,isIndeterminate:x}),E=x?void 0:((r=P.percent)!=null?r:0)*2.64,A=hC(E)?void 0:E+" "+(264-E),_=x?{css:{animation:ez+" 1.5s linear infinite"}}:{strokeDashoffset:66,strokeDasharray:A,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},$={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:i};return w.createElement(re.div,ia({className:"chakra-progress"},P.bind,C,{__css:$}),w.createElement(az,{size:i,isIndeterminate:x},w.createElement(Fw,{stroke:b,strokeWidth:y,className:"chakra-progress__track"}),w.createElement(Fw,ia({stroke:m,strokeWidth:y,className:"chakra-progress__indicator",strokeLinecap:f?"round":void 0,opacity:P.value===0&&!x?0:void 0},_))),p)};re("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});function tr(){return tr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tr.apply(this,arguments)}function Mw(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var lz={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},sz=["openDelay","closeDelay","closeOnClick","closeOnMouseDown","closeOnEsc","onOpen","onClose","placement","id","isOpen","defaultIsOpen","arrowSize","arrowShadowColor","arrowPadding","modifiers","isDisabled","gutter","offset","direction"];function uz(e){e===void 0&&(e={});var t=e,r=t.openDelay,n=r===void 0?0:r,i=t.closeDelay,a=i===void 0?0:i,o=t.closeOnClick,l=o===void 0?!0:o,s=t.closeOnMouseDown,u=t.closeOnEsc,c=u===void 0?!0:u,d=t.onOpen,f=t.onClose,p=t.placement,h=t.id,y=t.isOpen,v=t.defaultIsOpen,m=t.arrowSize,g=m===void 0?10:m,b=t.arrowShadowColor,x=t.arrowPadding,C=t.modifiers,P=t.isDisabled,E=t.gutter,A=t.offset,_=t.direction,$=Mw(t,sz),Y=Pm({isOpen:y,defaultIsOpen:v,onOpen:d,onClose:f}),X=Y.isOpen,G=Y.onOpen,q=Y.onClose,J=JL({enabled:X,placement:p,arrowPadding:x,modifiers:C,gutter:E,offset:A,direction:_}),ue=J.referenceRef,ce=J.getPopperProps,$e=J.getArrowInnerProps,Ce=J.getArrowProps,Ie=Lc(h,"tooltip"),R=w.useRef(null),N=w.useRef(),D=w.useRef(),z=w.useCallback(function(){P||(N.current=window.setTimeout(G,n))},[P,G,n]),V=w.useCallback(function(){N.current&&clearTimeout(N.current),D.current=window.setTimeout(q,a)},[a,q]),te=w.useCallback(function(){l&&V()},[l,V]),ye=w.useCallback(function(){s&&V()},[s,V]),Ee=w.useCallback(function(be){X&&be.key==="Escape"&&V()},[X,V]);km("keydown",c?Ee:void 0),w.useEffect(function(){return function(){clearTimeout(N.current),clearTimeout(D.current)}},[]),km("mouseleave",V,function(){return R.current});var He=w.useCallback(function(be,ot){be===void 0&&(be={}),ot===void 0&&(ot=null);var Ht=tr({},be,{ref:ma(R,ot,ue),onMouseEnter:Ut(be.onMouseEnter,z),onClick:Ut(be.onClick,te),onMouseDown:Ut(be.onMouseDown,ye),onFocus:Ut(be.onFocus,z),onBlur:Ut(be.onBlur,V),"aria-describedby":X?Ie:void 0});return Ht},[z,V,ye,X,Ie,te,ue]),bn=w.useCallback(function(be,ot){var Ht;return be===void 0&&(be={}),ot===void 0&&(ot=null),ce(tr({},be,{style:tr({},be.style,(Ht={},Ht[Je.arrowSize.var]=g?Ll(g):void 0,Ht[Je.arrowShadowColor.var]=b,Ht))}),ot)},[ce,g,b]),Zn=w.useCallback(function(be,ot){be===void 0&&(be={}),ot===void 0&&(ot=null);var Ht=tr({ref:ot},$,be,{id:Ie,role:"tooltip",style:tr({},be.style,{position:"relative",transformOrigin:Je.transformOrigin.varRef})});return Ht},[$,Ie]);return{isOpen:X,show:z,hide:V,getTriggerProps:He,getTooltipProps:Zn,getTooltipPositionerProps:bn,getArrowProps:Ce,getArrowInnerProps:$e}}var cz=["children","label","shouldWrapChildren","aria-label","hasArrow","bg","portalProps","background","backgroundColor","bgColor"],fz=re(Bu.div),dz=Fe(function(e,t){var r,n,i=on("Tooltip",e),a=an(e),o=Qy(),l=a.children,s=a.label,u=a.shouldWrapChildren,c=a["aria-label"],d=a.hasArrow,f=a.bg,p=a.portalProps,h=a.background,y=a.backgroundColor,v=a.bgColor,m=Mw(a,cz),g=(r=(n=h!=null?h:y)!=null?n:f)!=null?r:v;g&&(i.bg=g,i[Je.arrowBg.var]=xC(o,"colors",g));var b=uz(tr({},m,{direction:o.direction})),x=Fl(l)||u,C;if(x)C=w.createElement(re.span,tr({tabIndex:0},b.getTriggerProps()),l);else{var P=w.Children.only(l);C=w.cloneElement(P,b.getTriggerProps(P.props,P.ref))}var E=!!c,A=b.getTooltipProps({},t),_=E?Ml(A,["role","id"]):A,$=pm(A,["role","id"]);return s?w.createElement(w.Fragment,null,C,w.createElement(Sv,null,b.isOpen&&w.createElement(po,p,w.createElement(re.div,tr({},b.getTooltipPositionerProps(),{__css:{zIndex:i.zIndex,pointerEvents:"none"}}),w.createElement(fz,tr({variants:lz},_,{initial:"exit",animate:"enter",exit:"exit",__css:i}),s,E&&w.createElement(gS,$,c),d&&w.createElement(re.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},w.createElement(re.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:i.bg}}))))))):w.createElement(w.Fragment,null,l)}),pz=JT;pz.defaultProps={theme:F1};function vz(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=[].concat(t),i=t[t.length-1];return YA(i)&&n.length>1?n=n.slice(0,n.length-1):i=F1,zC.apply(void 0,n.map(function(a){return function(o){return Br(a)?a(o):hz(o,a)}}))(i)}function hz(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.apply(void 0,[{}].concat(t,[Rw]))}function Rw(e,t,r,n){if((Br(e)||Br(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var i=Br(e)?e.apply(void 0,arguments):e,a=Br(t)?t.apply(void 0,arguments):t;return Ot({},i,a,Rw)}}const tc={deepSkyBlue:"#0189FF",azureRadiance:"#017BE5",blueGrey:"#60798E",veryLightBlue:"#E0EEFA",linkWater:"#C7DEF2",ziggurat:"#B0CFE0"},Kn={main:tc,secondary:{pumpkin:"#FF7A14",polishedBronze:"#CD7F32",cornsilk:"#FFF5DF",linen:"#F8ECE0"},alert:{deepSkyBlue:tc.deepSkyBlue,veryLightBlue:tc.veryLightBlue,jadeGreen:"#28A745",ice:"#E9F6EC",red:"#CC0000",veryLightPinkThree:"#F9DFDF",orangeyYelow:"#F5A623",pale:"#FDEED6"},icon:{cetaceanBlue:"#08044F",deepSkyBlue:tc.deepSkyBlue,lightSeaGreen:"#1EBDAF",orangeRed:"#FF554D",ripeMango:"#FFBC27"},neutral:{darkCharcoal:"#2F2F2F",davysGrey:"#5C5C5C",gray:"#808080",spanishGrey:"#999999",silverSand:"#C6C6C6",platinum:"#E8E8E8",cultured:"#F4F4F4",cultured2:"#F8F8F8",white:"#FFFFFF"}},mz={global:e=>({".react-ripples":{h:"100%",display:"grid!important"},".chakra-button":{borderStyle:"none"},".chakra-modal__content-container":{padding:"1.87rem",zIndex:"1400",justifyContent:"center",alignItems:"center",overflow:"auto"},".chakra-modal__content":{borderRadius:"0.5rem",background:"white",color:"inherit",zIndex:"1400",maxWidth:"36.813rem",boxShadow:"0px 4px 16px rgba(92, 92, 92, 0.2)"},".chakra-modal__header":{paddingInlineStart:"1.5rem",paddingInlineEnd:"1.5rem",fontSize:"1.25rem",fontWeight:"700",textAlign:"center",".chakra-icon":{width:"13rem"}},".chakra-modal__close-btn":{width:"2rem",height:"2rem",borderRadius:"0.5rem",fontSize:"0.75rem",position:"absolute",top:"0.5rem",right:"0.75rem",color:"#60798E",backgroundColor:"transparent",borderStyle:"none"}})},ll="solid .063rem",gz={borders:{normal:`${ll} ${Kn.neutral.darkCharcoal}`,light:`${ll} ${Kn.neutral.platinum}`,active:`${ll} ${Kn.main.deepSkyBlue}`,success:`${ll} ${Kn.alert.jadeGreen}`,error:`${ll} ${Kn.alert.red}`,white:`solid .125rem ${Kn.neutral.white}`},radii:{small:".25rem",big:".5rem",rounded:"50%"},shadows:{sm:"0 .125rem .5rem 0 rgba(0,0,0,.20)",md:"0 .25rem 1rem 0 rgba(0,0,0,.20)",lg:"0 .5rem 2rem 0 rgba(0,0,0,.20)"},space:{xxs:".25rem",xs:".5rem",s:"1rem",m:"1.5rem",l:"2rem",xl:"3rem",xxl:"5rem"}};var X$="",K$="",Z$="",q$="",Q$="";const yz={fonts:{body:"Roboto",outstanding:"Lora"}},bz=vz(B(I(I({colors:Kn},gz),yz),{styles:mz})),U=e=>`var(--chakra-${e})`;function sl({children:e,bg:t=U("colors-icon-ripeMango"),color:r=U("colors-neutral-darkCharcoal"),size:n="md",m:i="0"}){const a={md:{borderRadius:"0.25em",fontWeight:"400",p:"0.25em 0.84em"},sm:{borderRadius:"0.42em",fontWeight:"700",p:"0.17em 0.67em"}};return O(ft,{bg:t,borderRadius:a[n].borderRadius,color:r,display:"inline-block",fontSize:"0.75rem",fontWeight:a[n].fontWeight,lineHeight:".875rem",m:i,p:a[n].p,children:e})}sl.displayName="Label";function ih({value:e=0}){let t=e;return e>100?t=100:e<0&&(t=0),O(oz,{size:"1rem",value:t,thickness:"1rem",color:U("colors-main-deepSkyBlue"),trackColor:U("colors-neutral-platinum")})}ih.displayName="Progress";var xz=globalThis&&globalThis.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)i.hasOwnProperty(a)&&(n[a]=i[a])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),aa=globalThis&&globalThis.__assign||function(){return aa=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},aa.apply(this,arguments)},Sz=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},wz={position:"relative",display:"inline-flex",overflow:"hidden"},Cz=function(e){e===void 0&&(e={});var t;return t=function(r){xz(n,r);function n(i){var a=r.call(this,i)||this;return a.timer=0,a.onClick=function(o){var l=a.props,s=l.during,u=l.onClick,c=l.color;o.stopPropagation();var d=o.pageX,f=o.pageY,p=o.currentTarget,h=p.getBoundingClientRect(),y=d-(h.left+window.scrollX),v=f-(h.top+window.scrollY),m=Math.max(h.width,h.height);a.setState(function(g){return{rippleStyle:aa({},g.rippleStyle,{left:y,top:v,opacity:1,transform:"translate(-50%, -50%)",transition:"initial",backgroundColor:c})}},function(){a.timer=setTimeout(function(){a.setState(function(g){return{rippleStyle:aa({},g.rippleStyle,{opacity:0,transform:"scale("+m/9+")",transition:"all "+s+"ms"})}})},50)}),u&&u(o)},a.state={rippleStyle:{position:"absolute",borderRadius:"50%",opacity:0,width:35,height:35,transform:"translate(-50%, -50%)",pointerEvents:"none"}},a}return n.prototype.componentWillUnmount=function(){clearTimeout(this.timer)},n.prototype.render=function(){var i=this.props,a=i.children;i.during,i.color,i.onClick;var o=i.className,l=Sz(i,["children","during","color","onClick","className"]),s=this.state.rippleStyle;return Lr.default.createElement("div",aa({},l,{className:("react-ripples "+o).trim(),style:wz,onClick:this.onClick}),a,Lr.default.createElement("s",{style:s}))},n}(Lr.default.PureComponent),t.displayName="Ripples",t.propTypes={during:Wu.number,color:Wu.string,onClick:Wu.func,className:Wu.string},t.defaultProps=aa({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},e),t},ah=globalThis&&globalThis.__assign||function(){return ah=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},ah.apply(this,arguments)},Ez=function(e){return function(t){return Lr.default.createElement(e,ah({},t))}},Iw=Ez(Cz());function oh({children:e,color:t="rgba(204,204,204,0.2)"}){return O(Iw,{during:1e3,color:t,children:O(ft,{children:e})})}oh.displayName="Ripples";function ze({w:e="1rem",h:t="1rem",color:r=U("colors-main-ziggurat"),m:n="0",viewBox:i="0 0 16 16",children:a,title:o}){return ne(R1,{w:e,h:t,viewBox:i,color:r,m:n,children:[ne("title",{children:["icon",o&&`-${o}`]}),a]})}function lh(e){return ne(ze,B(I({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"academicRecord",children:[O("path",{d:"M14 0H2C1.73478 0 1.48043 0.105357 1.29289 0.292893C1.10536 0.48043 1 0.734784 1 1V7C1 7.26522 1.10536 7.51957 1.29289 7.70711C1.48043 7.89464 1.73478 8 2 8H14C14.2652 8 14.5196 7.89464 14.7071 7.70711C14.8946 7.51957 15 7.26522 15 7V1C15 0.734784 14.8946 0.48043 14.7071 0.292893C14.5196 0.105357 14.2652 0 14 0V0Z",fill:"currentColor"}),O("path",{d:"M15 10H1V12H15V10Z",fill:"currentColor"}),O("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]}))}lh.displayName="AcademicRecord";function sh(e){return O(ze,B(I({},e),{children:ne("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[O("path",{d:"M22.142 44.1483C34.0945 44.1483 43.784 34.4588 43.784 22.5063C43.784 10.5537 34.0945 0.864258 22.142 0.864258C10.1895 0.864258 0.5 10.5537 0.5 22.5063C0.5 34.4588 10.1895 44.1483 22.142 44.1483Z",fill:"#FDEED6"}),O("path",{d:"M19 24.1013C19.8284 24.1013 20.5 23.4297 20.5 22.6013C20.5 21.7729 19.8284 21.1013 19 21.1013C18.1716 21.1013 17.5 21.7729 17.5 22.6013C17.5 23.4297 18.1716 24.1013 19 24.1013Z",fill:"#FFBC27"}),O("path",{d:"M24 24.1013C24.8284 24.1013 25.5 23.4297 25.5 22.6013C25.5 21.7729 24.8284 21.1013 24 21.1013C23.1716 21.1013 22.5 21.7729 22.5 22.6013C22.5 23.4297 23.1716 24.1013 24 24.1013Z",fill:"#FFBC27"}),O("path",{d:"M29 24.1013C29.8284 24.1013 30.5 23.4297 30.5 22.6013C30.5 21.7729 29.8284 21.1013 29 21.1013C28.1716 21.1013 27.5 21.7729 27.5 22.6013C27.5 23.4297 28.1716 24.1013 29 24.1013Z",fill:"#FFBC27"}),O("path",{d:"M44.178 13.8843C41.157 8.63532 35.491 5.10132 29 5.10132C19.335 5.10132 11.5 12.9363 11.5 22.6013C11.5 32.2663 19.335 40.1013 29 40.1013C35.108 40.1013 40.484 36.9723 43.615 32.2303",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),O("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.282 13.9192C50.6627 13.9192 51.782 15.0385 51.782 16.4192V20.9862C51.782 22.3669 50.6627 23.4862 49.282 23.4862C47.9013 23.4862 46.782 22.3669 46.782 20.9862V16.4192C46.782 15.0385 47.9013 13.9192 49.282 13.9192ZM47.5143 25.6514C48.4906 24.6751 50.0735 24.6751 51.0498 25.6515L51.0958 25.6975C52.0721 26.6738 52.072 28.2567 51.0957 29.233C50.1194 30.2093 48.5365 30.2093 47.5602 29.2329L47.5142 29.1869C46.5379 28.2106 46.5379 26.6277 47.5143 25.6514Z",fill:"#FFBC27"})]})}))}sh.displayName="ArrowRight";function uh(e){return ne(ze,B(I({},e),{children:[ne("g",{clipPath:"url(#clip0)",children:[O("mask",{id:"mask0",style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:O("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),O("g",{mask:"url(#mask0)",children:O("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),O("defs",{children:O("clipPath",{id:"clip0",children:O("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]}))}uh.displayName="ArrowRight";function ch(e){return ne(ze,B(I({},e),{children:[O("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),O("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 8h2a1 1 0 011 1v6a1 1 0 01-1 1H9v-4H7v4H1a1 1 0 01-1-1V9a1 1 0 011-1h2V4.618l-.553.277a1 1 0 01-.894-1.79l6-3a1 1 0 01.894 0l6 3a1 1 0 11-.894 1.79L13 4.618V8zM3 13h2v-3H3v3zm2-5V4a.98.98 0 00-.07-.347L8 2.118l3.07 1.535A.98.98 0 0011 4v4H5zm6 5h2v-3h-2v3z",clipRule:"evenodd"})]}))}ch.displayName="Certificate";function fh(e){return O(ze,B(I({},e),{children:O("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 8c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zm3.6 0L7 11.4 12.4 6 11 4.6l-4 4-2-2L3.6 8z",clipRule:"evenodd"})}))}fh.displayName="CircularCheck";function rc(e){return O(ze,B(I({},e),{children:O("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zM7 12V7h2v5H7zm0-7c0 .6.4 1 1 1s1-.4 1-1-.4-1-1-1-1 .4-1 1z",clipRule:"evenodd"})}))}rc.displayName="CircularInformation";function dh(e){return ne(ze,B(I({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",children:[O("path",{d:"M7.99998 12C8.29998 12 8.49998 11.9 8.69998 11.7L14.4 6L13 4.6L8.99998 8.6V0H6.99998V8.6L2.99998 4.6L1.59998 6L7.29998 11.7C7.49998 11.9 7.69998 12 7.99998 12Z",fill:"currentColor"}),O("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]}))}dh.displayName="Download";function ph(e){return O(ze,B(I({},e),{w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goAhead",children:O("path",{d:"M2.07407 12L8 6L2.07407 5.18061e-07L-8.65485e-07 2.1L3.85185 6L-1.83588e-07 9.9L2.07407 12V12Z",fill:"currentColor"})}))}ph.displayName="GoAhead";function vh(e){return O(ze,B(I({},e),{w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goBack",children:O("path",{d:"M5.92593 2L0 8L5.92593 14L8 11.9L4.14815 8L8 4.1L5.92593 2Z",fill:"currentColor"})}))}vh.displayName="GoBack";function hh(e){return ne(ze,B(I({},e),{w:"12px",viewBox:"0 0 14 14",title:"multimedia",children:[O("path",{d:"M3 6C4.65685 6 6 4.65685 6 3C6 1.34315 4.65685 0 3 0C1.34315 0 0 1.34315 0 3C0 4.65685 1.34315 6 3 6Z",fill:"currentColor"}),O("path",{d:"M11 6C12.6569 6 14 4.65685 14 3C14 1.34315 12.6569 0 11 0C9.34315 0 8 1.34315 8 3C8 4.65685 9.34315 6 11 6Z",fill:"currentColor"}),O("path",{d:"M3 14C4.65685 14 6 12.6569 6 11C6 9.34315 4.65685 8 3 8C1.34315 8 0 9.34315 0 11C0 12.6569 1.34315 14 3 14Z",fill:"currentColor"}),O("path",{d:"M11 14C12.6569 14 14 12.6569 14 11C14 9.34315 12.6569 8 11 8C9.34315 8 8 9.34315 8 11C8 12.6569 9.34315 14 11 14Z",fill:"currentColor"})]}))}hh.displayName="Multimedia";function Lw({fill:e="#fff"}){return O("div",{className:"loaderAsync","data-testid":"loaderAsync",children:ne("svg",{id:"prefix__eXySq0EBKm11",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 20",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",width:38,height:20,children:[O("style",{dangerouslySetInnerHTML:{__html:"@keyframes eXySq0EBKm12_f_o{0%,33.333333%,to{fill-opacity:.4}66.666667%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm13_f_o{0%,66.666667%,to{fill-opacity:.4}33.333333%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm14_f_o{0%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}33.333333%,66.666667%{fill-opacity:.4}to{fill-opacity:1}}"}}),O("circle",{r:2.502,transform:"translate(29.526 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm12_f_o 600ms linear infinite normal forwards"}}),O("circle",{r:2.502,transform:"translate(19 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm13_f_o 600ms linear infinite normal forwards"}}),O("circle",{r:2.053,transform:"matrix(1.21764 0 0 1.21764 8.562 10.002)",fill:e,style:{animation:"eXySq0EBKm14_f_o 600ms linear infinite normal forwards"}})]})})}function mh(e){return O(ze,B(I({},e),{viewBox:"0 0 12 12",w:"12px",title:"profile",children:O("path",{fill:"currentColor",d:"M5 6a3 3 0 100-6 3 3 0 000 6zM5 7c-3.375 0-5 2.106-5 3.333V11a1 1 0 001 1h8a1 1 0 001-1v-.667C10 9.106 8.375 7 5 7z"})}))}mh.displayName="Profile";function gh(e){return ne(ze,B(I({},e),{children:[O("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 2h2a1 1 0 011 1v12a1 1 0 01-1 1H1a1 1 0 01-1-1V3a1 1 0 011-1h2V0h2v2h2V0h2v2h2V0h2v2zM2 14h12V5H2v9z",clipRule:"evenodd"}),O("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),O("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),O("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),O("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),O("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),O("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]}))}gh.displayName="Schedule";function yh(e){return ne(ze,B(I({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[O("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),O("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),O("path",{d:"M6 4C6.55228 4 7 3.55228 7 3C7 2.44772 6.55228 2 6 2C5.44772 2 5 2.44772 5 3C5 3.55228 5.44772 4 6 4Z",fill:"white"})]}))}yh.displayName="TinyAlertInfo";function bh(e){return ne(ze,B(I({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[ne("g",{clipPath:"url(#clip0_2165_6683)",children:[O("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),O("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.87867 2.46447L2.46446 3.87868L4.58578 6L2.46446 8.12132L3.87867 9.53553L5.99999 7.41421L8.12131 9.53553L9.53553 8.12132L7.41421 6L9.53553 3.87868L8.12131 2.46447L5.99999 4.58579L3.87867 2.46447Z",fill:"white"})]}),O("defs",{children:O("clipPath",{id:"clip0_2165_6683",children:O("rect",{width:"12px",height:"12px",fill:"white"})})})]}))}bh.displayName="TinyAlertError";function xh(e){return ne(ze,B(I({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[O("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),O("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),O("path",{d:"M6 8C5.44771 8 5 8.44772 5 9C5 9.55228 5.44772 10 6 10C6.55228 10 7 9.55228 7 9C7 8.44772 6.55228 8 6 8Z",fill:"white"})]}))}xh.displayName="TinyAlertWarning";function Sh(e){return ne(ze,B(I({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[ne("g",{clipPath:"url(#clip0_2191_1138)",children:[O("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),O("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.41421 5.53549L2 6.94971L3.41421 8.36392L4.82843 9.77813L9.77817 4.82839L8.36396 3.41417L4.82843 6.94971L3.41421 5.53549Z",fill:"white"})]}),O("defs",{children:O("clipPath",{id:"clip0_2191_1138",children:O("rect",{width:"12",height:"12",fill:"white"})})})]}))}Sh.displayName="TinyAlertSuccess";function wh(e){return O(ze,B(I({},e),{w:"14px",h:"16px",viewBox:"0 0 14 16",title:"password",children:O("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C4.95714 0 3.28571 1.67143 3.28571 3.71429V4.64286H1.42857C0.871429 4.64286 0.5 5.01429 0.5 5.57143V13.9286C0.5 14.4857 0.871429 14.8571 1.42857 14.8571H12.5714C13.1286 14.8571 13.5 14.4857 13.5 13.9286V5.57143C13.5 5.01429 13.1286 4.64286 12.5714 4.64286H10.7143V3.71429C10.7143 1.67143 9.04286 0 7 0ZM7.92857 10.8643V12.0714H6.07143V10.8643C5.51429 10.5857 5.14286 9.93571 5.14286 9.28571C5.14286 8.26429 5.97857 7.42857 7 7.42857C8.02143 7.42857 8.85714 8.26429 8.85714 9.28571C8.85714 9.93571 8.48571 10.5857 7.92857 10.8643ZM5.14286 3.71429V4.64286H8.85714V3.71429C8.85714 2.69286 8.02143 1.85714 7 1.85714C5.97857 1.85714 5.14286 2.69286 5.14286 3.71429Z",fill:"currentColor"})}))}wh.displayName="Password";function Ch(e){return ne(ze,B(I({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"pen",children:[O("path",{d:"M8.1 3.5L0.3 11.3C0.1 11.5 0 11.7 0 12V15C0 15.6 0.4 16 1 16H4C4.3 16 4.5 15.9 4.7 15.7L12.5 7.9L8.1 3.5Z",fill:"currentColor"}),O("path",{d:"M15.7 3.3L12.7 0.3C12.3 -0.1 11.7 -0.1 11.3 0.3L9.5 2.1L13.9 6.5L15.7 4.7C16.1 4.3 16.1 3.7 15.7 3.3Z",fill:"currentColor"})]}))}Ch.displayName="Pen";function Eh(e){return O(ze,B(I({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"plusSign",children:O("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8C0 3.6 3.6 0 8 0C12.4 0 16 3.6 16 8C16 12.4 12.4 16 8 16C3.6 16 0 12.4 0 8ZM9 9H12V7H9V4H7V7H4V9H7V12H9V9Z",fill:"currentColor"})}))}Eh.displayName="PlusSign";function kh(e){return ne(ze,B(I({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"trashCan",children:[O("path",{d:"M2 6V14C2 15.1 2.9 16 4 16H12C13.1 16 14 15.1 14 14V6H2Z",fill:"currentColor"}),O("path",{d:"M12 3V1C12 0.4 11.6 0 11 0H5C4.4 0 4 0.4 4 1V3H0V5H16V3H12ZM10 3H6V2H10V3Z",fill:"currentColor"})]}))}kh.displayName="TrashCan";function Th(e){return O(ze,B(I({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"textBubble",children:O("path",{d:"M1 0H15C15.552 0 16 0.448 16 1V11C16 11.552 15.552 12 15 12H10L4 16V12H1C0.448 12 0 11.552 0 11V1C0 0.448 0.448 0 1 0Z",fill:"currentColor"})}))}Th.displayName="TextBubble";var kz=Object.freeze(Object.defineProperty({__proto__:null,AcademicRecord:lh,AlertInfo:sh,ArrowRight:uh,Certificate:ch,CircularCheck:fh,CircularInformation:rc,Download:dh,GoAhead:ph,GoBack:vh,Multimedia:hh,Loader:Lw,Profile:mh,Schedule:gh,TinyAlertInfo:yh,TinyAlertError:bh,TinyAlertWarning:xh,TinyAlertSuccess:Sh,Password:wh,Pen:Ch,PlusSign:Eh,TrashCan:kh,TextBubble:Th},Symbol.toStringTag,{value:"Module"}));function Bw({status:e,text:t,margin:r="0"}){const n={success:{icon:O(Sh,{}),text:"Success",bg:U("colors-alert-ice"),color:U("colors-neutral-darkCharcoal")},error:{icon:O(bh,{}),text:"Error",bg:U("colors-alert-veryLightPinkThree"),color:U("colors-neutral-darkCharcoal")},info:{icon:O(yh,{}),text:"Info",bg:U("colors-alert-veryLightBlue"),color:U("colors-neutral-darkCharcoal")},warning:{icon:O(xh,{}),text:"Warning",bg:U("colors-alert-pale"),color:U("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:U("colors-main-blueGrey"),color:U("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:U("colors-main-ziggurat"),color:U("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:U("colors-neutral-cultured"),color:U("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:U("colors-neutral-white")}};return n[e]?ne(ft,{margin:r,"data-testid":"TinyAlert-Box",backgroundColor:n[e].bg,display:"flex",flexDirection:"row",alignItems:"center",padding:".125em .25em",gap:".25rem",width:"fit-content",borderRadius:".25rem",className:"TinyAlert-Box",children:[n[e].icon&&O(ft,{lineHeight:0,sx:{">svg":{margin:0}},children:n[e].icon}),O(ft,{as:"span",color:n[e].color,fontSize:".75rem",fontStyle:"normal",fontWeight:"400",fontFamily:"Roboto",lineHeight:".875rem",margin:"0",children:t!=null?t:n[e].text})]}):null}Bw.displayName="TinyAlert";function nc({bg:e,borderColorActive:t=[U("colors-main-deepSkyBlue"),U("colors-neutral-white")],children:r,color:n=U("colors-neutral-white"),disabled:i=!1,fillLoader:a=U("colors-neutral-white"),isFullWidth:o=!1,leftIcon:l,m:s="0",isLoading:u=!1,onClick:c,rightIcon:d,rounded:f=!1,size:p="regular",touchDark:h=!1,type:y="button",tabIndex:v,id:m}){var A,_,$;let g=r!=null?r:null;!r&&!d&&!l&&(g="Button");const b=".75rem",x=f?"12px":U("radii-small"),C=(A=e==null?void 0:e.main)!=null?A:U("colors-main-deepSkyBlue"),P=h?"rgba(160, 160, 160, 0.2)":"rgba(255, 255, 255, 0.2)",E=!r&&(d!=null?d:l)?"onlyIcon":"";return O(ft,{margin:s,sx:{".react-ripples":{borderRadius:x,display:`${o?"grid":"inline-flex!important"}`}},children:O(Iw,{color:P,children:O(kv,{id:m,fontWeight:"500",fontSize:p==="regular"?"medium":"small",bg:C,size:p==="regular"?"md":"sm",borderRadius:x,color:n,className:E,disabled:i&&u?!1:i,height:"auto",minHeight:p==="regular"?"2.813rem":"2rem",minWidth:p==="regular"?"9rem":"auto",lineHeight:"initial",iconSpacing:U("space-xs"),isActive:!1,isLoading:u,leftIcon:l,onClick:Y=>{!u&&!i&&(c==null||c(Y))},type:y,tabIndex:v,paddingTop:p==="regular"?b:U(E?"space-xs":"space-xxs"),paddingBottom:p==="regular"?b:U(E?"space-xs":"space-xxs"),paddingLeft:U(p==="regular"?"space-s":"space-xs"),paddingRight:U(p==="regular"?"space-s":"space-xs"),position:"relative",isFullWidth:o,rightIcon:d,spinner:O(Lw,{fill:a}),_active:{bg:(_=e==null?void 0:e.main)!=null?_:U("colors-main-azureRadiance")},_disabled:{opacity:"50%",cursor:"not-allowed"},_focus:{boxShadow:"none"},_focusVisible:{boxShadow:`inset 0 0 0 2px ${t[0]}, inset 0 0 0 4px ${t[1]}`},_hover:{bg:($=e==null?void 0:e.hover)!=null?$:U("colors-main-azureRadiance")},sx:{"&[data-loading]":{boxShadow:"none",cursor:"wait"},"&.onlyIcon span":{m:0},span:{h:"1rem"}},children:g})})})}nc.displayName="Btn";function Dw({children:e,disabled:t=!1,isFullWidth:r=!1,leftIcon:n,m:i="0",isLoading:a=!1,onClick:o,rightIcon:l,size:s="regular",type:u="button",tabIndex:c,id:d}){return O(nc,{id:d,disabled:t,isFullWidth:r,isLoading:a,leftIcon:n,m:i,onClick:o,rightIcon:l,size:s,type:u,tabIndex:c,children:e})}Dw.displayName="BtnPrimary";function zw({children:e,disabled:t=!1,isFullWidth:r=!1,leftIcon:n,m:i="0",isLoading:a=!1,onClick:o,rightIcon:l,size:s="regular",type:u="button",tabIndex:c,id:d}){return O(nc,{id:d,bg:{main:U("colors-main-veryLightBlue"),hover:U("colors-main-linkWater")},fillLoader:U("colors-main-deepSkyBlue"),borderColorActive:[U("colors-main-deepSkyBlue"),U("colors-neutral-white")],color:U("colors-main-deepSkyBlue"),disabled:t,isFullWidth:r,isLoading:a,leftIcon:n,m:i,onClick:o,rightIcon:l,size:s,touchDark:!0,type:u,tabIndex:c,children:e})}zw.displayName="BtnSecondary";function $w({children:e,iconStatus:t="multimedia",rightIcon:r,withoutColor:n=!1,m:i="0",type:a="button",tabIndex:o,id:l,onClick:s}){var m;const u=U("colors-neutral-gray"),c=U("colors-main-deepSkyBlue"),d=U("colors-neutral-white"),f=n?U("colors-main-blueGrey"):c,p={ahead:O(ph,{color:f}),answer:O(Th,{color:f}),back:O(vh,{color:f}),delete:O(kh,{color:f}),download:O(dh,{color:f}),edit:O(Ch,{color:f}),more:O(Eh,{color:f}),multimedia:O(hh,{color:f}),password:O(wh,{color:f}),record:O(lh,{color:f}),noIcon:O(ho,{})},h=(m=p[t])!=null?m:p.multimedia,y=r?h:void 0,v=r?void 0:h;return O(kv,{id:l,type:a,tabIndex:o,height:"24px",background:"transparent",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:"14px",lineHeight:"16px",textDecorationLine:"underline",borderRadius:"12px",paddingTop:U("space-xxs"),paddingBottom:U("space-xxs"),paddingLeft:U("space-xs"),paddingRight:U("space-xs"),color:u,rightIcon:y,leftIcon:v,m:i,onClick:s,_hover:{color:`${c}`},_focusVisible:{boxShadow:`inset 0 0 0 2px ${c}, inset 0 0 0 4px ${d}`},_focus:{boxShadow:"none"},_active:{bg:"transparent"},sx:{"&:hover":{"svg path":{fill:`${c}`},"@media (hover: none)":{color:`${u}`,"svg path":{fill:f}}}},children:e})}$w.displayName="BtnTertiary";function Nw({children:e,m:t="0",onClick:r,id:n}){return O(ft,{as:"button",id:n,backgroundColor:"transparent",borderStyle:"none",width:"fit-content",padding:".25em",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:".875rem",lineHeight:"1rem",textDecorationLine:"underline",color:U("colors-main-deepSkyBlue"),m:t,onClick:r,_hover:{color:U("colors-neutral-darkCharcoal"),cursor:"pointer"},children:e})}Nw.displayName="BtnLink";const Tz=({children:e,className:t="tooltip",label:r,isDisabled:n=!1,m:i,maxWidth:a="200px",placement:o="bottom"})=>O(dz,{sx:{bg:U("colors-neutral-darkCharcoal"),borderRadius:"10px",color:"white !important",fontSize:"12px",fontWeight:"400",maxWidth:a,padding:"8px",".chakra-tooltip__arrow":{bg:`${U("colors-neutral-darkCharcoal")} !important`}},className:t,closeOnClick:!0,label:r,m:i,hasArrow:!0,isDisabled:n,placement:o,children:O("span",{children:e})}),Pz=4;function Vw(){const{background:e,labels:t,logo:r,logoAlt:n,Profile:i}=w.useContext(ic);return ne(ft,{as:"header",bgImg:e,bgPos:"center",bgSize:"cover",height:"8.75rem",borderBottom:U("borders-light"),pos:"relative",children:[ne(ft,{p:"1rem",children:[(i==null?void 0:i.id)!==Pz&&O(sl,{bg:U("colors-neutral-white"),m:"0 0 .625rem 0",children:ne(zu,{children:[O(mh,{m:"0 .25rem 0 0"}),i==null?void 0:i.name]})}),t!==void 0&&t.length>0&&O(CS,{direction:"row",spacing:".625rem",wrap:"wrap",children:t.map((a,o)=>O(sl,{bg:a.id==="NEW"?U("colors-secondary-pumpkin"):void 0,children:a.text},o))})]}),r!==void 0&&r.length>0&&O(SS,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:U("borders-light"),bg:U("colors-neutral-white"),overflow:"hidden",borderRadius:U("radii-small"),w:"6.25rem",children:O(QI,{src:r,alt:n!=null?n:"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}Vw.displayName="Header";function Ph({date:e}){return e==null||e.length===0?null:O(Gi,{fontSize:".75rem",color:U("colors-neutral-darkCharcoal"),m:"0",children:e})}Ph.displayName="DateStatus";function jw({type:e,progressValue:t=0}){switch(e){case"schedule":return O(gh,{});case"certificate":return O(ch,{});case"circularCheck":return O(fh,{});case"progress":return O(ih,{value:t});case"circularInformation":return O(rc,{});case"info":return O(rc,{});default:return null}}const _z=7;function Hw({progress:e,status:t}){return ne(ho,{children:[ne(zu,{children:[O(jw,{type:e.icon,progressValue:e.progress}),O(Gi,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:e==null?void 0:e.label})]}),(t==null?void 0:t.id)===_z&&(e==null?void 0:e.finalGrade)&&(e==null?void 0:e.finalGrade.length)>0&&O(sl,{size:"sm",bg:e.isApproved?U("colors-alert-jadeGreen"):U("colors-alert-red"),color:U("colors-neutral-white"),children:e==null?void 0:e.finalGrade})]})}function Ww(){const{name:e,dateStatus:t,information:r,progress:n,status:i}=w.useContext(ic);return n==null?null:ne(ft,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(t==null?void 0:t.hasDates)&&ne(P8,{direction:"row",divider:t.init!==void 0&&t.init.length>0&&t.end!==void 0&&n.icon!==null&&t.end.length>0?O(ft,{h:".5rem",w:"1px",bg:U("colors-neutral-silverSand"),alignSelf:"center"}):O(ho,{}),children:[O(Ph,{date:t.init}),O(Ph,{date:t.end})]}),O(h8,{as:"h2",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:e}),O(zu,{mt:"1rem",justify:"space-between",children:O(Hw,{progress:n,status:i})}),r!=null&&(r==null?void 0:r.length)>0&&O(S8,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:U("borders-light"),children:r.map((a,o)=>{var l;return ne(w8,{display:"flex",children:[O(jw,{type:a.icon}),O(ft,{display:"inline-block",ml:".625rem",children:a.href!==void 0&&((l=a.href)==null?void 0:l.length)>0?O(g8,{isExternal:!0,href:a.href,color:U("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:a.text}):O(Gi,{m:"0",color:U("colors-neutral-gray"),fontSize:".75rem",children:a.text})})]},o)})})]})}Ww.displayName="Section";const j={name:"Orientaci\xF3n en la prevenci\xF3n de contagio de COVID-19",background:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT76y4DAhqWAlCspmGYWcbxSDnLw3p1FzJQKA&usqp=CAU",logo:"https://procalidad.cl/wp-content/uploads/2021/05/logo-achs.png",logoAlt:"op",status:{id:6,name:"NEXT",detail:"",style:""},Profile:{id:4,name:"Alumno"},progress:{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule",progress:0,isApproved:!1,finalGrade:""},dateStatus:{hasDates:!0,init:"Inicia 17 ene 2022",end:"Finaliza 10 ene 2023"},information:[{icon:"schedule",text:"Certificado por ACHS",href:"http://google.com"},{icon:"certificate",text:"Certificado por ACHS",href:""},{icon:"circularCheck",text:"Certificado por ACHS",href:"http://google.com"},{icon:"circularInformation",text:"Certificado por ACHS",href:""}],action:{enabled:!0,text:"Tu curso a\xFAn no comienza",hasIcon:!1,href:"https://platform.eclass.io/",targetBlank:!1},labels:[{id:"OBLIGATORY",text:"Obligatorio"}]},Uw={noHabilitado:B(I({},j),{id:1,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:1,name:"noHabilitado"}),progress:B(I({},j.progress),{label:"Inscripci\xF3n no habilitada",icon:"circularInformation"}),dateStatus:B(I({},j.dateStatus),{hasDates:!1}),information:null,action:B(I({},j.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[]}),inscripcionFutura:B(I({},j),{id:1,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:1,name:"noHabilitado"}),progress:B(I({},j.progress),{label:"Podr\xE1s inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"}),dateStatus:B(I({},j.dateStatus),{hasDates:!1}),information:null,action:B(I({},j.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[{id:"NEW",text:"Nuevo"}]}),inscripcionFinalizo:B(I({},j),{id:1,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:1,name:"noHabilitado"}),progress:B(I({},j.progress),{label:"El per\xEDodo de inscripci\xF3n finaliz\xF3 el 31 de marzo de 2022",icon:"circularInformation"}),dateStatus:B(I({},j.dateStatus),{hasDates:!1}),information:null,action:B(I({},j.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[{id:"NEW",text:"Nuevo"}]}),preInscripcion:B(I({},j),{logo:"https://cdn.eclass.com/img/productos/logos/logo-utec-square.jpg",background:"https://cdn.eclass.com/img/cursos/default1.png",id:2,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:2,name:"preInscripcion"}),progress:B(I({},j.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:B(I({},j.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{text:"Solicitar inscripci\xF3n",targetBlank:!0}),labels:[]}),preInscripcion2:B(I({},j),{id:3,hasFinanzeFreezed:!1,logo:"",status:B(I({},j.status),{id:2,name:"preInscripcion"}),progress:B(I({},j.progress),{label:"Estamos procesando tu solicitud de inscripci\xF3n",icon:"circularInformation"}),dateStatus:B(I({},j.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{text:"Ver informaci\xF3n del curso",targetBlank:!0}),labels:[]}),inscripcion:B(I({},j),{background:"https://cdn.eclass.com/img/cursos/default2.png",id:4,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:3,name:"inscripcion"}),progress:B(I({},j.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:B(I({},j.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{text:"Inscr\xEDbete",targetBlank:!0})}),inscripcion2:B(I({},j),{id:5,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:3,name:"inscripcion"}),progress:B(I({},j.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:B(I({},j.dateStatus),{hasDates:!0}),information:[],action:B(I({},j.action),{text:"Inscr\xEDbete",targetBlank:!0}),labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"}]}),noDisponible:B(I({},j),{id:6,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:B(I({},j.status),{id:4,name:"no disponible"}),progress:B(I({},j.progress),{label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"}),dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{text:"Ver informaci\xF3n del curso",targetBlank:!0}),labels:[]}),noDisponible2:B(I({},j),{background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:7,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:4,name:"no disponible"}),progress:B(I({},j.progress),{label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"}),dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{enabled:!1}),labels:[]}),noDisponible3:B(I({},j),{background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:57,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:B(I({},j.status),{id:4,name:"no disponible"}),progress:B(I({},j.progress),{label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"}),dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{enabled:!1}),labels:[]}),activado:B(I({},j),{id:8,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:5,name:"disponible"}),progress:B(I({},j.progress),{label:"\xA1Ya puedes ingresar a tu curso y comenzar a estudiar!",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar:B(I({},j),{id:9,hasFinanzeFreezed:!1,logo:"",status:B(I({},j.status),{id:6,name:"sinEstudiar"}),progress:B(I({},j.progress),{label:"Tu curso inici\xF3 hace 3 d\xEDas, \xA1Comienza a estudiar!",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar2:B(I({},j),{id:10,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:B(I({},j.status),{id:6,name:"sinEstudiar"}),progress:B(I({},j.progress),{label:"Tu curso finaliza en 7 d\xEDas",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar3:B(I({},j),{id:11,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:6,name:"sinEstudiar"}),progress:B(I({},j.progress),{label:"Tu curso finaliza ma\xF1ana a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar4:B(I({},j),{logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:12,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:6,name:"sinEstudiar"}),progress:B(I({},j.progress),{label:"Tu curso finaliza hoy a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),continuar:B(I({},j),{id:13,hasFinanzeFreezed:!0,status:B(I({},j.status),{id:7,name:"continuar"}),logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:B(I({},j.progress),{label:"Has completado un 25% de tu curso",icon:"progress",progress:25}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"}),labels:[]}),continuar2:B(I({},j),{id:14,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:7,name:"continuar"}),logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:B(I({},j.progress),{label:"Has completado un 100% de tu curso",icon:"progress",progress:100}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{text:"Ir a mi curso"}),labels:[]}),pendiente:B(I({},j),{background:"https://cdn.eclass.com/img/cursos/default3.png",id:15,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:8,name:"pendiente"}),progress:B(I({},j.progress),{label:"\xA1Curso finalizado! Estamos calculando tu promedio final",icon:"circularInformation"}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{text:"Ir a mi curso"}),labels:[]}),terminado:B(I({},j),{id:16,hasFinanzeFreezed:!1,status:B(I({},j.status),{id:7,name:"QUALIFIED"}),progress:B(I({},j.progress),{label:"Curso aprobado con nota",icon:"circularCheck",isApproved:!0,finalGrade:"6,5"}),dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{text:"Ir a mi curso"}),labels:[]}),terminado2:B(I({},j),{logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:17,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:B(I({},j.status),{id:7,name:"QUALIFIED"}),progress:B(I({},j.progress),{label:"Curso reprobado con nota",icon:"circularCheck",isApproved:!1,finalGrade:"3,5"}),dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{text:"Ir a mi curso"}),labels:[]}),terminado3:B(I({},j),{id:18,hasFinanzeFreezed:!1,logo:"",status:B(I({},j.status),{id:9,name:"terminado"}),progress:B(I({},j.progress),{label:"Curso finalizado",icon:"circularCheck"}),dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:B(I({},j.action),{text:"Ir a mi curso"}),labels:[]})},Oz=Object.keys(Uw).map(e=>Uw[e]),Gw=4,_h=(e,t=Gw)=>e||t!==Gw;function Az(e=4){const t=e*Zw+Kw*(e-1);return{px:`${t*16}px`,rem:`${t}rem`,remValue:t}}function Fz({isOpen:e,onOpen:t,onClose:r,showOverlay:n,modalPaymentText:i}){const a={backgroundColor:"transparent"};function o(){return O(KD,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[l,s]=w.useState(O(o,{}));return w.useEffect(()=>{n&&s(O(o,{}))},[n]),ne(nh,{isCentered:!0,isOpen:e,onClose:r,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[l,ne(YD,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[ne(ZD,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[O(sh,{w:"52",h:"45",viewBox:"0 0 45 52"}),i.title]}),O(JD,{size:"md",color:U("colors-main-blueGrey"),_hover:a,_focus:a,_active:a}),O(qD,{p:"1rem 2rem 2rem 2rem",children:O(Gi,{align:"center",children:i.body})}),O(QD,{justifyContent:"center",borderTop:"1px solid",borderTopColor:U("colors-neutral-platinum"),p:"1rem",children:O(kv,{onClick:r,color:U("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:a,_focus:a,_active:a,children:i.buttonName})})]})]})}nh.displayName="Modal";function Yw({modalPaymentText:e}){const{action:t,Profile:r,hasFinanzeFreezed:n}=w.useContext(ic),{isOpen:i,onOpen:a,onClose:o}=Pm(),[l,s]=w.useState(!1),u={backgroundColor:"transparent"},c=()=>{s(!0),a()};return t==null?null:ne(SS,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:U("colors-neutral-platinum"),children:[_h(t.enabled,r==null?void 0:r.id)?ne(ho,{children:[n?O(ft,{color:U("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",p:"0",zIndex:"inherit !important",_hover:u,_focus:u,_active:u,onClick:()=>c(),fontSize:"1rem !important",children:t.text}):O(Gi,{color:U("colors-main-deepSkyBlue"),fontWeight:"500",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:t.text}),t.hasIcon&&O(uh,{color:U("colors-main-deepSkyBlue")})]}):O(Gi,{fontWeight:"500",lineHeight:"1.172rem",color:U("colors-neutral-spanishGrey"),m:"0",children:t.text}),O(Fz,{isOpen:i,onClose:o,showOverlay:l,onOpen:a,modalPaymentText:e})]})}Yw.displayName="Footer";const ic=w.createContext({});function Mz({enabled:e,children:t}){return e?O(oh,{children:t}):O(ho,{children:t})}function Xw({data:e,modalPaymentText:t}){var n,i,a,o,l,s,u,c;const r={boxShadow:`0 2px 7px 0 ${U("colors-neutral-silverSand")}`};return O(ic.Provider,{value:e,children:O(M8,{as:"article",border:U("borders-light"),borderRadius:U("radii-big"),cursor:"pointer",transition:"box-shadow .3s",_active:r,_hover:r,_focus:r,overflow:"hidden",children:O(Mz,{enabled:_h((i=(n=e.action)==null?void 0:n.enabled)!=null?i:!1,(a=e.Profile)==null?void 0:a.id),children:ne(zu,{direction:"column",justify:"space-between",h:"100%",children:[ne(ft,{children:[!e.hasFinanzeFreezed&&_h((l=(o=e.action)==null?void 0:o.enabled)!=null?l:!1,(s=e.Profile)==null?void 0:s.id)&&O(F8,{href:(u=e.action)==null?void 0:u.href,isExternal:(c=e.action)==null?void 0:c.targetBlank}),O(Vw,{}),O(Ww,{})]}),O(Yw,{modalPaymentText:t})]})})})})}Xw.displayName="CourseBox";const Kw=1.25,Zw=17.8125;function qw({courses:e,modalPaymentText:t,m:r="0 auto"}){return e===void 0?null:O(ft,{display:"grid",gridColumnGap:`${Kw}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${Zw}rem, 1fr))`,m:r,w:"100%",children:e==null?void 0:e.map(n=>O(Xw,{data:n,modalPaymentText:t},n.id))})}qw.displayName="CourseList",oe.Btn=nc,oe.BtnLink=Nw,oe.BtnPrimary=Dw,oe.BtnSecondary=zw,oe.BtnTertiary=$w,oe.CourseList=qw,oe.CourseStatus=Hw,oe.Icons=kz,oe.Label=sl,oe.NewTooltip=Tz,oe.Progress=ih,oe.Ripples=oh,oe.TinyAlert=Bw,oe.dataFake=Oz,oe.maxWidthCoursesList=Az,oe.theme=bz,oe.vars=U,Object.defineProperties(oe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
412
412
|
//# sourceMappingURL=eclass-ui-kit.umd.js.map
|