@ukpc-lib/react 0.3.4 → 0.3.5

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,9 +1,9 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),C=require("react"),g=require("../index.module-28c2f9be.cjs"),sn=require("../index-5840ed79.cjs"),K=require("moment"),Ue=require("axios");require("@r2wc/react-to-web-component");const M=require("@mui/material");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(C);function Jn({primaryColor:e="#009d4f"}){return s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:[s.jsx("path",{d:"M8.5 19.5H8C4 19.5 2 18.5 2 13.5V8.5C2 4.5 4 2.5 8 2.5H16C20 2.5 22 4.5 22 8.5V13.5C22 17.5 20 19.5 16 19.5H15.5C15.19 19.5 14.89 19.65 14.7 19.9L13.2 21.9C12.54 22.78 11.46 22.78 10.8 21.9L9.3 19.9C9.14 19.68 8.77 19.5 8.5 19.5Z",stroke:e,"stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}),s.jsx("path",{d:"M15.9965 11.5H16.0054",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),s.jsx("path",{d:"M11.9955 11.5H12.0045",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),s.jsx("path",{d:"M7.99451 11.5H8.00349",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]})}const Qn=e=>{const{tabs:t}=e,r=n=>{e.setCurrentTab(n.target.id)};return s.jsxs("div",{className:"tab-container",children:[s.jsx("div",{style:{display:"flex",width:"100%",height:"50px",borderBottom:`1px solid ${sn.color.grey200}`},className:"tab-container__title",children:t.map((n,o)=>s.jsx("button",{id:n.id,disabled:e.currentTab===`${n.id}`,onClick:r,className:`tab-title ${e.currentTab===`${n.id}`?"is-active":""}`,children:n.tabTitle},o))}),s.jsx("div",{className:"tab-content",children:t.map((n,o)=>s.jsx("div",{children:e.currentTab===`${n.id}`&&s.jsx("div",{children:n.children})},o))})]})},eo=e=>s.jsx(g.Q,{autoClose:3e3,hideProgressBar:!0,closeButton:!1,position:"bottom-left",newestOnTop:!0,pauseOnFocusLoss:!1,style:{fontFamily:"inherit"},...e}),to=e=>s.jsx(g.Q,{autoClose:3e3,hideProgressBar:!0,closeButton:!1,position:"bottom-left",newestOnTop:!0,pauseOnFocusLoss:!1,style:{fontFamily:"inherit",width:"610px"},containerId:"toastifyNotification",...e}),Zt=({baseUrl:e,notiPath:t,setNotiData:r})=>async()=>{const i=e+(t||"/notification-management/api/v1/notifications"),a=await Ue.get(i,{params:{filter:{notificationFilterType:"all"}},withCredentials:!0}),c=await Ue.get(i,{params:{filter:{notificationFilterType:"unread"}},withCredentials:!0});Promise.all([a,c]).then(d=>{var f,h,m,p;console.log("result: "+d),r({all:{rows:(f=d[0].data)==null?void 0:f.rows,total:(h=d[0].data)==null?void 0:h.total},unread:{rows:(m=d[1].data)==null?void 0:m.rows,total:(p=d[1].data)==null?void 0:p.total}})})},ro=({notification:e,baseUrl:t,notiPath:r,markAllAsReadState:n})=>{const[o,i]=C.useState({id:e.id,isRead:e.isRead}),a=o.isRead===!1?"unread":"read",{setNotiData:c}=C.useContext(g.CustomOpenList),d=Zt({baseUrl:t,notiPath:r,setNotiData:c}),f=async(p,x)=>{var v,l;try{const u=r||`/notification-management/api/v1/notifications/${p}`,b=t+u;await Ue.put(b,{isRead:x},{withCredentials:!0})}catch(u){i({id:e.id,isRead:e.isRead}),g.pushError(((l=(v=u.response)==null?void 0:v.data)==null?void 0:l.errorMessage)||"Have error when get notification list")}await d()},h=(p,x)=>{console.log("specificNotificationID",p);const v=!x;i(l=>({...l,isRead:v})),console.log("newIsReadState",v),f(p,v)};C.useEffect(()=>{i(n?p=>({...p,isRead:!0}):{id:e.id,isRead:e.isRead})},[n,e.id,e.isRead]);const m=p=>{const x=K(),v=K(p),l=x.diff(v,"days"),u=x.diff(v,"minutes"),b=x.diff(v,"months"),w=x.diff(v,"years");if(console.log("diffInMonths",b),u<1)return"Just now";if(l===0){if(u<=60)return`${u} minute${u>1?"s":""} ago`;const _=Math.floor(u/60);return console.log("diffIhours",_),`${_} hour${_>1?"s":""} ago`}if(l===1)return"Yesterday";if(l>=2&&l<7)return`${l} days ago`;if(l<30){const _=Math.floor(l/7);return`${_} week${_>1?"s":""} ago`}return b===0||b===1?"1 month ago":b<12?`${b} months ago`:w===0||w===1?"1 year ago":"Over 1 year ago"};return s.jsxs("div",{className:"notitification-item__container",onClick:()=>h(e.id,e.isRead),children:[s.jsx("div",{className:"notification-item__image-container",children:s.jsx("img",{src:e==null?void 0:e.userAvatarUrl,onError:({currentTarget:p})=>{p.onerror=null,p.src="https://ukpcsaprod.blob.core.windows.net/account/logo.png"},alt:e.userName})}),s.jsxs("div",{className:"notification-item__content",children:[s.jsx("p",{className:"notification-item__user-name",children:e.userName}),s.jsxs("p",{children:[`${e.message} `,s.jsx("span",{children:e==null?void 0:e.context})]})]}),s.jsx("div",{className:"notification-item__time",children:s.jsx("p",{children:m(e.createdAt)})}),s.jsx("button",{className:`${a} notification-item__read-at`,"aria-label":"Mark as read"})]})},gr=({notidata:e,baseUrl:t,notiPath:r})=>{const[n,o]=C.useState(!1);console.log(n);const{setNotiData:i}=C.useContext(g.CustomOpenList),a=Zt({baseUrl:t,notiPath:r,setNotiData:i}),c=async()=>{var f,h;try{const p=t+(r||"/notification-management/api/v1/notifications");await Ue.put(p,{withCredentials:!0})}catch(m){console.log(m),o(!1),g.pushError(((h=(f=m.response)==null?void 0:f.data)==null?void 0:h.errorMessage)||"Have error when get notification list")}await a(),o(!1)},d=()=>{o(!0),c()};return s.jsxs("div",{children:[s.jsx("div",{className:"mark-all-read",children:s.jsx("button",{onClick:d,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((f,h)=>s.jsx(ro,{notification:f,baseUrl:t,notiPath:r,markAllAsReadState:n},h))})})]})},no=({baseUrl:e,notiPath:t})=>{var c,d,f,h;const{setShowModalFalse:r}=C.useContext(g.CustomOpenList),{notidata:n}=C.useContext(g.CustomOpenList);console.log(n);const[o,i]=C.useState("all"),a=[{id:"all",tabTitle:`All (${((c=n==null?void 0:n.all)==null?void 0:c.total)||0})`,children:s.jsx(gr,{notidata:((d=n==null?void 0:n.all)==null?void 0:d.rows)||[],baseUrl:e,notiPath:t})},{id:"unread",tabTitle:`Unread (${((f=n==null?void 0:n.unread)==null?void 0:f.total)||0})`,children:s.jsx(gr,{notidata:((h=n==null?void 0:n.unread)==null?void 0:h.rows)||[],baseUrl:e,notiPath:t})}];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"},className:"list-title",children:"Notifications"}),s.jsx("button",{onClick:r,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:a,setCurrentTab:i,currentTab:o})]})})})};function Xt({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"),d=f=>{c==null||c.addEventListener("click",function(h){if(r&&a&&a.contains(h.target)){if(i&&!i.contains(h.target))return}else i&&!i.contains(h.target)&&t()}),n&&!n.contains(f.target)&&t()};document.addEventListener("click",d,!0)}function oo({primaryColor:e="#009d4f",baseUrl:t,notiPath:r}){var h,m;const{isOpen:n,toggleOpen:o,setShowModalFalse:i}=C.useContext(g.CustomOpenList),{notidata:a,setNotiData:c}=C.useContext(g.CustomOpenList),d=Zt({baseUrl:t,notiPath:r,setNotiData:c}),f=async()=>{var p,x;try{await d()}catch(v){g.pushError(((x=(p=v.response)==null?void 0:p.data)==null?void 0:x.errorMessage)||"Have error when get notification list")}};return C.useEffect(()=>{f()},[n]),C.useEffect(()=>{Xt({childrenClass:"noti-container",childrenOpenClass:"noti-list-container",action(){i()}})}),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:o,style:{cursor:"pointer"},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:e,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:e,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(a==null?void 0:a.unread)&&(a==null?void 0:a.unread.total)!=0&&s.jsx("span",{style:{position:"absolute",top:"-9px",right:"-6px",background:`${sn.color.dangerDark}`,width:"20px",height:"20px",border:"1px solid #fff",borderRadius:"50%",color:"#fff",fontSize:"12px",display:"flex",alignItems:"center",justifyContent:"center"},className:"notification-badge",children:((h=a==null?void 0:a.unread)==null?void 0:h.total)>9?"9+":`${(m=a==null?void 0:a.unread)==null?void 0:m.total}`})]}),s.jsx("div",{className:"noti-list-container",children:!n&&s.jsx(no,{baseUrl:t,notiPath:r})})]})}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;cursor:pointer;-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}
2
- `,ao=`.tab-title{min-width:90px;padding:5px 16px;font-size:14px;font-weight:500;color:#c5c5c5;transition:all .3s ease-in-out;position:relative}.tab-title.is-active{color:#2e7d32}.tab-title.is-active:before{transition:all .3s ease-in-out;position:absolute;content:"";width:100%;height:100%;top:0;left:0;border-bottom:2px solid #2E7D32}.tab-content{padding:16px 0}
3
- `,so=`: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;align-items:center;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:40px;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__context-link{color:#007bff}.notification-item__content{width:60%;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}
4
- `,lo=`._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}
5
- `,co=`._subscription-diaglog_1gvmm_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_1gvmm_15{width:610px;height:222px;border-radius:8px;padding:32px 24px 40px;background:#fff;color:#292929}._subscription-title_1gvmm_25{font-size:20px;font-weight:500;text-align:center;color:#292929}._subscription-title_1gvmm_25,._subscription-text_1gvmm_34{margin-bottom:24px}._subscription-btn__container_1gvmm_38{display:flex;justify-content:space-between;align-items:center}._btn-success_1gvmm_44,._btn-cancel_1gvmm_45{width:150px;height:40px;display:flex;align-items:center;justify-content:center;padding:8px;color:#292929;border-radius:1px}._btn-cancel_1gvmm_45{background-color:#ddd}._btn-success_1gvmm_44{background-color:#93d500}
6
- `;function uo(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 fo(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 ho({logo:e,user:t,baseUrl:r,notiPath:n,style:o,classNames:i="",customColors:a,notiprops:c}){const d=e||"/public/assets/icons/logo-header.png",f={...o,color:(a==null?void 0:a.color)||"black",backgroundColor:(a==null?void 0:a.bgColor)||"black"},[h,m]=C.useState(!1),p=()=>{window.location.href=`${r}/authentication/logout?callbackUrl=${window.location.href}`};return s.jsxs(g.ShadowDomWrapper,{styles:[io,ao,so,lo,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(g.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(oo,{primaryColor:a==null?void 0:a.primaryColor,baseUrl:r,notiPath:n})]})}),s.jsx("span",{className:"cursor-pointer",children:s.jsx(Jn,{primaryColor:a==null?void 0:a.primaryColor})}),s.jsx(po,{primaryColor:a==null?void 0:a.primaryColor}),s.jsxs("div",{className:"userContainer",children:[s.jsx(mo,{primaryColor:a==null?void 0:a.primaryColor,avatarUrl:t==null?void 0:t.avatarUrl,userName:t==null?void 0:t.firstName,setShowConfirmModal:m}),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(g.LogoutConfirmModal,{isOpen:h,onClose:()=>m(!1),onConfirm:p})]})}function po({primaryColor:e="#009d4f"}){var m;const t=[{value:g.Language.en,element:s.jsx(uo,{})},{value:g.Language.de,element:s.jsx(fo,{})}],[r,n]=C.useState(!1),[o,i]=C.useState(new Array(t.length).fill(!1)),a={width:"100px",padding:"8px",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"background-color 0.2s ease-in-out"},{language:c,setLanguage:d}=g.useCustomTranslation();C.useEffect(()=>{Xt({childrenClass:"languageDropdown",action(){n(!1)}})},[]);const f=p=>{i(x=>x.map((v,l)=>l===p))},h=p=>{i(x=>x.map((v,l)=>!1))};return s.jsxs("div",{className:"languageDropdownContainer",style:{position:"relative"},children:[s.jsxs("div",{className:"languageDropdown",onClick:()=>{n(!r)},children:[(m=t.find(p=>p.value==c))==null?void 0:m.element,s.jsx("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M4.42724 7.92678L7.82372 11.3232C7.92135 11.4209 8.07964 11.4209 8.17727 11.3232L11.5737 7.92678C11.7312 7.76928 11.6197 7.5 11.3969 7.5H4.60402C4.38129 7.5 4.26975 7.76929 4.42724 7.92678Z",fill:"#85858A"})})]}),s.jsx("div",{className:"dropdownListLanguage",style:{display:r?"block":"none",position:"absolute",top:"53px",right:"0px",padding:"8px",boxShadow:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",backgroundColor:"#fafafa"},children:t.filter(p=>p.value!==c).map((p,x)=>s.jsx("div",{className:"languageItem",style:{...a,backgroundColor:o[x]?e:"transparent"},onMouseEnter:()=>f(x),onMouseLeave:()=>h(x),onClick:()=>{d(p.value),localStorage.setItem("language",p.value),g.instance.changeLanguage(p.value),n(!1),h(x)},children:p.element}))})]})}function mo({avatarUrl:e,userName:t,setShowConfirmModal:r,primaryColor:n="#919eab14"}){const[o,i]=C.useState(!1),a=C.useRef(null),c=C.useRef(null),[d,f]=C.useState(!1),[h,m]=C.useState(!1),p={backgroundColor:d?n:"transparent"},x={backgroundColor:h?"#919eab14":"transparent"};return C.useEffect(()=>{Xt({childrenClass:"userAvatar",action(){i(!1)}})},[]),s.jsx(s.Fragment,{children:s.jsxs("div",{style:{position:"relative"},children:[e?s.jsx("img",{onClick:()=>i(!o),ref:a,alt:"user avatar",className:"userAvatar",src:e}):s.jsx("div",{onClick:()=>i(!o),ref:a,className:"userAvatar",id:"userAvatarNull",children:(t==null?void 0:t.charAt(0))??""}),s.jsx("div",{style:{display:o?"block":"none"},className:"avartarDropdownMenu",ref:c,children:s.jsxs("ul",{children:[s.jsx("li",{onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),style:x,className:"avatar-dropdown-item",children:"Profile"}),s.jsx("li",{onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),style:p,onClick:()=>r(!0),className:"avatar-dropdown-item",children:"Logout"})]})})]})})}const go=({children:e})=>s.jsxs(M.Stack,{justifyContent:"center",alignItems:"center",sx:{backgroundColor:"#FAFAFA",minHeight:"450px"},children:[s.jsx(yo,{}),e]});function yo(){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 vo=typeof g.commonjsGlobal=="object"&&g.commonjsGlobal&&g.commonjsGlobal.Object===Object&&g.commonjsGlobal,xo=typeof self=="object"&&self&&self.Object===Object&&self;vo||xo||Function("return this")();function bo(e){const[t,r]=C.useState(!!e),n=C.useCallback(()=>{r(!0)},[]),o=C.useCallback(()=>{r(!1)},[]),i=C.useCallback(()=>{r(a=>!a)},[]);return{value:t,setValue:r,setTrue:n,setFalse:o,toggle:i}}function _o(e){var t;return s.jsxs(M.Dialog,{...e.dialogProps,open:e.open,children:[!e.hideTitle&&s.jsxs(M.DialogTitle,{component:M.Stack,sx:{...e.titleProps,textAlign:"center"},children:[typeof e.title=="string"?s.jsx(M.Typography,{variant:"h4",children:e.title}):e.title,typeof e.subTitle=="string"?s.jsx(M.Typography,{color:"success.main",variant:"body1",...e.subTitleProps,children:e.subTitle}):e.subTitle]}),s.jsx(M.DialogContent,{sx:{...e.contentProps,overflowY:e.fixOverflow?"unset":void 0},children:e.desc}),!(e.hideClose&&e.hideConfirm)&&s.jsx(M.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(M.Button,{color:"error",onClick:e.onClose,children:"Close"}),!e.hideConfirm&&s.jsx(M.Button,{color:"primary",onClick:e.onConfirm,children:"Submit"})]})})]})}function wo(e){const t=bo(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}}const So=()=>{const{t:e}=g.useTranslation();return s.jsx("div",{className:"unauth__container "+g.styles["page-container"],children:s.jsxs("div",{className:"unauth__main-content "+g.styles["page-main-content"],children:[s.jsx(Eo,{}),s.jsxs("div",{className:"unauth__main-text",children:[s.jsx("h2",{className:"unauth__main-text__title "+g.styles["page-title"],children:e("components.unauthorizedPage.title")}),s.jsxs("p",{className:"unauth__main-text__desc "+g.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 ln(e){if(!he(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=ln(e[r])}),t}function le(e,t,r={clone:!0}){const n=r.clone?g._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])?ln(t[o]):t[o]:n[o]=t[o])}),n}const Co=Object.freeze(Object.defineProperty({__proto__:null,default:le,isPlainObject:he},Symbol.toStringTag,{value:"Module"}));function qe(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:qe},Symbol.toStringTag,{value:"Module"}));var Ht={exports:{}},P={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),C=require("react"),g=require("../index.module-ad52e7aa.cjs"),K=require("moment"),Ue=require("axios");require("@r2wc/react-to-web-component");const M=require("@mui/material");require("react-router-dom");function Zn(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=Zn(C);function Xn({primaryColor:e="#009d4f"}){return s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:[s.jsx("path",{d:"M8.5 19.5H8C4 19.5 2 18.5 2 13.5V8.5C2 4.5 4 2.5 8 2.5H16C20 2.5 22 4.5 22 8.5V13.5C22 17.5 20 19.5 16 19.5H15.5C15.19 19.5 14.89 19.65 14.7 19.9L13.2 21.9C12.54 22.78 11.46 22.78 10.8 21.9L9.3 19.9C9.14 19.68 8.77 19.5 8.5 19.5Z",stroke:e,"stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}),s.jsx("path",{d:"M15.9965 11.5H16.0054",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),s.jsx("path",{d:"M11.9955 11.5H12.0045",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),s.jsx("path",{d:"M7.99451 11.5H8.00349",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]})}const Jn=e=>{const{tabs:t}=e,r=n=>{e.setCurrentTab(n.target.id)};return s.jsxs("div",{className:"tab-container",children:[s.jsx("div",{style:{display:"flex",width:"100%",height:"50px",borderBottom:`1px solid ${g.color.grey200}`},className:"tab-container__title",children:t.map((n,o)=>s.jsx("button",{id:n.id,disabled:e.currentTab===`${n.id}`,onClick:r,className:`tab-title ${e.currentTab===`${n.id}`?"is-active":""}`,children:n.tabTitle},o))}),s.jsx("div",{className:"tab-content",children:t.map((n,o)=>s.jsx("div",{children:e.currentTab===`${n.id}`&&s.jsx("div",{children:n.children})},o))})]})},Qn=e=>s.jsx(g.Q,{autoClose:3e3,hideProgressBar:!0,closeButton:!1,position:"bottom-left",newestOnTop:!0,pauseOnFocusLoss:!1,style:{fontFamily:"inherit"},...e}),eo=e=>s.jsx(g.Q,{autoClose:3e3,hideProgressBar:!0,closeButton:!1,position:"bottom-left",newestOnTop:!0,pauseOnFocusLoss:!1,style:{fontFamily:"inherit",width:"610px"},containerId:"toastifyNotification",...e}),Zt=({baseUrl:e,notiPath:t,setNotiData:r})=>async()=>{const i=e+(t||"/notification-management/api/v1/notifications"),a=await Ue.get(i,{params:{filter:{notificationFilterType:"all"}},withCredentials:!0}),c=await Ue.get(i,{params:{filter:{notificationFilterType:"unread"}},withCredentials:!0});Promise.all([a,c]).then(d=>{var f,h,m,p;console.log("result: "+d),r({all:{rows:(f=d[0].data)==null?void 0:f.rows,total:(h=d[0].data)==null?void 0:h.total},unread:{rows:(m=d[1].data)==null?void 0:m.rows,total:(p=d[1].data)==null?void 0:p.total}})})},to=({notification:e,baseUrl:t,notiPath:r,markAllAsReadState:n})=>{const[o,i]=C.useState({id:e.id,isRead:e.isRead}),a=o.isRead===!1?"unread":"read",{setNotiData:c}=C.useContext(g.CustomOpenList),d=Zt({baseUrl:t,notiPath:r,setNotiData:c}),f=async(p,x)=>{var v,l;try{const u=r||`/notification-management/api/v1/notifications/${p}`,b=t+u;await Ue.put(b,{isRead:x},{withCredentials:!0})}catch(u){i({id:e.id,isRead:e.isRead}),g.pushError(((l=(v=u.response)==null?void 0:v.data)==null?void 0:l.errorMessage)||"Have error when get notification list")}await d()},h=(p,x)=>{console.log("specificNotificationID",p);const v=!x;i(l=>({...l,isRead:v})),console.log("newIsReadState",v),f(p,v)};C.useEffect(()=>{i(n?p=>({...p,isRead:!0}):{id:e.id,isRead:e.isRead})},[n,e.id,e.isRead]);const m=p=>{const x=K(),v=K(p),l=x.diff(v,"days"),u=x.diff(v,"minutes"),b=x.diff(v,"months"),w=x.diff(v,"years");if(console.log("diffInMonths",b),u<1)return"Just now";if(l===0){if(u<=60)return`${u} minute${u>1?"s":""} ago`;const _=Math.floor(u/60);return console.log("diffIhours",_),`${_} hour${_>1?"s":""} ago`}if(l===1)return"Yesterday";if(l>=2&&l<7)return`${l} days ago`;if(l<30){const _=Math.floor(l/7);return`${_} week${_>1?"s":""} ago`}return b===0||b===1?"1 month ago":b<12?`${b} months ago`:w===0||w===1?"1 year ago":"Over 1 year ago"};return s.jsxs("div",{className:"notitification-item__container",onClick:()=>h(e.id,e.isRead),children:[s.jsx("div",{className:"notification-item__image-container",children:s.jsx("img",{src:e==null?void 0:e.userAvatarUrl,onError:({currentTarget:p})=>{p.onerror=null,p.src="https://ukpcsaprod.blob.core.windows.net/account/logo.png"},alt:e.userName})}),s.jsxs("div",{className:"notification-item__content",children:[s.jsx("p",{className:"notification-item__user-name",children:e.userName}),s.jsxs("p",{children:[`${e.message} `,s.jsx("span",{children:e==null?void 0:e.context})]})]}),s.jsx("div",{className:"notification-item__time",children:s.jsx("p",{children:m(e.createdAt)})}),s.jsx("button",{className:`${a} notification-item__read-at`,"aria-label":"Mark as read"})]})},gr=({notidata:e,baseUrl:t,notiPath:r})=>{const[n,o]=C.useState(!1);console.log(n);const{setNotiData:i}=C.useContext(g.CustomOpenList),a=Zt({baseUrl:t,notiPath:r,setNotiData:i}),c=async()=>{var f,h;try{const p=t+(r||"/notification-management/api/v1/notifications");await Ue.put(p,{withCredentials:!0})}catch(m){console.log(m),o(!1),g.pushError(((h=(f=m.response)==null?void 0:f.data)==null?void 0:h.errorMessage)||"Have error when get notification list")}await a(),o(!1)},d=()=>{o(!0),c()};return s.jsxs("div",{children:[s.jsx("div",{className:"mark-all-read",children:s.jsx("button",{onClick:d,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((f,h)=>s.jsx(to,{notification:f,baseUrl:t,notiPath:r,markAllAsReadState:n},h))})})]})},ro=({baseUrl:e,notiPath:t})=>{var c,d,f,h;const{setShowModalFalse:r}=C.useContext(g.CustomOpenList),{notidata:n}=C.useContext(g.CustomOpenList);console.log(n);const[o,i]=C.useState("all"),a=[{id:"all",tabTitle:`All (${((c=n==null?void 0:n.all)==null?void 0:c.total)||0})`,children:s.jsx(gr,{notidata:((d=n==null?void 0:n.all)==null?void 0:d.rows)||[],baseUrl:e,notiPath:t})},{id:"unread",tabTitle:`Unread (${((f=n==null?void 0:n.unread)==null?void 0:f.total)||0})`,children:s.jsx(gr,{notidata:((h=n==null?void 0:n.unread)==null?void 0:h.rows)||[],baseUrl:e,notiPath:t})}];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"},className:"list-title",children:"Notifications"}),s.jsx("button",{onClick:r,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:a,setCurrentTab:i,currentTab:o})]})})})};function Xt({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"),d=f=>{c==null||c.addEventListener("click",function(h){if(r&&a&&a.contains(h.target)){if(i&&!i.contains(h.target))return}else i&&!i.contains(h.target)&&t()}),n&&!n.contains(f.target)&&t()};document.addEventListener("click",d,!0)}function no({primaryColor:e="#009d4f",baseUrl:t,notiPath:r}){var h,m;const{isOpen:n,toggleOpen:o,setShowModalFalse:i}=C.useContext(g.CustomOpenList),{notidata:a,setNotiData:c}=C.useContext(g.CustomOpenList),d=Zt({baseUrl:t,notiPath:r,setNotiData:c}),f=async()=>{var p,x;try{await d()}catch(v){g.pushError(((x=(p=v.response)==null?void 0:p.data)==null?void 0:x.errorMessage)||"Have error when get notification list")}};return C.useEffect(()=>{f()},[n]),C.useEffect(()=>{Xt({childrenClass:"noti-container",childrenOpenClass:"noti-list-container",action(){i()}})}),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:o,style:{cursor:"pointer"},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:e,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:e,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(a==null?void 0:a.unread)&&(a==null?void 0:a.unread.total)!=0&&s.jsx("span",{style:{position:"absolute",top:"-9px",right:"-6px",background:`${g.color.dangerDark}`,width:"20px",height:"20px",border:"1px solid #fff",borderRadius:"50%",color:"#fff",fontSize:"12px",display:"flex",alignItems:"center",justifyContent:"center"},className:"notification-badge",children:((h=a==null?void 0:a.unread)==null?void 0:h.total)>9?"9+":`${(m=a==null?void 0:a.unread)==null?void 0:m.total}`})]}),s.jsx("div",{className:"noti-list-container",children:!n&&s.jsx(ro,{baseUrl:t,notiPath:r})})]})}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;cursor:pointer;-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}
2
+ `,io=`.tab-title{min-width:90px;padding:5px 16px;font-size:14px;font-weight:500;color:#c5c5c5;transition:all .3s ease-in-out;position:relative}.tab-title.is-active{color:#2e7d32}.tab-title.is-active:before{transition:all .3s ease-in-out;position:absolute;content:"";width:100%;height:100%;top:0;left:0;border-bottom:2px solid #2E7D32}.tab-content{padding:16px 0}
3
+ `,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;align-items:center;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:40px;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__context-link{color:#007bff}.notification-item__content{width:60%;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}
4
+ `,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}
5
+ `,lo=`._subscription-diaglog_1gvmm_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_1gvmm_15{width:610px;height:222px;border-radius:8px;padding:32px 24px 40px;background:#fff;color:#292929}._subscription-title_1gvmm_25{font-size:20px;font-weight:500;text-align:center;color:#292929}._subscription-title_1gvmm_25,._subscription-text_1gvmm_34{margin-bottom:24px}._subscription-btn__container_1gvmm_38{display:flex;justify-content:space-between;align-items:center}._btn-success_1gvmm_44,._btn-cancel_1gvmm_45{width:150px;height:40px;display:flex;align-items:center;justify-content:center;padding:8px;color:#292929;border-radius:1px}._btn-cancel_1gvmm_45{background-color:#ddd}._btn-success_1gvmm_44{background-color:#93d500}
6
+ `;function co(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:c}){const d=e||"/public/assets/icons/logo-header.png",f={...o,color:(a==null?void 0:a.color)||"black",backgroundColor:(a==null?void 0:a.bgColor)||"black"},[h,m]=C.useState(!1),p=()=>{window.location.href=`${r}/authentication/logout?callbackUrl=${window.location.href}`};return s.jsxs(g.ShadowDomWrapper,{styles:[oo,io,ao,so,lo],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(g.CustomOpenListProvider,{children:[s.jsx(Kn,{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,{primaryColor:a==null?void 0:a.primaryColor,baseUrl:r,notiPath:n})]})}),s.jsx("span",{className:"cursor-pointer",children:s.jsx(Xn,{primaryColor:a==null?void 0:a.primaryColor})}),s.jsx(ho,{primaryColor:a==null?void 0:a.primaryColor}),s.jsxs("div",{className:"userContainer",children:[s.jsx(po,{primaryColor:a==null?void 0:a.primaryColor,avatarUrl:t==null?void 0:t.avatarUrl,userName:t==null?void 0:t.firstName,setShowConfirmModal:m}),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(g.LogoutConfirmModal,{isOpen:h,onClose:()=>m(!1),onConfirm:p})]})}function ho({primaryColor:e="#009d4f"}){var m;const t=[{value:g.Language.en,element:s.jsx(co,{})},{value:g.Language.de,element:s.jsx(uo,{})}],[r,n]=C.useState(!1),[o,i]=C.useState(new Array(t.length).fill(!1)),a={width:"100px",padding:"8px",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"background-color 0.2s ease-in-out"},{language:c,setLanguage:d}=g.useCustomTranslation();C.useEffect(()=>{Xt({childrenClass:"languageDropdown",action(){n(!1)}})},[]);const f=p=>{i(x=>x.map((v,l)=>l===p))},h=p=>{i(x=>x.map((v,l)=>!1))};return s.jsxs("div",{className:"languageDropdownContainer",style:{position:"relative"},children:[s.jsxs("div",{className:"languageDropdown",onClick:()=>{n(!r)},children:[(m=t.find(p=>p.value==c))==null?void 0:m.element,s.jsx("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M4.42724 7.92678L7.82372 11.3232C7.92135 11.4209 8.07964 11.4209 8.17727 11.3232L11.5737 7.92678C11.7312 7.76928 11.6197 7.5 11.3969 7.5H4.60402C4.38129 7.5 4.26975 7.76929 4.42724 7.92678Z",fill:"#85858A"})})]}),s.jsx("div",{className:"dropdownListLanguage",style:{display:r?"block":"none",position:"absolute",top:"53px",right:"0px",padding:"8px",boxShadow:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",backgroundColor:"#fafafa"},children:t.filter(p=>p.value!==c).map((p,x)=>s.jsx("div",{className:"languageItem",style:{...a,backgroundColor:o[x]?e:"transparent"},onMouseEnter:()=>f(x),onMouseLeave:()=>h(x),onClick:()=>{d(p.value),localStorage.setItem("language",p.value),g.instance.changeLanguage(p.value),n(!1),h(x)},children:p.element}))})]})}function po({avatarUrl:e,userName:t,setShowConfirmModal:r,primaryColor:n="#919eab14"}){const[o,i]=C.useState(!1),a=C.useRef(null),c=C.useRef(null),[d,f]=C.useState(!1),[h,m]=C.useState(!1),p={backgroundColor:d?n:"transparent"},x={backgroundColor:h?"#919eab14":"transparent"};return C.useEffect(()=>{Xt({childrenClass:"userAvatar",action(){i(!1)}})},[]),s.jsx(s.Fragment,{children:s.jsxs("div",{style:{position:"relative"},children:[e?s.jsx("img",{onClick:()=>i(!o),ref:a,alt:"user avatar",className:"userAvatar",src:e}):s.jsx("div",{onClick:()=>i(!o),ref:a,className:"userAvatar",id:"userAvatarNull",children:(t==null?void 0:t.charAt(0))??""}),s.jsx("div",{style:{display:o?"block":"none"},className:"avartarDropdownMenu",ref:c,children:s.jsxs("ul",{children:[s.jsx("li",{onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),style:x,className:"avatar-dropdown-item",children:"Profile"}),s.jsx("li",{onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),style:p,onClick:()=>r(!0),className:"avatar-dropdown-item",children:"Logout"})]})})]})})}const mo=({children:e})=>s.jsxs(M.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 g.commonjsGlobal=="object"&&g.commonjsGlobal&&g.commonjsGlobal.Object===Object&&g.commonjsGlobal,vo=typeof self=="object"&&self&&self.Object===Object&&self;yo||vo||Function("return this")();function xo(e){const[t,r]=C.useState(!!e),n=C.useCallback(()=>{r(!0)},[]),o=C.useCallback(()=>{r(!1)},[]),i=C.useCallback(()=>{r(a=>!a)},[]);return{value:t,setValue:r,setTrue:n,setFalse:o,toggle:i}}function bo(e){var t;return s.jsxs(M.Dialog,{...e.dialogProps,open:e.open,children:[!e.hideTitle&&s.jsxs(M.DialogTitle,{component:M.Stack,sx:{...e.titleProps,textAlign:"center"},children:[typeof e.title=="string"?s.jsx(M.Typography,{variant:"h4",children:e.title}):e.title,typeof e.subTitle=="string"?s.jsx(M.Typography,{color:"success.main",variant:"body1",...e.subTitleProps,children:e.subTitle}):e.subTitle]}),s.jsx(M.DialogContent,{sx:{...e.contentProps,overflowY:e.fixOverflow?"unset":void 0},children:e.desc}),!(e.hideClose&&e.hideConfirm)&&s.jsx(M.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(M.Button,{color:"error",onClick:e.onClose,children:"Close"}),!e.hideConfirm&&s.jsx(M.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}}const wo=()=>{const{t:e}=g.useTranslation();return s.jsx("div",{className:"unauth__container "+g.styles["page-container"],children:s.jsxs("div",{className:"unauth__main-content "+g.styles["page-main-content"],children:[s.jsx(So,{}),s.jsxs("div",{className:"unauth__main-text",children:[s.jsx("h2",{className:"unauth__main-text__title "+g.styles["page-title"],children:e("components.unauthorizedPage.title")}),s.jsxs("p",{className:"unauth__main-text__desc "+g.styles["text-base"],children:[e("components.unauthorizedPage.description1")," ",s.jsx("br",{})," ",e("components.unauthorizedPage.description2")]})]})]})})},So=()=>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 le(e,t,r={clone:!0}){const n=r.clone?g._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])?sn(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 qe(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:qe},Symbol.toStringTag,{value:"Module"}));var Ht={exports:{}},P={};/**
7
7
  * @license React
8
8
  * react-is.production.min.js
9
9
  *
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * This source code is licensed under the MIT license found in the
13
13
  * LICENSE file in the root directory of this source tree.
14
- */var yr;function To(){if(yr)return P;yr=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"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),v;v=Symbol.for("react.module.reference");function l(u){if(typeof u=="object"&&u!==null){var b=u.$$typeof;switch(b){case e:switch(u=u.type,u){case r:case o:case n:case f:case h:return u;default:switch(u=u&&u.$$typeof,u){case c:case a:case d:case p:case m:case i:return u;default:return b}}case t:return b}}}return P.ContextConsumer=a,P.ContextProvider=i,P.Element=e,P.ForwardRef=d,P.Fragment=r,P.Lazy=p,P.Memo=m,P.Portal=t,P.Profiler=o,P.StrictMode=n,P.Suspense=f,P.SuspenseList=h,P.isAsyncMode=function(){return!1},P.isConcurrentMode=function(){return!1},P.isContextConsumer=function(u){return l(u)===a},P.isContextProvider=function(u){return l(u)===i},P.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===e},P.isForwardRef=function(u){return l(u)===d},P.isFragment=function(u){return l(u)===r},P.isLazy=function(u){return l(u)===p},P.isMemo=function(u){return l(u)===m},P.isPortal=function(u){return l(u)===t},P.isProfiler=function(u){return l(u)===o},P.isStrictMode=function(u){return l(u)===n},P.isSuspense=function(u){return l(u)===f},P.isSuspenseList=function(u){return l(u)===h},P.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===r||u===o||u===n||u===f||u===h||u===x||typeof u=="object"&&u!==null&&(u.$$typeof===p||u.$$typeof===m||u.$$typeof===i||u.$$typeof===a||u.$$typeof===d||u.$$typeof===v||u.getModuleId!==void 0)},P.typeOf=l,P}var A={};/**
14
+ */var yr;function jo(){if(yr)return P;yr=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"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),v;v=Symbol.for("react.module.reference");function l(u){if(typeof u=="object"&&u!==null){var b=u.$$typeof;switch(b){case e:switch(u=u.type,u){case r:case o:case n:case f:case h:return u;default:switch(u=u&&u.$$typeof,u){case c:case a:case d:case p:case m:case i:return u;default:return b}}case t:return b}}}return P.ContextConsumer=a,P.ContextProvider=i,P.Element=e,P.ForwardRef=d,P.Fragment=r,P.Lazy=p,P.Memo=m,P.Portal=t,P.Profiler=o,P.StrictMode=n,P.Suspense=f,P.SuspenseList=h,P.isAsyncMode=function(){return!1},P.isConcurrentMode=function(){return!1},P.isContextConsumer=function(u){return l(u)===a},P.isContextProvider=function(u){return l(u)===i},P.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===e},P.isForwardRef=function(u){return l(u)===d},P.isFragment=function(u){return l(u)===r},P.isLazy=function(u){return l(u)===p},P.isMemo=function(u){return l(u)===m},P.isPortal=function(u){return l(u)===t},P.isProfiler=function(u){return l(u)===o},P.isStrictMode=function(u){return l(u)===n},P.isSuspense=function(u){return l(u)===f},P.isSuspenseList=function(u){return l(u)===h},P.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===r||u===o||u===n||u===f||u===h||u===x||typeof u=="object"&&u!==null&&(u.$$typeof===p||u.$$typeof===m||u.$$typeof===i||u.$$typeof===a||u.$$typeof===d||u.$$typeof===v||u.getModuleId!==void 0)},P.typeOf=l,P}var A={};/**
15
15
  * @license React
16
16
  * react-is.development.js
17
17
  *
@@ -19,47 +19,47 @@
19
19
  *
20
20
  * This source code is licensed under the MIT license found in the
21
21
  * LICENSE file in the root directory of this source tree.
22
- */var vr;function Oo(){return vr||(vr=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"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),v=!1,l=!1,u=!1,b=!1,w=!1,_;_=Symbol.for("react.module.reference");function j(O){return!!(typeof O=="string"||typeof O=="function"||O===r||O===o||w||O===n||O===f||O===h||b||O===x||v||l||u||typeof O=="object"&&O!==null&&(O.$$typeof===p||O.$$typeof===m||O.$$typeof===i||O.$$typeof===a||O.$$typeof===d||O.$$typeof===_||O.getModuleId!==void 0))}function y(O){if(typeof O=="object"&&O!==null){var Ee=O.$$typeof;switch(Ee){case e:var rt=O.type;switch(rt){case r:case o:case n:case f:case h:return rt;default:var mr=rt&&rt.$$typeof;switch(mr){case c:case a:case d:case p:case m:case i:return mr;default:return Ee}}case t:return Ee}}}var S=a,E=i,$=e,I=d,B=r,z=p,W=m,G=t,ae=o,me=n,ge=f,be=h,ue=!1,_e=!1;function ye(O){return ue||(ue=!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 y(O)===a}function we(O){return y(O)===i}function de(O){return typeof O=="object"&&O!==null&&O.$$typeof===e}function Se(O){return y(O)===d}function $t(O){return y(O)===r}function It(O){return y(O)===p}function Pt(O){return y(O)===m}function At(O){return y(O)===t}function Rt(O){return y(O)===o}function Dt(O){return y(O)===n}function T(O){return y(O)===f}function Ve(O){return y(O)===h}A.ContextConsumer=S,A.ContextProvider=E,A.Element=$,A.ForwardRef=I,A.Fragment=B,A.Lazy=z,A.Memo=W,A.Portal=G,A.Profiler=ae,A.StrictMode=me,A.Suspense=ge,A.SuspenseList=be,A.isAsyncMode=ye,A.isConcurrentMode=Le,A.isContextConsumer=Fe,A.isContextProvider=we,A.isElement=de,A.isForwardRef=Se,A.isFragment=$t,A.isLazy=It,A.isMemo=Pt,A.isPortal=At,A.isProfiler=Rt,A.isStrictMode=Dt,A.isSuspense=T,A.isSuspenseList=Ve,A.isValidElementType=j,A.typeOf=y}()),A}process.env.NODE_ENV==="production"?Ht.exports=To():Ht.exports=Oo();var xr=Ht.exports;const No=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function cn(e){const t=`${e}`.match(No);return t&&t[1]||""}function un(e,t=""){return e.displayName||e.name||cn(e)||t}function br(e,t,r){const n=un(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 un(e,"Component");if(typeof e=="object")switch(e.$$typeof){case xr.ForwardRef:return br(e,e.render,"ForwardRef");case xr.Memo:return br(e,e.type,"memo");default:return}}}const Mo=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.":qe(7));return e.charAt(0).toUpperCase()+e.slice(1)}const $o=Object.freeze(Object.defineProperty({__proto__:null,default:ve},Symbol.toStringTag,{value:"Module"}));function dn(e,t){const r=g._extends({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=g._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]=g._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 c=t(a);c!==""&&i.push(c),r&&r[a]&&i.push(r[a])}return i},[]).join(" ")}),n}const _r=e=>e,Po=()=>{let e=_r;return{configure(t){e=t},generate(t){return e(t)},reset(){e=_r}}},Ao=Po(),Ro=Ao,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 Jt(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]=Jt(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 Ho=["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)=>g._extends({},r,{[n.key]:n.val}),{})};function fn(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=g._objectWithoutPropertiesLoose(e,Ho),i=Bo(t),a=Object.keys(i);function c(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r})`}function d(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-n/100}${r})`}function f(p,x){const v=a.indexOf(x);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r}) and (max-width:${(v!==-1&&typeof t[a[v]]=="number"?t[a[v]]:x)-n/100}${r})`}function h(p){return a.indexOf(p)+1<a.length?f(p,a[a.indexOf(p)+1]):c(p)}function m(p){const x=a.indexOf(p);return x===0?c(a[1]):x===a.length-1?d(a[x]):f(p,a[a.indexOf(p)+1]).replace("@media","@media not all and")}return g._extends({keys:a,values:i,up:c,down:d,between:f,only:h,not:m,unit:r},o)}const Wo={borderRadius:4},Uo=Wo,qo=process.env.NODE_ENV!=="production"?g.PropTypes.oneOfType([g.PropTypes.number,g.PropTypes.string,g.PropTypes.object,g.PropTypes.array]):{},pe=qo;function We(e,t){return t?le(e,t,{clone:!1}):e}const Qt={xs:0,sm:600,md:900,lg:1200,xl:1536},wr={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Qt[e]}px)`};function fe(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||wr;return t.reduce((a,c,d)=>(a[i.up(i.keys[d])]=r(t[d]),a),{})}if(typeof t=="object"){const i=n.breakpoints||wr;return Object.keys(t).reduce((a,c)=>{if(Object.keys(i.values||Qt).indexOf(c)!==-1){const d=i.up(c);a[d]=r(t[c],c)}else{const d=c;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 vt(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 ht(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=vt(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],d=a.theme,f=vt(d,n)||{};return fe(a,c,m=>{let p=ht(f,o,m);return m===p&&typeof m=="string"&&(p=ht(f,o,`${t}${m==="default"?"":ve(m)}`,m)),r===!1?p:{[r]:p}})};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]}),xt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],bt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Qo=[...xt,...bt];function Xe(e,t,r,n){var o;const i=(o=vt(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(`
22
+ */var vr;function To(){return vr||(vr=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"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),v=!1,l=!1,u=!1,b=!1,w=!1,_;_=Symbol.for("react.module.reference");function j(O){return!!(typeof O=="string"||typeof O=="function"||O===r||O===o||w||O===n||O===f||O===h||b||O===x||v||l||u||typeof O=="object"&&O!==null&&(O.$$typeof===p||O.$$typeof===m||O.$$typeof===i||O.$$typeof===a||O.$$typeof===d||O.$$typeof===_||O.getModuleId!==void 0))}function y(O){if(typeof O=="object"&&O!==null){var Ee=O.$$typeof;switch(Ee){case e:var rt=O.type;switch(rt){case r:case o:case n:case f:case h:return rt;default:var mr=rt&&rt.$$typeof;switch(mr){case c:case a:case d:case p:case m:case i:return mr;default:return Ee}}case t:return Ee}}}var S=a,E=i,$=e,I=d,B=r,z=p,W=m,G=t,ae=o,me=n,ge=f,be=h,ue=!1,_e=!1;function ye(O){return ue||(ue=!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 y(O)===a}function we(O){return y(O)===i}function de(O){return typeof O=="object"&&O!==null&&O.$$typeof===e}function Se(O){return y(O)===d}function $t(O){return y(O)===r}function It(O){return y(O)===p}function Pt(O){return y(O)===m}function At(O){return y(O)===t}function Rt(O){return y(O)===o}function Dt(O){return y(O)===n}function T(O){return y(O)===f}function Ve(O){return y(O)===h}A.ContextConsumer=S,A.ContextProvider=E,A.Element=$,A.ForwardRef=I,A.Fragment=B,A.Lazy=z,A.Memo=W,A.Portal=G,A.Profiler=ae,A.StrictMode=me,A.Suspense=ge,A.SuspenseList=be,A.isAsyncMode=ye,A.isConcurrentMode=Le,A.isContextConsumer=Fe,A.isContextProvider=we,A.isElement=de,A.isForwardRef=Se,A.isFragment=$t,A.isLazy=It,A.isMemo=Pt,A.isPortal=At,A.isProfiler=Rt,A.isStrictMode=Dt,A.isSuspense=T,A.isSuspenseList=Ve,A.isValidElementType=j,A.typeOf=y}()),A}process.env.NODE_ENV==="production"?Ht.exports=jo():Ht.exports=To();var xr=Ht.exports;const Oo=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function ln(e){const t=`${e}`.match(Oo);return t&&t[1]||""}function cn(e,t=""){return e.displayName||e.name||ln(e)||t}function br(e,t,r){const n=cn(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 cn(e,"Component");if(typeof e=="object")switch(e.$$typeof){case xr.ForwardRef:return br(e,e.render,"ForwardRef");case xr.Memo:return br(e,e.type,"memo");default:return}}}const ko=Object.freeze(Object.defineProperty({__proto__:null,default:No,getFunctionName:ln},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.":qe(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Mo=Object.freeze(Object.defineProperty({__proto__:null,default:ve},Symbol.toStringTag,{value:"Module"}));function un(e,t){const r=g._extends({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=g._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]=g._extends({},i),Object.keys(o).forEach(a=>{r[n][a]=un(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function $o(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 _r=e=>e,Io=()=>{let e=_r;return{configure(t){e=t},generate(t){return e(t)},reset(){e=_r}}},Po=Io(),Ao=Po,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 Jt(e,t,r="Mui"){const n=Ro[t];return n?`${r}-${n}`:`${Ao.generate(e)}-${t}`}function Do(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Jt(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:un(t.components[r].defaultProps,n)}const Vo=["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)=>g._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=g._objectWithoutPropertiesLoose(e,Vo),i=Ho(t),a=Object.keys(i);function c(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r})`}function d(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-n/100}${r})`}function f(p,x){const v=a.indexOf(x);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r}) and (max-width:${(v!==-1&&typeof t[a[v]]=="number"?t[a[v]]:x)-n/100}${r})`}function h(p){return a.indexOf(p)+1<a.length?f(p,a[a.indexOf(p)+1]):c(p)}function m(p){const x=a.indexOf(p);return x===0?c(a[1]):x===a.length-1?d(a[x]):f(p,a[a.indexOf(p)+1]).replace("@media","@media not all and")}return g._extends({keys:a,values:i,up:c,down:d,between:f,only:h,not:m,unit:r},o)}const Bo={borderRadius:4},Wo=Bo,Uo=process.env.NODE_ENV!=="production"?g.PropTypes.oneOfType([g.PropTypes.number,g.PropTypes.string,g.PropTypes.object,g.PropTypes.array]):{},pe=Uo;function We(e,t){return t?le(e,t,{clone:!1}):e}const Qt={xs:0,sm:600,md:900,lg:1200,xl:1536},wr={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Qt[e]}px)`};function fe(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||wr;return t.reduce((a,c,d)=>(a[i.up(i.keys[d])]=r(t[d]),a),{})}if(typeof t=="object"){const i=n.breakpoints||wr;return Object.keys(t).reduce((a,c)=>{if(Object.keys(i.values||Qt).indexOf(c)!==-1){const d=i.up(c);a[d]=r(t[c],c)}else{const d=c;a[d]=t[d]}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 vt(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 ht(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=vt(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],d=a.theme,f=vt(d,n)||{};return fe(a,c,m=>{let p=ht(f,o,m);return m===p&&typeof m=="string"&&(p=ht(f,o,`${t}${m==="default"?"":ve(m)}`,m)),r===!1?p:{[r]:p}})};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"]},Sr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Xo=Go(e=>{if(e.length>2)if(Sr[e])e=Sr[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]}),xt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],bt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Jo=[...xt,...bt];function Xe(e,t,r,n){var o;const i=(o=vt(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(`
23
23
  `)):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(`
24
24
  `))),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(`
25
- `)),()=>{})}function hn(e){return Xe(e,"spacing",8,"spacing")}function Je(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]=Je(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 pn(e,t){const r=hn(e.theme);return Object.keys(e).map(n=>ti(e,t,n,r)).reduce(We,{})}function V(e){return pn(e,xt)}V.propTypes=process.env.NODE_ENV!=="production"?xt.reduce((e,t)=>(e[t]=pe,e),{}):{};V.filterProps=xt;function H(e){return pn(e,bt)}H.propTypes=process.env.NODE_ENV!=="production"?bt.reduce((e,t)=>(e[t]=pe,e),{}):{};H.filterProps=bt;process.env.NODE_ENV!=="production"&&Qo.reduce((e,t)=>(e[t]=pe,e),{});function ri(e=8){if(e.mui)return e;const t=hn({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 _t(...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),li=oe("borderColor"),ci=oe("borderTopColor"),ui=oe("borderRightColor"),di=oe("borderBottomColor"),fi=oe("borderLeftColor"),hi=oe("outline",re),pi=oe("outlineColor"),wt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Xe(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Je(t,n)});return fe(e,e.borderRadius,r)}return null};wt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:pe}:{};wt.filterProps=["borderRadius"];_t(ni,oi,ii,ai,si,li,ci,ui,di,fi,wt,hi,pi);const St=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Xe(e.theme,"spacing",8,"gap"),r=n=>({gap:Je(t,n)});return fe(e,e.gap,r)}return null};St.propTypes=process.env.NODE_ENV!=="production"?{gap:pe}:{};St.filterProps=["gap"];const Et=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Xe(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Je(t,n)});return fe(e,e.columnGap,r)}return null};Et.propTypes=process.env.NODE_ENV!=="production"?{columnGap:pe}:{};Et.filterProps=["columnGap"];const Ct=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Xe(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Je(t,n)});return fe(e,e.rowGap,r)}return null};Ct.propTypes=process.env.NODE_ENV!=="production"?{rowGap:pe}:{};Ct.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"}),wi=U({prop:"gridTemplateRows"}),Si=U({prop:"gridTemplateAreas"}),Ei=U({prop:"gridArea"});_t(St,Et,Ct,mi,gi,yi,xi,bi,_i,wi,Si,Ei);function $e(e,t){return t==="grey"?t:e}const Ci=U({prop:"color",themeKey:"palette",transform:$e}),ji=U({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:$e}),Ti=U({prop:"backgroundColor",themeKey:"palette",transform:$e});_t(Ci,ji,Ti);function Q(e){return e<=1&&e!==0?`${e*100}%`:e}const Oi=U({prop:"width",transform:Q}),er=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])||Qt[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};er.filterProps=["maxWidth"];const Ni=U({prop:"minWidth",transform:Q}),ki=U({prop:"height",transform:Q}),Mi=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 Ii=U({prop:"boxSizing"});_t(Oi,er,Ni,ki,Mi,$i,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:wt},color:{themeKey:"palette",transform:$e},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:$e},backgroundColor:{themeKey:"palette",transform:$e},p:{style:H},pt:{style:H},pr:{style:H},pb:{style:H},pl:{style:H},px:{style:H},py:{style:H},padding:{style:H},paddingTop:{style:H},paddingRight:{style:H},paddingBottom:{style:H},paddingLeft:{style:H},paddingX:{style:H},paddingY:{style:H},paddingInline:{style:H},paddingInlineStart:{style:H},paddingInlineEnd:{style:H},paddingBlock:{style:H},paddingBlockStart:{style:H},paddingBlockEnd:{style:H},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:St},rowGap:{style:Ct},columnGap:{style:Et},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:er},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"}},Qe=Pi;function Ai(...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 mn(){function e(r,n,o,i){const a={[r]:n,theme:o},c=i[r];if(!c)return{[r]:n};const{cssProperty:d=r,themeKey:f,transform:h,style:m}=c;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[r]:n};const p=vt(o,f)||{};return m?m(a):fe(a,n,v=>{let l=ht(p,h,v);return v===l&&typeof v=="string"&&(l=ht(p,h,`${r}${v==="default"?"":ve(v)}`,v)),d===!1?l:{[d]:l}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:Qe;function c(d){let f=d;if(typeof d=="function")f=d(i);else if(typeof d!="object")return d;if(!f)return null;const h=Yo(i.breakpoints),m=Object.keys(h);let p=h;return Object.keys(f).forEach(x=>{const v=Ri(f[x],i);if(v!=null)if(typeof v=="object")if(a[x])p=We(p,e(x,v,i,a));else{const l=fe({theme:i},v,u=>({[x]:u}));Ai(l,v)?p[x]=t({sx:v,theme:i}):p=We(p,l)}else p=We(p,e(x,v,i,a))}),Go(m,p)}return Array.isArray(o)?o.map(c):c(o)}return t}const gn=mn();gn.filterProps=["sx"];const tr=gn;function yn(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 rr(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=g._objectWithoutPropertiesLoose(e,Di),c=fn(r),d=ri(o);let f=le({breakpoints:c,direction:"ltr",components:{},palette:g._extends({mode:"light"},n),spacing:d,shape:g._extends({},Uo,i)},a);return f.applyStyles=yn,f=t.reduce((h,m)=>le(h,m),f),f.unstable_sxConfig=g._extends({},Qe,a==null?void 0:a.unstable_sxConfig),f.unstable_sx=function(m){return tr({sx:m,theme:this})},f}const zi=Object.freeze(Object.defineProperty({__proto__:null,default:rr,private_createBreakpoints:fn,unstable_applyStyles:yn},Symbol.toStringTag,{value:"Module"}));function vn(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=vn(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 Hi(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(Hi(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:
26
- `+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(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-",pt="-moz-",N="-webkit-",nr="comm",or="rule",ir="decl",Wi="@import",xn="@keyframes",Ui="@layer",qi=Math.abs,jt=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 bn(e){return e.trim()}function Ki(e,t){return(e=t.exec(e))?e[0]:e}function k(e,t,r){return e.replace(t,r)}function Bt(e,t){return e.indexOf(t)}function Z(e,t){return e.charCodeAt(t)|0}function Ye(e,t,r){return e.slice(t,r)}function se(e){return e.length}function ar(e){return e.length}function nt(e,t){return t.push(e),e}function Zi(e,t){return e.map(t).join("")}var Tt=1,Pe=1,_n=0,J=0,Y=0,Re="";function Ot(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Tt,column:Pe,length:a,return:""}}function He(e,t){return Yi(Ot("",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,Tt--),Y}function ee(){return Y=J<_n?Z(Re,J++):0,Pe++,Y===10&&(Pe=1,Tt++),Y}function ce(){return Z(Re,J)}function it(){return J}function et(e,t){return Ye(Re,e,t)}function Ge(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 wn(e){return Tt=Pe=1,_n=se(Re=e),J=0,[]}function Sn(e){return Re="",e}function at(e){return bn(et(J-1,Wt(e===91?e+2:e===40?e+1:e)))}function Qi(e){for(;(Y=ce())&&Y<33;)ee();return Ge(e)>2||Ge(Y)>3?"":" "}function ea(e,t){for(;--t&&ee()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return et(e,it()+(t<6&&ce()==32&&ee()==32))}function Wt(e){for(;ee();)switch(Y){case e:return J;case 34:case 39:e!==34&&e!==39&&Wt(Y);break;case 40:e===41&&Wt(e);break;case 92:ee();break}return J}function ta(e,t){for(;ee()&&e+Y!==47+10;)if(e+Y===42+42&&ce()===47)break;return"/*"+et(t,J-1)+"*"+jt(e===47?e:ee())}function ra(e){for(;!Ge(ce());)ee();return et(e,J)}function na(e){return Sn(st("",null,null,null,[""],e=wn(e),0,[0],e))}function st(e,t,r,n,o,i,a,c,d){for(var f=0,h=0,m=a,p=0,x=0,v=0,l=1,u=1,b=1,w=0,_="",j=o,y=i,S=n,E=_;u;)switch(v=w,w=ee()){case 40:if(v!=108&&Z(E,m-1)==58){Bt(E+=k(at(w),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:E+=at(w);break;case 9:case 10:case 13:case 32:E+=Qi(v);break;case 92:E+=ea(it()-1,7);continue;case 47:switch(ce()){case 42:case 47:nt(oa(ta(ee(),it()),t,r),d);break;default:E+="/"}break;case 123*l:c[f++]=se(E)*b;case 125*l:case 59:case 0:switch(w){case 0:case 125:u=0;case 59+h:b==-1&&(E=k(E,/\f/g,"")),x>0&&se(E)-m&&nt(x>32?Cr(E+";",n,r,m-1):Cr(k(E," ","")+";",n,r,m-2),d);break;case 59:E+=";";default:if(nt(S=Er(E,t,r,f,h,o,c,_,j=[],y=[],m),i),w===123)if(h===0)st(E,t,S,S,j,i,m,c,y);else switch(p===99&&Z(E,3)===110?100:p){case 100:case 108:case 109:case 115:st(e,S,S,n&&nt(Er(e,S,S,0,0,o,c,_,o,j=[],m),y),o,y,m,c,n?j:y);break;default:st(E,S,S,S,[""],y,0,c,y)}}f=h=x=0,l=b=1,_=E="",m=a;break;case 58:m=1+se(E),x=v;default:if(l<1){if(w==123)--l;else if(w==125&&l++==0&&Ji()==125)continue}switch(E+=jt(w),w*l){case 38:b=h>0?1:(E+="\f",-1);break;case 44:c[f++]=(se(E)-1)*b,b=1;break;case 64:ce()===45&&(E+=at(ee())),p=ce(),h=m=se(_=E+=ra(it())),w++;break;case 45:v===45&&se(E)==2&&(l=0)}}return i}function Er(e,t,r,n,o,i,a,c,d,f,h){for(var m=o-1,p=o===0?i:[""],x=ar(p),v=0,l=0,u=0;v<n;++v)for(var b=0,w=Ye(e,m+1,m=qi(l=a[v])),_=e;b<x;++b)(_=bn(l>0?p[b]+" "+w:k(w,/&\f/g,p[b])))&&(d[u++]=_);return Ot(e,t,r,o===0?or:c,d,f,h)}function oa(e,t,r){return Ot(e,t,r,nr,jt(Xi()),Ye(e,2,-2),0)}function Cr(e,t,r,n){return Ot(e,t,r,ir,Ye(e,0,n),Ye(e,n+1,-1),n)}function Ie(e,t){for(var r="",n=ar(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 ir:return e.return=e.return||e.value;case nr:return"";case xn:return e.return=e.value+"{"+Ie(e.children,n)+"}";case or:e.value=e.props.join(",")}return se(r=Ie(e.children,n))?e.return=e.value+"{"+r+"}":""}function aa(e){var t=ar(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 sa(e){return function(t){t.root||(t=t.return)&&e(t)}}var la=function(t,r,n){for(var o=0,i=0;o=i,i=ce(),o===38&&i===12&&(r[n]=1),!Ge(i);)ee();return et(t,J)},ca=function(t,r){var n=-1,o=44;do switch(Ge(o)){case 0:o===38&&ce()===12&&(r[n]=1),t[n]+=la(J-1,r,n);break;case 2:t[n]+=at(o);break;case 4:if(o===44){t[++n]=ce()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=jt(o)}while(o=ee());return t},ua=function(t,r){return Sn(ca(wn(t),r))},jr=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&&!jr.get(n))&&!o){jr.set(t,!0);for(var i=[],a=ua(r,i),c=n.props,d=0,f=0;d<a.length;d++)for(var h=0;h<c.length;h++,f++)t.props[f]=i[d]?a[d].replace(/&\f/g,c[h]):c[h]+" "+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,c=a?r.parent.children:o,d=c.length-1;d>=0;d--){var f=c[d];if(f.line<r.line)break;if(f.column<r.column){if(pa(f))return;break}}i.forEach(function(h){console.error('The pseudo class "'+h+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+h.split("-child")[0]+'-of-type".')})}}}},En=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(!En(r[n]))return!0;return!1},Tr=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},ya=function(t,r,n){En(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."),Tr(t)):ga(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Tr(t)))};function Cn(e,t){switch(Gi(e,t)){case 5103:return N+"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 N+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return N+e+pt+e+X+e+e;case 6828:case 4268:return N+e+X+e+e;case 6165:return N+e+X+"flex-"+e+e;case 5187:return N+e+k(e,/(\w+).+(:[^]+)/,N+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return N+e+X+"flex-item-"+k(e,/flex-|-self/,"")+e;case 4675:return N+e+X+"flex-line-pack"+k(e,/align-content|flex-|-self/,"")+e;case 5548:return N+e+X+k(e,"shrink","negative")+e;case 5292:return N+e+X+k(e,"basis","preferred-size")+e;case 6060:return N+"box-"+k(e,"-grow","")+N+e+X+k(e,"grow","positive")+e;case 4554:return N+k(e,/([^-])(transform)/g,"$1"+N+"$2")+e;case 6187:return k(k(k(e,/(zoom-|grab)/,N+"$1"),/(image-set)/,N+"$1"),e,"")+e;case 5495:case 3959:return k(e,/(image-set\([^]*)/,N+"$1$`$1");case 4968:return k(k(e,/(.+:)(flex-)?(.*)/,N+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+N+e+e;case 4095:case 3583:case 4068:case 2532:return k(e,/(.+)-inline(.+)/,N+"$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 k(e,/(.+:)(.+)-([^]+)/,"$1"+N+"$2-$3$1"+pt+(Z(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Bt(e,"stretch")?Cn(k(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-(~Bt(e,"!important")&&10))){case 107:return k(e,":",":"+N)+e;case 101:return k(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+N+(Z(e,14)===45?"inline-":"")+"box$3$1"+N+"$2$3$1"+X+"$2box$3")+e}break;case 5936:switch(Z(e,t+11)){case 114:return N+e+X+k(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return N+e+X+k(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return N+e+X+k(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return N+e+X+e+e}return e}var va=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case ir:t.return=Cn(t.value,t.length);break;case xn:return Ie([He(t,{value:k(t.value,"@","@"+N)})],o);case or:if(t.length)return Zi(t.props,function(i){switch(Ki(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ie([He(t,{props:[k(i,/:(read-\w+)/,":"+pt+"$1")]})],o);case"::placeholder":return Ie([He(t,{props:[k(i,/:(plac\w+)/,":"+N+"input-$1")]}),He(t,{props:[k(i,/:(plac\w+)/,":"+pt+"$1")]}),He(t,{props:[k(i,/:(plac\w+)/,X+"input-$1")]})],o)}return""})}},xa=[va],jn=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.
27
- 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 u=l.getAttribute("data-emotion");u.indexOf(" ")!==-1&&(document.head.appendChild(l),l.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,c=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(l){for(var u=l.getAttribute("data-emotion").split(" "),b=1;b<u.length;b++)i[u[b]]=!0;c.push(l)});var d,f=[da,fa];process.env.NODE_ENV!=="production"&&f.push(ma({get compat(){return v.compat}}),ya);{var h,m=[ia,process.env.NODE_ENV!=="production"?function(l){l.root||(l.return?h.insert(l.return):l.value&&l.type!==nr&&h.insert(l.value+"{}"))}:sa(function(l){h.insert(l)})],p=aa(f.concat(o,m)),x=function(u){return Ie(na(u),p)};d=function(u,b,w,_){h=w,process.env.NODE_ENV!=="production"&&b.map!==void 0&&(h={insert:function(y){w.insert(y+b.map)}}),x(u?u+"{"+b.styles+"}":b.styles),_&&(v.inserted[b.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:d};return v.sheet.hydrate(c),v},Ut={exports:{}},R={};/** @license React v16.13.1
25
+ `)),()=>{})}function fn(e){return Xe(e,"spacing",8,"spacing")}function Je(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]=Je(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 hn(e,t){const r=fn(e.theme);return Object.keys(e).map(n=>ei(e,t,n,r)).reduce(We,{})}function V(e){return hn(e,xt)}V.propTypes=process.env.NODE_ENV!=="production"?xt.reduce((e,t)=>(e[t]=pe,e),{}):{};V.filterProps=xt;function H(e){return hn(e,bt)}H.propTypes=process.env.NODE_ENV!=="production"?bt.reduce((e,t)=>(e[t]=pe,e),{}):{};H.filterProps=bt;process.env.NODE_ENV!=="production"&&Jo.reduce((e,t)=>(e[t]=pe,e),{});function ti(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 _t(...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"),ui=oe("borderBottomColor"),di=oe("borderLeftColor"),fi=oe("outline",re),hi=oe("outlineColor"),wt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Xe(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Je(t,n)});return fe(e,e.borderRadius,r)}return null};wt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:pe}:{};wt.filterProps=["borderRadius"];_t(ri,ni,oi,ii,ai,si,li,ci,ui,di,wt,fi,hi);const St=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Xe(e.theme,"spacing",8,"gap"),r=n=>({gap:Je(t,n)});return fe(e,e.gap,r)}return null};St.propTypes=process.env.NODE_ENV!=="production"?{gap:pe}:{};St.filterProps=["gap"];const Et=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Xe(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Je(t,n)});return fe(e,e.columnGap,r)}return null};Et.propTypes=process.env.NODE_ENV!=="production"?{columnGap:pe}:{};Et.filterProps=["columnGap"];const Ct=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Xe(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Je(t,n)});return fe(e,e.rowGap,r)}return null};Ct.propTypes=process.env.NODE_ENV!=="production"?{rowGap:pe}:{};Ct.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"}),wi=U({prop:"gridTemplateAreas"}),Si=U({prop:"gridArea"});_t(St,Et,Ct,pi,mi,gi,yi,xi,bi,_i,wi,Si);function $e(e,t){return t==="grey"?t:e}const Ei=U({prop:"color",themeKey:"palette",transform:$e}),Ci=U({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:$e}),ji=U({prop:"backgroundColor",themeKey:"palette",transform:$e});_t(Ei,Ci,ji);function Q(e){return e<=1&&e!==0?`${e*100}%`:e}const Ti=U({prop:"width",transform:Q}),er=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])||Qt[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};er.filterProps=["maxWidth"];const Oi=U({prop:"minWidth",transform:Q}),Ni=U({prop:"height",transform:Q}),ki=U({prop:"maxHeight",transform:Q}),Mi=U({prop:"minHeight",transform:Q});U({prop:"size",cssProperty:"width",transform:Q});U({prop:"size",cssProperty:"height",transform:Q});const $i=U({prop:"boxSizing"});_t(Ti,er,Oi,Ni,ki,Mi,$i);const Ii={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:wt},color:{themeKey:"palette",transform:$e},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:$e},backgroundColor:{themeKey:"palette",transform:$e},p:{style:H},pt:{style:H},pr:{style:H},pb:{style:H},pl:{style:H},px:{style:H},py:{style:H},padding:{style:H},paddingTop:{style:H},paddingRight:{style:H},paddingBottom:{style:H},paddingLeft:{style:H},paddingX:{style:H},paddingY:{style:H},paddingInline:{style:H},paddingInlineStart:{style:H},paddingInlineEnd:{style:H},paddingBlock:{style:H},paddingBlockStart:{style:H},paddingBlockEnd:{style:H},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:St},rowGap:{style:Ct},columnGap:{style:Et},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:er},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"}},Qe=Ii;function Pi(...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 Ai(e,t){return typeof e=="function"?e(t):e}function pn(){function e(r,n,o,i){const a={[r]:n,theme:o},c=i[r];if(!c)return{[r]:n};const{cssProperty:d=r,themeKey:f,transform:h,style:m}=c;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[r]:n};const p=vt(o,f)||{};return m?m(a):fe(a,n,v=>{let l=ht(p,h,v);return v===l&&typeof v=="string"&&(l=ht(p,h,`${r}${v==="default"?"":ve(v)}`,v)),d===!1?l:{[d]:l}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:Qe;function c(d){let f=d;if(typeof d=="function")f=d(i);else if(typeof d!="object")return d;if(!f)return null;const h=qo(i.breakpoints),m=Object.keys(h);let p=h;return Object.keys(f).forEach(x=>{const v=Ai(f[x],i);if(v!=null)if(typeof v=="object")if(a[x])p=We(p,e(x,v,i,a));else{const l=fe({theme:i},v,u=>({[x]:u}));Pi(l,v)?p[x]=t({sx:v,theme:i}):p=We(p,l)}else p=We(p,e(x,v,i,a))}),Yo(m,p)}return Array.isArray(o)?o.map(c):c(o)}return t}const mn=pn();mn.filterProps=["sx"];const tr=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 Ri=["breakpoints","palette","spacing","shape"];function rr(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=g._objectWithoutPropertiesLoose(e,Ri),c=dn(r),d=ti(o);let f=le({breakpoints:c,direction:"ltr",components:{},palette:g._extends({mode:"light"},n),spacing:d,shape:g._extends({},Wo,i)},a);return f.applyStyles=gn,f=t.reduce((h,m)=>le(h,m),f),f.unstable_sxConfig=g._extends({},Qe,a==null?void 0:a.unstable_sxConfig),f.unstable_sx=function(m){return tr({sx:m,theme:this})},f}const Di=Object.freeze(Object.defineProperty({__proto__:null,default:rr,private_createBreakpoints:dn,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 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=yn(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 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(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:
26
+ `+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-",pt="-moz-",N="-webkit-",nr="comm",or="rule",ir="decl",Bi="@import",vn="@keyframes",Wi="@layer",Ui=Math.abs,jt=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 xn(e){return e.trim()}function Gi(e,t){return(e=t.exec(e))?e[0]:e}function k(e,t,r){return e.replace(t,r)}function Bt(e,t){return e.indexOf(t)}function Z(e,t){return e.charCodeAt(t)|0}function Ye(e,t,r){return e.slice(t,r)}function se(e){return e.length}function ar(e){return e.length}function nt(e,t){return t.push(e),e}function Ki(e,t){return e.map(t).join("")}var Tt=1,Pe=1,bn=0,J=0,Y=0,Re="";function Ot(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Tt,column:Pe,length:a,return:""}}function He(e,t){return qi(Ot("",null,null,"",null,null,0),e,{length:-e.length},t)}function Zi(){return Y}function Xi(){return Y=J>0?Z(Re,--J):0,Pe--,Y===10&&(Pe=1,Tt--),Y}function ee(){return Y=J<bn?Z(Re,J++):0,Pe++,Y===10&&(Pe=1,Tt++),Y}function ce(){return Z(Re,J)}function it(){return J}function et(e,t){return Ye(Re,e,t)}function Ge(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 Tt=Pe=1,bn=se(Re=e),J=0,[]}function wn(e){return Re="",e}function at(e){return xn(et(J-1,Wt(e===91?e+2:e===40?e+1:e)))}function Ji(e){for(;(Y=ce())&&Y<33;)ee();return Ge(e)>2||Ge(Y)>3?"":" "}function Qi(e,t){for(;--t&&ee()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return et(e,it()+(t<6&&ce()==32&&ee()==32))}function Wt(e){for(;ee();)switch(Y){case e:return J;case 34:case 39:e!==34&&e!==39&&Wt(Y);break;case 40:e===41&&Wt(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"/*"+et(t,J-1)+"*"+jt(e===47?e:ee())}function ta(e){for(;!Ge(ce());)ee();return et(e,J)}function ra(e){return wn(st("",null,null,null,[""],e=_n(e),0,[0],e))}function st(e,t,r,n,o,i,a,c,d){for(var f=0,h=0,m=a,p=0,x=0,v=0,l=1,u=1,b=1,w=0,_="",j=o,y=i,S=n,E=_;u;)switch(v=w,w=ee()){case 40:if(v!=108&&Z(E,m-1)==58){Bt(E+=k(at(w),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:E+=at(w);break;case 9:case 10:case 13:case 32:E+=Ji(v);break;case 92:E+=Qi(it()-1,7);continue;case 47:switch(ce()){case 42:case 47:nt(na(ea(ee(),it()),t,r),d);break;default:E+="/"}break;case 123*l:c[f++]=se(E)*b;case 125*l:case 59:case 0:switch(w){case 0:case 125:u=0;case 59+h:b==-1&&(E=k(E,/\f/g,"")),x>0&&se(E)-m&&nt(x>32?Cr(E+";",n,r,m-1):Cr(k(E," ","")+";",n,r,m-2),d);break;case 59:E+=";";default:if(nt(S=Er(E,t,r,f,h,o,c,_,j=[],y=[],m),i),w===123)if(h===0)st(E,t,S,S,j,i,m,c,y);else switch(p===99&&Z(E,3)===110?100:p){case 100:case 108:case 109:case 115:st(e,S,S,n&&nt(Er(e,S,S,0,0,o,c,_,o,j=[],m),y),o,y,m,c,n?j:y);break;default:st(E,S,S,S,[""],y,0,c,y)}}f=h=x=0,l=b=1,_=E="",m=a;break;case 58:m=1+se(E),x=v;default:if(l<1){if(w==123)--l;else if(w==125&&l++==0&&Xi()==125)continue}switch(E+=jt(w),w*l){case 38:b=h>0?1:(E+="\f",-1);break;case 44:c[f++]=(se(E)-1)*b,b=1;break;case 64:ce()===45&&(E+=at(ee())),p=ce(),h=m=se(_=E+=ta(it())),w++;break;case 45:v===45&&se(E)==2&&(l=0)}}return i}function Er(e,t,r,n,o,i,a,c,d,f,h){for(var m=o-1,p=o===0?i:[""],x=ar(p),v=0,l=0,u=0;v<n;++v)for(var b=0,w=Ye(e,m+1,m=Ui(l=a[v])),_=e;b<x;++b)(_=xn(l>0?p[b]+" "+w:k(w,/&\f/g,p[b])))&&(d[u++]=_);return Ot(e,t,r,o===0?or:c,d,f,h)}function na(e,t,r){return Ot(e,t,r,nr,jt(Zi()),Ye(e,2,-2),0)}function Cr(e,t,r,n){return Ot(e,t,r,ir,Ye(e,0,n),Ye(e,n+1,-1),n)}function Ie(e,t){for(var r="",n=ar(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 Bi:case ir:return e.return=e.return||e.value;case nr:return"";case vn:return e.return=e.value+"{"+Ie(e.children,n)+"}";case or:e.value=e.props.join(",")}return se(r=Ie(e.children,n))?e.return=e.value+"{"+r+"}":""}function ia(e){var t=ar(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),!Ge(i);)ee();return et(t,J)},la=function(t,r){var n=-1,o=44;do switch(Ge(o)){case 0:o===38&&ce()===12&&(r[n]=1),t[n]+=sa(J-1,r,n);break;case 2:t[n]+=at(o);break;case 4:if(o===44){t[++n]=ce()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=jt(o)}while(o=ee());return t},ca=function(t,r){return wn(la(_n(t),r))},jr=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&&!jr.get(n))&&!o){jr.set(t,!0);for(var i=[],a=ca(r,i),c=n.props,d=0,f=0;d<a.length;d++)for(var h=0;h<c.length;h++,f++)t.props[f]=i[d]?a[d].replace(/&\f/g,c[h]):c[h]+" "+a[d]}}},da=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,d=c.length-1;d>=0;d--){var f=c[d];if(f.line<r.line)break;if(f.column<r.column){if(ha(f))return;break}}i.forEach(function(h){console.error('The pseudo class "'+h+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+h.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},Tr=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."),Tr(t)):ma(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Tr(t)))};function En(e,t){switch(Yi(e,t)){case 5103:return N+"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 N+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return N+e+pt+e+X+e+e;case 6828:case 4268:return N+e+X+e+e;case 6165:return N+e+X+"flex-"+e+e;case 5187:return N+e+k(e,/(\w+).+(:[^]+)/,N+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return N+e+X+"flex-item-"+k(e,/flex-|-self/,"")+e;case 4675:return N+e+X+"flex-line-pack"+k(e,/align-content|flex-|-self/,"")+e;case 5548:return N+e+X+k(e,"shrink","negative")+e;case 5292:return N+e+X+k(e,"basis","preferred-size")+e;case 6060:return N+"box-"+k(e,"-grow","")+N+e+X+k(e,"grow","positive")+e;case 4554:return N+k(e,/([^-])(transform)/g,"$1"+N+"$2")+e;case 6187:return k(k(k(e,/(zoom-|grab)/,N+"$1"),/(image-set)/,N+"$1"),e,"")+e;case 5495:case 3959:return k(e,/(image-set\([^]*)/,N+"$1$`$1");case 4968:return k(k(e,/(.+:)(flex-)?(.*)/,N+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+N+e+e;case 4095:case 3583:case 4068:case 2532:return k(e,/(.+)-inline(.+)/,N+"$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 k(e,/(.+:)(.+)-([^]+)/,"$1"+N+"$2-$3$1"+pt+(Z(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Bt(e,"stretch")?En(k(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-(~Bt(e,"!important")&&10))){case 107:return k(e,":",":"+N)+e;case 101:return k(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+N+(Z(e,14)===45?"inline-":"")+"box$3$1"+N+"$2$3$1"+X+"$2box$3")+e}break;case 5936:switch(Z(e,t+11)){case 114:return N+e+X+k(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return N+e+X+k(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return N+e+X+k(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return N+e+X+e+e}return e}var ya=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case ir:t.return=En(t.value,t.length);break;case vn:return Ie([He(t,{value:k(t.value,"@","@"+N)})],o);case or:if(t.length)return Ki(t.props,function(i){switch(Gi(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ie([He(t,{props:[k(i,/:(read-\w+)/,":"+pt+"$1")]})],o);case"::placeholder":return Ie([He(t,{props:[k(i,/:(plac\w+)/,":"+N+"input-$1")]}),He(t,{props:[k(i,/:(plac\w+)/,":"+pt+"$1")]}),He(t,{props:[k(i,/:(plac\w+)/,X+"input-$1")]})],o)}return""})}},va=[ya],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.
27
+ 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 u=l.getAttribute("data-emotion");u.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 u=l.getAttribute("data-emotion").split(" "),b=1;b<u.length;b++)i[u[b]]=!0;c.push(l)});var d,f=[ua,da];process.env.NODE_ENV!=="production"&&f.push(pa({get compat(){return v.compat}}),ga);{var h,m=[oa,process.env.NODE_ENV!=="production"?function(l){l.root||(l.return?h.insert(l.return):l.value&&l.type!==nr&&h.insert(l.value+"{}"))}:aa(function(l){h.insert(l)})],p=ia(f.concat(o,m)),x=function(u){return Ie(ra(u),p)};d=function(u,b,w,_){h=w,process.env.NODE_ENV!=="production"&&b.map!==void 0&&(h={insert:function(y){w.insert(y+b.map)}}),x(u?u+"{"+b.styles+"}":b.styles),_&&(v.inserted[b.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(c),v},Ut={exports:{}},R={};/** @license React v16.13.1
28
28
  * react-is.production.min.js
29
29
  *
30
30
  * Copyright (c) Facebook, Inc. and its affiliates.
31
31
  *
32
32
  * This source code is licensed under the MIT license found in the
33
33
  * LICENSE file in the root directory of this source tree.
34
- */var Or;function ba(){if(Or)return R;Or=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,d=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,x=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,u=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function _(y){if(typeof y=="object"&&y!==null){var S=y.$$typeof;switch(S){case t:switch(y=y.type,y){case d:case f:case n:case i:case o:case m:return y;default:switch(y=y&&y.$$typeof,y){case c:case h:case v:case x:case a:return y;default:return S}}case r:return S}}}function j(y){return _(y)===f}return R.AsyncMode=d,R.ConcurrentMode=f,R.ContextConsumer=c,R.ContextProvider=a,R.Element=t,R.ForwardRef=h,R.Fragment=n,R.Lazy=v,R.Memo=x,R.Portal=r,R.Profiler=i,R.StrictMode=o,R.Suspense=m,R.isAsyncMode=function(y){return j(y)||_(y)===d},R.isConcurrentMode=j,R.isContextConsumer=function(y){return _(y)===c},R.isContextProvider=function(y){return _(y)===a},R.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===t},R.isForwardRef=function(y){return _(y)===h},R.isFragment=function(y){return _(y)===n},R.isLazy=function(y){return _(y)===v},R.isMemo=function(y){return _(y)===x},R.isPortal=function(y){return _(y)===r},R.isProfiler=function(y){return _(y)===i},R.isStrictMode=function(y){return _(y)===o},R.isSuspense=function(y){return _(y)===m},R.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===n||y===f||y===i||y===o||y===m||y===p||typeof y=="object"&&y!==null&&(y.$$typeof===v||y.$$typeof===x||y.$$typeof===a||y.$$typeof===c||y.$$typeof===h||y.$$typeof===u||y.$$typeof===b||y.$$typeof===w||y.$$typeof===l)},R.typeOf=_,R}var D={};/** @license React v16.13.1
34
+ */var Or;function xa(){if(Or)return R;Or=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,d=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,x=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,u=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function _(y){if(typeof y=="object"&&y!==null){var S=y.$$typeof;switch(S){case t:switch(y=y.type,y){case d:case f:case n:case i:case o:case m:return y;default:switch(y=y&&y.$$typeof,y){case c:case h:case v:case x:case a:return y;default:return S}}case r:return S}}}function j(y){return _(y)===f}return R.AsyncMode=d,R.ConcurrentMode=f,R.ContextConsumer=c,R.ContextProvider=a,R.Element=t,R.ForwardRef=h,R.Fragment=n,R.Lazy=v,R.Memo=x,R.Portal=r,R.Profiler=i,R.StrictMode=o,R.Suspense=m,R.isAsyncMode=function(y){return j(y)||_(y)===d},R.isConcurrentMode=j,R.isContextConsumer=function(y){return _(y)===c},R.isContextProvider=function(y){return _(y)===a},R.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===t},R.isForwardRef=function(y){return _(y)===h},R.isFragment=function(y){return _(y)===n},R.isLazy=function(y){return _(y)===v},R.isMemo=function(y){return _(y)===x},R.isPortal=function(y){return _(y)===r},R.isProfiler=function(y){return _(y)===i},R.isStrictMode=function(y){return _(y)===o},R.isSuspense=function(y){return _(y)===m},R.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===n||y===f||y===i||y===o||y===m||y===p||typeof y=="object"&&y!==null&&(y.$$typeof===v||y.$$typeof===x||y.$$typeof===a||y.$$typeof===c||y.$$typeof===h||y.$$typeof===u||y.$$typeof===b||y.$$typeof===w||y.$$typeof===l)},R.typeOf=_,R}var D={};/** @license React v16.13.1
35
35
  * react-is.development.js
36
36
  *
37
37
  * Copyright (c) Facebook, Inc. and its affiliates.
38
38
  *
39
39
  * This source code is licensed under the MIT license found in the
40
40
  * LICENSE file in the root directory of this source tree.
41
- */var Nr;function _a(){return Nr||(Nr=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,d=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,x=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,u=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function _(T){return typeof T=="string"||typeof T=="function"||T===n||T===f||T===i||T===o||T===m||T===p||typeof T=="object"&&T!==null&&(T.$$typeof===v||T.$$typeof===x||T.$$typeof===a||T.$$typeof===c||T.$$typeof===h||T.$$typeof===u||T.$$typeof===b||T.$$typeof===w||T.$$typeof===l)}function j(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 m:return O;default:var Ee=O&&O.$$typeof;switch(Ee){case c:case h:case v:case x:case a:return Ee;default:return Ve}}case r:return Ve}}}var y=d,S=f,E=c,$=a,I=t,B=h,z=n,W=v,G=x,ae=r,me=i,ge=o,be=m,ue=!1;function _e(T){return ue||(ue=!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)||j(T)===d}function ye(T){return j(T)===f}function Le(T){return j(T)===c}function Fe(T){return j(T)===a}function we(T){return typeof T=="object"&&T!==null&&T.$$typeof===t}function de(T){return j(T)===h}function Se(T){return j(T)===n}function $t(T){return j(T)===v}function It(T){return j(T)===x}function Pt(T){return j(T)===r}function At(T){return j(T)===i}function Rt(T){return j(T)===o}function Dt(T){return j(T)===m}D.AsyncMode=y,D.ConcurrentMode=S,D.ContextConsumer=E,D.ContextProvider=$,D.Element=I,D.ForwardRef=B,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=we,D.isForwardRef=de,D.isFragment=Se,D.isLazy=$t,D.isMemo=It,D.isPortal=Pt,D.isProfiler=At,D.isStrictMode=Rt,D.isSuspense=Dt,D.isValidElementType=_,D.typeOf=j}()),D}process.env.NODE_ENV==="production"?Ut.exports=ba():Ut.exports=_a();var wa=Ut.exports,Tn=wa,Sa={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ea={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},On={};On[Tn.ForwardRef]=Sa;On[Tn.Memo]=Ea;var Ca=!0;function sr(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):n+=o+" "}),n}var Nt=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||Ca===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},kt=function(t,r,n){Nt(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},kr=`You have illegal escape sequence in your template literal, most likely inside content's property value.
41
+ */var Nr;function ba(){return Nr||(Nr=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,d=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,x=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,u=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function _(T){return typeof T=="string"||typeof T=="function"||T===n||T===f||T===i||T===o||T===m||T===p||typeof T=="object"&&T!==null&&(T.$$typeof===v||T.$$typeof===x||T.$$typeof===a||T.$$typeof===c||T.$$typeof===h||T.$$typeof===u||T.$$typeof===b||T.$$typeof===w||T.$$typeof===l)}function j(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 m:return O;default:var Ee=O&&O.$$typeof;switch(Ee){case c:case h:case v:case x:case a:return Ee;default:return Ve}}case r:return Ve}}}var y=d,S=f,E=c,$=a,I=t,B=h,z=n,W=v,G=x,ae=r,me=i,ge=o,be=m,ue=!1;function _e(T){return ue||(ue=!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)||j(T)===d}function ye(T){return j(T)===f}function Le(T){return j(T)===c}function Fe(T){return j(T)===a}function we(T){return typeof T=="object"&&T!==null&&T.$$typeof===t}function de(T){return j(T)===h}function Se(T){return j(T)===n}function $t(T){return j(T)===v}function It(T){return j(T)===x}function Pt(T){return j(T)===r}function At(T){return j(T)===i}function Rt(T){return j(T)===o}function Dt(T){return j(T)===m}D.AsyncMode=y,D.ConcurrentMode=S,D.ContextConsumer=E,D.ContextProvider=$,D.Element=I,D.ForwardRef=B,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=we,D.isForwardRef=de,D.isFragment=Se,D.isLazy=$t,D.isMemo=It,D.isPortal=Pt,D.isProfiler=At,D.isStrictMode=Rt,D.isSuspense=Dt,D.isValidElementType=_,D.typeOf=j}()),D}process.env.NODE_ENV==="production"?Ut.exports=xa():Ut.exports=ba();var _a=Ut.exports,jn=_a,wa={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Sa={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Tn={};Tn[jn.ForwardRef]=wa;Tn[jn.Memo]=Sa;var Ea=!0;function sr(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):n+=o+" "}),n}var Nt=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||Ea===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},kt=function(t,r,n){Nt(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},kr=`You have illegal escape sequence in your template literal, most likely inside content's property value.
42
42
  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';".
43
43
  You can read more about this here:
44
- 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,Nn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,lr=function(t){return t.charCodeAt(1)===45},Mr=function(t){return t!=null&&typeof t!="boolean"},zt=vn(function(e){return lr(e)?e:e.replace(Na,"-$&").toLowerCase()}),mt=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Nn,function(n,o,i){return ie={name:o,styles:i,next:ie},o})}return Ta[t]!==1&&!lr(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/,Ma=["normal","none","initial","inherit","unset"],$a=mt,Ia=/^-ms-/,Pa=/-(.)/g,$r={};mt=function(t,r){if(t==="content"&&(typeof r!="string"||Ma.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=$a(t,r);return n!==""&&!lr(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 kn="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ke(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(kn);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 Aa(e,t,r)}case"function":{if(e!==void 0){var i=ie,a=r(e);return ie=i,Ke(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=[],d=r.replace(Nn,function(h,m,p){var x="animation"+c.length;return c.push("const "+x+" = keyframes`"+p.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+x+"}"});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,["`"+d+"`"]).join(`
44
+ 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,On=/_EMO_([^_]+?)_([^]*?)_EMO_/g,lr=function(t){return t.charCodeAt(1)===45},Mr=function(t){return t!=null&&typeof t!="boolean"},zt=yn(function(e){return lr(e)?e:e.replace(Oa,"-$&").toLowerCase()}),mt=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 ja[t]!==1&&!lr(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"],Ma=mt,$a=/^-ms-/,Ia=/-(.)/g,$r={};mt=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=Ma(t,r);return n!==""&&!lr(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($a,"ms-").replace(Ia,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 Ke(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 Pa(e,t,r)}case"function":{if(e!==void 0){var i=ie,a=r(e);return ie=i,Ke(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=[],d=r.replace(On,function(h,m,p){var x="animation"+c.length;return c.push("const "+x+" = keyframes`"+p.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+x+"}"});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,["`"+d+"`"]).join(`
45
45
  `)+`
46
46
 
47
47
  You should wrap it with \`css\` like this:
48
48
 
49
- `+("css`"+d+"`"))}break}if(t==null)return r;var f=t[r];return f!==void 0?f:r}function Aa(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Ke(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]+"}":Mr(a)&&(n+=zt(i)+":"+mt(i,a)+";");else{if(i==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(kn);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var c=0;c<a.length;c++)Mr(a[c])&&(n+=zt(i)+":"+mt(i,a[c])+";");else{var d=Ke(e,t,a);switch(i){case"animation":case"animationName":{n+=zt(i)+":"+d+";";break}default:process.env.NODE_ENV!=="production"&&i==="undefined"&&console.error(Oa),n+=i+"{"+d+"}"}}}}return n}var Ir=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Mn;process.env.NODE_ENV!=="production"&&(Mn=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var ie,Ae=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+=Ke(n,r,a)):(process.env.NODE_ENV!=="production"&&a[0]===void 0&&console.error(kr),i+=a[0]);for(var c=1;c<t.length;c++)i+=Ke(n,r,t[c]),o&&(process.env.NODE_ENV!=="production"&&a[c]===void 0&&console.error(kr),i+=a[c]);var d;process.env.NODE_ENV!=="production"&&(i=i.replace(Mn,function(p){return d=p,""})),Ir.lastIndex=0;for(var f="",h;(h=Ir.exec(i))!==null;)f+="-"+h[1];var m=ja(i)+f;return process.env.NODE_ENV!=="production"?{name:m,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:m,styles:i,next:ie}},Ra=function(t){return t()},$n=L["useInsertionEffect"]?L["useInsertionEffect"]:!1,cr=$n||Ra,Pr=$n||L.useLayoutEffect,Da={}.hasOwnProperty,ur=L.createContext(typeof HTMLElement<"u"?jn({key:"css"}):null);process.env.NODE_ENV!=="production"&&(ur.displayName="EmotionCacheContext");var za=ur.Provider,Mt=function(t){return C.forwardRef(function(r,n){var o=C.useContext(ur);return t(r,o,n)})},xe=L.createContext({});process.env.NODE_ENV!=="production"&&(xe.displayName="EmotionThemeContext");var Ar="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Rr="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",La=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Nt(r,n,o),cr(function(){return kt(r,n,o)}),null},Fa=Mt(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=sr(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var c=Ae(i,void 0,L.useContext(xe));if(process.env.NODE_ENV!=="production"&&c.name.indexOf("-")===-1){var d=e[Rr];d&&(c=Ae([c,"label:"+d+";"]))}a+=t.key+"-"+c.name;var f={};for(var h in e)Da.call(e,h)&&h!=="css"&&h!==Ar&&(process.env.NODE_ENV==="production"||h!==Rr)&&(f[h]=e[h]);return f.ref=r,f.className=a,L.createElement(L.Fragment,null,L.createElement(La,{cache:t,serialized:c,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"}}}}},Dr=!1,In=Mt(function(e,t){process.env.NODE_ENV!=="production"&&!Dr&&(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?"),Dr=!0);var r=e.styles,n=Ae([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,d=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),d!==null&&(c=!0,d.setAttribute("data-emotion",i),a.hydrate([d])),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&&kt(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"&&(In.displayName="EmotionGlobal");function Pn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ae(t)}var Ha=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 Wa(e,t,r){var n=[],o=sr(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++)kt(r,n[o],!1)}),null},qa=Mt(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,h=new Array(f),m=0;m<f;m++)h[m]=arguments[m];var p=Ae(h,t.registered);return n.push(p),Nt(t,p,!1),t.key+"-"+p.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,h=new Array(f),m=0;m<f;m++)h[m]=arguments[m];return Wa(t.registered,o,Ba(h))},a={css:o,cx:i,theme:L.useContext(xe)},c=e.children(a);return r=!0,L.createElement(L.Fragment,null,L.createElement(Ua,{cache:t,serializedArr:n}),c)});process.env.NODE_ENV!=="production"&&(qa.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var zr=!0,Ya=typeof jest<"u"||typeof vi<"u";if(zr&&!Ya){var Lr=typeof globalThis<"u"?globalThis:zr?window:global,Fr="__EMOTION_REACT_"+Va.version.split(".")[0]+"__";Lr[Fr]&&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."),Lr[Fr]=!0}}var Ga=Fi,Ka=function(t){return t!=="theme"},Vr=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Ga:Ka},Hr=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.
49
+ `+("css`"+d+"`"))}break}if(t==null)return r;var f=t[r];return f!==void 0?f:r}function Pa(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Ke(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]+"}":Mr(a)&&(n+=zt(i)+":"+mt(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 c=0;c<a.length;c++)Mr(a[c])&&(n+=zt(i)+":"+mt(i,a[c])+";");else{var d=Ke(e,t,a);switch(i){case"animation":case"animationName":{n+=zt(i)+":"+d+";";break}default:process.env.NODE_ENV!=="production"&&i==="undefined"&&console.error(Ta),n+=i+"{"+d+"}"}}}}return n}var Ir=/label:\s*([^\s;\n{]+)\s*(;|$)/g,kn;process.env.NODE_ENV!=="production"&&(kn=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var ie,Ae=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+=Ke(n,r,a)):(process.env.NODE_ENV!=="production"&&a[0]===void 0&&console.error(kr),i+=a[0]);for(var c=1;c<t.length;c++)i+=Ke(n,r,t[c]),o&&(process.env.NODE_ENV!=="production"&&a[c]===void 0&&console.error(kr),i+=a[c]);var d;process.env.NODE_ENV!=="production"&&(i=i.replace(kn,function(p){return d=p,""})),Ir.lastIndex=0;for(var f="",h;(h=Ir.exec(i))!==null;)f+="-"+h[1];var m=Ca(i)+f;return process.env.NODE_ENV!=="production"?{name:m,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:m,styles:i,next:ie}},Aa=function(t){return t()},Mn=L["useInsertionEffect"]?L["useInsertionEffect"]:!1,cr=Mn||Aa,Pr=Mn||L.useLayoutEffect,Ra={}.hasOwnProperty,ur=L.createContext(typeof HTMLElement<"u"?Cn({key:"css"}):null);process.env.NODE_ENV!=="production"&&(ur.displayName="EmotionCacheContext");var Da=ur.Provider,Mt=function(t){return C.forwardRef(function(r,n){var o=C.useContext(ur);return t(r,o,n)})},xe=L.createContext({});process.env.NODE_ENV!=="production"&&(xe.displayName="EmotionThemeContext");var Ar="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Rr="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",za=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Nt(r,n,o),cr(function(){return kt(r,n,o)}),null},La=Mt(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=sr(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var c=Ae(i,void 0,L.useContext(xe));if(process.env.NODE_ENV!=="production"&&c.name.indexOf("-")===-1){var d=e[Rr];d&&(c=Ae([c,"label:"+d+";"]))}a+=t.key+"-"+c.name;var f={};for(var h in e)Ra.call(e,h)&&h!=="css"&&h!==Ar&&(process.env.NODE_ENV==="production"||h!==Rr)&&(f[h]=e[h]);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"}}}}},Dr=!1,$n=Mt(function(e,t){process.env.NODE_ENV!=="production"&&!Dr&&(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?"),Dr=!0);var r=e.styles,n=Ae([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,d=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),d!==null&&(c=!0,d.setAttribute("data-emotion",i),a.hydrate([d])),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&&kt(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"&&($n.displayName="EmotionGlobal");function In(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ae(t)}var Va=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 c in i)i[c]&&c&&(a&&(a+=" "),a+=c)}break}default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};function Ba(e,t,r){var n=[],o=sr(e,n,r);return n.length<2?r:o+t(n)}var Wa=function(t){var r=t.cache,n=t.serializedArr;return cr(function(){for(var o=0;o<n.length;o++)kt(r,n[o],!1)}),null},Ua=Mt(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,h=new Array(f),m=0;m<f;m++)h[m]=arguments[m];var p=Ae(h,t.registered);return n.push(p),Nt(t,p,!1),t.key+"-"+p.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,h=new Array(f),m=0;m<f;m++)h[m]=arguments[m];return Ba(t.registered,o,Ha(h))},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 zr=!0,qa=typeof jest<"u"||typeof vi<"u";if(zr&&!qa){var Lr=typeof globalThis<"u"?globalThis:zr?window:global,Fr="__EMOTION_REACT_"+Fa.version.split(".")[0]+"__";Lr[Fr]&&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."),Lr[Fr]=!0}}var Ya=Li,Ga=function(t){return t!=="theme"},Vr=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Ya:Ga},Hr=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.
50
50
  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';".
51
51
  You can read more about this here:
52
- 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 Nt(r,n,o),cr(function(){return kt(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.
53
- 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=Hr(t,r,n),d=c||Vr(o),f=!d("as");return function(){var h=arguments,m=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&m.push("label:"+i+";"),h[0]==null||h[0].raw===void 0)m.push.apply(m,h);else{process.env.NODE_ENV!=="production"&&h[0][0]===void 0&&console.error(Br),m.push(h[0][0]);for(var p=h.length,x=1;x<p;x++)process.env.NODE_ENV!=="production"&&h[0][x]===void 0&&console.error(Br),m.push(h[x],h[0][x])}var v=Mt(function(l,u,b){var w=f&&l.as||o,_="",j=[],y=l;if(l.theme==null){y={};for(var S in l)y[S]=l[S];y.theme=L.useContext(xe)}typeof l.className=="string"?_=sr(u.registered,j,l.className):l.className!=null&&(_=l.className+" ");var E=Ae(m.concat(j),u.registered,y);_+=u.key+"-"+E.name,a!==void 0&&(_+=" "+a);var $=f&&c===void 0?Vr(w):d,I={};for(var B in l)f&&B==="as"||$(B)&&(I[B]=l[B]);return I.className=_,I.ref=b,L.createElement(L.Fragment,null,L.createElement(Za,{cache:u,serialized:E,isStringTag:typeof w=="string"}),L.createElement(w,I))});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=m,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,u){return e(l,g._extends({},r,u,{shouldForwardProp:Hr(v,u,!0)})).apply(void 0,m)},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"],qt=Xa.bind();Ja.forEach(function(e){qt[e]=qt(e)});let Yt;typeof document=="object"&&(Yt=jn({key:"css",prepend:!0}));function An(e){const{injectFirst:t,children:r}=e;return t&&Yt?s.jsx(za,{value:Yt,children:r}):r}process.env.NODE_ENV!=="production"&&(An.propTypes={children:g.PropTypes.node,injectFirst:g.PropTypes.bool});function Qa(e){return e==null||Object.keys(e).length===0}function Rn(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?o=>t(Qa(o)?r:o):t;return s.jsx(In,{styles:n})}process.env.NODE_ENV!=="production"&&(Rn.propTypes={defaultTheme:g.PropTypes.object,styles:g.PropTypes.oneOfType([g.PropTypes.array,g.PropTypes.string,g.PropTypes.object,g.PropTypes.func])});/**
52
+ 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 Nt(r,n,o),cr(function(){return kt(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.
53
+ 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=Hr(t,r,n),d=c||Vr(o),f=!d("as");return function(){var h=arguments,m=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&m.push("label:"+i+";"),h[0]==null||h[0].raw===void 0)m.push.apply(m,h);else{process.env.NODE_ENV!=="production"&&h[0][0]===void 0&&console.error(Br),m.push(h[0][0]);for(var p=h.length,x=1;x<p;x++)process.env.NODE_ENV!=="production"&&h[0][x]===void 0&&console.error(Br),m.push(h[x],h[0][x])}var v=Mt(function(l,u,b){var w=f&&l.as||o,_="",j=[],y=l;if(l.theme==null){y={};for(var S in l)y[S]=l[S];y.theme=L.useContext(xe)}typeof l.className=="string"?_=sr(u.registered,j,l.className):l.className!=null&&(_=l.className+" ");var E=Ae(m.concat(j),u.registered,y);_+=u.key+"-"+E.name,a!==void 0&&(_+=" "+a);var $=f&&c===void 0?Vr(w):d,I={};for(var B in l)f&&B==="as"||$(B)&&(I[B]=l[B]);return I.className=_,I.ref=b,L.createElement(L.Fragment,null,L.createElement(Ka,{cache:u,serialized:E,isStringTag:typeof w=="string"}),L.createElement(w,I))});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=m,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,u){return e(l,g._extends({},r,u,{shouldForwardProp:Hr(v,u,!0)})).apply(void 0,m)},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"],qt=Za.bind();Xa.forEach(function(e){qt[e]=qt(e)});let Yt;typeof document=="object"&&(Yt=Cn({key:"css",prepend:!0}));function Pn(e){const{injectFirst:t,children:r}=e;return t&&Yt?s.jsx(Da,{value:Yt,children:r}):r}process.env.NODE_ENV!=="production"&&(Pn.propTypes={children:g.PropTypes.node,injectFirst:g.PropTypes.bool});function Ja(e){return e==null||Object.keys(e).length===0}function An(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"&&(An.propTypes={defaultTheme:g.PropTypes.object,styles:g.PropTypes.oneOfType([g.PropTypes.array,g.PropTypes.string,g.PropTypes.object,g.PropTypes.func])});/**
54
54
  * @mui/styled-engine v5.15.11
55
55
  *
56
56
  * @license MIT
57
57
  * This source code is licensed under the MIT license found in the
58
58
  * LICENSE file in the root directory of this source tree.
59
- */function es(e,t){const r=qt(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(`
60
- `)):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:Rn,StyledEngineProvider:An,ThemeContext:xe,css:Pn,default:es,internal_processStyles:ts,keyframes:Ha},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=rr();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 ls=["sx"],cs=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:Qe;return Object.keys(e).forEach(i=>{o[i]?n.systemProps[i]=e[i]:n.otherProps[i]=e[i]}),n};function us(e){const{sx:t}=e,r=g._objectWithoutPropertiesLoose(e,ls),{systemProps:n,otherProps:o}=cs(r);let i;return Array.isArray(t)?i=[n,...t]:typeof t=="function"?i=(...a)=>{const c=t(...a);return he(c)?g._extends({},n,c):n}:i=g._extends({},n,t),g._extends({},o,{sx:i})}const ds=Object.freeze(Object.defineProperty({__proto__:null,default:tr,extendSxProp:us,unstable_createStyleFunctionSx:mn,unstable_defaultSxConfig:Qe},Symbol.toStringTag,{value:"Module"}));function fs(e,t){return g._extends({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var q={},Dn={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})(Dn);var zn=Dn.exports;const hs=g.getAugmentedNamespace(jo),ps=g.getAugmentedNamespace(Fo);var Ln=zn;Object.defineProperty(q,"__esModule",{value:!0});q.alpha=Bn;q.blend=js;q.colorChannel=void 0;var ms=q.darken=fr;q.decomposeColor=ne;q.emphasize=Cs;var Wr=q.getContrastRatio=_s;q.getLuminance=gt;q.hexToRgb=Fn;q.hslToRgb=Hn;var gs=q.lighten=hr;q.private_safeAlpha=ws;q.private_safeColorChannel=void 0;q.private_safeDarken=Ss;q.private_safeEmphasize=Wn;q.private_safeLighten=Es;q.recomposeColor=De;q.rgbToHex=bs;var Ur=Ln(hs),ys=Ln(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 Fn(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(Fn(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.
59
+ */function Qa(e,t){const r=qt(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(`
60
+ `)):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:An,StyledEngineProvider:Pn,ThemeContext:xe,css:In,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=rr();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:Qe;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=g._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)?g._extends({},n,c):n}:i=g._extends({},n,t),g._extends({},o,{sx:i})}const us=Object.freeze(Object.defineProperty({__proto__:null,default:tr,extendSxProp:cs,unstable_createStyleFunctionSx:pn,unstable_defaultSxConfig:Qe},Symbol.toStringTag,{value:"Module"}));function ds(e,t){return g._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 fs=g.getAugmentedNamespace(Co),hs=g.getAugmentedNamespace(Lo);var zn=Dn;Object.defineProperty(q,"__esModule",{value:!0});q.alpha=Hn;q.blend=Cs;q.colorChannel=void 0;var ps=q.darken=fr;q.decomposeColor=ne;q.emphasize=Es;var Wr=q.getContrastRatio=bs;q.getLuminance=gt;q.hexToRgb=Ln;q.hslToRgb=Vn;var ms=q.lighten=hr;q.private_safeAlpha=_s;q.private_safeColorChannel=void 0;q.private_safeDarken=ws;q.private_safeEmphasize=Bn;q.private_safeLighten=Ss;q.recomposeColor=De;q.rgbToHex=xs;var Ur=zn(fs),gs=zn(hs);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,gs.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 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(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.
61
61
  The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,Ur.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.
62
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,Ur.default)(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Vn=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=Vn;const xs=(e,t)=>{try{return Vn(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 Hn(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,h=(f+r/30)%12)=>o-i*Math.max(Math.min(h-3,9-h,1),-1);let c="rgb";const d=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(c+="a",d.push(t[3])),De({type:c,values:d})}function gt(e){e=ne(e);let t=e.type==="hsl"||e.type==="hsla"?ne(Hn(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=gt(e),n=gt(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 ws(e,t,r){try{return Bn(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]*=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 fr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function hr(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 hr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Cs(e,t=.15){return gt(e)>.5?fr(e,t):hr(e,t)}function Wn(e,t,r){try{return Wn(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),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 Ts={black:"#000",white:"#fff"},Ze=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,Ms={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=Ms,$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"},Be=$s,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,As={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=As,Rs=["mode","contrastThreshold","tonalOffset"],qr={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:Ze.white,default:Ze.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}},Lt={text:{primary:Ze.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:Ze.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 Yr(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 Hs(e="light"){return e==="dark"?{main:Be[400],light:Be[300],dark:Be[700]}:{main:"#ed6c02",light:Be[500],dark:Be[900]}}function Bs(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=g._objectWithoutPropertiesLoose(e,Rs),i=e.primary||Ds(t),a=e.secondary||zs(t),c=e.error||Ls(t),d=e.info||Fs(t),f=e.success||Vs(t),h=e.warning||Hs(t);function m(l){const u=Wr(l,Lt.text.primary)>=r?Lt.text.primary:qr.text.primary;if(process.env.NODE_ENV!=="production"){const b=Wr(l,u);b<3&&console.error([`MUI: The contrast ratio of ${b}:1 for ${u} 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(`
62
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,Ur.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 vs=(e,t)=>{try{return Fn(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 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,h=(f+r/30)%12)=>o-i*Math.max(Math.min(h-3,9-h,1),-1);let c="rgb";const d=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(c+="a",d.push(t[3])),De({type:c,values:d})}function gt(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 bs(e,t){const r=gt(e),n=gt(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Hn(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 _s(e,t,r){try{return Hn(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]*=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 fr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function hr(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 Ss(e,t,r){try{return hr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Es(e,t=.15){return gt(e)>.5?fr(e,t):hr(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=(d,f)=>Math.round((d**(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"},Ze=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,Ms={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"},Be=Ms,$s={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=$s,Is={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=Is,Ps={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=Ps,As=["mode","contrastThreshold","tonalOffset"],qr={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:Ze.white,default:Ze.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}},Lt={text:{primary:Ze.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:Ze.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 Yr(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:Be[400],light:Be[300],dark:Be[700]}:{main:"#ed6c02",light:Be[500],dark:Be[900]}}function Hs(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=g._objectWithoutPropertiesLoose(e,As),i=e.primary||Rs(t),a=e.secondary||Ds(t),c=e.error||zs(t),d=e.info||Ls(t),f=e.success||Fs(t),h=e.warning||Vs(t);function m(l){const u=Wr(l,Lt.text.primary)>=r?Lt.text.primary:qr.text.primary;if(process.env.NODE_ENV!=="production"){const b=Wr(l,u);b<3&&console.error([`MUI: The contrast ratio of ${b}:1 for ${u} 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(`
63
63
  `))}return u}const p=({color:l,name:u,mainShade:b=500,lightShade:w=300,darkShade:_=700})=>{if(l=g._extends({},l),!l.main&&l[b]&&(l.main=l[b]),!l.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${u?` (${u})`:""} provided to augmentColor(color) is invalid.
64
64
  The color object needs to have a \`main\` property or a \`${b}\` property.`:qe(11,u?` (${u})`:"",b));if(typeof l.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${u?` (${u})`:""} provided to augmentColor(color) is invalid.
65
65
  \`color.main\` should be a string, but \`${JSON.stringify(l.main)}\` was provided instead.
@@ -74,6 +74,6 @@ const theme1 = createTheme({ palette: {
74
74
 
75
75
  const theme2 = createTheme({ palette: {
76
76
  primary: { main: green[500] },
77
- } });`:qe(12,u?` (${u})`:"",JSON.stringify(l.main)));return Yr(l,"light",w,n),Yr(l,"dark",_,n),l.contrastText||(l.contrastText=m(l.main)),l},x={dark:Lt,light:qr};return process.env.NODE_ENV!=="production"&&(x[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),le(g._extends({common:g._extends({},Ze),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:c,name:"error"}),warning:p({color:h,name:"warning"}),info:p({color:d,name:"info"}),success:p({color:f,name:"success"}),grey:Ns,contrastThreshold:r,getContrastText:m,augmentColor:p,tonalOffset:n},x[t]),o)}const Ws=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Us(e){return Math.round(e*1e5)/1e5}const Gr={textTransform:"uppercase"},Kr='"Roboto", "Helvetica", "Arial", sans-serif';function qs(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=Kr,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:c=500,fontWeightBold:d=700,htmlFontSize:f=16,allVariants:h,pxToRem:m}=r,p=g._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 x=o/14,v=m||(b=>`${b/f*x}rem`),l=(b,w,_,j,y)=>g._extends({fontFamily:n,fontWeight:b,fontSize:v(w),lineHeight:_},n===Kr?{letterSpacing:`${Us(j/w)}em`}:{},y,h),u={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,Gr),caption:l(a,12,1.66,.4),overline:l(a,12,2.66,1,Gr),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return le(g._extends({htmlFontSize:f,pxToRem:v,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:c,fontWeightBold:d},u),p,{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 Zr(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=g._extends({},Qs,e.easing),r=g._extends({},e0,e.duration),n=(o=["all"],i={})=>{const{duration:a=r.standard,easing:c=t.easeInOut,delay:d=0}=i,f=g._objectWithoutPropertiesLoose(i,Js);if(process.env.NODE_ENV!=="production"){const h=p=>typeof p=="string",m=p=>!isNaN(parseFloat(p));!h(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!m(a)&&!h(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),h(c)||console.error('MUI: Argument "easing" must be a string.'),!m(d)&&!h(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(`
78
- `)),Object.keys(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(h=>`${h} ${typeof a=="string"?a:Zr(a)} ${c} ${typeof d=="string"?d:Zr(d)}`).join(",")};return g._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=g._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.":qe(18));const c=Bs(n),d=rr(e);let f=le(d,{mixins:fs(d.breakpoints,r),palette:c,shadows:Xs.slice(),typography:qs(c,i),transitions:r0(o),zIndex:g._extends({},o0)});if(f=le(f,a),f=t.reduce((h,m)=>le(h,m),f),process.env.NODE_ENV!=="production"){const h=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],m=(p,x)=>{let v;for(v in p){const l=p[v];if(h.indexOf(v)!==-1&&Object.keys(l).length>0){if(process.env.NODE_ENV!=="production"){const u=Jt("",v);console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${v}\` internal state.`,"You can not override it like this: ",JSON.stringify(p,null,2),"",`Instead, you need to use the '&.${u}' syntax:`,JSON.stringify({root:{[`&.${u}`]:l}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
79
- `))}p[v]={}}}};Object.keys(f.components).forEach(p=>{const x=f.components[p].styleOverrides;x&&p.indexOf("Mui")===0&&m(x,p)})}return f.unstable_sxConfig=g._extends({},Qe,a==null?void 0:a.unstable_sxConfig),f.unstable_sx=function(m){return tr({sx:m,theme:this})},f}const s0=a0(),Un=s0,qn="$$material";function l0({props:e,name:t}){return ss({props:e,name:t,defaultTheme:Un,themeId:qn})}var tt={};const c0=g.getAugmentedNamespace(g._extends$1),u0=g.getAugmentedNamespace(g.objectWithoutPropertiesLoose),d0=g.getAugmentedNamespace(rs),f0=g.getAugmentedNamespace(Co),h0=g.getAugmentedNamespace($o),p0=g.getAugmentedNamespace(Mo),m0=g.getAugmentedNamespace(zi),g0=g.getAugmentedNamespace(ds);var ze=zn;Object.defineProperty(tt,"__esModule",{value:!0});var y0=tt.default=$0,v0=tt.shouldForwardProp=lt;tt.systemDefaultTheme=void 0;var te=ze(c0),Gt=ze(u0),Xr=T0(d0),x0=f0,b0=ze(h0),_0=ze(p0),w0=ze(m0),S0=ze(g0);const E0=["ownerState"],C0=["variants"],j0=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Yn(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Yn=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=Yn(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 lt(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const k0=tt.systemDefaultTheme=(0,w0.default)(),Jr=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function ot({defaultTheme:e,theme:t,themeId:r}){return O0(t)?e:t[r]||t}function M0(e){return e?(t,r)=>r[e]:null}function ct(e,t){let{ownerState:r}=t,n=(0,Gt.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 c=(0,Gt.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(h=>{(r==null?void 0:r[h])!==d.props[h]&&n[h]!==d.props[h]&&(f=!1)}),f&&(Array.isArray(c)||(c=[c]),c.push(typeof d.style=="function"?d.style((0,te.default)({ownerState:r},n,r)):d.style))}),c}return o}function $0(e={}){const{themeId:t,defaultTheme:r=k0,rootShouldForwardProp:n=lt,slotShouldForwardProp:o=lt}=e,i=a=>(0,S0.default)((0,te.default)({},a,{theme:ot((0,te.default)({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,c={})=>{(0,Xr.internal_processStyles)(a,y=>y.filter(S=>!(S!=null&&S.__mui_systemSx)));const{name:d,slot:f,skipVariantsResolver:h,skipSx:m,overridesResolver:p=M0(Jr(f))}=c,x=(0,Gt.default)(c,j0),v=h!==void 0?h:f&&f!=="Root"&&f!=="root"||!1,l=m||!1;let u;process.env.NODE_ENV!=="production"&&d&&(u=`${d}-${Jr(f||"Root")}`);let b=lt;f==="Root"||f==="root"?b=n:f?b=o:N0(a)&&(b=void 0);const w=(0,Xr.default)(a,(0,te.default)({shouldForwardProp:b,label:u},x)),_=y=>typeof y=="function"&&y.__emotion_real!==y||(0,x0.isPlainObject)(y)?S=>ct(y,(0,te.default)({},S,{theme:ot({theme:S.theme,defaultTheme:r,themeId:t})})):y,j=(y,...S)=>{let E=_(y);const $=S?S.map(_):[];d&&p&&$.push(z=>{const W=ot((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}))}),p(z,ae)}),d&&!v&&$.push(z=>{var W;const G=ot((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}))}),l||$.push(i);const I=$.length-S.length;if(Array.isArray(y)&&I>0){const z=new Array(I).fill("");E=[...y,...z],E.raw=[...y.raw,...z]}const B=w(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)})`),B.displayName=z}return a.muiName&&(B.muiName=a.muiName),B};return w.withConfig&&(j.withConfig=w.withConfig),j}}const I0=e=>v0(e)&&e!=="classes",P0=y0({themeId:qn,defaultTheme:Un,rootShouldForwardProp:I0}),A0=P0;function R0(e){return Jt("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=A0("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,d,f,h,m,p,x,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||(d=c.pxToRem)==null?void 0:d.call(c,24))||"1.5rem",large:((f=e.typography)==null||(h=f.pxToRem)==null?void 0:h.call(f,35))||"2.1875rem"}[t.fontSize],color:(m=(p=(e.vars||e).palette)==null||(p=p[t.color])==null?void 0:p.main)!=null?m:{action:(x=(e.vars||e).palette)==null||(x=x.action)==null?void 0:x.active,disabled:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),pr=L.forwardRef(function(t,r){const n=l0({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:c="svg",fontSize:d="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:m,viewBox:p="0 0 24 24"}=n,x=g._objectWithoutPropertiesLoose(n,D0),v=L.isValidElement(o)&&o.type==="svg",l=g._extends({},n,{color:a,component:c,fontSize:d,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:p,hasSvgAsChild:v}),u={};h||(u.viewBox=p);const b=z0(l);return s.jsxs(L0,g._extends({as:c,className:g.clsx(b.root,i),focusable:"false",color:f,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:r},u,x,v&&o.props,{ownerState:l,children:[v?o.props.children:o,m?s.jsx("title",{children:m}):null]}))});process.env.NODE_ENV!=="production"&&(pr.propTypes={children:g.PropTypes.node,classes:g.PropTypes.object,className:g.PropTypes.string,color:g.PropTypes.oneOfType([g.PropTypes.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),g.PropTypes.string]),component:g.PropTypes.elementType,fontSize:g.PropTypes.oneOfType([g.PropTypes.oneOf(["inherit","large","medium","small"]),g.PropTypes.string]),htmlColor:g.PropTypes.string,inheritViewBox:g.PropTypes.bool,shapeRendering:g.PropTypes.string,sx:g.PropTypes.oneOfType([g.PropTypes.arrayOf(g.PropTypes.oneOfType([g.PropTypes.func,g.PropTypes.object,g.PropTypes.bool])),g.PropTypes.func,g.PropTypes.object]),titleAccess:g.PropTypes.string,viewBox:g.PropTypes.string});pr.muiName="SvgIcon";const Qr=pr;function F0(e,t){function r(n,o){return s.jsx(Qr,g._extends({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Qr.muiName,L.memo(L.forwardRef(r))}const V0=F0(s.jsx("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");var en=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function H0(e,t){return!!(e===t||en(e)&&en(t))}function B0(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!H0(e[r],t[r]))return!1;return!0}function Ft(e,t){t===void 0&&(t=B0);var r,n=[],o,i=!1;function a(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];return i&&r===this&&t(c,n)||(o=e.apply(this,c),i=!0,r=this,n=c),o}return a}var W0=typeof performance=="object"&&typeof performance.now=="function",tn=W0?function(){return performance.now()}:function(){return Date.now()};function rn(e){cancelAnimationFrame(e.id)}function U0(e,t){var r=tn();function n(){tn()-r>=t?e.call(null):o.id=requestAnimationFrame(n)}var o={id:requestAnimationFrame(n)};return o}var Vt=-1;function nn(e){if(e===void 0&&(e=!1),Vt===-1||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),Vt=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Vt}var ke=null;function on(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},ut=null,dt=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(ut=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,c=e.getStopIndexForStartIndex,d=e.initInstanceProps,f=e.shouldResetStyleCacheOnItemSizeChange,h=e.validateProps;return t=function(m){g._inheritsLoose(p,m);function p(v){var l;return l=m.call(this,v)||this,l._instanceProps=d(l.props,g._assertThisInitialized(l)),l._outerRef=void 0,l._resetIsScrollingTimeoutId=null,l.state={instance:g._assertThisInitialized(l),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof l.props.initialScrollOffset=="number"?l.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},l._callOnItemsRendered=void 0,l._callOnItemsRendered=Ft(function(u,b,w,_){return l.props.onItemsRendered({overscanStartIndex:u,overscanStopIndex:b,visibleStartIndex:w,visibleStopIndex:_})}),l._callOnScroll=void 0,l._callOnScroll=Ft(function(u,b,w){return l.props.onScroll({scrollDirection:u,scrollOffset:b,scrollUpdateWasRequested:w})}),l._getItemStyle=void 0,l._getItemStyle=function(u){var b=l.props,w=b.direction,_=b.itemSize,j=b.layout,y=l._getItemStyleCache(f&&_,f&&j,f&&w),S;if(y.hasOwnProperty(u))S=y[u];else{var E=r(l.props,u,l._instanceProps),$=o(l.props,u,l._instanceProps),I=w==="horizontal"||j==="horizontal",B=w==="rtl",z=I?E:0;y[u]=S={position:"absolute",left:B?void 0:z,right:B?z:void 0,top:I?0:E,height:I?"100%":$,width:I?$:"100%"}}return S},l._getItemStyleCache=void 0,l._getItemStyleCache=Ft(function(u,b,w){return{}}),l._onScrollHorizontal=function(u){var b=u.currentTarget,w=b.clientWidth,_=b.scrollLeft,j=b.scrollWidth;l.setState(function(y){if(y.scrollOffset===_)return null;var S=l.props.direction,E=_;if(S==="rtl")switch(on()){case"negative":E=-_;break;case"positive-descending":E=j-w-_;break}return E=Math.max(0,Math.min(E,j-w)),{isScrolling:!0,scrollDirection:y.scrollOffset<E?"forward":"backward",scrollOffset:E,scrollUpdateWasRequested:!1}},l._resetIsScrollingDebounced)},l._onScrollVertical=function(u){var b=u.currentTarget,w=b.clientHeight,_=b.scrollHeight,j=b.scrollTop;l.setState(function(y){if(y.scrollOffset===j)return null;var S=Math.max(0,Math.min(j,_-w));return{isScrolling:!0,scrollDirection:y.scrollOffset<S?"forward":"backward",scrollOffset:S,scrollUpdateWasRequested:!1}},l._resetIsScrollingDebounced)},l._outerRefSetter=function(u){var b=l.props.outerRef;l._outerRef=u,typeof b=="function"?b(u):b!=null&&typeof b=="object"&&b.hasOwnProperty("current")&&(b.current=u)},l._resetIsScrollingDebounced=function(){l._resetIsScrollingTimeoutId!==null&&rn(l._resetIsScrollingTimeoutId),l._resetIsScrollingTimeoutId=U0(l._resetIsScrolling,q0)},l._resetIsScrolling=function(){l._resetIsScrollingTimeoutId=null,l.setState({isScrolling:!1},function(){l._getItemStyleCache(-1,null)})},l}p.getDerivedStateFromProps=function(l,u){return K0(l,u),h(l),null};var x=p.prototype;return x.scrollTo=function(l){l=Math.max(0,l),this.setState(function(u){return u.scrollOffset===l?null:{scrollDirection:u.scrollOffset<l?"forward":"backward",scrollOffset:l,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},x.scrollToItem=function(l,u){u===void 0&&(u="auto");var b=this.props,w=b.itemCount,_=b.layout,j=this.state.scrollOffset;l=Math.max(0,Math.min(l,w-1));var y=0;if(this._outerRef){var S=this._outerRef;_==="vertical"?y=S.scrollWidth>S.clientWidth?nn():0:y=S.scrollHeight>S.clientHeight?nn():0}this.scrollTo(i(this.props,l,u,j,this._instanceProps,y))},x.componentDidMount=function(){var l=this.props,u=l.direction,b=l.initialScrollOffset,w=l.layout;if(typeof b=="number"&&this._outerRef!=null){var _=this._outerRef;u==="horizontal"||w==="horizontal"?_.scrollLeft=b:_.scrollTop=b}this._callPropsCallbacks()},x.componentDidUpdate=function(){var l=this.props,u=l.direction,b=l.layout,w=this.state,_=w.scrollOffset,j=w.scrollUpdateWasRequested;if(j&&this._outerRef!=null){var y=this._outerRef;if(u==="horizontal"||b==="horizontal")if(u==="rtl")switch(on()){case"negative":y.scrollLeft=-_;break;case"positive-ascending":y.scrollLeft=_;break;default:var S=y.clientWidth,E=y.scrollWidth;y.scrollLeft=E-S-_;break}else y.scrollLeft=_;else y.scrollTop=_}this._callPropsCallbacks()},x.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&rn(this._resetIsScrollingTimeoutId)},x.render=function(){var l=this.props,u=l.children,b=l.className,w=l.direction,_=l.height,j=l.innerRef,y=l.innerElementType,S=l.innerTagName,E=l.itemCount,$=l.itemData,I=l.itemKey,B=I===void 0?Y0:I,z=l.layout,W=l.outerElementType,G=l.outerTagName,ae=l.style,me=l.useIsScrolling,ge=l.width,be=this.state.isScrolling,ue=w==="horizontal"||z==="horizontal",_e=ue?this._onScrollHorizontal:this._onScrollVertical,ye=this._getRangeToRender(),Le=ye[0],Fe=ye[1],we=[];if(E>0)for(var de=Le;de<=Fe;de++)we.push(C.createElement(u,{data:$,key:B(de,$),index:de,isScrolling:me?be:void 0,style:this._getItemStyle(de)}));var Se=n(this.props,this._instanceProps);return C.createElement(W||G||"div",{className:b,onScroll:_e,ref:this._outerRefSetter,style:g._extends({position:"relative",height:_,width:ge,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:w},ae)},C.createElement(y||S||"div",{children:we,ref:j,style:{height:ue?"100%":Se,pointerEvents:be?"none":void 0,width:ue?Se:"100%"}}))},x._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var l=this.props.itemCount;if(l>0){var u=this._getRangeToRender(),b=u[0],w=u[1],_=u[2],j=u[3];this._callOnItemsRendered(b,w,_,j)}}if(typeof this.props.onScroll=="function"){var y=this.state,S=y.scrollDirection,E=y.scrollOffset,$=y.scrollUpdateWasRequested;this._callOnScroll(S,E,$)}},x._getRangeToRender=function(){var l=this.props,u=l.itemCount,b=l.overscanCount,w=this.state,_=w.isScrolling,j=w.scrollDirection,y=w.scrollOffset;if(u===0)return[0,0,0,0];var S=a(this.props,y,this._instanceProps),E=c(this.props,S,y,this._instanceProps),$=!_||j==="backward"?Math.max(1,b):1,I=!_||j==="forward"?Math.max(1,b):1;return[Math.max(0,S-$),Math.max(0,Math.min(u-1,E+I)),S,E]},p}(C.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,c=t.innerTagName,d=t.outerTagName,f=t.width,h=r.instance;if(process.env.NODE_ENV!=="production"){(c!=null||d!=null)&&dt&&!dt.has(h)&&(dt.add(h),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var m=o==="horizontal"||a==="horizontal";switch(o){case"horizontal":case"vertical":ut&&!ut.has(h)&&(ut.add(h),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(m&&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(!m&&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,Me=function(t,r,n){var o=t,i=o.itemSize,a=n.itemMetadataMap,c=n.lastMeasuredIndex;if(r>c){var d=0;if(c>=0){var f=a[c];d=f.offset+f.size}for(var h=c+1;h<=r;h++){var m=i(h);a[h]={offset:d,size:m},d+=m}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?Gn(t,r,i,0,n):J0(t,r,Math.max(0,i),n)},Gn=function(t,r,n,o,i){for(;o<=n;){var a=o+Math.floor((n-o)/2),c=Me(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},J0=function(t,r,n,o){for(var i=t.itemCount,a=1;n<i&&Me(t,n,r).offset<o;)n+=a,a*=2;return Gn(t,r,Math.min(n,i-1),Math.floor(n/2),o)},an=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 d=o[a];c=d.offset+d.size}var f=n-a-1,h=f*i;return c+h},Q0=G0({getItemOffset:function(t,r,n){return Me(t,r,n).offset},getItemSize:function(t,r,n){return n.itemMetadataMap[r].size},getEstimatedTotalSize:an,getOffsetForIndexAndAlignment:function(t,r,n,o,i,a){var c=t.direction,d=t.height,f=t.layout,h=t.width,m=c==="horizontal"||f==="horizontal",p=m?h:d,x=Me(t,r,i),v=an(t,i),l=Math.max(0,Math.min(v-p,x.offset)),u=Math.max(0,x.offset-p+x.size+a);switch(n==="smart"&&(o>=u-p&&o<=l+p?n="auto":n="center"),n){case"start":return l;case"end":return u;case"center":return Math.round(u+(l-u)/2);case"auto":default:return o>=u&&o<=l?o:o<u?u:l}},getStartIndexForOffset:function(t,r,n){return X0(t,n,r)},getStopIndexForStartIndex:function(t,r,n,o){for(var i=t.direction,a=t.height,c=t.itemCount,d=t.layout,f=t.width,h=i==="horizontal"||d==="horizontal",m=h?f:a,p=Me(t,r,o),x=n+m,v=p.offset+p.size,l=r;l<c-1&&v<x;)l++,v+=Me(t,l,o).size;return l},initInstanceProps:function(t,r){var n=t,o=n.estimatedItemSize,i={itemMetadataMap:{},estimatedItemSize:o||Z0,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 ft(e,t){return t?e:void 0}function Kt(e){return s.jsx(M.Stack,{sx:{cursor:"pointer"},onClick:t=>{var r;t.preventDefault(),t.stopPropagation(),(r=e.onClick)==null||r.call(e,e.option)},...e.stackProps,children:s.jsx(M.Stack,{sx:{p:1,transition:"0.2s",borderRadius:"5px",cursor:"pointer",...ft({backgroundColor:"#E5F5ED"},e.select),":hover":{backgroundColor:"#eeeeee80",borderColor:"transparent"}},children:e.renderOption(e.option)})})}const yt=37,el=(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?yt+21:yt};function tl(e){const[t,r]=C.useState(!1),[n,o]=C.useState(""),[i,a]=C.useState(""),[c,d]=C.useState(!1),{isRequired:f=!1}=e,h=C.useCallback(g._.debounce(S=>{var E;(E=e.handleChangeSearch)==null||E.call(e,S)},300),[e.handleChangeSearch]),m=()=>{r(!t)},p=()=>{r(!1),a(""),h("")};C.useEffect(()=>{o(e.value?e.getOptionLabel(e.value):"")},[e.value]),C.useEffect(()=>{t||o(e.value?e.getOptionLabel(e.value):"")},[t]),C.useEffect(()=>{d(e.searchLoading)},[e.paging.rows,e.searchLoading]);const x=e.paging.rows,{hasNextPage:v}=e,l=v?x.length+1:x.length,u=()=>e.isNextPageLoading?void 0:e.loadNextPage(i),b=S=>!v||S<x.length,w=S=>{o(S.target.value),t&&(a(S.target.value),h(S.target.value),d(!0))},_=C.useRef(null),j=C.useRef(null),y=C.useRef(null);return C.useEffect(()=>{var S,E,$,I;t?((S=j.current)==null||S.classList.add("Mui-focused"),(E=y.current)==null||E.classList.add("Mui-focused")):(($=j.current)==null||$.classList.remove("Mui-focused"),(I=y.current)==null||I.classList.remove("Mui-focused"))},[t]),s.jsx(M.ClickAwayListener,{onClickAway:p,mouseEvent:"onMouseDown",touchEvent:"onTouchEnd",children:s.jsx("div",{ref:_,style:{width:e.wrapperWidth??"auto"},children:s.jsxs(M.Stack,{sx:{position:"relative"},children:[s.jsx(M.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:w,placeholder:e.placeholder||"All options",sx:{"& input:not(:focus)":{"&::placeholder":{color:e.placeHolderColor||"#C5C5C5",opacity:1}}},InputLabelProps:{ref:j,shrink:!0},InputProps:{readOnly:e.readOnly,ref:y,endAdornment:s.jsx(M.IconButton,{size:"small",sx:{padding:"1px"},onClick:S=>{var E;S.preventDefault(),S.stopPropagation(),m(),(E=_.current)==null||E.focus()},disabled:e.loading||e.disabled||e.readOnly,children:e.loading?s.jsx(M.CircularProgress,{size:"16px"}):s.jsx(V0,{fontSize:"small",style:{transition:"0.3s"},className:t?"rotate":""})})}}),s.jsx(M.Fade,{in:t,timeout:0,unmountOnExit:!1,children:s.jsxs(M.Paper,{sx:{position:"absolute",top:"calc(100% + 2px)",zIndex:2,left:0,right:0,p:1},children:[!e.disabledAllOption&&s.jsx(M.Stack,{sx:{...ft({display:"none"},!!c)},children:s.jsx(M.Stack,{children:s.jsx(Kt,{option:void 0,select:!e.value,renderOption:()=>s.jsx(M.Typography,{children:e.placeholder||"All options"}),onClick:()=>{var S,E;p(),(S=e.onChange)==null||S.call(e,void 0),(E=e.handleChangeSearch)==null||E.call(e,"")}})})}),!c&&s.jsx(g.InfiniteLoader,{isItemLoaded:b,itemCount:l,loadMoreItems:u,threshold:5,children:({onItemsRendered:S,ref:E})=>s.jsx(Q0,{ref:E,onItemsRendered:S,height:yt*Math.min(e.itemsNumber||6,l),itemCount:l,itemSize:$=>{var I;return el((I=_.current)==null?void 0:I.offsetWidth,x[$]?e.getOptionLabel(x[$]):"")},width:"100%",className:"styled-scroll",children:({index:$,style:I})=>{var z;const B=x[$];return b($)?s.jsx(Kt,{stackProps:{style:I},option:B,renderOption:W=>{var G;return s.jsxs(M.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",children:[s.jsx(M.Typography,{children:e.getOptionLabel(W)}),(G=e.renderOptionTooltip)==null?void 0:G.call(e,W)]})},onClick:W=>{var G;p(),(G=e.onChange)==null||G.call(e,W)},select:((z=e.isEqual)==null?void 0:z.call(e,B,e.value))??g._.isEqual(B,e.value)}):s.jsx(M.Stack,{style:I,sx:{height:yt,pl:1},justifyContent:"center",children:s.jsx(M.Typography,{children:"Loading..."})})}})}),s.jsx(M.Stack,{sx:{height:30,display:"flex",justifyContent:"center",paddingLeft:"5px",...ft({display:"none"},!c)},children:s.jsx(M.Typography,{color:"grayText",children:"Searching..."})}),s.jsx(M.Stack,{sx:{height:30,display:"flex",justifyContent:"center",paddingLeft:"5px",...ft({display:"none"},!!(x.length||e.loading||c))},children:s.jsx(M.Typography,{color:"grayText",children:"No options"})})]})})]})})})}function rl(e){var h;const{listProps:t}=e,[r,n]=C.useState({initLoading:!e.disabled,searchLoading:!1,hasNextPage:!1,isNextPageLoading:!1,paging:{page:1,pageSize:((h=e.listProps)==null?void 0:h.pageSize)||20,rows:[],total:0,totalPages:1}}),o=async(m,p)=>{var x,v;if(e.list)n(()=>{var b;const l=((b=m==null?void 0:m.search)==null?void 0:b.content)||"";return{hasNextPage:!1,isNextPageLoading:!1,paging:{page:1,pageSize:1e5,rows:e.list.options.filter(w=>e.list.searchOption?e.list.searchOption(w,l):g.search(w,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,...m==null?void 0:m.filter},...g.lodashExports.omit(t,"filter"),...g.lodashExports.omit(m,"filter"),search:{fields:((x=t==null?void 0:t.search)==null?void 0:x.fields)??[],content:((v=m==null?void 0:m.search)==null?void 0:v.content)??""}};p&&(l.filter={},l.search&&(l.search.content=""),l.page=1);const u=await e.getList(l);n(b=>({initLoading:!1,searchLoading:!1,isNextPageLoading:!1,paging:{...u,rows:(m==null?void 0:m.page)===1?u.rows:b.paging.rows.concat(u.rows)},hasNextPage:u.page<u.totalPages}))}catch{}}},i=()=>(n(m=>({...m,initLoading:!0})),o(void 0,!0)),a=m=>(n(p=>({...p,initLoading:!0})),o(m)),c=m=>{o({page:r.paging.page+1,search:{content:m}})},d=m=>{n(p=>({...p,searchLoading:!0})),o({page:1,search:{content:m}})};C.useEffect(()=>{e.disabled||(n(m=>({...m,initLoading:!0})),o({page:1}))},[...e.dependencyList||[]]);const f=()=>{n(m=>({...m,initLoading:!m.initLoading}))};return{...e,loadNextPage:c,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 nl(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 ol="Reset date";function il(e){var c,d;const[t,r]=C.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");C.useEffect(()=>{r(e.value)},[e.value]);const o=C.useRef(null),i=C.useRef(null),a=C.useRef(null);return console.log("inputRef",o),console.log("labelRef",i),s.jsx(g.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,((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,h)=>{var u,b,w;const m=h.chosenLabel===ol,{startDate:p,endDate:x}=h,v=m?((u=e.dateReset)==null?void 0:u.startDate)??void 0:p.toDate(),l=m?((b=e.dateReset)==null?void 0:b.endDate)??void 0:x.toDate();r({startDate:v,endDate:l}),(w=e.onChange)==null||w.call(e,{startDate:v,endDate:l})},children:s.jsx(M.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(nl,{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 al(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 sl(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:"#009D4F",strokeWidth:"1.5"}),s.jsx("path",{d:"M9 12L11 14L15 10",stroke:"#009D4F",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}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=g.getMessagingInWindow(g.initializeApp({apiKey:e.apiKey,authDomain:e.authDomain,projectId:e.projectId,storageBucket:e.storageBucket,messagingSenderId:e.messagingSenderId,appId:e.appId,measurementId:e.measurementId}));g.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 Ue.post(c,{deviceToken:n},{withCredentials:!0})}catch(a){console.log(a),g.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)})},ll=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}}))}},cl=e=>new Promise(t=>{const r=g.getMessagingInWindow(g.initializeApp({apiKey:e.apiKey,authDomain:e.authDomain,projectId:e.projectId,storageBucket:e.storageBucket,messagingSenderId:e.messagingSenderId,appId:e.appId,measurementId:e.measurementId}));g.onMessage(r,n=>{console.log("payload",n),t(n)})}),ul=["granted","denied"],dl=e=>{const[t,r]=C.useState(!1),n=()=>{Notification.requestPermission(function(i){i==="granted"&&Kn(e),ul.includes(i)&&r(!0)})},o=()=>{r(!0)};return s.jsx(s.Fragment,{children:t?"":s.jsx("div",{className:g.styles$1["subscription-diaglog"],children:s.jsxs("div",{className:g.styles$1["subscription-container"],children:[s.jsx("h4",{className:g.styles$1["subscription-title"],children:"Notification"}),s.jsx("p",{className:g.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:g.styles$1["subscription-btn__container"],children:[s.jsx("button",{className:g.styles$1["btn-cancel"],onClick:o,children:"Not now"}),s.jsx("button",{className:g.styles$1["btn-success"],onClick:n,children:"Turn on"})]})]})})})},Zn=e=>{const[t,r]=C.useState({userName:"",message:"",context:""});console.log(t);const{setNotiData:n}=C.useContext(g.CustomOpenList);function o(){return s.jsx("div",{className:g.styles$2["notification-massage_container"],children:s.jsxs("div",{className:g.styles$2["notification-massage_content"],children:[s.jsx("h6",{className:g.styles$2["notification-name"],children:t==null?void 0:t.userName}),s.jsxs("div",{className:g.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 C.useEffect(()=>{t&&Notification.permission==="granted"&&(t.userName||t.message||t.context)&&g.notify(s.jsx(o,{}))},[t]),C.useEffect(()=>{Notification.permission==="granted"&&Kn(e)},[Notification.permission]),C.useEffect(()=>{ll(n)},[]),cl(e).then(i=>{var a,c,d;console.log("aaa",i),r({userName:(a=i==null?void 0:i.data)==null?void 0:a.userName,message:(c=i==null?void 0:i.data)==null?void 0:c.message,context:(d=i==null?void 0:i.data)==null?void 0:d.context}),n(f=>{var h;return{...f,unread:{...f.unread,total:((h=f.unread)==null?void 0:h.total)+1}}})}).catch(i=>console.log("failed: ",i)),s.jsx("div",{children:"Notification"in window&&Notification.permission==="default"?s.jsx(dl,{...e}):""})},fl=(e,t)=>C.cloneElement(t,{},e),hl=({children:e,providers:t})=>s.jsx(s.Fragment,{children:t.reduceRight(fl,e)});exports.GlobalMenu=g.GlobalMenu;exports.notify=g.notify;exports.pushError=g.pushError;exports.pushSuccess=g.pushSuccess;exports.pushWarning=g.pushWarning;exports.AutocompleteOption=Kt;exports.CheckedIcon=sl;exports.MultiProvider=hl;exports.NoData=go;exports.NotificationBase=Zn;exports.PopUpBase=_o;exports.StyledAutocomplete=tl;exports.StyledDateRangePicker=il;exports.ToastConfig=eo;exports.ToastConfigNotification=to;exports.TopBar=ho;exports.UnauthorizedPage=So;exports.UncheckedIcon=al;exports.usePopUp=wo;exports.useStyledAutocomplete=rl;
77
+ } });`:qe(12,u?` (${u})`:"",JSON.stringify(l.main)));return Yr(l,"light",w,n),Yr(l,"dark",_,n),l.contrastText||(l.contrastText=m(l.main)),l},x={dark:Lt,light:qr};return process.env.NODE_ENV!=="production"&&(x[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),le(g._extends({common:g._extends({},Ze),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:c,name:"error"}),warning:p({color:h,name:"warning"}),info:p({color:d,name:"info"}),success:p({color:f,name:"success"}),grey:Os,contrastThreshold:r,getContrastText:m,augmentColor:p,tonalOffset:n},x[t]),o)}const Bs=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Ws(e){return Math.round(e*1e5)/1e5}const Gr={textTransform:"uppercase"},Kr='"Roboto", "Helvetica", "Arial", sans-serif';function Us(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=Kr,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:c=500,fontWeightBold:d=700,htmlFontSize:f=16,allVariants:h,pxToRem:m}=r,p=g._objectWithoutPropertiesLoose(r,Bs);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 x=o/14,v=m||(b=>`${b/f*x}rem`),l=(b,w,_,j,y)=>g._extends({fontFamily:n,fontWeight:b,fontSize:v(w),lineHeight:_},n===Kr?{letterSpacing:`${Ws(j/w)}em`}:{},y,h),u={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,Gr),caption:l(a,12,1.66,.4),overline:l(a,12,2.66,1,Gr),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return le(g._extends({htmlFontSize:f,pxToRem:v,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:c,fontWeightBold:d},u),p,{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 Zr(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=g._extends({},Js,e.easing),r=g._extends({},Qs,e.duration),n=(o=["all"],i={})=>{const{duration:a=r.standard,easing:c=t.easeInOut,delay:d=0}=i,f=g._objectWithoutPropertiesLoose(i,Xs);if(process.env.NODE_ENV!=="production"){const h=p=>typeof p=="string",m=p=>!isNaN(parseFloat(p));!h(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!m(a)&&!h(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),h(c)||console.error('MUI: Argument "easing" must be a string.'),!m(d)&&!h(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(`
78
+ `)),Object.keys(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(h=>`${h} ${typeof a=="string"?a:Zr(a)} ${c} ${typeof d=="string"?d:Zr(d)}`).join(",")};return g._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=g._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.":qe(18));const c=Hs(n),d=rr(e);let f=le(d,{mixins:ds(d.breakpoints,r),palette:c,shadows:Zs.slice(),typography:Us(c,i),transitions:t0(o),zIndex:g._extends({},n0)});if(f=le(f,a),f=t.reduce((h,m)=>le(h,m),f),process.env.NODE_ENV!=="production"){const h=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],m=(p,x)=>{let v;for(v in p){const l=p[v];if(h.indexOf(v)!==-1&&Object.keys(l).length>0){if(process.env.NODE_ENV!=="production"){const u=Jt("",v);console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${v}\` internal state.`,"You can not override it like this: ",JSON.stringify(p,null,2),"",`Instead, you need to use the '&.${u}' syntax:`,JSON.stringify({root:{[`&.${u}`]:l}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
79
+ `))}p[v]={}}}};Object.keys(f.components).forEach(p=>{const x=f.components[p].styleOverrides;x&&p.indexOf("Mui")===0&&m(x,p)})}return f.unstable_sxConfig=g._extends({},Qe,a==null?void 0:a.unstable_sxConfig),f.unstable_sx=function(m){return tr({sx:m,theme:this})},f}const a0=i0(),Wn=a0,Un="$$material";function s0({props:e,name:t}){return as({props:e,name:t,defaultTheme:Wn,themeId:Un})}var tt={};const l0=g.getAugmentedNamespace(g._extends$1),c0=g.getAugmentedNamespace(g.objectWithoutPropertiesLoose),u0=g.getAugmentedNamespace(ts),d0=g.getAugmentedNamespace(Eo),f0=g.getAugmentedNamespace(Mo),h0=g.getAugmentedNamespace(ko),p0=g.getAugmentedNamespace(Di),m0=g.getAugmentedNamespace(us);var ze=Dn;Object.defineProperty(tt,"__esModule",{value:!0});var g0=tt.default=M0,y0=tt.shouldForwardProp=lt;tt.systemDefaultTheme=void 0;var te=ze(l0),Gt=ze(c0),Xr=j0(u0),v0=d0,x0=ze(f0),b0=ze(h0),_0=ze(p0),w0=ze(m0);const S0=["ownerState"],E0=["variants"],C0=["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 j0(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 T0(e){return Object.keys(e).length===0}function O0(e){return typeof e=="string"&&e.charCodeAt(0)>96}function lt(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const N0=tt.systemDefaultTheme=(0,_0.default)(),Jr=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function ot({defaultTheme:e,theme:t,themeId:r}){return T0(t)?e:t[r]||t}function k0(e){return e?(t,r)=>r[e]:null}function ct(e,t){let{ownerState:r}=t,n=(0,Gt.default)(t,S0);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 c=(0,Gt.default)(o,E0);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(h=>{(r==null?void 0:r[h])!==d.props[h]&&n[h]!==d.props[h]&&(f=!1)}),f&&(Array.isArray(c)||(c=[c]),c.push(typeof d.style=="function"?d.style((0,te.default)({ownerState:r},n,r)):d.style))}),c}return o}function M0(e={}){const{themeId:t,defaultTheme:r=N0,rootShouldForwardProp:n=lt,slotShouldForwardProp:o=lt}=e,i=a=>(0,w0.default)((0,te.default)({},a,{theme:ot((0,te.default)({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,c={})=>{(0,Xr.internal_processStyles)(a,y=>y.filter(S=>!(S!=null&&S.__mui_systemSx)));const{name:d,slot:f,skipVariantsResolver:h,skipSx:m,overridesResolver:p=k0(Jr(f))}=c,x=(0,Gt.default)(c,C0),v=h!==void 0?h:f&&f!=="Root"&&f!=="root"||!1,l=m||!1;let u;process.env.NODE_ENV!=="production"&&d&&(u=`${d}-${Jr(f||"Root")}`);let b=lt;f==="Root"||f==="root"?b=n:f?b=o:O0(a)&&(b=void 0);const w=(0,Xr.default)(a,(0,te.default)({shouldForwardProp:b,label:u},x)),_=y=>typeof y=="function"&&y.__emotion_real!==y||(0,v0.isPlainObject)(y)?S=>ct(y,(0,te.default)({},S,{theme:ot({theme:S.theme,defaultTheme:r,themeId:t})})):y,j=(y,...S)=>{let E=_(y);const $=S?S.map(_):[];d&&p&&$.push(z=>{const W=ot((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}))}),p(z,ae)}),d&&!v&&$.push(z=>{var W;const G=ot((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}))}),l||$.push(i);const I=$.length-S.length;if(Array.isArray(y)&&I>0){const z=new Array(I).fill("");E=[...y,...z],E.raw=[...y.raw,...z]}const B=w(E,...$);if(process.env.NODE_ENV!=="production"){let z;d&&(z=`${d}${(0,x0.default)(f||"")}`),z===void 0&&(z=`Styled(${(0,b0.default)(a)})`),B.displayName=z}return a.muiName&&(B.muiName=a.muiName),B};return w.withConfig&&(j.withConfig=w.withConfig),j}}const $0=e=>y0(e)&&e!=="classes",I0=g0({themeId:Un,defaultTheme:Wn,rootShouldForwardProp:$0}),P0=I0;function A0(e){return Jt("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 $o(o,A0,n)},z0=P0("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,d,f,h,m,p,x,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||(d=c.pxToRem)==null?void 0:d.call(c,24))||"1.5rem",large:((f=e.typography)==null||(h=f.pxToRem)==null?void 0:h.call(f,35))||"2.1875rem"}[t.fontSize],color:(m=(p=(e.vars||e).palette)==null||(p=p[t.color])==null?void 0:p.main)!=null?m:{action:(x=(e.vars||e).palette)==null||(x=x.action)==null?void 0:x.active,disabled:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),pr=L.forwardRef(function(t,r){const n=s0({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:c="svg",fontSize:d="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:m,viewBox:p="0 0 24 24"}=n,x=g._objectWithoutPropertiesLoose(n,R0),v=L.isValidElement(o)&&o.type==="svg",l=g._extends({},n,{color:a,component:c,fontSize:d,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:p,hasSvgAsChild:v}),u={};h||(u.viewBox=p);const b=D0(l);return s.jsxs(z0,g._extends({as:c,className:g.clsx(b.root,i),focusable:"false",color:f,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:r},u,x,v&&o.props,{ownerState:l,children:[v?o.props.children:o,m?s.jsx("title",{children:m}):null]}))});process.env.NODE_ENV!=="production"&&(pr.propTypes={children:g.PropTypes.node,classes:g.PropTypes.object,className:g.PropTypes.string,color:g.PropTypes.oneOfType([g.PropTypes.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),g.PropTypes.string]),component:g.PropTypes.elementType,fontSize:g.PropTypes.oneOfType([g.PropTypes.oneOf(["inherit","large","medium","small"]),g.PropTypes.string]),htmlColor:g.PropTypes.string,inheritViewBox:g.PropTypes.bool,shapeRendering:g.PropTypes.string,sx:g.PropTypes.oneOfType([g.PropTypes.arrayOf(g.PropTypes.oneOfType([g.PropTypes.func,g.PropTypes.object,g.PropTypes.bool])),g.PropTypes.func,g.PropTypes.object]),titleAccess:g.PropTypes.string,viewBox:g.PropTypes.string});pr.muiName="SvgIcon";const Qr=pr;function L0(e,t){function r(n,o){return s.jsx(Qr,g._extends({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Qr.muiName,L.memo(L.forwardRef(r))}const F0=L0(s.jsx("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");var en=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function V0(e,t){return!!(e===t||en(e)&&en(t))}function H0(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 Ft(e,t){t===void 0&&(t=H0);var r,n=[],o,i=!1;function a(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];return i&&r===this&&t(c,n)||(o=e.apply(this,c),i=!0,r=this,n=c),o}return a}var B0=typeof performance=="object"&&typeof performance.now=="function",tn=B0?function(){return performance.now()}:function(){return Date.now()};function rn(e){cancelAnimationFrame(e.id)}function W0(e,t){var r=tn();function n(){tn()-r>=t?e.call(null):o.id=requestAnimationFrame(n)}var o={id:requestAnimationFrame(n)};return o}var Vt=-1;function nn(e){if(e===void 0&&(e=!1),Vt===-1||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),Vt=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Vt}var ke=null;function on(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},ut=null,dt=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(ut=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,d=e.initInstanceProps,f=e.shouldResetStyleCacheOnItemSizeChange,h=e.validateProps;return t=function(m){g._inheritsLoose(p,m);function p(v){var l;return l=m.call(this,v)||this,l._instanceProps=d(l.props,g._assertThisInitialized(l)),l._outerRef=void 0,l._resetIsScrollingTimeoutId=null,l.state={instance:g._assertThisInitialized(l),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof l.props.initialScrollOffset=="number"?l.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},l._callOnItemsRendered=void 0,l._callOnItemsRendered=Ft(function(u,b,w,_){return l.props.onItemsRendered({overscanStartIndex:u,overscanStopIndex:b,visibleStartIndex:w,visibleStopIndex:_})}),l._callOnScroll=void 0,l._callOnScroll=Ft(function(u,b,w){return l.props.onScroll({scrollDirection:u,scrollOffset:b,scrollUpdateWasRequested:w})}),l._getItemStyle=void 0,l._getItemStyle=function(u){var b=l.props,w=b.direction,_=b.itemSize,j=b.layout,y=l._getItemStyleCache(f&&_,f&&j,f&&w),S;if(y.hasOwnProperty(u))S=y[u];else{var E=r(l.props,u,l._instanceProps),$=o(l.props,u,l._instanceProps),I=w==="horizontal"||j==="horizontal",B=w==="rtl",z=I?E:0;y[u]=S={position:"absolute",left:B?void 0:z,right:B?z:void 0,top:I?0:E,height:I?"100%":$,width:I?$:"100%"}}return S},l._getItemStyleCache=void 0,l._getItemStyleCache=Ft(function(u,b,w){return{}}),l._onScrollHorizontal=function(u){var b=u.currentTarget,w=b.clientWidth,_=b.scrollLeft,j=b.scrollWidth;l.setState(function(y){if(y.scrollOffset===_)return null;var S=l.props.direction,E=_;if(S==="rtl")switch(on()){case"negative":E=-_;break;case"positive-descending":E=j-w-_;break}return E=Math.max(0,Math.min(E,j-w)),{isScrolling:!0,scrollDirection:y.scrollOffset<E?"forward":"backward",scrollOffset:E,scrollUpdateWasRequested:!1}},l._resetIsScrollingDebounced)},l._onScrollVertical=function(u){var b=u.currentTarget,w=b.clientHeight,_=b.scrollHeight,j=b.scrollTop;l.setState(function(y){if(y.scrollOffset===j)return null;var S=Math.max(0,Math.min(j,_-w));return{isScrolling:!0,scrollDirection:y.scrollOffset<S?"forward":"backward",scrollOffset:S,scrollUpdateWasRequested:!1}},l._resetIsScrollingDebounced)},l._outerRefSetter=function(u){var b=l.props.outerRef;l._outerRef=u,typeof b=="function"?b(u):b!=null&&typeof b=="object"&&b.hasOwnProperty("current")&&(b.current=u)},l._resetIsScrollingDebounced=function(){l._resetIsScrollingTimeoutId!==null&&rn(l._resetIsScrollingTimeoutId),l._resetIsScrollingTimeoutId=W0(l._resetIsScrolling,U0)},l._resetIsScrolling=function(){l._resetIsScrollingTimeoutId=null,l.setState({isScrolling:!1},function(){l._getItemStyleCache(-1,null)})},l}p.getDerivedStateFromProps=function(l,u){return G0(l,u),h(l),null};var x=p.prototype;return x.scrollTo=function(l){l=Math.max(0,l),this.setState(function(u){return u.scrollOffset===l?null:{scrollDirection:u.scrollOffset<l?"forward":"backward",scrollOffset:l,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},x.scrollToItem=function(l,u){u===void 0&&(u="auto");var b=this.props,w=b.itemCount,_=b.layout,j=this.state.scrollOffset;l=Math.max(0,Math.min(l,w-1));var y=0;if(this._outerRef){var S=this._outerRef;_==="vertical"?y=S.scrollWidth>S.clientWidth?nn():0:y=S.scrollHeight>S.clientHeight?nn():0}this.scrollTo(i(this.props,l,u,j,this._instanceProps,y))},x.componentDidMount=function(){var l=this.props,u=l.direction,b=l.initialScrollOffset,w=l.layout;if(typeof b=="number"&&this._outerRef!=null){var _=this._outerRef;u==="horizontal"||w==="horizontal"?_.scrollLeft=b:_.scrollTop=b}this._callPropsCallbacks()},x.componentDidUpdate=function(){var l=this.props,u=l.direction,b=l.layout,w=this.state,_=w.scrollOffset,j=w.scrollUpdateWasRequested;if(j&&this._outerRef!=null){var y=this._outerRef;if(u==="horizontal"||b==="horizontal")if(u==="rtl")switch(on()){case"negative":y.scrollLeft=-_;break;case"positive-ascending":y.scrollLeft=_;break;default:var S=y.clientWidth,E=y.scrollWidth;y.scrollLeft=E-S-_;break}else y.scrollLeft=_;else y.scrollTop=_}this._callPropsCallbacks()},x.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&rn(this._resetIsScrollingTimeoutId)},x.render=function(){var l=this.props,u=l.children,b=l.className,w=l.direction,_=l.height,j=l.innerRef,y=l.innerElementType,S=l.innerTagName,E=l.itemCount,$=l.itemData,I=l.itemKey,B=I===void 0?q0:I,z=l.layout,W=l.outerElementType,G=l.outerTagName,ae=l.style,me=l.useIsScrolling,ge=l.width,be=this.state.isScrolling,ue=w==="horizontal"||z==="horizontal",_e=ue?this._onScrollHorizontal:this._onScrollVertical,ye=this._getRangeToRender(),Le=ye[0],Fe=ye[1],we=[];if(E>0)for(var de=Le;de<=Fe;de++)we.push(C.createElement(u,{data:$,key:B(de,$),index:de,isScrolling:me?be:void 0,style:this._getItemStyle(de)}));var Se=n(this.props,this._instanceProps);return C.createElement(W||G||"div",{className:b,onScroll:_e,ref:this._outerRefSetter,style:g._extends({position:"relative",height:_,width:ge,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:w},ae)},C.createElement(y||S||"div",{children:we,ref:j,style:{height:ue?"100%":Se,pointerEvents:be?"none":void 0,width:ue?Se:"100%"}}))},x._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var l=this.props.itemCount;if(l>0){var u=this._getRangeToRender(),b=u[0],w=u[1],_=u[2],j=u[3];this._callOnItemsRendered(b,w,_,j)}}if(typeof this.props.onScroll=="function"){var y=this.state,S=y.scrollDirection,E=y.scrollOffset,$=y.scrollUpdateWasRequested;this._callOnScroll(S,E,$)}},x._getRangeToRender=function(){var l=this.props,u=l.itemCount,b=l.overscanCount,w=this.state,_=w.isScrolling,j=w.scrollDirection,y=w.scrollOffset;if(u===0)return[0,0,0,0];var S=a(this.props,y,this._instanceProps),E=c(this.props,S,y,this._instanceProps),$=!_||j==="backward"?Math.max(1,b):1,I=!_||j==="forward"?Math.max(1,b):1;return[Math.max(0,S-$),Math.max(0,Math.min(u-1,E+I)),S,E]},p}(C.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,d=t.outerTagName,f=t.width,h=r.instance;if(process.env.NODE_ENV!=="production"){(c!=null||d!=null)&&dt&&!dt.has(h)&&(dt.add(h),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var m=o==="horizontal"||a==="horizontal";switch(o){case"horizontal":case"vertical":ut&&!ut.has(h)&&(ut.add(h),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(m&&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(!m&&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,Me=function(t,r,n){var o=t,i=o.itemSize,a=n.itemMetadataMap,c=n.lastMeasuredIndex;if(r>c){var d=0;if(c>=0){var f=a[c];d=f.offset+f.size}for(var h=c+1;h<=r;h++){var m=i(h);a[h]={offset:d,size:m},d+=m}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?Yn(t,r,i,0,n):X0(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),c=Me(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&&Me(t,n,r).offset<o;)n+=a,a*=2;return Yn(t,r,Math.min(n,i-1),Math.floor(n/2),o)},an=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 d=o[a];c=d.offset+d.size}var f=n-a-1,h=f*i;return c+h},J0=Y0({getItemOffset:function(t,r,n){return Me(t,r,n).offset},getItemSize:function(t,r,n){return n.itemMetadataMap[r].size},getEstimatedTotalSize:an,getOffsetForIndexAndAlignment:function(t,r,n,o,i,a){var c=t.direction,d=t.height,f=t.layout,h=t.width,m=c==="horizontal"||f==="horizontal",p=m?h:d,x=Me(t,r,i),v=an(t,i),l=Math.max(0,Math.min(v-p,x.offset)),u=Math.max(0,x.offset-p+x.size+a);switch(n==="smart"&&(o>=u-p&&o<=l+p?n="auto":n="center"),n){case"start":return l;case"end":return u;case"center":return Math.round(u+(l-u)/2);case"auto":default:return o>=u&&o<=l?o:o<u?u: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,d=t.layout,f=t.width,h=i==="horizontal"||d==="horizontal",m=h?f:a,p=Me(t,r,o),x=n+m,v=p.offset+p.size,l=r;l<c-1&&v<x;)l++,v+=Me(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 ft(e,t){return t?e:void 0}function Kt(e){return s.jsx(M.Stack,{sx:{cursor:"pointer"},onClick:t=>{var r;t.preventDefault(),t.stopPropagation(),(r=e.onClick)==null||r.call(e,e.option)},...e.stackProps,children:s.jsx(M.Stack,{sx:{p:1,transition:"0.2s",borderRadius:"5px",cursor:"pointer",...ft({backgroundColor:"#E5F5ED"},e.select),":hover":{backgroundColor:"#eeeeee80",borderColor:"transparent"}},children:e.renderOption(e.option)})})}const yt=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?yt+21:yt};function el(e){const[t,r]=C.useState(!1),[n,o]=C.useState(""),[i,a]=C.useState(""),[c,d]=C.useState(!1),{isRequired:f=!1}=e,h=C.useCallback(g._.debounce(S=>{var E;(E=e.handleChangeSearch)==null||E.call(e,S)},300),[e.handleChangeSearch]),m=()=>{r(!t)},p=()=>{r(!1),a(""),h("")};C.useEffect(()=>{o(e.value?e.getOptionLabel(e.value):"")},[e.value]),C.useEffect(()=>{t||o(e.value?e.getOptionLabel(e.value):"")},[t]),C.useEffect(()=>{d(e.searchLoading)},[e.paging.rows,e.searchLoading]);const x=e.paging.rows,{hasNextPage:v}=e,l=v?x.length+1:x.length,u=()=>e.isNextPageLoading?void 0:e.loadNextPage(i),b=S=>!v||S<x.length,w=S=>{o(S.target.value),t&&(a(S.target.value),h(S.target.value),d(!0))},_=C.useRef(null),j=C.useRef(null),y=C.useRef(null);return C.useEffect(()=>{var S,E,$,I;t?((S=j.current)==null||S.classList.add("Mui-focused"),(E=y.current)==null||E.classList.add("Mui-focused")):(($=j.current)==null||$.classList.remove("Mui-focused"),(I=y.current)==null||I.classList.remove("Mui-focused"))},[t]),s.jsx(M.ClickAwayListener,{onClickAway:p,mouseEvent:"onMouseDown",touchEvent:"onTouchEnd",children:s.jsx("div",{ref:_,style:{width:e.wrapperWidth??"auto"},children:s.jsxs(M.Stack,{sx:{position:"relative"},children:[s.jsx(M.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:w,placeholder:e.placeholder||"All options",sx:{"& input:not(:focus)":{"&::placeholder":{color:e.placeHolderColor||"#C5C5C5",opacity:1}}},InputLabelProps:{ref:j,shrink:!0},InputProps:{readOnly:e.readOnly,ref:y,endAdornment:s.jsx(M.IconButton,{size:"small",sx:{padding:"1px"},onClick:S=>{var E;S.preventDefault(),S.stopPropagation(),m(),(E=_.current)==null||E.focus()},disabled:e.loading||e.disabled||e.readOnly,children:e.loading?s.jsx(M.CircularProgress,{size:"16px"}):s.jsx(F0,{fontSize:"small",style:{transition:"0.3s"},className:t?"rotate":""})})}}),s.jsx(M.Fade,{in:t,timeout:0,unmountOnExit:!1,children:s.jsxs(M.Paper,{sx:{position:"absolute",top:"calc(100% + 2px)",zIndex:2,left:0,right:0,p:1},children:[!e.disabledAllOption&&s.jsx(M.Stack,{sx:{...ft({display:"none"},!!c)},children:s.jsx(M.Stack,{children:s.jsx(Kt,{option:void 0,select:!e.value,renderOption:()=>s.jsx(M.Typography,{children:e.placeholder||"All options"}),onClick:()=>{var S,E;p(),(S=e.onChange)==null||S.call(e,void 0),(E=e.handleChangeSearch)==null||E.call(e,"")}})})}),!c&&s.jsx(g.InfiniteLoader,{isItemLoaded:b,itemCount:l,loadMoreItems:u,threshold:5,children:({onItemsRendered:S,ref:E})=>s.jsx(J0,{ref:E,onItemsRendered:S,height:yt*Math.min(e.itemsNumber||6,l),itemCount:l,itemSize:$=>{var I;return Q0((I=_.current)==null?void 0:I.offsetWidth,x[$]?e.getOptionLabel(x[$]):"")},width:"100%",className:"styled-scroll",children:({index:$,style:I})=>{var z;const B=x[$];return b($)?s.jsx(Kt,{stackProps:{style:I},option:B,renderOption:W=>{var G;return s.jsxs(M.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",children:[s.jsx(M.Typography,{children:e.getOptionLabel(W)}),(G=e.renderOptionTooltip)==null?void 0:G.call(e,W)]})},onClick:W=>{var G;p(),(G=e.onChange)==null||G.call(e,W)},select:((z=e.isEqual)==null?void 0:z.call(e,B,e.value))??g._.isEqual(B,e.value)}):s.jsx(M.Stack,{style:I,sx:{height:yt,pl:1},justifyContent:"center",children:s.jsx(M.Typography,{children:"Loading..."})})}})}),s.jsx(M.Stack,{sx:{height:30,display:"flex",justifyContent:"center",paddingLeft:"5px",...ft({display:"none"},!c)},children:s.jsx(M.Typography,{color:"grayText",children:"Searching..."})}),s.jsx(M.Stack,{sx:{height:30,display:"flex",justifyContent:"center",paddingLeft:"5px",...ft({display:"none"},!!(x.length||e.loading||c))},children:s.jsx(M.Typography,{color:"grayText",children:"No options"})})]})})]})})})}function tl(e){var h;const{listProps:t}=e,[r,n]=C.useState({initLoading:!e.disabled,searchLoading:!1,hasNextPage:!1,isNextPageLoading:!1,paging:{page:1,pageSize:((h=e.listProps)==null?void 0:h.pageSize)||20,rows:[],total:0,totalPages:1}}),o=async(m,p)=>{var x,v;if(e.list)n(()=>{var b;const l=((b=m==null?void 0:m.search)==null?void 0:b.content)||"";return{hasNextPage:!1,isNextPageLoading:!1,paging:{page:1,pageSize:1e5,rows:e.list.options.filter(w=>e.list.searchOption?e.list.searchOption(w,l):g.search(w,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,...m==null?void 0:m.filter},...g.lodashExports.omit(t,"filter"),...g.lodashExports.omit(m,"filter"),search:{fields:((x=t==null?void 0:t.search)==null?void 0:x.fields)??[],content:((v=m==null?void 0:m.search)==null?void 0:v.content)??""}};p&&(l.filter={},l.search&&(l.search.content=""),l.page=1);const u=await e.getList(l);n(b=>({initLoading:!1,searchLoading:!1,isNextPageLoading:!1,paging:{...u,rows:(m==null?void 0:m.page)===1?u.rows:b.paging.rows.concat(u.rows)},hasNextPage:u.page<u.totalPages}))}catch{}}},i=()=>(n(m=>({...m,initLoading:!0})),o(void 0,!0)),a=m=>(n(p=>({...p,initLoading:!0})),o(m)),c=m=>{o({page:r.paging.page+1,search:{content:m}})},d=m=>{n(p=>({...p,searchLoading:!0})),o({page:1,search:{content:m}})};C.useEffect(()=>{e.disabled||(n(m=>({...m,initLoading:!0})),o({page:1}))},[...e.dependencyList||[]]);const f=()=>{n(m=>({...m,initLoading:!m.initLoading}))};return{...e,loadNextPage:c,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 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,d;const[t,r]=C.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");C.useEffect(()=>{r(e.value)},[e.value]);const o=C.useRef(null),i=C.useRef(null),a=C.useRef(null);return console.log("inputRef",o),console.log("labelRef",i),s.jsx(g.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,((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,h)=>{var u,b,w;const m=h.chosenLabel===nl,{startDate:p,endDate:x}=h,v=m?((u=e.dateReset)==null?void 0:u.startDate)??void 0:p.toDate(),l=m?((b=e.dateReset)==null?void 0:b.endDate)??void 0:x.toDate();r({startDate:v,endDate:l}),(w=e.onChange)==null||w.call(e,{startDate:v,endDate:l})},children:s.jsx(M.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 il(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 al(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:"#009D4F",strokeWidth:"1.5"}),s.jsx("path",{d:"M9 12L11 14L15 10",stroke:"#009D4F",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}const Gn=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=g.getMessagingInWindow(g.initializeApp({apiKey:e.apiKey,authDomain:e.authDomain,projectId:e.projectId,storageBucket:e.storageBucket,messagingSenderId:e.messagingSenderId,appId:e.appId,measurementId:e.measurementId}));g.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 Ue.post(c,{deviceToken:n},{withCredentials:!0})}catch(a){console.log(a),g.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)})},sl=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}}))}},ll=e=>new Promise(t=>{const r=g.getMessagingInWindow(g.initializeApp({apiKey:e.apiKey,authDomain:e.authDomain,projectId:e.projectId,storageBucket:e.storageBucket,messagingSenderId:e.messagingSenderId,appId:e.appId,measurementId:e.measurementId}));g.onMessage(r,n=>{console.log("payload",n),t(n)})}),cl=["granted","denied"],ul=e=>{const[t,r]=C.useState(!1),n=()=>{Notification.requestPermission(function(i){i==="granted"&&Gn(e),cl.includes(i)&&r(!0)})},o=()=>{r(!0)};return s.jsx(s.Fragment,{children:t?"":s.jsx("div",{className:g.styles$1["subscription-diaglog"],children:s.jsxs("div",{className:g.styles$1["subscription-container"],children:[s.jsx("h4",{className:g.styles$1["subscription-title"],children:"Notification"}),s.jsx("p",{className:g.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:g.styles$1["subscription-btn__container"],children:[s.jsx("button",{className:g.styles$1["btn-cancel"],onClick:o,children:"Not now"}),s.jsx("button",{className:g.styles$1["btn-success"],onClick:n,children:"Turn on"})]})]})})})},Kn=e=>{const[t,r]=C.useState({userName:"",message:"",context:""});console.log(t);const{setNotiData:n}=C.useContext(g.CustomOpenList);function o(){return s.jsx("div",{className:g.styles$2["notification-massage_container"],children:s.jsxs("div",{className:g.styles$2["notification-massage_content"],children:[s.jsx("h6",{className:g.styles$2["notification-name"],children:t==null?void 0:t.userName}),s.jsxs("div",{className:g.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 C.useEffect(()=>{t&&Notification.permission==="granted"&&(t.userName||t.message||t.context)&&g.notify(s.jsx(o,{}))},[t]),C.useEffect(()=>{Notification.permission==="granted"&&Gn(e)},[Notification.permission]),C.useEffect(()=>{sl(n)},[]),ll(e).then(i=>{var a,c,d;console.log("aaa",i),r({userName:(a=i==null?void 0:i.data)==null?void 0:a.userName,message:(c=i==null?void 0:i.data)==null?void 0:c.message,context:(d=i==null?void 0:i.data)==null?void 0:d.context}),n(f=>{var h;return{...f,unread:{...f.unread,total:((h=f.unread)==null?void 0:h.total)+1}}})}).catch(i=>console.log("failed: ",i)),s.jsx("div",{children:"Notification"in window&&Notification.permission==="default"?s.jsx(ul,{...e}):""})},dl=(e,t)=>C.cloneElement(t,{},e),fl=({children:e,providers:t})=>s.jsx(s.Fragment,{children:t.reduceRight(dl,e)});exports.GlobalMenu=g.GlobalMenu;exports.notify=g.notify;exports.pushError=g.pushError;exports.pushSuccess=g.pushSuccess;exports.pushWarning=g.pushWarning;exports.AutocompleteOption=Kt;exports.CheckedIcon=al;exports.MultiProvider=fl;exports.NoData=mo;exports.NotificationBase=Kn;exports.PopUpBase=bo;exports.StyledAutocomplete=el;exports.StyledDateRangePicker=ol;exports.ToastConfig=Qn;exports.ToastConfigNotification=eo;exports.TopBar=fo;exports.UnauthorizedPage=wo;exports.UncheckedIcon=il;exports.usePopUp=_o;exports.useStyledAutocomplete=tl;