@ukpc-lib/react 0.3.40 → 0.3.42

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.
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),j=require("react"),p=require("../index.module-542d8ee5.cjs"),K=require("moment"),Gt=require("axios"),N=require("@mui/material");require("@r2wc/react-to-web-component");const on=require("react-router-dom");function Xn(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const L=Xn(j),Jn=e=>{var n,o;const{tabs:t}=e,r=i=>{e.setCurrentTab(i.target.id)};return console.log("🚀 ~ brandColors:",e.currentTab),s.jsxs(s.Fragment,{children:[s.jsx("style",{children:`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),j=require("react"),m=require("../index.module-06bf4d76.cjs"),K=require("moment"),Gt=require("axios");require("@r2wc/react-to-web-component");const an=require("react-router-dom"),N=require("@mui/material");function Jn(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const L=Jn(j),Qn=e=>{var n,o;const{tabs:t}=e,r=i=>{e.setCurrentTab(i.target.id)};return console.log("🚀 ~ brandColors:",e.currentTab),s.jsxs(s.Fragment,{children:[s.jsx("style",{children:`
2
2
  .tab-title {
3
3
  min-width: 90px;
4
4
  padding: 5px 16px;
@@ -29,11 +29,11 @@
29
29
  .tab-content {
30
30
  padding: 16px 0;
31
31
  }
32
- `}),s.jsxs("div",{className:"tab-container",children:[s.jsx("div",{style:{display:"flex",width:"100%",height:"50px",borderBottom:`1px solid ${p.color.grey200}`},className:"tab-container__title",children:t.map((i,a)=>s.jsx("button",{id:i.id,disabled:e.currentTab===`${i.id}`,onClick:r,className:`tab-title ${e.currentTab===`${i.id}`?"is-active":""}`,children:i.tabTitle},a))}),s.jsx("div",{className:"tab-content",children:t.map((i,a)=>s.jsx("div",{children:e.currentTab===`${i.id}`&&s.jsx("div",{children:i.children})},a))})]})]})},Qn=e=>s.jsx(p.Q,{autoClose:3e3,hideProgressBar:!0,closeButton:!1,position:"bottom-left",newestOnTop:!0,pauseOnFocusLoss:!1,style:{fontFamily:"inherit"},...e}),eo=e=>s.jsx(p.Q,{autoClose:3e3,hideProgressBar:!0,closeButton:!1,position:"bottom-left",newestOnTop:!0,pauseOnFocusLoss:!1,style:{fontFamily:"inherit",width:"610px"},containerId:"toastifyNotification",...e}),to=({notification:e,baseUrl:t,notiPath:r,markAllAsReadState:n,brandColors:o})=>{var x;const[i,a]=j.useState(!1),[c,u]=j.useState({id:e.id,isRead:e.isRead}),f=c.isRead===!1?"unread":"read",m={borderColor:c.isRead?"#c5c5c5":(o==null?void 0:o.primary500)||p.color.primary500,backgroundColor:c.isRead?"#c5c5c5":(o==null?void 0:o.primary500)||p.color.primary500},{setNotiData:h}=j.useContext(p.CustomOpenList),y=p.useGetNotiData({baseUrl:t,notiPath:r,setNotiData:h}),b=async(_,w)=>{var C,g;try{const S=r||`/notification-management/api/v1/notifications/${_}`,E=t+S;await Gt.put(E,{isRead:w},{withCredentials:!0})}catch(S){u({id:e.id,isRead:e.isRead}),p.pushError(((g=(C=S.response)==null?void 0:C.data)==null?void 0:g.errorMessage)||"Have error when get notification list")}await y()},v=(_,w)=>{console.log("specificNotificationID",_);const C=!w;u(g=>({...g,isRead:C})),console.log("newIsReadState",C),b(_,C)};j.useEffect(()=>{u(n?_=>({..._,isRead:!0}):{id:e.id,isRead:e.isRead})},[n,e.id,e.isRead]);const l=()=>{a(!i)},d=_=>{const w=K(),C=K(_),g=w.diff(C,"days"),S=w.diff(C,"minutes"),E=w.diff(C,"months"),$=w.diff(C,"years");if(console.log("diffInMonths",E),S<1)return"Just now";if(g===0){if(S<=60)return`${S} minute${S>1?"s":""} ago`;const k=Math.floor(S/60);return console.log("diffIhours",k),`${k} hour${k>1?"s":""} ago`}if(g===1)return"Yesterday";if(g>=2&&g<7)return`${g} days ago`;if(g<30){const k=Math.floor(g/7);return`${k} week${k>1?"s":""} ago`}return E===0||E===1?"1 month ago":E<12?`${E} months ago`:$===0||$===1?"1 year ago":"Over 1 year ago"};return s.jsx(s.Fragment,{children:s.jsxs("div",{className:"notitification-item__container",children:[s.jsx("div",{className:"notification-item__image-container",children:s.jsx("img",{src:!e.actorAvatarUrl||e.actorName==="System"?"https://ukpcsaprod.blob.core.windows.net/account/logo.png":e.actorAvatarUrl,onError:({currentTarget:_})=>{console.log("img on error",_),_.onerror=null,_.src="https://ukpcsaprod.blob.core.windows.net/account/logo.png"},alt:e.actorName})}),s.jsxs("div",{style:{width:"100%"},children:[s.jsxs("div",{className:"notification-item__content-wrapper",children:[s.jsxs("div",{className:"notification-item__content",children:[s.jsx("p",{className:"notification-item__user-name",children:e.actorName}),s.jsxs("p",{children:[`${e.message} `,s.jsx("span",{children:e==null?void 0:e.context})]}),(e==null?void 0:e.notificationType)==="deleteMultiple"&&s.jsxs("button",{style:{color:p.color.primary400,textDecoration:"underline"},onClick:l,children:[i?"Hide":"Show "," details"]})]}),s.jsx("div",{className:"notification-item__time",children:s.jsx("p",{children:d(e.createdAt)})}),s.jsx("button",{className:`${f} notification-item__read-at`,"aria-label":"Mark as read",style:m,onClick:()=>v(e.id,e.isRead)})]}),i&&s.jsx("div",{style:{background:"#fff",width:"100%",padding:"8px",fontSize:"12px",marginTop:"8px"},children:s.jsx("ul",{children:(x=e==null?void 0:e.data)==null?void 0:x.map((_,w)=>s.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:"4px"},children:[s.jsx("span",{style:{backgroundColor:p.color.primary400},className:"list-dot"}),s.jsx("span",{style:{width:"calc(100% - 12px)"},children:_.name})]},w))})})]})]})})},pr=({notidata:e,baseUrl:t,notiPath:r,brandColors:n,notiUnreadNumber:o})=>{const[i,a]=j.useState(!1);console.log(i);const{setNotiData:c}=j.useContext(p.CustomOpenList),u=p.useGetNotiData({baseUrl:t,notiPath:r,setNotiData:c}),f=async()=>{var h,y;try{const v=t+(r||"/notification-management/api/v1/notifications");await Gt.put(v,{withCredentials:!0})}catch(b){console.log(b),a(!1),p.pushError(((y=(h=b.response)==null?void 0:h.data)==null?void 0:y.errorMessage)||"Have error when get notification list")}await u(),a(!1)},m=()=>{a(!0),f()};return console.log("notiUnreadNumber",o),s.jsxs("div",{children:[s.jsx("div",{className:"mark-all-read",children:s.jsx("button",{onClick:m,style:{visibility:o===0?"hidden":"visible"},children:"Mark all as read"})}),s.jsx("div",{className:"notification-items__wrapper",children:s.jsx("div",{className:"notification-items__content",children:Object.values(e).map((h,y)=>s.jsx(to,{notification:h,baseUrl:t,notiPath:r,markAllAsReadState:i,brandColors:n},y))})})]})},ro=({baseUrl:e,notiPath:t,brandColors:r})=>{var u,f,m,h;const{setShowModalFalse:n}=j.useContext(p.CustomOpenList),{notidata:o}=j.useContext(p.CustomOpenList);console.log(o);const[i,a]=j.useState("all"),c=[{id:"all",tabTitle:`All (${((u=o==null?void 0:o.all)==null?void 0:u.total)||0})`,children:s.jsx(pr,{notidata:((f=o==null?void 0:o.all)==null?void 0:f.rows)||[],baseUrl:e,notiPath:t,brandColors:r,notiUnreadNumber:o.unread.total})},{id:"unread",tabTitle:`Unread (${((m=o==null?void 0:o.unread)==null?void 0:m.total)||0})`,children:s.jsx(pr,{notidata:((h=o==null?void 0:o.unread)==null?void 0:h.rows)||[],baseUrl:e,notiPath:t,brandColors:r,notiUnreadNumber:o.unread.total})}];return s.jsx(s.Fragment,{children:s.jsx("div",{style:{position:"absolute",backgroundColor:"#fff",width:"550px",height:"90vh",right:"100px",top:"100%",padding:"32px",boxShadow:"10px 0px 20px #999",borderRadius:"0 0 8px 8px",overflow:"hidden"},children:s.jsxs("div",{className:"list-content",children:[s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[s.jsx("h3",{style:{fontSize:"24px",fontWeight:"500",color:p.color.textPrimary},className:"list-title",children:"Notifications"}),s.jsx("button",{onClick:n,children:s.jsx("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M7.05086 6.13616C6.66033 5.74563 6.02717 5.74563 5.63664 6.13616C5.24612 6.52668 5.24612 7.15984 5.63664 7.55037L10.5864 12.5001L5.63664 17.4499C5.24612 17.8404 5.24612 18.4736 5.63664 18.8641C6.02717 19.2546 6.66033 19.2546 7.05086 18.8641L12.0006 13.9143L16.9504 18.8641C17.3409 19.2546 17.974 19.2546 18.3646 18.8641C18.7551 18.4736 18.7551 17.8404 18.3646 17.4499L13.4148 12.5001L18.3646 7.55037C18.7551 7.15984 18.7551 6.52668 18.3646 6.13616C17.974 5.74563 17.3409 5.74563 16.9504 6.13616L12.0006 11.0859L7.05086 6.13616Z",fill:"#85858A"})})})]}),s.jsx(Jn,{tabs:c,setCurrentTab:a,currentTab:i,brandColors:r})]})})})};function Kt({childrenClass:e,action:t,childrenOpenClass:r}){const n=document.querySelector("#topbar-wrapper"),o=n==null?void 0:n.shadowRoot,i=o==null?void 0:o.querySelector(`.${e}`),a=o==null?void 0:o.querySelector(`.${r}`),c=o==null?void 0:o.querySelector("nav"),u=f=>{c==null||c.addEventListener("click",function(m){if(r&&a&&a.contains(m.target)){if(i&&!i.contains(m.target))return}else i&&!i.contains(m.target)&&t()}),n&&!n.contains(f.target)&&t()};document.addEventListener("click",u,!0)}function no({iconColor:e="#fff",baseUrl:t,notiPath:r,brandColors:n}){var h,y;const{isOpen:o,toggleOpen:i,setShowModalFalse:a}=j.useContext(p.CustomOpenList),{notidata:c,setNotiData:u}=j.useContext(p.CustomOpenList),f=p.useGetNotiData({baseUrl:t,notiPath:r,setNotiData:u}),m=async()=>{var b,v;try{await f()}catch(l){p.pushError(((v=(b=l.response)==null?void 0:b.data)==null?void 0:v.errorMessage)||"Have error when get notification list")}};return j.useEffect(()=>{m()},[o]),j.useEffect(()=>{Kt({childrenClass:"noti-container",childrenOpenClass:"noti-list-container",action(){a()}})}),s.jsxs("div",{children:[s.jsxs("div",{className:"noti-container",style:{position:"relative"},children:[s.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:i,style:{cursor:"pointer",color:e},children:[s.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7968 17.4705C16.5901 17.4705 18.8076 16.8556 19.0218 14.3874C19.0218 11.921 17.4757 12.0796 17.4757 9.05334C17.4757 6.68952 15.2352 4 11.7968 4C8.35833 4 6.1178 6.68952 6.1178 9.05334C6.1178 12.0796 4.57178 11.921 4.57178 14.3874C4.78679 16.8649 7.00428 17.4705 11.7968 17.4705Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),s.jsx("path",{d:"M13.8274 20.0286C12.6679 21.3161 10.8591 21.3313 9.68848 20.0286",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(c==null?void 0:c.unread)&&(c==null?void 0:c.unread.total)!=0&&s.jsx("span",{style:{position:"absolute",top:"-9px",right:"-6px",width:"20px",height:"20px",border:"1px solid #fff",borderRadius:"50%",color:"#fff",fontSize:"12px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:p.color.danger},className:"notification-badge",children:((h=c==null?void 0:c.unread)==null?void 0:h.total)>9?"9+":`${(y=c==null?void 0:c.unread)==null?void 0:y.total}`})]}),s.jsx("div",{className:"noti-list-container",children:!o&&s.jsx(ro,{baseUrl:t,notiPath:r,brandColors:n})})]})}const oo=`.avatar-dropdown-item{padding:.5rem;font-size:.875rem;line-height:1.25rem;cursor:pointer;border-radius:.25rem}.avartarDropdownMenu{background-color:#fff;padding:.5rem;width:13rem;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);position:absolute;left:-10rem;top:3.2rem}.avartarDropdownMenu ul{list-style:none;padding-inline-start:0;margin-block-end:0}.navbar{position:fixed;display:flex;z-index:30;background:#292929;top:0;width:100%;padding-left:2.5rem;height:64px}.navbar-container{display:flex;flex-direction:row;align-items:center;width:100%;justify-content:space-between}.logo-container{height:100%;display:flex;align-items:center}.right-side-container{display:flex;flex-direction:row;align-items:center;text-align:center;margin-right:2.5rem;gap:1rem}.userContainer{display:flex;align-items:center;gap:.5rem}.languageDropdown{height:100%;padding:0 8px;display:flex;flex-direction:row;gap:8px;border-radius:3px;align-items:center;justify-content:center;height:41px;background-color:#ffffff1a;cursor:pointer;transition:background-color .2s ease-in-out}.languageDropdown:hover{background-color:#fff3}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem}.userAvatar{width:2.5rem;height:2.5rem;-o-object-fit:cover;object-fit:cover;border-radius:9999px;border:2px solid #FFFFFF}#userAvatarNull{width:2.5rem;height:2.5rem;background:#DDDDDD;border-radius:100%;color:#fff;font-size:20px;font-weight:400;display:flex;align-items:center;justify-content:center}.relative{position:relative}.cursor-pointer{cursor:pointer}
33
- `,io=`:root{--textPrimary: #292929;--textWhite: #fff;--primary500: #2E7D32;--grey100: #FAFAFA;--gray200: #EEEEEE;--gray600: #85858A;--link: #007BFF }.list-content{overflow-y:auto;overflow-x:hidden}.mark-all-read{text-align:right;color:#007bff;margin-bottom:12px;font-size:12px}.notification-items__wrapper{overflow:hidden}.notification-items__content{height:calc(100vh - 275px);overflow-x:hidden;overflow-y:auto;color:#292929}.notitification-item__container{display:flex;justify-content:space-between;padding:16px;border-bottom:#FAFAFA 1px solid;text-align:left;font-size:12px;position:relative;z-index:10;cursor:pointer;border-radius:4px;margin-bottom:8px}.notitification-item__container:hover{background-color:#fafafa}.notification-item__image-container{width:46px;height:40px;display:flex;justify-content:center;align-items:center;border-radius:50%;overflow:hidden;margin-right:16px}.notification-item__image-container img{width:100%;height:100%;text-align:center;-o-object-fit:cover;object-fit:cover;color:transparent;text-indent:10000px}.notification-item__content-wrapper{width:100%;display:flex;align-items:center;justify-content:space-between}.notification-item__context-link{color:#007bff}.notification-item__content{width:68%;padding-right:16px}.notification-item__user-name{margin-bottom:2px;font-size:14px}.notification-item__time{margin-right:15px;text-align:right}.notification-item__read-at{border-width:2px;border-style:solid;border-radius:50%;width:10px;height:10px;display:block;position:relative}.notification-item__read-at:before{position:absolute;top:-30px;right:0;width:91px;background-color:#85858a;color:#fff;border-radius:4px;font-size:10px;text-align:center;padding:4px;opacity:0;visibility:hidden;transition:all .3s cubic-bezier(.39,.575,.565,1)}.notification-item__read-at:hover:before{opacity:1;visibility:visible}.notification-item__read-at.read:before{content:"Mark as unread"}.notification-item__read-at.unread:before{content:"Mark as read"}.notification-item__read-at.read{border-color:#eee}.notification-item__read-at.unread{border-color:#2e7d32;background-color:#2e7d32}.list-dot{border-radius:50%;width:8px;height:8px;margin-right:4px;display:block}
34
- `,ao=`._notification-massage_container_ql4az_1{background:#fff;padding:0 64px 0 84px;border-radius:8px;font-family:TT Firs Neue Trl,sans-serif}._notification-massage_container_ql4az_1:before{position:absolute;content:"";width:48px;height:48px;background:url(https://ukpcsaprod.blob.core.windows.net/saas/notification-icon.svg) no-repeat center/100%;top:12px;left:24px}._notification-name_ql4az_18{font-weight:500;font-size:14px}._notification-message_service_ql4az_23{font-size:12px}._notification-message_button-close_ql4az_27{position:absolute;top:12px;right:24px;width:24px;height:24px}
35
- `,so=`._subscription-diaglog_1bysb_2{position:fixed;width:100vw;height:100vh;top:0;left:0;background-color:#0006;z-index:10000;display:flex;align-items:center;justify-content:center}._subscription-container_1bysb_15{width:610px;height:222px;border-radius:8px;padding:32px 24px 40px;background:#fff;color:#292929}._subscription-title_1bysb_25{font-size:20px;font-weight:500;text-align:center;color:#292929}._subscription-title_1bysb_25,._subscription-text_1bysb_34{margin-bottom:24px}._subscription-btn__container_1bysb_38{display:flex;justify-content:space-between;align-items:center}._btn-success_1bysb_44,._btn-cancel_1bysb_45{width:150px;height:40px;display:flex;align-items:center;justify-content:center;padding:8px;color:#292929;border-radius:1px;transition:background-color .25s cubic-bezier(.4,0,.2,1) 0ms,box-shadow .25s cubic-bezier(.4,0,.2,1) 0ms,border-color .25s cubic-bezier(.4,0,.2,1) 0ms,color .25s cubic-bezier(.4,0,.2,1) 0ms}._btn-cancel_1bysb_45{background-color:#ddd}._btn-cancel_1bysb_45:hover{background-color:#c5c5c5}._btn-success_1bysb_44{background-color:#93d500}._btn-success_1bysb_44:hover{background-color:#2e7d32}
36
- `;function lo(e){return s.jsxs("svg",{width:"34",height:"25",viewBox:"0 0 34 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[s.jsxs("g",{"clip-path":"url(#clip0_16865_28134)",children:[s.jsx("rect",{y:"0.5",width:"34",height:"24",rx:"3",fill:"#1A47B8"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.61691 0.5H0V4.5L30.3635 24.5L34 24.5V20.5L3.61691 0.5Z",fill:"white"}),s.jsx("path",{d:"M1.20635 0.5L34 22.1567V24.5H32.8219L0 2.82089V0.5H1.20635Z",fill:"#F93939"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M30.7619 0.5H34V4.5C34 4.5 12.9683 17.8249 3.2381 24.5H0V20.5L30.7619 0.5Z",fill:"white"}),s.jsx("path",{d:"M34 0.5H32.9019L0 22.1753V24.5H1.20635L34 2.83842V0.5Z",fill:"#F93939"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.3648 0.5H21.6635V7.90291H34V17.0922H21.6635V24.5H12.3648V17.0922H0V7.90291H12.3648V0.5Z",fill:"white"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.3158 0.5H19.6842V9.73077H34V15.2692H19.6842V24.5H14.3158V15.2692H0V9.73077H14.3158V0.5Z",fill:"#F93939"})]}),s.jsx("defs",{children:s.jsx("clipPath",{id:"clip0_16865_28134",children:s.jsx("rect",{y:"0.5",width:"34",height:"24",rx:"3",fill:"white"})})})]})}function co(e){return s.jsxs("svg",{width:"34",height:"24",viewBox:"0 0 34 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[s.jsxs("g",{"clip-path":"url(#clip0_16886_62505)",children:[s.jsx("rect",{width:"34",height:"24",rx:"3",fill:"#F93939"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 16H34V24H0V16Z",fill:"#FFDA2C"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 0H34V8H0V0Z",fill:"#151515"})]}),s.jsx("defs",{children:s.jsx("clipPath",{id:"clip0_16886_62505",children:s.jsx("rect",{width:"34",height:"24",rx:"3",fill:"white"})})})]})}function uo({logo:e,user:t,baseUrl:r,notiPath:n,style:o,classNames:i="",customColors:a,notiprops:c}){const u=e||"https://ukpcsaprod.blob.core.windows.net/lib/images/logo-header.png",f={...o,color:(a==null?void 0:a.headerTextColor)||"white",backgroundColor:(a==null?void 0:a.headerBgColor)||"black"},[m,h]=j.useState(!1),y=()=>{window.location.href=`${r}/authentication/logout?callbackUrl=${window.location.href}`};return s.jsxs(p.ShadowDomWrapper,{styles:[oo,io,ao,so],style:{zIndex:1202},id:"topbar-wrapper",children:[s.jsx("nav",{className:`navbar ${i}`,style:a?f:o,children:s.jsxs("div",{className:"navbar-container",children:[s.jsx("div",{className:"logo-container",children:s.jsx("img",{src:u,alt:"logo-header",style:{height:"40px"}})}),s.jsxs("div",{className:"right-side-container",children:[s.jsx("span",{children:s.jsxs(p.CustomOpenListProvider,{children:[s.jsx(Zn,{baseUrl:c.baseUrl,path:c.path,apiKey:c.apiKey,authDomain:c.authDomain,projectId:c.projectId,storageBucket:c.storageBucket,messagingSenderId:c.messagingSenderId,appId:c.appId,measurementId:c.measurementId,vapidKey:c.vapidKey}),s.jsx(no,{iconColor:a==null?void 0:a.headerTextColor,baseUrl:r,notiPath:n,brandColors:a})]})}),s.jsx(fo,{}),s.jsxs("div",{className:"userContainer",children:[s.jsx(ho,{primaryColor:a==null?void 0:a.headerTextColor,avatarUrl:t==null?void 0:t.avatarUrl,userName:t==null?void 0:t.firstName,setShowConfirmModal:h}),s.jsx("p",{className:"userFullName",style:{color:a==null?void 0:a.headerTextColor},children:`${(t==null?void 0:t.firstName)||"Unknown"} ${(t==null?void 0:t.lastName)||"User"}`})]})]})]})}),s.jsx(p.LogoutConfirmModal,{isOpen:m,onClose:()=>h(!1),onConfirm:y})]})}function fo(){var a;const e=[{value:p.Language.en,element:s.jsx(lo,{})},{value:p.Language.de,element:s.jsx(co,{})}],[t,r]=j.useState(!1);j.useState(new Array(e.length).fill(!1));const{language:n,setLanguage:o}=p.useCustomTranslation();j.useEffect(()=>{Kt({childrenClass:"languageDropdown",action(){r(!1)}})},[]);const i=(a=e.find(c=>c.value==n))==null?void 0:a.element;return s.jsx("div",{className:"languageDropdownContainer",style:{position:"relative"},children:s.jsx("div",{className:"languageDropdown",onClick:()=>{r(!t)},children:i})})}function ho({avatarUrl:e,userName:t}){const[r,n]=j.useState(!1),o=j.useRef(null);return j.useRef(null),j.useState(!1),j.useState(!1),j.useEffect(()=>{Kt({childrenClass:"userAvatar",action(){n(!1)}})},[]),s.jsx(s.Fragment,{children:s.jsx("div",{style:{position:"relative"},children:e?s.jsx("img",{onClick:()=>n(!r),ref:o,alt:"user avatar",className:"userAvatar",src:e}):s.jsx("div",{onClick:()=>n(!r),ref:o,className:"userAvatar",id:"userAvatarNull",children:(t==null?void 0:t.charAt(0))??""})})})}const po=({children:e})=>s.jsxs(N.Stack,{justifyContent:"center",alignItems:"center",sx:{backgroundColor:"#FAFAFA",minHeight:"450px"},children:[s.jsx(mo,{}),e]});function mo(){return s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"150",height:"150",fill:"none",viewBox:"0 0 150 150",children:[s.jsx("path",{fill:"#F9FAFB",d:"M120.843 66.48a2.885 2.885 0 100-5.77 2.885 2.885 0 000 5.77zM75 127.04c28.319 0 51.276-9.006 51.276-20.115 0-11.11-22.957-20.115-51.276-20.115-28.32 0-51.276 9.006-51.276 20.115 0 11.109 22.957 20.115 51.276 20.115z"}),s.jsx("path",{fill:"#DDD",d:"M73.354 34.489l-2.13 13.355H57.378L73.354 34.49z"}),s.jsx("path",{fill:"#F9FAFB",d:"M71.223 48.157H57.38a.313.313 0 01-.295-.206.313.313 0 01.093-.346L73.154 34.25a.313.313 0 01.508.288l-2.13 13.357a.308.308 0 01-.308.263zm-12.983-.625h12.717l1.957-12.268L58.24 47.532zM74.63 59.596a.314.314 0 01-.252-.128l-.844-1.15a.314.314 0 01.043-.418.311.311 0 01.42.003c.005.005.012.01.018.018a.188.188 0 01.015.018l.045.06.807 1.1a.312.312 0 01-.252.497z"}),s.jsx("path",{fill:"#000",d:"M74.63 59.596a.314.314 0 01-.252-.128l-.844-1.15a.314.314 0 01.043-.418.311.311 0 01.42.003c.005.005.012.01.018.018a.188.188 0 01.015.018l.045.06.807 1.1a.312.312 0 01-.252.497z"}),s.jsx("path",{fill:"#85858A",d:"M74.454 58.965l3.503 4.775c-.209-.284-.431-.56-.667-.83-2.59-2.952-6.367-4.428-10.378-4.428-1.74 0-3.524.278-5.275.833l-3.503-4.775a17.477 17.477 0 015.275-.833c4.011 0 7.788 1.476 10.378 4.428.236.27.458.546.667.83z"}),s.jsx("path",{fill:"#F9FAFB",d:"M77.957 64.053a.314.314 0 01-.253-.128c-.203-.278-.422-.55-.65-.81-2.446-2.786-6.047-4.32-10.143-4.32-1.727 0-3.468.274-5.18.818a.316.316 0 01-.348-.113l-3.503-4.775a.312.312 0 01.158-.483 17.748 17.748 0 015.37-.847c4.278 0 8.047 1.61 10.612 4.533.24.274.47.561.685.853l3.5 4.772.003.003a.311.311 0 01-.251.497zM66.912 58.17c3.207 0 6.128.905 8.471 2.59l-1.18-1.61c-.203-.278-.423-.55-.65-.81-2.446-2.786-6.048-4.32-10.144-4.32-1.586 0-3.186.231-4.762.691l3.11 4.24a17.67 17.67 0 015.155-.782zM56.104 81.024a.312.312 0 01-.233-.105l-.049-.055a8.826 8.826 0 01-.458-.571l-3.503-4.775a.312.312 0 01.504-.37l.003.005c.132.179.274.355.422.525l.045.05.02.023 3.502 4.775a.312.312 0 01-.253.498z"}),s.jsx("path",{fill:"#000",d:"M56.104 81.024a.312.312 0 01-.233-.105l-.049-.055a8.826 8.826 0 01-.458-.571l-3.503-4.775a.312.312 0 01.504-.37l.003.005c.132.179.274.355.422.525l.045.05.02.023 3.502 4.775a.312.312 0 01-.253.498z"}),s.jsx("path",{fill:"#85858A",d:"M52.855 76.208l3.503 4.775a7.826 7.826 0 01-.743-.875l-3.503-4.775a7.8 7.8 0 00.743.875z"}),s.jsx("path",{fill:"#F9FAFB",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.86 7.86 0 01-.773-.908l-3.502-4.775a.312.312 0 11.504-.37l.003.005a7.954 7.954 0 00.712.837l.03.034 3.502 4.775a.313.313 0 01-.253.497z"}),s.jsx("path",{fill:"#F9FAFB",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.361 7.361 0 01-.265-.283l-.01-.011c-.036-.044-.078-.103-.117-.157l-.043-.06-3.353-4.57a.312.312 0 01.485-.394c.08.09.163.177.246.263l.03.033 3.502 4.775a.313.313 0 01-.252.499z"}),s.jsx("path",{fill:"#000",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.361 7.361 0 01-.265-.283l-.01-.011c-.036-.044-.078-.103-.117-.157l-.043-.06-3.353-4.57a.312.312 0 01.485-.394c.08.09.163.177.246.263l.03.033 3.502 4.775a.313.313 0 01-.252.499z"}),s.jsx("path",{fill:"#85858A",d:"M52.855 76.208l3.503 4.775a7.826 7.826 0 01-.743-.875l-3.503-4.775a7.8 7.8 0 00.743.875z"}),s.jsx("path",{fill:"#F9FAFB",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.86 7.86 0 01-.773-.908l-3.502-4.775a.312.312 0 11.504-.37l.003.005a7.954 7.954 0 00.712.837l.03.034 3.502 4.775a.313.313 0 01-.253.497z"}),s.jsx("path",{fill:"#EEE",d:"M71.03 70.342a11.476 11.476 0 01-1.11 2.438 12.543 12.543 0 01-2.703 3.136c-2.342 1.96-5.159 2.937-7.82 2.937-2.66 0-5.164-.98-6.88-2.938C49.078 72 50.09 65.651 54.775 61.738c2.343-1.96 5.16-2.938 7.82-2.938s5.165.98 6.881 2.938a8.329 8.329 0 01.754 1.008 8.034 8.034 0 011.056 2.539c.376 1.62.28 3.364-.257 5.057z"}),s.jsx("path",{fill:"#98A2B3",d:"M71.289 65.285h-9.161c-.967 0-1.632-.754-1.482-1.688.148-.933 1.052-1.687 2.02-1.687h6.956a8.024 8.024 0 011.667 3.375zM71.03 70.342a11.476 11.476 0 01-1.11 2.438c-.155.256-.32.51-.5.76h-8.705c-.918 0-1.543-.716-1.403-1.6.142-.883.997-1.6 1.913-1.6h9.805v.002z"}),s.jsx("path",{fill:"#F7F9FC",d:"M73.632 34.257h38.646l-.591 3.703-10.155 63.675H48.801l3.071-19.259c2.022 1.048 4.33 1.571 6.72 1.571 3.213 0 6.576-.946 9.602-2.839h27.097c.471 0 .909-.366.983-.82.072-.452-.25-.819-.72-.819H70.44c2.295-1.933 3.996-4.255 5.068-6.708h21.116c.47 0 .908-.367.98-.818.072-.453-.25-.82-.72-.82H76.129c.712-2.236.91-4.531.57-6.71h21.256c.47 0 .908-.366.98-.817.073-.453-.25-.821-.719-.821H76.333a12.247 12.247 0 00-2.544-4.642c-2.59-2.951-6.367-4.427-10.378-4.427-2.389 0-4.86.523-7.215 1.569l1.184-7.432h13.845l2.13-13.354.277-.232zM93.96 89.454c.47 0 .908-.366.982-.82.072-.452-.25-.819-.72-.819H61.258c-.468 0-.907.367-.979.818-.072.453.25.821.718.821h32.964zm5.325-33.386c.47 0 .908-.367.981-.818.072-.453-.25-.82-.72-.82H77.201c-.47 0-.907.366-.979.82-.072.451.247.818.718.818h22.346z"}),s.jsx("path",{fill:"#F9FAFB",d:"M101.532 101.946h-52.73a.311.311 0 01-.309-.361l3.072-19.259a.312.312 0 01.453-.228c1.942 1.006 4.215 1.537 6.576 1.537 3.255 0 6.517-.966 9.435-2.792a.317.317 0 01.165-.047h27.098c.316 0 .625-.256.672-.557a.39.39 0 00-.08-.32.423.423 0 00-.331-.137H70.44a.313.313 0 01-.201-.551c2.175-1.834 3.898-4.114 4.983-6.595a.313.313 0 01.286-.187h21.116c.316 0 .625-.254.672-.556a.392.392 0 00-.08-.32.423.423 0 00-.331-.138H76.128a.314.314 0 01-.299-.407c.696-2.182.889-4.453.56-6.566a.31.31 0 01.308-.361h21.256c.316 0 .625-.254.672-.555a.392.392 0 00-.08-.321.423.423 0 00-.331-.138h-21.88a.312.312 0 01-.3-.225 11.883 11.883 0 00-2.481-4.523c-2.446-2.786-6.047-4.32-10.143-4.32-2.367 0-4.818.532-7.09 1.542a.316.316 0 01-.317-.037.31.31 0 01-.118-.298l1.184-7.431a.313.313 0 01.309-.264h13.578l2.087-13.092a.314.314 0 01.107-.19l.278-.235a.316.316 0 01.201-.074h38.649a.312.312 0 01.308.361L101.84 101.68a.31.31 0 01-.308.267zm-52.365-.625h52.098l10.646-66.753H73.746l-.102.086-2.11 13.24a.313.313 0 01-.309.264H57.647l-1.054 6.61c2.201-.9 4.546-1.373 6.818-1.373 4.278 0 8.047 1.61 10.613 4.533a12.512 12.512 0 012.541 4.535h21.652c.32 0 .614.13.807.356.191.225.27.518.22.825-.097.607-.663 1.082-1.29 1.082H77.058c.253 1.971.078 4.059-.51 6.084h20.337c.32 0 .614.13.807.357.191.225.27.518.22.825-.097.607-.663 1.082-1.29 1.082h-20.91c-1.019 2.252-2.544 4.337-4.444 6.083h24.285c.32 0 .614.13.807.357.191.225.27.517.22.824-.097.607-.663 1.083-1.29 1.083H68.283c-2.998 1.858-6.347 2.839-9.69 2.839-2.307 0-4.536-.488-6.48-1.416l-2.946 18.477zM93.96 89.767H60.997c-.318 0-.612-.13-.805-.357a1.004 1.004 0 01-.221-.827c.097-.607.662-1.082 1.287-1.082h32.964c.32 0 .614.131.807.357.192.225.27.517.22.824-.095.608-.661 1.085-1.288 1.085zm-32.703-1.64c-.315 0-.622.255-.67.556a.395.395 0 00.079.323.42.42 0 00.329.137H93.96c.316 0 .625-.255.672-.557a.39.39 0 00-.08-.32.423.423 0 00-.331-.137H61.258v-.001zm38.028-31.746H76.94c-.32 0-.612-.13-.805-.356a1.004 1.004 0 01-.221-.824c.097-.608.662-1.083 1.287-1.083h22.346c.32 0 .614.13.807.357.192.225.271.518.221.825-.096.606-.663 1.08-1.289 1.08zm-22.085-1.64c-.315 0-.622.256-.67.558a.387.387 0 00.079.32.423.423 0 00.33.135h22.346c.317 0 .625-.254.672-.555a.392.392 0 00-.079-.321.423.423 0 00-.332-.138H77.201v.002z"}),s.jsx("path",{fill:"#DDD",d:"M55.21 61.447l-.332 2.085c-.052.039-.103.078-.153.12-1.13.942-1.372 2.473-.544 3.416.036.042.075.082.115.12l-1.44 9.019a8.348 8.348 0 01-.3-.325c-1.709-1.949-2.312-4.503-1.903-7.056.407-2.554 1.823-5.106 4.154-7.054.13-.11.267-.22.403-.325zM96.884 71.122c.471 0 .792.367.72.821-.073.451-.511.818-.98.818H75.507c.237-.54.444-1.087.618-1.639h20.758z"}),s.jsx("path",{fill:"#DDD",d:"M96.623 73.074H75.508a.31.31 0 01-.261-.142.316.316 0 01-.025-.296c.235-.536.439-1.076.607-1.607a.31.31 0 01.299-.218h20.756c.32 0 .614.13.807.357.192.225.271.518.221.825-.096.606-.662 1.08-1.289 1.08zm-20.643-.625h20.643c.317 0 .625-.254.672-.556a.392.392 0 00-.079-.32.423.423 0 00-.332-.138h-20.53a16.42 16.42 0 01-.374 1.014zM95.555 79.468c.47 0 .791.367.719.818-.072.453-.511.821-.982.821H68.193a19.625 19.625 0 002.248-1.638h25.114z"}),s.jsx("path",{fill:"#DDD",d:"M95.292 81.42H68.193a.313.313 0 01-.165-.578 19.558 19.558 0 002.148-1.56l.059-.049a.33.33 0 01.205-.076h25.114c.32 0 .614.13.807.357.192.225.27.517.221.824-.097.605-.662 1.082-1.29 1.082zm-26.063-.626h26.063c.316 0 .625-.255.672-.556a.39.39 0 00-.08-.32.423.423 0 00-.331-.137h-25c-.425.355-.868.694-1.324 1.013z"}),s.jsx("path",{fill:"#EEE",d:"M115.432 38.557l-.495 3.106-.095.598-10.06 63.074H51.517l-2.716-3.702h52.731l10.155-63.672.592-3.704 3.153 4.3z"}),s.jsx("path",{fill:"#F9FAFB",d:"M104.782 105.647H51.518a.31.31 0 01-.252-.127l-2.716-3.702a.31.31 0 01-.026-.326.31.31 0 01.279-.171h52.464l10.113-63.41.592-3.704a.311.311 0 01.56-.135l3.153 4.3c.05.067.069.152.057.234l-.591 3.704-10.061 63.075a.312.312 0 01-.308.262zm-53.107-.625h52.839l10.019-62.81.57-3.576-2.634-3.592-.473 2.966-10.156 63.672a.313.313 0 01-.308.264H49.418l2.257 3.076z"}),s.jsx("path",{fill:"#DDD",d:"M108.03 109.039l3.503 4.775H58.8l-3.503-4.775h52.733z"}),s.jsx("path",{fill:"#F9FAFB",d:"M111.533 114.126H58.8a.31.31 0 01-.252-.127l-3.503-4.775a.312.312 0 01.253-.498h52.734c.1 0 .193.048.251.128l3.503 4.775a.314.314 0 01-.253.497zm-52.575-.625h51.958l-3.044-4.15H55.913l3.045 4.15z"}),s.jsx("path",{fill:"#F7F9FC",d:"M118.776 41.663l-10.746 67.376H55.297l.59-3.704h48.895l10.154-63.672h3.84z"}),s.jsx("path",{fill:"#F9FAFB",d:"M108.03 109.351H55.297a.313.313 0 01-.308-.361l.59-3.703a.313.313 0 01.308-.263h48.628l10.112-63.41a.314.314 0 01.309-.264h3.84a.313.313 0 01.308.361l-10.745 67.376a.313.313 0 01-.309.264zm-52.366-.625h52.1l10.645-66.751h-3.207l-10.112 63.41a.314.314 0 01-.308.264H56.154l-.49 3.077z"}),s.jsx("path",{fill:"#EEE",d:"M118.776 41.663l3.503 4.775-10.746 67.376-3.503-4.775 10.746-67.376z"}),s.jsx("path",{fill:"#F9FAFB",d:"M111.533 114.126a.306.306 0 01-.251-.127l-3.503-4.775a.312.312 0 01-.057-.235l10.746-67.377a.309.309 0 01.234-.254.309.309 0 01.325.12l3.503 4.775a.31.31 0 01.057.234l-10.746 67.377a.309.309 0 01-.308.262zm-3.174-5.168l2.982 4.067 10.607-66.508-2.982-4.067-10.607 66.508z"}),s.jsx("path",{fill:"#85858A",d:"M49.987 81.18L31.79 96.393c-.043.036-.088.068-.132.101l-.061.046c-.036.025-.074.047-.11.071-.026.017-.053.035-.079.05-.02.011-.04.02-.06.032a2.11 2.11 0 01-.148.075l-.055.022a2.406 2.406 0 01-.294.107l-.076.021c-.04.01-.08.02-.121.028l-.074.014a4.26 4.26 0 01-.132.018l-.062.007c-.064.005-.13.008-.193.008-.545 0-1.056-.2-1.407-.6l-.649-.739a1.784 1.784 0 01-.09-.112l3.503 4.775c.027.039.058.076.09.112l.648.739c.352.4.863.6 1.408.6.063 0 .127-.003.193-.008.02-.002.041-.006.062-.007l.132-.018.074-.014c.04-.009.08-.017.12-.028l.077-.021.055-.015.04-.015c.067-.023.134-.049.2-.077l.04-.015c.005-.003.01-.006.015-.007.05-.024.098-.049.148-.075.019-.01.037-.017.055-.028l.005-.004c.026-.015.053-.033.08-.05.033-.021.067-.04.1-.064a.025.025 0 00.009-.007l.061-.046c.034-.025.068-.048.1-.075a.364.364 0 00.032-.026l18.197-15.213-3.504-4.775z"}),s.jsx("path",{fill:"#F9FAFB",d:"M33.694 102.081c-.658 0-1.241-.252-1.641-.707l-.65-.739a1.901 1.901 0 01-.106-.134l-3.501-4.772c0-.001-.002-.001-.002-.003a.312.312 0 01.503-.369l.001.003c.023.03.046.06.071.089l.649.739c.279.318.696.493 1.172.493.056 0 .11-.003.165-.009l.056-.007c.037-.004.075-.008.114-.015l.047-.01.018-.004.106-.023.068-.019a2.276 2.276 0 00.257-.093l.047-.019c.044-.02.087-.043.13-.067l.053-.028c.011-.006.024-.013.035-.022l.058-.037a2.329 2.329 0 00.099-.067l.04-.03c.035-.027.07-.052.104-.081l18.198-15.213a.314.314 0 01.45.055l3.504 4.775a.313.313 0 01-.052.425l-18.23 15.246c-.03.023-.059.045-.09.066l-.04.029-.05.038a1.955 1.955 0 01-.095.062l-.052.032a.92.92 0 01-.058.036c-.006.005-.011.007-.017.01a.658.658 0 01-.044.022l-.013.006c-.055.029-.11.058-.166.085l-.017.008-.044.018c-.075.032-.15.061-.225.086-.013.006-.03.011-.045.017l-.046.012-.015.004-.087.024c-.046.011-.09.022-.137.031l-.015.002-.07.014c-.05.009-.1.016-.148.021l-.018.003a1.864 1.864 0 01-.27.017zm-4.003-4.825l2.112 2.877c.022.031.047.061.072.091l.648.739c.311.355.8.531 1.338.486l.054-.007a1.482 1.482 0 00.161-.025l.017-.003a1.73 1.73 0 00.105-.024c.023-.005.045-.012.068-.018l.048-.012a.295.295 0 01.034-.014c.059-.02.118-.042.177-.068.01-.006.023-.01.036-.014l.01-.004c.045-.021.089-.045.133-.068a.296.296 0 01.035-.018l.01-.006c.002-.003.006-.004.01-.005l.034-.021.065-.041a.622.622 0 00.057-.036l.033-.025.053-.04.063-.047.027-.022 17.974-15.025-3.132-4.271L31.99 96.633c-.044.037-.089.071-.135.105l-.03.023c-.017.013-.032.025-.049.036-.033.023-.067.043-.1.064l-.048.03c-.021.015-.042.027-.063.04-.017.01-.033.018-.05.026l-.018.01c-.054.029-.11.058-.165.084-.016.007-.03.014-.047.02l-.016.007a2.6 2.6 0 01-.554.173l-.015.003c-.022.004-.046.01-.068.013-.05.008-.099.015-.149.02l-.02.003a2.429 2.429 0 01-.772-.035z"}),s.jsx("path",{fill:"#98A2B3",d:"M76.699 64.414a12.649 12.649 0 00-.367-1.639 12.218 12.218 0 00-2.544-4.642c-2.59-2.951-6.367-4.426-10.378-4.426-2.39 0-4.861.522-7.216 1.57a19.487 19.487 0 00-4.58 2.862c-6.318 5.28-8.203 13.503-4.815 19.405l-18.2 15.216c-.956.797-1.162 2.093-.462 2.894l.65.74c.35.4.863.6 1.405.6a2.51 2.51 0 001.597-.6l18.198-15.212a13.02 13.02 0 001.885 1.193c2.022 1.046 4.33 1.57 6.721 1.57 3.214 0 6.576-.944 9.6-2.838.753-.47 1.482-.999 2.249-1.639 2.293-1.935 3.996-4.255 5.068-6.71.234-.537.443-1.087.616-1.638.713-2.231.911-4.53.573-6.706zm-9.481 11.503c-2.343 1.96-5.16 2.937-7.82 2.937s-5.165-.979-6.881-2.937c-3.438-3.917-2.425-10.264 2.26-14.178 2.342-1.96 5.16-2.938 7.82-2.938s5.164.98 6.88 2.938a8.34 8.34 0 01.754 1.008 8.029 8.029 0 011.056 2.54c.375 1.62.281 3.364-.258 5.056a11.476 11.476 0 01-1.11 2.438 12.45 12.45 0 01-2.701 3.136z"}),s.jsx("path",{fill:"#F9FAFB",d:"M30.192 97.307c-.659 0-1.242-.251-1.64-.708l-.65-.74a2.048 2.048 0 01-.486-1.52c.055-.68.412-1.344.982-1.82L46.4 77.471c-1.585-2.903-1.989-6.42-1.136-9.936.882-3.635 3.066-7.057 6.151-9.636a19.8 19.8 0 014.654-2.907c2.347-1.045 4.886-1.597 7.343-1.597 4.278 0 8.048 1.61 10.613 4.533a12.492 12.492 0 012.61 4.76c.16.543.286 1.106.375 1.677.344 2.207.141 4.577-.584 6.85a16.681 16.681 0 01-.627 1.668c-1.123 2.569-2.906 4.927-5.155 6.824a20.11 20.11 0 01-2.284 1.664c-3.014 1.887-6.39 2.886-9.766 2.886-2.46 0-4.833-.556-6.864-1.606A13.36 13.36 0 0150 81.58L31.989 96.633a2.817 2.817 0 01-1.797.674zM63.41 54.019c-2.37 0-4.82.534-7.089 1.544a19.182 19.182 0 00-4.507 2.815c-6.13 5.123-8.126 13.12-4.744 19.01a.313.313 0 01-.071.395L28.799 93c-.442.37-.72.875-.76 1.389-.032.401.086.777.333 1.06l.649.738c.279.32.694.495 1.17.495.495 0 .992-.188 1.398-.528l18.198-15.211a.313.313 0 01.39-.009c.583.443 1.2.835 1.84 1.164 1.941 1.005 4.216 1.536 6.577 1.536 3.257 0 6.52-.965 9.434-2.79.751-.47 1.476-.997 2.213-1.614 2.175-1.833 3.898-4.114 4.983-6.594.234-.536.437-1.077.605-1.607.696-2.184.89-4.453.561-6.565a12.39 12.39 0 00-.357-1.598 11.865 11.865 0 00-2.48-4.525c-2.445-2.786-6.048-4.32-10.142-4.32zm-4.014 25.148c-2.868 0-5.396-1.08-7.117-3.045-1.536-1.75-2.276-4.066-2.086-6.525.234-3.015 1.83-5.968 4.38-8.098 2.323-1.942 5.172-3.011 8.023-3.011 2.868 0 5.396 1.08 7.117 3.044a8.743 8.743 0 01.783 1.046 8.385 8.385 0 011.097 2.637c.385 1.66.293 3.466-.265 5.221a11.584 11.584 0 01-1.14 2.506 12.926 12.926 0 01-2.77 3.215c-2.322 1.94-5.17 3.01-8.022 3.01zm3.2-20.054c-2.704 0-5.411 1.018-7.62 2.865-2.423 2.023-3.94 4.82-4.16 7.668-.177 2.289.51 4.442 1.934 6.064 1.6 1.826 3.961 2.832 6.646 2.832 2.704 0 5.411-1.018 7.62-2.865a12.3 12.3 0 002.637-3.059c.313-.518.582-1.057.803-1.603.101-.25.194-.508.276-.768.524-1.648.611-3.34.252-4.893a7.792 7.792 0 00-1.739-3.41c-1.603-1.826-3.964-2.831-6.649-2.831z"}),s.jsx("path",{fill:"#F7F9FC",d:"M59.778 66.756a.997.997 0 00-.11-.225.974.974 0 00-.103-.14 1.233 1.233 0 00-.94-.4 1.694 1.694 0 00-1.07.401c-.372.31-.575.734-.586 1.14-.008.292.082.574.278.797.235.267.576.402.94.402s.749-.134 1.068-.402c.152-.127.277-.272.371-.429.045-.072.08-.147.113-.225.125-.305.14-.632.039-.92z"}),s.jsx("path",{fill:"#F7F9FC",d:"M58.64 64.293a1.938 1.938 0 00-.373-.639c-.414-.472-1.018-.708-1.659-.708a2.941 2.941 0 00-1.883.707c-1.13.941-1.372 2.472-.544 3.415.037.042.075.082.115.12.405.391.958.586 1.543.586.375 0 .764-.08 1.135-.242.262-.114.515-.27.75-.464.266-.225.486-.48.651-.755.063-.105.118-.212.164-.32l.032-.078c.22-.54.246-1.115.07-1.622z"}),s.jsx("path",{fill:"#DDD",d:"M104.782 105.335H51.517l-2.716-3.702h52.731l3.25 3.702z"}),s.jsx("path",{fill:"#F9FAFB",d:"M104.782 105.647H51.518a.308.308 0 01-.252-.128l-2.716-3.701a.31.31 0 01-.026-.326.31.31 0 01.279-.171h52.73c.09 0 .175.039.235.107l3.25 3.701c.08.092.1.224.05.335a.317.317 0 01-.286.183zm-53.107-.625h52.415l-2.701-3.076H49.417l2.258 3.076z"}),s.jsx("path",{fill:"#DDD",d:"M98.215 62.775c.47 0 .792.367.72.82-.073.452-.512.819-.981.819H76.698a12.81 12.81 0 00-.365-1.639h21.882z"}),s.jsx("path",{fill:"#DDD",d:"M97.954 64.726H76.7a.312.312 0 01-.309-.265 12.214 12.214 0 00-.357-1.599.309.309 0 01.05-.275.31.31 0 01.25-.125h21.884c.319 0 .614.131.806.357.192.225.271.518.221.825-.097.607-.663 1.082-1.29 1.082zm-20.99-.625h20.99c.317 0 .625-.254.672-.555a.392.392 0 00-.079-.321.423.423 0 00-.332-.138H76.743c.088.335.161.674.22 1.014zM99.547 54.43c.471 0 .792.366.72.82-.073.451-.512.818-.981.818H76.94c-.47 0-.79-.367-.718-.818.072-.453.51-.82.98-.82h22.345z"}),s.jsx("path",{fill:"#DDD",d:"M99.286 56.38H76.94c-.32 0-.613-.129-.806-.355a1.004 1.004 0 01-.22-.824c.097-.607.662-1.083 1.287-1.083h22.346c.32 0 .614.13.807.357.191.225.271.518.221.825-.096.606-.663 1.08-1.29 1.08zM77.2 54.742c-.315 0-.622.255-.67.557a.391.391 0 00.078.32.423.423 0 00.33.136h22.347c.316 0 .625-.254.672-.555a.392.392 0 00-.08-.32.423.423 0 00-.331-.138H77.2zM94.222 87.815c.471 0 .792.367.72.818-.073.453-.511.821-.982.821H60.997c-.468 0-.79-.366-.718-.82.072-.452.511-.819.98-.819h32.963z"}),s.jsx("path",{fill:"#DDD",d:"M93.961 89.767H60.997c-.318 0-.61-.13-.804-.356a1.004 1.004 0 01-.22-.826c.096-.607.662-1.082 1.287-1.082h32.962c.32 0 .614.13.807.357.192.225.27.516.22.823-.095.607-.662 1.084-1.288 1.084zm-32.703-1.64c-.315 0-.622.255-.67.556a.395.395 0 00.079.323.419.419 0 00.329.137H93.96c.316 0 .625-.255.672-.557a.39.39 0 00-.08-.32.423.423 0 00-.331-.137H61.258v-.001z"}),s.jsx("path",{fill:"#DDD",d:"M80.201 69.189c-.025-.16-.053-.32-.083-.478l-.008-.046-.02-.089c-.026-.129-.056-.258-.086-.386-.011-.047-.022-.096-.035-.143a14.558 14.558 0 00-.133-.496c-.065-.223-.14-.444-.218-.663-.01-.028-.017-.056-.028-.084-.01-.029-.023-.057-.033-.085a11.396 11.396 0 00-.553-1.268c-.013-.023-.022-.047-.033-.07-.017-.034-.038-.067-.055-.1a16.26 16.26 0 00-.219-.4c-.032-.055-.061-.11-.094-.164a11.61 11.61 0 00-.337-.536v-.003c-.1-.147-.2-.293-.306-.438l-3.503-4.775a12.034 12.034 0 01.644.977l.095.164a16.362 16.362 0 01.308.57c.104.205.203.412.294.621l.021.053a11.536 11.536 0 01.297.761 12.302 12.302 0 01.47 1.69 11.138 11.138 0 01.111.614c.339 2.175.14 4.473-.57 6.707a16.401 16.401 0 01-.619 1.64c-.048.11-.1.22-.15.33-.04.086-.08.172-.122.258l-.104.214c-.043.086-.088.17-.132.257a11.944 11.944 0 01-.253.467l-.117.206-.151.256-.112.186c-.134.215-.271.43-.414.64l-.087.127a17.85 17.85 0 01-.902 1.204l-.11.135c-.15.18-.304.36-.463.537l-.075.082a18.882 18.882 0 01-1.029 1.053l-.27.249c-.048.044-.096.09-.146.134-.142.127-.285.25-.43.374a20.29 20.29 0 01-1.082.844l-.084.063a21.276 21.276 0 01-1.082.73c-.209.13-.418.256-.63.377-.056.032-.112.06-.167.093-.186.104-.373.205-.56.303l-.213.11a18.01 18.01 0 01-.62.298c-.038.017-.074.035-.112.051-.048.023-.098.043-.147.064-.136.06-.272.12-.41.175l-.204.082c-.12.047-.24.095-.36.14-.072.028-.145.055-.217.081-.118.043-.236.083-.355.124a9.937 9.937 0 01-.218.072c-.097.032-.195.06-.293.091a16.404 16.404 0 01-.997.275 16.845 16.845 0 01-1.56.308c-.123.019-.247.036-.37.052l-.267.035c-.13.015-.257.026-.385.037-.083.007-.168.017-.251.023-.142.01-.282.018-.422.025-.071.004-.14.008-.212.01-.21.01-.42.013-.63.013-2.39 0-4.697-.523-6.721-1.57a12.644 12.644 0 01-1.885-1.195l3.503 4.775c.593.454 1.224.851 1.885 1.194 2.022 1.048 4.33 1.571 6.72 1.571.209 0 .419-.004.63-.012.07-.003.14-.009.21-.011.141-.007.283-.014.423-.025l.25-.023c.13-.01.257-.023.386-.037.09-.01.178-.022.267-.033.124-.017.247-.032.37-.052l.277-.044.363-.064c.093-.018.187-.036.28-.056.12-.025.24-.05.358-.077a16.81 16.81 0 00.918-.235l.362-.107.18-.053.113-.037.218-.073c.118-.04.236-.08.354-.123l.218-.08c.12-.045.24-.092.36-.141l.204-.082c.137-.057.273-.115.41-.175.048-.022.098-.042.147-.064a.206.206 0 01.026-.011c.028-.013.056-.028.084-.04a18.01 18.01 0 001.393-.711c.04-.023.08-.042.12-.066.014-.008.031-.02.046-.027.211-.121.422-.246.63-.377.213-.133.423-.272.633-.415l.057-.038c.13-.09.262-.183.393-.277l.084-.063c.167-.122.334-.247.5-.378l.038-.029c.089-.07.18-.14.268-.214a19.263 19.263 0 00.703-.598l.146-.134c.09-.083.182-.165.27-.25l.014-.012c.017-.015.032-.032.048-.047.148-.142.293-.287.436-.43l.135-.14c.134-.14.266-.28.395-.423l.059-.063.015-.018c.158-.178.312-.357.462-.537l.11-.134c.132-.162.263-.326.388-.492.013-.019.03-.037.044-.056l.013-.017c.158-.211.31-.424.458-.639l.086-.125c.143-.213.282-.426.415-.642l.027-.04.086-.146c.051-.084.101-.17.151-.255l.117-.207.14-.256.111-.21a8.98 8.98 0 00.13-.258c.037-.07.072-.142.106-.214l.123-.258c.016-.038.036-.074.052-.111l.098-.22c.237-.54.444-1.087.618-1.639.72-2.237.92-4.534.58-6.712z"}),s.jsx("path",{fill:"#F9FAFB",d:"M62.094 89.035c-2.46 0-4.833-.556-6.864-1.607a13.081 13.081 0 01-1.931-1.224.303.303 0 01-.063-.064l-3.503-4.775a.313.313 0 01.442-.433c.57.438 1.189.83 1.839 1.165 1.941 1.006 4.215 1.536 6.576 1.536.196 0 .404-.004.618-.012.04-.001.08-.004.12-.007l.087-.006c.14-.007.277-.014.416-.025.054-.004.108-.01.16-.013l.085-.009c.13-.01.255-.023.378-.037.065-.007.13-.017.196-.025l.068-.009a16.852 16.852 0 00.607-.09l.028-.004c.118-.02.237-.04.355-.063l.277-.055c.116-.024.234-.05.351-.077.093-.02.185-.043.278-.065.117-.029.235-.058.351-.09l.275-.075c.118-.033.236-.07.354-.106l.04-.012c.083-.025.166-.052.248-.078l.214-.07c.116-.04.232-.08.348-.123.071-.026.143-.051.214-.08.118-.044.236-.09.354-.137l.055-.02.147-.059c.135-.055.268-.114.403-.172l.063-.028c.027-.01.055-.023.081-.035l.108-.05a18.639 18.639 0 001.371-.698l.068-.038.096-.052a16.582 16.582 0 001.242-.78c.147-.101.296-.204.443-.31l.083-.062c.18-.132.342-.254.493-.372l.038-.03c.187-.148.362-.29.532-.431.143-.121.283-.243.422-.367l.086-.079.094-.086c.077-.07.155-.14.23-.211l.062-.06c.14-.135.28-.272.43-.424l.133-.137c.132-.138.262-.276.389-.417l.073-.079c.147-.164.296-.337.456-.53l.108-.131c.138-.168.263-.326.38-.483l.058-.073c.144-.191.291-.397.45-.627l.084-.124c.145-.212.28-.425.407-.63l.096-.157.014-.024.149-.251c.034-.06.068-.12.1-.18l.015-.025.139-.251.11-.207c.042-.083.085-.168.129-.251l.102-.21.12-.253.012-.029c.046-.099.092-.197.135-.296.235-.536.44-1.076.607-1.608.696-2.184.889-4.453.56-6.565a11.271 11.271 0 00-.082-.467l-.028-.133a11.506 11.506 0 00-.083-.377l-.035-.142a12.175 12.175 0 00-.343-1.13l-.06-.164c-.08-.212-.154-.401-.23-.578l-.021-.051a11.148 11.148 0 00-.374-.772c-.07-.13-.14-.26-.214-.39l-.029-.05-.064-.109a11.675 11.675 0 00-.628-.951.312.312 0 01.503-.37l.001.002 3.502 4.773a12.91 12.91 0 01.661 1.002c.024.038.044.077.067.115l.029.051c.078.136.153.273.225.41l.02.036.035.067c.009.015.016.032.023.047l.01.025c.119.233.217.442.303.639l.023.053c.082.191.16.39.243.61l.01.029c.01.019.018.038.025.06.007.017.012.037.018.056l.01.03a11.728 11.728 0 01.359 1.185l.028.114.008.034c.032.132.061.264.088.396l.008.034.013.056.008.048c.034.181.062.34.086.49.343 2.21.143 4.577-.582 6.85a16.635 16.635 0 01-.73 1.892l-.031.068-.022.046a14.23 14.23 0 01-.23.48 11.92 11.92 0 01-.248.476l-.143.26-.021.037a9.74 9.74 0 01-.253.433l-.036.06c-.017.03-.035.058-.051.088l-.02.03c-.139.224-.28.443-.429.663l-.087.126c-.166.24-.319.453-.467.65l-.058.076c-.123.16-.255.33-.395.5l-.014.018-.097.119c-.165.198-.318.377-.47.547l-.017.02a.915.915 0 01-.037.038l-.023.025c-.132.145-.266.288-.402.43l-.137.14c-.154.158-.3.3-.443.438l-.017.017a9.64 9.64 0 00-.032.032l-.012.011c-.078.074-.157.146-.236.218l-.096.09-.093.084a19.541 19.541 0 01-.986.823l-.038.031c-.158.124-.325.25-.508.383l-.086.064a23.375 23.375 0 01-.438.309l-.02.013a18.483 18.483 0 01-1.283.806l-.05.03-.072.038a19.12 19.12 0 01-1.465.747l-.032.016c-.018.008-.036.018-.054.025l-.02.008-.098.043-.059.025c-.138.061-.277.12-.416.178l-.149.06-.058.023c-.122.049-.245.096-.367.142l-.22.082-.36.126-.221.074-.047.015-.069.022c-.036.011-.072.022-.11.032l-.073.022a18.815 18.815 0 01-.65.186c-.122.032-.243.064-.365.093-.095.024-.19.046-.286.069a17.79 17.79 0 01-.365.079 15.73 15.73 0 01-.656.122l-.032.005c-.083.014-.165.028-.249.04-.126.02-.251.037-.377.052l-.069.008c-.067.009-.136.018-.202.025-.13.016-.261.027-.392.04l-.083.008-.174.015c-.144.011-.287.018-.43.025l-.081.004a10.9 10.9 0 01-.767.024zm-8.379-3.3a12.43 12.43 0 001.804 1.137c1.942 1.006 4.216 1.536 6.577 1.536a16.05 16.05 0 00.739-.02l.086-.005c.139-.007.276-.013.415-.025l.163-.014.084-.008c.128-.01.253-.023.38-.037l.193-.024.069-.01c.12-.015.243-.032.364-.05.079-.012.16-.025.239-.039l.032-.005c.12-.02.237-.04.355-.063l.277-.055a20.067 20.067 0 00.63-.142l.352-.09c.091-.025.183-.049.273-.075.118-.033.236-.07.354-.106l.084-.025.093-.027.11-.038a17.076 17.076 0 00.561-.192c.072-.026.144-.051.215-.079.118-.044.236-.09.354-.137l.06-.024.14-.055c.135-.056.27-.114.403-.173l.064-.027.08-.035.061-.028.049-.024c.198-.091.404-.19.611-.293a21.557 21.557 0 00.761-.404l.063-.033.054-.03.046-.027a18.234 18.234 0 001.243-.78l.055-.035c.13-.09.259-.18.388-.274l.084-.062c.178-.131.34-.252.492-.373l.038-.03.264-.21a19.304 19.304 0 00.69-.587c.029-.025.057-.052.083-.077l.1-.092c.075-.069.152-.137.225-.208a.08.08 0 01.011-.01l.052-.05a17.113 17.113 0 00.562-.56c.132-.138.263-.277.389-.417l.074-.08a18.896 18.896 0 00.548-.644l.016-.018c.134-.165.263-.33.382-.483l.056-.074c.143-.189.29-.394.45-.626l.084-.123c.144-.212.28-.425.408-.63l.025-.039.046-.078.039-.065.148-.25c.032-.056.064-.111.095-.168l.02-.038c.046-.083.094-.166.138-.25a14.79 14.79 0 00.238-.458l.104-.211.12-.253.052-.11.096-.213c.236-.538.44-1.078.607-1.609.696-2.183.889-4.453.56-6.565a12.975 12.975 0 00-.082-.465l-.027-.132a16.316 16.316 0 00-.083-.377l-.008-.034-.025-.106a11.436 11.436 0 00-.343-1.13l-.017-.05-.01-.031-.012-.03-.021-.052a12.056 12.056 0 00-.23-.578l-.022-.051c-.08-.186-.175-.385-.287-.607l-.022-.046-.011-.025a13.258 13.258 0 00-.267-.486l-.03-.054a11.045 11.045 0 00-.389-.628c-.002-.001-.003-.004-.005-.007a13.32 13.32 0 00-.296-.422l-1.195-1.63a12.852 12.852 0 01.261.9l.036.146c.03.132.06.263.087.395l.03.139c.034.178.062.337.086.49.343 2.208.141 4.577-.582 6.85a16.382 16.382 0 01-.63 1.67c-.045.102-.094.205-.141.308l-.013.028-.123.262-.107.218-.133.261-.113.214c-.047.088-.096.174-.145.261l-.013.025a12.525 12.525 0 01-.26.446l-.014.024-.1.165c-.13.213-.272.432-.422.653l-.088.128c-.164.239-.316.451-.466.65l-.059.075c-.123.162-.252.326-.394.5l-.113.136c-.163.198-.318.376-.47.546l-.077.082a23.629 23.629 0 01-.54.572 18.55 18.55 0 01-.443.437l-.064.063-.238.22-.09.082c-.032.03-.062.059-.094.087a19.541 19.541 0 01-.988.823l-.037.03c-.157.123-.324.25-.509.384l-.086.064a21.1 21.1 0 01-1.1.743c-.197.124-.407.249-.64.383l-.106.059-.063.036a18.867 18.867 0 01-1.417.72l-.049.023-.064.03-.091.04-.06.026c-.139.06-.278.12-.417.178l-.155.062-.053.02c-.122.05-.243.097-.367.142l-.222.082a17.86 17.86 0 01-.58.2l-.26.08-.04.01a18.815 18.815 0 01-1.666.427 17.24 17.24 0 01-.655.122l-.028.004-.254.042c-.127.02-.252.036-.377.052l-.066.008c-.07.01-.138.018-.206.026-.129.016-.258.027-.387.04l-.087.008a7.906 7.906 0 01-.173.015c-.143.01-.286.018-.43.025l-.081.004a17.27 17.27 0 01-.775.02c-2.461 0-4.834-.556-6.864-1.608-.154-.079-.306-.162-.456-.247l2.446 3.33zM120.843 90.037a2.067 2.067 0 100-4.134 2.067 2.067 0 000 4.134zM33.935 82.412a2.067 2.067 0 100-4.133 2.067 2.067 0 000 4.133zM34.97 84.083a.728.728 0 100-1.455.728.728 0 000 1.455zM45.217 56.42a2.067 2.067 0 100-4.134 2.067 2.067 0 000 4.133zM47.632 53.008a.728.728 0 100-1.455.728.728 0 000 1.455z"}),s.jsx("path",{fill:"#EEE",d:"M126.15 45.536a3.556 3.556 0 10-.001-7.11 3.556 3.556 0 00.001 7.11z"}),s.jsx("path",{fill:"#F9FAFB",d:"M122.594 40.225a1.693 1.693 0 100-3.386 1.693 1.693 0 000 3.386z"})]})}var go=typeof p.commonjsGlobal=="object"&&p.commonjsGlobal&&p.commonjsGlobal.Object===Object&&p.commonjsGlobal,yo=typeof self=="object"&&self&&self.Object===Object&&self;go||yo||Function("return this")();function vo(e){const[t,r]=j.useState(!!e),n=j.useCallback(()=>{r(!0)},[]),o=j.useCallback(()=>{r(!1)},[]),i=j.useCallback(()=>{r(a=>!a)},[]);return{value:t,setValue:r,setTrue:n,setFalse:o,toggle:i}}function xo(e){var t;return s.jsxs(N.Dialog,{...e.dialogProps,open:e.open,children:[!e.hideTitle&&s.jsxs(N.DialogTitle,{component:N.Stack,sx:{...e.titleProps,textAlign:"center"},children:[typeof e.title=="string"?s.jsx(N.Typography,{variant:"h4",children:e.title}):e.title,typeof e.subTitle=="string"?s.jsx(N.Typography,{color:"success.main",variant:"body1",...e.subTitleProps,children:e.subTitle}):e.subTitle]}),s.jsx(N.DialogContent,{sx:{...e.contentProps,overflowY:e.fixOverflow?"unset":void 0},children:e.desc}),!(e.hideClose&&e.hideConfirm)&&s.jsx(N.DialogActions,{...e.dialogActionsProps,sx:{display:"flex",justifyContent:"space-between","& button":{minWidth:e.minWidthButton||200},px:3,pb:3,...(t=e.dialogActionsProps)==null?void 0:t.sx},children:e.customActions?e.customActions:s.jsxs(s.Fragment,{children:[!e.hideClose&&s.jsx(N.Button,{color:"error",onClick:e.onClose,children:"Close"}),!e.hideConfirm&&s.jsx(N.Button,{color:"primary",onClick:e.onConfirm,children:"Submit"})]})})]})}function bo(e){const t=vo(typeof e=="boolean"?e:void 0);return{setTrue:t.setTrue,open:t.value,onClose:t.setFalse,onConfirm:typeof e!="boolean"?e==null?void 0:e.onConfirm:void 0}}function _o({rootPath:e}){return s.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"100vw",height:"100vh",alignItems:"center",justifyContent:"center"},children:[s.jsx("h1",{children:"404 - Not Found"}),s.jsx("p",{children:"Sorry, the page you are looking for does not exist."}),s.jsx(N.Box,{height:"16px"}),s.jsx(on.Link,{to:e,children:s.jsx(N.Button,{variant:"contained",color:"primary",children:"Go to Home"})})]})}const So=()=>{const{t:e}=p.useTranslation();return s.jsx("div",{className:"unauth__container "+p.styles["page-container"],children:s.jsxs("div",{className:"unauth__main-content "+p.styles["page-main-content"],children:[s.jsx(wo,{}),s.jsxs("div",{className:"unauth__main-text",children:[s.jsx("h2",{className:"unauth__main-text__title "+p.styles["page-title"],children:e("components.unauthorizedPage.title")}),s.jsxs("p",{className:"unauth__main-text__desc "+p.styles["text-base"],children:[e("components.unauthorizedPage.description1")," ",s.jsx("br",{})," ",e("components.unauthorizedPage.description2")]})]})]})})},wo=()=>s.jsxs("svg",{width:"61",height:"60",viewBox:"0 0 61 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsxs("g",{filter:"url(#filter0_d_10800_50471)",children:[s.jsx("rect",{x:"2.5",y:"1",width:"56",height:"56",rx:"28",fill:"white"}),s.jsx("path",{d:"M24.6667 27.833V23.1663C24.6667 21.6192 25.2812 20.1355 26.3752 19.0416C27.4692 17.9476 28.9529 17.333 30.5 17.333C32.0471 17.333 33.5308 17.9476 34.6248 19.0416C35.7188 20.1355 36.3333 21.6192 36.3333 23.1663V27.833M22.3333 27.833H38.6667C39.9553 27.833 41 28.8777 41 30.1663V38.333C41 39.6217 39.9553 40.6663 38.6667 40.6663H22.3333C21.0447 40.6663 20 39.6217 20 38.333V30.1663C20 28.8777 21.0447 27.833 22.3333 27.833Z",stroke:"#292929","stroke-width":"2.33333","stroke-linecap":"round","stroke-linejoin":"round"})]}),s.jsx("defs",{children:s.jsxs("filter",{id:"filter0_d_10800_50471",x:"0.5",y:"0",width:"60",height:"60",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB",children:[s.jsx("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),s.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),s.jsx("feOffset",{dy:"1"}),s.jsx("feGaussianBlur",{stdDeviation:"1"}),s.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.05 0"}),s.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_10800_50471"}),s.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_10800_50471",result:"shape"})]})})]});function he(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function an(e){if(!he(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=an(e[r])}),t}function le(e,t,r={clone:!0}){const n=r.clone?p._extends({},e):e;return he(e)&&he(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(he(t[o])&&o in e&&he(e[o])?n[o]=le(e[o],t[o],r):r.clone?n[o]=he(t[o])?an(t[o]):t[o]:n[o]=t[o])}),n}const Eo=Object.freeze(Object.defineProperty({__proto__:null,default:le,isPlainObject:he},Symbol.toStringTag,{value:"Module"}));function Ue(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const Co=Object.freeze(Object.defineProperty({__proto__:null,default:Ue},Symbol.toStringTag,{value:"Module"}));var Ft={exports:{}},I={};/**
32
+ `}),s.jsxs("div",{className:"tab-container",children:[s.jsx("div",{style:{display:"flex",width:"100%",height:"50px",borderBottom:`1px solid ${m.color.grey200}`},className:"tab-container__title",children:t.map((i,a)=>s.jsx("button",{id:i.id,disabled:e.currentTab===`${i.id}`,onClick:r,className:`tab-title ${e.currentTab===`${i.id}`?"is-active":""}`,children:i.tabTitle},a))}),s.jsx("div",{className:"tab-content",children:t.map((i,a)=>s.jsx("div",{children:e.currentTab===`${i.id}`&&s.jsx("div",{children:i.children})},a))})]})]})},eo=e=>s.jsx(m.Q,{autoClose:3e3,hideProgressBar:!0,closeButton:!1,position:"bottom-left",newestOnTop:!0,pauseOnFocusLoss:!1,style:{fontFamily:"inherit"},...e}),to=e=>s.jsx(m.Q,{autoClose:3e3,hideProgressBar:!0,closeButton:!1,position:"bottom-left",newestOnTop:!0,pauseOnFocusLoss:!1,style:{fontFamily:"inherit",width:"610px"},containerId:"toastifyNotification",...e}),Kt=({baseUrl:e,notiPath:t,setNotiData:r})=>{const n=m.getAxiosInstance({config:{withCredentials:!0,baseURL:e}});return async()=>{var p;const a=e+(t||"/notification-management/api/v1/notifications"),d=(p=(await n.get(a,{params:{filter:{notificationFilterType:"all"}},withCredentials:!0})).data)==null?void 0:p.rows,f=d==null?void 0:d.filter(h=>h.isRead===!1);r({all:{rows:d??[],total:(d==null?void 0:d.length)??0},unread:{rows:f??[],total:(f==null?void 0:f.length)??0}})}},ro=({notification:e,baseUrl:t,notiPath:r,markAllAsReadState:n,brandColors:o})=>{var x;const[i,a]=j.useState(!1),[l,d]=j.useState({id:e.id,isRead:e.isRead}),f=l.isRead===!1?"unread":"read",p={borderColor:l.isRead?"#c5c5c5":(o==null?void 0:o.primary500)||m.color.primary500,backgroundColor:l.isRead?"#c5c5c5":(o==null?void 0:o.primary500)||m.color.primary500},{setNotiData:h}=j.useContext(m.CustomOpenList),y=Kt({baseUrl:t,notiPath:r,setNotiData:h}),b=async(_,w)=>{var C,g;try{const S=r||`/notification-management/api/v1/notifications/${_}`,E=t+S;await Gt.put(E,{isRead:w},{withCredentials:!0})}catch(S){d({id:e.id,isRead:e.isRead}),m.pushError(((g=(C=S.response)==null?void 0:C.data)==null?void 0:g.errorMessage)||"Have error when get notification list")}await y()},v=(_,w)=>{console.log("specificNotificationID",_);const C=!w;d(g=>({...g,isRead:C})),console.log("newIsReadState",C),b(_,C)};j.useEffect(()=>{d(n?_=>({..._,isRead:!0}):{id:e.id,isRead:e.isRead})},[n,e.id,e.isRead]);const c=()=>{a(!i)},u=_=>{const w=K(),C=K(_),g=w.diff(C,"days"),S=w.diff(C,"minutes"),E=w.diff(C,"months"),$=w.diff(C,"years");if(console.log("diffInMonths",E),S<1)return"Just now";if(g===0){if(S<=60)return`${S} minute${S>1?"s":""} ago`;const k=Math.floor(S/60);return console.log("diffIhours",k),`${k} hour${k>1?"s":""} ago`}if(g===1)return"Yesterday";if(g>=2&&g<7)return`${g} days ago`;if(g<30){const k=Math.floor(g/7);return`${k} week${k>1?"s":""} ago`}return E===0||E===1?"1 month ago":E<12?`${E} months ago`:$===0||$===1?"1 year ago":"Over 1 year ago"};return s.jsx(s.Fragment,{children:s.jsxs("div",{className:"notitification-item__container",children:[s.jsx("div",{className:"notification-item__image-container",children:s.jsx("img",{src:!e.actorAvatarUrl||e.actorName==="System"?"https://ukpcsaprod.blob.core.windows.net/account/logo.png":e.actorAvatarUrl,onError:({currentTarget:_})=>{console.log("img on error",_),_.onerror=null,_.src="https://ukpcsaprod.blob.core.windows.net/account/logo.png"},alt:e.actorName})}),s.jsxs("div",{style:{width:"100%"},children:[s.jsxs("div",{className:"notification-item__content-wrapper",children:[s.jsxs("div",{className:"notification-item__content",children:[s.jsx("p",{className:"notification-item__user-name",children:e.actorName}),s.jsxs("p",{children:[`${e.message} `,s.jsx("span",{children:e==null?void 0:e.context})]}),(e==null?void 0:e.notificationType)==="deleteMultiple"&&s.jsxs("button",{style:{color:m.color.primary400,textDecoration:"underline"},onClick:c,children:[i?"Hide":"Show "," details"]})]}),s.jsx("div",{className:"notification-item__time",children:s.jsx("p",{children:u(e.createdAt)})}),s.jsx("button",{className:`${f} notification-item__read-at`,"aria-label":"Mark as read",style:p,onClick:()=>v(e.id,e.isRead)})]}),i&&s.jsx("div",{style:{background:"#fff",width:"100%",padding:"8px",fontSize:"12px",marginTop:"8px"},children:s.jsx("ul",{children:(x=e==null?void 0:e.data)==null?void 0:x.map((_,w)=>s.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:"4px"},children:[s.jsx("span",{style:{backgroundColor:m.color.primary400},className:"list-dot"}),s.jsx("span",{style:{width:"calc(100% - 12px)"},children:_.name})]},w))})})]})]})})},mr=({notidata:e,baseUrl:t,notiPath:r,brandColors:n,notiUnreadNumber:o})=>{const[i,a]=j.useState(!1);console.log(i);const{setNotiData:l}=j.useContext(m.CustomOpenList),d=Kt({baseUrl:t,notiPath:r,setNotiData:l}),f=async()=>{var h,y;try{const v=t+(r||"/notification-management/api/v1/notifications");await Gt.put(v,{withCredentials:!0})}catch(b){console.log(b),a(!1),m.pushError(((y=(h=b.response)==null?void 0:h.data)==null?void 0:y.errorMessage)||"Have error when get notification list")}await d(),a(!1)},p=()=>{a(!0),f()};return console.log("notiUnreadNumber",o),s.jsxs("div",{children:[s.jsx("div",{className:"mark-all-read",children:s.jsx("button",{onClick:p,style:{visibility:o===0?"hidden":"visible"},children:"Mark all as read"})}),s.jsx("div",{className:"notification-items__wrapper",children:s.jsx("div",{className:"notification-items__content",children:Object.values(e).map((h,y)=>s.jsx(ro,{notification:h,baseUrl:t,notiPath:r,markAllAsReadState:i,brandColors:n},y))})})]})},no=({baseUrl:e,notiPath:t,brandColors:r})=>{var d,f,p,h;const{setShowModalFalse:n}=j.useContext(m.CustomOpenList),{notidata:o}=j.useContext(m.CustomOpenList);console.log(o);const[i,a]=j.useState("all"),l=[{id:"all",tabTitle:`All (${((d=o==null?void 0:o.all)==null?void 0:d.total)||0})`,children:s.jsx(mr,{notidata:((f=o==null?void 0:o.all)==null?void 0:f.rows)||[],baseUrl:e,notiPath:t,brandColors:r,notiUnreadNumber:o.unread.total})},{id:"unread",tabTitle:`Unread (${((p=o==null?void 0:o.unread)==null?void 0:p.total)||0})`,children:s.jsx(mr,{notidata:((h=o==null?void 0:o.unread)==null?void 0:h.rows)||[],baseUrl:e,notiPath:t,brandColors:r,notiUnreadNumber:o.unread.total})}];return s.jsx(s.Fragment,{children:s.jsx("div",{style:{position:"absolute",backgroundColor:"#fff",width:"550px",height:"90vh",right:"100px",top:"100%",padding:"32px",boxShadow:"10px 0px 20px #999",borderRadius:"0 0 8px 8px",overflow:"hidden"},children:s.jsxs("div",{className:"list-content",children:[s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[s.jsx("h3",{style:{fontSize:"24px",fontWeight:"500",color:m.color.textPrimary},className:"list-title",children:"Notifications"}),s.jsx("button",{onClick:n,children:s.jsx("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M7.05086 6.13616C6.66033 5.74563 6.02717 5.74563 5.63664 6.13616C5.24612 6.52668 5.24612 7.15984 5.63664 7.55037L10.5864 12.5001L5.63664 17.4499C5.24612 17.8404 5.24612 18.4736 5.63664 18.8641C6.02717 19.2546 6.66033 19.2546 7.05086 18.8641L12.0006 13.9143L16.9504 18.8641C17.3409 19.2546 17.974 19.2546 18.3646 18.8641C18.7551 18.4736 18.7551 17.8404 18.3646 17.4499L13.4148 12.5001L18.3646 7.55037C18.7551 7.15984 18.7551 6.52668 18.3646 6.13616C17.974 5.74563 17.3409 5.74563 16.9504 6.13616L12.0006 11.0859L7.05086 6.13616Z",fill:"#85858A"})})})]}),s.jsx(Qn,{tabs:l,setCurrentTab:a,currentTab:i,brandColors:r})]})})})};function Zt({childrenClass:e,action:t,childrenOpenClass:r}){const n=document.querySelector("#topbar-wrapper"),o=n==null?void 0:n.shadowRoot,i=o==null?void 0:o.querySelector(`.${e}`),a=o==null?void 0:o.querySelector(`.${r}`),l=o==null?void 0:o.querySelector("nav"),d=f=>{l==null||l.addEventListener("click",function(p){if(r&&a&&a.contains(p.target)){if(i&&!i.contains(p.target))return}else i&&!i.contains(p.target)&&t()}),n&&!n.contains(f.target)&&t()};document.addEventListener("click",d,!0)}function oo({iconColor:e="#fff",baseUrl:t,notiPath:r,brandColors:n}){var h,y;const{isOpen:o,toggleOpen:i,setShowModalFalse:a}=j.useContext(m.CustomOpenList),{notidata:l,setNotiData:d}=j.useContext(m.CustomOpenList),f=Kt({baseUrl:t,notiPath:r,setNotiData:d}),p=async()=>{var b,v;try{await f()}catch(c){m.pushError(((v=(b=c.response)==null?void 0:b.data)==null?void 0:v.errorMessage)||"Have error when get notification list")}};return j.useEffect(()=>{p()},[o]),j.useEffect(()=>{Zt({childrenClass:"noti-container",childrenOpenClass:"noti-list-container",action(){a()}})}),s.jsxs("div",{children:[s.jsxs("div",{className:"noti-container",style:{position:"relative"},children:[s.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:i,style:{cursor:"pointer",color:e},children:[s.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7968 17.4705C16.5901 17.4705 18.8076 16.8556 19.0218 14.3874C19.0218 11.921 17.4757 12.0796 17.4757 9.05334C17.4757 6.68952 15.2352 4 11.7968 4C8.35833 4 6.1178 6.68952 6.1178 9.05334C6.1178 12.0796 4.57178 11.921 4.57178 14.3874C4.78679 16.8649 7.00428 17.4705 11.7968 17.4705Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),s.jsx("path",{d:"M13.8274 20.0286C12.6679 21.3161 10.8591 21.3313 9.68848 20.0286",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(l==null?void 0:l.unread)&&(l==null?void 0:l.unread.total)!=0&&s.jsx("span",{style:{position:"absolute",top:"-9px",right:"-6px",width:"20px",height:"20px",border:"1px solid #fff",borderRadius:"50%",color:"#fff",fontSize:"12px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:m.color.danger},className:"notification-badge",children:((h=l==null?void 0:l.unread)==null?void 0:h.total)>9?"9+":`${(y=l==null?void 0:l.unread)==null?void 0:y.total}`})]}),s.jsx("div",{className:"noti-list-container",children:!o&&s.jsx(no,{baseUrl:t,notiPath:r,brandColors:n})})]})}const io=`.avatar-dropdown-item{padding:.5rem;font-size:.875rem;line-height:1.25rem;cursor:pointer;border-radius:.25rem}.avartarDropdownMenu{background-color:#fff;padding:.5rem;width:13rem;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);position:absolute;left:-10rem;top:3.2rem}.avartarDropdownMenu ul{list-style:none;padding-inline-start:0;margin-block-end:0}.navbar{position:fixed;display:flex;z-index:30;background:#292929;top:0;width:100%;padding-left:2.5rem;height:64px}.navbar-container{display:flex;flex-direction:row;align-items:center;width:100%;justify-content:space-between}.logo-container{height:100%;display:flex;align-items:center}.right-side-container{display:flex;flex-direction:row;align-items:center;text-align:center;margin-right:2.5rem;gap:1rem}.userContainer{display:flex;align-items:center;gap:.5rem}.languageDropdown{height:100%;padding:0 8px;display:flex;flex-direction:row;gap:8px;border-radius:3px;align-items:center;justify-content:center;height:41px;background-color:#ffffff1a;cursor:pointer;transition:background-color .2s ease-in-out}.languageDropdown:hover{background-color:#fff3}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem}.userAvatar{width:2.5rem;height:2.5rem;-o-object-fit:cover;object-fit:cover;border-radius:9999px;border:2px solid #FFFFFF}#userAvatarNull{width:2.5rem;height:2.5rem;background:#DDDDDD;border-radius:100%;color:#fff;font-size:20px;font-weight:400;display:flex;align-items:center;justify-content:center}.relative{position:relative}.cursor-pointer{cursor:pointer}
33
+ `,ao=`:root{--textPrimary: #292929;--textWhite: #fff;--primary500: #2E7D32;--grey100: #FAFAFA;--gray200: #EEEEEE;--gray600: #85858A;--link: #007BFF }.list-content{overflow-y:auto;overflow-x:hidden}.mark-all-read{text-align:right;color:#007bff;margin-bottom:12px;font-size:12px}.notification-items__wrapper{overflow:hidden}.notification-items__content{height:calc(100vh - 275px);overflow-x:hidden;overflow-y:auto;color:#292929}.notitification-item__container{display:flex;justify-content:space-between;padding:16px;border-bottom:#FAFAFA 1px solid;text-align:left;font-size:12px;position:relative;z-index:10;cursor:pointer;border-radius:4px;margin-bottom:8px}.notitification-item__container:hover{background-color:#fafafa}.notification-item__image-container{width:46px;height:40px;display:flex;justify-content:center;align-items:center;border-radius:50%;overflow:hidden;margin-right:16px}.notification-item__image-container img{width:100%;height:100%;text-align:center;-o-object-fit:cover;object-fit:cover;color:transparent;text-indent:10000px}.notification-item__content-wrapper{width:100%;display:flex;align-items:center;justify-content:space-between}.notification-item__context-link{color:#007bff}.notification-item__content{width:68%;padding-right:16px}.notification-item__user-name{margin-bottom:2px;font-size:14px}.notification-item__time{margin-right:15px;text-align:right}.notification-item__read-at{border-width:2px;border-style:solid;border-radius:50%;width:10px;height:10px;display:block;position:relative}.notification-item__read-at:before{position:absolute;top:-30px;right:0;width:91px;background-color:#85858a;color:#fff;border-radius:4px;font-size:10px;text-align:center;padding:4px;opacity:0;visibility:hidden;transition:all .3s cubic-bezier(.39,.575,.565,1)}.notification-item__read-at:hover:before{opacity:1;visibility:visible}.notification-item__read-at.read:before{content:"Mark as unread"}.notification-item__read-at.unread:before{content:"Mark as read"}.notification-item__read-at.read{border-color:#eee}.notification-item__read-at.unread{border-color:#2e7d32;background-color:#2e7d32}.list-dot{border-radius:50%;width:8px;height:8px;margin-right:4px;display:block}
34
+ `,so=`._notification-massage_container_ql4az_1{background:#fff;padding:0 64px 0 84px;border-radius:8px;font-family:TT Firs Neue Trl,sans-serif}._notification-massage_container_ql4az_1:before{position:absolute;content:"";width:48px;height:48px;background:url(https://ukpcsaprod.blob.core.windows.net/saas/notification-icon.svg) no-repeat center/100%;top:12px;left:24px}._notification-name_ql4az_18{font-weight:500;font-size:14px}._notification-message_service_ql4az_23{font-size:12px}._notification-message_button-close_ql4az_27{position:absolute;top:12px;right:24px;width:24px;height:24px}
35
+ `,co=`._subscription-diaglog_1bysb_2{position:fixed;width:100vw;height:100vh;top:0;left:0;background-color:#0006;z-index:10000;display:flex;align-items:center;justify-content:center}._subscription-container_1bysb_15{width:610px;height:222px;border-radius:8px;padding:32px 24px 40px;background:#fff;color:#292929}._subscription-title_1bysb_25{font-size:20px;font-weight:500;text-align:center;color:#292929}._subscription-title_1bysb_25,._subscription-text_1bysb_34{margin-bottom:24px}._subscription-btn__container_1bysb_38{display:flex;justify-content:space-between;align-items:center}._btn-success_1bysb_44,._btn-cancel_1bysb_45{width:150px;height:40px;display:flex;align-items:center;justify-content:center;padding:8px;color:#292929;border-radius:1px;transition:background-color .25s cubic-bezier(.4,0,.2,1) 0ms,box-shadow .25s cubic-bezier(.4,0,.2,1) 0ms,border-color .25s cubic-bezier(.4,0,.2,1) 0ms,color .25s cubic-bezier(.4,0,.2,1) 0ms}._btn-cancel_1bysb_45{background-color:#ddd}._btn-cancel_1bysb_45:hover{background-color:#c5c5c5}._btn-success_1bysb_44{background-color:#93d500}._btn-success_1bysb_44:hover{background-color:#2e7d32}
36
+ `;function lo(e){return s.jsxs("svg",{width:"34",height:"25",viewBox:"0 0 34 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[s.jsxs("g",{"clip-path":"url(#clip0_16865_28134)",children:[s.jsx("rect",{y:"0.5",width:"34",height:"24",rx:"3",fill:"#1A47B8"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.61691 0.5H0V4.5L30.3635 24.5L34 24.5V20.5L3.61691 0.5Z",fill:"white"}),s.jsx("path",{d:"M1.20635 0.5L34 22.1567V24.5H32.8219L0 2.82089V0.5H1.20635Z",fill:"#F93939"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M30.7619 0.5H34V4.5C34 4.5 12.9683 17.8249 3.2381 24.5H0V20.5L30.7619 0.5Z",fill:"white"}),s.jsx("path",{d:"M34 0.5H32.9019L0 22.1753V24.5H1.20635L34 2.83842V0.5Z",fill:"#F93939"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.3648 0.5H21.6635V7.90291H34V17.0922H21.6635V24.5H12.3648V17.0922H0V7.90291H12.3648V0.5Z",fill:"white"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.3158 0.5H19.6842V9.73077H34V15.2692H19.6842V24.5H14.3158V15.2692H0V9.73077H14.3158V0.5Z",fill:"#F93939"})]}),s.jsx("defs",{children:s.jsx("clipPath",{id:"clip0_16865_28134",children:s.jsx("rect",{y:"0.5",width:"34",height:"24",rx:"3",fill:"white"})})})]})}function uo(e){return s.jsxs("svg",{width:"34",height:"24",viewBox:"0 0 34 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[s.jsxs("g",{"clip-path":"url(#clip0_16886_62505)",children:[s.jsx("rect",{width:"34",height:"24",rx:"3",fill:"#F93939"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 16H34V24H0V16Z",fill:"#FFDA2C"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 0H34V8H0V0Z",fill:"#151515"})]}),s.jsx("defs",{children:s.jsx("clipPath",{id:"clip0_16886_62505",children:s.jsx("rect",{width:"34",height:"24",rx:"3",fill:"white"})})})]})}function fo({logo:e,user:t,baseUrl:r,notiPath:n,style:o,classNames:i="",customColors:a,notiprops:l}){const d=e||"https://ukpcsaprod.blob.core.windows.net/lib/images/logo-header.png",f={...o,color:(a==null?void 0:a.headerTextColor)||"white",backgroundColor:(a==null?void 0:a.headerBgColor)||"black"},[p,h]=j.useState(!1),y=()=>{window.location.href=`${r}/authentication/logout?callbackUrl=${window.location.href}`};return s.jsxs(m.ShadowDomWrapper,{styles:[io,ao,so,co],style:{zIndex:1202},id:"topbar-wrapper",children:[s.jsx("nav",{className:`navbar ${i}`,style:a?f:o,children:s.jsxs("div",{className:"navbar-container",children:[s.jsx("div",{className:"logo-container",children:s.jsx("img",{src:d,alt:"logo-header",style:{height:"40px"}})}),s.jsxs("div",{className:"right-side-container",children:[s.jsx("span",{children:s.jsxs(m.CustomOpenListProvider,{children:[s.jsx(Xn,{baseUrl:l.baseUrl,path:l.path,apiKey:l.apiKey,authDomain:l.authDomain,projectId:l.projectId,storageBucket:l.storageBucket,messagingSenderId:l.messagingSenderId,appId:l.appId,measurementId:l.measurementId,vapidKey:l.vapidKey}),s.jsx(oo,{iconColor:a==null?void 0:a.headerTextColor,baseUrl:r,notiPath:n,brandColors:a})]})}),s.jsx(ho,{}),s.jsxs("div",{className:"userContainer",children:[s.jsx(po,{primaryColor:a==null?void 0:a.headerTextColor,avatarUrl:t==null?void 0:t.avatarUrl,userName:t==null?void 0:t.firstName,setShowConfirmModal:h}),s.jsx("p",{className:"userFullName",style:{color:a==null?void 0:a.headerTextColor},children:`${(t==null?void 0:t.firstName)||"Unknown"} ${(t==null?void 0:t.lastName)||"User"}`})]})]})]})}),s.jsx(m.LogoutConfirmModal,{isOpen:p,onClose:()=>h(!1),onConfirm:y})]})}function ho(){var a;const e=[{value:m.Language.en,element:s.jsx(lo,{})},{value:m.Language.de,element:s.jsx(uo,{})}],[t,r]=j.useState(!1);j.useState(new Array(e.length).fill(!1));const{language:n,setLanguage:o}=m.useCustomTranslation();j.useEffect(()=>{Zt({childrenClass:"languageDropdown",action(){r(!1)}})},[]);const i=(a=e.find(l=>l.value==n))==null?void 0:a.element;return s.jsx("div",{className:"languageDropdownContainer",style:{position:"relative"},children:s.jsx("div",{className:"languageDropdown",onClick:()=>{r(!t)},children:i})})}function po({avatarUrl:e,userName:t}){const[r,n]=j.useState(!1),o=j.useRef(null);return j.useRef(null),j.useState(!1),j.useState(!1),j.useEffect(()=>{Zt({childrenClass:"userAvatar",action(){n(!1)}})},[]),s.jsx(s.Fragment,{children:s.jsx("div",{style:{position:"relative"},children:e?s.jsx("img",{onClick:()=>n(!r),ref:o,alt:"user avatar",className:"userAvatar",src:e}):s.jsx("div",{onClick:()=>n(!r),ref:o,className:"userAvatar",id:"userAvatarNull",children:(t==null?void 0:t.charAt(0))??""})})})}const mo=({children:e})=>s.jsxs(N.Stack,{justifyContent:"center",alignItems:"center",sx:{backgroundColor:"#FAFAFA",minHeight:"450px"},children:[s.jsx(go,{}),e]});function go(){return s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"150",height:"150",fill:"none",viewBox:"0 0 150 150",children:[s.jsx("path",{fill:"#F9FAFB",d:"M120.843 66.48a2.885 2.885 0 100-5.77 2.885 2.885 0 000 5.77zM75 127.04c28.319 0 51.276-9.006 51.276-20.115 0-11.11-22.957-20.115-51.276-20.115-28.32 0-51.276 9.006-51.276 20.115 0 11.109 22.957 20.115 51.276 20.115z"}),s.jsx("path",{fill:"#DDD",d:"M73.354 34.489l-2.13 13.355H57.378L73.354 34.49z"}),s.jsx("path",{fill:"#F9FAFB",d:"M71.223 48.157H57.38a.313.313 0 01-.295-.206.313.313 0 01.093-.346L73.154 34.25a.313.313 0 01.508.288l-2.13 13.357a.308.308 0 01-.308.263zm-12.983-.625h12.717l1.957-12.268L58.24 47.532zM74.63 59.596a.314.314 0 01-.252-.128l-.844-1.15a.314.314 0 01.043-.418.311.311 0 01.42.003c.005.005.012.01.018.018a.188.188 0 01.015.018l.045.06.807 1.1a.312.312 0 01-.252.497z"}),s.jsx("path",{fill:"#000",d:"M74.63 59.596a.314.314 0 01-.252-.128l-.844-1.15a.314.314 0 01.043-.418.311.311 0 01.42.003c.005.005.012.01.018.018a.188.188 0 01.015.018l.045.06.807 1.1a.312.312 0 01-.252.497z"}),s.jsx("path",{fill:"#85858A",d:"M74.454 58.965l3.503 4.775c-.209-.284-.431-.56-.667-.83-2.59-2.952-6.367-4.428-10.378-4.428-1.74 0-3.524.278-5.275.833l-3.503-4.775a17.477 17.477 0 015.275-.833c4.011 0 7.788 1.476 10.378 4.428.236.27.458.546.667.83z"}),s.jsx("path",{fill:"#F9FAFB",d:"M77.957 64.053a.314.314 0 01-.253-.128c-.203-.278-.422-.55-.65-.81-2.446-2.786-6.047-4.32-10.143-4.32-1.727 0-3.468.274-5.18.818a.316.316 0 01-.348-.113l-3.503-4.775a.312.312 0 01.158-.483 17.748 17.748 0 015.37-.847c4.278 0 8.047 1.61 10.612 4.533.24.274.47.561.685.853l3.5 4.772.003.003a.311.311 0 01-.251.497zM66.912 58.17c3.207 0 6.128.905 8.471 2.59l-1.18-1.61c-.203-.278-.423-.55-.65-.81-2.446-2.786-6.048-4.32-10.144-4.32-1.586 0-3.186.231-4.762.691l3.11 4.24a17.67 17.67 0 015.155-.782zM56.104 81.024a.312.312 0 01-.233-.105l-.049-.055a8.826 8.826 0 01-.458-.571l-3.503-4.775a.312.312 0 01.504-.37l.003.005c.132.179.274.355.422.525l.045.05.02.023 3.502 4.775a.312.312 0 01-.253.498z"}),s.jsx("path",{fill:"#000",d:"M56.104 81.024a.312.312 0 01-.233-.105l-.049-.055a8.826 8.826 0 01-.458-.571l-3.503-4.775a.312.312 0 01.504-.37l.003.005c.132.179.274.355.422.525l.045.05.02.023 3.502 4.775a.312.312 0 01-.253.498z"}),s.jsx("path",{fill:"#85858A",d:"M52.855 76.208l3.503 4.775a7.826 7.826 0 01-.743-.875l-3.503-4.775a7.8 7.8 0 00.743.875z"}),s.jsx("path",{fill:"#F9FAFB",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.86 7.86 0 01-.773-.908l-3.502-4.775a.312.312 0 11.504-.37l.003.005a7.954 7.954 0 00.712.837l.03.034 3.502 4.775a.313.313 0 01-.253.497z"}),s.jsx("path",{fill:"#F9FAFB",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.361 7.361 0 01-.265-.283l-.01-.011c-.036-.044-.078-.103-.117-.157l-.043-.06-3.353-4.57a.312.312 0 01.485-.394c.08.09.163.177.246.263l.03.033 3.502 4.775a.313.313 0 01-.252.499z"}),s.jsx("path",{fill:"#000",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.361 7.361 0 01-.265-.283l-.01-.011c-.036-.044-.078-.103-.117-.157l-.043-.06-3.353-4.57a.312.312 0 01.485-.394c.08.09.163.177.246.263l.03.033 3.502 4.775a.313.313 0 01-.252.499z"}),s.jsx("path",{fill:"#85858A",d:"M52.855 76.208l3.503 4.775a7.826 7.826 0 01-.743-.875l-3.503-4.775a7.8 7.8 0 00.743.875z"}),s.jsx("path",{fill:"#F9FAFB",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.86 7.86 0 01-.773-.908l-3.502-4.775a.312.312 0 11.504-.37l.003.005a7.954 7.954 0 00.712.837l.03.034 3.502 4.775a.313.313 0 01-.253.497z"}),s.jsx("path",{fill:"#EEE",d:"M71.03 70.342a11.476 11.476 0 01-1.11 2.438 12.543 12.543 0 01-2.703 3.136c-2.342 1.96-5.159 2.937-7.82 2.937-2.66 0-5.164-.98-6.88-2.938C49.078 72 50.09 65.651 54.775 61.738c2.343-1.96 5.16-2.938 7.82-2.938s5.165.98 6.881 2.938a8.329 8.329 0 01.754 1.008 8.034 8.034 0 011.056 2.539c.376 1.62.28 3.364-.257 5.057z"}),s.jsx("path",{fill:"#98A2B3",d:"M71.289 65.285h-9.161c-.967 0-1.632-.754-1.482-1.688.148-.933 1.052-1.687 2.02-1.687h6.956a8.024 8.024 0 011.667 3.375zM71.03 70.342a11.476 11.476 0 01-1.11 2.438c-.155.256-.32.51-.5.76h-8.705c-.918 0-1.543-.716-1.403-1.6.142-.883.997-1.6 1.913-1.6h9.805v.002z"}),s.jsx("path",{fill:"#F7F9FC",d:"M73.632 34.257h38.646l-.591 3.703-10.155 63.675H48.801l3.071-19.259c2.022 1.048 4.33 1.571 6.72 1.571 3.213 0 6.576-.946 9.602-2.839h27.097c.471 0 .909-.366.983-.82.072-.452-.25-.819-.72-.819H70.44c2.295-1.933 3.996-4.255 5.068-6.708h21.116c.47 0 .908-.367.98-.818.072-.453-.25-.82-.72-.82H76.129c.712-2.236.91-4.531.57-6.71h21.256c.47 0 .908-.366.98-.817.073-.453-.25-.821-.719-.821H76.333a12.247 12.247 0 00-2.544-4.642c-2.59-2.951-6.367-4.427-10.378-4.427-2.389 0-4.86.523-7.215 1.569l1.184-7.432h13.845l2.13-13.354.277-.232zM93.96 89.454c.47 0 .908-.366.982-.82.072-.452-.25-.819-.72-.819H61.258c-.468 0-.907.367-.979.818-.072.453.25.821.718.821h32.964zm5.325-33.386c.47 0 .908-.367.981-.818.072-.453-.25-.82-.72-.82H77.201c-.47 0-.907.366-.979.82-.072.451.247.818.718.818h22.346z"}),s.jsx("path",{fill:"#F9FAFB",d:"M101.532 101.946h-52.73a.311.311 0 01-.309-.361l3.072-19.259a.312.312 0 01.453-.228c1.942 1.006 4.215 1.537 6.576 1.537 3.255 0 6.517-.966 9.435-2.792a.317.317 0 01.165-.047h27.098c.316 0 .625-.256.672-.557a.39.39 0 00-.08-.32.423.423 0 00-.331-.137H70.44a.313.313 0 01-.201-.551c2.175-1.834 3.898-4.114 4.983-6.595a.313.313 0 01.286-.187h21.116c.316 0 .625-.254.672-.556a.392.392 0 00-.08-.32.423.423 0 00-.331-.138H76.128a.314.314 0 01-.299-.407c.696-2.182.889-4.453.56-6.566a.31.31 0 01.308-.361h21.256c.316 0 .625-.254.672-.555a.392.392 0 00-.08-.321.423.423 0 00-.331-.138h-21.88a.312.312 0 01-.3-.225 11.883 11.883 0 00-2.481-4.523c-2.446-2.786-6.047-4.32-10.143-4.32-2.367 0-4.818.532-7.09 1.542a.316.316 0 01-.317-.037.31.31 0 01-.118-.298l1.184-7.431a.313.313 0 01.309-.264h13.578l2.087-13.092a.314.314 0 01.107-.19l.278-.235a.316.316 0 01.201-.074h38.649a.312.312 0 01.308.361L101.84 101.68a.31.31 0 01-.308.267zm-52.365-.625h52.098l10.646-66.753H73.746l-.102.086-2.11 13.24a.313.313 0 01-.309.264H57.647l-1.054 6.61c2.201-.9 4.546-1.373 6.818-1.373 4.278 0 8.047 1.61 10.613 4.533a12.512 12.512 0 012.541 4.535h21.652c.32 0 .614.13.807.356.191.225.27.518.22.825-.097.607-.663 1.082-1.29 1.082H77.058c.253 1.971.078 4.059-.51 6.084h20.337c.32 0 .614.13.807.357.191.225.27.518.22.825-.097.607-.663 1.082-1.29 1.082h-20.91c-1.019 2.252-2.544 4.337-4.444 6.083h24.285c.32 0 .614.13.807.357.191.225.27.517.22.824-.097.607-.663 1.083-1.29 1.083H68.283c-2.998 1.858-6.347 2.839-9.69 2.839-2.307 0-4.536-.488-6.48-1.416l-2.946 18.477zM93.96 89.767H60.997c-.318 0-.612-.13-.805-.357a1.004 1.004 0 01-.221-.827c.097-.607.662-1.082 1.287-1.082h32.964c.32 0 .614.131.807.357.192.225.27.517.22.824-.095.608-.661 1.085-1.288 1.085zm-32.703-1.64c-.315 0-.622.255-.67.556a.395.395 0 00.079.323.42.42 0 00.329.137H93.96c.316 0 .625-.255.672-.557a.39.39 0 00-.08-.32.423.423 0 00-.331-.137H61.258v-.001zm38.028-31.746H76.94c-.32 0-.612-.13-.805-.356a1.004 1.004 0 01-.221-.824c.097-.608.662-1.083 1.287-1.083h22.346c.32 0 .614.13.807.357.192.225.271.518.221.825-.096.606-.663 1.08-1.289 1.08zm-22.085-1.64c-.315 0-.622.256-.67.558a.387.387 0 00.079.32.423.423 0 00.33.135h22.346c.317 0 .625-.254.672-.555a.392.392 0 00-.079-.321.423.423 0 00-.332-.138H77.201v.002z"}),s.jsx("path",{fill:"#DDD",d:"M55.21 61.447l-.332 2.085c-.052.039-.103.078-.153.12-1.13.942-1.372 2.473-.544 3.416.036.042.075.082.115.12l-1.44 9.019a8.348 8.348 0 01-.3-.325c-1.709-1.949-2.312-4.503-1.903-7.056.407-2.554 1.823-5.106 4.154-7.054.13-.11.267-.22.403-.325zM96.884 71.122c.471 0 .792.367.72.821-.073.451-.511.818-.98.818H75.507c.237-.54.444-1.087.618-1.639h20.758z"}),s.jsx("path",{fill:"#DDD",d:"M96.623 73.074H75.508a.31.31 0 01-.261-.142.316.316 0 01-.025-.296c.235-.536.439-1.076.607-1.607a.31.31 0 01.299-.218h20.756c.32 0 .614.13.807.357.192.225.271.518.221.825-.096.606-.662 1.08-1.289 1.08zm-20.643-.625h20.643c.317 0 .625-.254.672-.556a.392.392 0 00-.079-.32.423.423 0 00-.332-.138h-20.53a16.42 16.42 0 01-.374 1.014zM95.555 79.468c.47 0 .791.367.719.818-.072.453-.511.821-.982.821H68.193a19.625 19.625 0 002.248-1.638h25.114z"}),s.jsx("path",{fill:"#DDD",d:"M95.292 81.42H68.193a.313.313 0 01-.165-.578 19.558 19.558 0 002.148-1.56l.059-.049a.33.33 0 01.205-.076h25.114c.32 0 .614.13.807.357.192.225.27.517.221.824-.097.605-.662 1.082-1.29 1.082zm-26.063-.626h26.063c.316 0 .625-.255.672-.556a.39.39 0 00-.08-.32.423.423 0 00-.331-.137h-25c-.425.355-.868.694-1.324 1.013z"}),s.jsx("path",{fill:"#EEE",d:"M115.432 38.557l-.495 3.106-.095.598-10.06 63.074H51.517l-2.716-3.702h52.731l10.155-63.672.592-3.704 3.153 4.3z"}),s.jsx("path",{fill:"#F9FAFB",d:"M104.782 105.647H51.518a.31.31 0 01-.252-.127l-2.716-3.702a.31.31 0 01-.026-.326.31.31 0 01.279-.171h52.464l10.113-63.41.592-3.704a.311.311 0 01.56-.135l3.153 4.3c.05.067.069.152.057.234l-.591 3.704-10.061 63.075a.312.312 0 01-.308.262zm-53.107-.625h52.839l10.019-62.81.57-3.576-2.634-3.592-.473 2.966-10.156 63.672a.313.313 0 01-.308.264H49.418l2.257 3.076z"}),s.jsx("path",{fill:"#DDD",d:"M108.03 109.039l3.503 4.775H58.8l-3.503-4.775h52.733z"}),s.jsx("path",{fill:"#F9FAFB",d:"M111.533 114.126H58.8a.31.31 0 01-.252-.127l-3.503-4.775a.312.312 0 01.253-.498h52.734c.1 0 .193.048.251.128l3.503 4.775a.314.314 0 01-.253.497zm-52.575-.625h51.958l-3.044-4.15H55.913l3.045 4.15z"}),s.jsx("path",{fill:"#F7F9FC",d:"M118.776 41.663l-10.746 67.376H55.297l.59-3.704h48.895l10.154-63.672h3.84z"}),s.jsx("path",{fill:"#F9FAFB",d:"M108.03 109.351H55.297a.313.313 0 01-.308-.361l.59-3.703a.313.313 0 01.308-.263h48.628l10.112-63.41a.314.314 0 01.309-.264h3.84a.313.313 0 01.308.361l-10.745 67.376a.313.313 0 01-.309.264zm-52.366-.625h52.1l10.645-66.751h-3.207l-10.112 63.41a.314.314 0 01-.308.264H56.154l-.49 3.077z"}),s.jsx("path",{fill:"#EEE",d:"M118.776 41.663l3.503 4.775-10.746 67.376-3.503-4.775 10.746-67.376z"}),s.jsx("path",{fill:"#F9FAFB",d:"M111.533 114.126a.306.306 0 01-.251-.127l-3.503-4.775a.312.312 0 01-.057-.235l10.746-67.377a.309.309 0 01.234-.254.309.309 0 01.325.12l3.503 4.775a.31.31 0 01.057.234l-10.746 67.377a.309.309 0 01-.308.262zm-3.174-5.168l2.982 4.067 10.607-66.508-2.982-4.067-10.607 66.508z"}),s.jsx("path",{fill:"#85858A",d:"M49.987 81.18L31.79 96.393c-.043.036-.088.068-.132.101l-.061.046c-.036.025-.074.047-.11.071-.026.017-.053.035-.079.05-.02.011-.04.02-.06.032a2.11 2.11 0 01-.148.075l-.055.022a2.406 2.406 0 01-.294.107l-.076.021c-.04.01-.08.02-.121.028l-.074.014a4.26 4.26 0 01-.132.018l-.062.007c-.064.005-.13.008-.193.008-.545 0-1.056-.2-1.407-.6l-.649-.739a1.784 1.784 0 01-.09-.112l3.503 4.775c.027.039.058.076.09.112l.648.739c.352.4.863.6 1.408.6.063 0 .127-.003.193-.008.02-.002.041-.006.062-.007l.132-.018.074-.014c.04-.009.08-.017.12-.028l.077-.021.055-.015.04-.015c.067-.023.134-.049.2-.077l.04-.015c.005-.003.01-.006.015-.007.05-.024.098-.049.148-.075.019-.01.037-.017.055-.028l.005-.004c.026-.015.053-.033.08-.05.033-.021.067-.04.1-.064a.025.025 0 00.009-.007l.061-.046c.034-.025.068-.048.1-.075a.364.364 0 00.032-.026l18.197-15.213-3.504-4.775z"}),s.jsx("path",{fill:"#F9FAFB",d:"M33.694 102.081c-.658 0-1.241-.252-1.641-.707l-.65-.739a1.901 1.901 0 01-.106-.134l-3.501-4.772c0-.001-.002-.001-.002-.003a.312.312 0 01.503-.369l.001.003c.023.03.046.06.071.089l.649.739c.279.318.696.493 1.172.493.056 0 .11-.003.165-.009l.056-.007c.037-.004.075-.008.114-.015l.047-.01.018-.004.106-.023.068-.019a2.276 2.276 0 00.257-.093l.047-.019c.044-.02.087-.043.13-.067l.053-.028c.011-.006.024-.013.035-.022l.058-.037a2.329 2.329 0 00.099-.067l.04-.03c.035-.027.07-.052.104-.081l18.198-15.213a.314.314 0 01.45.055l3.504 4.775a.313.313 0 01-.052.425l-18.23 15.246c-.03.023-.059.045-.09.066l-.04.029-.05.038a1.955 1.955 0 01-.095.062l-.052.032a.92.92 0 01-.058.036c-.006.005-.011.007-.017.01a.658.658 0 01-.044.022l-.013.006c-.055.029-.11.058-.166.085l-.017.008-.044.018c-.075.032-.15.061-.225.086-.013.006-.03.011-.045.017l-.046.012-.015.004-.087.024c-.046.011-.09.022-.137.031l-.015.002-.07.014c-.05.009-.1.016-.148.021l-.018.003a1.864 1.864 0 01-.27.017zm-4.003-4.825l2.112 2.877c.022.031.047.061.072.091l.648.739c.311.355.8.531 1.338.486l.054-.007a1.482 1.482 0 00.161-.025l.017-.003a1.73 1.73 0 00.105-.024c.023-.005.045-.012.068-.018l.048-.012a.295.295 0 01.034-.014c.059-.02.118-.042.177-.068.01-.006.023-.01.036-.014l.01-.004c.045-.021.089-.045.133-.068a.296.296 0 01.035-.018l.01-.006c.002-.003.006-.004.01-.005l.034-.021.065-.041a.622.622 0 00.057-.036l.033-.025.053-.04.063-.047.027-.022 17.974-15.025-3.132-4.271L31.99 96.633c-.044.037-.089.071-.135.105l-.03.023c-.017.013-.032.025-.049.036-.033.023-.067.043-.1.064l-.048.03c-.021.015-.042.027-.063.04-.017.01-.033.018-.05.026l-.018.01c-.054.029-.11.058-.165.084-.016.007-.03.014-.047.02l-.016.007a2.6 2.6 0 01-.554.173l-.015.003c-.022.004-.046.01-.068.013-.05.008-.099.015-.149.02l-.02.003a2.429 2.429 0 01-.772-.035z"}),s.jsx("path",{fill:"#98A2B3",d:"M76.699 64.414a12.649 12.649 0 00-.367-1.639 12.218 12.218 0 00-2.544-4.642c-2.59-2.951-6.367-4.426-10.378-4.426-2.39 0-4.861.522-7.216 1.57a19.487 19.487 0 00-4.58 2.862c-6.318 5.28-8.203 13.503-4.815 19.405l-18.2 15.216c-.956.797-1.162 2.093-.462 2.894l.65.74c.35.4.863.6 1.405.6a2.51 2.51 0 001.597-.6l18.198-15.212a13.02 13.02 0 001.885 1.193c2.022 1.046 4.33 1.57 6.721 1.57 3.214 0 6.576-.944 9.6-2.838.753-.47 1.482-.999 2.249-1.639 2.293-1.935 3.996-4.255 5.068-6.71.234-.537.443-1.087.616-1.638.713-2.231.911-4.53.573-6.706zm-9.481 11.503c-2.343 1.96-5.16 2.937-7.82 2.937s-5.165-.979-6.881-2.937c-3.438-3.917-2.425-10.264 2.26-14.178 2.342-1.96 5.16-2.938 7.82-2.938s5.164.98 6.88 2.938a8.34 8.34 0 01.754 1.008 8.029 8.029 0 011.056 2.54c.375 1.62.281 3.364-.258 5.056a11.476 11.476 0 01-1.11 2.438 12.45 12.45 0 01-2.701 3.136z"}),s.jsx("path",{fill:"#F9FAFB",d:"M30.192 97.307c-.659 0-1.242-.251-1.64-.708l-.65-.74a2.048 2.048 0 01-.486-1.52c.055-.68.412-1.344.982-1.82L46.4 77.471c-1.585-2.903-1.989-6.42-1.136-9.936.882-3.635 3.066-7.057 6.151-9.636a19.8 19.8 0 014.654-2.907c2.347-1.045 4.886-1.597 7.343-1.597 4.278 0 8.048 1.61 10.613 4.533a12.492 12.492 0 012.61 4.76c.16.543.286 1.106.375 1.677.344 2.207.141 4.577-.584 6.85a16.681 16.681 0 01-.627 1.668c-1.123 2.569-2.906 4.927-5.155 6.824a20.11 20.11 0 01-2.284 1.664c-3.014 1.887-6.39 2.886-9.766 2.886-2.46 0-4.833-.556-6.864-1.606A13.36 13.36 0 0150 81.58L31.989 96.633a2.817 2.817 0 01-1.797.674zM63.41 54.019c-2.37 0-4.82.534-7.089 1.544a19.182 19.182 0 00-4.507 2.815c-6.13 5.123-8.126 13.12-4.744 19.01a.313.313 0 01-.071.395L28.799 93c-.442.37-.72.875-.76 1.389-.032.401.086.777.333 1.06l.649.738c.279.32.694.495 1.17.495.495 0 .992-.188 1.398-.528l18.198-15.211a.313.313 0 01.39-.009c.583.443 1.2.835 1.84 1.164 1.941 1.005 4.216 1.536 6.577 1.536 3.257 0 6.52-.965 9.434-2.79.751-.47 1.476-.997 2.213-1.614 2.175-1.833 3.898-4.114 4.983-6.594.234-.536.437-1.077.605-1.607.696-2.184.89-4.453.561-6.565a12.39 12.39 0 00-.357-1.598 11.865 11.865 0 00-2.48-4.525c-2.445-2.786-6.048-4.32-10.142-4.32zm-4.014 25.148c-2.868 0-5.396-1.08-7.117-3.045-1.536-1.75-2.276-4.066-2.086-6.525.234-3.015 1.83-5.968 4.38-8.098 2.323-1.942 5.172-3.011 8.023-3.011 2.868 0 5.396 1.08 7.117 3.044a8.743 8.743 0 01.783 1.046 8.385 8.385 0 011.097 2.637c.385 1.66.293 3.466-.265 5.221a11.584 11.584 0 01-1.14 2.506 12.926 12.926 0 01-2.77 3.215c-2.322 1.94-5.17 3.01-8.022 3.01zm3.2-20.054c-2.704 0-5.411 1.018-7.62 2.865-2.423 2.023-3.94 4.82-4.16 7.668-.177 2.289.51 4.442 1.934 6.064 1.6 1.826 3.961 2.832 6.646 2.832 2.704 0 5.411-1.018 7.62-2.865a12.3 12.3 0 002.637-3.059c.313-.518.582-1.057.803-1.603.101-.25.194-.508.276-.768.524-1.648.611-3.34.252-4.893a7.792 7.792 0 00-1.739-3.41c-1.603-1.826-3.964-2.831-6.649-2.831z"}),s.jsx("path",{fill:"#F7F9FC",d:"M59.778 66.756a.997.997 0 00-.11-.225.974.974 0 00-.103-.14 1.233 1.233 0 00-.94-.4 1.694 1.694 0 00-1.07.401c-.372.31-.575.734-.586 1.14-.008.292.082.574.278.797.235.267.576.402.94.402s.749-.134 1.068-.402c.152-.127.277-.272.371-.429.045-.072.08-.147.113-.225.125-.305.14-.632.039-.92z"}),s.jsx("path",{fill:"#F7F9FC",d:"M58.64 64.293a1.938 1.938 0 00-.373-.639c-.414-.472-1.018-.708-1.659-.708a2.941 2.941 0 00-1.883.707c-1.13.941-1.372 2.472-.544 3.415.037.042.075.082.115.12.405.391.958.586 1.543.586.375 0 .764-.08 1.135-.242.262-.114.515-.27.75-.464.266-.225.486-.48.651-.755.063-.105.118-.212.164-.32l.032-.078c.22-.54.246-1.115.07-1.622z"}),s.jsx("path",{fill:"#DDD",d:"M104.782 105.335H51.517l-2.716-3.702h52.731l3.25 3.702z"}),s.jsx("path",{fill:"#F9FAFB",d:"M104.782 105.647H51.518a.308.308 0 01-.252-.128l-2.716-3.701a.31.31 0 01-.026-.326.31.31 0 01.279-.171h52.73c.09 0 .175.039.235.107l3.25 3.701c.08.092.1.224.05.335a.317.317 0 01-.286.183zm-53.107-.625h52.415l-2.701-3.076H49.417l2.258 3.076z"}),s.jsx("path",{fill:"#DDD",d:"M98.215 62.775c.47 0 .792.367.72.82-.073.452-.512.819-.981.819H76.698a12.81 12.81 0 00-.365-1.639h21.882z"}),s.jsx("path",{fill:"#DDD",d:"M97.954 64.726H76.7a.312.312 0 01-.309-.265 12.214 12.214 0 00-.357-1.599.309.309 0 01.05-.275.31.31 0 01.25-.125h21.884c.319 0 .614.131.806.357.192.225.271.518.221.825-.097.607-.663 1.082-1.29 1.082zm-20.99-.625h20.99c.317 0 .625-.254.672-.555a.392.392 0 00-.079-.321.423.423 0 00-.332-.138H76.743c.088.335.161.674.22 1.014zM99.547 54.43c.471 0 .792.366.72.82-.073.451-.512.818-.981.818H76.94c-.47 0-.79-.367-.718-.818.072-.453.51-.82.98-.82h22.345z"}),s.jsx("path",{fill:"#DDD",d:"M99.286 56.38H76.94c-.32 0-.613-.129-.806-.355a1.004 1.004 0 01-.22-.824c.097-.607.662-1.083 1.287-1.083h22.346c.32 0 .614.13.807.357.191.225.271.518.221.825-.096.606-.663 1.08-1.29 1.08zM77.2 54.742c-.315 0-.622.255-.67.557a.391.391 0 00.078.32.423.423 0 00.33.136h22.347c.316 0 .625-.254.672-.555a.392.392 0 00-.08-.32.423.423 0 00-.331-.138H77.2zM94.222 87.815c.471 0 .792.367.72.818-.073.453-.511.821-.982.821H60.997c-.468 0-.79-.366-.718-.82.072-.452.511-.819.98-.819h32.963z"}),s.jsx("path",{fill:"#DDD",d:"M93.961 89.767H60.997c-.318 0-.61-.13-.804-.356a1.004 1.004 0 01-.22-.826c.096-.607.662-1.082 1.287-1.082h32.962c.32 0 .614.13.807.357.192.225.27.516.22.823-.095.607-.662 1.084-1.288 1.084zm-32.703-1.64c-.315 0-.622.255-.67.556a.395.395 0 00.079.323.419.419 0 00.329.137H93.96c.316 0 .625-.255.672-.557a.39.39 0 00-.08-.32.423.423 0 00-.331-.137H61.258v-.001z"}),s.jsx("path",{fill:"#DDD",d:"M80.201 69.189c-.025-.16-.053-.32-.083-.478l-.008-.046-.02-.089c-.026-.129-.056-.258-.086-.386-.011-.047-.022-.096-.035-.143a14.558 14.558 0 00-.133-.496c-.065-.223-.14-.444-.218-.663-.01-.028-.017-.056-.028-.084-.01-.029-.023-.057-.033-.085a11.396 11.396 0 00-.553-1.268c-.013-.023-.022-.047-.033-.07-.017-.034-.038-.067-.055-.1a16.26 16.26 0 00-.219-.4c-.032-.055-.061-.11-.094-.164a11.61 11.61 0 00-.337-.536v-.003c-.1-.147-.2-.293-.306-.438l-3.503-4.775a12.034 12.034 0 01.644.977l.095.164a16.362 16.362 0 01.308.57c.104.205.203.412.294.621l.021.053a11.536 11.536 0 01.297.761 12.302 12.302 0 01.47 1.69 11.138 11.138 0 01.111.614c.339 2.175.14 4.473-.57 6.707a16.401 16.401 0 01-.619 1.64c-.048.11-.1.22-.15.33-.04.086-.08.172-.122.258l-.104.214c-.043.086-.088.17-.132.257a11.944 11.944 0 01-.253.467l-.117.206-.151.256-.112.186c-.134.215-.271.43-.414.64l-.087.127a17.85 17.85 0 01-.902 1.204l-.11.135c-.15.18-.304.36-.463.537l-.075.082a18.882 18.882 0 01-1.029 1.053l-.27.249c-.048.044-.096.09-.146.134-.142.127-.285.25-.43.374a20.29 20.29 0 01-1.082.844l-.084.063a21.276 21.276 0 01-1.082.73c-.209.13-.418.256-.63.377-.056.032-.112.06-.167.093-.186.104-.373.205-.56.303l-.213.11a18.01 18.01 0 01-.62.298c-.038.017-.074.035-.112.051-.048.023-.098.043-.147.064-.136.06-.272.12-.41.175l-.204.082c-.12.047-.24.095-.36.14-.072.028-.145.055-.217.081-.118.043-.236.083-.355.124a9.937 9.937 0 01-.218.072c-.097.032-.195.06-.293.091a16.404 16.404 0 01-.997.275 16.845 16.845 0 01-1.56.308c-.123.019-.247.036-.37.052l-.267.035c-.13.015-.257.026-.385.037-.083.007-.168.017-.251.023-.142.01-.282.018-.422.025-.071.004-.14.008-.212.01-.21.01-.42.013-.63.013-2.39 0-4.697-.523-6.721-1.57a12.644 12.644 0 01-1.885-1.195l3.503 4.775c.593.454 1.224.851 1.885 1.194 2.022 1.048 4.33 1.571 6.72 1.571.209 0 .419-.004.63-.012.07-.003.14-.009.21-.011.141-.007.283-.014.423-.025l.25-.023c.13-.01.257-.023.386-.037.09-.01.178-.022.267-.033.124-.017.247-.032.37-.052l.277-.044.363-.064c.093-.018.187-.036.28-.056.12-.025.24-.05.358-.077a16.81 16.81 0 00.918-.235l.362-.107.18-.053.113-.037.218-.073c.118-.04.236-.08.354-.123l.218-.08c.12-.045.24-.092.36-.141l.204-.082c.137-.057.273-.115.41-.175.048-.022.098-.042.147-.064a.206.206 0 01.026-.011c.028-.013.056-.028.084-.04a18.01 18.01 0 001.393-.711c.04-.023.08-.042.12-.066.014-.008.031-.02.046-.027.211-.121.422-.246.63-.377.213-.133.423-.272.633-.415l.057-.038c.13-.09.262-.183.393-.277l.084-.063c.167-.122.334-.247.5-.378l.038-.029c.089-.07.18-.14.268-.214a19.263 19.263 0 00.703-.598l.146-.134c.09-.083.182-.165.27-.25l.014-.012c.017-.015.032-.032.048-.047.148-.142.293-.287.436-.43l.135-.14c.134-.14.266-.28.395-.423l.059-.063.015-.018c.158-.178.312-.357.462-.537l.11-.134c.132-.162.263-.326.388-.492.013-.019.03-.037.044-.056l.013-.017c.158-.211.31-.424.458-.639l.086-.125c.143-.213.282-.426.415-.642l.027-.04.086-.146c.051-.084.101-.17.151-.255l.117-.207.14-.256.111-.21a8.98 8.98 0 00.13-.258c.037-.07.072-.142.106-.214l.123-.258c.016-.038.036-.074.052-.111l.098-.22c.237-.54.444-1.087.618-1.639.72-2.237.92-4.534.58-6.712z"}),s.jsx("path",{fill:"#F9FAFB",d:"M62.094 89.035c-2.46 0-4.833-.556-6.864-1.607a13.081 13.081 0 01-1.931-1.224.303.303 0 01-.063-.064l-3.503-4.775a.313.313 0 01.442-.433c.57.438 1.189.83 1.839 1.165 1.941 1.006 4.215 1.536 6.576 1.536.196 0 .404-.004.618-.012.04-.001.08-.004.12-.007l.087-.006c.14-.007.277-.014.416-.025.054-.004.108-.01.16-.013l.085-.009c.13-.01.255-.023.378-.037.065-.007.13-.017.196-.025l.068-.009a16.852 16.852 0 00.607-.09l.028-.004c.118-.02.237-.04.355-.063l.277-.055c.116-.024.234-.05.351-.077.093-.02.185-.043.278-.065.117-.029.235-.058.351-.09l.275-.075c.118-.033.236-.07.354-.106l.04-.012c.083-.025.166-.052.248-.078l.214-.07c.116-.04.232-.08.348-.123.071-.026.143-.051.214-.08.118-.044.236-.09.354-.137l.055-.02.147-.059c.135-.055.268-.114.403-.172l.063-.028c.027-.01.055-.023.081-.035l.108-.05a18.639 18.639 0 001.371-.698l.068-.038.096-.052a16.582 16.582 0 001.242-.78c.147-.101.296-.204.443-.31l.083-.062c.18-.132.342-.254.493-.372l.038-.03c.187-.148.362-.29.532-.431.143-.121.283-.243.422-.367l.086-.079.094-.086c.077-.07.155-.14.23-.211l.062-.06c.14-.135.28-.272.43-.424l.133-.137c.132-.138.262-.276.389-.417l.073-.079c.147-.164.296-.337.456-.53l.108-.131c.138-.168.263-.326.38-.483l.058-.073c.144-.191.291-.397.45-.627l.084-.124c.145-.212.28-.425.407-.63l.096-.157.014-.024.149-.251c.034-.06.068-.12.1-.18l.015-.025.139-.251.11-.207c.042-.083.085-.168.129-.251l.102-.21.12-.253.012-.029c.046-.099.092-.197.135-.296.235-.536.44-1.076.607-1.608.696-2.184.889-4.453.56-6.565a11.271 11.271 0 00-.082-.467l-.028-.133a11.506 11.506 0 00-.083-.377l-.035-.142a12.175 12.175 0 00-.343-1.13l-.06-.164c-.08-.212-.154-.401-.23-.578l-.021-.051a11.148 11.148 0 00-.374-.772c-.07-.13-.14-.26-.214-.39l-.029-.05-.064-.109a11.675 11.675 0 00-.628-.951.312.312 0 01.503-.37l.001.002 3.502 4.773a12.91 12.91 0 01.661 1.002c.024.038.044.077.067.115l.029.051c.078.136.153.273.225.41l.02.036.035.067c.009.015.016.032.023.047l.01.025c.119.233.217.442.303.639l.023.053c.082.191.16.39.243.61l.01.029c.01.019.018.038.025.06.007.017.012.037.018.056l.01.03a11.728 11.728 0 01.359 1.185l.028.114.008.034c.032.132.061.264.088.396l.008.034.013.056.008.048c.034.181.062.34.086.49.343 2.21.143 4.577-.582 6.85a16.635 16.635 0 01-.73 1.892l-.031.068-.022.046a14.23 14.23 0 01-.23.48 11.92 11.92 0 01-.248.476l-.143.26-.021.037a9.74 9.74 0 01-.253.433l-.036.06c-.017.03-.035.058-.051.088l-.02.03c-.139.224-.28.443-.429.663l-.087.126c-.166.24-.319.453-.467.65l-.058.076c-.123.16-.255.33-.395.5l-.014.018-.097.119c-.165.198-.318.377-.47.547l-.017.02a.915.915 0 01-.037.038l-.023.025c-.132.145-.266.288-.402.43l-.137.14c-.154.158-.3.3-.443.438l-.017.017a9.64 9.64 0 00-.032.032l-.012.011c-.078.074-.157.146-.236.218l-.096.09-.093.084a19.541 19.541 0 01-.986.823l-.038.031c-.158.124-.325.25-.508.383l-.086.064a23.375 23.375 0 01-.438.309l-.02.013a18.483 18.483 0 01-1.283.806l-.05.03-.072.038a19.12 19.12 0 01-1.465.747l-.032.016c-.018.008-.036.018-.054.025l-.02.008-.098.043-.059.025c-.138.061-.277.12-.416.178l-.149.06-.058.023c-.122.049-.245.096-.367.142l-.22.082-.36.126-.221.074-.047.015-.069.022c-.036.011-.072.022-.11.032l-.073.022a18.815 18.815 0 01-.65.186c-.122.032-.243.064-.365.093-.095.024-.19.046-.286.069a17.79 17.79 0 01-.365.079 15.73 15.73 0 01-.656.122l-.032.005c-.083.014-.165.028-.249.04-.126.02-.251.037-.377.052l-.069.008c-.067.009-.136.018-.202.025-.13.016-.261.027-.392.04l-.083.008-.174.015c-.144.011-.287.018-.43.025l-.081.004a10.9 10.9 0 01-.767.024zm-8.379-3.3a12.43 12.43 0 001.804 1.137c1.942 1.006 4.216 1.536 6.577 1.536a16.05 16.05 0 00.739-.02l.086-.005c.139-.007.276-.013.415-.025l.163-.014.084-.008c.128-.01.253-.023.38-.037l.193-.024.069-.01c.12-.015.243-.032.364-.05.079-.012.16-.025.239-.039l.032-.005c.12-.02.237-.04.355-.063l.277-.055a20.067 20.067 0 00.63-.142l.352-.09c.091-.025.183-.049.273-.075.118-.033.236-.07.354-.106l.084-.025.093-.027.11-.038a17.076 17.076 0 00.561-.192c.072-.026.144-.051.215-.079.118-.044.236-.09.354-.137l.06-.024.14-.055c.135-.056.27-.114.403-.173l.064-.027.08-.035.061-.028.049-.024c.198-.091.404-.19.611-.293a21.557 21.557 0 00.761-.404l.063-.033.054-.03.046-.027a18.234 18.234 0 001.243-.78l.055-.035c.13-.09.259-.18.388-.274l.084-.062c.178-.131.34-.252.492-.373l.038-.03.264-.21a19.304 19.304 0 00.69-.587c.029-.025.057-.052.083-.077l.1-.092c.075-.069.152-.137.225-.208a.08.08 0 01.011-.01l.052-.05a17.113 17.113 0 00.562-.56c.132-.138.263-.277.389-.417l.074-.08a18.896 18.896 0 00.548-.644l.016-.018c.134-.165.263-.33.382-.483l.056-.074c.143-.189.29-.394.45-.626l.084-.123c.144-.212.28-.425.408-.63l.025-.039.046-.078.039-.065.148-.25c.032-.056.064-.111.095-.168l.02-.038c.046-.083.094-.166.138-.25a14.79 14.79 0 00.238-.458l.104-.211.12-.253.052-.11.096-.213c.236-.538.44-1.078.607-1.609.696-2.183.889-4.453.56-6.565a12.975 12.975 0 00-.082-.465l-.027-.132a16.316 16.316 0 00-.083-.377l-.008-.034-.025-.106a11.436 11.436 0 00-.343-1.13l-.017-.05-.01-.031-.012-.03-.021-.052a12.056 12.056 0 00-.23-.578l-.022-.051c-.08-.186-.175-.385-.287-.607l-.022-.046-.011-.025a13.258 13.258 0 00-.267-.486l-.03-.054a11.045 11.045 0 00-.389-.628c-.002-.001-.003-.004-.005-.007a13.32 13.32 0 00-.296-.422l-1.195-1.63a12.852 12.852 0 01.261.9l.036.146c.03.132.06.263.087.395l.03.139c.034.178.062.337.086.49.343 2.208.141 4.577-.582 6.85a16.382 16.382 0 01-.63 1.67c-.045.102-.094.205-.141.308l-.013.028-.123.262-.107.218-.133.261-.113.214c-.047.088-.096.174-.145.261l-.013.025a12.525 12.525 0 01-.26.446l-.014.024-.1.165c-.13.213-.272.432-.422.653l-.088.128c-.164.239-.316.451-.466.65l-.059.075c-.123.162-.252.326-.394.5l-.113.136c-.163.198-.318.376-.47.546l-.077.082a23.629 23.629 0 01-.54.572 18.55 18.55 0 01-.443.437l-.064.063-.238.22-.09.082c-.032.03-.062.059-.094.087a19.541 19.541 0 01-.988.823l-.037.03c-.157.123-.324.25-.509.384l-.086.064a21.1 21.1 0 01-1.1.743c-.197.124-.407.249-.64.383l-.106.059-.063.036a18.867 18.867 0 01-1.417.72l-.049.023-.064.03-.091.04-.06.026c-.139.06-.278.12-.417.178l-.155.062-.053.02c-.122.05-.243.097-.367.142l-.222.082a17.86 17.86 0 01-.58.2l-.26.08-.04.01a18.815 18.815 0 01-1.666.427 17.24 17.24 0 01-.655.122l-.028.004-.254.042c-.127.02-.252.036-.377.052l-.066.008c-.07.01-.138.018-.206.026-.129.016-.258.027-.387.04l-.087.008a7.906 7.906 0 01-.173.015c-.143.01-.286.018-.43.025l-.081.004a17.27 17.27 0 01-.775.02c-2.461 0-4.834-.556-6.864-1.608-.154-.079-.306-.162-.456-.247l2.446 3.33zM120.843 90.037a2.067 2.067 0 100-4.134 2.067 2.067 0 000 4.134zM33.935 82.412a2.067 2.067 0 100-4.133 2.067 2.067 0 000 4.133zM34.97 84.083a.728.728 0 100-1.455.728.728 0 000 1.455zM45.217 56.42a2.067 2.067 0 100-4.134 2.067 2.067 0 000 4.133zM47.632 53.008a.728.728 0 100-1.455.728.728 0 000 1.455z"}),s.jsx("path",{fill:"#EEE",d:"M126.15 45.536a3.556 3.556 0 10-.001-7.11 3.556 3.556 0 00.001 7.11z"}),s.jsx("path",{fill:"#F9FAFB",d:"M122.594 40.225a1.693 1.693 0 100-3.386 1.693 1.693 0 000 3.386z"})]})}var yo=typeof m.commonjsGlobal=="object"&&m.commonjsGlobal&&m.commonjsGlobal.Object===Object&&m.commonjsGlobal,vo=typeof self=="object"&&self&&self.Object===Object&&self;yo||vo||Function("return this")();function xo(e){const[t,r]=j.useState(!!e),n=j.useCallback(()=>{r(!0)},[]),o=j.useCallback(()=>{r(!1)},[]),i=j.useCallback(()=>{r(a=>!a)},[]);return{value:t,setValue:r,setTrue:n,setFalse:o,toggle:i}}function bo(e){var t;return s.jsxs(N.Dialog,{...e.dialogProps,open:e.open,children:[!e.hideTitle&&s.jsxs(N.DialogTitle,{component:N.Stack,sx:{...e.titleProps,textAlign:"center"},children:[typeof e.title=="string"?s.jsx(N.Typography,{variant:"h4",children:e.title}):e.title,typeof e.subTitle=="string"?s.jsx(N.Typography,{color:"success.main",variant:"body1",...e.subTitleProps,children:e.subTitle}):e.subTitle]}),s.jsx(N.DialogContent,{sx:{...e.contentProps,overflowY:e.fixOverflow?"unset":void 0},children:e.desc}),!(e.hideClose&&e.hideConfirm)&&s.jsx(N.DialogActions,{...e.dialogActionsProps,sx:{display:"flex",justifyContent:"space-between","& button":{minWidth:e.minWidthButton||200},px:3,pb:3,...(t=e.dialogActionsProps)==null?void 0:t.sx},children:e.customActions?e.customActions:s.jsxs(s.Fragment,{children:[!e.hideClose&&s.jsx(N.Button,{color:"error",onClick:e.onClose,children:"Close"}),!e.hideConfirm&&s.jsx(N.Button,{color:"primary",onClick:e.onConfirm,children:"Submit"})]})})]})}function _o(e){const t=xo(typeof e=="boolean"?e:void 0);return{setTrue:t.setTrue,open:t.value,onClose:t.setFalse,onConfirm:typeof e!="boolean"?e==null?void 0:e.onConfirm:void 0}}function So({rootPath:e}){return s.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"100vw",height:"100vh",alignItems:"center",justifyContent:"center"},children:[s.jsx("h1",{children:"404 - Not Found"}),s.jsx("p",{children:"Sorry, the page you are looking for does not exist."}),s.jsx(N.Box,{height:"16px"}),s.jsx(an.Link,{to:e,children:s.jsx(N.Button,{variant:"contained",color:"primary",children:"Go to Home"})})]})}const wo=()=>{const{t:e}=m.useTranslation();return s.jsx("div",{className:"unauth__container "+m.styles["page-container"],children:s.jsxs("div",{className:"unauth__main-content "+m.styles["page-main-content"],children:[s.jsx(Eo,{}),s.jsxs("div",{className:"unauth__main-text",children:[s.jsx("h2",{className:"unauth__main-text__title "+m.styles["page-title"],children:e("components.unauthorizedPage.title")}),s.jsxs("p",{className:"unauth__main-text__desc "+m.styles["text-base"],children:[e("components.unauthorizedPage.description1")," ",s.jsx("br",{})," ",e("components.unauthorizedPage.description2")]})]})]})})},Eo=()=>s.jsxs("svg",{width:"61",height:"60",viewBox:"0 0 61 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsxs("g",{filter:"url(#filter0_d_10800_50471)",children:[s.jsx("rect",{x:"2.5",y:"1",width:"56",height:"56",rx:"28",fill:"white"}),s.jsx("path",{d:"M24.6667 27.833V23.1663C24.6667 21.6192 25.2812 20.1355 26.3752 19.0416C27.4692 17.9476 28.9529 17.333 30.5 17.333C32.0471 17.333 33.5308 17.9476 34.6248 19.0416C35.7188 20.1355 36.3333 21.6192 36.3333 23.1663V27.833M22.3333 27.833H38.6667C39.9553 27.833 41 28.8777 41 30.1663V38.333C41 39.6217 39.9553 40.6663 38.6667 40.6663H22.3333C21.0447 40.6663 20 39.6217 20 38.333V30.1663C20 28.8777 21.0447 27.833 22.3333 27.833Z",stroke:"#292929","stroke-width":"2.33333","stroke-linecap":"round","stroke-linejoin":"round"})]}),s.jsx("defs",{children:s.jsxs("filter",{id:"filter0_d_10800_50471",x:"0.5",y:"0",width:"60",height:"60",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB",children:[s.jsx("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),s.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),s.jsx("feOffset",{dy:"1"}),s.jsx("feGaussianBlur",{stdDeviation:"1"}),s.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.05 0"}),s.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_10800_50471"}),s.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_10800_50471",result:"shape"})]})})]});function he(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function sn(e){if(!he(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=sn(e[r])}),t}function ce(e,t,r={clone:!0}){const n=r.clone?m._extends({},e):e;return he(e)&&he(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(he(t[o])&&o in e&&he(e[o])?n[o]=ce(e[o],t[o],r):r.clone?n[o]=he(t[o])?sn(t[o]):t[o]:n[o]=t[o])}),n}const Co=Object.freeze(Object.defineProperty({__proto__:null,default:ce,isPlainObject:he},Symbol.toStringTag,{value:"Module"}));function Ue(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const jo=Object.freeze(Object.defineProperty({__proto__:null,default:Ue},Symbol.toStringTag,{value:"Module"}));var Ft={exports:{}},P={};/**
37
37
  * @license React
38
38
  * react-is.production.min.js
39
39
  *
@@ -41,7 +41,7 @@
41
41
  *
42
42
  * This source code is licensed under the MIT license found in the
43
43
  * LICENSE file in the root directory of this source tree.
44
- */var mr;function jo(){if(mr)return I;mr=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),v;v=Symbol.for("react.module.reference");function l(d){if(typeof d=="object"&&d!==null){var x=d.$$typeof;switch(x){case e:switch(d=d.type,d){case r:case o:case n:case f:case m:return d;default:switch(d=d&&d.$$typeof,d){case c:case a:case u:case y:case h:case i:return d;default:return x}}case t:return x}}}return I.ContextConsumer=a,I.ContextProvider=i,I.Element=e,I.ForwardRef=u,I.Fragment=r,I.Lazy=y,I.Memo=h,I.Portal=t,I.Profiler=o,I.StrictMode=n,I.Suspense=f,I.SuspenseList=m,I.isAsyncMode=function(){return!1},I.isConcurrentMode=function(){return!1},I.isContextConsumer=function(d){return l(d)===a},I.isContextProvider=function(d){return l(d)===i},I.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===e},I.isForwardRef=function(d){return l(d)===u},I.isFragment=function(d){return l(d)===r},I.isLazy=function(d){return l(d)===y},I.isMemo=function(d){return l(d)===h},I.isPortal=function(d){return l(d)===t},I.isProfiler=function(d){return l(d)===o},I.isStrictMode=function(d){return l(d)===n},I.isSuspense=function(d){return l(d)===f},I.isSuspenseList=function(d){return l(d)===m},I.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===r||d===o||d===n||d===f||d===m||d===b||typeof d=="object"&&d!==null&&(d.$$typeof===y||d.$$typeof===h||d.$$typeof===i||d.$$typeof===a||d.$$typeof===u||d.$$typeof===v||d.getModuleId!==void 0)},I.typeOf=l,I}var M={};/**
44
+ */var gr;function To(){if(gr)return P;gr=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),v;v=Symbol.for("react.module.reference");function c(u){if(typeof u=="object"&&u!==null){var x=u.$$typeof;switch(x){case e:switch(u=u.type,u){case r:case o:case n:case f:case p:return u;default:switch(u=u&&u.$$typeof,u){case l:case a:case d:case y:case h:case i:return u;default:return x}}case t:return x}}}return P.ContextConsumer=a,P.ContextProvider=i,P.Element=e,P.ForwardRef=d,P.Fragment=r,P.Lazy=y,P.Memo=h,P.Portal=t,P.Profiler=o,P.StrictMode=n,P.Suspense=f,P.SuspenseList=p,P.isAsyncMode=function(){return!1},P.isConcurrentMode=function(){return!1},P.isContextConsumer=function(u){return c(u)===a},P.isContextProvider=function(u){return c(u)===i},P.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===e},P.isForwardRef=function(u){return c(u)===d},P.isFragment=function(u){return c(u)===r},P.isLazy=function(u){return c(u)===y},P.isMemo=function(u){return c(u)===h},P.isPortal=function(u){return c(u)===t},P.isProfiler=function(u){return c(u)===o},P.isStrictMode=function(u){return c(u)===n},P.isSuspense=function(u){return c(u)===f},P.isSuspenseList=function(u){return c(u)===p},P.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===r||u===o||u===n||u===f||u===p||u===b||typeof u=="object"&&u!==null&&(u.$$typeof===y||u.$$typeof===h||u.$$typeof===i||u.$$typeof===a||u.$$typeof===d||u.$$typeof===v||u.getModuleId!==void 0)},P.typeOf=c,P}var M={};/**
45
45
  * @license React
46
46
  * react-is.development.js
47
47
  *
@@ -49,50 +49,50 @@
49
49
  *
50
50
  * This source code is licensed under the MIT license found in the
51
51
  * LICENSE file in the root directory of this source tree.
52
- */var gr;function To(){return gr||(gr=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),v=!1,l=!1,d=!1,x=!1,_=!1,w;w=Symbol.for("react.module.reference");function C(O){return!!(typeof O=="string"||typeof O=="function"||O===r||O===o||_||O===n||O===f||O===m||x||O===b||v||l||d||typeof O=="object"&&O!==null&&(O.$$typeof===y||O.$$typeof===h||O.$$typeof===i||O.$$typeof===a||O.$$typeof===u||O.$$typeof===w||O.getModuleId!==void 0))}function g(O){if(typeof O=="object"&&O!==null){var Ee=O.$$typeof;switch(Ee){case e:var tt=O.type;switch(tt){case r:case o:case n:case f:case m:return tt;default:var hr=tt&&tt.$$typeof;switch(hr){case c:case a:case u:case y:case h:case i:return hr;default:return Ee}}case t:return Ee}}}var S=a,E=i,$=e,k=u,H=r,z=y,W=h,G=t,ae=o,me=n,ge=f,be=m,de=!1,_e=!1;function ye(O){return de||(de=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Le(O){return _e||(_e=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Fe(O){return g(O)===a}function Se(O){return g(O)===i}function ue(O){return typeof O=="object"&&O!==null&&O.$$typeof===e}function we(O){return g(O)===u}function kt(O){return g(O)===r}function $t(O){return g(O)===y}function Pt(O){return g(O)===h}function At(O){return g(O)===t}function It(O){return g(O)===o}function Mt(O){return g(O)===n}function T(O){return g(O)===f}function Ve(O){return g(O)===m}M.ContextConsumer=S,M.ContextProvider=E,M.Element=$,M.ForwardRef=k,M.Fragment=H,M.Lazy=z,M.Memo=W,M.Portal=G,M.Profiler=ae,M.StrictMode=me,M.Suspense=ge,M.SuspenseList=be,M.isAsyncMode=ye,M.isConcurrentMode=Le,M.isContextConsumer=Fe,M.isContextProvider=Se,M.isElement=ue,M.isForwardRef=we,M.isFragment=kt,M.isLazy=$t,M.isMemo=Pt,M.isPortal=At,M.isProfiler=It,M.isStrictMode=Mt,M.isSuspense=T,M.isSuspenseList=Ve,M.isValidElementType=C,M.typeOf=g}()),M}process.env.NODE_ENV==="production"?Ft.exports=jo():Ft.exports=To();var yr=Ft.exports;const Oo=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function sn(e){const t=`${e}`.match(Oo);return t&&t[1]||""}function ln(e,t=""){return e.displayName||e.name||sn(e)||t}function vr(e,t,r){const n=ln(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function No(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return ln(e,"Component");if(typeof e=="object")switch(e.$$typeof){case yr.ForwardRef:return vr(e,e.render,"ForwardRef");case yr.Memo:return vr(e,e.type,"memo");default:return}}}const ko=Object.freeze(Object.defineProperty({__proto__:null,default:No,getFunctionName:sn},Symbol.toStringTag,{value:"Module"}));function ve(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ue(7));return e.charAt(0).toUpperCase()+e.slice(1)}const $o=Object.freeze(Object.defineProperty({__proto__:null,default:ve},Symbol.toStringTag,{value:"Module"}));function cn(e,t){const r=p._extends({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=p._extends({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=p._extends({},i),Object.keys(o).forEach(a=>{r[n][a]=cn(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Po(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((i,a)=>{if(a){const c=t(a);c!==""&&i.push(c),r&&r[a]&&i.push(r[a])}return i},[]).join(" ")}),n}const xr=e=>e,Ao=()=>{let e=xr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=xr}}},Io=Ao(),Mo=Io,Ro={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Zt(e,t,r="Mui"){const n=Ro[t];return n?`${r}-${n}`:`${Mo.generate(e)}-${t}`}function Do(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Zt(e,o,r)}),n}function zo(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const Lo=Object.freeze(Object.defineProperty({__proto__:null,default:zo},Symbol.toStringTag,{value:"Module"}));function Fo(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:cn(t.components[r].defaultProps,n)}const Vo=["values","unit","step"],Bo=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>p._extends({},r,{[n.key]:n.val}),{})};function dn(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=p._objectWithoutPropertiesLoose(e,Vo),i=Bo(t),a=Object.keys(i);function c(y){return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${r})`}function u(y){return`@media (max-width:${(typeof t[y]=="number"?t[y]:y)-n/100}${r})`}function f(y,b){const v=a.indexOf(b);return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${r}) and (max-width:${(v!==-1&&typeof t[a[v]]=="number"?t[a[v]]:b)-n/100}${r})`}function m(y){return a.indexOf(y)+1<a.length?f(y,a[a.indexOf(y)+1]):c(y)}function h(y){const b=a.indexOf(y);return b===0?c(a[1]):b===a.length-1?u(a[b]):f(y,a[a.indexOf(y)+1]).replace("@media","@media not all and")}return p._extends({keys:a,values:i,up:c,down:u,between:f,only:m,not:h,unit:r},o)}const Ho={borderRadius:4},Wo=Ho,Uo=process.env.NODE_ENV!=="production"?p.PropTypes.oneOfType([p.PropTypes.number,p.PropTypes.string,p.PropTypes.object,p.PropTypes.array]):{},pe=Uo;function We(e,t){return t?le(e,t,{clone:!1}):e}const Xt={xs:0,sm:600,md:900,lg:1200,xl:1536},br={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Xt[e]}px)`};function fe(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||br;return t.reduce((a,c,u)=>(a[i.up(i.keys[u])]=r(t[u]),a),{})}if(typeof t=="object"){const i=n.breakpoints||br;return Object.keys(t).reduce((a,c)=>{if(Object.keys(i.values||Xt).indexOf(c)!==-1){const u=i.up(c);a[u]=r(t[c],c)}else{const u=c;a[u]=t[u]}return a},{})}return r(t)}function qo(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function Yo(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function gt(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function ut(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=gt(e,r)||n,t&&(o=t(o,n,e)),o}function U(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const c=a[t],u=a.theme,f=gt(u,n)||{};return fe(a,c,h=>{let y=ut(f,o,h);return h===y&&typeof h=="string"&&(y=ut(f,o,`${t}${h==="default"?"":ve(h)}`,h)),r===!1?y:{[r]:y}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:pe}:{},i.filterProps=[t],i}function Go(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Ko={m:"margin",p:"padding"},Zo={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},_r={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Xo=Go(e=>{if(e.length>2)if(_r[e])e=_r[e];else return[e];const[t,r]=e.split(""),n=Ko[t],o=Zo[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),yt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],vt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Jo=[...yt,...vt];function Ze(e,t,r,n){var o;const i=(o=gt(e,t,!1))!=null?o:r;return typeof i=="number"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`),i*a):Array.isArray(i)?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>i.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${a} > ${i.length-1}, you need to add the missing values.`].join(`
52
+ */var yr;function Oo(){return yr||(yr=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),v=!1,c=!1,u=!1,x=!1,_=!1,w;w=Symbol.for("react.module.reference");function C(O){return!!(typeof O=="string"||typeof O=="function"||O===r||O===o||_||O===n||O===f||O===p||x||O===b||v||c||u||typeof O=="object"&&O!==null&&(O.$$typeof===y||O.$$typeof===h||O.$$typeof===i||O.$$typeof===a||O.$$typeof===d||O.$$typeof===w||O.getModuleId!==void 0))}function g(O){if(typeof O=="object"&&O!==null){var Ee=O.$$typeof;switch(Ee){case e:var tt=O.type;switch(tt){case r:case o:case n:case f:case p:return tt;default:var pr=tt&&tt.$$typeof;switch(pr){case l:case a:case d:case y:case h:case i:return pr;default:return Ee}}case t:return Ee}}}var S=a,E=i,$=e,k=d,H=r,z=y,W=h,G=t,ae=o,me=n,ge=f,be=p,de=!1,_e=!1;function ye(O){return de||(de=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Le(O){return _e||(_e=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Fe(O){return g(O)===a}function Se(O){return g(O)===i}function ue(O){return typeof O=="object"&&O!==null&&O.$$typeof===e}function we(O){return g(O)===d}function kt(O){return g(O)===r}function $t(O){return g(O)===y}function At(O){return g(O)===h}function It(O){return g(O)===t}function Pt(O){return g(O)===o}function Mt(O){return g(O)===n}function T(O){return g(O)===f}function Ve(O){return g(O)===p}M.ContextConsumer=S,M.ContextProvider=E,M.Element=$,M.ForwardRef=k,M.Fragment=H,M.Lazy=z,M.Memo=W,M.Portal=G,M.Profiler=ae,M.StrictMode=me,M.Suspense=ge,M.SuspenseList=be,M.isAsyncMode=ye,M.isConcurrentMode=Le,M.isContextConsumer=Fe,M.isContextProvider=Se,M.isElement=ue,M.isForwardRef=we,M.isFragment=kt,M.isLazy=$t,M.isMemo=At,M.isPortal=It,M.isProfiler=Pt,M.isStrictMode=Mt,M.isSuspense=T,M.isSuspenseList=Ve,M.isValidElementType=C,M.typeOf=g}()),M}process.env.NODE_ENV==="production"?Ft.exports=To():Ft.exports=Oo();var vr=Ft.exports;const No=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function cn(e){const t=`${e}`.match(No);return t&&t[1]||""}function ln(e,t=""){return e.displayName||e.name||cn(e)||t}function xr(e,t,r){const n=ln(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function ko(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return ln(e,"Component");if(typeof e=="object")switch(e.$$typeof){case vr.ForwardRef:return xr(e,e.render,"ForwardRef");case vr.Memo:return xr(e,e.type,"memo");default:return}}}const $o=Object.freeze(Object.defineProperty({__proto__:null,default:ko,getFunctionName:cn},Symbol.toStringTag,{value:"Module"}));function ve(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ue(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Ao=Object.freeze(Object.defineProperty({__proto__:null,default:ve},Symbol.toStringTag,{value:"Module"}));function dn(e,t){const r=m._extends({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=m._extends({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=m._extends({},i),Object.keys(o).forEach(a=>{r[n][a]=dn(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Io(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((i,a)=>{if(a){const l=t(a);l!==""&&i.push(l),r&&r[a]&&i.push(r[a])}return i},[]).join(" ")}),n}const br=e=>e,Po=()=>{let e=br;return{configure(t){e=t},generate(t){return e(t)},reset(){e=br}}},Mo=Po(),Ro=Mo,Do={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Xt(e,t,r="Mui"){const n=Do[t];return n?`${r}-${n}`:`${Ro.generate(e)}-${t}`}function zo(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Xt(e,o,r)}),n}function Lo(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const Fo=Object.freeze(Object.defineProperty({__proto__:null,default:Lo},Symbol.toStringTag,{value:"Module"}));function Vo(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:dn(t.components[r].defaultProps,n)}const Bo=["values","unit","step"],Ho=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>m._extends({},r,{[n.key]:n.val}),{})};function un(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=m._objectWithoutPropertiesLoose(e,Bo),i=Ho(t),a=Object.keys(i);function l(y){return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${r})`}function d(y){return`@media (max-width:${(typeof t[y]=="number"?t[y]:y)-n/100}${r})`}function f(y,b){const v=a.indexOf(b);return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${r}) and (max-width:${(v!==-1&&typeof t[a[v]]=="number"?t[a[v]]:b)-n/100}${r})`}function p(y){return a.indexOf(y)+1<a.length?f(y,a[a.indexOf(y)+1]):l(y)}function h(y){const b=a.indexOf(y);return b===0?l(a[1]):b===a.length-1?d(a[b]):f(y,a[a.indexOf(y)+1]).replace("@media","@media not all and")}return m._extends({keys:a,values:i,up:l,down:d,between:f,only:p,not:h,unit:r},o)}const Wo={borderRadius:4},Uo=Wo,qo=process.env.NODE_ENV!=="production"?m.PropTypes.oneOfType([m.PropTypes.number,m.PropTypes.string,m.PropTypes.object,m.PropTypes.array]):{},pe=qo;function We(e,t){return t?ce(e,t,{clone:!1}):e}const Jt={xs:0,sm:600,md:900,lg:1200,xl:1536},_r={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Jt[e]}px)`};function fe(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||_r;return t.reduce((a,l,d)=>(a[i.up(i.keys[d])]=r(t[d]),a),{})}if(typeof t=="object"){const i=n.breakpoints||_r;return Object.keys(t).reduce((a,l)=>{if(Object.keys(i.values||Jt).indexOf(l)!==-1){const d=i.up(l);a[d]=r(t[l],l)}else{const d=l;a[d]=t[d]}return a},{})}return r(t)}function Yo(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function Go(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function gt(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function ut(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=gt(e,r)||n,t&&(o=t(o,n,e)),o}function U(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const l=a[t],d=a.theme,f=gt(d,n)||{};return fe(a,l,h=>{let y=ut(f,o,h);return h===y&&typeof h=="string"&&(y=ut(f,o,`${t}${h==="default"?"":ve(h)}`,h)),r===!1?y:{[r]:y}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:pe}:{},i.filterProps=[t],i}function Ko(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Zo={m:"margin",p:"padding"},Xo={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Sr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Jo=Ko(e=>{if(e.length>2)if(Sr[e])e=Sr[e];else return[e];const[t,r]=e.split(""),n=Zo[t],o=Xo[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),yt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],vt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Qo=[...yt,...vt];function Ze(e,t,r,n){var o;const i=(o=gt(e,t,!1))!=null?o:r;return typeof i=="number"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`),i*a):Array.isArray(i)?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>i.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${a} > ${i.length-1}, you need to add the missing values.`].join(`
53
53
  `)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
54
54
  `))),i[a]):typeof i=="function"?i:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join(`
55
- `)),()=>{})}function un(e){return Ze(e,"spacing",8,"spacing")}function Xe(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function Qo(e,t){return r=>e.reduce((n,o)=>(n[o]=Xe(t,r),n),{})}function ei(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=Xo(r),i=Qo(o,n),a=e[r];return fe(e,a,i)}function fn(e,t){const r=un(e.theme);return Object.keys(e).map(n=>ei(e,t,n,r)).reduce(We,{})}function V(e){return fn(e,yt)}V.propTypes=process.env.NODE_ENV!=="production"?yt.reduce((e,t)=>(e[t]=pe,e),{}):{};V.filterProps=yt;function B(e){return fn(e,vt)}B.propTypes=process.env.NODE_ENV!=="production"?vt.reduce((e,t)=>(e[t]=pe,e),{}):{};B.filterProps=vt;process.env.NODE_ENV!=="production"&&Jo.reduce((e,t)=>(e[t]=pe,e),{});function ti(e=8){if(e.mui)return e;const t=un({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function xt(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?We(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function re(e){return typeof e!="number"?e:`${e}px solid`}function oe(e,t){return U({prop:e,themeKey:"borders",transform:t})}const ri=oe("border",re),ni=oe("borderTop",re),oi=oe("borderRight",re),ii=oe("borderBottom",re),ai=oe("borderLeft",re),si=oe("borderColor"),li=oe("borderTopColor"),ci=oe("borderRightColor"),di=oe("borderBottomColor"),ui=oe("borderLeftColor"),fi=oe("outline",re),hi=oe("outlineColor"),bt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ze(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Xe(t,n)});return fe(e,e.borderRadius,r)}return null};bt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:pe}:{};bt.filterProps=["borderRadius"];xt(ri,ni,oi,ii,ai,si,li,ci,di,ui,bt,fi,hi);const _t=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ze(e.theme,"spacing",8,"gap"),r=n=>({gap:Xe(t,n)});return fe(e,e.gap,r)}return null};_t.propTypes=process.env.NODE_ENV!=="production"?{gap:pe}:{};_t.filterProps=["gap"];const St=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ze(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Xe(t,n)});return fe(e,e.columnGap,r)}return null};St.propTypes=process.env.NODE_ENV!=="production"?{columnGap:pe}:{};St.filterProps=["columnGap"];const wt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ze(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Xe(t,n)});return fe(e,e.rowGap,r)}return null};wt.propTypes=process.env.NODE_ENV!=="production"?{rowGap:pe}:{};wt.filterProps=["rowGap"];const pi=U({prop:"gridColumn"}),mi=U({prop:"gridRow"}),gi=U({prop:"gridAutoFlow"}),yi=U({prop:"gridAutoColumns"}),xi=U({prop:"gridAutoRows"}),bi=U({prop:"gridTemplateColumns"}),_i=U({prop:"gridTemplateRows"}),Si=U({prop:"gridTemplateAreas"}),wi=U({prop:"gridArea"});xt(_t,St,wt,pi,mi,gi,yi,xi,bi,_i,Si,wi);function Pe(e,t){return t==="grey"?t:e}const Ei=U({prop:"color",themeKey:"palette",transform:Pe}),Ci=U({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Pe}),ji=U({prop:"backgroundColor",themeKey:"palette",transform:Pe});xt(Ei,Ci,ji);function Q(e){return e<=1&&e!==0?`${e*100}%`:e}const Ti=U({prop:"width",transform:Q}),Jt=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Xt[r];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Q(r)}};return fe(e,e.maxWidth,t)}return null};Jt.filterProps=["maxWidth"];const Oi=U({prop:"minWidth",transform:Q}),Ni=U({prop:"height",transform:Q}),ki=U({prop:"maxHeight",transform:Q}),$i=U({prop:"minHeight",transform:Q});U({prop:"size",cssProperty:"width",transform:Q});U({prop:"size",cssProperty:"height",transform:Q});const Pi=U({prop:"boxSizing"});xt(Ti,Jt,Oi,Ni,ki,$i,Pi);const Ai={border:{themeKey:"borders",transform:re},borderTop:{themeKey:"borders",transform:re},borderRight:{themeKey:"borders",transform:re},borderBottom:{themeKey:"borders",transform:re},borderLeft:{themeKey:"borders",transform:re},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:re},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:bt},color:{themeKey:"palette",transform:Pe},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Pe},backgroundColor:{themeKey:"palette",transform:Pe},p:{style:B},pt:{style:B},pr:{style:B},pb:{style:B},pl:{style:B},px:{style:B},py:{style:B},padding:{style:B},paddingTop:{style:B},paddingRight:{style:B},paddingBottom:{style:B},paddingLeft:{style:B},paddingX:{style:B},paddingY:{style:B},paddingInline:{style:B},paddingInlineStart:{style:B},paddingInlineEnd:{style:B},paddingBlock:{style:B},paddingBlockStart:{style:B},paddingBlockEnd:{style:B},m:{style:V},mt:{style:V},mr:{style:V},mb:{style:V},ml:{style:V},mx:{style:V},my:{style:V},margin:{style:V},marginTop:{style:V},marginRight:{style:V},marginBottom:{style:V},marginLeft:{style:V},marginX:{style:V},marginY:{style:V},marginInline:{style:V},marginInlineStart:{style:V},marginInlineEnd:{style:V},marginBlock:{style:V},marginBlockStart:{style:V},marginBlockEnd:{style:V},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:_t},rowGap:{style:wt},columnGap:{style:St},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Q},maxWidth:{style:Jt},minWidth:{transform:Q},height:{transform:Q},maxHeight:{transform:Q},minHeight:{transform:Q},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Je=Ai;function Ii(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Mi(e,t){return typeof e=="function"?e(t):e}function hn(){function e(r,n,o,i){const a={[r]:n,theme:o},c=i[r];if(!c)return{[r]:n};const{cssProperty:u=r,themeKey:f,transform:m,style:h}=c;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[r]:n};const y=gt(o,f)||{};return h?h(a):fe(a,n,v=>{let l=ut(y,m,v);return v===l&&typeof v=="string"&&(l=ut(y,m,`${r}${v==="default"?"":ve(v)}`,v)),u===!1?l:{[u]:l}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:Je;function c(u){let f=u;if(typeof u=="function")f=u(i);else if(typeof u!="object")return u;if(!f)return null;const m=qo(i.breakpoints),h=Object.keys(m);let y=m;return Object.keys(f).forEach(b=>{const v=Mi(f[b],i);if(v!=null)if(typeof v=="object")if(a[b])y=We(y,e(b,v,i,a));else{const l=fe({theme:i},v,d=>({[b]:d}));Ii(l,v)?y[b]=t({sx:v,theme:i}):y=We(y,l)}else y=We(y,e(b,v,i,a))}),Yo(h,y)}return Array.isArray(o)?o.map(c):c(o)}return t}const pn=hn();pn.filterProps=["sx"];const Qt=pn;function mn(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const Ri=["breakpoints","palette","spacing","shape"];function er(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=p._objectWithoutPropertiesLoose(e,Ri),c=dn(r),u=ti(o);let f=le({breakpoints:c,direction:"ltr",components:{},palette:p._extends({mode:"light"},n),spacing:u,shape:p._extends({},Wo,i)},a);return f.applyStyles=mn,f=t.reduce((m,h)=>le(m,h),f),f.unstable_sxConfig=p._extends({},Je,a==null?void 0:a.unstable_sxConfig),f.unstable_sx=function(h){return Qt({sx:h,theme:this})},f}const Di=Object.freeze(Object.defineProperty({__proto__:null,default:er,private_createBreakpoints:dn,unstable_applyStyles:mn},Symbol.toStringTag,{value:"Module"}));function gn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var zi=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Li=gn(function(e){return zi.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Fi(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Vi(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Bi=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?process.env.NODE_ENV==="production":r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Vi(this));var o=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var i=n.charCodeAt(0)===64&&n.charCodeAt(1)===105;i&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
56
- `+n+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!i}if(this.isSpeedy){var a=Fi(o);try{a.insertRule(n,a.cssRules.length)}catch(c){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',c)}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),X="-ms-",ft="-moz-",P="-webkit-",tr="comm",rr="rule",nr="decl",Hi="@import",yn="@keyframes",Wi="@layer",Ui=Math.abs,Et=String.fromCharCode,qi=Object.assign;function Yi(e,t){return Z(e,0)^45?(((t<<2^Z(e,0))<<2^Z(e,1))<<2^Z(e,2))<<2^Z(e,3):0}function vn(e){return e.trim()}function Gi(e,t){return(e=t.exec(e))?e[0]:e}function A(e,t,r){return e.replace(t,r)}function Vt(e,t){return e.indexOf(t)}function Z(e,t){return e.charCodeAt(t)|0}function qe(e,t,r){return e.slice(t,r)}function se(e){return e.length}function or(e){return e.length}function rt(e,t){return t.push(e),e}function Ki(e,t){return e.map(t).join("")}var Ct=1,Ie=1,xn=0,J=0,Y=0,Re="";function jt(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Ct,column:Ie,length:a,return:""}}function Be(e,t){return qi(jt("",null,null,"",null,null,0),e,{length:-e.length},t)}function Zi(){return Y}function Xi(){return Y=J>0?Z(Re,--J):0,Ie--,Y===10&&(Ie=1,Ct--),Y}function ee(){return Y=J<xn?Z(Re,J++):0,Ie++,Y===10&&(Ie=1,Ct++),Y}function ce(){return Z(Re,J)}function ot(){return J}function Qe(e,t){return qe(Re,e,t)}function Ye(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function bn(e){return Ct=Ie=1,xn=se(Re=e),J=0,[]}function _n(e){return Re="",e}function it(e){return vn(Qe(J-1,Bt(e===91?e+2:e===40?e+1:e)))}function Ji(e){for(;(Y=ce())&&Y<33;)ee();return Ye(e)>2||Ye(Y)>3?"":" "}function Qi(e,t){for(;--t&&ee()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return Qe(e,ot()+(t<6&&ce()==32&&ee()==32))}function Bt(e){for(;ee();)switch(Y){case e:return J;case 34:case 39:e!==34&&e!==39&&Bt(Y);break;case 40:e===41&&Bt(e);break;case 92:ee();break}return J}function ea(e,t){for(;ee()&&e+Y!==47+10;)if(e+Y===42+42&&ce()===47)break;return"/*"+Qe(t,J-1)+"*"+Et(e===47?e:ee())}function ta(e){for(;!Ye(ce());)ee();return Qe(e,J)}function ra(e){return _n(at("",null,null,null,[""],e=bn(e),0,[0],e))}function at(e,t,r,n,o,i,a,c,u){for(var f=0,m=0,h=a,y=0,b=0,v=0,l=1,d=1,x=1,_=0,w="",C=o,g=i,S=n,E=w;d;)switch(v=_,_=ee()){case 40:if(v!=108&&Z(E,h-1)==58){Vt(E+=A(it(_),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:E+=it(_);break;case 9:case 10:case 13:case 32:E+=Ji(v);break;case 92:E+=Qi(ot()-1,7);continue;case 47:switch(ce()){case 42:case 47:rt(na(ea(ee(),ot()),t,r),u);break;default:E+="/"}break;case 123*l:c[f++]=se(E)*x;case 125*l:case 59:case 0:switch(_){case 0:case 125:d=0;case 59+m:x==-1&&(E=A(E,/\f/g,"")),b>0&&se(E)-h&&rt(b>32?wr(E+";",n,r,h-1):wr(A(E," ","")+";",n,r,h-2),u);break;case 59:E+=";";default:if(rt(S=Sr(E,t,r,f,m,o,c,w,C=[],g=[],h),i),_===123)if(m===0)at(E,t,S,S,C,i,h,c,g);else switch(y===99&&Z(E,3)===110?100:y){case 100:case 108:case 109:case 115:at(e,S,S,n&&rt(Sr(e,S,S,0,0,o,c,w,o,C=[],h),g),o,g,h,c,n?C:g);break;default:at(E,S,S,S,[""],g,0,c,g)}}f=m=b=0,l=x=1,w=E="",h=a;break;case 58:h=1+se(E),b=v;default:if(l<1){if(_==123)--l;else if(_==125&&l++==0&&Xi()==125)continue}switch(E+=Et(_),_*l){case 38:x=m>0?1:(E+="\f",-1);break;case 44:c[f++]=(se(E)-1)*x,x=1;break;case 64:ce()===45&&(E+=it(ee())),y=ce(),m=h=se(w=E+=ta(ot())),_++;break;case 45:v===45&&se(E)==2&&(l=0)}}return i}function Sr(e,t,r,n,o,i,a,c,u,f,m){for(var h=o-1,y=o===0?i:[""],b=or(y),v=0,l=0,d=0;v<n;++v)for(var x=0,_=qe(e,h+1,h=Ui(l=a[v])),w=e;x<b;++x)(w=vn(l>0?y[x]+" "+_:A(_,/&\f/g,y[x])))&&(u[d++]=w);return jt(e,t,r,o===0?rr:c,u,f,m)}function na(e,t,r){return jt(e,t,r,tr,Et(Zi()),qe(e,2,-2),0)}function wr(e,t,r,n){return jt(e,t,r,nr,qe(e,0,n),qe(e,n+1,-1),n)}function Ae(e,t){for(var r="",n=or(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function oa(e,t,r,n){switch(e.type){case Wi:if(e.children.length)break;case Hi:case nr:return e.return=e.return||e.value;case tr:return"";case yn:return e.return=e.value+"{"+Ae(e.children,n)+"}";case rr:e.value=e.props.join(",")}return se(r=Ae(e.children,n))?e.return=e.value+"{"+r+"}":""}function ia(e){var t=or(e);return function(r,n,o,i){for(var a="",c=0;c<t;c++)a+=e[c](r,n,o,i)||"";return a}}function aa(e){return function(t){t.root||(t=t.return)&&e(t)}}var sa=function(t,r,n){for(var o=0,i=0;o=i,i=ce(),o===38&&i===12&&(r[n]=1),!Ye(i);)ee();return Qe(t,J)},la=function(t,r){var n=-1,o=44;do switch(Ye(o)){case 0:o===38&&ce()===12&&(r[n]=1),t[n]+=sa(J-1,r,n);break;case 2:t[n]+=it(o);break;case 4:if(o===44){t[++n]=ce()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Et(o)}while(o=ee());return t},ca=function(t,r){return _n(la(bn(t),r))},Er=new WeakMap,da=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Er.get(n))&&!o){Er.set(t,!0);for(var i=[],a=ca(r,i),c=n.props,u=0,f=0;u<a.length;u++)for(var m=0;m<c.length;m++,f++)t.props[f]=i[u]?a[u].replace(/&\f/g,c[m]):c[m]+" "+a[u]}}},ua=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},fa="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",ha=function(t){return t.type==="comm"&&t.children.indexOf(fa)>-1},pa=function(t){return function(r,n,o){if(!(r.type!=="rule"||t.compat)){var i=r.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var a=!!r.parent,c=a?r.parent.children:o,u=c.length-1;u>=0;u--){var f=c[u];if(f.line<r.line)break;if(f.column<r.column){if(ha(f))return;break}}i.forEach(function(m){console.error('The pseudo class "'+m+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+m.split("-child")[0]+'-of-type".')})}}}},Sn=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},ma=function(t,r){for(var n=t-1;n>=0;n--)if(!Sn(r[n]))return!0;return!1},Cr=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},ga=function(t,r,n){Sn(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Cr(t)):ma(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Cr(t)))};function wn(e,t){switch(Yi(e,t)){case 5103:return P+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return P+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return P+e+ft+e+X+e+e;case 6828:case 4268:return P+e+X+e+e;case 6165:return P+e+X+"flex-"+e+e;case 5187:return P+e+A(e,/(\w+).+(:[^]+)/,P+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return P+e+X+"flex-item-"+A(e,/flex-|-self/,"")+e;case 4675:return P+e+X+"flex-line-pack"+A(e,/align-content|flex-|-self/,"")+e;case 5548:return P+e+X+A(e,"shrink","negative")+e;case 5292:return P+e+X+A(e,"basis","preferred-size")+e;case 6060:return P+"box-"+A(e,"-grow","")+P+e+X+A(e,"grow","positive")+e;case 4554:return P+A(e,/([^-])(transform)/g,"$1"+P+"$2")+e;case 6187:return A(A(A(e,/(zoom-|grab)/,P+"$1"),/(image-set)/,P+"$1"),e,"")+e;case 5495:case 3959:return A(e,/(image-set\([^]*)/,P+"$1$`$1");case 4968:return A(A(e,/(.+:)(flex-)?(.*)/,P+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+P+e+e;case 4095:case 3583:case 4068:case 2532:return A(e,/(.+)-inline(.+)/,P+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(se(e)-1-t>6)switch(Z(e,t+1)){case 109:if(Z(e,t+4)!==45)break;case 102:return A(e,/(.+:)(.+)-([^]+)/,"$1"+P+"$2-$3$1"+ft+(Z(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Vt(e,"stretch")?wn(A(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Z(e,t+1)!==115)break;case 6444:switch(Z(e,se(e)-3-(~Vt(e,"!important")&&10))){case 107:return A(e,":",":"+P)+e;case 101:return A(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+P+(Z(e,14)===45?"inline-":"")+"box$3$1"+P+"$2$3$1"+X+"$2box$3")+e}break;case 5936:switch(Z(e,t+11)){case 114:return P+e+X+A(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return P+e+X+A(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return P+e+X+A(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return P+e+X+e+e}return e}var ya=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case nr:t.return=wn(t.value,t.length);break;case yn:return Ae([Be(t,{value:A(t.value,"@","@"+P)})],o);case rr:if(t.length)return Ki(t.props,function(i){switch(Gi(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ae([Be(t,{props:[A(i,/:(read-\w+)/,":"+ft+"$1")]})],o);case"::placeholder":return Ae([Be(t,{props:[A(i,/:(plac\w+)/,":"+P+"input-$1")]}),Be(t,{props:[A(i,/:(plac\w+)/,":"+ft+"$1")]}),Be(t,{props:[A(i,/:(plac\w+)/,X+"input-$1")]})],o)}return""})}},va=[ya],En=function(t){var r=t.key;if(process.env.NODE_ENV!=="production"&&!r)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
57
- If multiple caches share the same key they might "fight" for each other's style elements.`);if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(l){var d=l.getAttribute("data-emotion");d.indexOf(" ")!==-1&&(document.head.appendChild(l),l.setAttribute("data-s",""))})}var o=t.stylisPlugins||va;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var i={},a,c=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(l){for(var d=l.getAttribute("data-emotion").split(" "),x=1;x<d.length;x++)i[d[x]]=!0;c.push(l)});var u,f=[da,ua];process.env.NODE_ENV!=="production"&&f.push(pa({get compat(){return v.compat}}),ga);{var m,h=[oa,process.env.NODE_ENV!=="production"?function(l){l.root||(l.return?m.insert(l.return):l.value&&l.type!==tr&&m.insert(l.value+"{}"))}:aa(function(l){m.insert(l)})],y=ia(f.concat(o,h)),b=function(d){return Ae(ra(d),y)};u=function(d,x,_,w){m=_,process.env.NODE_ENV!=="production"&&x.map!==void 0&&(m={insert:function(g){_.insert(g+x.map)}}),b(d?d+"{"+x.styles+"}":x.styles),w&&(v.inserted[x.name]=!0)}}var v={key:r,sheet:new Bi({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:u};return v.sheet.hydrate(c),v},Ht={exports:{}},R={};/** @license React v16.13.1
55
+ `)),()=>{})}function fn(e){return Ze(e,"spacing",8,"spacing")}function Xe(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function ei(e,t){return r=>e.reduce((n,o)=>(n[o]=Xe(t,r),n),{})}function ti(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=Jo(r),i=ei(o,n),a=e[r];return fe(e,a,i)}function hn(e,t){const r=fn(e.theme);return Object.keys(e).map(n=>ti(e,t,n,r)).reduce(We,{})}function V(e){return hn(e,yt)}V.propTypes=process.env.NODE_ENV!=="production"?yt.reduce((e,t)=>(e[t]=pe,e),{}):{};V.filterProps=yt;function B(e){return hn(e,vt)}B.propTypes=process.env.NODE_ENV!=="production"?vt.reduce((e,t)=>(e[t]=pe,e),{}):{};B.filterProps=vt;process.env.NODE_ENV!=="production"&&Qo.reduce((e,t)=>(e[t]=pe,e),{});function ri(e=8){if(e.mui)return e;const t=fn({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function xt(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?We(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function re(e){return typeof e!="number"?e:`${e}px solid`}function oe(e,t){return U({prop:e,themeKey:"borders",transform:t})}const ni=oe("border",re),oi=oe("borderTop",re),ii=oe("borderRight",re),ai=oe("borderBottom",re),si=oe("borderLeft",re),ci=oe("borderColor"),li=oe("borderTopColor"),di=oe("borderRightColor"),ui=oe("borderBottomColor"),fi=oe("borderLeftColor"),hi=oe("outline",re),pi=oe("outlineColor"),bt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ze(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Xe(t,n)});return fe(e,e.borderRadius,r)}return null};bt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:pe}:{};bt.filterProps=["borderRadius"];xt(ni,oi,ii,ai,si,ci,li,di,ui,fi,bt,hi,pi);const _t=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ze(e.theme,"spacing",8,"gap"),r=n=>({gap:Xe(t,n)});return fe(e,e.gap,r)}return null};_t.propTypes=process.env.NODE_ENV!=="production"?{gap:pe}:{};_t.filterProps=["gap"];const St=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ze(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Xe(t,n)});return fe(e,e.columnGap,r)}return null};St.propTypes=process.env.NODE_ENV!=="production"?{columnGap:pe}:{};St.filterProps=["columnGap"];const wt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ze(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Xe(t,n)});return fe(e,e.rowGap,r)}return null};wt.propTypes=process.env.NODE_ENV!=="production"?{rowGap:pe}:{};wt.filterProps=["rowGap"];const mi=U({prop:"gridColumn"}),gi=U({prop:"gridRow"}),yi=U({prop:"gridAutoFlow"}),xi=U({prop:"gridAutoColumns"}),bi=U({prop:"gridAutoRows"}),_i=U({prop:"gridTemplateColumns"}),Si=U({prop:"gridTemplateRows"}),wi=U({prop:"gridTemplateAreas"}),Ei=U({prop:"gridArea"});xt(_t,St,wt,mi,gi,yi,xi,bi,_i,Si,wi,Ei);function Ae(e,t){return t==="grey"?t:e}const Ci=U({prop:"color",themeKey:"palette",transform:Ae}),ji=U({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ae}),Ti=U({prop:"backgroundColor",themeKey:"palette",transform:Ae});xt(Ci,ji,Ti);function Q(e){return e<=1&&e!==0?`${e*100}%`:e}const Oi=U({prop:"width",transform:Q}),Qt=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Jt[r];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Q(r)}};return fe(e,e.maxWidth,t)}return null};Qt.filterProps=["maxWidth"];const Ni=U({prop:"minWidth",transform:Q}),ki=U({prop:"height",transform:Q}),$i=U({prop:"maxHeight",transform:Q}),Ai=U({prop:"minHeight",transform:Q});U({prop:"size",cssProperty:"width",transform:Q});U({prop:"size",cssProperty:"height",transform:Q});const Ii=U({prop:"boxSizing"});xt(Oi,Qt,Ni,ki,$i,Ai,Ii);const Pi={border:{themeKey:"borders",transform:re},borderTop:{themeKey:"borders",transform:re},borderRight:{themeKey:"borders",transform:re},borderBottom:{themeKey:"borders",transform:re},borderLeft:{themeKey:"borders",transform:re},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:re},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:bt},color:{themeKey:"palette",transform:Ae},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ae},backgroundColor:{themeKey:"palette",transform:Ae},p:{style:B},pt:{style:B},pr:{style:B},pb:{style:B},pl:{style:B},px:{style:B},py:{style:B},padding:{style:B},paddingTop:{style:B},paddingRight:{style:B},paddingBottom:{style:B},paddingLeft:{style:B},paddingX:{style:B},paddingY:{style:B},paddingInline:{style:B},paddingInlineStart:{style:B},paddingInlineEnd:{style:B},paddingBlock:{style:B},paddingBlockStart:{style:B},paddingBlockEnd:{style:B},m:{style:V},mt:{style:V},mr:{style:V},mb:{style:V},ml:{style:V},mx:{style:V},my:{style:V},margin:{style:V},marginTop:{style:V},marginRight:{style:V},marginBottom:{style:V},marginLeft:{style:V},marginX:{style:V},marginY:{style:V},marginInline:{style:V},marginInlineStart:{style:V},marginInlineEnd:{style:V},marginBlock:{style:V},marginBlockStart:{style:V},marginBlockEnd:{style:V},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:_t},rowGap:{style:wt},columnGap:{style:St},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Q},maxWidth:{style:Qt},minWidth:{transform:Q},height:{transform:Q},maxHeight:{transform:Q},minHeight:{transform:Q},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Je=Pi;function Mi(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Ri(e,t){return typeof e=="function"?e(t):e}function pn(){function e(r,n,o,i){const a={[r]:n,theme:o},l=i[r];if(!l)return{[r]:n};const{cssProperty:d=r,themeKey:f,transform:p,style:h}=l;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[r]:n};const y=gt(o,f)||{};return h?h(a):fe(a,n,v=>{let c=ut(y,p,v);return v===c&&typeof v=="string"&&(c=ut(y,p,`${r}${v==="default"?"":ve(v)}`,v)),d===!1?c:{[d]:c}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:Je;function l(d){let f=d;if(typeof d=="function")f=d(i);else if(typeof d!="object")return d;if(!f)return null;const p=Yo(i.breakpoints),h=Object.keys(p);let y=p;return Object.keys(f).forEach(b=>{const v=Ri(f[b],i);if(v!=null)if(typeof v=="object")if(a[b])y=We(y,e(b,v,i,a));else{const c=fe({theme:i},v,u=>({[b]:u}));Mi(c,v)?y[b]=t({sx:v,theme:i}):y=We(y,c)}else y=We(y,e(b,v,i,a))}),Go(h,y)}return Array.isArray(o)?o.map(l):l(o)}return t}const mn=pn();mn.filterProps=["sx"];const er=mn;function gn(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const Di=["breakpoints","palette","spacing","shape"];function tr(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=m._objectWithoutPropertiesLoose(e,Di),l=un(r),d=ri(o);let f=ce({breakpoints:l,direction:"ltr",components:{},palette:m._extends({mode:"light"},n),spacing:d,shape:m._extends({},Uo,i)},a);return f.applyStyles=gn,f=t.reduce((p,h)=>ce(p,h),f),f.unstable_sxConfig=m._extends({},Je,a==null?void 0:a.unstable_sxConfig),f.unstable_sx=function(h){return er({sx:h,theme:this})},f}const zi=Object.freeze(Object.defineProperty({__proto__:null,default:tr,private_createBreakpoints:un,unstable_applyStyles:gn},Symbol.toStringTag,{value:"Module"}));function yn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Li=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Fi=yn(function(e){return Li.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Vi(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Bi(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Hi=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?process.env.NODE_ENV==="production":r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Bi(this));var o=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var i=n.charCodeAt(0)===64&&n.charCodeAt(1)===105;i&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
56
+ `+n+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!i}if(this.isSpeedy){var a=Vi(o);try{a.insertRule(n,a.cssRules.length)}catch(l){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',l)}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),X="-ms-",ft="-moz-",A="-webkit-",rr="comm",nr="rule",or="decl",Wi="@import",vn="@keyframes",Ui="@layer",qi=Math.abs,Et=String.fromCharCode,Yi=Object.assign;function Gi(e,t){return Z(e,0)^45?(((t<<2^Z(e,0))<<2^Z(e,1))<<2^Z(e,2))<<2^Z(e,3):0}function xn(e){return e.trim()}function Ki(e,t){return(e=t.exec(e))?e[0]:e}function I(e,t,r){return e.replace(t,r)}function Vt(e,t){return e.indexOf(t)}function Z(e,t){return e.charCodeAt(t)|0}function qe(e,t,r){return e.slice(t,r)}function se(e){return e.length}function ir(e){return e.length}function rt(e,t){return t.push(e),e}function Zi(e,t){return e.map(t).join("")}var Ct=1,Pe=1,bn=0,J=0,Y=0,Re="";function jt(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Ct,column:Pe,length:a,return:""}}function Be(e,t){return Yi(jt("",null,null,"",null,null,0),e,{length:-e.length},t)}function Xi(){return Y}function Ji(){return Y=J>0?Z(Re,--J):0,Pe--,Y===10&&(Pe=1,Ct--),Y}function ee(){return Y=J<bn?Z(Re,J++):0,Pe++,Y===10&&(Pe=1,Ct++),Y}function le(){return Z(Re,J)}function ot(){return J}function Qe(e,t){return qe(Re,e,t)}function Ye(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _n(e){return Ct=Pe=1,bn=se(Re=e),J=0,[]}function Sn(e){return Re="",e}function it(e){return xn(Qe(J-1,Bt(e===91?e+2:e===40?e+1:e)))}function Qi(e){for(;(Y=le())&&Y<33;)ee();return Ye(e)>2||Ye(Y)>3?"":" "}function ea(e,t){for(;--t&&ee()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return Qe(e,ot()+(t<6&&le()==32&&ee()==32))}function Bt(e){for(;ee();)switch(Y){case e:return J;case 34:case 39:e!==34&&e!==39&&Bt(Y);break;case 40:e===41&&Bt(e);break;case 92:ee();break}return J}function ta(e,t){for(;ee()&&e+Y!==47+10;)if(e+Y===42+42&&le()===47)break;return"/*"+Qe(t,J-1)+"*"+Et(e===47?e:ee())}function ra(e){for(;!Ye(le());)ee();return Qe(e,J)}function na(e){return Sn(at("",null,null,null,[""],e=_n(e),0,[0],e))}function at(e,t,r,n,o,i,a,l,d){for(var f=0,p=0,h=a,y=0,b=0,v=0,c=1,u=1,x=1,_=0,w="",C=o,g=i,S=n,E=w;u;)switch(v=_,_=ee()){case 40:if(v!=108&&Z(E,h-1)==58){Vt(E+=I(it(_),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:E+=it(_);break;case 9:case 10:case 13:case 32:E+=Qi(v);break;case 92:E+=ea(ot()-1,7);continue;case 47:switch(le()){case 42:case 47:rt(oa(ta(ee(),ot()),t,r),d);break;default:E+="/"}break;case 123*c:l[f++]=se(E)*x;case 125*c:case 59:case 0:switch(_){case 0:case 125:u=0;case 59+p:x==-1&&(E=I(E,/\f/g,"")),b>0&&se(E)-h&&rt(b>32?Er(E+";",n,r,h-1):Er(I(E," ","")+";",n,r,h-2),d);break;case 59:E+=";";default:if(rt(S=wr(E,t,r,f,p,o,l,w,C=[],g=[],h),i),_===123)if(p===0)at(E,t,S,S,C,i,h,l,g);else switch(y===99&&Z(E,3)===110?100:y){case 100:case 108:case 109:case 115:at(e,S,S,n&&rt(wr(e,S,S,0,0,o,l,w,o,C=[],h),g),o,g,h,l,n?C:g);break;default:at(E,S,S,S,[""],g,0,l,g)}}f=p=b=0,c=x=1,w=E="",h=a;break;case 58:h=1+se(E),b=v;default:if(c<1){if(_==123)--c;else if(_==125&&c++==0&&Ji()==125)continue}switch(E+=Et(_),_*c){case 38:x=p>0?1:(E+="\f",-1);break;case 44:l[f++]=(se(E)-1)*x,x=1;break;case 64:le()===45&&(E+=it(ee())),y=le(),p=h=se(w=E+=ra(ot())),_++;break;case 45:v===45&&se(E)==2&&(c=0)}}return i}function wr(e,t,r,n,o,i,a,l,d,f,p){for(var h=o-1,y=o===0?i:[""],b=ir(y),v=0,c=0,u=0;v<n;++v)for(var x=0,_=qe(e,h+1,h=qi(c=a[v])),w=e;x<b;++x)(w=xn(c>0?y[x]+" "+_:I(_,/&\f/g,y[x])))&&(d[u++]=w);return jt(e,t,r,o===0?nr:l,d,f,p)}function oa(e,t,r){return jt(e,t,r,rr,Et(Xi()),qe(e,2,-2),0)}function Er(e,t,r,n){return jt(e,t,r,or,qe(e,0,n),qe(e,n+1,-1),n)}function Ie(e,t){for(var r="",n=ir(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function ia(e,t,r,n){switch(e.type){case Ui:if(e.children.length)break;case Wi:case or:return e.return=e.return||e.value;case rr:return"";case vn:return e.return=e.value+"{"+Ie(e.children,n)+"}";case nr:e.value=e.props.join(",")}return se(r=Ie(e.children,n))?e.return=e.value+"{"+r+"}":""}function aa(e){var t=ir(e);return function(r,n,o,i){for(var a="",l=0;l<t;l++)a+=e[l](r,n,o,i)||"";return a}}function sa(e){return function(t){t.root||(t=t.return)&&e(t)}}var ca=function(t,r,n){for(var o=0,i=0;o=i,i=le(),o===38&&i===12&&(r[n]=1),!Ye(i);)ee();return Qe(t,J)},la=function(t,r){var n=-1,o=44;do switch(Ye(o)){case 0:o===38&&le()===12&&(r[n]=1),t[n]+=ca(J-1,r,n);break;case 2:t[n]+=it(o);break;case 4:if(o===44){t[++n]=le()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Et(o)}while(o=ee());return t},da=function(t,r){return Sn(la(_n(t),r))},Cr=new WeakMap,ua=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Cr.get(n))&&!o){Cr.set(t,!0);for(var i=[],a=da(r,i),l=n.props,d=0,f=0;d<a.length;d++)for(var p=0;p<l.length;p++,f++)t.props[f]=i[d]?a[d].replace(/&\f/g,l[p]):l[p]+" "+a[d]}}},fa=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},ha="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",pa=function(t){return t.type==="comm"&&t.children.indexOf(ha)>-1},ma=function(t){return function(r,n,o){if(!(r.type!=="rule"||t.compat)){var i=r.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var a=!!r.parent,l=a?r.parent.children:o,d=l.length-1;d>=0;d--){var f=l[d];if(f.line<r.line)break;if(f.column<r.column){if(pa(f))return;break}}i.forEach(function(p){console.error('The pseudo class "'+p+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+p.split("-child")[0]+'-of-type".')})}}}},wn=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},ga=function(t,r){for(var n=t-1;n>=0;n--)if(!wn(r[n]))return!0;return!1},jr=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},ya=function(t,r,n){wn(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),jr(t)):ga(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),jr(t)))};function En(e,t){switch(Gi(e,t)){case 5103:return A+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return A+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return A+e+ft+e+X+e+e;case 6828:case 4268:return A+e+X+e+e;case 6165:return A+e+X+"flex-"+e+e;case 5187:return A+e+I(e,/(\w+).+(:[^]+)/,A+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return A+e+X+"flex-item-"+I(e,/flex-|-self/,"")+e;case 4675:return A+e+X+"flex-line-pack"+I(e,/align-content|flex-|-self/,"")+e;case 5548:return A+e+X+I(e,"shrink","negative")+e;case 5292:return A+e+X+I(e,"basis","preferred-size")+e;case 6060:return A+"box-"+I(e,"-grow","")+A+e+X+I(e,"grow","positive")+e;case 4554:return A+I(e,/([^-])(transform)/g,"$1"+A+"$2")+e;case 6187:return I(I(I(e,/(zoom-|grab)/,A+"$1"),/(image-set)/,A+"$1"),e,"")+e;case 5495:case 3959:return I(e,/(image-set\([^]*)/,A+"$1$`$1");case 4968:return I(I(e,/(.+:)(flex-)?(.*)/,A+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+A+e+e;case 4095:case 3583:case 4068:case 2532:return I(e,/(.+)-inline(.+)/,A+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(se(e)-1-t>6)switch(Z(e,t+1)){case 109:if(Z(e,t+4)!==45)break;case 102:return I(e,/(.+:)(.+)-([^]+)/,"$1"+A+"$2-$3$1"+ft+(Z(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Vt(e,"stretch")?En(I(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Z(e,t+1)!==115)break;case 6444:switch(Z(e,se(e)-3-(~Vt(e,"!important")&&10))){case 107:return I(e,":",":"+A)+e;case 101:return I(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+A+(Z(e,14)===45?"inline-":"")+"box$3$1"+A+"$2$3$1"+X+"$2box$3")+e}break;case 5936:switch(Z(e,t+11)){case 114:return A+e+X+I(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return A+e+X+I(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return A+e+X+I(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return A+e+X+e+e}return e}var va=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case or:t.return=En(t.value,t.length);break;case vn:return Ie([Be(t,{value:I(t.value,"@","@"+A)})],o);case nr:if(t.length)return Zi(t.props,function(i){switch(Ki(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ie([Be(t,{props:[I(i,/:(read-\w+)/,":"+ft+"$1")]})],o);case"::placeholder":return Ie([Be(t,{props:[I(i,/:(plac\w+)/,":"+A+"input-$1")]}),Be(t,{props:[I(i,/:(plac\w+)/,":"+ft+"$1")]}),Be(t,{props:[I(i,/:(plac\w+)/,X+"input-$1")]})],o)}return""})}},xa=[va],Cn=function(t){var r=t.key;if(process.env.NODE_ENV!=="production"&&!r)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
57
+ If multiple caches share the same key they might "fight" for each other's style elements.`);if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(c){var u=c.getAttribute("data-emotion");u.indexOf(" ")!==-1&&(document.head.appendChild(c),c.setAttribute("data-s",""))})}var o=t.stylisPlugins||xa;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var i={},a,l=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(c){for(var u=c.getAttribute("data-emotion").split(" "),x=1;x<u.length;x++)i[u[x]]=!0;l.push(c)});var d,f=[ua,fa];process.env.NODE_ENV!=="production"&&f.push(ma({get compat(){return v.compat}}),ya);{var p,h=[ia,process.env.NODE_ENV!=="production"?function(c){c.root||(c.return?p.insert(c.return):c.value&&c.type!==rr&&p.insert(c.value+"{}"))}:sa(function(c){p.insert(c)})],y=aa(f.concat(o,h)),b=function(u){return Ie(na(u),y)};d=function(u,x,_,w){p=_,process.env.NODE_ENV!=="production"&&x.map!==void 0&&(p={insert:function(g){_.insert(g+x.map)}}),b(u?u+"{"+x.styles+"}":x.styles),w&&(v.inserted[x.name]=!0)}}var v={key:r,sheet:new Hi({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:d};return v.sheet.hydrate(l),v},Ht={exports:{}},R={};/** @license React v16.13.1
58
58
  * react-is.production.min.js
59
59
  *
60
60
  * Copyright (c) Facebook, Inc. and its affiliates.
61
61
  *
62
62
  * This source code is licensed under the MIT license found in the
63
63
  * LICENSE file in the root directory of this source tree.
64
- */var jr;function xa(){if(jr)return R;jr=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,d=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function w(g){if(typeof g=="object"&&g!==null){var S=g.$$typeof;switch(S){case t:switch(g=g.type,g){case u:case f:case n:case i:case o:case h:return g;default:switch(g=g&&g.$$typeof,g){case c:case m:case v:case b:case a:return g;default:return S}}case r:return S}}}function C(g){return w(g)===f}return R.AsyncMode=u,R.ConcurrentMode=f,R.ContextConsumer=c,R.ContextProvider=a,R.Element=t,R.ForwardRef=m,R.Fragment=n,R.Lazy=v,R.Memo=b,R.Portal=r,R.Profiler=i,R.StrictMode=o,R.Suspense=h,R.isAsyncMode=function(g){return C(g)||w(g)===u},R.isConcurrentMode=C,R.isContextConsumer=function(g){return w(g)===c},R.isContextProvider=function(g){return w(g)===a},R.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},R.isForwardRef=function(g){return w(g)===m},R.isFragment=function(g){return w(g)===n},R.isLazy=function(g){return w(g)===v},R.isMemo=function(g){return w(g)===b},R.isPortal=function(g){return w(g)===r},R.isProfiler=function(g){return w(g)===i},R.isStrictMode=function(g){return w(g)===o},R.isSuspense=function(g){return w(g)===h},R.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===f||g===i||g===o||g===h||g===y||typeof g=="object"&&g!==null&&(g.$$typeof===v||g.$$typeof===b||g.$$typeof===a||g.$$typeof===c||g.$$typeof===m||g.$$typeof===d||g.$$typeof===x||g.$$typeof===_||g.$$typeof===l)},R.typeOf=w,R}var D={};/** @license React v16.13.1
64
+ */var Tr;function ba(){if(Tr)return R;Tr=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,u=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function w(g){if(typeof g=="object"&&g!==null){var S=g.$$typeof;switch(S){case t:switch(g=g.type,g){case d:case f:case n:case i:case o:case h:return g;default:switch(g=g&&g.$$typeof,g){case l:case p:case v:case b:case a:return g;default:return S}}case r:return S}}}function C(g){return w(g)===f}return R.AsyncMode=d,R.ConcurrentMode=f,R.ContextConsumer=l,R.ContextProvider=a,R.Element=t,R.ForwardRef=p,R.Fragment=n,R.Lazy=v,R.Memo=b,R.Portal=r,R.Profiler=i,R.StrictMode=o,R.Suspense=h,R.isAsyncMode=function(g){return C(g)||w(g)===d},R.isConcurrentMode=C,R.isContextConsumer=function(g){return w(g)===l},R.isContextProvider=function(g){return w(g)===a},R.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},R.isForwardRef=function(g){return w(g)===p},R.isFragment=function(g){return w(g)===n},R.isLazy=function(g){return w(g)===v},R.isMemo=function(g){return w(g)===b},R.isPortal=function(g){return w(g)===r},R.isProfiler=function(g){return w(g)===i},R.isStrictMode=function(g){return w(g)===o},R.isSuspense=function(g){return w(g)===h},R.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===f||g===i||g===o||g===h||g===y||typeof g=="object"&&g!==null&&(g.$$typeof===v||g.$$typeof===b||g.$$typeof===a||g.$$typeof===l||g.$$typeof===p||g.$$typeof===u||g.$$typeof===x||g.$$typeof===_||g.$$typeof===c)},R.typeOf=w,R}var D={};/** @license React v16.13.1
65
65
  * react-is.development.js
66
66
  *
67
67
  * Copyright (c) Facebook, Inc. and its affiliates.
68
68
  *
69
69
  * This source code is licensed under the MIT license found in the
70
70
  * LICENSE file in the root directory of this source tree.
71
- */var Tr;function ba(){return Tr||(Tr=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,d=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function w(T){return typeof T=="string"||typeof T=="function"||T===n||T===f||T===i||T===o||T===h||T===y||typeof T=="object"&&T!==null&&(T.$$typeof===v||T.$$typeof===b||T.$$typeof===a||T.$$typeof===c||T.$$typeof===m||T.$$typeof===d||T.$$typeof===x||T.$$typeof===_||T.$$typeof===l)}function C(T){if(typeof T=="object"&&T!==null){var Ve=T.$$typeof;switch(Ve){case t:var O=T.type;switch(O){case u:case f:case n:case i:case o:case h:return O;default:var Ee=O&&O.$$typeof;switch(Ee){case c:case m:case v:case b:case a:return Ee;default:return Ve}}case r:return Ve}}}var g=u,S=f,E=c,$=a,k=t,H=m,z=n,W=v,G=b,ae=r,me=i,ge=o,be=h,de=!1;function _e(T){return de||(de=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),ye(T)||C(T)===u}function ye(T){return C(T)===f}function Le(T){return C(T)===c}function Fe(T){return C(T)===a}function Se(T){return typeof T=="object"&&T!==null&&T.$$typeof===t}function ue(T){return C(T)===m}function we(T){return C(T)===n}function kt(T){return C(T)===v}function $t(T){return C(T)===b}function Pt(T){return C(T)===r}function At(T){return C(T)===i}function It(T){return C(T)===o}function Mt(T){return C(T)===h}D.AsyncMode=g,D.ConcurrentMode=S,D.ContextConsumer=E,D.ContextProvider=$,D.Element=k,D.ForwardRef=H,D.Fragment=z,D.Lazy=W,D.Memo=G,D.Portal=ae,D.Profiler=me,D.StrictMode=ge,D.Suspense=be,D.isAsyncMode=_e,D.isConcurrentMode=ye,D.isContextConsumer=Le,D.isContextProvider=Fe,D.isElement=Se,D.isForwardRef=ue,D.isFragment=we,D.isLazy=kt,D.isMemo=$t,D.isPortal=Pt,D.isProfiler=At,D.isStrictMode=It,D.isSuspense=Mt,D.isValidElementType=w,D.typeOf=C}()),D}process.env.NODE_ENV==="production"?Ht.exports=xa():Ht.exports=ba();var _a=Ht.exports,Cn=_a,Sa={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},wa={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},jn={};jn[Cn.ForwardRef]=Sa;jn[Cn.Memo]=wa;var Ea=!0;function ir(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):n+=o+" "}),n}var Tt=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||Ea===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},Ot=function(t,r,n){Tt(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Ca(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var ja={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Or=`You have illegal escape sequence in your template literal, most likely inside content's property value.
71
+ */var Or;function _a(){return Or||(Or=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,u=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function w(T){return typeof T=="string"||typeof T=="function"||T===n||T===f||T===i||T===o||T===h||T===y||typeof T=="object"&&T!==null&&(T.$$typeof===v||T.$$typeof===b||T.$$typeof===a||T.$$typeof===l||T.$$typeof===p||T.$$typeof===u||T.$$typeof===x||T.$$typeof===_||T.$$typeof===c)}function C(T){if(typeof T=="object"&&T!==null){var Ve=T.$$typeof;switch(Ve){case t:var O=T.type;switch(O){case d:case f:case n:case i:case o:case h:return O;default:var Ee=O&&O.$$typeof;switch(Ee){case l:case p:case v:case b:case a:return Ee;default:return Ve}}case r:return Ve}}}var g=d,S=f,E=l,$=a,k=t,H=p,z=n,W=v,G=b,ae=r,me=i,ge=o,be=h,de=!1;function _e(T){return de||(de=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),ye(T)||C(T)===d}function ye(T){return C(T)===f}function Le(T){return C(T)===l}function Fe(T){return C(T)===a}function Se(T){return typeof T=="object"&&T!==null&&T.$$typeof===t}function ue(T){return C(T)===p}function we(T){return C(T)===n}function kt(T){return C(T)===v}function $t(T){return C(T)===b}function At(T){return C(T)===r}function It(T){return C(T)===i}function Pt(T){return C(T)===o}function Mt(T){return C(T)===h}D.AsyncMode=g,D.ConcurrentMode=S,D.ContextConsumer=E,D.ContextProvider=$,D.Element=k,D.ForwardRef=H,D.Fragment=z,D.Lazy=W,D.Memo=G,D.Portal=ae,D.Profiler=me,D.StrictMode=ge,D.Suspense=be,D.isAsyncMode=_e,D.isConcurrentMode=ye,D.isContextConsumer=Le,D.isContextProvider=Fe,D.isElement=Se,D.isForwardRef=ue,D.isFragment=we,D.isLazy=kt,D.isMemo=$t,D.isPortal=At,D.isProfiler=It,D.isStrictMode=Pt,D.isSuspense=Mt,D.isValidElementType=w,D.typeOf=C}()),D}process.env.NODE_ENV==="production"?Ht.exports=ba():Ht.exports=_a();var Sa=Ht.exports,jn=Sa,wa={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ea={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Tn={};Tn[jn.ForwardRef]=wa;Tn[jn.Memo]=Ea;var Ca=!0;function ar(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):n+=o+" "}),n}var Tt=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||Ca===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},Ot=function(t,r,n){Tt(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function ja(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Ta={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Nr=`You have illegal escape sequence in your template literal, most likely inside content's property value.
72
72
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
73
73
  You can read more about this here:
74
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Ta="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Oa=/[A-Z]|^ms/g,Tn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ar=function(t){return t.charCodeAt(1)===45},Nr=function(t){return t!=null&&typeof t!="boolean"},Rt=gn(function(e){return ar(e)?e:e.replace(Oa,"-$&").toLowerCase()}),ht=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Tn,function(n,o,i){return ie={name:o,styles:i,next:ie},o})}return ja[t]!==1&&!ar(t)&&typeof r=="number"&&r!==0?r+"px":r};if(process.env.NODE_ENV!=="production"){var Na=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,ka=["normal","none","initial","inherit","unset"],$a=ht,Pa=/^-ms-/,Aa=/-(.)/g,kr={};ht=function(t,r){if(t==="content"&&(typeof r!="string"||ka.indexOf(r)===-1&&!Na.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+r+"\"'`");var n=$a(t,r);return n!==""&&!ar(t)&&t.indexOf("-")!==-1&&kr[t]===void 0&&(kr[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(Pa,"ms-").replace(Aa,function(o,i){return i.toUpperCase()})+"?")),n}}var On="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ge(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(On);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return ie={name:r.name,styles:r.styles,next:ie},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)ie={name:n.name,styles:n.styles,next:ie},n=n.next;var o=r.styles+";";return process.env.NODE_ENV!=="production"&&r.map!==void 0&&(o+=r.map),o}return Ia(e,t,r)}case"function":{if(e!==void 0){var i=ie,a=r(e);return ie=i,Ge(e,t,a)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var c=[],u=r.replace(Tn,function(m,h,y){var b="animation"+c.length;return c.push("const "+b+" = keyframes`"+y.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+b+"}"});c.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(c,["`"+u+"`"]).join(`
74
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Oa="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Na=/[A-Z]|^ms/g,On=/_EMO_([^_]+?)_([^]*?)_EMO_/g,sr=function(t){return t.charCodeAt(1)===45},kr=function(t){return t!=null&&typeof t!="boolean"},Rt=yn(function(e){return sr(e)?e:e.replace(Na,"-$&").toLowerCase()}),ht=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(On,function(n,o,i){return ie={name:o,styles:i,next:ie},o})}return Ta[t]!==1&&!sr(t)&&typeof r=="number"&&r!==0?r+"px":r};if(process.env.NODE_ENV!=="production"){var ka=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,$a=["normal","none","initial","inherit","unset"],Aa=ht,Ia=/^-ms-/,Pa=/-(.)/g,$r={};ht=function(t,r){if(t==="content"&&(typeof r!="string"||$a.indexOf(r)===-1&&!ka.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+r+"\"'`");var n=Aa(t,r);return n!==""&&!sr(t)&&t.indexOf("-")!==-1&&$r[t]===void 0&&($r[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(Ia,"ms-").replace(Pa,function(o,i){return i.toUpperCase()})+"?")),n}}var Nn="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ge(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Nn);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return ie={name:r.name,styles:r.styles,next:ie},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)ie={name:n.name,styles:n.styles,next:ie},n=n.next;var o=r.styles+";";return process.env.NODE_ENV!=="production"&&r.map!==void 0&&(o+=r.map),o}return Ma(e,t,r)}case"function":{if(e!==void 0){var i=ie,a=r(e);return ie=i,Ge(e,t,a)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var l=[],d=r.replace(On,function(p,h,y){var b="animation"+l.length;return l.push("const "+b+" = keyframes`"+y.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+b+"}"});l.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(l,["`"+d+"`"]).join(`
75
75
  `)+`
76
76
 
77
77
  You should wrap it with \`css\` like this:
78
78
 
79
- `+("css`"+u+"`"))}break}if(t==null)return r;var f=t[r];return f!==void 0?f:r}function Ia(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Ge(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object")t!=null&&t[a]!==void 0?n+=i+"{"+t[a]+"}":Nr(a)&&(n+=Rt(i)+":"+ht(i,a)+";");else{if(i==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(On);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var c=0;c<a.length;c++)Nr(a[c])&&(n+=Rt(i)+":"+ht(i,a[c])+";");else{var u=Ge(e,t,a);switch(i){case"animation":case"animationName":{n+=Rt(i)+":"+u+";";break}default:process.env.NODE_ENV!=="production"&&i==="undefined"&&console.error(Ta),n+=i+"{"+u+"}"}}}}return n}var $r=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Nn;process.env.NODE_ENV!=="production"&&(Nn=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var ie,Me=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,i="";ie=void 0;var a=t[0];a==null||a.raw===void 0?(o=!1,i+=Ge(n,r,a)):(process.env.NODE_ENV!=="production"&&a[0]===void 0&&console.error(Or),i+=a[0]);for(var c=1;c<t.length;c++)i+=Ge(n,r,t[c]),o&&(process.env.NODE_ENV!=="production"&&a[c]===void 0&&console.error(Or),i+=a[c]);var u;process.env.NODE_ENV!=="production"&&(i=i.replace(Nn,function(y){return u=y,""})),$r.lastIndex=0;for(var f="",m;(m=$r.exec(i))!==null;)f+="-"+m[1];var h=Ca(i)+f;return process.env.NODE_ENV!=="production"?{name:h,styles:i,map:u,next:ie,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:h,styles:i,next:ie}},Ma=function(t){return t()},kn=L["useInsertionEffect"]?L["useInsertionEffect"]:!1,sr=kn||Ma,Pr=kn||L.useLayoutEffect,Ra={}.hasOwnProperty,lr=L.createContext(typeof HTMLElement<"u"?En({key:"css"}):null);process.env.NODE_ENV!=="production"&&(lr.displayName="EmotionCacheContext");var Da=lr.Provider,Nt=function(t){return j.forwardRef(function(r,n){var o=j.useContext(lr);return t(r,o,n)})},xe=L.createContext({});process.env.NODE_ENV!=="production"&&(xe.displayName="EmotionThemeContext");var Ar="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ir="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",za=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Tt(r,n,o),sr(function(){return Ot(r,n,o)}),null},La=Nt(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[Ar],i=[n],a="";typeof e.className=="string"?a=ir(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var c=Me(i,void 0,L.useContext(xe));if(process.env.NODE_ENV!=="production"&&c.name.indexOf("-")===-1){var u=e[Ir];u&&(c=Me([c,"label:"+u+";"]))}a+=t.key+"-"+c.name;var f={};for(var m in e)Ra.call(e,m)&&m!=="css"&&m!==Ar&&(process.env.NODE_ENV==="production"||m!==Ir)&&(f[m]=e[m]);return f.ref=r,f.className=a,L.createElement(L.Fragment,null,L.createElement(za,{cache:t,serialized:c,isStringTag:typeof o=="string"}),L.createElement(o,f))});process.env.NODE_ENV!=="production"&&(La.displayName="EmotionCssPropInternal");var Fa={name:"@emotion/react",version:"11.11.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},Mr=!1,$n=Nt(function(e,t){process.env.NODE_ENV!=="production"&&!Mr&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Mr=!0);var r=e.styles,n=Me([r],void 0,L.useContext(xe)),o=L.useRef();return Pr(function(){var i=t.key+"-global",a=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),c=!1,u=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),u!==null&&(c=!0,u.setAttribute("data-emotion",i),a.hydrate([u])),o.current=[a,c],function(){a.flush()}},[t]),Pr(function(){var i=o.current,a=i[0],c=i[1];if(c){i[1]=!1;return}if(n.next!==void 0&&Ot(t,n.next,!0),a.tags.length){var u=a.tags[a.tags.length-1].nextElementSibling;a.before=u,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});process.env.NODE_ENV!=="production"&&($n.displayName="EmotionGlobal");function Pn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Me(t)}var Va=function(){var t=Pn.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Ba=function e(t){for(var r=t.length,n=0,o="";n<r;n++){var i=t[n];if(i!=null){var a=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))a=e(i);else{process.env.NODE_ENV!=="production"&&i.styles!==void 0&&i.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),a="";for(var c in i)i[c]&&c&&(a&&(a+=" "),a+=c)}break}default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};function Ha(e,t,r){var n=[],o=ir(e,n,r);return n.length<2?r:o+t(n)}var Wa=function(t){var r=t.cache,n=t.serializedArr;return sr(function(){for(var o=0;o<n.length;o++)Ot(r,n[o],!1)}),null},Ua=Nt(function(e,t){var r=!1,n=[],o=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var f=arguments.length,m=new Array(f),h=0;h<f;h++)m[h]=arguments[h];var y=Me(m,t.registered);return n.push(y),Tt(t,y,!1),t.key+"-"+y.name},i=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var f=arguments.length,m=new Array(f),h=0;h<f;h++)m[h]=arguments[h];return Ha(t.registered,o,Ba(m))},a={css:o,cx:i,theme:L.useContext(xe)},c=e.children(a);return r=!0,L.createElement(L.Fragment,null,L.createElement(Wa,{cache:t,serializedArr:n}),c)});process.env.NODE_ENV!=="production"&&(Ua.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var Rr=!0,qa=typeof jest<"u"||typeof vi<"u";if(Rr&&!qa){var Dr=typeof globalThis<"u"?globalThis:Rr?window:global,zr="__EMOTION_REACT_"+Fa.version.split(".")[0]+"__";Dr[zr]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Dr[zr]=!0}}var Ya=Li,Ga=function(t){return t!=="theme"},Lr=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Ya:Ga},Fr=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Vr=`You have illegal escape sequence in your template literal, most likely inside content's property value.
79
+ `+("css`"+d+"`"))}break}if(t==null)return r;var f=t[r];return f!==void 0?f:r}function Ma(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Ge(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object")t!=null&&t[a]!==void 0?n+=i+"{"+t[a]+"}":kr(a)&&(n+=Rt(i)+":"+ht(i,a)+";");else{if(i==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(Nn);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)kr(a[l])&&(n+=Rt(i)+":"+ht(i,a[l])+";");else{var d=Ge(e,t,a);switch(i){case"animation":case"animationName":{n+=Rt(i)+":"+d+";";break}default:process.env.NODE_ENV!=="production"&&i==="undefined"&&console.error(Oa),n+=i+"{"+d+"}"}}}}return n}var Ar=/label:\s*([^\s;\n{]+)\s*(;|$)/g,kn;process.env.NODE_ENV!=="production"&&(kn=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var ie,Me=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,i="";ie=void 0;var a=t[0];a==null||a.raw===void 0?(o=!1,i+=Ge(n,r,a)):(process.env.NODE_ENV!=="production"&&a[0]===void 0&&console.error(Nr),i+=a[0]);for(var l=1;l<t.length;l++)i+=Ge(n,r,t[l]),o&&(process.env.NODE_ENV!=="production"&&a[l]===void 0&&console.error(Nr),i+=a[l]);var d;process.env.NODE_ENV!=="production"&&(i=i.replace(kn,function(y){return d=y,""})),Ar.lastIndex=0;for(var f="",p;(p=Ar.exec(i))!==null;)f+="-"+p[1];var h=ja(i)+f;return process.env.NODE_ENV!=="production"?{name:h,styles:i,map:d,next:ie,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:h,styles:i,next:ie}},Ra=function(t){return t()},$n=L["useInsertionEffect"]?L["useInsertionEffect"]:!1,cr=$n||Ra,Ir=$n||L.useLayoutEffect,Da={}.hasOwnProperty,lr=L.createContext(typeof HTMLElement<"u"?Cn({key:"css"}):null);process.env.NODE_ENV!=="production"&&(lr.displayName="EmotionCacheContext");var za=lr.Provider,Nt=function(t){return j.forwardRef(function(r,n){var o=j.useContext(lr);return t(r,o,n)})},xe=L.createContext({});process.env.NODE_ENV!=="production"&&(xe.displayName="EmotionThemeContext");var Pr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Mr="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",La=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Tt(r,n,o),cr(function(){return Ot(r,n,o)}),null},Fa=Nt(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[Pr],i=[n],a="";typeof e.className=="string"?a=ar(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var l=Me(i,void 0,L.useContext(xe));if(process.env.NODE_ENV!=="production"&&l.name.indexOf("-")===-1){var d=e[Mr];d&&(l=Me([l,"label:"+d+";"]))}a+=t.key+"-"+l.name;var f={};for(var p in e)Da.call(e,p)&&p!=="css"&&p!==Pr&&(process.env.NODE_ENV==="production"||p!==Mr)&&(f[p]=e[p]);return f.ref=r,f.className=a,L.createElement(L.Fragment,null,L.createElement(La,{cache:t,serialized:l,isStringTag:typeof o=="string"}),L.createElement(o,f))});process.env.NODE_ENV!=="production"&&(Fa.displayName="EmotionCssPropInternal");var Va={name:"@emotion/react",version:"11.11.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},Rr=!1,An=Nt(function(e,t){process.env.NODE_ENV!=="production"&&!Rr&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Rr=!0);var r=e.styles,n=Me([r],void 0,L.useContext(xe)),o=L.useRef();return Ir(function(){var i=t.key+"-global",a=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,d=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),d!==null&&(l=!0,d.setAttribute("data-emotion",i),a.hydrate([d])),o.current=[a,l],function(){a.flush()}},[t]),Ir(function(){var i=o.current,a=i[0],l=i[1];if(l){i[1]=!1;return}if(n.next!==void 0&&Ot(t,n.next,!0),a.tags.length){var d=a.tags[a.tags.length-1].nextElementSibling;a.before=d,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});process.env.NODE_ENV!=="production"&&(An.displayName="EmotionGlobal");function In(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Me(t)}var Ba=function(){var t=In.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Ha=function e(t){for(var r=t.length,n=0,o="";n<r;n++){var i=t[n];if(i!=null){var a=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))a=e(i);else{process.env.NODE_ENV!=="production"&&i.styles!==void 0&&i.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),a="";for(var l in i)i[l]&&l&&(a&&(a+=" "),a+=l)}break}default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};function Wa(e,t,r){var n=[],o=ar(e,n,r);return n.length<2?r:o+t(n)}var Ua=function(t){var r=t.cache,n=t.serializedArr;return cr(function(){for(var o=0;o<n.length;o++)Ot(r,n[o],!1)}),null},qa=Nt(function(e,t){var r=!1,n=[],o=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var f=arguments.length,p=new Array(f),h=0;h<f;h++)p[h]=arguments[h];var y=Me(p,t.registered);return n.push(y),Tt(t,y,!1),t.key+"-"+y.name},i=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var f=arguments.length,p=new Array(f),h=0;h<f;h++)p[h]=arguments[h];return Wa(t.registered,o,Ha(p))},a={css:o,cx:i,theme:L.useContext(xe)},l=e.children(a);return r=!0,L.createElement(L.Fragment,null,L.createElement(Ua,{cache:t,serializedArr:n}),l)});process.env.NODE_ENV!=="production"&&(qa.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var Dr=!0,Ya=typeof jest<"u"||typeof vi<"u";if(Dr&&!Ya){var zr=typeof globalThis<"u"?globalThis:Dr?window:global,Lr="__EMOTION_REACT_"+Va.version.split(".")[0]+"__";zr[Lr]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),zr[Lr]=!0}}var Ga=Fi,Ka=function(t){return t!=="theme"},Fr=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Ga:Ka},Vr=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Br=`You have illegal escape sequence in your template literal, most likely inside content's property value.
80
80
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
81
81
  You can read more about this here:
82
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Ka=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Tt(r,n,o),sr(function(){return Ot(r,n,o)}),null},Za=function e(t,r){if(process.env.NODE_ENV!=="production"&&t===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
83
- You may have forgotten to import it.`);var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var c=Fr(t,r,n),u=c||Lr(o),f=!u("as");return function(){var m=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)h.push.apply(h,m);else{process.env.NODE_ENV!=="production"&&m[0][0]===void 0&&console.error(Vr),h.push(m[0][0]);for(var y=m.length,b=1;b<y;b++)process.env.NODE_ENV!=="production"&&m[0][b]===void 0&&console.error(Vr),h.push(m[b],m[0][b])}var v=Nt(function(l,d,x){var _=f&&l.as||o,w="",C=[],g=l;if(l.theme==null){g={};for(var S in l)g[S]=l[S];g.theme=L.useContext(xe)}typeof l.className=="string"?w=ir(d.registered,C,l.className):l.className!=null&&(w=l.className+" ");var E=Me(h.concat(C),d.registered,g);w+=d.key+"-"+E.name,a!==void 0&&(w+=" "+a);var $=f&&c===void 0?Lr(_):u,k={};for(var H in l)f&&H==="as"||$(H)&&(k[H]=l[H]);return k.className=w,k.ref=x,L.createElement(L.Fragment,null,L.createElement(Ka,{cache:d,serialized:E,isStringTag:typeof _=="string"}),L.createElement(_,k))});return v.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=o,v.__emotion_styles=h,v.__emotion_forwardProp=c,Object.defineProperty(v,"toString",{value:function(){return a===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":"."+a}}),v.withComponent=function(l,d){return e(l,p._extends({},r,d,{shouldForwardProp:Fr(v,d,!0)})).apply(void 0,h)},v}},Xa=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Wt=Za.bind();Xa.forEach(function(e){Wt[e]=Wt(e)});let Ut;typeof document=="object"&&(Ut=En({key:"css",prepend:!0}));function An(e){const{injectFirst:t,children:r}=e;return t&&Ut?s.jsx(Da,{value:Ut,children:r}):r}process.env.NODE_ENV!=="production"&&(An.propTypes={children:p.PropTypes.node,injectFirst:p.PropTypes.bool});function Ja(e){return e==null||Object.keys(e).length===0}function In(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?o=>t(Ja(o)?r:o):t;return s.jsx($n,{styles:n})}process.env.NODE_ENV!=="production"&&(In.propTypes={defaultTheme:p.PropTypes.object,styles:p.PropTypes.oneOfType([p.PropTypes.array,p.PropTypes.string,p.PropTypes.object,p.PropTypes.func])});/**
82
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Za=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Tt(r,n,o),cr(function(){return Ot(r,n,o)}),null},Xa=function e(t,r){if(process.env.NODE_ENV!=="production"&&t===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
83
+ You may have forgotten to import it.`);var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var l=Vr(t,r,n),d=l||Fr(o),f=!d("as");return function(){var p=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),p[0]==null||p[0].raw===void 0)h.push.apply(h,p);else{process.env.NODE_ENV!=="production"&&p[0][0]===void 0&&console.error(Br),h.push(p[0][0]);for(var y=p.length,b=1;b<y;b++)process.env.NODE_ENV!=="production"&&p[0][b]===void 0&&console.error(Br),h.push(p[b],p[0][b])}var v=Nt(function(c,u,x){var _=f&&c.as||o,w="",C=[],g=c;if(c.theme==null){g={};for(var S in c)g[S]=c[S];g.theme=L.useContext(xe)}typeof c.className=="string"?w=ar(u.registered,C,c.className):c.className!=null&&(w=c.className+" ");var E=Me(h.concat(C),u.registered,g);w+=u.key+"-"+E.name,a!==void 0&&(w+=" "+a);var $=f&&l===void 0?Fr(_):d,k={};for(var H in c)f&&H==="as"||$(H)&&(k[H]=c[H]);return k.className=w,k.ref=x,L.createElement(L.Fragment,null,L.createElement(Za,{cache:u,serialized:E,isStringTag:typeof _=="string"}),L.createElement(_,k))});return v.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=o,v.__emotion_styles=h,v.__emotion_forwardProp=l,Object.defineProperty(v,"toString",{value:function(){return a===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":"."+a}}),v.withComponent=function(c,u){return e(c,m._extends({},r,u,{shouldForwardProp:Vr(v,u,!0)})).apply(void 0,h)},v}},Ja=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Wt=Xa.bind();Ja.forEach(function(e){Wt[e]=Wt(e)});let Ut;typeof document=="object"&&(Ut=Cn({key:"css",prepend:!0}));function Pn(e){const{injectFirst:t,children:r}=e;return t&&Ut?s.jsx(za,{value:Ut,children:r}):r}process.env.NODE_ENV!=="production"&&(Pn.propTypes={children:m.PropTypes.node,injectFirst:m.PropTypes.bool});function Qa(e){return e==null||Object.keys(e).length===0}function Mn(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?o=>t(Qa(o)?r:o):t;return s.jsx(An,{styles:n})}process.env.NODE_ENV!=="production"&&(Mn.propTypes={defaultTheme:m.PropTypes.object,styles:m.PropTypes.oneOfType([m.PropTypes.array,m.PropTypes.string,m.PropTypes.object,m.PropTypes.func])});/**
84
84
  * @mui/styled-engine v5.15.11
85
85
  *
86
86
  * @license MIT
87
87
  * This source code is licensed under the MIT license found in the
88
88
  * LICENSE file in the root directory of this source tree.
89
- */function Qa(e,t){const r=Wt(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
90
- `)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}const es=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},ts=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:In,StyledEngineProvider:An,ThemeContext:xe,css:Pn,default:Qa,internal_processStyles:es,keyframes:Va},Symbol.toStringTag,{value:"Module"}));function rs(e){return Object.keys(e).length===0}function ns(e=null){const t=L.useContext(xe);return!t||rs(t)?e:t}const os=er();function is(e=os){return ns(e)}function as({props:e,name:t,defaultTheme:r,themeId:n}){let o=is(r);return n&&(o=o[n]||o),Fo({theme:o,name:t,props:e})}const ss=["sx"],ls=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:Je;return Object.keys(e).forEach(i=>{o[i]?n.systemProps[i]=e[i]:n.otherProps[i]=e[i]}),n};function cs(e){const{sx:t}=e,r=p._objectWithoutPropertiesLoose(e,ss),{systemProps:n,otherProps:o}=ls(r);let i;return Array.isArray(t)?i=[n,...t]:typeof t=="function"?i=(...a)=>{const c=t(...a);return he(c)?p._extends({},n,c):n}:i=p._extends({},n,t),p._extends({},o,{sx:i})}const ds=Object.freeze(Object.defineProperty({__proto__:null,default:Qt,extendSxProp:cs,unstable_createStyleFunctionSx:hn,unstable_defaultSxConfig:Je},Symbol.toStringTag,{value:"Module"}));function us(e,t){return p._extends({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var q={},Mn={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Mn);var Rn=Mn.exports;const fs=p.getAugmentedNamespace(Co),hs=p.getAugmentedNamespace(Lo);var Dn=Rn;Object.defineProperty(q,"__esModule",{value:!0});q.alpha=Vn;q.blend=Cs;q.colorChannel=void 0;var ps=q.darken=dr;q.decomposeColor=ne;q.emphasize=Es;var Br=q.getContrastRatio=bs;q.getLuminance=pt;q.hexToRgb=zn;q.hslToRgb=Fn;var ms=q.lighten=ur;q.private_safeAlpha=_s;q.private_safeColorChannel=void 0;q.private_safeDarken=Ss;q.private_safeEmphasize=Bn;q.private_safeLighten=ws;q.recomposeColor=De;q.rgbToHex=xs;var Hr=Dn(fs),gs=Dn(hs);function cr(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),(0,gs.default)(e,t,r)}function zn(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function ys(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function ne(e){if(e.type)return e;if(e.charAt(0)==="#")return ne(zn(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
91
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,Hr.default)(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
92
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,Hr.default)(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Ln=e=>{const t=ne(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};q.colorChannel=Ln;const vs=(e,t)=>{try{return Ln(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};q.private_safeColorChannel=vs;function De(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function xs(e){if(e.indexOf("#")===0)return e;const{values:t}=ne(e);return`#${t.map((r,n)=>ys(n===3?Math.round(255*r):r)).join("")}`}function Fn(e){e=ne(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(f,m=(f+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let c="rgb";const u=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(c+="a",u.push(t[3])),De({type:c,values:u})}function pt(e){e=ne(e);let t=e.type==="hsl"||e.type==="hsla"?ne(Fn(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function bs(e,t){const r=pt(e),n=pt(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Vn(e,t){return e=ne(e),t=cr(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,De(e)}function _s(e,t,r){try{return Vn(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function dr(e,t){if(e=ne(e),t=cr(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return De(e)}function Ss(e,t,r){try{return dr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function ur(e,t){if(e=ne(e),t=cr(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return De(e)}function ws(e,t,r){try{return ur(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Es(e,t=.15){return pt(e)>.5?dr(e,t):ur(e,t)}function Bn(e,t,r){try{return Bn(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Cs(e,t,r,n=1){const o=(u,f)=>Math.round((u**(1/n)*(1-r)+f**(1/n)*r)**n),i=ne(e),a=ne(t),c=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return De({type:"rgb",values:c})}const js={black:"#000",white:"#fff"},Ke=js,Ts={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Os=Ts,Ns={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Ce=Ns,ks={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},je=ks,$s={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},He=$s,Ps={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Te=Ps,As={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Oe=As,Is={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Ne=Is,Ms=["mode","contrastThreshold","tonalOffset"],Wr={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ke.white,default:Ke.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Dt={text:{primary:Ke.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ke.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Ur(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=ms(e.main,o):t==="dark"&&(e.dark=ps(e.main,i)))}function Rs(e="light"){return e==="dark"?{main:Te[200],light:Te[50],dark:Te[400]}:{main:Te[700],light:Te[400],dark:Te[800]}}function Ds(e="light"){return e==="dark"?{main:Ce[200],light:Ce[50],dark:Ce[400]}:{main:Ce[500],light:Ce[300],dark:Ce[700]}}function zs(e="light"){return e==="dark"?{main:je[500],light:je[300],dark:je[700]}:{main:je[700],light:je[400],dark:je[800]}}function Ls(e="light"){return e==="dark"?{main:Oe[400],light:Oe[300],dark:Oe[700]}:{main:Oe[700],light:Oe[500],dark:Oe[900]}}function Fs(e="light"){return e==="dark"?{main:Ne[400],light:Ne[300],dark:Ne[700]}:{main:Ne[800],light:Ne[500],dark:Ne[900]}}function Vs(e="light"){return e==="dark"?{main:He[400],light:He[300],dark:He[700]}:{main:"#ed6c02",light:He[500],dark:He[900]}}function Bs(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=p._objectWithoutPropertiesLoose(e,Ms),i=e.primary||Rs(t),a=e.secondary||Ds(t),c=e.error||zs(t),u=e.info||Ls(t),f=e.success||Fs(t),m=e.warning||Vs(t);function h(l){const d=Br(l,Dt.text.primary)>=r?Dt.text.primary:Wr.text.primary;if(process.env.NODE_ENV!=="production"){const x=Br(l,d);x<3&&console.error([`MUI: The contrast ratio of ${x}:1 for ${d} on ${l}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
93
- `))}return d}const y=({color:l,name:d,mainShade:x=500,lightShade:_=300,darkShade:w=700})=>{if(l=p._extends({},l),!l.main&&l[x]&&(l.main=l[x]),!l.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${d?` (${d})`:""} provided to augmentColor(color) is invalid.
94
- The color object needs to have a \`main\` property or a \`${x}\` property.`:Ue(11,d?` (${d})`:"",x));if(typeof l.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${d?` (${d})`:""} provided to augmentColor(color) is invalid.
95
- \`color.main\` should be a string, but \`${JSON.stringify(l.main)}\` was provided instead.
89
+ */function es(e,t){const r=Wt(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
90
+ `)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}const ts=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},rs=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Mn,StyledEngineProvider:Pn,ThemeContext:xe,css:In,default:es,internal_processStyles:ts,keyframes:Ba},Symbol.toStringTag,{value:"Module"}));function ns(e){return Object.keys(e).length===0}function os(e=null){const t=L.useContext(xe);return!t||ns(t)?e:t}const is=tr();function as(e=is){return os(e)}function ss({props:e,name:t,defaultTheme:r,themeId:n}){let o=as(r);return n&&(o=o[n]||o),Vo({theme:o,name:t,props:e})}const cs=["sx"],ls=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:Je;return Object.keys(e).forEach(i=>{o[i]?n.systemProps[i]=e[i]:n.otherProps[i]=e[i]}),n};function ds(e){const{sx:t}=e,r=m._objectWithoutPropertiesLoose(e,cs),{systemProps:n,otherProps:o}=ls(r);let i;return Array.isArray(t)?i=[n,...t]:typeof t=="function"?i=(...a)=>{const l=t(...a);return he(l)?m._extends({},n,l):n}:i=m._extends({},n,t),m._extends({},o,{sx:i})}const us=Object.freeze(Object.defineProperty({__proto__:null,default:er,extendSxProp:ds,unstable_createStyleFunctionSx:pn,unstable_defaultSxConfig:Je},Symbol.toStringTag,{value:"Module"}));function fs(e,t){return m._extends({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var q={},Rn={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Rn);var Dn=Rn.exports;const hs=m.getAugmentedNamespace(jo),ps=m.getAugmentedNamespace(Fo);var zn=Dn;Object.defineProperty(q,"__esModule",{value:!0});q.alpha=Bn;q.blend=js;q.colorChannel=void 0;var ms=q.darken=ur;q.decomposeColor=ne;q.emphasize=Cs;var Hr=q.getContrastRatio=_s;q.getLuminance=pt;q.hexToRgb=Ln;q.hslToRgb=Vn;var gs=q.lighten=fr;q.private_safeAlpha=Ss;q.private_safeColorChannel=void 0;q.private_safeDarken=ws;q.private_safeEmphasize=Hn;q.private_safeLighten=Es;q.recomposeColor=De;q.rgbToHex=bs;var Wr=zn(hs),ys=zn(ps);function dr(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),(0,ys.default)(e,t,r)}function Ln(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function vs(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function ne(e){if(e.type)return e;if(e.charAt(0)==="#")return ne(Ln(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
91
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,Wr.default)(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
92
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,Wr.default)(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Fn=e=>{const t=ne(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};q.colorChannel=Fn;const xs=(e,t)=>{try{return Fn(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};q.private_safeColorChannel=xs;function De(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function bs(e){if(e.indexOf("#")===0)return e;const{values:t}=ne(e);return`#${t.map((r,n)=>vs(n===3?Math.round(255*r):r)).join("")}`}function Vn(e){e=ne(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(f,p=(f+r/30)%12)=>o-i*Math.max(Math.min(p-3,9-p,1),-1);let l="rgb";const d=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(l+="a",d.push(t[3])),De({type:l,values:d})}function pt(e){e=ne(e);let t=e.type==="hsl"||e.type==="hsla"?ne(Vn(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function _s(e,t){const r=pt(e),n=pt(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Bn(e,t){return e=ne(e),t=dr(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,De(e)}function Ss(e,t,r){try{return Bn(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function ur(e,t){if(e=ne(e),t=dr(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return De(e)}function ws(e,t,r){try{return ur(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function fr(e,t){if(e=ne(e),t=dr(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return De(e)}function Es(e,t,r){try{return fr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Cs(e,t=.15){return pt(e)>.5?ur(e,t):fr(e,t)}function Hn(e,t,r){try{return Hn(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function js(e,t,r,n=1){const o=(d,f)=>Math.round((d**(1/n)*(1-r)+f**(1/n)*r)**n),i=ne(e),a=ne(t),l=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return De({type:"rgb",values:l})}const Ts={black:"#000",white:"#fff"},Ke=Ts,Os={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Ns=Os,ks={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Ce=ks,$s={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},je=$s,As={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},He=As,Is={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Te=Is,Ps={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Oe=Ps,Ms={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Ne=Ms,Rs=["mode","contrastThreshold","tonalOffset"],Ur={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ke.white,default:Ke.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Dt={text:{primary:Ke.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ke.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function qr(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=gs(e.main,o):t==="dark"&&(e.dark=ms(e.main,i)))}function Ds(e="light"){return e==="dark"?{main:Te[200],light:Te[50],dark:Te[400]}:{main:Te[700],light:Te[400],dark:Te[800]}}function zs(e="light"){return e==="dark"?{main:Ce[200],light:Ce[50],dark:Ce[400]}:{main:Ce[500],light:Ce[300],dark:Ce[700]}}function Ls(e="light"){return e==="dark"?{main:je[500],light:je[300],dark:je[700]}:{main:je[700],light:je[400],dark:je[800]}}function Fs(e="light"){return e==="dark"?{main:Oe[400],light:Oe[300],dark:Oe[700]}:{main:Oe[700],light:Oe[500],dark:Oe[900]}}function Vs(e="light"){return e==="dark"?{main:Ne[400],light:Ne[300],dark:Ne[700]}:{main:Ne[800],light:Ne[500],dark:Ne[900]}}function Bs(e="light"){return e==="dark"?{main:He[400],light:He[300],dark:He[700]}:{main:"#ed6c02",light:He[500],dark:He[900]}}function Hs(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=m._objectWithoutPropertiesLoose(e,Rs),i=e.primary||Ds(t),a=e.secondary||zs(t),l=e.error||Ls(t),d=e.info||Fs(t),f=e.success||Vs(t),p=e.warning||Bs(t);function h(c){const u=Hr(c,Dt.text.primary)>=r?Dt.text.primary:Ur.text.primary;if(process.env.NODE_ENV!=="production"){const x=Hr(c,u);x<3&&console.error([`MUI: The contrast ratio of ${x}:1 for ${u} on ${c}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
93
+ `))}return u}const y=({color:c,name:u,mainShade:x=500,lightShade:_=300,darkShade:w=700})=>{if(c=m._extends({},c),!c.main&&c[x]&&(c.main=c[x]),!c.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${u?` (${u})`:""} provided to augmentColor(color) is invalid.
94
+ The color object needs to have a \`main\` property or a \`${x}\` property.`:Ue(11,u?` (${u})`:"",x));if(typeof c.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${u?` (${u})`:""} provided to augmentColor(color) is invalid.
95
+ \`color.main\` should be a string, but \`${JSON.stringify(c.main)}\` was provided instead.
96
96
 
97
97
  Did you intend to use one of the following approaches?
98
98
 
@@ -104,6 +104,6 @@ const theme1 = createTheme({ palette: {
104
104
 
105
105
  const theme2 = createTheme({ palette: {
106
106
  primary: { main: green[500] },
107
- } });`:Ue(12,d?` (${d})`:"",JSON.stringify(l.main)));return Ur(l,"light",_,n),Ur(l,"dark",w,n),l.contrastText||(l.contrastText=h(l.main)),l},b={dark:Dt,light:Wr};return process.env.NODE_ENV!=="production"&&(b[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),le(p._extends({common:p._extends({},Ke),mode:t,primary:y({color:i,name:"primary"}),secondary:y({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:c,name:"error"}),warning:y({color:m,name:"warning"}),info:y({color:u,name:"info"}),success:y({color:f,name:"success"}),grey:Os,contrastThreshold:r,getContrastText:h,augmentColor:y,tonalOffset:n},b[t]),o)}const Hs=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Ws(e){return Math.round(e*1e5)/1e5}const qr={textTransform:"uppercase"},Yr='"Roboto", "Helvetica", "Arial", sans-serif';function Us(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=Yr,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:f=16,allVariants:m,pxToRem:h}=r,y=p._objectWithoutPropertiesLoose(r,Hs);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof f!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const b=o/14,v=h||(x=>`${x/f*b}rem`),l=(x,_,w,C,g)=>p._extends({fontFamily:n,fontWeight:x,fontSize:v(_),lineHeight:w},n===Yr?{letterSpacing:`${Ws(C/_)}em`}:{},g,m),d={h1:l(i,96,1.167,-1.5),h2:l(i,60,1.2,-.5),h3:l(a,48,1.167,0),h4:l(a,34,1.235,.25),h5:l(a,24,1.334,0),h6:l(c,20,1.6,.15),subtitle1:l(a,16,1.75,.15),subtitle2:l(c,14,1.57,.1),body1:l(a,16,1.5,.15),body2:l(a,14,1.43,.15),button:l(c,14,1.75,.4,qr),caption:l(a,12,1.66,.4),overline:l(a,12,2.66,1,qr),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return le(p._extends({htmlFontSize:f,pxToRem:v,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:c,fontWeightBold:u},d),y,{clone:!1})}const qs=.2,Ys=.14,Gs=.12;function F(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${qs})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ys})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Gs})`].join(",")}const Ks=["none",F(0,2,1,-1,0,1,1,0,0,1,3,0),F(0,3,1,-2,0,2,2,0,0,1,5,0),F(0,3,3,-2,0,3,4,0,0,1,8,0),F(0,2,4,-1,0,4,5,0,0,1,10,0),F(0,3,5,-1,0,5,8,0,0,1,14,0),F(0,3,5,-1,0,6,10,0,0,1,18,0),F(0,4,5,-2,0,7,10,1,0,2,16,1),F(0,5,5,-3,0,8,10,1,0,3,14,2),F(0,5,6,-3,0,9,12,1,0,3,16,2),F(0,6,6,-3,0,10,14,1,0,4,18,3),F(0,6,7,-4,0,11,15,1,0,4,20,3),F(0,7,8,-4,0,12,17,2,0,5,22,4),F(0,7,8,-4,0,13,19,2,0,5,24,4),F(0,7,9,-4,0,14,21,2,0,5,26,4),F(0,8,9,-5,0,15,22,2,0,6,28,5),F(0,8,10,-5,0,16,24,2,0,6,30,5),F(0,8,11,-5,0,17,26,2,0,6,32,5),F(0,9,11,-5,0,18,28,2,0,7,34,6),F(0,9,12,-6,0,19,29,2,0,7,36,6),F(0,10,13,-6,0,20,31,3,0,8,38,7),F(0,10,13,-6,0,21,33,3,0,8,40,7),F(0,10,14,-6,0,22,35,3,0,8,42,7),F(0,11,14,-7,0,23,36,3,0,9,44,8),F(0,11,15,-7,0,24,38,3,0,9,46,8)],Zs=Ks,Xs=["duration","easing","delay"],Js={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Qs={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Gr(e){return`${Math.round(e)}ms`}function e0(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function t0(e){const t=p._extends({},Js,e.easing),r=p._extends({},Qs,e.duration),n=(o=["all"],i={})=>{const{duration:a=r.standard,easing:c=t.easeInOut,delay:u=0}=i,f=p._objectWithoutPropertiesLoose(i,Xs);if(process.env.NODE_ENV!=="production"){const m=y=>typeof y=="string",h=y=>!isNaN(parseFloat(y));!m(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!h(a)&&!m(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),m(c)||console.error('MUI: Argument "easing" must be a string.'),!h(u)&&!m(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
108
- `)),Object.keys(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(m=>`${m} ${typeof a=="string"?a:Gr(a)} ${c} ${typeof u=="string"?u:Gr(u)}`).join(",")};return p._extends({getAutoHeightDuration:e0,create:n},e,{easing:t,duration:r})}const r0={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},n0=r0,o0=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function i0(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=p._objectWithoutPropertiesLoose(e,o0);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Ue(18));const c=Bs(n),u=er(e);let f=le(u,{mixins:us(u.breakpoints,r),palette:c,shadows:Zs.slice(),typography:Us(c,i),transitions:t0(o),zIndex:p._extends({},n0)});if(f=le(f,a),f=t.reduce((m,h)=>le(m,h),f),process.env.NODE_ENV!=="production"){const m=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],h=(y,b)=>{let v;for(v in y){const l=y[v];if(m.indexOf(v)!==-1&&Object.keys(l).length>0){if(process.env.NODE_ENV!=="production"){const d=Zt("",v);console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${v}\` internal state.`,"You can not override it like this: ",JSON.stringify(y,null,2),"",`Instead, you need to use the '&.${d}' syntax:`,JSON.stringify({root:{[`&.${d}`]:l}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
109
- `))}y[v]={}}}};Object.keys(f.components).forEach(y=>{const b=f.components[y].styleOverrides;b&&y.indexOf("Mui")===0&&h(b,y)})}return f.unstable_sxConfig=p._extends({},Je,a==null?void 0:a.unstable_sxConfig),f.unstable_sx=function(h){return Qt({sx:h,theme:this})},f}const a0=i0(),Hn=a0,Wn="$$material";function s0({props:e,name:t}){return as({props:e,name:t,defaultTheme:Hn,themeId:Wn})}var et={};const l0=p.getAugmentedNamespace(p._extends$1),c0=p.getAugmentedNamespace(p.objectWithoutPropertiesLoose),d0=p.getAugmentedNamespace(ts),u0=p.getAugmentedNamespace(Eo),f0=p.getAugmentedNamespace($o),h0=p.getAugmentedNamespace(ko),p0=p.getAugmentedNamespace(Di),m0=p.getAugmentedNamespace(ds);var ze=Rn;Object.defineProperty(et,"__esModule",{value:!0});var g0=et.default=$0,y0=et.shouldForwardProp=st;et.systemDefaultTheme=void 0;var te=ze(l0),qt=ze(c0),Kr=j0(d0),v0=u0,x0=ze(f0),b0=ze(h0),_0=ze(p0),S0=ze(m0);const w0=["ownerState"],E0=["variants"],C0=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Un(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Un=function(n){return n?r:t})(e)}function j0(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Un(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function T0(e){return Object.keys(e).length===0}function O0(e){return typeof e=="string"&&e.charCodeAt(0)>96}function st(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const N0=et.systemDefaultTheme=(0,_0.default)(),Zr=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function nt({defaultTheme:e,theme:t,themeId:r}){return T0(t)?e:t[r]||t}function k0(e){return e?(t,r)=>r[e]:null}function lt(e,t){let{ownerState:r}=t,n=(0,qt.default)(t,w0);const o=typeof e=="function"?e((0,te.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(i=>lt(i,(0,te.default)({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let c=(0,qt.default)(o,E0);return i.forEach(u=>{let f=!0;typeof u.props=="function"?f=u.props((0,te.default)({ownerState:r},n,r)):Object.keys(u.props).forEach(m=>{(r==null?void 0:r[m])!==u.props[m]&&n[m]!==u.props[m]&&(f=!1)}),f&&(Array.isArray(c)||(c=[c]),c.push(typeof u.style=="function"?u.style((0,te.default)({ownerState:r},n,r)):u.style))}),c}return o}function $0(e={}){const{themeId:t,defaultTheme:r=N0,rootShouldForwardProp:n=st,slotShouldForwardProp:o=st}=e,i=a=>(0,S0.default)((0,te.default)({},a,{theme:nt((0,te.default)({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,c={})=>{(0,Kr.internal_processStyles)(a,g=>g.filter(S=>!(S!=null&&S.__mui_systemSx)));const{name:u,slot:f,skipVariantsResolver:m,skipSx:h,overridesResolver:y=k0(Zr(f))}=c,b=(0,qt.default)(c,C0),v=m!==void 0?m:f&&f!=="Root"&&f!=="root"||!1,l=h||!1;let d;process.env.NODE_ENV!=="production"&&u&&(d=`${u}-${Zr(f||"Root")}`);let x=st;f==="Root"||f==="root"?x=n:f?x=o:O0(a)&&(x=void 0);const _=(0,Kr.default)(a,(0,te.default)({shouldForwardProp:x,label:d},b)),w=g=>typeof g=="function"&&g.__emotion_real!==g||(0,v0.isPlainObject)(g)?S=>lt(g,(0,te.default)({},S,{theme:nt({theme:S.theme,defaultTheme:r,themeId:t})})):g,C=(g,...S)=>{let E=w(g);const $=S?S.map(w):[];u&&y&&$.push(z=>{const W=nt((0,te.default)({},z,{defaultTheme:r,themeId:t}));if(!W.components||!W.components[u]||!W.components[u].styleOverrides)return null;const G=W.components[u].styleOverrides,ae={};return Object.entries(G).forEach(([me,ge])=>{ae[me]=lt(ge,(0,te.default)({},z,{theme:W}))}),y(z,ae)}),u&&!v&&$.push(z=>{var W;const G=nt((0,te.default)({},z,{defaultTheme:r,themeId:t})),ae=G==null||(W=G.components)==null||(W=W[u])==null?void 0:W.variants;return lt({variants:ae},(0,te.default)({},z,{theme:G}))}),l||$.push(i);const k=$.length-S.length;if(Array.isArray(g)&&k>0){const z=new Array(k).fill("");E=[...g,...z],E.raw=[...g.raw,...z]}const H=_(E,...$);if(process.env.NODE_ENV!=="production"){let z;u&&(z=`${u}${(0,x0.default)(f||"")}`),z===void 0&&(z=`Styled(${(0,b0.default)(a)})`),H.displayName=z}return a.muiName&&(H.muiName=a.muiName),H};return _.withConfig&&(C.withConfig=_.withConfig),C}}const P0=e=>y0(e)&&e!=="classes",A0=g0({themeId:Wn,defaultTheme:Hn,rootShouldForwardProp:P0}),I0=A0;function M0(e){return Zt("MuiSvgIcon",e)}Do("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const R0=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],D0=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${ve(t)}`,`fontSize${ve(r)}`]};return Po(o,M0,n)},z0=I0("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${ve(r.color)}`],t[`fontSize${ve(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,c,u,f,m,h,y,b,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((c=e.typography)==null||(u=c.pxToRem)==null?void 0:u.call(c,24))||"1.5rem",large:((f=e.typography)==null||(m=f.pxToRem)==null?void 0:m.call(f,35))||"2.1875rem"}[t.fontSize],color:(h=(y=(e.vars||e).palette)==null||(y=y[t.color])==null?void 0:y.main)!=null?h:{action:(b=(e.vars||e).palette)==null||(b=b.action)==null?void 0:b.active,disabled:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),fr=L.forwardRef(function(t,r){const n=s0({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:c="svg",fontSize:u="medium",htmlColor:f,inheritViewBox:m=!1,titleAccess:h,viewBox:y="0 0 24 24"}=n,b=p._objectWithoutPropertiesLoose(n,R0),v=L.isValidElement(o)&&o.type==="svg",l=p._extends({},n,{color:a,component:c,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:m,viewBox:y,hasSvgAsChild:v}),d={};m||(d.viewBox=y);const x=D0(l);return s.jsxs(z0,p._extends({as:c,className:p.clsx(x.root,i),focusable:"false",color:f,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:r},d,b,v&&o.props,{ownerState:l,children:[v?o.props.children:o,h?s.jsx("title",{children:h}):null]}))});process.env.NODE_ENV!=="production"&&(fr.propTypes={children:p.PropTypes.node,classes:p.PropTypes.object,className:p.PropTypes.string,color:p.PropTypes.oneOfType([p.PropTypes.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),p.PropTypes.string]),component:p.PropTypes.elementType,fontSize:p.PropTypes.oneOfType([p.PropTypes.oneOf(["inherit","large","medium","small"]),p.PropTypes.string]),htmlColor:p.PropTypes.string,inheritViewBox:p.PropTypes.bool,shapeRendering:p.PropTypes.string,sx:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.oneOfType([p.PropTypes.func,p.PropTypes.object,p.PropTypes.bool])),p.PropTypes.func,p.PropTypes.object]),titleAccess:p.PropTypes.string,viewBox:p.PropTypes.string});fr.muiName="SvgIcon";const Xr=fr;function L0(e,t){function r(n,o){return s.jsx(Xr,p._extends({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Xr.muiName,L.memo(L.forwardRef(r))}const F0=L0(s.jsx("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");var Jr=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function V0(e,t){return!!(e===t||Jr(e)&&Jr(t))}function B0(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!V0(e[r],t[r]))return!1;return!0}function zt(e,t){t===void 0&&(t=B0);var r,n=[],o,i=!1;function a(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];return i&&r===this&&t(c,n)||(o=e.apply(this,c),i=!0,r=this,n=c),o}return a}var H0=typeof performance=="object"&&typeof performance.now=="function",Qr=H0?function(){return performance.now()}:function(){return Date.now()};function en(e){cancelAnimationFrame(e.id)}function W0(e,t){var r=Qr();function n(){Qr()-r>=t?e.call(null):o.id=requestAnimationFrame(n)}var o={id:requestAnimationFrame(n)};return o}var Lt=-1;function tn(e){if(e===void 0&&(e=!1),Lt===-1||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),Lt=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Lt}var ke=null;function rn(e){if(e===void 0&&(e=!1),ke===null||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),o=n.style;return o.width="100px",o.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?ke="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?ke="negative":ke="positive-ascending"),document.body.removeChild(t),ke}return ke}process.env.NODE_ENV;var U0=150,q0=function(t,r){return t},ct=null,dt=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(ct=new WeakSet,dt=new WeakSet);function Y0(e){var t,r=e.getItemOffset,n=e.getEstimatedTotalSize,o=e.getItemSize,i=e.getOffsetForIndexAndAlignment,a=e.getStartIndexForOffset,c=e.getStopIndexForStartIndex,u=e.initInstanceProps,f=e.shouldResetStyleCacheOnItemSizeChange,m=e.validateProps;return t=function(h){p._inheritsLoose(y,h);function y(v){var l;return l=h.call(this,v)||this,l._instanceProps=u(l.props,p._assertThisInitialized(l)),l._outerRef=void 0,l._resetIsScrollingTimeoutId=null,l.state={instance:p._assertThisInitialized(l),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof l.props.initialScrollOffset=="number"?l.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},l._callOnItemsRendered=void 0,l._callOnItemsRendered=zt(function(d,x,_,w){return l.props.onItemsRendered({overscanStartIndex:d,overscanStopIndex:x,visibleStartIndex:_,visibleStopIndex:w})}),l._callOnScroll=void 0,l._callOnScroll=zt(function(d,x,_){return l.props.onScroll({scrollDirection:d,scrollOffset:x,scrollUpdateWasRequested:_})}),l._getItemStyle=void 0,l._getItemStyle=function(d){var x=l.props,_=x.direction,w=x.itemSize,C=x.layout,g=l._getItemStyleCache(f&&w,f&&C,f&&_),S;if(g.hasOwnProperty(d))S=g[d];else{var E=r(l.props,d,l._instanceProps),$=o(l.props,d,l._instanceProps),k=_==="horizontal"||C==="horizontal",H=_==="rtl",z=k?E:0;g[d]=S={position:"absolute",left:H?void 0:z,right:H?z:void 0,top:k?0:E,height:k?"100%":$,width:k?$:"100%"}}return S},l._getItemStyleCache=void 0,l._getItemStyleCache=zt(function(d,x,_){return{}}),l._onScrollHorizontal=function(d){var x=d.currentTarget,_=x.clientWidth,w=x.scrollLeft,C=x.scrollWidth;l.setState(function(g){if(g.scrollOffset===w)return null;var S=l.props.direction,E=w;if(S==="rtl")switch(rn()){case"negative":E=-w;break;case"positive-descending":E=C-_-w;break}return E=Math.max(0,Math.min(E,C-_)),{isScrolling:!0,scrollDirection:g.scrollOffset<E?"forward":"backward",scrollOffset:E,scrollUpdateWasRequested:!1}},l._resetIsScrollingDebounced)},l._onScrollVertical=function(d){var x=d.currentTarget,_=x.clientHeight,w=x.scrollHeight,C=x.scrollTop;l.setState(function(g){if(g.scrollOffset===C)return null;var S=Math.max(0,Math.min(C,w-_));return{isScrolling:!0,scrollDirection:g.scrollOffset<S?"forward":"backward",scrollOffset:S,scrollUpdateWasRequested:!1}},l._resetIsScrollingDebounced)},l._outerRefSetter=function(d){var x=l.props.outerRef;l._outerRef=d,typeof x=="function"?x(d):x!=null&&typeof x=="object"&&x.hasOwnProperty("current")&&(x.current=d)},l._resetIsScrollingDebounced=function(){l._resetIsScrollingTimeoutId!==null&&en(l._resetIsScrollingTimeoutId),l._resetIsScrollingTimeoutId=W0(l._resetIsScrolling,U0)},l._resetIsScrolling=function(){l._resetIsScrollingTimeoutId=null,l.setState({isScrolling:!1},function(){l._getItemStyleCache(-1,null)})},l}y.getDerivedStateFromProps=function(l,d){return G0(l,d),m(l),null};var b=y.prototype;return b.scrollTo=function(l){l=Math.max(0,l),this.setState(function(d){return d.scrollOffset===l?null:{scrollDirection:d.scrollOffset<l?"forward":"backward",scrollOffset:l,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},b.scrollToItem=function(l,d){d===void 0&&(d="auto");var x=this.props,_=x.itemCount,w=x.layout,C=this.state.scrollOffset;l=Math.max(0,Math.min(l,_-1));var g=0;if(this._outerRef){var S=this._outerRef;w==="vertical"?g=S.scrollWidth>S.clientWidth?tn():0:g=S.scrollHeight>S.clientHeight?tn():0}this.scrollTo(i(this.props,l,d,C,this._instanceProps,g))},b.componentDidMount=function(){var l=this.props,d=l.direction,x=l.initialScrollOffset,_=l.layout;if(typeof x=="number"&&this._outerRef!=null){var w=this._outerRef;d==="horizontal"||_==="horizontal"?w.scrollLeft=x:w.scrollTop=x}this._callPropsCallbacks()},b.componentDidUpdate=function(){var l=this.props,d=l.direction,x=l.layout,_=this.state,w=_.scrollOffset,C=_.scrollUpdateWasRequested;if(C&&this._outerRef!=null){var g=this._outerRef;if(d==="horizontal"||x==="horizontal")if(d==="rtl")switch(rn()){case"negative":g.scrollLeft=-w;break;case"positive-ascending":g.scrollLeft=w;break;default:var S=g.clientWidth,E=g.scrollWidth;g.scrollLeft=E-S-w;break}else g.scrollLeft=w;else g.scrollTop=w}this._callPropsCallbacks()},b.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&en(this._resetIsScrollingTimeoutId)},b.render=function(){var l=this.props,d=l.children,x=l.className,_=l.direction,w=l.height,C=l.innerRef,g=l.innerElementType,S=l.innerTagName,E=l.itemCount,$=l.itemData,k=l.itemKey,H=k===void 0?q0:k,z=l.layout,W=l.outerElementType,G=l.outerTagName,ae=l.style,me=l.useIsScrolling,ge=l.width,be=this.state.isScrolling,de=_==="horizontal"||z==="horizontal",_e=de?this._onScrollHorizontal:this._onScrollVertical,ye=this._getRangeToRender(),Le=ye[0],Fe=ye[1],Se=[];if(E>0)for(var ue=Le;ue<=Fe;ue++)Se.push(j.createElement(d,{data:$,key:H(ue,$),index:ue,isScrolling:me?be:void 0,style:this._getItemStyle(ue)}));var we=n(this.props,this._instanceProps);return j.createElement(W||G||"div",{className:x,onScroll:_e,ref:this._outerRefSetter,style:p._extends({position:"relative",height:w,width:ge,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:_},ae)},j.createElement(g||S||"div",{children:Se,ref:C,style:{height:de?"100%":we,pointerEvents:be?"none":void 0,width:de?we:"100%"}}))},b._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var l=this.props.itemCount;if(l>0){var d=this._getRangeToRender(),x=d[0],_=d[1],w=d[2],C=d[3];this._callOnItemsRendered(x,_,w,C)}}if(typeof this.props.onScroll=="function"){var g=this.state,S=g.scrollDirection,E=g.scrollOffset,$=g.scrollUpdateWasRequested;this._callOnScroll(S,E,$)}},b._getRangeToRender=function(){var l=this.props,d=l.itemCount,x=l.overscanCount,_=this.state,w=_.isScrolling,C=_.scrollDirection,g=_.scrollOffset;if(d===0)return[0,0,0,0];var S=a(this.props,g,this._instanceProps),E=c(this.props,S,g,this._instanceProps),$=!w||C==="backward"?Math.max(1,x):1,k=!w||C==="forward"?Math.max(1,x):1;return[Math.max(0,S-$),Math.max(0,Math.min(d-1,E+k)),S,E]},y}(j.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var G0=function(t,r){var n=t.children,o=t.direction,i=t.height,a=t.layout,c=t.innerTagName,u=t.outerTagName,f=t.width,m=r.instance;if(process.env.NODE_ENV!=="production"){(c!=null||u!=null)&&dt&&!dt.has(m)&&(dt.add(m),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var h=o==="horizontal"||a==="horizontal";switch(o){case"horizontal":case"vertical":ct&&!ct.has(m)&&(ct.add(m),console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));break;case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+o+'" was specified.'))}switch(a){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+a+'" was specified.'))}if(n==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(n===null?"null":typeof n)+'" was specified.'));if(h&&typeof f!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(f===null?"null":typeof f)+'" was specified.'));if(!h&&typeof i!="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(i===null?"null":typeof i)+'" was specified.'))}},K0=50,$e=function(t,r,n){var o=t,i=o.itemSize,a=n.itemMetadataMap,c=n.lastMeasuredIndex;if(r>c){var u=0;if(c>=0){var f=a[c];u=f.offset+f.size}for(var m=c+1;m<=r;m++){var h=i(m);a[m]={offset:u,size:h},u+=h}n.lastMeasuredIndex=r}return a[r]},Z0=function(t,r,n){var o=r.itemMetadataMap,i=r.lastMeasuredIndex,a=i>0?o[i].offset:0;return a>=n?qn(t,r,i,0,n):X0(t,r,Math.max(0,i),n)},qn=function(t,r,n,o,i){for(;o<=n;){var a=o+Math.floor((n-o)/2),c=$e(t,a,r).offset;if(c===i)return a;c<i?o=a+1:c>i&&(n=a-1)}return o>0?o-1:0},X0=function(t,r,n,o){for(var i=t.itemCount,a=1;n<i&&$e(t,n,r).offset<o;)n+=a,a*=2;return qn(t,r,Math.min(n,i-1),Math.floor(n/2),o)},nn=function(t,r){var n=t.itemCount,o=r.itemMetadataMap,i=r.estimatedItemSize,a=r.lastMeasuredIndex,c=0;if(a>=n&&(a=n-1),a>=0){var u=o[a];c=u.offset+u.size}var f=n-a-1,m=f*i;return c+m},J0=Y0({getItemOffset:function(t,r,n){return $e(t,r,n).offset},getItemSize:function(t,r,n){return n.itemMetadataMap[r].size},getEstimatedTotalSize:nn,getOffsetForIndexAndAlignment:function(t,r,n,o,i,a){var c=t.direction,u=t.height,f=t.layout,m=t.width,h=c==="horizontal"||f==="horizontal",y=h?m:u,b=$e(t,r,i),v=nn(t,i),l=Math.max(0,Math.min(v-y,b.offset)),d=Math.max(0,b.offset-y+b.size+a);switch(n==="smart"&&(o>=d-y&&o<=l+y?n="auto":n="center"),n){case"start":return l;case"end":return d;case"center":return Math.round(d+(l-d)/2);case"auto":default:return o>=d&&o<=l?o:o<d?d:l}},getStartIndexForOffset:function(t,r,n){return Z0(t,n,r)},getStopIndexForStartIndex:function(t,r,n,o){for(var i=t.direction,a=t.height,c=t.itemCount,u=t.layout,f=t.width,m=i==="horizontal"||u==="horizontal",h=m?f:a,y=$e(t,r,o),b=n+h,v=y.offset+y.size,l=r;l<c-1&&v<b;)l++,v+=$e(t,l,o).size;return l},initInstanceProps:function(t,r){var n=t,o=n.estimatedItemSize,i={itemMetadataMap:{},estimatedItemSize:o||K0,lastMeasuredIndex:-1};return r.resetAfterIndex=function(a,c){c===void 0&&(c=!0),i.lastMeasuredIndex=Math.min(i.lastMeasuredIndex,a-1),r._getItemStyleCache(-1),c&&r.forceUpdate()},i},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(t){var r=t.itemSize;if(process.env.NODE_ENV!=="production"&&typeof r!="function")throw Error('An invalid "itemSize" prop has been specified. Value should be a function. '+('"'+(r===null?"null":typeof r)+'" was specified.'))}});function Yt(e){const{colors:t}=p.useTheme();return s.jsx(N.Stack,{sx:{cursor:"pointer"},onClick:r=>{var n;r.preventDefault(),r.stopPropagation(),(n=e.onClick)==null||n.call(e,e.option)},...e.stackProps,children:s.jsx(N.Stack,{sx:{p:1,transition:"0.2s",borderRadius:"5px",cursor:"pointer",...p.activeStyles({backgroundColor:t.primary200},e.select),":hover":{backgroundColor:"#eeeeee80",borderColor:"transparent"}},children:e.renderOption(e.option)})})}const mt=37,Q0=(e,t)=>{const a=document.createElement("p");a.innerText=t,a.style.width=`${e-16-16-4}px`,document.body.appendChild(a);const c=a.offsetHeight;return document.body.removeChild(a),c>21?mt+21:mt};function el(e){const[t,r]=j.useState(!1),[n,o]=j.useState(""),[i,a]=j.useState(""),[c,u]=j.useState(!1),{isRequired:f=!1}=e,m=j.useCallback(p._.debounce(S=>{var E;(E=e.handleChangeSearch)==null||E.call(e,S)},300),[e.handleChangeSearch]),h=()=>{r(!t)},y=()=>{r(!1),a(""),m("")};j.useEffect(()=>{o(e.value?e.getOptionLabel(e.value):"")},[e.value]),j.useEffect(()=>{t||o(e.value?e.getOptionLabel(e.value):"")},[t]),j.useEffect(()=>{u(e.searchLoading)},[e.paging.rows,e.searchLoading]);const b=e.paging.rows,{hasNextPage:v}=e,l=v?b.length+1:b.length,d=()=>e.isNextPageLoading?void 0:e.loadNextPage(i),x=S=>!v||S<b.length,_=S=>{o(S.target.value),t&&(a(S.target.value),m(S.target.value),u(!0))},w=j.useRef(null),C=j.useRef(null),g=j.useRef(null);return j.useEffect(()=>{var S,E,$,k;t?((S=C.current)==null||S.classList.add("Mui-focused"),(E=g.current)==null||E.classList.add("Mui-focused")):(($=C.current)==null||$.classList.remove("Mui-focused"),(k=g.current)==null||k.classList.remove("Mui-focused"))},[t]),s.jsx(N.ClickAwayListener,{onClickAway:y,mouseEvent:"onMouseDown",touchEvent:"onTouchEnd",children:s.jsx("div",{ref:w,style:{width:e.wrapperWidth??"auto"},children:s.jsxs(N.Stack,{sx:{position:"relative"},children:[s.jsx(N.TextField,{required:f,label:e.label,value:n,disabled:e.loading||e.disabled||e.readOnly,fullWidth:!0,error:e.error,helperText:e.helperText,onFocus:S=>{e.loading||e.disabled||e.readOnly||(S.preventDefault(),S.stopPropagation(),r(!0))},autoComplete:"off",onChange:_,placeholder:e.placeholder||"All options",sx:{"& input:not(:focus)":{"&::placeholder":{color:e.placeHolderColor||"#C5C5C5",opacity:1}}},InputLabelProps:{ref:C,shrink:!0},InputProps:{readOnly:e.readOnly,ref:g,endAdornment:s.jsx(N.IconButton,{size:"small",sx:{padding:"1px"},onClick:S=>{var E;S.preventDefault(),S.stopPropagation(),h(),(E=w.current)==null||E.focus()},disabled:e.loading||e.disabled||e.readOnly,children:e.loading?s.jsx(N.CircularProgress,{size:"16px"}):s.jsx(F0,{fontSize:"small",style:{transition:"0.3s"},className:t?"rotate":""})})}}),s.jsx(N.Fade,{in:t,timeout:0,unmountOnExit:!1,children:s.jsxs(N.Paper,{sx:{position:"absolute",top:"calc(100% + 2px)",zIndex:2,left:0,right:0,p:1},children:[!e.disabledAllOption&&s.jsx(N.Stack,{sx:{...p.activeStyles({display:"none"},!!c)},children:s.jsx(N.Stack,{children:s.jsx(Yt,{option:void 0,select:!e.value,renderOption:()=>s.jsx(N.Typography,{children:e.placeholder||"All options"}),onClick:()=>{var S,E;y(),(S=e.onChange)==null||S.call(e,void 0),(E=e.handleChangeSearch)==null||E.call(e,"")}})})}),!c&&s.jsx(p.InfiniteLoader,{isItemLoaded:x,itemCount:l,loadMoreItems:d,threshold:5,children:({onItemsRendered:S,ref:E})=>s.jsx(J0,{ref:E,onItemsRendered:S,height:mt*Math.min(e.itemsNumber||6,l),itemCount:l,itemSize:$=>{var k;return Q0((k=w.current)==null?void 0:k.offsetWidth,b[$]?e.getOptionLabel(b[$]):"")},width:"100%",className:"styled-scroll",children:({index:$,style:k})=>{var z;const H=b[$];return x($)?s.jsx(Yt,{stackProps:{style:k},option:H,renderOption:W=>{var G;return s.jsxs(N.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",children:[s.jsx(N.Typography,{children:e.getOptionLabel(W)}),(G=e.renderOptionTooltip)==null?void 0:G.call(e,W)]})},onClick:W=>{var G;y(),(G=e.onChange)==null||G.call(e,W)},select:((z=e.isEqual)==null?void 0:z.call(e,H,e.value))??p._.isEqual(H,e.value)}):s.jsx(N.Stack,{style:k,sx:{height:mt,pl:1},justifyContent:"center",children:s.jsx(N.Typography,{children:"Loading..."})})}})}),s.jsx(N.Stack,{sx:{height:30,display:"flex",justifyContent:"center",paddingLeft:"5px",...p.activeStyles({display:"none"},!c)},children:s.jsx(N.Typography,{color:"grayText",children:"Searching..."})}),s.jsx(N.Stack,{sx:{height:30,display:"flex",justifyContent:"center",paddingLeft:"5px",...p.activeStyles({display:"none"},!!(b.length||e.loading||c))},children:s.jsx(N.Typography,{color:"grayText",children:"No options"})})]})})]})})})}function tl(e){var m;const{listProps:t}=e,[r,n]=j.useState({initLoading:!e.disabled,searchLoading:!1,hasNextPage:!1,isNextPageLoading:!1,paging:{page:1,pageSize:((m=e.listProps)==null?void 0:m.pageSize)||20,rows:[],total:0,totalPages:1}}),o=async(h,y)=>{var b,v;if(e.list)n(()=>{var x;const l=((x=h==null?void 0:h.search)==null?void 0:x.content)||"";return{hasNextPage:!1,isNextPageLoading:!1,paging:{page:1,pageSize:1e5,rows:e.list.options.filter(_=>e.list.searchOption?e.list.searchOption(_,l):p.search(_,l,e.list.searchFields)),total:e.list.options.length,totalPages:1},searchLoading:!1,initLoading:!1}});else{n(l=>({...l,isNextPageLoading:!0}));try{const l={page:1,pageSize:20,filter:{...t==null?void 0:t.filter,...h==null?void 0:h.filter},...p.lodashExports.omit(t,"filter"),...p.lodashExports.omit(h,"filter"),search:{fields:((b=t==null?void 0:t.search)==null?void 0:b.fields)??[],content:((v=h==null?void 0:h.search)==null?void 0:v.content)??""}};y&&(l.filter={},l.search&&(l.search.content=""),l.page=1);const d=await e.getList(l);n(x=>({initLoading:!1,searchLoading:!1,isNextPageLoading:!1,paging:{...d,rows:(h==null?void 0:h.page)===1?d.rows:x.paging.rows.concat(d.rows)},hasNextPage:d.page<d.totalPages}))}catch{}}},i=()=>(n(h=>({...h,initLoading:!0})),o(void 0,!0)),a=h=>(n(y=>({...y,initLoading:!0})),o(h)),c=h=>{o({page:r.paging.page+1,search:{content:h}})},u=h=>{n(y=>({...y,searchLoading:!0})),o({page:1,search:{content:h}})};j.useEffect(()=>{e.disabled||(n(h=>({...h,initLoading:!0})),o({page:1}))},[...e.dependencyList||[]]);const f=()=>{n(h=>({...h,initLoading:!h.initLoading}))};return{...e,loadNextPage:c,handleChangeSearch:u,paging:r.paging,hasNextPage:r.hasNextPage,isNextPageLoading:r.isNextPageLoading,searchLoading:r.searchLoading,loading:e.loading||r.initLoading,getList:a,reset:i,toggleLoading:f}}function rl(e){return s.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[s.jsx("path",{d:"M12 3.16663H3.99998C2.80336 3.16663 1.83331 4.13668 1.83331 5.33329V12C1.83331 13.1966 2.80336 14.1666 3.99998 14.1666H12C13.1966 14.1666 14.1666 13.1966 14.1666 12V5.33329C14.1666 4.13668 13.1966 3.16663 12 3.16663Z",stroke:"#85858A"}),s.jsx("path",{d:"M4.5 1.83337V4.16671",stroke:"#85858A",strokeLinecap:"round"}),s.jsx("path",{d:"M2.5 6.16663H13.5",stroke:"#85858A",strokeLinecap:"round"}),s.jsx("path",{d:"M11.8333 1.83337V4.16671",stroke:"#85858A",strokeLinecap:"round"}),s.jsx("path",{d:"M5.5 9.33337C5.77614 9.33337 6 9.10952 6 8.83337C6 8.55723 5.77614 8.33337 5.5 8.33337C5.22386 8.33337 5 8.55723 5 8.83337C5 9.10952 5.22386 9.33337 5.5 9.33337Z",fill:"#85858A"}),s.jsx("path",{d:"M8.16669 9.33337C8.44283 9.33337 8.66669 9.10952 8.66669 8.83337C8.66669 8.55723 8.44283 8.33337 8.16669 8.33337C7.89054 8.33337 7.66669 8.55723 7.66669 8.83337C7.66669 9.10952 7.89054 9.33337 8.16669 9.33337Z",fill:"#85858A"}),s.jsx("path",{d:"M10.8333 9.33337C11.1095 9.33337 11.3333 9.10952 11.3333 8.83337C11.3333 8.55723 11.1095 8.33337 10.8333 8.33337C10.5572 8.33337 10.3333 8.55723 10.3333 8.83337C10.3333 9.10952 10.5572 9.33337 10.8333 9.33337Z",fill:"#85858A"}),s.jsx("path",{d:"M5.5 12C5.77614 12 6 11.7761 6 11.5C6 11.2239 5.77614 11 5.5 11C5.22386 11 5 11.2239 5 11.5C5 11.7761 5.22386 12 5.5 12Z",fill:"#85858A"}),s.jsx("path",{d:"M8.16669 12C8.44283 12 8.66669 11.7761 8.66669 11.5C8.66669 11.2239 8.44283 11 8.16669 11C7.89054 11 7.66669 11.2239 7.66669 11.5C7.66669 11.7761 7.89054 12 8.16669 12Z",fill:"#85858A"}),s.jsx("path",{d:"M10.8333 12C11.1095 12 11.3333 11.7761 11.3333 11.5C11.3333 11.2239 11.1095 11 10.8333 11C10.5572 11 10.3333 11.2239 10.3333 11.5C10.3333 11.7761 10.5572 12 10.8333 12Z",fill:"#85858A"})]})}const nl="Reset date";function ol(e){var c,u;const[t,r]=j.useState(e.value),n=!(t!=null&&t.startDate)||!(t!=null&&t.endDate)?"":K(t==null?void 0:t.startDate).format("DD/MM/YYYY")+" ~ "+K(t==null?void 0:t.endDate).format("DD/MM/YYYY");j.useEffect(()=>{r(e.value)},[e.value]);const o=j.useRef(null),i=j.useRef(null),a=j.useRef(null);return console.log("inputRef",o),console.log("labelRef",i),s.jsx(p.DateRangePicker,{initialSettings:{autoApply:!0,ranges:{Today:[K(),K()],Yesterday:[K().subtract(1,"days"),K().subtract(1,"days")],"Last 7 days":[K().subtract(6,"days"),K()],"Last 30 days":[K().subtract(29,"days"),K()],"This month":[K().startOf("month"),K().endOf("month")],"Last month":[K().subtract(1,"month").startOf("month"),K().subtract(1,"month").endOf("month")],"Reset date":[((c=e.dateReset)==null?void 0:c.startDate)??void 0,((u=e.dateReset)==null?void 0:u.endDate)??void 0]},alwaysShowCalendars:!0,startDate:(t==null?void 0:t.startDate)??void 0,endDate:(t==null?void 0:t.endDate)??void 0,opens:"left",maxDate:K(),...e.initialSettings},onApply:(f,m)=>{var d,x,_;const h=m.chosenLabel===nl,{startDate:y,endDate:b}=m,v=h?((d=e.dateReset)==null?void 0:d.startDate)??void 0:y.toDate(),l=h?((x=e.dateReset)==null?void 0:x.endDate)??void 0:b.toDate();r({startDate:v,endDate:l}),(_=e.onChange)==null||_.call(e,{startDate:v,endDate:l})},children:s.jsx(N.TextField,{inputRef:o,label:e.label??"Permit date",placeholder:"Select date range",value:n,InputLabelProps:{ref:i,shrink:!0},InputProps:{readOnly:!0,ref:a,endAdornment:s.jsx(rl,{onClick:()=>{var f;return(f=o.current)==null?void 0:f.focus()},width:24,height:24,color:"gray"})},fullWidth:!0,sx:{"& *":{cursor:"pointer"},display:"flex",justifyContent:"center",minWidth:"250px"}})})}function Yn(e){return s.jsx("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M16 2.75H8C5.10051 2.75 2.75 5.10051 2.75 8V16C2.75 18.8995 5.10051 21.25 8 21.25H16C18.8995 21.25 21.25 18.8995 21.25 16V8C21.25 5.10051 18.8995 2.75 16 2.75Z",stroke:"#85858A",strokeWidth:"1.5"})})}function Gn(e){return s.jsxs("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("path",{d:"M16 2.75H8C5.10051 2.75 2.75 5.10051 2.75 8V16C2.75 18.8995 5.10051 21.25 8 21.25H16C18.8995 21.25 21.25 18.8995 21.25 16V8C21.25 5.10051 18.8995 2.75 16 2.75Z",stroke:"currentColor",strokeWidth:"1.5"}),s.jsx("path",{d:"M9 12L11 14L15 10",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function il(e){return s.jsx(N.Checkbox,{sx:{"& input:disabled ~ svg":{fill:"#ddd"}},color:"primary",icon:s.jsx(Yn,{fontSize:"small"}),checkedIcon:s.jsx(Gn,{fontSize:"small"}),style:{padding:0},...e})}const Kn=e=>{"serviceWorker"in navigator&&navigator.serviceWorker.register(e.path).then(function(t){console.log("Registration successful, scope is:",t.scope),console.log("initialize service worker props ",e);const r=p.getMessagingInWindow(p.initializeApp({apiKey:e.apiKey,authDomain:e.authDomain,projectId:e.projectId,storageBucket:e.storageBucket,messagingSenderId:e.messagingSenderId,appId:e.appId,measurementId:e.measurementId}));p.getToken(r,{serviceWorkerRegistration:t,vapidKey:e.vapidKey}).then(async n=>{var o,i;if(n){console.log("current token for client: ",n);try{const a="/notification-management/api/v1/notifications/registrations",c=e.baseUrl+a;await Gt.post(c,{deviceToken:n},{withCredentials:!0})}catch(a){console.log(a),p.pushError(((i=(o=a.response)==null?void 0:o.data)==null?void 0:i.errorMessage)||"Have error when get notification list")}}else console.log("No registration token available. Request permission to generate one.")}).catch(n=>{console.log("An error occurred while retrieving token. ",n)})}).catch(function(t){console.log("Service worker registration failed, error:",t)})},al=e=>{const t=new BroadcastChannel("my-channel");t.onmessage=r=>{console.log("Broadcast chanel message",r),r&&e(n=>({...n,unread:{...n.unread,total:n.unread.total+1}}))}},sl=e=>new Promise(t=>{const r=p.getMessagingInWindow(p.initializeApp({apiKey:e.apiKey,authDomain:e.authDomain,projectId:e.projectId,storageBucket:e.storageBucket,messagingSenderId:e.messagingSenderId,appId:e.appId,measurementId:e.measurementId}));p.onMessage(r,n=>{console.log("payload",n),t(n)})}),ll=["granted","denied"],cl=e=>{const[t,r]=j.useState(!1),n=()=>{Notification.requestPermission(function(i){i==="granted"&&Kn(e),ll.includes(i)&&r(!0)})},o=()=>{r(!0)};return s.jsx(s.Fragment,{children:t?"":s.jsx("div",{className:p.styles$1["subscription-diaglog"],children:s.jsxs("div",{className:p.styles$1["subscription-container"],children:[s.jsx("h4",{className:p.styles$1["subscription-title"],children:"Notification"}),s.jsx("p",{className:p.styles$1["subscription-text"],children:"Choice to receive notifications for the most recent updates. You have the flexibility to disable them whenever you prefer."}),s.jsxs("div",{className:p.styles$1["subscription-btn__container"],children:[s.jsx("button",{className:p.styles$1["btn-cancel"],onClick:o,children:"Not now"}),s.jsx("button",{className:p.styles$1["btn-success"],onClick:n,children:"Turn on"})]})]})})})},Zn=e=>{const[t,r]=j.useState({actorName:"",message:"",context:""});console.log(t);const{setNotiData:n}=j.useContext(p.CustomOpenList);function o(){return s.jsx("div",{className:p.styles$2["notification-massage_container"],children:s.jsxs("div",{className:p.styles$2["notification-massage_content"],children:[s.jsx("h6",{className:p.styles$2["notification-name"],children:t==null?void 0:t.actorName}),s.jsxs("div",{className:p.styles$2["notification-message_service"],children:[s.jsxs("span",{children:[`${t==null?void 0:t.message} `," "]}),s.jsx("span",{children:t==null?void 0:t.context})]})]})})}return j.useEffect(()=>{t&&Notification.permission==="granted"&&(t.actorName||t.message||t.context)&&p.notify(s.jsx(o,{}))},[t]),j.useEffect(()=>{Notification.permission==="granted"&&Kn(e)},[Notification.permission]),j.useEffect(()=>{al(n)},[]),sl(e).then(i=>{var a,c,u;console.log("aaa",i),r({actorName:(a=i==null?void 0:i.data)==null?void 0:a.actorName,message:(c=i==null?void 0:i.data)==null?void 0:c.message,context:(u=i==null?void 0:i.data)==null?void 0:u.context}),n(f=>{var m;return{...f,unread:{...f.unread,total:((m=f.unread)==null?void 0:m.total)+1}}})}).catch(i=>console.log("failed: ",i)),s.jsx("div",{children:"Notification"in window&&Notification.permission==="default"?s.jsx(cl,{...e}):""})},dl=(e,t)=>j.cloneElement(t,{},e),ul=({children:e,providers:t})=>s.jsx(s.Fragment,{children:t.reduceRight(dl,e)}),fl=({rootPath:e})=>{const{colors:t}=p.useTheme();return s.jsxs(N.Stack,{py:2,gap:2,style:{alignItems:"center"},children:[s.jsx("img",{width:120,height:120,src:"https://ukpcsaprod.blob.core.windows.net/lib/images/page-not-found.png",alt:""}),s.jsxs(N.Stack,{gap:1,children:[s.jsx(N.Typography,{variant:"h4",textAlign:"center",children:"Page Not Found"}),s.jsxs(N.Typography,{textAlign:"center",color:t.grey600,children:["We’re sorry. The page you requested could no be found. ",s.jsx("br",{}),"Please go back to the home page"]}),s.jsx(on.Link,{to:e,style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},children:s.jsx(N.Button,{variant:"primary",style:{maxWidth:"200px",width:"100%"},children:"Go to homepage"})})]})]})};exports.GlobalMenu=p.GlobalMenu;exports.notify=p.notify;exports.pushError=p.pushError;exports.pushSuccess=p.pushSuccess;exports.pushWarning=p.pushWarning;exports.AutocompleteOption=Yt;exports.BaseCheckbox=il;exports.CheckedIcon=Gn;exports.MultiProvider=ul;exports.NoData=po;exports.NotFoundPage=_o;exports.NotificationBase=Zn;exports.PageNotFound=fl;exports.PopUpBase=xo;exports.StyledAutocomplete=el;exports.StyledDateRangePicker=ol;exports.ToastConfig=Qn;exports.ToastConfigNotification=eo;exports.TopBar=uo;exports.UnauthorizedPage=So;exports.UncheckedIcon=Yn;exports.usePopUp=bo;exports.useStyledAutocomplete=tl;
107
+ } });`:Ue(12,u?` (${u})`:"",JSON.stringify(c.main)));return qr(c,"light",_,n),qr(c,"dark",w,n),c.contrastText||(c.contrastText=h(c.main)),c},b={dark:Dt,light:Ur};return process.env.NODE_ENV!=="production"&&(b[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),ce(m._extends({common:m._extends({},Ke),mode:t,primary:y({color:i,name:"primary"}),secondary:y({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:l,name:"error"}),warning:y({color:p,name:"warning"}),info:y({color:d,name:"info"}),success:y({color:f,name:"success"}),grey:Ns,contrastThreshold:r,getContrastText:h,augmentColor:y,tonalOffset:n},b[t]),o)}const Ws=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Us(e){return Math.round(e*1e5)/1e5}const Yr={textTransform:"uppercase"},Gr='"Roboto", "Helvetica", "Arial", sans-serif';function qs(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=Gr,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:d=700,htmlFontSize:f=16,allVariants:p,pxToRem:h}=r,y=m._objectWithoutPropertiesLoose(r,Ws);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof f!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const b=o/14,v=h||(x=>`${x/f*b}rem`),c=(x,_,w,C,g)=>m._extends({fontFamily:n,fontWeight:x,fontSize:v(_),lineHeight:w},n===Gr?{letterSpacing:`${Us(C/_)}em`}:{},g,p),u={h1:c(i,96,1.167,-1.5),h2:c(i,60,1.2,-.5),h3:c(a,48,1.167,0),h4:c(a,34,1.235,.25),h5:c(a,24,1.334,0),h6:c(l,20,1.6,.15),subtitle1:c(a,16,1.75,.15),subtitle2:c(l,14,1.57,.1),body1:c(a,16,1.5,.15),body2:c(a,14,1.43,.15),button:c(l,14,1.75,.4,Yr),caption:c(a,12,1.66,.4),overline:c(a,12,2.66,1,Yr),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ce(m._extends({htmlFontSize:f,pxToRem:v,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:d},u),y,{clone:!1})}const Ys=.2,Gs=.14,Ks=.12;function F(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Ys})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Gs})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ks})`].join(",")}const Zs=["none",F(0,2,1,-1,0,1,1,0,0,1,3,0),F(0,3,1,-2,0,2,2,0,0,1,5,0),F(0,3,3,-2,0,3,4,0,0,1,8,0),F(0,2,4,-1,0,4,5,0,0,1,10,0),F(0,3,5,-1,0,5,8,0,0,1,14,0),F(0,3,5,-1,0,6,10,0,0,1,18,0),F(0,4,5,-2,0,7,10,1,0,2,16,1),F(0,5,5,-3,0,8,10,1,0,3,14,2),F(0,5,6,-3,0,9,12,1,0,3,16,2),F(0,6,6,-3,0,10,14,1,0,4,18,3),F(0,6,7,-4,0,11,15,1,0,4,20,3),F(0,7,8,-4,0,12,17,2,0,5,22,4),F(0,7,8,-4,0,13,19,2,0,5,24,4),F(0,7,9,-4,0,14,21,2,0,5,26,4),F(0,8,9,-5,0,15,22,2,0,6,28,5),F(0,8,10,-5,0,16,24,2,0,6,30,5),F(0,8,11,-5,0,17,26,2,0,6,32,5),F(0,9,11,-5,0,18,28,2,0,7,34,6),F(0,9,12,-6,0,19,29,2,0,7,36,6),F(0,10,13,-6,0,20,31,3,0,8,38,7),F(0,10,13,-6,0,21,33,3,0,8,40,7),F(0,10,14,-6,0,22,35,3,0,8,42,7),F(0,11,14,-7,0,23,36,3,0,9,44,8),F(0,11,15,-7,0,24,38,3,0,9,46,8)],Xs=Zs,Js=["duration","easing","delay"],Qs={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},e0={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Kr(e){return`${Math.round(e)}ms`}function t0(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function r0(e){const t=m._extends({},Qs,e.easing),r=m._extends({},e0,e.duration),n=(o=["all"],i={})=>{const{duration:a=r.standard,easing:l=t.easeInOut,delay:d=0}=i,f=m._objectWithoutPropertiesLoose(i,Js);if(process.env.NODE_ENV!=="production"){const p=y=>typeof y=="string",h=y=>!isNaN(parseFloat(y));!p(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!h(a)&&!p(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),p(l)||console.error('MUI: Argument "easing" must be a string.'),!h(d)&&!p(d)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
108
+ `)),Object.keys(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(p=>`${p} ${typeof a=="string"?a:Kr(a)} ${l} ${typeof d=="string"?d:Kr(d)}`).join(",")};return m._extends({getAutoHeightDuration:t0,create:n},e,{easing:t,duration:r})}const n0={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},o0=n0,i0=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function a0(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=m._objectWithoutPropertiesLoose(e,i0);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Ue(18));const l=Hs(n),d=tr(e);let f=ce(d,{mixins:fs(d.breakpoints,r),palette:l,shadows:Xs.slice(),typography:qs(l,i),transitions:r0(o),zIndex:m._extends({},o0)});if(f=ce(f,a),f=t.reduce((p,h)=>ce(p,h),f),process.env.NODE_ENV!=="production"){const p=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],h=(y,b)=>{let v;for(v in y){const c=y[v];if(p.indexOf(v)!==-1&&Object.keys(c).length>0){if(process.env.NODE_ENV!=="production"){const u=Xt("",v);console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${v}\` internal state.`,"You can not override it like this: ",JSON.stringify(y,null,2),"",`Instead, you need to use the '&.${u}' syntax:`,JSON.stringify({root:{[`&.${u}`]:c}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
109
+ `))}y[v]={}}}};Object.keys(f.components).forEach(y=>{const b=f.components[y].styleOverrides;b&&y.indexOf("Mui")===0&&h(b,y)})}return f.unstable_sxConfig=m._extends({},Je,a==null?void 0:a.unstable_sxConfig),f.unstable_sx=function(h){return er({sx:h,theme:this})},f}const s0=a0(),Wn=s0,Un="$$material";function c0({props:e,name:t}){return ss({props:e,name:t,defaultTheme:Wn,themeId:Un})}var et={};const l0=m.getAugmentedNamespace(m._extends$1),d0=m.getAugmentedNamespace(m.objectWithoutPropertiesLoose),u0=m.getAugmentedNamespace(rs),f0=m.getAugmentedNamespace(Co),h0=m.getAugmentedNamespace(Ao),p0=m.getAugmentedNamespace($o),m0=m.getAugmentedNamespace(zi),g0=m.getAugmentedNamespace(us);var ze=Dn;Object.defineProperty(et,"__esModule",{value:!0});var y0=et.default=A0,v0=et.shouldForwardProp=st;et.systemDefaultTheme=void 0;var te=ze(l0),qt=ze(d0),Zr=T0(u0),x0=f0,b0=ze(h0),_0=ze(p0),S0=ze(m0),w0=ze(g0);const E0=["ownerState"],C0=["variants"],j0=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function qn(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(qn=function(n){return n?r:t})(e)}function T0(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=qn(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function O0(e){return Object.keys(e).length===0}function N0(e){return typeof e=="string"&&e.charCodeAt(0)>96}function st(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const k0=et.systemDefaultTheme=(0,S0.default)(),Xr=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function nt({defaultTheme:e,theme:t,themeId:r}){return O0(t)?e:t[r]||t}function $0(e){return e?(t,r)=>r[e]:null}function ct(e,t){let{ownerState:r}=t,n=(0,qt.default)(t,E0);const o=typeof e=="function"?e((0,te.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(i=>ct(i,(0,te.default)({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let l=(0,qt.default)(o,C0);return i.forEach(d=>{let f=!0;typeof d.props=="function"?f=d.props((0,te.default)({ownerState:r},n,r)):Object.keys(d.props).forEach(p=>{(r==null?void 0:r[p])!==d.props[p]&&n[p]!==d.props[p]&&(f=!1)}),f&&(Array.isArray(l)||(l=[l]),l.push(typeof d.style=="function"?d.style((0,te.default)({ownerState:r},n,r)):d.style))}),l}return o}function A0(e={}){const{themeId:t,defaultTheme:r=k0,rootShouldForwardProp:n=st,slotShouldForwardProp:o=st}=e,i=a=>(0,w0.default)((0,te.default)({},a,{theme:nt((0,te.default)({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,l={})=>{(0,Zr.internal_processStyles)(a,g=>g.filter(S=>!(S!=null&&S.__mui_systemSx)));const{name:d,slot:f,skipVariantsResolver:p,skipSx:h,overridesResolver:y=$0(Xr(f))}=l,b=(0,qt.default)(l,j0),v=p!==void 0?p:f&&f!=="Root"&&f!=="root"||!1,c=h||!1;let u;process.env.NODE_ENV!=="production"&&d&&(u=`${d}-${Xr(f||"Root")}`);let x=st;f==="Root"||f==="root"?x=n:f?x=o:N0(a)&&(x=void 0);const _=(0,Zr.default)(a,(0,te.default)({shouldForwardProp:x,label:u},b)),w=g=>typeof g=="function"&&g.__emotion_real!==g||(0,x0.isPlainObject)(g)?S=>ct(g,(0,te.default)({},S,{theme:nt({theme:S.theme,defaultTheme:r,themeId:t})})):g,C=(g,...S)=>{let E=w(g);const $=S?S.map(w):[];d&&y&&$.push(z=>{const W=nt((0,te.default)({},z,{defaultTheme:r,themeId:t}));if(!W.components||!W.components[d]||!W.components[d].styleOverrides)return null;const G=W.components[d].styleOverrides,ae={};return Object.entries(G).forEach(([me,ge])=>{ae[me]=ct(ge,(0,te.default)({},z,{theme:W}))}),y(z,ae)}),d&&!v&&$.push(z=>{var W;const G=nt((0,te.default)({},z,{defaultTheme:r,themeId:t})),ae=G==null||(W=G.components)==null||(W=W[d])==null?void 0:W.variants;return ct({variants:ae},(0,te.default)({},z,{theme:G}))}),c||$.push(i);const k=$.length-S.length;if(Array.isArray(g)&&k>0){const z=new Array(k).fill("");E=[...g,...z],E.raw=[...g.raw,...z]}const H=_(E,...$);if(process.env.NODE_ENV!=="production"){let z;d&&(z=`${d}${(0,b0.default)(f||"")}`),z===void 0&&(z=`Styled(${(0,_0.default)(a)})`),H.displayName=z}return a.muiName&&(H.muiName=a.muiName),H};return _.withConfig&&(C.withConfig=_.withConfig),C}}const I0=e=>v0(e)&&e!=="classes",P0=y0({themeId:Un,defaultTheme:Wn,rootShouldForwardProp:I0}),M0=P0;function R0(e){return Xt("MuiSvgIcon",e)}zo("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const D0=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],z0=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${ve(t)}`,`fontSize${ve(r)}`]};return Io(o,R0,n)},L0=M0("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${ve(r.color)}`],t[`fontSize${ve(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,l,d,f,p,h,y,b,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((l=e.typography)==null||(d=l.pxToRem)==null?void 0:d.call(l,24))||"1.5rem",large:((f=e.typography)==null||(p=f.pxToRem)==null?void 0:p.call(f,35))||"2.1875rem"}[t.fontSize],color:(h=(y=(e.vars||e).palette)==null||(y=y[t.color])==null?void 0:y.main)!=null?h:{action:(b=(e.vars||e).palette)==null||(b=b.action)==null?void 0:b.active,disabled:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),hr=L.forwardRef(function(t,r){const n=c0({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:l="svg",fontSize:d="medium",htmlColor:f,inheritViewBox:p=!1,titleAccess:h,viewBox:y="0 0 24 24"}=n,b=m._objectWithoutPropertiesLoose(n,D0),v=L.isValidElement(o)&&o.type==="svg",c=m._extends({},n,{color:a,component:l,fontSize:d,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:y,hasSvgAsChild:v}),u={};p||(u.viewBox=y);const x=z0(c);return s.jsxs(L0,m._extends({as:l,className:m.clsx(x.root,i),focusable:"false",color:f,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:r},u,b,v&&o.props,{ownerState:c,children:[v?o.props.children:o,h?s.jsx("title",{children:h}):null]}))});process.env.NODE_ENV!=="production"&&(hr.propTypes={children:m.PropTypes.node,classes:m.PropTypes.object,className:m.PropTypes.string,color:m.PropTypes.oneOfType([m.PropTypes.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),m.PropTypes.string]),component:m.PropTypes.elementType,fontSize:m.PropTypes.oneOfType([m.PropTypes.oneOf(["inherit","large","medium","small"]),m.PropTypes.string]),htmlColor:m.PropTypes.string,inheritViewBox:m.PropTypes.bool,shapeRendering:m.PropTypes.string,sx:m.PropTypes.oneOfType([m.PropTypes.arrayOf(m.PropTypes.oneOfType([m.PropTypes.func,m.PropTypes.object,m.PropTypes.bool])),m.PropTypes.func,m.PropTypes.object]),titleAccess:m.PropTypes.string,viewBox:m.PropTypes.string});hr.muiName="SvgIcon";const Jr=hr;function F0(e,t){function r(n,o){return s.jsx(Jr,m._extends({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Jr.muiName,L.memo(L.forwardRef(r))}const V0=F0(s.jsx("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");var Qr=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function B0(e,t){return!!(e===t||Qr(e)&&Qr(t))}function H0(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!B0(e[r],t[r]))return!1;return!0}function zt(e,t){t===void 0&&(t=H0);var r,n=[],o,i=!1;function a(){for(var l=[],d=0;d<arguments.length;d++)l[d]=arguments[d];return i&&r===this&&t(l,n)||(o=e.apply(this,l),i=!0,r=this,n=l),o}return a}var W0=typeof performance=="object"&&typeof performance.now=="function",en=W0?function(){return performance.now()}:function(){return Date.now()};function tn(e){cancelAnimationFrame(e.id)}function U0(e,t){var r=en();function n(){en()-r>=t?e.call(null):o.id=requestAnimationFrame(n)}var o={id:requestAnimationFrame(n)};return o}var Lt=-1;function rn(e){if(e===void 0&&(e=!1),Lt===-1||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),Lt=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Lt}var ke=null;function nn(e){if(e===void 0&&(e=!1),ke===null||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),o=n.style;return o.width="100px",o.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?ke="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?ke="negative":ke="positive-ascending"),document.body.removeChild(t),ke}return ke}process.env.NODE_ENV;var q0=150,Y0=function(t,r){return t},lt=null,dt=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(lt=new WeakSet,dt=new WeakSet);function G0(e){var t,r=e.getItemOffset,n=e.getEstimatedTotalSize,o=e.getItemSize,i=e.getOffsetForIndexAndAlignment,a=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,d=e.initInstanceProps,f=e.shouldResetStyleCacheOnItemSizeChange,p=e.validateProps;return t=function(h){m._inheritsLoose(y,h);function y(v){var c;return c=h.call(this,v)||this,c._instanceProps=d(c.props,m._assertThisInitialized(c)),c._outerRef=void 0,c._resetIsScrollingTimeoutId=null,c.state={instance:m._assertThisInitialized(c),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof c.props.initialScrollOffset=="number"?c.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},c._callOnItemsRendered=void 0,c._callOnItemsRendered=zt(function(u,x,_,w){return c.props.onItemsRendered({overscanStartIndex:u,overscanStopIndex:x,visibleStartIndex:_,visibleStopIndex:w})}),c._callOnScroll=void 0,c._callOnScroll=zt(function(u,x,_){return c.props.onScroll({scrollDirection:u,scrollOffset:x,scrollUpdateWasRequested:_})}),c._getItemStyle=void 0,c._getItemStyle=function(u){var x=c.props,_=x.direction,w=x.itemSize,C=x.layout,g=c._getItemStyleCache(f&&w,f&&C,f&&_),S;if(g.hasOwnProperty(u))S=g[u];else{var E=r(c.props,u,c._instanceProps),$=o(c.props,u,c._instanceProps),k=_==="horizontal"||C==="horizontal",H=_==="rtl",z=k?E:0;g[u]=S={position:"absolute",left:H?void 0:z,right:H?z:void 0,top:k?0:E,height:k?"100%":$,width:k?$:"100%"}}return S},c._getItemStyleCache=void 0,c._getItemStyleCache=zt(function(u,x,_){return{}}),c._onScrollHorizontal=function(u){var x=u.currentTarget,_=x.clientWidth,w=x.scrollLeft,C=x.scrollWidth;c.setState(function(g){if(g.scrollOffset===w)return null;var S=c.props.direction,E=w;if(S==="rtl")switch(nn()){case"negative":E=-w;break;case"positive-descending":E=C-_-w;break}return E=Math.max(0,Math.min(E,C-_)),{isScrolling:!0,scrollDirection:g.scrollOffset<E?"forward":"backward",scrollOffset:E,scrollUpdateWasRequested:!1}},c._resetIsScrollingDebounced)},c._onScrollVertical=function(u){var x=u.currentTarget,_=x.clientHeight,w=x.scrollHeight,C=x.scrollTop;c.setState(function(g){if(g.scrollOffset===C)return null;var S=Math.max(0,Math.min(C,w-_));return{isScrolling:!0,scrollDirection:g.scrollOffset<S?"forward":"backward",scrollOffset:S,scrollUpdateWasRequested:!1}},c._resetIsScrollingDebounced)},c._outerRefSetter=function(u){var x=c.props.outerRef;c._outerRef=u,typeof x=="function"?x(u):x!=null&&typeof x=="object"&&x.hasOwnProperty("current")&&(x.current=u)},c._resetIsScrollingDebounced=function(){c._resetIsScrollingTimeoutId!==null&&tn(c._resetIsScrollingTimeoutId),c._resetIsScrollingTimeoutId=U0(c._resetIsScrolling,q0)},c._resetIsScrolling=function(){c._resetIsScrollingTimeoutId=null,c.setState({isScrolling:!1},function(){c._getItemStyleCache(-1,null)})},c}y.getDerivedStateFromProps=function(c,u){return K0(c,u),p(c),null};var b=y.prototype;return b.scrollTo=function(c){c=Math.max(0,c),this.setState(function(u){return u.scrollOffset===c?null:{scrollDirection:u.scrollOffset<c?"forward":"backward",scrollOffset:c,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},b.scrollToItem=function(c,u){u===void 0&&(u="auto");var x=this.props,_=x.itemCount,w=x.layout,C=this.state.scrollOffset;c=Math.max(0,Math.min(c,_-1));var g=0;if(this._outerRef){var S=this._outerRef;w==="vertical"?g=S.scrollWidth>S.clientWidth?rn():0:g=S.scrollHeight>S.clientHeight?rn():0}this.scrollTo(i(this.props,c,u,C,this._instanceProps,g))},b.componentDidMount=function(){var c=this.props,u=c.direction,x=c.initialScrollOffset,_=c.layout;if(typeof x=="number"&&this._outerRef!=null){var w=this._outerRef;u==="horizontal"||_==="horizontal"?w.scrollLeft=x:w.scrollTop=x}this._callPropsCallbacks()},b.componentDidUpdate=function(){var c=this.props,u=c.direction,x=c.layout,_=this.state,w=_.scrollOffset,C=_.scrollUpdateWasRequested;if(C&&this._outerRef!=null){var g=this._outerRef;if(u==="horizontal"||x==="horizontal")if(u==="rtl")switch(nn()){case"negative":g.scrollLeft=-w;break;case"positive-ascending":g.scrollLeft=w;break;default:var S=g.clientWidth,E=g.scrollWidth;g.scrollLeft=E-S-w;break}else g.scrollLeft=w;else g.scrollTop=w}this._callPropsCallbacks()},b.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&tn(this._resetIsScrollingTimeoutId)},b.render=function(){var c=this.props,u=c.children,x=c.className,_=c.direction,w=c.height,C=c.innerRef,g=c.innerElementType,S=c.innerTagName,E=c.itemCount,$=c.itemData,k=c.itemKey,H=k===void 0?Y0:k,z=c.layout,W=c.outerElementType,G=c.outerTagName,ae=c.style,me=c.useIsScrolling,ge=c.width,be=this.state.isScrolling,de=_==="horizontal"||z==="horizontal",_e=de?this._onScrollHorizontal:this._onScrollVertical,ye=this._getRangeToRender(),Le=ye[0],Fe=ye[1],Se=[];if(E>0)for(var ue=Le;ue<=Fe;ue++)Se.push(j.createElement(u,{data:$,key:H(ue,$),index:ue,isScrolling:me?be:void 0,style:this._getItemStyle(ue)}));var we=n(this.props,this._instanceProps);return j.createElement(W||G||"div",{className:x,onScroll:_e,ref:this._outerRefSetter,style:m._extends({position:"relative",height:w,width:ge,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:_},ae)},j.createElement(g||S||"div",{children:Se,ref:C,style:{height:de?"100%":we,pointerEvents:be?"none":void 0,width:de?we:"100%"}}))},b._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var c=this.props.itemCount;if(c>0){var u=this._getRangeToRender(),x=u[0],_=u[1],w=u[2],C=u[3];this._callOnItemsRendered(x,_,w,C)}}if(typeof this.props.onScroll=="function"){var g=this.state,S=g.scrollDirection,E=g.scrollOffset,$=g.scrollUpdateWasRequested;this._callOnScroll(S,E,$)}},b._getRangeToRender=function(){var c=this.props,u=c.itemCount,x=c.overscanCount,_=this.state,w=_.isScrolling,C=_.scrollDirection,g=_.scrollOffset;if(u===0)return[0,0,0,0];var S=a(this.props,g,this._instanceProps),E=l(this.props,S,g,this._instanceProps),$=!w||C==="backward"?Math.max(1,x):1,k=!w||C==="forward"?Math.max(1,x):1;return[Math.max(0,S-$),Math.max(0,Math.min(u-1,E+k)),S,E]},y}(j.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var K0=function(t,r){var n=t.children,o=t.direction,i=t.height,a=t.layout,l=t.innerTagName,d=t.outerTagName,f=t.width,p=r.instance;if(process.env.NODE_ENV!=="production"){(l!=null||d!=null)&&dt&&!dt.has(p)&&(dt.add(p),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var h=o==="horizontal"||a==="horizontal";switch(o){case"horizontal":case"vertical":lt&&!lt.has(p)&&(lt.add(p),console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));break;case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+o+'" was specified.'))}switch(a){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+a+'" was specified.'))}if(n==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(n===null?"null":typeof n)+'" was specified.'));if(h&&typeof f!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(f===null?"null":typeof f)+'" was specified.'));if(!h&&typeof i!="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(i===null?"null":typeof i)+'" was specified.'))}},Z0=50,$e=function(t,r,n){var o=t,i=o.itemSize,a=n.itemMetadataMap,l=n.lastMeasuredIndex;if(r>l){var d=0;if(l>=0){var f=a[l];d=f.offset+f.size}for(var p=l+1;p<=r;p++){var h=i(p);a[p]={offset:d,size:h},d+=h}n.lastMeasuredIndex=r}return a[r]},X0=function(t,r,n){var o=r.itemMetadataMap,i=r.lastMeasuredIndex,a=i>0?o[i].offset:0;return a>=n?Yn(t,r,i,0,n):J0(t,r,Math.max(0,i),n)},Yn=function(t,r,n,o,i){for(;o<=n;){var a=o+Math.floor((n-o)/2),l=$e(t,a,r).offset;if(l===i)return a;l<i?o=a+1:l>i&&(n=a-1)}return o>0?o-1:0},J0=function(t,r,n,o){for(var i=t.itemCount,a=1;n<i&&$e(t,n,r).offset<o;)n+=a,a*=2;return Yn(t,r,Math.min(n,i-1),Math.floor(n/2),o)},on=function(t,r){var n=t.itemCount,o=r.itemMetadataMap,i=r.estimatedItemSize,a=r.lastMeasuredIndex,l=0;if(a>=n&&(a=n-1),a>=0){var d=o[a];l=d.offset+d.size}var f=n-a-1,p=f*i;return l+p},Q0=G0({getItemOffset:function(t,r,n){return $e(t,r,n).offset},getItemSize:function(t,r,n){return n.itemMetadataMap[r].size},getEstimatedTotalSize:on,getOffsetForIndexAndAlignment:function(t,r,n,o,i,a){var l=t.direction,d=t.height,f=t.layout,p=t.width,h=l==="horizontal"||f==="horizontal",y=h?p:d,b=$e(t,r,i),v=on(t,i),c=Math.max(0,Math.min(v-y,b.offset)),u=Math.max(0,b.offset-y+b.size+a);switch(n==="smart"&&(o>=u-y&&o<=c+y?n="auto":n="center"),n){case"start":return c;case"end":return u;case"center":return Math.round(u+(c-u)/2);case"auto":default:return o>=u&&o<=c?o:o<u?u:c}},getStartIndexForOffset:function(t,r,n){return X0(t,n,r)},getStopIndexForStartIndex:function(t,r,n,o){for(var i=t.direction,a=t.height,l=t.itemCount,d=t.layout,f=t.width,p=i==="horizontal"||d==="horizontal",h=p?f:a,y=$e(t,r,o),b=n+h,v=y.offset+y.size,c=r;c<l-1&&v<b;)c++,v+=$e(t,c,o).size;return c},initInstanceProps:function(t,r){var n=t,o=n.estimatedItemSize,i={itemMetadataMap:{},estimatedItemSize:o||Z0,lastMeasuredIndex:-1};return r.resetAfterIndex=function(a,l){l===void 0&&(l=!0),i.lastMeasuredIndex=Math.min(i.lastMeasuredIndex,a-1),r._getItemStyleCache(-1),l&&r.forceUpdate()},i},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(t){var r=t.itemSize;if(process.env.NODE_ENV!=="production"&&typeof r!="function")throw Error('An invalid "itemSize" prop has been specified. Value should be a function. '+('"'+(r===null?"null":typeof r)+'" was specified.'))}});function Yt(e){const{colors:t}=m.useTheme();return s.jsx(N.Stack,{sx:{cursor:"pointer"},onClick:r=>{var n;r.preventDefault(),r.stopPropagation(),(n=e.onClick)==null||n.call(e,e.option)},...e.stackProps,children:s.jsx(N.Stack,{sx:{p:1,transition:"0.2s",borderRadius:"5px",cursor:"pointer",...m.activeStyles({backgroundColor:t.primary200},e.select),":hover":{backgroundColor:"#eeeeee80",borderColor:"transparent"}},children:e.renderOption(e.option)})})}const mt=37,ec=(e,t)=>{const a=document.createElement("p");a.innerText=t,a.style.width=`${e-16-16-4}px`,document.body.appendChild(a);const l=a.offsetHeight;return document.body.removeChild(a),l>21?mt+21:mt};function tc(e){const[t,r]=j.useState(!1),[n,o]=j.useState(""),[i,a]=j.useState(""),[l,d]=j.useState(!1),{isRequired:f=!1}=e,p=j.useCallback(m._.debounce(S=>{var E;(E=e.handleChangeSearch)==null||E.call(e,S)},300),[e.handleChangeSearch]),h=()=>{r(!t)},y=()=>{r(!1),a(""),p("")};j.useEffect(()=>{o(e.value?e.getOptionLabel(e.value):"")},[e.value]),j.useEffect(()=>{t||o(e.value?e.getOptionLabel(e.value):"")},[t]),j.useEffect(()=>{d(e.searchLoading)},[e.paging.rows,e.searchLoading]);const b=e.paging.rows,{hasNextPage:v}=e,c=v?b.length+1:b.length,u=()=>e.isNextPageLoading?void 0:e.loadNextPage(i),x=S=>!v||S<b.length,_=S=>{o(S.target.value),t&&(a(S.target.value),p(S.target.value),d(!0))},w=j.useRef(null),C=j.useRef(null),g=j.useRef(null);return j.useEffect(()=>{var S,E,$,k;t?((S=C.current)==null||S.classList.add("Mui-focused"),(E=g.current)==null||E.classList.add("Mui-focused")):(($=C.current)==null||$.classList.remove("Mui-focused"),(k=g.current)==null||k.classList.remove("Mui-focused"))},[t]),s.jsx(N.ClickAwayListener,{onClickAway:y,mouseEvent:"onMouseDown",touchEvent:"onTouchEnd",children:s.jsx("div",{ref:w,style:{width:e.wrapperWidth??"auto"},children:s.jsxs(N.Stack,{sx:{position:"relative"},children:[s.jsx(N.TextField,{required:f,label:e.label,value:n,disabled:e.loading||e.disabled||e.readOnly,fullWidth:!0,error:e.error,helperText:e.helperText,onFocus:S=>{e.loading||e.disabled||e.readOnly||(S.preventDefault(),S.stopPropagation(),r(!0))},autoComplete:"off",onChange:_,placeholder:e.placeholder||"All options",sx:{"& input:not(:focus)":{"&::placeholder":{color:e.placeHolderColor||"#C5C5C5",opacity:1}}},InputLabelProps:{ref:C,shrink:!0},InputProps:{readOnly:e.readOnly,ref:g,endAdornment:s.jsx(N.IconButton,{size:"small",sx:{padding:"1px"},onClick:S=>{var E;S.preventDefault(),S.stopPropagation(),h(),(E=w.current)==null||E.focus()},disabled:e.loading||e.disabled||e.readOnly,children:e.loading?s.jsx(N.CircularProgress,{size:"16px"}):s.jsx(V0,{fontSize:"small",style:{transition:"0.3s"},className:t?"rotate":""})})}}),s.jsx(N.Fade,{in:t,timeout:0,unmountOnExit:!1,children:s.jsxs(N.Paper,{sx:{position:"absolute",top:"calc(100% + 2px)",zIndex:2,left:0,right:0,p:1},children:[!e.disabledAllOption&&s.jsx(N.Stack,{sx:{...m.activeStyles({display:"none"},!!l)},children:s.jsx(N.Stack,{children:s.jsx(Yt,{option:void 0,select:!e.value,renderOption:()=>s.jsx(N.Typography,{children:e.placeholder||"All options"}),onClick:()=>{var S,E;y(),(S=e.onChange)==null||S.call(e,void 0),(E=e.handleChangeSearch)==null||E.call(e,"")}})})}),!l&&s.jsx(m.InfiniteLoader,{isItemLoaded:x,itemCount:c,loadMoreItems:u,threshold:5,children:({onItemsRendered:S,ref:E})=>s.jsx(Q0,{ref:E,onItemsRendered:S,height:mt*Math.min(e.itemsNumber||6,c),itemCount:c,itemSize:$=>{var k;return ec((k=w.current)==null?void 0:k.offsetWidth,b[$]?e.getOptionLabel(b[$]):"")},width:"100%",className:"styled-scroll",children:({index:$,style:k})=>{var z;const H=b[$];return x($)?s.jsx(Yt,{stackProps:{style:k},option:H,renderOption:W=>{var G;return s.jsxs(N.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",children:[s.jsx(N.Typography,{children:e.getOptionLabel(W)}),(G=e.renderOptionTooltip)==null?void 0:G.call(e,W)]})},onClick:W=>{var G;y(),(G=e.onChange)==null||G.call(e,W)},select:((z=e.isEqual)==null?void 0:z.call(e,H,e.value))??m._.isEqual(H,e.value)}):s.jsx(N.Stack,{style:k,sx:{height:mt,pl:1},justifyContent:"center",children:s.jsx(N.Typography,{children:"Loading..."})})}})}),s.jsx(N.Stack,{sx:{height:30,display:"flex",justifyContent:"center",paddingLeft:"5px",...m.activeStyles({display:"none"},!l)},children:s.jsx(N.Typography,{color:"grayText",children:"Searching..."})}),s.jsx(N.Stack,{sx:{height:30,display:"flex",justifyContent:"center",paddingLeft:"5px",...m.activeStyles({display:"none"},!!(b.length||e.loading||l))},children:s.jsx(N.Typography,{color:"grayText",children:"No options"})})]})})]})})})}function rc(e){var p;const{listProps:t}=e,[r,n]=j.useState({initLoading:!e.disabled,searchLoading:!1,hasNextPage:!1,isNextPageLoading:!1,paging:{page:1,pageSize:((p=e.listProps)==null?void 0:p.pageSize)||20,rows:[],total:0,totalPages:1}}),o=async(h,y)=>{var b,v;if(e.list)n(()=>{var x;const c=((x=h==null?void 0:h.search)==null?void 0:x.content)||"";return{hasNextPage:!1,isNextPageLoading:!1,paging:{page:1,pageSize:1e5,rows:e.list.options.filter(_=>e.list.searchOption?e.list.searchOption(_,c):m.search(_,c,e.list.searchFields)),total:e.list.options.length,totalPages:1},searchLoading:!1,initLoading:!1}});else{n(c=>({...c,isNextPageLoading:!0}));try{const c={page:1,pageSize:20,filter:{...t==null?void 0:t.filter,...h==null?void 0:h.filter},...m.lodashExports.omit(t,"filter"),...m.lodashExports.omit(h,"filter"),search:{fields:((b=t==null?void 0:t.search)==null?void 0:b.fields)??[],content:((v=h==null?void 0:h.search)==null?void 0:v.content)??""}};y&&(c.filter={},c.search&&(c.search.content=""),c.page=1);const u=await e.getList(c);n(x=>({initLoading:!1,searchLoading:!1,isNextPageLoading:!1,paging:{...u,rows:(h==null?void 0:h.page)===1?u.rows:x.paging.rows.concat(u.rows)},hasNextPage:u.page<u.totalPages}))}catch{}}},i=()=>(n(h=>({...h,initLoading:!0})),o(void 0,!0)),a=h=>(n(y=>({...y,initLoading:!0})),o(h)),l=h=>{o({page:r.paging.page+1,search:{content:h}})},d=h=>{n(y=>({...y,searchLoading:!0})),o({page:1,search:{content:h}})};j.useEffect(()=>{e.disabled||(n(h=>({...h,initLoading:!0})),o({page:1}))},[...e.dependencyList||[]]);const f=()=>{n(h=>({...h,initLoading:!h.initLoading}))};return{...e,loadNextPage:l,handleChangeSearch:d,paging:r.paging,hasNextPage:r.hasNextPage,isNextPageLoading:r.isNextPageLoading,searchLoading:r.searchLoading,loading:e.loading||r.initLoading,getList:a,reset:i,toggleLoading:f}}function nc(e){return s.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[s.jsx("path",{d:"M12 3.16663H3.99998C2.80336 3.16663 1.83331 4.13668 1.83331 5.33329V12C1.83331 13.1966 2.80336 14.1666 3.99998 14.1666H12C13.1966 14.1666 14.1666 13.1966 14.1666 12V5.33329C14.1666 4.13668 13.1966 3.16663 12 3.16663Z",stroke:"#85858A"}),s.jsx("path",{d:"M4.5 1.83337V4.16671",stroke:"#85858A",strokeLinecap:"round"}),s.jsx("path",{d:"M2.5 6.16663H13.5",stroke:"#85858A",strokeLinecap:"round"}),s.jsx("path",{d:"M11.8333 1.83337V4.16671",stroke:"#85858A",strokeLinecap:"round"}),s.jsx("path",{d:"M5.5 9.33337C5.77614 9.33337 6 9.10952 6 8.83337C6 8.55723 5.77614 8.33337 5.5 8.33337C5.22386 8.33337 5 8.55723 5 8.83337C5 9.10952 5.22386 9.33337 5.5 9.33337Z",fill:"#85858A"}),s.jsx("path",{d:"M8.16669 9.33337C8.44283 9.33337 8.66669 9.10952 8.66669 8.83337C8.66669 8.55723 8.44283 8.33337 8.16669 8.33337C7.89054 8.33337 7.66669 8.55723 7.66669 8.83337C7.66669 9.10952 7.89054 9.33337 8.16669 9.33337Z",fill:"#85858A"}),s.jsx("path",{d:"M10.8333 9.33337C11.1095 9.33337 11.3333 9.10952 11.3333 8.83337C11.3333 8.55723 11.1095 8.33337 10.8333 8.33337C10.5572 8.33337 10.3333 8.55723 10.3333 8.83337C10.3333 9.10952 10.5572 9.33337 10.8333 9.33337Z",fill:"#85858A"}),s.jsx("path",{d:"M5.5 12C5.77614 12 6 11.7761 6 11.5C6 11.2239 5.77614 11 5.5 11C5.22386 11 5 11.2239 5 11.5C5 11.7761 5.22386 12 5.5 12Z",fill:"#85858A"}),s.jsx("path",{d:"M8.16669 12C8.44283 12 8.66669 11.7761 8.66669 11.5C8.66669 11.2239 8.44283 11 8.16669 11C7.89054 11 7.66669 11.2239 7.66669 11.5C7.66669 11.7761 7.89054 12 8.16669 12Z",fill:"#85858A"}),s.jsx("path",{d:"M10.8333 12C11.1095 12 11.3333 11.7761 11.3333 11.5C11.3333 11.2239 11.1095 11 10.8333 11C10.5572 11 10.3333 11.2239 10.3333 11.5C10.3333 11.7761 10.5572 12 10.8333 12Z",fill:"#85858A"})]})}const oc="Reset date";function ic(e){var l,d;const[t,r]=j.useState(e.value),n=!(t!=null&&t.startDate)||!(t!=null&&t.endDate)?"":K(t==null?void 0:t.startDate).format("DD/MM/YYYY")+" ~ "+K(t==null?void 0:t.endDate).format("DD/MM/YYYY");j.useEffect(()=>{r(e.value)},[e.value]);const o=j.useRef(null),i=j.useRef(null),a=j.useRef(null);return console.log("inputRef",o),console.log("labelRef",i),s.jsx(m.DateRangePicker,{initialSettings:{autoApply:!0,ranges:{Today:[K(),K()],Yesterday:[K().subtract(1,"days"),K().subtract(1,"days")],"Last 7 days":[K().subtract(6,"days"),K()],"Last 30 days":[K().subtract(29,"days"),K()],"This month":[K().startOf("month"),K().endOf("month")],"Last month":[K().subtract(1,"month").startOf("month"),K().subtract(1,"month").endOf("month")],"Reset date":[((l=e.dateReset)==null?void 0:l.startDate)??void 0,((d=e.dateReset)==null?void 0:d.endDate)??void 0]},alwaysShowCalendars:!0,startDate:(t==null?void 0:t.startDate)??void 0,endDate:(t==null?void 0:t.endDate)??void 0,opens:"left",maxDate:K(),...e.initialSettings},onApply:(f,p)=>{var u,x,_;const h=p.chosenLabel===oc,{startDate:y,endDate:b}=p,v=h?((u=e.dateReset)==null?void 0:u.startDate)??void 0:y.toDate(),c=h?((x=e.dateReset)==null?void 0:x.endDate)??void 0:b.toDate();r({startDate:v,endDate:c}),(_=e.onChange)==null||_.call(e,{startDate:v,endDate:c})},children:s.jsx(N.TextField,{inputRef:o,label:e.label??"Permit date",placeholder:"Select date range",value:n,InputLabelProps:{ref:i,shrink:!0},InputProps:{readOnly:!0,ref:a,endAdornment:s.jsx(nc,{onClick:()=>{var f;return(f=o.current)==null?void 0:f.focus()},width:24,height:24,color:"gray"})},fullWidth:!0,sx:{"& *":{cursor:"pointer"},display:"flex",justifyContent:"center",minWidth:"250px"}})})}function Gn(e){return s.jsx("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M16 2.75H8C5.10051 2.75 2.75 5.10051 2.75 8V16C2.75 18.8995 5.10051 21.25 8 21.25H16C18.8995 21.25 21.25 18.8995 21.25 16V8C21.25 5.10051 18.8995 2.75 16 2.75Z",stroke:"#85858A",strokeWidth:"1.5"})})}function Kn(e){return s.jsxs("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("path",{d:"M16 2.75H8C5.10051 2.75 2.75 5.10051 2.75 8V16C2.75 18.8995 5.10051 21.25 8 21.25H16C18.8995 21.25 21.25 18.8995 21.25 16V8C21.25 5.10051 18.8995 2.75 16 2.75Z",stroke:"currentColor",strokeWidth:"1.5"}),s.jsx("path",{d:"M9 12L11 14L15 10",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function ac(e){return s.jsx(N.Checkbox,{sx:{"& input:disabled ~ svg":{fill:"#ddd"}},color:"primary",icon:s.jsx(Gn,{fontSize:"small"}),checkedIcon:s.jsx(Kn,{fontSize:"small"}),style:{padding:0},...e})}const Zn=e=>{"serviceWorker"in navigator&&navigator.serviceWorker.register(e.path).then(function(t){console.log("Registration successful, scope is:",t.scope),console.log("initialize service worker props ",e);const r=m.getMessagingInWindow(m.initializeApp({apiKey:e.apiKey,authDomain:e.authDomain,projectId:e.projectId,storageBucket:e.storageBucket,messagingSenderId:e.messagingSenderId,appId:e.appId,measurementId:e.measurementId}));m.getToken(r,{serviceWorkerRegistration:t,vapidKey:e.vapidKey}).then(async n=>{var o,i;if(n){console.log("current token for client: ",n);try{const a="/notification-management/api/v1/notifications/registrations",l=e.baseUrl+a;await Gt.post(l,{deviceToken:n},{withCredentials:!0})}catch(a){console.log(a),m.pushError(((i=(o=a.response)==null?void 0:o.data)==null?void 0:i.errorMessage)||"Have error when get notification list")}}else console.log("No registration token available. Request permission to generate one.")}).catch(n=>{console.log("An error occurred while retrieving token. ",n)})}).catch(function(t){console.log("Service worker registration failed, error:",t)})},sc=e=>{const t=new BroadcastChannel("my-channel");t.onmessage=r=>{console.log("Broadcast chanel message",r),r&&e(n=>({...n,unread:{...n.unread,total:n.unread.total+1}}))}},cc=e=>new Promise(t=>{const r=m.getMessagingInWindow(m.initializeApp({apiKey:e.apiKey,authDomain:e.authDomain,projectId:e.projectId,storageBucket:e.storageBucket,messagingSenderId:e.messagingSenderId,appId:e.appId,measurementId:e.measurementId}));m.onMessage(r,n=>{console.log("payload",n),t(n)})}),lc=["granted","denied"],dc=e=>{const[t,r]=j.useState(!1),n=()=>{Notification.requestPermission(function(i){i==="granted"&&Zn(e),lc.includes(i)&&r(!0)})},o=()=>{r(!0)};return s.jsx(s.Fragment,{children:t?"":s.jsx("div",{className:m.styles$1["subscription-diaglog"],children:s.jsxs("div",{className:m.styles$1["subscription-container"],children:[s.jsx("h4",{className:m.styles$1["subscription-title"],children:"Notification"}),s.jsx("p",{className:m.styles$1["subscription-text"],children:"Choice to receive notifications for the most recent updates. You have the flexibility to disable them whenever you prefer."}),s.jsxs("div",{className:m.styles$1["subscription-btn__container"],children:[s.jsx("button",{className:m.styles$1["btn-cancel"],onClick:o,children:"Not now"}),s.jsx("button",{className:m.styles$1["btn-success"],onClick:n,children:"Turn on"})]})]})})})},Xn=e=>{const[t,r]=j.useState({actorName:"",message:"",context:""});console.log(t);const{setNotiData:n}=j.useContext(m.CustomOpenList);function o(){return s.jsx("div",{className:m.styles$2["notification-massage_container"],children:s.jsxs("div",{className:m.styles$2["notification-massage_content"],children:[s.jsx("h6",{className:m.styles$2["notification-name"],children:t==null?void 0:t.actorName}),s.jsxs("div",{className:m.styles$2["notification-message_service"],children:[s.jsxs("span",{children:[`${t==null?void 0:t.message} `," "]}),s.jsx("span",{children:t==null?void 0:t.context})]})]})})}return j.useEffect(()=>{t&&Notification.permission==="granted"&&(t.actorName||t.message||t.context)&&m.notify(s.jsx(o,{}))},[t]),j.useEffect(()=>{Notification.permission==="granted"&&Zn(e)},[Notification.permission]),j.useEffect(()=>{sc(n)},[]),cc(e).then(i=>{var a,l,d;console.log("aaa",i),r({actorName:(a=i==null?void 0:i.data)==null?void 0:a.actorName,message:(l=i==null?void 0:i.data)==null?void 0:l.message,context:(d=i==null?void 0:i.data)==null?void 0:d.context}),n(f=>{var p;return{...f,unread:{...f.unread,total:((p=f.unread)==null?void 0:p.total)+1}}})}).catch(i=>console.log("failed: ",i)),s.jsx("div",{children:"Notification"in window&&Notification.permission==="default"?s.jsx(dc,{...e}):""})},uc=(e,t)=>j.cloneElement(t,{},e),fc=({children:e,providers:t})=>s.jsx(s.Fragment,{children:t.reduceRight(uc,e)}),hc=({rootPath:e})=>{const{colors:t}=m.useTheme();return s.jsxs(N.Stack,{py:2,gap:2,style:{alignItems:"center"},children:[s.jsx("img",{width:120,height:120,src:"https://ukpcsaprod.blob.core.windows.net/lib/images/page-not-found.png",alt:""}),s.jsxs(N.Stack,{gap:1,children:[s.jsx(N.Typography,{variant:"h4",textAlign:"center",children:"Page Not Found"}),s.jsxs(N.Typography,{textAlign:"center",color:t.grey600,children:["We’re sorry. The page you requested could no be found. ",s.jsx("br",{}),"Please go back to the home page"]}),s.jsx(an.Link,{to:e,style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},children:s.jsx(N.Button,{variant:"primary",style:{maxWidth:"200px",width:"100%"},children:"Go to homepage"})})]})]})};exports.GlobalMenu=m.GlobalMenu;exports.notify=m.notify;exports.pushError=m.pushError;exports.pushSuccess=m.pushSuccess;exports.pushWarning=m.pushWarning;exports.AutocompleteOption=Yt;exports.BaseCheckbox=ac;exports.CheckedIcon=Kn;exports.MultiProvider=fc;exports.NoData=mo;exports.NotFoundPage=So;exports.NotificationBase=Xn;exports.PageNotFound=hc;exports.PopUpBase=bo;exports.StyledAutocomplete=tc;exports.StyledDateRangePicker=ic;exports.ToastConfig=eo;exports.ToastConfigNotification=to;exports.TopBar=fo;exports.UnauthorizedPage=wo;exports.UncheckedIcon=Gn;exports.usePopUp=_o;exports.useStyledAutocomplete=rc;