@eclass/ui-kit 1.57.6 → 1.57.7
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 +1 -1
- 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/organisms/CourseList/components/Section.d.ts.map +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ object-assign
|
|
|
9
9
|
*
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
|
-
*/var Jo=Me.default,vr=60103;if(je.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var br=Symbol.for;vr=br("react.element"),je.Fragment=br("react.fragment")}var Qo=Jo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ea=Object.prototype.hasOwnProperty,ta={key:!0,ref:!0,__self:!0,__source:!0};function Er(e,t,r){var n,o={},a=null,s=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(s=t.ref);for(n in t)ea.call(t,n)&&!ta.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)o[n]===void 0&&(o[n]=t[n]);return{$$typeof:vr,type:e,key:a,ref:s,props:o,_owner:Qo.current}}je.jsx=Er,je.jsxs=Er,st.exports=je;const i=st.exports.jsx,m=st.exports.jsxs,te=st.exports.Fragment;function Ue({children:e,bg:t=f("colors-icon-ripeMango"),color:r=f("colors-neutral-darkCharcoal"),size:n="md",m:o="0",sx:a}){const s={md:{borderRadius:"0.25em",fontWeight:"400",p:"0.25em 0.84em"},sm:{borderRadius:"0.42em",fontWeight:"700",p:"0.17em 0.67em"}};return i(p.Box,{bg:t,borderRadius:s[n].borderRadius,color:r,display:"inline-block",fontSize:"0.75rem",fontWeight:s[n].fontWeight,lineHeight:".875rem",m:o,p:s[n].p,sx:a,children:e})}function kr({value:e=0}){let t=e;return e>100?t=100:e<0&&(t=0),i(p.CircularProgress,{size:"1rem",value:t,thickness:"1rem",color:f("colors-main-deepSkyBlue"),trackColor:f("colors-neutral-platinum")})}var _r={exports:{}},ia="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ra=ia,na=ra;function Mr(){}function Tr(){}Tr.resetWarningCache=Mr;var oa=function(){function e(n,o,a,s,l,u){if(u!==na){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Tr,resetWarningCache:Mr};return r.PropTypes=r,r};_r.exports=oa();var ct=_r.exports,aa=globalThis&&globalThis.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var a in o)o.hasOwnProperty(a)&&(n[a]=o[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)}}(),Re=globalThis&&globalThis.__assign||function(){return Re=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Re.apply(this,arguments)},la=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 o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},sa={position:"relative",display:"inline-flex",overflow:"hidden"},ca=function(e){e===void 0&&(e={});var t;return t=function(r){aa(n,r);function n(o){var a=r.call(this,o)||this;return a.timer=0,a.onClick=function(s){var l=a.props,u=l.during,d=l.onClick,h=l.color;s.stopPropagation();var C=s.pageX,b=s.pageY,k=s.currentTarget,y=k.getBoundingClientRect(),w=C-(y.left+window.scrollX),_=b-(y.top+window.scrollY),A=Math.max(y.width,y.height);a.setState(function(W){return{rippleStyle:Re({},W.rippleStyle,{left:w,top:_,opacity:1,transform:"translate(-50%, -50%)",transition:"initial",backgroundColor:h})}},function(){a.timer=setTimeout(function(){a.setState(function(W){return{rippleStyle:Re({},W.rippleStyle,{opacity:0,transform:"scale("+A/9+")",transition:"all "+u+"ms"})}})},50)}),d&&d(s)},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 o=this.props,a=o.children;o.during,o.color,o.onClick;var s=o.className,l=la(o,["children","during","color","onClick","className"]),u=this.state.rippleStyle;return Me.default.createElement("div",Re({},l,{className:("react-ripples "+s).trim(),style:sa,onClick:this.onClick}),a,Me.default.createElement("s",{style:u}))},n}(Me.default.PureComponent),t.displayName="Ripples",t.propTypes={during:ct.number,color:ct.string,onClick:ct.func,className:ct.string},t.defaultProps=Re({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},e),t},$t=globalThis&&globalThis.__assign||function(){return $t=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},$t.apply(this,arguments)},da=function(e){return function(t){return Me.default.createElement(e,$t({},t))}},Sr=da(ca());function Ie({children:e,color:t="rgba(204,204,204,0.2)"}){return i(Sr,{during:1e3,color:t,children:i(p.Box,{children:e})})}function L({w:e="1rem",h:t="1rem",color:r=f("colors-main-ziggurat"),m:n="0",viewBox:o="0 0 16 16",children:a,title:s}){return m(p.Icon,{w:e,h:t,viewBox:o,color:r,m:n,"aria-label":" ","aria-hidden":!0,children:[m("title",{children:["icon",s&&`-${s}`]}),a]})}function qt(e){return m(L,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"academicRecord",children:[i("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"}),i("path",{d:"M15 10H1V12H15V10Z",fill:"currentColor"}),i("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}qt.displayName="AcademicRecord";function Xt(e){return i(L,{...e,children:m("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i("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"}),i("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"}),i("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"}),i("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"}),i("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"}),i("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"})]})})}Xt.displayName="ArrowRight";function D(){return Math.random().toString(36).slice(2,9)}function Yt(e){const t=`clip-${D()}`;return m(L,{...e,children:[m("g",{clipPath:`url(#${t})`,children:[i("mask",{id:`mask-${t}`,style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:i("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),i("g",{mask:`url(#mask-${t})`,children:i("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),i("defs",{children:i("clipPath",{id:t,children:i("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]})}Yt.displayName="ArrowRight";function Kt(e){return m(L,{...e,children:[i("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),i("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"})]})}Kt.displayName="Certificate";function Jt(e){return i(L,{...e,children:i("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"})})}Jt.displayName="CircularCheck";function dt(e){return i(L,{...e,children:i("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"})})}dt.displayName="CircularInformation";function ut(e){return m(L,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",children:[i("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"}),i("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}ut.displayName="Download";function Qt(e){return i(L,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goAhead",children:i("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"})})}Qt.displayName="GoAhead";function ei(e){return i(L,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goBack",children:i("path",{d:"M5.92593 2L0 8L5.92593 14L8 11.9L4.14815 8L8 4.1L5.92593 2Z",fill:"currentColor"})})}ei.displayName="GoBack";function ti(e){return m(L,{...e,w:"12px",viewBox:"0 0 14 14",title:"multimedia",children:[i("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"}),i("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"}),i("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"}),i("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"})]})}ti.displayName="Multimedia";function Lr({fill:e="#fff"}){return i("div",{className:"loaderAsync","data-testid":"loaderAsync",children:m("svg",{id:D(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 20",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",width:38,height:20,children:[i("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}}"}}),i("circle",{r:2.502,transform:"translate(29.526 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm12_f_o 600ms linear infinite normal forwards"}}),i("circle",{r:2.502,transform:"translate(19 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm13_f_o 600ms linear infinite normal forwards"}}),i("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 ii(e){return i(L,{...e,viewBox:"0 0 12 12",w:"12px",title:"profile",children:i("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"})})}ii.displayName="Profile";function ri(e){return m(L,{...e,children:[i("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"}),i("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),i("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),i("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),i("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),i("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),i("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]})}ri.displayName="Schedule";function ni(e){return m(L,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[i("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),i("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),i("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"})]})}ni.displayName="TinyAlertInfo";function oi(e){const t=`clip${D()}`;return m(L,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[m("g",{clipPath:`url(#${t})`,children:[i("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),i("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"})]}),i("defs",{children:i("clipPath",{id:t,children:i("rect",{width:"12px",height:"12px",fill:"white"})})})]})}oi.displayName="TinyAlertError";function ai(e){return m(L,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[i("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),i("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),i("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"})]})}ai.displayName="TinyAlertWarning";function li(e){const t=`clip${D()}`;return m(L,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[m("g",{clipPath:`url(#${t})`,children:[i("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),i("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"})]}),i("defs",{children:i("clipPath",{id:t,children:i("rect",{width:"12",height:"12",fill:"white"})})})]})}li.displayName="TinyAlertSuccess";function si(e){return i(L,{...e,w:"14px",h:"16px",viewBox:"0 0 14 16",title:"password",children:i("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"})})}si.displayName="Password";function ci(e){return m(L,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"pen",children:[i("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"}),i("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"})]})}ci.displayName="Pen";function di(e){return i(L,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"plusSign",children:i("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"})})}di.displayName="PlusSign";function ui(e){return m(L,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"trashCan",children:[i("path",{d:"M2 6V14C2 15.1 2.9 16 4 16H12C13.1 16 14 15.1 14 14V6H2Z",fill:"currentColor"}),i("path",{d:"M12 3V1C12 0.4 11.6 0 11 0H5C4.4 0 4 0.4 4 1V3H0V5H16V3H12ZM10 3H6V2H10V3Z",fill:"currentColor"})]})}ui.displayName="TrashCan";function pi(e){return i(L,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"textBubble",children:i("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"})})}pi.displayName="TextBubble";function fi(e){return i(L,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:m("svg",{fill:"none",children:[i("path",{d:"M21.642 44.2419C33.5945 44.2419 43.284 34.5524 43.284 22.5999C43.284 10.6473 33.5945 0.957886 21.642 0.957886C9.68945 0.957886 0 10.6473 0 22.5999C0 34.5524 9.68945 44.2419 21.642 44.2419Z",fill:"white"}),i("path",{d:"M18.5 24.1949C19.3284 24.1949 20 23.5233 20 22.6949C20 21.8665 19.3284 21.1949 18.5 21.1949C17.6716 21.1949 17 21.8665 17 22.6949C17 23.5233 17.6716 24.1949 18.5 24.1949Z",fill:"#CC0000"}),i("path",{d:"M23.5 24.1949C24.3284 24.1949 25 23.5233 25 22.6949C25 21.8665 24.3284 21.1949 23.5 21.1949C22.6716 21.1949 22 21.8665 22 22.6949C22 23.5233 22.6716 24.1949 23.5 24.1949Z",fill:"#CC0000"}),i("path",{d:"M28.5 24.1949C29.3284 24.1949 30 23.5233 30 22.6949C30 21.8665 29.3284 21.1949 28.5 21.1949C27.6716 21.1949 27 21.8665 27 22.6949C27 23.5233 27.6716 24.1949 28.5 24.1949Z",fill:"#CC0000"}),i("path",{d:"M43.678 13.9779C40.657 8.72889 34.991 5.19489 28.5 5.19489C18.835 5.19489 11 13.0299 11 22.6949C11 32.3599 18.835 40.1949 28.5 40.1949C34.608 40.1949 39.984 37.0659 43.115 32.3239",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.5862 15.7811C36.5625 14.8048 38.1455 14.8048 39.1218 15.7811L43.2105 19.8699L47.2992 15.7811C48.2755 14.8048 49.8585 14.8048 50.8348 15.7811C51.8111 16.7574 51.8111 18.3403 50.8348 19.3167L46.746 23.4054L50.8348 27.4941C51.8111 28.4704 51.8111 30.0533 50.8348 31.0297C49.8585 32.006 48.2755 32.006 47.2992 31.0297L43.2105 26.9409L39.1218 31.0297C38.1455 32.006 36.5625 32.006 35.5862 31.0297C34.6099 30.0533 34.6099 28.4704 35.5862 27.4941L39.675 23.4054L35.5862 19.3167C34.6099 18.3403 34.6099 16.7574 35.5862 15.7811Z",fill:"#CC0000"})]})})}fi.displayName="ErrorWhite";function hi(e){return i(L,{...e,w:"53",h:"45",viewBox:"0 0 53 45",title:"infoIcon",children:m("svg",{fill:"none",children:[i("path",{d:"M21.642 44.047C33.5945 44.047 43.284 34.3575 43.284 22.405C43.284 10.4525 33.5945 0.763 21.642 0.763C9.68945 0.763 0 10.4525 0 22.405C0 34.3575 9.68945 44.047 21.642 44.047Z",fill:"white"}),i("path",{d:"M18.5 24C19.3284 24 20 23.3284 20 22.5C20 21.6716 19.3284 21 18.5 21C17.6716 21 17 21.6716 17 22.5C17 23.3284 17.6716 24 18.5 24Z",fill:"#0189FF"}),i("path",{d:"M23.5 24C24.3284 24 25 23.3284 25 22.5C25 21.6716 24.3284 21 23.5 21C22.6716 21 22 21.6716 22 22.5C22 23.3284 22.6716 24 23.5 24Z",fill:"#0189FF"}),i("path",{d:"M28.5 24C29.3284 24 30 23.3284 30 22.5C30 21.6716 29.3284 21 28.5 21C27.6716 21 27 21.6716 27 22.5C27 23.3284 27.6716 24 28.5 24Z",fill:"#0189FF"}),i("path",{d:"M43.678 13.783C40.657 8.534 34.991 5 28.5 5C18.835 5 11 12.835 11 22.5C11 32.165 18.835 40 28.5 40C34.608 40 39.984 36.871 43.115 32.129",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47 21H50C50.2652 21 50.5196 21.1054 50.7071 21.2929C50.8946 21.4804 51 21.7348 51 22V29.045H51.237C51.4908 29.0531 51.7316 29.1597 51.9082 29.3421C52.0849 29.5245 52.1837 29.7685 52.1837 30.0225C52.1837 30.2765 52.0849 30.5205 51.9082 30.7029C51.7316 30.8853 51.4908 30.9919 51.237 31H46.977C46.7232 30.9919 46.4824 30.8853 46.3058 30.7029C46.1291 30.5205 46.0303 30.2765 46.0303 30.0225C46.0303 29.7685 46.1291 29.5245 46.3058 29.3421C46.4824 29.1597 46.7232 29.0531 46.977 29.045H47V23.123C46.7348 23.123 46.4804 23.0176 46.2929 22.8301C46.1054 22.6426 46 22.3882 46 22.123V22C46 21.7348 46.1054 21.4804 46.2929 21.2929C46.4804 21.1054 46.7348 21 47 21Z",fill:"#0189FF"}),i("path",{d:"M49 19C50.3807 19 51.5 17.8807 51.5 16.5C51.5 15.1193 50.3807 14 49 14C47.6193 14 46.5 15.1193 46.5 16.5C46.5 17.8807 47.6193 19 49 19Z",fill:"#0189FF"})]})})}hi.displayName="InfoWhite";function mi(e){return i(L,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:m("svg",{fill:"none",children:[i("path",{d:"M21.642 44.094C33.5945 44.094 43.284 34.4045 43.284 22.452C43.284 10.4995 33.5945 0.809998 21.642 0.809998C9.68945 0.809998 0 10.4995 0 22.452C0 34.4045 9.68945 44.094 21.642 44.094Z",fill:"white"}),i("path",{d:"M43.678 13.83C40.657 8.581 34.991 5.047 28.5 5.047C18.835 5.047 11 12.882 11 22.547C11 32.212 18.835 40.047 28.5 40.047C34.608 40.047 39.984 36.918 43.115 32.176",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.0248 12.8232C57.0011 13.7995 57.0011 15.3825 56.0248 16.3588L44.3118 28.0718C43.8429 28.5406 43.207 28.804 42.544 28.804C41.881 28.804 41.2451 28.5406 40.7762 28.0718L34.2322 21.5278C33.2559 20.5515 33.2559 18.9685 34.2322 17.9922C35.2085 17.0159 36.7915 17.0159 37.7678 17.9922L42.544 22.7685L52.4892 12.8232C53.4655 11.8469 55.0485 11.8469 56.0248 12.8232Z",fill:"#28A745"}),i("path",{d:"M18.5 24.047C19.3284 24.047 20 23.3754 20 22.547C20 21.7186 19.3284 21.047 18.5 21.047C17.6716 21.047 17 21.7186 17 22.547C17 23.3754 17.6716 24.047 18.5 24.047Z",fill:"#28A745"}),i("path",{d:"M23.5 24.047C24.3284 24.047 25 23.3754 25 22.547C25 21.7186 24.3284 21.047 23.5 21.047C22.6716 21.047 22 21.7186 22 22.547C22 23.3754 22.6716 24.047 23.5 24.047Z",fill:"#28A745"}),i("path",{d:"M28.5 24.047C29.3284 24.047 30 23.3754 30 22.547C30 21.7186 29.3284 21.047 28.5 21.047C27.6716 21.047 27 21.7186 27 22.547C27 23.3754 27.6716 24.047 28.5 24.047Z",fill:"#28A745"})]})})}mi.displayName="SuccessWhite";function gi(e){return i(L,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:m("svg",{fill:"none",children:[i("path",{d:"M21.642 44.282C33.5945 44.282 43.284 34.5925 43.284 22.64C43.284 10.6874 33.5945 0.997986 21.642 0.997986C9.68945 0.997986 0 10.6874 0 22.64C0 34.5925 9.68945 44.282 21.642 44.282Z",fill:"white"}),i("path",{d:"M18.5 24.235C19.3284 24.235 20 23.5634 20 22.735C20 21.9066 19.3284 21.235 18.5 21.235C17.6716 21.235 17 21.9066 17 22.735C17 23.5634 17.6716 24.235 18.5 24.235Z",fill:"#FFBC27"}),i("path",{d:"M23.5 24.235C24.3284 24.235 25 23.5634 25 22.735C25 21.9066 24.3284 21.235 23.5 21.235C22.6716 21.235 22 21.9066 22 22.735C22 23.5634 22.6716 24.235 23.5 24.235Z",fill:"#FFBC27"}),i("path",{d:"M28.5 24.235C29.3284 24.235 30 23.5634 30 22.735C30 21.9066 29.3284 21.235 28.5 21.235C27.6716 21.235 27 21.9066 27 22.735C27 23.5634 27.6716 24.235 28.5 24.235Z",fill:"#FFBC27"}),i("path",{d:"M43.678 14.018C40.657 8.76899 34.991 5.23499 28.5 5.23499C18.835 5.23499 11 13.07 11 22.735C11 32.4 18.835 40.235 28.5 40.235C34.608 40.235 39.984 37.106 43.115 32.364",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.782 14.053C50.1627 14.053 51.282 15.1723 51.282 16.553V21.12C51.282 22.5007 50.1627 23.62 48.782 23.62C47.4013 23.62 46.282 22.5007 46.282 21.12V16.553C46.282 15.1723 47.4013 14.053 48.782 14.053ZM47.0143 25.7852C47.9906 24.8089 49.5735 24.8089 50.5498 25.7852L50.5958 25.8312C51.5721 26.8076 51.572 28.3905 50.5957 29.3668C49.6194 30.3431 48.0365 30.343 47.0602 29.3667L47.0142 29.3207C46.0379 28.3444 46.0379 26.7615 47.0143 25.7852Z",fill:"#FFBC27"})]})})}gi.displayName="WarningWhite";function Ci(e){return i(L,{...e,w:"53",h:"45",viewBox:"0 0 53 45",children:m("svg",{fill:"none",children:[i("path",{d:"M22.142 44.1878C34.0945 44.1878 43.784 34.4984 43.784 22.5458C43.784 10.5933 34.0945 0.903809 22.142 0.903809C10.1895 0.903809 0.5 10.5933 0.5 22.5458C0.5 34.4984 10.1895 44.1878 22.142 44.1878Z",fill:"#F9DFDF"}),i("path",{d:"M19 24.1409C19.8284 24.1409 20.5 23.4693 20.5 22.6409C20.5 21.8124 19.8284 21.1409 19 21.1409C18.1716 21.1409 17.5 21.8124 17.5 22.6409C17.5 23.4693 18.1716 24.1409 19 24.1409Z",fill:"#CC0000"}),i("path",{d:"M24 24.1409C24.8284 24.1409 25.5 23.4693 25.5 22.6409C25.5 21.8124 24.8284 21.1409 24 21.1409C23.1716 21.1409 22.5 21.8124 22.5 22.6409C22.5 23.4693 23.1716 24.1409 24 24.1409Z",fill:"#CC0000"}),i("path",{d:"M29 24.1409C29.8284 24.1409 30.5 23.4693 30.5 22.6409C30.5 21.8124 29.8284 21.1409 29 21.1409C28.1716 21.1409 27.5 21.8124 27.5 22.6409C27.5 23.4693 28.1716 24.1409 29 24.1409Z",fill:"#CC0000"}),i("path",{d:"M44.178 13.9239C41.157 8.67487 35.491 5.14087 29 5.14087C19.335 5.14087 11.5 12.9759 11.5 22.6409C11.5 32.3059 19.335 40.1409 29 40.1409C35.108 40.1409 40.484 37.0119 43.615 32.2699",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.0862 15.7271C37.0625 14.7508 38.6455 14.7508 39.6218 15.7271L43.7105 19.8158L47.7992 15.7271C48.7755 14.7508 50.3585 14.7508 51.3348 15.7271C52.3111 16.7034 52.3111 18.2863 51.3348 19.2626L47.246 23.3514L51.3348 27.4401C52.3111 28.4164 52.3111 29.9993 51.3348 30.9756C50.3585 31.952 48.7755 31.952 47.7992 30.9756L43.7105 26.8869L39.6218 30.9756C38.6455 31.952 37.0625 31.952 36.0862 30.9756C35.1099 29.9993 35.1099 28.4164 36.0862 27.4401L40.175 23.3514L36.0862 19.2626C35.1099 18.2863 35.1099 16.7034 36.0862 15.7271Z",fill:"#CC0000"})]})})}Ci.displayName="ErrorColor";function xi(e){return i(L,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:m("svg",{fill:"none",children:[i("path",{d:"M21.642 44.2349C33.5945 44.2349 43.284 34.5455 43.284 22.5929C43.284 10.6404 33.5945 0.950928 21.642 0.950928C9.68945 0.950928 0 10.6404 0 22.5929C0 34.5455 9.68945 44.2349 21.642 44.2349Z",fill:"#E0EEFA"}),i("path",{d:"M18.5 24.188C19.3284 24.188 20 23.5164 20 22.688C20 21.8596 19.3284 21.188 18.5 21.188C17.6716 21.188 17 21.8596 17 22.688C17 23.5164 17.6716 24.188 18.5 24.188Z",fill:"#0189FF"}),i("path",{d:"M23.5 24.188C24.3284 24.188 25 23.5164 25 22.688C25 21.8596 24.3284 21.188 23.5 21.188C22.6716 21.188 22 21.8596 22 22.688C22 23.5164 22.6716 24.188 23.5 24.188Z",fill:"#0189FF"}),i("path",{d:"M28.5 24.188C29.3284 24.188 30 23.5164 30 22.688C30 21.8596 29.3284 21.188 28.5 21.188C27.6716 21.188 27 21.8596 27 22.688C27 23.5164 27.6716 24.188 28.5 24.188Z",fill:"#0189FF"}),i("path",{d:"M43.678 13.971C40.657 8.72199 34.991 5.18799 28.5 5.18799C18.835 5.18799 11 13.023 11 22.688C11 32.353 18.835 40.188 28.5 40.188C34.608 40.188 39.984 37.059 43.115 32.317",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47 21.188H50C50.2652 21.188 50.5196 21.2933 50.7071 21.4809C50.8946 21.6684 51 21.9228 51 22.188V29.233H51.237C51.4908 29.2411 51.7316 29.3477 51.9082 29.5301C52.0849 29.7125 52.1837 29.9565 52.1837 30.2105C52.1837 30.4645 52.0849 30.7085 51.9082 30.8909C51.7316 31.0733 51.4908 31.1799 51.237 31.188H46.977C46.7232 31.1799 46.4824 31.0733 46.3058 30.8909C46.1291 30.7085 46.0303 30.4645 46.0303 30.2105C46.0303 29.9565 46.1291 29.7125 46.3058 29.5301C46.4824 29.3477 46.7232 29.2411 46.977 29.233H47V23.311C46.7348 23.311 46.4804 23.2056 46.2929 23.0181C46.1054 22.8306 46 22.5762 46 22.311V22.188C46 21.9228 46.1054 21.6684 46.2929 21.4809C46.4804 21.2933 46.7348 21.188 47 21.188Z",fill:"#0189FF"}),i("path",{d:"M49 19.188C50.3807 19.188 51.5 18.0687 51.5 16.688C51.5 15.3073 50.3807 14.188 49 14.188C47.6193 14.188 46.5 15.3073 46.5 16.688C46.5 18.0687 47.6193 19.188 49 19.188Z",fill:"#0189FF"})]})})}xi.displayName="InfoColor";function yi(e){return i(L,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:m("svg",{fill:"none",children:[i("path",{d:"M21.642 44.0469C33.5945 44.0469 43.284 34.3575 43.284 22.4049C43.284 10.4524 33.5945 0.762939 21.642 0.762939C9.68945 0.762939 0 10.4524 0 22.4049C0 34.3575 9.68945 44.0469 21.642 44.0469Z",fill:"#E9F6EC"}),i("path",{d:"M43.678 13.783C40.657 8.534 34.991 5 28.5 5C18.835 5 11 12.835 11 22.5C11 32.165 18.835 40 28.5 40C34.608 40 39.984 36.871 43.115 32.129",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.0248 12.7762C57.0011 13.7525 57.0011 15.3354 56.0248 16.3117L44.3118 28.0247C43.8429 28.4936 43.207 28.7569 42.544 28.7569C41.881 28.7569 41.2451 28.4936 40.7762 28.0247L34.2322 21.4807C33.2559 20.5044 33.2559 18.9215 34.2322 17.9452C35.2085 16.9689 36.7915 16.9689 37.7678 17.9452L42.544 22.7214L52.4892 12.7762C53.4655 11.7999 55.0485 11.7999 56.0248 12.7762Z",fill:"#28A745"}),i("path",{d:"M18.5 24C19.3284 24 20 23.3284 20 22.5C20 21.6716 19.3284 21 18.5 21C17.6716 21 17 21.6716 17 22.5C17 23.3284 17.6716 24 18.5 24Z",fill:"#28A745"}),i("path",{d:"M23.5 24C24.3284 24 25 23.3284 25 22.5C25 21.6716 24.3284 21 23.5 21C22.6716 21 22 21.6716 22 22.5C22 23.3284 22.6716 24 23.5 24Z",fill:"#28A745"}),i("path",{d:"M28.5 24C29.3284 24 30 23.3284 30 22.5C30 21.6716 29.3284 21 28.5 21C27.6716 21 27 21.6716 27 22.5C27 23.3284 27.6716 24 28.5 24Z",fill:"#28A745"})]})})}yi.displayName="SuccessColor";function wi(e){return i(L,{...e,w:"53",h:"45",viewBox:"0 0 53 45",children:m("svg",{fill:"none",children:[i("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"}),i("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"}),i("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"}),i("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"}),i("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"}),i("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"})]})})}wi.displayName="WarningColor";function vi(e){return i(L,{...e,title:"close",children:i("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:i("path",{d:"M10.7071 1.29303C10.5196 1.10556 10.2652 1.00024 10.0001 1.00024C9.73492 1.00024 9.48061 1.10556 9.29308 1.29303L6.00008 4.58603L2.70708 1.29303C2.51848 1.11087 2.26588 1.01008 2.00368 1.01236C1.74148 1.01464 1.49067 1.1198 1.30526 1.30521C1.11985 1.49062 1.01469 1.74143 1.01241 2.00363C1.01013 2.26583 1.11092 2.51843 1.29308 2.70703L4.58608 6.00003L1.29308 9.29303C1.19757 9.38528 1.12139 9.49562 1.06898 9.61763C1.01657 9.73963 0.988985 9.87085 0.987831 10.0036C0.986677 10.1364 1.01198 10.2681 1.06226 10.391C1.11254 10.5139 1.18679 10.6255 1.28069 10.7194C1.37458 10.8133 1.48623 10.8876 1.60913 10.9379C1.73202 10.9881 1.8637 11.0134 1.99648 11.0123C2.12926 11.0111 2.26048 10.9835 2.38249 10.9311C2.50449 10.8787 2.61483 10.8025 2.70708 10.707L6.00008 7.41403L9.29308 10.707C9.48168 10.8892 9.73429 10.99 9.99648 10.9877C10.2587 10.9854 10.5095 10.8803 10.6949 10.6948C10.8803 10.5094 10.9855 10.2586 10.9878 9.99643C10.99 9.73423 10.8892 9.48163 10.7071 9.29303L7.41408 6.00003L10.7071 2.70703C10.8946 2.5195 10.9999 2.26519 10.9999 2.00003C10.9999 1.73487 10.8946 1.48056 10.7071 1.29303Z",fill:"#60798E"})})})}vi.displayName="Close";function bi(e){return i(L,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",children:i("path",{d:"M9.207 5.793L3 12L4.414 13.414L10.621 7.207L13.414 10V3H6.414L9.207 5.793Z",fill:"#0189FF"})})}bi.displayName="Download";var ua=Object.freeze(Object.defineProperty({__proto__:null,AcademicRecord:qt,AlertInfo:Xt,ArrowRight:Yt,Certificate:Kt,CircularCheck:Jt,CircularInformation:dt,Download:ut,GoAhead:Qt,GoBack:ei,Multimedia:ti,Loader:Lr,Profile:ii,Schedule:ri,TinyAlertInfo:ni,TinyAlertError:oi,TinyAlertWarning:ai,TinyAlertSuccess:li,Password:si,Pen:ci,PlusSign:di,TrashCan:ui,TextBubble:pi,ErrorWhite:fi,InfoWhite:hi,SuccessWhite:mi,WarningWhite:gi,ErrorColor:Ci,InfoColor:xi,SuccessColor:yi,WarningColor:wi,Close:vi,DiagonalArrow:bi},Symbol.toStringTag,{value:"Module"}));function Ar({status:e,text:t,margin:r="0",sx:n}){const o={success:{icon:i(li,{}),text:"Success",bg:f("colors-alert-ice"),color:f("colors-neutral-darkCharcoal")},error:{icon:i(oi,{}),text:"Error",bg:f("colors-alert-veryLightPinkThree"),color:f("colors-neutral-darkCharcoal")},info:{icon:i(ni,{}),text:"Info",bg:f("colors-alert-veryLightBlue"),color:f("colors-neutral-darkCharcoal")},warning:{icon:i(ai,{}),text:"Warning",bg:f("colors-alert-pale"),color:f("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:f("colors-main-blueGrey"),color:f("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:f("colors-main-ziggurat"),color:f("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:f("colors-neutral-cultured"),color:f("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:f("colors-neutral-white")}};return o[e]?m(p.Box,{margin:r,"data-testid":"TinyAlert-Box",backgroundColor:o[e].bg,display:"flex",flexDirection:"row",alignItems:"center",padding:".125em .25em",gap:".25rem",width:"fit-content",borderRadius:".25rem",className:"TinyAlert-Box",sx:n,children:[o[e].icon&&i(p.Box,{lineHeight:0,sx:{">svg":{margin:0}},children:o[e].icon}),i(p.Box,{as:"span",color:o[e].color,fontSize:".75rem",fontStyle:"normal",fontWeight:"400",fontFamily:"Roboto",lineHeight:".875rem",margin:"0",children:t!=null?t:o[e].text})]}):null}Ar.displayName="TinyAlert";function pt({ariaLabel:e,bg:t,borderColorActive:r=[f("colors-main-deepSkyBlue"),f("colors-neutral-white")],children:n,color:o=f("colors-neutral-white"),disabled:a=!1,fillLoader:s=f("colors-neutral-white"),id:l=void 0,isFullWidth:u=!1,isLoading:d=!1,leftIcon:h,m:C="0",onClick:b,rightIcon:k,role:y="button",rounded:w=!1,size:_="regular",touchDark:A=!1,type:W="button",tabIndex:R=0,sx:H}){var I,le,ue;let V=n!=null?n:null;!n&&!k&&!h&&(V="Button");const ee=".75rem",oe=w?"12px":f("radii-small"),Ce=(I=t==null?void 0:t.main)!=null?I:f("colors-main-deepSkyBlue"),xe=A?"rgba(160, 160, 160, 0.2)":"rgba(255, 255, 255, 0.2)",q=!n&&(k!=null?k:h)?"onlyIcon":"";return i(p.Box,{margin:C,sx:{w:u?"100%":"auto",".react-ripples":{borderRadius:oe,display:`${u?"grid":"inline-flex!important"}`}},children:i(Sr,{color:xe,children:i(p.Button,{autoFocus:!1,"aria-label":e,id:l,role:y,bg:Ce,borderRadius:oe,color:o,className:q,disabled:a&&d?!1:a,fontWeight:"500",fontSize:_==="regular"?"medium":"small",height:"auto",iconSpacing:f("space-xs"),isActive:!1,isLoading:d,isFullWidth:u,lineHeight:"initial",leftIcon:h,minHeight:_==="regular"?"2.813rem":"2rem",minWidth:_==="regular"?"9rem":"auto",onClick:rt=>{!d&&!a&&(b==null||b(rt))},position:"relative",paddingTop:_==="regular"?ee:f(q?"space-xs":"space-xxs"),paddingBottom:_==="regular"?ee:f(q?"space-xs":"space-xxs"),paddingLeft:f(_==="regular"?"space-s":"space-xs"),paddingRight:f(_==="regular"?"space-s":"space-xs"),rightIcon:k,type:W,size:_==="regular"?"md":"sm",spinner:i(Lr,{fill:s}),tabIndex:a||d?-1:R,_active:{bg:(le=t==null?void 0:t.main)!=null?le:f("colors-main-azureRadiance")},_disabled:{opacity:"50%",cursor:"not-allowed"},_focus:{boxShadow:"none"},_focusVisible:{boxShadow:`inset 0 0 0 2px ${r[0]}, inset 0 0 0 4px ${r[1]}`},_hover:{bg:(ue=t==null?void 0:t.hover)!=null?ue:f("colors-main-azureRadiance")},sx:{"&[data-loading]":{boxShadow:"none",cursor:"wait"},"&.onlyIcon span":{m:0},span:{h:"1rem"},...H},children:V})})})}pt.displayName="Btn";function ft({ariaLabel:e,children:t,disabled:r=!1,isFullWidth:n=!1,leftIcon:o,m:a="0",isLoading:s=!1,onClick:l,rightIcon:u,role:d="button",size:h="regular",type:C="button",tabIndex:b,id:k,sx:y}){return i(pt,{ariaLabel:e,id:k,disabled:r,isFullWidth:n,isLoading:s,leftIcon:o,m:a,onClick:l,rightIcon:u,role:d,size:h,type:C,tabIndex:b,sx:y,children:t})}ft.displayName="BtnPrimary";function Hr({ariaLabel:e,children:t,disabled:r=!1,isFullWidth:n=!1,leftIcon:o,m:a="0",isLoading:s=!1,onClick:l,rightIcon:u,role:d="button",size:h="regular",type:C="button",tabIndex:b,id:k,sx:y}){return i(pt,{ariaLabel:e,id:k,bg:{main:f("colors-main-veryLightBlue"),hover:f("colors-main-linkWater")},borderColorActive:[f("colors-main-deepSkyBlue"),f("colors-neutral-white")],color:f("colors-main-deepSkyBlue"),disabled:r,fillLoader:f("colors-main-deepSkyBlue"),isFullWidth:n,isLoading:s,leftIcon:o,m:a,onClick:l,rightIcon:u,role:d,size:h,touchDark:!0,type:C,tabIndex:b,sx:y,children:t})}Hr.displayName="BtnSecondary";function Rr({ariaLabel:e,activeWhenPress:t=!1,children:r,id:n,iconStatus:o="multimedia",iconCustom:a,m:s="0",onClick:l,onMouseEnter:u,onMouseLeave:d,rightIcon:h,role:C="button",type:b="button",tabIndex:k,withoutColor:y=!1,sx:w}){const _=f("colors-neutral-gray"),A=f("colors-main-deepSkyBlue"),W=f("colors-neutral-white"),R=y?f("colors-main-blueGrey"):A,H={ahead:i(Qt,{color:R}),answer:i(pi,{color:R}),back:i(ei,{color:R}),delete:i(ui,{color:R}),download:i(ut,{color:R}),edit:i(ci,{color:R}),more:i(di,{color:R}),multimedia:i(ti,{color:R}),password:i(si,{color:R}),record:i(qt,{color:R}),noIcon:i(te,{})};let V;H[o]&&o!=="noIcon"&&(V=H[o]),a&&(V=a);const ee=h?V:void 0,oe=h?void 0:V;return i(p.Button,{"aria-label":e,id:n,role:C,type:b,tabIndex:k,background:"transparent",borderRadius:"12px",color:_,fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:"14px",gap:"0.5rem",height:"24px",lineHeight:"16px",leftIcon:oe,rightIcon:ee,m:s,onClick:l,onMouseEnter:u,onMouseLeave:d,paddingTop:f("space-xxs"),paddingBottom:f("space-xxs"),paddingLeft:f("space-xs"),paddingRight:f("space-xs"),textDecorationLine:"underline",_hover:{color:`${A}`},_focusVisible:{boxShadow:`inset 0 0 0 2px ${A}, inset 0 0 0 4px ${W}`},_focus:{color:t?`${A} !important`:"inherit",boxShadow:"none"},_active:{bg:"transparent"},sx:{">span":{mr:0},...w},children:r})}Rr.displayName="BtnTertiary";function Oe({as:e="a",ariaLabel:t,children:r,fontSize:n="0.875rem",href:o="",id:a,isDisable:s=!1,m:l="0",onClick:u,role:d="link",tabIndex:h,target:C="_blank",textDecorationLine:b=!0,sx:k}){const y={button:{onClick:s?void 0:u,target:C},a:{href:o,target:C}};return i(p.Box,{"aria-label":t,as:e,autoFocus:!1,backgroundColor:"transparent",borderStyle:"none",className:"linkButton",color:f("colors-main-deepSkyBlue"),cursor:s?"not-allowed":"pointer",fontFamily:"Roboto",fontSize:n,fontStyle:"normal",fontWeight:"500",id:a,lineHeight:"1rem",onClick:s?void 0:u,opacity:s?.5:1,padding:".25em",role:d,tabIndex:h,textDecorationLine:b?"underline":"none",width:"fit-content",m:l,_hover:{color:f("colors-neutral-darkCharcoal"),cursor:"pointer"},...y[e],sx:k,children:r})}Oe.displayName="BtnLink";const pa=()=>i("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i("path",{d:"M8 0C3.6 0 0 3.6 0 8C0 12.4 3.6 16 8 16C12.4 16 16 12.4 16 8C16 3.6 12.4 0 8 0ZM8 13C7.448 13 7 12.552 7 12C7 11.448 7.448 11 8 11C8.552 11 9 11.448 9 12C9 12.552 8.552 13 8 13ZM9.623 8.092C9.126 8.519 9 8.663 9 9C9 9.553 8.552 10 8 10C7.448 10 7 9.553 7 9C7 7.706 7.795 7.024 8.322 6.573C8.819 6.148 8.945 6.003 8.945 5.667C8.945 5.484 8.945 5 8.001 5C7.565 5.024 7.1 5.224 6.743 5.561C6.342 5.939 5.708 5.92 5.329 5.52C4.95 5.118 4.968 4.485 5.37 4.106C6.072 3.445 6.987 3.052 7.949 3.002H7.952C9.764 3.002 10.945 4.073 10.945 5.668C10.945 6.961 10.15 7.643 9.624 8.093L9.623 8.092Z",fill:"white"})}),fa=()=>m("svg",{width:"16px",height:"16px",fill:"none",children:[i("path",{fill:"#fff",d:"M15 2h-2V0h-2v2H9V0H7v2H5V0H3v2H1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1Zm-1 12H2V5h12v9Z"}),i("path",{fill:"#fff",d:"M6 7H4v2h2V7ZM9 7H7v2h2V7ZM6 10H4v2h2v-2ZM9 10H7v2h2v-2ZM12 7h-2v2h2V7ZM12 10h-2v2h2v-2Z"})]});function Ir(e){return i(L,{...e,children:i("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM8 5C8.82843 5 9.5 4.32843 9.5 3.5C9.5 2.67157 8.82843 2 8 2C7.17157 2 6.5 2.67157 6.5 3.5C6.5 4.32843 7.17157 5 8 5ZM2.96967 5.96967C3.11032 5.82902 3.30109 5.75 3.5 5.75H12.5C12.6989 5.75 12.8897 5.82902 13.0303 5.96967C13.171 6.11032 13.25 6.30109 13.25 6.5C13.25 6.69891 13.171 6.88968 13.0303 7.03033C12.8897 7.17098 12.6989 7.25 12.5 7.25H10.25V13.25C10.25 13.4489 10.171 13.6397 10.0303 13.7803C9.88968 13.921 9.69891 14 9.5 14C9.30109 14 9.11032 13.921 8.96967 13.7803C8.82902 13.6397 8.75 13.4489 8.75 13.25V10.25H7.25V13.25C7.25 13.4489 7.17098 13.6397 7.03033 13.7803C6.88968 13.921 6.69891 14 6.5 14C6.30109 14 6.11032 13.921 5.96967 13.7803C5.82902 13.6397 5.75 13.4489 5.75 13.25V7.25H3.5C3.30109 7.25 3.11032 7.17098 2.96967 7.03033C2.82902 6.88968 2.75 6.69891 2.75 6.5C2.75 6.30109 2.82902 6.11032 2.96967 5.96967Z",fill:"white"})})})}const Or=({as:e="button",buttonName:t,onlyLink:r,onClick:n,type:o})=>{var C;const[a]=p.useMediaQuery("(max-width: 640px)"),s={accessibility:{icon:i(Ir,{}),text:t!=null?t:"ACCESIBILIDAD"},calendar:{icon:i(fa,{}),text:t!=null?t:"CALENDARIO"},help:{icon:i(pa,{}),text:t!=null?t:"AYUDA"}},l=()=>{const b=document.getElementById("userWayTrigger");b!=null&&b.click&&b.click()},u=(C=f("colors-main-deepSkyBlue"))!=null?C:"#0189FF",d="rgba(96, 121, 142, 0.8)",h=o==="accessibility";return m(p.Box,{as:e,className:"nav-bar-button",id:h?"UserWayButton":"",onClick:h?l:n,_focusVisible:{outline:`3px solid ${f("colors-alert-deepSkyBlue")}`,borderRadius:"2px"},tabIndex:0,sx:{alignItems:"center",background:"none !important",border:"1px transparent !important",cursor:"pointer",display:"flex",gap:"8px",h:"30px",maxH:"30px",p:"0",_hover:{".nav-bar-icon":{bg:d},".nav-bar-text":{color:f("colors-neutral-white")}},_active:{".nav-bar-icon":{bg:r||h?d:u},".nav-bar-text":{color:f("colors-neutral-white")}},".nav-bar-icon":{alignItems:"center",bg:f("colors-main-blueGrey"),borderRadius:"100%",border:"1px solid transparent",display:"flex",height:"30px",justifyContent:"center",type:"button",role:"button",width:"30px"},".nav-bar-text":{alignContent:"center",color:f("colors-neutral-silverSand"),fontSize:"12px",fontWeight:"500",fontFamily:"Roboto"}},children:[i(p.Box,{className:"nav-bar-icon",tabIndex:-1,children:s[o].icon}),!a&&i(p.Box,{className:"nav-bar-text",tabIndex:-1,children:s[o].text})]})},ha=({children:e,className:t="tooltip",label:r,isDisabled:n=!1,m:o,maxWidth:a="200px",placement:s="bottom",isOpen:l,sx:u,transform:d})=>i(p.Tooltip,{isOpen:l,sx:{bg:f("colors-neutral-darkCharcoal"),borderRadius:"10px",color:"white !important",fontSize:"12px",fontWeight:"400",maxWidth:a,padding:"8px",transform:d!=null?d:"",".chakra-tooltip__arrow":{bg:`${f("colors-neutral-darkCharcoal")} !important`},...u},className:t,closeOnClick:!0,label:r,m:o,hasArrow:!0,isDisabled:n,placement:s,children:i("span",{children:e})});function ma(){const e=()=>{const t=document.getElementById("userWayTrigger");t!=null&&t.click&&t.click()};return i(p.Box,{as:"button",alignItems:"center",bg:f("colors-main-blueGrey"),borderRadius:"100%",border:"1px solid transparent",display:"flex",height:"30px",id:"UserWayButton",justifyContent:"center",padding:"0 8px",width:"30px",_hover:{background:"rgba(96, 121, 142, 0.8)"},onClick:e,children:i(Ir,{})})}function ga(){var r;const e="userwayData",t=(r=document.cookie.split("; ").find(n=>n.startsWith(`${e}=`)))==null?void 0:r.split("=")[1];if(t)try{const n=JSON.parse(decodeURIComponent(t));for(const[o,a]of Object.entries(n))localStorage.setItem(o,a);console.log("UserWay data restored to localStorage:",n)}catch(n){console.error("Error parsing UserWay data from cookie:",n)}window.addEventListener("beforeunload",()=>{const n={};for(const s in localStorage)s.startsWith("userway-")&&(n[s]=localStorage.getItem(s));const o=JSON.stringify(n),a=new Date;a.setTime(a.getTime()+24*60*60*1e3),document.cookie=`${e}=${encodeURIComponent(o)};expires=${a.toUTCString()};path=/`})}const Ca=4,xa={ADMIN:{bg:f("colors-main-linkWater")},NEW:{bg:f("colors-secondary-pumpkin")}};function Fr(){var s;const{background:e,labels:t,logo:r,logoAlt:n,Profile:o,soonCourse:a}=O.useContext(mt);return m(p.Box,{as:"header",height:"8.75rem",borderBottom:f("borders-light"),pos:"relative",_before:{content:'""',position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundImage:`url(${e!=null?e:""})`,backgroundSize:"cover",backgroundPosition:"center",opacity:(s=a==null?void 0:a.show)!=null&&s?.3:1,zIndex:0},children:[m(p.Box,{p:"1rem",display:"flex",gap:"0.625rem",position:"absolute",zIndex:2,children:[(o==null?void 0:o.id)!==Ca&&i(Ue,{bg:f("colors-neutral-white"),children:m(p.Flex,{children:[i(ii,{m:"0 .25rem 0 0"}),o==null?void 0:o.name]})}),t!==void 0&&t.length>0&&i(p.Stack,{direction:"row",spacing:".625rem",wrap:"wrap",zIndex:2,children:t.map((l,u)=>{const d=xa[l.id];return i(Ue,{bg:d==null?void 0:d.bg,children:l.text},u)})}),(a==null?void 0:a.show)&&(a==null?void 0:a.text)&&i(p.Stack,{direction:"row",spacing:".625rem",wrap:"wrap",zIndex:2,children:i(Ue,{children:a.text})})]}),r!==void 0&&r.length>0&&i(p.Center,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:f("borders-light"),bg:f("colors-neutral-white"),overflow:"hidden",borderRadius:f("radii-small"),w:"6.25rem",zIndex:2,children:i(p.Image,{src:r,alt:n!=null?n:"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}Fr.displayName="Header";function Ei({date:e}){return e==null||e.length===0?null:i(p.Text,{fontSize:".75rem",color:f("colors-neutral-darkCharcoal"),m:"0",children:e})}Ei.displayName="DateStatus";function Nr({type:e,progressValue:t=0}){switch(e){case"schedule":return i(ri,{});case"certificate":return i(Kt,{});case"circularCheck":return i(Jt,{});case"progress":return i(kr,{value:t});case"circularInformation":return i(dt,{});case"info":return i(dt,{});default:return null}}const ya=7;function Dr({progress:e,status:t}){return m(te,{children:[m(p.Flex,{children:[i(Nr,{type:e.icon,progressValue:e.progress}),i(p.Text,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:e==null?void 0:e.label})]}),(t==null?void 0:t.id)===ya&&(e==null?void 0:e.finalGrade)&&(e==null?void 0:e.finalGrade.length)>0&&i(Ue,{size:"sm",bg:e.isApproved?f("colors-alert-jadeGreen"):f("colors-alert-red"),color:f("colors-neutral-white"),children:e==null?void 0:e.finalGrade})]})}function Vr(){const{name:e,dateStatus:t,information:r,progress:n,status:o}=O.useContext(mt);return n==null?null:m(p.Box,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(t==null?void 0:t.hasDates)&&m(p.HStack,{direction:"row",divider:t.init!==void 0&&t.init.length>0&&t.end!==void 0&&n.icon!==null&&t.end.length>0?i(p.Box,{h:".5rem",w:"1px",bg:f("colors-neutral-silverSand"),alignSelf:"center"}):i(te,{}),children:[i(Ei,{date:t.init}),i(Ei,{date:t.end})]}),i(p.Heading,{as:"h2",fontFamily:"Roboto",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:e}),i(p.Flex,{mt:"1rem",justify:"space-between",alignItems:"flex-start",children:i(Dr,{progress:n,status:o})}),r!=null&&(r==null?void 0:r.length)>0&&i(p.List,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:f("borders-light"),children:r.map((a,s)=>{var l;return m(p.ListItem,{display:"flex",children:[i(Nr,{type:a.icon}),i(p.Box,{display:"inline-block",ml:".625rem",children:a.href!==void 0&&((l=a.href)==null?void 0:l.length)>0?i(p.Link,{isExternal:!0,href:a.href,color:f("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:a.text}):i(p.Text,{m:"0",color:f("colors-neutral-gray"),fontSize:".75rem",children:a.text})})]},s)})})]})}Vr.displayName="Section";const g={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"}]},Br={noHabilitado:{...g,id:1,hasFinanzeFreezed:!1,status:{...g.status,id:1,name:"noHabilitado"},progress:{...g.progress,label:"Inscripci\xF3n no habilitada",icon:"circularInformation"},dateStatus:{...g.dateStatus,hasDates:!1},information:null,action:{...g.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[]},inscripcionFutura:{...g,id:2,hasFinanzeFreezed:!1,status:{...g.status,id:1,name:"noHabilitado"},progress:{...g.progress,label:"Podr\xE1s inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...g.dateStatus,hasDates:!1},information:null,action:{...g.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},inscripcionFinalizo:{...g,id:3,hasFinanzeFreezed:!1,status:{...g.status,id:1,name:"noHabilitado"},progress:{...g.progress,label:"El per\xEDodo de inscripci\xF3n finaliz\xF3 el 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...g.dateStatus,hasDates:!1},information:null,action:{...g.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},preInscripcion:{...g,logo:"https://cdn.eclass.com/img/productos/logos/logo-utec-square.jpg",background:"https://cdn.eclass.com/img/cursos/default1.png",id:4,hasFinanzeFreezed:!1,status:{...g.status,id:2,name:"preInscripcion"},progress:{...g.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...g.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...g.action,text:"Solicitar inscripci\xF3n",targetBlank:!0},labels:[]},preInscripcion2:{...g,id:5,hasFinanzeFreezed:!1,logo:"",status:{...g.status,id:2,name:"preInscripcion"},progress:{...g.progress,label:"Estamos procesando tu solicitud de inscripci\xF3n",icon:"circularInformation"},dateStatus:{...g.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...g.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},inscripcion:{...g,background:"https://cdn.eclass.com/img/cursos/default2.png",id:6,hasFinanzeFreezed:!1,status:{...g.status,id:3,name:"inscripcion"},progress:{...g.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...g.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...g.action,text:"Inscr\xEDbete",targetBlank:!0}},inscripcion2:{...g,id:7,hasFinanzeFreezed:!1,status:{...g.status,id:3,name:"inscripcion"},progress:{...g.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...g.dateStatus,hasDates:!0},information:[],action:{...g.action,text:"Inscr\xEDbete",targetBlank:!0},labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"},{id:"ADMIN",text:"Curso madre"}]},noDisponible:{...g,id:8,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...g.status,id:4,name:"no disponible"},progress:{...g.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:{...g.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},noDisponible2:{...g,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:9,hasFinanzeFreezed:!1,status:{...g.status,id:4,name:"no disponible"},progress:{...g.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:{...g.action,enabled:!1},labels:[]},noDisponible3:{...g,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:10,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...g.status,id:4,name:"no disponible"},progress:{...g.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:{...g.action,enabled:!1},labels:[]},activado:{...g,id:11,hasFinanzeFreezed:!1,status:{...g.status,id:5,name:"disponible"},progress:{...g.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:{...g.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar:{...g,id:12,hasFinanzeFreezed:!1,logo:"",status:{...g.status,id:6,name:"sinEstudiar"},progress:{...g.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:{...g.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar2:{...g,id:13,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...g.status,id:6,name:"sinEstudiar"},progress:{...g.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:{...g.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar3:{...g,id:14,hasFinanzeFreezed:!1,status:{...g.status,id:6,name:"sinEstudiar"},progress:{...g.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:{...g.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar4:{...g,logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:15,hasFinanzeFreezed:!1,status:{...g.status,id:6,name:"sinEstudiar"},progress:{...g.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:{...g.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},continuar:{...g,id:16,hasFinanzeFreezed:!0,status:{...g.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:{...g.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:{...g.action,targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"},labels:[]},continuar2:{...g,id:17,hasFinanzeFreezed:!1,status:{...g.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:{...g.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:{...g.action,text:"Ir a mi curso"},labels:[]},pendiente:{...g,background:"https://cdn.eclass.com/img/cursos/default3.png",id:18,hasFinanzeFreezed:!1,status:{...g.status,id:8,name:"pendiente"},progress:{...g.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:{...g.action,text:"Ir a mi curso"},labels:[]},terminado:{...g,id:19,hasFinanzeFreezed:!1,status:{...g.status,id:7,name:"QUALIFIED"},progress:{...g.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:{...g.action,text:"Ir a mi curso"},labels:[]},terminado2:{...g,logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:20,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...g.status,id:7,name:"QUALIFIED"},progress:{...g.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:{...g.action,text:"Ir a mi curso"},labels:[]},terminado3:{...g,id:21,hasFinanzeFreezed:!1,logo:"",status:{...g.status,id:9,name:"terminado"},progress:{...g.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:{...g.action,text:"Ir a mi curso"},labels:[]},proximamente:{...g,id:22,hasFinanzeFreezed:!1,status:{...g.status,id:3,name:"inscripcion"},progress:{...g.progress,label:"Tu curso iniciara el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{...g.dateStatus,hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...g.action,text:"Ver informacion del curso",targetBlank:!0},soonCourse:{show:!0,text:"Pr\xF3ximamente"},labels:[]},proximamente2:{...g,id:23,hasFinanzeFreezed:!1,status:{...g.status,id:3,name:"inscripcion"},progress:{...g.progress,label:"Tu curso iniciara el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{...g.dateStatus,hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...g.action,text:"Ver informacion del curso",targetBlank:!0},soonCourse:{show:!0,text:"Pr\xF3ximamente"},labels:[{id:"OBLIGATORY",text:"Obligatorio"}]}},wa=Object.keys(Br).map(e=>Br[e]),Pr=4,ht=(e,t=Pr)=>e||t!==Pr;function va(e=4){const t=e*Zr+Wr*(e-1);return{px:`${t*16}px`,rem:`${t}rem`,remValue:t}}function ba({isOpen:e,onOpen:t,onClose:r,showOverlay:n,modalPaymentText:o}){const a={backgroundColor:"transparent"};function s(){return i(p.ModalOverlay,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[l,u]=O.useState(i(s,{}));return O.useEffect(()=>{n&&u(i(s,{}))},[n]),m(p.Modal,{isCentered:!0,isOpen:e,onClose:r,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[l,m(p.ModalContent,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[m(p.ModalHeader,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[i(Xt,{w:"52",h:"45",viewBox:"0 0 45 52"}),o.title]}),i(p.ModalCloseButton,{size:"md",color:f("colors-main-blueGrey"),_hover:a,_focus:a,_active:a}),i(p.ModalBody,{p:"1rem 2rem 2rem 2rem",children:i(p.Text,{align:"center",children:o.body})}),i(p.ModalFooter,{justifyContent:"center",borderTop:"1px solid",borderTopColor:f("colors-neutral-platinum"),p:"1rem",children:i(p.Button,{onClick:r,color:f("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:a,_focus:a,_active:a,children:o.buttonName})})]})]})}p.Modal.displayName="Modal";function zr({modalPaymentText:e}){const{action:t,Profile:r,hasFinanzeFreezed:n}=O.useContext(mt),{isOpen:o,onOpen:a,onClose:s}=p.useDisclosure(),[l,u]=O.useState(!1),d={backgroundColor:"transparent"},h=()=>{u(!0),a()};return t==null?null:m(p.Center,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:f("colors-neutral-platinum"),children:[ht(t.enabled,r==null?void 0:r.id)?m(te,{children:[n&&e?i(p.Box,{color:f("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",p:"0",zIndex:"inherit !important",_hover:d,_focus:d,_active:d,onClick:()=>h(),fontSize:"1rem !important",children:t.text}):i(p.Text,{color:f("colors-main-deepSkyBlue"),fontWeight:"500",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:t.text}),t.hasIcon&&i(Yt,{color:f("colors-main-deepSkyBlue")})]}):i(p.Text,{fontWeight:"500",lineHeight:"1.172rem",color:f("colors-neutral-spanishGrey"),m:"0",children:t.text}),e&&i(ba,{isOpen:o,onClose:s,showOverlay:l,onOpen:a,modalPaymentText:e})]})}zr.displayName="Footer";function Ea(){N.useEffect(()=>{const e=t=>{var r,n;if(t.key==="Enter"){const o=document.activeElement,a=o==null?void 0:o.getAttribute("role"),s=o==null?void 0:o.getAttribute("data-href"),l=((r=o==null?void 0:o.classList)==null?void 0:r.contains("chakra-linkbox"))||((n=o==null?void 0:o.classList)==null?void 0:n.contains("focusable-link"));a==="link"&&s!=null&&l&&(window.location.href=s)}};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[])}const mt=O.createContext({});function ka({enabled:e,children:t}){return e?i(Ie,{children:t}):i(te,{children:t})}function ki({data:e,modalPaymentText:t}){var a,s,l,u,d,h,C;const r=ht((s=(a=e.action)==null?void 0:a.enabled)!=null?s:!1,(l=e.Profile)==null?void 0:l.id),n=!!((u=e.action)!=null&&u.href);Ea();const o={boxShadow:`0 2px 7px 0 ${f("colors-neutral-silverSand")}`};return i(mt.Provider,{value:e,children:i(p.LinkBox,{as:"article",className:"focusable-link",border:f("borders-light"),borderRadius:f("radii-big"),cursor:r?"pointer":"default",transition:"box-shadow .3s",overflow:"hidden",_hover:o,_focusVisible:{boxShadow:`0 0 0 3px ${f("colors-alert-deepSkyBlue")} inset`},tabIndex:0,role:n?"link":void 0,"data-href":n?(d=e.action)==null?void 0:d.href:void 0,children:i(ka,{enabled:r,children:m(p.Flex,{direction:"column",justify:"space-between",h:"100%",children:[m(p.Box,{className:"CourseList-TraditionalBox",children:[r&&n&&i(p.LinkOverlay,{className:"course-link-overlay",bg:"gray",href:(h=e.action)==null?void 0:h.href,isExternal:(C=e.action)==null?void 0:C.targetBlank,tabIndex:-1}),i(Fr,{}),i(Vr,{})]}),i(zr,{modalPaymentText:t})]})})})})}ki.displayName="BoxTraditional";function _a({enabled:e,children:t}){return e?i(Ie,{children:t}):i(te,{children:t})}function _i({backgroundImg:e,title:t,data:r,size:n="large",m:o}){var s,l,u,d,h,C,b,k,y;const a={large:"286px",small:"197px"};return i(_a,{enabled:ht((l=(s=r==null?void 0:r.action)==null?void 0:s.enabled)!=null?l:!1,(u=r==null?void 0:r.Profile)==null?void 0:u.id),children:m(p.LinkBox,{className:"CourseList-ImageBox",_focusVisible:{boxShadow:`0 0 0 3px ${f("colors-alert-deepSkyBlue")} inset`},tabIndex:0,sx:{backgroundImage:`linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${e})`,color:f("colors-neutral-white"),cursor:"pointer",height:a[n],backgroundSize:"cover",backgroundPosition:"center",borderRadius:"10px",padding:"16px",display:"flex",font:"Roboto",flexDirection:"column",margin:o,justifyContent:"end",textAlign:"left",a:{"&:active":{boxShadow:"none"}}},children:[!(r!=null&&r.hasFinanzeFreezed)&&ht((h=(d=r==null?void 0:r.action)==null?void 0:d.enabled)!=null?h:!1,(C=r==null?void 0:r.Profile)==null?void 0:C.id)&&i(p.LinkOverlay,{href:(b=r==null?void 0:r.action)==null?void 0:b.href,isExternal:(k=r==null?void 0:r.action)==null?void 0:k.targetBlank,tabIndex:-1}),m(p.Box,{className:"textBox",bottom:"20px",display:"flex",flexDirection:"column",gap:"8px",children:[i(p.Box,{as:"h2",className:"courseName",fontWeight:"700",fontSize:"16px",lineHeight:"21px",marginBlockEnd:"0",margin:"0",children:t}),(y=r==null?void 0:r.information)==null?void 0:y.map((w,_)=>w.icon==="certificate"&&i(p.Box,{as:"p",className:"certificateText",fontSize:"14px",fontWeight:"400",lineHeight:"12px",margin:"0",children:w.text},_))]})]})})}_i.displayName="BoxImage";const Ma=({type:e="TRADITIONAL",data:t,modalPaymentText:r})=>{var s,l;const n={data:t,modalPaymentText:r},o={data:t,backgroundImg:(s=t.background)!=null?s:"",title:(l=t.name)!=null?l:""};return{TRADITIONAL:i(ki,{...n}),TRADITIONAL_LANDSCAPE:i(ki,{...n}),IMAGE_LARGE:i(_i,{...o}),IMAGE_SMALL:i(_i,{...o,size:"small"})}[e]},Wr=1.25,Zr=17.8125;function jr({courses:e,modalPaymentText:t,m:r="0 auto",typeBox:n="TRADITIONAL"}){return e===void 0?null:i(p.Box,{className:"courseListBox",display:"grid",gridColumnGap:`${Wr}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${Zr}rem, 1fr))`,m:r,w:"100%",children:e==null?void 0:e.map(o=>i(Ma,{data:o,type:n,modalPaymentText:t},o.id))})}jr.displayName="CourseList";/*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */const{entries:Ur,setPrototypeOf:Gr,isFrozen:Ta,getPrototypeOf:Sa,getOwnPropertyDescriptor:La}=Object;let{freeze:Y,seal:ae,create:Mi}=Object,{apply:Ti,construct:Si}=typeof Reflect!="undefined"&&Reflect;Y||(Y=function(t){return t}),ae||(ae=function(t){return t}),Ti||(Ti=function(t,r){for(var n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];return t.apply(r,o)}),Si||(Si=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return new t(...n)});const gt=J(Array.prototype.forEach),Aa=J(Array.prototype.lastIndexOf),$r=J(Array.prototype.pop),Ge=J(Array.prototype.push),Ha=J(Array.prototype.splice),Ct=J(String.prototype.toLowerCase),Li=J(String.prototype.toString),Ai=J(String.prototype.match),$e=J(String.prototype.replace),Ra=J(String.prototype.indexOf),Ia=J(String.prototype.trim),se=J(Object.prototype.hasOwnProperty),K=J(RegExp.prototype.test),qe=Oa(TypeError);function J(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return Ti(e,t,n)}}function Oa(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Si(e,r)}}function T(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ct;Gr&&Gr(e,null);let n=t.length;for(;n--;){let o=t[n];if(typeof o=="string"){const a=r(o);a!==o&&(Ta(t)||(t[n]=a),o=a)}e[o]=!0}return e}function Fa(e){for(let t=0;t<e.length;t++)se(e,t)||(e[t]=null);return e}function de(e){const t=Mi(null);for(const[r,n]of Ur(e))se(e,r)&&(Array.isArray(n)?t[r]=Fa(n):n&&typeof n=="object"&&n.constructor===Object?t[r]=de(n):t[r]=n);return t}function Xe(e,t){for(;e!==null;){const n=La(e,t);if(n){if(n.get)return J(n.get);if(typeof n.value=="function")return J(n.value)}e=Sa(e)}function r(){return null}return r}const qr=Y(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Hi=Y(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ri=Y(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Na=Y(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ii=Y(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Da=Y(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Xr=Y(["#text"]),Yr=Y(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Oi=Y(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Kr=Y(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),xt=Y(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Va=ae(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Ba=ae(/<%[\w\W]*|[\w\W]*%>/gm),Pa=ae(/\$\{[\w\W]*/gm),za=ae(/^data-[\-\w.\u00B7-\uFFFF]+$/),Wa=ae(/^aria-[\-\w]+$/),Jr=ae(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Za=ae(/^(?:\w+script|data):/i),ja=ae(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Qr=ae(/^html$/i),Ua=ae(/^[a-z][.\w]*(-[.\w]+)+$/i);var en=Object.freeze({__proto__:null,ARIA_ATTR:Wa,ATTR_WHITESPACE:ja,CUSTOM_ELEMENT:Ua,DATA_ATTR:za,DOCTYPE_NAME:Qr,ERB_EXPR:Ba,IS_ALLOWED_URI:Jr,IS_SCRIPT_OR_DATA:Za,MUSTACHE_EXPR:Va,TMPLIT_EXPR:Pa});const Ye={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Ga=function(){return typeof window=="undefined"?null:window},$a=function(t,r){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let n=null;const o="data-tt-policy-suffix";r&&r.hasAttribute(o)&&(n=r.getAttribute(o));const a="dompurify"+(n?"#"+n:"");try{return t.createPolicy(a,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}},tn=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function rn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ga();const t=E=>rn(E);if(t.version="3.3.1",t.removed=[],!e||!e.document||e.document.nodeType!==Ye.document||!e.Element)return t.isSupported=!1,t;let{document:r}=e;const n=r,o=n.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:u,NodeFilter:d,NamedNodeMap:h=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:C,DOMParser:b,trustedTypes:k}=e,y=u.prototype,w=Xe(y,"cloneNode"),_=Xe(y,"remove"),A=Xe(y,"nextSibling"),W=Xe(y,"childNodes"),R=Xe(y,"parentNode");if(typeof s=="function"){const E=r.createElement("template");E.content&&E.content.ownerDocument&&(r=E.content.ownerDocument)}let H,V="";const{implementation:ee,createNodeIterator:oe,createDocumentFragment:Ce,getElementsByTagName:xe}=r,{importNode:q}=n;let I=tn();t.isSupported=typeof Ur=="function"&&typeof R=="function"&&ee&&ee.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:le,ERB_EXPR:ue,TMPLIT_EXPR:rt,DATA_ATTR:Jl,ARIA_ATTR:Ql,IS_SCRIPT_OR_DATA:es,ATTR_WHITESPACE:ho,CUSTOM_ELEMENT:ts}=en;let{IS_ALLOWED_URI:mo}=en,j=null;const go=T({},[...qr,...Hi,...Ri,...Ii,...Xr]);let G=null;const Co=T({},[...Yr,...Oi,...Kr,...xt]);let B=Object.seal(Mi(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),nt=null,ar=null;const Ne=Object.seal(Mi(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let xo=!0,lr=!0,yo=!1,wo=!0,De=!1,Pt=!0,Ae=!1,sr=!1,cr=!1,Ve=!1,zt=!1,Wt=!1,vo=!0,bo=!1;const is="user-content-";let dr=!0,ot=!1,Be={},pe=null;const ur=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Eo=null;const ko=T({},["audio","video","img","source","image","track"]);let pr=null;const _o=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Zt="http://www.w3.org/1998/Math/MathML",jt="http://www.w3.org/2000/svg",ye="http://www.w3.org/1999/xhtml";let Pe=ye,fr=!1,hr=null;const rs=T({},[Zt,jt,ye],Li);let Ut=T({},["mi","mo","mn","ms","mtext"]),Gt=T({},["annotation-xml"]);const ns=T({},["title","style","font","a","script"]);let at=null;const os=["application/xhtml+xml","text/html"],as="text/html";let Z=null,ze=null;const ls=r.createElement("form"),Mo=function(c){return c instanceof RegExp||c instanceof Function},mr=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ze&&ze===c)){if((!c||typeof c!="object")&&(c={}),c=de(c),at=os.indexOf(c.PARSER_MEDIA_TYPE)===-1?as:c.PARSER_MEDIA_TYPE,Z=at==="application/xhtml+xml"?Li:Ct,j=se(c,"ALLOWED_TAGS")?T({},c.ALLOWED_TAGS,Z):go,G=se(c,"ALLOWED_ATTR")?T({},c.ALLOWED_ATTR,Z):Co,hr=se(c,"ALLOWED_NAMESPACES")?T({},c.ALLOWED_NAMESPACES,Li):rs,pr=se(c,"ADD_URI_SAFE_ATTR")?T(de(_o),c.ADD_URI_SAFE_ATTR,Z):_o,Eo=se(c,"ADD_DATA_URI_TAGS")?T(de(ko),c.ADD_DATA_URI_TAGS,Z):ko,pe=se(c,"FORBID_CONTENTS")?T({},c.FORBID_CONTENTS,Z):ur,nt=se(c,"FORBID_TAGS")?T({},c.FORBID_TAGS,Z):de({}),ar=se(c,"FORBID_ATTR")?T({},c.FORBID_ATTR,Z):de({}),Be=se(c,"USE_PROFILES")?c.USE_PROFILES:!1,xo=c.ALLOW_ARIA_ATTR!==!1,lr=c.ALLOW_DATA_ATTR!==!1,yo=c.ALLOW_UNKNOWN_PROTOCOLS||!1,wo=c.ALLOW_SELF_CLOSE_IN_ATTR!==!1,De=c.SAFE_FOR_TEMPLATES||!1,Pt=c.SAFE_FOR_XML!==!1,Ae=c.WHOLE_DOCUMENT||!1,Ve=c.RETURN_DOM||!1,zt=c.RETURN_DOM_FRAGMENT||!1,Wt=c.RETURN_TRUSTED_TYPE||!1,cr=c.FORCE_BODY||!1,vo=c.SANITIZE_DOM!==!1,bo=c.SANITIZE_NAMED_PROPS||!1,dr=c.KEEP_CONTENT!==!1,ot=c.IN_PLACE||!1,mo=c.ALLOWED_URI_REGEXP||Jr,Pe=c.NAMESPACE||ye,Ut=c.MATHML_TEXT_INTEGRATION_POINTS||Ut,Gt=c.HTML_INTEGRATION_POINTS||Gt,B=c.CUSTOM_ELEMENT_HANDLING||{},c.CUSTOM_ELEMENT_HANDLING&&Mo(c.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(B.tagNameCheck=c.CUSTOM_ELEMENT_HANDLING.tagNameCheck),c.CUSTOM_ELEMENT_HANDLING&&Mo(c.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(B.attributeNameCheck=c.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),c.CUSTOM_ELEMENT_HANDLING&&typeof c.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(B.allowCustomizedBuiltInElements=c.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),De&&(lr=!1),zt&&(Ve=!0),Be&&(j=T({},Xr),G=[],Be.html===!0&&(T(j,qr),T(G,Yr)),Be.svg===!0&&(T(j,Hi),T(G,Oi),T(G,xt)),Be.svgFilters===!0&&(T(j,Ri),T(G,Oi),T(G,xt)),Be.mathMl===!0&&(T(j,Ii),T(G,Kr),T(G,xt))),c.ADD_TAGS&&(typeof c.ADD_TAGS=="function"?Ne.tagCheck=c.ADD_TAGS:(j===go&&(j=de(j)),T(j,c.ADD_TAGS,Z))),c.ADD_ATTR&&(typeof c.ADD_ATTR=="function"?Ne.attributeCheck=c.ADD_ATTR:(G===Co&&(G=de(G)),T(G,c.ADD_ATTR,Z))),c.ADD_URI_SAFE_ATTR&&T(pr,c.ADD_URI_SAFE_ATTR,Z),c.FORBID_CONTENTS&&(pe===ur&&(pe=de(pe)),T(pe,c.FORBID_CONTENTS,Z)),c.ADD_FORBID_CONTENTS&&(pe===ur&&(pe=de(pe)),T(pe,c.ADD_FORBID_CONTENTS,Z)),dr&&(j["#text"]=!0),Ae&&T(j,["html","head","body"]),j.table&&(T(j,["tbody"]),delete nt.tbody),c.TRUSTED_TYPES_POLICY){if(typeof c.TRUSTED_TYPES_POLICY.createHTML!="function")throw qe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof c.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw qe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');H=c.TRUSTED_TYPES_POLICY,V=H.createHTML("")}else H===void 0&&(H=$a(k,o)),H!==null&&typeof V=="string"&&(V=H.createHTML(""));Y&&Y(c),ze=c}},To=T({},[...Hi,...Ri,...Na]),So=T({},[...Ii,...Da]),ss=function(c){let x=R(c);(!x||!x.tagName)&&(x={namespaceURI:Pe,tagName:"template"});const v=Ct(c.tagName),F=Ct(x.tagName);return hr[c.namespaceURI]?c.namespaceURI===jt?x.namespaceURI===ye?v==="svg":x.namespaceURI===Zt?v==="svg"&&(F==="annotation-xml"||Ut[F]):Boolean(To[v]):c.namespaceURI===Zt?x.namespaceURI===ye?v==="math":x.namespaceURI===jt?v==="math"&&Gt[F]:Boolean(So[v]):c.namespaceURI===ye?x.namespaceURI===jt&&!Gt[F]||x.namespaceURI===Zt&&!Ut[F]?!1:!So[v]&&(ns[v]||!To[v]):!!(at==="application/xhtml+xml"&&hr[c.namespaceURI]):!1},fe=function(c){Ge(t.removed,{element:c});try{R(c).removeChild(c)}catch{_(c)}},He=function(c,x){try{Ge(t.removed,{attribute:x.getAttributeNode(c),from:x})}catch{Ge(t.removed,{attribute:null,from:x})}if(x.removeAttribute(c),c==="is")if(Ve||zt)try{fe(x)}catch{}else try{x.setAttribute(c,"")}catch{}},Lo=function(c){let x=null,v=null;if(cr)c="<remove></remove>"+c;else{const z=Ai(c,/^[\r\n\t ]+/);v=z&&z[0]}at==="application/xhtml+xml"&&Pe===ye&&(c='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+c+"</body></html>");const F=H?H.createHTML(c):c;if(Pe===ye)try{x=new b().parseFromString(F,at)}catch{}if(!x||!x.documentElement){x=ee.createDocument(Pe,"template",null);try{x.documentElement.innerHTML=fr?V:F}catch{}}const X=x.body||x.documentElement;return c&&v&&X.insertBefore(r.createTextNode(v),X.childNodes[0]||null),Pe===ye?xe.call(x,Ae?"html":"body")[0]:Ae?x.documentElement:X},Ao=function(c){return oe.call(c.ownerDocument||c,c,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},gr=function(c){return c instanceof C&&(typeof c.nodeName!="string"||typeof c.textContent!="string"||typeof c.removeChild!="function"||!(c.attributes instanceof h)||typeof c.removeAttribute!="function"||typeof c.setAttribute!="function"||typeof c.namespaceURI!="string"||typeof c.insertBefore!="function"||typeof c.hasChildNodes!="function")},Ho=function(c){return typeof l=="function"&&c instanceof l};function we(E,c,x){gt(E,v=>{v.call(t,c,x,ze)})}const Ro=function(c){let x=null;if(we(I.beforeSanitizeElements,c,null),gr(c))return fe(c),!0;const v=Z(c.nodeName);if(we(I.uponSanitizeElement,c,{tagName:v,allowedTags:j}),Pt&&c.hasChildNodes()&&!Ho(c.firstElementChild)&&K(/<[/\w!]/g,c.innerHTML)&&K(/<[/\w!]/g,c.textContent)||c.nodeType===Ye.progressingInstruction||Pt&&c.nodeType===Ye.comment&&K(/<[/\w]/g,c.data))return fe(c),!0;if(!(Ne.tagCheck instanceof Function&&Ne.tagCheck(v))&&(!j[v]||nt[v])){if(!nt[v]&&Oo(v)&&(B.tagNameCheck instanceof RegExp&&K(B.tagNameCheck,v)||B.tagNameCheck instanceof Function&&B.tagNameCheck(v)))return!1;if(dr&&!pe[v]){const F=R(c)||c.parentNode,X=W(c)||c.childNodes;if(X&&F){const z=X.length;for(let ne=z-1;ne>=0;--ne){const ve=w(X[ne],!0);ve.__removalCount=(c.__removalCount||0)+1,F.insertBefore(ve,A(c))}}}return fe(c),!0}return c instanceof u&&!ss(c)||(v==="noscript"||v==="noembed"||v==="noframes")&&K(/<\/no(script|embed|frames)/i,c.innerHTML)?(fe(c),!0):(De&&c.nodeType===Ye.text&&(x=c.textContent,gt([le,ue,rt],F=>{x=$e(x,F," ")}),c.textContent!==x&&(Ge(t.removed,{element:c.cloneNode()}),c.textContent=x)),we(I.afterSanitizeElements,c,null),!1)},Io=function(c,x,v){if(vo&&(x==="id"||x==="name")&&(v in r||v in ls))return!1;if(!(lr&&!ar[x]&&K(Jl,x))){if(!(xo&&K(Ql,x))){if(!(Ne.attributeCheck instanceof Function&&Ne.attributeCheck(x,c))){if(!G[x]||ar[x]){if(!(Oo(c)&&(B.tagNameCheck instanceof RegExp&&K(B.tagNameCheck,c)||B.tagNameCheck instanceof Function&&B.tagNameCheck(c))&&(B.attributeNameCheck instanceof RegExp&&K(B.attributeNameCheck,x)||B.attributeNameCheck instanceof Function&&B.attributeNameCheck(x,c))||x==="is"&&B.allowCustomizedBuiltInElements&&(B.tagNameCheck instanceof RegExp&&K(B.tagNameCheck,v)||B.tagNameCheck instanceof Function&&B.tagNameCheck(v))))return!1}else if(!pr[x]){if(!K(mo,$e(v,ho,""))){if(!((x==="src"||x==="xlink:href"||x==="href")&&c!=="script"&&Ra(v,"data:")===0&&Eo[c])){if(!(yo&&!K(es,$e(v,ho,"")))){if(v)return!1}}}}}}}return!0},Oo=function(c){return c!=="annotation-xml"&&Ai(c,ts)},Fo=function(c){we(I.beforeSanitizeAttributes,c,null);const{attributes:x}=c;if(!x||gr(c))return;const v={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:G,forceKeepAttr:void 0};let F=x.length;for(;F--;){const X=x[F],{name:z,namespaceURI:ne,value:ve}=X,We=Z(z),Cr=ve;let $=z==="value"?Cr:Ia(Cr);if(v.attrName=We,v.attrValue=$,v.keepAttr=!0,v.forceKeepAttr=void 0,we(I.uponSanitizeAttribute,c,v),$=v.attrValue,bo&&(We==="id"||We==="name")&&(He(z,c),$=is+$),Pt&&K(/((--!?|])>)|<\/(style|title|textarea)/i,$)){He(z,c);continue}if(We==="attributename"&&Ai($,"href")){He(z,c);continue}if(v.forceKeepAttr)continue;if(!v.keepAttr){He(z,c);continue}if(!wo&&K(/\/>/i,$)){He(z,c);continue}De&>([le,ue,rt],Do=>{$=$e($,Do," ")});const No=Z(c.nodeName);if(!Io(No,We,$)){He(z,c);continue}if(H&&typeof k=="object"&&typeof k.getAttributeType=="function"&&!ne)switch(k.getAttributeType(No,We)){case"TrustedHTML":{$=H.createHTML($);break}case"TrustedScriptURL":{$=H.createScriptURL($);break}}if($!==Cr)try{ne?c.setAttributeNS(ne,z,$):c.setAttribute(z,$),gr(c)?fe(c):$r(t.removed)}catch{He(z,c)}}we(I.afterSanitizeAttributes,c,null)},cs=function E(c){let x=null;const v=Ao(c);for(we(I.beforeSanitizeShadowDOM,c,null);x=v.nextNode();)we(I.uponSanitizeShadowNode,x,null),Ro(x),Fo(x),x.content instanceof a&&E(x.content);we(I.afterSanitizeShadowDOM,c,null)};return t.sanitize=function(E){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},x=null,v=null,F=null,X=null;if(fr=!E,fr&&(E="<!-->"),typeof E!="string"&&!Ho(E))if(typeof E.toString=="function"){if(E=E.toString(),typeof E!="string")throw qe("dirty is not a string, aborting")}else throw qe("toString is not a function");if(!t.isSupported)return E;if(sr||mr(c),t.removed=[],typeof E=="string"&&(ot=!1),ot){if(E.nodeName){const ve=Z(E.nodeName);if(!j[ve]||nt[ve])throw qe("root node is forbidden and cannot be sanitized in-place")}}else if(E instanceof l)x=Lo("<!---->"),v=x.ownerDocument.importNode(E,!0),v.nodeType===Ye.element&&v.nodeName==="BODY"||v.nodeName==="HTML"?x=v:x.appendChild(v);else{if(!Ve&&!De&&!Ae&&E.indexOf("<")===-1)return H&&Wt?H.createHTML(E):E;if(x=Lo(E),!x)return Ve?null:Wt?V:""}x&&cr&&fe(x.firstChild);const z=Ao(ot?E:x);for(;F=z.nextNode();)Ro(F),Fo(F),F.content instanceof a&&cs(F.content);if(ot)return E;if(Ve){if(zt)for(X=Ce.call(x.ownerDocument);x.firstChild;)X.appendChild(x.firstChild);else X=x;return(G.shadowroot||G.shadowrootmode)&&(X=q.call(n,X,!0)),X}let ne=Ae?x.outerHTML:x.innerHTML;return Ae&&j["!doctype"]&&x.ownerDocument&&x.ownerDocument.doctype&&x.ownerDocument.doctype.name&&K(Qr,x.ownerDocument.doctype.name)&&(ne="<!DOCTYPE "+x.ownerDocument.doctype.name+`>
|
|
12
|
+
*/var Jo=Me.default,vr=60103;if(je.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var br=Symbol.for;vr=br("react.element"),je.Fragment=br("react.fragment")}var Qo=Jo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ea=Object.prototype.hasOwnProperty,ta={key:!0,ref:!0,__self:!0,__source:!0};function Er(e,t,r){var n,o={},a=null,s=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(s=t.ref);for(n in t)ea.call(t,n)&&!ta.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)o[n]===void 0&&(o[n]=t[n]);return{$$typeof:vr,type:e,key:a,ref:s,props:o,_owner:Qo.current}}je.jsx=Er,je.jsxs=Er,st.exports=je;const i=st.exports.jsx,m=st.exports.jsxs,te=st.exports.Fragment;function Ue({children:e,bg:t=f("colors-icon-ripeMango"),color:r=f("colors-neutral-darkCharcoal"),size:n="md",m:o="0",sx:a}){const s={md:{borderRadius:"0.25em",fontWeight:"400",p:"0.25em 0.84em"},sm:{borderRadius:"0.42em",fontWeight:"700",p:"0.17em 0.67em"}};return i(p.Box,{bg:t,borderRadius:s[n].borderRadius,color:r,display:"inline-block",fontSize:"0.75rem",fontWeight:s[n].fontWeight,lineHeight:".875rem",m:o,p:s[n].p,sx:a,children:e})}function kr({value:e=0}){let t=e;return e>100?t=100:e<0&&(t=0),i(p.CircularProgress,{size:"1rem",value:t,thickness:"1rem",color:f("colors-main-deepSkyBlue"),trackColor:f("colors-neutral-platinum")})}var _r={exports:{}},ia="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ra=ia,na=ra;function Mr(){}function Tr(){}Tr.resetWarningCache=Mr;var oa=function(){function e(n,o,a,s,l,u){if(u!==na){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Tr,resetWarningCache:Mr};return r.PropTypes=r,r};_r.exports=oa();var ct=_r.exports,aa=globalThis&&globalThis.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var a in o)o.hasOwnProperty(a)&&(n[a]=o[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)}}(),Re=globalThis&&globalThis.__assign||function(){return Re=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Re.apply(this,arguments)},la=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 o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},sa={position:"relative",display:"inline-flex",overflow:"hidden"},ca=function(e){e===void 0&&(e={});var t;return t=function(r){aa(n,r);function n(o){var a=r.call(this,o)||this;return a.timer=0,a.onClick=function(s){var l=a.props,u=l.during,d=l.onClick,h=l.color;s.stopPropagation();var C=s.pageX,b=s.pageY,k=s.currentTarget,y=k.getBoundingClientRect(),w=C-(y.left+window.scrollX),_=b-(y.top+window.scrollY),A=Math.max(y.width,y.height);a.setState(function(W){return{rippleStyle:Re({},W.rippleStyle,{left:w,top:_,opacity:1,transform:"translate(-50%, -50%)",transition:"initial",backgroundColor:h})}},function(){a.timer=setTimeout(function(){a.setState(function(W){return{rippleStyle:Re({},W.rippleStyle,{opacity:0,transform:"scale("+A/9+")",transition:"all "+u+"ms"})}})},50)}),d&&d(s)},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 o=this.props,a=o.children;o.during,o.color,o.onClick;var s=o.className,l=la(o,["children","during","color","onClick","className"]),u=this.state.rippleStyle;return Me.default.createElement("div",Re({},l,{className:("react-ripples "+s).trim(),style:sa,onClick:this.onClick}),a,Me.default.createElement("s",{style:u}))},n}(Me.default.PureComponent),t.displayName="Ripples",t.propTypes={during:ct.number,color:ct.string,onClick:ct.func,className:ct.string},t.defaultProps=Re({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},e),t},$t=globalThis&&globalThis.__assign||function(){return $t=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},$t.apply(this,arguments)},da=function(e){return function(t){return Me.default.createElement(e,$t({},t))}},Sr=da(ca());function Ie({children:e,color:t="rgba(204,204,204,0.2)"}){return i(Sr,{during:1e3,color:t,children:i(p.Box,{children:e})})}function L({w:e="1rem",h:t="1rem",color:r=f("colors-main-ziggurat"),m:n="0",viewBox:o="0 0 16 16",children:a,title:s}){return m(p.Icon,{w:e,h:t,viewBox:o,color:r,m:n,"aria-label":" ","aria-hidden":!0,children:[m("title",{children:["icon",s&&`-${s}`]}),a]})}function qt(e){return m(L,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"academicRecord",children:[i("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"}),i("path",{d:"M15 10H1V12H15V10Z",fill:"currentColor"}),i("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}qt.displayName="AcademicRecord";function Xt(e){return i(L,{...e,children:m("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i("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"}),i("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"}),i("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"}),i("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"}),i("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"}),i("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"})]})})}Xt.displayName="ArrowRight";function D(){return Math.random().toString(36).slice(2,9)}function Yt(e){const t=`clip-${D()}`;return m(L,{...e,children:[m("g",{clipPath:`url(#${t})`,children:[i("mask",{id:`mask-${t}`,style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:i("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),i("g",{mask:`url(#mask-${t})`,children:i("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),i("defs",{children:i("clipPath",{id:t,children:i("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]})}Yt.displayName="ArrowRight";function Kt(e){return m(L,{...e,children:[i("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),i("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"})]})}Kt.displayName="Certificate";function Jt(e){return i(L,{...e,children:i("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"})})}Jt.displayName="CircularCheck";function dt(e){return i(L,{...e,children:i("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"})})}dt.displayName="CircularInformation";function ut(e){return m(L,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",children:[i("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"}),i("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}ut.displayName="Download";function Qt(e){return i(L,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goAhead",children:i("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"})})}Qt.displayName="GoAhead";function ei(e){return i(L,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goBack",children:i("path",{d:"M5.92593 2L0 8L5.92593 14L8 11.9L4.14815 8L8 4.1L5.92593 2Z",fill:"currentColor"})})}ei.displayName="GoBack";function ti(e){return m(L,{...e,w:"12px",viewBox:"0 0 14 14",title:"multimedia",children:[i("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"}),i("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"}),i("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"}),i("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"})]})}ti.displayName="Multimedia";function Lr({fill:e="#fff"}){return i("div",{className:"loaderAsync","data-testid":"loaderAsync",children:m("svg",{id:D(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 20",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",width:38,height:20,children:[i("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}}"}}),i("circle",{r:2.502,transform:"translate(29.526 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm12_f_o 600ms linear infinite normal forwards"}}),i("circle",{r:2.502,transform:"translate(19 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm13_f_o 600ms linear infinite normal forwards"}}),i("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 ii(e){return i(L,{...e,viewBox:"0 0 12 12",w:"12px",title:"profile",children:i("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"})})}ii.displayName="Profile";function ri(e){return m(L,{...e,children:[i("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"}),i("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),i("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),i("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),i("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),i("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),i("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]})}ri.displayName="Schedule";function ni(e){return m(L,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[i("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),i("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),i("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"})]})}ni.displayName="TinyAlertInfo";function oi(e){const t=`clip${D()}`;return m(L,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[m("g",{clipPath:`url(#${t})`,children:[i("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),i("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"})]}),i("defs",{children:i("clipPath",{id:t,children:i("rect",{width:"12px",height:"12px",fill:"white"})})})]})}oi.displayName="TinyAlertError";function ai(e){return m(L,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[i("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),i("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),i("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"})]})}ai.displayName="TinyAlertWarning";function li(e){const t=`clip${D()}`;return m(L,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[m("g",{clipPath:`url(#${t})`,children:[i("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),i("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"})]}),i("defs",{children:i("clipPath",{id:t,children:i("rect",{width:"12",height:"12",fill:"white"})})})]})}li.displayName="TinyAlertSuccess";function si(e){return i(L,{...e,w:"14px",h:"16px",viewBox:"0 0 14 16",title:"password",children:i("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"})})}si.displayName="Password";function ci(e){return m(L,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"pen",children:[i("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"}),i("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"})]})}ci.displayName="Pen";function di(e){return i(L,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"plusSign",children:i("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"})})}di.displayName="PlusSign";function ui(e){return m(L,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"trashCan",children:[i("path",{d:"M2 6V14C2 15.1 2.9 16 4 16H12C13.1 16 14 15.1 14 14V6H2Z",fill:"currentColor"}),i("path",{d:"M12 3V1C12 0.4 11.6 0 11 0H5C4.4 0 4 0.4 4 1V3H0V5H16V3H12ZM10 3H6V2H10V3Z",fill:"currentColor"})]})}ui.displayName="TrashCan";function pi(e){return i(L,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"textBubble",children:i("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"})})}pi.displayName="TextBubble";function fi(e){return i(L,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:m("svg",{fill:"none",children:[i("path",{d:"M21.642 44.2419C33.5945 44.2419 43.284 34.5524 43.284 22.5999C43.284 10.6473 33.5945 0.957886 21.642 0.957886C9.68945 0.957886 0 10.6473 0 22.5999C0 34.5524 9.68945 44.2419 21.642 44.2419Z",fill:"white"}),i("path",{d:"M18.5 24.1949C19.3284 24.1949 20 23.5233 20 22.6949C20 21.8665 19.3284 21.1949 18.5 21.1949C17.6716 21.1949 17 21.8665 17 22.6949C17 23.5233 17.6716 24.1949 18.5 24.1949Z",fill:"#CC0000"}),i("path",{d:"M23.5 24.1949C24.3284 24.1949 25 23.5233 25 22.6949C25 21.8665 24.3284 21.1949 23.5 21.1949C22.6716 21.1949 22 21.8665 22 22.6949C22 23.5233 22.6716 24.1949 23.5 24.1949Z",fill:"#CC0000"}),i("path",{d:"M28.5 24.1949C29.3284 24.1949 30 23.5233 30 22.6949C30 21.8665 29.3284 21.1949 28.5 21.1949C27.6716 21.1949 27 21.8665 27 22.6949C27 23.5233 27.6716 24.1949 28.5 24.1949Z",fill:"#CC0000"}),i("path",{d:"M43.678 13.9779C40.657 8.72889 34.991 5.19489 28.5 5.19489C18.835 5.19489 11 13.0299 11 22.6949C11 32.3599 18.835 40.1949 28.5 40.1949C34.608 40.1949 39.984 37.0659 43.115 32.3239",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.5862 15.7811C36.5625 14.8048 38.1455 14.8048 39.1218 15.7811L43.2105 19.8699L47.2992 15.7811C48.2755 14.8048 49.8585 14.8048 50.8348 15.7811C51.8111 16.7574 51.8111 18.3403 50.8348 19.3167L46.746 23.4054L50.8348 27.4941C51.8111 28.4704 51.8111 30.0533 50.8348 31.0297C49.8585 32.006 48.2755 32.006 47.2992 31.0297L43.2105 26.9409L39.1218 31.0297C38.1455 32.006 36.5625 32.006 35.5862 31.0297C34.6099 30.0533 34.6099 28.4704 35.5862 27.4941L39.675 23.4054L35.5862 19.3167C34.6099 18.3403 34.6099 16.7574 35.5862 15.7811Z",fill:"#CC0000"})]})})}fi.displayName="ErrorWhite";function hi(e){return i(L,{...e,w:"53",h:"45",viewBox:"0 0 53 45",title:"infoIcon",children:m("svg",{fill:"none",children:[i("path",{d:"M21.642 44.047C33.5945 44.047 43.284 34.3575 43.284 22.405C43.284 10.4525 33.5945 0.763 21.642 0.763C9.68945 0.763 0 10.4525 0 22.405C0 34.3575 9.68945 44.047 21.642 44.047Z",fill:"white"}),i("path",{d:"M18.5 24C19.3284 24 20 23.3284 20 22.5C20 21.6716 19.3284 21 18.5 21C17.6716 21 17 21.6716 17 22.5C17 23.3284 17.6716 24 18.5 24Z",fill:"#0189FF"}),i("path",{d:"M23.5 24C24.3284 24 25 23.3284 25 22.5C25 21.6716 24.3284 21 23.5 21C22.6716 21 22 21.6716 22 22.5C22 23.3284 22.6716 24 23.5 24Z",fill:"#0189FF"}),i("path",{d:"M28.5 24C29.3284 24 30 23.3284 30 22.5C30 21.6716 29.3284 21 28.5 21C27.6716 21 27 21.6716 27 22.5C27 23.3284 27.6716 24 28.5 24Z",fill:"#0189FF"}),i("path",{d:"M43.678 13.783C40.657 8.534 34.991 5 28.5 5C18.835 5 11 12.835 11 22.5C11 32.165 18.835 40 28.5 40C34.608 40 39.984 36.871 43.115 32.129",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47 21H50C50.2652 21 50.5196 21.1054 50.7071 21.2929C50.8946 21.4804 51 21.7348 51 22V29.045H51.237C51.4908 29.0531 51.7316 29.1597 51.9082 29.3421C52.0849 29.5245 52.1837 29.7685 52.1837 30.0225C52.1837 30.2765 52.0849 30.5205 51.9082 30.7029C51.7316 30.8853 51.4908 30.9919 51.237 31H46.977C46.7232 30.9919 46.4824 30.8853 46.3058 30.7029C46.1291 30.5205 46.0303 30.2765 46.0303 30.0225C46.0303 29.7685 46.1291 29.5245 46.3058 29.3421C46.4824 29.1597 46.7232 29.0531 46.977 29.045H47V23.123C46.7348 23.123 46.4804 23.0176 46.2929 22.8301C46.1054 22.6426 46 22.3882 46 22.123V22C46 21.7348 46.1054 21.4804 46.2929 21.2929C46.4804 21.1054 46.7348 21 47 21Z",fill:"#0189FF"}),i("path",{d:"M49 19C50.3807 19 51.5 17.8807 51.5 16.5C51.5 15.1193 50.3807 14 49 14C47.6193 14 46.5 15.1193 46.5 16.5C46.5 17.8807 47.6193 19 49 19Z",fill:"#0189FF"})]})})}hi.displayName="InfoWhite";function mi(e){return i(L,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:m("svg",{fill:"none",children:[i("path",{d:"M21.642 44.094C33.5945 44.094 43.284 34.4045 43.284 22.452C43.284 10.4995 33.5945 0.809998 21.642 0.809998C9.68945 0.809998 0 10.4995 0 22.452C0 34.4045 9.68945 44.094 21.642 44.094Z",fill:"white"}),i("path",{d:"M43.678 13.83C40.657 8.581 34.991 5.047 28.5 5.047C18.835 5.047 11 12.882 11 22.547C11 32.212 18.835 40.047 28.5 40.047C34.608 40.047 39.984 36.918 43.115 32.176",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.0248 12.8232C57.0011 13.7995 57.0011 15.3825 56.0248 16.3588L44.3118 28.0718C43.8429 28.5406 43.207 28.804 42.544 28.804C41.881 28.804 41.2451 28.5406 40.7762 28.0718L34.2322 21.5278C33.2559 20.5515 33.2559 18.9685 34.2322 17.9922C35.2085 17.0159 36.7915 17.0159 37.7678 17.9922L42.544 22.7685L52.4892 12.8232C53.4655 11.8469 55.0485 11.8469 56.0248 12.8232Z",fill:"#28A745"}),i("path",{d:"M18.5 24.047C19.3284 24.047 20 23.3754 20 22.547C20 21.7186 19.3284 21.047 18.5 21.047C17.6716 21.047 17 21.7186 17 22.547C17 23.3754 17.6716 24.047 18.5 24.047Z",fill:"#28A745"}),i("path",{d:"M23.5 24.047C24.3284 24.047 25 23.3754 25 22.547C25 21.7186 24.3284 21.047 23.5 21.047C22.6716 21.047 22 21.7186 22 22.547C22 23.3754 22.6716 24.047 23.5 24.047Z",fill:"#28A745"}),i("path",{d:"M28.5 24.047C29.3284 24.047 30 23.3754 30 22.547C30 21.7186 29.3284 21.047 28.5 21.047C27.6716 21.047 27 21.7186 27 22.547C27 23.3754 27.6716 24.047 28.5 24.047Z",fill:"#28A745"})]})})}mi.displayName="SuccessWhite";function gi(e){return i(L,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:m("svg",{fill:"none",children:[i("path",{d:"M21.642 44.282C33.5945 44.282 43.284 34.5925 43.284 22.64C43.284 10.6874 33.5945 0.997986 21.642 0.997986C9.68945 0.997986 0 10.6874 0 22.64C0 34.5925 9.68945 44.282 21.642 44.282Z",fill:"white"}),i("path",{d:"M18.5 24.235C19.3284 24.235 20 23.5634 20 22.735C20 21.9066 19.3284 21.235 18.5 21.235C17.6716 21.235 17 21.9066 17 22.735C17 23.5634 17.6716 24.235 18.5 24.235Z",fill:"#FFBC27"}),i("path",{d:"M23.5 24.235C24.3284 24.235 25 23.5634 25 22.735C25 21.9066 24.3284 21.235 23.5 21.235C22.6716 21.235 22 21.9066 22 22.735C22 23.5634 22.6716 24.235 23.5 24.235Z",fill:"#FFBC27"}),i("path",{d:"M28.5 24.235C29.3284 24.235 30 23.5634 30 22.735C30 21.9066 29.3284 21.235 28.5 21.235C27.6716 21.235 27 21.9066 27 22.735C27 23.5634 27.6716 24.235 28.5 24.235Z",fill:"#FFBC27"}),i("path",{d:"M43.678 14.018C40.657 8.76899 34.991 5.23499 28.5 5.23499C18.835 5.23499 11 13.07 11 22.735C11 32.4 18.835 40.235 28.5 40.235C34.608 40.235 39.984 37.106 43.115 32.364",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.782 14.053C50.1627 14.053 51.282 15.1723 51.282 16.553V21.12C51.282 22.5007 50.1627 23.62 48.782 23.62C47.4013 23.62 46.282 22.5007 46.282 21.12V16.553C46.282 15.1723 47.4013 14.053 48.782 14.053ZM47.0143 25.7852C47.9906 24.8089 49.5735 24.8089 50.5498 25.7852L50.5958 25.8312C51.5721 26.8076 51.572 28.3905 50.5957 29.3668C49.6194 30.3431 48.0365 30.343 47.0602 29.3667L47.0142 29.3207C46.0379 28.3444 46.0379 26.7615 47.0143 25.7852Z",fill:"#FFBC27"})]})})}gi.displayName="WarningWhite";function Ci(e){return i(L,{...e,w:"53",h:"45",viewBox:"0 0 53 45",children:m("svg",{fill:"none",children:[i("path",{d:"M22.142 44.1878C34.0945 44.1878 43.784 34.4984 43.784 22.5458C43.784 10.5933 34.0945 0.903809 22.142 0.903809C10.1895 0.903809 0.5 10.5933 0.5 22.5458C0.5 34.4984 10.1895 44.1878 22.142 44.1878Z",fill:"#F9DFDF"}),i("path",{d:"M19 24.1409C19.8284 24.1409 20.5 23.4693 20.5 22.6409C20.5 21.8124 19.8284 21.1409 19 21.1409C18.1716 21.1409 17.5 21.8124 17.5 22.6409C17.5 23.4693 18.1716 24.1409 19 24.1409Z",fill:"#CC0000"}),i("path",{d:"M24 24.1409C24.8284 24.1409 25.5 23.4693 25.5 22.6409C25.5 21.8124 24.8284 21.1409 24 21.1409C23.1716 21.1409 22.5 21.8124 22.5 22.6409C22.5 23.4693 23.1716 24.1409 24 24.1409Z",fill:"#CC0000"}),i("path",{d:"M29 24.1409C29.8284 24.1409 30.5 23.4693 30.5 22.6409C30.5 21.8124 29.8284 21.1409 29 21.1409C28.1716 21.1409 27.5 21.8124 27.5 22.6409C27.5 23.4693 28.1716 24.1409 29 24.1409Z",fill:"#CC0000"}),i("path",{d:"M44.178 13.9239C41.157 8.67487 35.491 5.14087 29 5.14087C19.335 5.14087 11.5 12.9759 11.5 22.6409C11.5 32.3059 19.335 40.1409 29 40.1409C35.108 40.1409 40.484 37.0119 43.615 32.2699",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.0862 15.7271C37.0625 14.7508 38.6455 14.7508 39.6218 15.7271L43.7105 19.8158L47.7992 15.7271C48.7755 14.7508 50.3585 14.7508 51.3348 15.7271C52.3111 16.7034 52.3111 18.2863 51.3348 19.2626L47.246 23.3514L51.3348 27.4401C52.3111 28.4164 52.3111 29.9993 51.3348 30.9756C50.3585 31.952 48.7755 31.952 47.7992 30.9756L43.7105 26.8869L39.6218 30.9756C38.6455 31.952 37.0625 31.952 36.0862 30.9756C35.1099 29.9993 35.1099 28.4164 36.0862 27.4401L40.175 23.3514L36.0862 19.2626C35.1099 18.2863 35.1099 16.7034 36.0862 15.7271Z",fill:"#CC0000"})]})})}Ci.displayName="ErrorColor";function xi(e){return i(L,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:m("svg",{fill:"none",children:[i("path",{d:"M21.642 44.2349C33.5945 44.2349 43.284 34.5455 43.284 22.5929C43.284 10.6404 33.5945 0.950928 21.642 0.950928C9.68945 0.950928 0 10.6404 0 22.5929C0 34.5455 9.68945 44.2349 21.642 44.2349Z",fill:"#E0EEFA"}),i("path",{d:"M18.5 24.188C19.3284 24.188 20 23.5164 20 22.688C20 21.8596 19.3284 21.188 18.5 21.188C17.6716 21.188 17 21.8596 17 22.688C17 23.5164 17.6716 24.188 18.5 24.188Z",fill:"#0189FF"}),i("path",{d:"M23.5 24.188C24.3284 24.188 25 23.5164 25 22.688C25 21.8596 24.3284 21.188 23.5 21.188C22.6716 21.188 22 21.8596 22 22.688C22 23.5164 22.6716 24.188 23.5 24.188Z",fill:"#0189FF"}),i("path",{d:"M28.5 24.188C29.3284 24.188 30 23.5164 30 22.688C30 21.8596 29.3284 21.188 28.5 21.188C27.6716 21.188 27 21.8596 27 22.688C27 23.5164 27.6716 24.188 28.5 24.188Z",fill:"#0189FF"}),i("path",{d:"M43.678 13.971C40.657 8.72199 34.991 5.18799 28.5 5.18799C18.835 5.18799 11 13.023 11 22.688C11 32.353 18.835 40.188 28.5 40.188C34.608 40.188 39.984 37.059 43.115 32.317",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47 21.188H50C50.2652 21.188 50.5196 21.2933 50.7071 21.4809C50.8946 21.6684 51 21.9228 51 22.188V29.233H51.237C51.4908 29.2411 51.7316 29.3477 51.9082 29.5301C52.0849 29.7125 52.1837 29.9565 52.1837 30.2105C52.1837 30.4645 52.0849 30.7085 51.9082 30.8909C51.7316 31.0733 51.4908 31.1799 51.237 31.188H46.977C46.7232 31.1799 46.4824 31.0733 46.3058 30.8909C46.1291 30.7085 46.0303 30.4645 46.0303 30.2105C46.0303 29.9565 46.1291 29.7125 46.3058 29.5301C46.4824 29.3477 46.7232 29.2411 46.977 29.233H47V23.311C46.7348 23.311 46.4804 23.2056 46.2929 23.0181C46.1054 22.8306 46 22.5762 46 22.311V22.188C46 21.9228 46.1054 21.6684 46.2929 21.4809C46.4804 21.2933 46.7348 21.188 47 21.188Z",fill:"#0189FF"}),i("path",{d:"M49 19.188C50.3807 19.188 51.5 18.0687 51.5 16.688C51.5 15.3073 50.3807 14.188 49 14.188C47.6193 14.188 46.5 15.3073 46.5 16.688C46.5 18.0687 47.6193 19.188 49 19.188Z",fill:"#0189FF"})]})})}xi.displayName="InfoColor";function yi(e){return i(L,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:m("svg",{fill:"none",children:[i("path",{d:"M21.642 44.0469C33.5945 44.0469 43.284 34.3575 43.284 22.4049C43.284 10.4524 33.5945 0.762939 21.642 0.762939C9.68945 0.762939 0 10.4524 0 22.4049C0 34.3575 9.68945 44.0469 21.642 44.0469Z",fill:"#E9F6EC"}),i("path",{d:"M43.678 13.783C40.657 8.534 34.991 5 28.5 5C18.835 5 11 12.835 11 22.5C11 32.165 18.835 40 28.5 40C34.608 40 39.984 36.871 43.115 32.129",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.0248 12.7762C57.0011 13.7525 57.0011 15.3354 56.0248 16.3117L44.3118 28.0247C43.8429 28.4936 43.207 28.7569 42.544 28.7569C41.881 28.7569 41.2451 28.4936 40.7762 28.0247L34.2322 21.4807C33.2559 20.5044 33.2559 18.9215 34.2322 17.9452C35.2085 16.9689 36.7915 16.9689 37.7678 17.9452L42.544 22.7214L52.4892 12.7762C53.4655 11.7999 55.0485 11.7999 56.0248 12.7762Z",fill:"#28A745"}),i("path",{d:"M18.5 24C19.3284 24 20 23.3284 20 22.5C20 21.6716 19.3284 21 18.5 21C17.6716 21 17 21.6716 17 22.5C17 23.3284 17.6716 24 18.5 24Z",fill:"#28A745"}),i("path",{d:"M23.5 24C24.3284 24 25 23.3284 25 22.5C25 21.6716 24.3284 21 23.5 21C22.6716 21 22 21.6716 22 22.5C22 23.3284 22.6716 24 23.5 24Z",fill:"#28A745"}),i("path",{d:"M28.5 24C29.3284 24 30 23.3284 30 22.5C30 21.6716 29.3284 21 28.5 21C27.6716 21 27 21.6716 27 22.5C27 23.3284 27.6716 24 28.5 24Z",fill:"#28A745"})]})})}yi.displayName="SuccessColor";function wi(e){return i(L,{...e,w:"53",h:"45",viewBox:"0 0 53 45",children:m("svg",{fill:"none",children:[i("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"}),i("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"}),i("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"}),i("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"}),i("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"}),i("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"})]})})}wi.displayName="WarningColor";function vi(e){return i(L,{...e,title:"close",children:i("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:i("path",{d:"M10.7071 1.29303C10.5196 1.10556 10.2652 1.00024 10.0001 1.00024C9.73492 1.00024 9.48061 1.10556 9.29308 1.29303L6.00008 4.58603L2.70708 1.29303C2.51848 1.11087 2.26588 1.01008 2.00368 1.01236C1.74148 1.01464 1.49067 1.1198 1.30526 1.30521C1.11985 1.49062 1.01469 1.74143 1.01241 2.00363C1.01013 2.26583 1.11092 2.51843 1.29308 2.70703L4.58608 6.00003L1.29308 9.29303C1.19757 9.38528 1.12139 9.49562 1.06898 9.61763C1.01657 9.73963 0.988985 9.87085 0.987831 10.0036C0.986677 10.1364 1.01198 10.2681 1.06226 10.391C1.11254 10.5139 1.18679 10.6255 1.28069 10.7194C1.37458 10.8133 1.48623 10.8876 1.60913 10.9379C1.73202 10.9881 1.8637 11.0134 1.99648 11.0123C2.12926 11.0111 2.26048 10.9835 2.38249 10.9311C2.50449 10.8787 2.61483 10.8025 2.70708 10.707L6.00008 7.41403L9.29308 10.707C9.48168 10.8892 9.73429 10.99 9.99648 10.9877C10.2587 10.9854 10.5095 10.8803 10.6949 10.6948C10.8803 10.5094 10.9855 10.2586 10.9878 9.99643C10.99 9.73423 10.8892 9.48163 10.7071 9.29303L7.41408 6.00003L10.7071 2.70703C10.8946 2.5195 10.9999 2.26519 10.9999 2.00003C10.9999 1.73487 10.8946 1.48056 10.7071 1.29303Z",fill:"#60798E"})})})}vi.displayName="Close";function bi(e){return i(L,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",children:i("path",{d:"M9.207 5.793L3 12L4.414 13.414L10.621 7.207L13.414 10V3H6.414L9.207 5.793Z",fill:"#0189FF"})})}bi.displayName="Download";var ua=Object.freeze(Object.defineProperty({__proto__:null,AcademicRecord:qt,AlertInfo:Xt,ArrowRight:Yt,Certificate:Kt,CircularCheck:Jt,CircularInformation:dt,Download:ut,GoAhead:Qt,GoBack:ei,Multimedia:ti,Loader:Lr,Profile:ii,Schedule:ri,TinyAlertInfo:ni,TinyAlertError:oi,TinyAlertWarning:ai,TinyAlertSuccess:li,Password:si,Pen:ci,PlusSign:di,TrashCan:ui,TextBubble:pi,ErrorWhite:fi,InfoWhite:hi,SuccessWhite:mi,WarningWhite:gi,ErrorColor:Ci,InfoColor:xi,SuccessColor:yi,WarningColor:wi,Close:vi,DiagonalArrow:bi},Symbol.toStringTag,{value:"Module"}));function Ar({status:e,text:t,margin:r="0",sx:n}){const o={success:{icon:i(li,{}),text:"Success",bg:f("colors-alert-ice"),color:f("colors-neutral-darkCharcoal")},error:{icon:i(oi,{}),text:"Error",bg:f("colors-alert-veryLightPinkThree"),color:f("colors-neutral-darkCharcoal")},info:{icon:i(ni,{}),text:"Info",bg:f("colors-alert-veryLightBlue"),color:f("colors-neutral-darkCharcoal")},warning:{icon:i(ai,{}),text:"Warning",bg:f("colors-alert-pale"),color:f("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:f("colors-main-blueGrey"),color:f("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:f("colors-main-ziggurat"),color:f("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:f("colors-neutral-cultured"),color:f("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:f("colors-neutral-white")}};return o[e]?m(p.Box,{margin:r,"data-testid":"TinyAlert-Box",backgroundColor:o[e].bg,display:"flex",flexDirection:"row",alignItems:"center",padding:".125em .25em",gap:".25rem",width:"fit-content",borderRadius:".25rem",className:"TinyAlert-Box",sx:n,children:[o[e].icon&&i(p.Box,{lineHeight:0,sx:{">svg":{margin:0}},children:o[e].icon}),i(p.Box,{as:"span",color:o[e].color,fontSize:".75rem",fontStyle:"normal",fontWeight:"400",fontFamily:"Roboto",lineHeight:".875rem",margin:"0",children:t!=null?t:o[e].text})]}):null}Ar.displayName="TinyAlert";function pt({ariaLabel:e,bg:t,borderColorActive:r=[f("colors-main-deepSkyBlue"),f("colors-neutral-white")],children:n,color:o=f("colors-neutral-white"),disabled:a=!1,fillLoader:s=f("colors-neutral-white"),id:l=void 0,isFullWidth:u=!1,isLoading:d=!1,leftIcon:h,m:C="0",onClick:b,rightIcon:k,role:y="button",rounded:w=!1,size:_="regular",touchDark:A=!1,type:W="button",tabIndex:R=0,sx:H}){var I,le,ue;let V=n!=null?n:null;!n&&!k&&!h&&(V="Button");const ee=".75rem",oe=w?"12px":f("radii-small"),Ce=(I=t==null?void 0:t.main)!=null?I:f("colors-main-deepSkyBlue"),xe=A?"rgba(160, 160, 160, 0.2)":"rgba(255, 255, 255, 0.2)",q=!n&&(k!=null?k:h)?"onlyIcon":"";return i(p.Box,{margin:C,sx:{w:u?"100%":"auto",".react-ripples":{borderRadius:oe,display:`${u?"grid":"inline-flex!important"}`}},children:i(Sr,{color:xe,children:i(p.Button,{autoFocus:!1,"aria-label":e,id:l,role:y,bg:Ce,borderRadius:oe,color:o,className:q,disabled:a&&d?!1:a,fontWeight:"500",fontSize:_==="regular"?"medium":"small",height:"auto",iconSpacing:f("space-xs"),isActive:!1,isLoading:d,isFullWidth:u,lineHeight:"initial",leftIcon:h,minHeight:_==="regular"?"2.813rem":"2rem",minWidth:_==="regular"?"9rem":"auto",onClick:rt=>{!d&&!a&&(b==null||b(rt))},position:"relative",paddingTop:_==="regular"?ee:f(q?"space-xs":"space-xxs"),paddingBottom:_==="regular"?ee:f(q?"space-xs":"space-xxs"),paddingLeft:f(_==="regular"?"space-s":"space-xs"),paddingRight:f(_==="regular"?"space-s":"space-xs"),rightIcon:k,type:W,size:_==="regular"?"md":"sm",spinner:i(Lr,{fill:s}),tabIndex:a||d?-1:R,_active:{bg:(le=t==null?void 0:t.main)!=null?le:f("colors-main-azureRadiance")},_disabled:{opacity:"50%",cursor:"not-allowed"},_focus:{boxShadow:"none"},_focusVisible:{boxShadow:`inset 0 0 0 2px ${r[0]}, inset 0 0 0 4px ${r[1]}`},_hover:{bg:(ue=t==null?void 0:t.hover)!=null?ue:f("colors-main-azureRadiance")},sx:{"&[data-loading]":{boxShadow:"none",cursor:"wait"},"&.onlyIcon span":{m:0},span:{h:"1rem"},...H},children:V})})})}pt.displayName="Btn";function ft({ariaLabel:e,children:t,disabled:r=!1,isFullWidth:n=!1,leftIcon:o,m:a="0",isLoading:s=!1,onClick:l,rightIcon:u,role:d="button",size:h="regular",type:C="button",tabIndex:b,id:k,sx:y}){return i(pt,{ariaLabel:e,id:k,disabled:r,isFullWidth:n,isLoading:s,leftIcon:o,m:a,onClick:l,rightIcon:u,role:d,size:h,type:C,tabIndex:b,sx:y,children:t})}ft.displayName="BtnPrimary";function Hr({ariaLabel:e,children:t,disabled:r=!1,isFullWidth:n=!1,leftIcon:o,m:a="0",isLoading:s=!1,onClick:l,rightIcon:u,role:d="button",size:h="regular",type:C="button",tabIndex:b,id:k,sx:y}){return i(pt,{ariaLabel:e,id:k,bg:{main:f("colors-main-veryLightBlue"),hover:f("colors-main-linkWater")},borderColorActive:[f("colors-main-deepSkyBlue"),f("colors-neutral-white")],color:f("colors-main-deepSkyBlue"),disabled:r,fillLoader:f("colors-main-deepSkyBlue"),isFullWidth:n,isLoading:s,leftIcon:o,m:a,onClick:l,rightIcon:u,role:d,size:h,touchDark:!0,type:C,tabIndex:b,sx:y,children:t})}Hr.displayName="BtnSecondary";function Rr({ariaLabel:e,activeWhenPress:t=!1,children:r,id:n,iconStatus:o="multimedia",iconCustom:a,m:s="0",onClick:l,onMouseEnter:u,onMouseLeave:d,rightIcon:h,role:C="button",type:b="button",tabIndex:k,withoutColor:y=!1,sx:w}){const _=f("colors-neutral-gray"),A=f("colors-main-deepSkyBlue"),W=f("colors-neutral-white"),R=y?f("colors-main-blueGrey"):A,H={ahead:i(Qt,{color:R}),answer:i(pi,{color:R}),back:i(ei,{color:R}),delete:i(ui,{color:R}),download:i(ut,{color:R}),edit:i(ci,{color:R}),more:i(di,{color:R}),multimedia:i(ti,{color:R}),password:i(si,{color:R}),record:i(qt,{color:R}),noIcon:i(te,{})};let V;H[o]&&o!=="noIcon"&&(V=H[o]),a&&(V=a);const ee=h?V:void 0,oe=h?void 0:V;return i(p.Button,{"aria-label":e,id:n,role:C,type:b,tabIndex:k,background:"transparent",borderRadius:"12px",color:_,fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:"14px",gap:"0.5rem",height:"24px",lineHeight:"16px",leftIcon:oe,rightIcon:ee,m:s,onClick:l,onMouseEnter:u,onMouseLeave:d,paddingTop:f("space-xxs"),paddingBottom:f("space-xxs"),paddingLeft:f("space-xs"),paddingRight:f("space-xs"),textDecorationLine:"underline",_hover:{color:`${A}`},_focusVisible:{boxShadow:`inset 0 0 0 2px ${A}, inset 0 0 0 4px ${W}`},_focus:{color:t?`${A} !important`:"inherit",boxShadow:"none"},_active:{bg:"transparent"},sx:{">span":{mr:0},...w},children:r})}Rr.displayName="BtnTertiary";function Oe({as:e="a",ariaLabel:t,children:r,fontSize:n="0.875rem",href:o="",id:a,isDisable:s=!1,m:l="0",onClick:u,role:d="link",tabIndex:h,target:C="_blank",textDecorationLine:b=!0,sx:k}){const y={button:{onClick:s?void 0:u,target:C},a:{href:o,target:C}};return i(p.Box,{"aria-label":t,as:e,autoFocus:!1,backgroundColor:"transparent",borderStyle:"none",className:"linkButton",color:f("colors-main-deepSkyBlue"),cursor:s?"not-allowed":"pointer",fontFamily:"Roboto",fontSize:n,fontStyle:"normal",fontWeight:"500",id:a,lineHeight:"1rem",onClick:s?void 0:u,opacity:s?.5:1,padding:".25em",role:d,tabIndex:h,textDecorationLine:b?"underline":"none",width:"fit-content",m:l,_hover:{color:f("colors-neutral-darkCharcoal"),cursor:"pointer"},...y[e],sx:k,children:r})}Oe.displayName="BtnLink";const pa=()=>i("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i("path",{d:"M8 0C3.6 0 0 3.6 0 8C0 12.4 3.6 16 8 16C12.4 16 16 12.4 16 8C16 3.6 12.4 0 8 0ZM8 13C7.448 13 7 12.552 7 12C7 11.448 7.448 11 8 11C8.552 11 9 11.448 9 12C9 12.552 8.552 13 8 13ZM9.623 8.092C9.126 8.519 9 8.663 9 9C9 9.553 8.552 10 8 10C7.448 10 7 9.553 7 9C7 7.706 7.795 7.024 8.322 6.573C8.819 6.148 8.945 6.003 8.945 5.667C8.945 5.484 8.945 5 8.001 5C7.565 5.024 7.1 5.224 6.743 5.561C6.342 5.939 5.708 5.92 5.329 5.52C4.95 5.118 4.968 4.485 5.37 4.106C6.072 3.445 6.987 3.052 7.949 3.002H7.952C9.764 3.002 10.945 4.073 10.945 5.668C10.945 6.961 10.15 7.643 9.624 8.093L9.623 8.092Z",fill:"white"})}),fa=()=>m("svg",{width:"16px",height:"16px",fill:"none",children:[i("path",{fill:"#fff",d:"M15 2h-2V0h-2v2H9V0H7v2H5V0H3v2H1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1Zm-1 12H2V5h12v9Z"}),i("path",{fill:"#fff",d:"M6 7H4v2h2V7ZM9 7H7v2h2V7ZM6 10H4v2h2v-2ZM9 10H7v2h2v-2ZM12 7h-2v2h2V7ZM12 10h-2v2h2v-2Z"})]});function Ir(e){return i(L,{...e,children:i("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM8 5C8.82843 5 9.5 4.32843 9.5 3.5C9.5 2.67157 8.82843 2 8 2C7.17157 2 6.5 2.67157 6.5 3.5C6.5 4.32843 7.17157 5 8 5ZM2.96967 5.96967C3.11032 5.82902 3.30109 5.75 3.5 5.75H12.5C12.6989 5.75 12.8897 5.82902 13.0303 5.96967C13.171 6.11032 13.25 6.30109 13.25 6.5C13.25 6.69891 13.171 6.88968 13.0303 7.03033C12.8897 7.17098 12.6989 7.25 12.5 7.25H10.25V13.25C10.25 13.4489 10.171 13.6397 10.0303 13.7803C9.88968 13.921 9.69891 14 9.5 14C9.30109 14 9.11032 13.921 8.96967 13.7803C8.82902 13.6397 8.75 13.4489 8.75 13.25V10.25H7.25V13.25C7.25 13.4489 7.17098 13.6397 7.03033 13.7803C6.88968 13.921 6.69891 14 6.5 14C6.30109 14 6.11032 13.921 5.96967 13.7803C5.82902 13.6397 5.75 13.4489 5.75 13.25V7.25H3.5C3.30109 7.25 3.11032 7.17098 2.96967 7.03033C2.82902 6.88968 2.75 6.69891 2.75 6.5C2.75 6.30109 2.82902 6.11032 2.96967 5.96967Z",fill:"white"})})})}const Or=({as:e="button",buttonName:t,onlyLink:r,onClick:n,type:o})=>{var C;const[a]=p.useMediaQuery("(max-width: 640px)"),s={accessibility:{icon:i(Ir,{}),text:t!=null?t:"ACCESIBILIDAD"},calendar:{icon:i(fa,{}),text:t!=null?t:"CALENDARIO"},help:{icon:i(pa,{}),text:t!=null?t:"AYUDA"}},l=()=>{const b=document.getElementById("userWayTrigger");b!=null&&b.click&&b.click()},u=(C=f("colors-main-deepSkyBlue"))!=null?C:"#0189FF",d="rgba(96, 121, 142, 0.8)",h=o==="accessibility";return m(p.Box,{as:e,className:"nav-bar-button",id:h?"UserWayButton":"",onClick:h?l:n,_focusVisible:{outline:`3px solid ${f("colors-alert-deepSkyBlue")}`,borderRadius:"2px"},tabIndex:0,sx:{alignItems:"center",background:"none !important",border:"1px transparent !important",cursor:"pointer",display:"flex",gap:"8px",h:"30px",maxH:"30px",p:"0",_hover:{".nav-bar-icon":{bg:d},".nav-bar-text":{color:f("colors-neutral-white")}},_active:{".nav-bar-icon":{bg:r||h?d:u},".nav-bar-text":{color:f("colors-neutral-white")}},".nav-bar-icon":{alignItems:"center",bg:f("colors-main-blueGrey"),borderRadius:"100%",border:"1px solid transparent",display:"flex",height:"30px",justifyContent:"center",type:"button",role:"button",width:"30px"},".nav-bar-text":{alignContent:"center",color:f("colors-neutral-silverSand"),fontSize:"12px",fontWeight:"500",fontFamily:"Roboto"}},children:[i(p.Box,{className:"nav-bar-icon",tabIndex:-1,children:s[o].icon}),!a&&i(p.Box,{className:"nav-bar-text",tabIndex:-1,children:s[o].text})]})},ha=({children:e,className:t="tooltip",label:r,isDisabled:n=!1,m:o,maxWidth:a="200px",placement:s="bottom",isOpen:l,sx:u,transform:d})=>i(p.Tooltip,{isOpen:l,sx:{bg:f("colors-neutral-darkCharcoal"),borderRadius:"10px",color:"white !important",fontSize:"12px",fontWeight:"400",maxWidth:a,padding:"8px",transform:d!=null?d:"",".chakra-tooltip__arrow":{bg:`${f("colors-neutral-darkCharcoal")} !important`},...u},className:t,closeOnClick:!0,label:r,m:o,hasArrow:!0,isDisabled:n,placement:s,children:i("span",{children:e})});function ma(){const e=()=>{const t=document.getElementById("userWayTrigger");t!=null&&t.click&&t.click()};return i(p.Box,{as:"button",alignItems:"center",bg:f("colors-main-blueGrey"),borderRadius:"100%",border:"1px solid transparent",display:"flex",height:"30px",id:"UserWayButton",justifyContent:"center",padding:"0 8px",width:"30px",_hover:{background:"rgba(96, 121, 142, 0.8)"},onClick:e,children:i(Ir,{})})}function ga(){var r;const e="userwayData",t=(r=document.cookie.split("; ").find(n=>n.startsWith(`${e}=`)))==null?void 0:r.split("=")[1];if(t)try{const n=JSON.parse(decodeURIComponent(t));for(const[o,a]of Object.entries(n))localStorage.setItem(o,a);console.log("UserWay data restored to localStorage:",n)}catch(n){console.error("Error parsing UserWay data from cookie:",n)}window.addEventListener("beforeunload",()=>{const n={};for(const s in localStorage)s.startsWith("userway-")&&(n[s]=localStorage.getItem(s));const o=JSON.stringify(n),a=new Date;a.setTime(a.getTime()+24*60*60*1e3),document.cookie=`${e}=${encodeURIComponent(o)};expires=${a.toUTCString()};path=/`})}const Ca=4,xa={ADMIN:{bg:f("colors-main-linkWater")},NEW:{bg:f("colors-secondary-pumpkin")}};function Fr(){var s;const{background:e,labels:t,logo:r,logoAlt:n,Profile:o,soonCourse:a}=O.useContext(mt);return m(p.Box,{as:"header",height:"8.75rem",borderBottom:f("borders-light"),pos:"relative",_before:{content:'""',position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundImage:`url(${e!=null?e:""})`,backgroundSize:"cover",backgroundPosition:"center",opacity:(s=a==null?void 0:a.show)!=null&&s?.3:1,zIndex:0},children:[m(p.Box,{p:"1rem",display:"flex",gap:"0.625rem",position:"absolute",zIndex:2,children:[(o==null?void 0:o.id)!==Ca&&i(Ue,{bg:f("colors-neutral-white"),children:m(p.Flex,{children:[i(ii,{m:"0 .25rem 0 0"}),o==null?void 0:o.name]})}),t!==void 0&&t.length>0&&i(p.Stack,{direction:"row",spacing:".625rem",wrap:"wrap",zIndex:2,children:t.map((l,u)=>{const d=xa[l.id];return i(Ue,{bg:d==null?void 0:d.bg,children:l.text},u)})}),(a==null?void 0:a.show)&&(a==null?void 0:a.text)&&i(p.Stack,{direction:"row",spacing:".625rem",wrap:"wrap",zIndex:2,children:i(Ue,{children:a.text})})]}),r!==void 0&&r.length>0&&i(p.Center,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:f("borders-light"),bg:f("colors-neutral-white"),overflow:"hidden",borderRadius:f("radii-small"),w:"6.25rem",zIndex:2,children:i(p.Image,{src:r,alt:n!=null?n:"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}Fr.displayName="Header";function Ei({date:e}){return e==null||e.length===0?null:i(p.Text,{fontSize:".75rem",color:f("colors-neutral-darkCharcoal"),m:"0",children:e})}Ei.displayName="DateStatus";function Nr({type:e,progressValue:t=0}){switch(e){case"schedule":return i(ri,{});case"certificate":return i(Kt,{});case"circularCheck":return i(Jt,{});case"progress":return i(kr,{value:t});case"circularInformation":return i(dt,{});case"info":return i(dt,{});default:return null}}const ya=7;function Dr({progress:e,status:t}){return m(te,{children:[m(p.Flex,{children:[i(Nr,{type:e.icon,progressValue:e.progress}),i(p.Text,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:e==null?void 0:e.label})]}),(t==null?void 0:t.id)===ya&&(e==null?void 0:e.finalGrade)&&(e==null?void 0:e.finalGrade.length)>0&&i(Ue,{size:"sm",bg:e.isApproved?f("colors-alert-jadeGreen"):f("colors-alert-red"),color:f("colors-neutral-white"),children:e==null?void 0:e.finalGrade})]})}function Vr(){const{name:e,dateStatus:t,information:r,progress:n,status:o}=O.useContext(mt);return n==null?null:m(p.Box,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(t==null?void 0:t.hasDates)&&m(p.HStack,{direction:"row",divider:t.init!==void 0&&t.init.length>0&&t.end!==void 0&&n.icon!==null&&t.end.length>0?i(p.Box,{h:".5rem",w:"1px",bg:f("colors-neutral-silverSand"),alignSelf:"center"}):i(te,{}),children:[i(Ei,{date:t.init}),i(Ei,{date:t.end})]}),i(p.Heading,{as:"h2",fontFamily:"Roboto",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:e}),(n==null?void 0:n.label)!==void 0&&i(p.Flex,{mt:"1rem",justify:"space-between",alignItems:"flex-start",children:i(Dr,{progress:n,status:o})}),r!=null&&(r==null?void 0:r.length)>0&&i(p.List,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:f("borders-light"),children:r.map((a,s)=>{var l;return m(p.ListItem,{display:"flex",children:[i(Nr,{type:a.icon}),i(p.Box,{display:"inline-block",ml:".625rem",children:a.href!==void 0&&((l=a.href)==null?void 0:l.length)>0?i(p.Link,{isExternal:!0,href:a.href,color:f("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:a.text}):i(p.Text,{m:"0",color:f("colors-neutral-gray"),fontSize:".75rem",children:a.text})})]},s)})})]})}Vr.displayName="Section";const g={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"}]},Br={noHabilitado:{...g,id:1,hasFinanzeFreezed:!1,status:{...g.status,id:1,name:"noHabilitado"},progress:{...g.progress,label:"Inscripci\xF3n no habilitada",icon:"circularInformation"},dateStatus:{...g.dateStatus,hasDates:!1},information:null,action:{...g.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[]},inscripcionFutura:{...g,id:2,hasFinanzeFreezed:!1,status:{...g.status,id:1,name:"noHabilitado"},progress:{...g.progress,label:"Podr\xE1s inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...g.dateStatus,hasDates:!1},information:null,action:{...g.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},inscripcionFinalizo:{...g,id:3,hasFinanzeFreezed:!1,status:{...g.status,id:1,name:"noHabilitado"},progress:{...g.progress,label:"El per\xEDodo de inscripci\xF3n finaliz\xF3 el 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...g.dateStatus,hasDates:!1},information:null,action:{...g.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},preInscripcion:{...g,logo:"https://cdn.eclass.com/img/productos/logos/logo-utec-square.jpg",background:"https://cdn.eclass.com/img/cursos/default1.png",id:4,hasFinanzeFreezed:!1,status:{...g.status,id:2,name:"preInscripcion"},progress:{...g.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...g.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...g.action,text:"Solicitar inscripci\xF3n",targetBlank:!0},labels:[]},preInscripcion2:{...g,id:5,hasFinanzeFreezed:!1,logo:"",status:{...g.status,id:2,name:"preInscripcion"},progress:{...g.progress,label:"Estamos procesando tu solicitud de inscripci\xF3n",icon:"circularInformation"},dateStatus:{...g.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...g.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},inscripcion:{...g,background:"https://cdn.eclass.com/img/cursos/default2.png",id:6,hasFinanzeFreezed:!1,status:{...g.status,id:3,name:"inscripcion"},progress:{...g.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...g.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...g.action,text:"Inscr\xEDbete",targetBlank:!0}},inscripcion2:{...g,id:7,hasFinanzeFreezed:!1,status:{...g.status,id:3,name:"inscripcion"},progress:{...g.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...g.dateStatus,hasDates:!0},information:[],action:{...g.action,text:"Inscr\xEDbete",targetBlank:!0},labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"},{id:"ADMIN",text:"Curso madre"}]},noDisponible:{...g,id:8,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...g.status,id:4,name:"no disponible"},progress:{...g.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:{...g.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},noDisponible2:{...g,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:9,hasFinanzeFreezed:!1,status:{...g.status,id:4,name:"no disponible"},progress:{...g.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:{...g.action,enabled:!1},labels:[]},noDisponible3:{...g,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:10,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...g.status,id:4,name:"no disponible"},progress:{...g.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:{...g.action,enabled:!1},labels:[]},activado:{...g,id:11,hasFinanzeFreezed:!1,status:{...g.status,id:5,name:"disponible"},progress:{...g.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:{...g.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar:{...g,id:12,hasFinanzeFreezed:!1,logo:"",status:{...g.status,id:6,name:"sinEstudiar"},progress:{...g.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:{...g.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar2:{...g,id:13,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...g.status,id:6,name:"sinEstudiar"},progress:{...g.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:{...g.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar3:{...g,id:14,hasFinanzeFreezed:!1,status:{...g.status,id:6,name:"sinEstudiar"},progress:{...g.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:{...g.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar4:{...g,logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:15,hasFinanzeFreezed:!1,status:{...g.status,id:6,name:"sinEstudiar"},progress:{...g.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:{...g.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},continuar:{...g,id:16,hasFinanzeFreezed:!0,status:{...g.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:{...g.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:{...g.action,targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"},labels:[]},continuar2:{...g,id:17,hasFinanzeFreezed:!1,status:{...g.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:{...g.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:{...g.action,text:"Ir a mi curso"},labels:[]},pendiente:{...g,background:"https://cdn.eclass.com/img/cursos/default3.png",id:18,hasFinanzeFreezed:!1,status:{...g.status,id:8,name:"pendiente"},progress:{...g.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:{...g.action,text:"Ir a mi curso"},labels:[]},terminado:{...g,id:19,hasFinanzeFreezed:!1,status:{...g.status,id:7,name:"QUALIFIED"},progress:{...g.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:{...g.action,text:"Ir a mi curso"},labels:[]},terminado2:{...g,logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:20,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...g.status,id:7,name:"QUALIFIED"},progress:{...g.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:{...g.action,text:"Ir a mi curso"},labels:[]},terminado3:{...g,id:21,hasFinanzeFreezed:!1,logo:"",status:{...g.status,id:9,name:"terminado"},progress:{...g.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:{...g.action,text:"Ir a mi curso"},labels:[]},proximamente:{...g,id:22,hasFinanzeFreezed:!1,status:{...g.status,id:3,name:"inscripcion"},progress:{...g.progress,label:"Tu curso iniciara el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{...g.dateStatus,hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...g.action,text:"Ver informacion del curso",targetBlank:!0},soonCourse:{show:!0,text:"Pr\xF3ximamente"},labels:[]},proximamente2:{...g,id:23,hasFinanzeFreezed:!1,status:{...g.status,id:3,name:"inscripcion"},progress:{...g.progress,label:"Tu curso iniciara el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{...g.dateStatus,hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...g.action,text:"Ver informacion del curso",targetBlank:!0},soonCourse:{show:!0,text:"Pr\xF3ximamente"},labels:[{id:"OBLIGATORY",text:"Obligatorio"}]}},wa=Object.keys(Br).map(e=>Br[e]),Pr=4,ht=(e,t=Pr)=>e||t!==Pr;function va(e=4){const t=e*Zr+Wr*(e-1);return{px:`${t*16}px`,rem:`${t}rem`,remValue:t}}function ba({isOpen:e,onOpen:t,onClose:r,showOverlay:n,modalPaymentText:o}){const a={backgroundColor:"transparent"};function s(){return i(p.ModalOverlay,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[l,u]=O.useState(i(s,{}));return O.useEffect(()=>{n&&u(i(s,{}))},[n]),m(p.Modal,{isCentered:!0,isOpen:e,onClose:r,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[l,m(p.ModalContent,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[m(p.ModalHeader,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[i(Xt,{w:"52",h:"45",viewBox:"0 0 45 52"}),o.title]}),i(p.ModalCloseButton,{size:"md",color:f("colors-main-blueGrey"),_hover:a,_focus:a,_active:a}),i(p.ModalBody,{p:"1rem 2rem 2rem 2rem",children:i(p.Text,{align:"center",children:o.body})}),i(p.ModalFooter,{justifyContent:"center",borderTop:"1px solid",borderTopColor:f("colors-neutral-platinum"),p:"1rem",children:i(p.Button,{onClick:r,color:f("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:a,_focus:a,_active:a,children:o.buttonName})})]})]})}p.Modal.displayName="Modal";function zr({modalPaymentText:e}){const{action:t,Profile:r,hasFinanzeFreezed:n}=O.useContext(mt),{isOpen:o,onOpen:a,onClose:s}=p.useDisclosure(),[l,u]=O.useState(!1),d={backgroundColor:"transparent"},h=()=>{u(!0),a()};return t==null?null:m(p.Center,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:f("colors-neutral-platinum"),children:[ht(t.enabled,r==null?void 0:r.id)?m(te,{children:[n&&e?i(p.Box,{color:f("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",p:"0",zIndex:"inherit !important",_hover:d,_focus:d,_active:d,onClick:()=>h(),fontSize:"1rem !important",children:t.text}):i(p.Text,{color:f("colors-main-deepSkyBlue"),fontWeight:"500",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:t.text}),t.hasIcon&&i(Yt,{color:f("colors-main-deepSkyBlue")})]}):i(p.Text,{fontWeight:"500",lineHeight:"1.172rem",color:f("colors-neutral-spanishGrey"),m:"0",children:t.text}),e&&i(ba,{isOpen:o,onClose:s,showOverlay:l,onOpen:a,modalPaymentText:e})]})}zr.displayName="Footer";function Ea(){N.useEffect(()=>{const e=t=>{var r,n;if(t.key==="Enter"){const o=document.activeElement,a=o==null?void 0:o.getAttribute("role"),s=o==null?void 0:o.getAttribute("data-href"),l=((r=o==null?void 0:o.classList)==null?void 0:r.contains("chakra-linkbox"))||((n=o==null?void 0:o.classList)==null?void 0:n.contains("focusable-link"));a==="link"&&s!=null&&l&&(window.location.href=s)}};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[])}const mt=O.createContext({});function ka({enabled:e,children:t}){return e?i(Ie,{children:t}):i(te,{children:t})}function ki({data:e,modalPaymentText:t}){var a,s,l,u,d,h,C;const r=ht((s=(a=e.action)==null?void 0:a.enabled)!=null?s:!1,(l=e.Profile)==null?void 0:l.id),n=!!((u=e.action)!=null&&u.href);Ea();const o={boxShadow:`0 2px 7px 0 ${f("colors-neutral-silverSand")}`};return i(mt.Provider,{value:e,children:i(p.LinkBox,{as:"article",className:"focusable-link",border:f("borders-light"),borderRadius:f("radii-big"),cursor:r?"pointer":"default",transition:"box-shadow .3s",overflow:"hidden",_hover:o,_focusVisible:{boxShadow:`0 0 0 3px ${f("colors-alert-deepSkyBlue")} inset`},tabIndex:0,role:n?"link":void 0,"data-href":n?(d=e.action)==null?void 0:d.href:void 0,children:i(ka,{enabled:r,children:m(p.Flex,{direction:"column",justify:"space-between",h:"100%",children:[m(p.Box,{className:"CourseList-TraditionalBox",children:[r&&n&&i(p.LinkOverlay,{className:"course-link-overlay",bg:"gray",href:(h=e.action)==null?void 0:h.href,isExternal:(C=e.action)==null?void 0:C.targetBlank,tabIndex:-1}),i(Fr,{}),i(Vr,{})]}),i(zr,{modalPaymentText:t})]})})})})}ki.displayName="BoxTraditional";function _a({enabled:e,children:t}){return e?i(Ie,{children:t}):i(te,{children:t})}function _i({backgroundImg:e,title:t,data:r,size:n="large",m:o}){var s,l,u,d,h,C,b,k,y;const a={large:"286px",small:"197px"};return i(_a,{enabled:ht((l=(s=r==null?void 0:r.action)==null?void 0:s.enabled)!=null?l:!1,(u=r==null?void 0:r.Profile)==null?void 0:u.id),children:m(p.LinkBox,{className:"CourseList-ImageBox",_focusVisible:{boxShadow:`0 0 0 3px ${f("colors-alert-deepSkyBlue")} inset`},tabIndex:0,sx:{backgroundImage:`linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${e})`,color:f("colors-neutral-white"),cursor:"pointer",height:a[n],backgroundSize:"cover",backgroundPosition:"center",borderRadius:"10px",padding:"16px",display:"flex",font:"Roboto",flexDirection:"column",margin:o,justifyContent:"end",textAlign:"left",a:{"&:active":{boxShadow:"none"}}},children:[!(r!=null&&r.hasFinanzeFreezed)&&ht((h=(d=r==null?void 0:r.action)==null?void 0:d.enabled)!=null?h:!1,(C=r==null?void 0:r.Profile)==null?void 0:C.id)&&i(p.LinkOverlay,{href:(b=r==null?void 0:r.action)==null?void 0:b.href,isExternal:(k=r==null?void 0:r.action)==null?void 0:k.targetBlank,tabIndex:-1}),m(p.Box,{className:"textBox",bottom:"20px",display:"flex",flexDirection:"column",gap:"8px",children:[i(p.Box,{as:"h2",className:"courseName",fontWeight:"700",fontSize:"16px",lineHeight:"21px",marginBlockEnd:"0",margin:"0",children:t}),(y=r==null?void 0:r.information)==null?void 0:y.map((w,_)=>w.icon==="certificate"&&i(p.Box,{as:"p",className:"certificateText",fontSize:"14px",fontWeight:"400",lineHeight:"12px",margin:"0",children:w.text},_))]})]})})}_i.displayName="BoxImage";const Ma=({type:e="TRADITIONAL",data:t,modalPaymentText:r})=>{var s,l;const n={data:t,modalPaymentText:r},o={data:t,backgroundImg:(s=t.background)!=null?s:"",title:(l=t.name)!=null?l:""};return{TRADITIONAL:i(ki,{...n}),TRADITIONAL_LANDSCAPE:i(ki,{...n}),IMAGE_LARGE:i(_i,{...o}),IMAGE_SMALL:i(_i,{...o,size:"small"})}[e]},Wr=1.25,Zr=17.8125;function jr({courses:e,modalPaymentText:t,m:r="0 auto",typeBox:n="TRADITIONAL"}){return e===void 0?null:i(p.Box,{className:"courseListBox",display:"grid",gridColumnGap:`${Wr}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${Zr}rem, 1fr))`,m:r,w:"100%",children:e==null?void 0:e.map(o=>i(Ma,{data:o,type:n,modalPaymentText:t},o.id))})}jr.displayName="CourseList";/*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */const{entries:Ur,setPrototypeOf:Gr,isFrozen:Ta,getPrototypeOf:Sa,getOwnPropertyDescriptor:La}=Object;let{freeze:Y,seal:ae,create:Mi}=Object,{apply:Ti,construct:Si}=typeof Reflect!="undefined"&&Reflect;Y||(Y=function(t){return t}),ae||(ae=function(t){return t}),Ti||(Ti=function(t,r){for(var n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];return t.apply(r,o)}),Si||(Si=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return new t(...n)});const gt=J(Array.prototype.forEach),Aa=J(Array.prototype.lastIndexOf),$r=J(Array.prototype.pop),Ge=J(Array.prototype.push),Ha=J(Array.prototype.splice),Ct=J(String.prototype.toLowerCase),Li=J(String.prototype.toString),Ai=J(String.prototype.match),$e=J(String.prototype.replace),Ra=J(String.prototype.indexOf),Ia=J(String.prototype.trim),se=J(Object.prototype.hasOwnProperty),K=J(RegExp.prototype.test),qe=Oa(TypeError);function J(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return Ti(e,t,n)}}function Oa(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Si(e,r)}}function T(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ct;Gr&&Gr(e,null);let n=t.length;for(;n--;){let o=t[n];if(typeof o=="string"){const a=r(o);a!==o&&(Ta(t)||(t[n]=a),o=a)}e[o]=!0}return e}function Fa(e){for(let t=0;t<e.length;t++)se(e,t)||(e[t]=null);return e}function de(e){const t=Mi(null);for(const[r,n]of Ur(e))se(e,r)&&(Array.isArray(n)?t[r]=Fa(n):n&&typeof n=="object"&&n.constructor===Object?t[r]=de(n):t[r]=n);return t}function Xe(e,t){for(;e!==null;){const n=La(e,t);if(n){if(n.get)return J(n.get);if(typeof n.value=="function")return J(n.value)}e=Sa(e)}function r(){return null}return r}const qr=Y(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Hi=Y(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ri=Y(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Na=Y(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ii=Y(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Da=Y(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Xr=Y(["#text"]),Yr=Y(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Oi=Y(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Kr=Y(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),xt=Y(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Va=ae(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Ba=ae(/<%[\w\W]*|[\w\W]*%>/gm),Pa=ae(/\$\{[\w\W]*/gm),za=ae(/^data-[\-\w.\u00B7-\uFFFF]+$/),Wa=ae(/^aria-[\-\w]+$/),Jr=ae(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Za=ae(/^(?:\w+script|data):/i),ja=ae(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Qr=ae(/^html$/i),Ua=ae(/^[a-z][.\w]*(-[.\w]+)+$/i);var en=Object.freeze({__proto__:null,ARIA_ATTR:Wa,ATTR_WHITESPACE:ja,CUSTOM_ELEMENT:Ua,DATA_ATTR:za,DOCTYPE_NAME:Qr,ERB_EXPR:Ba,IS_ALLOWED_URI:Jr,IS_SCRIPT_OR_DATA:Za,MUSTACHE_EXPR:Va,TMPLIT_EXPR:Pa});const Ye={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Ga=function(){return typeof window=="undefined"?null:window},$a=function(t,r){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let n=null;const o="data-tt-policy-suffix";r&&r.hasAttribute(o)&&(n=r.getAttribute(o));const a="dompurify"+(n?"#"+n:"");try{return t.createPolicy(a,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}},tn=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function rn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ga();const t=E=>rn(E);if(t.version="3.3.1",t.removed=[],!e||!e.document||e.document.nodeType!==Ye.document||!e.Element)return t.isSupported=!1,t;let{document:r}=e;const n=r,o=n.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:u,NodeFilter:d,NamedNodeMap:h=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:C,DOMParser:b,trustedTypes:k}=e,y=u.prototype,w=Xe(y,"cloneNode"),_=Xe(y,"remove"),A=Xe(y,"nextSibling"),W=Xe(y,"childNodes"),R=Xe(y,"parentNode");if(typeof s=="function"){const E=r.createElement("template");E.content&&E.content.ownerDocument&&(r=E.content.ownerDocument)}let H,V="";const{implementation:ee,createNodeIterator:oe,createDocumentFragment:Ce,getElementsByTagName:xe}=r,{importNode:q}=n;let I=tn();t.isSupported=typeof Ur=="function"&&typeof R=="function"&&ee&&ee.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:le,ERB_EXPR:ue,TMPLIT_EXPR:rt,DATA_ATTR:Jl,ARIA_ATTR:Ql,IS_SCRIPT_OR_DATA:es,ATTR_WHITESPACE:ho,CUSTOM_ELEMENT:ts}=en;let{IS_ALLOWED_URI:mo}=en,j=null;const go=T({},[...qr,...Hi,...Ri,...Ii,...Xr]);let G=null;const Co=T({},[...Yr,...Oi,...Kr,...xt]);let B=Object.seal(Mi(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),nt=null,ar=null;const Ne=Object.seal(Mi(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let xo=!0,lr=!0,yo=!1,wo=!0,De=!1,Pt=!0,Ae=!1,sr=!1,cr=!1,Ve=!1,zt=!1,Wt=!1,vo=!0,bo=!1;const is="user-content-";let dr=!0,ot=!1,Be={},pe=null;const ur=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Eo=null;const ko=T({},["audio","video","img","source","image","track"]);let pr=null;const _o=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Zt="http://www.w3.org/1998/Math/MathML",jt="http://www.w3.org/2000/svg",ye="http://www.w3.org/1999/xhtml";let Pe=ye,fr=!1,hr=null;const rs=T({},[Zt,jt,ye],Li);let Ut=T({},["mi","mo","mn","ms","mtext"]),Gt=T({},["annotation-xml"]);const ns=T({},["title","style","font","a","script"]);let at=null;const os=["application/xhtml+xml","text/html"],as="text/html";let Z=null,ze=null;const ls=r.createElement("form"),Mo=function(c){return c instanceof RegExp||c instanceof Function},mr=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ze&&ze===c)){if((!c||typeof c!="object")&&(c={}),c=de(c),at=os.indexOf(c.PARSER_MEDIA_TYPE)===-1?as:c.PARSER_MEDIA_TYPE,Z=at==="application/xhtml+xml"?Li:Ct,j=se(c,"ALLOWED_TAGS")?T({},c.ALLOWED_TAGS,Z):go,G=se(c,"ALLOWED_ATTR")?T({},c.ALLOWED_ATTR,Z):Co,hr=se(c,"ALLOWED_NAMESPACES")?T({},c.ALLOWED_NAMESPACES,Li):rs,pr=se(c,"ADD_URI_SAFE_ATTR")?T(de(_o),c.ADD_URI_SAFE_ATTR,Z):_o,Eo=se(c,"ADD_DATA_URI_TAGS")?T(de(ko),c.ADD_DATA_URI_TAGS,Z):ko,pe=se(c,"FORBID_CONTENTS")?T({},c.FORBID_CONTENTS,Z):ur,nt=se(c,"FORBID_TAGS")?T({},c.FORBID_TAGS,Z):de({}),ar=se(c,"FORBID_ATTR")?T({},c.FORBID_ATTR,Z):de({}),Be=se(c,"USE_PROFILES")?c.USE_PROFILES:!1,xo=c.ALLOW_ARIA_ATTR!==!1,lr=c.ALLOW_DATA_ATTR!==!1,yo=c.ALLOW_UNKNOWN_PROTOCOLS||!1,wo=c.ALLOW_SELF_CLOSE_IN_ATTR!==!1,De=c.SAFE_FOR_TEMPLATES||!1,Pt=c.SAFE_FOR_XML!==!1,Ae=c.WHOLE_DOCUMENT||!1,Ve=c.RETURN_DOM||!1,zt=c.RETURN_DOM_FRAGMENT||!1,Wt=c.RETURN_TRUSTED_TYPE||!1,cr=c.FORCE_BODY||!1,vo=c.SANITIZE_DOM!==!1,bo=c.SANITIZE_NAMED_PROPS||!1,dr=c.KEEP_CONTENT!==!1,ot=c.IN_PLACE||!1,mo=c.ALLOWED_URI_REGEXP||Jr,Pe=c.NAMESPACE||ye,Ut=c.MATHML_TEXT_INTEGRATION_POINTS||Ut,Gt=c.HTML_INTEGRATION_POINTS||Gt,B=c.CUSTOM_ELEMENT_HANDLING||{},c.CUSTOM_ELEMENT_HANDLING&&Mo(c.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(B.tagNameCheck=c.CUSTOM_ELEMENT_HANDLING.tagNameCheck),c.CUSTOM_ELEMENT_HANDLING&&Mo(c.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(B.attributeNameCheck=c.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),c.CUSTOM_ELEMENT_HANDLING&&typeof c.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(B.allowCustomizedBuiltInElements=c.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),De&&(lr=!1),zt&&(Ve=!0),Be&&(j=T({},Xr),G=[],Be.html===!0&&(T(j,qr),T(G,Yr)),Be.svg===!0&&(T(j,Hi),T(G,Oi),T(G,xt)),Be.svgFilters===!0&&(T(j,Ri),T(G,Oi),T(G,xt)),Be.mathMl===!0&&(T(j,Ii),T(G,Kr),T(G,xt))),c.ADD_TAGS&&(typeof c.ADD_TAGS=="function"?Ne.tagCheck=c.ADD_TAGS:(j===go&&(j=de(j)),T(j,c.ADD_TAGS,Z))),c.ADD_ATTR&&(typeof c.ADD_ATTR=="function"?Ne.attributeCheck=c.ADD_ATTR:(G===Co&&(G=de(G)),T(G,c.ADD_ATTR,Z))),c.ADD_URI_SAFE_ATTR&&T(pr,c.ADD_URI_SAFE_ATTR,Z),c.FORBID_CONTENTS&&(pe===ur&&(pe=de(pe)),T(pe,c.FORBID_CONTENTS,Z)),c.ADD_FORBID_CONTENTS&&(pe===ur&&(pe=de(pe)),T(pe,c.ADD_FORBID_CONTENTS,Z)),dr&&(j["#text"]=!0),Ae&&T(j,["html","head","body"]),j.table&&(T(j,["tbody"]),delete nt.tbody),c.TRUSTED_TYPES_POLICY){if(typeof c.TRUSTED_TYPES_POLICY.createHTML!="function")throw qe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof c.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw qe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');H=c.TRUSTED_TYPES_POLICY,V=H.createHTML("")}else H===void 0&&(H=$a(k,o)),H!==null&&typeof V=="string"&&(V=H.createHTML(""));Y&&Y(c),ze=c}},To=T({},[...Hi,...Ri,...Na]),So=T({},[...Ii,...Da]),ss=function(c){let x=R(c);(!x||!x.tagName)&&(x={namespaceURI:Pe,tagName:"template"});const v=Ct(c.tagName),F=Ct(x.tagName);return hr[c.namespaceURI]?c.namespaceURI===jt?x.namespaceURI===ye?v==="svg":x.namespaceURI===Zt?v==="svg"&&(F==="annotation-xml"||Ut[F]):Boolean(To[v]):c.namespaceURI===Zt?x.namespaceURI===ye?v==="math":x.namespaceURI===jt?v==="math"&&Gt[F]:Boolean(So[v]):c.namespaceURI===ye?x.namespaceURI===jt&&!Gt[F]||x.namespaceURI===Zt&&!Ut[F]?!1:!So[v]&&(ns[v]||!To[v]):!!(at==="application/xhtml+xml"&&hr[c.namespaceURI]):!1},fe=function(c){Ge(t.removed,{element:c});try{R(c).removeChild(c)}catch{_(c)}},He=function(c,x){try{Ge(t.removed,{attribute:x.getAttributeNode(c),from:x})}catch{Ge(t.removed,{attribute:null,from:x})}if(x.removeAttribute(c),c==="is")if(Ve||zt)try{fe(x)}catch{}else try{x.setAttribute(c,"")}catch{}},Lo=function(c){let x=null,v=null;if(cr)c="<remove></remove>"+c;else{const z=Ai(c,/^[\r\n\t ]+/);v=z&&z[0]}at==="application/xhtml+xml"&&Pe===ye&&(c='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+c+"</body></html>");const F=H?H.createHTML(c):c;if(Pe===ye)try{x=new b().parseFromString(F,at)}catch{}if(!x||!x.documentElement){x=ee.createDocument(Pe,"template",null);try{x.documentElement.innerHTML=fr?V:F}catch{}}const X=x.body||x.documentElement;return c&&v&&X.insertBefore(r.createTextNode(v),X.childNodes[0]||null),Pe===ye?xe.call(x,Ae?"html":"body")[0]:Ae?x.documentElement:X},Ao=function(c){return oe.call(c.ownerDocument||c,c,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},gr=function(c){return c instanceof C&&(typeof c.nodeName!="string"||typeof c.textContent!="string"||typeof c.removeChild!="function"||!(c.attributes instanceof h)||typeof c.removeAttribute!="function"||typeof c.setAttribute!="function"||typeof c.namespaceURI!="string"||typeof c.insertBefore!="function"||typeof c.hasChildNodes!="function")},Ho=function(c){return typeof l=="function"&&c instanceof l};function we(E,c,x){gt(E,v=>{v.call(t,c,x,ze)})}const Ro=function(c){let x=null;if(we(I.beforeSanitizeElements,c,null),gr(c))return fe(c),!0;const v=Z(c.nodeName);if(we(I.uponSanitizeElement,c,{tagName:v,allowedTags:j}),Pt&&c.hasChildNodes()&&!Ho(c.firstElementChild)&&K(/<[/\w!]/g,c.innerHTML)&&K(/<[/\w!]/g,c.textContent)||c.nodeType===Ye.progressingInstruction||Pt&&c.nodeType===Ye.comment&&K(/<[/\w]/g,c.data))return fe(c),!0;if(!(Ne.tagCheck instanceof Function&&Ne.tagCheck(v))&&(!j[v]||nt[v])){if(!nt[v]&&Oo(v)&&(B.tagNameCheck instanceof RegExp&&K(B.tagNameCheck,v)||B.tagNameCheck instanceof Function&&B.tagNameCheck(v)))return!1;if(dr&&!pe[v]){const F=R(c)||c.parentNode,X=W(c)||c.childNodes;if(X&&F){const z=X.length;for(let ne=z-1;ne>=0;--ne){const ve=w(X[ne],!0);ve.__removalCount=(c.__removalCount||0)+1,F.insertBefore(ve,A(c))}}}return fe(c),!0}return c instanceof u&&!ss(c)||(v==="noscript"||v==="noembed"||v==="noframes")&&K(/<\/no(script|embed|frames)/i,c.innerHTML)?(fe(c),!0):(De&&c.nodeType===Ye.text&&(x=c.textContent,gt([le,ue,rt],F=>{x=$e(x,F," ")}),c.textContent!==x&&(Ge(t.removed,{element:c.cloneNode()}),c.textContent=x)),we(I.afterSanitizeElements,c,null),!1)},Io=function(c,x,v){if(vo&&(x==="id"||x==="name")&&(v in r||v in ls))return!1;if(!(lr&&!ar[x]&&K(Jl,x))){if(!(xo&&K(Ql,x))){if(!(Ne.attributeCheck instanceof Function&&Ne.attributeCheck(x,c))){if(!G[x]||ar[x]){if(!(Oo(c)&&(B.tagNameCheck instanceof RegExp&&K(B.tagNameCheck,c)||B.tagNameCheck instanceof Function&&B.tagNameCheck(c))&&(B.attributeNameCheck instanceof RegExp&&K(B.attributeNameCheck,x)||B.attributeNameCheck instanceof Function&&B.attributeNameCheck(x,c))||x==="is"&&B.allowCustomizedBuiltInElements&&(B.tagNameCheck instanceof RegExp&&K(B.tagNameCheck,v)||B.tagNameCheck instanceof Function&&B.tagNameCheck(v))))return!1}else if(!pr[x]){if(!K(mo,$e(v,ho,""))){if(!((x==="src"||x==="xlink:href"||x==="href")&&c!=="script"&&Ra(v,"data:")===0&&Eo[c])){if(!(yo&&!K(es,$e(v,ho,"")))){if(v)return!1}}}}}}}return!0},Oo=function(c){return c!=="annotation-xml"&&Ai(c,ts)},Fo=function(c){we(I.beforeSanitizeAttributes,c,null);const{attributes:x}=c;if(!x||gr(c))return;const v={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:G,forceKeepAttr:void 0};let F=x.length;for(;F--;){const X=x[F],{name:z,namespaceURI:ne,value:ve}=X,We=Z(z),Cr=ve;let $=z==="value"?Cr:Ia(Cr);if(v.attrName=We,v.attrValue=$,v.keepAttr=!0,v.forceKeepAttr=void 0,we(I.uponSanitizeAttribute,c,v),$=v.attrValue,bo&&(We==="id"||We==="name")&&(He(z,c),$=is+$),Pt&&K(/((--!?|])>)|<\/(style|title|textarea)/i,$)){He(z,c);continue}if(We==="attributename"&&Ai($,"href")){He(z,c);continue}if(v.forceKeepAttr)continue;if(!v.keepAttr){He(z,c);continue}if(!wo&&K(/\/>/i,$)){He(z,c);continue}De&>([le,ue,rt],Do=>{$=$e($,Do," ")});const No=Z(c.nodeName);if(!Io(No,We,$)){He(z,c);continue}if(H&&typeof k=="object"&&typeof k.getAttributeType=="function"&&!ne)switch(k.getAttributeType(No,We)){case"TrustedHTML":{$=H.createHTML($);break}case"TrustedScriptURL":{$=H.createScriptURL($);break}}if($!==Cr)try{ne?c.setAttributeNS(ne,z,$):c.setAttribute(z,$),gr(c)?fe(c):$r(t.removed)}catch{He(z,c)}}we(I.afterSanitizeAttributes,c,null)},cs=function E(c){let x=null;const v=Ao(c);for(we(I.beforeSanitizeShadowDOM,c,null);x=v.nextNode();)we(I.uponSanitizeShadowNode,x,null),Ro(x),Fo(x),x.content instanceof a&&E(x.content);we(I.afterSanitizeShadowDOM,c,null)};return t.sanitize=function(E){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},x=null,v=null,F=null,X=null;if(fr=!E,fr&&(E="<!-->"),typeof E!="string"&&!Ho(E))if(typeof E.toString=="function"){if(E=E.toString(),typeof E!="string")throw qe("dirty is not a string, aborting")}else throw qe("toString is not a function");if(!t.isSupported)return E;if(sr||mr(c),t.removed=[],typeof E=="string"&&(ot=!1),ot){if(E.nodeName){const ve=Z(E.nodeName);if(!j[ve]||nt[ve])throw qe("root node is forbidden and cannot be sanitized in-place")}}else if(E instanceof l)x=Lo("<!---->"),v=x.ownerDocument.importNode(E,!0),v.nodeType===Ye.element&&v.nodeName==="BODY"||v.nodeName==="HTML"?x=v:x.appendChild(v);else{if(!Ve&&!De&&!Ae&&E.indexOf("<")===-1)return H&&Wt?H.createHTML(E):E;if(x=Lo(E),!x)return Ve?null:Wt?V:""}x&&cr&&fe(x.firstChild);const z=Ao(ot?E:x);for(;F=z.nextNode();)Ro(F),Fo(F),F.content instanceof a&&cs(F.content);if(ot)return E;if(Ve){if(zt)for(X=Ce.call(x.ownerDocument);x.firstChild;)X.appendChild(x.firstChild);else X=x;return(G.shadowroot||G.shadowrootmode)&&(X=q.call(n,X,!0)),X}let ne=Ae?x.outerHTML:x.innerHTML;return Ae&&j["!doctype"]&&x.ownerDocument&&x.ownerDocument.doctype&&x.ownerDocument.doctype.name&&K(Qr,x.ownerDocument.doctype.name)&&(ne="<!DOCTYPE "+x.ownerDocument.doctype.name+`>
|
|
13
13
|
`+ne),De&>([le,ue,rt],ve=>{ne=$e(ne,ve," ")}),H&&Wt?H.createHTML(ne):ne},t.setConfig=function(){let E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};mr(E),sr=!0},t.clearConfig=function(){ze=null,sr=!1},t.isValidAttribute=function(E,c,x){ze||mr({});const v=Z(E),F=Z(c);return Io(v,F,x)},t.addHook=function(E,c){typeof c=="function"&&Ge(I[E],c)},t.removeHook=function(E,c){if(c!==void 0){const x=Aa(I[E],c);return x===-1?void 0:Ha(I[E],x,1)[0]}return $r(I[E])},t.removeHooks=function(E){I[E]=[]},t.removeAllHooks=function(){I=tn()},t}var nn=rn(),on={},Fi={},Ni={},Te={},Di={},Vi={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(function(n){n.Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype"})(t=e.ElementType||(e.ElementType={}));function r(n){return n.type===t.Tag||n.type===t.Script||n.type===t.Style}e.isTag=r,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype})(Vi);var S={},be=P&&P.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(n[a]=o[a])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ke=P&&P.__assign||function(){return Ke=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Ke.apply(this,arguments)};Object.defineProperty(S,"__esModule",{value:!0}),S.cloneNode=S.hasChildren=S.isDocument=S.isDirective=S.isComment=S.isText=S.isCDATA=S.isTag=S.Element=S.Document=S.CDATA=S.NodeWithChildren=S.ProcessingInstruction=S.Comment=S.Text=S.DataNode=S.Node=void 0;var ie=Vi,Bi=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(t){return t===void 0&&(t=!1),Pi(this,t)},e}();S.Node=Bi;var yt=function(e){be(t,e);function t(r){var n=e.call(this)||this;return n.data=r,n}return Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(r){this.data=r},enumerable:!1,configurable:!0}),t}(Bi);S.DataNode=yt;var an=function(e){be(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=ie.ElementType.Text,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(yt);S.Text=an;var ln=function(e){be(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=ie.ElementType.Comment,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(yt);S.Comment=ln;var sn=function(e){be(t,e);function t(r,n){var o=e.call(this,n)||this;return o.name=r,o.type=ie.ElementType.Directive,o}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(yt);S.ProcessingInstruction=sn;var wt=function(e){be(t,e);function t(r){var n=e.call(this)||this;return n.children=r,n}return Object.defineProperty(t.prototype,"firstChild",{get:function(){var r;return(r=this.children[0])!==null&&r!==void 0?r:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(r){this.children=r},enumerable:!1,configurable:!0}),t}(Bi);S.NodeWithChildren=wt;var cn=function(e){be(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=ie.ElementType.CDATA,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(wt);S.CDATA=cn;var dn=function(e){be(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=ie.ElementType.Root,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(wt);S.Document=dn;var un=function(e){be(t,e);function t(r,n,o,a){o===void 0&&(o=[]),a===void 0&&(a=r==="script"?ie.ElementType.Script:r==="style"?ie.ElementType.Style:ie.ElementType.Tag);var s=e.call(this,o)||this;return s.name=r,s.attribs=n,s.type=a,s}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(r){this.name=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var r=this;return Object.keys(this.attribs).map(function(n){var o,a;return{name:n,value:r.attribs[n],namespace:(o=r["x-attribsNamespace"])===null||o===void 0?void 0:o[n],prefix:(a=r["x-attribsPrefix"])===null||a===void 0?void 0:a[n]}})},enumerable:!1,configurable:!0}),t}(wt);S.Element=un;function pn(e){return(0,ie.isTag)(e)}S.isTag=pn;function fn(e){return e.type===ie.ElementType.CDATA}S.isCDATA=fn;function hn(e){return e.type===ie.ElementType.Text}S.isText=hn;function mn(e){return e.type===ie.ElementType.Comment}S.isComment=mn;function gn(e){return e.type===ie.ElementType.Directive}S.isDirective=gn;function Cn(e){return e.type===ie.ElementType.Root}S.isDocument=Cn;function qa(e){return Object.prototype.hasOwnProperty.call(e,"children")}S.hasChildren=qa;function Pi(e,t){t===void 0&&(t=!1);var r;if(hn(e))r=new an(e.data);else if(mn(e))r=new ln(e.data);else if(pn(e)){var n=t?zi(e.children):[],o=new un(e.name,Ke({},e.attribs),n);n.forEach(function(u){return u.parent=o}),e.namespace!=null&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=Ke({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=Ke({},e["x-attribsPrefix"])),r=o}else if(fn(e)){var n=t?zi(e.children):[],a=new cn(n);n.forEach(function(d){return d.parent=a}),r=a}else if(Cn(e)){var n=t?zi(e.children):[],s=new dn(n);n.forEach(function(d){return d.parent=s}),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),r=s}else if(gn(e)){var l=new sn(e.name,e.data);e["x-name"]!=null&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),r=l}else throw new Error("Not implemented yet: ".concat(e.type));return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}S.cloneNode=Pi;function zi(e){for(var t=e.map(function(n){return Pi(n,!0)}),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}(function(e){var t=P&&P.__createBinding||(Object.create?function(l,u,d,h){h===void 0&&(h=d);var C=Object.getOwnPropertyDescriptor(u,d);(!C||("get"in C?!u.__esModule:C.writable||C.configurable))&&(C={enumerable:!0,get:function(){return u[d]}}),Object.defineProperty(l,h,C)}:function(l,u,d,h){h===void 0&&(h=d),l[h]=u[d]}),r=P&&P.__exportStar||function(l,u){for(var d in l)d!=="default"&&!Object.prototype.hasOwnProperty.call(u,d)&&t(u,l,d)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var n=Vi,o=S;r(S,e);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},s=function(){function l(u,d,h){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof d=="function"&&(h=d,d=a),typeof u=="object"&&(d=u,u=void 0),this.callback=u!=null?u:null,this.options=d!=null?d:a,this.elementCB=h!=null?h:null}return l.prototype.onparserinit=function(u){this.parser=u},l.prototype.onreset=function(){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},l.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},l.prototype.onerror=function(u){this.handleCallback(u)},l.prototype.onclosetag=function(){this.lastNode=null;var u=this.tagStack.pop();this.options.withEndIndices&&(u.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(u)},l.prototype.onopentag=function(u,d){var h=this.options.xmlMode?n.ElementType.Tag:void 0,C=new o.Element(u,d,void 0,h);this.addNode(C),this.tagStack.push(C)},l.prototype.ontext=function(u){var d=this.lastNode;if(d&&d.type===n.ElementType.Text)d.data+=u,this.options.withEndIndices&&(d.endIndex=this.parser.endIndex);else{var h=new o.Text(u);this.addNode(h),this.lastNode=h}},l.prototype.oncomment=function(u){if(this.lastNode&&this.lastNode.type===n.ElementType.Comment){this.lastNode.data+=u;return}var d=new o.Comment(u);this.addNode(d),this.lastNode=d},l.prototype.oncommentend=function(){this.lastNode=null},l.prototype.oncdatastart=function(){var u=new o.Text(""),d=new o.CDATA([u]);this.addNode(d),u.parent=d,this.lastNode=u},l.prototype.oncdataend=function(){this.lastNode=null},l.prototype.onprocessinginstruction=function(u,d){var h=new o.ProcessingInstruction(u,d);this.addNode(h)},l.prototype.handleCallback=function(u){if(typeof this.callback=="function")this.callback(u,this.dom);else if(u)throw u},l.prototype.addNode=function(u){var d=this.tagStack[this.tagStack.length-1],h=d.children[d.children.length-1];this.options.withStartIndices&&(u.startIndex=this.parser.startIndex),this.options.withEndIndices&&(u.endIndex=this.parser.endIndex),d.children.push(u),h&&(u.prev=h,h.next=u),u.parent=d,this.lastNode=null},l}();e.DomHandler=s,e.default=s})(Di);var xn={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CARRIAGE_RETURN_PLACEHOLDER_REGEX=e.CARRIAGE_RETURN_PLACEHOLDER=e.CARRIAGE_RETURN_REGEX=e.CARRIAGE_RETURN=e.CASE_SENSITIVE_TAG_NAMES_MAP=e.CASE_SENSITIVE_TAG_NAMES=void 0,e.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],e.CASE_SENSITIVE_TAG_NAMES_MAP=e.CASE_SENSITIVE_TAG_NAMES.reduce(function(t,r){return t[r.toLowerCase()]=r,t},{}),e.CARRIAGE_RETURN="\r",e.CARRIAGE_RETURN_REGEX=new RegExp(e.CARRIAGE_RETURN,"g"),e.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),e.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(e.CARRIAGE_RETURN_PLACEHOLDER,"g")})(xn),Object.defineProperty(Te,"__esModule",{value:!0}),Te.formatAttributes=yn,Te.escapeSpecialCharacters=Ka,Te.revertEscapedCharacters=wn,Te.formatDOM=vn;var vt=Di,Je=xn;function Xa(e){return Je.CASE_SENSITIVE_TAG_NAMES_MAP[e]}function yn(e){for(var t={},r=0,n=e.length;r<n;r++){var o=e[r];t[o.name]=o.value}return t}function Ya(e){e=e.toLowerCase();var t=Xa(e);return t||e}function Ka(e){return e.replace(Je.CARRIAGE_RETURN_REGEX,Je.CARRIAGE_RETURN_PLACEHOLDER)}function wn(e){return e.replace(Je.CARRIAGE_RETURN_PLACEHOLDER_REGEX,Je.CARRIAGE_RETURN)}function vn(e,t,r){t===void 0&&(t=null);for(var n=[],o,a=0,s=e.length;a<s;a++){var l=e[a];switch(l.nodeType){case 1:{var u=Ya(l.nodeName);o=new vt.Element(u,yn(l.attributes)),o.children=vn(u==="template"?l.content.childNodes:l.childNodes,o);break}case 3:o=new vt.Text(wn(l.nodeValue));break;case 8:o=new vt.Comment(l.nodeValue);break;default:continue}var d=n[a-1]||null;d&&(d.next=o),o.parent=t,o.prev=d,o.next=null,n.push(o)}return r&&(o=new vt.ProcessingInstruction(r.substring(0,r.indexOf(" ")).toLowerCase(),r),o.next=n[0]||null,o.parent=t,n.unshift(o),n[1]&&(n[1].prev=n[0])),n}Object.defineProperty(Ni,"__esModule",{value:!0}),Ni.default=i1;var Ja=Te,bn="html",En="head",bt="body",Qa=/<([a-zA-Z]+[0-9]?)/,kn=/<head[^]*>/i,_n=/<body[^]*>/i,Et=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},Wi=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},Mn=typeof window=="object"&&window.DOMParser;if(typeof Mn=="function"){var e1=new Mn,t1="text/html";Wi=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),e1.parseFromString(e,t1)},Et=Wi}if(typeof document=="object"&&document.implementation){var kt=document.implementation.createHTMLDocument();Et=function(e,t){if(t){var r=kt.documentElement.querySelector(t);return r&&(r.innerHTML=e),kt}return kt.documentElement.innerHTML=e,kt}}var _t=typeof document=="object"&&document.createElement("template"),Zi;_t&&_t.content&&(Zi=function(e){return _t.innerHTML=e,_t.content.childNodes});function i1(e){var t,r;e=(0,Ja.escapeSpecialCharacters)(e);var n=e.match(Qa),o=n&&n[1]?n[1].toLowerCase():"";switch(o){case bn:{var a=Wi(e);if(!kn.test(e)){var s=a.querySelector(En);(t=s==null?void 0:s.parentNode)===null||t===void 0||t.removeChild(s)}if(!_n.test(e)){var s=a.querySelector(bt);(r=s==null?void 0:s.parentNode)===null||r===void 0||r.removeChild(s)}return a.querySelectorAll(bn)}case En:case bt:{var l=Et(e).querySelectorAll(o);return _n.test(e)&&kn.test(e)?l[0].parentNode.childNodes:l}default:{if(Zi)return Zi(e);var s=Et(e,bt).querySelector(bt);return s.childNodes}}}var r1=P&&P.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Fi,"__esModule",{value:!0}),Fi.default=l1;var n1=r1(Ni),o1=Te,a1=/<(![a-zA-Z\s]+)>/;function l1(e){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(a1),r=t?t[1]:void 0;return(0,o1.formatDOM)((0,n1.default)(e),null,r)}var Mt={},ce={},Tt={},s1=0;Tt.SAME=s1;var c1=1;Tt.CAMELCASE=c1,Tt.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1};const Tn=0,Ee=1,St=2,Lt=3,ji=4,Sn=5,Ln=6;function d1(e){return U.hasOwnProperty(e)?U[e]:null}function Q(e,t,r,n,o,a,s){this.acceptsBooleans=t===St||t===Lt||t===ji,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=s}const U={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(e=>{U[e]=new Q(e,Tn,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{U[e]=new Q(e,Ee,!1,t,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(e=>{U[e]=new Q(e,St,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{U[e]=new Q(e,St,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{U[e]=new Q(e,Lt,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(e=>{U[e]=new Q(e,Lt,!0,e,null,!1,!1)}),["capture","download"].forEach(e=>{U[e]=new Q(e,ji,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(e=>{U[e]=new Q(e,Ln,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(e=>{U[e]=new Q(e,Sn,!1,e.toLowerCase(),null,!1,!1)});const Ui=/[\-\:]([a-z])/g,Gi=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(e=>{const t=e.replace(Ui,Gi);U[t]=new Q(t,Ee,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e=>{const t=e.replace(Ui,Gi);U[t]=new Q(t,Ee,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(e=>{const t=e.replace(Ui,Gi);U[t]=new Q(t,Ee,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(e=>{U[e]=new Q(e,Ee,!1,e.toLowerCase(),null,!1,!1)});const u1="xlinkHref";U[u1]=new Q("xlinkHref",Ee,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(e=>{U[e]=new Q(e,Ee,!1,e.toLowerCase(),null,!0,!0)});const{CAMELCASE:p1,SAME:f1,possibleStandardNames:An}=Tt,h1=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD"+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",m1=RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+h1+"]*$")),g1=Object.keys(An).reduce((e,t)=>{const r=An[t];return r===f1?e[t]=t:r===p1?e[t.toLowerCase()]=t:e[t]=r,e},{});ce.BOOLEAN=Lt,ce.BOOLEANISH_STRING=St,ce.NUMERIC=Sn,ce.OVERLOADED_BOOLEAN=ji,ce.POSITIVE_NUMERIC=Ln,ce.RESERVED=Tn,ce.STRING=Ee,ce.getPropertyInfo=d1,ce.isCustomAttribute=m1,ce.possibleStandardNames=g1;var $i={},qi={},Hn=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,C1=/\n/g,x1=/^\s*/,y1=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,w1=/^:\s*/,v1=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,b1=/^[;\s]*/,E1=/^\s+|\s+$/g,k1=`
|
|
14
14
|
`,Rn="/",In="*",Se="",_1="comment",M1="declaration";function T1(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,n=1;function o(y){var w=y.match(C1);w&&(r+=w.length);var _=y.lastIndexOf(k1);n=~_?y.length-_:n+y.length}function a(){var y={line:r,column:n};return function(w){return w.position=new s(y),d(),w}}function s(y){this.start=y,this.end={line:r,column:n},this.source=t.source}s.prototype.content=e;function l(y){var w=new Error(t.source+":"+r+":"+n+": "+y);if(w.reason=y,w.filename=t.source,w.line=r,w.column=n,w.source=e,!t.silent)throw w}function u(y){var w=y.exec(e);if(!!w){var _=w[0];return o(_),e=e.slice(_.length),w}}function d(){u(x1)}function h(y){var w;for(y=y||[];w=C();)w!==!1&&y.push(w);return y}function C(){var y=a();if(!(Rn!=e.charAt(0)||In!=e.charAt(1))){for(var w=2;Se!=e.charAt(w)&&(In!=e.charAt(w)||Rn!=e.charAt(w+1));)++w;if(w+=2,Se===e.charAt(w-1))return l("End of comment missing");var _=e.slice(2,w-2);return n+=2,o(_),e=e.slice(w),n+=2,y({type:_1,comment:_})}}function b(){var y=a(),w=u(y1);if(!!w){if(C(),!u(w1))return l("property missing ':'");var _=u(v1),A=y({type:M1,property:On(w[0].replace(Hn,Se)),value:_?On(_[0].replace(Hn,Se)):Se});return u(b1),A}}function k(){var y=[];h(y);for(var w;w=b();)w!==!1&&(y.push(w),h(y));return y}return d(),k()}function On(e){return e?e.replace(E1,Se):Se}var S1=T1,L1=P&&P.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(qi,"__esModule",{value:!0}),qi.default=H1;const A1=L1(S1);function H1(e,t){let r=null;if(!e||typeof e!="string")return r;const n=(0,A1.default)(e),o=typeof t=="function";return n.forEach(a=>{if(a.type!=="declaration")return;const{property:s,value:l}=a;o?t(s,l,a):l&&(r=r||{},r[s]=l)}),r}var At={};Object.defineProperty(At,"__esModule",{value:!0}),At.camelCase=void 0;var R1=/^--[a-zA-Z0-9_-]+$/,I1=/-([a-z])/g,O1=/^[^-]+$/,F1=/^-(webkit|moz|ms|o|khtml)-/,N1=/^-(ms)-/,D1=function(e){return!e||O1.test(e)||R1.test(e)},V1=function(e,t){return t.toUpperCase()},Fn=function(e,t){return"".concat(t,"-")},B1=function(e,t){return t===void 0&&(t={}),D1(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(N1,Fn):e=e.replace(F1,Fn),e.replace(I1,V1))};At.camelCase=B1;var P1=P&&P.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},z1=P1(qi),W1=At;function Xi(e,t){var r={};return!e||typeof e!="string"||(0,z1.default)(e,function(n,o){n&&o&&(r[(0,W1.camelCase)(n,t)]=o)}),r}Xi.default=Xi;var Z1=Xi;(function(e){var t=P&&P.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.returnFirstArg=e.canTextBeChildOfNode=e.ELEMENTS_WITH_NO_TEXT_CHILDREN=e.PRESERVE_CUSTOM_ATTRIBUTES=void 0,e.isCustomComponent=a,e.setStyleProp=l;var r=Me.default,n=t(Z1),o=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function a(h,C){return h.includes("-")?!o.has(h):Boolean(C&&typeof C.is=="string")}var s={reactCompat:!0};function l(h,C){if(typeof h=="string"){if(!h.trim()){C.style={};return}try{C.style=(0,n.default)(h,s)}catch{C.style={}}}}e.PRESERVE_CUSTOM_ATTRIBUTES=Number(r.version.split(".")[0])>=16,e.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var u=function(h){return!e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(h.name)};e.canTextBeChildOfNode=u;var d=function(h){return h};e.returnFirstArg=d})($i),Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.default=$1;var Qe=ce,Nn=$i,j1=["checked","value"],U1=["input","select","textarea"],G1={reset:!0,submit:!0};function $1(e,t){e===void 0&&(e={});var r={},n=Boolean(e.type&&G1[e.type]);for(var o in e){var a=e[o];if((0,Qe.isCustomAttribute)(o)){r[o]=a;continue}var s=o.toLowerCase(),l=Dn(s);if(l){var u=(0,Qe.getPropertyInfo)(l);switch(j1.includes(l)&&U1.includes(t)&&!n&&(l=Dn("default"+s)),r[l]=a,u&&u.type){case Qe.BOOLEAN:r[l]=!0;break;case Qe.OVERLOADED_BOOLEAN:a===""&&(r[l]=!0);break}continue}Nn.PRESERVE_CUSTOM_ATTRIBUTES&&(r[o]=a)}return(0,Nn.setStyleProp)(e.style,r),r}function Dn(e){return Qe.possibleStandardNames[e]}var Yi={},q1=P&&P.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Yi,"__esModule",{value:!0}),Yi.default=Vn;var Ki=Me.default,X1=q1(Mt),et=$i,Y1={cloneElement:Ki.cloneElement,createElement:Ki.createElement,isValidElement:Ki.isValidElement};function Vn(e,t){t===void 0&&(t={});for(var r=[],n=typeof t.replace=="function",o=t.transform||et.returnFirstArg,a=t.library||Y1,s=a.cloneElement,l=a.createElement,u=a.isValidElement,d=e.length,h=0;h<d;h++){var C=e[h];if(n){var b=t.replace(C,h);if(u(b)){d>1&&(b=s(b,{key:b.key||h})),r.push(o(b,C,h));continue}}if(C.type==="text"){var k=!C.data.trim().length;if(k&&C.parent&&!(0,et.canTextBeChildOfNode)(C.parent)||t.trim&&k)continue;r.push(o(C.data,C,h));continue}var y=C,w={};K1(y)?((0,et.setStyleProp)(y.attribs.style,y.attribs),w=y.attribs):y.attribs&&(w=(0,X1.default)(y.attribs,y.name));var _=void 0;switch(C.type){case"script":case"style":C.children[0]&&(w.dangerouslySetInnerHTML={__html:C.children[0].data});break;case"tag":C.name==="textarea"&&C.children[0]?w.defaultValue=C.children[0].data:C.children&&C.children.length&&(_=Vn(C.children,t));break;default:continue}d>1&&(w.key=h),r.push(o(l(C.name,w,_),C,h))}return r.length===1?r[0]:r}function K1(e){return et.PRESERVE_CUSTOM_ATTRIBUTES&&e.type==="tag"&&(0,et.isCustomComponent)(e.name,e.attribs)}(function(e){var t=P&&P.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(e,"__esModule",{value:!0}),e.htmlToDOM=e.domToReact=e.attributesToProps=e.Text=e.ProcessingInstruction=e.Element=e.Comment=void 0,e.default=l;var r=t(Fi);e.htmlToDOM=r.default;var n=t(Mt);e.attributesToProps=n.default;var o=t(Yi);e.domToReact=o.default;var a=Di;Object.defineProperty(e,"Comment",{enumerable:!0,get:function(){return a.Comment}}),Object.defineProperty(e,"Element",{enumerable:!0,get:function(){return a.Element}}),Object.defineProperty(e,"ProcessingInstruction",{enumerable:!0,get:function(){return a.ProcessingInstruction}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return a.Text}});var s={lowerCaseAttributeNames:!1};function l(u,d){if(typeof u!="string")throw new TypeError("First argument must be a string");return u?(0,o.default)((0,r.default)(u,(d==null?void 0:d.htmlparser2)||s),d):[]}})(on);var Bn=$o(on),Pn=Bn.default||Bn;const Ji={success:{icon:i(mi,{}),bg:f("colors-alert-ice"),id:"success"},error:{icon:i(fi,{}),bg:f("colors-alert-veryLightPinkThree"),id:"error"},info:{icon:i(hi,{}),bg:f("colors-alert-veryLightBlue"),id:"info"},warning:{icon:i(gi,{}),bg:f("colors-alert-pale"),id:"warning"}},zn={success:{icon:i(yi,{}),bg:f("colors-alert-ice"),id:"success"},error:{icon:i(Ci,{}),bg:f("colors-alert-veryLightPinkThree"),id:"error"},info:{icon:i(xi,{}),bg:f("colors-alert-veryLightBlue"),id:"info"},warning:{icon:i(wi,{}),bg:f("colors-alert-pale"),id:"warning"}};function Wn({children:e,canDismiss:t=!1,buttonText:r,buttonIcon:n,buttonLink:o=!1,fullWidth:a=!1,maxContent:s=!1,isFlash:l=!1,onClick:u,state:d,m:h,endTextLink:C,onClickLink:b,sx:k,width:y}){const[w]=p.useMediaQuery("(max-width: 425px)"),_=()=>{u==null||u()};let A;r&&(A=o?"link":"normal");const W=typeof e=="string"?Pn(nn.sanitize(e)):e;return m(p.Box,{className:l?"flashNotification":"e_alert",alignItems:w?"unset":"center",backgroundColor:Ji[d].bg,borderRadius:"8px",display:"flex",flexFlow:w?"column":"row",gap:l?void 0:"16px",justifyContent:w?void 0:"space-between",margin:h,mx:l?"auto":void 0,width:y!=null?y:s?"max-content":a?"100%":"fit-content",maxWidth:a||(y!=null?y:s)?"none":"796px",p:"1rem",pr:t?"1.75rem":"1rem",position:"relative",boxShadow:l?"0px 2px 8px 0px #5C5C5C33":"",sx:k,children:[m(p.Box,{display:"flex",gap:"10px",className:"alertContent",sx:{".linkButton":{fontSize:"16px"},a:{fontWeight:"500",color:f("colors-main-deepSkyBlue"),textDecoration:"underline"},"a:hover":{color:f("colors-neutral-darkCharcoal")}},children:[i(p.Box,{className:"iconContainer",sx:{svg:{width:"auto"}},children:Ji[d].icon}),m(p.Box,{display:"flex",alignItems:"center",children:[m(p.Box,{alignSelf:"center",as:"p",color:f("colors-neutral-darkCharcoal"),fontFamily:"Roboto",fontSize:"16px",fontWeight:"400",lineHeight:"28px",mb:"0",children:[W,C&&b&&i(Oe,{onClick:b,children:C})]}),A==="link"&&i(Oe,{onClick:_,children:r})]})]}),A==="normal"&&i(ft,{isFullWidth:!!w,leftIcon:n,onClick:_,children:r}),t&&i(p.Box,{"data-testid":"closeButton",cursor:"pointer",marginLeft:"12px",sx:{svg:{position:"absolute",top:"16px",right:"12px"}},onClick:u,children:i(vi,{})})]})}let J1={data:""},Q1=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||J1,e2=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,t2=/\/\*[^]*?\*\/| +/g,Zn=/\n+/g,ke=(e,t)=>{let r="",n="",o="";for(let a in e){let s=e[a];a[0]=="@"?a[1]=="i"?r=a+" "+s+";":n+=a[1]=="f"?ke(s,a):a+"{"+ke(s,a[1]=="k"?"":t)+"}":typeof s=="object"?n+=ke(s,t?t.replace(/([^,])+/g,l=>a.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,u=>/&/.test(u)?u.replace(/&/g,l):l?l+" "+u:u)):a):s!=null&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=ke.p?ke.p(a,s):a+":"+s+";")}return r+(t&&o?t+"{"+o+"}":o)+n},me={},jn=e=>{if(typeof e=="object"){let t="";for(let r in e)t+=r+jn(e[r]);return t}return e},i2=(e,t,r,n,o)=>{let a=jn(e),s=me[a]||(me[a]=(u=>{let d=0,h=11;for(;d<u.length;)h=101*h+u.charCodeAt(d++)>>>0;return"go"+h})(a));if(!me[s]){let u=a!==e?e:(d=>{let h,C,b=[{}];for(;h=e2.exec(d.replace(t2,""));)h[4]?b.shift():h[3]?(C=h[3].replace(Zn," ").trim(),b.unshift(b[0][C]=b[0][C]||{})):b[0][h[1]]=h[2].replace(Zn," ").trim();return b[0]})(e);me[s]=ke(o?{["@keyframes "+s]:u}:u,r?"":"."+s)}let l=r&&me.g?me.g:null;return r&&(me.g=me[s]),((u,d,h,C)=>{C?d.data=d.data.replace(C,u):d.data.indexOf(u)===-1&&(d.data=h?u+d.data:d.data+u)})(me[s],t,n,l),s},r2=(e,t,r)=>e.reduce((n,o,a)=>{let s=t[a];if(s&&s.call){let l=s(r),u=l&&l.props&&l.props.className||/^go/.test(l)&&l;s=u?"."+u:l&&typeof l=="object"?l.props?"":ke(l,""):l===!1?"":l}return n+o+(s==null?"":s)},"");function Ht(e){let t=this||{},r=e.call?e(t.p):e;return i2(r.unshift?r.raw?r2(r,[].slice.call(arguments,1),t.p):r.reduce((n,o)=>Object.assign(n,o&&o.call?o(t.p):o),{}):r,Q1(t.target),t.g,t.o,t.k)}let Un,Qi,er;Ht.bind({g:1});let ge=Ht.bind({k:1});function n2(e,t,r,n){ke.p=t,Un=e,Qi=r,er=n}function _e(e,t){let r=this||{};return function(){let n=arguments;function o(a,s){let l=Object.assign({},a),u=l.className||o.className;r.p=Object.assign({theme:Qi&&Qi()},l),r.o=/ *go\d+/.test(u),l.className=Ht.apply(r,n)+(u?" "+u:""),t&&(l.ref=s);let d=e;return e[0]&&(d=l.as||e,delete l.as),er&&d[0]&&er(l),Un(d,l)}return t?t(o):o}}var o2=e=>typeof e=="function",Rt=(e,t)=>o2(e)?e(t):e,a2=(()=>{let e=0;return()=>(++e).toString()})(),Gn=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),l2=20,It=new Map,s2=1e3,$n=e=>{if(It.has(e))return;let t=setTimeout(()=>{It.delete(e),Le({type:4,toastId:e})},s2);It.set(e,t)},c2=e=>{let t=It.get(e);t&&clearTimeout(t)},tr=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,l2)};case 1:return t.toast.id&&c2(t.toast.id),{...e,toasts:e.toasts.map(a=>a.id===t.toast.id?{...a,...t.toast}:a)};case 2:let{toast:r}=t;return e.toasts.find(a=>a.id===r.id)?tr(e,{type:1,toast:r}):tr(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?$n(n):e.toasts.forEach(a=>{$n(a.id)}),{...e,toasts:e.toasts.map(a=>a.id===n||n===void 0?{...a,visible:!1}:a)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(a=>({...a,pauseDuration:a.pauseDuration+o}))}}},Ot=[],Ft={toasts:[],pausedAt:void 0},Le=e=>{Ft=tr(Ft,e),Ot.forEach(t=>{t(Ft)})},d2={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},u2=(e={})=>{let[t,r]=N.useState(Ft);N.useEffect(()=>(Ot.push(r),()=>{let o=Ot.indexOf(r);o>-1&&Ot.splice(o,1)}),[t]);let n=t.toasts.map(o=>{var a,s;return{...e,...e[o.type],...o,duration:o.duration||((a=e[o.type])==null?void 0:a.duration)||(e==null?void 0:e.duration)||d2[o.type],style:{...e.style,...(s=e[o.type])==null?void 0:s.style,...o.style}}});return{...t,toasts:n}},p2=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(r==null?void 0:r.id)||a2()}),tt=e=>(t,r)=>{let n=p2(t,e,r);return Le({type:2,toast:n}),n.id},re=(e,t)=>tt("blank")(e,t);re.error=tt("error"),re.success=tt("success"),re.loading=tt("loading"),re.custom=tt("custom"),re.dismiss=e=>{Le({type:3,toastId:e})},re.remove=e=>Le({type:4,toastId:e}),re.promise=(e,t,r)=>{let n=re.loading(t.loading,{...r,...r==null?void 0:r.loading});return e.then(o=>(re.success(Rt(t.success,o),{id:n,...r,...r==null?void 0:r.success}),o)).catch(o=>{re.error(Rt(t.error,o),{id:n,...r,...r==null?void 0:r.error})}),e};var f2=(e,t)=>{Le({type:1,toast:{id:e,height:t}})},h2=()=>{Le({type:5,time:Date.now()})},m2=e=>{let{toasts:t,pausedAt:r}=u2(e);N.useEffect(()=>{if(r)return;let a=Date.now(),s=t.map(l=>{if(l.duration===1/0)return;let u=(l.duration||0)+l.pauseDuration-(a-l.createdAt);if(u<0){l.visible&&re.dismiss(l.id);return}return setTimeout(()=>re.dismiss(l.id),u)});return()=>{s.forEach(l=>l&&clearTimeout(l))}},[t,r]);let n=N.useCallback(()=>{r&&Le({type:6,time:Date.now()})},[r]),o=N.useCallback((a,s)=>{let{reverseOrder:l=!1,gutter:u=8,defaultPosition:d}=s||{},h=t.filter(k=>(k.position||d)===(a.position||d)&&k.height),C=h.findIndex(k=>k.id===a.id),b=h.filter((k,y)=>y<C&&k.visible).length;return h.filter(k=>k.visible).slice(...l?[b+1]:[0,b]).reduce((k,y)=>k+(y.height||0)+u,0)},[t]);return{toasts:t,handlers:{updateHeight:f2,startPause:h2,endPause:n,calculateOffset:o}}},g2=ge`
|
|
15
15
|
from {
|