@ukpc-lib/react 0.9.16 → 0.9.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/brand/assets/config/firebase-messaging-sw.js +43 -0
- package/dist/components/index.cjs +26 -26
- package/dist/components/index.js +929 -926
- package/dist/index.css +1 -1
- package/dist/{index.module-99cd5ff8.js → index.esm2017-925f7ee3.js} +8311 -8319
- package/dist/{index.module-89ae1d01.cjs → index.esm2017-a376671e.cjs} +113 -113
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +8 -8
- package/package.json +1 -1
- package/web-components-bundle/access-denied/index.js +4 -3
- package/web-components-bundle/favorite-menu/index.js +8 -4
- package/web-components-bundle/global-menu/index.js +6 -2
- package/web-components-bundle/global-topbar/index.js +8 -4
- package/web-components-bundle/has-permission/index.js +8 -4
- package/web-components-bundle/index-bc9c6b9d.js +3531 -0
- package/web-components-bundle/{index-8219f67f.js → index-bdda54c1.js} +11448 -11554
- package/web-components-bundle/react-to-web-component-51b8fd6c.js +6373 -0
- package/web-components-bundle/react-toastify.esm-9eba4087.js +339 -0
- package/web-components-bundle/toast-config/index.js +22 -0
- package/web-components-bundle/toast-config-notification/index.js +27 -0
- package/web-components-bundle/index-0de70dab.js +0 -9886
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),j=require("react"),g=require("../index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),j=require("react"),g=require("../index.esm2017-a376671e.cjs"),K=require("moment"),O=require("@mui/material");require("@r2wc/react-to-web-component");require("axios");const an=require("react-router-dom");require("react-query");require("react-dom");function eo(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 F=eo(j),to=e=>{var n,o;const{tabs:t}=e,r=i=>{e.setCurrentTab(i.target.id)};return console.log("🚀 ~ brandColors:",e.currentTab),s.jsxs(s.Fragment,{children:[s.jsx("style",{children:`
|
|
2
2
|
.tab-title {
|
|
3
3
|
min-width: 90px;
|
|
4
4
|
padding: 5px 16px;
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
.tab-content {
|
|
30
30
|
padding: 16px 0;
|
|
31
31
|
}
|
|
32
|
-
`}),s.jsxs("div",{className:"tab-container",children:[s.jsx("div",{style:{display:"flex",width:"100%",height:"50px",borderBottom:`1px solid ${g.color.grey200}`},className:"tab-container__title",children:t.map((i,a)=>s.jsx("button",{id:i.id,disabled:e.currentTab===`${i.id}`,onClick:r,className:`tab-title ${e.currentTab===`${i.id}`?"is-active":""}`,children:i.tabTitle},a))}),s.jsx("div",{className:"tab-content",children:t.map((i,a)=>s.jsx("div",{children:e.currentTab===`${i.id}`&&s.jsx("div",{children:i.children})},a))})]})]})},Gt=({baseUrl:e,notiPath:t,setNotiData:r})=>async()=>{var d;const i=e+(t||"/notification-management/api/v1/notifications"),l=(d=(await g.axiosInstance.get(i,{params:{filter:{notificationFilterType:"all"}}})).data)==null?void 0:d.rows,u=l==null?void 0:l.filter(h=>h.isRead===!1);r({all:{rows:l??[],total:(l==null?void 0:l.length)??0},unread:{rows:u??[],total:(u==null?void 0:u.length)??0}})},to=({notification:e,baseUrl:t,notiPath:r,markAllAsReadState:n,brandColors:o})=>{var x;const[i,a]=j.useState(!1),[l,u]=j.useState({id:e.id,isRead:e.isRead}),d=l.isRead===!1?"unread":"read",h={borderColor:l.isRead?"#c5c5c5":(o==null?void 0:o.primary500)||g.color.primary500,backgroundColor:l.isRead?"#c5c5c5":(o==null?void 0:o.primary500)||g.color.primary500},{setNotiData:m}=j.useContext(g.CustomOpenList),y=Gt({baseUrl:t,notiPath:r,setNotiData:m}),b=async(S,_)=>{try{const E=r||`/notification-management/api/v1/notifications/${S}`,p=t+E;await g.axiosInstance.put(p,{isRead:_})}catch(E){console.log(E),u({id:e.id,isRead:e.isRead})}await y()},v=(S,_)=>{console.log("specificNotificationID",S);const E=!_;u(p=>({...p,isRead:E})),console.log("newIsReadState",E),b(S,E)};j.useEffect(()=>{u(n?S=>({...S,isRead:!0}):{id:e.id,isRead:e.isRead})},[n,e.id,e.isRead]);const c=()=>{a(!i)},f=S=>{const _=K(),E=K(S),p=_.diff(E,"days"),w=_.diff(E,"minutes"),C=_.diff(E,"months"),I=_.diff(E,"years");if(console.log("diffInMonths",C),w<1)return"Just now";if(p===0){if(w<=60)return`${w} minute${w>1?"s":""} ago`;const k=Math.floor(w/60);return console.log("diffIhours",k),`${k} hour${k>1?"s":""} ago`}if(p===1)return"Yesterday";if(p>=2&&p<7)return`${p} days ago`;if(p<30){const k=Math.floor(p/7);return`${k} week${k>1?"s":""} ago`}return C===0||C===1?"1 month ago":C<12?`${C} months ago`:I===0||I===1?"1 year ago":"Over 1 year ago"};return s.jsx(s.Fragment,{children:s.jsxs("div",{className:"notitification-item__container",children:[s.jsx("div",{className:"notification-item__image-container",children:s.jsx("img",{src:!e.actorAvatarUrl||e.actorName==="System"?"https://ukpcsaprod.blob.core.windows.net/account/logo.png":e.actorAvatarUrl,onError:({currentTarget:S})=>{console.log("img on error",S),S.onerror=null,S.src="https://ukpcsaprod.blob.core.windows.net/account/logo.png"},alt:e.actorName})}),s.jsxs("div",{style:{width:"100%"},children:[s.jsxs("div",{className:"notification-item__content-wrapper",children:[s.jsxs("div",{className:"notification-item__content",children:[s.jsx("p",{className:"notification-item__user-name",children:e.actorName}),s.jsxs("a",{href:e==null?void 0:e.contextUrl,style:{cursor:"pointer"},children:[`${e.message} `,s.jsx("span",{className:"notification-item__context-link",children:e==null?void 0:e.context})]}),(e==null?void 0:e.notificationType)==="deleteMultiple"&&s.jsxs("button",{style:{color:g.color.primary400,textDecoration:"underline"},onClick:c,children:[i?"Hide":"Show "," details"]})]}),s.jsx("div",{className:"notification-item__time",children:s.jsx("p",{children:f(e.createdAt)})}),s.jsx("button",{className:`${d} notification-item__read-at`,"aria-label":"Mark as read",style:h,onClick:()=>v(e.id,e.isRead)})]}),i&&s.jsx("div",{style:{background:"#fff",width:"100%",padding:"8px",fontSize:"12px",marginTop:"8px"},children:s.jsx("ul",{children:(x=e==null?void 0:e.data)==null?void 0:x.map((S,_)=>s.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:"4px"},children:[s.jsx("span",{style:{backgroundColor:g.color.primary400},className:"list-dot"}),s.jsx("span",{style:{width:"calc(100% - 12px)"},children:S.name})]},_))})})]})]})})},mr=({notidata:e,baseUrl:t,notiPath:r,brandColors:n,notiUnreadNumber:o})=>{const[i,a]=j.useState(!1);console.log(i);const{setNotiData:l}=j.useContext(g.CustomOpenList),u=Gt({baseUrl:t,notiPath:r,setNotiData:l}),d=async()=>{try{const y=t+(r||"/notification-management/api/v1/notifications");await g.axiosInstance.put(y)}catch(m){console.log(m)}await u(),a(!1)},h=()=>{a(!0),d()};return console.log("notiUnreadNumber",o),s.jsxs("div",{children:[s.jsx("div",{className:"mark-all-read",children:s.jsx("button",{onClick:h,style:{visibility:o===0?"hidden":"visible"},children:"Mark all as read"})}),s.jsx("div",{className:"notification-items__wrapper",children:s.jsx("div",{className:"notification-items__content",children:Object.values(e).map((m,y)=>s.jsx(to,{notification:m,baseUrl:t,notiPath:r,markAllAsReadState:i,brandColors:n},y))})})]})},ro=({baseUrl:e,notiPath:t,brandColors:r})=>{var u,d,h,m;const{setShowModalFalse:n}=j.useContext(g.CustomOpenList),{notidata:o}=j.useContext(g.CustomOpenList);console.log(o);const[i,a]=j.useState("all"),l=[{id:"all",tabTitle:`All (${((u=o==null?void 0:o.all)==null?void 0:u.total)||0})`,children:s.jsx(mr,{notidata:((d=o==null?void 0:o.all)==null?void 0:d.rows)||[],baseUrl:e,notiPath:t,brandColors:r,notiUnreadNumber:o.unread.total})},{id:"unread",tabTitle:`Unread (${((h=o==null?void 0:o.unread)==null?void 0:h.total)||0})`,children:s.jsx(mr,{notidata:((m=o==null?void 0:o.unread)==null?void 0:m.rows)||[],baseUrl:e,notiPath:t,brandColors:r,notiUnreadNumber:o.unread.total})}];return s.jsx(s.Fragment,{children:s.jsx("div",{style:{position:"absolute",backgroundColor:"#fff",width:"550px",height:"90vh",right:"100px",top:"100%",padding:"32px",boxShadow:"10px 0px 20px #999",borderRadius:"0 0 8px 8px",overflow:"hidden",zIndex:"100"},children:s.jsxs("div",{className:"list-content",children:[s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[s.jsx("h3",{style:{fontSize:"24px",fontWeight:"500",color:g.color.textPrimary},className:"list-title",children:"Notifications"}),s.jsx("button",{onClick:n,children:s.jsx("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M7.05086 6.13616C6.66033 5.74563 6.02717 5.74563 5.63664 6.13616C5.24612 6.52668 5.24612 7.15984 5.63664 7.55037L10.5864 12.5001L5.63664 17.4499C5.24612 17.8404 5.24612 18.4736 5.63664 18.8641C6.02717 19.2546 6.66033 19.2546 7.05086 18.8641L12.0006 13.9143L16.9504 18.8641C17.3409 19.2546 17.974 19.2546 18.3646 18.8641C18.7551 18.4736 18.7551 17.8404 18.3646 17.4499L13.4148 12.5001L18.3646 7.55037C18.7551 7.15984 18.7551 6.52668 18.3646 6.13616C17.974 5.74563 17.3409 5.74563 16.9504 6.13616L12.0006 11.0859L7.05086 6.13616Z",fill:"#85858A"})})})]}),s.jsx(eo,{tabs:l,setCurrentTab:a,currentTab:i,brandColors:r})]})})})};function Kt({childrenClass:e,action:t,childrenOpenClass:r}){const n=document.querySelector("#topbar-wrapper"),o=n==null?void 0:n.shadowRoot,i=o==null?void 0:o.querySelector(`.${e}`),a=o==null?void 0:o.querySelector(`.${r}`),l=o==null?void 0:o.querySelector("nav"),u=d=>{l==null||l.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(d.target)&&t()};document.addEventListener("click",u,!0)}function no({iconColor:e="#fff",baseUrl:t,notiPath:r,brandColors:n}){var m,y;const{isOpen:o,toggleOpen:i,setShowModalFalse:a}=j.useContext(g.CustomOpenList),{notidata:l,setNotiData:u}=j.useContext(g.CustomOpenList),d=Gt({baseUrl:t,notiPath:r,setNotiData:u}),h=async()=>{var b,v;try{await d()}catch(c){g.pushError(((v=(b=c.response)==null?void 0:b.data)==null?void 0:v.errorMessage)||"Have error when get notification list")}};return j.useEffect(()=>{h()},[o]),j.useEffect(()=>{Kt({childrenClass:"noti-container",childrenOpenClass:"noti-list-container",action(){a()}})}),s.jsxs("div",{children:[s.jsxs("div",{className:"noti-container",style:{position:"relative"},children:[s.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:i,style:{cursor:"pointer",color:e},children:[s.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7968 17.4705C16.5901 17.4705 18.8076 16.8556 19.0218 14.3874C19.0218 11.921 17.4757 12.0796 17.4757 9.05334C17.4757 6.68952 15.2352 4 11.7968 4C8.35833 4 6.1178 6.68952 6.1178 9.05334C6.1178 12.0796 4.57178 11.921 4.57178 14.3874C4.78679 16.8649 7.00428 17.4705 11.7968 17.4705Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),s.jsx("path",{d:"M13.8274 20.0286C12.6679 21.3161 10.8591 21.3313 9.68848 20.0286",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(l==null?void 0:l.unread)&&(l==null?void 0:l.unread.total)!=0&&s.jsx("span",{style:{position:"absolute",top:"-9px",right:"-6px",width:"20px",height:"20px",border:"1px solid #fff",borderRadius:"50%",color:"#fff",fontSize:"12px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:g.color.danger},className:"notification-badge",children:((m=l==null?void 0:l.unread)==null?void 0:m.total)>9?"9+":`${(y=l==null?void 0:l.unread)==null?void 0:y.total}`})]}),s.jsx("div",{className:"noti-list-container",children:!o&&s.jsx(ro,{baseUrl:t,notiPath:r,brandColors:n})})]})}const oo="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNiAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNy44OTIyMiIgY3k9IjguMzQ5MDEiIHI9IjUuNTk5MDEiIHN0cm9rZT0iIzg1ODU4QSIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTIuNjQyOCAxMy4xODU1TDE0LjQ1NjggMTQuOTk5NSIgc3Ryb2tlPSIjODU4NThBIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=",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-wrapper{display:flex;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;position:relative}.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}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem;transition:width .3s}.userAvatar{width:2.5rem;height:2.5rem;-o-object-fit:cover;object-fit:cover;border-radius:9999px;border:2px solid #FFFFFF}#userAvatarNull{width:2.5rem;height:2.5rem;background:#DDDDDD;border-radius:100%;color:#fff;font-size:20px;font-weight:400;display:flex;align-items:center;justify-content:center}.relative{position:relative}.cursor-pointer{cursor:pointer}.topbar-search-label{display:flex;position:relative}.topbar-search-input{color:#292929;border-radius:3px;height:40px;outline:none;width:223px;padding:5px 10px 5px 33px;font-size:14px;text-overflow:ellipsis}#icon{position:absolute;left:9px;top:8px;width:16px;height:24px}
|
|
33
|
-
`,
|
|
34
|
-
`,
|
|
35
|
-
`,
|
|
36
|
-
`;function
|
|
37
|
-
`,go=({baseUrl:e,searchPath:t})=>{const[r,n]=j.useState(!1);console.log("hasPermission state",r);const o=async()=>{const a=e+(t||"/user-management/api/v1/users/my-account/access-stella-search");try{const
|
|
38
|
-
`;function xo({classNames:e="",...t}){const{logo:r,user:n,baseUrl:o,notiPath:i,style:a,customColors:l,notiprops:u,isBrand:d,logout:h}=t,m={...a,color:(l==null?void 0:l.headerTextColor)||"white",backgroundColor:(l==null?void 0:l.headerBgColor)||"black"},[y,b]=j.useState(!1),v=j.useRef(null),{Term:c}=an.useParams();console.log("term",c);const[f,x]=j.useState(c||""),S=go({baseUrl:o});console.log("searchPermission",S.hasPermission);const _=yo(o,f),E=j.useCallback(p=>{x(p)},[]);return s.jsxs(g.StyleWrapper,{styles:[io,ao,lo,so,po],style:{zIndex:1202},id:"topbar-wrapper",children:[s.jsx("nav",{className:`navbar-wrapper ${e}`,style:l?m:a,children:s.jsxs("div",{className:"navbar-container",children:[s.jsx("a",{href:"/home",className:"logo-container",children:s.jsx("img",{src:r||"#",alt:" ",style:{height:"40px"}})}),s.jsxs("div",{className:"right-side-container",children:[d&&S.hasPermission?s.jsx("span",{children:s.jsxs("label",{className:"topbar-search-label",htmlFor:"topbar-search",children:[s.jsx("input",{name:"topbar-search",className:"topbar-search-input",id:"GlobalSearchInput",placeholder:"Search",onChange:p=>{const w=p.target.value;E(w)},ref:v,value:f,onKeyDown:p=>{p.key==="Enter"&&_()}}),s.jsx("img",{id:"icon",src:oo,alt:"icon"})]})}):"",t.customElement,s.jsx("span",{children:s.jsxs(g.CustomOpenListProvider,{children:[s.jsx(Jn,{baseUrl:u.baseUrl,path:u.path,apiKey:u.apiKey,authDomain:u.authDomain,projectId:u.projectId,storageBucket:u.storageBucket,messagingSenderId:u.messagingSenderId,appId:u.appId,measurementId:u.measurementId,vapidKey:u.vapidKey}),s.jsx(no,{iconColor:l==null?void 0:l.headerTextColor,baseUrl:o,notiPath:i,brandColors:l})]})}),s.jsx(ln,{}),s.jsxs("div",{className:"userContainer",children:[s.jsx(bo,{primaryColor:l==null?void 0:l.headerTextColor,avatarUrl:n==null?void 0:n.avatarUrl,userName:n==null?void 0:n.firstName,setShowConfirmModal:b}),s.jsx("p",{className:"userFullName",style:{color:l==null?void 0:l.headerTextColor,width:t.isFetching?"100px":"auto"},children:t.isFetching?s.jsx(mo,{baseColor:"#ebebeb26",highlightColor:"#f5f5f57d",style:{lineHeight:"unset"}}):n?n.firstName+" "+n.lastName:"Unknown User"})]})]})]})}),s.jsx(g.LogoutConfirmModal,{isOpen:y,onClose:()=>b(!1),onConfirm:h})]})}function ln(){var a;const e=[{value:g.Language.en,element:s.jsx(co,{})},{value:g.Language.de,element:s.jsx(uo,{})}],[t,r]=j.useState(!1);j.useState(new Array(e.length).fill(!1));const{language:n,setLanguage:o}=g.useCustomTranslation();j.useEffect(()=>{Kt({childrenClass:"languageDropdown",action(){r(!1)}})},[]);const i=(a=e.find(l=>l.value==n))==null?void 0:a.element;return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:vo}),s.jsx("div",{className:"languageDropdownContainer",style:{position:"relative"},children:s.jsx("div",{className:"languageDropdown",onClick:()=>{r(!t)},children:i})})]})}function bo({avatarUrl:e,userName:t}){const[r,n]=j.useState(!1),o=j.useRef(null);return j.useRef(null),j.useState(!1),j.useState(!1),j.useEffect(()=>{Kt({childrenClass:"userAvatar",action(){n(!1)}})},[]),s.jsx(s.Fragment,{children:s.jsx("div",{style:{position:"relative"},children:e?s.jsx("img",{onClick:()=>n(!r),ref:o,alt:"user avatar",className:"userAvatar",src:e}):s.jsx("div",{onClick:()=>n(!r),ref:o,className:"userAvatar",id:"userAvatarNull",children:(t==null?void 0:t.charAt(0))??""})})})}function _o(e){const{user:t,logout:r,isFetching:n}=g.useAuth();return s.jsx(xo,{...e,isFetching:n,user:t,logout:r})}const So=e=>s.jsx(g.Q,{autoClose:3e3,hideProgressBar:!0,closeButton:!1,position:"bottom-left",newestOnTop:!0,pauseOnFocusLoss:!1,style:{fontFamily:"inherit"},...e}),wo=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}),Eo=({children:e})=>s.jsxs(O.Stack,{justifyContent:"center",alignItems:"center",sx:{backgroundColor:"#FAFAFA",minHeight:"450px"},children:[s.jsx(Co,{}),e]});function Co(){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 jo=typeof g.commonjsGlobal=="object"&&g.commonjsGlobal&&g.commonjsGlobal.Object===Object&&g.commonjsGlobal,To=typeof self=="object"&&self&&self.Object===Object&&self;jo||To||Function("return this")();function No(e){const[t,r]=j.useState(!!e),n=j.useCallback(()=>{r(!0)},[]),o=j.useCallback(()=>{r(!1)},[]),i=j.useCallback(()=>{r(a=>!a)},[]);return{value:t,setValue:r,setTrue:n,setFalse:o,toggle:i}}function Oo(e){var t;return s.jsxs(O.Dialog,{...e.dialogProps,open:e.open,children:[!e.hideTitle&&s.jsxs(O.DialogTitle,{component:O.Stack,sx:{...e.titleProps,textAlign:"center"},children:[typeof e.title=="string"?s.jsx(O.Typography,{variant:"h4",children:e.title}):e.title,typeof e.subTitle=="string"?s.jsx(O.Typography,{color:"success.main",variant:"body1",...e.subTitleProps,children:e.subTitle}):e.subTitle]}),s.jsx(O.DialogContent,{sx:{...e.contentProps,overflowY:e.fixOverflow?"unset":void 0},children:e.desc}),!(e.hideClose&&e.hideConfirm)&&s.jsx(O.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(O.Button,{color:"error",onClick:e.onClose,children:"Close"}),!e.hideConfirm&&s.jsx(O.Button,{color:"primary",onClick:e.onConfirm,children:"Submit"})]})})]})}function ko(e){const t=No(typeof e=="boolean"?e:void 0);return{setTrue:t.setTrue,open:t.value,onClose:t.setFalse,onConfirm:typeof e!="boolean"?e==null?void 0:e.onConfirm:void 0}}function Io({rootPath:e}){return s.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"100vw",height:"100vh",alignItems:"center",justifyContent:"center"},children:[s.jsx("h1",{children:"404 - Not Found"}),s.jsx("p",{children:"Sorry, the page you are looking for does not exist."}),s.jsx(O.Box,{height:"16px"}),s.jsx(an.Link,{to:e,children:s.jsx(O.Button,{variant:"contained",color:"primary",children:"Go to Home"})})]})}function Po(){const{colors:e}=g.useTheme();return s.jsx("div",{style:{display:"flex",flexDirection:"column",width:"100%",height:"calc(100vh - 144px)",alignItems:"center",justifyContent:"center",zIndex:100},children:s.jsx("h1",{style:{color:`${e==null?void 0:e.primary300}`,fontSize:"82px",fontWeight:700,textTransform:"uppercase",marginTop:0,marginBottom:0,textAlign:"center"},children:"Welcome to the Intelli-Verse"})})}const Ao=()=>{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(Mo,{}),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")]})]})]})})},Mo=()=>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 cn(e){if(!he(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=cn(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])?cn(t[o]):t[o]:n[o]=t[o])}),n}const $o=Object.freeze(Object.defineProperty({__proto__:null,default:le,isPlainObject:he},Symbol.toStringTag,{value:"Module"}));function Ue(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const Ro=Object.freeze(Object.defineProperty({__proto__:null,default:Ue},Symbol.toStringTag,{value:"Module"}));var Lt={exports:{}},M={};/**
|
|
32
|
+
`}),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((i,a)=>s.jsx("button",{id:i.id,disabled:e.currentTab===`${i.id}`,onClick:r,className:`tab-title ${e.currentTab===`${i.id}`?"is-active":""}`,children:i.tabTitle},a))}),s.jsx("div",{className:"tab-content",children:t.map((i,a)=>s.jsx("div",{children:e.currentTab===`${i.id}`&&s.jsx("div",{children:i.children})},a))})]})]})},Gt=({baseUrl:e,notiPath:t,setNotiData:r})=>async()=>{var d;const i=e+(t||"/notification-management/api/v1/notifications"),c=(d=(await g.axiosInstance.get(i,{params:{filter:{notificationFilterType:"all"}}})).data)==null?void 0:d.rows,u=c==null?void 0:c.filter(h=>h.isRead===!1);r({all:{rows:c??[],total:(c==null?void 0:c.length)??0},unread:{rows:u??[],total:(u==null?void 0:u.length)??0}})},ro=({notification:e,baseUrl:t,notiPath:r,markAllAsReadState:n,brandColors:o})=>{var x;const[i,a]=j.useState(!1),[c,u]=j.useState({id:e.id,isRead:e.isRead}),d=c.isRead===!1?"unread":"read",h={borderColor:c.isRead?"#c5c5c5":(o==null?void 0:o.primary500)||g.color.primary500,backgroundColor:c.isRead?"#c5c5c5":(o==null?void 0:o.primary500)||g.color.primary500},{setNotiData:m}=j.useContext(g.CustomOpenList),y=Gt({baseUrl:t,notiPath:r,setNotiData:m}),b=async(_,S)=>{try{const E=r||`/notification-management/api/v1/notifications/${_}`,p=t+E;await g.axiosInstance.put(p,{isRead:S})}catch(E){console.log(E),u({id:e.id,isRead:e.isRead})}await y()},v=(_,S)=>{console.log("specificNotificationID",_);const E=!S;u(p=>({...p,isRead:E})),console.log("newIsReadState",E),b(_,E)};j.useEffect(()=>{u(n?_=>({..._,isRead:!0}):{id:e.id,isRead:e.isRead})},[n,e.id,e.isRead]);const l=()=>{a(!i)},f=_=>{const S=K(),E=K(_),p=S.diff(E,"days"),w=S.diff(E,"minutes"),C=S.diff(E,"months"),I=S.diff(E,"years");if(console.log("diffInMonths",C),w<1)return"Just now";if(p===0){if(w<=60)return`${w} minute${w>1?"s":""} ago`;const k=Math.floor(w/60);return console.log("diffIhours",k),`${k} hour${k>1?"s":""} ago`}if(p===1)return"Yesterday";if(p>=2&&p<7)return`${p} days ago`;if(p<30){const k=Math.floor(p/7);return`${k} week${k>1?"s":""} ago`}return C===0||C===1?"1 month ago":C<12?`${C} months ago`:I===0||I===1?"1 year ago":"Over 1 year ago"};return s.jsx(s.Fragment,{children:s.jsxs("div",{className:"notitification-item__container",children:[s.jsx("div",{className:"notification-item__image-container",children:s.jsx("img",{src:!e.actorAvatarUrl||e.actorName==="System"?"https://ukpcsaprod.blob.core.windows.net/account/logo.png":e.actorAvatarUrl,onError:({currentTarget:_})=>{console.log("img on error",_),_.onerror=null,_.src="https://ukpcsaprod.blob.core.windows.net/account/logo.png"},alt:e.actorName})}),s.jsxs("div",{style:{width:"100%"},children:[s.jsxs("div",{className:"notification-item__content-wrapper",children:[s.jsxs("div",{className:"notification-item__content",children:[s.jsx("p",{className:"notification-item__user-name",children:e.actorName}),s.jsxs("a",{href:e==null?void 0:e.contextUrl,style:{cursor:"pointer"},children:[`${e.message} `,s.jsx("span",{className:"notification-item__context-link",children:e==null?void 0:e.context})]}),(e==null?void 0:e.notificationType)==="deleteMultiple"&&s.jsxs("button",{style:{color:g.color.primary400,textDecoration:"underline"},onClick:l,children:[i?"Hide":"Show "," details"]})]}),s.jsx("div",{className:"notification-item__time",children:s.jsx("p",{children:f(e.createdAt)})}),s.jsx("button",{className:`${d} notification-item__read-at`,"aria-label":"Mark as read",style:h,onClick:()=>v(e.id,e.isRead)})]}),i&&s.jsx("div",{style:{background:"#fff",width:"100%",padding:"8px",fontSize:"12px",marginTop:"8px"},children:s.jsx("ul",{children:(x=e==null?void 0:e.data)==null?void 0:x.map((_,S)=>s.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:"4px"},children:[s.jsx("span",{style:{backgroundColor:g.color.primary400},className:"list-dot"}),s.jsx("span",{style:{width:"calc(100% - 12px)"},children:_.name})]},S))})})]})]})})},mr=({notidata:e,baseUrl:t,notiPath:r,brandColors:n,notiUnreadNumber:o})=>{const[i,a]=j.useState(!1);console.log(i);const{setNotiData:c}=j.useContext(g.CustomOpenList),u=Gt({baseUrl:t,notiPath:r,setNotiData:c}),d=async()=>{try{const y=t+(r||"/notification-management/api/v1/notifications");await g.axiosInstance.put(y)}catch(m){console.log(m)}await u(),a(!1)},h=()=>{a(!0),d()};return console.log("notiUnreadNumber",o),s.jsxs("div",{children:[s.jsx("div",{className:"mark-all-read",children:s.jsx("button",{onClick:h,style:{visibility:o===0?"hidden":"visible"},children:"Mark all as read"})}),s.jsx("div",{className:"notification-items__wrapper",children:s.jsx("div",{className:"notification-items__content",children:Object.values(e).map((m,y)=>s.jsx(ro,{notification:m,baseUrl:t,notiPath:r,markAllAsReadState:i,brandColors:n},y))})})]})},no=({baseUrl:e,notiPath:t,brandColors:r})=>{var u,d,h,m;const{setShowModalFalse:n}=j.useContext(g.CustomOpenList),{notidata:o}=j.useContext(g.CustomOpenList);console.log(o);const[i,a]=j.useState("all"),c=[{id:"all",tabTitle:`All (${((u=o==null?void 0:o.all)==null?void 0:u.total)||0})`,children:s.jsx(mr,{notidata:((d=o==null?void 0:o.all)==null?void 0:d.rows)||[],baseUrl:e,notiPath:t,brandColors:r,notiUnreadNumber:o.unread.total})},{id:"unread",tabTitle:`Unread (${((h=o==null?void 0:o.unread)==null?void 0:h.total)||0})`,children:s.jsx(mr,{notidata:((m=o==null?void 0:o.unread)==null?void 0:m.rows)||[],baseUrl:e,notiPath:t,brandColors:r,notiUnreadNumber:o.unread.total})}];return s.jsx(s.Fragment,{children:s.jsx("div",{style:{position:"absolute",backgroundColor:"#fff",width:"550px",height:"90vh",right:"100px",top:"100%",padding:"32px",boxShadow:"10px 0px 20px #999",borderRadius:"0 0 8px 8px",overflow:"hidden",zIndex:"100"},children:s.jsxs("div",{className:"list-content",children:[s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[s.jsx("h3",{style:{fontSize:"24px",fontWeight:"500",color:g.color.textPrimary},className:"list-title",children:"Notifications"}),s.jsx("button",{onClick:n,children:s.jsx("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M7.05086 6.13616C6.66033 5.74563 6.02717 5.74563 5.63664 6.13616C5.24612 6.52668 5.24612 7.15984 5.63664 7.55037L10.5864 12.5001L5.63664 17.4499C5.24612 17.8404 5.24612 18.4736 5.63664 18.8641C6.02717 19.2546 6.66033 19.2546 7.05086 18.8641L12.0006 13.9143L16.9504 18.8641C17.3409 19.2546 17.974 19.2546 18.3646 18.8641C18.7551 18.4736 18.7551 17.8404 18.3646 17.4499L13.4148 12.5001L18.3646 7.55037C18.7551 7.15984 18.7551 6.52668 18.3646 6.13616C17.974 5.74563 17.3409 5.74563 16.9504 6.13616L12.0006 11.0859L7.05086 6.13616Z",fill:"#85858A"})})})]}),s.jsx(to,{tabs:c,setCurrentTab:a,currentTab:i,brandColors:r})]})})})};function Kt({childrenClass:e,action:t,childrenOpenClass:r}){const n=document.querySelector("#topbar-wrapper"),o=n==null?void 0:n.shadowRoot,i=o==null?void 0:o.querySelector(`.${e}`),a=o==null?void 0:o.querySelector(`.${r}`),c=o==null?void 0:o.querySelector("nav"),u=d=>{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(d.target)&&t()};document.addEventListener("click",u,!0)}function oo({iconColor:e="#fff",baseUrl:t,notiPath:r,brandColors:n}){var m,y;const{isOpen:o,toggleOpen:i,setShowModalFalse:a}=j.useContext(g.CustomOpenList),{notidata:c,setNotiData:u}=j.useContext(g.CustomOpenList),d=Gt({baseUrl:t,notiPath:r,setNotiData:u}),h=async()=>{var b,v;try{await d()}catch(l){g.pushError(((v=(b=l.response)==null?void 0:b.data)==null?void 0:v.errorMessage)||"Have error when get notification list")}};return j.useEffect(()=>{h()},[o]),j.useEffect(()=>{Kt({childrenClass:"noti-container",childrenOpenClass:"noti-list-container",action(){a()}})}),s.jsxs("div",{children:[s.jsxs("div",{className:"noti-container",style:{position:"relative"},children:[s.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:i,style:{cursor:"pointer",color:e},children:[s.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7968 17.4705C16.5901 17.4705 18.8076 16.8556 19.0218 14.3874C19.0218 11.921 17.4757 12.0796 17.4757 9.05334C17.4757 6.68952 15.2352 4 11.7968 4C8.35833 4 6.1178 6.68952 6.1178 9.05334C6.1178 12.0796 4.57178 11.921 4.57178 14.3874C4.78679 16.8649 7.00428 17.4705 11.7968 17.4705Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),s.jsx("path",{d:"M13.8274 20.0286C12.6679 21.3161 10.8591 21.3313 9.68848 20.0286",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(c==null?void 0:c.unread)&&(c==null?void 0:c.unread.total)!=0&&s.jsx("span",{style:{position:"absolute",top:"-9px",right:"-6px",width:"20px",height:"20px",border:"1px solid #fff",borderRadius:"50%",color:"#fff",fontSize:"12px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:g.color.danger},className:"notification-badge",children:((m=c==null?void 0:c.unread)==null?void 0:m.total)>9?"9+":`${(y=c==null?void 0:c.unread)==null?void 0:y.total}`})]}),s.jsx("div",{className:"noti-list-container",children:!o&&s.jsx(no,{baseUrl:t,notiPath:r,brandColors:n})})]})}const io="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNiAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNy44OTIyMiIgY3k9IjguMzQ5MDEiIHI9IjUuNTk5MDEiIHN0cm9rZT0iIzg1ODU4QSIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTIuNjQyOCAxMy4xODU1TDE0LjQ1NjggMTQuOTk5NSIgc3Ryb2tlPSIjODU4NThBIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=",ao=`.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-wrapper{display:flex;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;position:relative}.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}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem;transition:width .3s}.userAvatar{width:2.5rem;height:2.5rem;-o-object-fit:cover;object-fit:cover;border-radius:9999px;border:2px solid #FFFFFF}#userAvatarNull{width:2.5rem;height:2.5rem;background:#DDDDDD;border-radius:100%;color:#fff;font-size:20px;font-weight:400;display:flex;align-items:center;justify-content:center}.relative{position:relative}.cursor-pointer{cursor:pointer}.topbar-search-label{display:flex;position:relative}.topbar-search-input{color:#292929;border-radius:3px;height:40px;outline:none;width:223px;padding:5px 10px 5px 33px;font-size:14px;text-overflow:ellipsis}#icon{position:absolute;left:9px;top:8px;width:16px;height:24px}
|
|
33
|
+
`,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;justify-content:space-between;padding:16px;border-bottom:#FAFAFA 1px solid;text-align:left;font-size:12px;position:relative;z-index:10;border-radius:4px;margin-bottom:8px}.notitification-item__container:hover{background-color:#fafafa}.notification-item__image-container{width:46px;height:40px;display:flex;justify-content:center;align-items:center;border-radius:50%;overflow:hidden;margin-right:16px}.notification-item__image-container img{width:100%;height:100%;text-align:center;-o-object-fit:cover;object-fit:cover;color:transparent;text-indent:10000px}.notification-item__content-wrapper{width:100%;display:flex;align-items:center;justify-content:space-between}.notification-item__context-link{color:#007bff}.notification-item__content{width:68%;padding-right:16px}.notification-item__user-name{margin-bottom:2px;font-size:14px}.notification-item__time{margin-right:15px;text-align:right}.notification-item__read-at{border-width:2px;border-style:solid;border-radius:50%;width:10px;height:10px;display:block;position:relative}.notification-item__read-at:before{position:absolute;top:-30px;right:0;width:91px;background-color:#85858a;color:#fff;border-radius:4px;font-size:10px;text-align:center;padding:4px;opacity:0;visibility:hidden;transition:all .3s cubic-bezier(.39,.575,.565,1)}.notification-item__read-at:hover:before{opacity:1;visibility:visible}.notification-item__read-at.read:before{content:"Mark as unread"}.notification-item__read-at.unread:before{content:"Mark as read"}.notification-item__read-at.read{border-color:#eee}.notification-item__read-at.unread{border-color:#2e7d32;background-color:#2e7d32}.list-dot{border-radius:50%;width:8px;height:8px;margin-right:4px;display:block}
|
|
34
|
+
`,co=`._subscription-diaglog_1bysb_2{position:fixed;width:100vw;height:100vh;top:0;left:0;background-color:#0006;z-index:10000;display:flex;align-items:center;justify-content:center}._subscription-container_1bysb_15{width:610px;height:222px;border-radius:8px;padding:32px 24px 40px;background:#fff;color:#292929}._subscription-title_1bysb_25{font-size:20px;font-weight:500;text-align:center;color:#292929}._subscription-title_1bysb_25,._subscription-text_1bysb_34{margin-bottom:24px}._subscription-btn__container_1bysb_38{display:flex;justify-content:space-between;align-items:center}._btn-success_1bysb_44,._btn-cancel_1bysb_45{width:150px;height:40px;display:flex;align-items:center;justify-content:center;padding:8px;color:#292929;border-radius:1px;transition:background-color .25s cubic-bezier(.4,0,.2,1) 0ms,box-shadow .25s cubic-bezier(.4,0,.2,1) 0ms,border-color .25s cubic-bezier(.4,0,.2,1) 0ms,color .25s cubic-bezier(.4,0,.2,1) 0ms}._btn-cancel_1bysb_45{background-color:#ddd}._btn-cancel_1bysb_45:hover{background-color:#c5c5c5}._btn-success_1bysb_44{background-color:#93d500}._btn-success_1bysb_44:hover{background-color:#2e7d32}
|
|
35
|
+
`,sn=`.notification-massage_container{background:#fff;padding:0 64px 0 72px;border-radius:8px;font-family:TT Firs Neue Trl,sans-serif;text-decoration:none;color:inherit}.notification-massage_container: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{font-weight:500;font-size:14px;margin:0}.notification-message_service{font-size:12px}.notification-message_button-close{position:absolute;top:12px;right:24px;width:24px;height:24px}
|
|
36
|
+
`;function lo(e){return s.jsxs("svg",{width:"34",height:"25",viewBox:"0 0 34 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[s.jsxs("g",{"clip-path":"url(#clip0_16865_28134)",children:[s.jsx("rect",{y:"0.5",width:"34",height:"24",rx:"3",fill:"#1A47B8"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.61691 0.5H0V4.5L30.3635 24.5L34 24.5V20.5L3.61691 0.5Z",fill:"white"}),s.jsx("path",{d:"M1.20635 0.5L34 22.1567V24.5H32.8219L0 2.82089V0.5H1.20635Z",fill:"#F93939"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M30.7619 0.5H34V4.5C34 4.5 12.9683 17.8249 3.2381 24.5H0V20.5L30.7619 0.5Z",fill:"white"}),s.jsx("path",{d:"M34 0.5H32.9019L0 22.1753V24.5H1.20635L34 2.83842V0.5Z",fill:"#F93939"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.3648 0.5H21.6635V7.90291H34V17.0922H21.6635V24.5H12.3648V17.0922H0V7.90291H12.3648V0.5Z",fill:"white"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.3158 0.5H19.6842V9.73077H34V15.2692H19.6842V24.5H14.3158V15.2692H0V9.73077H14.3158V0.5Z",fill:"#F93939"})]}),s.jsx("defs",{children:s.jsx("clipPath",{id:"clip0_16865_28134",children:s.jsx("rect",{y:"0.5",width:"34",height:"24",rx:"3",fill:"white"})})})]})}function uo(e){return s.jsxs("svg",{width:"34",height:"24",viewBox:"0 0 34 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[s.jsxs("g",{"clip-path":"url(#clip0_16886_62505)",children:[s.jsx("rect",{width:"34",height:"24",rx:"3",fill:"#F93939"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 16H34V24H0V16Z",fill:"#FFDA2C"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 0H34V8H0V0Z",fill:"#151515"})]}),s.jsx("defs",{children:s.jsx("clipPath",{id:"clip0_16886_62505",children:s.jsx("rect",{width:"34",height:"24",rx:"3",fill:"white"})})})]})}const fo=j.createContext({}),cn=!0;function ho({baseColor:e,highlightColor:t,width:r,height:n,borderRadius:o,circle:i,direction:a,duration:c,enableAnimation:u=cn}){const d={};return a==="rtl"&&(d["--animation-direction"]="reverse"),typeof c=="number"&&(d["--animation-duration"]=`${c}s`),u||(d["--pseudo-element-display"]="none"),(typeof r=="string"||typeof r=="number")&&(d.width=r),(typeof n=="string"||typeof n=="number")&&(d.height=n),(typeof o=="string"||typeof o=="number")&&(d.borderRadius=o),i&&(d.borderRadius="50%"),typeof e<"u"&&(d["--base-color"]=e),typeof t<"u"&&(d["--highlight-color"]=t),d}function mo({count:e=1,wrapper:t,className:r,containerClassName:n,containerTestId:o,circle:i=!1,style:a,...c}){var u,d,h;const m=j.useContext(fo),y={...c};for(const[S,E]of Object.entries(c))typeof E>"u"&&delete y[S];const b={...m,...y,circle:i},v={...a,...ho(b)};let l="react-loading-skeleton";r&&(l+=` ${r}`);const f=(u=b.inline)!==null&&u!==void 0?u:!1,x=[],_=Math.ceil(e);for(let S=0;S<_;S++){let E=v;if(_>e&&S===_-1){const w=(d=E.width)!==null&&d!==void 0?d:"100%",C=e%1,I=typeof w=="number"?w*C:`calc(${w} * ${C})`;E={...E,width:I}}const p=j.createElement("span",{className:l,style:E,key:S},"");f?x.push(p):x.push(j.createElement(j.Fragment,{key:S},p,j.createElement("br",null)))}return j.createElement("span",{className:n,"data-testid":o,"aria-live":"polite","aria-busy":(h=b.enableAnimation)!==null&&h!==void 0?h:cn},t?x.map((S,E)=>j.createElement(t,{key:E},S)):x)}const po=`@keyframes react-loading-skeleton{to{transform:translate(100%)}}.react-loading-skeleton{--base-color: #ebebeb;--highlight-color: #f5f5f5;--animation-duration: 1.5s;--animation-direction: normal;--pseudo-element-display: block;background-color:var(--base-color);width:100%;border-radius:.25rem;display:inline-flex;line-height:1;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden}.react-loading-skeleton:after{content:" ";display:var(--pseudo-element-display);position:absolute;top:0;left:0;right:0;height:100%;background-repeat:no-repeat;background-image:linear-gradient(90deg,var(--base-color),var(--highlight-color),var(--base-color));transform:translate(-100%);animation-name:react-loading-skeleton;animation-direction:var(--animation-direction);animation-duration:var(--animation-duration);animation-timing-function:ease-in-out;animation-iteration-count:infinite}@media (prefers-reduced-motion){.react-loading-skeleton{--pseudo-element-display: none}}
|
|
37
|
+
`,go=({baseUrl:e,searchPath:t})=>{const[r,n]=j.useState(!1);console.log("hasPermission state",r);const o=async()=>{const a=e+(t||"/user-management/api/v1/users/my-account/access-stella-search");try{const c=await g.axiosInstance.get(a);console.log("hasPermission data",c.data),n(c.data)}catch(c){console.log(c)}};return j.useEffect(()=>{o()},[e,t]),{hasPermission:r}},yo=(e,t)=>j.useCallback(async()=>{try{const n="/stella/page/Search/Index",o=new URL(`${e}${n}`),i=new URLSearchParams({Term:t});o.search=i.toString();const a=await g.axiosInstance.get(o.href);console.log(a),a.data&&(window.location.href=o.href)}catch(n){console.error(n)}},[e,t]),vo=`.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}
|
|
38
|
+
`;function xo({classNames:e="",...t}){const{logo:r,user:n,baseUrl:o,notiPath:i,style:a,customColors:c,notiprops:u,isBrand:d,logout:h}=t,m={...a,color:(c==null?void 0:c.headerTextColor)||"white",backgroundColor:(c==null?void 0:c.headerBgColor)||"black"},[y,b]=j.useState(!1),v=j.useRef(null),{Term:l}=an.useParams();console.log("term",l);const[f,x]=j.useState(l||""),_=go({baseUrl:o});console.log("searchPermission",_.hasPermission);const S=yo(o,f),E=j.useCallback(p=>{x(p)},[]);return s.jsxs(g.StyleWrapper,{styles:[ao,so,sn,co,po],style:{zIndex:1202},id:"topbar-wrapper",children:[s.jsx("nav",{className:`navbar-wrapper ${e}`,style:c?m:a,children:s.jsxs("div",{className:"navbar-container",children:[s.jsx("a",{href:"/home",className:"logo-container",children:s.jsx("img",{src:r||"#",alt:" ",style:{height:"40px"}})}),s.jsxs("div",{className:"right-side-container",children:[d&&_.hasPermission?s.jsx("span",{children:s.jsxs("label",{className:"topbar-search-label",htmlFor:"topbar-search",children:[s.jsx("input",{name:"topbar-search",className:"topbar-search-input",id:"GlobalSearchInput",placeholder:"Search",onChange:p=>{const w=p.target.value;E(w)},ref:v,value:f,onKeyDown:p=>{p.key==="Enter"&&S()}}),s.jsx("img",{id:"icon",src:io,alt:"icon"})]})}):"",t.customElement,s.jsx("span",{children:s.jsxs(g.CustomOpenListProvider,{children:[s.jsx(Qn,{baseUrl:u.baseUrl,path:u.path,apiKey:u.apiKey,authDomain:u.authDomain,projectId:u.projectId,storageBucket:u.storageBucket,messagingSenderId:u.messagingSenderId,appId:u.appId,measurementId:u.measurementId,vapidKey:u.vapidKey}),s.jsx(oo,{iconColor:c==null?void 0:c.headerTextColor,baseUrl:o,notiPath:i,brandColors:c})]})}),s.jsx(ln,{}),s.jsxs("div",{className:"userContainer",children:[s.jsx(bo,{primaryColor:c==null?void 0:c.headerTextColor,avatarUrl:n==null?void 0:n.avatarUrl,userName:n==null?void 0:n.firstName,setShowConfirmModal:b}),s.jsx("p",{className:"userFullName",style:{color:c==null?void 0:c.headerTextColor,width:t.isFetching?"100px":"auto"},children:t.isFetching?s.jsx(mo,{baseColor:"#ebebeb26",highlightColor:"#f5f5f57d",style:{lineHeight:"unset"}}):n?n.firstName+" "+n.lastName:"Unknown User"})]})]})]})}),s.jsx(g.LogoutConfirmModal,{isOpen:y,onClose:()=>b(!1),onConfirm:h})]})}function ln(){var a;const e=[{value:g.Language.en,element:s.jsx(lo,{})},{value:g.Language.de,element:s.jsx(uo,{})}],[t,r]=j.useState(!1);j.useState(new Array(e.length).fill(!1));const{language:n,setLanguage:o}=g.useCustomTranslation();j.useEffect(()=>{Kt({childrenClass:"languageDropdown",action(){r(!1)}})},[]);const i=(a=e.find(c=>c.value==n))==null?void 0:a.element;return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:vo}),s.jsx("div",{className:"languageDropdownContainer",style:{position:"relative"},children:s.jsx("div",{className:"languageDropdown",onClick:()=>{r(!t)},children:i})})]})}function bo({avatarUrl:e,userName:t}){const[r,n]=j.useState(!1),o=j.useRef(null);return j.useRef(null),j.useState(!1),j.useState(!1),j.useEffect(()=>{Kt({childrenClass:"userAvatar",action(){n(!1)}})},[]),s.jsx(s.Fragment,{children:s.jsx("div",{style:{position:"relative"},children:e?s.jsx("img",{onClick:()=>n(!r),ref:o,alt:"user avatar",className:"userAvatar",src:e}):s.jsx("div",{onClick:()=>n(!r),ref:o,className:"userAvatar",id:"userAvatarNull",children:(t==null?void 0:t.charAt(0))??""})})})}function So(e){const{user:t,logout:r,isFetching:n}=g.useAuth();return s.jsx(xo,{...e,isFetching:n,user:t,logout:r})}const _o=e=>s.jsx(g.Q,{autoClose:3e3,hideProgressBar:!0,closeButton:!1,position:"bottom-left",newestOnTop:!0,pauseOnFocusLoss:!1,style:{fontFamily:"inherit"},...e}),wo=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}),Eo=({children:e})=>s.jsxs(O.Stack,{justifyContent:"center",alignItems:"center",sx:{backgroundColor:"#FAFAFA",minHeight:"450px"},children:[s.jsx(Co,{}),e]});function Co(){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 jo=typeof g.commonjsGlobal=="object"&&g.commonjsGlobal&&g.commonjsGlobal.Object===Object&&g.commonjsGlobal,To=typeof self=="object"&&self&&self.Object===Object&&self;jo||To||Function("return this")();function No(e){const[t,r]=j.useState(!!e),n=j.useCallback(()=>{r(!0)},[]),o=j.useCallback(()=>{r(!1)},[]),i=j.useCallback(()=>{r(a=>!a)},[]);return{value:t,setValue:r,setTrue:n,setFalse:o,toggle:i}}function Oo(e){var t;return s.jsxs(O.Dialog,{...e.dialogProps,open:e.open,children:[!e.hideTitle&&s.jsxs(O.DialogTitle,{component:O.Stack,sx:{...e.titleProps,textAlign:"center"},children:[typeof e.title=="string"?s.jsx(O.Typography,{variant:"h4",children:e.title}):e.title,typeof e.subTitle=="string"?s.jsx(O.Typography,{color:"success.main",variant:"body1",...e.subTitleProps,children:e.subTitle}):e.subTitle]}),s.jsx(O.DialogContent,{sx:{...e.contentProps,overflowY:e.fixOverflow?"unset":void 0},children:e.desc}),!(e.hideClose&&e.hideConfirm)&&s.jsx(O.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(O.Button,{color:"error",onClick:e.onClose,children:"Close"}),!e.hideConfirm&&s.jsx(O.Button,{color:"primary",onClick:e.onConfirm,children:"Submit"})]})})]})}function ko(e){const t=No(typeof e=="boolean"?e:void 0);return{setTrue:t.setTrue,open:t.value,onClose:t.setFalse,onConfirm:typeof e!="boolean"?e==null?void 0:e.onConfirm:void 0}}function Io({rootPath:e}){return s.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"100vw",height:"100vh",alignItems:"center",justifyContent:"center"},children:[s.jsx("h1",{children:"404 - Not Found"}),s.jsx("p",{children:"Sorry, the page you are looking for does not exist."}),s.jsx(O.Box,{height:"16px"}),s.jsx(an.Link,{to:e,children:s.jsx(O.Button,{variant:"contained",color:"primary",children:"Go to Home"})})]})}function Po(){const{colors:e}=g.useTheme();return s.jsx("div",{style:{display:"flex",flexDirection:"column",width:"100%",height:"calc(100vh - 144px)",alignItems:"center",justifyContent:"center",zIndex:100},children:s.jsx("h1",{style:{color:`${e==null?void 0:e.primary300}`,fontSize:"82px",fontWeight:700,textTransform:"uppercase",marginTop:0,marginBottom:0,textAlign:"center"},children:"Welcome to the Intelli-Verse"})})}const Ao=()=>{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(Mo,{}),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")]})]})]})})},Mo=()=>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 un(e){if(!he(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=un(e[r])}),t}function ce(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]=ce(e[o],t[o],r):r.clone?n[o]=he(t[o])?un(t[o]):t[o]:n[o]=t[o])}),n}const $o=Object.freeze(Object.defineProperty({__proto__:null,default:ce,isPlainObject:he},Symbol.toStringTag,{value:"Module"}));function Ue(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const Ro=Object.freeze(Object.defineProperty({__proto__:null,default:Ue},Symbol.toStringTag,{value:"Module"}));var Lt={exports:{}},M={};/**
|
|
39
39
|
* @license React
|
|
40
40
|
* react-is.production.min.js
|
|
41
41
|
*
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
*
|
|
44
44
|
* This source code is licensed under the MIT license found in the
|
|
45
45
|
* LICENSE file in the root directory of this source tree.
|
|
46
|
-
*/var pr;function Do(){if(pr)return M;pr=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"),
|
|
46
|
+
*/var pr;function Do(){if(pr)return M;pr=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),v;v=Symbol.for("react.module.reference");function l(f){if(typeof f=="object"&&f!==null){var x=f.$$typeof;switch(x){case e:switch(f=f.type,f){case r:case o:case n:case d:case h:return f;default:switch(f=f&&f.$$typeof,f){case c:case a:case u:case y:case m:case i:return f;default:return x}}case t:return x}}}return M.ContextConsumer=a,M.ContextProvider=i,M.Element=e,M.ForwardRef=u,M.Fragment=r,M.Lazy=y,M.Memo=m,M.Portal=t,M.Profiler=o,M.StrictMode=n,M.Suspense=d,M.SuspenseList=h,M.isAsyncMode=function(){return!1},M.isConcurrentMode=function(){return!1},M.isContextConsumer=function(f){return l(f)===a},M.isContextProvider=function(f){return l(f)===i},M.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===e},M.isForwardRef=function(f){return l(f)===u},M.isFragment=function(f){return l(f)===r},M.isLazy=function(f){return l(f)===y},M.isMemo=function(f){return l(f)===m},M.isPortal=function(f){return l(f)===t},M.isProfiler=function(f){return l(f)===o},M.isStrictMode=function(f){return l(f)===n},M.isSuspense=function(f){return l(f)===d},M.isSuspenseList=function(f){return l(f)===h},M.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===r||f===o||f===n||f===d||f===h||f===b||typeof f=="object"&&f!==null&&(f.$$typeof===y||f.$$typeof===m||f.$$typeof===i||f.$$typeof===a||f.$$typeof===u||f.$$typeof===v||f.getModuleId!==void 0)},M.typeOf=l,M}var $={};/**
|
|
47
47
|
* @license React
|
|
48
48
|
* react-is.development.js
|
|
49
49
|
*
|
|
@@ -51,50 +51,50 @@
|
|
|
51
51
|
*
|
|
52
52
|
* This source code is licensed under the MIT license found in the
|
|
53
53
|
* LICENSE file in the root directory of this source tree.
|
|
54
|
-
*/var gr;function zo(){return gr||(gr=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),
|
|
54
|
+
*/var gr;function zo(){return gr||(gr=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),v=!1,l=!1,f=!1,x=!1,_=!1,S;S=Symbol.for("react.module.reference");function E(N){return!!(typeof N=="string"||typeof N=="function"||N===r||N===o||_||N===n||N===d||N===h||x||N===b||v||l||f||typeof N=="object"&&N!==null&&(N.$$typeof===y||N.$$typeof===m||N.$$typeof===i||N.$$typeof===a||N.$$typeof===u||N.$$typeof===S||N.getModuleId!==void 0))}function p(N){if(typeof N=="object"&&N!==null){var Ee=N.$$typeof;switch(Ee){case e:var tt=N.type;switch(tt){case r:case o:case n:case d:case h:return tt;default:var hr=tt&&tt.$$typeof;switch(hr){case c:case a:case u:case y:case m:case i:return hr;default:return Ee}}case t:return Ee}}}var w=a,C=i,I=e,k=u,H=r,z=y,W=m,G=t,ae=o,pe=n,ge=d,be=h,ue=!1,Se=!1;function ye(N){return ue||(ue=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Fe(N){return Se||(Se=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Le(N){return p(N)===a}function _e(N){return p(N)===i}function de(N){return typeof N=="object"&&N!==null&&N.$$typeof===e}function we(N){return p(N)===u}function kt(N){return p(N)===r}function It(N){return p(N)===y}function Pt(N){return p(N)===m}function At(N){return p(N)===t}function Mt(N){return p(N)===o}function $t(N){return p(N)===n}function T(N){return p(N)===d}function Ve(N){return p(N)===h}$.ContextConsumer=w,$.ContextProvider=C,$.Element=I,$.ForwardRef=k,$.Fragment=H,$.Lazy=z,$.Memo=W,$.Portal=G,$.Profiler=ae,$.StrictMode=pe,$.Suspense=ge,$.SuspenseList=be,$.isAsyncMode=ye,$.isConcurrentMode=Fe,$.isContextConsumer=Le,$.isContextProvider=_e,$.isElement=de,$.isForwardRef=we,$.isFragment=kt,$.isLazy=It,$.isMemo=Pt,$.isPortal=At,$.isProfiler=Mt,$.isStrictMode=$t,$.isSuspense=T,$.isSuspenseList=Ve,$.isValidElementType=E,$.typeOf=p}()),$}process.env.NODE_ENV==="production"?Lt.exports=Do():Lt.exports=zo();var yr=Lt.exports;const Fo=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function dn(e){const t=`${e}`.match(Fo);return t&&t[1]||""}function fn(e,t=""){return e.displayName||e.name||dn(e)||t}function vr(e,t,r){const n=fn(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function Lo(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return fn(e,"Component");if(typeof e=="object")switch(e.$$typeof){case yr.ForwardRef:return vr(e,e.render,"ForwardRef");case yr.Memo:return vr(e,e.type,"memo");default:return}}}const Vo=Object.freeze(Object.defineProperty({__proto__:null,default:Lo,getFunctionName:dn},Symbol.toStringTag,{value:"Module"}));function ve(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ue(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Bo=Object.freeze(Object.defineProperty({__proto__:null,default:ve},Symbol.toStringTag,{value:"Module"}));function hn(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]=hn(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Ho(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((i,a)=>{if(a){const c=t(a);c!==""&&i.push(c),r&&r[a]&&i.push(r[a])}return i},[]).join(" ")}),n}const xr=e=>e,Wo=()=>{let e=xr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=xr}}},Uo=Wo(),qo=Uo,Yo={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Zt(e,t,r="Mui"){const n=Yo[t];return n?`${r}-${n}`:`${qo.generate(e)}-${t}`}function Go(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Zt(e,o,r)}),n}function Ko(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const Zo=Object.freeze(Object.defineProperty({__proto__:null,default:Ko},Symbol.toStringTag,{value:"Module"}));function Xo(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:hn(t.components[r].defaultProps,n)}const Jo=["values","unit","step"],Qo=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 mn(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,Jo),i=Qo(t),a=Object.keys(i);function c(y){return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${r})`}function u(y){return`@media (max-width:${(typeof t[y]=="number"?t[y]:y)-n/100}${r})`}function d(y,b){const v=a.indexOf(b);return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${r}) and (max-width:${(v!==-1&&typeof t[a[v]]=="number"?t[a[v]]:b)-n/100}${r})`}function h(y){return a.indexOf(y)+1<a.length?d(y,a[a.indexOf(y)+1]):c(y)}function m(y){const b=a.indexOf(y);return b===0?c(a[1]):b===a.length-1?u(a[b]):d(y,a[a.indexOf(y)+1]).replace("@media","@media not all and")}return g._extends({keys:a,values:i,up:c,down:u,between:d,only:h,not:m,unit:r},o)}const ei={borderRadius:4},ti=ei,ri=process.env.NODE_ENV!=="production"?g.PropTypes.oneOfType([g.PropTypes.number,g.PropTypes.string,g.PropTypes.object,g.PropTypes.array]):{},me=ri;function We(e,t){return t?ce(e,t,{clone:!1}):e}const Xt={xs:0,sm:600,md:900,lg:1200,xl:1536},br={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Xt[e]}px)`};function fe(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||br;return t.reduce((a,c,u)=>(a[i.up(i.keys[u])]=r(t[u]),a),{})}if(typeof t=="object"){const i=n.breakpoints||br;return Object.keys(t).reduce((a,c)=>{if(Object.keys(i.values||Xt).indexOf(c)!==-1){const u=i.up(c);a[u]=r(t[c],c)}else{const u=c;a[u]=t[u]}return a},{})}return r(t)}function ni(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function oi(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function gt(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function dt(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=gt(e,r)||n,t&&(o=t(o,n,e)),o}function U(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const c=a[t],u=a.theme,d=gt(u,n)||{};return fe(a,c,m=>{let y=dt(d,o,m);return m===y&&typeof m=="string"&&(y=dt(d,o,`${t}${m==="default"?"":ve(m)}`,m)),r===!1?y:{[r]:y}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:me}:{},i.filterProps=[t],i}function ii(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const ai={m:"margin",p:"padding"},si={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Sr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ci=ii(e=>{if(e.length>2)if(Sr[e])e=Sr[e];else return[e];const[t,r]=e.split(""),n=ai[t],o=si[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),yt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],vt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],li=[...yt,...vt];function Ze(e,t,r,n){var o;const i=(o=gt(e,t,!1))!=null?o:r;return typeof i=="number"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`),i*a):Array.isArray(i)?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>i.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${a} > ${i.length-1}, you need to add the missing values.`].join(`
|
|
55
55
|
`)):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(`
|
|
56
56
|
`))),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(`
|
|
57
|
-
`)),()=>{})}function mn(e){return Ze(e,"spacing",8,"spacing")}function Xe(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function ui(e,t){return r=>e.reduce((n,o)=>(n[o]=Xe(t,r),n),{})}function di(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=li(r),i=ui(o,n),a=e[r];return fe(e,a,i)}function pn(e,t){const r=mn(e.theme);return Object.keys(e).map(n=>di(e,t,n,r)).reduce(We,{})}function V(e){return pn(e,yt)}V.propTypes=process.env.NODE_ENV!=="production"?yt.reduce((e,t)=>(e[t]=me,e),{}):{};V.filterProps=yt;function B(e){return pn(e,vt)}B.propTypes=process.env.NODE_ENV!=="production"?vt.reduce((e,t)=>(e[t]=me,e),{}):{};B.filterProps=vt;process.env.NODE_ENV!=="production"&&ci.reduce((e,t)=>(e[t]=me,e),{});function fi(e=8){if(e.mui)return e;const t=mn({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function xt(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?We(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function re(e){return typeof e!="number"?e:`${e}px solid`}function oe(e,t){return U({prop:e,themeKey:"borders",transform:t})}const hi=oe("border",re),mi=oe("borderTop",re),pi=oe("borderRight",re),gi=oe("borderBottom",re),yi=oe("borderLeft",re),xi=oe("borderColor"),bi=oe("borderTopColor"),_i=oe("borderRightColor"),Si=oe("borderBottomColor"),wi=oe("borderLeftColor"),Ei=oe("outline",re),Ci=oe("outlineColor"),bt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ze(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Xe(t,n)});return fe(e,e.borderRadius,r)}return null};bt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:me}:{};bt.filterProps=["borderRadius"];xt(hi,mi,pi,gi,yi,xi,bi,_i,Si,wi,bt,Ei,Ci);const _t=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ze(e.theme,"spacing",8,"gap"),r=n=>({gap:Xe(t,n)});return fe(e,e.gap,r)}return null};_t.propTypes=process.env.NODE_ENV!=="production"?{gap:me}:{};_t.filterProps=["gap"];const St=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ze(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Xe(t,n)});return fe(e,e.columnGap,r)}return null};St.propTypes=process.env.NODE_ENV!=="production"?{columnGap:me}:{};St.filterProps=["columnGap"];const wt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ze(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Xe(t,n)});return fe(e,e.rowGap,r)}return null};wt.propTypes=process.env.NODE_ENV!=="production"?{rowGap:me}:{};wt.filterProps=["rowGap"];const ji=U({prop:"gridColumn"}),Ti=U({prop:"gridRow"}),Ni=U({prop:"gridAutoFlow"}),Oi=U({prop:"gridAutoColumns"}),ki=U({prop:"gridAutoRows"}),Ii=U({prop:"gridTemplateColumns"}),Pi=U({prop:"gridTemplateRows"}),Ai=U({prop:"gridTemplateAreas"}),Mi=U({prop:"gridArea"});xt(_t,St,wt,ji,Ti,Ni,Oi,ki,Ii,Pi,Ai,Mi);function Pe(e,t){return t==="grey"?t:e}const $i=U({prop:"color",themeKey:"palette",transform:Pe}),Ri=U({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Pe}),Di=U({prop:"backgroundColor",themeKey:"palette",transform:Pe});xt($i,Ri,Di);function Q(e){return e<=1&&e!==0?`${e*100}%`:e}const zi=U({prop:"width",transform:Q}),Jt=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Xt[r];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Q(r)}};return fe(e,e.maxWidth,t)}return null};Jt.filterProps=["maxWidth"];const Fi=U({prop:"minWidth",transform:Q}),Li=U({prop:"height",transform:Q}),Vi=U({prop:"maxHeight",transform:Q}),Bi=U({prop:"minHeight",transform:Q});U({prop:"size",cssProperty:"width",transform:Q});U({prop:"size",cssProperty:"height",transform:Q});const Hi=U({prop:"boxSizing"});xt(zi,Jt,Fi,Li,Vi,Bi,Hi);const Wi={border:{themeKey:"borders",transform:re},borderTop:{themeKey:"borders",transform:re},borderRight:{themeKey:"borders",transform:re},borderBottom:{themeKey:"borders",transform:re},borderLeft:{themeKey:"borders",transform:re},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:re},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:bt},color:{themeKey:"palette",transform:Pe},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Pe},backgroundColor:{themeKey:"palette",transform:Pe},p:{style:B},pt:{style:B},pr:{style:B},pb:{style:B},pl:{style:B},px:{style:B},py:{style:B},padding:{style:B},paddingTop:{style:B},paddingRight:{style:B},paddingBottom:{style:B},paddingLeft:{style:B},paddingX:{style:B},paddingY:{style:B},paddingInline:{style:B},paddingInlineStart:{style:B},paddingInlineEnd:{style:B},paddingBlock:{style:B},paddingBlockStart:{style:B},paddingBlockEnd:{style:B},m:{style:V},mt:{style:V},mr:{style:V},mb:{style:V},ml:{style:V},mx:{style:V},my:{style:V},margin:{style:V},marginTop:{style:V},marginRight:{style:V},marginBottom:{style:V},marginLeft:{style:V},marginX:{style:V},marginY:{style:V},marginInline:{style:V},marginInlineStart:{style:V},marginInlineEnd:{style:V},marginBlock:{style:V},marginBlockStart:{style:V},marginBlockEnd:{style:V},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:_t},rowGap:{style:wt},columnGap:{style:St},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Q},maxWidth:{style:Jt},minWidth:{transform:Q},height:{transform:Q},maxHeight:{transform:Q},minHeight:{transform:Q},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Je=Wi;function Ui(...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 qi(e,t){return typeof e=="function"?e(t):e}function gn(){function e(r,n,o,i){const a={[r]:n,theme:o},l=i[r];if(!l)return{[r]:n};const{cssProperty:u=r,themeKey:d,transform:h,style:m}=l;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const y=gt(o,d)||{};return m?m(a):fe(a,n,v=>{let c=dt(y,h,v);return v===c&&typeof v=="string"&&(c=dt(y,h,`${r}${v==="default"?"":ve(v)}`,v)),u===!1?c:{[u]:c}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:Je;function l(u){let d=u;if(typeof u=="function")d=u(i);else if(typeof u!="object")return u;if(!d)return null;const h=ni(i.breakpoints),m=Object.keys(h);let y=h;return Object.keys(d).forEach(b=>{const v=qi(d[b],i);if(v!=null)if(typeof v=="object")if(a[b])y=We(y,e(b,v,i,a));else{const c=fe({theme:i},v,f=>({[b]:f}));Ui(c,v)?y[b]=t({sx:v,theme:i}):y=We(y,c)}else y=We(y,e(b,v,i,a))}),oi(m,y)}return Array.isArray(o)?o.map(l):l(o)}return t}const yn=gn();yn.filterProps=["sx"];const Qt=yn;function vn(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 Yi=["breakpoints","palette","spacing","shape"];function er(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=g._objectWithoutPropertiesLoose(e,Yi),l=hn(r),u=fi(o);let d=le({breakpoints:l,direction:"ltr",components:{},palette:g._extends({mode:"light"},n),spacing:u,shape:g._extends({},ti,i)},a);return d.applyStyles=vn,d=t.reduce((h,m)=>le(h,m),d),d.unstable_sxConfig=g._extends({},Je,a==null?void 0:a.unstable_sxConfig),d.unstable_sx=function(m){return Qt({sx:m,theme:this})},d}const Gi=Object.freeze(Object.defineProperty({__proto__:null,default:er,private_createBreakpoints:hn,unstable_applyStyles:vn},Symbol.toStringTag,{value:"Module"}));function xn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ki=/^((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)-.*))$/,Zi=xn(function(e){return Ki.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Xi(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 Ji(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 Qi=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(Ji(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:
|
|
58
|
-
`+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=Xi(o);try{a.insertRule(n,a.cssRules.length)}catch(l){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',l)}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),X="-ms-",ft="-moz-",P="-webkit-",tr="comm",rr="rule",nr="decl",ea="@import",bn="@keyframes",ta="@layer",ra=Math.abs,Et=String.fromCharCode,na=Object.assign;function oa(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 _n(e){return e.trim()}function ia(e,t){return(e=t.exec(e))?e[0]:e}function A(e,t,r){return e.replace(t,r)}function Vt(e,t){return e.indexOf(t)}function Z(e,t){return e.charCodeAt(t)|0}function qe(e,t,r){return e.slice(t,r)}function se(e){return e.length}function or(e){return e.length}function rt(e,t){return t.push(e),e}function aa(e,t){return e.map(t).join("")}var Ct=1,Me=1,Sn=0,J=0,Y=0,Re="";function jt(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Ct,column:Me,length:a,return:""}}function Be(e,t){return na(jt("",null,null,"",null,null,0),e,{length:-e.length},t)}function sa(){return Y}function la(){return Y=J>0?Z(Re,--J):0,Me--,Y===10&&(Me=1,Ct--),Y}function ee(){return Y=J<Sn?Z(Re,J++):0,Me++,Y===10&&(Me=1,Ct++),Y}function ce(){return Z(Re,J)}function ot(){return J}function Qe(e,t){return qe(Re,e,t)}function Ye(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function wn(e){return Ct=Me=1,Sn=se(Re=e),J=0,[]}function En(e){return Re="",e}function it(e){return _n(Qe(J-1,Bt(e===91?e+2:e===40?e+1:e)))}function ca(e){for(;(Y=ce())&&Y<33;)ee();return Ye(e)>2||Ye(Y)>3?"":" "}function ua(e,t){for(;--t&&ee()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return Qe(e,ot()+(t<6&&ce()==32&&ee()==32))}function Bt(e){for(;ee();)switch(Y){case e:return J;case 34:case 39:e!==34&&e!==39&&Bt(Y);break;case 40:e===41&&Bt(e);break;case 92:ee();break}return J}function da(e,t){for(;ee()&&e+Y!==47+10;)if(e+Y===42+42&&ce()===47)break;return"/*"+Qe(t,J-1)+"*"+Et(e===47?e:ee())}function fa(e){for(;!Ye(ce());)ee();return Qe(e,J)}function ha(e){return En(at("",null,null,null,[""],e=wn(e),0,[0],e))}function at(e,t,r,n,o,i,a,l,u){for(var d=0,h=0,m=a,y=0,b=0,v=0,c=1,f=1,x=1,S=0,_="",E=o,p=i,w=n,C=_;f;)switch(v=S,S=ee()){case 40:if(v!=108&&Z(C,m-1)==58){Vt(C+=A(it(S),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:C+=it(S);break;case 9:case 10:case 13:case 32:C+=ca(v);break;case 92:C+=ua(ot()-1,7);continue;case 47:switch(ce()){case 42:case 47:rt(ma(da(ee(),ot()),t,r),u);break;default:C+="/"}break;case 123*c:l[d++]=se(C)*x;case 125*c:case 59:case 0:switch(S){case 0:case 125:f=0;case 59+h:x==-1&&(C=A(C,/\f/g,"")),b>0&&se(C)-m&&rt(b>32?wr(C+";",n,r,m-1):wr(A(C," ","")+";",n,r,m-2),u);break;case 59:C+=";";default:if(rt(w=Sr(C,t,r,d,h,o,l,_,E=[],p=[],m),i),S===123)if(h===0)at(C,t,w,w,E,i,m,l,p);else switch(y===99&&Z(C,3)===110?100:y){case 100:case 108:case 109:case 115:at(e,w,w,n&&rt(Sr(e,w,w,0,0,o,l,_,o,E=[],m),p),o,p,m,l,n?E:p);break;default:at(C,w,w,w,[""],p,0,l,p)}}d=h=b=0,c=x=1,_=C="",m=a;break;case 58:m=1+se(C),b=v;default:if(c<1){if(S==123)--c;else if(S==125&&c++==0&&la()==125)continue}switch(C+=Et(S),S*c){case 38:x=h>0?1:(C+="\f",-1);break;case 44:l[d++]=(se(C)-1)*x,x=1;break;case 64:ce()===45&&(C+=it(ee())),y=ce(),h=m=se(_=C+=fa(ot())),S++;break;case 45:v===45&&se(C)==2&&(c=0)}}return i}function Sr(e,t,r,n,o,i,a,l,u,d,h){for(var m=o-1,y=o===0?i:[""],b=or(y),v=0,c=0,f=0;v<n;++v)for(var x=0,S=qe(e,m+1,m=ra(c=a[v])),_=e;x<b;++x)(_=_n(c>0?y[x]+" "+S:A(S,/&\f/g,y[x])))&&(u[f++]=_);return jt(e,t,r,o===0?rr:l,u,d,h)}function ma(e,t,r){return jt(e,t,r,tr,Et(sa()),qe(e,2,-2),0)}function wr(e,t,r,n){return jt(e,t,r,nr,qe(e,0,n),qe(e,n+1,-1),n)}function Ae(e,t){for(var r="",n=or(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function pa(e,t,r,n){switch(e.type){case ta:if(e.children.length)break;case ea:case nr:return e.return=e.return||e.value;case tr:return"";case bn:return e.return=e.value+"{"+Ae(e.children,n)+"}";case rr:e.value=e.props.join(",")}return se(r=Ae(e.children,n))?e.return=e.value+"{"+r+"}":""}function ga(e){var t=or(e);return function(r,n,o,i){for(var a="",l=0;l<t;l++)a+=e[l](r,n,o,i)||"";return a}}function ya(e){return function(t){t.root||(t=t.return)&&e(t)}}var va=function(t,r,n){for(var o=0,i=0;o=i,i=ce(),o===38&&i===12&&(r[n]=1),!Ye(i);)ee();return Qe(t,J)},xa=function(t,r){var n=-1,o=44;do switch(Ye(o)){case 0:o===38&&ce()===12&&(r[n]=1),t[n]+=va(J-1,r,n);break;case 2:t[n]+=it(o);break;case 4:if(o===44){t[++n]=ce()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Et(o)}while(o=ee());return t},ba=function(t,r){return En(xa(wn(t),r))},Er=new WeakMap,_a=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Er.get(n))&&!o){Er.set(t,!0);for(var i=[],a=ba(r,i),l=n.props,u=0,d=0;u<a.length;u++)for(var h=0;h<l.length;h++,d++)t.props[d]=i[u]?a[u].replace(/&\f/g,l[h]):l[h]+" "+a[u]}}},Sa=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},wa="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",Ea=function(t){return t.type==="comm"&&t.children.indexOf(wa)>-1},Ca=function(t){return function(r,n,o){if(!(r.type!=="rule"||t.compat)){var i=r.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var a=!!r.parent,l=a?r.parent.children:o,u=l.length-1;u>=0;u--){var d=l[u];if(d.line<r.line)break;if(d.column<r.column){if(Ea(d))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".')})}}}},Cn=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},ja=function(t,r){for(var n=t-1;n>=0;n--)if(!Cn(r[n]))return!0;return!1},Cr=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Ta=function(t,r,n){Cn(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Cr(t)):ja(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Cr(t)))};function jn(e,t){switch(oa(e,t)){case 5103:return P+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return P+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return P+e+ft+e+X+e+e;case 6828:case 4268:return P+e+X+e+e;case 6165:return P+e+X+"flex-"+e+e;case 5187:return P+e+A(e,/(\w+).+(:[^]+)/,P+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return P+e+X+"flex-item-"+A(e,/flex-|-self/,"")+e;case 4675:return P+e+X+"flex-line-pack"+A(e,/align-content|flex-|-self/,"")+e;case 5548:return P+e+X+A(e,"shrink","negative")+e;case 5292:return P+e+X+A(e,"basis","preferred-size")+e;case 6060:return P+"box-"+A(e,"-grow","")+P+e+X+A(e,"grow","positive")+e;case 4554:return P+A(e,/([^-])(transform)/g,"$1"+P+"$2")+e;case 6187:return A(A(A(e,/(zoom-|grab)/,P+"$1"),/(image-set)/,P+"$1"),e,"")+e;case 5495:case 3959:return A(e,/(image-set\([^]*)/,P+"$1$`$1");case 4968:return A(A(e,/(.+:)(flex-)?(.*)/,P+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+P+e+e;case 4095:case 3583:case 4068:case 2532:return A(e,/(.+)-inline(.+)/,P+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(se(e)-1-t>6)switch(Z(e,t+1)){case 109:if(Z(e,t+4)!==45)break;case 102:return A(e,/(.+:)(.+)-([^]+)/,"$1"+P+"$2-$3$1"+ft+(Z(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Vt(e,"stretch")?jn(A(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Z(e,t+1)!==115)break;case 6444:switch(Z(e,se(e)-3-(~Vt(e,"!important")&&10))){case 107:return A(e,":",":"+P)+e;case 101:return A(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+P+(Z(e,14)===45?"inline-":"")+"box$3$1"+P+"$2$3$1"+X+"$2box$3")+e}break;case 5936:switch(Z(e,t+11)){case 114:return P+e+X+A(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return P+e+X+A(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return P+e+X+A(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return P+e+X+e+e}return e}var Na=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case nr:t.return=jn(t.value,t.length);break;case bn:return Ae([Be(t,{value:A(t.value,"@","@"+P)})],o);case rr:if(t.length)return aa(t.props,function(i){switch(ia(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ae([Be(t,{props:[A(i,/:(read-\w+)/,":"+ft+"$1")]})],o);case"::placeholder":return Ae([Be(t,{props:[A(i,/:(plac\w+)/,":"+P+"input-$1")]}),Be(t,{props:[A(i,/:(plac\w+)/,":"+ft+"$1")]}),Be(t,{props:[A(i,/:(plac\w+)/,X+"input-$1")]})],o)}return""})}},Oa=[Na],Tn=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.
|
|
59
|
-
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(
|
|
57
|
+
`)),()=>{})}function pn(e){return Ze(e,"spacing",8,"spacing")}function Xe(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function ui(e,t){return r=>e.reduce((n,o)=>(n[o]=Xe(t,r),n),{})}function di(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=ci(r),i=ui(o,n),a=e[r];return fe(e,a,i)}function gn(e,t){const r=pn(e.theme);return Object.keys(e).map(n=>di(e,t,n,r)).reduce(We,{})}function V(e){return gn(e,yt)}V.propTypes=process.env.NODE_ENV!=="production"?yt.reduce((e,t)=>(e[t]=me,e),{}):{};V.filterProps=yt;function B(e){return gn(e,vt)}B.propTypes=process.env.NODE_ENV!=="production"?vt.reduce((e,t)=>(e[t]=me,e),{}):{};B.filterProps=vt;process.env.NODE_ENV!=="production"&&li.reduce((e,t)=>(e[t]=me,e),{});function fi(e=8){if(e.mui)return e;const t=pn({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function xt(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?We(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function re(e){return typeof e!="number"?e:`${e}px solid`}function oe(e,t){return U({prop:e,themeKey:"borders",transform:t})}const hi=oe("border",re),mi=oe("borderTop",re),pi=oe("borderRight",re),gi=oe("borderBottom",re),yi=oe("borderLeft",re),xi=oe("borderColor"),bi=oe("borderTopColor"),Si=oe("borderRightColor"),_i=oe("borderBottomColor"),wi=oe("borderLeftColor"),Ei=oe("outline",re),Ci=oe("outlineColor"),bt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ze(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Xe(t,n)});return fe(e,e.borderRadius,r)}return null};bt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:me}:{};bt.filterProps=["borderRadius"];xt(hi,mi,pi,gi,yi,xi,bi,Si,_i,wi,bt,Ei,Ci);const St=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ze(e.theme,"spacing",8,"gap"),r=n=>({gap:Xe(t,n)});return fe(e,e.gap,r)}return null};St.propTypes=process.env.NODE_ENV!=="production"?{gap:me}:{};St.filterProps=["gap"];const _t=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ze(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Xe(t,n)});return fe(e,e.columnGap,r)}return null};_t.propTypes=process.env.NODE_ENV!=="production"?{columnGap:me}:{};_t.filterProps=["columnGap"];const wt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ze(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Xe(t,n)});return fe(e,e.rowGap,r)}return null};wt.propTypes=process.env.NODE_ENV!=="production"?{rowGap:me}:{};wt.filterProps=["rowGap"];const ji=U({prop:"gridColumn"}),Ti=U({prop:"gridRow"}),Ni=U({prop:"gridAutoFlow"}),Oi=U({prop:"gridAutoColumns"}),ki=U({prop:"gridAutoRows"}),Ii=U({prop:"gridTemplateColumns"}),Pi=U({prop:"gridTemplateRows"}),Ai=U({prop:"gridTemplateAreas"}),Mi=U({prop:"gridArea"});xt(St,_t,wt,ji,Ti,Ni,Oi,ki,Ii,Pi,Ai,Mi);function Pe(e,t){return t==="grey"?t:e}const $i=U({prop:"color",themeKey:"palette",transform:Pe}),Ri=U({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Pe}),Di=U({prop:"backgroundColor",themeKey:"palette",transform:Pe});xt($i,Ri,Di);function Q(e){return e<=1&&e!==0?`${e*100}%`:e}const zi=U({prop:"width",transform:Q}),Jt=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Xt[r];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Q(r)}};return fe(e,e.maxWidth,t)}return null};Jt.filterProps=["maxWidth"];const Fi=U({prop:"minWidth",transform:Q}),Li=U({prop:"height",transform:Q}),Vi=U({prop:"maxHeight",transform:Q}),Bi=U({prop:"minHeight",transform:Q});U({prop:"size",cssProperty:"width",transform:Q});U({prop:"size",cssProperty:"height",transform:Q});const Hi=U({prop:"boxSizing"});xt(zi,Jt,Fi,Li,Vi,Bi,Hi);const Wi={border:{themeKey:"borders",transform:re},borderTop:{themeKey:"borders",transform:re},borderRight:{themeKey:"borders",transform:re},borderBottom:{themeKey:"borders",transform:re},borderLeft:{themeKey:"borders",transform:re},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:re},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:bt},color:{themeKey:"palette",transform:Pe},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Pe},backgroundColor:{themeKey:"palette",transform:Pe},p:{style:B},pt:{style:B},pr:{style:B},pb:{style:B},pl:{style:B},px:{style:B},py:{style:B},padding:{style:B},paddingTop:{style:B},paddingRight:{style:B},paddingBottom:{style:B},paddingLeft:{style:B},paddingX:{style:B},paddingY:{style:B},paddingInline:{style:B},paddingInlineStart:{style:B},paddingInlineEnd:{style:B},paddingBlock:{style:B},paddingBlockStart:{style:B},paddingBlockEnd:{style:B},m:{style:V},mt:{style:V},mr:{style:V},mb:{style:V},ml:{style:V},mx:{style:V},my:{style:V},margin:{style:V},marginTop:{style:V},marginRight:{style:V},marginBottom:{style:V},marginLeft:{style:V},marginX:{style:V},marginY:{style:V},marginInline:{style:V},marginInlineStart:{style:V},marginInlineEnd:{style:V},marginBlock:{style:V},marginBlockStart:{style:V},marginBlockEnd:{style:V},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:St},rowGap:{style:wt},columnGap:{style:_t},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Q},maxWidth:{style:Jt},minWidth:{transform:Q},height:{transform:Q},maxHeight:{transform:Q},minHeight:{transform:Q},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Je=Wi;function Ui(...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 qi(e,t){return typeof e=="function"?e(t):e}function yn(){function e(r,n,o,i){const a={[r]:n,theme:o},c=i[r];if(!c)return{[r]:n};const{cssProperty:u=r,themeKey:d,transform:h,style:m}=c;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const y=gt(o,d)||{};return m?m(a):fe(a,n,v=>{let l=dt(y,h,v);return v===l&&typeof v=="string"&&(l=dt(y,h,`${r}${v==="default"?"":ve(v)}`,v)),u===!1?l:{[u]:l}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:Je;function c(u){let d=u;if(typeof u=="function")d=u(i);else if(typeof u!="object")return u;if(!d)return null;const h=ni(i.breakpoints),m=Object.keys(h);let y=h;return Object.keys(d).forEach(b=>{const v=qi(d[b],i);if(v!=null)if(typeof v=="object")if(a[b])y=We(y,e(b,v,i,a));else{const l=fe({theme:i},v,f=>({[b]:f}));Ui(l,v)?y[b]=t({sx:v,theme:i}):y=We(y,l)}else y=We(y,e(b,v,i,a))}),oi(m,y)}return Array.isArray(o)?o.map(c):c(o)}return t}const vn=yn();vn.filterProps=["sx"];const Qt=vn;function xn(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 Yi=["breakpoints","palette","spacing","shape"];function er(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=g._objectWithoutPropertiesLoose(e,Yi),c=mn(r),u=fi(o);let d=ce({breakpoints:c,direction:"ltr",components:{},palette:g._extends({mode:"light"},n),spacing:u,shape:g._extends({},ti,i)},a);return d.applyStyles=xn,d=t.reduce((h,m)=>ce(h,m),d),d.unstable_sxConfig=g._extends({},Je,a==null?void 0:a.unstable_sxConfig),d.unstable_sx=function(m){return Qt({sx:m,theme:this})},d}const Gi=Object.freeze(Object.defineProperty({__proto__:null,default:er,private_createBreakpoints:mn,unstable_applyStyles:xn},Symbol.toStringTag,{value:"Module"}));function bn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ki=/^((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)-.*))$/,Zi=bn(function(e){return Ki.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Xi(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 Ji(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 Qi=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(Ji(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:
|
|
58
|
+
`+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=Xi(o);try{a.insertRule(n,a.cssRules.length)}catch(c){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',c)}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),X="-ms-",ft="-moz-",P="-webkit-",tr="comm",rr="rule",nr="decl",ea="@import",Sn="@keyframes",ta="@layer",ra=Math.abs,Et=String.fromCharCode,na=Object.assign;function oa(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 _n(e){return e.trim()}function ia(e,t){return(e=t.exec(e))?e[0]:e}function A(e,t,r){return e.replace(t,r)}function Vt(e,t){return e.indexOf(t)}function Z(e,t){return e.charCodeAt(t)|0}function qe(e,t,r){return e.slice(t,r)}function se(e){return e.length}function or(e){return e.length}function rt(e,t){return t.push(e),e}function aa(e,t){return e.map(t).join("")}var Ct=1,Me=1,wn=0,J=0,Y=0,Re="";function jt(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Ct,column:Me,length:a,return:""}}function Be(e,t){return na(jt("",null,null,"",null,null,0),e,{length:-e.length},t)}function sa(){return Y}function ca(){return Y=J>0?Z(Re,--J):0,Me--,Y===10&&(Me=1,Ct--),Y}function ee(){return Y=J<wn?Z(Re,J++):0,Me++,Y===10&&(Me=1,Ct++),Y}function le(){return Z(Re,J)}function ot(){return J}function Qe(e,t){return qe(Re,e,t)}function Ye(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function En(e){return Ct=Me=1,wn=se(Re=e),J=0,[]}function Cn(e){return Re="",e}function it(e){return _n(Qe(J-1,Bt(e===91?e+2:e===40?e+1:e)))}function la(e){for(;(Y=le())&&Y<33;)ee();return Ye(e)>2||Ye(Y)>3?"":" "}function ua(e,t){for(;--t&&ee()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return Qe(e,ot()+(t<6&&le()==32&&ee()==32))}function Bt(e){for(;ee();)switch(Y){case e:return J;case 34:case 39:e!==34&&e!==39&&Bt(Y);break;case 40:e===41&&Bt(e);break;case 92:ee();break}return J}function da(e,t){for(;ee()&&e+Y!==47+10;)if(e+Y===42+42&&le()===47)break;return"/*"+Qe(t,J-1)+"*"+Et(e===47?e:ee())}function fa(e){for(;!Ye(le());)ee();return Qe(e,J)}function ha(e){return Cn(at("",null,null,null,[""],e=En(e),0,[0],e))}function at(e,t,r,n,o,i,a,c,u){for(var d=0,h=0,m=a,y=0,b=0,v=0,l=1,f=1,x=1,_=0,S="",E=o,p=i,w=n,C=S;f;)switch(v=_,_=ee()){case 40:if(v!=108&&Z(C,m-1)==58){Vt(C+=A(it(_),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:C+=it(_);break;case 9:case 10:case 13:case 32:C+=la(v);break;case 92:C+=ua(ot()-1,7);continue;case 47:switch(le()){case 42:case 47:rt(ma(da(ee(),ot()),t,r),u);break;default:C+="/"}break;case 123*l:c[d++]=se(C)*x;case 125*l:case 59:case 0:switch(_){case 0:case 125:f=0;case 59+h:x==-1&&(C=A(C,/\f/g,"")),b>0&&se(C)-m&&rt(b>32?wr(C+";",n,r,m-1):wr(A(C," ","")+";",n,r,m-2),u);break;case 59:C+=";";default:if(rt(w=_r(C,t,r,d,h,o,c,S,E=[],p=[],m),i),_===123)if(h===0)at(C,t,w,w,E,i,m,c,p);else switch(y===99&&Z(C,3)===110?100:y){case 100:case 108:case 109:case 115:at(e,w,w,n&&rt(_r(e,w,w,0,0,o,c,S,o,E=[],m),p),o,p,m,c,n?E:p);break;default:at(C,w,w,w,[""],p,0,c,p)}}d=h=b=0,l=x=1,S=C="",m=a;break;case 58:m=1+se(C),b=v;default:if(l<1){if(_==123)--l;else if(_==125&&l++==0&&ca()==125)continue}switch(C+=Et(_),_*l){case 38:x=h>0?1:(C+="\f",-1);break;case 44:c[d++]=(se(C)-1)*x,x=1;break;case 64:le()===45&&(C+=it(ee())),y=le(),h=m=se(S=C+=fa(ot())),_++;break;case 45:v===45&&se(C)==2&&(l=0)}}return i}function _r(e,t,r,n,o,i,a,c,u,d,h){for(var m=o-1,y=o===0?i:[""],b=or(y),v=0,l=0,f=0;v<n;++v)for(var x=0,_=qe(e,m+1,m=ra(l=a[v])),S=e;x<b;++x)(S=_n(l>0?y[x]+" "+_:A(_,/&\f/g,y[x])))&&(u[f++]=S);return jt(e,t,r,o===0?rr:c,u,d,h)}function ma(e,t,r){return jt(e,t,r,tr,Et(sa()),qe(e,2,-2),0)}function wr(e,t,r,n){return jt(e,t,r,nr,qe(e,0,n),qe(e,n+1,-1),n)}function Ae(e,t){for(var r="",n=or(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function pa(e,t,r,n){switch(e.type){case ta:if(e.children.length)break;case ea:case nr:return e.return=e.return||e.value;case tr:return"";case Sn:return e.return=e.value+"{"+Ae(e.children,n)+"}";case rr:e.value=e.props.join(",")}return se(r=Ae(e.children,n))?e.return=e.value+"{"+r+"}":""}function ga(e){var t=or(e);return function(r,n,o,i){for(var a="",c=0;c<t;c++)a+=e[c](r,n,o,i)||"";return a}}function ya(e){return function(t){t.root||(t=t.return)&&e(t)}}var va=function(t,r,n){for(var o=0,i=0;o=i,i=le(),o===38&&i===12&&(r[n]=1),!Ye(i);)ee();return Qe(t,J)},xa=function(t,r){var n=-1,o=44;do switch(Ye(o)){case 0:o===38&&le()===12&&(r[n]=1),t[n]+=va(J-1,r,n);break;case 2:t[n]+=it(o);break;case 4:if(o===44){t[++n]=le()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Et(o)}while(o=ee());return t},ba=function(t,r){return Cn(xa(En(t),r))},Er=new WeakMap,Sa=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Er.get(n))&&!o){Er.set(t,!0);for(var i=[],a=ba(r,i),c=n.props,u=0,d=0;u<a.length;u++)for(var h=0;h<c.length;h++,d++)t.props[d]=i[u]?a[u].replace(/&\f/g,c[h]):c[h]+" "+a[u]}}},_a=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},wa="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",Ea=function(t){return t.type==="comm"&&t.children.indexOf(wa)>-1},Ca=function(t){return function(r,n,o){if(!(r.type!=="rule"||t.compat)){var i=r.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var a=!!r.parent,c=a?r.parent.children:o,u=c.length-1;u>=0;u--){var d=c[u];if(d.line<r.line)break;if(d.column<r.column){if(Ea(d))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".')})}}}},jn=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},ja=function(t,r){for(var n=t-1;n>=0;n--)if(!jn(r[n]))return!0;return!1},Cr=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Ta=function(t,r,n){jn(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Cr(t)):ja(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Cr(t)))};function Tn(e,t){switch(oa(e,t)){case 5103:return P+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return P+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return P+e+ft+e+X+e+e;case 6828:case 4268:return P+e+X+e+e;case 6165:return P+e+X+"flex-"+e+e;case 5187:return P+e+A(e,/(\w+).+(:[^]+)/,P+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return P+e+X+"flex-item-"+A(e,/flex-|-self/,"")+e;case 4675:return P+e+X+"flex-line-pack"+A(e,/align-content|flex-|-self/,"")+e;case 5548:return P+e+X+A(e,"shrink","negative")+e;case 5292:return P+e+X+A(e,"basis","preferred-size")+e;case 6060:return P+"box-"+A(e,"-grow","")+P+e+X+A(e,"grow","positive")+e;case 4554:return P+A(e,/([^-])(transform)/g,"$1"+P+"$2")+e;case 6187:return A(A(A(e,/(zoom-|grab)/,P+"$1"),/(image-set)/,P+"$1"),e,"")+e;case 5495:case 3959:return A(e,/(image-set\([^]*)/,P+"$1$`$1");case 4968:return A(A(e,/(.+:)(flex-)?(.*)/,P+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+P+e+e;case 4095:case 3583:case 4068:case 2532:return A(e,/(.+)-inline(.+)/,P+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(se(e)-1-t>6)switch(Z(e,t+1)){case 109:if(Z(e,t+4)!==45)break;case 102:return A(e,/(.+:)(.+)-([^]+)/,"$1"+P+"$2-$3$1"+ft+(Z(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Vt(e,"stretch")?Tn(A(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Z(e,t+1)!==115)break;case 6444:switch(Z(e,se(e)-3-(~Vt(e,"!important")&&10))){case 107:return A(e,":",":"+P)+e;case 101:return A(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+P+(Z(e,14)===45?"inline-":"")+"box$3$1"+P+"$2$3$1"+X+"$2box$3")+e}break;case 5936:switch(Z(e,t+11)){case 114:return P+e+X+A(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return P+e+X+A(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return P+e+X+A(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return P+e+X+e+e}return e}var Na=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case nr:t.return=Tn(t.value,t.length);break;case Sn:return Ae([Be(t,{value:A(t.value,"@","@"+P)})],o);case rr:if(t.length)return aa(t.props,function(i){switch(ia(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ae([Be(t,{props:[A(i,/:(read-\w+)/,":"+ft+"$1")]})],o);case"::placeholder":return Ae([Be(t,{props:[A(i,/:(plac\w+)/,":"+P+"input-$1")]}),Be(t,{props:[A(i,/:(plac\w+)/,":"+ft+"$1")]}),Be(t,{props:[A(i,/:(plac\w+)/,X+"input-$1")]})],o)}return""})}},Oa=[Na],Nn=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.
|
|
59
|
+
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 f=l.getAttribute("data-emotion");f.indexOf(" ")!==-1&&(document.head.appendChild(l),l.setAttribute("data-s",""))})}var o=t.stylisPlugins||Oa;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 f=l.getAttribute("data-emotion").split(" "),x=1;x<f.length;x++)i[f[x]]=!0;c.push(l)});var u,d=[Sa,_a];process.env.NODE_ENV!=="production"&&d.push(Ca({get compat(){return v.compat}}),Ta);{var h,m=[pa,process.env.NODE_ENV!=="production"?function(l){l.root||(l.return?h.insert(l.return):l.value&&l.type!==tr&&h.insert(l.value+"{}"))}:ya(function(l){h.insert(l)})],y=ga(d.concat(o,m)),b=function(f){return Ae(ha(f),y)};u=function(f,x,_,S){h=_,process.env.NODE_ENV!=="production"&&x.map!==void 0&&(h={insert:function(p){_.insert(p+x.map)}}),b(f?f+"{"+x.styles+"}":x.styles),S&&(v.inserted[x.name]=!0)}}var v={key:r,sheet:new Qi({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:u};return v.sheet.hydrate(c),v},Ht={exports:{}},R={};/** @license React v16.13.1
|
|
60
60
|
* react-is.production.min.js
|
|
61
61
|
*
|
|
62
62
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
63
63
|
*
|
|
64
64
|
* This source code is licensed under the MIT license found in the
|
|
65
65
|
* LICENSE file in the root directory of this source tree.
|
|
66
|
-
*/var jr;function ka(){if(jr)return R;jr=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,
|
|
66
|
+
*/var jr;function ka(){if(jr)return R;jr=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function S(p){if(typeof p=="object"&&p!==null){var w=p.$$typeof;switch(w){case t:switch(p=p.type,p){case u:case d:case n:case i:case o:case m:return p;default:switch(p=p&&p.$$typeof,p){case c:case h:case v:case b:case a:return p;default:return w}}case r:return w}}}function E(p){return S(p)===d}return R.AsyncMode=u,R.ConcurrentMode=d,R.ContextConsumer=c,R.ContextProvider=a,R.Element=t,R.ForwardRef=h,R.Fragment=n,R.Lazy=v,R.Memo=b,R.Portal=r,R.Profiler=i,R.StrictMode=o,R.Suspense=m,R.isAsyncMode=function(p){return E(p)||S(p)===u},R.isConcurrentMode=E,R.isContextConsumer=function(p){return S(p)===c},R.isContextProvider=function(p){return S(p)===a},R.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===t},R.isForwardRef=function(p){return S(p)===h},R.isFragment=function(p){return S(p)===n},R.isLazy=function(p){return S(p)===v},R.isMemo=function(p){return S(p)===b},R.isPortal=function(p){return S(p)===r},R.isProfiler=function(p){return S(p)===i},R.isStrictMode=function(p){return S(p)===o},R.isSuspense=function(p){return S(p)===m},R.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===n||p===d||p===i||p===o||p===m||p===y||typeof p=="object"&&p!==null&&(p.$$typeof===v||p.$$typeof===b||p.$$typeof===a||p.$$typeof===c||p.$$typeof===h||p.$$typeof===f||p.$$typeof===x||p.$$typeof===_||p.$$typeof===l)},R.typeOf=S,R}var D={};/** @license React v16.13.1
|
|
67
67
|
* react-is.development.js
|
|
68
68
|
*
|
|
69
69
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
70
70
|
*
|
|
71
71
|
* This source code is licensed under the MIT license found in the
|
|
72
72
|
* LICENSE file in the root directory of this source tree.
|
|
73
|
-
*/var Tr;function Ia(){return Tr||(Tr=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,
|
|
73
|
+
*/var Tr;function Ia(){return Tr||(Tr=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function S(T){return typeof T=="string"||typeof T=="function"||T===n||T===d||T===i||T===o||T===m||T===y||typeof T=="object"&&T!==null&&(T.$$typeof===v||T.$$typeof===b||T.$$typeof===a||T.$$typeof===c||T.$$typeof===h||T.$$typeof===f||T.$$typeof===x||T.$$typeof===_||T.$$typeof===l)}function E(T){if(typeof T=="object"&&T!==null){var Ve=T.$$typeof;switch(Ve){case t:var N=T.type;switch(N){case u:case d:case n:case i:case o:case m:return N;default:var Ee=N&&N.$$typeof;switch(Ee){case c:case h:case v:case b:case a:return Ee;default:return Ve}}case r:return Ve}}}var p=u,w=d,C=c,I=a,k=t,H=h,z=n,W=v,G=b,ae=r,pe=i,ge=o,be=m,ue=!1;function Se(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)||E(T)===u}function ye(T){return E(T)===d}function Fe(T){return E(T)===c}function Le(T){return E(T)===a}function _e(T){return typeof T=="object"&&T!==null&&T.$$typeof===t}function de(T){return E(T)===h}function we(T){return E(T)===n}function kt(T){return E(T)===v}function It(T){return E(T)===b}function Pt(T){return E(T)===r}function At(T){return E(T)===i}function Mt(T){return E(T)===o}function $t(T){return E(T)===m}D.AsyncMode=p,D.ConcurrentMode=w,D.ContextConsumer=C,D.ContextProvider=I,D.Element=k,D.ForwardRef=H,D.Fragment=z,D.Lazy=W,D.Memo=G,D.Portal=ae,D.Profiler=pe,D.StrictMode=ge,D.Suspense=be,D.isAsyncMode=Se,D.isConcurrentMode=ye,D.isContextConsumer=Fe,D.isContextProvider=Le,D.isElement=_e,D.isForwardRef=de,D.isFragment=we,D.isLazy=kt,D.isMemo=It,D.isPortal=Pt,D.isProfiler=At,D.isStrictMode=Mt,D.isSuspense=$t,D.isValidElementType=S,D.typeOf=E}()),D}process.env.NODE_ENV==="production"?Ht.exports=ka():Ht.exports=Ia();var Pa=Ht.exports,On=Pa,Aa={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ma={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},kn={};kn[On.ForwardRef]=Aa;kn[On.Memo]=Ma;var $a=!0;function ir(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):n+=o+" "}),n}var Tt=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||$a===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},Nt=function(t,r,n){Tt(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Ra(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 Da={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Nr=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
74
74
|
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';".
|
|
75
75
|
You can read more about this here:
|
|
76
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,za="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Fa=/[A-Z]|^ms/g,
|
|
76
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,za="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Fa=/[A-Z]|^ms/g,In=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ar=function(t){return t.charCodeAt(1)===45},Or=function(t){return t!=null&&typeof t!="boolean"},Rt=bn(function(e){return ar(e)?e:e.replace(Fa,"-$&").toLowerCase()}),ht=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(In,function(n,o,i){return ie={name:o,styles:i,next:ie},o})}return Da[t]!==1&&!ar(t)&&typeof r=="number"&&r!==0?r+"px":r};if(process.env.NODE_ENV!=="production"){var La=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Va=["normal","none","initial","inherit","unset"],Ba=ht,Ha=/^-ms-/,Wa=/-(.)/g,kr={};ht=function(t,r){if(t==="content"&&(typeof r!="string"||Va.indexOf(r)===-1&&!La.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=Ba(t,r);return n!==""&&!ar(t)&&t.indexOf("-")!==-1&&kr[t]===void 0&&(kr[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(Ha,"ms-").replace(Wa,function(o,i){return i.toUpperCase()})+"?")),n}}var Pn="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ge(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Pn);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 Ua(e,t,r)}case"function":{if(e!==void 0){var i=ie,a=r(e);return ie=i,Ge(e,t,a)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var c=[],u=r.replace(In,function(h,m,y){var b="animation"+c.length;return c.push("const "+b+" = keyframes`"+y.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+b+"}"});c.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(c,["`"+u+"`"]).join(`
|
|
77
77
|
`)+`
|
|
78
78
|
|
|
79
79
|
You should wrap it with \`css\` like this:
|
|
80
80
|
|
|
81
|
-
`+("css`"+u+"`"))}break}if(t==null)return r;var d=t[r];return d!==void 0?d:r}function Ua(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Ge(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object")t!=null&&t[a]!==void 0?n+=i+"{"+t[a]+"}":Or(a)&&(n+=Rt(i)+":"+ht(i,a)+";");else{if(i==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(
|
|
81
|
+
`+("css`"+u+"`"))}break}if(t==null)return r;var d=t[r];return d!==void 0?d:r}function Ua(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Ge(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object")t!=null&&t[a]!==void 0?n+=i+"{"+t[a]+"}":Or(a)&&(n+=Rt(i)+":"+ht(i,a)+";");else{if(i==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(Pn);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var c=0;c<a.length;c++)Or(a[c])&&(n+=Rt(i)+":"+ht(i,a[c])+";");else{var u=Ge(e,t,a);switch(i){case"animation":case"animationName":{n+=Rt(i)+":"+u+";";break}default:process.env.NODE_ENV!=="production"&&i==="undefined"&&console.error(za),n+=i+"{"+u+"}"}}}}return n}var Ir=/label:\s*([^\s;\n{]+)\s*(;|$)/g,An;process.env.NODE_ENV!=="production"&&(An=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var ie,$e=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,i="";ie=void 0;var a=t[0];a==null||a.raw===void 0?(o=!1,i+=Ge(n,r,a)):(process.env.NODE_ENV!=="production"&&a[0]===void 0&&console.error(Nr),i+=a[0]);for(var c=1;c<t.length;c++)i+=Ge(n,r,t[c]),o&&(process.env.NODE_ENV!=="production"&&a[c]===void 0&&console.error(Nr),i+=a[c]);var u;process.env.NODE_ENV!=="production"&&(i=i.replace(An,function(y){return u=y,""})),Ir.lastIndex=0;for(var d="",h;(h=Ir.exec(i))!==null;)d+="-"+h[1];var m=Ra(i)+d;return process.env.NODE_ENV!=="production"?{name:m,styles:i,map:u,next:ie,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:m,styles:i,next:ie}},qa=function(t){return t()},Mn=F["useInsertionEffect"]?F["useInsertionEffect"]:!1,sr=Mn||qa,Pr=Mn||F.useLayoutEffect,Ya={}.hasOwnProperty,cr=F.createContext(typeof HTMLElement<"u"?Nn({key:"css"}):null);process.env.NODE_ENV!=="production"&&(cr.displayName="EmotionCacheContext");var Ga=cr.Provider,Ot=function(t){return j.forwardRef(function(r,n){var o=j.useContext(cr);return t(r,o,n)})},xe=F.createContext({});process.env.NODE_ENV!=="production"&&(xe.displayName="EmotionThemeContext");var Ar="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Mr="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Ka=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Tt(r,n,o),sr(function(){return Nt(r,n,o)}),null},Za=Ot(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[Ar],i=[n],a="";typeof e.className=="string"?a=ir(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var c=$e(i,void 0,F.useContext(xe));if(process.env.NODE_ENV!=="production"&&c.name.indexOf("-")===-1){var u=e[Mr];u&&(c=$e([c,"label:"+u+";"]))}a+=t.key+"-"+c.name;var d={};for(var h in e)Ya.call(e,h)&&h!=="css"&&h!==Ar&&(process.env.NODE_ENV==="production"||h!==Mr)&&(d[h]=e[h]);return d.ref=r,d.className=a,F.createElement(F.Fragment,null,F.createElement(Ka,{cache:t,serialized:c,isStringTag:typeof o=="string"}),F.createElement(o,d))});process.env.NODE_ENV!=="production"&&(Za.displayName="EmotionCssPropInternal");var Xa={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"}}}}},$r=!1,$n=Ot(function(e,t){process.env.NODE_ENV!=="production"&&!$r&&(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?"),$r=!0);var r=e.styles,n=$e([r],void 0,F.useContext(xe)),o=F.useRef();return Pr(function(){var i=t.key+"-global",a=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),c=!1,u=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),u!==null&&(c=!0,u.setAttribute("data-emotion",i),a.hydrate([u])),o.current=[a,c],function(){a.flush()}},[t]),Pr(function(){var i=o.current,a=i[0],c=i[1];if(c){i[1]=!1;return}if(n.next!==void 0&&Nt(t,n.next,!0),a.tags.length){var u=a.tags[a.tags.length-1].nextElementSibling;a.before=u,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});process.env.NODE_ENV!=="production"&&($n.displayName="EmotionGlobal");function Rn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return $e(t)}var Ja=function(){var t=Rn.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_"}}},Qa=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 es(e,t,r){var n=[],o=ir(e,n,r);return n.length<2?r:o+t(n)}var ts=function(t){var r=t.cache,n=t.serializedArr;return sr(function(){for(var o=0;o<n.length;o++)Nt(r,n[o],!1)}),null},rs=Ot(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 d=arguments.length,h=new Array(d),m=0;m<d;m++)h[m]=arguments[m];var y=$e(h,t.registered);return n.push(y),Tt(t,y,!1),t.key+"-"+y.name},i=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var d=arguments.length,h=new Array(d),m=0;m<d;m++)h[m]=arguments[m];return es(t.registered,o,Qa(h))},a={css:o,cx:i,theme:F.useContext(xe)},c=e.children(a);return r=!0,F.createElement(F.Fragment,null,F.createElement(ts,{cache:t,serializedArr:n}),c)});process.env.NODE_ENV!=="production"&&(rs.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var Rr=!0,ns=typeof jest<"u"||typeof vi<"u";if(Rr&&!ns){var Dr=typeof globalThis<"u"?globalThis:Rr?window:global,zr="__EMOTION_REACT_"+Xa.version.split(".")[0]+"__";Dr[zr]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Dr[zr]=!0}}var os=Zi,is=function(t){return t!=="theme"},Fr=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?os:is},Lr=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Vr=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
82
82
|
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';".
|
|
83
83
|
You can read more about this here:
|
|
84
84
|
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,as=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Tt(r,n,o),sr(function(){return Nt(r,n,o)}),null},ss=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.
|
|
85
|
-
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
|
|
85
|
+
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=Lr(t,r,n),u=c||Fr(o),d=!u("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(Vr),m.push(h[0][0]);for(var y=h.length,b=1;b<y;b++)process.env.NODE_ENV!=="production"&&h[0][b]===void 0&&console.error(Vr),m.push(h[b],h[0][b])}var v=Ot(function(l,f,x){var _=d&&l.as||o,S="",E=[],p=l;if(l.theme==null){p={};for(var w in l)p[w]=l[w];p.theme=F.useContext(xe)}typeof l.className=="string"?S=ir(f.registered,E,l.className):l.className!=null&&(S=l.className+" ");var C=$e(m.concat(E),f.registered,p);S+=f.key+"-"+C.name,a!==void 0&&(S+=" "+a);var I=d&&c===void 0?Fr(_):u,k={};for(var H in l)d&&H==="as"||I(H)&&(k[H]=l[H]);return k.className=S,k.ref=x,F.createElement(F.Fragment,null,F.createElement(as,{cache:f,serialized:C,isStringTag:typeof _=="string"}),F.createElement(_,k))});return v.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=o,v.__emotion_styles=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,f){return e(l,g._extends({},r,f,{shouldForwardProp:Lr(v,f,!0)})).apply(void 0,m)},v}},cs=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Wt=ss.bind();cs.forEach(function(e){Wt[e]=Wt(e)});let Ut;typeof document=="object"&&(Ut=Nn({key:"css",prepend:!0}));function Dn(e){const{injectFirst:t,children:r}=e;return t&&Ut?s.jsx(Ga,{value:Ut,children:r}):r}process.env.NODE_ENV!=="production"&&(Dn.propTypes={children:g.PropTypes.node,injectFirst:g.PropTypes.bool});function ls(e){return e==null||Object.keys(e).length===0}function zn(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?o=>t(ls(o)?r:o):t;return s.jsx($n,{styles:n})}process.env.NODE_ENV!=="production"&&(zn.propTypes={defaultTheme:g.PropTypes.object,styles:g.PropTypes.oneOfType([g.PropTypes.array,g.PropTypes.string,g.PropTypes.object,g.PropTypes.func])});/**
|
|
86
86
|
* @mui/styled-engine v5.15.11
|
|
87
87
|
*
|
|
88
88
|
* @license MIT
|
|
89
89
|
* This source code is licensed under the MIT license found in the
|
|
90
90
|
* LICENSE file in the root directory of this source tree.
|
|
91
91
|
*/function us(e,t){const r=Wt(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
92
|
-
`)):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 ds=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},fs=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:
|
|
92
|
+
`)):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 ds=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},fs=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:zn,StyledEngineProvider:Dn,ThemeContext:xe,css:Rn,default:us,internal_processStyles:ds,keyframes:Ja},Symbol.toStringTag,{value:"Module"}));function hs(e){return Object.keys(e).length===0}function ms(e=null){const t=F.useContext(xe);return!t||hs(t)?e:t}const ps=er();function gs(e=ps){return ms(e)}function ys({props:e,name:t,defaultTheme:r,themeId:n}){let o=gs(r);return n&&(o=o[n]||o),Xo({theme:o,name:t,props:e})}const vs=["sx"],xs=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:Je;return Object.keys(e).forEach(i=>{o[i]?n.systemProps[i]=e[i]:n.otherProps[i]=e[i]}),n};function bs(e){const{sx:t}=e,r=g._objectWithoutPropertiesLoose(e,vs),{systemProps:n,otherProps:o}=xs(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 Ss=Object.freeze(Object.defineProperty({__proto__:null,default:Qt,extendSxProp:bs,unstable_createStyleFunctionSx:yn,unstable_defaultSxConfig:Je},Symbol.toStringTag,{value:"Module"}));function _s(e,t){return g._extends({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var q={},Fn={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})(Fn);var Ln=Fn.exports;const ws=g.getAugmentedNamespace(Ro),Es=g.getAugmentedNamespace(Zo);var Vn=Ln;Object.defineProperty(q,"__esModule",{value:!0});q.alpha=Un;q.blend=Rs;q.colorChannel=void 0;var Cs=q.darken=ur;q.decomposeColor=ne;q.emphasize=$s;var Br=q.getContrastRatio=Is;q.getLuminance=mt;q.hexToRgb=Bn;q.hslToRgb=Wn;var js=q.lighten=dr;q.private_safeAlpha=Ps;q.private_safeColorChannel=void 0;q.private_safeDarken=As;q.private_safeEmphasize=qn;q.private_safeLighten=Ms;q.recomposeColor=De;q.rgbToHex=ks;var Hr=Vn(ws),Ts=Vn(Es);function lr(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,Ts.default)(e,t,r)}function Bn(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 Ns(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(Bn(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.
|
|
93
93
|
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,Hr.default)(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
94
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,Hr.default)(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const
|
|
95
|
-
`))}return f}const y=({color:
|
|
96
|
-
The color object needs to have a \`main\` property or a \`${x}\` property.`:Ue(11,f?` (${f})`:"",x));if(typeof
|
|
97
|
-
\`color.main\` should be a string, but \`${JSON.stringify(
|
|
94
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,Hr.default)(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Hn=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=Hn;const Os=(e,t)=>{try{return Hn(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};q.private_safeColorChannel=Os;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 ks(e){if(e.indexOf("#")===0)return e;const{values:t}=ne(e);return`#${t.map((r,n)=>Ns(n===3?Math.round(255*r):r)).join("")}`}function Wn(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=(d,h=(d+r/30)%12)=>o-i*Math.max(Math.min(h-3,9-h,1),-1);let c="rgb";const u=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(c+="a",u.push(t[3])),De({type:c,values:u})}function mt(e){e=ne(e);let t=e.type==="hsl"||e.type==="hsla"?ne(Wn(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 Is(e,t){const r=mt(e),n=mt(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Un(e,t){return e=ne(e),t=lr(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,De(e)}function Ps(e,t,r){try{return Un(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function ur(e,t){if(e=ne(e),t=lr(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 As(e,t,r){try{return ur(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function dr(e,t){if(e=ne(e),t=lr(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 Ms(e,t,r){try{return dr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function $s(e,t=.15){return mt(e)>.5?ur(e,t):dr(e,t)}function qn(e,t,r){try{return qn(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Rs(e,t,r,n=1){const o=(u,d)=>Math.round((u**(1/n)*(1-r)+d**(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 Ds={black:"#000",white:"#fff"},Ke=Ds,zs={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"},Fs=zs,Ls={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=Ls,Vs={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=Vs,Bs={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},He=Bs,Hs={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=Hs,Ws={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"},Ne=Ws,Us={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"},Oe=Us,qs=["mode","contrastThreshold","tonalOffset"],Wr={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ke.white,default:Ke.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Dt={text:{primary:Ke.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ke.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Ur(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=js(e.main,o):t==="dark"&&(e.dark=Cs(e.main,i)))}function Ys(e="light"){return e==="dark"?{main:Te[200],light:Te[50],dark:Te[400]}:{main:Te[700],light:Te[400],dark:Te[800]}}function Gs(e="light"){return e==="dark"?{main:Ce[200],light:Ce[50],dark:Ce[400]}:{main:Ce[500],light:Ce[300],dark:Ce[700]}}function Ks(e="light"){return e==="dark"?{main:je[500],light:je[300],dark:je[700]}:{main:je[700],light:je[400],dark:je[800]}}function Zs(e="light"){return e==="dark"?{main:Ne[400],light:Ne[300],dark:Ne[700]}:{main:Ne[700],light:Ne[500],dark:Ne[900]}}function Xs(e="light"){return e==="dark"?{main:Oe[400],light:Oe[300],dark:Oe[700]}:{main:Oe[800],light:Oe[500],dark:Oe[900]}}function Js(e="light"){return e==="dark"?{main:He[400],light:He[300],dark:He[700]}:{main:"#ed6c02",light:He[500],dark:He[900]}}function Qs(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=g._objectWithoutPropertiesLoose(e,qs),i=e.primary||Ys(t),a=e.secondary||Gs(t),c=e.error||Ks(t),u=e.info||Zs(t),d=e.success||Xs(t),h=e.warning||Js(t);function m(l){const f=Br(l,Dt.text.primary)>=r?Dt.text.primary:Wr.text.primary;if(process.env.NODE_ENV!=="production"){const x=Br(l,f);x<3&&console.error([`MUI: The contrast ratio of ${x}:1 for ${f} 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(`
|
|
95
|
+
`))}return f}const y=({color:l,name:f,mainShade:x=500,lightShade:_=300,darkShade:S=700})=>{if(l=g._extends({},l),!l.main&&l[x]&&(l.main=l[x]),!l.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${f?` (${f})`:""} provided to augmentColor(color) is invalid.
|
|
96
|
+
The color object needs to have a \`main\` property or a \`${x}\` property.`:Ue(11,f?` (${f})`:"",x));if(typeof l.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${f?` (${f})`:""} provided to augmentColor(color) is invalid.
|
|
97
|
+
\`color.main\` should be a string, but \`${JSON.stringify(l.main)}\` was provided instead.
|
|
98
98
|
|
|
99
99
|
Did you intend to use one of the following approaches?
|
|
100
100
|
|
|
@@ -106,6 +106,6 @@ const theme1 = createTheme({ palette: {
|
|
|
106
106
|
|
|
107
107
|
const theme2 = createTheme({ palette: {
|
|
108
108
|
primary: { main: green[500] },
|
|
109
|
-
} });`:Ue(12,f?` (${f})`:"",JSON.stringify(
|
|
110
|
-
`)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(h=>`${h} ${typeof a=="string"?a:Gr(a)} ${
|
|
111
|
-
`))}y[v]={}}}};Object.keys(d.components).forEach(y=>{const b=d.components[y].styleOverrides;b&&y.indexOf("Mui")===0&&m(b,y)})}return d.unstable_sxConfig=g._extends({},Je,a==null?void 0:a.unstable_sxConfig),d.unstable_sx=function(m){return Qt({sx:m,theme:this})},d}const y0=g0(),qn=y0,Yn="$$material";function v0({props:e,name:t}){return ys({props:e,name:t,defaultTheme:qn,themeId:Yn})}var et={};const x0=g.getAugmentedNamespace(g._extends$1),b0=g.getAugmentedNamespace(g.objectWithoutPropertiesLoose),_0=g.getAugmentedNamespace(fs),S0=g.getAugmentedNamespace($o),w0=g.getAugmentedNamespace(Bo),E0=g.getAugmentedNamespace(Vo),C0=g.getAugmentedNamespace(Gi),j0=g.getAugmentedNamespace(_s);var ze=Fn;Object.defineProperty(et,"__esModule",{value:!0});var T0=et.default=B0,N0=et.shouldForwardProp=st;et.systemDefaultTheme=void 0;var te=ze(x0),qt=ze(b0),Kr=D0(_0),O0=S0,k0=ze(w0),I0=ze(E0),P0=ze(C0),A0=ze(j0);const M0=["ownerState"],$0=["variants"],R0=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Gn(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Gn=function(n){return n?r:t})(e)}function D0(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Gn(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 z0(e){return Object.keys(e).length===0}function F0(e){return typeof e=="string"&&e.charCodeAt(0)>96}function st(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const L0=et.systemDefaultTheme=(0,P0.default)(),Zr=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function nt({defaultTheme:e,theme:t,themeId:r}){return z0(t)?e:t[r]||t}function V0(e){return e?(t,r)=>r[e]:null}function lt(e,t){let{ownerState:r}=t,n=(0,qt.default)(t,M0);const o=typeof e=="function"?e((0,te.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(i=>lt(i,(0,te.default)({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let l=(0,qt.default)(o,$0);return i.forEach(u=>{let d=!0;typeof u.props=="function"?d=u.props((0,te.default)({ownerState:r},n,r)):Object.keys(u.props).forEach(h=>{(r==null?void 0:r[h])!==u.props[h]&&n[h]!==u.props[h]&&(d=!1)}),d&&(Array.isArray(l)||(l=[l]),l.push(typeof u.style=="function"?u.style((0,te.default)({ownerState:r},n,r)):u.style))}),l}return o}function B0(e={}){const{themeId:t,defaultTheme:r=L0,rootShouldForwardProp:n=st,slotShouldForwardProp:o=st}=e,i=a=>(0,A0.default)((0,te.default)({},a,{theme:nt((0,te.default)({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,l={})=>{(0,Kr.internal_processStyles)(a,p=>p.filter(w=>!(w!=null&&w.__mui_systemSx)));const{name:u,slot:d,skipVariantsResolver:h,skipSx:m,overridesResolver:y=V0(Zr(d))}=l,b=(0,qt.default)(l,R0),v=h!==void 0?h:d&&d!=="Root"&&d!=="root"||!1,c=m||!1;let f;process.env.NODE_ENV!=="production"&&u&&(f=`${u}-${Zr(d||"Root")}`);let x=st;d==="Root"||d==="root"?x=n:d?x=o:F0(a)&&(x=void 0);const S=(0,Kr.default)(a,(0,te.default)({shouldForwardProp:x,label:f},b)),_=p=>typeof p=="function"&&p.__emotion_real!==p||(0,O0.isPlainObject)(p)?w=>lt(p,(0,te.default)({},w,{theme:nt({theme:w.theme,defaultTheme:r,themeId:t})})):p,E=(p,...w)=>{let C=_(p);const I=w?w.map(_):[];u&&y&&I.push(z=>{const W=nt((0,te.default)({},z,{defaultTheme:r,themeId:t}));if(!W.components||!W.components[u]||!W.components[u].styleOverrides)return null;const G=W.components[u].styleOverrides,ae={};return Object.entries(G).forEach(([pe,ge])=>{ae[pe]=lt(ge,(0,te.default)({},z,{theme:W}))}),y(z,ae)}),u&&!v&&I.push(z=>{var W;const G=nt((0,te.default)({},z,{defaultTheme:r,themeId:t})),ae=G==null||(W=G.components)==null||(W=W[u])==null?void 0:W.variants;return lt({variants:ae},(0,te.default)({},z,{theme:G}))}),c||I.push(i);const k=I.length-w.length;if(Array.isArray(p)&&k>0){const z=new Array(k).fill("");C=[...p,...z],C.raw=[...p.raw,...z]}const H=S(C,...I);if(process.env.NODE_ENV!=="production"){let z;u&&(z=`${u}${(0,k0.default)(d||"")}`),z===void 0&&(z=`Styled(${(0,I0.default)(a)})`),H.displayName=z}return a.muiName&&(H.muiName=a.muiName),H};return S.withConfig&&(E.withConfig=S.withConfig),E}}const H0=e=>N0(e)&&e!=="classes",W0=T0({themeId:Yn,defaultTheme:qn,rootShouldForwardProp:H0}),U0=W0;function q0(e){return Zt("MuiSvgIcon",e)}Go("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Y0=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],G0=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${ve(t)}`,`fontSize${ve(r)}`]};return Ho(o,q0,n)},K0=U0("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${ve(r.color)}`],t[`fontSize${ve(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,l,u,d,h,m,y,b,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((l=e.typography)==null||(u=l.pxToRem)==null?void 0:u.call(l,24))||"1.5rem",large:((d=e.typography)==null||(h=d.pxToRem)==null?void 0:h.call(d,35))||"2.1875rem"}[t.fontSize],color:(m=(y=(e.vars||e).palette)==null||(y=y[t.color])==null?void 0:y.main)!=null?m:{action:(b=(e.vars||e).palette)==null||(b=b.action)==null?void 0:b.active,disabled:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),fr=F.forwardRef(function(t,r){const n=v0({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:l="svg",fontSize:u="medium",htmlColor:d,inheritViewBox:h=!1,titleAccess:m,viewBox:y="0 0 24 24"}=n,b=g._objectWithoutPropertiesLoose(n,Y0),v=F.isValidElement(o)&&o.type==="svg",c=g._extends({},n,{color:a,component:l,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:y,hasSvgAsChild:v}),f={};h||(f.viewBox=y);const x=G0(c);return s.jsxs(K0,g._extends({as:l,className:g.clsx(x.root,i),focusable:"false",color:d,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:r},f,b,v&&o.props,{ownerState:c,children:[v?o.props.children:o,m?s.jsx("title",{children:m}):null]}))});process.env.NODE_ENV!=="production"&&(fr.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});fr.muiName="SvgIcon";const Xr=fr;function Z0(e,t){function r(n,o){return s.jsx(Xr,g._extends({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Xr.muiName,F.memo(F.forwardRef(r))}const X0=Z0(s.jsx("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");var Jr=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function J0(e,t){return!!(e===t||Jr(e)&&Jr(t))}function Q0(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!J0(e[r],t[r]))return!1;return!0}function zt(e,t){t===void 0&&(t=Q0);var r,n=[],o,i=!1;function a(){for(var l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return i&&r===this&&t(l,n)||(o=e.apply(this,l),i=!0,r=this,n=l),o}return a}var el=typeof performance=="object"&&typeof performance.now=="function",Qr=el?function(){return performance.now()}:function(){return Date.now()};function en(e){cancelAnimationFrame(e.id)}function tl(e,t){var r=Qr();function n(){Qr()-r>=t?e.call(null):o.id=requestAnimationFrame(n)}var o={id:requestAnimationFrame(n)};return o}var Ft=-1;function tn(e){if(e===void 0&&(e=!1),Ft===-1||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),Ft=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Ft}var ke=null;function rn(e){if(e===void 0&&(e=!1),ke===null||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),o=n.style;return o.width="100px",o.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?ke="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?ke="negative":ke="positive-ascending"),document.body.removeChild(t),ke}return ke}process.env.NODE_ENV;var rl=150,nl=function(t,r){return t},ct=null,ut=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(ct=new WeakSet,ut=new WeakSet);function ol(e){var t,r=e.getItemOffset,n=e.getEstimatedTotalSize,o=e.getItemSize,i=e.getOffsetForIndexAndAlignment,a=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,u=e.initInstanceProps,d=e.shouldResetStyleCacheOnItemSizeChange,h=e.validateProps;return t=function(m){g._inheritsLoose(y,m);function y(v){var c;return c=m.call(this,v)||this,c._instanceProps=u(c.props,g._assertThisInitialized(c)),c._outerRef=void 0,c._resetIsScrollingTimeoutId=null,c.state={instance:g._assertThisInitialized(c),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof c.props.initialScrollOffset=="number"?c.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},c._callOnItemsRendered=void 0,c._callOnItemsRendered=zt(function(f,x,S,_){return c.props.onItemsRendered({overscanStartIndex:f,overscanStopIndex:x,visibleStartIndex:S,visibleStopIndex:_})}),c._callOnScroll=void 0,c._callOnScroll=zt(function(f,x,S){return c.props.onScroll({scrollDirection:f,scrollOffset:x,scrollUpdateWasRequested:S})}),c._getItemStyle=void 0,c._getItemStyle=function(f){var x=c.props,S=x.direction,_=x.itemSize,E=x.layout,p=c._getItemStyleCache(d&&_,d&&E,d&&S),w;if(p.hasOwnProperty(f))w=p[f];else{var C=r(c.props,f,c._instanceProps),I=o(c.props,f,c._instanceProps),k=S==="horizontal"||E==="horizontal",H=S==="rtl",z=k?C:0;p[f]=w={position:"absolute",left:H?void 0:z,right:H?z:void 0,top:k?0:C,height:k?"100%":I,width:k?I:"100%"}}return w},c._getItemStyleCache=void 0,c._getItemStyleCache=zt(function(f,x,S){return{}}),c._onScrollHorizontal=function(f){var x=f.currentTarget,S=x.clientWidth,_=x.scrollLeft,E=x.scrollWidth;c.setState(function(p){if(p.scrollOffset===_)return null;var w=c.props.direction,C=_;if(w==="rtl")switch(rn()){case"negative":C=-_;break;case"positive-descending":C=E-S-_;break}return C=Math.max(0,Math.min(C,E-S)),{isScrolling:!0,scrollDirection:p.scrollOffset<C?"forward":"backward",scrollOffset:C,scrollUpdateWasRequested:!1}},c._resetIsScrollingDebounced)},c._onScrollVertical=function(f){var x=f.currentTarget,S=x.clientHeight,_=x.scrollHeight,E=x.scrollTop;c.setState(function(p){if(p.scrollOffset===E)return null;var w=Math.max(0,Math.min(E,_-S));return{isScrolling:!0,scrollDirection:p.scrollOffset<w?"forward":"backward",scrollOffset:w,scrollUpdateWasRequested:!1}},c._resetIsScrollingDebounced)},c._outerRefSetter=function(f){var x=c.props.outerRef;c._outerRef=f,typeof x=="function"?x(f):x!=null&&typeof x=="object"&&x.hasOwnProperty("current")&&(x.current=f)},c._resetIsScrollingDebounced=function(){c._resetIsScrollingTimeoutId!==null&&en(c._resetIsScrollingTimeoutId),c._resetIsScrollingTimeoutId=tl(c._resetIsScrolling,rl)},c._resetIsScrolling=function(){c._resetIsScrollingTimeoutId=null,c.setState({isScrolling:!1},function(){c._getItemStyleCache(-1,null)})},c}y.getDerivedStateFromProps=function(c,f){return il(c,f),h(c),null};var b=y.prototype;return b.scrollTo=function(c){c=Math.max(0,c),this.setState(function(f){return f.scrollOffset===c?null:{scrollDirection:f.scrollOffset<c?"forward":"backward",scrollOffset:c,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},b.scrollToItem=function(c,f){f===void 0&&(f="auto");var x=this.props,S=x.itemCount,_=x.layout,E=this.state.scrollOffset;c=Math.max(0,Math.min(c,S-1));var p=0;if(this._outerRef){var w=this._outerRef;_==="vertical"?p=w.scrollWidth>w.clientWidth?tn():0:p=w.scrollHeight>w.clientHeight?tn():0}this.scrollTo(i(this.props,c,f,E,this._instanceProps,p))},b.componentDidMount=function(){var c=this.props,f=c.direction,x=c.initialScrollOffset,S=c.layout;if(typeof x=="number"&&this._outerRef!=null){var _=this._outerRef;f==="horizontal"||S==="horizontal"?_.scrollLeft=x:_.scrollTop=x}this._callPropsCallbacks()},b.componentDidUpdate=function(){var c=this.props,f=c.direction,x=c.layout,S=this.state,_=S.scrollOffset,E=S.scrollUpdateWasRequested;if(E&&this._outerRef!=null){var p=this._outerRef;if(f==="horizontal"||x==="horizontal")if(f==="rtl")switch(rn()){case"negative":p.scrollLeft=-_;break;case"positive-ascending":p.scrollLeft=_;break;default:var w=p.clientWidth,C=p.scrollWidth;p.scrollLeft=C-w-_;break}else p.scrollLeft=_;else p.scrollTop=_}this._callPropsCallbacks()},b.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&en(this._resetIsScrollingTimeoutId)},b.render=function(){var c=this.props,f=c.children,x=c.className,S=c.direction,_=c.height,E=c.innerRef,p=c.innerElementType,w=c.innerTagName,C=c.itemCount,I=c.itemData,k=c.itemKey,H=k===void 0?nl:k,z=c.layout,W=c.outerElementType,G=c.outerTagName,ae=c.style,pe=c.useIsScrolling,ge=c.width,be=this.state.isScrolling,ue=S==="horizontal"||z==="horizontal",_e=ue?this._onScrollHorizontal:this._onScrollVertical,ye=this._getRangeToRender(),Fe=ye[0],Le=ye[1],Se=[];if(C>0)for(var de=Fe;de<=Le;de++)Se.push(j.createElement(f,{data:I,key:H(de,I),index:de,isScrolling:pe?be:void 0,style:this._getItemStyle(de)}));var we=n(this.props,this._instanceProps);return j.createElement(W||G||"div",{className:x,onScroll:_e,ref:this._outerRefSetter,style:g._extends({position:"relative",height:_,width:ge,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:S},ae)},j.createElement(p||w||"div",{children:Se,ref:E,style:{height:ue?"100%":we,pointerEvents:be?"none":void 0,width:ue?we:"100%"}}))},b._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var c=this.props.itemCount;if(c>0){var f=this._getRangeToRender(),x=f[0],S=f[1],_=f[2],E=f[3];this._callOnItemsRendered(x,S,_,E)}}if(typeof this.props.onScroll=="function"){var p=this.state,w=p.scrollDirection,C=p.scrollOffset,I=p.scrollUpdateWasRequested;this._callOnScroll(w,C,I)}},b._getRangeToRender=function(){var c=this.props,f=c.itemCount,x=c.overscanCount,S=this.state,_=S.isScrolling,E=S.scrollDirection,p=S.scrollOffset;if(f===0)return[0,0,0,0];var w=a(this.props,p,this._instanceProps),C=l(this.props,w,p,this._instanceProps),I=!_||E==="backward"?Math.max(1,x):1,k=!_||E==="forward"?Math.max(1,x):1;return[Math.max(0,w-I),Math.max(0,Math.min(f-1,C+k)),w,C]},y}(j.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var il=function(t,r){var n=t.children,o=t.direction,i=t.height,a=t.layout,l=t.innerTagName,u=t.outerTagName,d=t.width,h=r.instance;if(process.env.NODE_ENV!=="production"){(l!=null||u!=null)&&ut&&!ut.has(h)&&(ut.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":ct&&!ct.has(h)&&(ct.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 d!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(d===null?"null":typeof d)+'" 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.'))}},al=50,Ie=function(t,r,n){var o=t,i=o.itemSize,a=n.itemMetadataMap,l=n.lastMeasuredIndex;if(r>l){var u=0;if(l>=0){var d=a[l];u=d.offset+d.size}for(var h=l+1;h<=r;h++){var m=i(h);a[h]={offset:u,size:m},u+=m}n.lastMeasuredIndex=r}return a[r]},sl=function(t,r,n){var o=r.itemMetadataMap,i=r.lastMeasuredIndex,a=i>0?o[i].offset:0;return a>=n?Kn(t,r,i,0,n):ll(t,r,Math.max(0,i),n)},Kn=function(t,r,n,o,i){for(;o<=n;){var a=o+Math.floor((n-o)/2),l=Ie(t,a,r).offset;if(l===i)return a;l<i?o=a+1:l>i&&(n=a-1)}return o>0?o-1:0},ll=function(t,r,n,o){for(var i=t.itemCount,a=1;n<i&&Ie(t,n,r).offset<o;)n+=a,a*=2;return Kn(t,r,Math.min(n,i-1),Math.floor(n/2),o)},nn=function(t,r){var n=t.itemCount,o=r.itemMetadataMap,i=r.estimatedItemSize,a=r.lastMeasuredIndex,l=0;if(a>=n&&(a=n-1),a>=0){var u=o[a];l=u.offset+u.size}var d=n-a-1,h=d*i;return l+h},cl=ol({getItemOffset:function(t,r,n){return Ie(t,r,n).offset},getItemSize:function(t,r,n){return n.itemMetadataMap[r].size},getEstimatedTotalSize:nn,getOffsetForIndexAndAlignment:function(t,r,n,o,i,a){var l=t.direction,u=t.height,d=t.layout,h=t.width,m=l==="horizontal"||d==="horizontal",y=m?h:u,b=Ie(t,r,i),v=nn(t,i),c=Math.max(0,Math.min(v-y,b.offset)),f=Math.max(0,b.offset-y+b.size+a);switch(n==="smart"&&(o>=f-y&&o<=c+y?n="auto":n="center"),n){case"start":return c;case"end":return f;case"center":return Math.round(f+(c-f)/2);case"auto":default:return o>=f&&o<=c?o:o<f?f:c}},getStartIndexForOffset:function(t,r,n){return sl(t,n,r)},getStopIndexForStartIndex:function(t,r,n,o){for(var i=t.direction,a=t.height,l=t.itemCount,u=t.layout,d=t.width,h=i==="horizontal"||u==="horizontal",m=h?d:a,y=Ie(t,r,o),b=n+m,v=y.offset+y.size,c=r;c<l-1&&v<b;)c++,v+=Ie(t,c,o).size;return c},initInstanceProps:function(t,r){var n=t,o=n.estimatedItemSize,i={itemMetadataMap:{},estimatedItemSize:o||al,lastMeasuredIndex:-1};return r.resetAfterIndex=function(a,l){l===void 0&&(l=!0),i.lastMeasuredIndex=Math.min(i.lastMeasuredIndex,a-1),r._getItemStyleCache(-1),l&&r.forceUpdate()},i},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(t){var r=t.itemSize;if(process.env.NODE_ENV!=="production"&&typeof r!="function")throw Error('An invalid "itemSize" prop has been specified. Value should be a function. '+('"'+(r===null?"null":typeof r)+'" was specified.'))}});function Yt(e){const{colors:t}=g.useTheme();return s.jsx(O.Stack,{sx:{cursor:"pointer"},onClick:r=>{var n;r.preventDefault(),r.stopPropagation(),(n=e.onClick)==null||n.call(e,e.option)},...e.stackProps,children:s.jsx(O.Stack,{sx:{p:1,transition:"0.2s",borderRadius:"5px",cursor:"pointer",...g.activeStyles({backgroundColor:t.primary200},e.select),":hover":{backgroundColor:"#eeeeee80",borderColor:"transparent"}},children:e.renderOption(e.option)})})}const pt=37,ul=(e,t)=>{const a=document.createElement("p");a.innerText=t,a.style.width=`${e-16-16-4}px`,document.body.appendChild(a);const l=a.offsetHeight;return document.body.removeChild(a),l>21?pt+21:pt};function dl(e){const[t,r]=j.useState(!1),[n,o]=j.useState(""),[i,a]=j.useState(""),[l,u]=j.useState(!1),{isRequired:d=!1}=e,h=j.useCallback(g._.debounce(w=>{var C;(C=e.handleChangeSearch)==null||C.call(e,w)},300),[e.handleChangeSearch]),m=()=>{r(!t)},y=()=>{r(!1),a(""),h("")};j.useEffect(()=>{o(e.value?e.getOptionLabel(e.value):"")},[e.value]),j.useEffect(()=>{t||o(e.value?e.getOptionLabel(e.value):"")},[t]),j.useEffect(()=>{u(e.searchLoading)},[e.paging.rows,e.searchLoading]);const b=e.paging.rows,{hasNextPage:v}=e,c=v?b.length+1:b.length,f=()=>e.isNextPageLoading?void 0:e.loadNextPage(i),x=w=>!v||w<b.length,S=w=>{o(w.target.value),t&&(a(w.target.value),h(w.target.value),u(!0))},_=j.useRef(null),E=j.useRef(null),p=j.useRef(null);return j.useEffect(()=>{var w,C,I,k;t?((w=E.current)==null||w.classList.add("Mui-focused"),(C=p.current)==null||C.classList.add("Mui-focused")):((I=E.current)==null||I.classList.remove("Mui-focused"),(k=p.current)==null||k.classList.remove("Mui-focused"))},[t]),s.jsx(O.ClickAwayListener,{onClickAway:y,mouseEvent:"onMouseDown",touchEvent:"onTouchEnd",children:s.jsx("div",{ref:_,style:{width:e.wrapperWidth??"auto"},children:s.jsxs(O.Stack,{sx:{position:"relative"},children:[s.jsx(O.TextField,{required:d,label:e.label,value:n,disabled:e.loading||e.disabled||e.readOnly,fullWidth:!0,error:e.error,helperText:e.helperText,onFocus:w=>{e.loading||e.disabled||e.readOnly||(w.preventDefault(),w.stopPropagation(),r(!0))},autoComplete:"off",onChange:S,placeholder:e.placeholder||"All options",sx:{"& input:not(:focus)":{"&::placeholder":{color:e.placeHolderColor||"#C5C5C5",opacity:1}}},InputLabelProps:{ref:E,shrink:!0},InputProps:{readOnly:e.readOnly,ref:p,endAdornment:s.jsx(O.IconButton,{size:"small",sx:{padding:"1px"},onClick:w=>{var C;w.preventDefault(),w.stopPropagation(),m(),(C=_.current)==null||C.focus()},disabled:e.loading||e.disabled||e.readOnly,children:e.loading?s.jsx(O.CircularProgress,{size:"16px"}):s.jsx(X0,{fontSize:"small",style:{transition:"0.3s"},className:t?"rotate":""})})}}),s.jsx(O.Fade,{in:t,timeout:0,unmountOnExit:!1,children:s.jsxs(O.Paper,{sx:{position:"absolute",top:"calc(100% + 2px)",zIndex:2,left:0,right:0,p:1},children:[!e.disabledAllOption&&s.jsx(O.Stack,{sx:{...g.activeStyles({display:"none"},!!l)},children:s.jsx(O.Stack,{children:s.jsx(Yt,{option:void 0,select:!e.value,renderOption:()=>s.jsx(O.Typography,{children:e.placeholder||"All options"}),onClick:()=>{var w,C;y(),(w=e.onChange)==null||w.call(e,void 0),(C=e.handleChangeSearch)==null||C.call(e,"")}})})}),!l&&s.jsx(g.InfiniteLoader,{isItemLoaded:x,itemCount:c,loadMoreItems:f,threshold:5,children:({onItemsRendered:w,ref:C})=>s.jsx(cl,{ref:C,onItemsRendered:w,height:pt*Math.min(e.itemsNumber||6,c),itemCount:c,itemSize:I=>{var k;return ul((k=_.current)==null?void 0:k.offsetWidth,b[I]?e.getOptionLabel(b[I]):"")},width:"100%",className:"styled-scroll",children:({index:I,style:k})=>{var z;const H=b[I];return x(I)?s.jsx(Yt,{stackProps:{style:k},option:H,renderOption:W=>{var G;return s.jsxs(O.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",children:[s.jsx(O.Typography,{children:e.getOptionLabel(W)}),(G=e.renderOptionTooltip)==null?void 0:G.call(e,W)]})},onClick:W=>{var G;y(),(G=e.onChange)==null||G.call(e,W)},select:((z=e.isEqual)==null?void 0:z.call(e,H,e.value))??g._.isEqual(H,e.value)}):s.jsx(O.Stack,{style:k,sx:{height:pt,pl:1},justifyContent:"center",children:s.jsx(O.Typography,{children:"Loading..."})})}})}),s.jsx(O.Stack,{sx:{height:30,display:"flex",justifyContent:"center",paddingLeft:"5px",...g.activeStyles({display:"none"},!l)},children:s.jsx(O.Typography,{color:"grayText",children:"Searching..."})}),s.jsx(O.Stack,{sx:{height:30,display:"flex",justifyContent:"center",paddingLeft:"5px",...g.activeStyles({display:"none"},!!(b.length||e.loading||l))},children:s.jsx(O.Typography,{color:"grayText",children:"No options"})})]})})]})})})}function fl(e){var h;const{listProps:t}=e,[r,n]=j.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,y)=>{var b,v;if(e.list)n(()=>{var x;const c=((x=m==null?void 0:m.search)==null?void 0:x.content)||"";return{hasNextPage:!1,isNextPageLoading:!1,paging:{page:1,pageSize:1e5,rows:e.list.options.filter(S=>e.list.searchOption?e.list.searchOption(S,c):g.search(S,c,e.list.searchFields)),total:e.list.options.length,totalPages:1},searchLoading:!1,initLoading:!1}});else{n(c=>({...c,isNextPageLoading:!0}));try{const c={page:1,pageSize:20,filter:{...t==null?void 0:t.filter,...m==null?void 0:m.filter},...g.lodashExports.omit(t,"filter"),...g.lodashExports.omit(m,"filter"),search:{fields:((b=t==null?void 0:t.search)==null?void 0:b.fields)??[],content:((v=m==null?void 0:m.search)==null?void 0:v.content)??""}};y&&(c.filter={},c.search&&(c.search.content=""),c.page=1);const f=await e.getList(c);n(x=>({initLoading:!1,searchLoading:!1,isNextPageLoading:!1,paging:{...f,rows:(m==null?void 0:m.page)===1?f.rows:x.paging.rows.concat(f.rows)},hasNextPage:f.page<f.totalPages}))}catch{}}},i=()=>(n(m=>({...m,initLoading:!0})),o(void 0,!0)),a=m=>(n(y=>({...y,initLoading:!0})),o(m)),l=m=>{o({page:r.paging.page+1,search:{content:m}})},u=m=>{n(y=>({...y,searchLoading:!0})),o({page:1,search:{content:m}})};j.useEffect(()=>{e.disabled||(n(m=>({...m,initLoading:!0})),o({page:1}))},[...e.dependencyList||[]]);const d=()=>{n(m=>({...m,initLoading:!m.initLoading}))};return{...e,loadNextPage:l,handleChangeSearch:u,paging:r.paging,hasNextPage:r.hasNextPage,isNextPageLoading:r.isNextPageLoading,searchLoading:r.searchLoading,loading:e.loading||r.initLoading,getList:a,reset:i,toggleLoading:d}}function hl(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 ml="Reset date";function pl(e){var l,u;const[t,r]=j.useState(e.value),n=!(t!=null&&t.startDate)||!(t!=null&&t.endDate)?"":K(t==null?void 0:t.startDate).format("DD/MM/YYYY")+" ~ "+K(t==null?void 0:t.endDate).format("DD/MM/YYYY");j.useEffect(()=>{r(e.value)},[e.value]);const o=j.useRef(null),i=j.useRef(null),a=j.useRef(null);return console.log("inputRef",o),console.log("labelRef",i),s.jsx(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":[((l=e.dateReset)==null?void 0:l.startDate)??void 0,((u=e.dateReset)==null?void 0:u.endDate)??void 0]},alwaysShowCalendars:!0,startDate:(t==null?void 0:t.startDate)??void 0,endDate:(t==null?void 0:t.endDate)??void 0,opens:"left",maxDate:K(),...e.initialSettings},onApply:(d,h)=>{var f,x,S;const m=h.chosenLabel===ml,{startDate:y,endDate:b}=h,v=m?((f=e.dateReset)==null?void 0:f.startDate)??void 0:y.toDate(),c=m?((x=e.dateReset)==null?void 0:x.endDate)??void 0:b.toDate();r({startDate:v,endDate:c}),(S=e.onChange)==null||S.call(e,{startDate:v,endDate:c})},children:s.jsx(O.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(hl,{onClick:()=>{var d;return(d=o.current)==null?void 0:d.focus()},width:24,height:24,color:"gray"})},fullWidth:!0,sx:{"& *":{cursor:"pointer"},display:"flex",justifyContent:"center",minWidth:"250px"}})})}function Zn(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 Xn(e){return s.jsxs("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("path",{d:"M16 2.75H8C5.10051 2.75 2.75 5.10051 2.75 8V16C2.75 18.8995 5.10051 21.25 8 21.25H16C18.8995 21.25 21.25 18.8995 21.25 16V8C21.25 5.10051 18.8995 2.75 16 2.75Z",stroke:"currentColor",strokeWidth:"1.5"}),s.jsx("path",{d:"M9 12L11 14L15 10",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function gl(e){return s.jsx(O.Checkbox,{sx:{"& input:disabled ~ svg":{fill:"#ddd"}},color:"primary",icon:s.jsx(Zn,{fontSize:"small"}),checkedIcon:s.jsx(Xn,{fontSize:"small"}),style:{padding:0},...e})}const on=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=>{if(n){console.log("current token for client: ",n);try{const o="/notification-management/api/v1/notifications/registrations",i=e.baseUrl+o;await g.axiosInstance.post(i,{deviceToken:n})}catch(o){console.log(o)}}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)})},yl=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}}))}},vl=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)})}),Jn=e=>{const[t,r]=j.useState({actorName:"",message:"",context:"",contextUrl:""});console.log(t);const{setNotiData:n}=j.useContext(g.CustomOpenList);function o(){const i=s.jsxs("div",{className:g.styles$1["notification-massage_content"],children:[s.jsx("h6",{className:g.styles$1["notification-name"],children:t==null?void 0:t.actorName}),s.jsxs("div",{className:g.styles$1["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 s.jsx(s.Fragment,{children:t!=null&&t.contextUrl?s.jsx("a",{className:g.styles$1["notification-massage_container"],href:t.contextUrl,style:{width:"100%",display:"block"},children:i}):s.jsx("div",{className:g.styles$1["notification-massage_container"],style:{width:"100%",display:"block"},children:i})})}return j.useEffect(()=>{t&&Notification.permission==="granted"&&(t.actorName||t.message||t.context||t.contextUrl)&&g.notify(s.jsx(o,{}))},[t]),j.useEffect(()=>{"Notification"in window&&(console.log("notification permission",Notification.permission),Notification.permission==="default"?Notification.requestPermission(function(i){i==="granted"&&on(e)}):Notification.permission==="granted"&&on(e))},[Notification.permission]),j.useEffect(()=>{yl(n)},[]),vl(e).then(i=>{var a,l,u,d;console.log("aaa",i),r({actorName:(a=i==null?void 0:i.data)==null?void 0:a.actorName,message:(l=i==null?void 0:i.data)==null?void 0:l.message,context:(u=i==null?void 0:i.data)==null?void 0:u.context,contextUrl:(d=i==null?void 0:i.data)==null?void 0:d.contextUrl}),n(h=>{var m;return{...h,unread:{...h.unread,total:((m=h.unread)==null?void 0:m.total)+1}}})}).catch(i=>console.log("failed: ",i)),s.jsx(s.Fragment,{})},xl=(e,t)=>j.cloneElement(t,{},e),bl=({children:e,providers:t})=>s.jsx(s.Fragment,{children:t.reduceRight(xl,e)}),_l=()=>{const{colors:e}=g.useTheme(),t=()=>{window.location.href=`${window.location.origin}/home`};return console.log("window.location.origin",window.location.origin),s.jsxs(O.Stack,{py:2,gap:2,style:{alignItems:"center"},children:[s.jsx("img",{width:120,height:120,src:"https://ukpcsaprod.blob.core.windows.net/lib/images/page-not-found.png",alt:""}),s.jsxs(O.Stack,{gap:1,alignItems:"center",children:[s.jsx(O.Typography,{variant:"h4",textAlign:"center",children:"Page Not Found"}),s.jsxs(O.Typography,{textAlign:"center",color:e.grey600,children:["We’re sorry. The page you requested could no be found. ",s.jsx("br",{}),"Please go back to the home page"]}),s.jsx(O.Button,{variant:"primary",style:{maxWidth:"200px",width:"100%"},onClick:t,children:"Go to homepage"})]})]})};exports.FavoriteMenu=g.FavoriteMenu;exports.GlobalMenu=g.GlobalMenu;exports.IconComponent=g.IconComponent;exports.notify=g.notify;exports.pushError=g.pushError;exports.pushSuccess=g.pushSuccess;exports.pushWarning=g.pushWarning;exports.updateFavoriteItems=g.updateFavoriteItems;exports.AutocompleteOption=Yt;exports.BaseCheckbox=gl;exports.CheckedIcon=Xn;exports.HomePage=Po;exports.LanguageDropdown=ln;exports.MultiProvider=bl;exports.NoData=Eo;exports.NotFoundPage=Io;exports.NotificationBase=Jn;exports.PageNotFound=_l;exports.PopUpBase=Oo;exports.StyledAutocomplete=dl;exports.StyledDateRangePicker=pl;exports.ToastConfig=So;exports.ToastConfigNotification=wo;exports.TopBar=_o;exports.UnauthorizedPage=Ao;exports.UncheckedIcon=Zn;exports.usePopUp=ko;exports.useStyledAutocomplete=fl;
|
|
109
|
+
} });`:Ue(12,f?` (${f})`:"",JSON.stringify(l.main)));return Ur(l,"light",_,n),Ur(l,"dark",S,n),l.contrastText||(l.contrastText=m(l.main)),l},b={dark:Dt,light:Wr};return process.env.NODE_ENV!=="production"&&(b[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),ce(g._extends({common:g._extends({},Ke),mode:t,primary:y({color:i,name:"primary"}),secondary:y({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:c,name:"error"}),warning:y({color:h,name:"warning"}),info:y({color:u,name:"info"}),success:y({color:d,name:"success"}),grey:Fs,contrastThreshold:r,getContrastText:m,augmentColor:y,tonalOffset:n},b[t]),o)}const e0=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function t0(e){return Math.round(e*1e5)/1e5}const qr={textTransform:"uppercase"},Yr='"Roboto", "Helvetica", "Arial", sans-serif';function r0(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=Yr,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:d=16,allVariants:h,pxToRem:m}=r,y=g._objectWithoutPropertiesLoose(r,e0);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof d!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const b=o/14,v=m||(x=>`${x/d*b}rem`),l=(x,_,S,E,p)=>g._extends({fontFamily:n,fontWeight:x,fontSize:v(_),lineHeight:S},n===Yr?{letterSpacing:`${t0(E/_)}em`}:{},p,h),f={h1:l(i,96,1.167,-1.5),h2:l(i,60,1.2,-.5),h3:l(a,48,1.167,0),h4:l(a,34,1.235,.25),h5:l(a,24,1.334,0),h6:l(c,20,1.6,.15),subtitle1:l(a,16,1.75,.15),subtitle2:l(c,14,1.57,.1),body1:l(a,16,1.5,.15),body2:l(a,14,1.43,.15),button:l(c,14,1.75,.4,qr),caption:l(a,12,1.66,.4),overline:l(a,12,2.66,1,qr),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ce(g._extends({htmlFontSize:d,pxToRem:v,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:c,fontWeightBold:u},f),y,{clone:!1})}const n0=.2,o0=.14,i0=.12;function L(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${n0})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${o0})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${i0})`].join(",")}const a0=["none",L(0,2,1,-1,0,1,1,0,0,1,3,0),L(0,3,1,-2,0,2,2,0,0,1,5,0),L(0,3,3,-2,0,3,4,0,0,1,8,0),L(0,2,4,-1,0,4,5,0,0,1,10,0),L(0,3,5,-1,0,5,8,0,0,1,14,0),L(0,3,5,-1,0,6,10,0,0,1,18,0),L(0,4,5,-2,0,7,10,1,0,2,16,1),L(0,5,5,-3,0,8,10,1,0,3,14,2),L(0,5,6,-3,0,9,12,1,0,3,16,2),L(0,6,6,-3,0,10,14,1,0,4,18,3),L(0,6,7,-4,0,11,15,1,0,4,20,3),L(0,7,8,-4,0,12,17,2,0,5,22,4),L(0,7,8,-4,0,13,19,2,0,5,24,4),L(0,7,9,-4,0,14,21,2,0,5,26,4),L(0,8,9,-5,0,15,22,2,0,6,28,5),L(0,8,10,-5,0,16,24,2,0,6,30,5),L(0,8,11,-5,0,17,26,2,0,6,32,5),L(0,9,11,-5,0,18,28,2,0,7,34,6),L(0,9,12,-6,0,19,29,2,0,7,36,6),L(0,10,13,-6,0,20,31,3,0,8,38,7),L(0,10,13,-6,0,21,33,3,0,8,40,7),L(0,10,14,-6,0,22,35,3,0,8,42,7),L(0,11,14,-7,0,23,36,3,0,9,44,8),L(0,11,15,-7,0,24,38,3,0,9,46,8)],s0=a0,c0=["duration","easing","delay"],l0={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)"},u0={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Gr(e){return`${Math.round(e)}ms`}function d0(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function f0(e){const t=g._extends({},l0,e.easing),r=g._extends({},u0,e.duration),n=(o=["all"],i={})=>{const{duration:a=r.standard,easing:c=t.easeInOut,delay:u=0}=i,d=g._objectWithoutPropertiesLoose(i,c0);if(process.env.NODE_ENV!=="production"){const h=y=>typeof y=="string",m=y=>!isNaN(parseFloat(y));!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(u)&&!h(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
110
|
+
`)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(h=>`${h} ${typeof a=="string"?a:Gr(a)} ${c} ${typeof u=="string"?u:Gr(u)}`).join(",")};return g._extends({getAutoHeightDuration:d0,create:n},e,{easing:t,duration:r})}const h0={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},m0=h0,p0=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function g0(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=g._objectWithoutPropertiesLoose(e,p0);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Ue(18));const c=Qs(n),u=er(e);let d=ce(u,{mixins:_s(u.breakpoints,r),palette:c,shadows:s0.slice(),typography:r0(c,i),transitions:f0(o),zIndex:g._extends({},m0)});if(d=ce(d,a),d=t.reduce((h,m)=>ce(h,m),d),process.env.NODE_ENV!=="production"){const h=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],m=(y,b)=>{let v;for(v in y){const l=y[v];if(h.indexOf(v)!==-1&&Object.keys(l).length>0){if(process.env.NODE_ENV!=="production"){const f=Zt("",v);console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${v}\` internal state.`,"You can not override it like this: ",JSON.stringify(y,null,2),"",`Instead, you need to use the '&.${f}' syntax:`,JSON.stringify({root:{[`&.${f}`]:l}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
111
|
+
`))}y[v]={}}}};Object.keys(d.components).forEach(y=>{const b=d.components[y].styleOverrides;b&&y.indexOf("Mui")===0&&m(b,y)})}return d.unstable_sxConfig=g._extends({},Je,a==null?void 0:a.unstable_sxConfig),d.unstable_sx=function(m){return Qt({sx:m,theme:this})},d}const y0=g0(),Yn=y0,Gn="$$material";function v0({props:e,name:t}){return ys({props:e,name:t,defaultTheme:Yn,themeId:Gn})}var et={};const x0=g.getAugmentedNamespace(g._extends$1),b0=g.getAugmentedNamespace(g.objectWithoutPropertiesLoose),S0=g.getAugmentedNamespace(fs),_0=g.getAugmentedNamespace($o),w0=g.getAugmentedNamespace(Bo),E0=g.getAugmentedNamespace(Vo),C0=g.getAugmentedNamespace(Gi),j0=g.getAugmentedNamespace(Ss);var ze=Ln;Object.defineProperty(et,"__esModule",{value:!0});var T0=et.default=B0,N0=et.shouldForwardProp=st;et.systemDefaultTheme=void 0;var te=ze(x0),qt=ze(b0),Kr=D0(S0),O0=_0,k0=ze(w0),I0=ze(E0),P0=ze(C0),A0=ze(j0);const M0=["ownerState"],$0=["variants"],R0=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Kn(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Kn=function(n){return n?r:t})(e)}function D0(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Kn(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 z0(e){return Object.keys(e).length===0}function F0(e){return typeof e=="string"&&e.charCodeAt(0)>96}function st(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const L0=et.systemDefaultTheme=(0,P0.default)(),Zr=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function nt({defaultTheme:e,theme:t,themeId:r}){return z0(t)?e:t[r]||t}function V0(e){return e?(t,r)=>r[e]:null}function ct(e,t){let{ownerState:r}=t,n=(0,qt.default)(t,M0);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,qt.default)(o,$0);return i.forEach(u=>{let d=!0;typeof u.props=="function"?d=u.props((0,te.default)({ownerState:r},n,r)):Object.keys(u.props).forEach(h=>{(r==null?void 0:r[h])!==u.props[h]&&n[h]!==u.props[h]&&(d=!1)}),d&&(Array.isArray(c)||(c=[c]),c.push(typeof u.style=="function"?u.style((0,te.default)({ownerState:r},n,r)):u.style))}),c}return o}function B0(e={}){const{themeId:t,defaultTheme:r=L0,rootShouldForwardProp:n=st,slotShouldForwardProp:o=st}=e,i=a=>(0,A0.default)((0,te.default)({},a,{theme:nt((0,te.default)({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,c={})=>{(0,Kr.internal_processStyles)(a,p=>p.filter(w=>!(w!=null&&w.__mui_systemSx)));const{name:u,slot:d,skipVariantsResolver:h,skipSx:m,overridesResolver:y=V0(Zr(d))}=c,b=(0,qt.default)(c,R0),v=h!==void 0?h:d&&d!=="Root"&&d!=="root"||!1,l=m||!1;let f;process.env.NODE_ENV!=="production"&&u&&(f=`${u}-${Zr(d||"Root")}`);let x=st;d==="Root"||d==="root"?x=n:d?x=o:F0(a)&&(x=void 0);const _=(0,Kr.default)(a,(0,te.default)({shouldForwardProp:x,label:f},b)),S=p=>typeof p=="function"&&p.__emotion_real!==p||(0,O0.isPlainObject)(p)?w=>ct(p,(0,te.default)({},w,{theme:nt({theme:w.theme,defaultTheme:r,themeId:t})})):p,E=(p,...w)=>{let C=S(p);const I=w?w.map(S):[];u&&y&&I.push(z=>{const W=nt((0,te.default)({},z,{defaultTheme:r,themeId:t}));if(!W.components||!W.components[u]||!W.components[u].styleOverrides)return null;const G=W.components[u].styleOverrides,ae={};return Object.entries(G).forEach(([pe,ge])=>{ae[pe]=ct(ge,(0,te.default)({},z,{theme:W}))}),y(z,ae)}),u&&!v&&I.push(z=>{var W;const G=nt((0,te.default)({},z,{defaultTheme:r,themeId:t})),ae=G==null||(W=G.components)==null||(W=W[u])==null?void 0:W.variants;return ct({variants:ae},(0,te.default)({},z,{theme:G}))}),l||I.push(i);const k=I.length-w.length;if(Array.isArray(p)&&k>0){const z=new Array(k).fill("");C=[...p,...z],C.raw=[...p.raw,...z]}const H=_(C,...I);if(process.env.NODE_ENV!=="production"){let z;u&&(z=`${u}${(0,k0.default)(d||"")}`),z===void 0&&(z=`Styled(${(0,I0.default)(a)})`),H.displayName=z}return a.muiName&&(H.muiName=a.muiName),H};return _.withConfig&&(E.withConfig=_.withConfig),E}}const H0=e=>N0(e)&&e!=="classes",W0=T0({themeId:Gn,defaultTheme:Yn,rootShouldForwardProp:H0}),U0=W0;function q0(e){return Zt("MuiSvgIcon",e)}Go("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Y0=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],G0=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${ve(t)}`,`fontSize${ve(r)}`]};return Ho(o,q0,n)},K0=U0("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${ve(r.color)}`],t[`fontSize${ve(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,c,u,d,h,m,y,b,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((c=e.typography)==null||(u=c.pxToRem)==null?void 0:u.call(c,24))||"1.5rem",large:((d=e.typography)==null||(h=d.pxToRem)==null?void 0:h.call(d,35))||"2.1875rem"}[t.fontSize],color:(m=(y=(e.vars||e).palette)==null||(y=y[t.color])==null?void 0:y.main)!=null?m:{action:(b=(e.vars||e).palette)==null||(b=b.action)==null?void 0:b.active,disabled:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),fr=F.forwardRef(function(t,r){const n=v0({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:c="svg",fontSize:u="medium",htmlColor:d,inheritViewBox:h=!1,titleAccess:m,viewBox:y="0 0 24 24"}=n,b=g._objectWithoutPropertiesLoose(n,Y0),v=F.isValidElement(o)&&o.type==="svg",l=g._extends({},n,{color:a,component:c,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:y,hasSvgAsChild:v}),f={};h||(f.viewBox=y);const x=G0(l);return s.jsxs(K0,g._extends({as:c,className:g.clsx(x.root,i),focusable:"false",color:d,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:r},f,b,v&&o.props,{ownerState:l,children:[v?o.props.children:o,m?s.jsx("title",{children:m}):null]}))});process.env.NODE_ENV!=="production"&&(fr.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});fr.muiName="SvgIcon";const Xr=fr;function Z0(e,t){function r(n,o){return s.jsx(Xr,g._extends({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Xr.muiName,F.memo(F.forwardRef(r))}const X0=Z0(s.jsx("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");var Jr=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function J0(e,t){return!!(e===t||Jr(e)&&Jr(t))}function Q0(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!J0(e[r],t[r]))return!1;return!0}function zt(e,t){t===void 0&&(t=Q0);var r,n=[],o,i=!1;function a(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];return i&&r===this&&t(c,n)||(o=e.apply(this,c),i=!0,r=this,n=c),o}return a}var ec=typeof performance=="object"&&typeof performance.now=="function",Qr=ec?function(){return performance.now()}:function(){return Date.now()};function en(e){cancelAnimationFrame(e.id)}function tc(e,t){var r=Qr();function n(){Qr()-r>=t?e.call(null):o.id=requestAnimationFrame(n)}var o={id:requestAnimationFrame(n)};return o}var Ft=-1;function tn(e){if(e===void 0&&(e=!1),Ft===-1||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),Ft=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Ft}var ke=null;function rn(e){if(e===void 0&&(e=!1),ke===null||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),o=n.style;return o.width="100px",o.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?ke="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?ke="negative":ke="positive-ascending"),document.body.removeChild(t),ke}return ke}process.env.NODE_ENV;var rc=150,nc=function(t,r){return t},lt=null,ut=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(lt=new WeakSet,ut=new WeakSet);function oc(e){var t,r=e.getItemOffset,n=e.getEstimatedTotalSize,o=e.getItemSize,i=e.getOffsetForIndexAndAlignment,a=e.getStartIndexForOffset,c=e.getStopIndexForStartIndex,u=e.initInstanceProps,d=e.shouldResetStyleCacheOnItemSizeChange,h=e.validateProps;return t=function(m){g._inheritsLoose(y,m);function y(v){var l;return l=m.call(this,v)||this,l._instanceProps=u(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=zt(function(f,x,_,S){return l.props.onItemsRendered({overscanStartIndex:f,overscanStopIndex:x,visibleStartIndex:_,visibleStopIndex:S})}),l._callOnScroll=void 0,l._callOnScroll=zt(function(f,x,_){return l.props.onScroll({scrollDirection:f,scrollOffset:x,scrollUpdateWasRequested:_})}),l._getItemStyle=void 0,l._getItemStyle=function(f){var x=l.props,_=x.direction,S=x.itemSize,E=x.layout,p=l._getItemStyleCache(d&&S,d&&E,d&&_),w;if(p.hasOwnProperty(f))w=p[f];else{var C=r(l.props,f,l._instanceProps),I=o(l.props,f,l._instanceProps),k=_==="horizontal"||E==="horizontal",H=_==="rtl",z=k?C:0;p[f]=w={position:"absolute",left:H?void 0:z,right:H?z:void 0,top:k?0:C,height:k?"100%":I,width:k?I:"100%"}}return w},l._getItemStyleCache=void 0,l._getItemStyleCache=zt(function(f,x,_){return{}}),l._onScrollHorizontal=function(f){var x=f.currentTarget,_=x.clientWidth,S=x.scrollLeft,E=x.scrollWidth;l.setState(function(p){if(p.scrollOffset===S)return null;var w=l.props.direction,C=S;if(w==="rtl")switch(rn()){case"negative":C=-S;break;case"positive-descending":C=E-_-S;break}return C=Math.max(0,Math.min(C,E-_)),{isScrolling:!0,scrollDirection:p.scrollOffset<C?"forward":"backward",scrollOffset:C,scrollUpdateWasRequested:!1}},l._resetIsScrollingDebounced)},l._onScrollVertical=function(f){var x=f.currentTarget,_=x.clientHeight,S=x.scrollHeight,E=x.scrollTop;l.setState(function(p){if(p.scrollOffset===E)return null;var w=Math.max(0,Math.min(E,S-_));return{isScrolling:!0,scrollDirection:p.scrollOffset<w?"forward":"backward",scrollOffset:w,scrollUpdateWasRequested:!1}},l._resetIsScrollingDebounced)},l._outerRefSetter=function(f){var x=l.props.outerRef;l._outerRef=f,typeof x=="function"?x(f):x!=null&&typeof x=="object"&&x.hasOwnProperty("current")&&(x.current=f)},l._resetIsScrollingDebounced=function(){l._resetIsScrollingTimeoutId!==null&&en(l._resetIsScrollingTimeoutId),l._resetIsScrollingTimeoutId=tc(l._resetIsScrolling,rc)},l._resetIsScrolling=function(){l._resetIsScrollingTimeoutId=null,l.setState({isScrolling:!1},function(){l._getItemStyleCache(-1,null)})},l}y.getDerivedStateFromProps=function(l,f){return ic(l,f),h(l),null};var b=y.prototype;return b.scrollTo=function(l){l=Math.max(0,l),this.setState(function(f){return f.scrollOffset===l?null:{scrollDirection:f.scrollOffset<l?"forward":"backward",scrollOffset:l,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},b.scrollToItem=function(l,f){f===void 0&&(f="auto");var x=this.props,_=x.itemCount,S=x.layout,E=this.state.scrollOffset;l=Math.max(0,Math.min(l,_-1));var p=0;if(this._outerRef){var w=this._outerRef;S==="vertical"?p=w.scrollWidth>w.clientWidth?tn():0:p=w.scrollHeight>w.clientHeight?tn():0}this.scrollTo(i(this.props,l,f,E,this._instanceProps,p))},b.componentDidMount=function(){var l=this.props,f=l.direction,x=l.initialScrollOffset,_=l.layout;if(typeof x=="number"&&this._outerRef!=null){var S=this._outerRef;f==="horizontal"||_==="horizontal"?S.scrollLeft=x:S.scrollTop=x}this._callPropsCallbacks()},b.componentDidUpdate=function(){var l=this.props,f=l.direction,x=l.layout,_=this.state,S=_.scrollOffset,E=_.scrollUpdateWasRequested;if(E&&this._outerRef!=null){var p=this._outerRef;if(f==="horizontal"||x==="horizontal")if(f==="rtl")switch(rn()){case"negative":p.scrollLeft=-S;break;case"positive-ascending":p.scrollLeft=S;break;default:var w=p.clientWidth,C=p.scrollWidth;p.scrollLeft=C-w-S;break}else p.scrollLeft=S;else p.scrollTop=S}this._callPropsCallbacks()},b.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&en(this._resetIsScrollingTimeoutId)},b.render=function(){var l=this.props,f=l.children,x=l.className,_=l.direction,S=l.height,E=l.innerRef,p=l.innerElementType,w=l.innerTagName,C=l.itemCount,I=l.itemData,k=l.itemKey,H=k===void 0?nc:k,z=l.layout,W=l.outerElementType,G=l.outerTagName,ae=l.style,pe=l.useIsScrolling,ge=l.width,be=this.state.isScrolling,ue=_==="horizontal"||z==="horizontal",Se=ue?this._onScrollHorizontal:this._onScrollVertical,ye=this._getRangeToRender(),Fe=ye[0],Le=ye[1],_e=[];if(C>0)for(var de=Fe;de<=Le;de++)_e.push(j.createElement(f,{data:I,key:H(de,I),index:de,isScrolling:pe?be:void 0,style:this._getItemStyle(de)}));var we=n(this.props,this._instanceProps);return j.createElement(W||G||"div",{className:x,onScroll:Se,ref:this._outerRefSetter,style:g._extends({position:"relative",height:S,width:ge,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:_},ae)},j.createElement(p||w||"div",{children:_e,ref:E,style:{height:ue?"100%":we,pointerEvents:be?"none":void 0,width:ue?we:"100%"}}))},b._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var l=this.props.itemCount;if(l>0){var f=this._getRangeToRender(),x=f[0],_=f[1],S=f[2],E=f[3];this._callOnItemsRendered(x,_,S,E)}}if(typeof this.props.onScroll=="function"){var p=this.state,w=p.scrollDirection,C=p.scrollOffset,I=p.scrollUpdateWasRequested;this._callOnScroll(w,C,I)}},b._getRangeToRender=function(){var l=this.props,f=l.itemCount,x=l.overscanCount,_=this.state,S=_.isScrolling,E=_.scrollDirection,p=_.scrollOffset;if(f===0)return[0,0,0,0];var w=a(this.props,p,this._instanceProps),C=c(this.props,w,p,this._instanceProps),I=!S||E==="backward"?Math.max(1,x):1,k=!S||E==="forward"?Math.max(1,x):1;return[Math.max(0,w-I),Math.max(0,Math.min(f-1,C+k)),w,C]},y}(j.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var ic=function(t,r){var n=t.children,o=t.direction,i=t.height,a=t.layout,c=t.innerTagName,u=t.outerTagName,d=t.width,h=r.instance;if(process.env.NODE_ENV!=="production"){(c!=null||u!=null)&&ut&&!ut.has(h)&&(ut.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":lt&&!lt.has(h)&&(lt.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 d!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(d===null?"null":typeof d)+'" 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.'))}},ac=50,Ie=function(t,r,n){var o=t,i=o.itemSize,a=n.itemMetadataMap,c=n.lastMeasuredIndex;if(r>c){var u=0;if(c>=0){var d=a[c];u=d.offset+d.size}for(var h=c+1;h<=r;h++){var m=i(h);a[h]={offset:u,size:m},u+=m}n.lastMeasuredIndex=r}return a[r]},sc=function(t,r,n){var o=r.itemMetadataMap,i=r.lastMeasuredIndex,a=i>0?o[i].offset:0;return a>=n?Zn(t,r,i,0,n):cc(t,r,Math.max(0,i),n)},Zn=function(t,r,n,o,i){for(;o<=n;){var a=o+Math.floor((n-o)/2),c=Ie(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},cc=function(t,r,n,o){for(var i=t.itemCount,a=1;n<i&&Ie(t,n,r).offset<o;)n+=a,a*=2;return Zn(t,r,Math.min(n,i-1),Math.floor(n/2),o)},nn=function(t,r){var n=t.itemCount,o=r.itemMetadataMap,i=r.estimatedItemSize,a=r.lastMeasuredIndex,c=0;if(a>=n&&(a=n-1),a>=0){var u=o[a];c=u.offset+u.size}var d=n-a-1,h=d*i;return c+h},lc=oc({getItemOffset:function(t,r,n){return Ie(t,r,n).offset},getItemSize:function(t,r,n){return n.itemMetadataMap[r].size},getEstimatedTotalSize:nn,getOffsetForIndexAndAlignment:function(t,r,n,o,i,a){var c=t.direction,u=t.height,d=t.layout,h=t.width,m=c==="horizontal"||d==="horizontal",y=m?h:u,b=Ie(t,r,i),v=nn(t,i),l=Math.max(0,Math.min(v-y,b.offset)),f=Math.max(0,b.offset-y+b.size+a);switch(n==="smart"&&(o>=f-y&&o<=l+y?n="auto":n="center"),n){case"start":return l;case"end":return f;case"center":return Math.round(f+(l-f)/2);case"auto":default:return o>=f&&o<=l?o:o<f?f:l}},getStartIndexForOffset:function(t,r,n){return sc(t,n,r)},getStopIndexForStartIndex:function(t,r,n,o){for(var i=t.direction,a=t.height,c=t.itemCount,u=t.layout,d=t.width,h=i==="horizontal"||u==="horizontal",m=h?d:a,y=Ie(t,r,o),b=n+m,v=y.offset+y.size,l=r;l<c-1&&v<b;)l++,v+=Ie(t,l,o).size;return l},initInstanceProps:function(t,r){var n=t,o=n.estimatedItemSize,i={itemMetadataMap:{},estimatedItemSize:o||ac,lastMeasuredIndex:-1};return r.resetAfterIndex=function(a,c){c===void 0&&(c=!0),i.lastMeasuredIndex=Math.min(i.lastMeasuredIndex,a-1),r._getItemStyleCache(-1),c&&r.forceUpdate()},i},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(t){var r=t.itemSize;if(process.env.NODE_ENV!=="production"&&typeof r!="function")throw Error('An invalid "itemSize" prop has been specified. Value should be a function. '+('"'+(r===null?"null":typeof r)+'" was specified.'))}});function Yt(e){const{colors:t}=g.useTheme();return s.jsx(O.Stack,{sx:{cursor:"pointer"},onClick:r=>{var n;r.preventDefault(),r.stopPropagation(),(n=e.onClick)==null||n.call(e,e.option)},...e.stackProps,children:s.jsx(O.Stack,{sx:{p:1,transition:"0.2s",borderRadius:"5px",cursor:"pointer",...g.activeStyles({backgroundColor:t.primary200},e.select),":hover":{backgroundColor:"#eeeeee80",borderColor:"transparent"}},children:e.renderOption(e.option)})})}const pt=37,uc=(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?pt+21:pt};function dc(e){const[t,r]=j.useState(!1),[n,o]=j.useState(""),[i,a]=j.useState(""),[c,u]=j.useState(!1),{isRequired:d=!1}=e,h=j.useCallback(g._.debounce(w=>{var C;(C=e.handleChangeSearch)==null||C.call(e,w)},300),[e.handleChangeSearch]),m=()=>{r(!t)},y=()=>{r(!1),a(""),h("")};j.useEffect(()=>{o(e.value?e.getOptionLabel(e.value):"")},[e.value]),j.useEffect(()=>{t||o(e.value?e.getOptionLabel(e.value):"")},[t]),j.useEffect(()=>{u(e.searchLoading)},[e.paging.rows,e.searchLoading]);const b=e.paging.rows,{hasNextPage:v}=e,l=v?b.length+1:b.length,f=()=>e.isNextPageLoading?void 0:e.loadNextPage(i),x=w=>!v||w<b.length,_=w=>{o(w.target.value),t&&(a(w.target.value),h(w.target.value),u(!0))},S=j.useRef(null),E=j.useRef(null),p=j.useRef(null);return j.useEffect(()=>{var w,C,I,k;t?((w=E.current)==null||w.classList.add("Mui-focused"),(C=p.current)==null||C.classList.add("Mui-focused")):((I=E.current)==null||I.classList.remove("Mui-focused"),(k=p.current)==null||k.classList.remove("Mui-focused"))},[t]),s.jsx(O.ClickAwayListener,{onClickAway:y,mouseEvent:"onMouseDown",touchEvent:"onTouchEnd",children:s.jsx("div",{ref:S,style:{width:e.wrapperWidth??"auto"},children:s.jsxs(O.Stack,{sx:{position:"relative"},children:[s.jsx(O.TextField,{required:d,label:e.label,value:n,disabled:e.loading||e.disabled||e.readOnly,fullWidth:!0,error:e.error,helperText:e.helperText,onFocus:w=>{e.loading||e.disabled||e.readOnly||(w.preventDefault(),w.stopPropagation(),r(!0))},autoComplete:"off",onChange:_,placeholder:e.placeholder||"All options",sx:{"& input:not(:focus)":{"&::placeholder":{color:e.placeHolderColor||"#C5C5C5",opacity:1}}},InputLabelProps:{ref:E,shrink:!0},InputProps:{readOnly:e.readOnly,ref:p,endAdornment:s.jsx(O.IconButton,{size:"small",sx:{padding:"1px"},onClick:w=>{var C;w.preventDefault(),w.stopPropagation(),m(),(C=S.current)==null||C.focus()},disabled:e.loading||e.disabled||e.readOnly,children:e.loading?s.jsx(O.CircularProgress,{size:"16px"}):s.jsx(X0,{fontSize:"small",style:{transition:"0.3s"},className:t?"rotate":""})})}}),s.jsx(O.Fade,{in:t,timeout:0,unmountOnExit:!1,children:s.jsxs(O.Paper,{sx:{position:"absolute",top:"calc(100% + 2px)",zIndex:2,left:0,right:0,p:1},children:[!e.disabledAllOption&&s.jsx(O.Stack,{sx:{...g.activeStyles({display:"none"},!!c)},children:s.jsx(O.Stack,{children:s.jsx(Yt,{option:void 0,select:!e.value,renderOption:()=>s.jsx(O.Typography,{children:e.placeholder||"All options"}),onClick:()=>{var w,C;y(),(w=e.onChange)==null||w.call(e,void 0),(C=e.handleChangeSearch)==null||C.call(e,"")}})})}),!c&&s.jsx(g.InfiniteLoader,{isItemLoaded:x,itemCount:l,loadMoreItems:f,threshold:5,children:({onItemsRendered:w,ref:C})=>s.jsx(lc,{ref:C,onItemsRendered:w,height:pt*Math.min(e.itemsNumber||6,l),itemCount:l,itemSize:I=>{var k;return uc((k=S.current)==null?void 0:k.offsetWidth,b[I]?e.getOptionLabel(b[I]):"")},width:"100%",className:"styled-scroll",children:({index:I,style:k})=>{var z;const H=b[I];return x(I)?s.jsx(Yt,{stackProps:{style:k},option:H,renderOption:W=>{var G;return s.jsxs(O.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",children:[s.jsx(O.Typography,{children:e.getOptionLabel(W)}),(G=e.renderOptionTooltip)==null?void 0:G.call(e,W)]})},onClick:W=>{var G;y(),(G=e.onChange)==null||G.call(e,W)},select:((z=e.isEqual)==null?void 0:z.call(e,H,e.value))??g._.isEqual(H,e.value)}):s.jsx(O.Stack,{style:k,sx:{height:pt,pl:1},justifyContent:"center",children:s.jsx(O.Typography,{children:"Loading..."})})}})}),s.jsx(O.Stack,{sx:{height:30,display:"flex",justifyContent:"center",paddingLeft:"5px",...g.activeStyles({display:"none"},!c)},children:s.jsx(O.Typography,{color:"grayText",children:"Searching..."})}),s.jsx(O.Stack,{sx:{height:30,display:"flex",justifyContent:"center",paddingLeft:"5px",...g.activeStyles({display:"none"},!!(b.length||e.loading||c))},children:s.jsx(O.Typography,{color:"grayText",children:"No options"})})]})})]})})})}function fc(e){var h;const{listProps:t}=e,[r,n]=j.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,y)=>{var b,v;if(e.list)n(()=>{var x;const l=((x=m==null?void 0:m.search)==null?void 0:x.content)||"";return{hasNextPage:!1,isNextPageLoading:!1,paging:{page:1,pageSize:1e5,rows:e.list.options.filter(_=>e.list.searchOption?e.list.searchOption(_,l):g.search(_,l,e.list.searchFields)),total:e.list.options.length,totalPages:1},searchLoading:!1,initLoading:!1}});else{n(l=>({...l,isNextPageLoading:!0}));try{const l={page:1,pageSize:20,filter:{...t==null?void 0:t.filter,...m==null?void 0:m.filter},...g.lodashExports.omit(t,"filter"),...g.lodashExports.omit(m,"filter"),search:{fields:((b=t==null?void 0:t.search)==null?void 0:b.fields)??[],content:((v=m==null?void 0:m.search)==null?void 0:v.content)??""}};y&&(l.filter={},l.search&&(l.search.content=""),l.page=1);const f=await e.getList(l);n(x=>({initLoading:!1,searchLoading:!1,isNextPageLoading:!1,paging:{...f,rows:(m==null?void 0:m.page)===1?f.rows:x.paging.rows.concat(f.rows)},hasNextPage:f.page<f.totalPages}))}catch{}}},i=()=>(n(m=>({...m,initLoading:!0})),o(void 0,!0)),a=m=>(n(y=>({...y,initLoading:!0})),o(m)),c=m=>{o({page:r.paging.page+1,search:{content:m}})},u=m=>{n(y=>({...y,searchLoading:!0})),o({page:1,search:{content:m}})};j.useEffect(()=>{e.disabled||(n(m=>({...m,initLoading:!0})),o({page:1}))},[...e.dependencyList||[]]);const d=()=>{n(m=>({...m,initLoading:!m.initLoading}))};return{...e,loadNextPage:c,handleChangeSearch:u,paging:r.paging,hasNextPage:r.hasNextPage,isNextPageLoading:r.isNextPageLoading,searchLoading:r.searchLoading,loading:e.loading||r.initLoading,getList:a,reset:i,toggleLoading:d}}function hc(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 mc="Reset date";function pc(e){var c,u;const[t,r]=j.useState(e.value),n=!(t!=null&&t.startDate)||!(t!=null&&t.endDate)?"":K(t==null?void 0:t.startDate).format("DD/MM/YYYY")+" ~ "+K(t==null?void 0:t.endDate).format("DD/MM/YYYY");j.useEffect(()=>{r(e.value)},[e.value]);const o=j.useRef(null),i=j.useRef(null),a=j.useRef(null);return console.log("inputRef",o),console.log("labelRef",i),s.jsx(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,((u=e.dateReset)==null?void 0:u.endDate)??void 0]},alwaysShowCalendars:!0,startDate:(t==null?void 0:t.startDate)??void 0,endDate:(t==null?void 0:t.endDate)??void 0,opens:"left",maxDate:K(),...e.initialSettings},onApply:(d,h)=>{var f,x,_;const m=h.chosenLabel===mc,{startDate:y,endDate:b}=h,v=m?((f=e.dateReset)==null?void 0:f.startDate)??void 0:y.toDate(),l=m?((x=e.dateReset)==null?void 0:x.endDate)??void 0:b.toDate();r({startDate:v,endDate:l}),(_=e.onChange)==null||_.call(e,{startDate:v,endDate:l})},children:s.jsx(O.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(hc,{onClick:()=>{var d;return(d=o.current)==null?void 0:d.focus()},width:24,height:24,color:"gray"})},fullWidth:!0,sx:{"& *":{cursor:"pointer"},display:"flex",justifyContent:"center",minWidth:"250px"}})})}function Xn(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 Jn(e){return s.jsxs("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("path",{d:"M16 2.75H8C5.10051 2.75 2.75 5.10051 2.75 8V16C2.75 18.8995 5.10051 21.25 8 21.25H16C18.8995 21.25 21.25 18.8995 21.25 16V8C21.25 5.10051 18.8995 2.75 16 2.75Z",stroke:"currentColor",strokeWidth:"1.5"}),s.jsx("path",{d:"M9 12L11 14L15 10",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function gc(e){return s.jsx(O.Checkbox,{sx:{"& input:disabled ~ svg":{fill:"#ddd"}},color:"primary",icon:s.jsx(Xn,{fontSize:"small"}),checkedIcon:s.jsx(Jn,{fontSize:"small"}),style:{padding:0},...e})}const on=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=>{if(n){console.log("current token for client: ",n);try{const o="/notification-management/api/v1/notifications/registrations",i=e.baseUrl+o;await g.axiosInstance.post(i,{deviceToken:n})}catch(o){console.log(o)}}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)})},yc=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}}))}},vc=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)})}),Qn=e=>{const[t,r]=j.useState({actorName:"",message:"",context:"",contextUrl:""});console.log(t);const{setNotiData:n}=j.useContext(g.CustomOpenList);function o(){const i=s.jsxs("div",{className:"notification-massage_content",children:[s.jsx("h6",{className:"notification-name",children:t==null?void 0:t.actorName}),s.jsxs("div",{className:"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 s.jsxs(s.Fragment,{children:[s.jsx("style",{children:sn}),t!=null&&t.contextUrl?s.jsx("a",{className:"notification-massage_container",href:t.contextUrl,style:{display:"block"},children:i}):s.jsx("div",{className:"notification-massage_container",style:{width:"100%",display:"block"},children:i})]})}return j.useEffect(()=>{t&&Notification.permission==="granted"&&(t.actorName||t.message||t.context||t.contextUrl)&&g.notify(s.jsx(o,{}))},[t]),j.useEffect(()=>{"Notification"in window&&(console.log("notification permission",Notification.permission),Notification.permission==="default"?Notification.requestPermission(function(i){i==="granted"&&on(e)}):Notification.permission==="granted"&&on(e))},[Notification.permission]),j.useEffect(()=>{yc(n)},[]),vc(e).then(i=>{var a,c,u,d;console.log("aaa",i),r({actorName:(a=i==null?void 0:i.data)==null?void 0:a.actorName,message:(c=i==null?void 0:i.data)==null?void 0:c.message,context:(u=i==null?void 0:i.data)==null?void 0:u.context,contextUrl:(d=i==null?void 0:i.data)==null?void 0:d.contextUrl}),n(h=>{var m;return{...h,unread:{...h.unread,total:((m=h.unread)==null?void 0:m.total)+1}}})}).catch(i=>console.log("failed: ",i)),s.jsx(s.Fragment,{})},xc=(e,t)=>j.cloneElement(t,{},e),bc=({children:e,providers:t})=>s.jsx(s.Fragment,{children:t.reduceRight(xc,e)}),Sc=()=>{const{colors:e}=g.useTheme(),t=()=>{window.location.href=`${window.location.origin}/home`};return console.log("window.location.origin",window.location.origin),s.jsxs(O.Stack,{py:2,gap:2,style:{alignItems:"center"},children:[s.jsx("img",{width:120,height:120,src:"https://ukpcsaprod.blob.core.windows.net/lib/images/page-not-found.png",alt:""}),s.jsxs(O.Stack,{gap:1,alignItems:"center",children:[s.jsx(O.Typography,{variant:"h4",textAlign:"center",children:"Page Not Found"}),s.jsxs(O.Typography,{textAlign:"center",color:e.grey600,children:["We’re sorry. The page you requested could no be found. ",s.jsx("br",{}),"Please go back to the home page"]}),s.jsx(O.Button,{variant:"primary",style:{maxWidth:"200px",width:"100%"},onClick:t,children:"Go to homepage"})]})]})};exports.FavoriteMenu=g.FavoriteMenu;exports.GlobalMenu=g.GlobalMenu;exports.IconComponent=g.IconComponent;exports.notify=g.notify;exports.pushError=g.pushError;exports.pushSuccess=g.pushSuccess;exports.pushWarning=g.pushWarning;exports.updateFavoriteItems=g.updateFavoriteItems;exports.AutocompleteOption=Yt;exports.BaseCheckbox=gc;exports.CheckedIcon=Jn;exports.HomePage=Po;exports.LanguageDropdown=ln;exports.MultiProvider=bc;exports.NoData=Eo;exports.NotFoundPage=Io;exports.NotificationBase=Qn;exports.PageNotFound=Sc;exports.PopUpBase=Oo;exports.StyledAutocomplete=dc;exports.StyledDateRangePicker=pc;exports.ToastConfig=_o;exports.ToastConfigNotification=wo;exports.TopBar=So;exports.UnauthorizedPage=Ao;exports.UncheckedIcon=Xn;exports.usePopUp=ko;exports.useStyledAutocomplete=fc;
|